ScummVM API documentation
Petka::QSystem Class Reference

Public Member Functions

 QSystem (PetkaEngine &vm)
 
bool init ()
 
void load (Common::ReadStream *s)
 
void save (Common::WriteStream *s)
 
void update ()
 
void addMessage (const QMessage &msg)
 
void addMessage (uint16 objId, uint16 opcode, int16 arg1=0, int16 arg2=0, int16 arg3=0, int32 unk=0, QMessageObject *sender=nullptr)
 
void addMessageForAllObjects (uint16 opcode, int16 arg1=0, int16 arg2=0, int16 arg3=0, int32 unk=0, QMessageObject *sender=nullptr)
 
QMessageObjectfindObject (int16 id)
 
QMessageObjectfindObject (const Common::String &name)
 
QObjectPetkagetPetka () const
 
QObjectChapayevgetChapay () const
 
QObjectCursorgetCursor () const
 
QObjectCasegetCase () const
 
QObjectStargetStar () const
 
void startSaveLoad (int id)
 
void togglePanelInterface ()
 
void toggleMapInterface ()
 
void toggleCase ()
 
void goPrevInterface ()
 
void setCursorAction (int action)
 
void onEvent (const Common::Event &event)
 

Public Attributes

PetkaEngine_vm
 
Common::Array< QMessageObject * > _allObjects
 
Common::List< QMessage_messages
 
Common::ScopedPtr< InterfaceMain_mainInterface
 
Common::ScopedPtr< InterfaceSaveLoad_saveLoadInterface
 
Common::ScopedPtr< InterfaceSequence_sequenceInterface
 
Common::ScopedPtr< InterfaceStartup_startupInterface
 
Common::ScopedPtr< InterfacePanel_panelInterface
 
Common::ScopedPtr< InterfaceMap_mapInterface
 
Interface_currInterface
 
Interface_prevInterface
 
bool _totalInit
 
int _fxId
 
int _musicId
 
int _sceneWidth
 
int _xOffset
 
int _reqOffset
 
QObjectBG_room
 

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