67 #define P_RSHIFT_ASSIGN 1
68 #define P_LSHIFT_ASSIGN 2
70 #define P_PRECOMPMERGE 4
77 #define P_LOGIC_UNEQ 10
79 #define P_MUL_ASSIGN 11
80 #define P_DIV_ASSIGN 12
81 #define P_MOD_ASSIGN 13
82 #define P_ADD_ASSIGN 14
83 #define P_SUB_ASSIGN 15
87 #define P_BIN_AND_ASSIGN 18
88 #define P_BIN_OR_ASSIGN 19
89 #define P_BIN_XOR_ASSIGN 20
93 #define P_POINTERREF 23
108 #define P_LOGIC_NOT 36
109 #define P_LOGIC_GREATER 37
110 #define P_LOGIC_LESS 38
114 #define P_SEMICOLON 41
116 #define P_QUESTIONMARK 43
118 #define P_PARENTHESESOPEN 44
119 #define P_PARENTHESESCLOSE 45
120 #define P_BRACEOPEN 46
121 #define P_BRACECLOSE 47
122 #define P_SQBRACKETOPEN 48
123 #define P_SQBRACKETCLOSE 49
124 #define P_BACKSLASH 50
int CheckTokenString(const char *string)
const char * whiteSpaceStart_p
const char * ReadRestOfLine(idStr &out)
int GetPunctuationId(const char *p)
const char * GetFileName(void)
void void bool HadError(void) const
int ReadEscapeCharacter(char *ch)
int ReadName(idToken *token)
GLenum GLsizei GLenum format
int CheckString(const char *str) const
const char * lastScript_p
int Parse1DMatrix(int x, float *m)
const ID_TIME_T GetFileTime(void)
int GetLastWhiteSpaceStart(void) const
int SkipBracedSection(bool parseFirstBrace=true)
struct punctuation_s punctuation_t
int CheckTokenType(int type, int subtype, idToken *token)
GLuint GLuint GLsizei GLenum type
int PeekTokenString(const char *string)
float ParseFloat(bool *errorFlag=NULL)
static char baseFolder[256]
int ReadTokenOnLine(idToken *token)
int ReadPunctuation(idToken *token)
int ExpectAnyToken(idToken *token)
const int GetFileOffset(void)
const int GetLineNum(void)
void Error(const char *str,...) id_attribute((format(printf
int ExpectTokenType(int type, int subtype, idToken *token)
const char * whiteSpaceEnd_p
void SetPunctuations(const punctuation_t *p)
int PeekTokenType(int type, int subtype, idToken *token)
void UnreadToken(const idToken *token)
int LoadMemory(const char *ptr, int length, const char *name, int startLine=1)
const char * GetPunctuationFromId(int id)
int Parse3DMatrix(int z, int y, int x, float *m)
void CreatePunctuationTable(const punctuation_t *punctuations)
int ExpectTokenString(const char *string)
void void Warning(const char *str,...) id_attribute((format(printf
static void SetBaseFolder(const char *path)
int NumLinesCrossed(void)
int GetLastWhiteSpace(idStr &whiteSpace) const
GLsizei const GLcharARB const GLint * length
int ReadPrimitive(idToken *token)
int GetLastWhiteSpaceEnd(void) const
int SkipUntilString(const char *string)
int Parse2DMatrix(int y, int x, float *m)
const char * ParseBracedSection(idStr &out)
const punctuation_t * punctuations
int ReadString(idToken *token, int quote)
int ReadNumber(idToken *token)
const char * ParseRestOfLine(idStr &out)
const char * ParseBracedSectionExact(idStr &out, int tabs=-1)
int ReadToken(idToken *token)
int LoadFile(const char *filename, bool OSPath=false)