Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3878 in orxonox.OLD for orxonox/trunk/src/world_entities/weapon.h


Ignore:
Timestamp:
Apr 18, 2005, 6:12:16 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: the weaponconfiguration can now be changed by pressing the 'm' key.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapon.h

    r3877 r3878  
    7979  ~WeaponManager();
    8080 
    81   void addWeapon(Weapon* weapon, int slotID = W_FREE_SLOT, int configID = W_CONFIG0);
     81  void addWeapon(Weapon* weapon, int configID = W_CONFIG0, int slotID = W_FREE_SLOT);
     82  void removeWeapon(Weapon* weapon, int configID = W_CONFIG0);
    8283  void nextWeaponConf();
    8384
     
    9293  weaponConfig configs[4];              //<! a list of four configurations
    9394 
    94   int getNextFreeSlot();
     95  int getNextFreeSlot(int configID);
    9596};
    9697
Note: See TracChangeset for help on using the changeset viewer.