Michael Steenbeek
bde913ee16
Rename SmallCoords and BigCoords
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
Michael Steenbeek
a408747c4c
Use object_entry_get_type() throughout
2018-02-13 16:42:18 +01:00
Ted John
683ffcdadc
Merge pull request #7167 from IntelOrca/refactor/easy-new-object-types
...
Refactor things related to object types
2018-02-12 19:43:49 +00:00
Michał Janiszewski
3f76bd214f
Const all the painted tile elements
...
Extracted from https://github.com/OpenRCT2/OpenRCT2/pull/7036
2018-02-12 16:03:20 +01:00
Ted John
51321a71e7
Get entries directly from object manager
2018-02-12 12:48:41 +00:00
Ted John
d22572d0b9
Remove rct_object_entry_extended
2018-02-12 12:48:41 +00:00
Ted John
4d8fe051e8
Remove most usages of object_entry_groups
2018-02-12 12:48:41 +00:00
Michał Janiszewski
20f95d073a
Fix remaining uses of WC_LOADSAVE intent
2018-02-07 23:14:29 +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
Gymnasiast
778ba466c5
Remove almost every extern C block
2018-02-05 16:20:15 +01:00
Gymnasiast
5cc21fd21b
Replace NULL with nullptr in C++ files
2018-01-29 21:33:21 +00:00
Ted John
6d63729a40
Fix MSVC
2018-01-18 22:59:30 +00:00
Ted John
6a8cce710c
Refactor track_design_save.c to C++
2018-01-18 22:04:09 +00:00