diff options
author | Julien Templier | 2011-01-20 04:57:06 +0000 |
---|---|---|
committer | Julien Templier | 2011-01-20 04:57:06 +0000 |
commit | 82b0a9b003b8bcbe0eff8789acd19cbcd1cf7575 (patch) | |
tree | debae832bd09f311b25ea249ab9171eefb9ffdcb /engines/lastexpress/entities/sophie.cpp | |
parent | 744eaf013416f36519205e09d04cf0aa8edae017 (diff) | |
download | scummvm-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.cpp | 22 |
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) |