Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2005, 3:48:55 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: extemely stupid aiming, but it works. Had to fix quite a few bugs in the process.

File:
1 edited

Legend:

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

    r4954 r4955  
    1414
    1515#include "p_node.h"
     16#include "crosshair.h"
    1617
    1718// FORWARD DECLARATION
    1819class PNode;
    1920class Weapon;
    20 class Crosshair;
    2121template <class T> class tAnimation;
    2222
     
    8787    void removeWeapon(Weapon* weapon, int configID = -1);
    8888
     89
     90
    8991    void nextWeaponConfig();
    9092    void previousWeaponConfig();
    9193    void changeWeaponConfig(int weaponConfig);
    9294
     95    /** @returns a fixed target namely the Crosshair's 3D position */
     96    inline PNode* getFixedTarget() { return this->crosshair; }
    9397    void fire();
    9498
Note: See TracChangeset for help on using the changeset viewer.