|
Door * | getDoor (uint8 objectId) |
|
Object * | getObject (uint8 objectId, bool ignoreNo=false) |
|
Static * | getStatic (uint8 staticId, bool ignoreNo=false) |
|
Bitmap * | getBitmap (uint8 bitmapId) |
|
uint8 | getNoDoors (bool ignoreNo=false) const |
|
uint8 | getNoObjects (bool ignoreNo=false) const |
|
uint8 | getNoStatics (bool ignoreNo=false) const |
|
uint8 | getNoBitmaps () const |
|
Door * | findDoor (int16 x, int16 y, bool activeOnly=true, int *index=nullptr) |
|
Static * | findStatic (int16 x, int16 y, bool activeOnly=true, int *index=nullptr) |
|
Bitmap * | findBitmap (int16 x, int16 y, int *index=nullptr) |
|
void | addExhaustedConvItem (uint8 context, uint8 convItemIndex, uint8 convGroupIndex) |
|
bool | isConvItemExhausted (uint8 context, uint8 convItemIndex, uint8 convGroupIndex) const |
|
bool | loadInitialState (Common::ReadStream &stream) |
|
void | saveLoadWithSerializer (Common::Serializer &sz) override |
|
◆ findDoor()
Door* MutationOfJB::Scene::findDoor |
( |
int16 |
x, |
|
|
int16 |
y, |
|
|
bool |
activeOnly = true , |
|
|
int * |
index = nullptr |
|
) |
| |
Finds the door at the given position. By default, only active doors are considered.
- Parameters
-
x | X coordinate. |
y | Y coordinate. |
activeOnly | If true, consider only active doors; otherwise consider any. |
index | Output parameter for the found door's ID. |
- Returns
- A door if found, nullptr otherwise.
◆ findStatic()
Static* MutationOfJB::Scene::findStatic |
( |
int16 |
x, |
|
|
int16 |
y, |
|
|
bool |
activeOnly = true , |
|
|
int * |
index = nullptr |
|
) |
| |
Finds the static at the given position. By default, only active statics are considered.
- Parameters
-
x | X coordinate. |
y | Y coordinate. |
activeOnly | If true, consider only active statics; otherwise consider any. |
index | Output parameter for the found static's ID. |
- Returns
- A static if found, nullptr otherwise.
◆ loadInitialState()
Load initial state from game data file.
- Parameters
-
stream | Stream for reading. |
- Returns
- True if success, false otherwise.
◆ saveLoadWithSerializer()
◆ _startup
uint8 MutationOfJB::Scene::_startup |
Refers to the script block that will be executed when you enter this scene (DS register).
◆ _unknown001
uint8 MutationOfJB::Scene::_unknown001 |
These three variables control downscaling of the player character depending on his Y. TODO: Find out more.
◆ _delay
uint8 MutationOfJB::Scene::_delay |
Delay between object animation advancements (DL register).
◆ _noDoors
uint8 MutationOfJB::Scene::_noDoors |
Number of doors in the scene (ND register).
◆ _doors
Door MutationOfJB::Scene::_doors[5] |
◆ _noObjects
uint8 MutationOfJB::Scene::_noObjects |
Number of animated objects in the scene (NO register).
◆ _objects
Object MutationOfJB::Scene::_objects[9] |
◆ _noStatics
uint8 MutationOfJB::Scene::_noStatics |
Number of statics in the scene (NS register).
◆ _statics
Static MutationOfJB::Scene::_statics[15] |
◆ _bitmaps
Bitmap MutationOfJB::Scene::_bitmaps[10] |
Bitmap definitions. There is no corresponding _noBitmaps field.
◆ _obstacleY1
uint16 MutationOfJB::Scene::_obstacleY1 |
Fixed Y coordinate for all static obstacles in the scene. Always 0 in data files.
◆ _palRotFirst
uint8 MutationOfJB::Scene::_palRotFirst |
First index (inclusive and 0-indexed) of the rotating portion of the palette (PF register).
◆ _palRotLast
uint8 MutationOfJB::Scene::_palRotLast |
Last index (inclusive and 0-indexed) of the rotating portion of the palette (PL register).
◆ _palRotDelay
uint8 MutationOfJB::Scene::_palRotDelay |
Delay between each right rotation of the palette portion (PD register).
◆ _exhaustedConvItemNext
uint8 MutationOfJB::Scene::_exhaustedConvItemNext |
Points to the first free item in exhausted conversation item array.
- Note
- Indexed from 1.
The documentation for this struct was generated from the following file: