27 #ifndef ICB_PSX_PCDEFINES_H 28 #define ICB_PSX_PCDEFINES_H 30 #include "common/types.h" 34 typedef struct MATRIX {
82 #define PSX_SCREEN_WIDTH 512 83 #define PSX_SCREEN_HEIGHT 240 86 #define __nint__(x) (((x) > 0) ? int((x) + 0.5) : int((x)-0.5)) 88 #define getTPage(tp, abr, x, y) ((((tp)&0x3) << 7) | (((abr)&0x3) << 5) | (((y)&0x100) >> 4) | (((x)&0x3ff) >> 6) | (((y)&0x200) << 2)) 90 #define getClut(x, y) ((y << 6) | ((x >> 4) & 0x3f)) 94 #endif // __PSX_PcDefines_H__ Definition: px_capri_maths.h:53
Definition: psx_pcdefines.h:41
Definition: psx_pcdefines.h:72
Definition: px_capri_maths.h:61
Definition: px_capri_maths.h:46
Definition: psx_pcdefines.h:62