22 #ifndef ULTIMA8_GFX_SHAPE_H 23 #define ULTIMA8_GFX_SHAPE_H 25 #include "ultima/shared/std/containers.h" 27 #include "common/stream.h" 36 struct ConvertShapeFormat;
44 const uint16 flexId,
const uint32 shapenum);
47 void setPalette(
const Palette *pal) {
50 const Palette *getPalette()
const {
54 uint32 frameCount()
const {
55 return static_cast<uint32
>(_frames.size());
63 const ShapeFrame *getFrame(
unsigned int frame)
const;
65 void getShapeId(uint16 &flexId, uint32 &shapenum)
const;
89 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:44