class Command : public csSimpleCommand This class represents a command that can be send thru the console or by pressing a key from within the engine
This class represents a command that can be send thru the console or by pressing a key from within the engine. It is a static class which contains only static data.
static Command* shared_instance
static csWorld* world
static csCamera* camera
static IGraphics3D* g3d
static ISystem* system
static csConsole* console
static FILE* script
static void Initialize(csWorld* world, csCamera* camera, IGraphics3D* g3d, csConsole* console, ISystem* system)
static Command* SharedInstance()
static bool perform(char* cmd, char* arg = NULL)
static bool perform_line(char* line)
virtual bool PerformLine(char* line)
static bool start_script(char* scr)
static bool get_script_line(char* buf, int max_size)
static void change_boolean(char* arg, bool* value, char* what)
static bool change_boolean_gfx3d(char* arg, G3D_RENDERSTATEOPTION op, char* what)
static void change_choice(char* arg, int* value, char* what, char** choices, int num)
static bool change_float(char* arg, float* value, char* what, float min, float max)
static bool change_int(char* arg, int* value, char* what, int min, int max)
typedef bool (*CmdHandler)(char* cmd, char* arg)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de