Added notes about splitting gfx_draw_sprite

This commit is contained in:
Duncan 2014-05-27 16:35:11 +01:00
parent b8887876ea
commit 1aa7e33aae
1 changed files with 2 additions and 1 deletions

View File

@ -803,7 +803,8 @@ void gfx_draw_sprite(rct_drawpixelinfo *dpi, int image_id, int x, int y)
RCT2_GLOBAL(0x9ABEDE, uint32) = ebp;
}
//Some parts of rct jump into the function here
//will require splitting the function in two. Inputs image_id, palette_pointer,dpi,x,y,0x9e3cdc pointer,image_type(0xEDF81C)
ebx &= 0x7FFFF;
rct_g1_element* g1_source = &((rct_g1_element*)RCT2_ADDRESS_G1_ELEMENTS)[ebx];