Michał Janiszewski
|
2323cc1596
|
Use named casts instead of old-style casts
Change prepared with clang-tidy and google-readability-casting check
|
2020-04-22 17:09:29 +02:00 |
Tulio Leao
|
64e4a8420e
|
Use named casts on openrct2/world (#11141)
|
2020-04-17 21:08:22 +02:00 |
Michael Steenbeek
|
8a12ad8f6b
|
Fix #9719: Hacked walls in RCT1 saves are imported incorrectly (#11222)
|
2020-04-05 13:49:36 +02:00 |
Michael Steenbeek
|
c519512cfe
|
Create ObjectEntryIndex (#10980)
|
2020-03-20 19:28:39 +01:00 |
Gymnasiast
|
c9afcaa5b3
|
Fix errors
|
2020-03-05 00:09:39 +01:00 |
Gymnasiast
|
3ed7694495
|
Move tile element-specific flags
|
2020-03-04 22:01:09 +01:00 |
Gymnasiast
|
57a40c0657
|
Extend PathElement
|
2020-03-04 21:57:42 +01:00 |
Gymnasiast
|
383d5d99e1
|
Change entry index size of Small and Large scenery elements
|
2020-03-04 15:57:54 +01:00 |
Gymnasiast
|
1b38289490
|
Move scenery_update_age to SmallScenery member function
|
2020-03-04 15:48:17 +01:00 |
Tulio Leao
|
0c4623a39f
|
Replace typedef aliasing by using (#10712)
|
2020-02-17 11:43:47 +01:00 |
Michael Steenbeek
|
1690361b36
|
Increase size of ride_id_t to 16 bits
|
2020-02-16 22:21:17 +01:00 |
Gymnasiast
|
b59e37284d
|
Fix private field warning
|
2020-02-15 11:18:27 +01:00 |
Gymnasiast
|
1e6efa6eb4
|
Extend BannerIndex to 16 bits
|
2020-02-15 10:37:34 +01:00 |
Gymnasiast
|
1077bf0702
|
Make room for 255 station indexes in Entrance Element
|
2020-02-15 09:47:37 +01:00 |
Gymnasiast
|
e88ee6ee7b
|
Expand WallElement
|
2020-02-15 09:47:37 +01:00 |
Matt
|
758a7e432f
|
Use const reference instead of copy for location structures
|
2020-02-13 11:53:14 +01:00 |
Michael Steenbeek
|
723f658dbd
|
Change ride_idnew_t to 16 bit; use it in more places (#10667)
|
2020-02-10 22:41:49 +01:00 |
Michael Steenbeek
|
d798811c4a
|
Make GetWaterHeight return big Z (#10579)
* Make GetWaterHeight return big Z
* Restore > 0 [ci skip]
|
2020-01-19 15:12:48 +00:00 |
Michael Steenbeek
|
08ab15ef36
|
Fix #10313: Path furniture can be placed on level crossings
|
2020-01-05 17:59:02 +01:00 |
Tulio Leao
|
d861658669
|
Use CoordsXY on Scenery and SmallScenery (#10513)
|
2020-01-04 12:45:51 +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 |
Michael Steenbeek
|
a5700a3d07
|
Merge pull request #9959 from richard-fine/directions
Convert more code to use proper Direction symbols
|
2019-09-22 16:59:41 +02: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 |
Richard Fine
|
52b4717d85
|
Use Direction type for PathElement SlopeDirection
|
2019-09-01 16:08:01 +01:00 |
Gymnasiast
|
bb73dd0dfb
|
Refactor track element to use 16 bytes
|
2019-08-31 13:14:19 +02:00 |
Gymnasiast
|
1fead03179
|
Modify Surface tile element to use 16 bytes
|
2019-08-30 22:22:08 +02:00 |
Gymnasiast
|
f4eceaf35e
|
Modify Large Scenery tile element to use 16 bytes
|
2019-08-30 22:07:43 +02: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 |
Gymnasiast
|
7d2a7deb28
|
Fix tile element size comment [ci skip]
|
2019-08-19 18:52:30 +02:00 |
Gymnasiast
|
aae2b24a7f
|
Fix 'unused private field' warnings
|
2019-08-18 19:53:01 +02:00 |
Gymnasiast
|
26b2809175
|
Move extra padding to derived tile elements
|
2019-08-18 18:28:01 +02:00 |
Gymnasiast
|
169d2980ca
|
Properly export tile elements to S6
|
2019-08-18 18:20:56 +02:00 |
Gymnasiast
|
18844f9244
|
Fix formatting [ci skip]
|
2019-08-18 14:36:16 +02:00 |
Gymnasiast
|
255ce3f62b
|
Extend tile element size to 16 bytes
|
2019-08-18 14:03:36 +02:00 |
Ted John
|
5c07c53faf
|
Refactor get banner
|
2019-07-25 22:21:19 +01:00 |
Aaron van Geffen
|
2af13904c5
|
Update copyright notices for 2019. (#8903)
|
2019-03-17 07:16:15 +00:00 |
duncanspumpkin
|
354cce71eb
|
Introduce new functions to stop direct access
|
2019-02-27 10:49:48 +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
|
4e9d2ce764
|
Split footpath object into two internally
|
2019-01-20 21:38:38 +01:00 |
Gymnasiast
|
ad2698df0d
|
Move 'should draw path over supports' to tile element
|
2019-01-20 17:23:27 +01:00 |
Ted John
|
8701286772
|
Use new ride_id_t typedef (#8561)
|
2019-01-12 10:11:55 +00:00 |
Michael Steenbeek
|
b5317ee9e9
|
Split drawing of path and railing
|
2019-01-02 19:52:53 +01:00 |
Ted John
|
ab53c69c3c
|
Use new CanGrow method on surface element which uses object property
|
2018-12-11 23:31:06 +00:00 |
Michael Steenbeek
|
de12a8dda1
|
Import S4 elements property-by-property
|
2018-11-13 21:48:20 +01:00 |