diff options
author | Paul Gilbert | 2016-04-01 13:40:20 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-01 13:40:20 -0400 |
commit | 9affb67a3c83ead5ed4e3be2ea4d369a9c61d6f3 (patch) | |
tree | 2c84d70384b6891ae2f3016f38a2c1d87cf87fb2 /engines/titanic/pet_control/pet_section.h | |
parent | 883e198eb3c5e54c2c3bc9b01f65f3420840873f (diff) | |
download | scummvm-rg350-9affb67a3c83ead5ed4e3be2ea4d369a9c61d6f3.tar.gz scummvm-rg350-9affb67a3c83ead5ed4e3be2ea4d369a9c61d6f3.tar.bz2 scummvm-rg350-9affb67a3c83ead5ed4e3be2ea4d369a9c61d6f3.zip |
TITANIC: Implement PET message handlers
Diffstat (limited to 'engines/titanic/pet_control/pet_section.h')
-rw-r--r-- | engines/titanic/pet_control/pet_section.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h index 1355a54f22..352e22420a 100644 --- a/engines/titanic/pet_control/pet_section.h +++ b/engines/titanic/pet_control/pet_section.h @@ -76,17 +76,17 @@ public: virtual void proc5(int val) {} - virtual bool handleMessage(CMouseButtonDownMsg &msg) { return false; } - virtual int proc7() { return 0; } - virtual int proc8() { return 0; } - virtual int proc9() { return 0; } - virtual int proc10() { return 0; } - virtual int proc11() { return 0; } - virtual int proc12() { return 0; } - /** - * Handles special keypresses + * Following are handlers for the various messages that the PET can + * pass onto the currently active section/area */ + virtual bool handleMessage(CMouseButtonDownMsg &msg) { return false; } + virtual bool handleMessage(CMouseDragStartMsg &msg) { return false; } + virtual bool handleMessage(CMouseDragMoveMsg &msg) { return false; } + virtual bool handleMessage(CMouseDragEndMsg &msg) { return false; } + virtual bool handleMessage(CMouseButtonUpMsg &msg) { return false; } + virtual bool handleMessage(CMouseDoubleClickMsg &msg) { return false; } + virtual bool handleMessage(CKeyCharMsg &msg) { return false; } virtual bool handleMessage(CVirtualKeyCharMsg &msg) { return false; } virtual int proc14() { return 0; } |