Files

50 lines
791 B
C
Raw Permalink Normal View History

2020-09-30 21:40:52 -05:00
#ifndef BFBB_TYPES_H
#define BFBB_TYPES_H
2021-04-09 06:30:25 -05:00
// Note: only include this header inside BFBB-related headers/source code files.
// Don't include this in any RenderWare, system, bink, etc. files
2020-09-30 21:40:52 -05:00
#ifdef GAMECUBE
2020-10-02 19:00:44 -05:00
typedef char int8;
typedef short int16;
typedef int int32;
typedef long long int64;
2020-09-30 21:40:52 -05:00
2020-10-02 19:00:44 -05:00
typedef unsigned char uint8;
typedef unsigned short uint16;
2020-09-30 21:40:52 -05:00
typedef unsigned int uint32;
2020-10-02 19:00:44 -05:00
typedef unsigned long long uint64;
2020-09-30 21:40:52 -05:00
2020-10-02 19:00:44 -05:00
typedef float float32;
typedef double float64;
2020-09-30 21:40:52 -05:00
2020-10-02 19:00:44 -05:00
typedef long long32;
typedef unsigned long ulong32;
2020-09-30 21:40:52 -05:00
typedef int32 bool32;
#endif
2020-10-02 11:05:47 -05:00
#ifdef NULL
#undef NULL
#endif
2020-10-02 19:17:40 -05:00
#define NULL 0
2020-10-23 11:49:15 -05:00
#ifdef TRUE
#undef TRUE
#endif
#define TRUE 1
#ifdef FALSE
#undef FALSE
#endif
#define FALSE 0
2021-01-10 17:09:55 -06:00
#ifndef __MWERKS__
#define __declspec(x)
2021-02-07 07:33:50 -06:00
#define asm
2021-01-10 17:09:55 -06:00
#endif
2021-02-07 18:59:03 -06:00
#define WEAK __declspec(weak)
2024-06-21 09:25:57 -04:00
#endif