janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Gymnasiast
f2a3c21beb
Check if peep is guest or staff, refactor
2016-04-28 21:26:58 +02:00
Nubbie
339f0aba10
Make renaming staff use staff permissions, fixes #3243
2016-04-28 19:33:50 +02:00
Ted John
652b1c83db
integrate variables for lightning and toolbar dirty flags
2016-04-24 21:49:09 +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
5ccbf08ac9
add global macros for staff colours
2016-04-24 11:12:24 +01:00
Ted John
6c25c85363
add variable pointers for park entrance position
2016-04-24 10:53:04 +01:00
Ted John
98f732aaf7
integrate screen variables ( #3411 )
2016-04-24 00:36:39 +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
3bd21240ed
add global macros for climate variables
2016-04-23 10:53:48 +01:00
Ted John
c9adf50716
add global macro: gNumGuestsHeadingForPark
2016-04-23 02:56:55 +01:00
Ted John
7905757923
add global macro: gNumGuestsInParkLastWeek
2016-04-23 02:55:14 +01:00
Ted John
65d749de7b
add global macro: gGuestChangeModifier
2016-04-23 02:51:38 +01:00
Ted John
467513616d
add global macro: gCurrentTicks
2016-04-23 02:49:24 +01:00
Ted John
0c90c165a2
add global macro: gGuestInitialThirst
2016-04-23 02:38:51 +01:00
Ted John
a819819ff4
add global macro: gGuestInitialHunger
2016-04-23 02:37:33 +01:00
Ted John
727a568e32
add global macro: gGuestInitialHappiness
2016-04-23 02:36:24 +01:00
Ted John
8509927dc7
add global macro: gGuestInitialCash
2016-04-23 02:35:03 +01:00
Ted John
b59f5c17ca
add global macros for park...
...
- gParkSize
- gParkEntranceFee
- gNumGuestsInPark
2016-04-23 01:00:00 +01:00
Ted John
307cb9e08b
add global macro: gParkFlags
2016-04-23 00:51:22 +01:00
Hielke Morsink
87953f34db
Checking for no_money flag when checking ride price
2016-04-21 19:21:09 +02:00
Hielke Morsink
09688b427e
Fix #3238 - Guest refusing to pay that much in no money scenarios
2016-04-21 19:09:41 +02:00
Derek Lee
4d1153669e
Refactor peep code
...
Use constants rather than magic numbers and make identifiers consistent
2016-04-18 23:34:11 -07:00
Derek Lee
c4226235e3
Add cheat to disable littering
...
Add cheat and increment NETWORK_STREAM_VERSION
2016-04-18 23:34:10 -07:00
janisozaur
0b9b976dd6
Cast peep's arguments properly ( #3341 )
...
Left-hand side of shift operator determines what's the resultant size of
whole expression. Consider this:
uint16 p = 65535;
uint32 q = p << 16;
`q` will be an undefined result, as it will not fit in `uint16` type
anymore, and compiler can optimise it away, unless you cast `p` to be
something which can hold such value, in this case `uint32`.
2016-04-18 23:02:08 +01:00
Ted John
1b3f46f960
integrate game command error string variables
...
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
Duncan
9edd48c4b8
Merge pull request #3231 from marijnvdwerf/use-structs
...
Clean up data use
2016-04-13 12:38:58 +01:00
duncanspumpkin
b023d1a9ac
Fix #3267 . Two bugs fixed grass length detected and activity timeout.
...
The grass length detection had been simplified but failed to account for the upper bits being used as none graphical grass length changes. This caused mown grass to be detected as unmown.
Most staff functions have an activity timeout to prevent them from repeatedly doing activities in the exact same location. Mown grass did not have this timeout reset in the original game. The reset has now been removed.
2016-04-10 08:21:36 +01:00
IntelOrca
cfecbed003
fix mistake in destination_tolerence logic
...
still not convinced it fixes issue #3249 completely, but probably improves it.
2016-04-08 20:48:53 +01:00
duncanspumpkin
90dbefeac2
Potential fix to #3249 .
...
Unsure if this is the only issue with it
2016-04-06 19:25:30 +01:00
duncanspumpkin
a8efcef15b
Fix issue with handymen finding litter on the z axis different to vanilla
...
Issue caused by implementation mistake. Fixes remaining issue of #3125 .
2016-04-04 19:17:32 +01:00
Marijn van der Werf
0fd42f408a
Extract new struct
2016-04-03 14:53:17 +02:00
Hielke Morsink
62090cd936
fixes #1860 Litter bins fill up too fast
2016-04-02 22:32:56 +01:00
IntelOrca
474f25c69a
refactor handyman pathfind and fix additional small bug
2016-03-24 23:47:15 +00:00
Marco van Munster
1f069af961
Fix machanic crosses station
2016-03-23 22:10:19 +01:00
Michał Janiszewski
c33b8ccdc5
Don't crash when fixing a hacked ride
2016-03-23 16:10:55 +01:00
IntelOrca
3280bf7aeb
fix #3125 : handyman AI bug
...
Handyman AI would find the closest litter but then not actually use that closest litter to determine the direction but instead use the last litter in the sprite list.
2016-03-21 22:36:16 +00:00
Josue Acevedo
010d452e7d
Fixes #3070
2016-03-02 00:58:11 -06:00
Gymnasiast
ddf3d7a03d
Consistently use 'colour' rather than 'color'
2016-02-28 20:32:02 +01:00
Gymnasiast
55a2b25f0f
Name PARK_FLAGS_8 and stop checking it
2016-02-27 20:55:49 +01:00
Michał Janiszewski
aa8437cb9d
Minor fixes
2016-02-26 20:49:01 +01:00
Ted John
74973a4a97
Merge pull request #2950 from janisozaur/ride-names
...
Rename ride_entry functions and provide better logging
2016-02-25 12:43:19 +00:00
Michał Janiszewski
14bff0c66f
Rename rct_ride_type to rct_ride_entry
2016-02-25 13:33:19 +01:00
IntelOrca
b0887f174b
split sound and music mixing correctly, closes #1270
2016-02-24 22:42:50 +00:00
duncanspumpkin
53df541a39
Relabelled sprite_flags to flags. Relabelled peep/fountain flags
2016-02-23 17:22:19 +00:00
duncanspumpkin
5340af4a12
Refactor sprite_flags
2016-02-23 17:09:53 +00:00
duncanspumpkin
5eb3ca8f36
Label var_1F and var_20
2016-02-22 18:05:59 +00:00
IntelOrca
3583d601ad
name flag: RIDE_TYPE_FLAG_15
2016-02-20 16:37:09 +00:00