1234567891011121314151617181920212223242526 |
- #ifndef SCRIPLIB_H__
- #define SCRIPLIB_H__
- #if _MSC_VER >= 1000
- #pragma once
- #endif
- #include "cmdlib.h"
- #define MAXTOKEN 4096
- extern char g_token[MAXTOKEN];
- extern char g_TXcommand; // global for Quark maps texture alignment hack
- extern void LoadScriptFile(const char* const filename);
- extern void ParseFromMemory(char* buffer, int size);
- extern bool GetToken(bool crossline);
- extern void UnGetToken();
- extern bool TokenAvailable();
- #define MAX_WAD_PATHS 42
- extern char g_szWadPaths[MAX_WAD_PATHS][_MAX_PATH];
- extern int g_iNumWadPaths;
- #endif //**/ SCRIPLIB_H__
|