2 ===========================================================================
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
26 ===========================================================================
31 #define QE_VERSION 0x0501
33 #define QE3_STYLE (WS_OVERLAPPED | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_MAXIMIZEBOX | WS_MINIMIZEBOX | WS_THICKFRAME | WS_CAPTION | WS_SYSMENU | WS_CHILD)
34 #define QE3_STYLE2 (WS_OVERLAPPED | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_MINIMIZEBOX | WS_THICKFRAME | WS_CAPTION | WS_SYSMENU)
35 #define QE3_CHILDSTYLE (WS_OVERLAPPED | WS_MINIMIZEBOX | WS_THICKFRAME | WS_CAPTION | WS_VISIBLE | WS_CHILD | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_MAXIMIZEBOX)
37 #define QE3_SPLITTER_STYLE (WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS)
41 #define QE_AUTOSAVE_INTERVAL 5 // number of minutes between autosaves
43 #define _3DFXCAMERA_WINDOW_CLASS "Q3DFXCamera"
44 #define CAMERA_WINDOW_CLASS "QCamera"
45 #define XY_WINDOW_CLASS "QXY"
46 #define Z_WINDOW_CLASS "QZ"
47 #define ENT_WINDOW_CLASS "QENT"
48 #define TEXTURE_WINDOW_CLASS "QTEX"
51 #define CWIN_SIZE (0.4)
54 #define MAX_POINTS 1024
56 #define CMD_TEXTUREWAD 60000
57 #define CMD_BSPCOMMAND 61000
73 // #define ON_EPSILON 0.01
77 #define KEY_TURNLEFT 4
78 #define KEY_TURNRIGHT 8
82 #define KEY_LOOKDOWN 128
87 #define EXCLUDE_LIGHTS 0x00000001
88 #define EXCLUDE_ENT 0x00000002
89 #define EXCLUDE_PATHS 0x00000004
90 #define EXCLUDE_DYNAMICS 0x00000008
91 #define EXCLUDE_WORLD 0x00000010
92 #define EXCLUDE_CLIP 0x00000020
93 //#define EXCLUDE_DETAIL 0x00000040
94 #define EXCLUDE_CURVES 0x00000080
95 #define INCLUDE_EASY 0x00000100
96 #define INCLUDE_NORMAL 0x00000200
97 #define INCLUDE_HARD 0x00000400
98 #define INCLUDE_DEATHMATCH 0x00000800
99 #define EXCLUDE_HINT 0x00001000
100 #define EXCLUDE_CAULK 0x00002000
101 #define EXCLUDE_ANGLES 0x00004000
102 #define EXCLUDE_VISPORTALS 0x00008000
103 #define EXCLUDE_NODRAW 0x00010000
104 #define EXCLUDE_COMBATNODES 0x00020000
105 #define EXCLUDE_TRIGGERS 0x00040000
107 #define EXCLUDE_MODELS 0x00080000
111 // menu indexes for modifying menus
115 #define MENU_TEXTURE 6
116 #define MENU_PLUGIN 11
119 // odd things not in windows header...
121 #define VK_PERIOD 190
126 //++timo moved to qertypes.h
129 #define W_CAMERA 0x0001
131 #define W_XY_OVERLAY 0x0004
133 #define W_TEXTURE 0x0010
134 #define W_Z_OVERLAY 0x0020
135 #define W_CONSOLE 0x0040
136 #define W_ENTITY 0x0080
137 #define W_CAMERA_IFON 0x0100
138 #define W_XZ 0x0200 //--| only used for patch vertex manip stuff
139 #define W_YZ 0x0400 //--|
140 #define W_ALL 0xFFFFFFFF
156 COLOR_PRECISION_CROSSHAIR,
161 #define ENTITY_WIREFRAME 0x00001
162 #define ENTITY_SKIN_MODEL 0x00010
163 #define ENTITY_SELECTED_ONLY 0x00100
164 #define ENTITY_BOXED 0x01000
167 #define ENTITY_WIRE 0x00001
168 #define ENTITY_SKINNED 0x00002