janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Patrick de Wit
60579932ef
Fix overflow in ride_mode_tweak ( #3478 )
...
Fixes #2529 : Time overflow when unlocking dodgems' operating limits
Fixes #3424 : Max. people on ride overflows when operating limit is unlocked
2016-05-03 14:44:54 +01:00
Gymnasiast
5d0b79227f
Clean up some magic values and refactor a bit
2016-05-03 07:25:19 +02:00
Michał Janiszewski
1cd1144dd5
Janitorial fixes
...
Mostly style fixes, includes minor change to make sure spinner's down
button gets shown, update to string IDs, network version and making sure
correct string gets selected based on car count.
2016-05-02 22:35:08 +02:00
X7123M3-256
0efd6ca88b
Remove unused local variables
2016-05-02 21:37:10 +02:00
X7123M3-256
102521d131
Replace dropdowns with spinners
2016-05-02 21:37:09 +02:00
X7123M3-256
3a4139eea0
Prevent car count being incorrectly updated
2016-05-02 21:37:09 +02:00
X7123M3-256
fd5bb09271
Remove calls to ride_entry_get_train_layout and replace with calls to ride_entry_get_vehicle_at_position
2016-05-02 21:37:08 +02:00
X7123M3-256
34a67436cd
Fix spacing around operator
2016-05-02 21:37:08 +02:00
X7123M3-256
35ccd0b8e1
Implement disable train length limits cheat
2016-05-02 21:37:08 +02:00
Ted John
5ccbf08ac9
add global macros for staff colours
2016-04-24 11:12:24 +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
1950fad315
add global macros for date
2016-04-23 11:03:34 +01:00
Ted John
467513616d
add global macro: gCurrentTicks
2016-04-23 02:49:24 +01:00
Ted John
307cb9e08b
add global macro: gParkFlags
2016-04-23 00:51:22 +01:00
Michael Steenbeek
b13d0aa2d3
Fix ride window height definition, fixes #3347 ( #3348 )
2016-04-19 19:08:24 +01:00
Ted John
63f008566c
Merge branch 'master' into develop
2016-04-15 23:25:45 +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
duncanspumpkin
51ba0b2e1d
Fix #3302 . Max ride mode tweak has been broken since a refactor.
2016-04-14 20:27:09 +01:00
Michał Janiszewski
83a543c86f
Make sure shifted value can fit in uint32
2016-04-03 17:49:50 +02:00
Michał Janiszewski
f5f2f62507
Cap dropdown items count to 64
2016-04-03 17:38:57 +02: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
IntelOrca
304fd4b84e
validate all the other ride operation settings
2016-03-22 21:59:16 +00:00
IntelOrca
16e8609da3
add constants for ride setting id
2016-03-22 21:32:37 +00:00
IntelOrca
b8edcd50e1
fix #3107 : Number of sold items is reset after some time
...
Number of sold items was being overwritten by a memmove on the field before it.
Queue time changed to only be drawn for rides.
2016-03-07 21:34:26 +00:00
IntelOrca
1d99c233f6
fix #3008 : construct ride that isn't placed yet causes side effects
2016-02-29 20:24:00 +00:00
Gymnasiast
ddf3d7a03d
Consistently use 'colour' rather than 'color'
2016-02-28 20:32:02 +01:00
IntelOrca
22a194ffa6
clamp ride overview viewport zoom level to allowed range
2016-02-27 13:30:00 +00:00
Michał Janiszewski
4a24aa6cf3
Don't crash if mapElement is null
...
This allows for loading parks such as "Cocopa Bay"
2016-02-26 23:05: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
Alexander Overvoorde
6311b5588d
Fix ride overall views being recalculated constantly
2016-02-25 19:31:46 +01:00
Alexander Overvoorde
4a42b09bb3
Add new overall view logic
2016-02-25 19:31:46 +01:00
Alexander Overvoorde
fe6d50f942
Fix overall view position using z coordinate of arbitrary element in same column ( fixes #2636 )
2016-02-25 19:28:43 +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
IntelOrca
3583d601ad
name flag: RIDE_TYPE_FLAG_15
2016-02-20 16:37:09 +00:00
IntelOrca
bd040918a1
use helper functions instead of direct access to 0x00982164
2016-02-20 16:30:08 +00:00
Alexander Overvoorde
d07b7159c8
Add amount of customers currently on ride to customers tab
2016-02-13 04:23:59 +01:00
IntelOrca
caf9bd9939
get game working with new theme manager
...
Theme editor currently unavailable.
2016-02-03 18:23:44 +00:00
Michał Janiszewski
ec2387082c
Remove cheats from config
2016-01-25 21:44:13 +01:00
duncanspumpkin
ba314c6fc8
Fix dropdown default highlight regression
2016-01-25 17:11:56 +00:00
Michał Janiszewski
6d6f9f3c23
Refactor rides to be only accessible with getters
...
This changes how rides are accessed from macros to getter functions.
2016-01-23 01:13:36 +01:00
IntelOrca
7c8245a63f
fix #2749 : inverse logic for removing colour tab on rides
2016-01-17 12:27:43 +00:00
Marijn van der Werf
94e47be3e3
Use `ride_type_has_flag` for checking ride type flags
2016-01-15 21:02:39 +01:00
Marijn van der Werf
98b5ad1bf4
Replace known addresses with constants
2016-01-15 21:01:34 +01:00
IntelOrca
b7484db239
refactor clip_drawpixelinfo to not allocate memory
2016-01-14 20:12:44 +00:00
duncanspumpkin
f2b70b74aa
Fix incorrect common format offset causing issues when changing colour scheme
2016-01-14 17:47:06 +00:00