]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - tools/quake2/qdata/qdata.h
eol style
[xonotic/netradiant.git] / tools / quake2 / qdata / qdata.h
1 // qdata.h
2
3
4 #include <stdlib.h>
5 #include <stdio.h>
6 #include <math.h>
7 #include <string.h>
8 #include <sys/stat.h>
9
10 #include "cmdlib.h"
11 #include "scriplib.h"
12 #include "mathlib.h"
13 #include "trilib.h"
14 #include "lbmlib.h"
15 #include "q2_threads.h"
16 #include "l3dslib.h"
17 #include "bspfile.h"
18
19 #ifdef _WIN32
20         #ifdef NDEBUG                                                   // Don't show in a Release build
21                 #pragma warning(disable : 4305)     // truncate from double to float
22                 #pragma warning(disable : 4244)     // conversion from double to float
23                 #pragma warning(disable : 4018)     // signed/unsigned mismatch
24         #endif
25 #endif
26
27 void Cmd_Modelname (void);
28 void Cmd_Base (void);
29 void Cmd_Cd (void);
30 void Cmd_Origin (void);
31 void Cmd_ScaleUp (void);
32 void Cmd_Frame (void);
33 void Cmd_Modelname (void);
34 void Cmd_Skin (void);
35 void Cmd_Skinsize (void);
36 void FinishModel (void);
37
38 void Cmd_Inverse16Table( void );
39
40 void Cmd_SpriteName (void);
41 void Cmd_Load (void);
42 void Cmd_SpriteFrame (void);
43 void FinishSprite (void);
44
45 void Cmd_Grab (void);
46 void Cmd_Raw (void);
47 void Cmd_Mip (void);
48 void Cmd_Environment (void);
49 void Cmd_Colormap (void);
50
51 void Cmd_File (void);
52 void Cmd_Dir (void);
53 void Cmd_StartWad (void);
54 void Cmd_EndWad (void);
55 void Cmd_Mippal (void);
56 void Cmd_Mipdir (void);
57 void Cmd_Alphalight (void);
58
59 void Cmd_Video (void);
60
61 void RemapZero (byte *pixels, byte *palette, int width, int height);
62
63 void ReleaseFile (char *filename);
64
65 extern  byte            *byteimage, *lbmpalette;
66 extern  int                     byteimagewidth, byteimageheight;
67
68 extern  qboolean        g_release;                      // don't grab, copy output data to new tree
69 extern  char            g_releasedir[1024];     // c:\quake2\baseq2, etc
70 extern  qboolean        g_archive;                      // don't grab, copy source data to new tree
71 extern  qboolean        do3ds;
72 extern  char            g_only[256];            // if set, only grab this cd
73 extern  qboolean        g_skipmodel;            // set true when a cd is not g_only
74
75 extern  char            *trifileext;