ScummVM API documentation
MutationOfJB::Bitmap Struct Reference

#include <gamedata.h>

Inheritance diagram for MutationOfJB::Bitmap:
Common::Serializable

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
 

Detailed Description

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.

Member Function Documentation

◆ loadInitialState()

bool MutationOfJB::Bitmap::loadInitialState ( Common::ReadStream stream)

Load initial state from game data file.

Parameters
streamStream for reading.
Returns
True if success, false otherwise.

◆ saveLoadWithSerializer()

void MutationOfJB::Bitmap::saveLoadWithSerializer ( Common::Serializer sz)
overridevirtual

(De)serialization for save/load.

Parameters
szSerializer.

Implements Common::Serializable.

Member Data Documentation

◆ _roomFrame

uint8 MutationOfJB::Bitmap::_roomFrame

Room frame that this bitmap carves out of.

◆ _isVisible

uint8 MutationOfJB::Bitmap::_isVisible

Whether to draw the bitmap.

◆ _x1

uint16 MutationOfJB::Bitmap::_x1

X coordinate of the top left corner of the bitmap rectangle.

◆ _y1

uint8 MutationOfJB::Bitmap::_y1

Y coordinate of the top left corner of the bitmap rectangle.

◆ _x2

uint16 MutationOfJB::Bitmap::_x2

X coordinate of the bottom right corner of the bitmap rectangle.

◆ _y2

uint8 MutationOfJB::Bitmap::_y2

Y coordinate of the bottom right corner of the bitmap rectangle.


The documentation for this struct was generated from the following file: