Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2007, 12:05:40 AM (17 years ago)
Author:
nicolasc
Message:

night bunp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/space_ships/space_ship.h

    r10659 r10660  
    6363    inline WeaponManager& getWeaponManagerSecondary() { return this->secWeaponMan; };
    6464
     65    //!< functions for XML loading
    6566    inline void setReactor(float output) {this->reactorOutput = output; };
    6667    inline void setShield(float cur, float max, float th, float regen)
     
    8182    inline void updateHealth() { this->setHealth(this->armorCur); this->setHealthMax(this->armorMax); };
    8283
     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); };
    8392    //Functions for GUI
    8493    inline float getShieldCur() { return this->shieldCur; };        //!< returns current shield value
Note: See TracChangeset for help on using the changeset viewer.