summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CampaignMissionRequest.cpp
blob: e8fbc684350c7ef09ad70a2ed2e062a3777b2204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*  Starshatter: The Open Source Project
    Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
    Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
    Copyright (c) 1997-2006, Destroyer Studios LLC.

    AUTHOR:       John DiCamillo


    OVERVIEW
    ========
    CampaignMissionRequest
*/

#include "CampaignMissionRequest.h"
#include "Campaign.h"
#include "Combatant.h"
#include "CombatAssignment.h"
#include "CombatGroup.h"
#include "CombatUnit.h"
#include "CombatZone.h"
#include "Mission.h"
#include "Instruction.h"
#include "ShipDesign.h"
#include "StarSystem.h"
#include "Random.h"

// +--------------------------------------------------------------------+

CampaignMissionRequest::CampaignMissionRequest(Campaign*    c,
                                               int          t,
                                               int          s,
                                               CombatGroup* p,
                                               CombatGroup* tgt)
    : campaign(c), type(t), opp_type(-1), start(s),
      primary_group(p), secondary_group(0),
      objective(tgt), use_loc(false)
{ }