#include <BaseRoot.h>
Public Methods | |
BaseRoot () | |
virtual | ~BaseRoot () |
void | start (int argc, char **argv) |
virtual void | setDefaultOptions () |
virtual void | parseOptions () |
int | getScreenWidth () |
int | getScreenHeight () |
Options & | getScreenOptions () |
Options & | getAudioOptions () |
bool | hasOpt (char *key) |
const char * | getOptString (char *key) |
int | getOptInt (char *key) |
float | getOptFloat (char *key) |
const char * | getArg (int i) |
Protected Attributes | |
int | argc |
char ** | argv |
Options | screen_options |
Options | audio_options |
int | screen_width |
int | screen_height |
Definition at line 38 of file BaseRoot.h.
|
Definition at line 52 of file BaseRoot.cpp. |
|
Definition at line 56 of file BaseRoot.cpp. |
|
Definition at line 226 of file BaseRoot.cpp. |
|
Definition at line 177 of file BaseRoot.cpp. References audio_options. |
|
Definition at line 213 of file BaseRoot.cpp. |
|
Definition at line 200 of file BaseRoot.cpp. Referenced by parseOptions. |
|
Definition at line 187 of file BaseRoot.cpp. |
|
Definition at line 246 of file BaseRoot.cpp. References screen_height. |
|
Definition at line 182 of file BaseRoot.cpp. References screen_options. |
|
Definition at line 241 of file BaseRoot.cpp. References screen_width. |
|
Definition at line 231 of file BaseRoot.cpp. Referenced by parseOptions, and start. |
|
|
Definition at line 106 of file BaseRoot.cpp. References audio_options, screen_height, screen_options, and screen_width. Referenced by start. |
|
Definition at line 60 of file BaseRoot.cpp. References argc, argv, Teddy::SysSupport::fmsg, hasOpt, Teddy::Graphics::View::init, Teddy::Materials::Material::init, Teddy::SysSupport::init_msg, Teddy::SysSupport::M_FATAL, MSG_HEAD, parseOptions, and setDefaultOptions. |
|
Definition at line 58 of file BaseRoot.h. Referenced by getArg, getOptFloat, getOptInt, getOptString, hasOpt, and start. |
|
Definition at line 59 of file BaseRoot.h. Referenced by getArg, getOptFloat, getOptInt, getOptString, hasOpt, and start. |
|
Definition at line 61 of file BaseRoot.h. Referenced by getAudioOptions, parseOptions, and setDefaultOptions. |
|
Definition at line 63 of file BaseRoot.h. Referenced by getScreenHeight, parseOptions, and setDefaultOptions. |
|
Definition at line 60 of file BaseRoot.h. Referenced by getScreenOptions, parseOptions, and setDefaultOptions. |
|
Definition at line 62 of file BaseRoot.h. Referenced by getScreenWidth, parseOptions, and setDefaultOptions. |