Skip to content

Commit 0c33944

Browse files
authored
Update Dev-docs.md
1 parent 3731e12 commit 0c33944

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Dev-docs.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,12 @@ is autodetected through `Autodetect.py` files.
8787
4. More core functionality and asset loading occurs.
8888
5. The main loop starts.
8989
6. `Start.py`'s `OnLoad()` method in the game's `GUIScript` directory is ran:
90-
- `GemRB.LoadGame(None)` will set up a new game by loading the default `GAM`
91-
file and linked resources.
92-
- Party members can be created with `GemRB.CreatePlayer()`.
90+
- `GemRB.LoadGame(None)` will set up a new game (`Game` class) by loading the default `GAM`
91+
file and linked resources. If a save game is passed, it will load that, set up the party
92+
and in general restore the state of the world.
93+
- Party members can be created with `GemRB.CreatePlayer()`.
9394
- ...
94-
- `GemRB.EnterGame()` to start the `GameControl` and enter the map.
95+
- `GemRB.EnterGame()` to start the `GameControl` and enter the game with a loaded map (`Map`).
9596
7. `Game.py`'s `EnterGame()` is ran.
9697
7. `MessageWindow.py` is ran.
9798
8. Game is up and drawing.

0 commit comments

Comments
 (0)