Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 11, 2005, 5:47:23 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: crosshair in WeaponManager (instead of World) and implemented easy Cyling for LoadParam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/weapon_manager.h

    r4833 r4834  
    3232// FORWARD DECLARATION
    3333class Weapon;
     34class Crosshair;
    3435
    3536#define    W_MAX_SLOTS       8
     
    7172    void init();
    7273    void loadParams(const TiXmlElement* root);
     74    void loadWeapons(const TiXmlElement* root);
     75
     76    void setSlotCount(int nrOfSlots);
    7377
    7478    void addWeapon(Weapon* weapon, int configID = W_CONFIG0, int slotID = W_FREE_SLOT);
     
    8185
    8286  private:
     87    Crosshair*            crosshair;               //!< an aim.
     88
    8389    int                   nrOfSlots;               //<! number of weapon slots a ship has
    8490    int                   currConfID;              //<! the currently selected config
Note: See TracChangeset for help on using the changeset viewer.