1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00
Commit Graph

509 Commits

Author SHA1 Message Date
Michał Janiszewski
e19cf781b1 Verify inputs to various functions 2016-07-24 13:18:50 +02:00
Michał Janiszewski
8446ae9026 Check for NULL scenery 2016-07-18 23:46:59 +02:00
Michał Janiszewski
bb2ae29699 Limit valid sprite indices when renaming peeps 2016-07-18 21:18:23 +02:00
Michał Janiszewski
9f57c82653 Refactor access to g_sprite_list
Hide g_sprite_list behind accessor function with a check. `assert` is
temporarily disabled, as it breaks nearly every park.
2016-07-17 22:19:34 +02:00
Michał Janiszewski
4db876c184 Add missing data to SpriteTypeToSlowWalkMap
* Add missing data to SpriteTypeToSlowWalkMap
2016-07-17 17:47:22 +01:00
Ted John
304d6d9304 Fix #4110: guests still get charged for rides 2016-07-16 16:27:49 +01:00
Michał Janiszewski
1673163bc2 Integrate path map elements in get_ride_queue_end 2016-07-16 15:12:51 +01:00
Michał Janiszewski
601f344b40 Integrate g_music_tracking_viewport 2016-07-16 13:07:01 +01:00
Ted John
3a8b0c662f import peep sprite data 2016-07-15 23:56:51 +01:00
Ted John
79cc7ff250 use PeepThoughtToActionMap for 0x00981DB1 2016-07-15 22:58:32 +01:00
Ted John
8f4ba85b89 import unk_982134 2016-07-15 22:55:19 +01:00
Ted John
c8e3c338f2 import unk_981D8C and unk_981D8F 2016-07-15 22:46:27 +01:00
Ted John
4cee21a515 import PeepThoughtToActionMap data 2016-07-15 22:42:29 +01:00
Michał Janiszewski
a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Marijn van der Werf
5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Ted John
04340021f6 Fix #4071: Guests paid when free entry park flag
Make most usages of park entrance fee use a common function which does the necessary checks.
2016-07-13 19:48:42 +01:00
Ted John
c09780967b Fix #4069: Assertion when applying no-money
There was one case where it called peep_spend_money without checking if money was enabled
2016-07-13 19:08:35 +01:00
Josue Acevedo
d52fabb9d7 Fix guest sorting with guests that have a generated name. (#4028) 2016-07-12 20:17:59 +02:00
Michał Janiszewski
96376255f6 Fix #3790: Guard against null ride types in peep AI 2016-06-17 21:19:25 +01:00
Duncan
f339bd6e7a Merge pull request #3465 from marijnvdwerf/paint-setup/path
Path paint
2016-06-15 07:10:55 +01:00
Marijn van der Werf
b13f499d5b Fix typo in enum value 2016-06-12 19:01:16 +02:00
Goddesen
956828e007 Removed magic number in staff color clamping 2016-06-11 13:09:27 +02:00
duncanspumpkin
a36a6c3ef9 Small refactor 2016-06-11 11:24:45 +02:00
Goddesen
a555038af0 Cleanup and minor style/consistency fixes 2016-06-11 01:59:53 +02:00
Goddesen
a35909af31 Refactored, cleaned, and wrapped game_command_hire_new_staff_member 2016-06-11 01:44:58 +02:00
Goddesen
1ba9827a49 Minor reformat of game_command_hire_new_staff_member for readability. 2016-06-10 18:59:06 +02:00
Michał Janiszewski
1508e49a28 Change macro to assert_struct_size 2016-06-03 11:29:50 +02:00
Michał Janiszewski
60630b9ad7 Drop PACKED attribute 2016-06-03 10:55:21 +02:00
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
2a614ec4d9 rename path bits (var_06) to (flags) 2016-05-30 23:39:43 +01:00
Ted John
3e307b8e2a name path addition flags 2016-05-30 23:31:36 +01:00
Ted John
49756a6ee3 check for null map element in peep_update_falling 2016-05-28 09:29:23 +01:00
Duncan
4dcf20dd60 Integrate peep pathfinding variables (#3747) 2016-05-27 20:50:54 +01:00
CraigCraig
3f9afb9744 Various Spellchecks (#3741) 2016-05-26 09:49:19 +02:00
Michael Steenbeek
712d97da79 Remove Intamin and Phoenix easter eggs (#3732) 2016-05-25 20:01:24 +01:00
Hielke Morsink
d5fb757591 Resolved warning 2016-05-23 12:31:00 +02:00
Hielke Morsink
b8ff056058 resolved error after rebase 2016-05-22 21:54:40 +02:00
Hielke Morsink
1089f02e15 Moved logically string compare function to utils 2016-05-22 21:48:14 +02:00
Hielke Morsink
5d6c8e3b8e Sorting peeps on startup 2016-05-22 21:48:13 +02:00
Hielke Morsink
2ea2baa95e Fix #1038 - Guest List Out Of Order 2016-05-22 21:48:11 +02:00
Ted John
3fd252a8c3 integrate some staff variables 2016-05-18 23:46:46 +01:00
Ted John
8efe699754 integrate gMapTooltipFormatArgs 2016-05-18 00:02:26 +01:00
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