1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 09:44:52 +01:00
Commit Graph

9384 Commits

Author SHA1 Message Date
Richard Jenkins
fff3e55e6b Merge pull request #5854 from Chaosmeister/backwardsmotionnullguard
Guard against null in vehicle_update_track_motion_backwards_get_new_track()
2017-07-09 22:17:29 +01:00
Tomas Dittmann
e31c4d83db Guard against null in vehicle_update_track_motion_backwards_get_new_track() 2017-07-09 22:52:03 +02:00
Michał Janiszewski
ce24a6fb85 Prevent overflowing tunnel count (#5853) 2017-07-09 22:48:21 +02:00
Michał Janiszewski
23882ae7a6 Merge pull request #5814 from rwjuk/spriteguardnull
Guard against NULL in fix_invalid_vehicle_sprite_sizes()
2017-07-09 21:19:49 +02:00
Michał Janiszewski
f89e56bbc4 Update exit condition to prevent endless loop 2017-07-09 21:13:37 +02:00
Tomas Dittmann
cf1f907138 continue instead of return 2017-07-09 20:42:42 +02:00
Tomas Dittmann
a163c2b1b3 prevent crash with hacked spiral slides 2017-07-09 20:42:42 +02:00
duncanspumpkin
540763ad0c Fix tunnel portal drawing for multidim inverted track.
Mistake made from generated code. Missed in #5087. Fixes #5819.
2017-07-09 12:10:04 +02:00
Duncan
7b47438f49 Fix windows x86 debug builds (#5845) 2017-07-09 09:51:02 +01:00
Tomas Dittmann
bec1538f48 Improve the error console output. (#5839) 2017-07-09 00:09:46 +01:00
wolfreak99
ac81072597 Fix hold down speed 2017-07-08 10:36:28 +02:00
spacek531
c73e17f02b move the zoom case up to handle it as it was 2017-07-07 17:35:33 +01:00
spacek531
7ecf049e87 add janisozar suggestion
[ci skip]
2017-07-07 17:35:33 +01:00
spacek531
668366bf6b Revert "upgrade save format from uint16 to uint32"
This reverts commit 85757d9fefbacf8b7d07cec9cd9714e2f70f2faa.
2017-07-07 17:35:33 +01:00
spacek531
78ab94b12a upgrade save format from uint16 to uint32 2017-07-07 17:35:33 +01:00
spacek531
bec8b73506 fix saving of milliseconds, loading still beyond knowledge
[ci skip]
2017-07-07 17:35:32 +01:00
spacek531
97bf67e605 add missing curly bracket 2017-07-07 17:35:32 +01:00
spacek531
16167d84f0 clarified comments, changed TITLE_COMMAND_ORDER command to uint16 2017-07-07 17:35:32 +01:00
spacek531
78e25e381c modify saving, add comments
[ci skip]
2017-07-07 17:35:32 +01:00
spacek531
a3acfb4312 Increase digits from 4 to 5
I'm not used to string lengths that are one shorter
2017-07-07 17:35:32 +01:00
spacek531
c1ac654916 fix order of rotate, zoom in clamping 2017-07-07 17:35:32 +01:00
spacek531
c302bec47a fix rotate being able to be set to 0 2017-07-07 17:35:32 +01:00
spacek531
fc71361a9e increase digits for wait, decrease digits for rotate, zoom 2017-07-07 17:35:32 +01:00
spacek531
bd4e8cbd08 change Min to Max 2017-07-07 17:35:32 +01:00
spacek531
ef38a66cc2 begin update editor for ms values
[ci skip]
2017-07-07 17:35:31 +01:00
spacek531
d5610ece54 Remove duplicate line 2017-07-07 17:35:31 +01:00
spacek531
c815a427c0 Change Seconds (internal) to Milliseconds, en-GB too 2017-07-07 17:35:31 +01:00
spacek531
f5bc1b598c removed extra newline, changed tabs to spaces 2017-07-07 17:35:31 +01:00
spacek531
bb8160fa3b Remove extra newline in math.hpp 2017-07-07 17:35:31 +01:00
spacek531
b460401ab6 Removed redundant Ceil 2017-07-07 17:35:31 +01:00
spacek531
ec0f35fe7b added comment 2017-07-07 17:35:31 +01:00
spacek531
cbe154f63b I hope this isn't a joke of a commit
I have no idea.
2017-07-07 17:35:31 +01:00
Richard Jenkins
e5b39846b0 Merge pull request #5812 from janisozaur/fix-5795-v2
Fix #5795: Implement sprite cycle checking v2
2017-07-07 17:24:42 +01:00
wolfreak99
6633588179 Add missing cheat_reset toggle 2017-07-07 09:20:27 +02:00
wolfreak99
e5eefca5c0 Add missing cheat log strings 2017-07-07 09:20:27 +02:00
Michał Janiszewski
8d02ce37b5 Fix compilation on MSVC 2017-07-07 07:56:45 +02:00
rwjuk
d364b2824f Remove needless null check 2017-07-06 23:35:00 +01:00
Michał Janiszewski
a3414502a6 Update network version 2017-07-07 00:17:36 +02:00
Michał Janiszewski
12500dd802 Fixup the disjoint null sprites 2017-07-07 00:14:45 +02:00
Michał Janiszewski
f6cb731476 Merge pull request #5802 from rwjuk/fix5800
Fix #5800: Crash when opening server from command line
2017-07-06 23:39:26 +02:00
rwjuk
f28db5731f Guard against NULL in fix_invalid_vehicle_sprite_sizes() 2017-07-06 22:29:51 +01:00
Michał Janiszewski
22d0cb99f9 Load title sequence when invalid path was given 2017-07-06 23:25:38 +02:00
Michał Janiszewski
ab95988c66 Improve error reporting for detected cycles 2017-07-06 22:28:10 +02:00
Michał Janiszewski
029aea0fc2 Remove reset_empty_sprites
Leave in sprite_clear_all_unused as the safer version
2017-07-06 22:20:07 +02:00
Michał Janiszewski
bed085d329 Remove unneeded sprite reset
This is done in all exports now
2017-07-06 22:18:05 +02:00
Michał Janiszewski
07faba7aa5 Re-add sprites that got disconnected in a looped list 2017-07-06 22:17:02 +02:00
rwjuk
00848ca629 Correct sprite cycle fixing algorithm 2017-07-06 19:57:59 +02:00
rwjuk
67cbe2a2a1 Fix compilation issues and restore line that went astray 2017-07-06 19:57:55 +02:00
rwjuk
72a1ad89a3 Remove superfluous parameter 2017-07-06 19:57:52 +02:00
rwjuk
28789c3767 Restore resetting of sprite index 2017-07-06 19:57:46 +02:00