Gymnasiast
3cc2d94b1b
Rename sub_ and loc_ functions
2023-01-17 19:05:14 +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
Stephan Spengler
76b918e7ed
Change openrct2/ride methods to UpperCamelCase, part 1
2023-01-17 01:32:54 +01:00
Duncan
8504c8d05e
Finish Removing snake_case from Drawing Methods
2023-01-16 22:31:34 +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
Duncan
7f5934cc95
Remove snake_case from second chunk of Drawing ( #19166 )
2023-01-16 18:52:17 +00:00
Duncan
8a8d3105f3
Remove snake_case from first chunk of Drawing ( #19164 )
...
* Remove snake_case from first chunk of Drawing
* Address formatting
2023-01-16 13:50:43 +00:00
Stephan Spengler
32dd535044
Rename MapChangeSizeAction to fit naming pattern
2023-01-06 22:57:11 +01:00
Stephan Spengler
c5805eaae6
Rename FootpathPlaceFromTrack to FootpathLayoutPlace ( #19028 )
2023-01-06 22:56:12 +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
Gymnasiast
38f7c2a159
Allow using ImageId in widgets directly
2022-12-31 15:18:22 +01:00
Gymnasiast
162b01204d
Rename rct_widget to Widget
2022-12-31 15:18:22 +01:00
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Michael Steenbeek
27f3a3a796
Create function to resize window frame
2022-11-06 10:29:40 +01:00
Hielke Morsink
31dd4bf604
Use lower-case u integral suffix
2022-10-29 16:33:05 +02:00
Hielke Morsink
3bb8ea3668
Better annotate some magic numbers in for loops
2022-10-17 16:08:55 +00:00
Duncan
7dd8989e70
Next chunk of World/Map.h snakes ( #18296 )
...
* Next chunk of World/Map.h snakes
* Apply clang-format
2022-10-12 06:35:20 +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
duncanspumpkin
2a593b6029
Remove snake cases from Location and LargeScenery
2022-10-05 20:21:56 +01:00
duncanspumpkin
3e8dc1b2ac
Remove snakes from the foopaths
2022-10-04 20:08:14 +01:00
duncanspumpkin
2c29190ff8
Remove snakes from entrance
2022-10-04 20:07:35 +01:00
Hielke Morsink
61c35c8f1c
Fix #17905 : chain button enabled for rectangular maps
2022-08-28 09:36:18 +02:00
Gymnasiast
a088537b65
Rename rct_widgetindex to WidgetIndex
2022-08-21 18:49:23 +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
Michael Steenbeek
5661da1c68
Unwrap game action compat wrappers
2022-08-11 00:00:58 +02:00
Gymnasiast
d3fd31c611
Rename rct_string_id to StringId
2022-07-31 22:30:13 +02:00
Hielke Morsink
a258008bef
Refactor window functions to take references 4
2022-07-31 17:23:16 +02:00
Hielke Morsink
523bb8136e
Refactor window functions to take references 3
2022-07-31 17:23:16 +02:00
Hielke Morsink
c8605a8763
Refactor window functions to take references 2
2022-07-31 17:23:15 +02:00
Michael Steenbeek
1a8660d59d
Pass window reference to tool_set ( #17625 )
2022-07-27 22:22:22 -03:00
Artem Yanenko
019ed54a48
Fix #17377 : Park entrance can be placed without path in Scenario Editor
2022-07-02 14:02:27 +00:00
duncanspumpkin
d521327072
use consistent style
2022-06-07 22:35:06 +01:00
duncanspumpkin
3dba3984bf
Remove map_variables
2022-06-07 22:35:06 +01:00
Hielke Morsink
8d14016c3f
Allow maps to be resized to non-rectangular shapes
2022-06-04 11:26:34 +02:00
duncanspumpkin
f835a5b521
Apply clang-tidy to static variables
2022-03-18 00:38:26 -03:00
Sam Atkins
fb4c9359d8
Close #13779 : Refactor Map window into a class ( #16559 )
...
* Close #13779 : Refactor Map window into a class
* Fix invalid memory read from temporary strings
2022-02-26 20:23:27 +00:00
Ted John
454bfb0a8f
Refactor map size to allow for rectangle maps
2022-02-14 23:15:59 +00:00
Ted John
da89a4e413
Remove rct_window::enabled_widgets ( #16643 )
...
`enabled_widgets` was used to enable input for widgets. However I do not recall anywhere this being used to specifically disable a widget which doesn't use the dedicated `disabled_widgets` flag. I don't think there is any purpose in keeping this, so I have removed all uses of it.
2022-02-13 23:06:19 +00:00
Gymnasiast
de2b893d99
Fix #16061 : Incorrect colours in minimap
2022-01-01 16:52:49 +01:00
frutiemax
adb692b74e
Forward declare Formatter
2021-12-30 12:17:51 -05:00
Gymnasiast
aa34f0f760
Drop the N postfix
2021-12-11 00:39:39 +01:00
Gymnasiast
fc3ce3294c
Move over switches to normalised tile element types
2021-12-11 00:30:59 +01:00
Michael Steenbeek
2d1af0ec42
Replace many GetType() calls with GetTypeN()
2021-12-10 22:43:17 +01:00
ζeh Matt
9f23449ffb
Move Staff/Guest/Peep to entity
2021-11-26 18:26:19 +02:00
Duncan
90d2be3ddd
Clang tidy Part 3: Ui Project Enum Names ( #15986 )
...
* Enum constant case
* Apply enum names clang tidy
* Rename scoped enum missed by clang-tidy
2021-11-26 14:25:34 +00: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
0024252328
Fix includes
2021-11-24 17:19:52 +02:00
ζeh Matt
c6242fd310
More renaming
2021-11-24 15:50:18 +02:00
ζeh Matt
83b911b193
#15634 : Refactor passing GameActions::Result by copy ( #15951 )
...
* Refactor to result GameActions::Result as copy instead of unique_ptr
* Remove alias GameActions::Result::Ptr
* Remove MakeResult wrapper
* Remove type forwarder in TileInspector
2021-11-24 07:35:08 +00:00