1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-21 22:13:07 +01:00
Commit Graph

125 Commits

Author SHA1 Message Date
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
Michał Janiszewski
71d0861be1 Mark classes as final
This may hint compiler to de-virtualise some calls.
2016-10-04 18:14:29 +01:00
zaxcav
1810e56cc6 Fix #if defined for when compiling on DEBUG on non-Windows platforms. 2016-10-04 10:05:51 +02:00
Ted John
bf7feefb7d Fix GCC / clang 2016-09-13 18:58:45 +01:00
Ted John
fdc0010525 Remove List.hpp 2016-09-13 18:29:38 +01:00
Ted John
774c72e1d1 Remove usage of List and refactor S4Importer
Extending the collection classes isn't being adopted enough and adds to much maintenance. Use collection utility methods instead.
2016-09-13 18:14:47 +01:00
Michał Janiszewski
a2a067f0f1 Add missing virtual destructor to IStringReader 2016-09-10 22:00:34 +02:00
Ted John
91eb33255b Remove Exception::GetMsg()
We can undef any macro windows.h defines and interferes with our code base. In this case GetMessage
2016-09-08 21:37:27 +01:00
Michał Janiszewski
163e314379 Remove unused or set-but-not-read variables 2016-09-07 13:39:29 +01:00
Ted John
eccea88388 Fix Guard::Assert with null message 2016-09-06 18:41:05 +01:00
Ted John
8cf7e87b5c Fix many warnings for x64 2016-08-27 23:32:15 +01:00
Ted John
8b79ededd9 Fix #4164: Keep on crashing on OpenRCT2 0.0.5
Caused by 	hrow; instead of 	hrow Exception() when the image table is too large.
2016-07-24 11:37:42 +01:00
Ted John
e5722e1d9a Fix #4139: Windows first time firewall launch
std::string can not handle nullptr as argument. Create and use helper method instead.
2016-07-19 21:53:18 +01:00