diff options
author | Paul Gilbert | 2016-08-28 09:14:30 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-28 09:14:30 -0400 |
commit | 1dcfe25808164c5f2540662028862ac8a0e56831 (patch) | |
tree | 4fb480db39f98010c91ad1283fa66eb77abfb810 /engines/titanic/game/sgt/sgt_restaurant_doors.cpp | |
parent | 9e5ddfee1d3741af0a5e8ad4c39aeb9c86aea22a (diff) | |
download | scummvm-rg350-1dcfe25808164c5f2540662028862ac8a0e56831.tar.gz scummvm-rg350-1dcfe25808164c5f2540662028862ac8a0e56831.tar.bz2 scummvm-rg350-1dcfe25808164c5f2540662028862ac8a0e56831.zip |
TITANIC: Implemented SGT game classes
Diffstat (limited to 'engines/titanic/game/sgt/sgt_restaurant_doors.cpp')
-rw-r--r-- | engines/titanic/game/sgt/sgt_restaurant_doors.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/game/sgt/sgt_restaurant_doors.cpp b/engines/titanic/game/sgt/sgt_restaurant_doors.cpp index 74a71e75b2..5c36ceb0ff 100644 --- a/engines/titanic/game/sgt/sgt_restaurant_doors.cpp +++ b/engines/titanic/game/sgt/sgt_restaurant_doors.cpp @@ -24,6 +24,10 @@ namespace Titanic { +BEGIN_MESSAGE_MAP(CSGTRestaurantDoors, CGameObject) + ON_MESSAGE(MouseButtonDownMsg) +END_MESSAGE_MAP() + void CSGTRestaurantDoors::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); file->writeNumberLine(_fieldBC, indent); @@ -36,4 +40,10 @@ void CSGTRestaurantDoors::load(SimpleFile *file) { CGameObject::load(file); } +bool CSGTRestaurantDoors::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { + CTurnOff offMsg; + offMsg.execute("ChickenDispenser"); + return true; +} + } // End of namespace Titanic |