25 #ifndef ENGINES_KOTOR_VERSION_H 26 #define ENGINES_KOTOR_VERSION_H 88 #endif // ENGINES_KOTOR_VERSION_H bool isTooNew() const
Is this version newer than the optimum?
uint32 getVersionBuild() const
Return the build number.
A class holding an UTF-8 string.
bool detectWindows(const Common::UString &directory)
bool detect(const Common::UString &directory)
Try to detect the version of the KotOR installation in this directory.
bool detectXbox(const Common::UString &directory)
byte * readFile(const Common::UString &directory, const Common::UString &file, size_t &size)
Common::UString getPlatformName() const
bool isTooOld() const
Is this version older than the optimum?
Aurora::Platform _platform
Aurora::Platform getPlatform() const
bool hasVersion() const
Did we detect a version?
Version(Aurora::Platform platform)
uint32 _versionBuild
v1.03.514078 -> 514078
uint16 getOptimumVersionMinor() const
Return the optimum minor version.
Low-level type definitions to handle fixed width types portably.
uint16 getVersionMinor() const
Return the minor version.
bool detectMacOSX(const Common::UString &directory)
uint16 getVersionMajor() const
Return the major version.
Basic type definitions to handle files used in BioWare's Aurora engine.
uint16 _versionMinor
v1.03.514078 -> 3
Common::UString getOptimumVersionString()
uint16 _versionMajor
v1.03.514078 -> 1
Common::UString getVersionString() const
uint16 getOptimumVersionMajor() const
Return the optimum major version.