25 #include "common/endian.h" 27 #include "engines/grim/pool.h" 28 #include "engines/grim/bitmap.h" 37 OBJSTATE_BACKGROUND = 0,
38 OBJSTATE_UNDERLAY = 1,
43 ObjectState(
int setupID, ObjectState::Position pos,
const char *bitmap,
const char *zbitmap,
bool visible);
47 static int32 getStaticTag() {
return MKTAG(
'S',
'T',
'A',
'T'); }
49 void saveState(
SaveGame *savedState)
const;
50 bool restoreState(
SaveGame *savedState);
52 int getSetupID()
const {
return _setupID; }
53 Position getPos()
const {
return _pos; }
54 void setPos(Position position) { _pos = position; }
58 void setActiveImage(
int val);
65 Bitmap::Ptr _bitmap, _zbitmap;
Definition: objectstate.h:34
Definition: savegame.h:33
#define MKTAG(a0, a1, a2, a3)
Definition: endian.h:188