Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
823 B

#ifndef _SCRIPLIB_H_
#define _SCRIPLIB_H_
#define MAXTOKEN 128
extern void TL_LoadScriptFile(const char* filename);
extern void TL_SetScriptData(char* data, int length);
extern void TL_FreeScriptFile(void);
extern char* TL_GetToken(bool crossline);
extern char* TL_GetQuotedToken(bool crossline);
extern void TL_UnGetToken(void);
extern bool TL_TokenAvailable(void);
extern void TL_SaveParser(void);
extern void TL_RestoreParser(void);
extern void TL_ResetParser(void);
extern void TL_SkipRestOfLine(void);
extern bool TL_EndOfScript(void);
extern char* TL_GetRawToken(void);
extern char g_tl_token[MAXTOKEN];
extern char* g_tl_scriptbuffer;
extern char* g_tl_scriptptr;
extern char* g_tl_scriptendptr;
extern int g_tl_scriptsize; // ydnar
extern int g_tl_scriptline;
extern bool g_tl_endofscript;
#endif