25 #ifndef ENGINES_AURORA_UTIL_H 26 #define ENGINES_AURORA_UTIL_H 35 class SeekableReadStream;
49 bool loop =
false,
float volume = 1.0f,
bool pitchVariance =
false);
61 uint32 id = 0xFFFFFFFF,
bool repairNWNPremium =
false);
85 #endif // ENGINES_AURORA_UTIL_H void playVideo(const Common::UString &video)
Play this video resource.
A class holding an UTF-8 string.
bool dumpResList(const Common::UString &name)
Debug method to quickly dump the current list of resource to disk.
Aurora::GFF4File * loadOptionalGFF4(const Common::UString &gff4, Aurora::FileType fileType, uint32 type)
Load a GFF4, but return 0 instead of throwing on error.
bool dumpStream(Common::SeekableReadStream &stream, const Common::UString &fileName)
Debug method to quickly dump a stream to disk.
bool dumpResource(const Common::UString &name, Aurora::FileType type, const Common::UString &file)
Debug method to quickly dump a resource to disk.
A GFF (generic file format) V4.0/V4.1 file, found in Dragon Age: Origins, Dragon Age 2 and Sonic Chro...
Aurora::GFF3File * loadOptionalGFF3(const Common::UString &gff3, Aurora::FileType type, uint32 id, bool repairNWNPremium)
Load a GFF3, but return 0 instead of throwing on error.
bool longDelay(uint32 ms)
Wait for a "long" amount of time, returning prematurely with true in the case of a requested quit...
bool dumpTGA(const Common::UString &name, const Common::UString &file)
Debug method to quickly dump an image resource to disk.
A GFF (generic file format) V3.2/V3.3 file, found in all Aurora games except Sonic Chronicles: The Da...
bool dump2DA(const Common::UString &name, const Common::UString &file)
Debug method to quickly dump a 2DA to disk.
Sound::ChannelHandle playSound(const Common::UString &sound, Sound::SoundType soundType, bool loop, float volume, bool pitchVariance)
Play this sound resource.
Basic type definitions to handle files used in BioWare's Aurora engine.
A handle to a sound channel.
SoundType
The type of a sound.
FileType
Various file types used by the Aurora engine and found in archives.
void checkConfigInt(const Common::UString &key, int min, int max)
Make sure that an int config value is in the right range.
void checkConfigDouble(const Common::UString &key, double min, double max)
Make sure that a double config value is in the right range.
Interface for a seekable & readable data stream.