Changeset 5992
- Timestamp:
- Oct 26, 2009, 10:55:43 PM (15 years ago)
- Location:
- code/branches/console/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/libraries/core/Core.cc
r5973 r5992 126 126 127 127 SetConfigValue(language_, Language::getInstance().defaultLanguage_) 128 .description("The language of the in game text")128 .description("The language of the in game text") 129 129 .callback(this, &CoreConfiguration::languageChanged); 130 130 SetConfigValue(bInitializeRandomNumberGenerator_, true) … … 222 222 this->pathConfig_->setConfigurablePaths(); 223 223 224 // create a signal handler (only active for linux)224 // create a signal handler (only active for Linux) 225 225 // This call is placed as soon as possible, but after the directories are set 226 226 this->signalHandler_.reset(new SignalHandler()); 227 227 this->signalHandler_->doCatch(PathConfig::getExecutablePathString(), PathConfig::getLogPathString() + "orxonox_crash.log"); 228 228 229 // Set the correct log path. Before this call, /tmp (Unix) or %TEMP% was used229 // Set the correct log path. Before this call, /tmp (Unix) or %TEMP% (Windows) was used 230 230 OutputHandler::getOutStream().setLogPath(PathConfig::getLogPathString()); 231 231 -
code/branches/console/src/libraries/core/Core.h
r5973 r5992 43 43 { 44 44 class CoreConfiguration; 45 class IOConsole;46 45 47 46 /** -
code/branches/console/src/libraries/core/CorePrereqs.h
r5929 r5992 148 148 class GUIManager; 149 149 class Identifier; 150 class IOConsole; 150 151 class IRC; 151 152 template <class T> -
code/branches/console/src/libraries/core/GUIManager.cc
r5929 r5992 127 127 guiSystem_.reset(new System(guiRenderer_.get(), resourceProvider_, 0, scriptModule_.get())); 128 128 129 // Initialise the basic lua code129 // Initialise the basic Lua code 130 130 rootFileInfo_ = Resource::getInfo("InitialiseGUI.lua", "GUI"); 131 131 this->luaState_->doFile("InitialiseGUI.lua", "GUI", false); … … 134 134 guiSystem_->injectMousePosition(mousePosition.first, mousePosition.second); 135 135 136 // Hide the mouse cursor unless playing in full screen mode136 // Hide the mouse cursor unless playing in full screen mode 137 137 if (!bFullScreen) 138 138 CEGUI::MouseCursor::getSingleton().hide(); … … 280 280 code of the mouse button as it is used by CEGUI 281 281 282 Simple conver tion from mouse event code in Orxonox to the one used in CEGUI.282 Simple conversion from mouse event code in Orxonox to the one used in CEGUI. 283 283 */ 284 284 static inline CEGUI::MouseButton convertButton(MouseButtonCode::ByEnum button) -
code/branches/console/src/libraries/core/GraphicsManager.h
r5929 r5992 106 106 107 107 // config values 108 std::string ogreConfigFile_; //!< ogre config file 108 std::string ogreConfigFile_; //!< ogre config filename 109 109 std::string ogrePluginsDirectory_; //!< Directory where the Ogre plugins are located 110 110 std::string ogrePlugins_; //!< Comma separated list of all plugins to load 111 std::string ogreLogFile_; //!< log file 112 int ogreLogLevelTrivial_; //!< Corresponding Orxon x debug level for LL_TRIVIAL113 int ogreLogLevelNormal_; //!< Corresponding Orxon x debug level for LL_NORMAL114 int ogreLogLevelCritical_; //!< Corresponding Orxon x debug level for LL_CRITICAL111 std::string ogreLogFile_; //!< log filename for Ogre log messages 112 int ogreLogLevelTrivial_; //!< Corresponding Orxonox debug level for LL_TRIVIAL 113 int ogreLogLevelNormal_; //!< Corresponding Orxonox debug level for LL_NORMAL 114 int ogreLogLevelCritical_; //!< Corresponding Orxonox debug level for LL_CRITICAL 115 115 116 116 // console commands -
code/branches/console/src/libraries/core/OrxonoxClass.cc
r5929 r5992 34 34 #include "OrxonoxClass.h" 35 35 36 #include <cassert> 36 37 #include "MetaObjectList.h" 37 38 #include "Identifier.h" … … 72 73 void OrxonoxClass::destroy() 73 74 { 75 assert(this); // Just in case someone tries to delete a NULL pointer 74 76 this->requestedDestruction_ = true; 75 77 if (this->referenceCount_ == 0) -
code/branches/console/src/libraries/core/input/InputBuffer.cc
r5968 r5992 80 80 void InputBuffer::setConfigValues() 81 81 { 82 SetConfigValue(keyRepeatDeleay_, 0.4).description("Key repeat del eay of the input buffer");82 SetConfigValue(keyRepeatDeleay_, 0.4).description("Key repeat delay of the input buffer"); 83 83 SetConfigValue(keyRepeatTime_, 0.022).description("Key repeat time of the input buffer"); 84 84 -
code/branches/console/src/libraries/core/input/InputHandler.h
r5968 r5992 102 102 103 103 Derive from this class if you wish to receive input events. 104 But keep in mind that this is pointless wi htout first having an InputState.104 But keep in mind that this is pointless without first having an InputState. 105 105 @note 106 106 The definitions for the button events with the weird arguments are simply 107 to avoid redun ant code in the input devices.107 to avoid redundant code in the input devices. 108 108 */ 109 109 class _CoreExport InputHandler -
code/branches/console/src/libraries/network/packet/Packet.cc
r5781 r5992 230 230 */ 231 231 void Packet::deletePacket(ENetPacket *enetPacket){ 232 // Get our Packet from a glo abal map with all Packets created in the send() method of Packet.232 // Get our Packet from a global map with all Packets created in the send() method of Packet. 233 233 std::map<size_t, Packet*>::iterator it = packetMap_.find(reinterpret_cast<size_t>(enetPacket)); 234 234 assert(it != packetMap_.end()); -
code/branches/console/src/libraries/tools/ResourceCollection.h
r5781 r5992 38 38 namespace orxonox 39 39 { 40 class ResourceLocation;41 42 40 class _ToolsExport ResourceCollection : public BaseObject 43 41 { -
code/branches/console/src/orxonox/overlays/InGameConsole.cc
r5969 r5992 589 589 } 590 590 591 // ############################### 592 // ### s atic methods ###593 // ############################### 591 // ################################ 592 // ### static methods ### 593 // ################################ 594 594 595 595 /**
Note: See TracChangeset
for help on using the changeset viewer.