Changeset 673 for code/branches/FICN/src
- Timestamp:
- Dec 22, 2007, 10:15:06 PM (17 years ago)
- Location:
- code/branches/FICN/src
- Files:
-
- 8 deleted
- 66 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/audio/AudioBuffer.h
r409 r673 1 #ifndef AUDIOBUFFER_H_2 #define AUDIOBUFFER_H_1 #ifndef _AudioBuffer_H__ 2 #define _AudioBuffer_H__ 3 3 4 4 #include "AudioIncludes.h" … … 27 27 } 28 28 29 #endif /* AUDIOBUFFER_H_*/29 #endif /* _AudioBuffer_H__ */ -
code/branches/FICN/src/audio/AudioManager.h
r430 r673 1 #ifndef AUDIOMANAGER_H_2 #define AUDIOMANAGER_H_1 #ifndef _AudioManager_H__ 2 #define _AudioManager_H__ 3 3 4 4 #include "AudioIncludes.h" … … 65 65 } 66 66 67 #endif /* AUDIOMANAGER_H_*/67 #endif /* _AudioManager_H__ */ -
code/branches/FICN/src/audio/AudioSource.h
r409 r673 1 #ifndef AUDIOSOURCE_H_2 #define AUDIOSOURCE_H_1 #ifndef _AudioSource_H__ 2 #define _AudioSource_H__ 3 3 4 4 #include "AudioIncludes.h" … … 16 16 } 17 17 18 #endif /* AUDIOSOURCE_H_*/18 #endif /* _AudioSource_H__ */ -
code/branches/FICN/src/audio/AudioStream.h
r430 r673 1 #ifndef _ _ogg_h__2 #define _ _ogg_h__1 #ifndef _AudioStream_H__ 2 #define _AudioStream_H__ 3 3 4 4 #include "AudioIncludes.h" … … 43 43 } 44 44 45 #endif / / __ogg_h__45 #endif /* _AudioStream_H__ */ -
code/branches/FICN/src/loader/LevelLoader.h
r660 r673 5 5 * @author Nicolas Perrenoud <nicolape@ee.ethz.ch> 6 6 */ 7 8 #ifndef _LevelLoader_H__ 9 #define _LevelLoader_H__ 7 10 8 11 #include <string> … … 15 18 //#include "xml/xmlParser.h" 16 19 17 #ifndef __MODULE_LEVELLOADER__18 #define __MODULE_LEVELLOADER__19 20 using namespace std;21 20 22 21 namespace loader … … 26 25 public: 27 26 // Constructors, loads the level file and some information data 28 LevelLoader(st ring file,string dir="levels");27 LevelLoader(std::string file, std::string dir="levels"); 29 28 // Destructor 30 29 ~LevelLoader(); … … 33 32 34 33 // Getters 35 inline st ring name() {return name_; };36 inline st ring description() {return description_; };37 inline st ring image() {return image_; };34 inline std::string name() {return name_; }; 35 inline std::string description() {return description_; }; 36 inline std::string image() {return image_; }; 38 37 private: 39 38 //! Level information … … 56 55 TiXmlElement* rootElement; 57 56 58 59 57 }; 60 58 } 61 #endif 59 60 #endif /* _LevelLoader_H__ */ -
code/branches/FICN/src/loader/loader_platform.h
r553 r673 27 27 28 28 29 #ifndef LOADER_PLATFORM_H30 #define LOADER_PLATFORM_H29 #ifndef _LoaderPlatform_H__ 30 #define _LoaderPlatform_H__ 31 31 32 32 … … 44 44 45 45 46 #endif /* LOADER_PLATFORM_H*/46 #endif /* _LoaderPlatform_H__ */ -
code/branches/FICN/src/network/Client.h
r496 r673 11 11 // 12 12 13 #ifndef NETWORK_CLIENT_H14 #define NETWORK_CLIENT_H13 #ifndef _Client_H__ 14 #define _Client_H__ 15 15 16 16 #include <string> … … 69 69 } 70 70 71 #endif 71 #endif /* _Client_H__ */ -
code/branches/FICN/src/network/ClientConnection.h
r658 r673 10 10 // 11 11 // 12 #ifndef NETWORK_CLIENTCONNECTION_H13 #define NETWORK_CLIENTCONNECTION_H12 #ifndef _ClientConnection_H__ 13 #define _ClientConnection_H__ 14 14 15 15 #include <iostream> … … 78 78 } 79 79 80 #endif 80 #endif /* _ClientConnection_H__ */ -
code/branches/FICN/src/network/ClientInformation.h
r636 r673 10 10 // 11 11 // 12 #ifndef NETWORKCLIENTINFORMATION_H13 #define NETWORKCLIENTINFORMATION_H12 #ifndef _ClientInformation_H__ 13 #define _ClientInformation_H__ 14 14 15 15 #include <enet/enet.h> … … 66 66 } 67 67 68 #endif 68 #endif /* _ClientInformation_H__ */ -
code/branches/FICN/src/network/ConnectionManager.h
r496 r673 10 10 // 11 11 // 12 #ifndef NETWORK_CONNECTIONMANAGER_H13 #define NETWORK_CONNECTIONMANAGER_H12 #ifndef _ConnectionManager_H__ 13 #define _ConnectionManager_H__ 14 14 15 15 #include <iostream> … … 88 88 } 89 89 90 #endif 90 #endif /* _ConnectionManager_H__ */ -
code/branches/FICN/src/network/GameStateClient.h
r620 r673 10 10 // 11 11 // 12 #ifndef NETWORK_GAMESTATECLIENT_H13 #define NETWORK_GAMESTATECLIENT_H12 #ifndef _GameStateClient_H__ 13 #define _GameStateClient_H__ 14 14 15 15 #include "zlib.h" … … 42 42 } 43 43 44 #endif 44 #endif /* _GameStateClient_H__ */ -
code/branches/FICN/src/network/GameStateManager.h
r624 r673 10 10 // 11 11 // 12 #ifndef NETWORK_GAMESTATEMANAGER_H13 #define NETWORK_GAMESTATEMANAGER_H12 #ifndef _GameStateManager_H__ 13 #define _GameStateManager_H__ 14 14 15 15 #include <map> … … 66 66 } 67 67 68 #endif 68 #endif /* _GameStateManager_H__ */ -
code/branches/FICN/src/network/NetworkFrameListener.h
r614 r673 11 11 // 12 12 13 #ifndef NETWORKFRAMELISTENER_H14 #define NETWORKFRAMELISTENER_H13 #ifndef _NetworkFrameListener_H__ 14 #define _NetworkFrameListener_H__ 15 15 16 16 #include "OgreFrameListener.h" … … 47 47 } 48 48 49 #endif 49 #endif /* _NetworkFrameListener_H__ */ -
code/branches/FICN/src/network/PacketBuffer.h
r337 r673 11 11 // 12 12 13 #ifndef NETWORK_PACKETBUFFER_H14 #define NETWORK_PACKETBUFFER_H13 #ifndef _PacketBuffer_H__ 14 #define _PacketBuffer_H__ 15 15 16 16 #include <queue> … … 56 56 57 57 } //namespace 58 #endif /* NETWORK_PACKETBUFFER_H*/58 #endif /* _PacketBuffer_H__ */ -
code/branches/FICN/src/network/PacketManager.h
r620 r673 1 #ifndef PACKETMANAGER_H_2 #define PACKETMANAGER_H_1 #ifndef _PacketManager_H__ 2 #define _PacketManager_H__ 3 3 4 4 #include <string> … … 81 81 } 82 82 83 #endif /* PACKETMANAGER_H_*/83 #endif /* _PacketManager_H__ */ -
code/branches/FICN/src/network/PacketTypes.h
r592 r673 11 11 // 12 12 13 #ifndef NETWORK_PACKETTYPES_H14 #define NETWORK_PACKETTYPES_H13 #ifndef _PacketTypes_H__ 14 #define _PacketTypes_H__ 15 15 16 16 namespace network{ … … 85 85 } 86 86 87 #endif 87 #endif /* _PacketTypes_H__ */ -
code/branches/FICN/src/network/Server.h
r620 r673 11 11 // 12 12 13 #ifndef NETWORK_SERVER_H14 #define NETWORK_SERVER_H13 #ifndef _Server_H__ 14 #define _Server_H__ 15 15 16 16 #include <string> … … 60 60 } 61 61 62 #endif 62 #endif /* _Server_H__ */ -
code/branches/FICN/src/network/Synchronisable.h
r630 r673 10 10 // 11 11 // 12 #ifndef NETWORK_SYNCHRONISABLE_H13 #define NETWORK_SYNCHRONISABLE_H12 #ifndef _Synchronisable_H__ 13 #define _Synchronisable_H__ 14 14 15 15 #include <list> … … 71 71 } 72 72 73 #endif 73 #endif /* _Synchronisable_H__ */ -
code/branches/FICN/src/orxonox/AIClass.h
r597 r673 1 #ifndef AI_Class2 #define AI_Class1 #ifndef _AIClass_H__ 2 #define _AIClass_H__ 3 3 4 4 #include <Ogre.h> … … 8 8 #include <iostream> 9 9 10 11 #endif 12 10 // FIXME: using namespace xy; in header files is a very bad idea.. 13 11 using namespace std; 14 12 using namespace Ogre; … … 98 96 99 97 }; 98 99 #endif /* _AIClass_H__ */ -
code/branches/FICN/src/orxonox/Arrival.h
r618 r673 3 3 4 4 5 #ifndef Arrival_Class6 #define Arrical_Class5 #ifndef _Arrival_H__ 6 #define _Arrival_H__ 7 7 8 8 // #include <Ogre.h> … … 12 12 #include <iostream> 13 13 14 15 #endif 16 14 // FIXME: using namspace xy; in header files is a bad idea 17 15 using namespace std; 18 16 using namespace Ogre; … … 87 85 } 88 86 } 87 88 #endif /* _Arrival_H__ */ -
code/branches/FICN/src/orxonox/CMakeLists.txt
r671 r673 25 25 objects/Ambient.cc 26 26 objects/Skybox.cc 27 objects/SceneNode.cc28 objects/Entity.cc27 # objects/SceneNode.cc 28 # objects/Entity.cc 29 29 objects/Camera.cc 30 30 # objects/SpaceshipSteeringObject.cc 31 31 objects/Model.cc 32 32 objects/Mesh.cc 33 objects/BaseEntity.cc33 # objects/BaseEntity.cc 34 34 objects/SpaceShip.cc 35 35 objects/NPC.cc 36 36 objects/BillboardSet.cc 37 objects/Light.cc37 # objects/Light.cc 38 38 objects/Projectile.cc 39 39 objects/weapon_system/AmmunitionDump.cc -
code/branches/FICN/src/orxonox/Flocking.h
r618 r673 2 2 //Headerfile: Flocking.h 3 3 4 #ifndef Flocking_Class5 #define Flocking_Class4 #ifndef _Flocking_H__ 5 #define _Flocking_H__ 6 6 7 7 // #include <Ogre.h> … … 11 11 #include <iostream> 12 12 13 14 #endif15 13 16 14 … … 142 140 } 143 141 }; //End of class Element 142 143 #endif /* _Flocking_H__*/ -
code/branches/FICN/src/orxonox/GraphicsEngine.h
r614 r673 5 5 */ 6 6 7 #ifndef GRAPHICS_ENGINE_H8 #define GRAPHICS_ENGINE_H7 #ifndef _GraphicsEngine_H__ 8 #define _GraphicsEngine_H__ 9 9 10 10 #include <OgreRoot.h> … … 40 40 } 41 41 42 #endif 43 42 #endif /* _GraphicsEngine_H__ */ -
code/branches/FICN/src/orxonox/InputManager.h
r533 r673 1 #ifndef InputManager_H2 #define InputManager_H1 #ifndef _InputManager_H__ 2 #define _InputManager_H__ 3 3 4 4 #ifdef WIN32 … … 89 89 static InputManager *mInputManager; 90 90 }; 91 #endif 91 #endif /* _InputManager_H__ */ -
code/branches/FICN/src/orxonox/Orxonox.cc
r672 r673 49 49 #include <string> 50 50 #include <iostream> 51 #include <exception> 51 52 52 53 //***** ORXONOX **** … … 283 284 COUT(3) << "Info: network framelistener added" << std::endl; 284 285 } 285 catch( exception &e)286 catch(std::exception &e) 286 287 { 287 288 COUT(1) << "Error: There was a problem initialising the server :(" << std::endl; -
code/branches/FICN/src/orxonox/Orxonox.h
r637 r673 5 5 */ 6 6 7 #ifndef ORXONOX_H8 #define ORXONOX_H7 #ifndef _Orxonox_H__ 8 #define _Orxonox_H__ 9 9 10 10 #include <OgrePrerequisites.h> … … 81 81 }; 82 82 } 83 #endif /* ORXONOX_H*/83 #endif /* _Orxonox_H__ */ -
code/branches/FICN/src/orxonox/OrxonoxPrereqs.h
r637 r673 31 31 */ 32 32 33 #ifndef ORXONOX_PREREQ_H34 #define ORXONOX_PREREQ_H33 #ifndef _OrxonoxPrereqs_H__ 34 #define _OrxonoxPrereqs_H__ 35 35 36 36 // hack for the usleep/Sleep problem … … 159 159 } 160 160 161 #endif /* ORXONOX_PREREQ_H*/161 #endif /* _OrxonoxPrereqs_H__ */ -
code/branches/FICN/src/orxonox/SpaceshipSteering.h
r612 r673 1 #ifndef SPACESHIP_STEERING_H2 #define SPACESHIP_STEERING_H1 #ifndef _SpaceShipSteering_H__ 2 #define _SpaceShipSteering_H__ 3 3 4 4 #include "OgrePrerequisites.h" … … 60 60 61 61 62 #endif 62 #endif /* _SpaceShipSteering_H__ */ -
code/branches/FICN/src/orxonox/core/ArgReader.h
r598 r673 5 5 */ 6 6 7 #ifndef _ _ARGREADER_CLASS__8 #define _ _ARGREADER_CLASS__7 #ifndef _ArgReader_H__ 8 #define _ArgReader_H__ 9 9 10 10 #include <string> … … 31 31 32 32 } 33 #endif 33 #endif /* _ArgReader_H__ */ -
code/branches/FICN/src/orxonox/core/ClassFactory.h
r670 r673 95 95 } 96 96 97 #endif 97 #endif /* _ClassFactory_H__ */ -
code/branches/FICN/src/orxonox/core/ConfigValueContainer.h
r667 r673 135 135 } 136 136 137 #endif 137 #endif /* _ConfigValueContainer_H__ */ -
code/branches/FICN/src/orxonox/core/DebugLevel.h
r562 r673 19 19 } 20 20 21 #endif 21 #endif /* _DebugLevel_H__ */ -
code/branches/FICN/src/orxonox/core/Error.h
r421 r673 1 #ifndef _ _ERROR_CLASS__2 #define _ _ERROR_CLASS__1 #ifndef _Error_H__ 2 #define _Error_H__ 3 3 4 4 #include <iostream> … … 18 18 } 19 19 20 #endif 20 #endif /* _Error_H__ */ -
code/branches/FICN/src/orxonox/core/Factory.h
r564 r673 61 61 } 62 62 63 #endif 63 #endif /* _Factory_H__ */ -
code/branches/FICN/src/orxonox/core/Identifier.h
r592 r673 370 370 } 371 371 372 #endif 372 #endif /* _Identifier_H__ */ -
code/branches/FICN/src/orxonox/core/IdentifierList.h
r384 r673 41 41 } 42 42 43 #endif 43 #endif /* _IdentifierList_H__ */ -
code/branches/FICN/src/orxonox/core/Iterator.h
r670 r673 161 161 } 162 162 163 #endif 163 #endif /* _Iterator_H__ */ -
code/branches/FICN/src/orxonox/core/MetaObjectList.h
r496 r673 109 109 } 110 110 111 #endif 111 #endif /* _MetaObjectList_H__ */ -
code/branches/FICN/src/orxonox/core/ObjectList.h
r670 r673 264 264 } 265 265 266 #endif 266 #endif /* _ObjectList_H__ */ -
code/branches/FICN/src/orxonox/core/OrxonoxClass.h
r496 r673 131 131 } 132 132 133 #endif 133 #endif /* _OrxonoxClass_H__ */ -
code/branches/FICN/src/orxonox/core/SignalHandler.h
r497 r673 72 72 73 73 #endif /* _SignalHandler_H__ */ 74 -
code/branches/FICN/src/orxonox/hud/HUD.h
r668 r673 26 26 */ 27 27 28 #ifndef MODULE_HUD_H29 #define MODULE_HUD_H28 #ifndef _HUD_H__ 29 #define _HUD_H__ 30 30 31 31 #include <OgrePrerequisites.h> … … 108 108 } 109 109 110 #endif 110 #endif /* _HUD_H__ */ -
code/branches/FICN/src/orxonox/objects/Ambient.h
r507 r673 1 #ifndef _ OBJECT_AMBIENT_H__2 #define _ OBJECT_AMBIENT_H__1 #ifndef _Ambient_H__ 2 #define _Ambient_H__ 3 3 4 4 #include "BaseObject.h" … … 22 22 } 23 23 24 #endif 24 #endif /* _Ambient_H__ */ -
code/branches/FICN/src/orxonox/objects/BaseObject.cc
r637 r673 59 59 if (xmlElem->Attribute("name")) 60 60 { 61 this->setName(xmlElem->Attribute(" mesh"));61 this->setName(xmlElem->Attribute("name")); 62 62 } 63 63 } -
code/branches/FICN/src/orxonox/objects/BaseObject.h
r637 r673 24 24 } 25 25 26 #endif 26 #endif /* _BaseObject_H__ */ -
code/branches/FICN/src/orxonox/objects/BillboardSet.h
r633 r673 1 #ifndef _BillboardSet_H__ 2 #define _BillboardSet_H__ 3 1 4 #include <string> 2 5 3 6 #include "OgreBillboardSet.h" 4 5 #ifndef _BillboardSet_H__6 #define _BillboardSet_H__7 7 8 8 namespace orxonox … … 27 27 } 28 28 29 #endif 29 #endif /* _BillboardSet_H__ */ -
code/branches/FICN/src/orxonox/objects/CMakeLists.txt
r671 r673 9 9 Ambient.cc 10 10 Skybox.cc 11 SceneNode.cc11 # SceneNode.cc 12 12 BaseEntity.cc 13 Entity.cc13 # Entity.cc 14 14 Camera.cc 15 15 # SpaceshipSteeringObject.cc … … 19 19 NPC.cc 20 20 BillboardSet.cc 21 Light.cc21 # Light.cc 22 22 Projectile.cc 23 23 weapon_system/AmmunitionDump.cc -
code/branches/FICN/src/orxonox/objects/Camera.h
r515 r673 1 #ifndef _ OBJECT_CAMERA_H__2 #define _ OBJECT_CAMERA_H__1 #ifndef _Camera_H__ 2 #define _Camera_H__ 3 3 4 4 #include "BaseObject.h" … … 22 22 } 23 23 24 #endif 24 #endif /* _Camera_H__ */ -
code/branches/FICN/src/orxonox/objects/Explosion.h
r646 r673 22 22 } 23 23 24 #endif 24 #endif /* _Explosion_H__ */ -
code/branches/FICN/src/orxonox/objects/Fighter.h
r645 r673 92 92 } 93 93 94 #endif 94 #endif /* _Fighter_H__ */ -
code/branches/FICN/src/orxonox/objects/Mesh.h
r589 r673 1 #ifndef _Mesh_H__ 2 #define _Mesh_H__ 3 1 4 #include <string> 2 5 3 6 #include "OgreEntity.h" 4 5 #ifndef _Mesh_H__6 #define _Mesh_H__7 7 8 8 namespace orxonox … … 27 27 } 28 28 29 #endif 29 #endif /* _Mesh_H__ */ -
code/branches/FICN/src/orxonox/objects/Model.h
r646 r673 23 23 } 24 24 25 #endif 25 #endif /* _Model_H__ */ -
code/branches/FICN/src/orxonox/objects/NPC.h
r627 r673 5 5 */ 6 6 7 #ifndef MODULE_NPC_H8 #define MODULE_NPC_H7 #ifndef _NPC_H__ 8 #define _NPC_H__ 9 9 10 10 // includes … … 43 43 44 44 } 45 #endif 45 #endif /* _NPC_H__ */ -
code/branches/FICN/src/orxonox/objects/Projectile.h
r646 r673 26 26 } 27 27 28 #endif 28 #endif /* _Projectile_H__ */ -
code/branches/FICN/src/orxonox/objects/Skybox.h
r507 r673 1 #ifndef _ OBJECT_SKYBOX_H__2 #define _ OBJECT_SKYBOX_H__1 #ifndef _Skybox_H__ 2 #define _Skybox_H__ 3 3 4 4 #include "BaseObject.h" … … 22 22 } 23 23 24 #endif 24 #endif /* _Skybox_H__ */ -
code/branches/FICN/src/orxonox/objects/SpaceShip.h
r661 r673 123 123 } 124 124 125 #endif 125 #endif /* _SpaceShip_H__ */ -
code/branches/FICN/src/orxonox/objects/Tickable.h
r670 r673 81 81 } 82 82 83 #endif 83 #endif /* _Tickable_H__ */ -
code/branches/FICN/src/orxonox/objects/Timer.h
r670 r673 192 192 } 193 193 194 #endif 194 #endif /* _Timer_H__ */ -
code/branches/FICN/src/orxonox/objects/WorldEntity.h
r647 r673 146 146 } 147 147 148 #endif 148 #endif /* _WorldEntity_H__ */ -
code/branches/FICN/src/orxonox/objects/weapon_system/AmmunitionDump.h
r668 r673 27 27 28 28 29 #ifndef AmmunitionDump_H30 #define AmmunitionDump_H29 #ifndef _AmmunitionDump_H__ 30 #define _AmmunitionDump_H__ 31 31 32 32 #include <OgrePrerequisites.h> … … 66 66 } 67 67 68 #endif /* AmmunitionDump_H*/68 #endif /* _AmmunitionDump_H__ */ -
code/branches/FICN/src/orxonox/objects/weapon_system/BarrelGun.h
r668 r673 27 27 28 28 29 #ifndef BARREL_GUN_H30 #define BARREL_GUN_H29 #ifndef _BarrelGun_H__ 30 #define _BarrelGun_H__ 31 31 32 32 #include <OgrePrerequisites.h> … … 62 62 } 63 63 64 #endif /* BARREL_GUN_H*/64 #endif /* _BarrelGun_H__ */ -
code/branches/FICN/src/orxonox/objects/weapon_system/BaseWeapon.h
r668 r673 27 27 28 28 29 #ifndef BASE_WEAPON_H30 #define BASE_WEAPON_H29 #ifndef _BaseWeapon_H__ 30 #define _BaseWeapon_H__ 31 31 32 32 #include <OgrePrerequisites.h> … … 124 124 } 125 125 126 #endif /* BASE_WEAPON_H*/126 #endif /* _BaseWeapon_H__ */ -
code/branches/FICN/src/orxonox/objects/weapon_system/Bullet.h
r669 r673 27 27 28 28 29 #ifndef BULLET_H30 #define BULLET_H29 #ifndef _Bullet_H__ 30 #define _Bullet_H__ 31 31 32 32 #include <OgrePrerequisites.h> … … 49 49 } 50 50 51 #endif /* BULLET_H*/51 #endif /* _Bullet_H__ */ -
code/branches/FICN/src/orxonox/objects/weapon_system/BulletManager.h
r668 r673 27 27 28 28 29 #ifndef BULLET_MANAGER_H30 #define BULLET_MANAGER_H29 #ifndef _BulletManager_H__ 30 #define _BulletManager_H__ 31 31 32 32 #include <OgrePrerequisites.h> … … 67 67 } 68 68 69 #endif /* BULLET_MANAGER_H*/69 #endif /* _BulletManager_H__ */ -
code/branches/FICN/src/orxonox/objects/weapon_system/WeaponStation.h
r668 r673 27 27 28 28 29 #ifndef WEAPON_STATION_H30 #define WEAPON_STATION_H29 #ifndef _WeaponStation_H__ 30 #define _WeaponStation_H__ 31 31 32 32 #include <OgrePrerequisites.h> … … 63 63 } 64 64 65 #endif /* WEAPON_STATION_H*/65 #endif /* _WeaponStation_H__ */ -
code/branches/FICN/src/orxonox/particle/ParticleInterface.h
r659 r673 1 #ifndef MODULE_ParticleInterface_H2 #define MODULE_ParticleInterface_H1 #ifndef _ParticleInterface_H__ 2 #define _ParticleInterface_H__ 3 3 4 4 // #include "ParticleInterface.h" … … 64 64 65 65 } 66 #endif 66 #endif /* _ParticleInterface_H__ */
Note: See TracChangeset
for help on using the changeset viewer.