Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 12, 2005, 3:11:57 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: derivation of superclasses is more clear now. lets see, if this will hold out for some time (about 115 classes long)

File:
1 edited

Legend:

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

    r4836 r4837  
    3333class Weapon;
    3434class Crosshair;
     35template <class T> class tAnimation;
    3536
    3637#define    W_MAX_SLOTS       8
     
    5758
    5859//! this is a weapon Configuration: it has up to 8 slots
    59 typedef struct weaponConfig
     60typedef struct
    6061{
    6162  bool           bUsed;                       //!< is set to true, if this configuration is
    6263  Weapon*        slots[8];
    63 };
     64} weaponConfig;
    6465
    6566
     
    8586
    8687  private:
    87     Crosshair*            crosshair;               //!< an aim.
     88    int getNextFreeSlot(int configID);
    8889
    89     int                   nrOfSlots;               //<! number of weapon slots a ship has
    90     int                   currConfID;              //<! the currently selected config
    91     weaponConfig          configs[4];              //<! a list of four configurations
     90  private:
     91    Crosshair*              crosshair;               //!< an aim.
     92    tAnimation<Crosshair>*  crossHairSizeAnim;
    9293
    93     int getNextFreeSlot(int configID);
     94    int                     nrOfSlots;               //<! number of weapon slots a ship has
     95    int                     currConfID;              //<! the currently selected config
     96    weaponConfig            configs[4];              //<! a list of four configurations
     97
    9498};
Note: See TracChangeset for help on using the changeset viewer.