aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/game/savepoint.h
diff options
context:
space:
mode:
authorLittleboy2012-07-27 00:54:24 -0400
committerLittleboy2012-07-27 00:54:24 -0400
commit6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c (patch)
tree84f568260f4cd2466968b134d1d3f9ea9dc8da29 /engines/lastexpress/game/savepoint.h
parent115a4d36ba673579bd683cac90828f22606f7468 (diff)
downloadscummvm-rg350-6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c.tar.gz
scummvm-rg350-6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c.tar.bz2
scummvm-rg350-6aeda2638b9bdfbbef3b0fb89c1c776415e13c2c.zip
LASTEXPRESS: More include re-organization
Diffstat (limited to 'engines/lastexpress/game/savepoint.h')
-rw-r--r--engines/lastexpress/game/savepoint.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/lastexpress/game/savepoint.h b/engines/lastexpress/game/savepoint.h
index a3303b4b8a..181676cc1f 100644
--- a/engines/lastexpress/game/savepoint.h
+++ b/engines/lastexpress/game/savepoint.h
@@ -74,10 +74,9 @@ struct SavePoint {
}
};
-class SavePoints : Common::Serializable {
-private:
- typedef Common::Functor1<const SavePoint&, void> Callback;
+typedef Common::Functor1<const SavePoint&, void> Callback;
+class SavePoints : Common::Serializable {
public:
struct SavePointData {
@@ -112,7 +111,7 @@ public:
void addData(EntityIndex entity, ActionIndex action, uint32 param);
// Callbacks
- void setCallback(EntityIndex index, Entity::Callback *callback);
+ void setCallback(EntityIndex index, Callback *callback);
Callback *getCallback(EntityIndex entity) const;
void call(EntityIndex entity2, EntityIndex entity1, ActionIndex action, uint32 param = 0) const;
void call(EntityIndex entity2, EntityIndex entity1, ActionIndex action, const char *param) const;