25 #include "common/array.h" 26 #include "common/path.h" 27 #include "common/rect.h" 28 #include "mads/nebular/core/palette.h" 34 ASSET_TRANSLATE = 1, ASSET_HEADER_ONLY = 2, ASSET_CHAR_INFO = 4,
35 ASSET_SPINNING_OBJECT = 8
38 class RexNebularEngine;
66 byte _palette[PALETTE_SIZE];
69 int _frameRate, _pixelSpeed;
70 int _maxWidth, _maxHeight;
104 int getFrameRate()
const {
107 int getPixelSpeed()
const {
111 assert(index < _frameCount);
return Common::Point(_frames[index]._bounds.left, _frames[index]._bounds.top);
113 int getFrameWidth(
int index) {
114 assert(index < _frameCount);
return _frames[index]._bounds.width();
116 int getFrameHeight(
int index) {
117 assert(index < _frameCount);
return _frames[index]._bounds.height();
119 int getMaxFrameWidth()
const {
122 int getMaxFrameHeight()
const {
125 MSprite *getFrame(
int frameIndex);
129 int getColorCount() {
132 bool isBackground()
const {
133 return _isBackground;
Definition: sprites.h:110
Definition: sound_manager.h:38