DefinesScorched.cpp File Reference

#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string>
#include <common/DefinesScorched.h>
#include <common/DefinesFile.h>
#include <common/DefinesString.h>
#include <common/DefinesAssert.h>
#include <common/Logger.h>
#include <windows.h>

Go to the source code of this file.

Defines

#define WIN32_LEAN_AND_MEAN
#define S3D_DATADIR   "."
#define S3D_DOCDIR   "./documentation"
#define S3D_BINDIR   "."

Functions

void S3D::showURL (const std::string &url)
void S3D::setExeName (const std::string &name)
std::string S3D::getExeName ()
std::string S3D::getStartTime ()
void S3D::setSettingsDir (const std::string &dir)
void S3D::setDataFileMod (const std::string &mod)
std::string S3D::getDataFileMod ()
static const char * GET_DIR (const char *dir)
std::string S3D::getDataFile (const std::string &filename)
bool S3D::checkDataFile (const std::string &filename)
std::string S3D::getDocFile (const std::string &filename)
std::string S3D::getHomeFile (const std::string &filename)
std::string S3D::getSettingsFile (const std::string &filename)
std::string S3D::getLogFile (const std::string &filename)
std::string S3D::getSaveFile (const std::string &filename)
std::string S3D::getModFile (const std::string &filename)
std::string S3D::getGlobalModFile (const std::string &filename)

Variables

static std::string exeName
static std::string dataModFile = "none"
static std::string settingsDir = ""


Define Documentation

#define S3D_BINDIR   "."

Definition at line 111 of file DefinesScorched.cpp.

#define S3D_DATADIR   "."

Definition at line 105 of file DefinesScorched.cpp.

Referenced by S3D::getDataFile(), S3D::getGlobalModFile(), and S3D::getHomeFile().

#define S3D_DOCDIR   "./documentation"

Definition at line 108 of file DefinesScorched.cpp.

Referenced by S3D::getDocFile().

#define WIN32_LEAN_AND_MEAN

Definition at line 30 of file DefinesScorched.cpp.


Function Documentation

static const char* GET_DIR ( const char *  dir  )  [static]

Definition at line 114 of file DefinesScorched.cpp.

References LangStringUtil::strlen().

Referenced by S3D::getDataFile(), S3D::getDocFile(), S3D::getGlobalModFile(), and S3D::getHomeFile().


Variable Documentation

std::string dataModFile = "none" [static]

Definition at line 48 of file DefinesScorched.cpp.

Referenced by S3D::getDataFile(), S3D::getDataFileMod(), and S3D::setDataFileMod().

std::string exeName [static]

Definition at line 47 of file DefinesScorched.cpp.

Referenced by S3D::getExeName(), runScorched3D(), and S3D::setExeName().

std::string settingsDir = "" [static]

Definition at line 49 of file DefinesScorched.cpp.

Referenced by S3D::getSettingsFile(), and S3D::setSettingsDir().


Generated on Mon Feb 16 15:14:57 2009 for Scorched3D by  doxygen 1.5.3