29 #include "../../idlib/precompiled.h"
34 #include "../../game/script/Script_Program.h"
35 #include "../../ui/Window.h"
36 #include "../../ui/UserInterfaceLocal.h"
107 if ( buffer ==
NULL )
132 if(gamedir.
Length() > 0) {
134 idStr scriptFile =
va(
"script/%s_main.script", gamedir.
c_str());
147 if ( !qpath.
Cmp ( filename ) )
idUserInterfaceLocal * mInterface
bool CompileText(const char *source, const char *text, bool console)
assert(prefInfo.fullscreenBtn)
int Cmp(const char *text) const
idCVarSystem * cvarSystem
statement_t & GetStatement(int index)
virtual int ReadFile(const char *relativePath, void **buffer, ID_TIME_T *timestamp=NULL)=0
idFileSystem * fileSystem
void CompileFile(const char *filename)
virtual void FreeFile(void *buffer)=0
idStr & BackSlashesToSlashes(void)
void FinishCompilation(void)
const char * GetFilename(int num)
virtual const char * GetCVarString(const char *name) const =0
bool IsLineCode(int linenumber)
bool IsFileModified(bool updateTime=false)
unsigned short linenumber
bool Load(const char *filename)
const char * c_str(void) const
char * va(const char *fmt,...)
virtual const char * OSPathToRelativePath(const char *OSPath)=0
void BeginCompilation(void)