1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Michał Janiszewski
bee6bcd1c7 Verify size in sawyercoding_read_chunk 2016-06-23 19:00:54 +01:00
Michał Janiszewski
1508e49a28 Change macro to assert_struct_size 2016-06-03 11:29:50 +02:00
Michał Janiszewski
60630b9ad7 Drop PACKED attribute 2016-06-03 10:55:21 +02:00
Michał Janiszewski
df3030e4a9 Provide static_assert for hard-coded struct sizes. 2016-06-03 10:55:21 +02:00
Michał Janiszewski
3907fcd9d2 Explicitly pack structs 2016-06-03 10:55:21 +02:00
janisozaur
658e877955 Name all the typdef-ed structs (#3581) 2016-05-12 22:57:40 +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
janisozaur
68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John
cf7b81fd3a start moving RCT1 importer to C++ 2016-04-22 18:24:54 +01:00
Gymnasiast
2d3dfd8834 Move RCT1 file version detection to its own function 2016-04-22 18:23:46 +01: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
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
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
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