Duncan
|
c34079acee
|
Refactor LargeSceneryEntry and remove rct_scenery_entry (#14816)
|
2021-06-04 12:41:23 +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 |
|
Michał Janiszewski
|
cef1efea44
|
Move TileElementBase to its own file
|
2021-02-14 21:28:02 +01:00 |
|
Michael Steenbeek
|
d3a4c16270
|
Reserve room for tile owner
|
2021-01-29 16:56:33 +01:00 |
|
Michael Steenbeek
|
1b686816db
|
Move tile element banner functions to methods
|
2021-01-02 11:28:39 +01:00 |
|
Gymnasiast
|
d58a8d1184
|
Change tile_element_get_ride_index() to method
|
2020-11-07 12:58:32 +01:00 |
|
Michael Steenbeek
|
6b4e942a58
|
Fix #13297: Missing null check in tile_element_get_banner_index() (#13313)
|
2020-10-27 22:49:06 -03:00 |
|
Aaron van Geffen
|
7b5087f057
|
Update copyright year to 2020
|
2020-07-21 15:04:34 +02:00 |
|
Thamara Andrade
|
8ce799a72e
|
Close #12118: Prefer foward declaration of *Coords* in headers (#12142)
* Removing unnecessary world/Location includes in headers
* Prefer foward declaration of *Coords* in header files
Closes #12118
|
2020-07-06 10:10:39 -03:00 |
|
Michał Janiszewski
|
de51d97f70
|
Remove redundant unreachable breaks
|
2020-04-21 13:31:01 +02:00 |
|
Tulio Leao
|
64e4a8420e
|
Use named casts on openrct2/world (#11141)
|
2020-04-17 21:08:22 +02:00 |
|
Gymnasiast
|
ad91654a3d
|
Use big Z in more places
|
2020-03-07 21:54:47 +01:00 |
|
Michael Steenbeek
|
be13c1fc87
|
Refactor more TileCoords
|
2020-03-07 21:07:18 +01:00 |
|
Gymnasiast
|
3ed7694495
|
Move tile element-specific flags
|
2020-03-04 22:01:09 +01:00 |
|
Michael Steenbeek
|
8ca0cf52a7
|
Replace more direct accesses to base/clearance Z with getter/setter (#10454)
|
2019-12-27 15:26:40 +01:00 |
|
Gymnasiast
|
62fcbb07ca
|
Rename methods to GetBaseZ/GetClearanceZ
|
2019-12-23 20:08:37 +01:00 |
|
Gymnasiast
|
7d11858dbe
|
Create getter for GetBaseHeight()/GetClearanceHeight()
|
2019-12-23 20:05:24 +01:00 |
|
Richard Fine
|
5ff78e48c7
|
Reduce usage of GetDirectionWithOffset()
GetDirectionWithOffset(2) is the same thing as 'direction_reverse(GetDirection())', and the latter is more readable.
|
2019-09-01 18:40:08 +01:00 |
|
Gymnasiast
|
f365bc3cb7
|
Create getters and setters for occupied quadrant
|
2019-08-27 21:12:48 +02:00 |
|
Gymnasiast
|
ec5ba20992
|
Create dedicated method for SetLastForTile()
|
2019-08-25 16:13:02 +02:00 |
|
Gymnasiast
|
6e200459d3
|
Refactor some accessors to tile element type and flags fields
|
2019-08-24 22:42:47 +02:00 |
|
Ted John
|
af5daaec70
|
Fix importing and exporting of banner strings containing colour
|
2019-07-29 21:20:22 +01:00 |
|
Ted John
|
61d64ab8c5
|
Do not use user strings for banners
|
2019-07-29 19:18:16 +01:00 |
|
Ted John
|
0b4d989a67
|
Rename get_banner to GetBanner
|
2019-07-26 17:24:19 +01:00 |
|
Ted John
|
5c07c53faf
|
Refactor get banner
|
2019-07-25 22:21:19 +01:00 |
|
Ted John
|
85543bd1c8
|
Separate RCT2 and OpenRCT2 banner struct
|
2019-07-25 22:21:19 +01:00 |
|
Michael Steenbeek
|
42a1a8704d
|
Use empty() for vectors; clean up bool comparisons (#9118)
|
2019-04-20 20:39:47 +02:00 |
|
Aaron van Geffen
|
2af13904c5
|
Update copyright notices for 2019. (#8903)
|
2019-03-17 07:16:15 +00:00 |
|
duncanspumpkin
|
eb9ecea92e
|
Add IsGhost to the testpaint calls
|
2019-02-26 08:50:04 +00:00 |
|
duncanspumpkin
|
112b40910b
|
Pass a bool to the set function. Make review changes
|
2019-02-25 20:44:12 +00:00 |
|
duncanspumpkin
|
737c308e4e
|
Use IsGhost() to access ghost state
Added set and clear ghost to further prevent direct access to flags
|
2019-02-25 15:12:35 +00:00 |
|
duncanspumpkin
|
f9fe09634c
|
Move quarter tile class to the tile element header.
Refactor flags slightly
|
2019-02-25 13:51:07 +00:00 |
|
Michael Steenbeek
|
2a4215a30f
|
Create constant for SCROLLING_MODE_NONE
|
2019-02-14 22:41:48 +01:00 |
|
Ted John
|
aaacece0ea
|
Pass Ride* instead of ride_id_t
|
2019-02-12 23:29:37 +00:00 |
|
ζeh Matt
|
7d19a5bc77
|
Refactor memcpy to std::memcpy and memset to std::memset (#8408)
|
2018-12-15 22:23:31 +01:00 |
|
Michael Steenbeek
|
f8add7f62e
|
Rename rct_tile_element to TileElement
|
2018-11-01 13:53:50 +01:00 |
|
Michael Steenbeek
|
853e4c4a6a
|
Remove residual access to path ride_index field
|
2018-10-31 13:09:53 +01:00 |
|
Michael Steenbeek
|
d01b21a1ac
|
Port banner index
|
2018-09-27 22:15:04 +02:00 |
|
Michael Steenbeek
|
a8e087b560
|
Return actual entrance elements from map functions
|
2018-09-27 22:15:04 +02:00 |
|
Michael Steenbeek
|
c7eaa1ba80
|
Port entrance ride index lookup
|
2018-09-27 22:15:04 +02:00 |
|
Gymnasiast
|
07c4593d46
|
Create ClearAs function
|
2018-09-25 21:57:21 +02:00 |
|
Michael Steenbeek
|
a3e9c63fc3
|
Move GetRideIndex to struct methods
|
2018-09-25 21:57:21 +02:00 |
|
Michael Steenbeek
|
6062960390
|
Port remaining wall stuff to struct methods
|
2018-09-17 15:42:34 +02:00 |
|
Michael Steenbeek
|
533e937926
|
Create slope and colour functions for WallElement
|
2018-09-17 14:10:05 +02:00 |
|
Michael Steenbeek
|
35b4724626
|
Port large scenery to new structure
|
2018-09-16 21:34:50 +02:00 |
|
Michael Steenbeek
|
1d3baef9b7
|
Remove some C-style tile element functions
|
2018-09-16 21:34:04 +02:00 |
|
Michael Steenbeek
|
e9993f78de
|
Replace read access of small scenery entry index
|
2018-09-13 17:02:38 +02:00 |
|
Michael Steenbeek
|
a02d360df6
|
Change TileElement to use OpenLoco's structure
|
2018-09-13 15:36:32 +02:00 |
|
clang-format
|
5c55fd6132
|
clang-format world
|
2018-07-23 16:00:12 +02:00 |
|
Michael Steenbeek
|
1b08fb4e69
|
Replace our own integer types with standard ones
|
2018-06-20 17:30:40 +02:00 |
|