Michael Steenbeek
412bf8f8be
Use ride references instead of pointers
2023-01-07 14:02:18 +01: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
Rik Smeets
9688d93e46
Open campaign tab from finished campaign news
...
When a marketing campaign is finished, it is likely the player wants to renew it.
This change allows the ‘Campaigns’ tab in the 'Finances' window to be opened from the news item of the finished campaign.
2022-11-18 13:26:52 +01:00
Hielke Morsink
f91df4138c
Merge pull request #18359
2022-10-18 23:39:49 +02:00
Thamara Andrade
9edb3966fb
Close #13785 : Refactor NetworkStatus window to class ( #18302 )
2022-10-18 06:54:01 -03:00
Hielke Morsink
f605b02630
Rename public interface config data members
2022-10-16 21:46:05 +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
Michael Steenbeek
31e2d7692c
Rename more instances of “vehicle” to “train”
2022-09-22 11:22:18 +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
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Raymond Zhao
7399163a3c
Use more smart ptrs and u8strings ( #17611 )
...
* Use smart ptr for PlatformUiContext and WindowManager
* Remove more delete calls
* Apply PR feedback
2022-07-28 18:19:38 +01:00
Michael Steenbeek
1a8660d59d
Pass window reference to tool_set ( #17625 )
2022-07-27 22:22:22 -03:00
Raymond Zhao
4f23e5e9ec
Refactor struct TrackDesignFileRef
...
- Refactors track_design_file_ref to TrackDesignFileRef and replaces the utf8* fields of that struct with u8string
- Gets rid of some String::Duplicate() and delete calls
- Uses a bunch of c_str() calls to interface with older functions
2022-07-26 16:12:46 +00:00
Duncan
a73df7e376
Remove Editor Main ( #17348 )
...
* Remove editor main window
* Remove editor main completely
* Update src/openrct2/Editor.cpp
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-06-07 08:26:58 +01:00
Kane
204f8ceac1
Add new Transparency options window.
...
Remove added options from Top Toolbar.
Move invisible ride code into ride paint functions.
Move invisible vehicle code into sprite paint function.
2022-03-14 21:37:41 +00:00
Hielke Morsink
ba85cf4873
Close #15896 : Refactor out the ZoomLevel operators
2022-02-26 23:14:59 +01:00
ζeh Matt
d7f5003943
Introduce EntityId and refactor everything
2022-02-16 18:56:39 +02:00
ζeh Matt
4554d6d883
Fix all uses of RideId
2022-02-12 18:11:18 +02:00
ζeh Matt
a2470c0573
Rename ride_id_t to RideId
2022-02-12 18:11:18 +02:00
Duncan
cdd3c28b2e
Use intents to control scenery window ( #16562 )
...
* Use intents to control scenery window
2022-02-03 21:10:21 +00:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
Gymnasiast
ef6f2cceee
Create RideConstruction.h
2021-12-18 20:27:13 +01:00
Hielke Morsink
53d9bfa8b4
Update implicit zoom conversions
2021-12-01 00:08:35 +01:00
ζeh Matt
56e78d5733
Merge pull request #15985 from ZehMatt/refactor/entities2
...
Refactor Sprite to Entity
2021-11-25 12:53:50 -08:00
ζeh Matt
03fb9b390f
Rename Sprite to EntityRegistry
2021-11-24 17:04:12 +02:00
ζeh Matt
7c726e2a0c
Fix includes
2021-11-24 16:48:33 +02:00
Duncan
bb2c7dbaca
Clang tidy Part 1: Ui Project Function Names ( #15956 )
...
* Add NOLINT around STL using classes and vendor functions
* Apply clang-tidy to ui project function names
* Undo scripting clang-format
* Upper case OpenRCT2 and RCT2
2021-11-23 13:18:07 +00:00
Hielke Morsink
94144bcd89
Remove some dead code
...
Reported by clang
clang-analyzer-deadcode.DeadStores
2021-09-30 10:40:32 +02:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Gymnasiast
bdab3219cb
Modify object loading for JSON-only objects
2021-09-15 11:28:39 +02:00
ζeh Matt
516232e0a7
Change static casts to EnumValue
2021-09-10 19:10:15 +03:00
ZehMatt
3ad72baaae
Cast fixes
2021-09-10 19:10:12 +03:00
Michael Steenbeek
ab18612882
Remove Music Acknowledgements window ( #15116 )
...
It was of limited use to us anyway since we didn’t license the music ourselves, but now the actual track names and composers are shown in the Object Selection, the window lost its last bit of usefulness.
2021-07-28 10:26:35 +02:00
Duncan
39fcc5d078
Split up Sprite header ( #14764 )
...
* Remove fields from rct_sprite union
* more header fun
* Fix guest include
2021-05-29 06:01:32 +01:00
Ted John
966129dd7c
Remove network traffic window
...
Now available in the DevTools plugin.
2021-03-06 14:47:06 +01:00
Ted John
2b3aabb8e4
Remove old shortcut code and fix issues
2021-02-21 03:14:18 +00:00
Ted John
e6b6403024
Refactor and fix shortcut
2021-02-21 03:13:28 +00:00
Ted John
ccae533978
Add input manager
2021-02-21 03:13:27 +00:00
Ted John
1cb3330779
Fix #14042 : Park Crashes whilst saving
2021-02-09 23:51:31 +00:00
Ted John
3ed221f128
Add APIs for loading a saved game and adding a park
2021-02-08 22:27:28 +00:00
Ted John
3e75f23970
Refactor guest list window to a class
2021-01-11 21:56:48 +00:00
skdltmxn
c093a50f3f
Refactor to use string_view more properly
2021-01-07 01:52:10 +09:00
pizza2004
2015acd4c0
Refactor UI/Interface Window to Title Case ( #13367 )
2020-11-04 04:52:23 +00:00
pizza2004
b0fd5f93d7
Refactor UI/Interface misc to TitleCase ( #13354 )
...
* Refactor LandTool to Namespace
* Refactor Theme to TitleCase
* Refactor ViewportInteraction to TitleCase
2020-11-03 10:59:00 +00:00
pizza2004
1643c62939
Refactor UI/Input MouseInput to Title Case
2020-11-02 07:05:33 -07:00
pizza2004
34f362b86e
Refactor UI/Input KeyboardShortcuts to Title Case
2020-11-02 06:55:16 -07:00
pizza2004
06c0c1b982
Refactor UI/Input Input to Title Case
2020-11-02 06:55:16 -07:00
Gymnasiast
eb2f40f35c
Fix typo in WC_EDITOR_OBJECTIVE_OPTIONS
2020-10-11 19:28:25 +02:00
Duncan
3c8adb1fc1
Remove gMapTooltip format args global ( #12971 )
...
Fix mistake
2020-09-28 21:45:28 -03:00