Planeshift
|
Go to the source code of this file.
Classes | |
class | psVitalManager< Vital > |
Manages a set of Vitals and does the predictions and updates on them when new data comes from the server. More... | |
Defines | |
#define | HP_REGEN_RATE 0.2F |
#define | MANA_REGEN_RATE 0.2F |
Enumerations | |
enum | PS_DIRTY_VITALS { DIRTY_VITAL_HP = 0x0001, DIRTY_VITAL_HP_MAX = 0x0002, DIRTY_VITAL_HP_RATE = 0x0004, DIRTY_VITAL_MANA = 0x0008, DIRTY_VITAL_MANA_MAX = 0x0010, DIRTY_VITAL_MANA_RATE = 0x0020, DIRTY_VITAL_PYSSTAMINA = 0x0040, DIRTY_VITAL_PYSSTAMINA_MAX = 0x0080, DIRTY_VITAL_PYSSTAMINA_RATE = 0x0100, DIRTY_VITAL_MENSTAMINA = 0x0200, DIRTY_VITAL_MENSTAMINA_MAX = 0x0400, DIRTY_VITAL_MENSTAMINA_RATE = 0x0800, DIRTY_VITAL_EXPERIENCE = 0x1000, DIRTY_VITAL_PROGRESSION = 0x2000, DIRTY_VITAL_ALL } |
Used by the server to tell which fields are incoming. More... | |
enum | PS_VITALS { VITAL_HITPOINTS, VITAL_MANA, VITAL_PYSSTAMINA, VITAL_MENSTAMINA, VITAL_COUNT } |
The vitals that the client is concerned about. More... |
enum PS_DIRTY_VITALS |
Used by the server to tell which fields are incoming.