TSAGE: Fixes for saving on R2R credits screen

This commit is contained in:
Paul Gilbert 2013-10-31 20:24:18 -04:00
parent 217164c6c9
commit a19a097866
3 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,7 @@ static SavedObject *classFactoryProc(const Common::String &className) {
if (className == "SceneObjectWrapper") return new SceneObjectWrapper();
if (className == "PaletteRotation") return new PaletteRotation();
if (className == "PaletteFader") return new PaletteFader();
if (className == "SceneText") return new SceneText();
return NULL;
}

View File

@ -1447,6 +1447,8 @@ void Scene160::synchronize(Serializer &s) {
s.syncAsSint16LE(_frameNumber);
s.syncAsSint16LE(_yChange);
s.syncAsSint16LE(_lineNum);
_creditsList.synchronize(s);
}
void Scene160::remove() {

View File

@ -175,7 +175,6 @@ public:
ASound _sound1;
Action1 _action1;
int _frameNumber, _yChange;
SceneObject _object1, _object2, _object3;
int _lineNum;
SynchronizedList<SceneText *> _creditsList;
public: