27 #ifndef ICB_PSX_PCHMD_H 28 #define ICB_PSX_PCHMD_H 30 #include "engines/icb/gfx/psx_pcdefines.h" 34 const int32 HMD_FUS3 = 0x00000048;
35 const int32 HMD_FTS3 = 0x00000049;
36 const int32 HMD_GUS3 = 0x0000004c;
37 const int32 HMD_GTS3 = 0x0000004d;
39 const int32 HMD_FUL3 = 0x00000008;
40 const int32 HMD_FTL3 = 0x00000009;
41 const int32 HMD_GUL3 = 0x0000000c;
42 const int32 HMD_GTL3 = 0x0000000d;
44 const int32 TRIANGLE = 0x00000666;
46 const int32 HMD_FUS3_SIZE = 3;
47 const int32 HMD_GUS3_SIZE = 5;
48 const int32 HMD_FTS3_SIZE = 5;
49 const int32 HMD_GTS3_SIZE = 7;
50 const int32 HMD_FUL3_SIZE = 3;
51 const int32 HMD_GUL3_SIZE = 4;
52 const int32 HMD_FTL3_SIZE = 5;
53 const int32 HMD_GTL3_SIZE = 6;
54 const int32 TRIANGLE_SIZE = 2;
56 int32 decodeHMDpolygon(uint32 primType, uint32 pcplatform, uint32 *&pp, uint32 &code0, uint32 &r0, uint32 &g0, uint32 &b0, uint32 &code1, uint32 &r1, uint32 &g1, uint32 &b1, uint32 &code2, uint32 &r2,
57 uint32 &g2, uint32 &b2, uint32 &u0, uint32 &v0, uint32 &u1, uint32 &v1, uint32 &u2, uint32 &v2, uint32 &cba, uint32 &cx, uint32 &cy, uint32 &tsb, uint32 &tp, uint32 &n0, uint32 &vert0,
58 uint32 &n1, uint32 &vert1, uint32 &n2, uint32 &vert2, uint32 dump);
73 uint8 r0, g0, b0, code0;
91 uint8 r0, g0, b0, code0;
92 uint8 r1, g1, b1, code1;
93 uint8 r2, g2, b2, code2;
113 uint8 r0, g0, b0, code0;
140 uint8 r0, g0, b0, code0;
141 uint8 r1, g1, b1, code1;
142 uint8 r2, g2, b2, code2;
163 uint8 r0, g0, b0, code0;
180 uint8 r0, g0, b0, code0;
237 #if (_PSX == 0) || (_PSX_ON_PC == 1) 241 #endif // #if (_PSX==0) || (_PSX_ON_PC==1) 245 #endif // #ifndef PSX_PCHMD_H Definition: px_capri_maths.h:53
Definition: psx_pchmd.h:199
Definition: psx_pchmd.h:162
Definition: psx_pchmd.h:112
Definition: psx_pchmd.h:72
Definition: psx_pchmd.h:225
Definition: psx_pchmd.h:179
Definition: psx_pchmd.h:139
Definition: psx_pchmd.h:90
Definition: px_capri_maths.h:38