RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
RoR::SurveyMapEntity Struct Reference

#include <SurveyMapEntity.h>

Public Member Functions

 SurveyMapEntity ()
 
 SurveyMapEntity (const std::string &_type, const std::string &_caption, const std::string &_filename, const std::string &_rg, Ogre::Vector3 _pos, Ogre::Radian _rot, int _id)
 

Data Fields

std::string type
 informational More...
 
std::string caption
 display caption More...
 
std::string filename
 Requested icon, cached may be out of date. More...
 
std::string resource_group
 if empty, defaults to TexturesRG More...
 
Ogre::Vector3 pos
 world pos in meters More...
 
Ogre::Radian rot_angle
 world yaw in radians More...
 
int id = -1
 race ID (>=0), or -1 if not a race icon. You can use larger negative numbers for custom IDs. More...
 
Ogre::TexturePtr cached_icon
 
bool draw_caption = false
 By default, don't draw caption under icon, use the mouse tooltip. More...
 
Ogre::ColourValue caption_color = Ogre::ColourValue::White
 

Detailed Description

Definition at line 35 of file SurveyMapEntity.h.

Constructor & Destructor Documentation

◆ SurveyMapEntity() [1/2]

RoR::SurveyMapEntity::SurveyMapEntity ( )
inline

Definition at line 37 of file SurveyMapEntity.h.

◆ SurveyMapEntity() [2/2]

RoR::SurveyMapEntity::SurveyMapEntity ( const std::string &  _type,
const std::string &  _caption,
const std::string &  _filename,
const std::string &  _rg,
Ogre::Vector3  _pos,
Ogre::Radian  _rot,
int  _id 
)
inline

Definition at line 40 of file SurveyMapEntity.h.

Field Documentation

◆ cached_icon

Ogre::TexturePtr RoR::SurveyMapEntity::cached_icon

Definition at line 51 of file SurveyMapEntity.h.

◆ caption

std::string RoR::SurveyMapEntity::caption

display caption

Definition at line 45 of file SurveyMapEntity.h.

◆ caption_color

Ogre::ColourValue RoR::SurveyMapEntity::caption_color = Ogre::ColourValue::White

Definition at line 53 of file SurveyMapEntity.h.

◆ draw_caption

bool RoR::SurveyMapEntity::draw_caption = false

By default, don't draw caption under icon, use the mouse tooltip.

Definition at line 52 of file SurveyMapEntity.h.

◆ filename

std::string RoR::SurveyMapEntity::filename

Requested icon, cached may be out of date.

Definition at line 46 of file SurveyMapEntity.h.

◆ id

int RoR::SurveyMapEntity::id = -1

race ID (>=0), or -1 if not a race icon. You can use larger negative numbers for custom IDs.

Definition at line 50 of file SurveyMapEntity.h.

◆ pos

Ogre::Vector3 RoR::SurveyMapEntity::pos

world pos in meters

Definition at line 48 of file SurveyMapEntity.h.

◆ resource_group

std::string RoR::SurveyMapEntity::resource_group

if empty, defaults to TexturesRG

Definition at line 47 of file SurveyMapEntity.h.

◆ rot_angle

Ogre::Radian RoR::SurveyMapEntity::rot_angle

world yaw in radians

Definition at line 49 of file SurveyMapEntity.h.

◆ type

std::string RoR::SurveyMapEntity::type

informational

Definition at line 44 of file SurveyMapEntity.h.


The documentation for this struct was generated from the following file: