Ted John
7287b8cf1a
Fix formatting
2019-07-29 20:40:25 +01:00
Ted John
85e63cbe3b
Do not include name in peep checksum
2019-07-29 20:21:02 +01:00
Ted John
f539fdd79c
Convert user strings to RCT2 encoding when exporting to S6
2019-07-29 20:01:49 +01:00
Ted John
7ce2f38c92
Fix formatting
2019-07-29 20:01:49 +01:00
Ted John
5af3bbf971
Fix compile errors
2019-07-29 20:01:49 +01:00
Ted John
d28799ef18
Remove user strings
2019-07-29 20:01:37 +01:00
Duncan
77f1905271
Fix #8136 . Fix incorrect calculation of excessive lateral G penalty. ( #9667 )
...
* Fix #8136 . Fix incorrect calculation of excessive lateral G penalty.
This penalty had been modified for OpenRCT2 moving it from before certain other penalties were applied to after. The move accidently removed the ride type multiplier which caused a very large penalty to be applied. In addition the excitement penalty applied to the whole calculation instead of just the gforce bonus. This caused an excessive penalty to the excitement.
* Add changelog entry. Fix default initilisation.
* Increment network version
2019-07-29 19:35:04 +01:00
Ted John
767b3c8328
Build up the user string list and export in one go
2019-07-29 19:18:16 +01:00
Ted John
40d49b93d3
Do not use user strings for peep names
2019-07-29 19:18:16 +01:00
Ted John
61d64ab8c5
Do not use user strings for banners
2019-07-29 19:18:16 +01:00
Ted John
300ce9727e
Protect against nullptr
2019-07-29 19:18:16 +01:00
Ted John
749b07e83f
Use local variable for format arguments
2019-07-29 19:18:16 +01:00
Ted John
772475848b
Fix formatting
2019-07-29 19:18:16 +01:00
Ted John
eb4c9acb08
Fix compile errors and ride entry null edge case
2019-07-29 19:18:16 +01:00
Ted John
1d4c1958dd
Do not allow duplicate ride names
2019-07-29 19:18:16 +01:00
Ted John
f8b08b334e
Fix a few more bugs
2019-07-29 19:18:16 +01:00
Ted John
3f8890afde
Fix remaining errors and a few bugs
2019-07-29 19:18:16 +01:00
Ted John
3f45976009
Fix openrct2ui errors
2019-07-29 19:18:16 +01:00
Ted John
3155c661fa
Refactor format peep action
2019-07-29 19:18:16 +01:00
Ted John
6fff2079f9
Refactor ride name to dynamic args and std::string
2019-07-29 19:18:16 +01:00
Ted John
3ee7824df4
Fix #9678 : Korean scenario name is not saved ( #9679 )
2019-07-29 19:17:49 +01:00
duncanspumpkin
5b1aedede4
Update replay url
2019-07-29 19:14:15 +01:00
Jim Armstrong
a432a8a514
Fix #9487 : Access violation in UpdateRideEnterVehicle ( #9577 )
...
* Fix #9487 : Implement nullptr checks
Implemented nullptr checks for the ride and vehicle variables
in UpdateRideEnterVehicle()
2019-07-29 18:07:21 +01:00
Ted John
0315c9b741
Add lots of guards to track block get next / previous ( #9661 )
2019-07-29 16:37:51 +01:00
Aaron van Geffen
5066ebebf9
Fix #9574 : Text overflow in scenario objective window.
2019-07-29 15:16:36 +02:00
Hielke Morsink
3ac43114a6
Fix: tile inspector hotkey does not work with debugging tools disabled ( #9669 )
...
* Fix: tile inspector hotkey does not work with debugging tools disabled
* Update changelog
2019-07-28 16:55:11 +02:00
Matt
26535862e1
Make the CI happy
2019-07-27 19:22:26 +02:00
Matt
8ab0ca4f8f
Fix DataSerialiser returning the wrong stream object
2019-07-27 16:06:26 +02:00
Matt
0ff9d3af12
Serialise cheats separately and preserve storage for future park parameters
2019-07-27 15:22:58 +02:00
Matt
3d1b243d21
Add CheatsSerialise for variable count of cheats
2019-07-27 15:16:38 +02:00
Michał Janiszewski
83e26804e5
Limit scrolling text colour to valid options ( #9639 )
2019-07-27 14:23:34 +02:00
Michael Steenbeek
382935c50f
Merge pull request #9644 from IntelOrca/refactor/banners
...
Refactor banners
2019-07-27 10:59:57 +02:00
Ted John
0b4d989a67
Rename get_banner to GetBanner
2019-07-26 17:24:19 +01:00
Ted John
3bff25ab22
Use TileCoordsXY
2019-07-26 17:14:09 +01:00
Duncan
75e0757ee9
Merge pull request #9632 from ZehMatt/fix-9625
...
Fix #9625 : Show correct cost in scenery selection
2019-07-26 07:12:57 +01:00
Ted John
5c07c53faf
Refactor get banner
2019-07-25 22:21:19 +01:00
Ted John
85543bd1c8
Separate RCT2 and OpenRCT2 banner struct
2019-07-25 22:21:19 +01:00
Duncan
9b4f8a6b4b
Merge pull request #9451 from ZehMatt/refactor/sprite-create-untangle
...
Refactor create_sprite
2019-07-25 06:50:57 +01:00
Michael Steenbeek
e5ed5568a8
Remove conversion from UTF-8 to widechar and back again ( #9637 )
2019-07-24 21:56:49 +02:00
Matt
f3638ca858
Address code review
2019-07-24 18:12:25 +02:00
Matt
3395079737
Remove NUM_SPRITE_LISTS macro and replace with SPRITE_LIST_COUNT for consistency
2019-07-24 17:53:54 +02:00
Matt
98a17fe8d9
Refactor create_sprite and remove unnecessary move_sprite_to_list
2019-07-24 17:53:51 +02:00
Michał Janiszewski
837879018f
Make socket status atomic ( #9636 )
...
* Make socket status atomic
`TcpSocket::ConnectAsync` will call `Connect` and modify `_status` from
a different thread and must ensure it doesn't introduce a data race.
* Update src/openrct2/network/Socket.cpp
Co-Authored-By: ζeh Matt <m.moninger.h@gmail.com>
2019-07-24 15:05:26 +02:00
Ted John
83b1d1f72e
Merge pull request #9629 from IntelOrca/fix/utf8-support-windows
...
Fix UTF-8 support on Windows
2019-07-23 22:15:56 +01:00
Ted John
7a2a5a7924
Fix #9626 : Crash when navigating to price tab on park window ( #9634 )
...
The park name argument was being overwritten by the price argument in the argument buffer. Draw price text in paint event instead.
2019-07-23 21:47:53 +02:00
Matt
126226dbe3
Fix #9625 : Show correct cost in scenery selection
2019-07-23 18:03:26 +02:00
Ted John
a1d9e52046
Rename ToUtf16 to ToWideChar
...
This is more correct as wchar_t size can differ, for example Linux typically uses 32 bits for wchar_t where as Windows uses 16 bits.
2019-07-22 23:44:03 +01:00
Ted John
6f61c94dbd
Remove old widechar <-> utf-8 conversion function
2019-07-22 23:44:03 +01:00
Ted John
3e28073981
Log path when loading / saving park
2019-07-22 22:15:01 +01:00
Ted John
8cd684924e
Set console encoding to UTF-8 for Windows
2019-07-22 22:13:38 +01:00