1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Add function structure

This commit is contained in:
Marijn van der Werf
2016-04-20 09:22:49 +02:00
parent 46c0839cb0
commit 54600d801d

View File

@@ -2018,6 +2018,50 @@ void viewport_surface_paint_setup(uint8 direction, uint16 height, rct_map_elemen
sub_68818E(ebx | ebp, 0, 0);
}
}
if (RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_SCENARIO_EDITOR) {
// loc_660DB2:
}
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS, uint16) & VIEWPORT_FLAG_LAND_OWNERSHIP) {
// loc_660E9A:
}
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS, uint16) & VIEWPORT_FLAG_CONSTRUCTION_RIGHTS) {
// loc_660F24:
}
if (RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_FLAGS, uint8) & 1) {
// loc_660FB8:
}
if (RCT2_GLOBAL(RCT2_ADDRESS_MAP_SELECTION_FLAGS, uint8) & 2) {
// loc_661132:
}
if (RCT2_GLOBAL(0x9E3296, uint16) == 0) {
// loc_661194:
}
if (RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS, uint16) & VIEWPORT_FLAG_UNDERGROUND_INSIDE) {
// loc_6611D8:
}
if ((RCT2_GLOBAL(RCT2_ADDRESS_CURRENT_VIEWPORT_FLAGS, uint16) & VIEWPORT_FLAG_HIDE_VERTICAL) == 0) {
// loc_66122C:
}
if (mapElement->properties.surface.terrain & 0x1F) {
// loc_6615A9: (water height)
}
if (mapElement->properties.surface.ownership & 0x0F) {
// loc_66195F:
}
RCT2_GLOBAL(0x0141E9DB, uint8) |= 1;
}
/**