texrect.h
1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#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