|
| CastleEngine (OSystem *syst, const ADGameDescription *gd) |
|
void | initKeymaps (Common::Keymap *engineKeyMap, Common::Keymap *infoScreenKeyMap, const char *target) override |
|
void | initGameState () override |
|
void | endGame () override |
|
void | drawInfoMenu () override |
|
void | loadAssets () override |
|
void | loadAssetsDOSFullGame () override |
|
void | loadAssetsDOSDemo () override |
|
void | loadAssetsAmigaDemo () override |
|
void | loadAssetsZXFullGame () override |
|
void | loadAssetsCPCFullGame () override |
|
void | borderScreen () override |
|
void | selectCharacterScreen () |
|
void | drawOption () |
|
void | initZX () |
|
void | initDOS () |
|
void | initCPC () |
|
void | drawDOSUI (Graphics::Surface *surface) override |
|
void | drawZXUI (Graphics::Surface *surface) override |
|
void | drawCPCUI (Graphics::Surface *surface) override |
|
void | drawAmigaAtariSTUI (Graphics::Surface *surface) override |
|
void | drawEnergyMeter (Graphics::Surface *surface, Common::Point origin) |
|
void | pressedKey (const int keycode) override |
|
void | checkSensors () override |
|
void | updateTimeVariables () override |
|
bool | checkIfGameEnded () override |
|
void | drawSensorShoot (Sensor *sensor) override |
|
void | executePrint (FCLInstruction &instruction) override |
|
void | executeDestroy (FCLInstruction &instruction) override |
|
void | executeRedraw (FCLInstruction &instruction) override |
|
void | gotoArea (uint16 areaID, int entranceID) override |
|
Common::Error | saveGameStreamExtended (Common::WriteStream *stream, bool isAutosave=false) override |
|
Common::Error | loadGameStreamExtended (Common::SeekableReadStream *stream) override |
|
void | drawRiddleStringInSurface (const Common::String &str, int x, int y, uint32 fontColor, uint32 backColor, Graphics::Surface *surface) |
|
Graphics::ManagedSurface * | loadFrameWithHeaderDOS (Common::SeekableReadStream *file) |
|
Common::Array< Graphics::ManagedSurface * > | loadFramesWithHeaderDOS (Common::SeekableReadStream *file, int numFrames) |
|
Common::Array< Graphics::ManagedSurface * > | loadFramesWithHeader (Common::SeekableReadStream *file, int pos, int numFrames, uint32 front, uint32 back) |
|
Graphics::ManagedSurface * | loadFrameWithHeader (Common::SeekableReadStream *file, int pos, uint32 front, uint32 back) |
|
Graphics::ManagedSurface * | loadFrame (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int width, int height, uint32 back) |
|
Graphics::ManagedSurface * | loadFrameFromPlanes (Common::SeekableReadStream *file, int widthInBytes, int height) |
|
Graphics::ManagedSurface * | loadFrameFromPlanesInternal (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int width, int height) |
|
Graphics::ManagedSurface * | loadFrameFromPlanesVertical (Common::SeekableReadStream *file, int widthInBytes, int height) |
|
Graphics::ManagedSurface * | loadFrameFromPlanesInternalVertical (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int width, int height, int plane) |
|
| FreescapeEngine (OSystem *syst, const ADGameDescription *gd) |
|
bool | isDemo () const |
|
bool | isSpaceStationOblivion () |
|
bool | isDriller () |
|
bool | isDark () |
|
bool | isEclipse () |
|
bool | isEclipse2 () |
|
bool | isCastle () |
|
bool | isAmiga () |
|
bool | isAtariST () |
|
bool | isDOS () |
|
bool | isSpectrum () |
|
bool | isCPC () |
|
bool | isC64 () |
|
Common::Error | run () override |
|
void | centerCrossair () |
|
virtual void | titleScreen () |
|
void | drawFullscreenSurface (Graphics::Surface *surface) |
|
virtual void | loadBorder () |
|
virtual void | processBorder () |
|
void | waitInLoop (int maxWait) |
|
void | drawBorder () |
|
void | drawTitle () |
|
virtual void | drawBackground () |
|
void | clearBackground () |
|
virtual void | drawUI () |
|
void | drawBorderScreenAndWait (Graphics::Surface *surface, int maxWait=INT_MAX) |
|
virtual void | drawCrossair (Graphics::Surface *surface) |
|
virtual void | loadAssetsDemo () |
|
virtual void | loadAssetsFullGame () |
|
virtual void | loadAssetsAtariFullGame () |
|
virtual void | loadAssetsAtariDemo () |
|
virtual void | loadAssetsAmigaFullGame () |
|
virtual void | loadAssetsZXDemo () |
|
virtual void | loadAssetsCPCDemo () |
|
virtual void | loadAssetsC64FullGame () |
|
virtual void | loadAssetsC64Demo () |
|
virtual void | drawC64UI (Graphics::Surface *surface) |
|
void | loadDataBundle () |
|
Graphics::Surface * | loadBundledImage (const Common::String &name, bool appendRenderMode=true) |
|
byte * | getPaletteFromNeoImage (Common::SeekableReadStream *stream, int offset) |
|
Graphics::ManagedSurface * | loadAndConvertNeoImage (Common::SeekableReadStream *stream, int offset, byte *palette=nullptr) |
|
Graphics::ManagedSurface * | loadAndConvertScrImage (Common::SeekableReadStream *stream) |
|
Graphics::ManagedSurface * | loadAndConvertDoodleImage (Common::SeekableReadStream *bitmap, Common::SeekableReadStream *color1, Common::SeekableReadStream *color2, byte *palette) |
|
void | loadPalettes (Common::SeekableReadStream *file, int offset) |
|
byte * | loadPalette (Common::SeekableReadStream *file) |
|
void | swapPalette (uint16 areaID) |
|
virtual byte * | findCGAPalette (uint16 levelID) |
|
void | loadColorPalette () |
|
void | loadDemoData (Common::SeekableReadStream *file, int offset, int size) |
|
int | decodeAmigaAtariKey (int code) |
|
int | decodeDOSKey (int code) |
|
Common::Event | decodeDOSMouseEvent (int code, int repetition) |
|
uint16 | readField (Common::SeekableReadStream *file, int nbits) |
|
uint16 | readPtr (Common::SeekableReadStream *file) |
|
Common::Array< uint16 > | readArray (Common::SeekableReadStream *file, int size) |
|
void | load8bitBinary (Common::SeekableReadStream *file, int offset, int ncolors) |
|
Area * | load8bitArea (Common::SeekableReadStream *file, uint16 ncolors) |
|
Object * | load8bitObject (Common::SeekableReadStream *file) |
|
Group * | load8bitGroup (Common::SeekableReadStream *file, byte rawFlagsAndType) |
|
Group * | load8bitGroupV1 (Common::SeekableReadStream *file, byte rawFlagsAndType) |
|
Group * | load8bitGroupV2 (Common::SeekableReadStream *file, byte rawFlagsAndType) |
|
void | loadGlobalObjects (Common::SeekableReadStream *file, int offset, int size) |
|
void | renderPixels8bitBinImage (Graphics::ManagedSurface *surface, int row, int column, int bit, int count) |
|
void | renderPixels8bitBinCGAImage (Graphics::ManagedSurface *surface, int &i, int &j, uint8 pixels, int color) |
|
void | renderPixels8bitBinEGAImage (Graphics::ManagedSurface *surface, int &i, int &j, uint8 pixels, int color) |
|
Graphics::ManagedSurface * | load8bitBinImage (Common::SeekableReadStream *file, int offset) |
|
void | load8bitBinImageRow (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int row) |
|
void | load8bitBinImageRowIteration (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int row, int bit) |
|
int | execute8bitBinImageCommand (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int row, int pixels, int bit) |
|
int | execute8bitBinImageSingleCommand (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int row, int pixels, int bit, int count) |
|
int | execute8bitBinImageMultiCommand (Common::SeekableReadStream *file, Graphics::ManagedSurface *surface, int row, int pixels, int bit, int count) |
|
void | parseAmigaAtariHeader (Common::SeekableReadStream *file) |
|
Common::SeekableReadStream * | decryptFileAmigaAtari (const Common::Path &packed, const Common::Path &unpacker, uint32 unpackArrayOffset) |
|
void | processInput () |
|
void | resetInput () |
|
void | stopMovement () |
|
void | generateDemoInput () |
|
virtual void | releasedKey (const int keycode) |
|
Common::Point | getNormalizedPosition (Common::Point position) |
|
virtual bool | onScreenControls (Common::Point mouse) |
|
void | updatePlayerMovement (float deltaTime) |
|
void | updatePlayerMovementSmooth (float deltaTime) |
|
void | updatePlayerMovementClassic (float deltaTime) |
|
void | resolveCollisions (Math::Vector3d newPosition) |
|
virtual void | checkIfStillInArea () |
|
void | changePlayerHeight (int index) |
|
void | increaseStepSize () |
|
void | decreaseStepSize () |
|
void | changeStepSize () |
|
void | changeAngle (int offset, bool wrapAround) |
|
bool | rise () |
|
void | lower () |
|
bool | checkFloor (Math::Vector3d currentPosition) |
|
bool | tryStepUp (Math::Vector3d currentPosition) |
|
bool | tryStepDown (Math::Vector3d currentPosition) |
|
void | rotate (float xoffset, float yoffset, float zoffset) |
|
void | activate () |
|
void | shoot () |
|
void | traverseEntrance (uint16 entranceID) |
|
Math::Vector3d | directionToVector (float pitch, float heading, bool useTable) |
|
void | updateCamera () |
|
Common::Point | crossairPosToMousePos (const Common::Point &crossairPos) |
|
Common::Point | mousePosToCrossairPos (const Common::Point &mousePos) |
|
void | warpMouseToCrossair (void) |
|
bool | runCollisionConditions (Math::Vector3d const lastPosition, Math::Vector3d const newPosition) |
|
virtual void | executeMovementConditions () |
|
bool | executeObjectConditions (GeometricObject *obj, bool shot, bool collided, bool activated) |
|
void | executeEntranceConditions (Entrance *entrance) |
|
void | executeLocalGlobalConditions (bool shot, bool collided, bool timer) |
|
bool | executeCode (FCLInstructionVector &code, bool shot, bool collided, bool timer, bool activated) |
|
bool | checkConditional (FCLInstruction &instruction, bool shot, bool collided, bool timer, bool activated) |
|
bool | checkIfGreaterOrEqual (FCLInstruction &instruction) |
|
bool | checkIfLessOrEqual (FCLInstruction &instruction) |
|
void | executeExecute (FCLInstruction &instruction, bool shot, bool collided, bool activated) |
|
void | executeIncrementVariable (FCLInstruction &instruction) |
|
void | executeDecrementVariable (FCLInstruction &instruction) |
|
void | executeSetVariable (FCLInstruction &instruction) |
|
void | executeGoto (FCLInstruction &instruction) |
|
void | executeIfThenElse (FCLInstruction &instruction) |
|
virtual void | executeMakeInvisible (FCLInstruction &instruction) |
|
void | executeMakeVisible (FCLInstruction &instruction) |
|
void | executeToggleVisibility (FCLInstruction &instruction) |
|
void | executeSound (FCLInstruction &instruction) |
|
void | executeDelay (FCLInstruction &instruction) |
|
bool | executeEndIfNotEqual (FCLInstruction &instruction) |
|
void | executeSetBit (FCLInstruction &instruction) |
|
void | executeClearBit (FCLInstruction &instruction) |
|
void | executeToggleBit (FCLInstruction &instruction) |
|
bool | executeEndIfBitNotEqual (FCLInstruction &instruction) |
|
bool | executeEndIfVisibilityIsEqual (FCLInstruction &instruction) |
|
void | executeSwapJet (FCLInstruction &instruction) |
|
void | executeSPFX (FCLInstruction &instruction) |
|
void | executeStartAnim (FCLInstruction &instruction) |
|
void | waitForSounds () |
|
void | stopAllSounds (Audio::SoundHandle &handle) |
|
bool | isPlayingSound () |
|
void | playSound (int index, bool sync, Audio::SoundHandle &handle) |
|
void | playWav (const Common::Path &filename) |
|
void | playMusic (const Common::Path &filename) |
|
void | queueSoundConst (double hzFreq, int duration) |
|
void | playSilence (int duration, bool sync) |
|
void | playSoundConst (double hzFreq, int duration, bool sync) |
|
void | playSoundSweepIncWL (double hzFreq1, double hzFreq2, double wlStepPerMS, int resolution, bool sync) |
|
uint16 | playSoundDOSSpeaker (uint16 startFrequency, soundSpeakerFx *speakerFxInfo) |
|
void | playSoundDOS (soundSpeakerFx *speakerFxInfo, bool sync, Audio::SoundHandle &handle) |
|
virtual void | playSoundFx (int index, bool sync) |
|
virtual void | loadSoundsFx (Common::SeekableReadStream *file, int offset, int number) |
|
void | loadSpeakerFxDOS (Common::SeekableReadStream *file, int offsetFreq, int offsetDuration) |
|
void | loadSpeakerFxZX (Common::SeekableReadStream *file, int sfxTable, int sfxData) |
|
void | playSoundZX (Common::Array< soundUnitZX > *data, Audio::SoundHandle &handle) |
|
void | drawFrame () |
|
void | flashScreen (int backgroundColor) |
|
void | insertTemporaryMessage (const Common::String &message, int deadline) |
|
void | getLatestMessages (Common::String &message, int &deadline) |
|
void | clearTemporalMessages () |
|
void | loadMessagesFixedSize (Common::SeekableReadStream *file, int offset, int size, int number) |
|
virtual void | loadMessagesVariableSize (Common::SeekableReadStream *file, int offset, int number) |
|
void | drawFullscreenMessageAndWait (Common::String message) |
|
void | drawFullscreenMessage (Common::String message, uint32 front, Graphics::Surface *surface) |
|
void | loadFonts (Common::SeekableReadStream *file, int offset) |
|
void | loadFonts (byte *font, int charNumber) |
|
Common::Array< Graphics::ManagedSurface * > | getChars (Common::SeekableReadStream *file, int offset, int charsNumber) |
|
Common::Array< Graphics::ManagedSurface * > | getCharsAmigaAtariInternal (int sizeX, int sizeY, int additional, int m1, int m2, Common::SeekableReadStream *file, int offset, int charsNumber) |
|
Common::Array< Graphics::ManagedSurface * > | getCharsAmigaAtari (Common::SeekableReadStream *file, int offset, int charsNumber) |
|
virtual void | drawStringInSurface (const Common::String &str, int x, int y, uint32 fontColor, uint32 backColor, Graphics::Surface *surface, int offset=0) |
|
virtual void | drawStringInSurface (const Common::String &str, int x, int y, uint32 primaryFontColor, uint32 secondaryFontColor, uint32 backColor, Graphics::Surface *surface, int offset=0) |
|
Graphics::Surface * | drawStringsInSurface (const Common::Array< Common::String > &lines, Graphics::Surface *surface) |
|
void | setGameBit (int index) |
|
void | clearGameBit (int index) |
|
void | toggleGameBit (int index) |
|
uint16 | getGameBit (int index) |
|
void | checkIfPlayerWasCrushed () |
|
void | takeDamageFromSensor () |
|
bool | hasFeature (EngineFeature f) const override |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
bool | canSaveAutosaveCurrently () override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
Common::Error | loadGameStream (Common::SeekableReadStream *stream) override |
|
Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) override |
|
void | pauseEngineIntern (bool pause) override |
|
bool | startCountdown (uint32 delay) |
|
void | removeTimers () |
|
void | getTimeFromCountdown (int &seconds, int &minutes, int &hours) |
|
byte * | decompressC64RLE (byte *buffer, int *size, byte marker) |
|
MetaEngine * | getMetaEngine () const |
|
void | setMetaEngine (MetaEngine *metaEngine) |
|
PauseToken | pauseEngine () |
|
bool | isPaused () const |
|
void | openMainMenuDialog () |
|
uint32 | getTotalPlayTime () const |
|
void | setTotalPlayTime (uint32 time=0) |
|
Common::TimerManager * | getTimerManager () |
|
Common::EventManager * | getEventManager () |
|
Common::SaveFileManager * | getSaveFileManager () |
|
bool | existExtractedCDAudioFiles (uint track=1) |
|
bool | isDataAndCDAudioReadFromSameCD () |
|
void | warnMissingExtractedCDAudio () |
|
void | handleAutoSave () |
|
void | saveAutosaveIfEnabled () |
|
virtual int | getAutosaveSlot () const |
|
virtual bool | gameTypeHasAddOns () const |
|
virtual bool | dirCanBeGameAddOn (const Common::FSDirectory &dir) const |
|
virtual bool | dirMustBeGameAddOn (const Common::FSDirectory &dir) const |
|
Common::ErrorCode | updateAddOns (const MetaEngine *metaEngine) 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::Debugger * | getDebugger () final |
|
void | setDebugger (GUI::Debugger *debugger) |
|
GUI::Debugger * | getOrCreateDebugger () |
|
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) |
|
void | setGameToLoadSlot (int slot) |
|
virtual Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) |
|
bool | saveGameDialog () |
|
bool | loadGameDialog () |
|