2007-11-04 03:34:51 +00:00
|
|
|
/*
|
2012-03-17 20:01:54 +00:00
|
|
|
Copyright (C) 1999-2007 id Software, Inc. and contributors.
|
|
|
|
For a list of contributors, see the accompanying CONTRIBUTORS file.
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
This file is part of GtkRadiant.
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
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.
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
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.
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
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
|
|
|
|
*/
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
#ifndef __QEDEFS_H__
|
|
|
|
#define __QEDEFS_H__
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
#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"
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
#define ZWIN_WIDTH 40
|
|
|
|
#define CWIN_SIZE ( 0.4 )
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
#define MAX_EDGES 512
|
|
|
|
#define MAX_POINTS 1024
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
#define CMD_TEXTUREWAD 60000
|
|
|
|
#define CMD_BSPCOMMAND 61000
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
#define PITCH 0
|
|
|
|
#define YAW 1
|
|
|
|
#define ROLL 2
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
#define QE_TIMER0 1
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
#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
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
// 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
|
2012-03-17 20:01:54 +00:00
|
|
|
#define EXCLUDE_CLUSTERPORTALS 0x00004000
|
2007-11-04 03:34:51 +00:00
|
|
|
#define EXCLUDE_TERRAIN 0x00008000
|
|
|
|
#define EXCLUDE_LIGHTGRID 0x00010000
|
|
|
|
#define EXCLUDE_STRUCTURAL 0x00020000
|
2012-03-17 20:01:54 +00:00
|
|
|
#define EXCLUDE_BOTCLIP 0x00040000
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
#define INCLUDE_EASY 0x00000001
|
|
|
|
#define INCLUDE_NORMAL 0x00000002
|
|
|
|
#define INCLUDE_HARD 0x00000004
|
|
|
|
#define INCLUDE_DEATHMATCH 0x00000008
|
2007-11-04 03:34:51 +00:00
|
|
|
#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
|
|
|
|
//
|
2012-03-17 20:01:54 +00:00
|
|
|
#define MENU_VIEW 2
|
|
|
|
#define MENU_BSP 4
|
|
|
|
#define MENU_TEXTURE 6
|
|
|
|
#define MENU_PLUGIN 11
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
// odd things not in windows header...
|
2012-03-17 20:01:54 +00:00
|
|
|
#define VK_COMMA 188
|
|
|
|
#define VK_PERIOD 190
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
// ShowEntitiesAs flags
|
|
|
|
// used in camera code, not menus
|
2012-03-17 20:01:54 +00:00
|
|
|
#define ENTITY_WIREFRAME 0x00001
|
|
|
|
#define ENTITY_SKIN_MODEL 0x00010
|
|
|
|
#define ENTITY_SELECTED_ONLY 0x00100
|
|
|
|
#define ENTITY_BOXED 0x01000
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
// ShowEntitiesAs menu settings .. combinations of the above settings
|
2012-03-17 20:01:54 +00:00
|
|
|
#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
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
#endif
|