2001-02-19 21:15:25 +00:00
|
|
|
/*
|
|
|
|
#FILENAME#
|
|
|
|
|
|
|
|
Definitions common to client and server
|
|
|
|
|
|
|
|
Copyright (C) 1996-1997 Id Software, Inc.
|
|
|
|
|
|
|
|
This program 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.
|
|
|
|
|
|
|
|
This program 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 this program; if not, write to:
|
|
|
|
|
|
|
|
Free Software Foundation, Inc.
|
|
|
|
59 Temple Place - Suite 330
|
|
|
|
Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BOTHDEFS_H
|
|
|
|
#define _BOTHDEFS_H
|
|
|
|
|
|
|
|
|
2012-06-02 11:32:36 +00:00
|
|
|
#define MINIMUM_MEMORY 0x400000 // Error out if we get less than 4MB
|
2001-02-19 21:15:25 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_SCOREBOARD 16 // max numbers of players
|
|
|
|
|
|
|
|
#define SOUND_CHANNELS 8
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_QPATH 64 // max length of a quake game pathname
|
|
|
|
#define MAX_OSPATH 128 // max length of a filesystem pathname
|
|
|
|
|
|
|
|
#define ON_EPSILON 0.1 // point on plane side epsilon
|
|
|
|
|
|
|
|
//
|
|
|
|
// per-level limits
|
|
|
|
//
|
|
|
|
#define MAX_EDICTS 768 // FIXME: ouch! ouch! ouch!
|
|
|
|
#define MAX_LIGHTSTYLES 64
|
|
|
|
#define MAX_MODELS 256 // these are sent over the net as bytes
|
|
|
|
#define MAX_SOUNDS 256 // so they cannot be blindly increased
|
|
|
|
|
|
|
|
#define SAVEGAME_COMMENT_LENGTH 39
|
|
|
|
|
2001-11-07 08:24:56 +00:00
|
|
|
#define MAX_STYLESTRING 64
|
|
|
|
|
2022-11-09 03:50:05 +00:00
|
|
|
#include "gamedefs.h"
|
2001-02-19 21:15:25 +00:00
|
|
|
|
|
|
|
//
|
|
|
|
// print flags
|
|
|
|
//
|
|
|
|
#define PRINT_LOW 0 // pickup messages
|
|
|
|
#define PRINT_MEDIUM 1 // death messages
|
|
|
|
#define PRINT_HIGH 2 // critical messages
|
|
|
|
#define PRINT_CHAT 3 // chat messages
|
|
|
|
|
|
|
|
#endif // _BOTHDEFS_H
|