| 42 | } |
| 43 | |
| 44 | void Quake3Level::loadFromFile(const char* fileName) { |
| 45 | if (!fileName) { |
| 46 | return; |
| 47 | } |
| 48 | |
| 49 | theFileName = fileName; |
| 50 | |
| 51 | initialise(); |
| 52 | |
| 53 | #ifdef _DEBUG |
| 54 | dumpContents(); |
| 55 | #endif |
| 56 | |
| 57 | } |
| 58 | |
| 59 | // byte swapping functions |
| 60 | void SwapFourBytes(unsigned long* dw) { |