doom3-gpl
Doom 3 GPL source release
|
#include <Game_local.h>
Static Public Member Functions | |
static void | MapRestart_f (const idCmdArgs &args) |
static void | NextMap_f (const idCmdArgs &args) |
static void | ArgCompletion_EntityName (const idCmdArgs &args, void(*callback)(const char *s)) |
Static Public Attributes | |
static const char * | sufaceTypeNames [MAX_SURFACE_TYPES] |
Static Private Member Functions | |
static int | sortSpawnPoints (const void *ptr1, const void *ptr2) |
Static Private Attributes | |
static const int | INITIAL_SPAWN_COUNT = 1 |
Definition at line 268 of file Game_local.h.
idGameLocal::idGameLocal | ( | ) |
Definition at line 189 of file Game_local.cpp.
aasHandle_t idGameLocal::AddAASObstacle | ( | const idBounds & | bounds | ) |
Definition at line 3104 of file Game_local.cpp.
Definition at line 3531 of file Game_local.cpp.
Definition at line 3807 of file Game_local.cpp.
Definition at line 482 of file Game_network.cpp.
|
static |
Definition at line 3613 of file Game_local.cpp.
void idGameLocal::BloodSplat | ( | const idVec3 & | origin, |
const idVec3 & | dir, | ||
float | size, | ||
const char * | material | ||
) |
Definition at line 4127 of file Game_local.cpp.
Implements idGame.
Definition at line 1823 of file Game_local.cpp.
Definition at line 2640 of file Game_local.cpp.
void idGameLocal::CallFrameCommand | ( | idEntity * | ent, |
const function_t * | frameCommand | ||
) |
Definition at line 2820 of file Game_local.cpp.
Definition at line 2830 of file Game_local.cpp.
Definition at line 3153 of file Game_local.cpp.
Definition at line 198 of file Game_local.cpp.
Implements idGame.
Definition at line 1274 of file Game_network.cpp.
|
virtual |
Implements idGame.
Definition at line 1505 of file Game_network.cpp.
Definition at line 1283 of file Game_network.cpp.
Implements idGame.
Definition at line 1326 of file Game_network.cpp.
|
virtual |
Implements idGame.
Definition at line 971 of file Game_network.cpp.
int idGameLocal::ClientRemapDecl | ( | declType_t | type, |
int | index | ||
) |
Definition at line 212 of file Game_network.cpp.
Definition at line 880 of file Game_network.cpp.
|
virtual |
Implements idGame.
Definition at line 1600 of file Game_network.cpp.
Definition at line 715 of file Game_local.cpp.
Implements idGame.
Definition at line 2708 of file Game_local.cpp.
Definition at line 1677 of file Game_local.cpp.
Definition at line 757 of file Game_local.cpp.
int idGameLocal::EntitiesWithinRadius | ( | const idVec3 | org, |
float | radius, | ||
idEntity ** | entityList, | ||
int | maxCount | ||
) | const |
Definition at line 3709 of file Game_local.cpp.
Definition at line 783 of file Game_local.cpp.
Definition at line 3630 of file Game_local.cpp.
const idDeclEntityDef * idGameLocal::FindEntityDef | ( | const char * | name, |
bool | makeDefault = true |
||
) | const |
Definition at line 3368 of file Game_local.cpp.
Definition at line 3384 of file Game_local.cpp.
Definition at line 3653 of file Game_local.cpp.
idEntity * idGameLocal::FindTraceEntity | ( | idVec3 | start, |
idVec3 | end, | ||
const idTypeInfo & | c, | ||
const idEntity * | skip | ||
) | const |
Definition at line 3680 of file Game_local.cpp.
Definition at line 2221 of file Game_local.cpp.
Definition at line 454 of file Game_network.cpp.
gameState_t idGameLocal::GameState | ( | void | ) | const |
Definition at line 3463 of file Game_local.cpp.
Definition at line 3057 of file Game_local.cpp.
Definition at line 3071 of file Game_local.cpp.
Definition at line 3820 of file Game_local.cpp.
Definition at line 4243 of file Game_local.cpp.
Definition at line 2081 of file Game_local.cpp.
Definition at line 2062 of file Game_local.cpp.
Definition at line 2047 of file Game_local.cpp.
|
private |
Definition at line 2145 of file Game_local.cpp.
Implements idGame.
Definition at line 4953 of file Game_local.cpp.
|
inline |
Definition at line 503 of file Game_local.h.
|
inline |
Definition at line 528 of file Game_local.h.
const idMaterial * idGameLocal::GetGlobalMaterial | ( | ) |
Definition at line 4719 of file Game_local.cpp.
Definition at line 2292 of file Game_local.cpp.
Definition at line 2785 of file Game_local.cpp.
idPlayer * idGameLocal::GetLocalPlayer | ( | ) | const |
Definition at line 2128 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 4985 of file Game_local.cpp.
Definition at line 2811 of file Game_local.cpp.
|
inline |
Definition at line 505 of file Game_local.h.
Definition at line 2104 of file Game_local.cpp.
Implements idGame.
Definition at line 673 of file Game_local.cpp.
Definition at line 1796 of file Game_local.cpp.
Definition at line 4728 of file Game_local.cpp.
int idGameLocal::GetTargets | ( | const idDict & | args, |
idList< idEntityPtr< idEntity > > & | list, | ||
const char * | ref | ||
) | const |
Definition at line 3561 of file Game_local.cpp.
|
inline |
Definition at line 504 of file Game_local.h.
Definition at line 3593 of file Game_local.cpp.
Implements idGame.
Definition at line 887 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 2730 of file Game_local.cpp.
Implements idGame.
Definition at line 2764 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 2776 of file Game_local.cpp.
Definition at line 3394 of file Game_local.cpp.
Implements idGame.
Definition at line 295 of file Game_local.cpp.
Definition at line 62 of file Game_network.cpp.
Definition at line 117 of file Game_network.cpp.
Definition at line 2395 of file SysCmds.cpp.
|
virtual |
Implements idGame.
Definition at line 1295 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 1335 of file Game_local.cpp.
Definition at line 105 of file Game_network.cpp.
Definition at line 1985 of file Game_local.cpp.
Definition at line 2253 of file Game_local.cpp.
Definition at line 2239 of file Game_local.cpp.
Definition at line 3733 of file Game_local.cpp.
Definition at line 923 of file Game_local.cpp.
Definition at line 1047 of file Game_local.cpp.
idLocationEntity * idGameLocal::LocationForPoint | ( | const idVec3 & | point | ) |
Definition at line 4334 of file Game_local.cpp.
Definition at line 1589 of file Game_local.cpp.
Definition at line 1265 of file Game_local.cpp.
Definition at line 1114 of file Game_local.cpp.
Definition at line 1184 of file Game_local.cpp.
Implements idGame.
Definition at line 1629 of file Game_local.cpp.
|
private |
Definition at line 717 of file Game_network.cpp.
Definition at line 1199 of file Game_local.cpp.
Definition at line 1249 of file Game_local.cpp.
Definition at line 3048 of file Game_local.cpp.
Definition at line 699 of file Game_local.cpp.
void idGameLocal::ProjectDecal | ( | const idVec3 & | origin, |
const idVec3 & | dir, | ||
float | depth, | ||
bool | parallel, | ||
float | size, | ||
const char * | material, | ||
float | angle = 0 |
||
) |
Definition at line 4078 of file Game_local.cpp.
void idGameLocal::RadiusDamage | ( | const idVec3 & | origin, |
idEntity * | inflictor, | ||
idEntity * | attacker, | ||
idEntity * | ignoreDamage, | ||
idEntity * | ignorePush, | ||
const char * | damageDefName, | ||
float | dmgPower = 1.0f |
||
) |
Definition at line 3841 of file Game_local.cpp.
void idGameLocal::RadiusPush | ( | const idVec3 & | origin, |
const float | radius, | ||
const float | push, | ||
const idEntity * | inflictor, | ||
const idEntity * | ignore, | ||
float | inflictorScale, | ||
const bool | quake | ||
) |
Definition at line 3946 of file Game_local.cpp.
void idGameLocal::RadiusPushClipModel | ( | const idVec3 & | origin, |
const float | push, | ||
const idClipModel * | clipModel | ||
) |
Definition at line 4021 of file Game_local.cpp.
Definition at line 4397 of file Game_local.cpp.
|
private |
Definition at line 533 of file Game_network.cpp.
Definition at line 3180 of file Game_local.cpp.
void idGameLocal::RemoveAASObstacle | ( | const aasHandle_t | handle | ) |
Definition at line 3127 of file Game_local.cpp.
Definition at line 3140 of file Game_local.cpp.
Definition at line 3543 of file Game_local.cpp.
Definition at line 3783 of file Game_local.cpp.
Definition at line 2908 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 2394 of file Game_local.cpp.
Definition at line 432 of file Game_network.cpp.
Implements idGame.
Definition at line 482 of file Game_local.cpp.
Definition at line 4532 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 245 of file Game_network.cpp.
Implements idGame.
Definition at line 708 of file Game_network.cpp.
Implements idGame.
Definition at line 306 of file Game_network.cpp.
Implements idGame.
Definition at line 290 of file Game_network.cpp.
Implements idGame.
Definition at line 339 of file Game_network.cpp.
Definition at line 739 of file Game_network.cpp.
Implements idGame.
Definition at line 799 of file Game_network.cpp.
int idGameLocal::ServerRemapDecl | ( | int | clientNum, |
declType_t | type, | ||
int | index | ||
) |
Definition at line 190 of file Game_network.cpp.
Definition at line 778 of file Game_network.cpp.
|
private |
Definition at line 149 of file Game_network.cpp.
Implements idGame.
Definition at line 378 of file Game_network.cpp.
|
virtual |
Implements idGame.
Definition at line 550 of file Game_network.cpp.
Definition at line 3091 of file Game_local.cpp.
Definition at line 4154 of file Game_local.cpp.
Definition at line 527 of file Game_local.h.
void idGameLocal::SetGlobalMaterial | ( | const idMaterial * | mat | ) |
Definition at line 4710 of file Game_local.cpp.
Implements idGame.
Definition at line 821 of file Game_local.cpp.
Implements idGame.
Definition at line 690 of file Game_local.cpp.
Definition at line 4356 of file Game_local.cpp.
Implements idGame.
Definition at line 899 of file Game_local.cpp.
Definition at line 3442 of file Game_local.cpp.
Definition at line 2160 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 830 of file Game_local.cpp.
Definition at line 2849 of file Game_local.cpp.
Implements idGame.
Definition at line 407 of file Game_local.cpp.
Definition at line 90 of file Game_network.cpp.
Definition at line 2508 of file SysCmds.cpp.
Definition at line 4252 of file Game_local.cpp.
Definition at line 2304 of file Game_local.cpp.
Definition at line 4375 of file Game_local.cpp.
bool idGameLocal::SpawnEntityDef | ( | const idDict & | args, |
idEntity ** | ent = NULL , |
||
bool | setDefaults = true |
||
) |
Definition at line 3275 of file Game_local.cpp.
idEntity * idGameLocal::SpawnEntityType | ( | const idTypeInfo & | classdef, |
const idDict * | args = NULL , |
||
bool | bIsClientReadSnapshot = false |
||
) |
Definition at line 3236 of file Game_local.cpp.
Definition at line 3474 of file Game_local.cpp.
Implements idGame.
Definition at line 2007 of file Game_local.cpp.
void idGameLocal::SpreadLocations | ( | ) |
Definition at line 4285 of file Game_local.cpp.
|
virtual |
Implements idGame.
Definition at line 2752 of file Game_local.cpp.
Implements idGame.
Definition at line 4963 of file Game_local.cpp.
Implements idGame.
Definition at line 4737 of file Game_local.cpp.
Definition at line 1573 of file Game_network.cpp.
Definition at line 3213 of file Game_local.cpp.
Definition at line 2265 of file Game_local.cpp.
Definition at line 935 of file Game_network.cpp.
Definition at line 4675 of file Game_local.cpp.
Definition at line 735 of file Game_local.cpp.
|
private |
Definition at line 518 of file Game_network.cpp.
Definition at line 547 of file Game_local.h.
|
private |
Definition at line 548 of file Game_local.h.
idLinkList<idEntity> idGameLocal::activeEntities |
Definition at line 282 of file Game_local.h.
|
private |
Definition at line 544 of file Game_local.h.
int idGameLocal::cinematicMaxSkipTime |
Definition at line 312 of file Game_local.h.
int idGameLocal::cinematicSkipTime |
Definition at line 310 of file Game_local.h.
int idGameLocal::cinematicStopTime |
Definition at line 311 of file Game_local.h.
|
private |
Definition at line 563 of file Game_local.h.
|
private |
Definition at line 565 of file Game_local.h.
|
private |
Definition at line 566 of file Game_local.h.
float idGameLocal::clientSmoothing |
Definition at line 334 of file Game_local.h.
|
private |
Definition at line 567 of file Game_local.h.
idClip idGameLocal::clip |
Definition at line 296 of file Game_local.h.
|
private |
Definition at line 576 of file Game_local.h.
idEditEntities* idGameLocal::editEntities |
Definition at line 308 of file Game_local.h.
idEntity* idGameLocal::entities[MAX_GENTITIES] |
Definition at line 275 of file Game_local.h.
int idGameLocal::entityDefBits |
Definition at line 335 of file Game_local.h.
idHashIndex idGameLocal::entityHash |
Definition at line 279 of file Game_local.h.
|
private |
Definition at line 568 of file Game_local.h.
|
private |
Definition at line 571 of file Game_local.h.
int idGameLocal::firstFreeIndex |
Definition at line 277 of file Game_local.h.
idThread* idGameLocal::frameCommandThread |
Definition at line 294 of file Game_local.h.
int idGameLocal::framenum |
Definition at line 317 of file Game_local.h.
|
private |
Definition at line 559 of file Game_local.h.
gameType_t idGameLocal::gameType |
Definition at line 324 of file Game_local.h.
|
private |
Definition at line 545 of file Game_local.h.
float idGameLocal::globalShaderParms[MAX_GLOBAL_SHADER_PARMS] |
Definition at line 289 of file Game_local.h.
|
private |
Definition at line 558 of file Game_local.h.
bool idGameLocal::inCinematic |
Definition at line 313 of file Game_local.h.
|
private |
Definition at line 560 of file Game_local.h.
Definition at line 533 of file Game_local.h.
|
private |
Definition at line 575 of file Game_local.h.
bool idGameLocal::isClient |
Definition at line 327 of file Game_local.h.
bool idGameLocal::isMultiplayer |
Definition at line 325 of file Game_local.h.
bool idGameLocal::isNewFrame |
Definition at line 333 of file Game_local.h.
bool idGameLocal::isServer |
Definition at line 326 of file Game_local.h.
|
private |
Definition at line 588 of file Game_local.h.
|
private |
Definition at line 550 of file Game_local.h.
|
private |
Definition at line 551 of file Game_local.h.
int idGameLocal::lastGUI |
Definition at line 340 of file Game_local.h.
idEntityPtr<idEntity> idGameLocal::lastGUIEnt |
Definition at line 339 of file Game_local.h.
int idGameLocal::localClientNum |
Definition at line 330 of file Game_local.h.
|
private |
Definition at line 542 of file Game_local.h.
|
private |
Definition at line 537 of file Game_local.h.
|
private |
Definition at line 536 of file Game_local.h.
|
private |
Definition at line 535 of file Game_local.h.
|
private |
Definition at line 540 of file Game_local.h.
idMultiplayerGame idGameLocal::mpGame |
Definition at line 305 of file Game_local.h.
int idGameLocal::msec |
Definition at line 320 of file Game_local.h.
|
private |
Definition at line 584 of file Game_local.h.
|
private |
Definition at line 561 of file Game_local.h.
int idGameLocal::num_entities |
Definition at line 278 of file Game_local.h.
int idGameLocal::numClients |
Definition at line 271 of file Game_local.h.
int idGameLocal::numEntitiesToDeactivate |
Definition at line 283 of file Game_local.h.
idDict idGameLocal::persistentLevelInfo |
Definition at line 286 of file Game_local.h.
idDict idGameLocal::persistentPlayerInfo[MAX_CLIENTS] |
Definition at line 274 of file Game_local.h.
|
private |
Definition at line 556 of file Game_local.h.
|
private |
Definition at line 555 of file Game_local.h.
int idGameLocal::previousTime |
Definition at line 318 of file Game_local.h.
idProgram idGameLocal::program |
Definition at line 293 of file Game_local.h.
idPush idGameLocal::push |
Definition at line 297 of file Game_local.h.
idPVS idGameLocal::pvs |
Definition at line 298 of file Game_local.h.
idRandom idGameLocal::random |
Definition at line 291 of file Game_local.h.
int idGameLocal::realClientTime |
Definition at line 332 of file Game_local.h.
|
private |
Definition at line 572 of file Game_local.h.
idDict idGameLocal::serverInfo |
Definition at line 270 of file Game_local.h.
idStr idGameLocal::sessionCommand |
Definition at line 303 of file Game_local.h.
|
private |
Definition at line 586 of file Game_local.h.
bool idGameLocal::skipCinematic |
Definition at line 314 of file Game_local.h.
idSmokeParticles* idGameLocal::smokeParticles |
Definition at line 307 of file Game_local.h.
|
private |
Definition at line 569 of file Game_local.h.
idLinkList<idEntity> idGameLocal::snapshotEntities |
Definition at line 331 of file Game_local.h.
bool idGameLocal::sortPushers |
Definition at line 284 of file Game_local.h.
bool idGameLocal::sortTeamMasters |
Definition at line 285 of file Game_local.h.
|
private |
Definition at line 553 of file Game_local.h.
|
private |
Definition at line 539 of file Game_local.h.
idLinkList<idEntity> idGameLocal::spawnedEntities |
Definition at line 281 of file Game_local.h.
int idGameLocal::spawnIds[MAX_GENTITIES] |
Definition at line 276 of file Game_local.h.
|
private |
Definition at line 574 of file Game_local.h.
|
static |
Definition at line 337 of file Game_local.h.
idEntityFx* idGameLocal::testFx |
Definition at line 301 of file Game_local.h.
idTestModel* idGameLocal::testmodel |
Definition at line 300 of file Game_local.h.
int idGameLocal::time |
Definition at line 319 of file Game_local.h.
usercmd_t idGameLocal::usercmds[MAX_CLIENTS] |
Definition at line 273 of file Game_local.h.
idDict idGameLocal::userInfo[MAX_CLIENTS] |
Definition at line 272 of file Game_local.h.
int idGameLocal::vacuumAreaNum |
Definition at line 322 of file Game_local.h.
idWorldspawn* idGameLocal::world |
Definition at line 280 of file Game_local.h.