xoreos
0.0.5
|
Namespaces | |
ActionScript | |
GFF4FieldNamesEnum | |
Lua | |
NWScript | |
Classes | |
class | Archive |
An abstract file archive. More... | |
class | AuroraFile |
Base class for most files found in games using BioWare's Aurora engine. More... | |
class | BIFFile |
Class to hold resource data information of a BIF file. More... | |
class | BZFFile |
Class to hold resource data information of a BZF file. More... | |
class | CDPTH |
Loader for CDPTH, BioWare's Compressed DePTH, into a linear array of uint16 values. More... | |
class | DLGFile |
class | ERFFile |
Class to hold resource data of an ERF archive file. More... | |
class | ERFWriter |
class | FEVFile |
An FEV file is used to define events for the FMOD system and categorize them. More... | |
class | FileTypeManager |
class | GDAFile |
Class to hold the GFF'd two-dimensional array of a GDA file. More... | |
class | GFF3File |
A GFF (generic file format) V3.2/V3.3 file, found in all Aurora games except Sonic Chronicles: The Dark Brotherhood. More... | |
class | GFF3Struct |
A struct within a GFF3. More... | |
class | GFF3Writer |
class | GFF3WriterList |
A GFF3 list containing GFF3 structs. More... | |
class | GFF3WriterStruct |
A GFF3 struct containing GFF3 fields. More... | |
class | GFF4File |
A GFF (generic file format) V4.0/V4.1 file, found in Dragon Age: Origins, Dragon Age 2 and Sonic Chronicles: The Dark Brotherhood. More... | |
class | GFF4Struct |
class | GFXCharacter |
Element placeable in the current scene. More... | |
class | GFXControl |
A control tag is used for controlling stuff in the scene, like placing or removing objects, and stopping at every frame. More... | |
class | GFXFile |
Class for parsing gfx files. More... | |
class | HERFFile |
Class to hold resource data of an HERF archive file. More... | |
class | IFOFile |
An IFO (module information) file, describing global module properties in many Aurora games. More... | |
class | KEYDataFile |
class | KEYFile |
Class to hold resource index information of a KEY file. More... | |
class | LanguageManager |
The global language manager. More... | |
struct | LanguageStrings |
class | LocString |
A localized string. More... | |
class | LTRFile |
LTR File, which is used when generating player names. More... | |
class | LYTFile |
An LYT, BioWare's Layout Format. More... | |
class | NDSFile |
A class encapsulating Nintendo DS ROM access. More... | |
class | NFOFile |
class | NitroFile |
class | NSBTXFile |
class | OBBFile |
Class to hold resource data of an OBB virtual filesystem. More... | |
class | PEFile |
A class encapsulating PE exe's for resource archive access. More... | |
struct | ReadContext |
class | ResourceManager |
A resource manager holding information about and handling all request for all resources usable by the game. More... | |
class | RIMFile |
Class to hold resource data of a RIM archive file. More... | |
class | SACFile |
A SAC file is basically a GFF3 file with some bytes extra header. More... | |
class | Small |
class | SSFFile |
Class to hold a sound set. More... | |
class | TalkManager |
The global Aurora talk manager, holding the current talk tables. More... | |
class | TalkTable |
Base class for BioWare's talk tables. More... | |
class | TalkTable_GFF |
Loading BioWare's GFF'd talk tables. More... | |
class | TalkTable_TLK |
Loading BioWare's TLK talk tables. More... | |
class | TextureAtlasFile |
class | TheWitcherSaveFile |
Class for reading and managing TheWitcherSave files. More... | |
class | TheWitcherSaveWriter |
class | TwoDAFile |
Class to hold the two-dimensional array of a 2DA file. More... | |
class | TwoDARegistry |
The global 2DA registry, holding all current 2DAs. More... | |
class | TwoDARow |
A row within a 2DA file. More... | |
class | VISFile |
A VIS, BioWare's Visibility Format. More... | |
class | ZIPFile |
A class encapsulating ZIP files for resource archive access. More... | |
Typedefs | |
typedef Common::PtrVector< Common::SeekableReadStream > | Cells |
typedef Common::BinSearchValue< uint32, const char * > | GDAHeaderHash |
typedef boost::shared_ptr< GFF3WriterStruct > | GFF3WriterStructPtr |
typedef boost::shared_ptr< GFF3WriterList > | GFF3WriterListPtr |
typedef std::vector< const GFF3Struct * > | GFF3List |
typedef std::vector< const GFF4Struct * > | GFF4List |
Functions | |
static void | loadCDPTH (ReadContext &ctx) |
static void | readCells (ReadContext &ctx) |
static void | checkConsistency (ReadContext &ctx) |
static void | createDepth (ReadContext &ctx) |
const char * | findGDAHeader (uint32 hash) |
static bool | isBigEndian (Common::SeekableReadStream &stream) |
static void | readSmallHeader (Common::ReadStream &small, uint32 &type, uint32 &size) |
static void | writeSmallHeader (Common::WriteStream &small, uint32 type, uint32 size) |
static void | decompress00 (Common::ReadStream &small, Common::WriteStream &out, uint32 size) |
static void | compress00 (Common::ReadStream &in, Common::WriteStream &small, uint32 size) |
static void | decompress10 (Common::ReadStream &small, Common::WriteStream &out, uint32 size) |
size_t | getOccurrenceLength (const byte *newPtr, size_t newLength, const byte *oldPtr, size_t oldLength, size_t &displacement, size_t minDisplacement=1) |
Determine the maximum size of an LZSS-compressed block. More... | |
static void | compress10 (Common::ReadStream &in, Common::WriteStream &small, uint32 size) |
static void | decompress (Common::ReadStream &small, Common::WriteStream &out, uint32 type, uint32 size) |
static TalkTable * | loadTable (const Common::UString &name, Common::Encoding encoding) |
static void | loadTables (const Common::UString &nameM, const Common::UString &nameF, TalkTable *&tableM, TalkTable *&tableF, Common::Encoding encoding) |
Common::UString | getPlatformDescription (Platform platform) |
Return the human readable string of a Platform. More... | |
Variables | |
static const Common::UString | kEmpty |
static const size_t | kNWNPremiumKeyLength = 56 |
static const byte | kNWNPremiumKeys [][kNWNPremiumKeyLength] |
static const uint32 | kVersion10 = MKTAG('V', '1', '.', '0') |
static const uint32 | kFEVID = MKTAG('F', 'E', 'V', '1') |
static const GDAHeaderHash | kGDAHeaderHashes [] |
All currently known GDA column header strings, together with their CRC32 hashes. More... | |
static const uint32 | kCFXID = MKTAG('C', 'F', 'X', 0x08) |
static const char *const | kLanguageNames [] |
static const LanguageStrings | kLanguageStrings [] |
static const Common::UString | kEmpty |
static const Common::UString | kEmptyString = "" |
static const Common::UString | kEmptyString = "" |
static const Common::UString | kEmptyString = "" |
static const uint32 | kRGMHID = MKTAG('R', 'G', 'M', 'H') |
static const uint32 | kRGMHID = MKTAG('R', 'G', 'M', 'H') |
static const uint32 | kObjectIDInvalid = 0xFFFFFFFF |
static const uint32 | kFieldIDInvalid = 0xFFFFFFFF |
static const uint32 | kStrRefInvalid = 0xFFFFFFFF |
static const std::vector< Common::UString > | emptyRoom |
typedef Common::BinSearchValue<uint32, const char *> Aurora::GDAHeaderHash |
Definition at line 32 of file gdaheaders.cpp.
typedef std::vector<const GFF3Struct *> Aurora::GFF3List |
typedef boost::shared_ptr<GFF3WriterList> Aurora::GFF3WriterListPtr |
Definition at line 44 of file gff3writer.h.
typedef boost::shared_ptr<GFF3WriterStruct> Aurora::GFF3WriterStructPtr |
Definition at line 41 of file gff3writer.h.
typedef std::vector<const GFF4Struct *> Aurora::GFF4List |
enum Aurora::ArchiveType |
enum Aurora::FileType |
Various file types used by the Aurora engine and found in archives.
Many archive formats used by the Aurora engine games do not contain full filenames for the files contained within. Instead, they only provide the stem of the filename, i.e. the file name without the file extension. Additionally, they contain a type ID, which maps to the enum values below.
Please note, however, that all IDs >= 19000 aren't found in such archives. These are arbitrary numbers for files that are only found as plain files in the file system, or inside archives that do not use numerical type IDs. Should such a file ever be found in an archive with a type ID, this dummy entry in the block of IDs >= 19000 needs to be deleted, and a real entry with the correct ID should be added instead.
If there's a collision between types, if one game re-uses a type ID for a different file type, the new ID needs to be added to the block of IDs >= 19000. Then, during initializing of this game, the method ResourceManager::addTypeAlias() can be used to overlay the new, conflicting type onto the old type ID, thus resolving the conflict.
Enumerator | |
---|---|
kFileTypeNone | |
kFileTypeRES | Generic GFF. |
kFileTypeBMP | Image, Windows bitmap. |
kFileTypeMVE | Video, Infinity Engine. |
kFileTypeTGA | Image, Truevision TARGA image. |
kFileTypeWAV | Audio, Waveform. |
kFileTypePLT | Packed layer texture. |
kFileTypeINI | Configuration, Windows INI. |
kFileTypeBMU | Audio, MP3 with extra header. |
kFileTypeMPG | Video, MPEG. |
kFileTypeTXT | Text, raw. |
kFileTypeWMA | Audio, Windows media. |
kFileTypeWMV | Video, Windows media. |
kFileTypeXMV | Video, Xbox. |
kFileTypePLH | |
kFileTypeTEX | Texture. |
kFileTypeMDL | Geometry, BioWare model. |
kFileTypeTHG | |
kFileTypeFNT | Font. |
kFileTypeLUA | Script, LUA source. |
kFileTypeSLT | |
kFileTypeNSS | Script, NWScript source. |
kFileTypeNCS | Script, NWScript bytecode. |
kFileTypeMOD | Module, ERF. |
kFileTypeARE | Static area data, GFF. |
kFileTypeSET | Tileset. |
kFileTypeIFO | Module information, GFF. |
kFileTypeBIC | Character data, GFF. |
kFileTypeWOK | Walk mesh. |
kFileType2DA | Table data, 2-dimensional text array. |
kFileTypeTLK | Talk table. |
kFileTypeTXI | Texture information. |
kFileTypeGIT | Dynamic area data, GFF. |
kFileTypeBTI | Item template (BioWare), GFF. |
kFileTypeUTI | Item template (user), GFF. |
kFileTypeBTC | Creature template (BioWare), GFF. |
kFileTypeUTC | Creature template (user), GFF. |
kFileTypeDLG | Dialog tree, GFF. |
kFileTypeITP | Toolset "palette" (tree of tiles or object templates), GFF. |
kFileTypeBTT | Trigger template (BioWare), GFF. |
kFileTypeUTT | Trigger template (user), GFF. |
kFileTypeDDS | Texture, DirectDraw Surface. |
kFileTypeBTS | Sound template (BioWare), GFF. |
kFileTypeUTS | Sound template (user), GFF. |
kFileTypeLTR | Letter combo probability information. |
kFileTypeGFF | Generic GFF. |
kFileTypeFAC | Faction information, GFF. |
kFileTypeBTE | Encounter template (BioWare), GFF. |
kFileTypeUTE | Encounter template (user), GFF. |
kFileTypeBTD | Door template (BioWare), GFF. |
kFileTypeUTD | Door template (user), GFF. |
kFileTypeBTP | Placeable template (BioWare), GFF. |
kFileTypeUTP | Placeable template (user), GFF. |
kFileTypeDFT | Default values. |
kFileTypeDTF | Default value file, INI. |
kFileTypeGIC | Game instance comments, GFF. |
kFileTypeGUI | GUI definition, GFF. |
kFileTypeCSS | Script, conditional source script. |
kFileTypeCCS | Script, conditional compiled script. |
kFileTypeBTM | Store template (BioWare), GFF. |
kFileTypeUTM | Store template (user), GFF. |
kFileTypeDWK | Door walk mesh. |
kFileTypePWK | Placeable walk mesh. |
kFileTypeBTG | Random item generator template (BioWare), GFF. |
kFileTypeUTG | Random item generator template (user), GFF. |
kFileTypeJRL | Journal data, GFF. |
kFileTypeSAV | Game save, ERF. |
kFileTypeUTW | Waypoint template, GFF. |
kFileType4PC | Texture, custom 16-bit RGBA. |
kFileTypeSSF | Sound Set File. |
kFileTypeHAK | Resource hak pak, ERF. |
kFileTypeNWM | Neverwinter Nights original campaign module, ERF. |
kFileTypeBIK | Video, RAD Game Tools Bink. |
kFileTypeNDB | Script debugger file. |
kFileTypePTM | Plot instance/manager, GFF. |
kFileTypePTT | Plot wizard template, GFF. |
kFileTypeNCM | |
kFileTypeMFX | |
kFileTypeMAT | Material. |
kFileTypeMDB | Geometry, BioWare model. |
kFileTypeSAY | |
kFileTypeTTF | Font, True Type. |
kFileTypeTTC | |
kFileTypeCUT | Cutscene, GFF. |
kFileTypeKA | Karma, XML. |
kFileTypeJPG | Image, JPEG. |
kFileTypeICO | Icon, Windows ICO. |
kFileTypeOGG | Audio, Ogg Vorbis. |
kFileTypeSPT | Tree data SpeedTree. |
kFileTypeSPW | |
kFileTypeWFX | Woot effect class, XML. |
kFileTypeUGM | |
kFileTypeQDB | Quest database, GFF. |
kFileTypeQST | Quest, GFF. |
kFileTypeNPC | |
kFileTypeSPN | |
kFileTypeUTX | |
kFileTypeMMD | |
kFileTypeSMM | |
kFileTypeUTA | |
kFileTypeMDE | |
kFileTypeMDV | |
kFileTypeMDA | |
kFileTypeMBA | |
kFileTypeOCT | |
kFileTypeBFX | |
kFileTypePDB | |
kFileTypeTheWitcherSave | Game save in The Witcher. |
kFileTypePVS | |
kFileTypeCFX | |
kFileTypeLUC | Script, LUA bytecode. |
kFileTypePRB | |
kFileTypeCAM | Campaign information. |
kFileTypeVDS | |
kFileTypeBIN | |
kFileTypeWOB | |
kFileTypeAPI | |
kFileTypeProperties | |
kFileTypePNG | Image, Portable Network Graphics. |
kFileTypeLYT | Area data, room layout. |
kFileTypeVIS | Area data, room visibilities. |
kFileTypeRIM | Module resources, RIM. |
kFileTypePTH | Path finder data, GFF. |
kFileTypeLIP | Lipsync data. |
kFileTypeBWM | |
kFileTypeTXB | Texture. |
kFileTypeTPC | Texture. |
kFileTypeMDX | Geometry, model mesh data. |
kFileTypeRSV | |
kFileTypeSIG | |
kFileTypeMAB | Material, binary. |
kFileTypeQST2 | Quest, GFF. |
kFileTypeSTO | GFF. |
kFileTypeHEX | Hex grid file. |
kFileTypeMDX2 | Geometry, model mesh data. |
kFileTypeTXB2 | Texture. |
kFileTypeFSM | Finite State Machine data. |
kFileTypeART | Area environment settings, INI. |
kFileTypeAMP | Brightening control. |
kFileTypeCWA | Crowd attributes, GFF. |
kFileTypeBIP | Lipsync data, binary LIP. |
kFileTypeMDB2 | |
kFileTypeMDA2 | |
kFileTypeSPT2 | |
kFileTypeGR2 | |
kFileTypeFXA | |
kFileTypeFXE | |
kFileTypeJPG2 | |
kFileTypePWC | |
kFileType1DA | Table data, 1-dimensional text array. |
kFileTypeERF | Module resources. |
kFileTypeBIF | Game resource data. |
kFileTypeKEY | Game resource index. |
kFileTypeMAXArchive | The upper limit for numerical type IDs found in archives. |
kFileTypeEXE | Windows PE EXE file. |
kFileTypeDBF | xBase database. |
kFileTypeCDX | FoxPro database index. |
kFileTypeFPT | FoxPro database memo file. |
kFileTypeZIP | Face bone definitions, FaceFX Actor. |
kFileTypeFXM | Face metadata, FaceFX. |
kFileTypeFXS | Face metadata, FaceFX. |
kFileTypeXML | Extensible Markup Language. |
kFileTypeWLK | Walk mesh. |
kFileTypeUTR | Tree template (user), GFF. |
kFileTypeSEF | Special effect file. |
kFileTypePFX | Particle effect. |
kFileTypeTFX | Trail effect. |
kFileTypeIFX | |
kFileTypeLFX | Line effect. |
kFileTypeBBX | Billboard effect. |
kFileTypePFB | Prefab blueprint. |
kFileTypeUPE | |
kFileTypeUSC | |
kFileTypeULT | Light template (user), GFF. |
kFileTypeFX | |
kFileTypeMAX | |
kFileTypeDOC | |
kFileTypeSCC | |
kFileTypeWMP | World map, GFF. |
kFileTypeOSC | |
kFileTypeTRN | |
kFileTypeUEN | |
kFileTypeROS | |
kFileTypeRST | |
kFileTypePTX | |
kFileTypeLTX | |
kFileTypeTRX | |
kFileTypeNDS | Archive, Nintendo DS ROM file. |
kFileTypeHERF | Archive, hashed ERF. |
kFileTypeDICT | HERF file name -> hashes dictionary. |
kFileTypeSMALL | Compressed file, Nintendo LZSS. |
kFileTypeCBGT | |
kFileTypeCDPTH | |
kFileTypeEMIT | |
kFileTypeITM | Items, 2DA. |
kFileTypeNANR | Animation, Nitro ANimation Resource. |
kFileTypeNBFP | Palette, Nitro Basic File Palette. |
kFileTypeNBFS | Image, Map, Nitro Basic File Screen. |
kFileTypeNCER | Image, Nitro CEll Resource. |
kFileTypeNCGR | Image, Nitro Character Graphic Resource. |
kFileTypeNCLR | Palette, Nitro CoLoR. |
kFileTypeNFTR | Font. |
kFileTypeNSBCA | Model Animation. |
kFileTypeNSBMD | Model. |
kFileTypeNSBTA | Texture animation. |
kFileTypeNSBTP | Texture part. |
kFileTypeNSBTX | Texture. |
kFileTypePAL | Palette. |
kFileTypeRAW | Image, raw. |
kFileTypeSADL | |
kFileTypeSDAT | Audio, Sound DATa. |
kFileTypeSMP | |
kFileTypeSPL | Spells, 2DA. |
kFileTypeVX | Video, Actimagine. |
kFileTypeANB | Animation blend. |
kFileTypeANI | Animation sequence. |
kFileTypeCNS | Script, client script source. |
kFileTypeCUR | Cursor, Windows cursor. |
kFileTypeEVT | Animation event. |
kFileTypeFDL | |
kFileTypeFXO | |
kFileTypeGAD | GOB Animation Data. |
kFileTypeGDA | Table data, GFF'd 2DA, 2-dimensional text array. |
kFileTypeGFX | Vector graphics animation, Scaleform GFx. |
kFileTypeLDF | Language definition file. |
kFileTypeLST | Area list. |
kFileTypeMAL | Material Library. |
kFileTypeMAO | Material Object. |
kFileTypeMMH | Model Mesh Hierarchy. |
kFileTypeMOP | |
kFileTypeMOR | Head Morph. |
kFileTypeMSH | Mesh. |
kFileTypeMTX | |
kFileTypeNCC | Script, compiled client script. |
kFileTypePHY | Physics, Novodex collision info. |
kFileTypePLO | Plot information. |
kFileTypeSTG | Cutscene stage. |
kFileTypeTBI | |
kFileTypeTNT | Material tint. |
kFileTypeARL | Area layout. |
kFileTypeFEV | FMOD Event. |
kFileTypeFSB | Audio, FMOD sound bank. |
kFileTypeOPF | |
kFileTypeCRF | |
kFileTypeRIMP | |
kFileTypeMET | Resource meta information. |
kFileTypeMETA | Resource meta information. |
kFileTypeFXR | Face metadata, FaceFX. |
kFileTypeFXT | Face metadata, FaceFX. |
kFileTypeCIF | Campaign Information File, GFF4. |
kFileTypeCUB | |
kFileTypeDLB | |
kFileTypeNSC | NWScript client script source. |
kFileTypeMOV | Video, QuickTime/MPEG-4. |
kFileTypeCURS | Cursor, Mac CURS format. |
kFileTypePICT | Image, Mac PICT format. |
kFileTypeRSRC | Mac resource fork. |
kFileTypePLIST | Mac property list (XML). |
kFileTypeCRE | Creature, GFF. |
kFileTypePSO | Shader. |
kFileTypeVSO | Shader. |
kFileTypeABC | Font, character descriptions. |
kFileTypeSBM | Font, character bitmap data. |
kFileTypePVD | |
kFileTypePLA | Placeable, GFF. |
kFileTypeTRG | Trigger, GFF. |
kFileTypePK | |
kFileTypeALS | |
kFileTypeAPL | |
kFileTypeAssembly | |
kFileTypeBAK | |
kFileTypeBNK | |
kFileTypeCL | |
kFileTypeCNV | |
kFileTypeCON | |
kFileTypeDAT | |
kFileTypeDX11 | |
kFileTypeIDS | |
kFileTypeLOG | |
kFileTypeMAP | |
kFileTypeMML | |
kFileTypeMP3 | |
kFileTypePCK | |
kFileTypeRML | |
kFileTypeS | |
kFileTypeSTA | |
kFileTypeSVR | |
kFileTypeVLM | |
kFileTypeWBD | |
kFileTypeXBX | |
kFileTypeXLS | |
kFileTypeBZF | Game resource data, LZMA-compressed BIF. |
kFileTypeADV | Extra adventure modules, ERF. |
kFileTypeJSON | JavaScript Object Notation. |
kFileTypeTLK_EXPERT | Talk table for extra expert-level control strings, plain text. |
kFileTypeTLK_MOBILE | Talk table for extra mobile port strings, plain text. |
kFileTypeTLK_TOUCH | Talk table for extra touch control strings, plain text. |
kFileTypeOTF | OpenType Font. |
kFileTypePAR | |
kFileTypeXWB | XACT WaveBank. |
kFileTypeXSB | XACT SoundBank. |
kFileTypeXDS | Texture. |
kFileTypeWND | |
kFileTypeXEOSITEX | Intermediate texture. |
enum Aurora::GameID |
enum Aurora::Language |
Definition at line 46 of file language.h.
Enumerator | |
---|---|
kLanguageGenderMale | |
kLanguageGenderFemale | |
kLanguageGenderMAX | |
kLanguageGenderCurrent | Pseudo value that means the current language gender. |
Definition at line 67 of file language.h.
enum Aurora::Platform |
enum Aurora::ResourceType |
enum Aurora::TagType |
Definition at line 39 of file gfxfile.cpp.
|
static |
Definition at line 132 of file cdpth.cpp.
References Aurora::ReadContext::cells, Aurora::ReadContext::height, and Aurora::ReadContext::width.
Referenced by loadCDPTH().
|
static |
Definition at line 52 of file smallfile.cpp.
References Common::WriteStream::writeStream().
Referenced by Aurora::Small::compress00().
|
static |
Definition at line 182 of file smallfile.cpp.
References Common::ScopedPtrBase< T, Deallocator >::get(), getOccurrenceLength(), Common::kReadError, Common::kWriteError, Common::ReadStream::read(), and Common::WriteStream::write().
Referenced by Aurora::Small::compress10().
|
static |
Definition at line 137 of file cdpth.cpp.
References Aurora::ReadContext::cells, Aurora::ReadContext::depth, Common::ScopedPtrBase< T, Deallocator >::get(), Aurora::ReadContext::height, Common::ReadStream::readUint16LE(), Common::ScopedPtrBase< T, Deallocator >::reset(), and Aurora::ReadContext::width.
Referenced by loadCDPTH().
|
static |
Definition at line 244 of file smallfile.cpp.
References decompress00(), and decompress10().
Referenced by Aurora::Small::decompress().
|
static |
Definition at line 48 of file smallfile.cpp.
References Common::WriteStream::writeStream().
Referenced by decompress().
|
static |
Definition at line 63 of file smallfile.cpp.
References Common::ReadStream::readByte(), and Common::WriteStream::writeByte().
Referenced by decompress().
const char * Aurora::findGDAHeader | ( | uint32 | hash | ) |
Definition at line 2246 of file gdaheaders.cpp.
References ARRAYSIZE, Common::binarySearch(), kGDAHeaderHashes, and Common::BinSearchValue< TK, TV >::value.
Referenced by Aurora::TwoDAFile::load().
size_t Aurora::getOccurrenceLength | ( | const byte * | newPtr, |
size_t | newLength, | ||
const byte * | oldPtr, | ||
size_t | oldLength, | ||
size_t & | displacement, | ||
size_t | minDisplacement = 1 |
||
) |
Determine the maximum size of an LZSS-compressed block.
Since this function supports continuously copying bytes from the "edge" of the current compression pointer (which is the main difference between LZSS and vanilla LZ77), both newPtr and oldPtr need to point into the same memory region.
Takes O(newLength * oldLength) = O(n^2) time.
newPtr | The start of the data that needs to be compressed. |
newLength | The number of bytes that still need to be compressed. |
oldPtr | The start of the raw file. |
oldLength | The number of bytes already compressed. |
displacement | The offset of the start of the longest block to refer to. |
minDisplacement | The minimum allowed value for a valid displacement. |
Definition at line 138 of file smallfile.cpp.
Referenced by compress10().
Common::UString Aurora::getPlatformDescription | ( | Platform | platform | ) |
Return the human readable string of a Platform.
Definition at line 430 of file util.cpp.
Referenced by Engines::GameInstanceEngine::getGameName(), Engines::NWN::Version::getPlatformName(), and Engines::KotOR::Version::getPlatformName().
|
static |
Definition at line 42 of file nitrofile.cpp.
References Common::ReadStream::readUint16BE(), and Common::SeekableReadStream::skip().
Referenced by Aurora::NitroFile::open().
|
static |
Definition at line 86 of file cdpth.cpp.
References checkConsistency(), createDepth(), and readCells().
Referenced by Aurora::CDPTH::load().
|
static |
Definition at line 57 of file talkman.cpp.
References Common::UString::empty(), kFileTypeTLK, Aurora::TalkTable::load(), and ResMan.
Referenced by loadTables().
|
static |
Definition at line 68 of file talkman.cpp.
References loadTable(), and Common::ScopedPtrBase< T, Deallocator >::release().
Referenced by Aurora::TalkManager::addTable().
|
static |
Definition at line 92 of file cdpth.cpp.
References Common::StackException::add(), Aurora::ReadContext::cdpth, Aurora::ReadContext::cells, Aurora::Small::decompress(), Common::SeekableReadStream::pos(), Common::ReadStream::readUint16LE(), and Common::SeekableReadStream::seek().
Referenced by loadCDPTH().
|
static |
Definition at line 34 of file smallfile.cpp.
References Common::ReadStream::readUint32LE().
Referenced by Aurora::Small::decompress().
|
static |
Definition at line 41 of file smallfile.cpp.
References Common::WriteStream::writeUint32LE().
Referenced by Aurora::Small::compress00(), and Aurora::Small::compress10().
|
static |
Definition at line 117 of file visfile.cpp.
Referenced by Aurora::VISFile::getVisibilityArray().
Definition at line 37 of file gfxfile.cpp.
Referenced by Aurora::GFXFile::load().
|
static |
Definition at line 86 of file locstring.cpp.
|
static |
Definition at line 119 of file 2dafile.cpp.
Referenced by Aurora::TwoDARow::getCell(), Aurora::LocString::getString(), and Aurora::LocString::getStrRefString().
|
static |
Definition at line 58 of file talktable_gff.cpp.
|
static |
Definition at line 129 of file talkman.cpp.
Referenced by Engines::DragonAge::Campaign::getAreaRIM(), Engines::DragonAge2::Campaign::getAreaRIM(), Engines::NWN::Area::getEnvironmentMap(), Aurora::SSFFile::getSoundFile(), Aurora::TalkManager::getSoundResRef(), Aurora::TalkTable_TLK::getSoundResRef(), Aurora::TalkTable_GFF::getSoundResRef(), Aurora::TalkManager::getString(), Aurora::TalkTable_TLK::getString(), and Aurora::TalkTable_GFF::getString().
|
static |
Definition at line 146 of file talktable_tlk.cpp.
Definition at line 32 of file fevfile.cpp.
Referenced by Aurora::FEVFile::load().
|
static |
Definition at line 443 of file types.h.
Referenced by Engines::NWN::Creature::getArmorModels(), Engines::NWN::CharGenChoices::getFeatItems(), Aurora::TwoDAFile::getRow(), Aurora::TalkTable_TLK::getSoundID(), Aurora::TalkTable_GFF::getSoundID(), Aurora::TwoDAFile::headerToColumn(), Engines::KotOR2::Creature::init(), Engines::KotOR::Creature::init(), Engines::NWN2::Creature::init(), Engines::NWN::Creature::init(), Engines::NWN::Item::isArmor(), Engines::NWN::Item::Item(), Engines::Jade::Creature::load(), Engines::NWN::Situated::load(), Engines::NWN2::Situated::load(), Engines::KotOR2::Situated::load(), Engines::KotOR::Situated::load(), Engines::KotOR2::Creature::load(), Engines::KotOR::Creature::load(), Engines::KotOR::Door::loadAppearance(), Engines::KotOR2::Door::loadAppearance(), Engines::NWN2::Door::loadAppearance(), Engines::KotOR2::Placeable::loadAppearance(), Engines::KotOR::Placeable::loadAppearance(), Engines::NWN::Door::loadAppearance(), Engines::NWN2::Creature::loadModel(), Engines::NWN::Creature::loadModel(), Engines::Jade::Placeable::loadProperties(), Engines::NWN2::Creature::loadProperties(), Engines::NWN::Creature::loadProperties(), Engines::Witcher::Situated::loadSounds(), Engines::NWN::Situated::loadSounds(), Engines::NWN2::Situated::loadSounds(), Engines::KotOR2::Situated::loadSounds(), Engines::KotOR::Situated::loadSounds(), Engines::NWN2::Object::loadSSF(), Engines::NWN::Object::loadSSF(), and Aurora::TalkTable_TLK::readEntryTableV3().
|
static |
All currently known GDA column header strings, together with their CRC32 hashes.
Note: For the binary search to work, this list needs to stay sorted by hash value!
Definition at line 38 of file gdaheaders.cpp.
Referenced by findGDAHeader().
|
static |
Definition at line 30 of file language_strings.h.
Referenced by Aurora::LanguageManager::getLanguageName().
|
static |
Definition at line 41 of file language_strings.h.
Referenced by Aurora::LanguageManager::parseLanguage().
|
static |
Definition at line 57 of file erffile.cpp.
Referenced by Aurora::ERFFile::findNWNPremiumKey().
|
static |
Definition at line 59 of file erffile.cpp.
Referenced by Aurora::ERFFile::findNWNPremiumKey().
|
static |
Definition at line 442 of file types.h.
Referenced by Aurora::NWScript::ObjectReference::operator*(), and Aurora::NWScript::ObjectReference::operator=().
Definition at line 30 of file thewitchersavefile.cpp.
Referenced by Aurora::TheWitcherSaveFile::load(), and Aurora::TheWitcherSaveWriter::TheWitcherSaveWriter().
Definition at line 32 of file thewitchersavewriter.cpp.
|
static |
Definition at line 444 of file types.h.
Referenced by Aurora::LocString::clear(), Engines::KotORJadeWidget::createText(), Aurora::LocString::empty(), Aurora::SSFFile::getSound(), Aurora::TalkManager::getSoundResRef(), Aurora::TalkManager::getString(), Aurora::SSFFile::getStrRef(), Aurora::LocString::getStrRefString(), Engines::NWN::GUI::initCaption(), Engines::NWN::Tileset::loadGeneral(), Engines::Witcher::Area::loadProperties(), Engines::NWN2::Area::loadProperties(), Engines::NWN::Area::loadProperties(), Engines::KotOR2::Area::loadProperties(), Engines::KotOR::Area::loadProperties(), Engines::KotOR2::Area::setMusicBattleTrack(), Engines::NWN2::Area::setMusicBattleTrack(), Engines::NWN::Area::setMusicBattleTrack(), and Engines::KotOR::Area::setMusicBattleTrack().
Definition at line 31 of file erfwriter.cpp.
Referenced by Aurora::ERFWriter::ERFWriter(), Aurora::LTRFile::load(), Aurora::NWScript::NCSFile::load(), Aurora::ERFFile::readERFHeader(), Aurora::ERFFile::readResources(), Aurora::SSFFile::readSSFHeader(), and Aurora::ERFFile::verifyVersion().