mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #1668 from janisozaur/develop
sub_0x68615B doesn't really take any params
This commit is contained in:
commit
e5aeb8dc38
|
@ -608,10 +608,9 @@ void viewport_render(rct_drawpixelinfo *dpi, rct_viewport *viewport, int left, i
|
|||
/**
|
||||
*
|
||||
* rct2: 0x0068615B
|
||||
* ebp: ebp
|
||||
*/
|
||||
void sub_0x68615B(int ebp){
|
||||
RCT2_GLOBAL(0xEE7888, uint32) = ebp;
|
||||
void painter_setup(){
|
||||
RCT2_GLOBAL(0xEE7888, uint32) = 0x00EE788C;
|
||||
RCT2_GLOBAL(0xF1AD28, uint32) = 0;
|
||||
RCT2_GLOBAL(0xF1AD2C, uint32) = 0;
|
||||
uint8* edi = RCT2_ADDRESS(0xF1A50C, uint8);
|
||||
|
@ -2200,7 +2199,7 @@ void viewport_paint(rct_viewport* viewport, rct_drawpixelinfo* dpi, int left, in
|
|||
RCT2_GLOBAL(0xEE7880, uint32) = 0xF1A4CC;
|
||||
RCT2_GLOBAL(0x140E9A8, uint32) = (int)dpi2;
|
||||
int ebp = 0, ebx = 0, esi = 0, ecx = 0;
|
||||
sub_0x68615B(0xEE788C); //Memory copy
|
||||
painter_setup();
|
||||
viewport_paint_setup();
|
||||
sub_688217();
|
||||
sub_688485();
|
||||
|
@ -2585,7 +2584,7 @@ void get_map_coordinates_from_pos(int screenX, int screenY, int flags, sint16 *x
|
|||
dpi->width = 1;
|
||||
RCT2_GLOBAL(0xEE7880, uint32_t) = 0xF1A4CC;
|
||||
RCT2_GLOBAL(0x140E9A8, rct_drawpixelinfo*) = dpi;
|
||||
sub_0x68615B(0xEE788C);
|
||||
painter_setup();
|
||||
viewport_paint_setup();
|
||||
sub_688217();
|
||||
sub_68862C();
|
||||
|
|
|
@ -127,7 +127,7 @@ void sub_68A15E(int screenX, int screenY, short *x, short *y, int *direction, rc
|
|||
void viewport_interaction_remove_park_entrance(rct_map_element *mapElement, int x, int y);
|
||||
|
||||
void sub_68B2B7(int x, int y);
|
||||
void sub_0x68615B(int ebp);
|
||||
void painter_setup();
|
||||
void sub_688485();
|
||||
void sub_688217();
|
||||
|
||||
|
|
|
@ -2185,7 +2185,7 @@ static void sub_6CBCE2(
|
|||
trackDirection &= 3;
|
||||
|
||||
RCT2_GLOBAL(0x00EE7880, uint32) = 0x00F1A4CC;
|
||||
sub_0x68615B(0x00EE788C);
|
||||
painter_setup();
|
||||
|
||||
ride = GET_RIDE(rideIndex);
|
||||
|
||||
|
|
Loading…
Reference in New Issue