summaryrefslogtreecommitdiffhomepage
path: root/Doc/doxygen/html/_system_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/doxygen/html/_system_8h_source.html')
-rw-r--r--Doc/doxygen/html/_system_8h_source.html291
1 files changed, 291 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_system_8h_source.html b/Doc/doxygen/html/_system_8h_source.html
new file mode 100644
index 0000000..0d27548
--- /dev/null
+++ b/Doc/doxygen/html/_system_8h_source.html
@@ -0,0 +1,291 @@
+<!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/System.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('_system_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">System.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_system_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: System.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"> Generic ship System class</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">*/</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef System_h</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define System_h</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</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="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_physical_8h.html">Physical.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="_geometry_8h.html">Geometry.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;</div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</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="l00023"></a><span class="lineno"> 23</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="l00024"></a><span class="lineno"> 24</span>&#160;</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">class </span><a class="code" href="class_component.html">Component</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_ship.html">Ship</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_system_design.html">SystemDesign</a>;</div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
+<div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="class_system.html"> 33</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_system.html">System</a></div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;{</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">friend</span> <a class="code" href="class_component.html">Component</a>;</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="class_system.html#ae795692c52de0ce6cb61940cddcb1d0f"> 38</a></span>&#160; <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_system.html#ae795692c52de0ce6cb61940cddcb1d0f">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">&quot;System&quot;</span>; }</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div>
+<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a0dcaa9e658a445bc2705169cdfc76eca"> 40</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2">CATEGORY</a> { <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2acdbf46d8f11af8feb9121b0093a223c4">MISC_SYSTEM</a>=0, <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a6848a26d7efea5c5866b1112ffe0c94b">DRIVE</a>=1, <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a0dcaa9e658a445bc2705169cdfc76eca">WEAPON</a>, <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a3c34e642e9adea68ff0dc6a352a21873">SHIELD</a>, <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a56097819c97f2471a00b316aa963a3dd">SENSOR</a>,</div>
+<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a026ee2e19b20d037399039e9342348e3"> 41</a></span>&#160; <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a8d4b9a13a194b1249021052f6a1504ac">COMPUTER</a>, <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a026ee2e19b20d037399039e9342348e3">POWER_SOURCE</a>, <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a2e59b466a4e936c9c7010cb449d28a25">FLIGHT_DECK</a>, <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2a696a3c4a4f8da16d4d2b6ffdd32f04a7">FARCASTER</a> };</div>
+<div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07"> 42</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07">STATUS</a> { <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07a85b3350380c479975983e9285eea3449">DESTROYED</a>, <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07a95b73c8f4fbd7a1e4cd019bffb90d1e7">CRITICAL</a>, <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07accd7de0a6f962da9b46e536fefd63041">DEGRADED</a>, <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07abf13d09d965e1fe8442d821061a726af">NOMINAL</a>, <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07abaee8d3e97712781005e1037343479ec">MAINT</a> };</div>
+<div class="line"><a name="l00043"></a><span class="lineno"><a class="code" href="class_system.html#ad5186b65887892137a93b44d381ea21daaac7136c0debed7f05a8ca6d90849e52"> 43</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="class_system.html#ad5186b65887892137a93b44d381ea21d">POWER_FLAGS</a> { <a class="code" href="class_system.html#ad5186b65887892137a93b44d381ea21daaac7136c0debed7f05a8ca6d90849e52">POWER_WATTS</a>=1, <a class="code" href="class_system.html#ad5186b65887892137a93b44d381ea21da839659b221e2033715c7a3a3dd77e719">POWER_CRITICAL</a>=2 };</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="class_system.html#af3a913eb65cb06b8ee8c9d44d402c091">System</a>(<a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2">CATEGORY</a> t, <span class="keywordtype">int</span> s, <span class="keyword">const</span> <span class="keywordtype">char</span>* n, <span class="keywordtype">int</span> maxv,</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#adbe3bc449593934c0783dda70a112567">energy</a>=0, <span class="keywordtype">double</span> <a class="code" href="class_system.html#a9becb94ba9eddf0db66296897fac8e7c">capacity</a>=100, <span class="keywordtype">double</span> <a class="code" href="class_system.html#a07659890fa4be558868444a4f9dfa636">sink_rate</a>=1);</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="class_system.html#af3a913eb65cb06b8ee8c9d44d402c091">System</a>(<span class="keyword">const</span> <a class="code" href="class_system.html">System</a>&amp; s);</div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_system.html#a3be70bb338e3f062f821173fd15680d0">~System</a>();</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div>
+<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="class_system.html#a9fe5c0b42b421973e7676d79409ee8f2"> 50</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a9fe5c0b42b421973e7676d79409ee8f2">operator==</a>(<span class="keyword">const</span> <a class="code" href="class_system.html">System</a>&amp; s)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="keyword">this</span> == &amp;s; }</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div>
+<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="class_system.html#a27a7dfb1d5128bdedbcf4e3cff308bd1"> 52</a></span>&#160; <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2">CATEGORY</a> <a class="code" href="class_system.html#a27a7dfb1d5128bdedbcf4e3cff308bd1">Type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a8e6f4dd2dd928b9fa63ff0bf7cc7d31a">type</a>; }</div>
+<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="class_system.html#a8ee54f24562bebe505f58ad094110945"> 53</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a8ee54f24562bebe505f58ad094110945">Subtype</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a7aa4b04b803a7e2f771a8ec8b4b364e1">subtype</a>; }</div>
+<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="class_system.html#aea36980b3567e8bb9b16ae13cd94fef6"> 54</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_system.html#aea36980b3567e8bb9b16ae13cd94fef6">Name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a39bb5f3c7c4a34b2861d489db9b15ce3">name</a>; }</div>
+<div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="class_system.html#a37638780feb3c8986f06f0bae9f5de98"> 55</a></span>&#160; <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_system.html#a37638780feb3c8986f06f0bae9f5de98">Abbreviation</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#ab2af74e7175276e03fa7a2d433a9423e">abrv</a>; }</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
+<div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="class_system.html#a9fdeba7ab1ab9ebd7cec90fe4a8ce061"> 57</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#a9fdeba7ab1ab9ebd7cec90fe4a8ce061">SetName</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* n) { <a class="code" href="class_system.html#a39bb5f3c7c4a34b2861d489db9b15ce3">name</a> = n; }</div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="code" href="class_system.html#a797bf57fa2d0855ab9b614026267c773"> 58</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#a797bf57fa2d0855ab9b614026267c773">SetAbbreviation</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* a) { <a class="code" href="class_system.html#ab2af74e7175276e03fa7a2d433a9423e">abrv</a> = a; }</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#ae01b59626efed49ab416cf4e91018585">SetDesign</a>(<a class="code" href="class_system_design.html">SystemDesign</a>* d);</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div>
+<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="class_system.html#a028264242fa503cadf45f72579329911"> 61</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_system.html#a028264242fa503cadf45f72579329911">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<span class="keywordtype">int</span>) (<a class="code" href="class_system.html#a806e1b95970eabec11570ea8e9ee7021">max_value</a>*<a class="code" href="class_system.html#ab49e7dfcc5076c271c40410c32062e42">availability</a>*100); }</div>
+<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="class_system.html#a512ed5da7aa09dce2c010d421b129b43"> 62</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a512ed5da7aa09dce2c010d421b129b43">MaxValue</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<span class="keywordtype">int</span>) (<a class="code" href="class_system.html#a806e1b95970eabec11570ea8e9ee7021">max_value</a>*100); }</div>
+<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_system.html#acc2d027a316b31ace051774e6cc70b1f"> 63</a></span>&#160; <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07">STATUS</a> <a class="code" href="class_system.html#acc2d027a316b31ace051774e6cc70b1f">Status</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#ac0647106aa67861161d0ef9a96955fbb">status</a>; }</div>
+<div class="line"><a name="l00064"></a><span class="lineno"><a class="code" href="class_system.html#ac9d35f8d2b2f3d9ca80a4ccea2fa0bf7"> 64</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#ac9d35f8d2b2f3d9ca80a4ccea2fa0bf7">Availability</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#ab49e7dfcc5076c271c40410c32062e42">availability</a>*100; }</div>
+<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_system.html#a6d8b7ad6ba0b0ceb3c39c85ef04c5f57"> 65</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#a6d8b7ad6ba0b0ceb3c39c85ef04c5f57">Safety</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a4f95a93e6b77175847282d3d42fe7aba">safety</a>*100; }</div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="class_system.html#a9acfe599d3cfe368c133c3257c5b8858"> 66</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#a9acfe599d3cfe368c133c3257c5b8858">Stability</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a21222587718594123028f543cc0dc824">stability</a>*100; }</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#aa12aba6611371c2f8d57a08ebd6bdffe">CalcStatus</a>();</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#ad36656caf7e4b7995fa509c256651c60">Repair</a>();</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;</div>
+<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_system.html#abac4cec79e157bcd22c9872ed18ffad4"> 70</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#abac4cec79e157bcd22c9872ed18ffad4">NetAvail</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a69babf9ba25e40f8b6bde8537115c50a">net_avail</a>; }</div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_system.html#aaa4144f1742d2d60ac94f468f4cbe161"> 71</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#aaa4144f1742d2d60ac94f468f4cbe161">SetNetAvail</a>(<span class="keywordtype">double</span> d){ <a class="code" href="class_system.html#a69babf9ba25e40f8b6bde8537115c50a">net_avail</a> = (float) d; }</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
+<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_system.html#a4f4b4d23714503c6352dd613c539d8e1"> 73</a></span>&#160; <a class="code" href="class_list.html">List&lt;Component&gt;</a>&amp; <a class="code" href="class_system.html#a4f4b4d23714503c6352dd613c539d8e1">GetComponents</a>() { <span class="keywordflow">return</span> <a class="code" href="class_system.html#ae0b9a63bfd298c69c54a75869cb63891">components</a>; }</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a3f69f147467995360bf6c32f9b9509c5">ApplyDamage</a>(<span class="keywordtype">double</span> damage);</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#ac45d175e0694915034973b51ad7fa6cb">ExecFrame</a>(<span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a6acb99feb824fbed5f29060d26c45961">ExecMaintFrame</a>(<span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a22ed3c97d635aff13054891358a2a9b9">DoEMCON</a>(<span class="keywordtype">int</span> <a class="code" href="class_system.html#a45d9094701e52c6ed6958abdcfe0490f">emcon</a>);</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// PHYSICAL LOCATION (for inflicting system damage):</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a14849bab7df47b35ea2c2985bb386a8a">Orient</a>(<span class="keyword">const</span> <a class="code" href="class_physical.html">Physical</a>* rep);</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a015be582199d240639925ab23524d58e">Mount</a>(<a class="code" href="struct_point.html">Point</a> loc, <span class="keywordtype">float</span> <a class="code" href="class_system.html#a68ad88a7209602e2586027daf480d0c7">radius</a>, <span class="keywordtype">float</span> <a class="code" href="class_system.html#a72022fe96c1a5f538662037b01891195">hull_factor</a>=0.5f);</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a015be582199d240639925ab23524d58e">Mount</a>(<span class="keyword">const</span> <a class="code" href="class_system.html">System</a>&amp; system);</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_system.html#a49fc8091a7770e9b59b80157f49cfd02"> 85</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_system.html#a49fc8091a7770e9b59b80157f49cfd02">MountLocation</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a569f21343e59883035bd90828ec7c0ea">mount_loc</a>; }</div>
+<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="class_system.html#adadfaadbdde48c7442cbd92aa60a18dc"> 86</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#adadfaadbdde48c7442cbd92aa60a18dc">Radius</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a68ad88a7209602e2586027daf480d0c7">radius</a>; }</div>
+<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_system.html#a22dac27e47c7da8caff5f6ef57d3f9ed"> 87</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#a22dac27e47c7da8caff5f6ef57d3f9ed">HullProtection</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a72022fe96c1a5f538662037b01891195">hull_factor</a>; }</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="comment">// POWER UTILIZATION:</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_system.html#aaefaa9a8cda3196c9fd22b1a1c4066bc"> 90</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_system.html#aaefaa9a8cda3196c9fd22b1a1c4066bc">IsPowerCritical</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="class_system.html#a39160be8ed69449b35764e577886d0f0">power_flags</a> &amp; <a class="code" href="class_system.html#ad5186b65887892137a93b44d381ea21da839659b221e2033715c7a3a3dd77e719">POWER_CRITICAL</a>)?<span class="keyword">true</span>:<span class="keyword">false</span>; }</div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_system.html#ad50ecefab8b1e3c5f9cba1f58bb2c54e"> 91</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_system.html#ad50ecefab8b1e3c5f9cba1f58bb2c54e">UsesWatts</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="class_system.html#a39160be8ed69449b35764e577886d0f0">power_flags</a> &amp; <a class="code" href="class_system.html#ad5186b65887892137a93b44d381ea21daaac7136c0debed7f05a8ca6d90849e52">POWER_WATTS</a>)?<span class="keyword">true</span>:<span class="keyword">false</span>; }</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_system.html#a0bd87db4bed18df927154c80c849ed50">GetRequest</a>(<span class="keywordtype">double</span> seconds) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a7fbb69b8aec95c9b7242f7d32faa5ff9">Distribute</a>(<span class="keywordtype">double</span> delivered_energy, <span class="keywordtype">double</span> seconds);</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
+<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_system.html#a3ab86aa81fedbfd12e17179728440e8a"> 96</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a3ab86aa81fedbfd12e17179728440e8a">GetSourceIndex</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#aed78bf0183cea50fe2dda6c463b41824">source_index</a>; }</div>
+<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_system.html#a0e0c00bc29ae9fcd1c233de1135ca9b7"> 97</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#a0e0c00bc29ae9fcd1c233de1135ca9b7">SetSourceIndex</a>(<span class="keywordtype">int</span> i) { <a class="code" href="class_system.html#aed78bf0183cea50fe2dda6c463b41824">source_index</a> = i; }</div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div>
+<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_system.html#aa681ae523a4c6e1befc0016294e3b346"> 99</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_system.html#aa681ae523a4c6e1befc0016294e3b346">Charge</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<span class="keywordtype">int</span>) (100 * <a class="code" href="class_system.html#adbe3bc449593934c0783dda70a112567">energy</a>/<a class="code" href="class_system.html#a9becb94ba9eddf0db66296897fac8e7c">capacity</a>); }</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"><a class="code" href="class_system.html#afb081d97d5976241aa9a231aa193cb6c"> 101</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_system.html#afb081d97d5976241aa9a231aa193cb6c">IsPowerOn</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#aade420db3e5556649a8693fea92f0675">power_on</a>; }</div>
+<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_system.html#a3bd4c66ce8607a19ae13339c142960c3"> 102</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a3bd4c66ce8607a19ae13339c142960c3">PowerOn</a>() { <a class="code" href="class_system.html#aade420db3e5556649a8693fea92f0675">power_on</a> = <span class="keyword">true</span>; }</div>
+<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_system.html#af93a052a0c410b7bb8a9941e9711699b"> 103</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#af93a052a0c410b7bb8a9941e9711699b">PowerOff</a>() { <a class="code" href="class_system.html#aade420db3e5556649a8693fea92f0675">power_on</a> = <span class="keyword">false</span>; }</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="comment">// percentage, but stored as 0-1</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno"><a class="code" href="class_system.html#a15f8c78d743f2f1d8ff8edd311c9a0d1"> 106</a></span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">double</span> <a class="code" href="class_system.html#a15f8c78d743f2f1d8ff8edd311c9a0d1">GetPowerLevel</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#af09932ea04b378ca7af3907e1b6d682a">power_level</a> * 100; }</div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a7140a434ef4bb24e82c3088a0ef7fd8a">SetPowerLevel</a>(<span class="keywordtype">double</span> level);</div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a6dccca0007addd8db62308fd3c7b6651">SetOverride</a>(<span class="keywordtype">bool</span> over);</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">// for power drain damage:</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_system.html#a9f23162f7f0f168bdc3251b94017cff7">DrainPower</a>(<span class="keywordtype">double</span> to_level);</div>
+<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div>
+<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="class_system.html#abdb673586fabb22f4835b4aca6723df4"> 113</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#abdb673586fabb22f4835b4aca6723df4">SetCapacity</a>(<span class="keywordtype">double</span> c) { <a class="code" href="class_system.html#a9becb94ba9eddf0db66296897fac8e7c">capacity</a> = (float) c; }</div>
+<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_system.html#af76aa58bd5034383d3bec5ca0a0360ee"> 114</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#af76aa58bd5034383d3bec5ca0a0360ee">GetCapacity</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a9becb94ba9eddf0db66296897fac8e7c">capacity</a>; }</div>
+<div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="class_system.html#a2e4a03aecfb5b1506472e844ce58b7cc"> 115</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#a2e4a03aecfb5b1506472e844ce58b7cc">GetEnergy</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#adbe3bc449593934c0783dda70a112567">energy</a>; }</div>
+<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="class_system.html#aa52925ce6db556bd873bbdb4334f814b"> 116</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_system.html#aa52925ce6db556bd873bbdb4334f814b">GetSinkRate</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a07659890fa4be558868444a4f9dfa636">sink_rate</a>; }</div>
+<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#adca1cfa9bae4a07b60986533896ae9a1">SetEMCONPower</a>(<span class="keywordtype">int</span> <a class="code" href="class_system.html#a45d9094701e52c6ed6958abdcfe0490f">emcon</a>, <span class="keywordtype">int</span> <a class="code" href="class_system.html#af09932ea04b378ca7af3907e1b6d682a">power_level</a>);</div>
+<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#aa6b31e982fc7c0dc475d9f26ab42f36c">GetEMCONPower</a>(<span class="keywordtype">int</span> <a class="code" href="class_system.html#a45d9094701e52c6ed6958abdcfe0490f">emcon</a>);</div>
+<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div>
+<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="class_system.html#a38fb35c30f8e01d4d5aa4574c34fbe2f"> 120</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a38fb35c30f8e01d4d5aa4574c34fbe2f">GetExplosionType</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#a91c5ff47a4c1a7d2f78c1d4c53a410cc">explosion_type</a>; }</div>
+<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_system.html#a4a5ae940cc9d9bb4b2a6fef03c7931f4"> 121</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#a4a5ae940cc9d9bb4b2a6fef03c7931f4">SetExplosionType</a>(<span class="keywordtype">int</span> t) { <a class="code" href="class_system.html#a91c5ff47a4c1a7d2f78c1d4c53a410cc">explosion_type</a> = t; }</div>
+<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;</div>
+<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="class_system.html#ab16e6f7a8974e5ea8a66a09ea442664e"> 123</a></span>&#160; <a class="code" href="class_ship.html">Ship</a>* <a class="code" href="class_system.html#ab16e6f7a8974e5ea8a66a09ea442664e">GetShip</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#ac0b96709476d02805d37c40963224e52">ship</a>; }</div>
+<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="class_system.html#aa602daea3f572d1bccb0debc8da8893d"> 124</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#aa602daea3f572d1bccb0debc8da8893d">SetShip</a>(<a class="code" href="class_ship.html">Ship</a>* s) { <a class="code" href="class_system.html#ac0b96709476d02805d37c40963224e52">ship</a> = s; }</div>
+<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="class_system.html#aa96c1cb17457508a53618afdab2f8304"> 125</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#aa96c1cb17457508a53618afdab2f8304">GetID</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_system.html#af102e0d85e8b536fd2ff8c01f032f932">id</a>; }</div>
+<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="class_system.html#a5ad5d29bc95b505cfd29984db4d058a5"> 126</a></span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_system.html#a5ad5d29bc95b505cfd29984db4d058a5">SetID</a>(<span class="keywordtype">int</span> n) { <span class="keywordtype">id</span> = n; }</div>
+<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;</div>
+<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="comment">// AI information:</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="class_system.html#a8e6f4dd2dd928b9fa63ff0bf7cc7d31a"> 130</a></span>&#160; <a class="code" href="class_system.html#a9d5708955d867c8b08eaf27d79b097c2">CATEGORY</a> <a class="code" href="class_system.html#a8e6f4dd2dd928b9fa63ff0bf7cc7d31a">type</a>;</div>
+<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="class_system.html#ac0b96709476d02805d37c40963224e52"> 131</a></span>&#160; <a class="code" href="class_ship.html">Ship</a>* <a class="code" href="class_system.html#ac0b96709476d02805d37c40963224e52">ship</a>;</div>
+<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="class_system.html#af102e0d85e8b536fd2ff8c01f032f932"> 132</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#af102e0d85e8b536fd2ff8c01f032f932">id</a>;</div>
+<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="class_system.html#a7aa4b04b803a7e2f771a8ec8b4b364e1"> 133</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a7aa4b04b803a7e2f771a8ec8b4b364e1">subtype</a>;</div>
+<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="class_system.html#a806e1b95970eabec11570ea8e9ee7021"> 134</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a806e1b95970eabec11570ea8e9ee7021">max_value</a>;</div>
+<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;</div>
+<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="comment">// Displayable name:</span></div>
+<div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="class_system.html#a39bb5f3c7c4a34b2861d489db9b15ce3"> 137</a></span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_system.html#a39bb5f3c7c4a34b2861d489db9b15ce3">name</a>;</div>
+<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="class_system.html#ab2af74e7175276e03fa7a2d433a9423e"> 138</a></span>&#160; <a class="code" href="class_text.html">Text</a> <a class="code" href="class_system.html#ab2af74e7175276e03fa7a2d433a9423e">abrv</a>;</div>
+<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;</div>
+<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="comment">// System health status:</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="class_system.html#ac0647106aa67861161d0ef9a96955fbb"> 141</a></span>&#160; <a class="code" href="class_system.html#a01ad7eea57f4a2799a0159f4c3c75b07">STATUS</a> <a class="code" href="class_system.html#ac0647106aa67861161d0ef9a96955fbb">status</a>;</div>
+<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_system.html#a110de269a84f870e83e308914e109279"> 142</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a110de269a84f870e83e308914e109279">crit_level</a>;</div>
+<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="class_system.html#ab49e7dfcc5076c271c40410c32062e42"> 143</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#ab49e7dfcc5076c271c40410c32062e42">availability</a>;</div>
+<div class="line"><a name="l00144"></a><span class="lineno"><a class="code" href="class_system.html#a4f95a93e6b77175847282d3d42fe7aba"> 144</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a4f95a93e6b77175847282d3d42fe7aba">safety</a>;</div>
+<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="class_system.html#a21222587718594123028f543cc0dc824"> 145</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a21222587718594123028f543cc0dc824">stability</a>;</div>
+<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="class_system.html#ae2e5a39696213cf5b96889da971b9885"> 146</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#ae2e5a39696213cf5b96889da971b9885">safety_overload</a>;</div>
+<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="class_system.html#a69babf9ba25e40f8b6bde8537115c50a"> 147</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a69babf9ba25e40f8b6bde8537115c50a">net_avail</a>;</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"> 149</span>&#160; <span class="comment">// Mounting:</span></div>
+<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_system.html#a569f21343e59883035bd90828ec7c0ea"> 150</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_system.html#a569f21343e59883035bd90828ec7c0ea">mount_loc</a>; <span class="comment">// world space</span></div>
+<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="class_system.html#a82a94c80a97a42580f154b8895ea5de9"> 151</a></span>&#160; <a class="code" href="struct_point.html">Point</a> <a class="code" href="class_system.html#a82a94c80a97a42580f154b8895ea5de9">mount_rel</a>; <span class="comment">// object space</span></div>
+<div class="line"><a name="l00152"></a><span class="lineno"><a class="code" href="class_system.html#a68ad88a7209602e2586027daf480d0c7"> 152</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a68ad88a7209602e2586027daf480d0c7">radius</a>;</div>
+<div class="line"><a name="l00153"></a><span class="lineno"><a class="code" href="class_system.html#a72022fe96c1a5f538662037b01891195"> 153</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a72022fe96c1a5f538662037b01891195">hull_factor</a>;</div>
+<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div>
+<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="comment">// Power Sink:</span></div>
+<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="class_system.html#adbe3bc449593934c0783dda70a112567"> 156</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#adbe3bc449593934c0783dda70a112567">energy</a>;</div>
+<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_system.html#a9becb94ba9eddf0db66296897fac8e7c"> 157</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a9becb94ba9eddf0db66296897fac8e7c">capacity</a>;</div>
+<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_system.html#a07659890fa4be558868444a4f9dfa636"> 158</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#a07659890fa4be558868444a4f9dfa636">sink_rate</a>;</div>
+<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="class_system.html#af09932ea04b378ca7af3907e1b6d682a"> 159</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_system.html#af09932ea04b378ca7af3907e1b6d682a">power_level</a>;</div>
+<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_system.html#aed78bf0183cea50fe2dda6c463b41824"> 160</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#aed78bf0183cea50fe2dda6c463b41824">source_index</a>;</div>
+<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="class_system.html#a39160be8ed69449b35764e577886d0f0"> 161</a></span>&#160; DWORD <a class="code" href="class_system.html#a39160be8ed69449b35764e577886d0f0">power_flags</a>;</div>
+<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="class_system.html#aade420db3e5556649a8693fea92f0675"> 162</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_system.html#aade420db3e5556649a8693fea92f0675">power_on</a>;</div>
+<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="class_system.html#a0c3dfd5616a693b6ce0f0b9b39f2d4df"> 163</a></span>&#160; BYTE <a class="code" href="class_system.html#a0c3dfd5616a693b6ce0f0b9b39f2d4df">emcon_power</a>[3];</div>
+<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_system.html#a45d9094701e52c6ed6958abdcfe0490f"> 164</a></span>&#160; BYTE <a class="code" href="class_system.html#a45d9094701e52c6ed6958abdcfe0490f">emcon</a>;</div>
+<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;</div>
+<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="class_system.html#a91c5ff47a4c1a7d2f78c1d4c53a410cc"> 166</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_system.html#a91c5ff47a4c1a7d2f78c1d4c53a410cc">explosion_type</a>;</div>
+<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div>
+<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="comment">// Subcomponents:</span></div>
+<div class="line"><a name="l00169"></a><span class="lineno"><a class="code" href="class_system.html#a7326b505f782c69438195f6cb9290431"> 169</a></span>&#160; <a class="code" href="class_system_design.html">SystemDesign</a>* <a class="code" href="class_system.html#a7326b505f782c69438195f6cb9290431">design</a>;</div>
+<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_system.html#ae0b9a63bfd298c69c54a75869cb63891"> 170</a></span>&#160; <a class="code" href="class_list.html">List&lt;Component&gt;</a> <a class="code" href="class_system.html#ae0b9a63bfd298c69c54a75869cb63891">components</a>;</div>
+<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;};</div>
+<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160;</div>
+<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="preprocessor">#endif System_h</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno"> 174</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="_system_8h.html">System.h</a></li>
+ <li class="footer">Generated on Thu May 31 2012 16:31:17 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>