#include <weaponMgr.h>
Public Member Functions | |
WeaponMgr (Engine *eng, Options opts) | |
void | init () |
void | tick (double dt) |
WeaponMgr (Engine *eng, Options opts) | |
void | init () |
void | tick (double dt) |
WeaponMgr (Engine *eng, Options opts) | |
void | init () |
void | tick (double dt) |
WeaponMgr (Engine *eng, Options opts) | |
void | init () |
void | tick (double dt) |
WeaponMgr (Engine *eng, Options opts) | |
void | init () |
void | tick (double dt) |
Public Attributes | |
Options | options |
const WeaponType * | weaponType [NENTITYTYPES] |
double | maxHitpoints [NENTITYTYPES] |
double | initArmor [NENTITYTYPES] |
double | initDamageMultiplier [NENTITYTYPES] |
float | damageMap [NWEAPONTYPES][NENTITYTYPES] |
float | range [NWEAPONTYPES] |
const WeaponType * | weaponType [NENTITYTYPES] |
Private Member Functions | |
void | mapWeaponTypeToEntityType () |
void | fixFightingProperties () |
void | mapWeaponTypeToEntityType () |
void | fixFightingProperties () |
void | mapWeaponTypeToEntityType () |
void | fixFightingProperties () |
void | mapWeaponTypeToEntityType () |
void | fixFightingProperties () |
void | mapWeaponTypeToEntityType () |
void | fixFightingProperties () |
Definition at line 21 of file weaponMgr.h.
void FastEcslent::WeaponMgr::init | ( | void | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
Definition at line 121 of file weaponMgr.cpp.
References fixFightingProperties(), FastEcslent::WeaponTypes::init(), and FastEcslent::ExplosionTypes::init().
Referenced by FastEcslent::Engine::init().
void FastEcslent::WeaponMgr::tick | ( | double | dt | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
Definition at line 130 of file weaponMgr.cpp.
Referenced by FastEcslent::Engine::tickAll().
void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType | ( | ) | [private] |
Definition at line 17 of file weaponMgr.cpp.
References damageMap, FastEcslent::NENTITYTYPES, FastEcslent::NWEAPONTYPES, and range.
void FastEcslent::WeaponMgr::fixFightingProperties | ( | ) | [private] |
Definition at line 17 of file weaponMgr.cpp.
References FastEcslent::ARMORY, FastEcslent::BARRACKS, FastEcslent::WeaponTypes::Cannon, FastEcslent::COMMANDCENTER, DEBUG, FastEcslent::ENGINEERINGBAY, FastEcslent::FACTORY, FastEcslent::WeaponTypes::Fusion_Cutter, FastEcslent::GAS, FastEcslent::WeaponTypes::Hellfire, FastEcslent::HELLION, initArmor, initDamageMultiplier, FastEcslent::MARAUDER, FastEcslent::MARINE, maxHitpoints, FastEcslent::MINERALS, FastEcslent::NENTITYTYPES, FastEcslent::WeaponTypes::None, FastEcslent::REAPER, FastEcslent::REFINERY, FastEcslent::WeaponTypes::Rifle, FastEcslent::SCV, FastEcslent::TANK, FastEcslent::THOR, and weaponType.
Referenced by init().
void FastEcslent::WeaponMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::tick | ( | double | dt | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType | ( | ) | [private] |
void FastEcslent::WeaponMgr::fixFightingProperties | ( | ) | [private] |
void FastEcslent::WeaponMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::tick | ( | double | dt | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType | ( | ) | [private] |
void FastEcslent::WeaponMgr::fixFightingProperties | ( | ) | [private] |
void FastEcslent::WeaponMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::tick | ( | double | dt | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType | ( | ) | [private] |
void FastEcslent::WeaponMgr::fixFightingProperties | ( | ) | [private] |
void FastEcslent::WeaponMgr::init | ( | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::tick | ( | double | dt | ) | [virtual] |
Reimplemented from FastEcslent::Mgr.
void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType | ( | ) | [private] |
void FastEcslent::WeaponMgr::fixFightingProperties | ( | ) | [private] |
const WeaponType* FastEcslent::WeaponMgr::weaponType[NENTITYTYPES] |
Definition at line 25 of file weaponMgr.h.
Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().
Definition at line 26 of file weaponMgr.h.
Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().
Definition at line 27 of file weaponMgr.h.
Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().
Definition at line 28 of file weaponMgr.h.
Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().
const WeaponType* FastEcslent::WeaponMgr::weaponType[NENTITYTYPES] |
Definition at line 25 of file weaponMgr.h.