1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
|
<!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/WeaponDesign.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('_weapon_design_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">WeaponDesign.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="_weapon_design_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: WeaponDesign.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"> Weapon (gun or missile launcher) Design parameters class</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 WeaponDesign_h</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor"></span><span class="preprocessor">#define WeaponDesign_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="_color_8h.html">Color.h</a>"</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="_list_8h.html">List.h</a>"</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="_text_8h.html">Text.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_bitmap.html">Bitmap</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">class </span><a class="code" href="class_model.html">Model</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">class </span><a class="code" href="class_sound.html">Sound</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_weapon_design.html"> 32</a></span> <span class="keyword">class </span><a class="code" href="class_weapon_design.html">WeaponDesign</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_weapon_design.html#a6ae76d391a70824a908509c582169063"> 35</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_weapon_design.html#a6ae76d391a70824a908509c582169063">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"WeaponDesign"</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_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682"> 37</a></span>  <span class="keyword">enum</span> <a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682">CONSTANTS</a> { </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a3f1269bb215959df3dee891c711446aa"> 38</a></span>  <a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a3f1269bb215959df3dee891c711446aa">DMG_NORMAL</a>=0,</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a1a6c7c7a6f71715742a3bfba22b3fde9"> 39</a></span>  <a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a1a6c7c7a6f71715742a3bfba22b3fde9">DMG_EMP</a> =1,</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a62f6eac7fa7567f9b9dac476867911d9"> 40</a></span>  <a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a62f6eac7fa7567f9b9dac476867911d9">DMG_POWER</a> =2,</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a3588d04f62ad454b4e0d304bae90e174"> 41</a></span>  <a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a3588d04f62ad454b4e0d304bae90e174">MAX_STORES</a>=8</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  };</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <a class="code" href="class_weapon_design.html#a051f5334e2f0a8420a9765ad0fb9dcd1">WeaponDesign</a>();</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="code" href="class_weapon_design.html#a381e21f09d9fe88cae6064969c3a5bd4">~WeaponDesign</a>();</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a0a4aa3b51017051c7d3d80f9e6e9f914"> 46</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a0a4aa3b51017051c7d3d80f9e6e9f914">operator == </a>(<span class="keyword">const</span> <a class="code" href="class_weapon_design.html">WeaponDesign</a>& rhs)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> (<a class="code" href="class_weapon_design.html#a5a3037767e18e8a675cef7f3c5e19a78">type</a> == rhs.<a class="code" href="class_weapon_design.html#a5a3037767e18e8a675cef7f3c5e19a78">type</a>) ||</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  (<a class="code" href="class_weapon_design.html#a2cbf0ba2a43e27203e72ae900f7101cb">name</a> == rhs.<a class="code" href="class_weapon_design.html#a2cbf0ba2a43e27203e72ae900f7101cb">name</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>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_weapon_design.html#a573e97a4981adea190a58efe15eaf09f">Initialize</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* filename);</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_weapon_design.html#a43519ae95c1f5c55c7b167c16f007f81">Close</a>();</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">static</span> <a class="code" href="class_weapon_design.html">WeaponDesign</a>* <a class="code" href="class_weapon_design.html#a8b4e39e1c6d9b0a950e318830c7499bb">Get</a>(<span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a5a3037767e18e8a675cef7f3c5e19a78">type</a>);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">static</span> <a class="code" href="class_weapon_design.html">WeaponDesign</a>* <a class="code" href="class_weapon_design.html#a908097f0b85d2a49cb0dc6b09e078d47">Find</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_weapon_design.html#a2cbf0ba2a43e27203e72ae900f7101cb">name</a>);</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">static</span> <a class="code" href="class_weapon_design.html">WeaponDesign</a>* <a class="code" href="class_weapon_design.html#a6a735da2fdab97c6db7a6ce2a8b1e62b">FindModDesign</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_weapon_design.html#a2cbf0ba2a43e27203e72ae900f7101cb">name</a>);</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_weapon_design.html#a8fc87da9507be7ce6956da264cf7c4e5">ClearModCatalog</a>();</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a6dfa3b1df8a39db203a5844434780b0f">GetDesignList</a>(<a class="code" href="class_list.html">List<Text></a>& designs);</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>  <span class="comment">// identification:</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5a3037767e18e8a675cef7f3c5e19a78"> 59</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a5a3037767e18e8a675cef7f3c5e19a78">type</a>; <span class="comment">// unique id</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a2cbf0ba2a43e27203e72ae900f7101cb"> 60</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a2cbf0ba2a43e27203e72ae900f7101cb">name</a>;</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a2d7db86dd0697cfcc34eb814a8a9f861"> 61</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a2d7db86dd0697cfcc34eb814a8a9f861">group</a>;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="class_weapon_design.html#af25bce71fa7b75f5fdf4bcef5a38b329"> 62</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#af25bce71fa7b75f5fdf4bcef5a38b329">description</a>; <span class="comment">// background info for tactical reference</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a860b59b21a3ac0c1356b8fd3fe41e783"> 63</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a860b59b21a3ac0c1356b8fd3fe41e783">secret</a>; <span class="comment">// don't display in the tactical reference</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ad3db268ec7a9f5eaf79923e3b69fdc42"> 65</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#ad3db268ec7a9f5eaf79923e3b69fdc42">drone</a>; <span class="comment">// visible to sensors?</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a25a23a53c2858aaca44235b3c998e89a"> 66</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a25a23a53c2858aaca44235b3c998e89a">primary</a>; <span class="comment">// laser or missile?</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a04c587445da3b085e00c2d0c639f94b9"> 67</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a04c587445da3b085e00c2d0c639f94b9">beam</a>; <span class="comment">// if laser, beam or bolt?</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a65c23f1d913187ad192c86f3f0ca9282"> 68</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a65c23f1d913187ad192c86f3f0ca9282">self_aiming</a>; <span class="comment">// turret or fixed?</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a2903989aa9d1695c08a8ed62fdc5af96"> 69</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a2903989aa9d1695c08a8ed62fdc5af96">syncro</a>; <span class="comment">// fire all barrels?</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a66dbe542bc621ca8be240781f46fcc40"> 70</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a66dbe542bc621ca8be240781f46fcc40">flak</a>; <span class="comment">// splash damage</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5e1b5320243042cc8271bc7ac2cfcf4d"> 71</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a5e1b5320243042cc8271bc7ac2cfcf4d">guided</a>; <span class="comment">// straight, pure pursuit, lead pursuit</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a0c0fecd2dc56723b89f896c8df703d90"> 72</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a0c0fecd2dc56723b89f896c8df703d90">value</a>; <span class="comment">// AI importance of system</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a86a5d85ebad0ec34066203d47f016738"> 73</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a86a5d85ebad0ec34066203d47f016738">decoy_type</a>; <span class="comment">// Ship Classifcation of decoy signature</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a42f815954880e7d55b4844f88049ab33"> 74</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a42f815954880e7d55b4844f88049ab33">probe</a>; <span class="comment">// is sensor probe?</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a3d6bc167f19dd9f441891fca1df51abf"> 75</a></span>  DWORD <a class="code" href="class_weapon_design.html#a3d6bc167f19dd9f441891fca1df51abf">target_type</a>; <span class="comment">// bitmask of acceptable target classes</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>  <span class="comment">// for turrets:</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ae7e303fcc86fe752a6a2fc2d1f551c58"> 78</a></span>  <a class="code" href="struct_vec3.html">Vec3</a> <a class="code" href="class_weapon_design.html#ae7e303fcc86fe752a6a2fc2d1f551c58">muzzle_pts</a>[<a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a3588d04f62ad454b4e0d304bae90e174">MAX_STORES</a>]; <span class="comment">// default turret muzzle points</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a4425c1a5458ec33a7404906b3df896de"> 79</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a4425c1a5458ec33a7404906b3df896de">nbarrels</a>; <span class="comment">// number of barrels on the turret</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// for missile hard points:</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a204e71e7bf26be0d4934e74fa8c3c912"> 82</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_weapon_design.html#a204e71e7bf26be0d4934e74fa8c3c912">visible_stores</a>; <span class="comment">// are external stores visible?</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a4d06fba8659d44184cb37c6e83950582"> 83</a></span>  <a class="code" href="struct_vec3.html">Vec3</a> <a class="code" href="class_weapon_design.html#a4d06fba8659d44184cb37c6e83950582">attachments</a>[<a class="code" href="class_weapon_design.html#a9d9904cd54dbdd674f0db4bdc6d9f682a3588d04f62ad454b4e0d304bae90e174">MAX_STORES</a>]; <span class="comment">// attachment points on the rail</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a495c342c682ced1ee1592dbdebec8dda"> 84</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a495c342c682ced1ee1592dbdebec8dda">nstores</a>; <span class="comment">// number of stores on this hard point</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a8638f7b92a7daebf2783ddcc29b8d3d1"> 85</a></span>  <a class="code" href="struct_vec3.html">Vec3</a> <a class="code" href="class_weapon_design.html#a8638f7b92a7daebf2783ddcc29b8d3d1">eject</a>; <span class="comment">// eject velocity from rail in 3D</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="comment">// auto-aiming arc</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a2735f0de6bd3c98293ee4198d72fed00"> 88</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a2735f0de6bd3c98293ee4198d72fed00">firing_cone</a>; <span class="comment">// maximum deflection in any orientation</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a633ec0409ae7bd05b55a4554406e43a7"> 89</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a633ec0409ae7bd05b55a4554406e43a7">aim_az_max</a>; <span class="comment">// maximum deflection in azimuth</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_weapon_design.html#aac655fe1ef964bced50fe9a8e470f72b"> 90</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#aac655fe1ef964bced50fe9a8e470f72b">aim_az_min</a>; <span class="comment">// minimum deflection in azimuth</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a3ca8dd282300c957c27f767a01181ecb"> 91</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a3ca8dd282300c957c27f767a01181ecb">aim_az_rest</a>; <span class="comment">// azimuth of turret at rest</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a599e8c06d625cbd50d451841b9023cb9"> 92</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a599e8c06d625cbd50d451841b9023cb9">aim_el_max</a>; <span class="comment">// maximum deflection in elevation</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="class_weapon_design.html#acaea0de742107aa430363b665ebd4d8b"> 93</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#acaea0de742107aa430363b665ebd4d8b">aim_el_min</a>; <span class="comment">// minimum deflection in elevation</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5f682f21d8e3099fb6e5c8d0dd69494e"> 94</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a5f682f21d8e3099fb6e5c8d0dd69494e">aim_el_rest</a>; <span class="comment">// elevation of turret at rest</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5b628323ca8bee4ba2ae4a467564cf29"> 95</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a5b628323ca8bee4ba2ae4a467564cf29">slew_rate</a>; <span class="comment">// max rate of turret slew in rad/sec</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a502144310af49e9aa8a6db11fe759ab3"> 96</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a502144310af49e9aa8a6db11fe759ab3">turret_axis</a>; <span class="comment">// 0=az 1=el 2=not supported</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> </div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="comment">// functional parameters:</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_weapon_design.html#aebecf5c0810bf9085b395f5cd2edc9c8"> 99</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#aebecf5c0810bf9085b395f5cd2edc9c8">capacity</a>; <span class="comment">// full charge (joules)</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5448ffbb69e9a1db6a272c9a41810404"> 100</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a5448ffbb69e9a1db6a272c9a41810404">recharge_rate</a>; <span class="comment">// watts</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5f751cb074910bebefd33698d3cc3ee9"> 101</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a5f751cb074910bebefd33698d3cc3ee9">refire_delay</a>; <span class="comment">// seconds - mechanical limit</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ae037e6e8d0668c36e721b4b9021f1473"> 102</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ae037e6e8d0668c36e721b4b9021f1473">salvo_delay</a>; <span class="comment">// seconds - ai refire time</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="code" href="class_weapon_design.html#aed03fd2952d434fd421c82ae52855ea5"> 103</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#aed03fd2952d434fd421c82ae52855ea5">ammo</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a53f6ff2b36d5e86d561480e39e776b22"> 104</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a53f6ff2b36d5e86d561480e39e776b22">ripple_count</a>; <span class="comment">// number of rounds per salvo</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="comment">// carrying costs per shot:</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a82136e096d782297651c48d974b24db2"> 107</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a82136e096d782297651c48d974b24db2">charge</a>; <span class="comment">// energy cost of full charge</span></div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ae0e50e7551acc6d0a95a9ba0f6c0ba9b"> 108</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ae0e50e7551acc6d0a95a9ba0f6c0ba9b">min_charge</a>; <span class="comment">// minimum energy needed to fire</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a7d1b197dd379438d99bfe64a8ec40692"> 109</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a7d1b197dd379438d99bfe64a8ec40692">carry_mass</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a20df8f3779925be74ca8f0fd79b55498"> 110</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a20df8f3779925be74ca8f0fd79b55498">carry_resist</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="comment">// shot parameters:</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="class_weapon_design.html#adfcf72e7f4be4c3313c84c51b1829f10"> 113</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#adfcf72e7f4be4c3313c84c51b1829f10">damage_type</a>; <span class="comment">// 0: normal, 1: EMP, 2: power drain</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ac0a098f4619da09066f5ebee76ca5dc0"> 114</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ac0a098f4619da09066f5ebee76ca5dc0">damage</a>; <span class="comment">// if beam, damage per second;</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="comment">// else, damage per shot.</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a476d2928c6b1ac65c42ad669afcca47a"> 116</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a476d2928c6b1ac65c42ad669afcca47a">penetration</a>; <span class="comment">// ability to pierce shields, 1 is default</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ab57f6a6fd4483a04b20cdb273629631c"> 117</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ab57f6a6fd4483a04b20cdb273629631c">speed</a>;</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a67e248c3f9ceb80ba7ce0704bad9990a"> 118</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a67e248c3f9ceb80ba7ce0704bad9990a">life</a>;</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5523026c78909b6a65ce5587b64e0fea"> 119</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a5523026c78909b6a65ce5587b64e0fea">mass</a>;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a9f253f31f3a19a110b674d7bdd4f9313"> 120</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a9f253f31f3a19a110b674d7bdd4f9313">drag</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_weapon_design.html#aa706c025fe6def4792809be2b6764247"> 121</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#aa706c025fe6def4792809be2b6764247">thrust</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a78a50d7c50c6b0aa4608cce64a148b3d"> 122</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a78a50d7c50c6b0aa4608cce64a148b3d">roll_rate</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a04c26767ff7a7d82d6805f4ced3594fa"> 123</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a04c26767ff7a7d82d6805f4ced3594fa">pitch_rate</a>;</div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ac8eb1177c8889bec1e155d078870a0bc"> 124</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ac8eb1177c8889bec1e155d078870a0bc">yaw_rate</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ac3a238e1fe4835b98d3cf5814b990f2d"> 125</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ac3a238e1fe4835b98d3cf5814b990f2d">roll_drag</a>;</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a81b8653de44b3dc2550081f5b05013ec"> 126</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a81b8653de44b3dc2550081f5b05013ec">pitch_drag</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ac9f8ab6e70c8354bbd0d4a1846513102"> 127</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ac9f8ab6e70c8354bbd0d4a1846513102">yaw_drag</a>;</div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a2407e30e98c80d009cd87ae7daf1e337"> 128</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a2407e30e98c80d009cd87ae7daf1e337">integrity</a>; <span class="comment">// hit points for drones = 100</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a4a4e93a7a1c08c55bdf19156d780cb86"> 129</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a4a4e93a7a1c08c55bdf19156d780cb86">lethal_radius</a>; <span class="comment">// detonation range for missiles</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ac3c0bdb99d8ad8c404fa798d9a2b08a7"> 131</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ac3c0bdb99d8ad8c404fa798d9a2b08a7">det_range</a>; <span class="comment">// detonation range for cluster weapons</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a7d02f28749749f60d5e8766f0659c2f1"> 132</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a7d02f28749749f60d5e8766f0659c2f1">det_child</a>; <span class="comment">// type of submunition</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a736b2e63c1f9f33770a1783a5f6aa224"> 133</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a736b2e63c1f9f33770a1783a5f6aa224">det_count</a>; <span class="comment">// number of submunitions</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a880b880b74ed7313a3bd6683b1947d89"> 134</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a880b880b74ed7313a3bd6683b1947d89">det_spread</a>; <span class="comment">// spread of submunition deployment</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> </div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="comment">// HUD parameters:</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ae25cf4d9cbe631579deadcf21a4ad7a7"> 137</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ae25cf4d9cbe631579deadcf21a4ad7a7">min_range</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ae766af0fe80f7780b8542ee72d75b1f1"> 138</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#ae766af0fe80f7780b8542ee72d75b1f1">max_range</a>;</div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a20602fc8a3be82f5688a6a8b30c6b2af"> 139</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a20602fc8a3be82f5688a6a8b30c6b2af">max_track</a>;</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="comment">// shot representation:</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="class_weapon_design.html#afb980c0d6ac8a086779a0fcd7934ffd0"> 142</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#afb980c0d6ac8a086779a0fcd7934ffd0">graphic_type</a>; <span class="comment">// sprite or blob?</span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a7379a9cf98bdae845f1a1cff2246053c"> 143</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a7379a9cf98bdae845f1a1cff2246053c">width</a>; <span class="comment">// blob width</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a2dd35ad4112be5f5e69c88a78e9bb318"> 144</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a2dd35ad4112be5f5e69c88a78e9bb318">length</a>; <span class="comment">// blob length</span></div>
<div class="line"><a name="l00145"></a><span class="lineno"><a class="code" href="class_weapon_design.html#adb663c96dfe802265e62969e650c2078"> 145</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#adb663c96dfe802265e62969e650c2078">scale</a>; <span class="comment">// sprite scale</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a8172e152f75b151de8c0542f4d5a5fb9"> 146</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a8172e152f75b151de8c0542f4d5a5fb9">explosion_scale</a>; <span class="comment">// scale factor for damage to this drone</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="class_weapon_design.html#afc20140bc220c986fb169c4377bfe6ee"> 147</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#afc20140bc220c986fb169c4377bfe6ee">light</a>; <span class="comment">// light emitted by shot</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ad04083e767beb3841d462aeef3f7bfd6"> 148</a></span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_weapon_design.html#ad04083e767beb3841d462aeef3f7bfd6">light_color</a>; <span class="comment">// color of light emitted by shot</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a9a50339be800cc2ddb5f1ad4c381f067"> 149</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a9a50339be800cc2ddb5f1ad4c381f067">flash_scale</a>; <span class="comment">// size of muzzle flash sprite</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5352817a81171997e5124339cecc6d38"> 150</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a5352817a81171997e5124339cecc6d38">flare_scale</a>; <span class="comment">// size of drive flare sprite</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span> </div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a9927d96f8384b420b1497365df900a94"> 152</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a9927d96f8384b420b1497365df900a94">spread_az</a>; <span class="comment">// spread range in radians</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a1581e1a5bd41e9efe6cab3ca0a2bc650"> 153</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a1581e1a5bd41e9efe6cab3ca0a2bc650">spread_el</a>; <span class="comment">// spread range in radians</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> </div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="class_weapon_design.html#acd9222c00c157e042df0a89256810141"> 155</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#acd9222c00c157e042df0a89256810141">anim_frames</a>[16];</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a387a2319180f203fce125c92a98333e1"> 156</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a387a2319180f203fce125c92a98333e1">anim_length</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a64a5e3d5200d490b68c6df0c22d7761e"> 157</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a64a5e3d5200d490b68c6df0c22d7761e">beauty</a>;</div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_weapon_design.html#ab2c75318f6a18441e45fb92b71e2df0b"> 158</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#ab2c75318f6a18441e45fb92b71e2df0b">bitmap</a>;</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a7c62b8c2841c89b418f2323c0be8cbea"> 159</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a7c62b8c2841c89b418f2323c0be8cbea">model</a>;</div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5b3e57827ea8f648f5f1780cb89ba35c"> 160</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a5b3e57827ea8f648f5f1780cb89ba35c">turret</a>;</div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a874661cc3f69ccaa546860356a4f9d52"> 161</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a874661cc3f69ccaa546860356a4f9d52">turret_base</a>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a3acfbbd0a71c276bad10e4b67e023f59"> 162</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a3acfbbd0a71c276bad10e4b67e023f59">trail</a>;</div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a7ca4468bec8b452845276e26e86cece7"> 163</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#a7ca4468bec8b452845276e26e86cece7">flash</a>;</div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_weapon_design.html#af3b495a5c0ee3ac6cfbad3f15a22a574"> 164</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#af3b495a5c0ee3ac6cfbad3f15a22a574">flare</a>;</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="code" href="class_weapon_design.html#abeb54176b86c319341030a6640dd20cf"> 165</a></span>  <a class="code" href="class_text.html">Text</a> <a class="code" href="class_weapon_design.html#abeb54176b86c319341030a6640dd20cf">sound</a>;</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span> </div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a8431487735b2925ac0f5326372e429c9"> 167</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_weapon_design.html#a8431487735b2925ac0f5326372e429c9">beauty_img</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a284f8869d783130bc190c6d0e278b405"> 168</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_weapon_design.html#a284f8869d783130bc190c6d0e278b405">animation</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a21a062ee914fd1eb13cbdcd4d5e8159f"> 169</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_weapon_design.html#a21a062ee914fd1eb13cbdcd4d5e8159f">shot_img</a>;</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_weapon_design.html#adcf82d1baa6abc796547168db46cc9b7"> 170</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_weapon_design.html#adcf82d1baa6abc796547168db46cc9b7">trail_img</a>;</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="class_weapon_design.html#aff221726ebd03e6b01a9bd69d50943b1"> 171</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_weapon_design.html#aff221726ebd03e6b01a9bd69d50943b1">flash_img</a>;</div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="class_weapon_design.html#aba65fb2fa929feea622b8608a40ee0ba"> 172</a></span>  <a class="code" href="class_bitmap.html">Bitmap</a>* <a class="code" href="class_weapon_design.html#aba65fb2fa929feea622b8608a40ee0ba">flare_img</a>;</div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="class_weapon_design.html#aea91d3ca6e899c3a8b8ecf71cc9dc647"> 173</a></span>  <a class="code" href="class_model.html">Model</a>* <a class="code" href="class_weapon_design.html#aea91d3ca6e899c3a8b8ecf71cc9dc647">shot_model</a>;</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a2999641381e5a1ce060774eb6b78cbbe"> 174</a></span>  <a class="code" href="class_model.html">Model</a>* <a class="code" href="class_weapon_design.html#a2999641381e5a1ce060774eb6b78cbbe">turret_model</a>;</div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="code" href="class_weapon_design.html#acdbfa2bd1ad97f59ff1e45798e4e39fb"> 175</a></span>  <a class="code" href="class_model.html">Model</a>* <a class="code" href="class_weapon_design.html#acdbfa2bd1ad97f59ff1e45798e4e39fb">turret_base_model</a>;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a6bc3a31ffaacdf17ea19913ffd61c1ee"> 176</a></span>  <a class="code" href="class_sound.html">Sound</a>* <a class="code" href="class_weapon_design.html#a6bc3a31ffaacdf17ea19913ffd61c1ee">sound_resource</a>;</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> </div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="code" href="class_weapon_design.html#adb196535dc653e669dff42f042be3625"> 178</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#adb196535dc653e669dff42f042be3625">trail_length</a>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a5ac5c706ced5c5c9e5af579b179f8fbf"> 179</a></span>  <span class="keywordtype">float</span> <a class="code" href="class_weapon_design.html#a5ac5c706ced5c5c9e5af579b179f8fbf">trail_width</a>;</div>
<div class="line"><a name="l00180"></a><span class="lineno"><a class="code" href="class_weapon_design.html#a397d408624d32722a503f21df69278bd"> 180</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_weapon_design.html#a397d408624d32722a503f21df69278bd">trail_dim</a>;</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span> </div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span> <span class="keyword">private</span>:</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> LoadDesign(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, <span class="keyword">const</span> <span class="keywordtype">char</span>* filename, <span class="keywordtype">bool</span> mod=<span class="keyword">false</span>);</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> };</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="preprocessor">#endif WeaponDesign_h</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</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="_weapon_design_8h.html">WeaponDesign.h</a></li>
<li class="footer">Generated on Tue Jun 5 2012 20:47: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>
|