diff options
Diffstat (limited to 'Doc/doxygen/html/_sim_event_8h_source.html')
-rw-r--r-- | Doc/doxygen/html/_sim_event_8h_source.html | 280 |
1 files changed, 0 insertions, 280 deletions
diff --git a/Doc/doxygen/html/_sim_event_8h_source.html b/Doc/doxygen/html/_sim_event_8h_source.html deleted file mode 100644 index eeb7816..0000000 --- a/Doc/doxygen/html/_sim_event_8h_source.html +++ /dev/null @@ -1,280 +0,0 @@ -<!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/SimEvent.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 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 List</span></a></li> - <li><a href="globals.html"><span>File 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('_sim_event_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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </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">SimEvent.h</div> </div> -</div><!--header--> -<div class="contents"> -<a href="_sim_event_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> <span class="comment">/* Project Starshatter 4.5</span></div> -<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Destroyer Studios LLC</span></div> -<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div> -<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div> -<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> SUBSYSTEM: Stars.exe</span></div> -<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> FILE: SimEvent.h</span></div> -<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> AUTHOR: John DiCamillo</span></div> -<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div> -<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"></span></div> -<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> OVERVIEW</span></div> -<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> ========</span></div> -<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> Simulation Universe and Region classes</span></div> -<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">*/</span></div> -<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div> -<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#ifndef SimEvent_h</span></div> -<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define SimEvent_h</span></div> -<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div> -<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="_types_8h.html">Types.h</a>"</span></div> -<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="_list_8h.html">List.h</a>"</span></div> -<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="_text_8h.html">Text.h</a>"</span></div> -<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> -<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> -<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> -<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">class </span><a class="code" href="class_sim.html">Sim</a>;</div> -<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span><a class="code" href="class_sim_region.html">SimRegion</a>;</div> -<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">class </span><a class="code" href="class_sim_object.html">SimObject</a>;</div> -<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="class_sim_observer.html">SimObserver</a>;</div> -<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">class </span><a class="code" href="class_sim_hyper.html">SimHyper</a>;</div> -<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">class </span><a class="code" href="class_combat_group.html">CombatGroup</a>;</div> -<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">class </span><a class="code" href="class_combat_unit.html">CombatUnit</a>;</div> -<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> -<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> -<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div> -<div class="line"><a name="l00034"></a><span class="lineno"><a class="code" href="class_sim_event.html"> 34</a></span> <span class="keyword">class </span><a class="code" href="class_sim_event.html">SimEvent</a></div> -<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> {</div> -<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="class_sim_event.html#a81198272ab68aac188dd80f9868cb3b6"> 37</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_sim_event.html#a81198272ab68aac188dd80f9868cb3b6">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"SimEvent"</span>; }</div> -<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> </div> -<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a88f4c5c06ae5f463a3cb9d38119e84c9"> 39</a></span>  <span class="keyword">enum</span> <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2">EVENT</a> { <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a88f4c5c06ae5f463a3cb9d38119e84c9">LAUNCH</a>=1, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2ae676597088a83b67917c9d9a0d8a00e3">DOCK</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a602425ef1f5036d9dbd863153b6defb6">LAND</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a5d355a3f6f84732ce2fbd5e13e29f2a9">EJECT</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a8ac065af37bcabea90af572a2316b114">CRASH</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a3dcf77ebcc363e417c868f8d28ddeb78">COLLIDE</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a84b827e487186e0690d6a8adc1500702">DESTROYED</a>,</div> -<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2ae436e64277679fb9608926061291cf98"> 40</a></span>  <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a910391192c08c311fe962a645177cdaa">MAKE_ORBIT</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2ae4c0e6ee9952e10321ce143b5bed1584">BREAK_ORBIT</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2ae436e64277679fb9608926061291cf98">QUANTUM_JUMP</a>,</div> -<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a548cb196525f2a8180e5f2e4953d3b2b"> 41</a></span>  <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a154ce0d9cde93730fa2cb554318e4c29">LAUNCH_SHIP</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a548cb196525f2a8180e5f2e4953d3b2b">RECOVER_SHIP</a>,</div> -<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2aba6058d16e665c6cd20e4b713f9144a3"> 42</a></span>  <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a27183568b635035f564ba8836a50a7d5">FIRE_GUNS</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2aba6058d16e665c6cd20e4b713f9144a3">FIRE_MISSILE</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a3f4062e4b56e75feeb88fbf1c8b634f2">DROP_DECOY</a>,</div> -<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2aa334521b0420ec80557e290c96b1cc05"> 43</a></span>  <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a535888d04b66eef9fbd95cb522cee4cb">GUNS_KILL</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2aa334521b0420ec80557e290c96b1cc05">MISSILE_KILL</a>,</div> -<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a7f17b5e783ac2083818b3bfcb851bb90"> 44</a></span>  <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a54df4dc1e09b8bccbe1fd995057cfb26">LAUNCH_PROBE</a>, <a class="code" href="class_sim_event.html#a98f1f7128b77df151a908e03f68bc2c2a7f17b5e783ac2083818b3bfcb851bb90">SCAN_TARGET</a></div> -<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  };</div> -<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> -<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="class_sim_event.html#a569fe342149ff093e3f5e743a721f1b8">SimEvent</a>(<span class="keywordtype">int</span> event, <span class="keyword">const</span> <span class="keywordtype">char</span>* tgt=0, <span class="keyword">const</span> <span class="keywordtype">char</span>* info=0);</div> -<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="class_sim_event.html#a317867b65d2b142e87285d3726815936">~SimEvent</a>();</div> -<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> -<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="class_sim_event.html#a419092930d39993fcf764a65fb71bcd1"> 50</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_sim_event.html#a419092930d39993fcf764a65fb71bcd1">GetEvent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> event; }</div> -<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="class_sim_event.html#a70716b838e4b6949be1f12e00cb500d7"> 51</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_sim_event.html#a70716b838e4b6949be1f12e00cb500d7">GetTime</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> time; }</div> -<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_sim_event.html#aeceaa97521ae0c2f00fd4aa065900cf9">GetEventDesc</a>() <span class="keyword">const</span>;</div> -<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="class_sim_event.html#a61a6a7073ece08e81fafc4925eeeb1bd"> 53</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_sim_event.html#a61a6a7073ece08e81fafc4925eeeb1bd">GetTarget</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> target; }</div> -<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="class_sim_event.html#a8dc1ee5d0484c065f8a43200d6d7ec75"> 54</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_sim_event.html#a8dc1ee5d0484c065f8a43200d6d7ec75">GetInfo</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> info; }</div> -<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="class_sim_event.html#af041538370d75b879a47e794762252e7"> 55</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_sim_event.html#af041538370d75b879a47e794762252e7">GetCount</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> count; }</div> -<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div> -<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">void</span> <a class="code" href="class_sim_event.html#a3eeaddce5b52b2f6097f2c428db132ac">SetTarget</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* tgt);</div> -<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keywordtype">void</span> <a class="code" href="class_sim_event.html#a01f6b40210faa369657457a36dac5a26">SetInfo</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* info);</div> -<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">void</span> <a class="code" href="class_sim_event.html#a3ffe183a2feb71dfc29468f79e50467b">SetCount</a>(<span class="keywordtype">int</span> count);</div> -<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">void</span> <a class="code" href="class_sim_event.html#ab0689965d0d4e07d94033280a7e07d7c">SetTime</a>(<span class="keywordtype">int</span> time);</div> -<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div> -<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">private</span>:</div> -<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">int</span> event;</div> -<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">int</span> time;</div> -<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="class_text.html">Text</a> target;</div> -<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="class_text.html">Text</a> info;</div> -<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">int</span> count;</div> -<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> };</div> -<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div> -<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> -<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div> -<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_ship_stats.html"> 72</a></span> <span class="keyword">class </span><a class="code" href="class_ship_stats.html">ShipStats</a></div> -<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> {</div> -<div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a1ced3d7a71e350ee57d7a060066ab384"> 75</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_ship_stats.html#a1ced3d7a71e350ee57d7a060066ab384">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"ShipStats"</span>; }</div> -<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> -<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="class_ship_stats.html#a21bfe6388ccfe4fb8ec403bc02515039">ShipStats</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span> iff=0);</div> -<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="class_ship_stats.html#a8e437d09bae81881b86e5b8d1bf44c62">~ShipStats</a>();</div> -<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div> -<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a55bc12e6e5f5327b18db7b0031d278a1">Initialize</a>();</div> -<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a1bd5bca823c2c516e3180eb12d04a424">Close</a>();</div> -<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">static</span> <a class="code" href="class_ship_stats.html">ShipStats</a>* <a class="code" href="class_ship_stats.html#a6295f4bd2b5c2037a776f4dc62a8947d">Find</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div> -<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a33e1efca33fec770597447b6e49f6ac5">NumStats</a>();</div> -<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">static</span> <a class="code" href="class_ship_stats.html">ShipStats</a>* <a class="code" href="class_ship_stats.html#a431194826995a50660899997c46b1163">GetStats</a>(<span class="keywordtype">int</span> i);</div> -<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> -<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#abfeafc581bbc4da012282a4fac971b73">Summarize</a>();</div> -<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div> -<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_ship_stats.html#ac1932e0bde70e0cd9e90e152ffc82222"> 88</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_ship_stats.html#ac1932e0bde70e0cd9e90e152ffc82222">GetName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name; }</div> -<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a1bb09d40e46fb38dc3fdf749e5fd1770"> 89</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_ship_stats.html#a1bb09d40e46fb38dc3fdf749e5fd1770">GetType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> type; }</div> -<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a44bd76e8328030d176277eba6ff8cd54"> 90</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_ship_stats.html#a44bd76e8328030d176277eba6ff8cd54">GetRole</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> role; }</div> -<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a07a4e097b5d1288be84fc0db7c15716c"> 91</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_ship_stats.html#a07a4e097b5d1288be84fc0db7c15716c">GetRegion</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> region; }</div> -<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a982edfb7d3ea85048842446fc24ef0b4"> 92</a></span>  <a class="code" href="class_combat_group.html">CombatGroup</a>* <a class="code" href="class_ship_stats.html#a982edfb7d3ea85048842446fc24ef0b4">GetCombatGroup</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> combat_group; }</div> -<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a5a3faf73f68370909c81c5dcdbdaddd9"> 93</a></span>  <a class="code" href="class_combat_unit.html">CombatUnit</a>* <a class="code" href="class_ship_stats.html#a5a3faf73f68370909c81c5dcdbdaddd9">GetCombatUnit</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> combat_unit; }</div> -<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a1f02b748addd4a95f6def0b8f65894f1"> 94</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a1f02b748addd4a95f6def0b8f65894f1">GetElementIndex</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> elem_index; }</div> -<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a1234e2afe77f6c7aac0c182c07641621"> 95</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a1234e2afe77f6c7aac0c182c07641621">GetShipClass</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ship_class; }</div> -<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_ship_stats.html#ab9ac467912e851e792ec1fe52aaa8517"> 96</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#ab9ac467912e851e792ec1fe52aaa8517">GetIFF</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> iff; }</div> -<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a51e0a80dff02f1e44794f25523f23ef1"> 97</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a51e0a80dff02f1e44794f25523f23ef1">GetGunKills</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> kill1; }</div> -<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_ship_stats.html#af70a6f4e8c0eb68306f2b3e17d9600c1"> 98</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#af70a6f4e8c0eb68306f2b3e17d9600c1">GetMissileKills</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> kill2; }</div> -<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a15456d1375ca8937a43530221e7d03a3"> 99</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a15456d1375ca8937a43530221e7d03a3">GetDeaths</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> lost; }</div> -<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a5fa9f18d04890ee999cbdee787b4b4b2"> 100</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a5fa9f18d04890ee999cbdee787b4b4b2">GetColls</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> coll; }</div> -<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a0b20b0d5a348a089ab65b84c3519012c"> 101</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a0b20b0d5a348a089ab65b84c3519012c">GetPoints</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> points; }</div> -<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a493bcce38e61355c7fc3159adad3ac4f"> 102</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a493bcce38e61355c7fc3159adad3ac4f">GetCommandPoints</a>()<span class="keyword">const </span>{ <span class="keywordflow">return</span> cmd_points; }</div> -<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div> -<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_ship_stats.html#adf99eb5c7af08f65c8ff71728c5bc47d"> 104</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#adf99eb5c7af08f65c8ff71728c5bc47d">GetGunShots</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> gun_shots; }</div> -<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a976d8cc15b3de3ac30abc9ec1200374a"> 105</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a976d8cc15b3de3ac30abc9ec1200374a">GetGunHits</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> gun_hits; }</div> -<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a28d2fe2d5a25626bd024480258ce9f0d"> 106</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a28d2fe2d5a25626bd024480258ce9f0d">GetMissileShots</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> missile_shots; }</div> -<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a811138b3ec8a92fdf284c14408b1eb37"> 107</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_ship_stats.html#a811138b3ec8a92fdf284c14408b1eb37">GetMissileHits</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> missile_hits; }</div> -<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> -<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_ship_stats.html#ad1e097fd3e23eb66ac20d45a3e4e741c"> 109</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_ship_stats.html#ad1e097fd3e23eb66ac20d45a3e4e741c">IsPlayer</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> player; }</div> -<div class="line"><a name="l00110"></a><span class="lineno"> 110</span> </div> -<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="class_list.html">List<SimEvent></a>&</div> -<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_ship_stats.html#afc1c1fc6c0ed408150e7d776a0412ea7"> 112</a></span>  <a class="code" href="class_ship_stats.html#afc1c1fc6c0ed408150e7d776a0412ea7">GetEvents</a>() { <span class="keywordflow">return</span> events; }</div> -<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="class_sim_event.html">SimEvent</a>* <a class="code" href="class_ship_stats.html#a1967b08c464784f1606c502031d20448">AddEvent</a>(<a class="code" href="class_sim_event.html">SimEvent</a>* e);</div> -<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="class_sim_event.html">SimEvent</a>* <a class="code" href="class_ship_stats.html#a1967b08c464784f1606c502031d20448">AddEvent</a>(<span class="keywordtype">int</span> event, <span class="keyword">const</span> <span class="keywordtype">char</span>* tgt=0, <span class="keyword">const</span> <span class="keywordtype">char</span>* info=0);</div> -<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">bool</span> <a class="code" href="class_ship_stats.html#a37728a2e7149bcd091e1ec9efa4909f7">HasEvent</a>(<span class="keywordtype">int</span> event);</div> -<div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div> -<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a3427b44a4a1ecf0ca66fb8e184c55c7f"> 117</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a3427b44a4a1ecf0ca66fb8e184c55c7f">SetShipClass</a>(<span class="keywordtype">int</span> c) { ship_class = c; }</div> -<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="class_ship_stats.html#af67b0979f905ad0c524615a74540b970"> 118</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#af67b0979f905ad0c524615a74540b970">SetIFF</a>(<span class="keywordtype">int</span> i) { iff = i; }</div> -<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#aba8481d2d92eac1eb42b48626a4e72a3">SetType</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* t);</div> -<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a62b5ff4c29ff1f08838a1b824156fb5e">SetRole</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* r);</div> -<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#ad174807ce89576428950a80572e9e51e">SetRegion</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* r);</div> -<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#abbb1248119c3755f8f92e29b5594166a">SetCombatGroup</a>(<a class="code" href="class_combat_group.html">CombatGroup</a>* g);</div> -<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a29179646f8abb436954e57c6dde9a408">SetCombatUnit</a>(<a class="code" href="class_combat_unit.html">CombatUnit</a>* u);</div> -<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a37176aa97c7951fa42fae60aa6673c9f">SetElementIndex</a>(<span class="keywordtype">int</span> n);</div> -<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a44d82de0e4a844b816ead4c391421dec">SetPlayer</a>(<span class="keywordtype">bool</span> p);</div> -<div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div> -<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a8912d90be47d6bb06a395c8a4175cdb0"> 127</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a8912d90be47d6bb06a395c8a4175cdb0">AddGunShot</a>() { gun_shots++; }</div> -<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_ship_stats.html#aadc69f910913b167bb5dcb1b070e46da"> 128</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#aadc69f910913b167bb5dcb1b070e46da">AddGunHit</a>() { gun_hits++; }</div> -<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="class_ship_stats.html#ac8b0107b87fa76bf53630b313fed4c36"> 129</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#ac8b0107b87fa76bf53630b313fed4c36">AddMissileShot</a>() { missile_shots++; }</div> -<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a2ba151176f26832876ae58eb46681f95"> 130</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a2ba151176f26832876ae58eb46681f95">AddMissileHit</a>() { missile_hits++; }</div> -<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="class_ship_stats.html#ae19ac316fe1f775df7e6c4416f7deb29"> 131</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#ae19ac316fe1f775df7e6c4416f7deb29">AddPoints</a>(<span class="keywordtype">int</span> p) { points += p; }</div> -<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="class_ship_stats.html#a41bb01fb3029dd56f0cd66d233c6c0fb"> 132</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_ship_stats.html#a41bb01fb3029dd56f0cd66d233c6c0fb">AddCommandPoints</a>(<span class="keywordtype">int</span> p) { cmd_points += p; }</div> -<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div> -<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="keyword">private</span>:</div> -<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="class_text.html">Text</a> name;</div> -<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <a class="code" href="class_text.html">Text</a> type;</div> -<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <a class="code" href="class_text.html">Text</a> role;</div> -<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="class_text.html">Text</a> region;</div> -<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <a class="code" href="class_combat_group.html">CombatGroup</a>* combat_group;</div> -<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="class_combat_unit.html">CombatUnit</a>* combat_unit;</div> -<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordtype">bool</span> player;</div> -<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordtype">int</span> elem_index;</div> -<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keywordtype">int</span> ship_class;</div> -<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordtype">int</span> iff;</div> -<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">int</span> kill1;</div> -<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  <span class="keywordtype">int</span> kill2;</div> -<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  <span class="keywordtype">int</span> lost;</div> -<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  <span class="keywordtype">int</span> coll;</div> -<div class="line"><a name="l00149"></a><span class="lineno"> 149</span> </div> -<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  <span class="keywordtype">int</span> gun_shots;</div> -<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  <span class="keywordtype">int</span> gun_hits;</div> -<div class="line"><a name="l00152"></a><span class="lineno"> 152</span> </div> -<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordtype">int</span> missile_shots;</div> -<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordtype">int</span> missile_hits;</div> -<div class="line"><a name="l00155"></a><span class="lineno"> 155</span> </div> -<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keywordtype">int</span> points;</div> -<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <span class="keywordtype">int</span> cmd_points;</div> -<div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div> -<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  <a class="code" href="class_list.html">List<SimEvent></a> events;</div> -<div class="line"><a name="l00160"></a><span class="lineno"> 160</span> };</div> -<div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> -<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="preprocessor">#endif SimEvent_h</span></div> -<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <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="_sim_event_8h.html">SimEvent.h</a></li> - <li class="footer">Generated on Tue Jun 5 2012 20:47:11 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> |