mirror of
https://github.com/encounter/bfbb.git
synced 2026-07-09 18:19:36 -07:00
b64e2c5283
* Remove ASSIGNMENT_OPERATOR macro * Remove definitions of auto-generated assign ops
50 lines
791 B
C
50 lines
791 B
C
#ifndef BFBB_TYPES_H
|
|
#define BFBB_TYPES_H
|
|
|
|
// Note: only include this header inside BFBB-related headers/source code files.
|
|
// Don't include this in any RenderWare, system, bink, etc. files
|
|
|
|
#ifdef GAMECUBE
|
|
typedef char int8;
|
|
typedef short int16;
|
|
typedef int int32;
|
|
typedef long long int64;
|
|
|
|
typedef unsigned char uint8;
|
|
typedef unsigned short uint16;
|
|
typedef unsigned int uint32;
|
|
typedef unsigned long long uint64;
|
|
|
|
typedef float float32;
|
|
typedef double float64;
|
|
|
|
typedef long long32;
|
|
typedef unsigned long ulong32;
|
|
|
|
typedef int32 bool32;
|
|
#endif
|
|
|
|
#ifdef NULL
|
|
#undef NULL
|
|
#endif
|
|
#define NULL 0
|
|
|
|
#ifdef TRUE
|
|
#undef TRUE
|
|
#endif
|
|
#define TRUE 1
|
|
|
|
#ifdef FALSE
|
|
#undef FALSE
|
|
#endif
|
|
#define FALSE 0
|
|
|
|
#ifndef __MWERKS__
|
|
#define __declspec(x)
|
|
#define asm
|
|
#endif
|
|
|
|
#define WEAK __declspec(weak)
|
|
|
|
#endif
|