ZehMatt
fdf7adecd9
Fix #7002 : Always invalidate virtual floor regardless of selection.
2018-03-04 19:28:56 +01:00
Michael Steenbeek
c28f4987d3
Remove some entrance/exit height assumptions
2018-02-21 20:08:25 +01:00
Michael Steenbeek
ea0566a3f5
Split PeepSpawn and rct12_peep_spawn
2018-02-21 09:50:07 +01:00
Michael Steenbeek
ac0b18cde5
Replace LocationXY32
2018-02-16 16:16:49 +01:00
Michael Steenbeek
359e9ecf2d
Replace LocationXYZ32
2018-02-16 16:16:49 +01:00
Michael Steenbeek
bde913ee16
Rename SmallCoords and BigCoords
2018-02-15 22:26:50 +01:00
Michael Steenbeek
45e892e5b5
Allow passing BigCoordsXY into map_get_surface_element_at()
2018-02-15 22:26:50 +01:00
Michael Steenbeek
a2260929dd
Replace rct_xy_element with BigCoordsXYE
2018-02-15 22:26:50 +01:00
Hielke Morsink
55979a3fff
Remove and replace C typedefs
...
`typedef struct/union/enum name { ... } name_again;` is not needed whe compiling C++, moving the name at the back to be in front of the object and removing `typedef` makes it usable the very same way.
This also replaces typedefs with the using keyword. They have better readability, especially for function pointer types, and would allow more flexibility when used with templates.
2018-02-14 09:42:26 +01:00
Hielke Morsink
915dbdf869
Add button to tile inspector to make entrances usable
...
With this, entrances and exits that have been moved away from its original XY
location can be made usable. Only one entrance or exit will be usable per
station.
2018-02-06 19:09:51 +01:00
Gymnasiast
cc4f7e144a
Remove most usages of 'new Intent'
2018-02-05 23:23:26 +01:00
Gymnasiast
e3c0f6606d
Clean up Intent.{cpp,h}
...
This gets rid of the C transfer functions, add licence and does some alignment fixes
2018-02-05 23:23:26 +01:00
Marijn van der Werf
7efaf3dd80
Decrease dependency of world on windows
2018-02-01 13:59:46 +01:00
Gymnasiast
d91fd1364d
Create passageways in European Extravaganza
2018-02-01 13:52:28 +01:00
Gymnasiast
5cc21fd21b
Replace NULL with nullptr in C++ files
2018-01-29 21:33:21 +00:00
Michał Janiszewski
409a995e7f
Discard const on returned type
2018-01-18 19:06:27 +01:00
Michał Janiszewski
3ba0cc3dae
Add missed constexprs
2018-01-14 16:13:37 +01:00
Michael Steenbeek
cd5a1ba888
Compile files in world folder as C++
2018-01-11 13:25:09 +01:00
Aaron van Geffen
0527f50c7f
Take previous virtual floor area into account when invalidating.
2018-01-11 10:37:40 +01:00
Aaron van Geffen
84026529b4
Introduce new variable gMapVirtualFloorVisible to determine visibility.
...
This addresses compilation issues for projects that contain no UI code.
Also working towards better invalidation for the software renderer.
2018-01-11 10:37:40 +01:00
Aaron van Geffen
4246b84130
Invalidate virtual floor once selection has changed.
...
Cache the position of the last invalidate call to prevent a big dip in performance.
2018-01-11 10:37:40 +01:00
Jeroen D Stout
fb745d1575
Implement invalidate virtual floor tiles function
2018-01-11 10:37:40 +01:00
Jeroen D Stout
ea37c599e3
Let virtual floor set height function take visibility into account
2018-01-11 10:37:40 +01:00
Jeroen D Stout
3516cb944c
Correct check for virtual floor in map
2018-01-11 10:37:40 +01:00
Jeroen D Stout
e4b53dc68a
Add more generic virtual floor tile check
2018-01-11 10:37:40 +01:00
Jeroen D Stout
d31a911725
Add remove virtual function and clarify invalidate todo
2018-01-11 10:37:40 +01:00
Jeroen D Stout
128cff60db
Add virtual floor painting functions.
2018-01-11 10:37:40 +01:00
Michał Janiszewski
469e142c7b
Change casing of header files
2018-01-11 09:30:09 +01:00
Ted John
c3eab7ead6
Refactor window.c to C++
2018-01-07 12:39:58 +01:00
Richard Jenkins
c966faf9c2
Fix #6242 : Scenery invalidated when there is no visual change
2018-01-06 19:20:39 +00:00
Michael Steenbeek
755add6c9a
Compile localisation folder as C++
2018-01-06 18:32:25 +01:00
Michał Janiszewski
c7417e11a4
Use bool type for boolean logic
2018-01-04 15:40:52 +01:00
Michał Janiszewski
b2bc974fe7
Use nullptr where possible
2018-01-04 06:58:44 +01:00
Michael Steenbeek
91589f57c6
Compile map.c as C++
2018-01-03 20:40:51 +01:00