[Scummvm-git-logs] scummvm master -> b5a983095bdec324ae83b0d9629ba6eff18cff64
sev-
noreply at scummvm.org
Fri Oct 18 22:41:00 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b5a983095b QDENGINE: Stubbed some methods in minigames/adv
Commit: b5a983095bdec324ae83b0d9629ba6eff18cff64
https://github.com/scummvm/scummvm/commit/b5a983095bdec324ae83b0d9629ba6eff18cff64
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-10-19T00:40:30+02:00
Commit Message:
QDENGINE: Stubbed some methods in minigames/adv
Changed paths:
engines/qdengine/minigames/adv/RunTime.cpp
diff --git a/engines/qdengine/minigames/adv/RunTime.cpp b/engines/qdengine/minigames/adv/RunTime.cpp
index 5016e7c5548..49ecc84d25c 100644
--- a/engines/qdengine/minigames/adv/RunTime.cpp
+++ b/engines/qdengine/minigames/adv/RunTime.cpp
@@ -145,6 +145,10 @@ bool MinigameManager::createGame() {
assert(engine_ && scene_);
assert(!game_);
+ warning("STUB: MinigameManager::createGame()");
+
+#if 0
+
screenSize_ = engine_->screen_size();
#ifdef _DEBUG
@@ -227,9 +231,8 @@ bool MinigameManager::createGame() {
game_help_trigger_.setState(game_help_enabled_ ? "01" : "02");
}
- warning("STUB: MinigameManager::createGame()");
// Here we instantiate the specific game
- //game_ = ::createGame();
+ game_ = ::createGame();
if (currentGameInfo_)
currentGameInfo_->empty_ = false;
@@ -240,6 +243,7 @@ bool MinigameManager::createGame() {
return true;
}
+#endif
return false;
}
@@ -415,6 +419,8 @@ int MinigameManager::load_game(const qdEngineInterface* engine, const qdMinigame
}
bool MinigameManager::loadState(bool current) {
+ warning("STUB: MinigameManager::loadState()");
+#if 0
if (game_) {
debugC(2, kDebugMinigames, "MinigameManager::loadState(): load state skiped");
return false;
@@ -430,8 +436,6 @@ bool MinigameManager::loadState(bool current) {
} else
currentGameIndex_ = GameInfoIndex(-1, -1);
- warning("STUB: MinigameManager::loadState()");
-#if 0
if (!current || currentGameIndex_.gameNum_ >= 0) {
if (current)
More information about the Scummvm-git-logs
mailing list