22 #ifndef NANCY_ACTION_TANGRAMPUZZLE_H 23 #define NANCY_ACTION_TANGRAMPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 26 #include "engines/nancy/misc/mousefollow.h" 40 void registerGraphics()
override;
43 void execute()
override;
47 Common::String getRecordTypeName()
const override {
return "TangramPuzzle"; }
48 bool isViewportRelative()
const override {
return true; }
57 void setHighlighted(
bool highlighted);
67 bool isViewportRelative()
const override {
return true; }
72 void pickUpTile(uint
id);
73 void putDownTile(uint
id);
74 void rotateTile(uint
id);
76 void moveToTop(uint
id);
79 bool checkBuffer(
const Tile &tile)
const;
101 byte *_zBuffer =
nullptr;
105 int16 _pickedUpTile = -1;
106 bool _shouldCheck =
false;
107 bool _solved =
false;
109 uint _pixelAdjustment = 5;
115 #endif // NANCY_ACTION_TANGRAMPUZZLE_H Definition: managed_surface.h:51
Definition: tangrampuzzle.h:50
Definition: mousefollow.h:42
Definition: tangrampuzzle.h:34
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: commontypes.h:254
Definition: actionmanager.h:32