2 Copyright (C) 1999-2007 id Software, Inc. and contributors.
\r
3 For a list of contributors, see the accompanying CONTRIBUTORS file.
\r
5 This file is part of GtkRadiant.
\r
7 GtkRadiant is free software; you can redistribute it and/or modify
\r
8 it under the terms of the GNU General Public License as published by
\r
9 the Free Software Foundation; either version 2 of the License, or
\r
10 (at your option) any later version.
\r
12 GtkRadiant is distributed in the hope that it will be useful,
\r
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
15 GNU General Public License for more details.
\r
17 You should have received a copy of the GNU General Public License
\r
18 along with GtkRadiant; if not, write to the Free Software
\r
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
\r
22 #ifndef __QEDEFS_H__
\r
23 #define __QEDEFS_H__
\r
25 #define _3DFXCAMERA_WINDOW_CLASS "Q3DFXCamera"
\r
26 #define CAMERA_WINDOW_CLASS "QCamera"
\r
27 #define XY_WINDOW_CLASS "QXY"
\r
28 #define Z_WINDOW_CLASS "QZ"
\r
29 #define ENT_WINDOW_CLASS "QENT"
\r
30 #define TEXTURE_WINDOW_CLASS "QTEX"
\r
32 #define ZWIN_WIDTH 40
\r
33 #define CWIN_SIZE (0.4)
\r
35 #define MAX_EDGES 512
\r
36 #define MAX_POINTS 1024
\r
38 #define CMD_TEXTUREWAD 60000
\r
39 #define CMD_BSPCOMMAND 61000
\r
50 #define PLANE_ANYX 3
\r
51 #define PLANE_ANYY 4
\r
52 #define PLANE_ANYZ 5
\r
54 #define ON_EPSILON 0.01
\r
56 #define KEY_FORWARD 1
\r
58 #define KEY_TURNLEFT 4
\r
59 #define KEY_TURNRIGHT 8
\r
61 #define KEY_RIGHT 32
\r
62 #define KEY_LOOKUP 64
\r
63 #define KEY_LOOKDOWN 128
\r
65 #define KEY_DOWN 512
\r
68 #define EXCLUDE_WORLD 0x00000001
\r
69 #define EXCLUDE_ENT 0x00000002
\r
70 #define EXCLUDE_CURVES 0x00000004
\r
71 #define EXCLUDE_TRANSLUCENT 0x00000008
\r
72 #define EXCLUDE_LIQUIDS 0x00000010
\r
73 #define EXCLUDE_CAULK 0x00000020
\r
74 #define EXCLUDE_CLIP 0x00000040
\r
75 #define EXCLUDE_PATHS 0x00000080
\r
76 #define EXCLUDE_LIGHTS 0x00000100
\r
77 #define EXCLUDE_DETAILS 0x00000200
\r
78 #define EXCLUDE_HINTSSKIPS 0x00000400
\r
79 #define EXCLUDE_MODELS 0x00000800
\r
80 #define EXCLUDE_AREAPORTALS 0x00001000
\r
81 #define EXCLUDE_TRIGGERS 0x00002000
\r
82 #define EXCLUDE_CLUSTERPORTALS 0x00004000
\r
83 #define EXCLUDE_TERRAIN 0x00008000
\r
84 #define EXCLUDE_LIGHTGRID 0x00010000
\r
85 #define EXCLUDE_STRUCTURAL 0x00020000
\r
86 #define EXCLUDE_BOTCLIP 0x00040000
\r
88 #define INCLUDE_EASY 0x00000001
\r
89 #define INCLUDE_NORMAL 0x00000002
\r
90 #define INCLUDE_HARD 0x00000004
\r
91 #define INCLUDE_DEATHMATCH 0x00000008
\r
92 #define INCLUDE_NAMES 0x00000010
\r
93 #define INCLUDE_COORDS 0x00000020
\r
94 #define INCLUDE_BLOCKS 0x00000040
\r
95 #define INCLUDE_ANGLES 0x00000080
\r
96 #define INCLUDE_PATCHBBOXES 0x00000100
\r
97 #define INCLUDE_PATCHWIREFRAME 0x00000200
\r
98 #define INCLUDE_CAMERATINT 0x00000400
\r
99 #define INCLUDE_MODELBOXONLY 0x00000800
\r
102 // menu indexes for modifying menus
\r
104 #define MENU_VIEW 2
\r
106 #define MENU_TEXTURE 6
\r
107 #define MENU_PLUGIN 11
\r
109 // odd things not in windows header...
\r
110 #define VK_COMMA 188
\r
111 #define VK_PERIOD 190
\r
113 // ShowEntitiesAs flags
\r
114 // used in camera code, not menus
\r
115 #define ENTITY_WIREFRAME 0x00001
\r
116 #define ENTITY_SKIN_MODEL 0x00010
\r
117 #define ENTITY_SELECTED_ONLY 0x00100
\r
118 #define ENTITY_BOXED 0x01000
\r
120 // ShowEntitiesAs menu settings .. combinations of the above settings
\r
121 #define ENTITY_BOX 0x01000
\r
122 #define ENTITY_WIRE 0x00001
\r
123 #define ENTITY_SELECTED 0x00101
\r
124 #define ENTITY_SKINNED 0x00010
\r
125 #define ENTITY_SKINNED_BOXED 0x01010
\r
126 #define ENTITY_SELECTED_SKIN 0x00110
\r