Macros | |
#define | BigFloat FloatSwap |
#define | BigLong LongSwap |
#define | BigShort ShortSwap |
#define | FloatNoSwap(l) ((float) (l)) |
#define | FloatSwap(l) _FloatSwap (l) |
#define | LittleFloat FloatNoSwap |
#define | LittleLong LongNoSwap |
#define | LittleShort ShortNoSwap |
#define | LongNoSwap(l) ((uint32_t) (l)) |
#define | LongSwap(l) _LongSwap (l) |
#define | NULL ((void *)0) |
#define | Q_FLOAT_EPSILON 1.1754943508222875079687365372222456778186655567720875215087517062784172594547271728515625e-38 |
#define | Q_MAXCHAR ((char)0x7f) |
#define | Q_MAXFLOAT 3.40282346638528859811704183484516925440e38 |
#define | Q_MAXINT ((int)0x7fffffff) |
#define | Q_MAXLONG ((int)0x7fffffff) |
#define | Q_MAXSHORT ((short)0x7fff) |
#define | Q_MINCHAR ((char)0x80) |
#define | Q_MINFLOAT -3.40282346638528859811704183484516925440e38 |
#define | Q_MININT ((int)0x80000000) |
#define | Q_MINLONG ((int)0x80000000) |
#define | Q_MINSHORT ((short)0x8000) |
#define | ShortNoSwap(l) ((uint16_t) (l)) |
#define | ShortSwap(l) _ShortSwap (l) |
Functions | |
float | _FloatNoSwap (float f) |
float | _FloatSwap (float f) |
uint32_t | _LongNoSwap (uint32_t l) |
uint32_t | _LongSwap (uint32_t l) |
uint16_t | _ShortNoSwap (uint16_t l) |
uint16_t | _ShortSwap (uint16_t l) |
byte | ReadByte (struct QFile_s *file) |
float | ReadFloat (struct QFile_s *file) |
unsigned int | ReadLong (struct QFile_s *file) |
unsigned short | ReadShort (struct QFile_s *file) |
void | WriteByte (struct QFile_s *file, int b) |
void | WriteFloat (struct QFile_s *file, float f) |
void | WriteLong (struct QFile_s *file, unsigned int l) |
void | WriteShort (struct QFile_s *file, unsigned int s) |
Variables | |
qboolean | bigendien |