Sly 1:Executable: Difference between revisions

→‎Initialization: Replaced Todo tag with Investigate
(→‎Game loop: Changed wording, layout, links)
(→‎Initialization: Replaced Todo tag with Investigate)
Line 31:
=== Initialization ===
<code>main</code> starts by calling <code>__main</code>, a function that iterates over a function table and calls each function to initialize several game variables. Execution then returns to <code>main</code> which stores the passed parameters in <code>g_cphzArgs</code> and <code>g_apchzArgs</code> respectively. It then calls <code>Startup</code>, a function which initializes even more game variables.
{{TodoInvestigate|Investigate and expand on what <code>__main</code> and <code>Startup</code> do}}
 
=== Game loop ===