summaryrefslogtreecommitdiffhomepage
path: root/Doc/doxygen/html/_combat_group_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/doxygen/html/_combat_group_8h_source.html')
-rw-r--r--Doc/doxygen/html/_combat_group_8h_source.html348
1 files changed, 348 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_combat_group_8h_source.html b/Doc/doxygen/html/_combat_group_8h_source.html
new file mode 100644
index 0000000..cc0e06f
--- /dev/null
+++ b/Doc/doxygen/html/_combat_group_8h_source.html
@@ -0,0 +1,348 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<title>Starshatter_Open: D:/SRC/StarshatterSVN/Stars45/CombatGroup.h Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="navtree.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="resize.js"></script>
+<script type="text/javascript" src="navtree.js"></script>
+<script type="text/javascript">
+ $(document).ready(initResizable);
+</script>
+<link href="search/search.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="search/search.js"></script>
+<script type="text/javascript">
+ $(document).ready(function() { searchBox.OnSelectItem(0); });
+</script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+ <td style="padding-left: 0.5em;">
+ <div id="projectname">Starshatter_Open
+ </div>
+ <div id="projectbrief">Open source Starshatter engine</div>
+ </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.1 -->
+<script type="text/javascript">
+var searchBox = new SearchBox("searchBox", "search",false,'Search');
+</script>
+ <div id="navrow1" class="tabs">
+ <ul class="tablist">
+ <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+ <li><a href="annotated.html"><span>Classes</span></a></li>
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
+ <li>
+ <div id="MSearchBox" class="MSearchBoxInactive">
+ <span class="left">
+ <img id="MSearchSelect" src="search/mag_sel.png"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ alt=""/>
+ <input type="text" id="MSearchField" value="Search" accesskey="S"
+ onfocus="searchBox.OnSearchFieldFocus(true)"
+ onblur="searchBox.OnSearchFieldFocus(false)"
+ onkeyup="searchBox.OnSearchFieldChange(event)"/>
+ </span><span class="right">
+ <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
+ </span>
+ </div>
+ </li>
+ </ul>
+ </div>
+ <div id="navrow2" class="tabs2">
+ <ul class="tablist">
+ <li><a href="files.html"><span>File&#160;List</span></a></li>
+ <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+ </ul>
+ </div>
+</div><!-- top -->
+<div id="side-nav" class="ui-resizable side-nav-resizable">
+ <div id="nav-tree">
+ <div id="nav-tree-contents">
+ </div>
+ </div>
+ <div id="splitbar" style="-moz-user-select:none;"
+ class="ui-resizable-handle">
+ </div>
+</div>
+<script type="text/javascript">
+$(document).ready(function(){initNavTree('_combat_group_8h.html','');});
+</script>
+<div id="doc-content">
+<!-- window showing the filter options -->
+<div id="MSearchSelectWindow"
+ onmouseover="return searchBox.OnSearchSelectShow()"
+ onmouseout="return searchBox.OnSearchSelectHide()"
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
+<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>
+
+<!-- iframe showing the search results (closed by default) -->
+<div id="MSearchResultsWindow">
+<iframe src="javascript:void(0)" frameborder="0"
+ name="MSearchResults" id="MSearchResults">
+</iframe>
+</div>
+
+<div class="header">
+ <div class="headertitle">
+<div class="title">CombatGroup.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_combat_group_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">/* Project Starshatter 4.5</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> Destroyer Studios LLC</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> SUBSYSTEM: Stars.exe</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> FILE: CombatGroup.h</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> AUTHOR: John DiCamillo</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> OVERVIEW</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> ========</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">*/</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#ifndef CombatGroup_h</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CombatGroup_h</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8h.html">Types.h</a>&quot;</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_geometry_8h.html">Geometry.h</a>&quot;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_text_8h.html">Text.h</a>&quot;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_list_8h.html">List.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_intel_8h.html">Intel.h</a>&quot;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">class </span><a class="code" href="class_campaign.html">Campaign</a>;</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span><a class="code" href="class_combatant.html">Combatant</a>;</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">class </span><a class="code" href="class_combat_group.html">CombatGroup</a>;</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="keyword">class </span><a class="code" href="class_combat_unit.html">CombatUnit</a>;</div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="keyword">class </span><a class="code" href="class_combat_zone.html">CombatZone</a>;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">class </span><a class="code" href="class_combat_assignment.html">CombatAssignment</a>;</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div>
+<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="class_combat_group.html"> 34</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_combat_group.html">CombatGroup</a></div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;{</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="class_combat_group.html#a378e34f3ecbfc8e12159281f6ba24269"> 37</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_group.html#a378e34f3ecbfc8e12159281f6ba24269">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;CombatGroup&quot;</span>; }</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div>
+<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31a"> 39</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31a">GROUP_TYPE</a> { </div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa72c9c4add758b23daa2807223ea7d174"> 40</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa72c9c4add758b23daa2807223ea7d174">FORCE</a> = 1, <span class="comment">// Commander In Chief</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aad1283483b5cc559342398d4013a54550"> 42</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aad1283483b5cc559342398d4013a54550">WING</a>, <span class="comment">// Air Force</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aab8438777a42a1c25f5d27d88a6d23061"> 43</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aab8438777a42a1c25f5d27d88a6d23061">INTERCEPT_SQUADRON</a>, <span class="comment">// a2a fighter</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1777dea16207424cdb5329975dc911a0"> 44</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1777dea16207424cdb5329975dc911a0">FIGHTER_SQUADRON</a>, <span class="comment">// multi-role fighter</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aac21182076b00197a25ab1b14c3d32919"> 45</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aac21182076b00197a25ab1b14c3d32919">ATTACK_SQUADRON</a>, <span class="comment">// strike / attack</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aaa49149762ca0c438de197162b8ad5643"> 46</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aaa49149762ca0c438de197162b8ad5643">LCA_SQUADRON</a>, <span class="comment">// landing craft</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;</div>
+<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa56186bdfb2dba0c0226add5b804fcd8f"> 48</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa56186bdfb2dba0c0226add5b804fcd8f">FLEET</a>, <span class="comment">// Navy</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aad81066339cc86f17943d90af278fb39f"> 49</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aad81066339cc86f17943d90af278fb39f">DESTROYER_SQUADRON</a>, <span class="comment">// destroyer</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa467935e44a18dcca8660dcbf11664e7b"> 50</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa467935e44a18dcca8660dcbf11664e7b">BATTLE_GROUP</a>, <span class="comment">// heavy cruiser(s)</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa9fb81138a32b748766be4529f2024f5c"> 51</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa9fb81138a32b748766be4529f2024f5c">CARRIER_GROUP</a>, <span class="comment">// fleet carrier</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;</div>
+<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aacfc7ef629ccc45ffd9a2ece40a5dac7d"> 53</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aacfc7ef629ccc45ffd9a2ece40a5dac7d">BATTALION</a>, <span class="comment">// Army</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa89abeca25e1ae14f5fa13b95a8ed2004"> 54</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa89abeca25e1ae14f5fa13b95a8ed2004">MINEFIELD</a>,</div>
+<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa563a69613d72bf494d99347aae36d080"> 55</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa563a69613d72bf494d99347aae36d080">BATTERY</a>,</div>
+<div class="line"><a name="l00056"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa6f809f8559bf7a11de847144ef3c6292"> 56</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa6f809f8559bf7a11de847144ef3c6292">MISSILE</a>,</div>
+<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa711cf9983d3f0486590c62c6323d8982"> 57</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa711cf9983d3f0486590c62c6323d8982">STATION</a>, <span class="comment">// orbital station</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa60b7c66566ba568473ae0bf00f44ac5f"> 58</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa60b7c66566ba568473ae0bf00f44ac5f">STARBASE</a>, <span class="comment">// planet-side base</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div>
+<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa0401c2b4e4ad694eb585f38284a216ad"> 60</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa0401c2b4e4ad694eb585f38284a216ad">C3I</a>, <span class="comment">// Command, Control, Communications, Intelligence</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa5d20cc1f55c7073ea5af0039cbf37d98"> 61</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa5d20cc1f55c7073ea5af0039cbf37d98">COMM_RELAY</a>,</div>
+<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa7c74b7b9d6a235c4263dbda27d2617cb"> 62</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa7c74b7b9d6a235c4263dbda27d2617cb">EARLY_WARNING</a>,</div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1d7245b20dc0c48222590135d2a9edaf"> 63</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1d7245b20dc0c48222590135d2a9edaf">FWD_CONTROL_CTR</a>,</div>
+<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa210e29a2c54c976f69547057cff4483a"> 64</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa210e29a2c54c976f69547057cff4483a">ECM</a>,</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa632ab08e0ec4a3700d03a8d63d1076de"> 66</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa632ab08e0ec4a3700d03a8d63d1076de">SUPPORT</a>,</div>
+<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa6492784705d71a4737cc58e3c95e8066"> 67</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa6492784705d71a4737cc58e3c95e8066">COURIER</a>,</div>
+<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aabe02e761b16c1a8f9cc2a4f2f5e2694c"> 68</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aabe02e761b16c1a8f9cc2a4f2f5e2694c">MEDICAL</a>,</div>
+<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aad627f723032e6b68d902ee5cf952165e"> 69</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aad627f723032e6b68d902ee5cf952165e">SUPPLY</a>,</div>
+<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa96bd93cca6d6ebbe852b9fde43daa6f3"> 70</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa96bd93cca6d6ebbe852b9fde43daa6f3">REPAIR</a>,</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;</div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa0ebc1013e00c0fa9894bfc873dd25a34"> 72</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa0ebc1013e00c0fa9894bfc873dd25a34">CIVILIAN</a>, <span class="comment">// root for civilian groups</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
+<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa25cc681222681d08b8fb676e2e615fc7"> 74</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa25cc681222681d08b8fb676e2e615fc7">WAR_PRODUCTION</a>,</div>
+<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa5ced9864968b4f6bd54ae4ac79a4c05e"> 75</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa5ced9864968b4f6bd54ae4ac79a4c05e">FACTORY</a>,</div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa9e79c7202ec8bf095c3f1abc657a246e"> 76</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa9e79c7202ec8bf095c3f1abc657a246e">REFINERY</a>,</div>
+<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa09431d71dccecc2f1c1b3728300d930c"> 77</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa09431d71dccecc2f1c1b3728300d930c">RESOURCE</a>,</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
+<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa0820e35822fbe6dc0cb3937c2eaed907"> 79</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa0820e35822fbe6dc0cb3937c2eaed907">INFRASTRUCTURE</a>,</div>
+<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aafa1f6eacaa62f1a8cc6eaa459c6cecb3"> 80</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aafa1f6eacaa62f1a8cc6eaa459c6cecb3">TRANSPORT</a>,</div>
+<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa173332fbde45bc9d8aacce4decb92caa"> 81</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa173332fbde45bc9d8aacce4decb92caa">NETWORK</a>,</div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa15ef2a5a6e04ba0355dd009a5b8b6182"> 82</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa15ef2a5a6e04ba0355dd009a5b8b6182">HABITAT</a>,</div>
+<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aaa75fc673fc07ad8c0f59edc901e0a103"> 83</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aaa75fc673fc07ad8c0f59edc901e0a103">STORAGE</a>,</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
+<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1a4154f68f4742a8c334fd3456461509"> 85</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1a4154f68f4742a8c334fd3456461509">NON_COM</a>, <span class="comment">// other civilian traffic</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa37697a964bad3a13eacf414d3efca6d3"> 86</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa37697a964bad3a13eacf414d3efca6d3">FREIGHT</a>,</div>
+<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa4893fdfe9bbe2caad4c28597aee374d4"> 87</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa4893fdfe9bbe2caad4c28597aee374d4">PASSENGER</a>,</div>
+<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1b4b5803f660f8d7c7f73d869feebd3c"> 88</a></span>&#160; <a class="code" href="class_combat_group.html#a730d1ace5ed97f3a6b1bacaeb710e31aa1b4b5803f660f8d7c7f73d869feebd3c">PRIVATE</a></div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; };</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="class_combat_group.html#a9cb1096e52a623fcd7daadf0a2264ed1">CombatGroup</a>(<span class="keywordtype">int</span> t, <span class="keywordtype">int</span> n, <span class="keyword">const</span> <span class="keywordtype">char</span>* s, <span class="keywordtype">int</span> i, <span class="keywordtype">int</span> e, <a class="code" href="class_combat_group.html">CombatGroup</a>* p=0);</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="class_combat_group.html#a58797d79292d1043b573455080765df9">~CombatGroup</a>();</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="comment">// comparison operators are used to sort combat groups into a priority list</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="comment">// in DESCENDING order, so the sense of the comparison is backwards from</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="comment">// usual...</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_combat_group.html#abe4216c5551ea4e5b195dd1f3fc1daea"> 97</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#abe4216c5551ea4e5b195dd1f3fc1daea">operator &lt; </a>(<span class="keyword">const</span> <a class="code" href="class_combat_group.html">CombatGroup</a>&amp; g)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value &gt; g.value; }</div>
+<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_combat_group.html#a25ae98c3d68dc85bb057ce15ce0fa03a"> 98</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a25ae98c3d68dc85bb057ce15ce0fa03a">operator &lt;= </a>(<span class="keyword">const</span> <a class="code" href="class_combat_group.html">CombatGroup</a>&amp; g)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value &gt;= g.value; }</div>
+<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_combat_group.html#afb5abc6a6b97ae08988cc62c39a29602"> 99</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#afb5abc6a6b97ae08988cc62c39a29602">operator == </a>(<span class="keyword">const</span> <a class="code" href="class_combat_group.html">CombatGroup</a>&amp; g)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span> == &amp;g; }</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="comment">// operations:</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="keyword">static</span> <a class="code" href="class_combat_group.html">CombatGroup</a>* <a class="code" href="class_combat_group.html#af7311c3eed4fd219b49b0079a7ba428a">LoadOrderOfBattle</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fname, <span class="keywordtype">int</span> iff, <a class="code" href="class_combatant.html">Combatant</a>* combatant);</div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a87c6fddb1bb80c262bacbd7ce7ca22f7">SaveOrderOfBattle</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fname, <a class="code" href="class_combat_group.html">CombatGroup</a>* force);</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a4a8aaab8ca7954e08150b5c3ac7a21aa">MergeOrderOfBattle</a>(BYTE* block, <span class="keyword">const</span> <span class="keywordtype">char</span>* fname, <span class="keywordtype">int</span> iff, <a class="code" href="class_combatant.html">Combatant</a>* combatant, <a class="code" href="class_campaign.html">Campaign</a>* campaign);</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#ab1d85800ca4d1f0db8399f7067e9ee47">AddComponent</a>(<a class="code" href="class_combat_group.html">CombatGroup</a>* g);</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <a class="code" href="class_combat_group.html">CombatGroup</a>* <a class="code" href="class_combat_group.html#af981764df9da9dd39f0044f2a6c1d3e1">FindGroup</a>(<span class="keywordtype">int</span> t, <span class="keywordtype">int</span> n=-1);</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <a class="code" href="class_combat_group.html">CombatGroup</a>* <a class="code" href="class_combat_group.html#ab6675756561742bee6188338d05da3fc">Clone</a>(<span class="keywordtype">bool</span> deep=<span class="keyword">true</span>);</div>
+<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;</div>
+<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="comment">// accessors and mutators:</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_group.html#ab6958ea3d307e215015f555308860135">GetDescription</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_group.html#a6cc220d7c925102dcb73bb8979f3e6c3">GetShortDescription</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;</div>
+<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_combat_group.html#aa79df32b211abb3aa5a14993686c997b"> 114</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#aa79df32b211abb3aa5a14993686c997b">SetCombatant</a>(<a class="code" href="class_combatant.html">Combatant</a>* c) { combatant = c; }</div>
+<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;</div>
+<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="class_combat_group.html#aa368b1ebe3a4af7764e822bc35fa6030"> 116</a></span>&#160; <a class="code" href="class_combatant.html">Combatant</a>* <a class="code" href="class_combat_group.html#aa368b1ebe3a4af7764e822bc35fa6030">GetCombatant</a>() { <span class="keywordflow">return</span> combatant; }</div>
+<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="class_combat_group.html#ac70f3442d29c9c0415fff5328e0bfe0c"> 117</a></span>&#160; <a class="code" href="class_combat_group.html">CombatGroup</a>* <a class="code" href="class_combat_group.html#ac70f3442d29c9c0415fff5328e0bfe0c">GetParent</a>() { <span class="keywordflow">return</span> parent; }</div>
+<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="class_combat_group.html#a9594b8be7a3d2918598c843c2d0448ff"> 118</a></span>&#160; <a class="code" href="class_list.html">List&lt;CombatGroup&gt;</a>&amp; <a class="code" href="class_combat_group.html#a9594b8be7a3d2918598c843c2d0448ff">GetComponents</a>() { <span class="keywordflow">return</span> components; }</div>
+<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="class_combat_group.html#a4129de6c21856bfae4159ed3514a13ce"> 119</a></span>&#160; <a class="code" href="class_list.html">List&lt;CombatGroup&gt;</a>&amp; <a class="code" href="class_combat_group.html#a4129de6c21856bfae4159ed3514a13ce">GetLiveComponents</a>() { <span class="keywordflow">return</span> live_comp; }</div>
+<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="class_combat_group.html#ade8a609cbd1ff1fd2a639af8c92a4399"> 120</a></span>&#160; <a class="code" href="class_list.html">List&lt;CombatUnit&gt;</a>&amp; <a class="code" href="class_combat_group.html#ade8a609cbd1ff1fd2a639af8c92a4399">GetUnits</a>() { <span class="keywordflow">return</span> units; }</div>
+<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <a class="code" href="class_combat_unit.html">CombatUnit</a>* <a class="code" href="class_combat_group.html#af6c5932dd8f4bbac54979bf662f79274">GetRandomUnit</a>();</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <a class="code" href="class_combat_unit.html">CombatUnit</a>* <a class="code" href="class_combat_group.html#acc1e3e1f1c82c241c38d5cc95e0358f4">GetFirstUnit</a>();</div>
+<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <a class="code" href="class_combat_unit.html">CombatUnit</a>* <a class="code" href="class_combat_group.html#a22d317693d7331257d4b725e4f4fbe73">GetNextUnit</a>();</div>
+<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <a class="code" href="class_combat_unit.html">CombatUnit</a>* <a class="code" href="class_combat_group.html#a8c09d5fefc4ed7462c285775f5ccca63">FindUnit</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
+<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <a class="code" href="class_combat_group.html">CombatGroup</a>* <a class="code" href="class_combat_group.html#a38391227bce3d2b770881abe039344d6">FindCarrier</a>();</div>
+<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div>
+<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_combat_group.html#a4871296d0c28db18a1b82468b410e0d4"> 127</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_combat_group.html#a4871296d0c28db18a1b82468b410e0d4">Name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name; }</div>
+<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_combat_group.html#aa6e3eb7740a0c9c24df51ba89f405f30"> 128</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#aa6e3eb7740a0c9c24df51ba89f405f30">Type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> type; }</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a6ed9555f66f103fab72a1c01f8de6c6b">CountUnits</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="class_combat_group.html#aa611a83be95d056990025e3b95d633a0"> 130</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#aa611a83be95d056990025e3b95d633a0">IntelLevel</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> enemy_intel;}</div>
+<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="class_combat_group.html#a83963be4b31dba3d2c3c33bec86dd6e2"> 131</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a83963be4b31dba3d2c3c33bec86dd6e2">GetID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> id; }</div>
+<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="class_combat_group.html#a1a5586cad6cf176b575c3ee4ef45bcd1"> 132</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a1a5586cad6cf176b575c3ee4ef45bcd1">GetIFF</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> iff; }</div>
+<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="class_combat_group.html#ac6fb20094d945747e4e76c0d3357591e"> 133</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_combat_group.html#ac6fb20094d945747e4e76c0d3357591e">Location</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> location; }</div>
+<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a54022f68589c0edcf52d6e5cacadd174">MoveTo</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; loc);</div>
+<div class="line"><a name="l00135"></a><span class="lineno"><a class="code" href="class_combat_group.html#a01fc21aac7f36e9a253e0566bc36cddd"> 135</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_combat_group.html#a01fc21aac7f36e9a253e0566bc36cddd">GetRegion</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> region; }</div>
+<div class="line"><a name="l00136"></a><span class="lineno"><a class="code" href="class_combat_group.html#a6075f93d0c5e659c64532f0356a49678"> 136</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a6075f93d0c5e659c64532f0356a49678">SetRegion</a>(<a class="code" href="class_text.html">Text</a> rgn) { region = rgn; }</div>
+<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#afe2b9f0d20b97ca1d5258866533c8e50">AssignRegion</a>(<a class="code" href="class_text.html">Text</a> rgn);</div>
+<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="class_combat_group.html#aa8ebcb457ba9cbac99580d7270d720e3"> 138</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#aa8ebcb457ba9cbac99580d7270d720e3">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; }</div>
+<div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="class_combat_group.html#a72158a781f3a37f73a98f7bd2bf6b845"> 139</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a72158a781f3a37f73a98f7bd2bf6b845">Sorties</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> sorties; }</div>
+<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="class_combat_group.html#ade3042021a85c439d3a96577a8fa1cc3"> 140</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#ade3042021a85c439d3a96577a8fa1cc3">SetSorties</a>(<span class="keywordtype">int</span> n) { sorties = n; }</div>
+<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="class_combat_group.html#a28c46ad625659d6ddbab4a45e2c1f4ea"> 141</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a28c46ad625659d6ddbab4a45e2c1f4ea">Kills</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> kills; }</div>
+<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_combat_group.html#a425684dcb8e4a1b7b34b4d775c1ac467"> 142</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a425684dcb8e4a1b7b34b4d775c1ac467">SetKills</a>(<span class="keywordtype">int</span> n) { kills = n; }</div>
+<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="class_combat_group.html#a4d52bdb8409cf02f4f1f1a50e86efa34"> 143</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a4d52bdb8409cf02f4f1f1a50e86efa34">Points</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> points; }</div>
+<div class="line"><a name="l00144"></a><span class="lineno"><a class="code" href="class_combat_group.html#af0dfdc0904dd3b2935b7fd200fe2b1b5"> 144</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#af0dfdc0904dd3b2935b7fd200fe2b1b5">SetPoints</a>(<span class="keywordtype">int</span> n) { points = n; }</div>
+<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="class_combat_group.html#af9dde67d38429035727ad179cb5274cf"> 145</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#af9dde67d38429035727ad179cb5274cf">UnitIndex</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> unit_index; }</div>
+<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;</div>
+<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_combat_group.html#af75f49eb09f10f7764bd0c5f521598a8">GetNextJumpTime</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;</div>
+<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="class_combat_group.html#ad7669f56ea5f9dfafc752d922ff62224"> 149</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_combat_group.html#ad7669f56ea5f9dfafc752d922ff62224">GetPlanValue</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> plan_value; }</div>
+<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_combat_group.html#a1dd636a5a3caa56679b4d35b72dce31e"> 150</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a1dd636a5a3caa56679b4d35b72dce31e">SetPlanValue</a>(<span class="keywordtype">double</span> v) { plan_value = v; }</div>
+<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div>
+<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a5141a66ed32eb6e183e86db420d7981a">IsAssignable</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a79936e57fe5b19ebbad83387cd44ab52">IsTargetable</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a40b602407ea09c79872513328eb5480e">IsDefensible</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a5c0e8cbd320f37aad263ec1735787d18">IsStrikeTarget</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a2c9c16ff7f0c4b59afeb3f48c4f5362a">IsMovable</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a5df05efd5d017fed388a94b2be59dd8a">IsFighterGroup</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a8a1b5d813f50186e95b9991d8d02686c">IsStarshipGroup</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a98d2c9ccea7caadbc8eddb5f21b43f02">IsReserve</a>() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;</div>
+<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <span class="comment">// these two methods return zero terminated arrays of</span></div>
+<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="comment">// integers identifying the preferred assets for attack</span></div>
+<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="comment">// or defense in priority order:</span></div>
+<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span>* <a class="code" href="class_combat_group.html#a066803a7447a931cb51c452850bc87a7">PreferredAttacker</a>(<span class="keywordtype">int</span> type);</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span>* <a class="code" href="class_combat_group.html#aaadb575e7e14b8e7becd65d409dc9ff6">PreferredDefender</a>(<span class="keywordtype">int</span> type);</div>
+<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;</div>
+<div class="line"><a name="l00167"></a><span class="lineno"><a class="code" href="class_combat_group.html#a8aa76e3daf7c1ce2c7c15da14791bb8c"> 167</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a8aa76e3daf7c1ce2c7c15da14791bb8c">IsExpanded</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> expanded; }</div>
+<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="class_combat_group.html#a1629534be548ea0ea3267c148972f222"> 168</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a1629534be548ea0ea3267c148972f222">SetExpanded</a>(<span class="keywordtype">bool</span> e) { expanded = e; }</div>
+<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div>
+<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_combat_group.html#a49b0006d12be36b422f08ac70ebaedc1"> 170</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_combat_group.html#a49b0006d12be36b422f08ac70ebaedc1">GetAssignedSystem</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> assigned_system; }</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#ad5b5b7f6dfeb9ae8d4235f36f08b421a">SetAssignedSystem</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* s);</div>
+<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="class_combat_group.html#a6544180be9b29f8b5d9642e4fd4c29f3"> 172</a></span>&#160; <a class="code" href="class_combat_zone.html">CombatZone</a>* <a class="code" href="class_combat_group.html#a6544180be9b29f8b5d9642e4fd4c29f3">GetCurrentZone</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> current_zone; }</div>
+<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="class_combat_group.html#a3d4645558fd4d6c28dac7aa725f20fbe"> 173</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a3d4645558fd4d6c28dac7aa725f20fbe">SetCurrentZone</a>(<a class="code" href="class_combat_zone.html">CombatZone</a>* z) { current_zone = z; }</div>
+<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="class_combat_group.html#a70b02868d5a563d78f0e00717e45512d"> 174</a></span>&#160; <a class="code" href="class_combat_zone.html">CombatZone</a>* <a class="code" href="class_combat_group.html#a70b02868d5a563d78f0e00717e45512d">GetAssignedZone</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> assigned_zone; }</div>
+<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a94ce097eb9ff311065ba14d71a872211">SetAssignedZone</a>(<a class="code" href="class_combat_zone.html">CombatZone</a>* z);</div>
+<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a4140819d8ab4397eaa8d899a660dc917">ClearUnlockedZones</a>();</div>
+<div class="line"><a name="l00177"></a><span class="lineno"><a class="code" href="class_combat_group.html#a1081ce6d09d5040aadce02756c9e569f"> 177</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#a1081ce6d09d5040aadce02756c9e569f">IsZoneLocked</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> assigned_zone &amp;&amp; zone_lock; }</div>
+<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a47340a283b9c16585e7a0ff7d4337f78">SetZoneLock</a>(<span class="keywordtype">bool</span> lock=<span class="keyword">true</span>);</div>
+<div class="line"><a name="l00179"></a><span class="lineno"><a class="code" href="class_combat_group.html#aca4f74e67df10abb104759a8b898c65f"> 179</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_combat_group.html#aca4f74e67df10abb104759a8b898c65f">IsSystemLocked</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> assigned_system.<a class="code" href="class_text.html#a3dfa250f46fd909c4fe95fc59372838c">length</a>() &gt; 0; }</div>
+<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;</div>
+<div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="class_combat_group.html#a8f41191b7b5c9b203c24b5f0af2a6c26"> 181</a></span>&#160; <span class="keyword">const</span> <a class="code" href="class_text.html">Text</a>&amp; <a class="code" href="class_combat_group.html#a8f41191b7b5c9b203c24b5f0af2a6c26">GetStrategicDirection</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> strategic_direction; }</div>
+<div class="line"><a name="l00182"></a><span class="lineno"><a class="code" href="class_combat_group.html#a94598d9cd96c48c857c42b8d07de3257"> 182</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#a94598d9cd96c48c857c42b8d07de3257">SetStrategicDirection</a>(<a class="code" href="class_text.html">Text</a> dir) { strategic_direction = dir; }</div>
+<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160;</div>
+<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#ab9bc5d0d6a5ecee9ec8296ddb722aac0">SetIntelLevel</a>(<span class="keywordtype">int</span> n);</div>
+<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a9350b29d1563ed95cc662d2b7843c9b9">CalcValue</a>();</div>
+<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;</div>
+<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="class_combat_group.html#a655877115261ba7f720e80e2b405f204"> 187</a></span>&#160; <a class="code" href="class_list.html">List&lt;CombatAssignment&gt;</a>&amp; <a class="code" href="class_combat_group.html#a655877115261ba7f720e80e2b405f204">GetAssignments</a>() { <span class="keywordflow">return</span> assignments; }</div>
+<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_combat_group.html#abe0d6d1d258cc42a907de7d9faaff061">ClearAssignments</a>();</div>
+<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div>
+<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_combat_group.html#a5e4c0f61b5eea9fd21fa8303f0c37938">TypeFromName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
+<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_group.html#a753465bee1feaf7eb333a52b1e505dc0">NameFromType</a>(<span class="keywordtype">int</span> type);</div>
+<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;</div>
+<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;<span class="keyword">private</span>: </div>
+<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* GetOrdinal() <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div>
+<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="comment">// attributes:</span></div>
+<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; <span class="keywordtype">int</span> type;</div>
+<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>&#160; <span class="keywordtype">int</span> id;</div>
+<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; <a class="code" href="class_text.html">Text</a> name;</div>
+<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <span class="keywordtype">int</span> iff;</div>
+<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordtype">int</span> enemy_intel;</div>
+<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;</div>
+<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; <span class="keywordtype">double</span> plan_value; <span class="comment">// scratch pad for plan modules</span></div>
+<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;</div>
+<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <a class="code" href="class_list.html">List&lt;CombatUnit&gt;</a> units;</div>
+<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160; <a class="code" href="class_list.html">List&lt;CombatGroup&gt;</a> components;</div>
+<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <a class="code" href="class_list.html">List&lt;CombatGroup&gt;</a> live_comp;</div>
+<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <a class="code" href="class_combatant.html">Combatant</a>* combatant;</div>
+<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <a class="code" href="class_combat_group.html">CombatGroup</a>* parent;</div>
+<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <a class="code" href="class_text.html">Text</a> region;</div>
+<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; <a class="code" href="struct_point.html">Point</a> location;</div>
+<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160; <span class="keywordtype">int</span> value;</div>
+<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordtype">int</span> unit_index;</div>
+<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;</div>
+<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160; <span class="keywordtype">int</span> sorties;</div>
+<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; <span class="keywordtype">int</span> kills;</div>
+<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keywordtype">int</span> points;</div>
+<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;</div>
+<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>&#160; <span class="keywordtype">bool</span> expanded; <span class="comment">// for tree control</span></div>
+<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160;</div>
+<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; <a class="code" href="class_text.html">Text</a> assigned_system;</div>
+<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <a class="code" href="class_combat_zone.html">CombatZone</a>* current_zone;</div>
+<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; <a class="code" href="class_combat_zone.html">CombatZone</a>* assigned_zone;</div>
+<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; <span class="keywordtype">bool</span> zone_lock;</div>
+<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <a class="code" href="class_list.html">List&lt;CombatAssignment&gt;</a> assignments;</div>
+<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>&#160;</div>
+<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; <a class="code" href="class_text.html">Text</a> strategic_direction;</div>
+<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;};</div>
+<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div>
+<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160;<span class="preprocessor">#endif CombatGroup_h</span></div>
+<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160;<span class="preprocessor"></span></div>
+</div><!-- fragment --></div><!-- contents -->
+</div><!-- doc-content -->
+<!-- start footer part -->
+<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
+ <ul>
+ <li class="navelem"><a class="el" href="dir_ea1b58c809a5070716d7c602998a95b0.html">Stars45</a></li><li class="navelem"><a class="el" href="_combat_group_8h.html">CombatGroup.h</a></li>
+ <li class="footer">Generated on Tue Jun 5 2012 20:46:50 for Starshatter_Open by
+ <a href="http://www.doxygen.org/index.html">
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li>
+ </ul>
+</div>
+</body>
+</html>