Typedefs | |
| typedef Common::HashMap< uint16, Object * > | ObjectMap |
| typedef Common::Array< Object * > | ObjectArray |
| typedef Common::HashMap< uint16, Area * > | AreaMap |
| typedef Common::Array< byte * > | ColorMap |
| typedef Common::HashMap< uint16, int32 > | StateVars |
| typedef Common::HashMap< int, int > | ColorReMap |
| typedef Common::Array< FCLInstruction > | FCLInstructionVector |
| typedef Common::Array< ZxTapeFile > | ZxTapeFileList |
Functions | |
| bool | isEncodedCPCDirectColor (uint8 index) |
| uint8 | encodeCPCDirectColor (uint8 index) |
| uint8 | decodeCPCDirectColor (uint8 index) |
| Common::String | shiftStr (const Common::String &str, int shift) |
| Common::String | centerAndPadString (const Common::String &str, int size) |
| Graphics::ManagedSurface * | readCPCImage (Common::SeekableReadStream *file, bool mode1) |
| Sound * | createCastleC64Sound (Audio::Mixer *mixer, const Common::Array< byte > &data) |
| void | enableCastleC64Sound (Sound *sound, bool enabled) |
| void | updateCastleC64GhostSound (Sound *sound, bool active) |
| const Graphics::PixelFormat | getRGBAPixelFormat () |
| byte | getCPCPixelMode1 (byte cpc_byte, int index) |
| byte | getCPCPixelMode0 (byte cpc_byte, int index) |
| byte | getCPCPixel (byte cpc_byte, int index, bool mode1) |
| Graphics::RendererType | determinateRenderType () |
| Renderer * | CreateGfxOpenGL (int screenW, int screenH, Common::RenderMode renderMode, bool authenticGraphics) |
| Renderer * | CreateGfxOpenGLShader (int screenW, int screenH, Common::RenderMode renderMode, bool authenticGraphics) |
| Renderer * | CreateGfxTinyGL (int screenW, int screenH, Common::RenderMode renderMode) |
| Renderer * | createRenderer (int screenW, int screenH, Common::RenderMode renderMode, bool authenticGraphics) |
| Common::String | detokeniseFreescapeCondition (const Common::Array< uint16 > &tokenisedCondition, FCLInstructionVector &instructions, bool isAmigaAtari) |
| Common::String | detokeniseKit8Condition (const Common::Array< byte > &tokenisedCondition, FCLInstructionVector &instructions) |
| Common::String | detokeniseKit16Condition (const Common::Array< byte > &tokenisedCondition, FCLInstructionVector &instructions) |
| void | normaliseKitOperands (FCLInstruction &instruction) |
| template<uint N> | |
| const FCLOpcode * | findFCLOpcode (const FCLOpcode(&opcodes)[N], byte opcode) |
| FCLInstructionVector * | duplicateCondition (const FCLInstructionVector *condition) |
| Sound * | createKitAdLibSound (Audio::Mixer *mixer, const Common::Array< byte > &data) |
| Math::AABB | createPlayerAABB (Math::Vector3d const position, int playerHeight, float reductionHeight=0.0f) |
| float | sweepAABB (Math::AABB const &a, Math::AABB const &b, Math::Vector3d const &direction, Math::Vector3d &normal) |
| Audio::AudioStream * | makeWallyBebenStream (const byte *data, uint32 dataSize, int songNum=1, int rate=44100, bool stereo=true, const WBTableOffsets *offsets=nullptr) |
| MusicPlayer * | makeWallyBebenAtariPlayer (const byte *data, uint32 dataSize, const WBAtariTableOffsets &offsets, int songNum=1) |
| bool | extractZxSpectrumTapeFiles (Common::SeekableReadStream &stream, const char *prefix, ZxTapeFileList &files) |
| bool | matchZxSpectrumTapeFiles (const ZxTapeFileList &files, const ADGameDescription &desc, uint md5Bytes=5000) |
| Common::Archive * | makeZxSpectrumTapeArchive (const ADGameDescription &desc, const Common::Path &gamePath) |
Variables | |
| byte | kEGADefaultPalette [16][3] |
| byte | kCGAPaletteRedGreen [4][3] |
| byte | kCGAPalettePinkBlue [4][3] |
| byte | kCGAPalettePinkBlueBright [4][3] |
| byte | kCGAPaletteRedGreenBright [4][3] |
| byte | kHerculesPaletteGreen [2][3] |
| FreescapeEngine * | g_freescape |
| Debugger * | g_debugger |
| const uint8_t | frq_lo [96] |
| const uint8_t | frq_hi [96] |
| const uint8_t | instrumentDataA0 [] |
| const uint8_t | instrumentDataA1 [] |
| const int | NUM_INSTRUMENTS |
| const uint8_t | arpeggio_data [] |
| const uint8_t *const | pattern_addresses [] |
| const int | NUM_PATTERNS |
| const uint8_t | tune_tempo_data [] |
| const uint8_t *const | tune_track_data [][3] |
| const int | NUM_TUNES |
| const uint8_t | initialSomethingData [][3] |
| const uint8_t | initialInstrumentIndex [] |
| const uint8_t | initialSomethingElseData [][3] |
| const uint8_t | initialCtrl0 [] |
| const uint8_t | initialPwDirection [] |
| const uint8_t | initialStuffData [][7] |
| const uint8_t | initialThingsData [][7] |
| const uint8_t | initialTwoCtr [] |
| uint8 | k8bitVariableShield |
| const WBAtariTableOffsets | kEclipseAtariOffsets |
| const WBAtariTableOffsets | kDarkSideAtariOffsets |
Shared music data for Castle Master backported music players.
Song data extracted from the default subtune in the C64 PSID. The order lists are expanded from the original repeat commands, while the pattern data remains in the original note/rest/instrument command format.
Dark Side song data, extracted from the C64 build (darkside.prg, load address $0400). Shared by the SID player and the AdLib rendition; the patterns are byte-identical to the ones in the Atari ST and Amiga modules.
Shared music data for Total Eclipse backported music players.
Song data extracted from the C64 version's Wally Beben music engine. The shared instrument table strips SID-only pulse-width fields, but the original pulse-width values are kept below for ports that can use them. This header is included by both the AY and OPL player implementations.
| Audio::AudioStream* Freescape::makeWallyBebenStream | ( | const byte * | data, |
| uint32 | dataSize, | ||
| int | songNum = 1, |
||
| int | rate = 44100, |
||
| bool | stereo = true, |
||
| const WBTableOffsets * | offsets = nullptr |
||
| ) |
Create a music stream for the Wally Beben custom music engine used in the Amiga versions of Dark Side and Total Eclipse.
| data | Raw TEXT segment data (after 0x1C GEMDOS header) |
| dataSize | Size of the TEXT segment |
| songNum | Song number to play (1 or 2) |
| rate | Output sample rate |
| stereo | Whether to produce stereo output |
| offsets | Table offsets (nullptr = Dark Side defaults) |
| MusicPlayer* Freescape::makeWallyBebenAtariPlayer | ( | const byte * | data, |
| uint32 | dataSize, | ||
| const WBAtariTableOffsets & | offsets, | ||
| int | songNum = 1 |
||
| ) |
Create a player for the Atari ST music engine used by Total Eclipse (TEMUSIC.ST) and Dark Side (DSMUSIC2.ST).
| data | Raw TEXT segment data, after the 0x1C GEMDOS header |
| offsets | Table offsets for this release |
| songNum | Song number to play (1 or 2) |