22 #ifndef ULTIMA8_GFX_SHAPE_H 23 #define ULTIMA8_GFX_SHAPE_H 25 #include "ultima/shared/std/containers.h" 27 #include "common/stream.h" 35 struct ConvertShapeFormat;
43 const uint16 flexId,
const uint32 shapenum);
46 void setPalette(
const Palette *pal) {
49 const Palette *getPalette()
const {
53 uint32 frameCount()
const {
54 return static_cast<uint32
>(_frames.size());
62 const ShapeFrame *getFrame(
unsigned int frame)
const;
64 void getShapeId(uint16 &flexId, uint32 &shapenum)
const;
88 const uint32 _shapeNum;
Definition: shape_frame.h:33
Definition: detection.h:27
void getTotalDimensions(int32 &w, int32 &h, int32 &x, int32 &y) const
Definition: atari-screen.h:42