OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
main.cpp File Reference
#include <iostream>
#include <cstdio>
#include <components/version/version.hpp>
#include <components/files/configurationmanager.hpp>
#include <components/files/escape.hpp>
#include <components/fallback/validate.hpp>
#include <SDL_messagebox.h>
#include <SDL_main.h>
#include "engine.hpp"
#include <boost/iostreams/concepts.hpp>
#include <boost/iostreams/stream_buffer.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/version.hpp>
Include dependency graph for main.cpp:

Classes

class  Tee
 

Namespaces

 boost
 

Macros

#define USE_CRASH_CATCHER   0
 

Functions

template<>
boost::filesystem::path boost::lexical_cast< boost::filesystem::path, std::string > (const std::string &arg)
 
bool parseOptions (int argc, char **argv, OMW::Engine &engine, Files::ConfigurationManager &cfgMgr)
 Parses application command line and calls Cfg::ConfigurationManager to parse configuration files. More...
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define USE_CRASH_CATCHER   0

Function Documentation

int main ( int  argc,
char **  argv 
)

Here is the call graph for this function:

bool parseOptions ( int  argc,
char **  argv,
OMW::Engine engine,
Files::ConfigurationManager cfgMgr 
)

Parses application command line and calls Cfg::ConfigurationManager to parse configuration files.

Results are directly written to Engine class.

Return values
true- Everything goes OK
false- Error

Here is the call graph for this function:

Here is the caller graph for this function: