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
Ted John
5ccfd83dea
add global macro for gScenarioTicks
2016-05-08 23:20:42 +01:00
Ted John
9d7db70965
export variables individually
2016-05-08 22:35:12 +01:00
Ted John
30467a1467
copy over game variables and refactor a few
2016-05-08 22:35:05 +01:00
Ted John
094d395567
create tracks directory on save track
2016-05-08 14:04:16 +01:00
Ted John
4d7e693ace
fix non-deterministic file dialog title for save track
2016-05-08 14:04:15 +01:00
janisozaur
f60855ab95
Fix strict aliasing breakage in ride_set_name() ( #9 )
2016-05-08 14:04:15 +01:00
Michał Janiszewski
0366a6c57f
Fix possible bad memory access when placing track design
...
Name of ride can be set to a string of variable length, like in
`track_design_open` it gets set to the variable length filename. In
`ride_set_name`, however, the ride name is accessed as if it was
36-bytes long anyway. This makes sure all 36 bytes are available for
accessing.
2016-05-08 14:04:14 +01:00
Michał Janiszewski
227c772099
Fixes to track design manager
...
Fix errorneous sizeof() argument, skip unneeded memset
2016-05-08 14:04:13 +01:00
Ted John
87d4a9dab9
use track rather than tracks for user directory
2016-05-08 14:04:12 +01:00
Ted John
a76a76a4b5
prevent crash when TD6s have less than 4 bytes
2016-05-08 14:04:11 +01:00
Ted John
70d613ede2
prevent crash in some place track design case
2016-05-08 14:04:10 +01:00
Ted John
cf27410b4e
fix track index file writing
2016-05-08 14:04:09 +01:00
Ted John
d4c30ea5ec
fix warnings
2016-05-08 14:04:09 +01:00
Ted John
e20d8b4040
add licence headers to new sources
2016-05-08 14:04:08 +01:00
Ted John
805a89d49a
refactor more track place
2016-05-08 14:04:07 +01:00
Ted John
7564d0e5a6
fix placing and saving of mazes
2016-05-08 14:04:06 +01:00
Ted John
52ab86fdcf
rename functions without design word
2016-05-08 14:04:06 +01:00
Ted John
f110597f41
clear up sub_6CB945
2016-05-08 14:04:05 +01:00
Ted John
6797753e18
refactor track_place_ride
2016-05-08 14:04:04 +01:00
Ted John
f9074485f9
integrate more variables
2016-05-08 14:04:04 +01:00
Ted John
629e36bc0a
integrate variable: _trackSaveDirection
2016-05-08 14:04:03 +01:00
Ted John
c844275cea
integrate variable: gTrackPreviewOrigin
2016-05-08 14:04:02 +01:00
Ted John
a8a8a7b1b2
fix track saving
2016-05-08 14:04:01 +01:00
Ted John
cbc1848db4
refactor track design save: _trackSavedMapElements
2016-05-08 14:04:00 +01:00
Ted John
c0fa762fa5
integrate some unknown variables
2016-05-08 14:04:00 +01:00
Ted John
b9ae7d44cf
refactor track preview map backup
2016-05-08 14:03:59 +01:00
Ted John
9afdd7b514
refactor track_design_draw_preview
2016-05-08 14:03:58 +01:00
Ted John
09bc083a69
integrate variables for preview min, max
2016-05-08 14:03:57 +01:00