texrect.h 1.66 KB
#ifndef __texrect__
#define __texrect__

#define MULTIBIT_ALPHA 0,0,0,TEXEL0,0,0,0,TEXEL1

extern void drawTexRectCI(void* texMem, 
                 u32 txlfmt, u32 txlsz, 
                 u32 texwd, u32 texht, 
                 u32 tilewd, u32 tileht, 
                 s32 dsdx, s32 dtdy, 
                 u32 w, u32 h, 
                 f32 posx, f32 posy);

extern void drawTexRect(void* texMem, 
                 u32 txlfmt, u32 txlsz, 
                 u32 texwd, u32 texht, 
                 u32 tilewd, u32 tileht, 
                 s32 dsdx, s32 dtdy, 
                 u32 w, u32 h, 
                 f32 posx, f32 posy);

extern void drawTexRect_logo(void* texMem, 
                 u32 txlfmt, u32 txlsz, 
                 u32 texwd, u32 texht, 
                 u32 tilewd, u32 tileht, 
                 s32 dsdx, s32 dtdy, 
                 u32 w, u32 h, 
                 f32 posx, f32 posy);

extern void drawTexRectScale(void* texMem, 
                 u32 txlfmt, u32 txlsz, 
                 u32 texwd, u32 texht, 
                 u32 tilewd, u32 tileht, 
                 s32 dsdx, s32 dtdy, 
                 u32 w, u32 h, 
                 f32 posx, f32 posy);

extern void drawTexRectSmooth(void* texMem, void* texAlpha,
                               u32 txlfmt, u32 txlsz, 
                               u32 alphafmt, u32 alphasz,
                               u32 texwd, u32 texht, 
                               u32 tilewd, u32 tileht, 
                               u32 count,
                               s32 *dsdx, s32 *dtdy, 
                               u32 w, u32 h, 
                               f32 *posx, f32 *posy );

extern void show_healthad();
#endif