summaryrefslogtreecommitdiffhomepage
path: root/Stars45/CampaignMissionRequest.cpp
blob: 4026a2891259c7a818bf4f7bb5a30cc46919ee57 (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
38
/*  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 "MemDebug.h"
#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)
{ }