-
-
Notifications
You must be signed in to change notification settings - Fork 60
Startup and initialization
Nikolai Wuttke edited this page Sep 2, 2019
·
3 revisions
RigelEngine's startup and initialization consists of the following steps:
- Command-line options parsing (
main.cpp
) - Load (or create) user profile
- Initialize SDL
- Create window
- Create OpenGL context
- Initialize Dear ImGui
- Create
Renderer
- Load
NUKEM2.CMP
and createResourceLoader
. At this point the game will abort if it cannot find the resource file. - Create
DukeScriptRunner
and load all scripts - Load and resample all sound effects
- Create initial game mode (depending on command line options)
- Enter main loop