Michał Janiszewski
764520076f
Reduce header inclusion
...
* Update includes in PlatformEnvironment.cpp
* Update includes in ParkImporter.h
* Update includes of OpenRCT2.h
* Update includes in Intro.h
* Remove unused include from Input.cpp
* Update includes of Imaging.h
* Update includes in Game.h
* Update includes in Editor.h
* Update includes of Context.cpp
* Update includes in Cheats.cpp, CmdlineSprite.cpp
* Update includes of some source files
* Update includes in some cpp files
* Update includes in some cpp files
* Update includes in TextureCache.h
* Fix tests
* Update includes in Font.cpp
* Update includes in LightFX files
* Update some includes
* Fix GCC builds
* Update some includes
* Update some includes
* Update includes in FontsFamilies.*
* Update includes of Console.h
* Improve includes in Window.h
* Improve headers in Viewport.h/Window.h
* Fix MSVC build
* Fix network-less builds
* Reduce inclusion of Map.h
2018-03-13 13:14:02 +01:00
Michael Steenbeek
bf580625f8
Fix calcutation of number of riders on import
...
Made a little mistake with this last time. This will now use the same logic as the Guest List window and the increment/decrement counters.
2018-03-13 11:45:06 +01:00
duncanspumpkin
33a6a5a994
Fix #7209 : Reset spatial index before removeing peeps on fix save.
...
If the spatial index is corrupted such as in IndianaJones then deleting multiple peeps from the same spatial index will cause an infinite loop. Therefore this will now reset and remake the spatial index if there are peeps that require removing. Note it doesn't reset the spatial index for all saves as it is not required
2018-03-12 11:27:43 +00:00
deurklink
e0c4f88295
Fix #7229 : Exploding guests cheat gets rides stuck and freezes game
2018-03-12 10:23:46 +01:00
Michał Janiszewski
c4f3643be1
Fix #7246 : Android build fails with java.lang.UnsatisfiedLinkError
...
JNI DETECTED ERROR IN APPLICATION: JNI GetObjectClass called with
pending exception java.lang.UnsatisfiedLinkError: No implementation
found for long website.openrct2.ZipArchive.allocBytes(byte[], int)
(tried Java_website_openrct2_ZipArchive_allocBytes and
Java_website_openrct2_ZipArchive_allocBytes___3BI)
2018-03-11 23:57:50 +01:00
Michał Janiszewski
93041bbce5
Fix mismatched deleter in TryClassifyAsTD4_TD6
2018-03-11 21:19:26 +01:00
Mark Ramotowski
74eddea1f1
Adding missing packages to Mac build instructions ( #7263 )
2018-03-11 17:15:09 +01:00
Ted John
42490b64fc
Show entrance / exit fix messages as verbose only
...
This is because some title sequences have parks which need fixes and they end up showing on stdout every game launch.
2018-03-10 15:18:25 +01:00
Ted John
74228ed35f
Use iterators again for removing empty headings
...
Improving on f00aa15096
, continue to use iterator and just set it to the result of erase.
2018-03-10 13:58:49 +00:00
Ted John
f00aa15096
Fix assert in debug mode in initialise_list_items
...
Erasing vector iterators causes the iterator to become invalid, so use an index instead for the loop.
2018-03-10 10:52:32 +00:00
Hielke Morsink
4bfeaf0c72
Fix #6870 Crash when loading groena lund
...
This crash only occurs when the option "no test crashes" was enable. With this commit the sprite index will be checked before the vehicle gets checked.
2018-03-10 06:50:45 +00:00
Michał Janiszewski
8cf8db01d3
Fix #7180 : Compiler error: trackType may be used uninitialised
2018-03-10 07:49:24 +01:00
Michał Janiszewski
4b2881b48e
Improve declaration of deleter type in S4Importer.cpp
2018-03-09 21:34:24 +01:00
Michael Steenbeek
5411c77358
Clean up more direct access to tile elements
2018-03-09 19:40:16 +01:00
Michael Steenbeek
44524d1e6f
Name unknown variable
2018-03-09 19:40:16 +01:00
Aaron van Geffen
e14605b340
Fix #7075 : Re-dump glassy_recolourable.png for libpng12 compatibility.
...
Note the file has deliberately not been optimised through `optipng`.
2018-03-09 19:32:54 +01:00
Michał Janiszewski
229c793b33
Fix NO_TTF builds for Windows and macOS
2018-03-09 16:40:40 +01:00
Hielke Morsink
35f3d9f4c9
Fix #7251 : "Own all land" cheat does not work
...
`x` was not set back to `min` in the second for loop, causing all second iterations to immediately stop.
2018-03-09 16:39:04 +01:00
Michał Janiszewski
bf61a4ce63
Update library links
2018-03-09 16:28:48 +01:00
Ted John
cd562f2ff2
Add msbuild property to use shared libraries
2018-03-09 16:28:48 +01:00
Ted John
39a38dc193
Include SDL2 using sub directory
2018-03-09 16:28:47 +01:00
Ted John
e318e0948a
Fix a few assertions that were found when using debug CRT
2018-03-09 16:28:47 +01:00
Ted John
cd6739c340
Use debug CRT for debug
...
Now that we can link to debug versions of our dependencies we can now use the debug CRT.
2018-03-09 16:28:47 +01:00
Ted John
3cba240035
Keep default libs
2018-03-09 16:28:47 +01:00
Ted John
3bbc34d841
Set vcpkg triplet
2018-03-09 16:28:47 +01:00
Ted John
827aa30bd7
Fix platform
2018-03-09 16:28:47 +01:00
Ted John
d2864a139b
Use new dependencies split format
2018-03-09 16:28:47 +01:00
Hielke Morsink
5115cdddd8
Remove unused screenshot_format configuration
2018-03-09 15:58:29 +01:00
Hielke Morsink
a8f167c45d
Fix a few typos
...
'vehichle' -> 'vehicle'
'none zero' and 'non zero' -> 'nonzero'
2018-03-09 15:58:12 +01:00
Michael Steenbeek
88af2d3954
Rename sub_6CA2DF() to window_ride_construction_update_state()
2018-03-09 09:17:24 +01:00
Joshua Moerman
f0d75eb90e
Adds me to the contributors.md
2018-03-08 23:41:33 +01:00
Joshua Moerman
d6c28b2fa4
Using some more CoordsXY instead of separate xy in Map.cpp
2018-03-08 23:41:33 +01:00
Joshua Moerman
426c21eb56
Uses some more informative types in Map.cpp
2018-03-08 23:41:33 +01:00
Joshua Moerman
c2eb735871
Replaces magic numbers with appropriate constants
2018-03-08 23:41:33 +01:00
Joshua Moerman
e5d143b748
Simplifies map_window_get_pixel_colour_ride
...
- Splits uint32 into two uint16
- Reuse code for unowned land colour
2018-03-08 23:41:33 +01:00
Aaron van Geffen
887619a87e
Use correct fonts for simplified and traditional Chinese.
2018-03-08 22:33:17 +01:00
Michael Steenbeek
c7a78807e6
Remove unused function tile_element_check_address()
2018-03-08 12:47:19 +01:00
Michael Steenbeek
7a982503a8
Remove some hard coded numbers
2018-03-08 12:45:38 +01:00
deurklink
87bdd4d079
Fix #7239 : Remove all guests cheat crashes with ferris wheel
2018-03-08 09:20:32 +01:00
Gymnasiast
ad4e50d728
Fix #7233 : Steep slopes unavailable on Hyper-Twister
...
Also removes powered lift from Hyper-Twister, which was included by mistake.
2018-03-07 19:30:53 +01:00
Michael Steenbeek
1fa2fa8f80
Refactor ride->entrances and ride->exits
2018-03-07 19:10:50 +01:00
Michael Steenbeek
ab54d6c370
Increase network version
2018-03-07 11:01:09 +01:00
deurklink
3648f288e5
Fix #7223 : 'Remove all guests' does not remove their mass
2018-03-07 10:52:22 +01:00
Michael Steenbeek
2c6804f334
Issue template: clarify multiplayer checkbox
2018-03-06 09:18:38 +01:00
Aaron van Geffen
8069a04d67
Fix logic error in setting virtual floor height.
2018-03-05 00:24:38 +01:00
ZehMatt
e3708c0593
Split special direction to new parameter.
2018-03-05 00:17:34 +01:00
ZehMatt
49d8d37748
Add serialization traits for bool.
2018-03-05 00:17:34 +01:00
ZehMatt
bdc1cf8adc
Refactor GAME_COMMAND_MAZE_SET_TRACK to game action.
2018-03-05 00:17:34 +01:00
ZehMatt
c8328610ee
Optimise the algorithm for virtual floor invalidation.
2018-03-04 19:28:56 +01:00
Aaron van Geffen
ba1d269227
Move all Virtual Floor code from Map to its own file.
2018-03-04 19:28:56 +01:00