doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idForce_Field Class Reference

#include <Force_Field.h>

Inheritance diagram for idForce_Field:
idForce idClass

Public Member Functions

 CLASS_PROTOTYPE (idForce_Field)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
 idForce_Field (void)
 
virtual ~idForce_Field (void)
 
void Uniform (const idVec3 &force)
 
void Explosion (float force)
 
void Implosion (float force)
 
void RandomTorque (float force)
 
void SetApplyType (const forceFieldApplyType type)
 
void SetPlayerOnly (bool set)
 
void SetMonsterOnly (bool set)
 
void SetClipModel (idClipModel *clipModel)
 
virtual void Evaluate (int time)
 
- Public Member Functions inherited from idForce
 CLASS_PROTOTYPE (idForce)
 
 idForce (void)
 
virtual ~idForce (void)
 
virtual void RemovePhysics (const idPhysics *phys)
 
- Public Member Functions inherited from idClass
 ABSTRACT_PROTOTYPE (idClass)
 
voidoperator new (size_t)
 
voidoperator new (size_t s, int, int, char *, int)
 
void operator delete (void *)
 
void operator delete (void *, int, int, char *, int)
 
virtual ~idClass ()
 
void Spawn (void)
 
void CallSpawn (void)
 
bool IsType (const idTypeInfo &c) const
 
const char * GetClassname (void) const
 
const char * GetSuperclass (void) const
 
void FindUninitializedMemory (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
bool RespondsTo (const idEventDef &ev) const
 
bool PostEventMS (const idEventDef *ev, int time)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventMS (const idEventDef *ev, int time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool PostEventSec (const idEventDef *ev, float time)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool PostEventSec (const idEventDef *ev, float time, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEvent (const idEventDef *ev)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7)
 
bool ProcessEvent (const idEventDef *ev, idEventArg arg1, idEventArg arg2, idEventArg arg3, idEventArg arg4, idEventArg arg5, idEventArg arg6, idEventArg arg7, idEventArg arg8)
 
bool ProcessEventArgPtr (const idEventDef *ev, int *data)
 
void CancelEvents (const idEventDef *ev)
 
void Event_Remove (void)
 

Private Attributes

forceFieldType type
 
forceFieldApplyType applyType
 
float magnitude
 
idVec3 dir
 
float randomTorque
 
bool playerOnly
 
bool monsterOnly
 
idClipModelclipModel
 

Additional Inherited Members

- Static Public Member Functions inherited from idForce
static void DeletePhysics (const idPhysics *phys)
 
static void ClearForceList (void)
 
- Static Public Member Functions inherited from idClass
static void Init (void)
 
static void Shutdown (void)
 
static idTypeInfoGetClass (const char *name)
 
static void DisplayInfo_f (const idCmdArgs &args)
 
static void ListClasses_f (const idCmdArgs &args)
 
static idClassCreateInstance (const char *name)
 
static int GetNumTypes (void)
 
static int GetTypeNumBits (void)
 
static idTypeInfoGetType (int num)
 

Detailed Description

Definition at line 52 of file Force_Field.h.

Constructor & Destructor Documentation

END_CLASS idForce_Field::idForce_Field ( void  )

Definition at line 42 of file Force_Field.cpp.

idForce_Field::~idForce_Field ( void  )
virtual

Definition at line 58 of file Force_Field.cpp.

Member Function Documentation

idForce_Field::CLASS_PROTOTYPE ( idForce_Field  )
void idForce_Field::Evaluate ( int  time)
virtual

Reimplemented from idForce.

Definition at line 153 of file Force_Field.cpp.

void idForce_Field::Explosion ( float  force)

Definition at line 124 of file Force_Field.cpp.

void idForce_Field::Implosion ( float  force)

Definition at line 134 of file Force_Field.cpp.

void idForce_Field::RandomTorque ( float  force)

Definition at line 144 of file Force_Field.cpp.

void idForce_Field::Restore ( idRestoreGame savefile)

Definition at line 85 of file Force_Field.cpp.

void idForce_Field::Save ( idSaveGame savefile) const

Definition at line 69 of file Force_Field.cpp.

void idForce_Field::SetApplyType ( const forceFieldApplyType  type)
inline

Definition at line 71 of file Force_Field.h.

void idForce_Field::SetClipModel ( idClipModel clipModel)

Definition at line 101 of file Force_Field.cpp.

void idForce_Field::SetMonsterOnly ( bool  set)
inline

Definition at line 75 of file Force_Field.h.

void idForce_Field::SetPlayerOnly ( bool  set)
inline

Definition at line 73 of file Force_Field.h.

void idForce_Field::Uniform ( const idVec3 force)

Definition at line 113 of file Force_Field.cpp.

Member Data Documentation

forceFieldApplyType idForce_Field::applyType
private

Definition at line 85 of file Force_Field.h.

idClipModel* idForce_Field::clipModel
private

Definition at line 91 of file Force_Field.h.

idVec3 idForce_Field::dir
private

Definition at line 87 of file Force_Field.h.

float idForce_Field::magnitude
private

Definition at line 86 of file Force_Field.h.

bool idForce_Field::monsterOnly
private

Definition at line 90 of file Force_Field.h.

bool idForce_Field::playerOnly
private

Definition at line 89 of file Force_Field.h.

float idForce_Field::randomTorque
private

Definition at line 88 of file Force_Field.h.

forceFieldType idForce_Field::type
private

Definition at line 84 of file Force_Field.h.


The documentation for this class was generated from the following files: