Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MissionElement Class Reference

#include <Mission.h>

List of all members.

Public Member Functions

 MissionElement ()
 ~MissionElement ()
int operator== (const MissionElement &r) const
int Identity () const
const TextName () const
Text Abbreviation () const
const TextCarrier () const
const TextCommander () const
const TextSquadron () const
const TextPath () const
int ElementID () const
const ShipDesignGetDesign () const
const SkinGetSkin () const
int Count () const
int MaintCount () const
int DeadCount () const
int GetIFF () const
int IntelLevel () const
int MissionRole () const
int Player () const
Text RoleName () const
Color MarkerColor () const
bool IsStarship () const
bool IsDropship () const
bool IsStatic () const
bool IsGroundUnit () const
bool IsSquadron () const
bool IsCarrier () const
bool IsAlert () const
bool IsPlayable () const
bool IsRogue () const
bool IsInvulnerable () const
int RespawnCount () const
int HoldTime () const
int CommandAI () const
int ZoneLock () const
const TextRegion () const
Point Location () const
RLocGetRLoc ()
double Heading () const
Text GetShipName (int n) const
Text GetRegistry (int n) const
List< Instruction > & Objectives ()
List< Text > & Instructions ()
List< Instruction > & NavList ()
List< MissionLoad > & Loadouts ()
List< MissionShip > & Ships ()
void SetName (const char *n)
void SetCarrier (const char *c)
void SetCommander (const char *c)
void SetSquadron (const char *s)
void SetPath (const char *p)
void SetElementID (int id)
void SetDesign (const ShipDesign *d)
void SetSkin (const Skin *s)
void SetCount (int n)
void SetMaintCount (int n)
void SetDeadCount (int n)
void SetIFF (int iff)
void SetIntelLevel (int i)
void SetMissionRole (int r)
void SetPlayer (int p)
void SetPlayable (bool p)
void SetRogue (bool r)
void SetInvulnerable (bool n)
void SetAlert (bool a)
void SetCommandAI (int a)
void SetRegion (const char *rgn)
void SetLocation (const Point &p)
void SetRLoc (const RLoc &r)
void SetHeading (double h)
void SetRespawnCount (int r)
void SetHoldTime (int t)
void SetZoneLock (int z)
void AddNavPoint (Instruction *pt, Instruction *afterPoint=0)
void DelNavPoint (Instruction *pt)
void ClearFlightPlan ()
int GetNavIndex (const Instruction *n)
void AddObjective (Instruction *obj)
void AddInstruction (const char *i)
CombatGroupGetCombatGroup ()
void SetCombatGroup (CombatGroup *g)
CombatUnitGetCombatUnit ()
void SetCombatUnit (CombatUnit *u)

Static Public Member Functions

static const char * TYPENAME ()

Protected Attributes

int id
Text name
Text carrier
Text commander
Text squadron
Text path
int elem_id
const ShipDesigndesign
const Skinskin
int count
int maint_count
int dead_count
int IFF_code
int mission_role
int intel
int respawns
int hold_time
int zone_lock
int player
int command_ai
bool alert
bool playable
bool rogue
bool invulnerable
Text rgn_name
RLoc rloc
double heading
CombatGroupcombat_group
CombatUnitcombat_unit
List< Instructionobjectives
List< Textinstructions
List< Instructionnavlist
List< MissionLoadloadouts
List< MissionShipships

Friends

class Mission

Detailed Description

Definition at line 200 of file Mission.h.


Constructor & Destructor Documentation

MissionElement::MissionElement ( )

Definition at line 1866 of file Mission.cpp.

MissionElement::~MissionElement ( )

Definition at line 1875 of file Mission.cpp.


Member Function Documentation

Text MissionElement::Abbreviation ( ) const

Definition at line 1885 of file Mission.cpp.

void MissionElement::AddInstruction ( const char *  i)
inline

Definition at line 294 of file Mission.h.

void MissionElement::AddNavPoint ( Instruction pt,
Instruction afterPoint = 0 
)

Definition at line 2017 of file Mission.cpp.

void MissionElement::AddObjective ( Instruction obj)
inline

Definition at line 293 of file Mission.h.

const Text& MissionElement::Carrier ( ) const
inline

Definition at line 215 of file Mission.h.

void MissionElement::ClearFlightPlan ( )

Definition at line 2043 of file Mission.cpp.

int MissionElement::CommandAI ( ) const
inline

Definition at line 243 of file Mission.h.

const Text& MissionElement::Commander ( ) const
inline

Definition at line 216 of file Mission.h.

int MissionElement::Count ( ) const
inline

Definition at line 222 of file Mission.h.

int MissionElement::DeadCount ( ) const
inline

Definition at line 224 of file Mission.h.

void MissionElement::DelNavPoint ( Instruction pt)

Definition at line 2036 of file Mission.cpp.

int MissionElement::ElementID ( ) const
inline

Definition at line 219 of file Mission.h.

CombatGroup* MissionElement::GetCombatGroup ( )
inline

Definition at line 296 of file Mission.h.

