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

1045 Commits

Author SHA1 Message Date
Ted John
a6a2dc516a Merge pull request #3644 from marijnvdwerf/paint-setup/cleanup-5
Cleanup/harmonisation of paint code
2016-05-17 23:13:47 +01:00
Marijn van der Werf
5a5eea6837 Add size to sprite arrays 2016-05-17 23:31:10 +02:00
Marijn van der Werf
8756f4cff0 Move data outside of headers 2016-05-17 23:04:37 +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
Marijn van der Werf
f0badd9e73 Clean up facility drawing 2016-05-17 21:05:04 +02:00
Marijn van der Werf
21254c6f51 Clean up dodgems 2016-05-17 20:50:29 +02:00
Marijn van der Werf
10a1526ca6 Clean up spiral slide 2016-05-17 20:29:45 +02:00
Marijn van der Werf
defa3852db Clean up maze paint 2016-05-17 20:06:13 +02:00
Marijn van der Werf
acab4d351e Clean up shop drawing 2016-05-17 20:02:30 +02:00
Marijn van der Werf
ac53e8d24d Clean up 3x3 rides 2016-05-17 19:50:49 +02:00
Marijn van der Werf
ed9ee3fba2 [fixup] Remove accidentally commited line 2016-05-17 19:50:30 +02:00
Marijn van der Werf
ea47382e97 Clean up crooked house 2016-05-17 19:48:28 +02:00
Marijn van der Werf
f3a563db8e Start cleanup/harmonisation of paint code 2016-05-17 19:10:25 +02:00
Yaroslav Tretyakov
384b58bc68 Fix #3566: Implement bugfix in GOG/Steam version of original (#3643) 2016-05-17 18:08:24 +01:00
Ted John
9ebb7f4931 Merge pull request #3621 from IntelOrca/refactor/common-format-args 2016-05-15 23:47:55 +01:00
Michał Janiszewski
b7f3259779 Guard against crash with synchronised vehicles, fix typo (#3624) 2016-05-15 22:49:59 +01:00
Ted John
cbf9a393f1 remove use of get_format_arg
Because of strict aliasing, we must use memcpy in some cases.
2016-05-15 22:40:25 +01:00
Yaroslav Tretyakov
9c9f1189c6 Fix #3619: Bobsled coaster not banking properly (#3622) 2016-05-15 22:37:59 +01:00
Ted John
1cc35dfe6e integrate common format args 2016-05-15 22:03:53 +01:00
Yaroslav Tretyakov
a3469cf073 Fix #3598: Validate vehicle track movement (#3612) 2016-05-15 17:20:46 +01:00
Ted John
6f7db1f9b6 rename rct_path_type to rct_footpath_entry 2016-05-15 16:11:34 +01:00
Ted John
3d47f9869f write get entry methods for scenery and path 2016-05-15 16:09:26 +01:00
janisozaur
b3101dd9b0 Don't crash when vehicles have 0 friction (#3615) 2016-05-15 15:59:42 +01:00
janisozaur
3a6978a9aa Fix comparison highlighted by clang (#3614) 2016-05-15 15:20:33 +01:00
Yaroslav Tretyakov
938c498fac Integrate 0x008B8F30 (gTrackVehicleInfo) (#3605) 2016-05-15 10:30:03 +01:00
Hielke Morsink
8c1395bd46 declaring local variables where needed instead of at the top (#3599) 2016-05-15 10:25:24 +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
janisozaur
87d05f8a89 Fix compiler warnings (#3583)
Includes:
* type casting
* properly counting fields to initialise
2016-05-13 08:05:12 +01:00
janisozaur
658e877955 Name all the typdef-ed structs (#3581) 2016-05-12 22:57:40 +01:00
Hielke Morsink
9c95803643 More robust track_design_open (#3573) 2016-05-12 12:46:57 +01:00
duncanspumpkin
3b8a0c56e1 Use return value of paint funcs. Fix issue with support function 2016-05-11 21:21:05 +01:00
Duncan
04b3103fa9 Merge pull request #3548 from zsilencer/paint-setup/river-rapids
Remaining vehicle paint setups
2016-05-10 19:34:45 +01:00
zsilencer
6761751f3f Suggested review changes 2016-05-10 11:53:33 -06:00
Ted John
f38cde8f9b fix #3556: add rest of constant data for RideTypePossibleTrackConfigurations 2016-05-10 18:34:05 +01:00
Ted John
aa929e1593 add globals for researched things, cleanup 2016-05-10 00:00:59 +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
Ted John
5162bc5a0e add global macro for a few ride variables and expenditure table 2016-05-09 22:11:56 +01:00
Ted John
3c3a37073d add global macro for gSamePriceThroughoutPark 2016-05-09 21:18:44 +01:00
zsilencer
05213e4cfb Decompile remaining vehicle splash effects 2016-05-09 09:41:12 -06: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
zsilencer
a5032aebd1 Decompile vehicle_visual_default 2016-05-09 08:48:48 -06:00
zsilencer
871ed67a78 Decompile vehicle_visual_reverser 2016-05-09 08:48:48 -06:00
zsilencer
d199329d0f Decompile vehicle_visual_splash_boats_or_water_coaster 2016-05-09 08:48:48 -06:00
zsilencer
414829a2ea Decompile vehicle_visual_river_rapids and vehicle_visual_splash_effect 2016-05-09 08:48:47 -06:00
Ted John
d2c5501eea refactor sprite heads and counts 2016-05-09 00:08:03 +01:00