1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 06:23:04 +01:00
Commit Graph

7741 Commits

Author SHA1 Message Date
Ted John
11a2b98e58 Remove title editor specific code from loadsave window
This involved removing any logic performed in loadsave for loading saved games and moving them to callback routines for all uses.
2016-12-16 01:25:03 +00:00
Ted John
877080f00c Fix creation of new title sequence 2016-12-16 01:25:03 +00:00
Ted John
975cb43137 Fix creation of new title sequences 2016-12-16 01:25:03 +00:00
Ted John
a66ce50db8 Fix duplicate sequence 2016-12-16 01:25:03 +00:00
Ted John
2810d09dc6 Fix loading of saved games from title editor 2016-12-16 01:25:03 +00:00
Ted John
3ea81e3b8b Get rename and delete working 2016-12-16 01:25:03 +00:00
Ted John
821b091b25 Clean up title editor some more 2016-12-16 01:25:03 +00:00
Ted John
63c93f22b3 Fix seeking 2016-12-16 01:25:03 +00:00
Ted John
20d2ff56f8 Refactor title editor window 2016-12-16 01:25:02 +00:00
Ted John
afdd45f3cc Refactor title sequence player to new class 2016-12-16 01:25:02 +00:00
Ted John
ccd8cff296 Get title sequence editor kind of working 2016-12-16 01:25:02 +00:00
Ted John
867eeb91a6 Implement zip writing and title sequence saving 2016-12-16 01:25:02 +00:00
Ted John
be2dd99703 Extract zip handling to interface 2016-12-16 01:25:02 +00:00
Ted John
52ffd5b521 Reinstate support for title sequence folders 2016-12-16 01:25:02 +00:00
Ted John
bf34920a0b Handle broken title sequences 2016-12-16 01:25:02 +00:00
Michał Janiszewski
80bab643f8 Fix compilation errors with GCC 2016-12-16 01:25:02 +00:00
Ted John
e62629c6e3 Scan user path as well for sequences 2016-12-16 01:25:02 +00:00
Ted John
a9cfd01c6e Fix sequence selection 2016-12-16 01:25:02 +00:00
Ted John
2686348bba Sort sequences correctly 2016-12-16 01:25:01 +00:00
Ted John
3657ae1181 Refactor title.c, don't bother with byte script anymore 2016-12-16 01:25:01 +00:00
Ted John
fb89826280 Get parks loading from ZIP working 2016-12-16 01:25:01 +00:00
Ted John
0c51dee94d Refactor a large amount of title sequence loading
Still not yet able to load parks from zip.
2016-12-16 01:25:01 +00:00
Ted John
e6377b40ef Write new code for loading title sequence ZIPs 2016-12-16 01:25:01 +00:00
Ted John
af653a654e Read script.txt from zip files 2016-12-16 01:25:01 +00:00
Ted John
c8dbc24ceb Enable all C++ features for MSVC 2016-12-16 01:19:41 +00:00
Michał Janiszewski
d9ca477655 Drop unused RCT_CALL* wrappers 2016-12-15 16:08:11 +01:00
Ted John
a7a006f30d Remove obsolete assert 2016-12-14 10:34:22 +00:00
Ted John
15877fcc60 Fix code style 2016-12-14 00:36:12 +00:00
Ted John
56b17310ee Fix writing of string values to console 2016-12-14 00:32:06 +00:00
Ted John
62c088862b Fix case of openrct2.h 2016-12-14 00:32:06 +00:00
Ted John
e4345c3d11 Refactor PlatformEnvironment 2016-12-14 00:32:06 +00:00
Ted John
3e21e56b9e Use correct directory base 2016-12-14 00:32:06 +00:00
Ted John
7811987ad1 Use PlatformEnvironment for track design repository 2016-12-14 00:32:06 +00:00
Ted John
cc227b7761 Create repositories in OpenRCT2.c 2016-12-14 00:32:06 +00:00
Ted John
7410326fcc Refactor OpenRCT2.cpp 2016-12-14 00:32:06 +00:00
Ted John
abc3835d7b Rename openrct2.c h to OpenRCT2.c h 2016-12-14 00:32:06 +00:00
Ted John
1c0e09f68a Use PlatformEnvironment for ScenarioRepository 2016-12-14 00:32:06 +00:00
Ted John
c3285ef8f5 Use enum class instead of enum 2016-12-14 00:32:06 +00:00
Ted John
e9c778e886 Use IPlatformEnvironment for ObjectRepository 2016-12-14 00:32:06 +00:00
Ted John
fd6a750f4e Add PlatformEnvironment implementation 2016-12-14 00:32:06 +00:00
Ted John
590ecf2775 Add PlatformEnvironment interface and enums 2016-12-14 00:32:06 +00:00
Ted John
018c0d5082 Fix #4874: OpenRCT fails to launch if no .config folder exists...
Change platform_ensure_directory_exists to create the directory chain given, e.g. mkdir -p.
Based on https://gist.github.com/JonathonReinhart/8c0d90191c38af2dcadb102c4e202950.
2016-12-13 23:00:37 +00:00
Ted John
1935f79507 Don't return pointer to local variable 2016-12-13 21:48:27 +00:00
Duncan
35472fe6e2 Fix #4819. Prevent peep queue loops when next_in_queue broken. 2016-12-12 09:33:55 +01:00
Ted John
cef2587119 Move RCT2 file copy into rct2.c 2016-12-11 12:16:47 +00:00
Ted John
0019827d6c Refactor sprite tween logic out openrct2.c 2016-12-11 12:16:47 +00:00
Ted John
e9bafc2973 Refactor RCT2 interop code to new source 2016-12-11 12:16:43 +00:00
Ted John
c6dda4e614 Fix #4863: Build fails when using VS 2017 RC 2016-12-10 00:36:59 +00:00
wolfreak99
d1d6be0b93 Clip all scenery images in scenery window to prevent overflow/overlap 2016-12-08 20:10:16 +01:00
n42k
bd02f14699 Fix platform_get_locale_temperature_format() in windows.c 2016-12-08 12:09:21 +00:00