ScummVM API documentation
Alcachofa::Room Class Reference
Inheritance diagram for Alcachofa::Room:
Alcachofa::ConnectMenu Alcachofa::Inventory Alcachofa::ListenMenu Alcachofa::OptionsMenu

Public Types

using ObjectIterator = Common::Array< ObjectBase * >::const_iterator
 

Public Member Functions

 Room (World *world, Common::SeekableReadStream &stream)
 
Worldworld ()
 
const Common::Stringname () const
 
const PathFindingShapeactiveFloor () const
 
int8 orderAt (Common::Point query) const
 
float depthAt (Common::Point query) const
 
uint8 characterAlphaTint () const
 
uint8 characterAlphaPremultiplier () const
 
bool fixedCameraOnEntering () const
 
int musicID () const
 
ObjectIterator beginObjects () const
 
ObjectIterator endObjects () const
 
void update ()
 
void draw ()
 
virtual bool updateInput ()
 
virtual void loadResources ()
 
virtual void freeResources ()
 
virtual void syncGame (Common::Serializer &serializer)
 
ObjectBasegetObjectByName (const char *name) const
 
void toggleActiveFloor ()
 
void debugPrint (bool withObjects) const
 

Static Public Attributes

static constexpr const char * kClassName = "CHabitacion"
 

Protected Member Functions

 Room (World *world, Common::SeekableReadStream &stream, bool hasUselessByte)
 
void updateScripts ()
 
void updateRoomBounds ()
 
void updateInteraction ()
 
void updateObjects ()
 
void drawObjects ()
 
void drawDebug ()
 
ShapeObjectgetSelectedObject (ShapeObject *best=nullptr) const
 

Protected Attributes

World_world
 
Common::String _name
 
PathFindingShape _floors [2]
 
bool _fixedCameraOnEntering
 
int8 _activeFloorI = -1
 
int _musicId = -1
 
uint8 _characterAlphaTint
 
uint8 _characterAlphaPremultiplier
 for some reason in percent instead of 0-255
 
Common::Array< ObjectBase * > _objects
 

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