mirror of https://github.com/OpenRCT2/OpenRCT2.git
Name addresses
This commit is contained in:
parent
d78077ce22
commit
a610b372fd
|
@ -211,6 +211,10 @@
|
|||
#define RCT2_ADDRESS_MAP_ARROW_Z 0x009DEA4C
|
||||
#define RCT2_ADDRESS_MAP_ARROW_DIRECTION 0x009DEA4E
|
||||
|
||||
#define RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_X 0x009DEA52
|
||||
#define RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_Y 0x009DEA54
|
||||
#define RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_Z 0x009DEA56
|
||||
|
||||
#define RCT2_ADDRESS_COMMAND_MAP_X 0x009DEA5E
|
||||
#define RCT2_ADDRESS_COMMAND_MAP_Y 0x009DEA60
|
||||
#define RCT2_ADDRESS_COMMAND_MAP_Z 0x009DEA62
|
||||
|
|
|
@ -881,9 +881,9 @@ int sub_98199C(
|
|||
uint16 bound_box_offset_x, uint16 bound_box_offset_y, uint16 bound_box_offset_z,
|
||||
uint32 rotation
|
||||
) {
|
||||
RCT2_GLOBAL(0x009DEA52, uint16) = bound_box_offset_x;
|
||||
RCT2_GLOBAL(0x009DEA54, uint16) = bound_box_offset_y;
|
||||
RCT2_GLOBAL(0x009DEA56, uint16) = bound_box_offset_z;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_X, uint16) = bound_box_offset_x;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_Y, uint16) = bound_box_offset_y;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_Z, uint16) = bound_box_offset_z;
|
||||
|
||||
RCT2_CALLPROC_X(RCT2_ADDRESS(0x98199C, uint32_t)[get_current_rotation()],
|
||||
x_offset | (bound_box_length_z << 8),
|
||||
|
@ -1130,9 +1130,9 @@ int sub_98198C(
|
|||
uint16 bound_box_offset_x, uint16 bound_box_offset_y, uint16 bound_box_offset_z,
|
||||
uint32 rotation
|
||||
) {
|
||||
RCT2_GLOBAL(0x009DEA52, uint16) = bound_box_offset_x;
|
||||
RCT2_GLOBAL(0x009DEA54, uint16) = bound_box_offset_y;
|
||||
RCT2_GLOBAL(0x009DEA56, uint16) = bound_box_offset_z;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_X, uint16) = bound_box_offset_x;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_Y, uint16) = bound_box_offset_y;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_PAINT_BOUNDBOX_OFFSET_Z, uint16) = bound_box_offset_z;
|
||||
|
||||
RCT2_CALLPROC_X(RCT2_ADDRESS(0x0098198C, uint32)[get_current_rotation()],
|
||||
x_offset | (bound_box_length_z << 8),
|
||||
|
|
Loading…
Reference in New Issue