Hielke Morsink
184c46992c
Fix remaining non-empty list initializers
2018-06-05 16:07:54 +02:00
Hielke Morsink
de3cab59bb
Fix warnings reported by travis
2018-06-05 16:07:54 +02:00
Hielke Morsink
9c8c2a2820
Missing field initializers part 2
...
This commit tackles the more difficult-to-fix warnings that -Wmissing-field-initializers reported. I've compares the new tables in TrackData with the old ones through a script to make sure they are in fact the same.
2018-06-05 00:18:07 +02:00
Hielke Morsink
5d0022a5cb
Remove argument list from zero-initializers with zero/false/nullptr value
2018-06-04 19:50:46 +02:00
Michael Steenbeek
a14d59028f
Modify some commands to use CoordsXY
2018-06-04 19:18:52 +02:00
Michał Janiszewski
6307d3532b
Make headers-check an object library
...
This will skip linking step
2018-06-04 07:49:29 +02:00
Michał Janiszewski
32b419c868
Mark set_format_arg_body as maybe_unused
2018-06-03 23:20:58 +02:00
Michał Janiszewski
949321762b
Verify compilability of headers on Travis v2
...
Using approach described in
https://github.com/OpenRCT2/OpenRCT2/pull/7369#issuecomment-393973857
with updates to ease readability and maintenance.
Submitted as different PR, to keep history of the old approach.
Supersedes #7369 .
2018-06-03 22:56:34 +02:00
Michał Janiszewski
93370ec956
Switch libzip to non-system includes
...
This should now work after many changes to upstream
2018-06-03 22:31:00 +02:00
Michał Janiszewski
6e72ac350f
Remove function unused in no-network builds
2018-06-03 19:56:11 +02:00
Michał Janiszewski
f0525d23ae
Remove unused function
...
Last call was removed in 66a6aa95f6
2018-06-03 19:56:11 +02:00
Ted John
3b8c0703f4
Merge pull request #7609 from IntelOrca/refactor/openssl-usage
...
Refactor OpenSSL usage
2018-06-02 22:22:04 +01:00
Hielke Morsink
7aada25ed2
Clarify disabling of warnings for unused function ( #7617 )
2018-06-02 22:30:41 +02:00
Michał Janiszewski
debb6cd46c
Remove declarations of unimplemented functions ( #7615 )
2018-06-02 13:51:23 +02:00
Michał Janiszewski
58bde442dd
Fix headers to ensure they carry all their dependencies ( #7610 )
2018-06-02 09:46:14 +02:00
Aaron van Geffen
635eab3305
Merge pull request #7579 from AaronVanGeffen/widgets/spinners
...
Make widget spinners horizontal
2018-06-02 00:03:20 +02:00
Ted John
a413d43cda
Fix mingw
2018-06-01 22:44:25 +01:00
Aaron van Geffen
f2b0f7457e
Terminology change: rename spinners to steppers.
2018-06-01 23:25:07 +02:00
Michał Janiszewski
cb536a15fa
Drop static function declarations from header
2018-06-01 22:44:14 +02:00
Aaron van Geffen
53b66fd250
Add Crypt files to Xcode project.
2018-06-01 22:41:42 +02:00
Ted John
ae81af7965
Fix Linux
2018-06-01 21:28:27 +01:00
Ted John
72293f2208
Implement new Crypt code and remove CNG for now
2018-06-01 21:27:34 +01:00
Ted John
b8d37548ed
Implement PEM writing for CNG implementation
2018-06-01 21:27:34 +01:00
Ted John
9467438c1c
Implement PEM reading for CNG implementation
2018-06-01 21:27:34 +01:00
Ted John
3b2b15c0f3
Implement CNG implementation bar pem reading
2018-06-01 21:27:34 +01:00
Ted John
9e214258c3
Finish OpenSSL RSA implementation
2018-06-01 21:27:33 +01:00
Ted John
fe7e8a17de
Start implementing RSA for OpenSSL
2018-06-01 21:27:33 +01:00
Ted John
865bfb7b1b
Refactor implementations to different files
2018-06-01 21:27:33 +01:00
Ted John
ea22c672d0
Only reuse CNG object if Windows 8+
2018-06-01 21:27:33 +01:00
Ted John
320b149b58
Change Windows builds to use CNG API
2018-06-01 21:27:33 +01:00
Ted John
f880290b00
Create WinSSL implementation and refactor to class
2018-06-01 21:27:33 +01:00
Ted John
e40a8d2cf5
Merge pull request #7591 from OpenRCT2/performance/msbuild
...
Improve msbuild performance
Ensure source file names are unique so that all object files can be written to a single directory which allows a single MSVC instance to compile all source files in parallel.
2018-06-01 21:26:15 +01:00
Aaron van Geffen
2181e35b95
Replace spinner widgets with horizontal +/- buttons.
...
Limited to Options and Ride windows so far.
2018-06-01 15:20:13 +02:00
Hielke Morsink
d0b8a0ec61
Remove spaces from screenshot options
2018-06-01 12:53:20 +02:00
Hielke Morsink
20fb4501d0
Fix #7505 : Crash when building path off map edge ( #7587 )
...
Validate map location before looping over the tile elements.
2018-06-01 11:30:41 +02:00
jensj12
b94f5ea9d8
Fix #7568 : Demolish button causes hang
...
Fixed by adding the standard infinite loop check. Also makes the save button save the entire track again. Affects cost of refurbishing.
2018-06-01 10:34:32 +02:00
Ted John
92f6ac7333
Rename header files to match renamed source files
2018-06-01 09:38:30 +02:00
Ted John
b3c17b215f
Use single output folder for msbuild obj files
...
This requires unique named source files within a project.
2018-06-01 09:37:49 +02:00
Aaron van Geffen
df1e8af737
Merge pull request #5979 from IntelOrca/refactor/gamestate
...
Create new GameState class
2018-06-01 00:05:59 +02:00
Hielke Morsink
2fed57d792
Check for ghost flag when removing track blocks ( #7596 )
2018-05-31 22:36:45 +02:00
Ted John
056b596124
Use reference types in TitleSequencePlayer
2018-05-31 12:49:09 +01:00
Michał Janiszewski
bda9ae13be
Remove obsolete defines
...
Replaced already by constexprs
2018-05-31 00:22:37 +02:00
Michał Janiszewski
58ea1b3446
Add missing #pragma once
2018-05-31 00:22:19 +02:00
Michał Janiszewski
c419f2f50b
Remove superfluous declarations
2018-05-31 00:01:43 +02:00
Ted John
58529b3726
Fix #7588 : Objects are broken in multiplay servers
...
Load objects when importing maps in network games.
2018-05-30 18:21:07 +01:00
Ted John
9d617958cf
Return date and park by reference from game state
2018-05-30 13:12:19 +01:00
Hielke Morsink
c5d5e639eb
Update changelog and network version.
2018-05-30 14:00:32 +02:00
Hielke Morsink
9396da9b71
Fix #7571 Track design ghost generates money
...
The problem was that when placing a ride ghost, some clearance checks are performed to see if nothing stands in the way, and if it does, it tries to raise the ride to a height where it's possible to place. When this happens, it removes all ghost track pieces that have already been placed, and tries at the next height. With clearance checks disabled, this check was still performed, while it should ignore clearance altogether.
2018-05-30 13:59:52 +02:00
Ted John
1e7560e7da
Do not include GameState.h in Context.h
2018-05-30 12:50:25 +01:00
Aaron van Geffen
bf44007197
Allow fine-tuning the virtual floor style ( #7577 )
...
The virtual floor by @JeroenDStout, introduced in the v0.1.2 release, has generally been well-received. However, some players find it too intrusive in its current appearance (cf. #7221 ). This PR gives them the option of a toned-down version, rather than having to turn it off completely.

The clear/transparent style, introduced by this PR, looks like the virtual floor as originally introduced in #6338 :

The glassy/translucent style is the virtual floor as we've come to know it since the v0.1.2 release, and remains the default setting.
2018-05-30 13:09:50 +02:00