76 return rootFiles.
contains(
"/nwmain.exe",
true);
106 return rootFiles.
contains(
"/nwmain",
true);
121 if (rootFiles.
contains(
"/nwn2.ini",
true))
123 if (rootFiles.
contains(
"/nwn2main.exe",
true))
127 return rootFiles.
contains(
"/nwn.ini",
true) ||
128 rootFiles.
contains(
"/nwnplayer.ini",
true) ||
129 rootFiles.
contains(
"/nwncdkey.ini",
true);
Probing for an installation of Neverwinter Nights.
Engine class handling Neverwinter Nights.
A class holding an UTF-8 string.
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
A probe that checks if an engine can handle game data found in a specific directory and creates an in...
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
bool probe(const Common::UString &directory, const Common::FileList &rootFiles) const
Check for the game in that directory, containing these files.
Engines::Engine * createEngine() const
Create the respective engine for the GameID.
const Common::UString & getGameName() const
Return a string of the full game name.
bool empty() const
Is the string empty?
void createEngineProbes(std::list< const ::Engines::EngineProbe *> &probes)
Aurora::GameID getGameID() const
Get the GameID that the probe is able to detect.
The base class for an engine within BioWare's Aurora family.
A probe able to detect one specific game.
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.
bool probe(Common::SeekableReadStream &stream) const
Check for the game in that file.
Interface for a seekable & readable data stream.
Utility class for manipulating file paths.
static const Common::UString kGameName
static UString findSubDirectory(const UString &directory, const UString &subDirectory, bool caseInsensitive=false)
Find a directory's subdirectory.
bool contains(const UString &str, bool caseInsensitive) const
Does the list contain at least one file ending with the given string?
Aurora::Platform getPlatform() const
Get the Platform that the probe is able to detect.