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

#include <Force_Drag.h>

Inheritance diagram for idForce_Drag:
idForce idClass

Public Member Functions

 CLASS_PROTOTYPE (idForce_Drag)
 
 idForce_Drag (void)
 
virtual ~idForce_Drag (void)
 
void Init (float damping)
 
void SetPhysics (idPhysics *physics, int id, const idVec3 &p)
 
void SetDragPosition (const idVec3 &pos)
 
const idVec3GetDragPosition (void) const
 
const idVec3 GetDraggedPosition (void) const
 
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

float damping
 
idPhysicsphysics
 
int id
 
idVec3 p
 
idVec3 dragPosition
 

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_Drag.h.

Constructor & Destructor Documentation

END_CLASS idForce_Drag::idForce_Drag ( void  )

Definition at line 42 of file Force_Drag.cpp.

idForce_Drag::~idForce_Drag ( void  )
virtual

Definition at line 56 of file Force_Drag.cpp.

Member Function Documentation

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

Reimplemented from idForce.

Definition at line 113 of file Force_Drag.cpp.

const idVec3 idForce_Drag::GetDraggedPosition ( void  ) const

Definition at line 104 of file Force_Drag.cpp.

const idVec3 & idForce_Drag::GetDragPosition ( void  ) const

Definition at line 95 of file Force_Drag.cpp.

void idForce_Drag::Init ( float  damping)

Definition at line 64 of file Force_Drag.cpp.

void idForce_Drag::RemovePhysics ( const idPhysics phys)
virtual

Reimplemented from idForce.

Definition at line 151 of file Force_Drag.cpp.

void idForce_Drag::SetDragPosition ( const idVec3 pos)

Definition at line 86 of file Force_Drag.cpp.

void idForce_Drag::SetPhysics ( idPhysics physics,
int  id,
const idVec3 p 
)

Definition at line 75 of file Force_Drag.cpp.

Member Data Documentation

float idForce_Drag::damping
private

Definition at line 65 of file Force_Drag.h.

idVec3 idForce_Drag::dragPosition
private

Definition at line 71 of file Force_Drag.h.

int idForce_Drag::id
private

Definition at line 69 of file Force_Drag.h.

idVec3 idForce_Drag::p
private

Definition at line 70 of file Force_Drag.h.

idPhysics* idForce_Drag::physics
private

Definition at line 68 of file Force_Drag.h.


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