(986a3bf)
Go to the source code of this file.
|
int | mainGui (int argc, char *argv[]) |
|
◆ mainGui()
int mainGui |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 142 of file maingui.cpp.
148 #if defined(__MINGW32__)
151 LoadLibrary(
"exchndl.dll");
158 std::ios::sync_with_stdio(
false);
161 mkdir_r(getSdStoragePath().c_str());
166 #if SDL_IMAGE_VERSION_ATLEAST(1, 2, 11)
167 IMG_Init(IMG_INIT_PNG | IMG_INIT_JPG);
169 #if SDL_MIXER_VERSION_ATLEAST(1, 2, 11)
170 Mix_Init(MIX_INIT_OGG);
193 #if SDL_MIXER_VERSION_ATLEAST(1, 2, 11)
196 #if SDL_IMAGE_VERSION_ATLEAST(1, 2, 11)
void parseOptions(const int argc, char *const argv[])
int mkdir_r(const char *const pathname)
Create a directory, making leading components first if necessary.
void init(const std::string &name)
const char * getBaseDir()
void setPriority(const bool big)
References client, VirtFs::deinit(), delete2, Client::gameExec(), Client::gameInit(), VirtFs::getBaseDir(), VirtFs::init(), XML::initXML(), mkdir_r(), Settings::options, parseOptions(), selfName, setPriority(), settings, Options::testMode, Client::testsExec(), and Client::testsInit().
Referenced by main().