aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/maitred/maitred_prod_receptor.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-21 21:09:53 -0400
committerPaul Gilbert2017-08-21 21:09:53 -0400
commit3596fa9a12e14b408954bdfa49cc7f2bedb44d44 (patch)
treef04e3c0e856a9c9201875997c9362fa518245d0d /engines/titanic/game/maitred/maitred_prod_receptor.h
parent05616ca2ee71a0b2d2258dfed5cd3ce614bb7259 (diff)
downloadscummvm-rg350-3596fa9a12e14b408954bdfa49cc7f2bedb44d44.tar.gz
scummvm-rg350-3596fa9a12e14b408954bdfa49cc7f2bedb44d44.tar.bz2
scummvm-rg350-3596fa9a12e14b408954bdfa49cc7f2bedb44d44.zip
TITANIC: Renamings for CMaitreDProdReceptor
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