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

#include <CampaignMissionStarship.h>

List of all members.

Public Member Functions

 CampaignMissionStarship (Campaign *c)
virtual ~CampaignMissionStarship ()
virtual void CreateMission (CampaignMissionRequest *request)

Static Public Member Functions

static const char * TYPENAME ()

Protected Member Functions

virtual MissionGenerateMission (int id)
virtual void SelectType ()
virtual void SelectRegion ()
virtual void GenerateStandardElements ()
virtual void GenerateMissionElements ()
virtual void CreateElements (CombatGroup *g)
virtual void CreateSquadron (CombatGroup *g)
virtual void CreatePlayer ()
virtual void CreateWards ()
virtual void CreateWardFreight ()
virtual void CreateEscorts ()
virtual void CreateTargets ()
virtual void CreateTargetsAssault ()
virtual void CreateTargetsPatrol ()
virtual void CreateTargetsCarrier ()
virtual void CreateTargetsFreightEscort ()
virtual int CreateRandomTarget (const char *rgn, Point base_loc)
virtual MissionElementCreateSingleElement (CombatGroup *g, CombatUnit *u)
virtual MissionElementCreateFighterPackage (CombatGroup *squadron, int count, int role)
virtual CombatGroupFindSquadron (int iff, int type)
virtual CombatUnitFindCarrier (CombatGroup *g)
virtual void DefineMissionObjectives ()
virtual MissionInfoDescribeMission ()
virtual void Exit ()

Protected Attributes

Campaigncampaign
CampaignMissionRequestrequest
MissionInfomission_info
CombatUnitplayer_unit
CombatGroupplayer_group
CombatGroupstrike_group
CombatGroupstrike_target
Missionmission
List< MissionElementplayer_group_elements
MissionElementplayer
MissionElementward
MissionElementprime_target
MissionElementescort
int ownside
int enemy
int mission_type

Detailed Description

Definition at line 39 of file CampaignMissionStarship.h.


Constructor & Destructor Documentation

CampaignMissionStarship::CampaignMissionStarship ( Campaign c)

Definition at line 42 of file CampaignMissionStarship.cpp.

CampaignMissionStarship::~CampaignMissionStarship ( )
virtual

Definition at line 57 of file CampaignMissionStarship.cpp.


Member Function Documentation

void CampaignMissionStarship::CreateElements ( CombatGroup g)
protectedvirtual

Definition at line 415 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateEscorts ( )
protectedvirtual

Definition at line 698 of file CampaignMissionStarship.cpp.

MissionElement * CampaignMissionStarship::CreateFighterPackage ( CombatGroup squadron,
int  count,
int  role 
)
protectedvirtual

Definition at line 1219 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateMission ( CampaignMissionRequest request)
virtual

Definition at line 62 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreatePlayer ( )
protectedvirtual

Definition at line 378 of file CampaignMissionStarship.cpp.

int CampaignMissionStarship::CreateRandomTarget ( const char *  rgn,
Point  base_loc 
)
protectedvirtual

Definition at line 1003 of file CampaignMissionStarship.cpp.

MissionElement * CampaignMissionStarship::CreateSingleElement ( CombatGroup g,
CombatUnit u 
)
protectedvirtual

Definition at line 456 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateSquadron ( CombatGroup g)
protectedvirtual

Definition at line 580 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateTargets ( )
protectedvirtual

Definition at line 705 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateTargetsAssault ( )
protectedvirtual

Definition at line 725 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateTargetsCarrier ( )
protectedvirtual

Definition at line 867 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateTargetsFreightEscort ( )
protectedvirtual

Definition at line 956 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateTargetsPatrol ( )
protectedvirtual

Definition at line 893 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateWardFreight ( )
protectedvirtual

Definition at line 632 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::CreateWards ( )
protectedvirtual

Definition at line 623 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::DefineMissionObjectives ( )
protectedvirtual

Definition at line 1323 of file CampaignMissionStarship.cpp.

MissionInfo * CampaignMissionStarship::DescribeMission ( )
protectedvirtual

Definition at line 1352 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::Exit ( )
protectedvirtual

Definition at line 1398 of file CampaignMissionStarship.cpp.

CombatUnit * CampaignMissionStarship::FindCarrier ( CombatGroup g)
protectedvirtual

Definition at line 565 of file CampaignMissionStarship.cpp.

CombatGroup * CampaignMissionStarship::FindSquadron ( int  iff,
int  type 
)
protectedvirtual

Definition at line 1283 of file CampaignMissionStarship.cpp.

Mission * CampaignMissionStarship::GenerateMission ( int  id)
protectedvirtual

Definition at line 135 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::GenerateMissionElements ( )
protectedvirtual

Definition at line 337 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::GenerateStandardElements ( )
protectedvirtual

Definition at line 276 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::SelectRegion ( )
protectedvirtual

Definition at line 241 of file CampaignMissionStarship.cpp.

void CampaignMissionStarship::SelectType ( )
protectedvirtual

Definition at line 228 of file CampaignMissionStarship.cpp.

static const char* CampaignMissionStarship::TYPENAME ( )
inlinestatic

Definition at line 42 of file CampaignMissionStarship.h.


Member Data Documentation

Campaign* CampaignMissionStarship::campaign
protected

Definition at line 86 of file CampaignMissionStarship.h.

int CampaignMissionStarship::enemy
protected

Definition at line 102 of file CampaignMissionStarship.h.

MissionElement* CampaignMissionStarship::escort
protected

Definition at line 99 of file CampaignMissionStarship.h.

Mission* CampaignMissionStarship::mission
protected

Definition at line 94 of file CampaignMissionStarship.h.

MissionInfo* CampaignMissionStarship::mission_info
protected

Definition at line 88 of file CampaignMissionStarship.h.

int CampaignMissionStarship::mission_type
protected

Definition at line 103 of file CampaignMissionStarship.h.

int CampaignMissionStarship::ownside
protected

Definition at line 101 of file CampaignMissionStarship.h.

MissionElement* CampaignMissionStarship::player
protected

Definition at line 96 of file CampaignMissionStarship.h.

CombatGroup* CampaignMissionStarship::player_group
protected

Definition at line 91 of file CampaignMissionStarship.h.

List<MissionElement> CampaignMissionStarship::player_group_elements
protected

Definition at line 95 of file CampaignMissionStarship.h.

CombatUnit* CampaignMissionStarship::player_unit
protected

Definition at line 90 of file CampaignMissionStarship.h.

MissionElement* CampaignMissionStarship::prime_target
protected

Definition at line 98 of file CampaignMissionStarship.h.

CampaignMissionRequest* CampaignMissionStarship::request
protected

Definition at line 87 of file CampaignMissionStarship.h.

CombatGroup* CampaignMissionStarship::strike_group
protected

Definition at line 92 of file CampaignMissionStarship.h.

CombatGroup* CampaignMissionStarship::strike_target
protected

Definition at line 93 of file CampaignMissionStarship.h.

MissionElement* CampaignMissionStarship::ward
protected

Definition at line 97 of file CampaignMissionStarship.h.


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