ScummVM API documentation
Alcachofa::Inventory Class Referencefinal
Inheritance diagram for Alcachofa::Inventory:
Alcachofa::Room

Public Member Functions

 Inventory (World *world, Common::SeekableReadStream &stream)
 
bool updateInput () override
 
void initItems ()
 
void updateItemsByActiveCharacter ()
 
void drawAsOverlay (int32 scrollY)
 
void open ()
 
void close ()
 
- Public Member Functions inherited from Alcachofa::Room
 Room (World *world, Common::SeekableReadStream &stream)
 
Worldworld ()
 
uint8 mapIndex () const
 
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 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 = "CInventario"
 
- Static Public Attributes inherited from Alcachofa::Room
static constexpr const char * kClassName = "CHabitacion"
 

Additional Inherited Members

- Public Types inherited from Alcachofa::Room
using ObjectIterator = Common::Array< ObjectBase * >::const_iterator
 
- Protected Member Functions inherited from Alcachofa::Room
 Room (World *world)
 
void readRoomV1 (Common::SeekableReadStream &stream)
 
void readRoomV2and3 (Common::SeekableReadStream &stream, bool hasUselessByte)
 
void readObjects (Common::SeekableReadStream &stream)
 
void initBackground ()
 
void updateScripts ()
 
void updateRoomBounds ()
 
void updateInteraction ()
 
void updateObjects ()
 
void drawObjects ()
 
void drawDebug ()
 
ShapeObjectgetSelectedObject (ShapeObject *best=nullptr) const
 
- Protected Attributes inherited from Alcachofa::Room
World_world
 
ObjectBase_backgroundObject = nullptr
 
Common::String _name
 
Common::String _backgroundName
 
PathFindingShape _floors [2]
 
bool _fixedCameraOnEntering = false
 
int8 _activeFloorI = -1
 
int _musicId = -1
 
int16 _backgroundScale = kBaseScale
 
uint8 _mapIndex
 
uint8 _characterAlphaTint = 0
 
uint8 _characterAlphaPremultiplier = 100
 for some reason in percent instead of 0-255
 
Common::Array< ObjectBase * > _objects
 

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