ScummVM API documentation
Parallaction::Parallaction Class Referenceabstract
Inheritance diagram for Parallaction::Parallaction:
Engine Parallaction::Parallaction_br Parallaction::Parallaction_ns

Public Member Functions

int getGameType () const
 
uint32 getFeatures () const
 
Common::Language getLanguage () const
 
Common::Platform getPlatform () const
 
 Parallaction (OSystem *syst, const PARALLACTIONGameDescription *gameDesc)
 
virtual Common::Error init ()
 
virtual Common::Error go ()=0
 
Common::Error run () override
 
bool hasFeature (EngineFeature f) const override
 
void pauseEngineIntern (bool pause) override
 
void beep ()
 
void pauseJobs ()
 
void resumeJobs ()
 
uint getInternLanguage ()
 
void setInternLanguage (uint id)
 
void enterDialogueMode (ZonePtr z)
 
void scheduleLocationSwitch (const char *location)
 
void showSlide (const char *name, int x=0, int y=0)
 
void setLocationFlags (uint32 flags)
 
void clearLocationFlags (uint32 flags)
 
void toggleLocationFlags (uint32 flags)
 
uint32 getLocationFlags ()
 
bool checkSpecialZoneBox (ZonePtr z, uint32 type, uint x, uint y)
 
bool checkZoneBox (ZonePtr z, uint32 type, uint x, uint y)
 
bool checkZoneType (ZonePtr z, uint32 type)
 
bool checkLinkedAnimBox (ZonePtr z, uint32 type, uint x, uint y)
 
ZonePtr hitZone (uint32 type, uint16 x, uint16 y)
 
void runZone (ZonePtr z)
 
bool pickupItem (ZonePtr z)
 
void updateDoor (ZonePtr z, bool close)
 
void showZone (ZonePtr z, bool visible)
 
void highlightInventoryItem (ItemPosition pos)
 
int16 getHoverInventoryItem (int16 x, int16 y)
 
int addInventoryItem (ItemName item)
 
int addInventoryItem (ItemName item, uint32 value)
 
void dropItem (uint16 v)
 
bool isItemInInventory (int32 v)
 
const InventoryItemgetInventoryItem (int16 pos)
 
int16 getInventoryItemIndex (int16 pos)
 
void openInventory ()
 
void closeInventory ()
 
virtual void parseLocation (const char *name)=0
 
virtual void changeLocation ()=0
 
virtual void changeCharacter (const char *name)=0
 
virtual void callFunction (uint index, void *parm)=0
 
virtual void runPendingZones ()=0
 
virtual void cleanupGame ()=0
 
virtual void updateWalkers ()=0
 
virtual void scheduleWalk (int16 x, int16 y, bool fromUser)=0
 
virtual DialogueManager * createDialogueManager (ZonePtr z)=0
 
virtual bool processGameEvent (int event)=0
 
- Public Member Functions inherited from Engine
MetaEnginegetMetaEngine () const
 
void setMetaEngine (MetaEngine *metaEngine)
 
PauseToken pauseEngine ()
 
bool isPaused () const
 
void openMainMenuDialog ()
 
uint32 getTotalPlayTime () const
 
void setTotalPlayTime (uint32 time=0)
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
bool existExtractedCDAudioFiles (uint track=1)
 
bool isDataAndCDAudioReadFromSameCD ()
 
void warnMissingExtractedCDAudio ()
 
void handleAutoSave ()
 
void saveAutosaveIfEnabled ()
 
virtual bool canSaveAutosaveCurrently ()
 
virtual int getAutosaveSlot () const
 
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 
virtual GUI::DebuggergetDebugger () final
 
void setDebugger (GUI::Debugger *debugger)
 
GUI::DebuggergetOrCreateDebugger ()
 
bool enhancementEnabled (int32 cls)
 
virtual void syncSoundSettings ()
 
virtual void applyGameSettings ()
 
virtual void flipMute ()
 
virtual Common::String getSaveStateName (int slot) const
 
virtual Common::Error loadGameState (int slot)
 
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 
void setGameToLoadSlot (int slot)
 
virtual bool canLoadGameStateCurrently (Common::U32String *msg=nullptr)
 
virtual Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false)
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 
virtual bool canSaveGameStateCurrently (Common::U32String *msg=nullptr)
 
bool saveGameDialog ()
 
bool loadGameDialog ()
 

Public Attributes

int32 _screenWidth
 
int32 _screenHeight
 
int32 _screenSize
 
int _gameType
 
Gfx_gfx
 
Disk_disk
 
Input_input
 
SaveLoad_saveLoad
 
MenuInputHelper_menuHelper
 
Common::RandomSource _rnd
 
SoundMan_soundMan
 
Font_labelFont
 
Font_menuFont
 
Font_introFont
 
Font_dialogueFont
 
Table_globalFlagsNames
 
Table_objectsNames
 
GfxObj_objects
 
Table_callableNames
 
Table_localFlagNames
 
CommandExec_cmdExec
 
ProgramExec_programExec
 
BalloonManager_balloonMan
 
DialogueManager * _dialogueMan
 
InventoryRenderer_inventoryRenderer
 
Inventory_inventory
 
Character _char
 
uint32 _localFlags [120]
 
char _locationNames [120][32]
 
int16 _currentLocationIndex
 
uint16 _numLocations
 
Location _location
 
ZonePtr _activeZone
 
char _characterName1 [50]
 
ZonePtr _zoneTrap
 
ZonePtr _commentZone
 
Common::String _newLocationName
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Protected Member Functions

bool detectGame ()
 
void runGame ()
 
void runGameFrame (int event)
 
void runGuiFrame ()
 
void cleanupGui ()
 
void runDialogueFrame ()
 
void exitDialogueMode ()
 
void runCommentFrame ()
 
void enterCommentMode (ZonePtr z)
 
void exitCommentMode ()
 
void updateView ()
 
void drawAnimation (AnimationPtr anim)
 
void drawZone (ZonePtr zone)
 
void updateZones ()
 
void doLocationEnterTransition ()
 
void allocateLocationSlot (const char *name)
 
void finalizeLocationParsing ()
 
void showLocationComment (const Common::String &text, bool end)
 
void destroyDialogueManager ()
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
void defaultSyncSoundSettings ()
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride
}
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 
static bool shouldQuit ()
 
static bool warnUserAboutUnsupportedGame (Common::String msg=Common::String())
 
static void errorUnsupportedGame (Common::String extraMsg)
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 
int32 _activeEnhancements = kEnhGameBreakingBugFixes
 

Member Function Documentation

◆ run()

Common::Error Parallaction::Parallaction::run ( )
inlineoverridevirtual

Initialize the engine and start its main loop.

Returns
kNoError on success, otherwise an error code.

Implements Engine.

◆ hasFeature()

bool Parallaction::Parallaction::hasFeature ( EngineFeature  f) const
overridevirtual

Determine whether the engine supports the specified feature.

Reimplemented from Engine.

◆ pauseEngineIntern()

void Parallaction::Parallaction::pauseEngineIntern ( bool  pause)
overridevirtual

Actual implementation of pauseEngine by subclasses.

See also
Engine::pauseEngine

Reimplemented from Engine.


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