Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
mediadirs.cpp File Reference
#include <algorithm>
#include <cstddef>
#include "inexor/io/filesystem/mediadirs.hpp"
#include "inexor/shared/command.hpp"
#include "inexor/util/StringFormatter.hpp"

Namespaces

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

Functions

 SVARP (mapdir,"map")
 string operations on filenames (INCOMPLETE! see e.g. stream.cpp). More...
 
 SVARP (texturedir,"texture")
 
 SVARP (skyboxdir,"skybox")
 
 SVARP (interfacedir,"interface")
 
 SVARP (icondir,"interface/icon")
 
 SVARP (radardir,"interface/radar")
 
 SVARP (sounddir,"sound")
 
 SVARP (musicdir,"music")
 
 SVARP (modeldir,"model")
 
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...
 
std::stringinexor::filesystem::getmediapath (std::string &output, const std::string basename, int type)
 
const char * inexor::filesystem::getmediapath (char *output, int outputlen, const std::string &basename, int type)
 

Function Documentation

SVARP ( mapdir  ,
"map"   
)

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

SVARP ( texturedir  ,
"texture"   
)
SVARP ( skyboxdir  ,
"skybox"   
)
SVARP ( interfacedir  ,
"interface"   
)
SVARP ( icondir  ,
"interface/icon"   
)
SVARP ( radardir  ,
"interface/radar"   
)
SVARP ( sounddir  ,
"sound"   
)
SVARP ( musicdir  ,
"music"   
)
SVARP ( modeldir  ,
"model"   
)