22 #ifndef DARKSEED_NSP_H 23 #define DARKSEED_NSP_H 25 #include "common/array.h" 26 #include "common/path.h" 27 #include "common/stream.h" 28 #include "common/scummsys.h" 29 #include "graphics/surface.h" 40 Sprite(uint16 width, uint16 height, uint16 pitch);
42 void draw(
int x,
int y, uint16 frameBottom = 0)
const;
44 void drawScaled(
int x,
int y,
int destWidth,
int destHeight,
bool flipX)
const;
47 void clipToScreen(
int x,
int y, uint16 frameBottom, uint16 *clippedWidth, uint16 *clippedHeight)
const;
67 bool containsSpriteAt(
int index)
const {
68 return (
int)_frames.
size() > index;
70 const Sprite &getSpriteAt(
int index)
const;
71 const Obt &getAnimAt(
int index);
72 int16 getTotalAnim()
const {
73 return (int16)_animations.
size();
75 int16 getMaxSpriteWidth();
84 #endif // DARKSEED_NSP_H
size_type size() const
Definition: array.h:315
Definition: adlib_worx.h:27