#include <gamedata.h>
Public Member Functions | |
bool | loadInitialState (Common::ReadStream &stream) |
void | saveLoadWithSerializer (Common::Serializer &sz) override |
Public Attributes | |
uint8 | _roomFrame |
uint8 | _isVisible |
uint16 | _x1 |
uint8 | _y1 |
uint16 | _x2 |
uint8 | _y2 |
A static image that is carved out of a room frame based on its rectangle. The bitmap rectangle also specifies where to blit it on the screen.
bool MutationOfJB::Bitmap::loadInitialState | ( | Common::ReadStream & | stream | ) |
Load initial state from game data file.
stream | Stream for reading. |
|
overridevirtual |
uint8 MutationOfJB::Bitmap::_roomFrame |
Room frame that this bitmap carves out of.
uint8 MutationOfJB::Bitmap::_isVisible |
Whether to draw the bitmap.
uint16 MutationOfJB::Bitmap::_x1 |
X coordinate of the top left corner of the bitmap rectangle.
uint8 MutationOfJB::Bitmap::_y1 |
Y coordinate of the top left corner of the bitmap rectangle.
uint16 MutationOfJB::Bitmap::_x2 |
X coordinate of the bottom right corner of the bitmap rectangle.
uint8 MutationOfJB::Bitmap::_y2 |
Y coordinate of the bottom right corner of the bitmap rectangle.