Aaron van Geffen
255e89ec37
Refactor TitleScreen to TitleScene; introduce GameScene
...
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2024-04-23 21:31:05 +02:00
Aaron van Geffen
49b75e6606
Introduce Scene class and handling
...
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2024-04-23 20:42:16 +02:00
Gymnasiast
fef1a27342
Remove GameState class
2024-04-04 18:12:35 +02: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
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
ζeh Matt
ec2f332b92
Fix #19445 : Text not cleared using Ctrl+Backspace
2023-02-25 15:42:37 +02:00
Matthias Moninger
7b61c6352a
Desnake some stuff, small string passing cleanup ( #19388 )
...
* Rename scenario_index_entry to ScenarioIndexEntry
* Desnake members of ScenarioIndexEntry
* Pass const u8string& instead of utf8 pointer
2023-02-13 20:30:16 +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
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
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Gymnasiast
d5f6a5b285
Replace context_load_park_from_file() with object equivalent
2022-10-08 20:12:35 +02:00
Ted John
331a5961b1
Implement asset packs for audio
2022-10-01 13:06:52 +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
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
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Ted John
a2e6691ac2
Add new audio objects for loading sounds
2022-05-23 22:24:56 +01:00
Silent
3773fa4cb0
Refactor uses of path_append_extension
2022-03-10 20:18:17 +01:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Michael Steenbeek
9f74c7081b
Create definitions for u8string and u8string_view
2022-01-25 16:41:45 +01:00
ζeh Matt
20ef683744
Use Timer and cleanup some code in Context
2021-12-13 19:04:48 +02:00
IntelOrca
34128dc262
Add new .park save format
...
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
Co-authored-by: duncanspumpkin <duncanspumpkin@users.noreply.github.com>
Co-authored-by: ZehMatt <Zehmatt@users.noreply.github.com>
Co-authored-by: Broxzier <Broxzier@users.noreply.github.com>
2021-11-21 22:43:22 +01:00
ζeh Matt
0be585024f
Merge pull request #15232 from ZehMatt/refactor/gNetwork
...
Move network instance to Context
2021-08-30 14:17:15 -07:00
Hielke Morsink
e48dd2d32b
Remove utf-8 BOM from source files ( #15270 )
2021-08-23 21:18:25 +02:00
Hielke Morsink
956e77f4c3
Use [[nodiscard]] for allocator and RAII functions ( #15244 )
2021-08-23 20:09:43 +02:00
ZehMatt
40313b1ea3
Move network instance into Context
2021-08-17 06:20:07 +03:00
Ted John
3f5698b1e0
Fix REPL write line on Linux
2021-02-16 20:24:51 +00:00
Matt
f684ebd7d9
Allow the main game loop to scale the delta time
2021-01-20 23:13:02 +02:00
Julia Pinheiro
cba1d48226
Close #12408 : Refactor CURSOR_ID to use strong enum
2020-10-11 18:01:14 +02:00
Julia Pinheiro
8800c32e52
Close #12404 : Refactor DRAWING_ENGINE to use strong enum ( #13070 )
2020-10-02 22:41:30 -03:00
Matt
ccde06ab0f
Explicitly pass formatter arguments to ShowError and family
2020-09-17 22:14:36 +03:00
Matt
d0d5cc5179
Remove unused declarations
2020-09-16 20:23:34 +03:00
Michał Janiszewski
55835456a0
Pester users to update to latest release
2020-08-14 10:18:17 +02:00
Matt
0dc43d66e4
Remove the use of INTERFACE macro and macro its self
2020-08-05 16:30:44 +02:00
Matt
83355e35cc
Move IStream, MemoryStream, FileStream into OpenRCT2 namespace
2020-08-05 16:29:36 +02:00
Matt
30376085cf
Include missing headers
2020-08-05 16:29:29 +02:00
Aaron van Geffen
7b5087f057
Update copyright year to 2020
2020-07-21 15:04:34 +02:00
Ted John
c67962577a
Rename __ENABLE_SCRIPTING__ to ENABLE_SCRIPTING
2020-04-26 14:35:08 +01:00
Ted John
bac91cd563
Allow scripting to be compile-disabled
2020-04-26 14:35:03 +01:00
Ted John
43508e0402
Add script engine and connect to std console
2020-04-26 14:34:58 +01:00
Tulio Leao
9bcd20e0e6
Prefer const ref to send ScreenCoordsXY over
2020-02-29 08:25:48 -03:00
Tulio Leao
2cd3add373
Make CursorState store a ScreenCoordsXY object
2019-12-14 23:30:55 -03:00
Tulio Leao
9d09f1b95c
Use ScreenCoordsXY on context cursor operations ( #10364 )
2019-12-14 22:52:18 +01:00
ζeh Matt
c8f822ea70
Gamestate snapshots ( #8819 )
...
* Add initial interface.
* Implement move operator in MemoryStream
* Add pod array serialisation traits.
* Add push_back with move semantics to CircularBuffer
* Initial implementation of GameStateSnapshots
* Add GameStateSnapshots to Context.
* Add mp_desync console command.
* Compare sprite data and fill change list.
* Minor changes.
* Proof of concept.
* Calculate offset instead of using offsetof
* Implement game state difference detection
* Update mp_desync console command.
* Fix identification of sprite remove/add.
* Fix crash when only one peep in park when using mp_desync
* Output state differences into user directory desync folder.
* Add desync debugging as an option.
* Add information to network status when a desync report was created.
* Cast to proper type for %llu.
* Update xcode project
* Add more information to the diffed data.
* Remove client-only relevant fields.
* Cleanup.
* Add better name output for misc sprites
* Add srand0 and tick information to the output
* Bump up network version
* Cleanup
* Set desync_debugging to false as default
* Apply suggestions
2019-05-11 21:31:34 +02:00
Matt
db96df010f
Expose Painter in Context
2019-03-31 15:50:55 +02:00
Aaron van Geffen
2af13904c5
Update copyright notices for 2019. ( #8903 )
2019-03-17 07:16:15 +00:00
Matt
a6efef1e81
Add support to record and replay game commands/actions.
2018-12-29 19:23:27 +01:00
ζeh Matt
223ae74c6b
Refactor code to obtain resolutions. ( #8215 )
2018-11-06 07:20:57 +01:00
Matt
04928d4b84
Refactor reference over std::shared_ptr.
2018-08-31 07:18:48 +02:00
clang-format
b02dfdbc93
Binpack function arguments together
...
Previously when the arguments of a function wouldn't fit on a single line, clang-format would put each argument on its own line instead. By enabling the binpack parameter setting, it tried to fit as many on one line as possible instead.
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2018-07-23 16:00:22 +02:00
clang-format
c57bbca827
clang-format root
2018-07-23 16:00:14 +02:00