Commit Graph
3560 Commits
Author SHA1 Message Date
Ted John 6a33b92725 Merge pull request #2101 from nightroan/develop
Opening or testing a ride will only that ride's close construction window
2015-10-22 09:48:10 +01:00
nightroan 2e52fac0ca Testing or opening a ride only closes the construction window for that ride. 2015-10-22 01:27:39 -07:00
Michał Janiszewski 06b13794ea Use const for parameters
In profiling, gfx_rle_sprite_to_buffer turns out to be a hot spot. Use
const pointers, so compiler can make more assumptions regarding them and
perhaps optimize more heavily.
2015-10-22 10:15:45 +02:00
IntelOrca 00ff795d04 hide multiplayer button if network is disabled 2015-10-21 21:06:15 +01:00
Ted John 3585a1f99a Merge pull request #2090 from janisozaur/types
Minor fixes
2015-10-21 12:55:13 +01:00
Daniël Heres 17b906b3a0 Use SDL_RWsize to get size info 2015-10-21 10:15:02 +02:00
Michał Janiszewski 8e45cccb7a Minor fixes
Includes (mostly) type fixes, dead code removal, signed vs unsigned
comparison fixes, memory leaks removal.
2015-10-21 08:47:09 +02:00
IntelOrca be7d3d5b54 do not do any sound / music operations when in headless mode 2015-10-20 22:15:48 +01:00
IntelOrca c097ce5b13 fix #2064 2015-10-20 21:36:09 +01:00
Ted John a292a21e32 Merge pull request #2094 from janisozaur/whitespace
Strip all whitespace
2015-10-20 21:29:44 +01:00
duncanspumpkin 610a7d6954 Fix #2095. Bitscanforward needs to return -1 if nothing found. 2015-10-20 20:40:17 +01:00
Michał Janiszewski 7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
Ted John 6fb6bb2556 Merge pull request #2093 from Dandandan/optimizebitscan
Optimize bitscanforward using intrinsic function
2015-10-20 17:32:39 +01: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 d531243c98 Optimize bitscanforward using intrinsic function 2015-10-20 18:10:05 +02:00
Daniël Heres 5c611dc600 Optimize peep functions 2015-10-20 17:35:31 +02:00
Ted John acca9c869b Merge pull request #2089 from Dandandan/optimize
Cache expression in gfx_rle_sprite_to_buffer
2015-10-19 22:10:14 +01:00
Daniël Heres 4f4f434c5a Bit shifting 2015-10-19 22:55:16 +02:00
Daniël Heres 328c42d5d5 Use same naming convention 2015-10-19 20:50:52 +02:00
Daniël Heres 7730665023 Cache expression in gfx_rle_sprite_to_buffer 2015-10-19 20:45:04 +02:00
Michał Janiszewski d570163958 Fix types
Bunch of type fixes
2015-10-19 20:30:46 +02:00
Ted John 3f99209219 Refactor calculate_park_rating logic
...to avoid changing a local variable's meaning.
2015-10-19 12:20:21 +01:00
Sam Horn 7250adaf71 Identify peep->var_C6 2015-10-19 18:36:45 +10:00
IntelOrca 8c276acde7 fix #2085 2015-10-18 21:16:00 +01:00
Ted John 3fe48a262d Merge pull request #2084 from duncanspumpkin/misc
Misc
2015-10-18 14:30:11 +01:00
duncanspumpkin 3ee518bf87 Define CableLiftVehicle structure 2015-10-18 14:01:16 +01:00
Sam Horn 34e1e773a7 Fixes #2080 2015-10-18 22:40:07 +10:00
duncanspumpkin f512c5fad0 Use correct function call for crashed vehicles 2015-10-18 13:18:10 +01:00
duncanspumpkin 7d378a3620 Fix unused variable warnings 2015-10-18 12:46:38 +01:00
duncanspumpkin 0551fb7170 Fix #1914. Removed y variable as it is not part of function call 2015-10-18 12:07:45 +01:00
duncanspumpkin fedd83987e Fix Disable Network build 2015-10-18 12:02:31 +01: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
zsilencer cf78d76bdf make disable volume on focus lost not reset title music 2015-10-17 11:48:39 -06:00
zsilencer 6449dfd6ea fix #2076 2015-10-17 11:47:04 -06: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
Ted John 7e753afe52 Merge pull request #2074 from duncanspumpkin/fix_2049
Possible fix to #2049.
2015-10-17 13:38:56 +01:00
IntelOrca 93e7e219cc fix peep inverted logic from 76252a32d9 2015-10-17 13:35:09 +01:00
duncanspumpkin 4ddca816e0 Possible fix to #2049.
I need this confirmed as I can't reproduce the issue even when I change the peep logic to always being sick.
2015-10-16 23:26:55 +01:00
IntelOrca 341b658ed0 add gui option for stay_connected 2015-10-16 22:45:17 +01:00
IntelOrca 6c6fa1d444 add ability for server to kick player, closes #2071 2015-10-16 22:20:16 +01:00
IntelOrca 76252a32d9 fix peep.c warnings 2015-10-16 18:51:25 +01:00
Ted John 5d6fe6f7f0 Merge pull request #2067 from duncanspumpkin/fix_load_landscape
Fix loadlandscape breaking enabled tabs
2015-10-16 13:36:12 +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
duncanspumpkin ee1e71f287 Fix loadlandscape breaking enabled tabs
Issue was caused by not calling sub_6DFED0 when loading the landscape. I assume in vanilla this would happen as part of the loading but due to the way loadsave now works it doesn't happen. In the process I also labelled the offset for editor step.
2015-10-15 22:16:27 +01:00
duncanspumpkin 31e6942ff0 Fix #1761. Issue caused by or = instead of != 2015-10-15 21:03:29 +01:00
Ted John fdfe52fc19 Merge pull request #2057 from Gymnasiast/show-vehicles-from-other-track-types
Show vehicles from other track types
2015-10-15 12:57:57 +01:00