1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 00:04:43 +01:00
Commit Graph

291 Commits

Author SHA1 Message Date
Michał Janiszewski
2f457aeffc Cleanups
* Remove unused function in config.c
* Check handle *before* it is used
* Provide explicit parentheses around unclear if statements
2015-10-28 08:06:45 +01:00
IntelOrca
8d84b540ad add vehicle struct and enum labels from vehicle-update branch. 2015-10-25 21:26:03 +00:00
IntelOrca
4ac42ff1b2 add vehicle struct, enum labels and helper functions from implement-ride-create-vehicles branch. 2015-10-25 16:00:21 +00:00
Michał Janiszewski
7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Ted John
4f7476f8c2 Merge pull request #2092 from Dandandan/optimize
Optimize peep functions
2015-10-20 17:24:00 +01:00
Daniël Heres
5c611dc600 Optimize peep functions 2015-10-20 17:35:31 +02:00
Michał Janiszewski
d570163958 Fix types
Bunch of type fixes
2015-10-19 20:30:46 +02:00
Sam Horn
7250adaf71 Identify peep->var_C6 2015-10-19 18:36:45 +10:00
Duncan
45d3fbf10d Merge pull request #2061 from clamburger/update_peep_on_enter_ride
Cleaned up peep_on_enter_ride
2015-10-18 10:21:04 +01:00
Sam Horn
05f6ea96a0 Fixed inconsistent use of peep->rides_been_on 2015-10-18 02:32:26 +10:00
Sam Horn
8850d1153f Split off independent logic into their own functions 2015-10-18 02:31:17 +10:00
IntelOrca
93e7e219cc fix peep inverted logic from 76252a32d9 2015-10-17 13:35:09 +01:00
IntelOrca
76252a32d9 fix peep.c warnings 2015-10-16 18:51:25 +01:00
zsilencer
ae6c88d1ce remove unused/redundant RCT2_GLOBALS fix #2065 and cleanup 2015-10-16 02:31:31 -06:00
zsilencer
109ebe4f56 fix compiler warning 2015-10-16 01:06:46 -06:00
Duncan
700cb3976d Merge pull request #2055 from ccfreak2k/develop
Implement sub_69AF1E
2015-10-16 06:47:09 +01:00
Andrew Waters
b959d13c65 Add implementation of sub_69AF1E() 2015-10-15 18:22:51 -07:00
Sam Horn
0a14971cdf Cleaned up peep_on_enter_ride 2015-10-14 23:31:50 +10:00
Sam Horn
49cf5e3774 Moved the nausea thresholds into a C array 2015-10-11 04:07:14 +10:00
Sam Horn
55d6666f13 Added an enum for flags used in peep_should_go_on_ride 2015-10-11 03:21:33 +10:00
Sam Horn
58b7df8fd7 Renamed ride->first_peep_in_queue to last_peep_in_queue 2015-10-11 03:03:59 +10:00
Sam Horn
3975af93f4 Renamed ride->var_114 to undercover_portion and updated comments 2015-10-11 02:51:03 +10:00
Sam Horn
75263034e5 Use GET_PEEP macro 2015-10-10 23:15:56 +10:00
Sam Horn
b0437746a9 Fixed min and max intensity being swapped 2015-10-10 21:34:37 +10:00
Sam Horn
1b2a7e62a2 Identified 0x00982392 as a nausea lookup array 2015-10-10 21:31:56 +10:00
Sam Horn
3f84778369 Removed extra spaces 2015-10-10 19:00:37 +10:00
Sam Horn
2b66253d28 Replaced remaining gotos with function calls 2015-10-10 18:53:48 +10:00
Sam Horn
a5b9b356a0 Cleaned up the queue logic 2015-10-09 22:11:15 +10:00
Sam Horn
ceeaa34ac8 Start work on cleaning up sub_6960AB 2015-10-09 17:12:48 +10:00
Gymnasiast
3590b1c1b9 Adjust comment 2015-10-08 10:58:17 +02:00
Gymnasiast
dfd0c52b7e Name PEEP_FLAGS_5 2015-10-08 10:47:14 +02:00
zsilencer
468a6c15fa implement peep_give_real_name 2015-10-06 23:52:37 -06:00
Andrew Waters
b77e8f5146 Fixed typo of peep_udpate_ride_sub_state_13 2015-10-03 13:39:15 -07:00
Rune Laenen
1b5e55d346 newPeep fix 2015-10-02 13:45:17 +02:00
Rune Laenen
5d75fa4464 var_2A to outside_of_park 2015-10-02 13:41:13 +02:00
duncanspumpkin
f40ccc883a Name remaining peep cheat flag enums 2015-09-30 22:01:44 +01:00
duncanspumpkin
b5711638bc Implement game_command_set_peep_name
Note this is how most of the existing cheats are used
2015-09-30 21:55:36 +01:00
duncanspumpkin
1a0fc46559 Fix #1723 issue caused by failing to return.
The logic would fall through to the ending code so that it would just make a beeline to the exit after walking to one corner.
2015-09-27 16:21:45 +01:00
zsilencer
9ac89c2b5e remove directsound and get sound working for linux native 2015-09-23 09:42:55 -06:00
Michał Janiszewski
788e988992 Memory access fixes 2015-09-12 00:16:05 +02:00
IntelOrca
4dd95c650b implement RideData4 data 2015-09-10 22:16:41 +01:00
IntelOrca
bda7550e33 fix #1913 2015-09-10 20:06:13 +01:00
Michał Janiszewski
52252f82b3 assorted fixes 2015-09-07 20:51:21 +02:00
IntelOrca
efada641a5 implement map_place_fence_check_obstruction 2015-09-06 17:36:55 +01:00
IntelOrca
7228e42768 implement litter_remove_at 2015-09-05 13:59:12 +01:00
IntelOrca
e136923437 fix #1890 2015-09-05 13:18:31 +01:00
IntelOrca
5508ba5874 fix #1841 2015-08-31 12:27:02 +01:00
Gymnasiast
2ff3e33e3e Add cheat to disable vandalism 2015-08-31 11:13:19 +02:00
Gymnasiast
4d7a81bfe0 Remove unnecessary duplicate address, use more string constants 2015-08-27 16:44:18 +02:00
IntelOrca
1a877e637d refactor sprite_invalidate 2015-08-22 11:56:32 +01:00