CombatUnit* MissionElement::GetCombatUnit ( )
inline

Definition at line 298 of file Mission.h.

const ShipDesign* MissionElement::GetDesign ( ) const
inline

Definition at line 220 of file Mission.h.

int MissionElement::GetIFF ( ) const
inline

Definition at line 225 of file Mission.h.

int MissionElement::GetNavIndex ( const Instruction n)

Definition at line 2051 of file Mission.cpp.

Text MissionElement::GetRegistry ( int  n) const

Definition at line 1911 of file Mission.cpp.

RLoc& MissionElement::GetRLoc ( )
inline

Definition at line 248 of file Mission.h.

Text MissionElement::GetShipName ( int  n) const

Definition at line 1894 of file Mission.cpp.

const Skin* MissionElement::GetSkin ( ) const
inline

Definition at line 221 of file Mission.h.

double MissionElement::Heading ( ) const
inline

Definition at line 249 of file Mission.h.

int MissionElement::HoldTime ( ) const
inline

Definition at line 242 of file Mission.h.

int MissionElement::Identity ( ) const
inline

Definition at line 212 of file Mission.h.

List<Text>& MissionElement::Instructions ( )
inline

Definition at line 255 of file Mission.h.

int MissionElement::IntelLevel ( ) const
inline

Definition at line 226 of file Mission.h.

bool MissionElement::IsAlert ( ) const
inline

Definition at line 237 of file Mission.h.

bool MissionElement::IsCarrier ( ) const

Definition at line 1973 of file Mission.cpp.

bool MissionElement::IsDropship ( ) const

Definition at line 1963 of file Mission.cpp.

bool MissionElement::IsGroundUnit ( ) const

Definition at line 1943 of file Mission.cpp.

bool MissionElement::IsInvulnerable ( ) const
inline

Definition at line 240 of file Mission.h.

bool MissionElement::IsPlayable ( ) const
inline

Definition at line 238 of file Mission.h.

bool MissionElement::IsRogue ( ) const
inline

Definition at line 239 of file Mission.h.

bool MissionElement::IsSquadron ( ) const

Definition at line 1983 of file Mission.cpp.

bool MissionElement::IsStarship ( ) const

Definition at line 1953 of file Mission.cpp.

bool MissionElement::IsStatic ( ) const

Definition at line 1933 of file Mission.cpp.

List<MissionLoad>& MissionElement::Loadouts ( )
inline

Definition at line 257 of file Mission.h.

Point MissionElement::Location ( ) const

Definition at line 1994 of file Mission.cpp.

int MissionElement::MaintCount ( ) const
inline

Definition at line 223 of file Mission.h.

Color MissionElement::MarkerColor ( ) const

Definition at line 1927 of file Mission.cpp.

int MissionElement::MissionRole ( ) const
inline

Definition at line 227 of file Mission.h.

const Text& MissionElement::Name ( ) const
inline

Definition at line 213 of file Mission.h.

List<Instruction>& MissionElement::NavList ( )
inline

Definition at line 256 of file Mission.h.

List<Instruction>& MissionElement::Objectives ( )
inline

Definition at line 254 of file Mission.h.

int MissionElement::operator== ( const MissionElement r) const
inline

Definition at line 210 of file Mission.h.

const Text& MissionElement::Path ( ) const
inline

Definition at line 218 of file Mission.h.

int MissionElement::Player ( ) const
inline

Definition at line 228 of file Mission.h.

const Text& MissionElement::Region ( ) const
inline

Definition at line 246 of file Mission.h.

int MissionElement::RespawnCount ( ) const
inline

Definition at line 241 of file Mission.h.

Text MissionElement::RoleName ( ) const

Definition at line 1921 of file Mission.cpp.

void MissionElement::SetAlert ( bool  a)
inline

Definition at line 278 of file Mission.h.

void MissionElement::SetCarrier ( const char *  c)
inline

Definition at line 261 of file Mission.h.

void MissionElement::SetCombatGroup ( CombatGroup g)
inline

Definition at line 297 of file Mission.h.

void MissionElement::SetCombatUnit ( CombatUnit u)
inline

Definition at line 299 of file Mission.h.

void MissionElement::SetCommandAI ( int  a)
inline

Definition at line 279 of file Mission.h.

void MissionElement::SetCommander ( const char *  c)
inline

Definition at line 262 of file Mission.h.

void MissionElement::SetCount ( int  n)
inline

Definition at line 268 of file Mission.h.

void MissionElement::SetDeadCount ( int  n)
inline

Definition at line 270 of file Mission.h.

void MissionElement::SetDesign ( const ShipDesign d)
inline

Definition at line 266 of file Mission.h.

void MissionElement::SetElementID ( int  id)
inline

Definition at line 265 of file Mission.h.

void MissionElement::SetHeading ( double  h)
inline

Definition at line 283 of file Mission.h.

void MissionElement::SetHoldTime ( int  t)
inline

Definition at line 285 of file Mission.h.

void MissionElement::SetIFF ( int  iff)
inline

Definition at line 271 of file Mission.h.

