Hielke Morsink
d7aacfcde6
Fixed warning in sawyerencoding.c
2016-05-15 01:10:37 +02: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
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
janisozaur
68bad6505c
Add and correct licence headers to all sources ( #3108 )
2016-05-04 18:24:41 +01:00
Gymnasiast
2d3dfd8834
Move RCT1 file version detection to its own function
2016-04-22 18:23:46 +01:00
Michał Janiszewski
08fc5f817a
Disable using RLE when saving for network
2016-01-20 15:30:59 +01:00
IntelOrca
24a796c3bc
fix #2778 : encode_chunk_repeat reads out of range memory
2016-01-19 17:54:51 +00:00
Michał Janiszewski
f35fac6030
Update assert condition
2016-01-16 18:10:44 +01:00
Michał Janiszewski
2b29f252e5
Assert for evergreen gardens
2016-01-16 00:19:08 +01:00
IntelOrca
31ab7c8b98
fix several warnings
2015-11-06 18:50:37 +00:00
Michał Janiszewski
9572f1b532
type and const fixes for sawyercoding
2015-10-12 23:09:49 +02:00
zsilencer
b876591543
use SDL_RWops for save games
2015-07-11 12:27:46 +01:00
IntelOrca
beb2b23afb
use log functions instead of printf and RCT2_ERROR (now removed)
2015-06-14 12:03:32 +01:00
Duncan Frost
66de066901
Added save_track_file. Fixed bugs.
...
Encountered bug where incorrect tracks would be displayed if the loading process failed.
Added checksum validation to loading code.
Increased the max rle length to match rct2.
2015-05-13 19:19:36 +01:00
Duncan Frost
f8a334c90f
Fix memory corruption when saving.
2015-02-27 23:42:51 +00:00
IntelOrca
fddeda3021
fix loading of RCT1 (no expansion packs) SC4 files in editor, fixes #687
2015-01-20 01:05:06 +00:00
IntelOrca
d00001fed2
remove unnecessary header includes
2014-11-30 20:27:14 +00:00
IntelOrca
cc36cafcaa
remove redundant variable from encode_chunk_repeat
2014-11-26 16:30:41 +00:00
IntelOrca
85c41488ce
implement RLECOMPRESSED chunk encoding, closes #598
2014-11-26 16:27:21 +00:00
IntelOrca
4b897ae1a3
implement saving of games and scenarios
2014-11-26 00:51:26 +00:00
IntelOrca
c628f6fea0
change track loading to use stdio (FILE)
2014-10-11 01:18:08 +01:00
IntelOrca
1714f94263
implement some of editor_load_landscape for sv4 and sc4 files
2014-10-10 22:50:22 +01:00
IntelOrca
c8df6174b8
organisation: fix includes
2014-10-06 17:36:58 +01:00
IntelOrca
554e1fe70e
organisation: move files and update project
2014-10-06 10:21:07 +01:00