1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 05:53:02 +01:00
Commit Graph

309 Commits

Author SHA1 Message Date
Marijn van der Werf
ef8d43328a Name WallSceneryFlag 2016-08-11 18:29:44 +02:00
Marijn van der Werf
be1e832873 Include edgeslopes 2016-08-11 18:18:29 +02:00
Marijn van der Werf
a81b7c4892 Use WALL_SCENERY flags 2016-08-07 12:57:22 +02:00
Michał Janiszewski
0ece63a7f6 Wrap RCT2's addresses in RCT2_ADDRESS macro 2016-08-06 21:38:46 +01:00
Marijn van der Werf
3d8b71ffbc Rename gTrackDefinitions to TrackDefinitions 2016-08-04 01:15:23 +02:00
Michał Janiszewski
76d0adb5ed Remove unused variable
0x00F43896 usage has been refactored out in 9c3055224
2016-08-03 19:26:34 +02:00
Michał Janiszewski
702ae49474 Fix gMapElements size 2016-07-28 00:33:57 +02:00
Michał Janiszewski
e19cf781b1 Verify inputs to various functions 2016-07-24 13:18:50 +02:00
Michał Janiszewski
a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Marijn van der Werf
5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Daniel Trujillo Viedma
1e3504cd36 Fix #1432: Sandbox mode reducing map size causes game to freeze
Shift correctly direction bits when calling game_do_command.

game_command_remove_large_scenery() expects the direction bits
to be shifted 8 times to the left, so the call to game_do_command
has been modified to match this requirement.
2016-07-10 23:11:04 +01:00
Michał Janiszewski
78e2aec5fe Make map element arrays static 2016-06-16 22:51:28 +02:00
Michał Janiszewski
c2bf4b75e7 Integrate tile map element pointers usage (#3442) 2016-06-16 19:05:15 +02:00
Hugo Wallenburg
9eab82a7d9 Update height check for slopes to match new limits. Fixes #3792. (#3799) 2016-06-02 19:34:37 +02:00
CraigCraig
c946d2fb06 Various Spelling Fixes - 5/29/16 (#3770) 2016-05-29 10:00:38 +01:00
Michael Steenbeek
1d14f21e25 Allow raising terrain to 64 in-game units, fixes #3568, fixes #3455 (#3764) 2016-05-28 12:24:11 +01:00
zsilencer
1c5a73db54 integrate ScenerySubTileOffsets 2016-05-25 00:03:25 -06:00
Michał Janiszewski
9081ddcc5d Take care not to dereference NULL element (#3137) 2016-05-19 23:57:56 +01:00
Marijn van der Werf
44021fdb0a Rename flag 2016-05-18 22:46:24 +02:00
Ted John
e73aeb9a42 integrate gGameCommandNestLevel 2016-05-17 21:47:14 +01:00
Ted John
14825a8dbc integrate queue chain and refactor 2016-05-17 21:29:05 +01:00
Ted John
c879638f22 integrate ground flag variables 2016-05-17 20:51:11 +01:00
Michał Janiszewski
d4394c73d3 Limit what is considered a valid tile (#3631)
`smooth_land_tile` already calls to `map_is_location_valid`, but the
latter allows for elements that are clearly outside the range.

Fixes #3549
2016-05-16 10:32:08 +01:00
Ted John
1cc35dfe6e integrate common format args 2016-05-15 22:03:53 +01:00
Ted John
5fe612acd7 integrate scenery place variables 2016-05-15 17:10:25 +01:00
Ted John
3d47f9869f write get entry methods for scenery and path 2016-05-15 16:09:26 +01:00
Ted John
81efb92d53 integrate map selection variables 2016-05-14 00:54:13 +01:00
Ted John
0710eb7e87 Merge pull request #3585 from janisozaur/fixes 2016-05-13 18:22:20 +01:00
janisozaur
ca430e1b23 Drop unused variables (#3586) 2016-05-13 18:21:58 +01:00
Michał Janiszewski
4d05c939cf Cache accesses to get_current_rotation() 2016-05-13 13:34:27 +02:00
duncanspumpkin
e47684bf53 Fix image offset by 1 error. 2016-05-10 20:43:18 +01:00
Ted John
b5c0913b76 add global macros for a few more things, ride rating related and misc 2016-05-09 22:54:22 +01:00
janisozaur
8d0481deba Make sure to only update valid vehicles (#3543)
Lets us load parks like Six Flags Carolina:
http://www.nedesigns.com/park/1571/six-flags-carolina/
2016-05-09 15:52:03 +01:00
Ted John
f9074485f9 integrate more variables 2016-05-08 14:04:04 +01:00
Ted John
a19e5feadf fix track design mirror and ride name 2016-05-08 14:03:53 +01:00
Ted John
e9935fee09 refactor some of the track design place code 2016-05-08 14:02:48 +01:00
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
cea0f30121 integrate variable: gLandToolSize 2016-04-24 18:02:37 +01:00
Ted John
1fcefcfa7e integrate variables for water tool 2016-04-24 17:58:26 +01:00
Ted John
fc938892d8 integrate variables for command position and expenditure 2016-04-24 17:53:39 +01:00
Ted John
b9944dd33a integrate land tool variables 2016-04-24 17:28:12 +01:00
Ted John
15031b9511 add global macro: gGrassSceneryTileLoopPosition 2016-04-24 14:33:43 +01:00
Ted John
d18ea8570d add global macro: gNextFreeMapElement 2016-04-24 14:30:21 +01:00
Ted John
0f6e64ac76 add global macros for map size and tile loop 2016-04-24 14:00:26 +01:00
Ted John
0ffca3a4fc use gPeepSpawns for remaining non-refactored usages 2016-04-24 11:01:19 +01:00
Ted John
6c25c85363 add variable pointers for park entrance position 2016-04-24 10:53:04 +01:00
Ted John
ee509caf35 integrate game paused variable and refactor 2016-04-23 13:34:55 +01:00
Ted John
4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Ted John
307cb9e08b add global macro: gParkFlags 2016-04-23 00:51:22 +01:00
Hielke Morsink
1dbd313fb4 Moved logic from window to map, inside loops that already existed. 2016-04-18 20:28:34 +02:00