2 ===========================================================================
3 Copyright (C) 1997-2006 Id Software, Inc.
5 This file is part of Quake 2 Tools source code.
7 Quake 2 Tools source code is free software; you can redistribute it
8 and/or modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of the License,
10 or (at your option) any later version.
12 Quake 2 Tools source code is distributed in the hope that it will be
13 useful, 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 Quake 2 Tools source code; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 ===========================================================================
41 void Cmd_Modelname (void);
44 void Cmd_Origin (void);
45 void Cmd_ScaleUp (void);
46 void Cmd_Frame (void);
47 void Cmd_Modelname (void);
49 void Cmd_Skinsize (void);
50 void FinishModel (void);
52 void Cmd_Inverse16Table( void );
54 void Cmd_SpriteName (void);
56 void Cmd_SpriteFrame (void);
57 void FinishSprite (void);
62 void Cmd_Environment (void);
63 void Cmd_Colormap (void);
67 void Cmd_StartWad (void);
68 void Cmd_EndWad (void);
69 void Cmd_Mippal (void);
70 void Cmd_Mipdir (void);
71 void Cmd_Alphalight (void);
73 void Cmd_Video (void);
75 void RemapZero (byte *pixels, byte *palette, int width, int height);
77 void ReleaseFile (char *filename);
79 extern byte *byteimage, *lbmpalette;
80 extern int byteimagewidth, byteimageheight;
82 extern qboolean g_release; // don't grab, copy output data to new tree
83 extern char g_releasedir[1024]; // c:\quake2\baseq2, etc
84 extern qboolean g_archive; // don't grab, copy source data to new tree
85 extern qboolean do3ds;
86 extern char g_only[256]; // if set, only grab this cd
87 extern qboolean g_skipmodel; // set true when a cd is not g_only
89 extern char *trifileext;