void MissionElement::SetIntelLevel ( int  i)
inline

Definition at line 272 of file Mission.h.

void MissionElement::SetInvulnerable ( bool  n)
inline

Definition at line 277 of file Mission.h.

void MissionElement::SetLocation ( const Point p)

Definition at line 2001 of file Mission.cpp.

void MissionElement::SetMaintCount ( int  n)
inline

Definition at line 269 of file Mission.h.

void MissionElement::SetMissionRole ( int  r)
inline

Definition at line 273 of file Mission.h.

void MissionElement::SetName ( const char *  n)
inline

Definition at line 260 of file Mission.h.

void MissionElement::SetPath ( const char *  p)
inline

Definition at line 264 of file Mission.h.

void MissionElement::SetPlayable ( bool  p)
inline

Definition at line 275 of file Mission.h.

void MissionElement::SetPlayer ( int  p)
inline

Definition at line 274 of file Mission.h.

void MissionElement::SetRegion ( const char *  rgn)
inline

Definition at line 280 of file Mission.h.

void MissionElement::SetRespawnCount ( int  r)
inline

Definition at line 284 of file Mission.h.

void MissionElement::SetRLoc ( const RLoc r)

Definition at line 2009 of file Mission.cpp.

void MissionElement::SetRogue ( bool  r)
inline

Definition at line 276 of file Mission.h.

void MissionElement::SetSkin ( const Skin s)
inline

Definition at line 267 of file Mission.h.

void MissionElement::SetSquadron ( const char *  s)
inline

Definition at line 263 of file Mission.h.

void MissionElement::SetZoneLock ( int  z)
inline

Definition at line 286 of file Mission.h.

List<MissionShip>& MissionElement::Ships ( )
inline

Definition at line 258 of file Mission.h.

const Text& MissionElement::Squadron ( ) const
inline

Definition at line 217 of file Mission.h.

static const char* MissionElement::TYPENAME ( )
inlinestatic

Definition at line 205 of file Mission.h.

int MissionElement::ZoneLock ( ) const
inline

Definition at line 244 of file Mission.h.


Friends And Related Function Documentation

friend class Mission
friend

Definition at line 202 of file Mission.h.


Member Data Documentation

bool MissionElement::alert
protected

Definition at line 322 of file Mission.h.

Text MissionElement::carrier
protected

Definition at line 304 of file Mission.h.

CombatGroup* MissionElement::combat_group
protected

Definition at line 331 of file Mission.h.

CombatUnit* MissionElement::combat_unit
protected

Definition at line 332 of file Mission.h.

int MissionElement::command_ai
protected

Definition at line 321 of file Mission.h.

Text MissionElement::commander
protected

Definition at line 305 of file Mission.h.

int MissionElement::count
protected

Definition at line 311 of file Mission.h.

int MissionElement::dead_count
protected

Definition at line 313 of file Mission.h.

const ShipDesign* MissionElement::design
protected

Definition at line 309 of file Mission.h.

int MissionElement::elem_id
protected

Definition at line 308 of file Mission.h.

double MissionElement::heading
protected

Definition at line 329 of file Mission.h.

int MissionElement::hold_time
protected

Definition at line 318 of file Mission.h.

int MissionElement::id
protected

Definition at line 302 of file Mission.h.

int MissionElement::IFF_code
protected

Definition at line 314 of file Mission.h.

List<Text> MissionElement::instructions
protected

Definition at line 335 of file Mission.h.

int MissionElement::intel
protected

Definition at line 316 of file Mission.h.

bool MissionElement::invulnerable
protected

Definition at line 325 of file Mission.h.

List<MissionLoad> MissionElement::loadouts
protected

Definition at line 337 of file Mission.h.

int MissionElement::maint_count
protected

Definition at line 312 of file Mission.h.

int MissionElement::mission_role
protected

Definition at line 315 of file Mission.h.

Text MissionElement::name
protected

Definition at line 303 of file Mission.h.

List<Instruction> MissionElement::navlist
protected

Definition at line 336 of file Mission.h.

List<Instruction> MissionElement::objectives
protected

Definition at line 334 of file Mission.h.

Text MissionElement::path
protected

Definition at line 307 of file Mission.h.

bool MissionElement::playable
protected

Definition at line 323 of file Mission.h.

int MissionElement::player
protected

Definition at line 320 of file Mission.h.

int MissionElement::respawns
protected

Definition at line 317 of file Mission.h.

Text MissionElement::rgn_name
protected

Definition at line 327 of file Mission.h.

RLoc MissionElement::rloc
protected

Definition at line 328 of file Mission.h.

bool MissionElement::rogue
protected

Definition at line 324 of file Mission.h.

List<MissionShip> MissionElement::ships
protected

Definition at line 338 of file Mission.h.

const Skin* MissionElement::skin
protected

Definition at line 310 of file Mission.h.

Text MissionElement::squadron
protected

Definition at line 306 of file Mission.h.

int MissionElement::zone_lock
protected

Definition at line 319 of file Mission.h.


The documentation for this class was generated from the following files: