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
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
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
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
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
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
Ted John
1229cbd540
clean up s6 struct a bit
2016-05-11 22:30:25 +01:00
Ted John
56da56b374
add global for gPeepWarningThrottle
2016-05-11 22:30:24 +01:00
duncanspumpkin
3b8a0c56e1
Use return value of paint funcs. Fix issue with support function
2016-05-11 21:21:05 +01:00
Duncan
c9883ef5be
Merge pull request #3339 from marijnvdwerf/paint-setup/decompile-98199C
...
Decompile sub_98199c
2016-05-11 21:12:18 +01:00
Ted John
30a044ae72
add globals for gWeeklyProfitAverage...
2016-05-11 19:41:34 +01:00
Ted John
0f1028c92c
add global for gResearchedSceneryItems
2016-05-11 19:41:33 +01:00
Marijn van der Werf
019155a496
Apply suggestions from PR
2016-05-11 18:40:13 +01:00
janisozaur
deeafc5a60
Add --silent-breakpad switch, fixes #3535 ( #3544 )
2016-05-11 12:25:21 +01:00
Ted John
62a7dd927e
Merge pull request #3560 from Overv/fix-user-formatting
...
Fix formatting characters in user strings (fixes #2892 )
2016-05-11 12:24:25 +01:00
Ted John
4298f416d2
fix #3558 : safely read chunks from S6 files
...
It appears many saved games have been saved with excess uncompressed data that overflows the S6 structure. This may have been caused by a save bug in an earlier version of OpenRCT2. This will now cap the uncompressed data to the amount expected.
2016-05-10 21:39:12 +01:00
marcovmun
d979e2b607
Scenery window scrolls wrongly fixes #3210 ( #3215 )
2016-05-10 20:58:24 +01:00