diff options
author | Julien | 2012-07-22 21:41:28 -0400 |
---|---|---|
committer | Julien | 2012-07-27 00:14:55 -0400 |
commit | 2e20e1d1e259dc6d9de8a90fa8417245f5a481b4 (patch) | |
tree | 0774c699bf7f5e7bc49b86cbc4fc32a081b7ffa9 /engines/lastexpress/entities/entity.h | |
parent | c589e69ec9f29e59fc4358e5045fcc613f9ab6a8 (diff) | |
download | scummvm-rg350-2e20e1d1e259dc6d9de8a90fa8417245f5a481b4.tar.gz scummvm-rg350-2e20e1d1e259dc6d9de8a90fa8417245f5a481b4.tar.bz2 scummvm-rg350-2e20e1d1e259dc6d9de8a90fa8417245f5a481b4.zip |
LASTEXPRESS: Replace TIME_CHECK_PLAYSOUND_UPDATEPOSITION macro
Diffstat (limited to 'engines/lastexpress/entities/entity.h')
-rw-r--r-- | engines/lastexpress/entities/entity.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/lastexpress/entities/entity.h b/engines/lastexpress/entities/entity.h index fb5c958464..3370659c6e 100644 --- a/engines/lastexpress/entities/entity.h +++ b/engines/lastexpress/entities/entity.h @@ -693,6 +693,7 @@ public: virtual void setup_savegame(SavegameType, uint32) { error("[Entity::setup_savegame] Trying to call the parent setup function. Use the specific entity function directly"); } virtual void setup_enterExitCompartment(const char *, ObjectIndex) { error("[Entity::setup_enterExitCompartment] Trying to call the parent setup function. Use the specific entity function directly"); } virtual void setup_updateEntity(CarIndex, EntityPosition) { error("[Entity::setup_updateEntity] Trying to call the parent setup function. Use the specific entity function directly"); } + virtual void setup_playSound(const char*) { error("[Entity::setup_playSound] Trying to call the parent setup function. Use the specific entity function directly"); } // Serializable void saveLoadWithSerializer(Common::Serializer &ser) { _data->saveLoadWithSerializer(ser); } @@ -872,6 +873,7 @@ protected: void timeCheckSavepoint(TimeValue timeValue, uint ¶meter, EntityIndex entity1, EntityIndex entity2, ActionIndex action); void timeCheckObject(TimeValue timeValue, uint ¶meter, ObjectIndex index, ObjectLocation location); bool timeCheckCallbackAction(TimeValue timeValue, uint ¶meter); + bool timeCheckPlaySoundUpdatePosition(TimeValue timeValue, uint ¶meter, byte callback, const char* sound, EntityPosition position); }; |