-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi__schedule_8cc_source.html
More file actions
91 lines (89 loc) · 11.4 KB
/
api__schedule_8cc_source.html
File metadata and controls
91 lines (89 loc) · 11.4 KB
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
<!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"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Simutrans-Squirrel-API: api_schedule.cc 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Simutrans-Squirrel-API
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</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">api_schedule.cc</div> </div>
</div><!--header-->
<div class="contents">
<a href="api__schedule_8cc.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="classschedule__entry__x.html"> 5</a></span> <span class="keyword">class </span><a class="code" href="classschedule__entry__x.html">schedule_entry_x</a> : <span class="keyword">public</span> <a class="code" href="classcoord3d.html">coord3d</a> {</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="classschedule__entry__x.html#a5d402323767da5b4d31181d3fb64bc02"> 10</a></span>  integer <a class="code" href="classschedule__entry__x.html#a5d402323767da5b4d31181d3fb64bc02">load</a>;</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classschedule__entry__x.html#a2a5726e37b3a077e99cb70c3a0f433cf"> 14</a></span>  integer <a class="code" href="classschedule__entry__x.html#a2a5726e37b3a077e99cb70c3a0f433cf">wait</a>;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <a class="code" href="classschedule__entry__x.html#a61952e829309661668019b05fba1bb2f">schedule_entry_x</a>(<a class="code" href="classcoord3d.html">coord3d</a> pos, integer <a class="code" href="classschedule__entry__x.html#a2a5726e37b3a077e99cb70c3a0f433cf">wait</a>, integer <a class="code" href="classschedule__entry__x.html#a5d402323767da5b4d31181d3fb64bc02">load</a>);</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="code" href="classhalt__x.html">halt_x</a> <a class="code" href="classschedule__entry__x.html#a1eca2b84fbc3e5aa9b5cf2dead3a0feb">get_halt</a>(<a class="code" href="classplayer__x.html">player_x</a> pl);</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keywordtype">string</span> <a class="code" href="classschedule__entry__x.html#a6eafb273c7800047c48a4bd28ed637b4">waiting_time_to_string</a>();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> };</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classschedule__x.html"> 36</a></span> <span class="keyword">class </span><a class="code" href="classschedule__x.html">schedule_x</a> {</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classschedule__x.html#a1c7b02291125d8ccdfffb27612c0465f">schedule_x</a>(<a class="code" href="api__const_8cc.html#a54cfd1fb3beb4607096d5c42809655af">way_types</a> wt, array< schedule_entry_x > <a class="code" href="classschedule__x.html#a2c79db95edb1799d892f98f89b7341e8">entries</a>, integer <a class="code" href="classschedule__x.html#a77a13cf26403fdd681625e8d87894958">current</a>);</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classschedule__x.html#a2c79db95edb1799d892f98f89b7341e8"> 50</a></span>  array< schedule_entry_x > <a class="code" href="classschedule__x.html#a2c79db95edb1799d892f98f89b7341e8">entries</a>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="classschedule__x.html#abadddf8b9f9e74e27888839c61704aa4"> 55</a></span>  <a class="code" href="api__const_8cc.html#a54cfd1fb3beb4607096d5c42809655af">way_types</a> <a class="code" href="classschedule__x.html#abadddf8b9f9e74e27888839c61704aa4">waytype</a>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classschedule__x.html#a77a13cf26403fdd681625e8d87894958"> 65</a></span>  uint8 <a class="code" href="classschedule__x.html#a77a13cf26403fdd681625e8d87894958">current</a>;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> };</div><div class="ttc" id="classschedule__entry__x_html_a2a5726e37b3a077e99cb70c3a0f433cf"><div class="ttname"><a href="classschedule__entry__x.html#a2a5726e37b3a077e99cb70c3a0f433cf">schedule_entry_x::wait</a></div><div class="ttdeci">integer wait</div><div class="ttdef"><b>Definition:</b> <a href="api__schedule_8cc_source.html#l00014">api_schedule.cc:14</a></div></div>
<div class="ttc" id="classschedule__x_html_a2c79db95edb1799d892f98f89b7341e8"><div class="ttname"><a href="classschedule__x.html#a2c79db95edb1799d892f98f89b7341e8">schedule_x::entries</a></div><div class="ttdeci">array< schedule_entry_x > entries</div><div class="ttdef"><b>Definition:</b> <a href="api__schedule_8cc_source.html#l00050">api_schedule.cc:50</a></div></div>
<div class="ttc" id="api__const_8cc_html_a54cfd1fb3beb4607096d5c42809655af"><div class="ttname"><a href="api__const_8cc.html#a54cfd1fb3beb4607096d5c42809655af">way_types</a></div><div class="ttdeci">way_types</div><div class="ttdef"><b>Definition:</b> <a href="api__const_8cc_source.html#l00118">api_const.cc:118</a></div></div>
<div class="ttc" id="classschedule__entry__x_html_a6eafb273c7800047c48a4bd28ed637b4"><div class="ttname"><a href="classschedule__entry__x.html#a6eafb273c7800047c48a4bd28ed637b4">schedule_entry_x::waiting_time_to_string</a></div><div class="ttdeci">string waiting_time_to_string()</div></div>
<div class="ttc" id="classschedule__x_html_abadddf8b9f9e74e27888839c61704aa4"><div class="ttname"><a href="classschedule__x.html#abadddf8b9f9e74e27888839c61704aa4">schedule_x::waytype</a></div><div class="ttdeci">way_types waytype</div><div class="ttdef"><b>Definition:</b> <a href="api__schedule_8cc_source.html#l00055">api_schedule.cc:55</a></div></div>
<div class="ttc" id="classschedule__entry__x_html_a61952e829309661668019b05fba1bb2f"><div class="ttname"><a href="classschedule__entry__x.html#a61952e829309661668019b05fba1bb2f">schedule_entry_x::schedule_entry_x</a></div><div class="ttdeci">schedule_entry_x(coord3d pos, integer wait, integer load)</div></div>
<div class="ttc" id="classcoord3d_html"><div class="ttname"><a href="classcoord3d.html">coord3d</a></div><div class="ttdef"><b>Definition:</b> <a href="api__simple_8cc_source.html#l00070">api_simple.cc:70</a></div></div>
<div class="ttc" id="classschedule__entry__x_html"><div class="ttname"><a href="classschedule__entry__x.html">schedule_entry_x</a></div><div class="ttdef"><b>Definition:</b> <a href="api__schedule_8cc_source.html#l00005">api_schedule.cc:5</a></div></div>
<div class="ttc" id="classschedule__x_html_a1c7b02291125d8ccdfffb27612c0465f"><div class="ttname"><a href="classschedule__x.html#a1c7b02291125d8ccdfffb27612c0465f">schedule_x::schedule_x</a></div><div class="ttdeci">schedule_x(way_types wt, array< schedule_entry_x > entries, integer current)</div></div>
<div class="ttc" id="classschedule__entry__x_html_a1eca2b84fbc3e5aa9b5cf2dead3a0feb"><div class="ttname"><a href="classschedule__entry__x.html#a1eca2b84fbc3e5aa9b5cf2dead3a0feb">schedule_entry_x::get_halt</a></div><div class="ttdeci">halt_x get_halt(player_x pl)</div></div>
<div class="ttc" id="classschedule__x_html"><div class="ttname"><a href="classschedule__x.html">schedule_x</a></div><div class="ttdef"><b>Definition:</b> <a href="api__schedule_8cc_source.html#l00036">api_schedule.cc:36</a></div></div>
<div class="ttc" id="classschedule__x_html_a77a13cf26403fdd681625e8d87894958"><div class="ttname"><a href="classschedule__x.html#a77a13cf26403fdd681625e8d87894958">schedule_x::current</a></div><div class="ttdeci">uint8 current</div><div class="ttdef"><b>Definition:</b> <a href="api__schedule_8cc_source.html#l00065">api_schedule.cc:65</a></div></div>
<div class="ttc" id="classschedule__entry__x_html_a5d402323767da5b4d31181d3fb64bc02"><div class="ttname"><a href="classschedule__entry__x.html#a5d402323767da5b4d31181d3fb64bc02">schedule_entry_x::load</a></div><div class="ttdeci">integer load</div><div class="ttdef"><b>Definition:</b> <a href="api__schedule_8cc_source.html#l00010">api_schedule.cc:10</a></div></div>
<div class="ttc" id="classplayer__x_html"><div class="ttname"><a href="classplayer__x.html">player_x</a></div><div class="ttdef"><b>Definition:</b> <a href="api__player_8cc_source.html#l00006">api_player.cc:6</a></div></div>
<div class="ttc" id="classhalt__x_html"><div class="ttname"><a href="classhalt__x.html">halt_x</a></div><div class="ttdef"><b>Definition:</b> <a href="api__halt_8cc_source.html#l00031">api_halt.cc:31</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>