Duncan
23b6d1840e
Rename classes with snakes OpenRCT2/G*-M*
2023-01-19 15:13:23 +00:00
Hielke Morsink
0762fcb601
Rename snake_case functions in OpenRCT2/util folder
2023-01-18 22:44:13 +01:00
Hielke Morsink
917c091e6b
Rename snake_case functions in OpenRCT2/marketing folder
2023-01-17 23:13:39 +00:00
Michael Steenbeek
bb55c6ce66
Remove loadsasnakes ( #19192 )
...
* Rename snake_case methods in scenario folder
* Rename snake_case methods in title folder
* Rename snake_case methods in object folder
* Rename snake_case methods in platform folder
* Rename snake_case methods in windows folder
* Rename tile_inspector.h to TileInspectorGlobals.h
* Rename snake_case methods in ui/windows folder
2023-01-17 19:46:55 +00: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
Michael Steenbeek
b4480b344e
Rename snake_case functions from localisation folder
2023-01-16 23:12:35 +00:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
Michael Steenbeek
18d9e72173
Change _GBP to money64, migrate a few usages to money64 as well
2023-01-08 15:10:22 +01:00
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
Duncan
482971710d
Apply code style to context functions
2022-11-06 21:49:07 +01:00
Duncan
406b73d904
Remove final snakes from map and world ( #18304 )
2022-10-12 09:14:45 -03: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
Duncan
5dba30778d
Code style: Remove more snakes from the park, maphelper, scenery. ( #18222 )
2022-10-08 06:56:17 -03: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
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
Basssiiie
a1be5dead3
Fix park rating overflow with over 32k guests, excitement or intensity ( #18026 )
2022-09-15 16:08:17 +02:00
Stephan Spengler
7537ca24e3
Combine the guest generation loops into one
2022-09-03 16:24:21 +02:00
Gymnasiast
83c6ce6b39
Fix #17865 : Unopened rides contribute to difficult guest cap
2022-09-03 16:22:54 +02:00
Henry Cheng
b6ceb1afce
Fix #17866 : Wrong Soft Guest Cap at start of new game ( #17869 )
...
* Change _suggestedGuestMaximum initalization
* Update initialization method
* Add changelog
* Update changelog entry
2022-09-02 08:27:13 +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
Michael Steenbeek
0bfc151ab9
Remove remaining usages of gGameCommandErrorText
2022-07-30 18:04:59 +02:00
germanaizek
958bfbc08a
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
2022-05-07 16:05:39 +02:00
MaxMallon
cc519c2520
Fix park size ( #16934 )
...
* Fix park size overflow with big parks
* Add a changelog
* Increase the version number
2022-04-30 08:11:10 +01:00
Tulio Leao
67c14ada3c
Add int32_t overload for ToMoney32FromGBP
2022-04-01 07:32:03 -03:00
Tulio Leao
e63432a416
Add ToGBP function to convert non literals to money32
2022-03-31 17:54:52 -03:00
Geoff Banh
85baa6f7ca
Fix #14093 : Replace MONEY macro with user defined literal
2022-03-29 07:23:35 -03:00
Ted John
1182ff5f19
Add Plugin API for storing data in .park files
2022-02-24 23:55:23 +00:00
Ted John
f2117508c4
Fix #15413 : Modifying park rating with plugins desyncs history ( #16672 )
...
Update park rating history before park rating.
2022-02-23 13:07:04 +00:00
Hielke Morsink
f06645d2f7
Make stations a private std::array and use getters for access
2022-02-18 23:21:35 +02:00
Silent
8064ef288b
Fix money overflow in scenario_entrance_fee_too_high_check and more
2022-01-31 23:06:54 +01:00
ζeh Matt
993b168bfd
Implement profiler ( #16194 )
...
* Implement profiling API
* Add console commands for the profiler
* Remove accidental line
* Correct csv output
* Add copyright notice
* Add missing override
* Add default virtual destructor
* Explicitly pass template argument
* Use static
* Add plugin API for profiler
* Add more profile calls
* Workaround for GCC hopefully
* Add missing static keyword
* Use uint64 for call count
* Reduce name length see if CI passes
* Improve handling of function names
* Work around (broken) static inline variables
* Fix missing include
* Disable profiler for clang 5 and older
* Update copyright date
* Profile UpdateAllMiscEntities
* Apply review suggestions
Co-authored-by: Ted John <ted@brambles.org >
2022-01-18 20:21:20 +02: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
Duncan
6dc1efde82
Make awards a vector ( #16134 )
...
* Make awards a vector
* Fix compiler and use one less branch
2021-12-11 14:45:50 +00: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
9f23449ffb
Move Staff/Guest/Peep to entity
2021-11-26 18:26:19 +02:00
ζeh Matt
7c726e2a0c
Fix includes
2021-11-24 16:48:33 +02:00
ζeh Matt
e1fb987c12
Replace loop with count_if
2021-10-14 16:33:06 +03:00
ζeh Matt
c2d9d727d9
Fix #15566 : Litter age underflow
2021-10-12 21:27:08 +03:00
Michał Janiszewski
6067048fd5
Reduce inclusion of NewsItem.h
2021-10-09 22:12:18 +02:00
ζeh Matt
74e8988dd8
Remove scenario ticks and adjust export/import
...
Co-authored-by: Ted John <ted@brambles.org >
2021-09-23 21:49:09 +03:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
IntelOrca
600ce959d7
Use real values for gGuestsInParkHistory
2021-09-03 23:43:43 +02:00
Ted John
5f853df1fd
Remove gS6Info
2021-08-02 20:38:02 +02:00
Ted John
70d9c1438e
Change most things and formatting to money64
2021-08-01 15:14:42 +02:00