diff options
author | Paul Gilbert | 2016-08-14 15:52:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-14 15:52:03 -0400 |
commit | 8ea436686dc0bd1726831f1648778903896b26c7 (patch) | |
tree | 79bcf7b1165faa25e3b374d78ba7363200da73c6 /engines/titanic/game/bar_menu.h | |
parent | b670c02835f52673064cce9b025a353ca8fe82ce (diff) | |
download | scummvm-rg350-8ea436686dc0bd1726831f1648778903896b26c7.tar.gz scummvm-rg350-8ea436686dc0bd1726831f1648778903896b26c7.tar.bz2 scummvm-rg350-8ea436686dc0bd1726831f1648778903896b26c7.zip |
TITANIC: Implemented CBarMenu and CBarMenuButton classes
Diffstat (limited to 'engines/titanic/game/bar_menu.h')
-rw-r--r-- | engines/titanic/game/bar_menu.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/titanic/game/bar_menu.h b/engines/titanic/game/bar_menu.h index 84c0219084..f16f7b035d 100644 --- a/engines/titanic/game/bar_menu.h +++ b/engines/titanic/game/bar_menu.h @@ -24,14 +24,21 @@ #define TITANIC_BAR_MENU_H #include "titanic/core/game_object.h" +#include "titanic/messages/pet_messages.h" namespace Titanic { class CBarMenu : public CGameObject { + DECLARE_MESSAGE_MAP; + bool PETActivateMsg(CPETActivateMsg *msg); + bool PETDownMsg(CPETDownMsg *msg); + bool PETUpMsg(CPETUpMsg *msg); + bool EnterViewMsg(CEnterViewMsg *msg); + bool LeaveViewMsg(CLeaveViewMsg *msg); public: - int _fieldBC; - int _fieldC0; - int _fieldC4; + int _barFrameNumber; + bool _visibleFlag; + int _numFrames; public: CLASSDEF; CBarMenu(); |