2 Copyright (C) 1999-2006 Id Software, Inc. and contributors.
3 For a list of contributors, see the accompanying CONTRIBUTORS file.
5 This file is part of GtkRadiant.
7 GtkRadiant is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 GtkRadiant is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GtkRadiant; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #include "globaldefs.h"
34 #include "q2_threads.h"
38 #if GDEF_COMPILER_MSVC
39 #ifdef NDEBUG // Don't show in a Release build
40 #pragma warning(disable : 4305) // truncate from double to float
41 #pragma warning(disable : 4244) // conversion from double to float
42 #pragma warning(disable : 4018) // signed/unsigned mismatch
46 void Cmd_Modelname( void );
47 void Cmd_Base( void );
49 void Cmd_Origin( void );
50 void Cmd_ScaleUp( void );
51 void Cmd_Frame( void );
52 void Cmd_Modelname( void );
53 void Cmd_Skin( void );
54 void Cmd_Skinsize( void );
55 void FinishModel( void );
57 void Cmd_Inverse16Table( void );
59 void Cmd_SpriteName( void );
60 void Cmd_Load( void );
61 void Cmd_SpriteFrame( void );
62 void FinishSprite( void );
64 void Cmd_Grab( void );
67 void Cmd_Environment( void );
68 void Cmd_Colormap( void );
70 void Cmd_File( void );
72 void Cmd_StartWad( void );
73 void Cmd_EndWad( void );
74 void Cmd_Mippal( void );
75 void Cmd_Mipdir( void );
76 void Cmd_Alphalight( void );
78 void Cmd_Video( void );
80 void RemapZero( byte *pixels, byte *palette, int width, int height );
82 void ReleaseFile( char *filename );
84 extern byte *byteimage, *lbmpalette;
85 extern int byteimagewidth, byteimageheight;
87 extern qboolean g_release; // don't grab, copy output data to new tree
88 extern char g_releasedir[1024]; // c:\quake2\baseq2, etc
89 extern qboolean g_archive; // don't grab, copy source data to new tree
90 extern qboolean do3ds;
91 extern char g_only[256]; // if set, only grab this cd
92 extern qboolean g_skipmodel; // set true when a cd is not g_only
94 extern char *trifileext;