-/*\r
-Copyright (C) 1999-2007 id Software, Inc. and contributors.\r
-For a list of contributors, see the accompanying CONTRIBUTORS file.\r
-\r
-This file is part of GtkRadiant.\r
-\r
-GtkRadiant is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation; either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-GtkRadiant is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with GtkRadiant; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA\r
-*/\r
-\r
-\r
-//**************************************************************************\r
-//**\r
-//** token.h\r
-//**\r
-//**************************************************************************\r
-\r
-#ifndef __TOKEN_H__\r
-#define __TOKEN_H__\r
-\r
-#include "cmdlib.h"\r
-\r
-#ifndef TRUE\r
-#define TRUE 1\r
-#endif\r
-#ifndef FALSE\r
-#define FALSE 0\r
-#endif\r
-#ifndef YES\r
-#define YES 1\r
-#endif\r
-#ifndef NO\r
-#define NO 0\r
-#endif\r
-#define ASCII_SPACE 32\r
-#define ASCII_QUOTE 34\r
-#define ASCII_UNDERSCORE 95\r
-#define EOF_CHARACTER 127\r
-#define MAX_IDENTIFIER_LENGTH 64\r
-#define MAX_QUOTED_LENGTH 1024\r
-#define MAX_FILE_NAME_LENGTH 1024\r
-\r
-typedef enum\r
-{\r
- TK_NONE,\r
- TK_UNKNOWNCHAR,\r
- TK_EOF,\r
- TK_IDENTIFIER, // VALUE: (char *) tk_String\r
- TK_STRING, // VALUE: (char *) tk_String\r
- TK_INTNUMBER, // VALUE: (int) tk_IntNumber\r
- TK_FLOATNUMBER, // VALUE: (float) tk_FloatNumber\r
- TK_LPAREN,\r
- TK_RPAREN,\r
- TK_LBRACE,\r
- TK_RBRACE, // 10\r
- TK_LBRACKET, \r
- TK_RBRACKET,\r
- TK_COLON,\r
- TK_MESH,\r
- TK_MODEL, // 15\r
- TK_NODES,\r
- TK_ROTATION,\r
- TK_SCALING,\r
- TK_TRANSLATION,\r
- TK_POLYGONS, // 20\r
- TK_POSITION,\r
- TK_VERTEX,\r
- TK_VERTICES,\r
- TK_EDGES,\r
- TK_HRCH, // 25\r
- TK_SOFTIMAGE,\r
- TK_MATERIAL,\r
- TK_SPLINE, // 28\r
-\r
- TK_C_NAMED,\r
- TK_OBJECT, // 30\r
- TK_C_TRI, \r
- TK_C_VERTICES,\r
- TK_C_FACES,\r
- TK_C_VERTEX,\r
- TK_LIST, // 35\r
- TK_C_FACE, \r
-\r
- TK_C_HEXEN,\r
- TK_C_TRIANGLES,\r
- TK_C_VERSION,\r
- TK_FACES, // 40\r
- TK_FACE, \r
- TK_ORIGIN,\r
-\r
- TK_CLUSTERS,\r
- TK_NUM_CLUSTER_VERTICES,\r
- TK_NAME, // 45\r
- TK_CLUSTER_NAME, \r
- TK_CLUSTER_STATE,\r
-\r
- TK_ACTOR_DATA,\r
- TK_UVTEXTURE,\r
-} tokenType_t;\r
-\r
-void TK_Init(void);\r
-void TK_OpenSource(char *fileName);\r
-void TK_CloseSource(void);\r
-tokenType_t TK_Fetch(void);\r
-void TK_Require(tokenType_t tokType);\r
-void TK_FetchRequire(tokenType_t tokType);\r
-tokenType_t TK_RequireFetch(tokenType_t tokType);\r
-tokenType_t TK_FetchRequireFetch(tokenType_t tokType);\r
-tokenType_t TK_Beyond(tokenType_t tokType);\r
-void TK_BeyondRequire(tokenType_t bTok, tokenType_t rTok);\r
-tokenType_t TK_Search(tokenType_t tokType);\r
-tokenType_t TK_Get(tokenType_t tokType);\r
-\r
-extern tokenType_t tk_Token;\r
-extern int tk_Line;\r
-extern int tk_IntNumber;\r
-extern float tk_FloatNumber;\r
-extern char *tk_String;\r
-extern char tk_SourceName[MAX_FILE_NAME_LENGTH];\r
-\r
-#endif\r
+/*
+Copyright (C) 1999-2007 id Software, Inc. and contributors.
+For a list of contributors, see the accompanying CONTRIBUTORS file.
+
+This file is part of GtkRadiant.
+
+GtkRadiant is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+GtkRadiant is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GtkRadiant; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+*/
+
+
+//**************************************************************************
+//**
+//** token.h
+//**
+//**************************************************************************
+
+#ifndef __TOKEN_H__
+#define __TOKEN_H__
+
+#include "cmdlib.h"
+
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+#ifndef YES
+#define YES 1
+#endif
+#ifndef NO
+#define NO 0
+#endif
+#define ASCII_SPACE 32
+#define ASCII_QUOTE 34
+#define ASCII_UNDERSCORE 95
+#define EOF_CHARACTER 127
+#define MAX_IDENTIFIER_LENGTH 64
+#define MAX_QUOTED_LENGTH 1024
+#define MAX_FILE_NAME_LENGTH 1024
+
+typedef enum
+{
+ TK_NONE,
+ TK_UNKNOWNCHAR,
+ TK_EOF,
+ TK_IDENTIFIER, // VALUE: (char *) tk_String
+ TK_STRING, // VALUE: (char *) tk_String
+ TK_INTNUMBER, // VALUE: (int) tk_IntNumber
+ TK_FLOATNUMBER, // VALUE: (float) tk_FloatNumber
+ TK_LPAREN,
+ TK_RPAREN,
+ TK_LBRACE,
+ TK_RBRACE, // 10
+ TK_LBRACKET,
+ TK_RBRACKET,
+ TK_COLON,
+ TK_MESH,
+ TK_MODEL, // 15
+ TK_NODES,
+ TK_ROTATION,
+ TK_SCALING,
+ TK_TRANSLATION,
+ TK_POLYGONS, // 20
+ TK_POSITION,
+ TK_VERTEX,
+ TK_VERTICES,
+ TK_EDGES,
+ TK_HRCH, // 25
+ TK_SOFTIMAGE,
+ TK_MATERIAL,
+ TK_SPLINE, // 28
+
+ TK_C_NAMED,
+ TK_OBJECT, // 30
+ TK_C_TRI,
+ TK_C_VERTICES,
+ TK_C_FACES,
+ TK_C_VERTEX,
+ TK_LIST, // 35
+ TK_C_FACE,
+
+ TK_C_HEXEN,
+ TK_C_TRIANGLES,
+ TK_C_VERSION,
+ TK_FACES, // 40
+ TK_FACE,
+ TK_ORIGIN,
+
+ TK_CLUSTERS,
+ TK_NUM_CLUSTER_VERTICES,
+ TK_NAME, // 45
+ TK_CLUSTER_NAME,
+ TK_CLUSTER_STATE,
+
+ TK_ACTOR_DATA,
+ TK_UVTEXTURE,
+} tokenType_t;
+
+void TK_Init(void);
+void TK_OpenSource(char *fileName);
+void TK_CloseSource(void);
+tokenType_t TK_Fetch(void);
+void TK_Require(tokenType_t tokType);
+void TK_FetchRequire(tokenType_t tokType);
+tokenType_t TK_RequireFetch(tokenType_t tokType);
+tokenType_t TK_FetchRequireFetch(tokenType_t tokType);
+tokenType_t TK_Beyond(tokenType_t tokType);
+void TK_BeyondRequire(tokenType_t bTok, tokenType_t rTok);
+tokenType_t TK_Search(tokenType_t tokType);
+tokenType_t TK_Get(tokenType_t tokType);
+
+extern tokenType_t tk_Token;
+extern int tk_Line;
+extern int tk_IntNumber;
+extern float tk_FloatNumber;
+extern char *tk_String;
+extern char tk_SourceName[MAX_FILE_NAME_LENGTH];
+
+#endif