Changeset 3474 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 10, 2005, 6:39:18 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 1 added
- 1 deleted
- 7 edited
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/Makefile.am
r3473 r3474 2 2 AM_CXXFLAGS+="-I./story_entities" 3 3 AM_CXXFLAGS+="-I./mathlib" 4 AM_CXXFLAGS+="-I./lib" 4 5 5 6 AM_LDFLAGS= $(MWINDOWS) … … 13 14 world.cc \ 14 15 world_entities/player.cc \ 15 collision.cc \16 16 data_tank.cc \ 17 17 world_entities/world_entity.cc \ … … 19 19 camera.cc \ 20 20 command_node.cc \ 21 ini_parser.cc \21 lib/ini_parser.cc \ 22 22 keynames.cc \ 23 23 base_entity.cc \ … … 31 31 importer/material.cc \ 32 32 importer/texture.cc \ 33 li st.cc \33 lib/list.cc \ 34 34 p_node.cc \ 35 35 null_parent.cc \ … … 46 46 noinst_HEADERS = ability.h \ 47 47 data_tank.h \ 48 collision.h \49 48 world_entities/npc.h \ 50 49 stdincl.h \ … … 58 57 world_entities/player.h \ 59 58 camera.h \ 60 ini_parser.h \59 lib/ini_parser.h \ 61 60 power_up.h \ 62 61 mathlib/vector.h \ … … 65 64 world.h \ 66 65 command_node.h \ 67 li st.h \66 lib/list.h \ 68 67 shoot_laser.h \ 69 68 world_entities/world_entity.h \ 70 69 message_structures.h \ 71 70 shoot_rocket.h \ 72 li st_template.h \71 lib/list_template.h \ 73 72 story_entities/story_entity.h \ 74 73 story_entities/story_def.h \ -
orxonox/trunk/src/Makefile.in
r3473 r3474 54 54 PROGRAMS = $(bin_PROGRAMS) 55 55 am_orxonox_OBJECTS = orxonox.$(OBJEXT) world.$(OBJEXT) \ 56 player.$(OBJEXT) collision.$(OBJEXT) data_tank.$(OBJEXT) \57 world_entity.$(OBJEXT) vector.$(OBJEXT) camera.$(OBJEXT) \58 command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \59 base_entity.$(OBJEXT)game_loader.$(OBJEXT) campaign.$(OBJEXT) \56 player.$(OBJEXT) data_tank.$(OBJEXT) world_entity.$(OBJEXT) \ 57 vector.$(OBJEXT) camera.$(OBJEXT) command_node.$(OBJEXT) \ 58 ini_parser.$(OBJEXT) keynames.$(OBJEXT) base_entity.$(OBJEXT) \ 59 game_loader.$(OBJEXT) campaign.$(OBJEXT) \ 60 60 story_entity.$(OBJEXT) environment.$(OBJEXT) model.$(OBJEXT) \ 61 61 objModel.$(OBJEXT) array.$(OBJEXT) material.$(OBJEXT) \ … … 73 73 @AMDEP_TRUE@ ./$(DEPDIR)/base_entity.Po \ 74 74 @AMDEP_TRUE@ ./$(DEPDIR)/base_object.Po ./$(DEPDIR)/camera.Po \ 75 @AMDEP_TRUE@ ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po\75 @AMDEP_TRUE@ ./$(DEPDIR)/campaign.Po \ 76 76 @AMDEP_TRUE@ ./$(DEPDIR)/command_node.Po ./$(DEPDIR)/curve.Po \ 77 77 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po \ … … 214 214 target_os = @target_os@ 215 215 target_vendor = @target_vendor@ 216 AM_CXXFLAGS = "-I./world_entities" "-I./story_entities" "-I./mathlib" 216 AM_CXXFLAGS = "-I./world_entities" "-I./story_entities" "-I./mathlib" "-I./lib" 217 217 AM_LDFLAGS = $(MWINDOWS) 218 218 orxonox_SOURCES = orxonox.cc \ 219 219 world.cc \ 220 220 world_entities/player.cc \ 221 collision.cc \222 221 data_tank.cc \ 223 222 world_entities/world_entity.cc \ … … 225 224 camera.cc \ 226 225 command_node.cc \ 227 ini_parser.cc \226 lib/ini_parser.cc \ 228 227 keynames.cc \ 229 228 base_entity.cc \ … … 237 236 importer/material.cc \ 238 237 importer/texture.cc \ 239 li st.cc \238 lib/list.cc \ 240 239 p_node.cc \ 241 240 null_parent.cc \ … … 252 251 noinst_HEADERS = ability.h \ 253 252 data_tank.h \ 254 collision.h \255 253 world_entities/npc.h \ 256 254 stdincl.h \ … … 264 262 world_entities/player.h \ 265 263 camera.h \ 266 ini_parser.h \264 lib/ini_parser.h \ 267 265 power_up.h \ 268 266 mathlib/vector.h \ … … 271 269 world.h \ 272 270 command_node.h \ 273 li st.h \271 lib/list.h \ 274 272 shoot_laser.h \ 275 273 world_entities/world_entity.h \ 276 274 message_structures.h \ 277 275 shoot_rocket.h \ 278 li st_template.h \276 lib/list_template.h \ 279 277 story_entities/story_entity.h \ 280 278 story_entities/story_def.h \ … … 378 376 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/camera.Po@am__quote@ 379 377 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/campaign.Po@am__quote@ 380 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/collision.Po@am__quote@381 378 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command_node.Po@am__quote@ 382 379 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/curve.Po@am__quote@ … … 471 468 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.obj `if test -f 'mathlib/vector.cc'; then $(CYGPATH_W) 'mathlib/vector.cc'; else $(CYGPATH_W) '$(srcdir)/mathlib/vector.cc'; fi` 472 469 470 ini_parser.o: lib/ini_parser.cc 471 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ini_parser.o -MD -MP -MF "$(DEPDIR)/ini_parser.Tpo" -c -o ini_parser.o `test -f 'lib/ini_parser.cc' || echo '$(srcdir)/'`lib/ini_parser.cc; \ 472 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ini_parser.Tpo" "$(DEPDIR)/ini_parser.Po"; else rm -f "$(DEPDIR)/ini_parser.Tpo"; exit 1; fi 473 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ini_parser.cc' object='ini_parser.o' libtool=no @AMDEPBACKSLASH@ 474 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/ini_parser.Po' tmpdepfile='$(DEPDIR)/ini_parser.TPo' @AMDEPBACKSLASH@ 475 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 476 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ini_parser.o `test -f 'lib/ini_parser.cc' || echo '$(srcdir)/'`lib/ini_parser.cc 477 478 ini_parser.obj: lib/ini_parser.cc 479 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ini_parser.obj -MD -MP -MF "$(DEPDIR)/ini_parser.Tpo" -c -o ini_parser.obj `if test -f 'lib/ini_parser.cc'; then $(CYGPATH_W) 'lib/ini_parser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/ini_parser.cc'; fi`; \ 480 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ini_parser.Tpo" "$(DEPDIR)/ini_parser.Po"; else rm -f "$(DEPDIR)/ini_parser.Tpo"; exit 1; fi 481 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ini_parser.cc' object='ini_parser.obj' libtool=no @AMDEPBACKSLASH@ 482 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/ini_parser.Po' tmpdepfile='$(DEPDIR)/ini_parser.TPo' @AMDEPBACKSLASH@ 483 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 484 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ini_parser.obj `if test -f 'lib/ini_parser.cc'; then $(CYGPATH_W) 'lib/ini_parser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/ini_parser.cc'; fi` 485 473 486 campaign.o: story_entities/campaign.cc 474 487 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT campaign.o -MD -MP -MF "$(DEPDIR)/campaign.Tpo" -c -o campaign.o `test -f 'story_entities/campaign.cc' || echo '$(srcdir)/'`story_entities/campaign.cc; \ … … 598 611 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 599 612 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.obj `if test -f 'importer/texture.cc'; then $(CYGPATH_W) 'importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/importer/texture.cc'; fi` 613 614 list.o: lib/list.cc 615 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT list.o -MD -MP -MF "$(DEPDIR)/list.Tpo" -c -o list.o `test -f 'lib/list.cc' || echo '$(srcdir)/'`lib/list.cc; \ 616 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/list.Tpo" "$(DEPDIR)/list.Po"; else rm -f "$(DEPDIR)/list.Tpo"; exit 1; fi 617 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/list.cc' object='list.o' libtool=no @AMDEPBACKSLASH@ 618 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/list.Po' tmpdepfile='$(DEPDIR)/list.TPo' @AMDEPBACKSLASH@ 619 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 620 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o list.o `test -f 'lib/list.cc' || echo '$(srcdir)/'`lib/list.cc 621 622 list.obj: lib/list.cc 623 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT list.obj -MD -MP -MF "$(DEPDIR)/list.Tpo" -c -o list.obj `if test -f 'lib/list.cc'; then $(CYGPATH_W) 'lib/list.cc'; else $(CYGPATH_W) '$(srcdir)/lib/list.cc'; fi`; \ 624 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/list.Tpo" "$(DEPDIR)/list.Po"; else rm -f "$(DEPDIR)/list.Tpo"; exit 1; fi 625 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/list.cc' object='list.obj' libtool=no @AMDEPBACKSLASH@ 626 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/list.Po' tmpdepfile='$(DEPDIR)/list.TPo' @AMDEPBACKSLASH@ 627 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 628 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o list.obj `if test -f 'lib/list.cc'; then $(CYGPATH_W) 'lib/list.cc'; else $(CYGPATH_W) '$(srcdir)/lib/list.cc'; fi` 600 629 601 630 matrix.o: mathlib/matrix.cc … … 769 798 770 799 distdir: $(DISTFILES) 771 $(mkdir_p) $(distdir)/ mathlib $(distdir)/sfont $(distdir)/story_entities $(distdir)/world_entities800 $(mkdir_p) $(distdir)/lib $(distdir)/mathlib $(distdir)/sfont $(distdir)/story_entities $(distdir)/world_entities 772 801 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 773 802 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ -
orxonox/trunk/src/collision.h
r3237 r3474 8 8 9 9 #include "vector.h" 10 #include "coordinates.h"11 10 #include <stdlib.h> 12 11 #include <stdio.h> -
orxonox/trunk/src/world.cc
r3462 r3474 17 17 #include "world.h" 18 18 #include "world_entity.h" 19 #include "collision.h"20 19 #include "track_manager.h" 21 20 #include "player.h" -
orxonox/trunk/src/world_entities/player.cc
r3471 r3474 18 18 #include "player.h" 19 19 #include "stdincl.h" 20 #include "collision.h"20 //#include "collision.h" 21 21 #include "importer/objModel.h" 22 22 … … 76 76 bFire = false; 77 77 acceleration = 10.0; 78 setCollision(new CollisionCluster(1.0, Vector(0,0,0)));78 //setCollision(new CollisionCluster(1.0, Vector(0,0,0))); 79 79 } 80 80 -
orxonox/trunk/src/world_entities/world_entity.cc
r3472 r3474 20 20 #include "world_entity.h" 21 21 #include "stdincl.h" 22 #include "collision.h"22 //#include "collision.h" 23 23 24 24 using namespace std; … … 38 38 this->setClassName ("WorldEntity"); 39 39 this->bDraw = true; 40 collisioncluster = NULL;40 // collisioncluster = NULL; 41 41 } 42 42 … … 46 46 WorldEntity::~WorldEntity () 47 47 { 48 if( collisioncluster != NULL) delete collisioncluster;48 // if( collisioncluster != NULL) delete collisioncluster; 49 49 } 50 50 … … 85 85 Any previously assigned collision hull will be deleted on reassignment 86 86 */ 87 /* 87 88 void WorldEntity::setCollision (CollisionCluster* newhull) 88 89 { … … 91 92 collisioncluster = newhull; 92 93 } 93 94 */ 94 95 95 96 /** -
orxonox/trunk/src/world_entities/world_entity.h
r3472 r3474 10 10 #include "p_node.h" 11 11 12 class CollisionCluster;12 //class CollisionCluster; 13 13 class OBJModel; 14 14 … … 24 24 OBJModel* model; //!< The model that should be loaded for this entity. 25 25 26 void setCollision (CollisionCluster* newhull);26 //void setCollision (CollisionCluster* newhull); 27 27 28 28 bool isFree (); … … 49 49 bool bDraw; //!< If it should be visible. 50 50 51 CollisionCluster* collisioncluster; //!< The collision-Cluster of this entity.51 //CollisionCluster* collisioncluster; //!< The collision-Cluster of this entity. 52 52 }; 53 53
Note: See TracChangeset
for help on using the changeset viewer.