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