zengine/doc/html/ZE__ZTimer_8h-source.html

61 lines
4.0 KiB
HTML
Raw Normal View History

2002-11-21 05:40:49 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2002-12-05 00:05:06 +00:00
<title>/home/James/ZEngine-dev/include/ZE_ZTimer.h Source File</title>
2002-11-21 05:40:49 +00:00
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
2002-12-05 00:05:06 +00:00
<!-- Generated by Doxygen 1.3-rc1 -->
2002-11-21 05:40:49 +00:00
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center>
2002-12-05 00:05:06 +00:00
<hr><h1>/home/James/ZEngine-dev/include/ZE_ZTimer.h</h1><a href="ZE__ZTimer_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/*******************************************************************************</span>
2002-11-21 05:40:49 +00:00
00002 <span class="comment"> This file is Part of the ZEngine Library for SDL Game Development.</span>
00003 <span class="comment"> Copyright (C) 2002 ConceptOfZero.net</span>
00004 <span class="comment"></span>
00005 <span class="comment"> Licensed under the BSD License, see licensing.txt.</span>
00006 <span class="comment"></span>
00007 <span class="comment"> The maintainer of this library is James Turk (jturk@conceptofzero.net) </span>
00008 <span class="comment"> and the home of this Library is http://www.conceptofzero.net/</span>
00009 <span class="comment">*******************************************************************************/</span>
00010
00024 <span class="preprocessor">#ifndef __ze_ztimer_h__</span>
00025 <span class="preprocessor"></span><span class="preprocessor">#define __ze_ztimer_h__</span>
00026 <span class="preprocessor"></span>
00027 <span class="preprocessor">#include "<a class="code" href="ZE__ZObject_8h.html">ZE_ZObject.h</a>"</span>
00028
00029 <span class="keyword">namespace </span>ZE
00030 {
00031
2002-12-05 00:05:06 +00:00
00037 <span class="keyword">class </span>ZTimer : <span class="keyword">public</span> ZObject
2002-11-21 05:40:49 +00:00
00038 {
00039 <span class="keyword">protected</span>:
2002-12-05 00:05:06 +00:00
00041 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n0">rPaused</a>;
00043 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#n1">rUseZEngine</a>;
00045 Uint32 <a class="code" href="classZE_1_1ZTimer.html#n2">rPausedTime</a>;
00047 Uint32 <a class="code" href="classZE_1_1ZTimer.html#n3">rLastPause</a>;
2002-11-21 05:40:49 +00:00
00048
00055 Uint32 <a class="code" href="classZE_1_1ZTimer.html#b0">GetParentTime</a>();
2002-11-21 05:40:49 +00:00
00056
00057 <span class="keyword">public</span>:
2002-11-21 05:40:49 +00:00
00058
00065 <a class="code" href="classZE_1_1ZTimer.html#a0">ZTimer</a>(<span class="keywordtype">bool</span> useZEngine=<span class="keyword">true</span>);
2002-11-21 05:40:49 +00:00
00066
00072 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a1">Reset</a>();
2002-11-21 05:40:49 +00:00
00073
00079 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a2">Pause</a>();
2002-11-21 05:40:49 +00:00
00080
00086 <span class="keywordtype">void</span> <a class="code" href="classZE_1_1ZTimer.html#a3">Unpause</a>();
2002-11-21 05:40:49 +00:00
00087
00094 Uint32 <a class="code" href="classZE_1_1ZTimer.html#a4">GetTime</a>();
2002-11-21 05:40:49 +00:00
00095
00102 <span class="keywordtype">bool</span> <a class="code" href="classZE_1_1ZTimer.html#a5">IsPaused</a>();
2002-11-21 05:40:49 +00:00
00103 };
00104
00105 }
00106
00107 <span class="preprocessor">#endif //__ze_ztimer_h__</span>
2002-12-05 00:16:49 +00:00
</pre></div><hr><address style="align: right;"><small>Generated on Wed Dec 4 19:16:09 2002 for ZEngine by
2002-11-21 05:40:49 +00:00
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0
2002-12-05 00:05:06 +00:00
width=110 height=53></a>1.3-rc1 </small></address>
2002-11-21 05:40:49 +00:00
</body>
</html>