30 #ifndef _HUDNavigation_H__ 31 #define _HUDNavigation_H__ 51 void setConfigValues();
54 virtual void tick(
float dt)
override;
61 virtual void changedOwner()
override;
62 virtual void sizeChanged()
override;
71 {
return this->markerLimit_; }
73 static void selectClosestTarget();
74 static void selectNextTarget();
86 Ogre::TextAreaOverlayElement*
text_;
97 this->healthMarkerSize_ = size;
101 {
return healthMarkerSize_; }
105 this->healthLevelMarkerSize_ = size;
109 {
return healthLevelMarkerSize_; }
113 this->navMarkerSize_ = size;
117 {
return navMarkerSize_; }
120 this->aimMarkerSize_ = size;
125 {
return aimMarkerSize_; }
127 { this->detectionLimit_ = limit; }
129 {
return this->detectionLimit_; }
131 void setTextSize(
float size);
132 float getTextSize()
const;
137 float getArrowSizeX(
int dist)
const;
138 float getArrowSizeY(
int dist)
const;
float getAimMarkerSize() const
Definition: HUDNavigation.h:124
virtual float getRadarSensitivity() const override
Definition: HUDNavigation.h:67
Ogre::TextAreaOverlayElement * text_
Definition: HUDNavigation.h:86
float detectionLimit_
Objects that are more far away than detectionLimit_ are not displayed on the HUD. 10000...
Definition: HUDNavigation.h:164
bool showDistance_
Definition: HUDNavigation.h:151
Declaration of the Tickable interface.
void setAimMarkerSize(float size)
Definition: HUDNavigation.h:118
::std::string string
Definition: gtest-port.h:756
virtual void angleChanged() override
Called whenever the rotation angle has changed.
Definition: HUDNavigation.h:63
void setNavMarkerSize(float size)
Definition: HUDNavigation.h:111
static HUDNavigation * localHUD_s
This is used as a filter. Only the local HUD should be influenced by the static Console Command funct...
Definition: HUDNavigation.h:158
Definition: RadarListener.h:37
Interface for receiving window events.
Definition: RadarViewable.h:48
float getHealthMarkerSize() const
Definition: HUDNavigation.h:100
virtual void radarTick(float dt) override
Definition: HUDNavigation.h:65
std::map< RadarViewable *, ObjectInfo > activeObjectList_
Definition: HUDNavigation.h:142
float healthMarkerSize_
Definition: HUDNavigation.h:145
xmlelement
Definition: Super.h:519
Definition: HUDNavigation.h:77
float healthLevelMarkerSize_
Definition: HUDNavigation.h:146
float getDetectionLimit() const
Definition: HUDNavigation.h:128
Ogre::PanelOverlayElement * healthLevel_
Definition: HUDNavigation.h:83
#define _OverlaysExport
Definition: OverlaysPrereqs.h:60
unsigned int markerLimit_
Definition: HUDNavigation.h:163
unsigned int getMarkerLimit() const
Definition: HUDNavigation.h:70
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
Shared library macros, enums, constants and forward declarations for the overlays module ...
float getNavMarkerSize() const
Definition: HUDNavigation.h:116
Mode
Definition: CorePrereqs.h:102
float currentMunitionSpeed_
Definition: HUDNavigation.h:161
RadarViewable * selectedTarget_
Definition: HUDNavigation.h:153
Definition: HUDNavigation.h:45
float textSize_
Definition: HUDNavigation.h:150
std::string fontName_
Definition: HUDNavigation.h:149
float getHealthLevelMarkerSize() const
Definition: HUDNavigation.h:108
Base class to display content directly onto the screen.
Definition: OrxonoxOverlay.h:72
Declaration of the OrxonoxOverlay class.
bool wasOutOfView_
Definition: HUDNavigation.h:88
void setHealthLevelMarkerSize(float size)
Definition: HUDNavigation.h:103
Ogre::PanelOverlayElement * target_
Definition: HUDNavigation.h:85
bool nextTarget_
Definition: HUDNavigation.h:156
Ogre::PanelOverlayElement * health_
Definition: HUDNavigation.h:82
std::list< std::pair< RadarViewable *, unsigned int > > sortedObjectList_
Definition: HUDNavigation.h:143
Ogre::PanelOverlayElement * panel_
Definition: HUDNavigation.h:84
float navMarkerSize_
Definition: HUDNavigation.h:147
virtual void positionChanged() override
Determines the position of the overlay.
Definition: HUDNavigation.h:64
bool outOfView_
Definition: HUDNavigation.h:87
bool selected_
Definition: HUDNavigation.h:89
The Tickable interface provides a tick(dt) function, that gets called every frame.
Definition: Tickable.h:52
void setHealthMarkerSize(float size)
Definition: HUDNavigation.h:95
float aimMarkerSize_
Definition: HUDNavigation.h:148
bool closestTarget_
Definition: HUDNavigation.h:155
void setDetectionLimit(float limit)
Definition: HUDNavigation.h:126