aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/sophie.cpp
diff options
context:
space:
mode:
authorJulien Templier2011-01-20 04:57:06 +0000
committerJulien Templier2011-01-20 04:57:06 +0000
commit82b0a9b003b8bcbe0eff8789acd19cbcd1cf7575 (patch)
treedebae832bd09f311b25ea249ab9171eefb9ffdcb /engines/lastexpress/entities/sophie.cpp
parent744eaf013416f36519205e09d04cf0aa8edae017 (diff)
downloadscummvm-rg350-82b0a9b003b8bcbe0eff8789acd19cbcd1cf7575.tar.gz
scummvm-rg350-82b0a9b003b8bcbe0eff8789acd19cbcd1cf7575.tar.bz2
scummvm-rg350-82b0a9b003b8bcbe0eff8789acd19cbcd1cf7575.zip
LASTEXPRESS: Add macro for end of entities logic functions
svn-id: r55343
Diffstat (limited to 'engines/lastexpress/entities/sophie.cpp')
-rw-r--r--engines/lastexpress/entities/sophie.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/lastexpress/entities/sophie.cpp b/engines/lastexpress/entities/sophie.cpp
index 1b2d7b92ee..692c112d62 100644
--- a/engines/lastexpress/entities/sophie.cpp
+++ b/engines/lastexpress/entities/sophie.cpp
@@ -79,7 +79,7 @@ Sophie::Sophie(LastExpressEngine *engine) : Entity(engine, kEntitySophie) {
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(1, Sophie, reset)
Entity::reset(savepoint);
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION_II(2, Sophie, updateEntity, CarIndex, EntityPosition)
@@ -128,7 +128,7 @@ IMPLEMENT_FUNCTION_II(2, Sophie, updateEntity, CarIndex, EntityPosition)
CALLBACK_ACTION();
break;
}
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(3, Sophie, chaptersHandler)
@@ -200,7 +200,7 @@ IMPLEMENT_FUNCTION(3, Sophie, chaptersHandler)
setup_updateEntity(kCarRedSleeping, kPosition_4840);
break;
}
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(4, Sophie, chapter1)
@@ -218,32 +218,32 @@ IMPLEMENT_FUNCTION(4, Sophie, chapter1)
getData()->car = kCarRedSleeping;
break;
}
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(5, Sophie, function5)
DEFAULT_ACTION_IMPLEMENTATION()
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(6, Sophie, chapter2)
CHAPTER_IMPLEMENTATION()
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(7, Sophie, chapter3)
CHAPTER_IMPLEMENTATION()
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(8, Sophie, chapter4)
CHAPTER_IMPLEMENTATION()
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(9, Sophie, function9)
DEFAULT_ACTION_IMPLEMENTATION()
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(10, Sophie, chapter5)
@@ -265,13 +265,13 @@ IMPLEMENT_FUNCTION(10, Sophie, chapter5)
break;
}
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_FUNCTION(11, Sophie, chapter5Handler)
if (savepoint.action == kActionProceedChapter5)
setup_nullfunction();
-}
+IMPLEMENT_FUNCTION_END
//////////////////////////////////////////////////////////////////////////
IMPLEMENT_NULL_FUNCTION(12, Sophie)