Spring Engine Code

From Spring
Revision as of 16:04, 8 November 2005 by Jcnossen (talk | contribs) (Spring engine code walkthrough)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To get people somewhat started into the mass of spring engine code, here is a small "walkthrough" of the game process:

  1. Application entry point (lesson2.cpp)
    1. Window is created
    2. VFS is initialized (ArchiveScanner.cpp)
    3. Game setup:
      1. if there is a start script (like script.txt) this is used to initialize the global gameSetup (in GameSetup.cpp)
    4. Game loop starts
      1. Drawing
      2. Game Update

Drawing

Game Update