dchokola
d4a3feca29
Introduce DISABLE_GUI for headless build (Fixes OpenRCT2#8542) ( #8566 )
2019-01-07 06:08:31 +01:00
Michał Janiszewski
322be796e3
Add -Wextra ( #8556 )
...
Oops, no idea how it was missing all this time.
Additionally adds:
* `-Wno-clobbered` (conditionally)
* `-Wno-unused-parameter`
2019-01-05 00:15:06 +01:00
Michael Steenbeek
16b9c533d4
Update used objects version to v1.0.8
2018-12-23 13:12:28 +01:00
Ted John
74793a3931
Update objects version
2018-12-09 23:30:40 +00:00
Michał Janiszewski
92b556352b
Allow compilation of testpaint on non-x86 targets ( #7989 )
...
This will enable compilation of testpaint on targets different than x86.
It won't function the way it does on x86, but it should provide a way of
tackling various compilation errors that can only be seen in the very
specific environment required by testpaint proper.
2018-09-15 23:37:45 +02:00
Michael Steenbeek
8e276b9820
Require objects version 1.0.6
2018-08-26 21:37:41 +02:00
Michael Steenbeek
674b2a628a
Require new version of objects
2018-07-30 21:22:33 +02:00
TheAssassin
3ffc3fa6d8
Remove redundant VS C++ flag
2018-06-30 21:31:05 +02:00
TheAssassin
c01a669ca4
Replace more custom flags with CMake options
2018-06-30 21:25:23 +02:00
TheAssassin
73c158fc63
Remove redundant and unnecessary CMake CXX flag
2018-06-30 21:24:48 +02:00
TheAssassin
843f3a61ae
Make CMake require C++17
...
Requires CMake 3.8+ which is the first version to support C++17 (see https://cmake.org/cmake/help/v3.8/prop_tgt/CXX_STANDARD.html ).
Fixes #7749 .
2018-06-30 15:13:25 +02:00
Gymnasiast
2172902b47
Update required objects version
2018-06-23 17:39:38 +02:00
Michał Janiszewski
65d1c7f490
Fix and enable -Wtautological-unsigned-zero-compare ( #7706 )
2018-06-17 22:48:45 +02:00
Aaron van Geffen
d5eb1c504d
Fix #7685 : Disable warning due to problems compiling OpenSSL on macOS. ( #7704 )
2018-06-17 09:29:05 +02:00
Aaron van Geffen
56250b43ab
Use git describe
to express version in terms of closest tag.
2018-06-12 00:25:04 +02:00
Michał Janiszewski
1d28826b79
Fix -Wdocumentation and add it to default warnings
2018-06-11 09:52:54 +02:00
Aaron van Geffen
3ac32fc433
Add -Wrange-loop-analysis flag to CMakeLists as well. ( #7646 )
2018-06-10 10:08:35 +02:00
Michał Janiszewski
e0dd51cc5d
Add -Wlogical-op compiler warning
2018-06-06 22:31:23 +02:00
Michał Janiszewski
320eee0d59
Fix -Wunreachable-code-break and add it to deafult warnings ( #7634 )
2018-06-06 22:30:21 +02:00
Hielke Morsink
88e9a37d78
Add warning to cmakelist
2018-06-05 15:03:20 +02:00
Michał Janiszewski
7adc3d41a0
Restore the unused-function warning
2018-06-03 19:56:11 +02:00
Michał Janiszewski
545e3c1f85
Reduce verbosity of unpacking (pre)cached downloads
2018-05-30 00:03:53 +02:00
Michael Steenbeek
b371087e47
Update objects version to v1.0.2
2018-05-16 14:54:15 +02:00
Gymnasiast
d82414dbe9
Update objects to version 1.0.1
2018-04-30 20:34:52 +02:00
Ted John
deaa60f8f1
Refactor string conversion between RCT2 and UTF8
...
Use Win32 API for conversion on Windows for non-1252 code pages instead of built-in tables.
2018-04-18 13:16:20 +02:00
Ted John
0ea81d7df4
Enable warnings as errors
2018-04-14 17:50:32 +01:00
Ted John
b8d8d24d21
Get cmake working with msvc for basic game
2018-04-12 23:07:18 +01:00
Michael Steenbeek
f98aae12f1
Fix building g2.dat if the path contains spaces/apostrophes ( #7388 )
2018-04-08 12:25:54 +01:00
Duncan
0ab3d0955c
Merge pull request #7310 from OpenRCT2/json-objects
...
Add support for new JSON object format
2018-04-08 10:45:55 +01:00
Michał Janiszewski
66d1fa2bc8
Fix MinGW header checks
2018-03-31 23:48:15 +02:00
Ted John
bc5f253ce2
Update objects to latest v1.0
2018-03-29 17:56:03 +01:00
Ted John
b163064f6c
Update objects to v1.0
2018-03-28 23:15:32 +01:00
Ted John
0779859d2b
Do not download objects if they already exist
2018-03-28 22:26:13 +01:00
Ted John
0c03fe4dc5
Update objects to v1.0-beta.4
2018-03-27 22:06:16 +01:00
Ted John
046199c660
Update objects download version to v1.0-beta.3
2018-03-26 21:38:10 +02:00
Ted John
c465b35037
Download and distribute objects
2018-03-26 21:38:09 +02:00
Aaron van Geffen
9e95488d63
Update title sequence to v0.1.2 release.
2018-03-18 21:04:31 +01:00
Michał Janiszewski
ec79334e0c
Allow caching title sequences in data/
2018-02-16 15:34:28 +01:00
Michał Janiszewski
72b54fa2b1
Allow (pre)caching title sequences
2018-02-16 10:04:38 +01:00
Michał Janiszewski
da9502ae46
Disable discord's examples to fix 32 bit builds
2018-02-15 23:51:49 +01:00
Michał Janiszewski
6eeda1ec77
Perform more cleanup of CMakeLists.txt files
...
This moves setting of compilation flags to common file to be used by all
subprojects and explicitly enables only C++ support, skipping whole C
support in CMake.
2018-02-15 23:51:49 +01:00
Michał Janiszewski
8e3a271fb4
Remove support for C code from CMake
2018-02-15 23:51:49 +01:00
Michał Janiszewski
54394d3a21
Enable SSE4.1 for file implementing it
2018-01-01 23:49:09 +01:00
Michał Janiszewski
ad687a7ecf
Remove use of problematic __DATE__ and __TIME__
...
Replace with a placeholder to be filled by external tools
2017-12-27 14:50:42 +01:00
Ted John
ebf43c2529
Fix testpaint
2017-12-04 19:04:07 +00:00
Ted John
99d7aaa2d6
Remove RCT2 interop
2017-12-04 19:04:06 +00:00
Stefan Winkler
516c5737be
Set branch/sha1 defines only for specific files
2017-12-01 21:05:44 +01:00
Michał Janiszewski
3df5dd8391
More compiler warnings
2017-11-27 23:52:17 +01:00
Michał Janiszewski
63e246938f
Make sure PORTABLE option is honoured globally
2017-11-16 23:08:03 +01:00
Michał Janiszewski
0f3b6b1590
Explicitly mention the expected root directory for discord-rpc
...
[ci skip]
2017-11-15 22:39:47 +01:00