Go to the source code of this file.
|
| dword | PackColor (const idVec3 &color) |
| |
| void | UnpackColor (const dword color, idVec3 &unpackedColor) |
| |
| dword | PackColor (const idVec4 &color) |
| |
| void | UnpackColor (const dword color, idVec4 &unpackedColor) |
| |
| short | BigShort (short l) |
| |
| short | LittleShort (short l) |
| |
| int | BigLong (int l) |
| |
| int | LittleLong (int l) |
| |
| float | BigFloat (float l) |
| |
| float | LittleFloat (float l) |
| |
| void | BigRevBytes (void *bp, int elsize, int elcount) |
| |
| void | LittleRevBytes (void *bp, int elsize, int elcount) |
| |
| void | LittleBitField (void *bp, int elsize) |
| |
| void | Swap_Init (void) |
| |
| bool | Swap_IsBigEndian (void) |
| |
| void | SixtetsForInt (byte *out, int src) |
| |
| int | IntForSixtets (byte *in) |
| |
| template<class T > |
| ID_INLINE T | Max (T x, T y) |
| |
| template<class T > |
| ID_INLINE T | Min (T x, T y) |
| |
| #define BIT |
( |
|
num | ) |
( 1 << ( num ) ) |
Definition at line 92 of file Lib.h.
| #define MAX_STRING_CHARS 1024 |
Definition at line 95 of file Lib.h.
| #define MAX_WORLD_COORD ( 128 * 1024 ) |
Definition at line 98 of file Lib.h.
| #define MIN_WORLD_COORD ( -128 * 1024 ) |
Definition at line 99 of file Lib.h.
Definition at line 88 of file Lib.h.
| typedef unsigned char byte |
Definition at line 75 of file Lib.h.
Definition at line 77 of file Lib.h.
Definition at line 81 of file Lib.h.
Definition at line 78 of file Lib.h.
| typedef unsigned long ulong |
Definition at line 79 of file Lib.h.
| typedef unsigned short word |
Definition at line 76 of file Lib.h.
| short BigShort |
( |
short |
l | ) |
|
| short LittleShort |
( |
short |
l | ) |
|
template<class T >
| ID_INLINE T Max |
( |
T |
x, |
|
|
T |
y |
|
) |
| |
template<class T >
| ID_INLINE T Min |
( |
T |
x, |
|
|
T |
y |
|
) |
| |