Commit Graph
136 Commits
Author SHA1 Message Date
Aaron van Geffen 7a7472462b Merge simplex noise options into one
Adjust heightmap source dropdown width; keep open
2024-09-12 17:44:47 +02:00
Aaron van Geffen 9b11e69550 Consolidate base height setting into min land height setting 2024-09-12 17:30:00 +02:00
Aaron van Geffen 23edd3c0d0 Deduplicate some code shared between blank and simplex generators 2024-09-10 21:35:46 +02:00
Aaron van Geffen df5dcfce48 Add settings for number of trees, min/max tree altitude 2024-09-10 20:45:38 +02:00
Aaron van Geffen a2b572b6f3 Apply texture preferences to height map images; blank maps 2024-09-10 19:39:21 +02:00
Aaron van Geffen 457a923178 Move smooth tile edges option to terrain tab, apply to all generators 2024-09-10 15:27:15 +02:00
Aaron van Geffen eb5471346a Unify min/max land height settings in terrain tab 2024-09-10 15:08:57 +02:00
Aaron van Geffen 0c4429e60f Rename baseHeight, waterLevel, landTexture, edgeTexture settings 2024-09-10 14:56:54 +02:00
Aaron van Geffen e2d05642ae Unify low/high parameters using kMaximumLandHeight 2024-09-10 14:34:46 +02:00
Aaron van Geffen b434e1bc35 Clarify height map parameters and integrate into MapGenSettings 2024-09-10 14:13:31 +02:00
Aaron van Geffen 6398c066a7 Unify generator buttons for all tabs 2024-09-10 13:51:14 +02:00
Aaron van Geffen 710fbfbf9a Make beaches around water bodies a general option for all generators 2024-09-10 12:41:28 +02:00
Aaron van Geffen 44268fd758 Make tree placement available to all generator algorithms 2024-09-10 12:17:56 +02:00
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 Morsinkandduncanspumpkin 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