Changeset 7207 for code/branches/consolecommands3
- Timestamp:
- Aug 23, 2010, 6:50:22 PM (14 years ago)
- Location:
- code/branches/consolecommands3/src
- Files:
-
- 20 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/CMakeLists.txt
r7202 r7207 35 35 OrxonoxClass.cc 36 36 Resource.cc 37 ScopedSingletonManager.cc38 37 WindowEventListener.cc 39 38 -
code/branches/consolecommands3/src/libraries/core/Core.cc
r7204 r7207 52 52 #include "util/Exception.h" 53 53 #include "util/Scope.h" 54 #include "util/ScopedSingletonManager.h" 54 55 #include "util/SignalHandler.h" 55 56 #include "PathConfig.h" … … 65 66 #include "Language.h" 66 67 #include "LuaState.h" 67 #include "ScopedSingletonManager.h"68 68 #include "command/CommandExecutor.h" 69 69 #include "command/IOConsole.h" -
code/branches/consolecommands3/src/libraries/core/input/KeyBinderManager.cc
r7204 r7207 31 31 #include "util/Debug.h" 32 32 #include "util/Exception.h" 33 #include "util/ScopedSingletonManager.h" 33 34 #include "core/ConfigValueIncludes.h" 34 35 #include "core/CoreIncludes.h" 35 36 #include "core/LuaState.h" 36 #include "core/ScopedSingletonManager.h"37 37 #include "core/command/ConsoleCommand.h" 38 38 #include "InputManager.h" -
code/branches/consolecommands3/src/libraries/core/input/KeyDetector.cc
r7204 r7207 29 29 #include "KeyDetector.h" 30 30 31 #include "util/ScopedSingletonManager.h" 31 32 #include "core/CoreIncludes.h" 32 #include "core/ScopedSingletonManager.h"33 33 #include "core/command/ConsoleCommand.h" 34 34 #include "Button.h" -
code/branches/consolecommands3/src/libraries/network/Client.cc
r7163 r7207 45 45 #include "util/Clock.h" 46 46 #include "util/Debug.h" 47 #include "util/ScopedSingletonManager.h" 47 48 #include "synchronisable/Synchronisable.h" 48 49 #include "packet/Chat.h" … … 52 53 #include "core/CommandLineParser.h" 53 54 #include "core/Game.h" 54 #include "core/ScopedSingletonManager.h"55 55 56 56 namespace orxonox … … 107 107 return ClientConnection::closeConnection(); 108 108 } 109 109 110 110 void Client::setDestination(const std::string& serverAddress, unsigned int port) 111 111 { -
code/branches/consolecommands3/src/libraries/network/LANDiscovery.cc
r7163 r7207 32 32 #include <cstring> 33 33 34 #include "util/ScopedSingletonManager.h" 34 35 #include "core/CoreIncludes.h" 35 #include "core/ScopedSingletonManager.h"36 36 37 37 38 38 namespace orxonox 39 { 39 { 40 40 ManageScopedSingleton(LANDiscovery, ScopeID::Root, true); 41 41 42 42 LANDiscovery::LANDiscovery() 43 43 { … … 49 49 enet_host_destroy(this->host_); 50 50 } 51 51 52 52 void LANDiscovery::discover() 53 53 { … … 56 56 enet_address_set_host(&address, "255.255.255.255"); 57 57 address.port = LAN_DISCOVERY_PORT; 58 58 59 59 ENetPeer* peer; 60 60 peer = enet_host_connect(this->host_, &address, 0); 61 61 62 62 ENetEvent event; 63 63 while( enet_host_service(this->host_, &event, 1000 ) ) … … 93 93 } 94 94 } 95 95 96 96 std::string LANDiscovery::getServerListItemName(unsigned int index) 97 97 { … … 101 101 return this->servers_[index].getServerName(); 102 102 } 103 103 104 104 std::string LANDiscovery::getServerListItemIP(unsigned int index) 105 105 { … … 109 109 return this->servers_[index].getServerIP(); 110 110 } 111 112 111 112 113 113 } // namespace orxonox -
code/branches/consolecommands3/src/libraries/util/CMakeLists.txt
r7163 r7207 31 31 ExprParser.cc 32 32 OutputHandler.cc 33 ScopedSingletonManager.cc 33 34 SignalHandler.cc 34 35 Sleep.cc -
code/branches/consolecommands3/src/libraries/util/ScopedSingletonManager.h
r7203 r7207 30 30 #define __ScopedSingletonManager_H__ 31 31 32 #include " CorePrereqs.h"32 #include "UtilPrereqs.h" 33 33 34 34 #include <cassert> … … 44 44 namespace orxonox 45 45 { 46 class _CoreExport ScopedSingletonManager 46 class OrxonoxClass; 47 48 class _UtilExport ScopedSingletonManager 47 49 { 48 50 public: -
code/branches/consolecommands3/src/modules/designtools/ScreenshotManager.cc
r7204 r7207 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 14 #include "core/command/ConsoleCommand.h" 15 15 -
code/branches/consolecommands3/src/modules/designtools/SkyboxGenerator.cc
r7204 r7207 34 34 #include <OgreCamera.h> 35 35 36 #include "util/ScopedSingletonManager.h" 36 37 #include "core/CoreIncludes.h" 37 38 #include "core/ConfigValueIncludes.h" 38 39 #include "core/GraphicsManager.h" 39 #include "core/ScopedSingletonManager.h"40 40 #include "core/command/ConsoleCommand.h" 41 41 #include "core/command/CommandExecutor.h" -
code/branches/consolecommands3/src/modules/notifications/NotificationManager.cc
r7163 r7207 36 36 #include <set> 37 37 38 #include "util/ScopedSingletonManager.h" 38 39 #include "core/CoreIncludes.h" 39 #include "core/ScopedSingletonManager.h"40 40 #include "Notification.h" 41 41 #include "interfaces/NotificationListener.h" -
code/branches/consolecommands3/src/modules/pickup/PickupManager.cc
r7163 r7207 34 34 #include "PickupManager.h" 35 35 36 #include "util/Convert.h" 37 #include "util/ScopedSingletonManager.h" 36 38 #include "core/CoreIncludes.h" 37 39 #include "core/LuaState.h" 38 40 #include "core/GUIManager.h" 39 #include "core/ScopedSingletonManager.h"40 41 #include "core/Identifier.h" 41 #include "util/Convert.h"42 42 #include "interfaces/PickupCarrier.h" 43 43 #include "infos/PlayerInfo.h" -
code/branches/consolecommands3/src/modules/questsystem/QuestManager.cc
r7204 r7207 37 37 38 38 #include "util/Exception.h" 39 #include "util/ScopedSingletonManager.h" 39 40 #include "core/CoreIncludes.h" 40 41 #include "core/GUIManager.h" 41 42 #include "core/LuaState.h" 42 #include "core/ScopedSingletonManager.h"43 43 #include "core/command/ConsoleCommand.h" 44 44 #include "infos/PlayerInfo.h" -
code/branches/consolecommands3/src/orxonox/CameraManager.cc
r6417 r7207 34 34 35 35 #include "util/StringUtils.h" 36 #include "util/ScopedSingletonManager.h" 36 37 #include "core/GameMode.h" 37 38 #include "core/GraphicsManager.h" 38 39 #include "core/GUIManager.h" 39 40 #include "core/ObjectList.h" 40 #include "core/ScopedSingletonManager.h"41 41 #include "tools/Shader.h" 42 42 #include "graphics/Camera.h" -
code/branches/consolecommands3/src/orxonox/ChatHistory.cc
r7163 r7207 28 28 29 29 #include "ChatHistory.h" 30 #include <core/ScopedSingletonManager.h>30 #include "util/ScopedSingletonManager.h" 31 31 32 32 #ifndef CHATTEST -
code/branches/consolecommands3/src/orxonox/ChatInputHandler.cc
r7204 r7207 28 28 29 29 #include "ChatInputHandler.h" 30 #include <core/ScopedSingletonManager.h>30 #include "util/ScopedSingletonManager.h" 31 31 #include "core/CoreIncludes.h" 32 32 #include "core/GUIManager.h" -
code/branches/consolecommands3/src/orxonox/LevelManager.cc
r7163 r7207 31 31 #include <map> 32 32 33 #include "util/ScopedSingletonManager.h" 33 34 #include "core/CommandLineParser.h" 34 35 #include "core/ConfigValueIncludes.h" … … 36 37 #include "core/Loader.h" 37 38 #include "core/Resource.h" 38 #include "core/ScopedSingletonManager.h"39 39 #include "PlayerManager.h" 40 40 #include "Level.h" -
code/branches/consolecommands3/src/orxonox/MoodManager.cc
r7163 r7207 29 29 #include "MoodManager.h" 30 30 31 #include "util/ScopedSingletonManager.h" 31 32 #include "core/ConfigValueIncludes.h" 32 33 #include "core/CoreIncludes.h" 33 #include "core/ScopedSingletonManager.h"34 34 #include "core/Resource.h" 35 35 … … 48 48 // Need to use a variable to store old data because ResetConfigValues() doesn't seem to work. 49 49 oldMood_ = MoodManager::defaultMood_; 50 50 51 51 // Checking for the existence of the folder for the default mood 52 52 const std::string& path = "ambient/" + MoodManager::defaultMood_ + "/."; -
code/branches/consolecommands3/src/orxonox/PlayerManager.cc
r6746 r7207 29 29 #include "PlayerManager.h" 30 30 31 #include "util/ScopedSingletonManager.h" 31 32 #include "core/CoreIncludes.h" 32 33 #include "core/GameMode.h" 33 #include "core/ScopedSingletonManager.h"34 34 #include "Level.h" 35 35 #include "infos/HumanPlayer.h" -
code/branches/consolecommands3/src/orxonox/overlays/InGameConsole.cc
r7204 r7207 45 45 #include "util/Math.h" 46 46 #include "util/DisplayStringConversions.h" 47 #include "util/ScopedSingletonManager.h" 47 48 #include "core/CoreIncludes.h" 48 49 #include "core/ConfigValueIncludes.h" 49 #include "core/ScopedSingletonManager.h"50 50 #include "core/command/ConsoleCommand.h" 51 51 #include "core/input/InputManager.h" -
code/branches/consolecommands3/src/orxonox/sound/SoundManager.cc
r7174 r7207 38 38 #include "util/ScopeGuard.h" 39 39 #include "util/Clock.h" 40 #include "util/ScopedSingletonManager.h" 40 41 #include "core/ConfigValueIncludes.h" 41 42 #include "core/CoreIncludes.h" 42 43 #include "core/GameMode.h" 43 #include "core/ScopedSingletonManager.h"44 44 #include "core/Resource.h" 45 45 #include "SoundBuffer.h"
Note: See TracChangeset
for help on using the changeset viewer.