[Scummvm-git-logs] scummvm master -> f28a167a256122d6d1109e9fc8593ebe820bc793
dreammaster
dreammaster at scummvm.org
Sat Mar 27 04:23:09 UTC 2021
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:
f28a167a25 AGS: AGSCreditz compilation fix, deprecated code removal
Commit: f28a167a256122d6d1109e9fc8593ebe820bc793
https://github.com/scummvm/scummvm/commit/f28a167a256122d6d1109e9fc8593ebe820bc793
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-03-26T21:22:41-07:00
Commit Message:
AGS: AGSCreditz compilation fix, deprecated code removal
Changed paths:
engines/ags/plugins/ags_creditz/ags_creditz.cpp
engines/ags/plugins/ags_creditz/ags_creditz.h
engines/ags/plugins/ags_creditz/ags_creditz2.cpp
diff --git a/engines/ags/plugins/ags_creditz/ags_creditz.cpp b/engines/ags/plugins/ags_creditz/ags_creditz.cpp
index 5fde129882..3b4b359960 100644
--- a/engines/ags/plugins/ags_creditz/ags_creditz.cpp
+++ b/engines/ags/plugins/ags_creditz/ags_creditz.cpp
@@ -30,6 +30,7 @@ namespace AGSCreditz {
AGSCreditz::Version AGSCreditz::_version;
State *AGSCreditz::_state;
IAGSEngine *AGSCreditz::_engine;
+IntFunction AGSCreditz::_playSound;
AGSCreditz::AGSCreditz() {
_state = new State();
@@ -44,7 +45,6 @@ void AGSCreditz::draw() {
int endPoint;
if (_state->_creditsRunning) {
- _state->_virtScreen = _engine->GetVirtualScreen();
_engine->PollSystem();
if (!_state->_staticCredits) {
diff --git a/engines/ags/plugins/ags_creditz/ags_creditz.h b/engines/ags/plugins/ags_creditz/ags_creditz.h
index ad8ba9bbe5..761b1e516d 100644
--- a/engines/ags/plugins/ags_creditz/ags_creditz.h
+++ b/engines/ags/plugins/ags_creditz/ags_creditz.h
@@ -106,7 +106,6 @@ struct State {
SequenceSettings _seqSettings[10];
StSequenceSettings _stSeqSettings[10];
SingleStatic _singleStatic;
- BITMAP *_virtScreen = nullptr;
// Version 1.1 specific
bool _resolutionFlag = false;
diff --git a/engines/ags/plugins/ags_creditz/ags_creditz2.cpp b/engines/ags/plugins/ags_creditz/ags_creditz2.cpp
index 938a72592f..12b9ebf8c4 100644
--- a/engines/ags/plugins/ags_creditz/ags_creditz2.cpp
+++ b/engines/ags/plugins/ags_creditz/ags_creditz2.cpp
@@ -26,8 +26,6 @@ namespace AGS3 {
namespace Plugins {
namespace AGSCreditz {
-IntFunction AGSCreditz2::_playSound;
-
AGSCreditz2::AGSCreditz2() : AGSCreditz() {
_version = VERSION_20;
More information about the Scummvm-git-logs
mailing list