mirror of
https://github.com/Q3Rally-Team/rallyunlimited-engine.git
synced 2024-11-21 12:00:55 +00:00
update mitech 2.3
This commit is contained in:
parent
a5ab78f9c6
commit
d0a1fed3ab
6 changed files with 9 additions and 9 deletions
|
@ -293,7 +293,7 @@ int AAS_LoadMap(const char *mapname)
|
|||
int AAS_Setup(void)
|
||||
{
|
||||
aasworld.maxclients = (int) LibVarValue("maxclients", "256");
|
||||
aasworld.maxentities = (int) LibVarValue("maxentities", "4096");
|
||||
aasworld.maxentities = (int) LibVarValue("maxentities", "16384");
|
||||
// as soon as it's set to 1 the routing cache will be saved
|
||||
saveroutingcache = LibVar("saveroutingcache", "0");
|
||||
//allocate memory for the entities
|
||||
|
|
|
@ -134,7 +134,7 @@ static int Export_BotLibSetup( void )
|
|||
botimport.Print( PRT_MESSAGE, "------- BotLib Initialization -------\n" );
|
||||
|
||||
botlibglobals.maxclients = (int) LibVarValue( "maxclients", "256" );
|
||||
botlibglobals.maxentities = (int) LibVarValue( "maxentities", "4096" );
|
||||
botlibglobals.maxentities = (int) LibVarValue( "maxentities", "16384" );
|
||||
|
||||
errnum = AAS_Setup(); //be_aas_main.c
|
||||
if (errnum != BLERR_NOERROR) return errnum;
|
||||
|
|
|
@ -445,7 +445,7 @@ name: default: module(s): description:
|
|||
|
||||
"log" "0" l_log.c enable/disable creating a log file
|
||||
"maxclients" "4" be_interface.c maximum number of clients
|
||||
"maxentities" "4096" be_interface.c maximum number of entities
|
||||
"maxentities" "16384" be_interface.c maximum number of entities
|
||||
"bot_developer" "0" be_interface.c bot developer mode (it's "botDeveloper" in C to prevent symbol clash).
|
||||
|
||||
"phys_friction" "6" be_aas_move.c ground friction
|
||||
|
|
|
@ -664,9 +664,9 @@ void CM_LoadMap( const char *name, qboolean clientload, int *checksum ) {
|
|||
( (int32_t *)&header )[i] = LittleLong( ( (int32_t *)&header )[i] );
|
||||
}
|
||||
|
||||
if ( header.version != BSP_VERSION ) {
|
||||
/*if ( header.version != BSP_VERSION ) {
|
||||
Com_Error( ERR_DROP, "%s: %s has wrong version number (%i should be %i)", __func__, name, header.version, BSP_VERSION );
|
||||
}
|
||||
}*/
|
||||
|
||||
for ( i = 0; i < HEADER_LUMPS; i++ ) {
|
||||
int32_t ofs = header.lumps[i].fileofs;
|
||||
|
|
|
@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
// q_shared.h -- included first by ALL program modules.
|
||||
// A user mod should never modify this file
|
||||
|
||||
#define Q3_VERSION "MiTech 2.2"
|
||||
#define Q3_VERSION "MiTech 2.3"
|
||||
#ifndef SVN_VERSION
|
||||
#define SVN_VERSION Q3_VERSION
|
||||
#endif
|
||||
|
@ -1091,7 +1091,7 @@ typedef enum {
|
|||
#define MAX_CLIENTS 256 // absolute limit
|
||||
#define MAX_LOCATIONS 64
|
||||
|
||||
#define GENTITYNUM_BITS 12 // don't need to send any more
|
||||
#define GENTITYNUM_BITS 14 // don't need to send any more
|
||||
#define MAX_GENTITIES (1<<GENTITYNUM_BITS)
|
||||
|
||||
// entitynums are communicated with GENTITY_BITS, so any reserved
|
||||
|
|
|
@ -2767,10 +2767,10 @@ void RE_LoadWorldMap( const char *name ) {
|
|||
fileBase = (byte *)header;
|
||||
|
||||
i = LittleLong (header->version);
|
||||
if ( i != BSP_VERSION ) {
|
||||
/*if ( i != BSP_VERSION ) {
|
||||
ri.Error (ERR_DROP, "RE_LoadWorldMap: %s has wrong version number (%i should be %i)",
|
||||
name, i, BSP_VERSION);
|
||||
}
|
||||
}*/
|
||||
|
||||
// swap all the lumps
|
||||
for (i=0 ; i<sizeof(dheader_t)/4 ; i++) {
|
||||
|
|
Loading…
Reference in a new issue