Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Enumerations | Functions | Variables
mediadirs.hpp File Reference
#include <string>
#include "inexor/io/filesystem/path.hpp"
#include "inexor/network/SharedVar.hpp"

Go to the source code of this file.

Namespaces

 inexor
 Show stacktrace on unix, do not include directly.
 
 inexor::filesystem
 

Enumerations

enum  {
  DIR_MAP, DIR_TEXTURE, DIR_SKYBOX, DIR_UI,
  DIR_ICON, DIR_RADAR, DIR_SOUND, DIR_MUSIC,
  DIR_MODEL, DIR_NUM
}
 string operations on filenames (INCOMPLETE! see e.g. stream.cpp). More...
 

Functions

const char * inexor::filesystem::getmediadir (int type)
 Returns the specific media dir according to type. More...
 
Path inexor::filesystem::getmediapath (const std::string &basename, int type)
 Append the media directory specified by type to the basename. More...
 
const char * inexor::filesystem::getmediapath (char *output, int outputlen, const std::string &basename, int type)
 
std::stringinexor::filesystem::getmediapath (std::string &output, const std::string basename, int type)
 

Variables

SharedVar< char * > mapdir
 media path types. More...
 
SharedVar< char * > texturedir
 
SharedVar< char * > skyboxdir
 
SharedVar< char * > interfacedir
 
SharedVar< char * > radardir
 
SharedVar< char * > icondir
 
SharedVar< char * > sounddir
 
SharedVar< char * > musicdir
 
SharedVar< char * > modeldir
 

Enumeration Type Documentation

anonymous enum

string operations on filenames (INCOMPLETE! see e.g. stream.cpp).

Enumerator
DIR_MAP 
DIR_TEXTURE 
DIR_SKYBOX 
DIR_UI 
DIR_ICON 
DIR_RADAR 
DIR_SOUND 
DIR_MUSIC 
DIR_MODEL 
DIR_NUM 

Variable Documentation

SharedVar<char*> icondir
SharedVar<char*> interfacedir
SharedVar<char*> mapdir

media path types.

Referenced by inexor::filesystem::getmediadir(), and loadents().

SharedVar<char*> modeldir
SharedVar<char*> musicdir
SharedVar<char*> radardir
SharedVar<char*> skyboxdir
SharedVar<char*> sounddir
SharedVar<char*> texturedir