Michał Janiszewski
df3030e4a9
Provide static_assert for hard-coded struct sizes.
2016-06-03 10:55:21 +02:00
Michał Janiszewski
3907fcd9d2
Explicitly pack structs
2016-06-03 10:55:21 +02:00
Ted John
dd03cfc36f
integrate more ride entrance / exit place variables
2016-05-18 21:52:39 +01:00
Ted John
d27658ca27
integrate entrance / exit place variables
2016-05-18 20:50:45 +01:00
Ted John
c879638f22
integrate ground flag variables
2016-05-17 20:51:11 +01:00
Ted John
1cc35dfe6e
integrate common format args
2016-05-15 22:03:53 +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
janisozaur
ca430e1b23
Drop unused variables ( #3586 )
2016-05-13 18:21:58 +01:00
Ted John
aa929e1593
add globals for researched things, cleanup
2016-05-10 00:00:59 +01:00
Ted John
6797753e18
refactor track_place_ride
2016-05-08 14:04:04 +01:00
duncanspumpkin
72ca648135
Move painter functions into paint.c. Fix mistake in paint_attach_to_previous_ps
2016-05-04 18:54:42 +01:00
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Kradmoa
d749848ff6
Fix missing Twister coaster piece. #3361 ( #3369 )
...
Fix missing Twister coaster piece. #3361
2016-04-27 18:54:07 +01:00
Ted John
870a8b55e5
add global macros for viewport variables
2016-04-25 21:53:21 +01:00
Ted John
fc938892d8
integrate variables for command position and expenditure
2016-04-24 17:53:39 +01:00
Ted John
0f6e64ac76
add global macros for map size and tile loop
2016-04-24 14:00:26 +01:00
Ted John
ee509caf35
integrate game paused variable and refactor
2016-04-23 13:34:55 +01:00
Ted John
307cb9e08b
add global macro: gParkFlags
2016-04-23 00:51:22 +01:00
Ted John
7b248f0079
integrate ride construction variables
...
- _currentTrackPrice
- _numCurrentPossibleRideConfigurations
- _numCurrentPossibleSpecialTrackPieces
- _currentTrackCurve
- _currentTrackEndX
- _currentTrackEndY
- _rideConstructionState
- _currentRideIndex
- _currentTrackBeginX
- _currentTrackBeginY
- _currentTrackBeginZ
- _currentTrackPieceDirection
- _currentTrackPieceType
- _currentTrackSelectionFlags
- _rideConstructionArrowPulseTime
- _currentTrackSlopeEnd
- _currentTrackBankEnd
- _currentTrackLiftHill
- _currentTrackCovered
- _previousTrackBankEnd
- _previousTrackSlopeEnd
- _previousTrackPieceX
- _previousTrackPieceY
- _previousTrackPieceZ
- _currentSeatRotationAngle
2016-04-15 20:56:48 +01:00
Ted John
681961eaec
change ride construction addresses to defines
2016-04-15 20:35:27 +01:00
Ted John
f73e3ab0e1
integrate footpath construction variables
...
- uint8 gFootpathProvisionalFlags
- rct_xyz16 gFootpathProvisionalPosition
- uint8 gFootpathConstructionMode
- uint16 gFootpathSelectedId
- uint8 gFootpathSelectedType
- rct_xyz16 gFootpathConstructFromPosition
- uint8 gFootpathConstructDirection
- uint8 gFootpathConstructSlope
- uint8 gFootpathConstructValidDirections
Also fix some previous variable integrations that had been forgotten to change.
2016-04-15 19:16:48 +01:00
Ted John
84edd049d9
integrate current tool variables:
...
- gCurrentToolId
- gCurrentToolWidget
2016-04-15 18:26:47 +01:00
Ted John
1b3f46f960
integrate game command error string variables
...
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
Marijn van der Werf
0fd42f408a
Extract new struct
2016-04-03 14:53:17 +02:00
IntelOrca
966291eda2
fix #3186 : stop auto opening shops causing problems (once and for all)
2016-03-27 19:34:35 +01:00
IntelOrca
d690ee6423
fix #3183 : opening ride with construction window open
...
Issue caused with boat hire rides as there is usually a ghost station present when the construction window is open. This causes vehicles to be created in the ghost station. Fixed by closing the construction window before the vehicles are created for the ride.
2016-03-27 14:18:20 +01:00
duncanspumpkin
8c7dfd3097
Revert #3147 and fix construction issue. Revert most of c7c1f86
and rework to prevent issues
2016-03-21 21:21:43 +00:00
IntelOrca
bb7765fedf
fix #2935 : Construction window doesn't close automatically in multiplayer
2016-03-05 13:11:06 +00:00
IntelOrca
4c6c354093
fix unable to place entrance / exit as a client
2016-03-03 21:53:07 +00:00
IntelOrca
6ec5fc8cec
fix #3075 : default inspection Interval does not work when building track designs
2016-03-03 17:39:11 +00:00
IntelOrca
c60e05fc99
add default ride inspection interval option, closes #1455
2016-03-02 19:27:54 +00:00
duncanspumpkin
e2073d22c4
Fix #3002 . Fix ride construction on water breaking with shift.
...
Issue caused by a mistake during refactoring.
2016-02-29 20:53:22 +00:00
Marijn van der Werf
3311e4f3e8
Remove asserts and original call from sub_6CA2DF
2016-02-28 09:04:41 +01:00
IntelOrca
c7c1f862cc
fix #2878 : Shops and stalls doesn't open on the server with auto open
...
Use the set status game command instead of setting the status of the ride directly. In order to stop stack overflow, closing the ride construction window is now done in the update event for that window.
2016-02-27 01:20:21 +00:00
Alexander Overvoorde
f0c47ba292
Hide the entrance/exit construction buttons if there is no station ( resolves #2123 )
2016-02-25 21:30:46 +01:00
Michał Janiszewski
14bff0c66f
Rename rct_ride_type to rct_ride_entry
2016-02-25 13:33:19 +01:00
Michał Janiszewski
d19fe0e334
Make sure null ride type gets handled properly
2016-02-24 23:16:25 +01: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
Duncan
baffb37b34
Merge pull request #2967 from marijnvdwerf/decompile-6CA2DF
...
Decompile sub_6CA2DF
2016-02-22 17:27:26 +00:00
Marijn van der Werf
a744f84292
Clean up property calculation
2016-02-20 21:55:12 +01:00
Marijn van der Werf
88d0f8c60b
Clean up track retrieval
2016-02-20 17:54:26 +01:00
IntelOrca
3583d601ad
name flag: RIDE_TYPE_FLAG_15
2016-02-20 16:37:09 +00:00
IntelOrca
caf8b45dc3
remove usages of 0x00F441D2
2016-02-20 15:52:38 +00:00
Marijn van der Werf
9b8b90964e
Use TRACK_SLOPE_NONE for comparing with bl
2016-02-19 17:19:34 +01:00
Marijn van der Werf
a157a7945c
Fix structure of diagonal curves
2016-02-19 16:30:56 +01:00
Marijn van der Werf
7b2c3f5b88
Refactor known input/output combinations to use table
2016-02-19 13:31:00 +01:00
Marijn van der Werf
a5ee1ddb56
More fixes
2016-02-19 01:29:30 +01:00
Marijn van der Werf
0b792cb927
Fix conditional
2016-02-19 00:16:03 +01:00
Marijn van der Werf
2b879cd586
[temp] log tracktype conditions
2016-02-18 22:01:54 +01:00