Commit Graph
4720 Commits
Author SHA1 Message Date
Michał Janiszewski 60d01a3ddf More optimizations to drawing code 2016-02-23 17:33:54 +01:00
Michał Janiszewski 2744db77d9 Prefer masking over multiplication in rendering code 2016-02-22 15:54:46 +01:00
Michał Janiszewski 0e42bef94e Trade control-flow dependency for data-dependency
Removes branching in drawing code
2016-02-22 09:30:15 +01:00
Michał Janiszewski aaf572ab27 Fix fastcall for non-MSVC toolchains 2016-02-20 13:41:44 +00:00
IntelOrca 3edc5c6f0a compile multiple versions of draw RLE sprite 2016-02-20 13:41:43 +00:00
IntelOrca 4617a52e53 improve dirty block performance 2016-02-20 00:23:58 +00:00
Ted John 1b6299b9d2 Merge pull request #2976 from janisozaur/rotation-optimise
Optimise accesses to get_current_rotation()
2016-02-19 23:07:03 +00:00
Michał Janiszewski cafed8551b Optimise accesses to get_current_rotation() 2016-02-19 23:56:08 +01:00
duncanspumpkin 1fb1c69d86 Label more vehicle offsets 2016-02-19 18:15:19 +00:00
duncanspumpkin 60b8407b2b Added assert and error log for questionable localisation code 2016-02-19 17:53:35 +00:00
duncanspumpkin 0e550d8b6b Remove old peep_find_ride_to_look_at code. 2016-02-19 17:51:34 +00:00
Martin Černáč 4a97743276 Fix multiplayer weather cheat
While refactoring the freeze-climate cheat I noticed the state was not being transmitted over the network. This commit fixes that
2016-02-19 18:23:13 +01:00
duncanspumpkin 884bcd2c8a Fix #2971. Monorails now correctly accelerate.
Issue was caused by checking the wrong vehicle entry for acceleration speed. This was introduced by a bug fix on the weekend
2016-02-18 22:24:40 +00:00
duncanspumpkin faf16a35f9 Fix #2972. Station lengths now correctly calculated.
Issue caused by counting number of stations off by one. This would cause the calculator to return 1 even on failure after a station element being removed.
2016-02-18 22:16:51 +00:00
duncanspumpkin 14231ef24d Label vehicle offsets 2016-02-18 21:47:24 +00:00
duncanspumpkin 772502309f Label ride offsets 2016-02-18 20:58:22 +00:00
duncanspumpkin f267af3356 Fix chairlift bullwheel rotation animation.
Issue caused by incorrect check for breakdown
2016-02-18 20:32:04 +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
Martin Černáč aff8cec48c Refactor freeze climate cheat 2016-02-17 17:39:33 +01:00
Duncan 93484c7956 Merge pull request #2932 from marijnvdwerf/peep-look-at
[WIP] Peep look at
2016-02-17 12:45:26 +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
Ted John 9c5196e9dc Merge pull request #2952 from octaroot/cheat_neverending_marketing
Add "neverending marketing" cheat
2016-02-17 12:28:37 +00: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
Martin Černáč 6c225b9fb1 Make "neverending marketing" cheat multiplayer-friendly 2016-02-17 09:36:04 +01:00
Martin Černáč fdfb4f7bd3 Add "neverending marketing" cheat
This cheat allows the player to have never-ending marketing campaigns
2016-02-17 09:35:56 +01:00
IntelOrca 13921111f3 remove old RCT2 cursor code and RCT2 error location variable 2016-02-16 20:30:43 +00:00
IntelOrca 38fda5debf remove old redundant RCT2 platform code 2016-02-16 20:23:32 +00:00
IntelOrca 5cf0c4bd07 remove commented out callproc/funcs 2016-02-16 20:10:24 +00:00
duncanspumpkin 115f600735 Fix #2942. Stacked shops now show correct supports.
Issue was caused by overwriting the variable that is used as a flag to disable supports.
2016-02-16 19:22:15 +00:00
duncanspumpkin b044d0c5e2 Implemented sub_6CB945 2016-02-16 18:45:15 +00:00
duncanspumpkin e7b690acac Fix #2959. Water splash correctly drawn in track preview.
Issue was caused by missing code that was used to work out the min z value required to place the ride. Without this the watersplash was placed at an invalid z value.
2016-02-16 18:18:43 +00:00
IntelOrca c31941c6dc fix #2958: import sc4, sv4 into editor using load landscape dialog 2016-02-16 18:15:26 +00:00
IntelOrca b11afac5c8 potential fix or improvement to #2924: ride sync
- Do not delete rides when sending map to clients.
- Only do track related checks for track, not flat rides
2016-02-15 22:01:29 +00:00
Ted John d42f8c5499 Merge pull request #2946 from Gymnasiast/debugging-tools-dropdown
Leave the debugging tools dropdown open after click, closes #2768
2016-02-15 13:45:53 +00:00
Ted John faa6badea0 Merge pull request #2948 from Gymnasiast/designs-available
Don't say there are track designs available in multiplayer
2016-02-15 13:45:11 +00:00