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

10150 Commits

Author SHA1 Message Date
Michał Janiszewski
f9424455e7 Merge pull request janisozaur/OpenRCT2#23
Add msbuild / msvc / windows support for tests
2016-12-02 22:52:07 +01:00
Ted John
7557d9ca07 Abort if assert is hit in tests 2016-12-02 21:49:44 +00:00
Michał Janiszewski
3253ef7cae Verify decoded chunk length 2016-12-02 22:12:55 +01:00
Michał Janiszewski
28098776b2 Convert tests to class + fixtures
This makes test data not require `extern`
2016-12-02 22:00:02 +01:00
Ted John
433207dc81 Do not assert when testing 2016-12-02 17:18:45 +00:00
Ted John
756e26ad45 Fix main function 2016-12-02 17:16:12 +00:00
Ted John
9c973e20cd Run tests on AppVeyor 2016-12-02 14:54:18 +00:00
Ted John
05737fdd74 Add test target 2016-12-02 14:42:40 +00:00
Ted John
d26e1df21e Automatically download googletest 2016-12-02 13:36:03 +00:00
Ted John
872976bff4 Force UTF-8 compile and fix manifest DPI 2016-12-02 10:49:58 +00:00
Ted John
4ccb50409b Add test configurations 2016-12-02 02:49:50 +00:00
Ted John
fab8dce9cc Move file listing to the bottom of openrct2.vcxproj 2016-12-02 01:00:57 +00:00
Ted John
91e19c7d48 Move a lot of the common properties to a shared props file 2016-12-02 00:59:52 +00:00
Ted John
a08af1a253 Get tests to build for Windows and VS 2016-12-02 00:34:14 +00:00
Michał Janiszewski
86a336dd3d Extend LanguagePack test with negative tests 2016-12-01 23:28:01 +01:00
Michał Janiszewski
a2d30ac405 Add multibyte LanguagePack test 2016-12-01 23:21:35 +01:00
Michał Janiszewski
e3a3cf375d Add LanguagePackTest 2016-12-01 23:04:10 +01:00
Michał Janiszewski
729934193c Improve tests' CMakeLists.txt 2016-12-01 16:03:27 +01:00
Michał Janiszewski
b0e5333ce6 Improve sawyercoding_test.cpp 2016-12-01 16:03:27 +01:00
Michał Janiszewski
cae3f776f3 Run tests on travis 2016-12-01 16:03:27 +01:00
Michał Janiszewski
f496fceb00 Download and compile our own gtest 2016-12-01 16:03:27 +01:00
Michał Janiszewski
be1028b20e Add CMakeLists.txt file for tests 2016-12-01 16:03:27 +01:00
Michał Janiszewski
fdcbd583e3 Add first test for sawyercoding 2016-12-01 16:03:27 +01:00
Michał Janiszewski
1ae2ca54f7 Sort includes 2016-12-01 16:03:16 +01:00
Marijn van der Werf
4bc346df2f Update Xcode project 2016-12-01 16:03:16 +01:00
Michał Janiszewski
37c9bbd513 Extract format_codes to its own file 2016-12-01 16:03:16 +01:00
LRFLEW
5c6e0b550b Update Xcode Project 2016-12-01 16:03:16 +01:00
Michał Janiszewski
afdc1457d5 Move font-related code out from language.cpp 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
e7254ca708 Fix call to realpath in posix.c 2016-12-01 14:33:23 +01:00
Marijn van der Werf
15a6575346 Update hooks to return CPU flags 2016-12-01 14:15:47 +01:00
Michał Janiszewski
4077e607b0 Merge pull request #4846 from janisozaur/include
Fix includes
2016-12-01 11:30:34 +01:00
Michał Janiszewski
f486a1d302 Return valid value from strlogicalcmp even if assert is hit 2016-12-01 10:58:19 +01:00
Michał Janiszewski
070e41e656 Fix Windows builds due to missing header 2016-12-01 10:18:00 +01:00
Michael Steenbeek
b95fd84ecc Add note about full implementation 2016-12-01 09:42:29 +01:00
Michał Janiszewski
ecec752dec Remove some unused headers 2016-12-01 09:20:56 +01:00
Michał Janiszewski
7eb008b546 Ensure includes are used when needed 2016-12-01 09:09:15 +01:00
duncanspumpkin
6c8e0cc536 Fix #4838. Prevent leaving ghosts with small scenery
Issue was caused by placing two ghost scenery items when using the scenery placement tool. The ghost clean up code would only remove the first ghost and leave the second ghost. Mistake caused when refactoring. Incorrect use of NOT and AND.
2016-11-30 19:09:45 +00:00
Michał Janiszewski
46fbac9564 Add .clang-format style file (#4836)
[ci skip]
2016-11-30 19:01:02 +01:00
Duncan
a9eb93ce88 Merge pull request #4809 from duncanspumpkin/refactor
Refactor place scenery
2016-11-29 21:50:30 +00:00
duncanspumpkin
3f194991a1 Remove redundant variable 2016-11-29 19:01:46 +00:00
duncanspumpkin
329c8b1f76 Fix motion simulator vehicle colours.
Due to a mistake during implementation the vehicle colour of the motion simulator was the wrong way around. The trim colour was applied to the body and vice versa. Issue noticed by reddit user.
2016-11-28 17:51:37 +00:00
Michał Janiszewski
29a4277709 Refactor sawyercoding 2016-11-28 09:59:01 +00:00
Michael Steenbeek
30c61345d8 Fix special cases for ride photos when looking up uniform price, fixes #933 2016-11-28 10:27:42 +01:00
OpenRCT2 git bot
fc666e707a Merge Localisation/master into OpenRCT2/develop. 2016-11-28 04:00:23 +00:00
Michał Janiszewski
8627f6c456 Move utf-related functions to utf8.c
This makes utf8.c standalone (not requiring any external symbols)
2016-11-27 23:25:59 +00:00
Michał Janiszewski
1658ba7109 Fix compilation of LightFX with GCC 2016-11-27 21:43:11 +00:00
Ted John
ee0ca426b3 Allow building for both VS2015 and VS2017 2016-11-26 23:53:29 +00:00
OpenRCT2 git bot
039d64e256 Merge Localisation/master into OpenRCT2/develop. 2016-11-26 04:00:22 +00:00
Krutonium
173303f30d Add PowerPC to list of architectures in version.h
PowerPC is not supported yet, but it's getting closer.
2016-11-24 13:10:10 +01:00