<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../docs.xsl"?>

<docs type="symbol" project="SIEGE" version="0.8.2" rpath="../..">
	<file root="siege/core" name="core.DONE.h">
		<group key="Core" name="Core">
			<symbol id="8" kind="function" internal="false" cname="sgInit">
				<index>
					<entry key="Init">sgInit</entry>
				</index>
				<section name="Name">
					<names>
						<name>sgInit</name>
						<descr>Initialize SIEGE</descr>
					</names>
				</section>
				<section name="Synopsis">
					<code-block lang="C"><ref local="false" path=".." file="common" group="Common" name="SGbool" id="1">SGbool</ref> <ref local="true" path="." file="core.DONE" group="Core" name="sgInit" id="8">sgInit</ref>(<ref local="false" path=".." file="common" group="Common" name="SGbool" id="1">SGenum</ref> flags);</code-block>
				</section>
				<section name="Parameters">
					<params>
						<name>flags</name>
						<descr>init flags (can be zero)</descr>
					</params>
				</section>
				<section name="Description">
					<p>
						The engine is initialized and prepared for use. This function should be called before any other function, with the following exceptions:
					</p>
						<ul>
							<li>
								<p>
									Any utility function (`siege/util/...`)
								</p>
							</li>
							<li>
								<p>
									<ref local="false" path="." file="core.DONE" group="Core" name="sgGetVersion*" id="5">sgGetVersion*</ref>
								</p>
							</li>
							<li>
								<p>
									<ref local="false" path="." file="core.DONE" group="Core" name="sgGetCompile*" id="6">sgGetCompile*</ref>
								</p>
							</li>
						</ul>
				</section>
				<section name="Return Values">
					<p>
						`SG_TRUE` on success, `SG_FALSE` otherwise.
					</p>
				</section>
				<section name="See Also">
					<sees>
						<see><ref local="false" path="." file="core.DONE" group="Core" name="sgDeinit" id="9">sgDeinit</ref></see>
					</sees>
					<sees>
						<see><ref local="false" path="." file="core.DONE" group="Core" name="sgRun" id="10">sgRun</ref></see>
						<see><ref local="false" path="." file="core.DONE" group="Core" name="sgLoop" id="11">sgLoop</ref></see>
					</sees>
				</section>
				<section name="TODO">
						<ul>
							<li>
								<p>
									More internal error checking
								</p>
							</li>
						</ul>
				</section>
			</symbol>
		</group>
	</file>
</docs>
