[Scummvm-git-logs] scummvm master -> 9d0797715a7da5acc63c71101ceb7c9daa66a60e
aquadran
noreply at scummvm.org
Sat Aug 9 12:49:14 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:
9d0797715a WINTERMUTE: Cleanup
Commit: 9d0797715a7da5acc63c71101ceb7c9daa66a60e
https://github.com/scummvm/scummvm/commit/9d0797715a7da5acc63c71101ceb7c9daa66a60e
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-08-09T14:49:08+02:00
Commit Message:
WINTERMUTE: Cleanup
Changed paths:
engines/wintermute/video/subtitle_card.cpp
engines/wintermute/video/video_theora_player.cpp
engines/wintermute/video/video_theora_player.h
diff --git a/engines/wintermute/video/subtitle_card.cpp b/engines/wintermute/video/subtitle_card.cpp
index 5dc51867d6c..591d835efa9 100644
--- a/engines/wintermute/video/subtitle_card.cpp
+++ b/engines/wintermute/video/subtitle_card.cpp
@@ -31,11 +31,12 @@
namespace Wintermute {
SubtitleCard::SubtitleCard(BaseGame *inGame,
- const Common::String &text,
- const uint &startFrame,
- const uint &endFrame) : _gameRef(inGame),
- _startFrame(startFrame),
- _endFrame(endFrame) {
+ const Common::String &text,
+ const uint &startFrame,
+ const uint &endFrame) :
+ _gameRef(inGame),
+ _startFrame(startFrame),
+ _endFrame(endFrame) {
_text = text;
_gameRef->expandStringByStringTable(_text);
}
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 7efce56676a..b5d2dcc60ea 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -43,11 +43,11 @@ IMPLEMENT_PERSISTENT(VideoTheoraPlayer, false)
//////////////////////////////////////////////////////////////////////////
VideoTheoraPlayer::VideoTheoraPlayer(BaseGame *inGame) : BaseClass(inGame) {
- SetDefaults();
+ setDefaults();
}
//////////////////////////////////////////////////////////////////////////
-void VideoTheoraPlayer::SetDefaults() {
+void VideoTheoraPlayer::setDefaults() {
_filename = "";
_startTime = 0;
@@ -437,7 +437,7 @@ bool VideoTheoraPlayer::persist(BasePersistenceManager *persistMgr) {
_savedPos = getMovieTime() * 1000;
_savedState = _state;
} else {
- SetDefaults();
+ setDefaults();
}
persistMgr->transferPtr(TMEMBER_PTR(_gameRef));
diff --git a/engines/wintermute/video/video_theora_player.h b/engines/wintermute/video/video_theora_player.h
index 550abab84d1..411f3a09641 100644
--- a/engines/wintermute/video/video_theora_player.h
+++ b/engines/wintermute/video/video_theora_player.h
@@ -135,7 +135,7 @@ private:
bool _foundSubtitles;
// helpers
- void SetDefaults();
+ void setDefaults();
};
} // End of namespace Wintermute
More information about the Scummvm-git-logs
mailing list