00001 /* 00002 * Command line tasks header 00003 * 00004 * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) 00005 * See "SoftPixelEngine.hpp" for license information. 00006 */ 00007 00008 #ifndef __SP_UTILITY_COMMANDLINE_TASKS_H__ 00009 #define __SP_UTILITY_COMMANDLINE_TASKS_H__ 00010 00011 00012 #include "Base/spStandard.hpp" 00013 00014 #ifdef SP_COMPILE_WITH_COMMANDLINE 00015 00016 00017 #include "Base/spInputOutputString.hpp" 00018 #include "SceneGraph/spSceneGraph.hpp" 00019 00020 00021 namespace sp 00022 { 00023 namespace tool 00024 { 00025 00026 00027 class CommandLineUI; 00028 00029 namespace CommandLineTasks 00030 { 00031 00032 SP_EXPORT void cmdWireframe (CommandLineUI &Cmd, scene::SceneGraph* Graph, const video::EWireframeTypes Type); 00033 SP_EXPORT void cmdFullscreen(CommandLineUI &Cmd); 00034 SP_EXPORT void cmdView (CommandLineUI &Cmd, scene::Camera* Cam); 00035 SP_EXPORT void cmdVsync (CommandLineUI &Cmd); 00036 SP_EXPORT void cmdScene (CommandLineUI &Cmd); 00037 SP_EXPORT void cmdHardware (CommandLineUI &Cmd); 00038 SP_EXPORT void cmdNetwork (CommandLineUI &Cmd); 00039 SP_EXPORT void cmdResolution(CommandLineUI &Cmd, const io::stringc &Command); 00040 SP_EXPORT void cmdDrawCalls (CommandLineUI &Cmd); 00041 SP_EXPORT void cmdShowImages(CommandLineUI &Cmd, const io::stringc &Command); 00042 00043 } // /namespace CommandLineTasks 00044 00045 00046 } // /namespace tool 00047 00048 } // /namespace sp 00049 00050 00051 #endif 00052 00053 #endif 00054 00055 00056 00057 // ================================================================================