X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fparse.h;h=bf9f2be1668428ff5c26cfbdf417013554d9ea87;hb=0d48c12e320c65b3da1624a24f1dea745d107229;hp=b85d924a805f9143ba71879f59774247812c075b;hpb=830125fad042fad35dc029b6eb57c8156ad7e176;p=xonotic%2Fnetradiant.git diff --git a/radiant/parse.h b/radiant/parse.h index b85d924a..bf9f2be1 100644 --- a/radiant/parse.h +++ b/radiant/parse.h @@ -1,6 +1,6 @@ /* - Copyright (C) 1999-2007 id Software, Inc. and contributors. - For a list of contributors, see the accompanying CONTRIBUTORS file. + Copyright (C) 2001-2006, William Joseph. + All Rights Reserved. This file is part of GtkRadiant. @@ -19,16 +19,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -// parse.h -- text file parsing routines +#if !defined( INCLUDED_PARSE_H ) +#define INCLUDED_PARSE_H -#define MAXTOKEN 1024 - -extern char token[MAXTOKEN]; -extern int scriptline; - -// NOTE: added WINAPI call syntax to export these for plugins in _QERScripLibTable -void StartTokenParsing( char *data ); -qboolean GetToken( qboolean crossline ); -void UngetToken( void ); -qboolean TokenAvailable( void ); -qboolean GetTokenExtra( qboolean crossline,char *delimiters,qboolean keepdelimiter ); // Hydra: added support for GetTokenExtra() +#endif