Changeset 732
- Timestamp:
- Dec 30, 2007, 10:14:48 PM (17 years ago)
- Location:
- code/branches/FICN
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/CMakeLists.txt
r728 r732 4 4 OPTION(TESTING_ENABLED "Do you want to enable Testing") 5 5 IF (TESTING_ENABLED) 6 ENABLE_TESTING()6 ENABLE_TESTING() 7 7 ENDIF(TESTING_ENABLED) 8 9 OPTION(NETWORK_TESTING_ENABLED "Do you want to build network testing tools: i.e. chatclient chatserver and alike") 8 10 9 11 #Create some verbose output … … 50 52 51 53 # pipe $FLAGS to the compiler, and add some local flags. force -O2! 52 #SET(CMAKE_C_FLAGS "$ENV{CFLAGS} -O2 -Wall -g -ggdb")53 54 SET(CMAKE_C_FLAGS "$ENV{CFLAGS} -O2 -Wall -g -ggdb") 54 #SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -O2 -Wall -g -ggdb")55 55 SET(CMAKE_CXX_FLAGS "$ENV{CXXFLAGS} -O2 -Wall -g -ggdb") 56 56 SET(CMAKE_LD_FLAGS "$ENV{LDFLAGS}") -
code/branches/FICN/src/network/CMakeLists.txt
r659 r732 1 1 PROJECT(Orxonox) 2 3 SET( CHATCLIENT_SRC_FILES4 ClientConnection.cc5 Client.cc6 PacketBuffer.cc7 PacketDecoder.cc8 PacketGenerator.cc9 dummyclient3.cc10 )11 12 SET( CHATSERVER_SRC_FILES13 ConnectionManager.cc14 GameStateManager.cc15 PacketBuffer.cc16 PacketDecoder.cc17 PacketGenerator.cc18 dummyserver3.cc19 )20 2 21 3 SET( NETWORK_SRC_FILES … … 42 24 TARGET_LINK_LIBRARIES(network ${ZLIB_LIBRARY} ${ENet_LIBRARY} ${Boost_thread_LIBRARIES}) 43 25 44 # chatserver for testing purposes 45 ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES}) 46 TARGET_LINK_LIBRARIES( chatserver 47 ${OGRE_LIBRARIES} 48 network 49 core 50 #objects 51 ${ENet_LIBRARY} 52 ${ZLIB_LIBRARY} 53 ${WINDOWS_ENET_DEPENDENCIES} 54 ) 26 # build those parts only on request. 27 IF(NETWORK_TESTING_ENABLED) 28 SET( CHATCLIENT_SRC_FILES 29 ClientConnection.cc 30 Client.cc 31 PacketBuffer.cc 32 PacketDecoder.cc 33 PacketGenerator.cc 34 dummyclient3.cc 35 ) 55 36 56 # chatclient for testing purpose 57 ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES}) 58 TARGET_LINK_LIBRARIES( chatclient 59 ${OGRE_LIBRARIES} 60 network 61 core 62 #objects 63 ${ENet_LIBRARY} 64 ${ZLIB_LIBRARY} 65 ${WINDOWS_ENET_DEPENDENCIES} 66 ) 37 SET( CHATSERVER_SRC_FILES 38 ConnectionManager.cc 39 GameStateManager.cc 40 PacketBuffer.cc 41 PacketDecoder.cc 42 PacketGenerator.cc 43 dummyserver3.cc 44 ) 67 45 68 # client for testing purpose 69 ADD_EXECUTABLE(client dummyclient2.cc)70 TARGET_LINK_LIBRARIES( client 71 ${OGRE_LIBRARIES}72 network73 core74 #objects75 ${ENet_LIBRARY}76 ${ZLIB_LIBRARY}77 ${WINDOWS_ENET_DEPENDENCIES}78 )46 # chatserver for testing purposes 47 ADD_EXECUTABLE(chatserver ${CHATSERVER_SRC_FILES}) 48 TARGET_LINK_LIBRARIES( chatserver 49 ${OGRE_LIBRARIES} 50 network 51 core 52 #objects 53 ${ENet_LIBRARY} 54 ${ZLIB_LIBRARY} 55 ${WINDOWS_ENET_DEPENDENCIES} 56 ) 79 57 80 # serverfor testing purpose81 ADD_EXECUTABLE(server dummyserver.cc)82 TARGET_LINK_LIBRARIES( server 83 ${OGRE_LIBRARIES}84 network85 core86 #objects87 ${ENet_LIBRARY}88 ${ZLIB_LIBRARY}89 ${WINDOWS_ENET_DEPENDENCIES}90 )58 # chatclient for testing purpose 59 ADD_EXECUTABLE(chatclient ${CHATCLIENT_SRC_FILES}) 60 TARGET_LINK_LIBRARIES( chatclient 61 ${OGRE_LIBRARIES} 62 network 63 core 64 #objects 65 ${ENet_LIBRARY} 66 ${ZLIB_LIBRARY} 67 ${WINDOWS_ENET_DEPENDENCIES} 68 ) 91 69 70 # client for testing purpose 71 ADD_EXECUTABLE(client dummyclient2.cc) 72 TARGET_LINK_LIBRARIES( client 73 ${OGRE_LIBRARIES} 74 network 75 core 76 #objects 77 ${ENet_LIBRARY} 78 ${ZLIB_LIBRARY} 79 ${WINDOWS_ENET_DEPENDENCIES} 80 ) 81 82 # server for testing purpose 83 ADD_EXECUTABLE(server dummyserver.cc) 84 TARGET_LINK_LIBRARIES( server 85 ${OGRE_LIBRARIES} 86 network 87 core 88 #objects 89 ${ENet_LIBRARY} 90 ${ZLIB_LIBRARY} 91 ${WINDOWS_ENET_DEPENDENCIES} 92 ) 93 ENDIF(NETWORK_TESTING_ENABLED) -
code/branches/FICN/src/network/GameStateClient.h
r673 r732 2 2 // C++ Interface: GameStateClient 3 3 // 4 // Description: 4 // Description: 5 5 // 6 6 // … … 21 21 namespace network { 22 22 23 /**24 @author25 */26 23 class GameStateClient{ 27 24 public: … … 36 33 GameState decode(GameStateCompressed x); 37 34 void removeObject(orxonox::Iterator<Synchronisable> &it); 38 35 39 36 GameState reference; 40 37 }; -
code/branches/FICN/src/orxonox/core/Identifier.h
r729 r732 64 64 // These two files would actually be need, but they would produce 65 65 // circular dependencies. Anyway, it does compile without them 66 // #include "OrxonoxClass.h"67 // #include "MetaObjectList.h"66 // #include "OrxonoxClass.h" 67 // #include "MetaObjectList.h" 68 68 69 69 namespace orxonox -
code/branches/FICN/src/orxonox/objects/SpaceShip.h
r729 r732 45 45 46 46 void doNothing() { 47 int a = 0; 47 int a = 0; //FIXME unused var 48 48 } 49 49 -
code/branches/FICN/src/orxonox/objects/SpaceshipSteeringObject.cc
r663 r732 1 /* 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * 4 * 5 * License notice: 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 * Author: 22 * ... 23 * Co-authors: 24 * ... 25 * 26 */ 27 1 28 #include <OgreSceneManager.h> 2 29 #include <OgreSceneNode.h>
Note: See TracChangeset
for help on using the changeset viewer.