36 #include "common/pack-start.h" 81 #include "common/pack-end.h" 88 Static() : layersCount(0), layers(0), pieces(0), piecesCount(0) {}
96 Animation() : layersCount(0), layers(0), pieces(0), piecesCount(0) {}
100 int16 _curStaticLayer;
105 int16 _toRedrawRight;
107 int16 _toRedrawBottom;
114 int16 *_pCaptureCounter;
117 int16 loadStatic(
char search);
118 void freeStatic(int16 index);
119 void renderStatic(int16 scenery, int16 layer);
120 void updateStatic(int16 orderFrom);
121 void freeAnim(int16 index);
122 void updateAnim(int16 layer, int16 frame, int16 animation,
123 int16 flags, int16 drawDeltaX, int16 drawDeltaY,
char doDraw);
124 void updateAnimObjectVideo(int16 layer, int16 frame, int16 animation,
125 int16 flags, int16 drawDeltaX, int16 drawDeltaY,
char doDraw);
127 void writeAnimLayerInfo(uint16 index, uint16 layer,
128 int16 varDX, int16 varDY, int16 varUnk0, int16 varFrames);
129 int16 getStaticLayersCount(uint16 index);
130 int16 getAnimLayersCount(uint16 index);
131 StaticLayer *getStaticLayer(uint16 index, uint16 layer);
132 AnimLayer *getAnimLayer(uint16 index, uint16 layer);
134 virtual int16 loadAnim(
char search);
140 char _spriteRefs[20];
141 int16 _spriteResId[20];
143 int16 _staticPictCount[10];
144 int16 _staticResId[10];
146 int16 _animPictCount[10];
147 int16 _animResId[10];
149 char _staticPictToSprite[70];
150 char _animPictToSprite[70];
157 void loadPieces(int16 pictDescId,
PieceDesc *&pieceDesc, uint32 &piecesCount);
159 void updateStatic(int16 orderFrom, byte index, byte layer);
164 int16 loadAnim(
char search)
override;
172 int16 loadAnim(
char search)
override;
180 #endif // GOB_SCENERY_H
Definition: scenery.h:162
Definition: scenery.h:170