Matthias Moninger
379287ed0f
Remove legacy stuff in common.h ( #20523 )
...
* Remove old interop macro
* Remove legacy string macro things
* Unbreak the posix/linux/unix builds
* Add String::IEquals and use it for case insensitive compare
* Add missing include for posix
* Replace _strnicmp with String::StartsWith
* Add LoByte and HiByte into Util.h, swap macros
* Fix android build
* Hopefully last of the string things
* Replace STUB directly with the warning
2023-07-02 12:59:20 +03:00
ζeh Matt
99aea9dba8
Remove dead code
2023-06-30 17:13:35 +03:00
ζeh Matt
69d5e0b280
Use u8string for TTF cache
2023-06-30 17:11:13 +03:00
Aram Kazorian
3f603542ec
Refactoring by deleting dead WindowEventList struct ( #20513 )
2023-06-30 06:05:23 +01:00
mrmbernardi
68d4304bbc
Fix #19878 : Pre-built rides respect scenery research ( #20472 )
2023-06-29 21:50:06 +01:00
mrmbernardi
b02fad3404
Fix #20365 : Money cheat supports negative value entry ( #20478 )
2023-06-29 21:47:51 +01:00
duncanspumpkin
a68865d016
Remove all references to title editor
...
The title editor is now a plugin and these codepaths could only be reached during bugs :)
2023-06-29 08:14:29 +01:00
duncanspumpkin
aa93b8d041
Fix crash when selection scenarios
2023-06-29 08:07:35 +01:00
ζeh Matt
88ec42e7ab
Remove WindowUpdateAll from GameLoadInit
2023-06-28 23:53:09 +03:00
Matthias Moninger
a7bbe77148
Merge pull request #20502 from ZehMatt/platform-cleanup
...
Cleanup Platform code
2023-06-28 16:25:17 +03:00
Matthias Moninger
39771217c8
Merge pull request #20493 from ZehMatt/delayed-window-delete
...
Refactor window deletion to be delayed
2023-06-28 01:40:12 +03:00
Duncan
0747ad7497
Remove even more window uncommon vars ( #20495 )
...
* Break uncommon union
* Move uncommon highlightedScenario into derived
* Split off multi use variable
* Adjust name
2023-06-27 22:33:26 +01:00
ζeh Matt
ac583569da
Remove Platform::CoreInit
2023-06-27 23:35:11 +03:00
ζeh Matt
484523f82f
Use static initialization for Android class loader
2023-06-27 23:09:53 +03:00
Matthias Moninger
b347cbce03
Merge pull request #20473 from IntelOrca/fix-14853
...
Fix #14853 : [Plug-in] Subscribing to a non-existing event crashes game
2023-06-27 23:07:24 +03:00
ζeh Matt
60a2d5c1f6
Use static initialization to get the correct masking function
2023-06-27 23:02:31 +03:00
ζeh Matt
873fff2513
Remove BitCountInit and handle that with static initialization
2023-06-27 22:45:19 +03:00
ζeh Matt
a83337b2da
Use chrono for GetTicks and move into Platform.Common.cpp
2023-06-27 22:21:42 +03:00
ζeh Matt
e19738b5d3
Remove Sleep functions and use Common version
2023-06-27 22:11:52 +03:00
ζeh Matt
d8009291c4
Rename Shared.cpp to Platform.Common.cpp
2023-06-27 22:10:16 +03:00
ζeh Matt
905f1ea094
Shorten the lambda
2023-06-27 17:55:03 +03:00
ζeh Matt
6807d508d0
Ignore dead windows for auto positioning
2023-06-27 17:37:49 +03:00
mrmbernardi
cf7c486c5f
Fix #20364 : Adding too much money with cheats causes an overflow
2023-06-27 13:29:48 +00:00
ζeh Matt
5497601d42
Refactor window deletion to be delayed
2023-06-27 15:41:25 +03:00
Duncan
d40102aa9d
Remove some uncommon variables and break unions ( #20440 )
2023-06-27 06:34:06 +01:00
Ted John
30664df8e9
Fix #14853 : [Plug-in] Subscribing to a non-existing event crashes game
2023-06-27 00:08:05 +01:00
Matthias Moninger
3b7975f4a0
Remove redundant warning suppression code
2023-06-26 20:01:03 +02:00
Duncan
0c5a35993e
Remove union from window internal ( #20429 )
...
* Remove campaign vars from union
* Remove error union
* Remove new_ride union
* Remove Unknown5
* Update changelog
2023-06-26 16:31:04 +01:00
Matthias Moninger
269370fdd2
Merge pull request #20454 from duncanspumpkin/rideRefactor
...
Apply coding style to ride window
2023-06-26 16:36:18 +03:00
Matthias Moninger
49c5ceda66
Merge pull request #20462 from ZehMatt/script-crash
...
Fix crashes when custom plugin actions fail due to immutable state
2023-06-26 16:12:41 +03:00
Matthias Moninger
b291c87d51
Merge pull request #20271 from duncanspumpkin/objDescriptor
...
Rework Object Identifier callers
2023-06-26 16:11:45 +03:00
ζeh Matt
cdb16bf8bb
Fix crashes when custom plugin actions fail due to immutable state
2023-06-26 15:56:20 +03:00
Matthias Moninger
9e57fcc6d4
Merge pull request #20474 from ZehMatt/fix-cheatsetaction-query
...
Actually return the game action result in CheatSetAction::Query
2023-06-26 15:47:52 +03:00
duncanspumpkin
697712c352
Apply formating
2023-06-26 08:26:25 +01:00
duncanspumpkin
ed5abfc7de
Apply coding style to ride window
2023-06-26 08:26:25 +01:00
Matthias Moninger
fb1b531d59
Fix build error due to stale base branch for #20100 ( #20476 )
2023-06-26 08:10:01 +01:00
Matthias Moninger
3edb044685
Merge pull request #20100 from IntelOrca/plugin/object-manager
...
Add plugin APIs for the object manager
2023-06-26 02:26:13 +03:00
ζeh Matt
93536c802e
Actually return the game action result in CheatSetAction::Query
2023-06-26 02:09:12 +03:00
Aaron van Geffen
627fcec7e9
Revert change in BitSet
2023-06-24 13:25:33 +02:00
Aaron van Geffen
2697ed1920
Formatting
2023-06-24 11:48:14 +02:00
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Aaron van Geffen
f9d8c5923d
Replace surface corner hex values with named constants
2023-06-24 01:48:25 +02:00
Duncan
4a3a1e4e7f
Remove event handlers ( #20439 )
2023-06-23 08:31:31 +01:00
Duncan
622c8cdb7e
Fix #20433 . Dropdown default selections not working ( #20437 )
...
This fixes it for rides but it is also an issue effecting a few different dropdowns
2023-06-23 06:20:02 +01:00
Duncan
a6d3dbc6d9
Remove player specific window vars from common
2023-06-23 00:44:17 +02:00
Matthias Moninger
42ff471617
Fix periodic window update function being called every frame
2023-06-22 15:52:14 +02:00
Duncan
95463c015c
Actually refactor last window ( #20436 )
...
This one was hiding
2023-06-21 21:15:13 +01:00
Tiago A. Reul
97427743a4
Clean up SpritBoundBox2
2023-06-21 01:24:04 +02:00
Matthias Moninger
ce1695fab8
Merge pull request #20404 from duncanspumpkin/rideWindow
...
Ride Window refactor
2023-06-21 01:34:40 +03:00
Severin Paul Höfer
4b39298803
Bump network version
2023-06-20 23:17:56 +02:00