Changeset 10660 in orxonox.OLD for branches/vs-enhencements/src/world_entities/space_ships/space_ship.h
- Timestamp:
- May 24, 2007, 12:05:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/vs-enhencements/src/world_entities/space_ships/space_ship.h
r10659 r10660 63 63 inline WeaponManager& getWeaponManagerSecondary() { return this->secWeaponMan; }; 64 64 65 //!< functions for XML loading 65 66 inline void setReactor(float output) {this->reactorOutput = output; }; 66 67 inline void setShield(float cur, float max, float th, float regen) … … 81 82 inline void updateHealth() { this->setHealth(this->armorCur); this->setHealthMax(this->armorMax); }; 82 83 84 inline void setPriWM(int slot) { this->weaponMan.setSlotCount(slot); }; 85 inline void setSecWM(int slot) { this->secWeaponMan.setSlotCount(slot); }; 86 inline void createPriWMSlot( int slot, Vector location, long capability) { 87 this->weaponMan.setSlotPosition(slot, location); 88 this->weaponMan.setSlotCapability(slot, capability); }; 89 inline void createSecWMSlot( int slot, Vector location, long capability) { 90 this->secWeaponMan.setSlotPosition(slot, location); 91 this->secWeaponMan.setSlotCapability(slot, capability); }; 83 92 //Functions for GUI 84 93 inline float getShieldCur() { return this->shieldCur; }; //!< returns current shield value
Note: See TracChangeset
for help on using the changeset viewer.