aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/entity.h
diff options
context:
space:
mode:
authorJulien2012-07-22 21:41:28 -0400
committerJulien2012-07-27 00:14:55 -0400
commit2e20e1d1e259dc6d9de8a90fa8417245f5a481b4 (patch)
tree0774c699bf7f5e7bc49b86cbc4fc32a081b7ffa9 /engines/lastexpress/entities/entity.h
parentc589e69ec9f29e59fc4358e5045fcc613f9ab6a8 (diff)
downloadscummvm-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.h2
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 &parameter, EntityIndex entity1, EntityIndex entity2, ActionIndex action);
void timeCheckObject(TimeValue timeValue, uint &parameter, ObjectIndex index, ObjectLocation location);
bool timeCheckCallbackAction(TimeValue timeValue, uint &parameter);
+ bool timeCheckPlaySoundUpdatePosition(TimeValue timeValue, uint &parameter, byte callback, const char* sound, EntityPosition position);
};