1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 14:24:33 +01:00
Commit Graph

466 Commits

Author SHA1 Message Date
Ted John
42c83ab982 integrate peep pathfinding goal position 2016-05-17 22:51:46 +01:00
Ted John
8499600786 integrate peep queue pathfinding variables 2016-05-17 22:37:35 +01:00
Ted John
1cc35dfe6e integrate common format args 2016-05-15 22:03:53 +01:00
Ted John
3d47f9869f write get entry methods for scenery and path 2016-05-15 16:09:26 +01:00
zsilencer
6db3828f32 Fix #3609: Crash from invalid peep 2016-05-15 06:21:19 -06:00
janisozaur
ca430e1b23 Drop unused variables (#3586) 2016-05-13 18:21:58 +01: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
Ted John
56da56b374 add global for gPeepWarningThrottle 2016-05-11 22:30:24 +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
3105d62d3b add global macro for gTotalAdmissions, gTotalIncomeFromAdmissions 2016-05-09 21:05:17 +01: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
Marijn van der Werf
e3161d66d0 Implement misc_paint 2016-05-06 00:06:52 +02:00
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