Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

aas_cfg.h

Go to the documentation of this file.
00001 /*
00002 ===========================================================================
00003 Copyright (C) 1999-2005 Id Software, Inc.
00004 
00005 This file is part of Quake III Arena source code.
00006 
00007 Quake III Arena source code is free software; you can redistribute it
00008 and/or modify it under the terms of the GNU General Public License as
00009 published by the Free Software Foundation; either version 2 of the License,
00010 or (at your option) any later version.
00011 
00012 Quake III Arena source code is distributed in the hope that it will be
00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015 GNU General Public License for more details.
00016 
00017 You should have received a copy of the GNU General Public License
00018 along with Foobar; if not, write to the Free Software
00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00020 ===========================================================================
00021 */
00022 
00023 #define BBOXFL_GROUNDED         1   //bounding box only valid when on ground
00024 #define BBOXFL_NOTGROUNDED      2   //bounding box only valid when NOT on ground
00025 
00026 typedef struct cfg_s
00027 {
00028     int numbboxes;                      //number of bounding boxes
00029     aas_bbox_t bboxes[AAS_MAX_BBOXES];  //all the bounding boxes
00030     int allpresencetypes;               //or of all presence types
00031     // aas settings
00032     vec3_t phys_gravitydirection;
00033     float phys_friction;
00034     float phys_stopspeed;
00035     float phys_gravity;
00036     float phys_waterfriction;
00037     float phys_watergravity;
00038     float phys_maxvelocity;
00039     float phys_maxwalkvelocity;
00040     float phys_maxcrouchvelocity;
00041     float phys_maxswimvelocity;
00042     float phys_walkaccelerate;
00043     float phys_airaccelerate;
00044     float phys_swimaccelerate;
00045     float phys_maxstep;
00046     float phys_maxsteepness;
00047     float phys_maxwaterjump;
00048     float phys_maxbarrier;
00049     float phys_jumpvel;
00050     float phys_falldelta5;
00051     float phys_falldelta10;
00052     float rs_waterjump;
00053     float rs_teleport;
00054     float rs_barrierjump;
00055     float rs_startcrouch;
00056     float rs_startgrapple;
00057     float rs_startwalkoffledge;
00058     float rs_startjump;
00059     float rs_rocketjump;
00060     float rs_bfgjump;
00061     float rs_jumppad;
00062     float rs_aircontrolledjumppad;
00063     float rs_funcbob;
00064     float rs_startelevator;
00065     float rs_falldamage5;
00066     float rs_falldamage10;
00067     float rs_maxjumpfallheight;
00068 } cfg_t;
00069 
00070 extern cfg_t cfg;
00071 
00072 void DefaultCfg(void);
00073 int LoadCfgFile(char *filename);

Generated on Thu Aug 25 12:37:13 2005 for Quake III Arena by  doxygen 1.3.9.1