22 #ifndef KYRA_ANIMATOR_LOK_H 23 #define KYRA_ANIMATOR_LOK_H 35 uint32 bkgdChangeFlag;
40 int16 animFrameNumber;
55 operator bool()
const {
return _initOk; }
57 void init(
int actors,
int items,
int sprites);
60 AnimObject *objects() {
return _screenObjects; }
65 void initAnimStateList();
66 void preserveAllBackgrounds();
67 void flagAllObjectsForBkgdChange();
68 void flagAllObjectsForRefresh();
69 void restoreAllObjectBackgrounds();
70 void preserveAnyChangedBackgrounds();
71 virtual void prepDrawAllObjects();
72 void copyChangedObjectsForward(
int refreshFlag,
bool refreshScreen =
true);
74 void updateAllObjectShapes(
bool refreshScreen =
true);
75 void animRemoveGameItem(
int index);
76 void animAddGameItem(
int index, uint16 sceneId);
77 void animAddNPC(
int character);
78 void animRefreshNPC(
int character);
80 void clearQueue() { _objectQueue = 0; }
84 void makeBrandonFaceMouse();
85 void setBrandonAnimSeqSize(
int width,
int height);
86 void resetBrandonAnimSeqSize();
87 void setCharacterDefaultFrame(
int character);
88 void setCharactersHeight();
90 int16 fetchAnimWidth(
const uint8 *shape, int16 mult);
91 int16 fetchAnimHeight(
const uint8 *shape, int16 mult);
93 int _noDrawShapesFlag;
94 uint16 _brandonDrawFrame;
110 uint8 *_actorBkgBackUp[2];
116 void preserveOrRestoreBackground(
AnimObject *obj,
bool restore);
120 int _brandonAnimSeqSizeWidth;
121 int _brandonAnimSeqSizeHeight;
Definition: atari-screen.h:60
Definition: animator_lok.h:31
Definition: animator_lok.h:29
Definition: kyra_lok.h:97
Definition: detection.h:27