Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
Gymnasiast
a45625fc3e
Change PromptMode members to new codestyle
2025-03-01 20:12:11 +01:00
Aaron van Geffen
a380413c56
Remove Scenario.h include from many units ( #23901 )
...
* Reduce includes/dependencies for Scenario.h
* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
73
a976a43708
Rename network.h to Network.h ( #23882 )
2025-02-24 10:43:06 +01:00
Michael Steenbeek
c7c13ec8d9
Fix #23814 : Scenarios not indexed on first start
2025-02-20 17:30:23 +01:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
Michael Steenbeek
3c03fa308d
Improve warning if language files cannot be loaded on Android
2025-01-31 23:24:50 +01:00
Aaron van Geffen
cf448753c1
Move WindowInvalidate and WidgetInvalidate families into WindowManager ( #23692 )
...
* Move WindowInvalidate and WidgetInvalidate families into WindowManager
* Use InvalidateWidget shorthand in more places
* Cut back on UiContext includes
* Cut back on Window.h includes
* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Ethan O'Brien
0310084c04
Merge branch 'develop' into develop
2025-01-20 08:28:57 -06:00
Aaron van Geffen
a8773dd805
Move WindowClose family into WindowManager ( #23646 )
...
* Replace WindowClose() calls with Close method calls where possible
* Move WindowClose family into WindowManager
* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
bed4d5bdca
Move WindowCreate and WindowFocusOrCreate into WindowManager ( #23643 )
...
* Move WindowBringToFront into WindowManager
* Move WindowCreate and WindowFocusOrCreate into WindowManager
* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Ethan O'Brien
8dfe1f91a9
Resolve merge conflicts
2025-01-10 12:16:03 -06:00
Ethan O'Brien
63b0106de8
Fix emscripten support
2024-12-31 09:31:33 -06:00
Aaron van Geffen
23d4032eed
Move LightFX into its own namespace ( #23506 )
2024-12-30 11:04:39 +00:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
Aaron van Geffen
f9fdac2769
Infer peep animation sprite bounds at runtime ( #23235 )
2024-12-03 23:00:54 +00:00
Aaron van Geffen
e885b3616b
Drop old PeepAnimationData unit
2024-12-03 21:14:26 +01:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Aaron van Geffen
a55e70bc0b
Remove InteractiveConsole.h includes where not required ( #23578 )
2025-01-09 15:40:47 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Gymnasiast
95178be1b9
Remove C strings in ContextOpenCommonFileDialog()
2024-10-30 12:47:38 +01:00
Gymnasiast
e46f23702d
Remove OpenRCT2WriteFullVersionInfo()
2024-10-30 12:17:27 +01:00
Aaron van Geffen
d2e01dde4e
Remove a bunch of Util.h includes
2024-10-29 13:12:52 +01:00
Aaron van Geffen
e70ca5c889
Allow staff to use ‘real’ names as well ( #22732 )
2024-09-15 20:18:00 +00:00
Michael Steenbeek
6f6cdc0cc6
Revert "Cleanup MemoryStream code ( #22593 )" ( #22666 )
...
This reverts commit 590ab65b2a .
2024-09-01 00:14:12 +02:00
Matt
590ab65b2a
Cleanup MemoryStream code ( #22593 )
...
* Deduplicate code, use std::bit_ceil to compute new capacity
* Remove unused constructor overload
* Remove more unused functions
* Fix memory leak using assignment operator with move
* Make access explicit via constness, do not allow arbitrary access
* Move the template specialized Write/Read to private section
* Simplify a lot of code by using the right types
* Fix copy constructor
* Directly copy the member in copy constructor
* Fix little mistake
* Pluck a memory leak on Android, fix the build
* Update changelog.txt
2024-08-22 19:24:00 +02:00
Aaron van Geffen
2a99b2f1f9
Rework modifier key state into strong enum class ( #22558 )
...
* Rework modifier key state into strong enum class
* Move modifier key state into InputManager
2024-08-14 16:36:05 +02:00
ζeh Matt
fed107b008
Make forceRedraw implicit when we are on the main thread
2024-08-01 23:48:54 +03:00
Aaron van Geffen
e645fc7ac4
Widen progress range for object loading proces
2024-07-16 19:30:48 +02:00
Aaron van Geffen
a5054c68d1
Add progress reporting to loading required objects
2024-07-16 18:14:44 +02:00
Aaron van Geffen
ef7dbe496a
Introduce VIEWPORT_FLAG_RENDERING_INHIBITED
2024-07-15 01:17:57 +02:00
Aaron van Geffen
0890a49e3c
Add progress bars to title sequence loading, but only the initial park
2024-07-14 23:58:00 +02:00
Aaron van Geffen
5f0c3d2ffd
Add progress bars to loading saved games and scenarios
2024-07-14 22:18:31 +02:00
Silent
76b55651b6
Stop (and discard) the replay before tearing down the scripting engine ( #22293 )
...
Fixes a shutdown crash on tearing down Duktape values after their
context has already been destroyed.
Fixes #22056
2024-07-15 08:43:06 +02:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
3fd91038c3
Rename Date.h to Localisation.Date.h to match unit file
2024-07-12 22:18:43 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
4bfd3f3369
Initialise script engine off main thread ( #22230 )
...
* Initialise script engine off main thread
* Do not run ScriptEngine.Tick() during initialisation/preloading
* Add 'Loading plugin engine…' string
* Add changelog entry
---------
Co-authored-by: Bas <Basssiiie@users.noreply.github.com >
2024-07-09 20:19:01 +02:00
Aaron van Geffen
c00fe1e7d6
Rework (preloader) scene completion functionality ( #22122 )
...
* Remove the need for Scene::GetCompletionScene
* Replace SetCompletionScene with SetOnComplete
* Normalise return type for GetPreloaderScene
* Rename 'onFinish' to 'onComplete' for consistency
2024-05-29 22:13:03 +02:00
Aaron van Geffen
c9de56471d
Allow customising the progress string format
...
Fixup: deal with -Wdeprecated-anon-enum-enum-conversion warning
2024-05-20 21:37:40 +02:00
Aaron van Geffen
539bb5487e
Introduce context functions and intents for progress window
2024-05-20 16:28:00 +02:00
Aaron van Geffen
4e2f546d14
Fix sound effects not working
2024-05-18 13:12:08 +02:00
Aaron van Geffen
2ff3295587
Report FileIndex index progress to Context
...
Progress is passed on to PreloaderScene and NetworkInfo window from there.
2024-05-06 14:26:00 +00:00
Aaron van Geffen
db73b1fede
Move TitleSequenceManager::Scan into preloader as well
...
Add strings for checking and loading title sequence
2024-05-06 14:08:49 +02:00
Aaron van Geffen
809fe4a51b
Initialise scenes only when they are first accessed
2024-05-06 14:08:35 +02:00
Aaron van Geffen
3cda6e367b
Don't use preloader scene when in headless mode to fix replay tests
...
This splits off the initialisation calls to a new InitialiseRepositories function.
The SetCompletionScene invocation is moved to the Launch method. When the game is running
in headless mode, the preloader is not used. Instead, InitialiseRepositories is called in-thread,
and the transition to the 'completion scene' happens immediately after.
2024-04-25 23:55:52 +02:00
Aaron van Geffen
9f45d40bae
Add localisable progress status messages
2024-04-24 19:40:46 +02:00
Aaron van Geffen
7c4be9ce92
Introduce PreloaderScene for game initialisation
...
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com >
2024-04-24 18:31:00 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00