22 #ifndef SCI_GRAPHICS_ANIMATE_H 23 #define SCI_GRAPHICS_ANIMATE_H 25 #include "sci/graphics/helpers.h" 31 kSignalStopUpdate = 0x0001,
32 kSignalViewUpdated = 0x0002,
33 kSignalNoUpdate = 0x0004,
34 kSignalHidden = 0x0008,
35 kSignalFixedPriority = 0x0010,
36 kSignalAlwaysUpdate = 0x0020,
37 kSignalForceUpdate = 0x0040,
38 kSignalRemoveView = 0x0080,
39 kSignalFrozen = 0x0100,
41 kSignalHitObstacle = 0x0400,
42 kSignalDoesntTurn = 0x0800,
45 kSignalIgnoreActor = 0x4000,
46 kSignalDisposeMe = 0x8000
49 enum ViewScaleSignals {
50 kScaleSignalDoScaling = 0x0001,
51 kScaleSignalGlobalScaling = 0x0002,
52 kScaleSignalHoyle4SpecialHandling = 0x0004
92 bool isFastCastEnabled() {
93 return _fastCastEnabled;
96 void disposeLastCast();
97 bool invoke(
List *list,
int argc,
reg_t *argv);
98 void makeSortedList(
List *list);
100 void fill(byte &oldPicNotValid);
103 void updateScreen(byte oldPicNotValid);
104 void restoreAndDelete(
int argc,
reg_t *argv);
106 void addToPicDrawCels();
107 void addToPicDrawView(GuiResourceId viewId, int16 loopNo, int16 celNo, int16 leftPos, int16 topPos, int16 priority, int16 control);
108 void printAnimateList(
Console *con);
110 virtual void kernelAnimate(
reg_t listReference,
bool cycle,
int argc,
reg_t *argv);
111 virtual void kernelAddToPicList(
reg_t listReference,
int argc,
reg_t *argv);
112 virtual void kernelAddToPicView(GuiResourceId viewId, int16 loopNo, int16 celNo, int16 leftPos, int16 topPos, int16 priority, int16 control);
116 bool detectFastCast();
118 void addToPicSetPicNotValid();
119 void animateShowPic();
136 AnimateArray _lastCastData;
138 bool _fastCastEnabled;
143 #endif // SCI_GRAPHICS_ANIMATE_H
Definition: segment.h:202
Definition: script_patches.h:91
signed char * fill(signed char *first, signed char *last, Value val)
Definition: algorithm.h:168
Definition: list_intern.h:51
Definition: transitions.h:62
Definition: vm_types.h:39