aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/pages
diff options
context:
space:
mode:
authorEugene Sandulenko2018-06-20 13:58:00 +0200
committerEugene Sandulenko2018-06-28 23:51:32 +0200
commitc3e1157d18022795f23b37a876ae51e31c38adba (patch)
treecafefec29b7db1e84511a17426432b602a68f4e5 /engines/pink/objects/pages
parent5142ed203c241386b620237d7fd8814d9273dac2 (diff)
downloadscummvm-rg350-c3e1157d18022795f23b37a876ae51e31c38adba.tar.gz
scummvm-rg350-c3e1157d18022795f23b37a876ae51e31c38adba.tar.bz2
scummvm-rg350-c3e1157d18022795f23b37a876ae51e31c38adba.zip
PINK: JANITORIAL: More formatting fixes
Diffstat (limited to 'engines/pink/objects/pages')
-rw-r--r--engines/pink/objects/pages/game_page.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/pink/objects/pages/game_page.cpp b/engines/pink/objects/pages/game_page.cpp
index 4c05da012e..5b69be1dd3 100644
--- a/engines/pink/objects/pages/game_page.cpp
+++ b/engines/pink/objects/pages/game_page.cpp
@@ -50,8 +50,8 @@ void GamePage::toConsole() {
void GamePage::deserialize(Archive &archive) {
Page::deserialize(archive);
- _module = static_cast<Module*>(archive.readObject());
- assert(dynamic_cast<Module*>(_module) != 0);
+ _module = static_cast<Module *>(archive.readObject());
+ assert(dynamic_cast<Module *>(_module) != 0);
}
void GamePage::load(Archive &archive) {
@@ -62,7 +62,7 @@ void GamePage::load(Archive &archive) {
Page::load(archive);
- _leadActor = static_cast<LeadActor*>(archive.readObject());
+ _leadActor = static_cast<LeadActor *>(archive.readObject());
_walkMgr->deserialize(archive);
_sequencer->deserialize(archive);
@@ -131,7 +131,7 @@ void GamePage::setVariable(Common::String &variable, Common::String &value) {
}
void GamePage::loadStateFromMem() {
- Archive archive(static_cast<Common::SeekableReadStream*>(_memFile));
+ Archive archive(static_cast<Common::SeekableReadStream *>(_memFile));
_variables.deserialize(archive);
for (uint i = 0; i < _actors.size(); ++i) {
@@ -141,7 +141,7 @@ void GamePage::loadStateFromMem() {
void GamePage::saveStateToMem() {
_memFile = new Common::MemoryReadWriteStream(DisposeAfterUse::YES);
- Archive archive(static_cast<Common::WriteStream*>(_memFile));
+ Archive archive(static_cast<Common::WriteStream *>(_memFile));
_variables.serialize(archive);
for (uint i = 0; i < _actors.size(); ++i) {