aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/maitred/maitred_prod_receptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/game/maitred/maitred_prod_receptor.h')
-rw-r--r--engines/titanic/game/maitred/maitred_prod_receptor.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/titanic/game/maitred/maitred_prod_receptor.h b/engines/titanic/game/maitred/maitred_prod_receptor.h
index 0b00ce0014..e862668d00 100644
--- a/engines/titanic/game/maitred/maitred_prod_receptor.h
+++ b/engines/titanic/game/maitred/maitred_prod_receptor.h
@@ -27,6 +27,8 @@
namespace Titanic {
+enum ProdSource { MAITRED_BODY = 0, MAITRED_LEGS = 1, MAITRED_BUTTOCKS = 2, MAITRED_GENERAL = 3 };
+
class CMaitreDProdReceptor : public CGameObject {
DECLARE_MESSAGE_MAP;
bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
@@ -34,13 +36,13 @@ class CMaitreDProdReceptor : public CGameObject {
bool ProdMaitreDMsg(CProdMaitreDMsg *msg);
bool DisableMaitreDProdReceptor(CDisableMaitreDProdReceptor *msg);
protected:
- int _fieldBC;
+ ProdSource _prodSource;
int _counter;
- int _fieldC4;
+ bool _proddable;
public:
CLASSDEF;
CMaitreDProdReceptor() : CGameObject(),
- _fieldBC(0), _counter(0), _fieldC4(1) {}
+ _prodSource(MAITRED_BODY), _counter(0), _proddable(true) {}
/**
* Save the data for the class to file