Harry Hopkinson
994cc858e8
More efficiently search viewports for playing Audio
2025-05-26 08:37:44 +01:00
Harry Hopkinson
371dcc28f5
More efficiently search viewports
2025-05-26 08:37:15 +01:00
Matt
42df41efdb
Remove the use of shared_ptr for the Context ( #24404 )
...
* Replace shared_ptr with unique_ptr for Context systems, return refs
* Fix all the users
* clang-format fix
* Fix linux builds
2025-05-15 22:46:06 +03:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Michael Steenbeek
70bdddcf36
Reduce object casting ( #24072 )
2025-03-25 08:51:44 +01:00
Michael Steenbeek
06c1fed4f7
Refactor gScreenFlags to LegacyScene enum
2025-03-05 20:45:04 +00:00
matheusvb3
fab500519d
Fix: Sound effects keep playing when loading another save
2025-03-01 19:00:42 +00:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
Aaron van Geffen
bb94ee8bc0
Rename ObjectType enum to follow recent code style ( #23810 )
2025-02-13 23:07:55 +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
Michael Steenbeek
b0c99fcb6c
Refactor more constants to kConstant notation
2025-01-22 16:16:55 +00:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
6ee798337a
Introduce EnumUtils header ( #23407 )
2024-12-15 17:39:52 +01:00
Michael Steenbeek
a2ed026264
Split up remaining tile elements
2024-10-15 22:02:31 +02:00
jason-mills and Tulio Leao
09b66e9075
Part of #21421 : Update FontFamilies.h, audio.h with new constant notation ( #22838 )
...
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2024-09-28 07:01:10 -03:00
Aaron van Geffen
4e2f546d14
Fix sound effects not working
2024-05-18 13:12:08 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Aaron van Geffen
56cbc0eb8a
Refactor intro into IntroScene
2024-04-26 20:35:16 +02:00
Rahul Unniyampath and ncerroneumich
893ae7f0ca
Refactor constant notation in Audio.h
...
Co-authored-by: ncerroneumich <ncerrone@umich.edu >
2024-04-21 00:12:13 +02:00
Michael Steenbeek
9062049be1
Fix sound effects not working with RCTC base, fix audio object conflict
...
Due to this overwriting of object IDs, loading the sound effects would not work on RCTC. This overwriting also caused object conflicts which weren’t always won by the RCTC one. This fixes both problems by using non-clashing names, and only renaming one to `rct2.audio.base`, the name expected by the asset packs.
2024-03-31 22:28:17 +00:00
Harry Hopkinson
14f0479c94
Refactor constants/macros ( #21483 )
...
* Refactor constants in AudioMixer.h
* Refactor constants in Map.h
* Rename kMinimumLandHeight_BIG to kMinimumLandZ
2024-03-01 20:23:29 +00: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
Hielke Morsink
58a8e8836a
Fix #20262 : random title theme can pick RCT1 when unavailable
2023-05-26 19:38:59 +02:00
Hielke Morsink
edd31163b0
Refactor GetTitleMusicDescriptor back to one function
2023-05-15 19:26:49 +01:00
Karst and Ted John
674443d075
Add OpenRCT2 official title music
...
Co-Authored-By: Ted John <intelorca@gmail.com >
2023-05-15 19:24:10 +01:00
Rik Smeets
ac2afdcfaf
Fix #18994 : Title music doesn't start after enabling master volume ( #19621 )
2023-03-11 16:30:40 +00:00
Duncan
e09f27df3c
Rename snake_case Class names (Remaining Bits) ( #19237 )
...
* Rename snake_case Class names
* Clang format
* Fix build issues
2023-01-21 19:57:17 +00:00
Michael Steenbeek
cf9aad7885
Close #19214 : Use consistent casing for RC and RCT ( #19230 )
2023-01-20 08:19:14 +00:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Duncan
09611cd9a5
Remove snake_case from OpenRCT2/entity folder
2023-01-17 21:16:36 +00:00
Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +00:00
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Ted John
7dc0c1dddc
Add new audio object for RMC sounds
2022-11-12 12:04:10 +01:00
Hielke Morsink
5fa53ad528
Rename global config functions to use TitleCase
2022-10-16 21:46:08 +02:00
Hielke Morsink
371470b5d5
Rename public sound config data members
2022-10-16 21:46:05 +02:00
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03:00
Duncan
67bbc8560d
Code style: Remove snakes from everything world apart from Map.h ( #18273 )
...
* Remove remaining snakes from world (outside of map)
* Initial few desnaking of Map.h
2022-10-11 19:39:24 +01:00
Ted John
41fb257fed
Fix override of RCT classic audio on startup
2022-10-03 23:36:28 +01:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Ted John
9699c9db9e
Add support for RCT Classic audio files
2022-08-31 22:48:26 +02:00
Hielke Morsink
7f29e4e39c
Make rct_windowclass strong type WindowClass
...
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp).
The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
2022-08-21 18:38:25 +02:00
Hielke Morsink
e2da19f0f7
Add missing includes
2022-07-29 18:45:10 +02:00
Ted John
585ebed600
Fix #17297 : Crash when switching language ( #17370 )
...
* Refactor all uses of IAudioChannel and the audio mixer.
* Use shared_ptr to avoid dead pointers hanging about.
* Reload particular audio channels where necessary after object reload.
2022-06-27 17:41:53 +01:00
Ted John
9a4492c704
Fix unable to save landscape in editor
...
Audio objects were being unloaded, while they were still in the loaded object list.
2022-05-30 23:34:29 +02:00
Ted John
6465d42b57
Apply code review changes, auto*
2022-05-23 22:24:56 +01:00
Ted John
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00