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_Constant Class Reference

#include <Force_Constant.h>

Inheritance diagram for idForce_Constant:
idForce idClass

Public Member Functions

 CLASS_PROTOTYPE (idForce_Constant)
 
 idForce_Constant (void)
 
virtual ~idForce_Constant (void)
 
void Save (idSaveGame *savefile) const
 
void Restore (idRestoreGame *savefile)
 
void SetForce (const idVec3 &force)
 
void SetPosition (idPhysics *physics, int id, const idVec3 &point)
 
void SetPhysics (idPhysics *physics)
 
virtual void Evaluate (int time)
 
virtual void RemovePhysics (const idPhysics *phys)
 
- Public Member Functions inherited from idForce
 CLASS_PROTOTYPE (idForce)
 
 idForce (void)
 
virtual ~idForce (void)
 
- 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

idVec3 force
 
idPhysicsphysics
 
int id
 
idVec3 point
 

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 40 of file Force_Constant.h.

Constructor & Destructor Documentation

END_CLASS idForce_Constant::idForce_Constant ( void  )

Definition at line 42 of file Force_Constant.cpp.

idForce_Constant::~idForce_Constant ( void  )
virtual

Definition at line 54 of file Force_Constant.cpp.

Member Function Documentation

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

Reimplemented from idForce.

Definition at line 114 of file Force_Constant.cpp.

void idForce_Constant::RemovePhysics ( const idPhysics phys)
virtual

Reimplemented from idForce.

Definition at line 131 of file Force_Constant.cpp.

void idForce_Constant::Restore ( idRestoreGame savefile)

Definition at line 73 of file Force_Constant.cpp.

void idForce_Constant::Save ( idSaveGame savefile) const

Definition at line 62 of file Force_Constant.cpp.

void idForce_Constant::SetForce ( const idVec3 force)

Definition at line 96 of file Force_Constant.cpp.

void idForce_Constant::SetPhysics ( idPhysics physics)

Definition at line 105 of file Force_Constant.cpp.

void idForce_Constant::SetPosition ( idPhysics physics,
int  id,
const idVec3 point 
)

Definition at line 85 of file Force_Constant.cpp.

Member Data Documentation

idVec3 idForce_Constant::force
private

Definition at line 65 of file Force_Constant.h.

int idForce_Constant::id
private

Definition at line 67 of file Force_Constant.h.

idPhysics* idForce_Constant::physics
private

Definition at line 66 of file Force_Constant.h.

idVec3 idForce_Constant::point
private

Definition at line 68 of file Force_Constant.h.


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