22 #include "common/serializer.h" 23 #include "common/array.h" 24 #include "common/hashmap.h" 26 #include "engines/nancy/commontypes.h" 28 #ifndef NANCY_PUZZLEDATA_H 29 #define NANCY_PUZZLEDATA_H 47 static constexpr uint32 getTag() {
return MKTAG(
'S',
'L',
'I',
'D'); }
51 bool playerHasTriedPuzzle;
58 static constexpr uint32 getTag() {
return MKTAG(
'R',
'I',
'P',
'L'); }
63 bool playerHasTriedPuzzle;
66 int8 _pickedUpPieceID = -1;
67 byte _pickedUpPieceRot = 0;
68 int _pickedUpPieceLastPos = -1;
75 static constexpr uint32 getTag() {
return MKTAG(
'T',
'O',
'W',
'R'); }
79 bool playerHasTriedPuzzle;
86 static constexpr uint32 getTag() {
return MKTAG(
'R',
'I',
'D',
'L'); }
90 int8 incorrectRiddleID;
97 static constexpr uint32 getTag() {
return MKTAG(
'S',
'E',
'Q',
'L'); }
114 static constexpr uint32 getTag() {
return MKTAG(
'A',
'S',
'M',
'B'); }
126 uint16 sceneID = kNoScene;
129 static constexpr uint32 getTag() {
return MKTAG(
'J',
'O',
'U',
'R'); }
144 static constexpr uint32 getTag() {
return MKTAG(
'T',
'A',
'B',
'L'); }
147 void setSingleValue(uint16 index, int16 value);
148 int16 getSingleValue(uint16 index)
const;
150 void setComboValue(uint16 index,
float value);
151 float getComboValue(uint16 index)
const;
161 #endif // NANCY_PUZZLEDATA_H Definition: puzzledata.h:113
Definition: puzzledata.h:54
Definition: puzzledata.h:36
Definition: puzzledata.h:104
Definition: serializer.h:79
Definition: puzzledata.h:43
Definition: puzzledata.h:140
Definition: puzzledata.h:93
Definition: puzzledata.h:82
#define MKTAG(a0, a1, a2, a3)
Definition: endian.h:188
Definition: puzzledata.h:121
Definition: puzzledata.h:71
Definition: puzzledata.h:117
Definition: actionmanager.h:32