1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00
Commit Graph

137 Commits

Author SHA1 Message Date
Michał Janiszewski
7f5683895b Plug memory leaks 2016-12-19 23:44:17 +01:00
Ted John
4adcbfdb8a Fix #4884: Build hash info at intro is empty
Caused by a small bug in String::AppendFormat.
2016-12-16 17:17:22 +00:00
LRFLEW
7a93c1f001 Fix Compilation Issues 2016-12-16 01:25:04 +00:00
Ted John
067d364002 Fix rename park in sequence 2016-12-16 01:25:04 +00:00
Ted John
ca27018231 Fix x86 build 2016-12-16 01:25:04 +00:00
Ted John
2c0786eb24 Refactor platform calls to File 2016-12-16 01:25:04 +00:00
Ted John
921c7596df Fix deleting parks from sequence 2016-12-16 01:25:04 +00:00
Ted John
5443ff61cc Fix add park to sequence 2016-12-16 01:25:04 +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
afdd45f3cc Refactor title sequence player to new class 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
Michał Janiszewski
80bab643f8 Fix compilation errors with GCC 2016-12-16 01:25:02 +00:00
Ted John
e6377b40ef Write new code for loading title sequence ZIPs 2016-12-16 01:25:01 +00:00
Ted John
abc3835d7b Rename openrct2.c h to OpenRCT2.c h 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
7557d9ca07 Abort if assert is hit in tests 2016-12-02 21:49:44 +00:00
Ted John
433207dc81 Do not assert when testing 2016-12-02 17:18:45 +00:00
Michał Janiszewski
1ae2ca54f7 Sort includes 2016-12-01 16:03:16 +01:00
Michał Janiszewski
54e622659d Extract common parts from rct2.h to common.h 2016-12-01 16:03:16 +01:00
Michał Janiszewski
070e41e656 Fix Windows builds due to missing header 2016-12-01 10:18:00 +01:00
Michał Janiszewski
ecec752dec Remove some unused headers 2016-12-01 09:20:56 +01:00
Michał Janiszewski
3f7fd56328 Remove trailing whitespace in sources 2016-11-13 20:32:55 +01:00
Ted John
4662b648d2 Merge pull request #4700 from IntelOrca/refactor/language-cpp
Refactor language.cpp
2016-11-09 18:38:24 +00:00
Michał Janiszewski
44e9129af5 Remove unused semicolons after end of function
[ci skip]
2016-11-09 13:15:46 +01:00
Ted John
941d92dc2a Fix convert_multibyte_charset 2016-11-08 17:02:37 +00:00
Michał Janiszewski
b164c2be61 Extract openrct2_assert to guard.h (#4753)
* Extract openrct2_assert to Guard.hpp

`openrct2_assert` is not defined in util.c and including all of
openrct2.h is unnecessary.
2016-11-06 21:02:25 +01:00
Michał Janiszewski
43a7e6b854 Add missing static keyword to template-ised functions (#4750)
This fixes building with ICC
2016-11-06 21:01:07 +01:00
Ted John
c268b51521 Merge pull request #4757 from janisozaur/memory
Ensure all memory allocated with Memory is valid
2016-11-06 11:28:30 +00:00
Michał Janiszewski
2c6c99dfe0 Add user-friendly information about failed allocation 2016-11-06 11:59:30 +01:00
Michał Janiszewski
c9a1ce593c Fix wrong return value in Stopwatch::GetElapsedTicks 2016-11-05 22:40:28 +00:00
Michał Janiszewski
e4e6f2f68a Ensure all memory allocated with Memory is valid 2016-11-05 23:12:35 +01:00
Ted John
3d529ff6b8 Fix more memory leaks in FileScanner 2016-10-24 12:23:27 +01:00
Michał Janiszewski
6c4ff285b4 Fix memory leak in FileScanner 2016-10-23 22:58:18 +02:00
Michał Janiszewski
73aede6052 Fix memory leak in TrackDesignRepository 2016-10-23 22:46:59 +02:00
Michał Janiszewski
a75c1f1bc4 Fix memory leak in FileScanner 2016-10-23 22:28:35 +02:00
Ted John
712e062bcc Only load tracks if cache is invalid 2016-10-23 01:12:17 +01:00
Ted John
25a7b98be0 Omit . and .. from linix file scanning too 2016-10-22 23:09:45 +01:00
Ted John
a2efab7c45 Add unix file scanner implementation 2016-10-22 22:36:45 +01:00
Ted John
7834afb34a Re-write FileScanner for easier cross platform and multiple patterns 2016-10-22 22:36:45 +01:00
Ted John
9118f24778 Rename FileEnumerator to FileScanner 2016-10-22 22:36:45 +01:00
Ted John
16626eabb8 Convert FileEnumerator to IFileScanner 2016-10-22 22:36:45 +01:00
Ted John
29f75a71fb Use new item structure with std::string 2016-10-22 22:36:45 +01:00
Ted John
f519bc6cad Fix bugs 2016-10-15 21:50:52 +01:00
Ted John
babf261542 Refactor scenario list to C++ 2016-10-15 21:50:52 +01:00
Ted John
b7f7af3123 Refactor scenario sources to C++ 2016-10-15 21:50:52 +01:00
LRFLEW
e5ff7412e4 Refactor/Improve String and Path Handling 2016-10-09 15:29:58 -05:00
Duncan
b29be9bfeb Merge pull request #4527 from zaxcav/fixPathfindHistory
Further pathfinding improvements
2016-10-07 12:08:36 +01:00