Changeset 7284 for code/trunk/src/modules/designtools
- Timestamp:
- Aug 31, 2010, 3:37:40 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/modules/designtools/ScreenshotManager.cc
r7163 r7284 9 9 #include <OgreRoot.h> 10 10 11 #include "util/ScopedSingletonManager.h" 11 12 #include "core/GraphicsManager.h" 12 13 #include "core/PathConfig.h" 13 #include "core/ScopedSingletonManager.h" 14 #include "core/ConsoleCommand.h" 14 #include "core/command/ConsoleCommand.h" 15 15 16 16 #include "CameraManager.h" … … 20 20 { 21 21 ManageScopedSingleton(ScreenshotManager, ScopeID::Graphics, false); 22 SetConsoleCommand Alias(ScreenshotManager, makeScreenshot_s, "printScreenHD", true);22 SetConsoleCommand("printScreenHD", &ScreenshotManager::makeScreenshot_s); 23 23 24 24 ScreenshotManager::ScreenshotManager() -
code/trunk/src/modules/designtools/SkyboxGenerator.cc
r7163 r7284 34 34 #include <OgreCamera.h> 35 35 36 #include " core/ConsoleCommand.h"36 #include "util/ScopedSingletonManager.h" 37 37 #include "core/CoreIncludes.h" 38 38 #include "core/ConfigValueIncludes.h" 39 #include "core/ScopedSingletonManager.h" 39 #include "core/GraphicsManager.h" 40 #include "core/command/ConsoleCommand.h" 41 #include "core/command/CommandExecutor.h" 40 42 #include "controllers/HumanController.h" 41 43 #include "worldentities/CameraPosition.h" 42 44 #include "worldentities/ControllableEntity.h" 43 #include "core/GraphicsManager.h"44 #include "core/CommandExecutor.h"45 45 #include "graphics/Camera.h" 46 46 … … 50 50 { 51 51 52 SetConsoleCommand( SkyboxGenerator, createSkybox, true);52 SetConsoleCommand("SkyboxGenerator", "createSkybox", &SkyboxGenerator::createSkybox).addShortcut(); 53 53 54 54 ManageScopedSingleton(SkyboxGenerator, ScopeID::Graphics, false); … … 79 79 if(!this->captionsRemoved_) 80 80 { 81 CommandExecutor::execute(" setGametypeStatusfalse");81 CommandExecutor::execute("GametypeStatus displayCaption false"); 82 82 this->captionsRemoved_ = true; 83 83 return; … … 145 145 takeScreenshot_ = false; 146 146 CommandExecutor::execute("pause"); 147 CommandExecutor::execute(" setGametypeStatustrue");147 CommandExecutor::execute("GametypeStatus displayCaption true"); 148 148 this->captionsRemoved_ = false; 149 149 }
Note: See TracChangeset
for help on using the changeset viewer.