mirror of
https://github.com/nzp-team/vhlt.git
synced 2024-11-28 06:42:25 +00:00
27 lines
673 B
C
27 lines
673 B
C
|
#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__
|