diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-05-31 14:46:27 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-05-31 14:46:27 +0000 |
commit | 8898ad9b25fca6afe2374d293a981db02a83d7e9 (patch) | |
tree | 8041e6eb069b6da70b83e82efdb998662140e716 /Doc/doxygen/html/_combat_event_8h_source.html | |
parent | 985b945e4b49b5d5a1394e93fc3a95289c05e449 (diff) | |
download | starshatter-8898ad9b25fca6afe2374d293a981db02a83d7e9.zip starshatter-8898ad9b25fca6afe2374d293a981db02a83d7e9.tar.gz starshatter-8898ad9b25fca6afe2374d293a981db02a83d7e9.tar.bz2 |
Committing the documentation to svn to have it accessible online
Diffstat (limited to 'Doc/doxygen/html/_combat_event_8h_source.html')
-rw-r--r-- | Doc/doxygen/html/_combat_event_8h_source.html | 239 |
1 files changed, 239 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_combat_event_8h_source.html b/Doc/doxygen/html/_combat_event_8h_source.html new file mode 100644 index 0000000..3f3218f --- /dev/null +++ b/Doc/doxygen/html/_combat_event_8h_source.html @@ -0,0 +1,239 @@ +<!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/CombatEvent.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('_combat_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">CombatEvent.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_combat_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: CombatEvent.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"> A significant (newsworthy) event in the dynamic campaign.</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 CombatEvent_h</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define CombatEvent_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="_geometry_8h.html">Geometry.h</a>"</span></div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="_bitmap_8h.html">Bitmap.h</a>"</span></div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="_text_8h.html">Text.h</a>"</span></div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="_list_8h.html">List.h</a>"</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="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keyword">class </span><a class="code" href="class_campaign.html">Campaign</a>;</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <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> <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> </div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> </div> +<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="class_combat_event.html"> 32</a></span> <span class="keyword">class </span><a class="code" href="class_combat_event.html">CombatEvent</a></div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="class_combat_event.html#af0b08cc12a9f5597d7824e200b0a22fa"> 35</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#af0b08cc12a9f5597d7824e200b0a22fa">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"CombatEvent"</span>; }</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div> +<div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922b"> 37</a></span>  <span class="keyword">enum</span> <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922b">EVENT_TYPE</a> {</div> +<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922badf2c5442f0d841486fddced52f7a206f"> 38</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922badf2c5442f0d841486fddced52f7a206f">ATTACK</a>,</div> +<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922bac22f9068def1d8ef2a441b4ccf3e11d6"> 39</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922bac22f9068def1d8ef2a441b4ccf3e11d6">DEFEND</a>,</div> +<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba31c882629dee9bac7f5a1c64e704e71a"> 40</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba31c882629dee9bac7f5a1c64e704e71a">MOVE_TO</a>,</div> +<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba97312a98bfaf0e079d4ec6754e9b3a42"> 41</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba97312a98bfaf0e079d4ec6754e9b3a42">CAPTURE</a>,</div> +<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba6112118beb83c4910c71af375ff1b220"> 42</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba6112118beb83c4910c71af375ff1b220">STRATEGY</a>,</div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div> +<div class="line"><a name="l00044"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922bac289ec147213dd57e82e894051536af2"> 44</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922bac289ec147213dd57e82e894051536af2">CAMPAIGN_START</a>,</div> +<div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba295eebfe419436dbed73ab9a14ccb8e4"> 45</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922ba295eebfe419436dbed73ab9a14ccb8e4">STORY</a>,</div> +<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922baa8a0d22d99e88e31e2ac1a6667683cb2"> 46</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922baa8a0d22d99e88e31e2ac1a6667683cb2">CAMPAIGN_END</a>,</div> +<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922baa7ea7e522eaf0b2b28cb27cbf7276892"> 47</a></span>  <a class="code" href="class_combat_event.html#ac4771b8b333a973ebdab7f5bcbec922baa7ea7e522eaf0b2b28cb27cbf7276892">CAMPAIGN_FAIL</a></div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  };</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_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7"> 50</a></span>  <span class="keyword">enum</span> <a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7">EVENT_SOURCE</a> {</div> +<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7ac6f5e8073c6fa816e3d31b264d9011f9"> 51</a></span>  <a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7ac6f5e8073c6fa816e3d31b264d9011f9">FORCOM</a>,</div> +<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7afd462f253e17dfed08272cad17a8aab1"> 52</a></span>  <a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7afd462f253e17dfed08272cad17a8aab1">TACNET</a>,</div> +<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7a80a5b7eb8b1102fa5228d31e45c4d3c6"> 53</a></span>  <a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7a80a5b7eb8b1102fa5228d31e45c4d3c6">INTEL</a>,</div> +<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7aa64510e45e860439667d0daf08b1f289"> 54</a></span>  <a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7aa64510e45e860439667d0daf08b1f289">MAIL</a>,</div> +<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7a156ddbdf582e45c4d9f233eb9b719326"> 55</a></span>  <a class="code" href="class_combat_event.html#ac4f3840b0bebb227efb5eec495c4d7a7a156ddbdf582e45c4d9f233eb9b719326">NEWS</a></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> </div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <a class="code" href="class_combat_event.html#ab49bd88fcafdd3cf3dbac4d1d3adecd6">CombatEvent</a>(<a class="code" href="class_campaign.html">Campaign</a>* c, <span class="keywordtype">int</span> type, <span class="keywordtype">int</span> time, <span class="keywordtype">int</span> team, <span class="keywordtype">int</span> source, <span class="keyword">const</span> <span class="keywordtype">char</span>* rgn);</div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> +<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="class_combat_event.html#a9245c23c8a4baa8895c963c6fccf3424"> 60</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#a9245c23c8a4baa8895c963c6fccf3424">operator == </a>(<span class="keyword">const</span> <a class="code" href="class_combat_event.html">CombatEvent</a>& u)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span> == &u; }</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="comment">// accessors/mutators:</span></div> +<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_combat_event.html#a7b32acd742a0dba468f2dbe2e28308ff"> 63</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#a7b32acd742a0dba468f2dbe2e28308ff">Type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> type; }</div> +<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="class_combat_event.html#a0a2b66d131e50a30b2eae1679a84492d"> 64</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#a0a2b66d131e50a30b2eae1679a84492d">Time</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> time; }</div> +<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_combat_event.html#a1354c2d4acb5f154ed00298b1fb63a70"> 65</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#a1354c2d4acb5f154ed00298b1fb63a70">GetIFF</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> team; }</div> +<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="class_combat_event.html#af342a0068a70cfc8211b97acdec6b013"> 66</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#af342a0068a70cfc8211b97acdec6b013">Points</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> points; }</div> +<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_combat_event.html#a12c38f1d9ecb4a1dffe7ce1c1a8763aa"> 67</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#a12c38f1d9ecb4a1dffe7ce1c1a8763aa">Source</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> source; }</div> +<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="class_combat_event.html#a4d6540f770439dcb3c61fe595f62de60"> 68</a></span>  <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_combat_event.html#a4d6540f770439dcb3c61fe595f62de60">Location</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> loc; }</div> +<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_combat_event.html#a39bf9c99a050433b4efa18686b3ea766"> 69</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a39bf9c99a050433b4efa18686b3ea766">Region</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> region; }</div> +<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_combat_event.html#a016d315f4ed74f92adbdaa9a871af649"> 70</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a016d315f4ed74f92adbdaa9a871af649">Title</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> title; }</div> +<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_combat_event.html#a0baebd68ae4e4c673762274483340130"> 71</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a0baebd68ae4e4c673762274483340130">Information</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> info; }</div> +<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_combat_event.html#a1ade469e0849d5e592bec2fb87390df4"> 72</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a1ade469e0849d5e592bec2fb87390df4">Filename</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> file; }</div> +<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_combat_event.html#a29ed5a50351ce869d360d7a68a5c5954"> 73</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a29ed5a50351ce869d360d7a68a5c5954">ImageFile</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> image_file; }</div> +<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_combat_event.html#a722158b7475c712efa2fc9401a82f36c"> 74</a></span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a722158b7475c712efa2fc9401a82f36c">SceneFile</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> scene_file; }</div> +<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_combat_event.html#a7bceded9ae4ac62b6f07b9c8b869ea90"> 75</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>& <a class="code" href="class_combat_event.html#a7bceded9ae4ac62b6f07b9c8b869ea90">Image</a>() { <span class="keywordflow">return</span> image; }</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a105b736c269fc7174e39e1fde1171c33">SourceName</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a91abc09717243feaf8f290eef1f58647">TypeName</a>() <span class="keyword">const</span>;</div> +<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="class_combat_event.html#a7a02e93503b40f8aaea249a93afd9142"> 78</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_combat_event.html#a7a02e93503b40f8aaea249a93afd9142">Visited</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> visited; }</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div> +<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_combat_event.html#ac0dd864c7c5b062b1dbeeb713bbef041"> 80</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#ac0dd864c7c5b062b1dbeeb713bbef041">SetType</a>(<span class="keywordtype">int</span> t) { type = t; }</div> +<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="class_combat_event.html#a54365ae8dfb8c12e00b1323d43a46cd8"> 81</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a54365ae8dfb8c12e00b1323d43a46cd8">SetTime</a>(<span class="keywordtype">int</span> t) { time = t; }</div> +<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_combat_event.html#a68293234f2509e71140066cb5beb64ea"> 82</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a68293234f2509e71140066cb5beb64ea">SetIFF</a>(<span class="keywordtype">int</span> t) { team = t; }</div> +<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_combat_event.html#a167953c226dd2f1667994a1f8c4646a4"> 83</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a167953c226dd2f1667994a1f8c4646a4">SetPoints</a>(<span class="keywordtype">int</span> p) { points = p; }</div> +<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="class_combat_event.html#a5d452bb91be5a961b229c2a93bf5fb03"> 84</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a5d452bb91be5a961b229c2a93bf5fb03">SetSource</a>(<span class="keywordtype">int</span> s) { source = s; }</div> +<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="class_combat_event.html#a19da18c0071e001a3bf28dae06423242"> 85</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a19da18c0071e001a3bf28dae06423242">SetLocation</a>(<span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>& p) { loc = p; }</div> +<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="class_combat_event.html#a004601eb41cb40c0ee5cc1089b639770"> 86</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a004601eb41cb40c0ee5cc1089b639770">SetRegion</a>(<a class="code" href="class_text.html">Text</a> rgn) { region = rgn; }</div> +<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_combat_event.html#af493f77d3caa6e51bda5429501328913"> 87</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#af493f77d3caa6e51bda5429501328913">SetTitle</a>(<a class="code" href="class_text.html">Text</a> t) { title = t; }</div> +<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_combat_event.html#ad12f999da3f4e439d33fdbf67e946dec"> 88</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#ad12f999da3f4e439d33fdbf67e946dec">SetInformation</a>(<a class="code" href="class_text.html">Text</a> t) { info = t; }</div> +<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_combat_event.html#ae74d30298f563972de761b026987994f"> 89</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#ae74d30298f563972de761b026987994f">SetFilename</a>(<a class="code" href="class_text.html">Text</a> f) { file = f; }</div> +<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_combat_event.html#a2b6ae81fc1b056dc0be263417494349f"> 90</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a2b6ae81fc1b056dc0be263417494349f">SetImageFile</a>(<a class="code" href="class_text.html">Text</a> f) { image_file = f; }</div> +<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_combat_event.html#a2da2a03768685250e6036eca0312c3d9"> 91</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a2da2a03768685250e6036eca0312c3d9">SetSceneFile</a>(<a class="code" href="class_text.html">Text</a> f) { scene_file = f; }</div> +<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_combat_event.html#a5e9c7b9e56d60c91ce18dcb6a5dd6680"> 92</a></span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a5e9c7b9e56d60c91ce18dcb6a5dd6680">SetVisited</a>(<span class="keywordtype">bool</span> v) { visited = v; }</div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">// operations:</span></div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keywordtype">void</span> <a class="code" href="class_combat_event.html#a28a783c94ad3cd8937a34249faac5be0">Load</a>();</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">// utilities:</span></div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#ac65949c7ba3e68cfafef77d485e183ba">TypeFromName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n);</div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_combat_event.html#a0e1ecbaa9cb79221113774efa45a2f2f">SourceFromName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n);</div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a91abc09717243feaf8f290eef1f58647">TypeName</a>(<span class="keywordtype">int</span> n);</div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_combat_event.html#a105b736c269fc7174e39e1fde1171c33">SourceName</a>(<span class="keywordtype">int</span> n);</div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">private</span>:</div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <a class="code" href="class_campaign.html">Campaign</a>* campaign;</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordtype">int</span> type;</div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">int</span> time;</div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keywordtype">int</span> team;</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keywordtype">int</span> points;</div> +<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keywordtype">int</span> source;</div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keywordtype">bool</span> visited;</div> +<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <a class="code" href="struct_point.html">Point</a> loc;</div> +<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="class_text.html">Text</a> region;</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <a class="code" href="class_text.html">Text</a> title;</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <a class="code" href="class_text.html">Text</a> info;</div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <a class="code" href="class_text.html">Text</a> file;</div> +<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <a class="code" href="class_text.html">Text</a> image_file;</div> +<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="class_text.html">Text</a> scene_file;</div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="class_bitmap.html">Bitmap</a> image;</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> };</div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> +<div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="preprocessor">#endif CombatEvent_h</span></div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</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="_combat_event_8h.html">CombatEvent.h</a></li> + <li class="footer">Generated on Thu May 31 2012 16:31:04 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> |