]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/qedefs.h
eol style
[xonotic/netradiant.git] / radiant / qedefs.h
index 463fcc292495d26fe09e01027d90e31ef19f14d6..23a3d28b312d694c9582067cda9f5822b126d6ee 100644 (file)
-/*\r
-Copyright (C) 1999-2007 id Software, Inc. and contributors.\r
-For a list of contributors, see the accompanying CONTRIBUTORS file.\r
-\r
-This file is part of GtkRadiant.\r
-\r
-GtkRadiant is free software; you can redistribute it and/or modify\r
-it under the terms of the GNU General Public License as published by\r
-the Free Software Foundation; either version 2 of the License, or\r
-(at your option) any later version.\r
-\r
-GtkRadiant is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-GNU General Public License for more details.\r
-\r
-You should have received a copy of the GNU General Public License\r
-along with GtkRadiant; if not, write to the Free Software\r
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA\r
-*/\r
-\r
-#ifndef __QEDEFS_H__\r
-#define __QEDEFS_H__\r
-\r
-#define        _3DFXCAMERA_WINDOW_CLASS        "Q3DFXCamera"\r
-#define        CAMERA_WINDOW_CLASS     "QCamera"\r
-#define        XY_WINDOW_CLASS     "QXY"\r
-#define        Z_WINDOW_CLASS          "QZ"\r
-#define        ENT_WINDOW_CLASS        "QENT"\r
-#define        TEXTURE_WINDOW_CLASS    "QTEX"\r
-\r
-#define        ZWIN_WIDTH      40\r
-#define CWIN_SIZE      (0.4)\r
-\r
-#define        MAX_EDGES       512\r
-#define        MAX_POINTS      1024\r
-\r
-#define        CMD_TEXTUREWAD  60000\r
-#define        CMD_BSPCOMMAND  61000\r
-\r
-#define        PITCH   0\r
-#define        YAW             1\r
-#define        ROLL    2\r
-\r
-#define QE_TIMER0   1\r
-\r
-#define        PLANE_X         0\r
-#define        PLANE_Y         1\r
-#define        PLANE_Z         2\r
-#define        PLANE_ANYX      3\r
-#define        PLANE_ANYY      4\r
-#define        PLANE_ANYZ      5\r
-\r
-#define        ON_EPSILON      0.01\r
-\r
-#define        KEY_FORWARD             1\r
-#define        KEY_BACK                2\r
-#define        KEY_TURNLEFT    4\r
-#define        KEY_TURNRIGHT   8\r
-#define        KEY_LEFT                16\r
-#define        KEY_RIGHT               32\r
-#define        KEY_LOOKUP              64\r
-#define        KEY_LOOKDOWN    128\r
-#define        KEY_UP                  256\r
-#define        KEY_DOWN                512\r
-\r
-// xy.c\r
-#define EXCLUDE_WORLD           0x00000001\r
-#define EXCLUDE_ENT             0x00000002\r
-#define EXCLUDE_CURVES          0x00000004\r
-#define EXCLUDE_TRANSLUCENT     0x00000008\r
-#define EXCLUDE_LIQUIDS         0x00000010\r
-#define EXCLUDE_CAULK           0x00000020\r
-#define EXCLUDE_CLIP            0x00000040\r
-#define EXCLUDE_PATHS           0x00000080\r
-#define EXCLUDE_LIGHTS          0x00000100\r
-#define EXCLUDE_DETAILS         0x00000200\r
-#define EXCLUDE_HINTSSKIPS      0x00000400\r
-#define EXCLUDE_MODELS          0x00000800\r
-#define EXCLUDE_AREAPORTALS     0x00001000\r
-#define EXCLUDE_TRIGGERS        0x00002000\r
-#define EXCLUDE_CLUSTERPORTALS 0x00004000\r
-#define EXCLUDE_TERRAIN         0x00008000\r
-#define EXCLUDE_LIGHTGRID       0x00010000\r
-#define EXCLUDE_STRUCTURAL      0x00020000\r
-#define EXCLUDE_BOTCLIP                      0x00040000\r
-\r
-#define        INCLUDE_EASY            0x00000001\r
-#define        INCLUDE_NORMAL          0x00000002\r
-#define        INCLUDE_HARD            0x00000004\r
-#define        INCLUDE_DEATHMATCH      0x00000008\r
-#define INCLUDE_NAMES           0x00000010\r
-#define INCLUDE_COORDS          0x00000020\r
-#define INCLUDE_BLOCKS          0x00000040\r
-#define INCLUDE_ANGLES          0x00000080\r
-#define INCLUDE_PATCHBBOXES     0x00000100\r
-#define INCLUDE_PATCHWIREFRAME  0x00000200\r
-#define INCLUDE_CAMERATINT      0x00000400\r
-#define INCLUDE_MODELBOXONLY    0x00000800\r
-\r
-//\r
-// menu indexes for modifying menus\r
-//\r
-#define        MENU_VIEW               2\r
-#define        MENU_BSP                4\r
-#define        MENU_TEXTURE    6\r
-#define        MENU_PLUGIN     11\r
-\r
-// odd things not in windows header...\r
-#define        VK_COMMA                188\r
-#define        VK_PERIOD               190\r
-\r
-// ShowEntitiesAs flags\r
-// used in camera code, not menus\r
-#define ENTITY_WIREFRAME               0x00001\r
-#define ENTITY_SKIN_MODEL              0x00010\r
-#define ENTITY_SELECTED_ONLY   0x00100\r
-#define ENTITY_BOXED                   0x01000\r
-\r
-// ShowEntitiesAs menu settings .. combinations of the above settings\r
-#define ENTITY_BOX                             0x01000\r
-#define ENTITY_WIRE                            0x00001\r
-#define ENTITY_SELECTED                        0x00101\r
-#define ENTITY_SKINNED                         0x00010\r
-#define ENTITY_SKINNED_BOXED   0x01010\r
-#define ENTITY_SELECTED_SKIN   0x00110\r
-\r
-#endif\r
+/*
+Copyright (C) 1999-2007 id Software, Inc. and contributors.
+For a list of contributors, see the accompanying CONTRIBUTORS file.
+
+This file is part of GtkRadiant.
+
+GtkRadiant is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+GtkRadiant is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GtkRadiant; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
+#ifndef __QEDEFS_H__
+#define __QEDEFS_H__
+
+#define        _3DFXCAMERA_WINDOW_CLASS        "Q3DFXCamera"
+#define        CAMERA_WINDOW_CLASS     "QCamera"
+#define        XY_WINDOW_CLASS     "QXY"
+#define        Z_WINDOW_CLASS          "QZ"
+#define        ENT_WINDOW_CLASS        "QENT"
+#define        TEXTURE_WINDOW_CLASS    "QTEX"
+
+#define        ZWIN_WIDTH      40
+#define CWIN_SIZE      (0.4)
+
+#define        MAX_EDGES       512
+#define        MAX_POINTS      1024
+
+#define        CMD_TEXTUREWAD  60000
+#define        CMD_BSPCOMMAND  61000
+
+#define        PITCH   0
+#define        YAW             1
+#define        ROLL    2
+
+#define QE_TIMER0   1
+
+#define        PLANE_X         0
+#define        PLANE_Y         1
+#define        PLANE_Z         2
+#define        PLANE_ANYX      3
+#define        PLANE_ANYY      4
+#define        PLANE_ANYZ      5
+
+#define        ON_EPSILON      0.01
+
+#define        KEY_FORWARD             1
+#define        KEY_BACK                2
+#define        KEY_TURNLEFT    4
+#define        KEY_TURNRIGHT   8
+#define        KEY_LEFT                16
+#define        KEY_RIGHT               32
+#define        KEY_LOOKUP              64
+#define        KEY_LOOKDOWN    128
+#define        KEY_UP                  256
+#define        KEY_DOWN                512
+
+// xy.c
+#define EXCLUDE_WORLD           0x00000001
+#define EXCLUDE_ENT             0x00000002
+#define EXCLUDE_CURVES          0x00000004
+#define EXCLUDE_TRANSLUCENT     0x00000008
+#define EXCLUDE_LIQUIDS         0x00000010
+#define EXCLUDE_CAULK           0x00000020
+#define EXCLUDE_CLIP            0x00000040
+#define EXCLUDE_PATHS           0x00000080
+#define EXCLUDE_LIGHTS          0x00000100
+#define EXCLUDE_DETAILS         0x00000200
+#define EXCLUDE_HINTSSKIPS      0x00000400
+#define EXCLUDE_MODELS          0x00000800
+#define EXCLUDE_AREAPORTALS     0x00001000
+#define EXCLUDE_TRIGGERS        0x00002000
+#define EXCLUDE_CLUSTERPORTALS 0x00004000
+#define EXCLUDE_TERRAIN         0x00008000
+#define EXCLUDE_LIGHTGRID       0x00010000
+#define EXCLUDE_STRUCTURAL      0x00020000
+#define EXCLUDE_BOTCLIP                      0x00040000
+
+#define        INCLUDE_EASY            0x00000001
+#define        INCLUDE_NORMAL          0x00000002
+#define        INCLUDE_HARD            0x00000004
+#define        INCLUDE_DEATHMATCH      0x00000008
+#define INCLUDE_NAMES           0x00000010
+#define INCLUDE_COORDS          0x00000020
+#define INCLUDE_BLOCKS          0x00000040
+#define INCLUDE_ANGLES          0x00000080
+#define INCLUDE_PATCHBBOXES     0x00000100
+#define INCLUDE_PATCHWIREFRAME  0x00000200
+#define INCLUDE_CAMERATINT      0x00000400
+#define INCLUDE_MODELBOXONLY    0x00000800
+
+//
+// menu indexes for modifying menus
+//
+#define        MENU_VIEW               2
+#define        MENU_BSP                4
+#define        MENU_TEXTURE    6
+#define        MENU_PLUGIN     11
+
+// odd things not in windows header...
+#define        VK_COMMA                188
+#define        VK_PERIOD               190
+
+// ShowEntitiesAs flags
+// used in camera code, not menus
+#define ENTITY_WIREFRAME               0x00001
+#define ENTITY_SKIN_MODEL              0x00010
+#define ENTITY_SELECTED_ONLY   0x00100
+#define ENTITY_BOXED                   0x01000
+
+// ShowEntitiesAs menu settings .. combinations of the above settings
+#define ENTITY_BOX                             0x01000
+#define ENTITY_WIRE                            0x00001
+#define ENTITY_SELECTED                        0x00101
+#define ENTITY_SKINNED                         0x00010
+#define ENTITY_SKINNED_BOXED   0x01010
+#define ENTITY_SELECTED_SKIN   0x00110
+
+#endif