368 return t->second->type;
381 TypeLookup::const_iterator t =
_typeLookup.find(type);
383 ext = t->second->extension;
394 HashLookup::const_iterator t =
_hashLookup[algo].find(hashedExtension);
396 return t->second->type;
431 static const char *
const names[] = {
432 "Windows",
"Mac OS X",
"GNU/Linux",
"Xbox",
"Xbox 360",
"PlayStation 3",
"Nintendo DS",
433 "Android",
"iOS",
"Unknown" 436 return names[platform];
ExtensionLookup _extensionLookup
Sound template (BioWare), GFF.
Table data, 2-dimensional text array.
Plot wizard template, GFF.
Compressed file, Nintendo LZSS.
void buildExtensionLookup()
Placeable template (BioWare), GFF.
A class holding an UTF-8 string.
Talk table for extra mobile port strings, plain text.
static UString getExtension(const UString &p)
Return a file name's extension.
Script, compiled client script.
Image, Nitro CEll Resource.
NWScript client script source.
Game save in The Witcher.
Trigger template (user), GFF.
Texture, custom 16-bit RGBA.
Script, conditional compiled script.
Item template (BioWare), GFF.
Animation, Nitro ANimation Resource.
Random item generator template (user), GFF.
Utility functions to handle files used in BioWare's Aurora engine.
#define ARRAYSIZE(x)
Macro which determines the number of entries in a fixed size array.
Geometry, model mesh data.
Sound template (user), GFF.
FoxPro database memo file.
Random item generator template (BioWare), GFF.
Face bone definitions, FaceFX Actor.
Common::UString addFileType(const Common::UString &path, FileType type)
Return the file name with an added extensions according to the specified file type.
Letter combo probability information.
Common::UString setFileType(const Common::UString &path, FileType type)
Return the file name with a swapped extensions according to the specified file type.
Image, Portable Network Graphics.
Area environment settings, INI.
Door template (BioWare), GFF.
Store template (user), GFF.
Script, conditional source script.
Extensible Markup Language.
Font, character bitmap data.
Geometry, model mesh data.
Lipsync data, binary LIP.
Utility templates and functions.
#define DECLARE_SINGLETON(T)
Note that you need to use this macro from the global namespace.
HashLookup _hashLookup[Common::kHashMAX]
Placeable template (user), GFF.
Tree template (user), GFF.
Talk table for extra touch control strings, plain text.
Light template (user), GFF.
Script, client script source.
Resource meta information.
Game resource data, LZMA-compressed BIF.
Image, Map, Nitro Basic File Screen.
HashAlgo
The algorithm used for hashing.
Archive, Nintendo DS ROM file.
static uint64 hashString(const UString &string, HashAlgo algo)
Hash the string with the given algorithm, as a series of UTF-8 characters.
static const Type types[]
Encounter template (user), GFF.
Palette, Nitro Basic File Palette.
Trigger template (BioWare), GFF.
FileType getFileType(const Common::UString &path)
Return the file type of a file name, detected by its extension.
Extra adventure modules, ERF.
Video, RAD Game Tools Bink.
void buildHashLookup(Common::HashAlgo algo)
Table data, GFF'd 2DA, 2-dimensional text array.
UString toLower() const
Return a lowercased copy of the string.
Neverwinter Nights original campaign module, ERF.
Store template (BioWare), GFF.
Script, NWScript bytecode.
Toolset "palette" (tree of tiles or object templates), GFF.
Plot instance/manager, GFF.
Campaign Information File, GFF4.
Item template (user), GFF.
Faction information, GFF.
Creature template (BioWare), GFF.
Physics, Novodex collision info.
Talk table for extra expert-level control strings, plain text.
FileType
Various file types used by the Aurora engine and found in archives.
Table data, 1-dimensional text array.
Image, Truevision TARGA image.
Door template (user), GFF.
Font, character descriptions.
Vector graphics animation, Scaleform GFx.
Configuration, Windows INI.
Common::UString getPlatformDescription(Platform platform)
Return the human readable string of a Platform.
Image, Nitro Character Graphic Resource.
HERF file name -> hashes dictionary.
Language definition file.
Encounter template (BioWare), GFF.
Creature template (user), GFF.
Game instance comments, GFF.
Resource meta information.
Texture, DirectDraw Surface.
Utility class for manipulating file paths.
Finite State Machine data.
static UString changeExtension(const UString &p, const UString &ext="")
Change a file name's extension.
JavaScript Object Notation.
Audio, MP3 with extra header.
Area data, room visibilities.