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)
 
QMessageObject * findObject (int16 id)
 
QMessageObject * findObject (const Common::String &name)
 
QObjectPetka * getPetka () const
 
QObjectChapayev * getChapay () const
 
QObjectCursor * getCursor () const
 
QObjectCase * getCase () const
 
QObjectStar * getStar () 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: