37 |
|
|
38 |
using std::string; |
using std::string; |
39 |
|
|
40 |
|
/** |
41 |
|
* Engine initialization functions are provided by this module. |
42 |
|
* |
43 |
|
*/ |
44 |
namespace adonthell { |
namespace adonthell { |
45 |
/** |
/** |
46 |
* Subclass adonthell::app to create the entry point for any application |
* Subclass adonthell::app to create the entry point for any application |
100 |
/** |
/** |
101 |
* Parse the given command line arguments for those required by |
* Parse the given command line arguments for those required by |
102 |
* the engine. The following arguments are currently handled: |
* the engine. The following arguments are currently handled: |
103 |
* -b <backend> specifiy the backend to use (default 'sdl') |
* \li -b <backend> specifiy the backend to use (default 'sdl') |
104 |
* -c <config> use given config file (default 'adonthell') |
* \li -c <config> use given config file (default 'adonthell') |
105 |
* -g <directory> specify user game directory |
* \li -g <directory> specify user game directory |
106 |
* -h print help message and exit |
* \li -h print help message and exit |
107 |
* -v print version number and exit |
* \li -v print version number and exit |
108 |
* |
* |
109 |
* @param argc argument count |
* @param argc argument count |
110 |
* @param argv argument vector |
* @param argv argument vector |