#include <BodyModule.h>
Inherits BehaviorModule, and BodyModuleInterface.
Inherited by ActiveBody, and InactiveBody.
Static Public Member Functions | |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from BehaviorModule | |
| static Int | getInterfaceMask () |
| static ModuleType | getModuleType () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
Protected Member Functions | |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Member Functions inherited from ObjectModule | |
| Object * | getObject () |
| const Object * | getObject () const |
Protected Member Functions inherited from Module | |
| const ModuleData * | getModuleData () const |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
Protected Attributes | |
| Real | m_damageScalar |
Definition at line 202 of file BodyModule.h.
|
inline |
Definition at line 305 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Definition at line 280 of file BodyModule.h.
|
pure virtual |
Try to damage this Object. The module's Armor will be taken into account, so the actual damage done may vary considerably from what you requested. Also note that (if damage is done) the DamageFX will be invoked to provide a/v fx as appropriate.
Implements BodyModuleInterface.
Implemented in ActiveBody, HighlanderBody, HiveStructureBody, InactiveBody, and UndeadBody.
|
pure virtual |
Instead of having negative damage count as healing, or allowing access to the private changeHealth Method, we will use this parallel to attemptDamage to do healing without hack.
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
pure virtual |
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 265 of file BodyModule.h.
|
protectedvirtual |
|
pure virtual |
Estimate the (unclipped) damage that would be done to this object by the given damage (taking bonuses, armor, etc into account), but DO NOT alter the body in any way. (This is used by the AI system to choose weapons.)
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 292 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 267 of file BodyModule.h.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 215 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 264 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 247 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Definition at line 281 of file BodyModule.h.
|
pure virtual |
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 266 of file BodyModule.h.
|
pure virtual |
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 249 of file BodyModule.h.
|
inlinestatic |
Definition at line 212 of file BodyModule.h.
|
inlinevirtual |
return info on last damage dealt to this object
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 261 of file BodyModule.h.
|
inlinevirtual |
return frame of last damage dealt
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 262 of file BodyModule.h.
|
inlinevirtual |
return frame of last healing dealt
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 263 of file BodyModule.h.
|
inlinevirtual |
return max health
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 241 of file BodyModule.h.
|
inlinevirtual |
return previous health
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 242 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 245 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 244 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 246 of file BodyModule.h.
|
pure virtual |
Change the module's health by the given delta. Note that the module's DamageFX and Armor are NOT taken into account, so you should think about what you're bypassing when you call this directly (especially when when decreasing health, since you probably want "attemptDamage" or "attemptHealing")
Implements BodyModuleInterface.
Implemented in ActiveBody, ImmortalBody, and InactiveBody.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 277 of file BodyModule.h.
|
protectedvirtual |
|
pure virtual |
I just achieved this level right this moment.
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
pure virtual |
This is a major change like a damage state.
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
pure virtual |
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 273 of file BodyModule.h.
|
pure virtual |
control damage state directly. Will adjust hitpoints.
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 272 of file BodyModule.h.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 276 of file BodyModule.h.
|
inlinevirtual |
Sets the inital load health %.
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 269 of file BodyModule.h.
|
inlinevirtual |
Sets the max health.
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 270 of file BodyModule.h.
|
pure virtual |
Implements BodyModuleInterface.
Implemented in ActiveBody, and InactiveBody.
|
inlinevirtual |
Implements BodyModuleInterface.
Reimplemented in ActiveBody.
Definition at line 293 of file BodyModule.h.
|
protectedvirtual |
Xfer Method Version Info: 1: Initial version
Reimplemented from BehaviorModule.
Definition at line 51 of file BodyModule.cpp.
|
protected |
Definition at line 302 of file BodyModule.h.