REDRIVER2/src_rebuild/Game/psyx_compat.h
Ilya Shurumov 97e738ba36 - [Psy-X] include files renames
- re-arrange includes
2021-05-07 23:00:28 +06:00

32 lines
491 B
C

#ifndef PSYX_COMPAT_H
#define PSYX_COMPAT_H
// Psy-Cross compatibility header
// Necessary includes
#ifndef PSX
#include "PsyX/PsyX_public.h"
#include "PsyX/PsyX_globals.h"
#endif
// Necessary types
// It's size should match P_LEN*4
#ifdef PSX
typedef int intptr_t;
typedef u_long OTTYPE;
typedef short VERTTYPE;
#define RECT16 RECT
#else
#if defined(_M_X64) || defined(__amd64__)
typedef OT_TAG OTTYPE;
#else
typedef unsigned long long OTTYPE;
#endif
#endif
#endif // PSYX_COMPAT_H