Aaron van Geffen
6545ab33f2
Unify interface for calling internal map generator
2024-09-10 12:14:01 +02:00
Aaron van Geffen
403495cacf
Rename internal map generator functions
2024-09-10 11:21:09 +02:00
Harry Hopkinson
c1ac7c0700
Cleanup gameState usage
2024-09-02 22:42:37 +02:00
mrmbernardi
9ed5c63857
Rename Location.hpp constants ( #22385 )
2024-07-26 10:23:25 +02:00
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
3d5c19de08
Drop Localisation.h include where not required
2024-07-13 13:33:32 +02:00
Aaron van Geffen
b5ef2693b0
Remove common.h include from all units
2024-07-09 16:45:19 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Gymnasiast
4cdaaa9810
Refactor slope flags
2024-05-10 20:16:07 +02:00
Michał Janiszewski
7b12667ddb
Reduce <algorithm> include ( #21947 )
2024-05-01 13:47:27 +02:00
Michael Steenbeek
271a22d00e
Merge pull request #21681 from AaronVanGeffen/obj-list-refactor
...
Move various object list properties out of ObjectTypes header
2024-04-12 11:54:13 +02:00
Claudio Tiecher
a94e6c54d8
Part of #21421 : replace define with constexpr ( #21679 )
2024-04-01 07:00:32 -03:00
Aaron van Geffen
e898e9211d
Move kObjectEntryGroupCounts to ObjectList.cpp
2024-03-27 20:13:10 +01:00
Harry-Hopkinson
b755c873e5
Move gMapSize to GameState_t
2024-02-12 21:32:08 +00: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
45afc1f67b
Properly name setter/getter for edge object index
2023-08-26 21:01:27 +03:00
ζeh Matt
ae3c1037ad
Properly name what the getter/setter for surface object index is
2023-08-26 20:50:06 +03:00
Matthias Moninger
3ef6003671
Replace openrct2_assert with Guard::Assert, remove openrct2_assert
2023-07-02 16:42:46 +02:00
Aaron van Geffen
d425e0a8bb
Remove const qualifier from constexpr statements
2023-06-24 11:45:26 +02:00
Matthias Moninger
d9a565dd21
Fix #20361 : Crash when using random map generation ( #20400 )
...
* Fix #20361 : Crash using map generation
* Update changelog.txt
2023-06-15 20:27:00 +01:00
ζeh Matt
86456f3538
clang-format fixes
2023-04-05 23:37:18 +03:00
ζeh Matt
0c3c2ebcd2
Refactor MapGetSurfaceElementAt to accept TileCoordsXY
2023-04-05 23:13:47 +03: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
Duncan
d51b4d3191
Split off SmallSceneryEntry into dedicated file ( #19115 )
...
* Split off small scenery entry to new file
* Move flags to new file
2023-01-25 19:25:33 +00:00
Michael Steenbeek
448c8fafd0
Rename base_height, clearance_height and owner
2023-01-19 20:36:30 +01:00
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
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
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
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
16581e9288
Address snakes in mapgen and map animation
2022-10-05 20:22:51 +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
0392925450
Close #16840 : Add support for rectangular heightmaps
2022-07-28 20:24:37 +00:00
Hielke Morsink
49c3f49535
Split X and Y size in mapgen logic
2022-06-04 19:56:31 +02:00
Ken Reese
5d52f4fd31
Fixed > 4 to >= 4 in min height check for shore generation ( #17280 )
2022-05-25 06:48:10 +01:00
Ken Reese
eab90843a2
Improve shorelines in map generation ( #17242 )
2022-05-22 08:05:20 +02:00
Hielke Morsink
f9676d1863
Use object manager interface
2022-05-15 10:34:32 +02:00
Hielke Morsink
71318dbcb3
Fix #17205 : Crash in mapgen when base terrain is not selected
2022-05-15 00:01:00 +02:00
Hielke Morsink
ad61343a83
Fix implicit floating point cast imprecision error
2022-04-30 00:51:52 +02:00
Hielke Morsink
b1247614b1
Make trees more likely to spawn on sand tiles near water
2022-04-28 21:18:30 +02:00
Hielke Morsink
45ac86062a
Reduce octaves and add noise for 'jagged' edges
2022-04-28 20:54:57 +02:00
Hielke Morsink
1b79f505b6
Use fractal noise for more natural tree placement
2022-04-28 20:54:54 +02:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Ted John
454bfb0a8f
Refactor map size to allow for rectangle maps
2022-02-14 23:15:59 +00:00
duncanspumpkin
af6f575e78
Remove empty vector entries and refactor
2022-02-09 17:28:15 +00:00