Ted John
1b3f46f960
integrate game command error string variables
...
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
IntelOrca
89ad0cc769
store windows in openrct2 memory and increase max
...
Allocate a bigger window list and viewport list in OpenRCT2 static memory and move over all references from RCT2.
This also removes the 'active' viewport pointer list and instead changes everything to just enumerate the whole viewport list
2016-04-14 23:00:35 +01:00
Duncan
9edd48c4b8
Merge pull request #3231 from marijnvdwerf/use-structs
...
Clean up data use
2016-04-13 12:38:58 +01:00
duncanspumpkin
be8c84f1c1
Fix grass growth mistake
...
Nibbles are only 4 bits not 8
2016-04-11 20:04:03 +01:00
IntelOrca
37d759ffb7
fix #3268 : water tool sound even when no change
2016-04-10 13:05:16 +01:00
duncanspumpkin
f251ddd5a9
Fix grass growing underneath objects.
2016-04-10 10:14:06 +01:00
Marijn van der Werf
0fd42f408a
Extract new struct
2016-04-03 14:53:17 +02:00
Michał Janiszewski
331f9fe03b
Secure memory accesses, initialise variables
2016-04-01 09:38:40 +02:00
IntelOrca
6f2d91cc7e
land and water now obey disable clearance, closes #3196
2016-03-31 21:57:22 +01:00
IntelOrca
a2fda29d92
validate park entrances and land ownership tools
2016-03-22 22:55:13 +00:00
duncanspumpkin
e30c2aeea8
Fix #3123 and refactor of banner placement.
...
This fix needs testing as it might mess up nested game commands.
2016-03-13 18:40:50 +00:00
Alexander Overvoorde
76a65ee4dd
Fix thunderstorm visuals being tied to sound update function ( fixes #3088 )
2016-03-07 20:38:22 +01:00
duncanspumpkin
ff6bfdced3
Revert #3104 . Fix #3100
2016-03-07 19:04:48 +00:00
Josue Acevedo
21c55fda03
Fix a bug that prevents connect footpaths to ride.
...
Fix a bug that prevents connect footpaths to the ride entrance/exit with multiple stations (Fixes #3100 ).
2016-03-07 10:18:53 -06:00
danidoedel
57b7934b83
Add ability to disable lightning effect, resolves #1299
2016-03-04 23:13:20 +01:00
duncanspumpkin
1033e988d3
Fix #2887 . Queues now correctly invalidate when breaking a chain
2016-03-03 22:01:11 +00:00
Gymnasiast
ddf3d7a03d
Consistently use 'colour' rather than 'color'
2016-02-28 20:32:02 +01:00
Gymnasiast
55a2b25f0f
Name PARK_FLAGS_8 and stop checking it
2016-02-27 20:55:49 +01:00
Michał Janiszewski
aa8437cb9d
Minor fixes
2016-02-26 20:49:01 +01:00
Michał Janiszewski
6b514d1e3a
Fix possible issues highlighted at higher warn levels
...
Mostly possibly uninitialized values and signedness
2016-02-26 12:54:00 +01:00
Michał Janiszewski
fc2bba3047
Fixes for upcoming GCC6 & Clang 3.8
2016-02-25 19:35:18 +01:00
Ted John
74973a4a97
Merge pull request #2950 from janisozaur/ride-names
...
Rename ride_entry functions and provide better logging
2016-02-25 12:43:19 +00:00
Michał Janiszewski
14bff0c66f
Rename rct_ride_type to rct_ride_entry
2016-02-25 13:33:19 +01:00
IntelOrca
b0887f174b
split sound and music mixing correctly, closes #1270
2016-02-24 22:42:50 +00:00
Michał Janiszewski
eb645cd4f3
Rename ride_entry functions and provide better logging
...
For hacked rides, provide the name of offender in the log.
2016-02-24 22:23:33 +01:00
duncanspumpkin
53df541a39
Relabelled sprite_flags to flags. Relabelled peep/fountain flags
2016-02-23 17:22:19 +00:00
duncanspumpkin
5340af4a12
Refactor sprite_flags
2016-02-23 17:09:53 +00:00
Michał Janiszewski
d375015975
Mark map element getters const
...
While it doesn't change a lot in terms of performance, it helps out
compiler being a bit smarter about inlining and reordering things (as
evidenced by generated assembly).
2016-02-23 15:12:48 +01:00
duncanspumpkin
f267af3356
Fix chairlift bullwheel rotation animation.
...
Issue caused by incorrect check for breakdown
2016-02-18 20:32:04 +00:00
Martin Černáč
aff8cec48c
Refactor freeze climate cheat
2016-02-17 17:39:33 +01:00
Marijn van der Werf
9c456c6bf5
Add development suggestions
2016-02-17 13:31:03 +01:00
IntelOrca
5cf0c4bd07
remove commented out callproc/funcs
2016-02-16 20:10:24 +00:00
IntelOrca
8268f607cd
implement track_remove_station_element
2016-02-14 17:37:28 +00:00
Duncan
0e75efc1eb
Merge pull request #2927 from OpenRCT2/clear_funcs
...
Implement Clear funcs
2016-02-14 07:19:33 +00:00
duncanspumpkin
53689349f9
Fix mistake added in refactor.
...
Also remove redundant global variable setting
2016-02-13 21:55:00 +00:00
duncanspumpkin
9c3055224d
Refactor clear funcs
2016-02-13 21:01:36 +00:00
duncanspumpkin
305ae76346
Implement clear funcs for remaining functions
2016-02-13 20:26:22 +00:00
duncanspumpkin
f6797181b5
Start implementing clear_funcs
2016-02-13 13:10:55 +00:00
Marijn van der Werf
7565a7ba69
Implement substate 9
2016-02-13 00:01:15 +01:00
Marijn van der Werf
6c601170f0
Add documentation to functions
2016-02-12 00:06:03 +01:00
Marijn van der Werf
cba820b7a2
Decompile function
2016-02-12 00:05:47 +01:00
zsilencer
b2083deed0
implement cheats over multiplayer
2016-02-02 14:08:59 -07:00
zsilencer
b23748c015
fix 2 sources of very common desyncs
2016-02-02 14:08:59 -07:00
Duncan
b0c5b85765
Merge pull request #2784 from marijnvdwerf/decompile-attempt
...
[WIP] Attempt at decompiling `game_command_set_maze_track`
2016-02-01 16:01:45 +00:00
Marijn van der Werf
a926783164
Decompile game_command_set_maze_track
2016-02-01 14:03:56 +01:00
duncanspumpkin
b8c4c46f32
Minor refactor of map location compare flags.
...
Labelled ELEMENT_IS_UNDERGROUND.
2016-01-31 16:58:38 +00:00
duncanspumpkin
e7545983f1
Fix #2825 . Issue caused by incorrect signness of variable
2016-01-27 17:47:10 +00:00
Michał Janiszewski
ec2387082c
Remove cheats from config
2016-01-25 21:44:13 +01:00
zsilencer
32f1aa064d
more accurate last player action location
2016-01-24 21:00:31 -07:00
Michał Janiszewski
95e3895b89
Game commands' argument validation
2016-01-24 19:31:40 +01:00