doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
Physics_Monster.cpp File Reference
#include "../../idlib/precompiled.h"
#include "../Game_local.h"

Go to the source code of this file.

Functions

void idPhysics_Monster_SavePState (idSaveGame *savefile, const monsterPState_t &state)
 
void idPhysics_Monster_RestorePState (idRestoreGame *savefile, monsterPState_t &state)
 

Variables

END_CLASS const float OVERCLIP = 1.001f
 
const float MONSTER_VELOCITY_MAX = 4000
 
const int MONSTER_VELOCITY_TOTAL_BITS = 16
 
const int MONSTER_VELOCITY_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( MONSTER_VELOCITY_MAX ) ) + 1
 
const int MONSTER_VELOCITY_MANTISSA_BITS = MONSTER_VELOCITY_TOTAL_BITS - 1 - MONSTER_VELOCITY_EXPONENT_BITS
 

Function Documentation

void idPhysics_Monster_RestorePState ( idRestoreGame savefile,
monsterPState_t state 
)

Definition at line 286 of file Physics_Monster.cpp.

void idPhysics_Monster_SavePState ( idSaveGame savefile,
const monsterPState_t state 
)

Definition at line 272 of file Physics_Monster.cpp.

Variable Documentation

const int MONSTER_VELOCITY_EXPONENT_BITS = idMath::BitsForInteger( idMath::BitsForFloat( MONSTER_VELOCITY_MAX ) ) + 1

Definition at line 761 of file Physics_Monster.cpp.

const int MONSTER_VELOCITY_MANTISSA_BITS = MONSTER_VELOCITY_TOTAL_BITS - 1 - MONSTER_VELOCITY_EXPONENT_BITS

Definition at line 762 of file Physics_Monster.cpp.

const float MONSTER_VELOCITY_MAX = 4000

Definition at line 759 of file Physics_Monster.cpp.

const int MONSTER_VELOCITY_TOTAL_BITS = 16

Definition at line 760 of file Physics_Monster.cpp.

END_CLASS const float OVERCLIP = 1.001f

Definition at line 37 of file Physics_Monster.cpp.