31 #include "common/system.h" 32 #include "common/array.h" 36 class SeekableReadStream;
52 uint16 width, uint16 height, uint8 bpp = 1);
54 uint16 width, uint16 height, uint8 bpp = 1);
56 uint16 width, uint16 height, uint8 bpp = 1);
58 uint16 width, uint16 height, uint8 bpp = 1);
63 uint16 getSpriteCount()
const;
65 bool getCoordinates(uint16 sprite, uint16 &left, uint16 &top, uint16 &right, uint16 &bottom)
const;
67 uint16 getWidth (uint16 sprite)
const;
68 uint16 getHeight(uint16 sprite)
const;
70 void getMaxSize(uint16 &width, uint16 &height)
const;
72 void draw(
Surface &dest, uint16 sprite, uint16 x, uint16 y, int32 transp = -1)
const;
73 void draw(
Surface &dest, uint16 left, uint16 top, uint16 right, uint16 bottom,
74 uint16 x, uint16 y, int32 transp = -1)
const;
76 uint16 addSprite(uint16 left, uint16 top, uint16 right, uint16 bottom);
78 void recolor(uint8 from, uint8 to);
100 void createSurface();
105 #endif // GOB_CMPFILE_H
Definition: algorithm.h:29
Definition: surface.h:100