Michael Steenbeek
47800cddcf
Change RTD flags to a strong enum
2024-08-13 20:20:25 +00:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02:00
Aaron van Geffen
896eb4f488
Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting
2024-07-13 14:09:58 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Aaron van Geffen
9e206d5528
Remove dependency on StringIds.h from Localisation.h ( #22011 )
...
* Remove dependency on StringIds.h from Localisation.h
* Include Language.h in UTF8.cpp for function declarations
* Rename tests/Localisation.cpp to tests/LocalisationTest.cpp
2024-05-10 19:14:05 +00:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Duncan
1d3bd31ab8
Deduplicate FormatStringID symbols
2024-03-10 18:15:49 +00:00
ζeh Matt
c9ac9784ed
Fix regression from #21474 due to use-after-free bug
2024-03-02 03:50:27 +02:00
Aaron van Geffen
a79b062136
Refactor FormatCodes stringification
2024-03-01 19:47:23 +01:00
Harry-Hopkinson
b755c873e5
Move gMapSize to GameState_t
2024-02-12 21:32:08 +00:00
Michael Steenbeek
3827d1770b
Move banners to GameState_t
2024-01-25 15:32:16 +01: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
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Duncan
d811c9a9ba
Add Object Entry Manager ( #19332 )
...
* Add object entry manager
Port over wall and banner
* Port over small scenery to ObjectEntryManager
Clang format files
Actually make things safe
Fix build
2023-02-12 20:43:11 +00:00
Matthias Moninger
62a96cc251
Fix and refactor banner fixing ( #19288 )
2023-01-28 22:43:59 +00:00
Duncan
ef27814ca5
Split off scenery entries ( #19133 )
...
BannerSceneryEntry, WallSceneryEntry footpathItemEntry
2023-01-25 19:56:29 +00:00
Michael Steenbeek
448c8fafd0
Rename base_height, clearance_height and owner
2023-01-19 20:36:30 +01:00
Hielke Morsink
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01:00
Michael Steenbeek
bf5f7e8e71
Rename format_string(2) and is_user_string_id() ( #19178 )
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 08:59:07 +00:00
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +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
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
Duncan
5dba30778d
Code style: Remove more snakes from the park, maphelper, scenery. ( #18222 )
2022-10-08 06:56:17 -03:00
Duncan
3565a0172d
Attack snakes in banners and climate ( #18163 )
2022-10-01 18:54:15 +02: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
Gymnasiast
f5f4a8a2f6
Use gMapSize instead of MAXIMUM_MAP_SIZE_TECHNICAL in appropriate places
...
Backported from my map size refactors.
These functions previously scanned the whole map,
so this might also provide a slight performance boost (not tested).
2022-09-22 16:19:46 +02:00
frutiemax
6868b3dcaf
Rename IS_SHOP to IS_SHOP_OR_FACILITY and use it for RideObject
2022-08-06 15:00:52 +02:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
ζeh Matt
c0474d2d27
Merge pull request #16466 from ZehMatt/refactor/identifier-rideid
...
Use TIdentifier for RideId
2022-02-12 11:23:54 -08:00
ζeh Matt
06e430157f
Use RideId::GetNull and RideId::IsNull over constant
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
Michael Steenbeek
8efc941fee
Fix #16227 : Assertion hit in fix_duplicated_banners()
...
Refactor error, introduced in 63a2e9d716 #
2022-02-12 17:03:56 +01:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
Michael Steenbeek
27cbb6c6ae
Merge pull request #16190 from Gymnasiast/refactor/normalised-tile-element-type-3
...
Part of #15485 : normalise all OpenRCT2 tile element types
2021-12-12 09:53:09 +01:00
ζeh Matt
cec30e093d
Merge pull request #15991 from ZehMatt/refactor/bannerid
...
Use TIdentifier for BannerIndex
2021-12-11 08:08:27 -08:00
Gymnasiast
aa34f0f760
Drop the N postfix
2021-12-11 00:39:39 +01:00
Michael Steenbeek
2d1af0ec42
Replace many GetType() calls with GetTypeN()
2021-12-10 22:43:17 +01:00
ζeh Matt
e6187a0af4
Use BannerIndex::UnderlyingType for iterations
2021-12-01 14:41:59 +02:00
ζeh Matt
810521bd5b
Remove BANNER_INDEX_NULL
2021-12-01 14:41:59 +02:00
ζeh Matt
63a2e9d716
Refactor uses of old BannerIndex
2021-12-01 14:41:59 +02:00
Hielke Morsink
c2d3ca5f85
Automatically deduce std::array types
...
This also improves formatting of some arrays with weird or no indention.
2021-10-14 23:27:28 +02:00
ζeh Matt
719a5a9d8e
Merge pull request #15369 from ZehMatt/refactor/tile-coords
...
Refactor overload map_get_first_element_at
2021-09-21 14:36:03 -07:00
Michael Steenbeek
624a32e93b
Make Coords isNull/setNull functions TitleCase ( #15382 )
2021-09-08 20:48:53 -03:00
ζeh Matt
07a7946caf
Remove redundant conversions
2021-09-07 22:36:16 +03:00
ζeh Matt
4ada04c7ca
Fix #15289 : Duplicated banner correction using the wrong index
2021-08-29 12:20:17 +03:00
Duncan
465d1c5414
Cleanup of Banner related actions ( #15126 )
...
* Close #15107 . Use correct type and provide appropriate error messages
* Add further error messages to actions
* Apply review comments
2021-07-30 20:53:13 +01:00
Duncan
d76611e0f2
Actually allocate a banner when using GetOrCreateBanner
...
When importing a file this function is used to create a banner at a certain index. Previously this was not assigning the id to the banner id. Luckily as banner id is a new field this did not cause any issues except in the nsf which does use the banner id more extensively
2021-07-27 19:58:09 +02:00
Duncan
e9eb1b8304
Banner Refactor from NSF ( #14788 )
...
* Banner refactor
* Fix mistake in fix_duplicated_banners
* Reduce limit back
* Fix export
* Free banner on delete
* Increment network version
* Fix potential banner pointer crashes
Co-authored-by: Ted John <ted@brambles.org >
2021-07-27 10:25:58 +01:00
Duncan
8f59fe91cb
BannerSceneryEntry Refactor ( #14810 )
...
* Refactor BannerSceneryEntry to enforce type
* Remove old comment
* Fix incorrect renameing
2021-06-03 21:43:30 +01:00
Duncan
425f968a67
Rearrange WallSceneryEntry to enforce types ( #14808 )
...
* Rearrange WallSceneryEntry to enforce types
* Clang format
Correct inverted nullptr check
2021-06-03 13:26:00 +01:00