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 ===========================================================================
26 #define QE_VERSION 0x0401
28 #define QE3_STYLE (WS_OVERLAPPED| WS_CAPTION | WS_THICKFRAME | \
29 /* WS_MINIMIZEBOX | */ WS_MAXIMIZEBOX | WS_CLIPSIBLINGS | \
30 WS_CLIPCHILDREN | WS_CHILD)
32 #define QE_AUTOSAVE_INTERVAL 5 // number of minutes between autosaves
34 #define CAMERA_WINDOW_CLASS "QCamera"
35 #define XY_WINDOW_CLASS "QXY"
36 #define Z_WINDOW_CLASS "QZ"
37 #define ENT_WINDOW_CLASS "QENT"
40 #define CWIN_SIZE (0.4)
43 #define MAX_POINTS 512
45 #define CMD_TEXTUREWAD 60000
46 #define CMD_BSPCOMMAND 61000
61 #define ON_EPSILON 0.01
65 #define KEY_TURNLEFT 4
66 #define KEY_TURNRIGHT 8
70 #define KEY_LOOKDOWN 128
75 #define EXCLUDE_LIGHTS 1
77 #define EXCLUDE_PATHS 4
78 #define EXCLUDE_WATER 8
79 #define EXCLUDE_WORLD 16
80 #define EXCLUDE_CLIP 32
81 #define EXCLUDE_DETAIL 64
85 // menu indexes for modifying menus
89 #define MENU_TEXTURE 6
92 // odd things not in windows header...
99 #define W_CAMERA 0x0001
101 #define W_XY_OVERLAY 0x0004
103 #define W_TEXTURE 0x0010
104 #define W_Z_OVERLAY 0x0020
105 #define W_CONSOLE 0x0040
106 #define W_ENTITY 0x0080
107 #define W_ALL 0xFFFFFFFF
109 #define COLOR_TEXTUREBACK 0
110 #define COLOR_GRIDBACK 1
111 #define COLOR_GRIDMINOR 2
112 #define COLOR_GRIDMAJOR 3
113 #define COLOR_CAMERABACK 4
114 #define COLOR_ENTITY 5