From 1aa7e33aae55ed06024e4f987d1a2c0b4a86945e Mon Sep 17 00:00:00 2001 From: Duncan Date: Tue, 27 May 2014 16:35:11 +0100 Subject: [PATCH] Added notes about splitting gfx_draw_sprite --- src/gfx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gfx.c b/src/gfx.c index ec8f0532bc..c0ae8c3751 100644 --- a/src/gfx.c +++ b/src/gfx.c @@ -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];