Skip to content

Where are onSaveGame and onLoadGame implemented? #331

Answered by Try
Newbytee asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @Newbytee !

Those are signals, connected here:

Gothic::inst().onStartGame .bind(this,&MainWindow::startGame);
Gothic::inst().onLoadGame .bind(this,&MainWindow::loadGame);
Gothic::inst().onSaveGame .bind(this,&MainWindow::saveGame);
Gothic::inst().onStartLoading.bind(this,&MainWindow::onStartLoading);
Gothic::inst().onWorldLoaded .bind(this,&MainWindow::onWorldLoaded);
Gothic::inst().onSessionExit .bind(this,&MainWindow::onSessionExit);

As for file-system related stuff:

Gothic::inst().startLoad("LOADING.TGA",[slot=

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Newbytee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants