Michał Janiszewski
9956b804d2
Don't parse invalid names from highscores fixes #3333
2016-04-22 22:07:42 +02:00
Michał Janiszewski
3bf1e0e06d
Rename safe_strncpy to safe_strcpy
2016-01-18 20:49:52 +01:00
IntelOrca
0087e5c2d6
fix importing of legacy scenario scores
...
only one would ever be imported because of a break loop that shouldn't be there
2016-01-11 18:30:58 +00:00
IntelOrca
43a5cc92cc
define STR_NONE as a rct_string_id
2016-01-07 22:14:53 +00:00
IntelOrca
99e0d999b2
add timestamp to highscores.dat
2016-01-03 01:48:52 +00:00
IntelOrca
ededc82cba
add DLC and Build your own scenario classification
2016-01-02 21:06:46 +00:00
IntelOrca
a4e919b023
fix scenario sorting for real and other parks
2016-01-02 21:06:01 +00:00
IntelOrca
212b8bfa10
translate scenarios by raw normalised name
2016-01-02 21:06:00 +00:00
IntelOrca
aeda8d68f9
add logic for unlocking mega park and making it invisible
2016-01-02 21:05:37 +00:00
IntelOrca
51141a9057
refactor translation of scenarios
2016-01-02 21:05:35 +00:00
IntelOrca
be6f7321d0
place custom real parks in real parks for source mode
2016-01-02 21:05:32 +00:00
IntelOrca
6747f20238
hardcode difficulty for original scenarios
2016-01-02 21:05:31 +00:00
IntelOrca
bb84558ae3
fix localisation issues with scenarios
2016-01-02 21:05:09 +00:00
IntelOrca
95ee0be3c5
handle scenario conflicts
2016-01-02 21:05:08 +00:00
IntelOrca
8aa14f876e
identify highscores using scenario filenames only
2016-01-02 21:04:45 +00:00
IntelOrca
af67cf5703
refactor scenario sources and improve scenario select window
2016-01-02 21:04:44 +00:00
IntelOrca
72e820dead
add horizontal rule headings to scenario list
2016-01-02 21:04:44 +00:00
IntelOrca
6a768c4a3c
redo entire scenario highscore load / saving
...
- load and save highscores to new file format (highscores.dat)
- scan scenarios from RCT2 data and user data
- load highscores from legacy file (scores.dat)
- fix various issues with new scenario select window
2016-01-02 21:04:10 +00:00
Aaron van Geffen
f7d33f3cab
Rename constants et al per code reviewer's request.
2016-01-02 21:03:38 +00:00
Aaron van Geffen
eb87c5284f
Adapt scenario select screen based on scenario source game.
2016-01-02 21:00:06 +00:00
Aaron van Geffen
3bad0870fb
Added routines to find scenario index and source from predefined listings.
2016-01-02 21:00:05 +00:00
Aaron van Geffen
2c5651614c
Corrected misspellings of "substitute".
2015-12-23 00:40:36 +09:00
Michał Janiszewski
9284930d7e
Add safe_strncpy function
...
safe_strncpy is similar to strncpy, but makes sure buffer is
null-terminated. Update most of project to use this updated function to
prevent illegal memory accesses.
2015-10-30 16:01:00 +01:00
Michał Janiszewski
7d0ce00bab
Strip all whitespace
2015-10-20 20:48:51 +02:00
duncanspumpkin
ee1e71f287
Fix loadlandscape breaking enabled tabs
...
Issue was caused by not calling sub_6DFED0 when loading the landscape. I assume in vanilla this would happen as part of the loading but due to the way loadsave now works it doesn't happen. In the process I also labelled the offset for editor step.
2015-10-15 22:16:27 +01:00
IntelOrca
bea74ee261
make all file IO utf8 compatible, fixes #1847
2015-08-29 13:13:23 +01:00
IntelOrca
beb2b23afb
use log functions instead of printf and RCT2_ERROR (now removed)
2015-06-14 12:03:32 +01:00
Marco Costa
f05d851811
Create simple test framework
...
* Run all tests by passing "test" as a command line argument to
'openrct2'
* Using CuTest 1.5 as a test framework
2015-06-01 21:45:12 -04:00
IntelOrca
ac4cd56b63
add new load / save window, closes #580
2015-02-14 02:16:03 +00:00
IntelOrca
a66b29076b
move osinterface code to shared or windows
2015-02-12 20:51:40 +00:00
IntelOrca
71202b7c10
Now load / save scenario scores to user folder, fallback to install directory for loading.
2015-02-05 22:51:32 +00:00
IntelOrca
1ed6e443ca
refactor object loading, part 1
2014-12-07 21:45:42 +00:00
IntelOrca
217ae84c62
add cross platform interface for enumerating files
2014-10-17 03:22:45 +01:00
anyc
30fe4361eb
fixed RCT2_ERROR with GCC; added missing include
2014-05-25 11:47:22 +02:00
anyc
b53dea17c6
add GCC asm, new RCT2_ERR macro for non-variadic error reporting
2014-05-24 16:23:30 +02:00
IntelOrca
98b01edaaa
clean up scenario list
2014-05-23 23:52:13 +01:00