[Scummvm-git-logs] scummvm master -> b585e0acb17ae8a5ca6fbbcad0f2f58c2da29c0f
kelmer44
noreply at scummvm.org
Fri Sep 26 10:25:59 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
b585e0acb1 TOT: Fix usage of spaces instead of tabs
Commit: b585e0acb17ae8a5ca6fbbcad0f2f58c2da29c0f
https://github.com/scummvm/scummvm/commit/b585e0acb17ae8a5ca6fbbcad0f2f58c2da29c0f
Author: kelmer (kelmer at gmail.com)
Date: 2025-09-26T12:25:50+02:00
Commit Message:
TOT: Fix usage of spaces instead of tabs
Changed paths:
engines/tot/debug.h
engines/tot/detection.cpp
engines/tot/dialog.cpp
engines/tot/events.h
engines/tot/resources.cpp
diff --git a/engines/tot/debug.h b/engines/tot/debug.h
index de2f386203a..3e939bff6c7 100644
--- a/engines/tot/debug.h
+++ b/engines/tot/debug.h
@@ -26,7 +26,7 @@
namespace Tot {
- // Debug methods
+ // Debug methods
void drawMouseGrid(RoomFileRegister *screen);
void drawScreenGrid(RoomFileRegister *screen);
void drawCharacterPosition();
diff --git a/engines/tot/detection.cpp b/engines/tot/detection.cpp
index 074e1b4478e..45e4972b8e2 100644
--- a/engines/tot/detection.cpp
+++ b/engines/tot/detection.cpp
@@ -32,7 +32,7 @@ const DebugChannelDef TotMetaEngineDetection::debugFlagList[] = {
};
TotMetaEngineDetection::TotMetaEngineDetection() : AdvancedMetaEngineDetection(
- Tot::gameDescriptions, Tot::totGames) {
+ Tot::gameDescriptions, Tot::totGames) {
}
REGISTER_PLUGIN_STATIC(TOT_DETECTION, PLUGIN_TYPE_ENGINE_DETECTION, TotMetaEngineDetection);
diff --git a/engines/tot/dialog.cpp b/engines/tot/dialog.cpp
index 5756222a0c5..48b81931730 100644
--- a/engines/tot/dialog.cpp
+++ b/engines/tot/dialog.cpp
@@ -320,7 +320,7 @@ void fixTree(Tree tree) {
}
}
-void showDialogueLine(
+void showDialogOptions(
Common::String conversationMatrix[16],
uint &chosenTopic,
byte conversationIndex,
@@ -464,7 +464,7 @@ void talk(byte characterIndex) {
l1++;
};
l1 = linkedList->begin();
- showDialogueLine(conversationMatrix, newNode, conversationIndex, l1, endOfConversation);
+ showDialogOptions(conversationMatrix, newNode, conversationIndex, l1, endOfConversation);
delete linkedList;
g_engine->sayLine(newNode, 255, 0, response, true);
stringAux = 0;
diff --git a/engines/tot/events.h b/engines/tot/events.h
index 7aa1adfa513..e9455c41bf5 100644
--- a/engines/tot/events.h
+++ b/engines/tot/events.h
@@ -45,15 +45,15 @@ class TotEventManager {
private:
Common::Event _event;
- void handleKey(const Common::Event &event);
+ void handleKey(const Common::Event &event);
public:
bool _escKeyFl = false;
bool _keyPressed = false;
GAME_KEY _gameKey = KEY_NONE;
- bool _leftMouseButton = 0;
- bool _rightMouseButton = 0;
- int16 _mouseX = 0;
- int16 _mouseY = 0;
+ bool _leftMouseButton = 0;
+ bool _rightMouseButton = 0;
+ int16 _mouseX = 0;
+ int16 _mouseY = 0;
uint16 _lastChar = '\0';
TotEventManager();
diff --git a/engines/tot/resources.cpp b/engines/tot/resources.cpp
index b272b80f185..fe90354730f 100644
--- a/engines/tot/resources.cpp
+++ b/engines/tot/resources.cpp
@@ -75,7 +75,7 @@ TextEntry TotEngine::readTextRegister() {
TextEntry regmht;
// Since the text is encrypted it's safer to save the size as reported by
// the pascal string, because the encrypter character might be the termination
- // character
+ // character
byte size = _verbFile.readByte();
_verbFile.seek(-1, SEEK_CUR);
regmht.text = _verbFile.readPascalString(false);
More information about the Scummvm-git-logs
mailing list