hokasha2016
6022521118
Fix #7871 : String::StartsWith() returns true if source is shorter than match
2019-04-20 18:55:27 +02:00
Florian Will
6e9a9448a2
Fix format issue, second attempt
...
Let's see if I can get this right.
2019-04-15 16:10:57 +02:00
Florian Will
35ff10e480
Fix format issue and add myself to contributors.md
2019-04-15 15:51:01 +02:00
Florian Will
eb6ea8e81d
Fix #5893 : Invalidate widget only if it's visible
...
Remove the widget_invalidate() call after changing a guest's
guest_heading_to_ride_id, because that call fails a debug assertion if
the guest window is open and the currently active tab is not the
"overview" tab. In Release builds (if assertion is disabled),
widget_invalidate() might access the widgets array out of bounds.
Instead, introduce a new flag PEEP_INVALIDATE_PEEP_ACTION for
window_invalidate_flags in the peep struct and set that flag. The guest
window update function then makes sure to invalidate the label if the
flag is set.
The flag could be used in other places to reduce libopenrct2 dependency
on window_*() calls (see #6808 ), but this commit only cares about cases
where the assertion would fail.
2019-04-15 14:26:33 +02:00
Duncan
2515f8d6d2
Merge pull request #9082 from duncanspumpkin/fix_9079
...
Fix 9079
2019-04-09 20:05:38 +01:00
Duncan
e01b5f908a
Merge pull request #9070 from ZehMatt/fix-9068
...
Fix #9068 : Unable to place staff or peeps during multiplayer
2019-04-09 20:05:21 +01:00
duncanspumpkin
0ffa6d1ae5
Increment network version
2019-04-09 18:46:31 +01:00
duncanspumpkin
e2e4c1d942
Fix #9079 . Null derference checked for when getting banner element.
...
Unsure how the save managed to get in this state
2019-04-09 18:39:33 +01:00
duncanspumpkin
2e104a00c8
Increment network version
2019-04-08 17:19:58 +01:00
duncanspumpkin
d6522f0aee
Fix formatting
2019-04-08 17:19:52 +01:00
duncanspumpkin
d40a22e32b
Make suggested changes
2019-04-07 15:11:03 +01:00
duncanspumpkin
b7c3324bae
Include missing include
2019-04-07 14:55:08 +01:00
duncanspumpkin
baad532c17
Fix formatting
2019-04-07 14:55:08 +01:00
duncanspumpkin
00cbd75641
Return more useful error messages.
...
Fix clearance checks always being on for underground placement
2019-04-07 14:55:08 +01:00
duncanspumpkin
d63919c0cc
Implement LargeSceneryPlaceAction
2019-04-07 14:55:07 +01:00
Matt
7c901addc6
Fix #9068 : Unable to place staff or peeps during multiplayer
2019-04-07 14:12:23 +02:00
duncanspumpkin
57efe286cf
Increment network version
2019-04-07 12:24:02 +01:00
duncanspumpkin
008ed86bca
Make requested fixes
2019-04-07 12:02:04 +01:00
duncanspumpkin
aa65e25c6b
Implement banner set style action
2019-04-07 10:10:36 +01:00
duncanspumpkin
3593366e95
Implement banner set colour action
2019-04-07 09:22:39 +01:00
duncanspumpkin
5ab42488a9
Implement large scenery set colour action
2019-04-07 09:22:33 +01:00
duncanspumpkin
8ef5afe2ce
Implement wall set colour action
2019-04-06 19:39:01 +01:00
duncanspumpkin
8fc1d70239
Implement small scenery set colour action
2019-04-06 19:39:00 +01:00
duncanspumpkin
63f9e3dbb4
Set tertiary colour correctly
2019-04-06 18:56:44 +01:00
duncanspumpkin
3e9356857f
Fix wall placement in track designs.
...
X and Y values go a bit screwey in ride previews. So you need to override there check.
Also fixed the wall from nesting the command wrong
2019-04-06 18:06:40 +01:00
duncanspumpkin
cee953f899
Fix #9042 . Pass the flags to wall placement when in track design mode
2019-04-04 19:23:44 +01:00
duncanspumpkin
eedb24700d
Fix #8535 , #8480 . Unintialised variable used to get path object.
...
When you try to mirror a track design that has a path object type that isn't loaded it will try to pass an uninitialised variable as the index of the path object. This will cause a bad pointer to be generated. Fix was to auto set it to zero and to be super careful reset it again to zero in the case when its not available
2019-04-04 19:23:44 +01:00
duncanspumpkin
5280728760
Fix formatting
2019-04-04 19:23:44 +01:00
duncanspumpkin
356a0e5e91
Rework flags
2019-04-04 19:23:44 +01:00
duncanspumpkin
06645f6a0d
Further small refactor. Name Game_command_flag_5
2019-04-04 19:23:44 +01:00
duncanspumpkin
561ce03d18
Fix formatting
2019-04-04 19:23:44 +01:00
duncanspumpkin
30a5194085
Use a vector for map selection tiles
2019-04-04 19:23:44 +01:00
duncanspumpkin
7b2363f0ef
Refactor further
2019-04-04 19:23:43 +01:00
duncanspumpkin
f7c84fff60
Split scenery place into multiple functions
2019-04-04 19:23:38 +01:00
duncanspumpkin
9f80a16353
Further rename
2019-04-04 18:58:52 +01:00
duncanspumpkin
2320cd169f
Rename PTD enum
2019-04-04 18:58:52 +01:00
ζeh Matt
62f163a67d
Don't enable multithreading option by default. ( #9039 )
2019-04-04 12:11:37 +02:00
anon569
3efdcdef43
Hungarian Forint fix ( #9043 )
...
https://en.wikipedia.org/wiki/Hungarian_forint
"The Hungarian abbreviation for forint is Ft, which is written after the number with a space between."
2019-04-04 08:01:21 +01:00
hokasha2016
1ff1f6d126
Add the Hungarian Forint (HUF) to the list of available currencies. ( #9017 )
2019-04-03 00:04:22 +02:00
Michał Janiszewski
2fb31910ca
Merge pull request #8481 from ZehMatt/multicore-rendering
...
Implement partial multicore rendering
2019-04-02 22:08:46 +02:00
Matt
c520b0061e
Refactor large_scenery_sign_fit_text to not return static local.
2019-04-02 20:14:50 +02:00
Matt
4e264bd45d
Use mutex to protect scrolling banner cache from data race
2019-04-02 20:14:50 +02:00
duncanspumpkin
c8523b18b9
One more null check
2019-04-02 19:08:06 +01:00
duncanspumpkin
78527f7af4
Extra checks for nullptrs and bad values
2019-04-02 18:52:52 +01:00
duncanspumpkin
09875311b3
Increment network version
2019-04-02 18:36:57 +01:00
duncanspumpkin
7e6254f30c
Fix function.
2019-04-02 18:36:57 +01:00
duncanspumpkin
29f5018bd1
Implement wall place game action
2019-04-02 18:36:57 +01:00
Gymnasiast
9839bb7bba
Fix path preview
...
More work is needed to properly split the paths, but this will do for now.
2019-04-01 21:58:57 +02:00
Michael Steenbeek
b618bbdcd4
Implement GameAction for setting date
2019-03-31 19:48:51 +02:00
Matt
1153b97ace
Use thread_local to protect globals from data race
2019-03-31 17:15:15 +02:00