<?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="9" kind="function" internal="false" cname="sgDeinit">
				<index>
					<entry key="Deinit">sgDeinit</entry>
				</index>
				<section name="Name">
					<names>
						<name>sgDeinit</name>
						<descr>Cleanup and deinitialize 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="sgDeinit" id="9">sgDeinit</ref>(void);</code-block>
				</section>
				<section name="Description">
					<p>
						Cleans up the engine's allocated memory. No functions other than those specified in <ref local="false" path="." file="core.DONE" group="Core" name="sgInit" id="8">sgInit</ref>'s documentation may be used after this.
					</p>
					<p>
						Entities, if any still exist, are automatically destroyed here; other resources such as sprites, however, have to be manually cleaned up *before* the deinitialization.
					</p>
				</section>
				<section name="Return Values">
					<p>
						`SG_TRUE` on success, `SG_FALSE` otherwise. IF deinitialization fails, something probably went horribly wrong.
					</p>
				</section>
				<section name="See Also">
					<sees>
						<see><ref local="false" path="." file="core.DONE" group="Core" name="sgInit" id="8">sgInit</ref></see>
					</sees>
				</section>
				<section name="TODO">
						<ul>
							<li>
								<p>
									More internal error checking
								</p>
							</li>
						</ul>
				</section>
			</symbol>
		</group>
	</file>
</docs>
