scriplib.h 647 B

1234567891011121314151617181920212223242526
  1. #ifndef SCRIPLIB_H__
  2. #define SCRIPLIB_H__
  3. #if _MSC_VER >= 1000
  4. #pragma once
  5. #endif
  6. #include "cmdlib.h"
  7. #define MAXTOKEN 4096
  8. extern char g_token[MAXTOKEN];
  9. extern char g_TXcommand; // global for Quark maps texture alignment hack
  10. extern void LoadScriptFile(const char* const filename);
  11. extern void ParseFromMemory(char* buffer, int size);
  12. extern bool GetToken(bool crossline);
  13. extern void UnGetToken();
  14. extern bool TokenAvailable();
  15. #define MAX_WAD_PATHS 42
  16. extern char g_szWadPaths[MAX_WAD_PATHS][_MAX_PATH];
  17. extern int g_iNumWadPaths;
  18. #endif //**/ SCRIPLIB_H__