Aaron van Geffen
530ec9a6f7
Remove never-set COLOUR_FLAG_8 constant
...
The definition is also outside the boundaries of a uint8_t, so its existence is a bit odd.
2024-02-27 15:38:51 +01:00
Harry Hopkinson
70ea832808
Move gCompanyValue to GameState_t
2024-02-27 16:31:38 +01:00
Gymnasiast
554968383c
Move global window indices to constexpr
2024-02-25 22:54:54 +01:00
Harry Hopkinson
0fab1eaca8
Move gSavedView states to GameState_t ( #21456 )
...
* Move gSavedView to GameState_t
* Move gSavedViewRotation to GameState_t
* Move gSavedViewZoom to GameState_t
2024-02-25 20:46:01 +00:00
Harry Hopkinson
7797db10c8
Replace Macros and Notation in Cheats.h, common.h and Context.h. ( #21437 )
2024-02-23 19:30:35 -03:00
Martin Mizzi
f5a9846ea2
Move gBankLoan and gBankLoanInterestRate to GameState_t
2024-02-19 04:42:44 -05:00
Harry Hopkinson
1c285dbf9f
Move gMaxBankLoan to GameState
2024-02-13 21:36:35 +01:00
Matt
19be093569
Fix #21208 : Error messages disappear too quickly if the game runs for a while ( #21394 )
...
* Reset gCurrentRealTimeTicks when the map is initialized
* Use 32 bit for gWindowUpdateTicks
* Update changelog.txt
2024-02-13 16:03:30 -03:00
Harry-Hopkinson
b755c873e5
Move gMapSize to GameState_t
2024-02-12 21:32:08 +00:00
Michael Steenbeek
70b9d0ca47
Add button to reload object
2024-02-11 20:45:31 +00:00
Hielke Morsink
0c10435b7e
#21193 : Move gParkValue to GameState_t
2024-01-25 14:30:44 +01:00
Harry Hopkinson
42336915cd
Move gClimateCurrent to GameState_t
2024-01-24 11:18:54 +01:00
Hielke Morsink
f85cac627d
#21193 : Move gParkRating to GameState_t
2024-01-23 00:11:34 +01:00
Michael Steenbeek
b5786c2a86
Move gGuestInitial* to GameState
2024-01-22 22:28:16 +00:00
Hielke Morsink
13351d996e
#21193 : Move gParkFlags to GameState_t, refactor uses
...
Also changed a few instances where GetGameState was called inside the same function.
The change in Peep.cpp is needed because of a function conflict. FormatStringID exists both in the global and in the OpenRCT2 namespace.
2024-01-22 16:31:35 +01:00
Harry Hopkinson
0f283dc2a9
Move gClimate to GameState_t
2024-01-21 21:05:22 +00:00
ζeh Matt
c493e22b9b
#21193 : Move gInitialCash to GameState_t, refactor uses
2024-01-20 17:13:57 +02:00
ζeh Matt
3518a638bb
#21193 : Move gCash to GameState_t, refactor uses
2024-01-20 15:46:35 +02:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
mrmbernardi
98a52efb7e
Fix #5677 : Balloons pass through the ground and objects ( #20483 )
2023-12-26 08:28:19 -03:00
Michael Bernardi
8c7d1d149a
Added OpenGL TTF hinting
2023-12-08 01:13:17 +01:00
Gymnasiast
6d87e3e56d
Make remove_park_fences multiplayer-safe
2023-11-02 22:40:11 +01:00
fidwell
95169f9632
Tile inspector invisibility shortcut does not use a game action
2023-10-02 22:26:55 -04:00
Michael Bernardi
29c3f08b69
Add a window method to resize dropdowns
2023-08-19 00:13:47 +02:00
Matthias Moninger
22996b5fe8
Merge pull request #20545 from mrmbernardi/resize_spinners
...
Add a window method to resize spinners
2023-08-19 00:24:08 +03:00
Duncan
4349688de4
These function names have not reflected their use for a while ( #20656 )
2023-08-01 20:19:33 +01:00
Duncan
5adf8cd35c
Remove track_list member var from window base ( #20626 )
...
* Remove track_list member var from window base
* Address review comment and readd OnOpen
2023-07-19 08:02:31 +01:00
Matthias Moninger
5924185a6b
Fix tab index being overwritten for scripted windows ( #20630 )
2023-07-18 21:08:42 +01:00
Duncan
ce86aa029f
Remove custom_info pointer ( #20480 )
...
* Remove custom_info pointer
* Formatting
2023-07-18 06:24:42 +01:00
Michael Bernardi
1159c9d0bc
Add a window method to resize spinners
2023-07-16 15:34:31 +02:00
Matthias Moninger
14f007c049
Merge pull request #20489 from ZehMatt/code-overhaul
...
Remove TestPaint and remove benchmark code
2023-07-05 01:55:46 +03:00
duncanspumpkin
5beadb4f17
Remove unused array
2023-07-03 08:14:03 +01:00
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
d61ce4e38c
Remove BenchGfx
2023-06-30 16:37:11 +03:00
ζeh Matt
bcb0c069c3
Remove dead code of TestPaint and remove BenchSpriteSort
2023-06-30 16:34:55 +03:00
Aram Kazorian
3f603542ec
Refactoring by deleting dead WindowEventList struct ( #20513 )
2023-06-30 06:05:23 +01: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
905f1ea094
Shorten the lambda
2023-06-27 17:55:03 +03: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
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
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +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
duncanspumpkin
f0658202ef
Fix mistake
2023-06-20 08:52:00 +01:00