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

429 Commits

Author SHA1 Message Date
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
duncanspumpkin
0e550d8b6b Remove old peep_find_ride_to_look_at code. 2016-02-19 17:51:34 +00:00
duncanspumpkin
14231ef24d Label vehicle offsets 2016-02-18 21:47:24 +00:00
duncanspumpkin
1e3a82a4ee Label known offsets.
Fixed a small issue with downtime history not being reset correctly on new ride creation
2016-02-17 20:03:40 +00:00
duncanspumpkin
9e391d7e03 Label known offsets 2016-02-17 18:22:38 +00:00
Marijn van der Werf
9c456c6bf5 Add development suggestions 2016-02-17 13:31:03 +01:00
Marijn van der Werf
485b5114f5 Case ride excitement to uint16 before comparing 2016-02-17 13:30:36 +01:00
Marijn van der Werf
9850152d76 Make loop structures uniform 2016-02-17 13:30:36 +01:00
Marijn van der Werf
be7c8d58d9 Compress continue checks 2016-02-17 13:30:32 +01:00
Marijn van der Werf
000e228b32 Remove location comments 2016-02-17 13:26:47 +01:00
Marijn van der Werf
a38485c6d5 Only validate ride/ride seat if return value is true 2016-02-17 13:26:47 +01:00
Marijn van der Werf
198f3b1f3b Use get_surface_at 2016-02-17 13:26:47 +01:00
Marijn van der Werf
9fcedcfde3 Attempt to find more fixes 2016-02-17 13:26:47 +01:00
Marijn van der Werf
778a267c5a Reset srand after calling function 2016-02-17 13:26:47 +01:00
Marijn van der Werf
68c5106987 Apply suggestions 2016-02-17 13:26:47 +01:00
Marijn van der Werf
e758441f65 Remove useless anding 2016-02-17 13:26:47 +01:00
Marijn van der Werf
f62cedeaf4 Make compileable and add comparison 2016-02-17 13:26:46 +01:00
Marijn van der Werf
e271a9f66b Decompile until end 2016-02-17 13:26:46 +01:00
Marijn van der Werf
f04476c3a6 Decompile until 00690E60 2016-02-17 13:26:46 +01:00
Marijn van der Werf
29dc4b1eed Decompile until 0x00690D04 2016-02-17 13:26:46 +01:00
Marijn van der Werf
17777467c0 First section 2016-02-17 13:26:46 +01:00
Michał Janiszewski
a09afd0be5 Minor fixes
* Be more cautious while doing pathfinding
* Be a little more deterministic on network by initialising all member
  fields.
2016-02-14 22:22:38 +01:00
Duncan
0cbc8d9372 Merge pull request #2903 from OpenRCT2/peep
Staff Path Finding
2016-02-14 09:29:55 +00:00
Josue Acevedo
f1e4cfd34b Fixes #2921
Fixes #2921 'Guests can't stop going to ride if queue is full.'
2016-02-13 14:18:00 -06:00