Commit Graph

7330 Commits

Author SHA1 Message Date
Yaroslav Tretyakov a3469cf073 Fix #3598: Validate vehicle track movement (#3612) 2016-05-15 17:20:46 +01:00
Ted John 2fadc8d2be remove redundant global usages 2016-05-15 17:19:32 +01:00
Ted John 72957660ef integrate window scenery variables 2016-05-15 17:16:21 +01:00
Ted John 5fe612acd7 integrate scenery place variables 2016-05-15 17:10:25 +01:00
Ted John 6f7db1f9b6 rename rct_path_type to rct_footpath_entry 2016-05-15 16:11:34 +01:00
Ted John 3d47f9869f write get entry methods for scenery and path 2016-05-15 16:09:26 +01:00
janisozaur b3101dd9b0 Don't crash when vehicles have 0 friction (#3615) 2016-05-15 15:59:42 +01:00
janisozaur 3a6978a9aa Fix comparison highlighted by clang (#3614) 2016-05-15 15:20:33 +01:00
Ted John 6c6be817e7 Merge pull request #3610 from zsilencer/bugfixes
Fix #3601: Assert in paint.c
Fix #3609: Crash from invalid peep
2016-05-15 13:38:40 +01:00
zsilencer 6db3828f32 Fix #3609: Crash from invalid peep 2016-05-15 06:21:19 -06:00
zsilencer 8d015f37a9 Fix #3601: Assert in paint.c 2016-05-15 06:12:26 -06:00
Yaroslav Tretyakov 938c498fac Integrate 0x008B8F30 (gTrackVehicleInfo) (#3605) 2016-05-15 10:30:03 +01:00
YJSoft f5b208d629 Fix font config loaded without proper configuration (#3602) 2016-05-15 10:29:26 +01:00
Hielke Morsink 8c1395bd46 declaring local variables where needed instead of at the top (#3599) 2016-05-15 10:25:24 +01:00
OpenRCT2 git bot 800dc83951 Merge Localisation/master into OpenRCT2/develop. 2016-05-15 04:00:23 +00:00
janisozaur 963128d424 Merge pull request #3476 from Broxzier/commit_in_dump_filename
Including short commit hash in dump filename
2016-05-15 02:17:05 +02:00
Hielke Morsink d7aacfcde6 Fixed warning in sawyerencoding.c 2016-05-15 01:10:37 +02:00
Hielke Morsink c7a8e0cab7 Removed space from dump filename, and clearer output. 2016-05-15 01:00:06 +02:00
Hielke Morsink e69574be12 Including short commit hash in dump filename 2016-05-15 01:00:05 +02:00
Ted John 498e4b67df Merge pull request #3593 from janisozaur/decode-rle-speedup
Use memset/memcpy functions for RLE chunk decoding
2016-05-14 16:03:32 +01:00
Ted John d0d2ad7ded fix #3562: loaded objects are not unloaded when loading a new game 2016-05-14 12:54:55 +01:00
Michał Janiszewski 90bcca11d2 More sawyercoding optimisations 2016-05-14 11:54:19 +02:00
Michał Janiszewski 9cd762b1a6 Use memset/memcpy functions for RLE chunk decoding
Reduces time spent in `decode_chunk_rle` by 4-5x.
2016-05-14 11:12:14 +02:00
OpenRCT2 git bot f62932a5d3 Merge Localisation/master into OpenRCT2/develop. 2016-05-14 04:00:20 +00:00
janisozaur 7537c03d3f Optimise object_get_length to use entryCache (#3592) 2016-05-14 01:15:17 +01:00
Ted John 81efb92d53 integrate map selection variables 2016-05-14 00:54:13 +01:00
Ted John 60235d9735 Merge pull request #3591 from janisozaur/qsort
Improve the performance of sorting the object list. Reduces startup and plugin.dat creation times.
2016-05-13 23:32:27 +01:00
Michał Janiszewski f458dec3e9 Restore checking of last entry's size 2016-05-14 00:23:03 +02:00
Ted John 3fcb337c7b integrate variable: gWindowMapFlashingFlags 2016-05-13 22:51:16 +01:00
Michał Janiszewski 5c2e55723b Fixup filters, skip double object list enumeration 2016-05-13 23:42:49 +02:00
Michał Janiszewski 6fc8ac721c Migrate initial object list sorting to qsort() 2016-05-13 23:33:29 +02:00
Michał Janiszewski 5b639e515b Cache entries for future lookup to speedup launch
Before this change, expensive `object_get_next` had to be called
`numObjects^2` times, now it is cached so it can only be called
`numObjects` times.
2016-05-13 23:22:11 +02:00
Ted John d293616bbc Merge branch 'fix/intro' into develop 2016-05-13 21:36:24 +01:00
Ted John b58766aa3f clean up the logo and make it scalable
- fixes #1776: graphical glitches on intro
- fixes #708: screen turns white when resizing intro
2016-05-13 21:36:07 +01:00
Ted John bf39225ca6 fix intro sound 2016-05-13 19:01:24 +01:00
Ted John f901ec4aa8 fix intro drawing 2016-05-13 18:37:00 +01:00
YJSoft f330ae478b Add more font config to config.ini (#3582) 2016-05-13 18:23:11 +01:00
Ted John 0710eb7e87 Merge pull request #3585 from janisozaur/fixes 2016-05-13 18:22:20 +01:00
janisozaur ca430e1b23 Drop unused variables (#3586) 2016-05-13 18:21:58 +01:00
Michał Janiszewski 4d05c939cf Cache accesses to get_current_rotation() 2016-05-13 13:34:27 +02:00
Michał Janiszewski 070f298878 Make sure variables don't end up uninitialised 2016-05-13 13:23:37 +02:00
Michał Janiszewski 16fd91f786 Don't copy the error message to fixed-size buffer 2016-05-13 12:09:06 +02:00
janisozaur feb140b84c Revert part of last commit unsuitable for older compilers (#3584)
Also initialise all the items in gResearchedTrackTypesA and
gResearchedTrackTypesB
2016-05-13 10:36:24 +01:00
janisozaur 87d05f8a89 Fix compiler warnings (#3583)
Includes:
* type casting
* properly counting fields to initialise
2016-05-13 08:05:12 +01:00
OpenRCT2 git bot a675192bdf Merge Localisation/master into OpenRCT2/develop. 2016-05-13 04:00:19 +00:00
janisozaur 658e877955 Name all the typdef-ed structs (#3581) 2016-05-12 22:57:40 +01:00
Michael Steenbeek 9fac7f38a5 Return failure when encountering unknown lang code, fixes #3524 (#3579) 2016-05-12 20:48:40 +01:00
janisozaur 774bbdcbe8 Cast left-shifted values (#3574) 2016-05-12 18:09:19 +01:00
YJSoft 2f36dbf7e3 Add font config at config.ini (#3569) 2016-05-12 12:47:30 +01:00
Hielke Morsink 9c95803643 More robust track_design_open (#3573) 2016-05-12 12:46:57 +01:00