Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 5, 2007, 11:01:09 PM (17 years ago)
Author:
nicolasc
Message:

version bump

File:
1 edited

Legend:

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

    r10671 r10672  
    6565
    6666    //!< functions for XML loading
    67     void setReactor(float output) {this->reactorOutput = output; };
    68     void setEngine( float speedBase) {this->engineSpeedBase = speedBase; };
     67    void loadReactor(float output) {this->reactorOutput = output; };
     68    void loadEngine( float speedBase) {this->engineSpeedBase = speedBase; };
    6969    void loadEnergyShare(float shield, float weapon, float engine)
    7070        { float tmp = shield + weapon + engine; if (unlikely (tmp > 1)) { tmp = 1/tmp; }
     
    7373          this->weaponEnergyShare = weapon * tmp;
    7474          this->engineEnergyShare = engine * tmp; };
    75     inline void setWeapon(float regen) { this->weaponEnergyRegen = regen; };
     75    inline void loadWeapon(float regen) { this->weaponEnergyRegen = regen; };
    7676
    7777    void addWeaponToSlot(int wm, int config, int slot, const std::string& weaponName);
Note: See TracChangeset for help on using the changeset viewer.