diff options
author | Paul Gilbert | 2016-03-24 12:51:44 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-24 12:51:44 -0400 |
commit | d9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b (patch) | |
tree | 534f4a9bc978ffe51ca59673ab3bdc69fea10e81 /engines/titanic/game | |
parent | 66e198d665a8aacd1724848a40e6533f3d5cfebc (diff) | |
download | scummvm-rg350-d9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b.tar.gz scummvm-rg350-d9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b.tar.bz2 scummvm-rg350-d9cc2908f8a9a7fa2d196c82571d32b5ef20ad9b.zip |
TITANIC: Make all use of message targets public inheritance
Diffstat (limited to 'engines/titanic/game')
-rw-r--r-- | engines/titanic/game/arboretum_gate.h | 12 | ||||
-rw-r--r-- | engines/titanic/game/bar_bell.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/bomb.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/chicken_cooler.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/doorbot_elevator_handler.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/end_sequence_control.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/fan_noises.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/get_lift_eye2.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/gondolier/gondolier_mixer.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/light.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/light_switch.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/parrot/player_meets_parrot.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/pet/pet_monitor.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/pet/pet_position.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/pet/pet_transport.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/sgt/sgt_state_room.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/ship_setting.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/transport/lift.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/transport/pellerator.h | 3 | ||||
-rw-r--r-- | engines/titanic/game/up_lighter.h | 3 |
20 files changed, 46 insertions, 23 deletions
diff --git a/engines/titanic/game/arboretum_gate.h b/engines/titanic/game/arboretum_gate.h index 34569a0fc0..a176e93ed9 100644 --- a/engines/titanic/game/arboretum_gate.h +++ b/engines/titanic/game/arboretum_gate.h @@ -29,10 +29,14 @@ namespace Titanic { -class CArboretumGate : public CBackground, public CActMsgTarget, - public CLeaveViewMsgTarget, public CTurnOffTarget, - public CMouseButtonDownMsgTarget, public CEnterViewMsgTarget, - public CTurnOnTarget, public CMovieEndMsgTarget { +class CArboretumGate : public CBackground, + public CActMsgTarget, + public CLeaveViewMsgTarget, + public CTurnOffTarget, + public CMouseButtonDownMsgTarget, + public CEnterViewMsgTarget, + public CTurnOnTarget, + public CMovieEndMsgTarget { private: static int _v1; static int _v2; diff --git a/engines/titanic/game/bar_bell.h b/engines/titanic/game/bar_bell.h index 30d71955ec..865e446cc5 100644 --- a/engines/titanic/game/bar_bell.h +++ b/engines/titanic/game/bar_bell.h @@ -28,7 +28,8 @@ namespace Titanic { -class CBarBell : public CGameObject, CEnterRoomMsgTarget { +class CBarBell : public CGameObject, + public CEnterRoomMsgTarget { public: int _fieldBC; int _fieldC0; diff --git a/engines/titanic/game/bomb.h b/engines/titanic/game/bomb.h index 8e9dcdf826..9f33189d56 100644 --- a/engines/titanic/game/bomb.h +++ b/engines/titanic/game/bomb.h @@ -28,7 +28,8 @@ namespace Titanic { -class CBomb : public CBackground, CEnterRoomMsgTarget { +class CBomb : public CBackground, + public CEnterRoomMsgTarget { private: int _fieldE0; int _fieldE4; diff --git a/engines/titanic/game/chicken_cooler.h b/engines/titanic/game/chicken_cooler.h index 176c8c9c4d..6f57cddb9c 100644 --- a/engines/titanic/game/chicken_cooler.h +++ b/engines/titanic/game/chicken_cooler.h @@ -28,7 +28,8 @@ namespace Titanic { -class CChickenCooler : public CGameObject, CEnterRoomMsgTarget { +class CChickenCooler : public CGameObject, + public CEnterRoomMsgTarget { private: int _fieldBC; int _fieldC0; diff --git a/engines/titanic/game/doorbot_elevator_handler.h b/engines/titanic/game/doorbot_elevator_handler.h index d6c5be94d6..bd33747239 100644 --- a/engines/titanic/game/doorbot_elevator_handler.h +++ b/engines/titanic/game/doorbot_elevator_handler.h @@ -28,7 +28,8 @@ namespace Titanic { -class CDoorbotElevatorHandler : public CGameObject, CEnterNodeMsgTarget { +class CDoorbotElevatorHandler : public CGameObject, + public CEnterNodeMsgTarget { private: static int _v1; int _value; diff --git a/engines/titanic/game/end_sequence_control.h b/engines/titanic/game/end_sequence_control.h index 5eb36943ea..87eaf17c0e 100644 --- a/engines/titanic/game/end_sequence_control.h +++ b/engines/titanic/game/end_sequence_control.h @@ -28,7 +28,8 @@ namespace Titanic { -class CEndSequenceControl : public CGameObject, CEnterRoomMsgTarget { +class CEndSequenceControl : public CGameObject, + public CEnterRoomMsgTarget { protected: virtual bool handleMessage(CEnterRoomMsg &msg); public: diff --git a/engines/titanic/game/fan_noises.h b/engines/titanic/game/fan_noises.h index 6daf8020c5..495ac39f8e 100644 --- a/engines/titanic/game/fan_noises.h +++ b/engines/titanic/game/fan_noises.h @@ -28,7 +28,8 @@ namespace Titanic { -class CFanNoises : public CGameObject, CEnterRoomMsgTarget { +class CFanNoises : public CGameObject, + public CEnterRoomMsgTarget { private: int _fieldBC; int _fieldC0; diff --git a/engines/titanic/game/get_lift_eye2.h b/engines/titanic/game/get_lift_eye2.h index 8ce181f3c6..7ca0b4d32e 100644 --- a/engines/titanic/game/get_lift_eye2.h +++ b/engines/titanic/game/get_lift_eye2.h @@ -27,7 +27,8 @@ #include "titanic/messages/messages.h" namespace Titanic { -class CGetLiftEye2 : public CGameObject, CEnterRoomMsgTarget { +class CGetLiftEye2 : public CGameObject, + public CEnterRoomMsgTarget { private: static CString *_v1; protected: diff --git a/engines/titanic/game/gondolier/gondolier_mixer.h b/engines/titanic/game/gondolier/gondolier_mixer.h index dd7288352b..c6ea840ea6 100644 --- a/engines/titanic/game/gondolier/gondolier_mixer.h +++ b/engines/titanic/game/gondolier/gondolier_mixer.h @@ -28,7 +28,8 @@ namespace Titanic { -class CGondolierMixer : public CGondolierBase, CEnterRoomMsgTarget { +class CGondolierMixer : public CGondolierBase, + public CEnterRoomMsgTarget { private: int _fieldBC; int _fieldC0; diff --git a/engines/titanic/game/light.h b/engines/titanic/game/light.h index 66d60bedf7..a2e562c573 100644 --- a/engines/titanic/game/light.h +++ b/engines/titanic/game/light.h @@ -28,7 +28,8 @@ namespace Titanic { -class CLight : public CBackground, CEnterRoomMsgTarget { +class CLight : public CBackground, + public CEnterRoomMsgTarget { private: int _fieldE0; int _fieldE4; diff --git a/engines/titanic/game/light_switch.h b/engines/titanic/game/light_switch.h index 2c43edd5b9..3e44590390 100644 --- a/engines/titanic/game/light_switch.h +++ b/engines/titanic/game/light_switch.h @@ -28,7 +28,8 @@ namespace Titanic { -class CLightSwitch : public CBackground, CEnterRoomMsgTarget { +class CLightSwitch : public CBackground, + public CEnterRoomMsgTarget { public: static int _v1; private: diff --git a/engines/titanic/game/parrot/player_meets_parrot.h b/engines/titanic/game/parrot/player_meets_parrot.h index 960b679fd4..9e47a0a932 100644 --- a/engines/titanic/game/parrot/player_meets_parrot.h +++ b/engines/titanic/game/parrot/player_meets_parrot.h @@ -28,7 +28,8 @@ namespace Titanic { -class CPlayerMeetsParrot : public CGameObject, CEnterRoomMsgTarget { +class CPlayerMeetsParrot : public CGameObject, + public CEnterRoomMsgTarget { protected: virtual bool handleMessage(CEnterRoomMsg &msg); public: diff --git a/engines/titanic/game/pet/pet_monitor.h b/engines/titanic/game/pet/pet_monitor.h index f8a35292fa..5cf14f38cb 100644 --- a/engines/titanic/game/pet/pet_monitor.h +++ b/engines/titanic/game/pet/pet_monitor.h @@ -28,7 +28,8 @@ namespace Titanic { -class CPETMonitor : public CGameObject, CEnterRoomMsgTarget { +class CPETMonitor : public CGameObject, + public CEnterRoomMsgTarget { protected: virtual bool handleMessage(CEnterRoomMsg &msg); public: diff --git a/engines/titanic/game/pet/pet_position.h b/engines/titanic/game/pet/pet_position.h index fe28a13777..820df41c50 100644 --- a/engines/titanic/game/pet/pet_position.h +++ b/engines/titanic/game/pet/pet_position.h @@ -28,7 +28,8 @@ namespace Titanic { -class CPETPosition : public CGameObject, CEnterRoomMsgTarget { +class CPETPosition : public CGameObject, + public CEnterRoomMsgTarget { protected: virtual bool handleMessage(CEnterRoomMsg &msg); public: diff --git a/engines/titanic/game/pet/pet_transport.h b/engines/titanic/game/pet/pet_transport.h index e43cbef849..8dd3f3aac5 100644 --- a/engines/titanic/game/pet/pet_transport.h +++ b/engines/titanic/game/pet/pet_transport.h @@ -28,7 +28,8 @@ namespace Titanic { -class CPETTransport : public CGameObject, CEnterRoomMsgTarget { +class CPETTransport : public CGameObject, + public CEnterRoomMsgTarget { protected: virtual bool handleMessage(CEnterRoomMsg &msg); public: diff --git a/engines/titanic/game/sgt/sgt_state_room.h b/engines/titanic/game/sgt/sgt_state_room.h index a730473580..6e53ad39da 100644 --- a/engines/titanic/game/sgt/sgt_state_room.h +++ b/engines/titanic/game/sgt/sgt_state_room.h @@ -45,7 +45,8 @@ struct CSGTStateRoomStatics { int _v14; }; -class CSGTStateRoom : public CBackground, CEnterRoomMsgTarget { +class CSGTStateRoom : public CBackground, + public CEnterRoomMsgTarget { private: static CSGTStateRoomStatics *_statics; private: diff --git a/engines/titanic/game/ship_setting.h b/engines/titanic/game/ship_setting.h index 6ea38be052..878feba8ba 100644 --- a/engines/titanic/game/ship_setting.h +++ b/engines/titanic/game/ship_setting.h @@ -28,7 +28,8 @@ namespace Titanic { -class CShipSetting : public CBackground, CEnterRoomMsgTarget { +class CShipSetting : public CBackground, + public CEnterRoomMsgTarget { private: CString _string3; Point _pos1; diff --git a/engines/titanic/game/transport/lift.h b/engines/titanic/game/transport/lift.h index 4f628231e8..c2a18df4dd 100644 --- a/engines/titanic/game/transport/lift.h +++ b/engines/titanic/game/transport/lift.h @@ -28,7 +28,8 @@ namespace Titanic { -class CLift : public CTransport, CEnterRoomMsgTarget { +class CLift : public CTransport, + public CEnterRoomMsgTarget { private: static int _v1; static int _v2; diff --git a/engines/titanic/game/transport/pellerator.h b/engines/titanic/game/transport/pellerator.h index 03e45751b2..b97d17ff88 100644 --- a/engines/titanic/game/transport/pellerator.h +++ b/engines/titanic/game/transport/pellerator.h @@ -28,7 +28,8 @@ namespace Titanic { -class CPellerator : public CTransport, CEnterRoomMsgTarget { +class CPellerator : public CTransport, + public CEnterRoomMsgTarget { private: static int _v1; static int _v2; diff --git a/engines/titanic/game/up_lighter.h b/engines/titanic/game/up_lighter.h index add941f325..589e279d6b 100644 --- a/engines/titanic/game/up_lighter.h +++ b/engines/titanic/game/up_lighter.h @@ -28,7 +28,8 @@ namespace Titanic { -class CUpLighter : public CDropTarget, CEnterRoomMsgTarget { +class CUpLighter : public CDropTarget, + public CEnterRoomMsgTarget { private: int _field118; int _field11C; |