Changeset 3678 in orxonox.OLD for orxonox/trunk/src
- Timestamp:
- Mar 30, 2005, 6:55:15 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 2 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/Makefile.am
r3657 r3678 44 44 world_entities/skysphere.cc \ 45 45 world_entities/terrain.cc \ 46 world_entities/primitive.cc \47 46 world_entities/weapon.cc \ 48 47 world_entities/projectile.cc \ … … 95 94 world_entities/power_up.h \ 96 95 world_entities/terrain.h \ 97 world_entities/primitive.h \98 96 world_entities/weapon.h \ 99 97 world_entities/projectile.h \ -
orxonox/trunk/src/Makefile.in
r3657 r3678 59 59 story_entity.$(OBJEXT) campaign.$(OBJEXT) world.$(OBJEXT) \ 60 60 world_entity.$(OBJEXT) player.$(OBJEXT) environment.$(OBJEXT) \ 61 skysphere.$(OBJEXT) terrain.$(OBJEXT) primitive.$(OBJEXT) \62 weapon.$(OBJEXT) projectile.$(OBJEXT) \63 character_attributes.$(OBJEXT) test_gun.$(OBJEXT) ai.$(OBJEXT) \64 p_node.$(OBJEXT)null_parent.$(OBJEXT) helper_parent.$(OBJEXT) \61 skysphere.$(OBJEXT) terrain.$(OBJEXT) weapon.$(OBJEXT) \ 62 projectile.$(OBJEXT) character_attributes.$(OBJEXT) \ 63 test_gun.$(OBJEXT) ai.$(OBJEXT) p_node.$(OBJEXT) \ 64 null_parent.$(OBJEXT) helper_parent.$(OBJEXT) \ 65 65 data_tank.$(OBJEXT) graphics_engine.$(OBJEXT) light.$(OBJEXT) \ 66 66 fontset.$(OBJEXT) array.$(OBJEXT) objModel.$(OBJEXT) \ … … 92 92 @AMDEP_TRUE@ ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \ 93 93 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/p_node.Po \ 94 @AMDEP_TRUE@ ./$(DEPDIR)/player.Po ./$(DEPDIR)/primitive.Po\94 @AMDEP_TRUE@ ./$(DEPDIR)/player.Po \ 95 95 @AMDEP_TRUE@ ./$(DEPDIR)/primitive_model.Po \ 96 96 @AMDEP_TRUE@ ./$(DEPDIR)/projectile.Po \ … … 250 250 world_entities/skysphere.cc \ 251 251 world_entities/terrain.cc \ 252 world_entities/primitive.cc \253 252 world_entities/weapon.cc \ 254 253 world_entities/projectile.cc \ … … 301 300 world_entities/power_up.h \ 302 301 world_entities/terrain.h \ 303 world_entities/primitive.h \304 302 world_entities/weapon.h \ 305 303 world_entities/projectile.h \ … … 435 433 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_node.Po@am__quote@ 436 434 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@ 437 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primitive.Po@am__quote@438 435 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primitive_model.Po@am__quote@ 439 436 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/projectile.Po@am__quote@ … … 595 592 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 596 593 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o terrain.obj `if test -f 'world_entities/terrain.cc'; then $(CYGPATH_W) 'world_entities/terrain.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/terrain.cc'; fi` 597 598 primitive.o: world_entities/primitive.cc599 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primitive.o -MD -MP -MF "$(DEPDIR)/primitive.Tpo" -c -o primitive.o `test -f 'world_entities/primitive.cc' || echo '$(srcdir)/'`world_entities/primitive.cc; \600 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive.Tpo" "$(DEPDIR)/primitive.Po"; else rm -f "$(DEPDIR)/primitive.Tpo"; exit 1; fi601 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/primitive.cc' object='primitive.o' libtool=no @AMDEPBACKSLASH@602 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive.Po' tmpdepfile='$(DEPDIR)/primitive.TPo' @AMDEPBACKSLASH@603 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@604 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive.o `test -f 'world_entities/primitive.cc' || echo '$(srcdir)/'`world_entities/primitive.cc605 606 primitive.obj: world_entities/primitive.cc607 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primitive.obj -MD -MP -MF "$(DEPDIR)/primitive.Tpo" -c -o primitive.obj `if test -f 'world_entities/primitive.cc'; then $(CYGPATH_W) 'world_entities/primitive.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/primitive.cc'; fi`; \608 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive.Tpo" "$(DEPDIR)/primitive.Po"; else rm -f "$(DEPDIR)/primitive.Tpo"; exit 1; fi609 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/primitive.cc' object='primitive.obj' libtool=no @AMDEPBACKSLASH@610 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive.Po' tmpdepfile='$(DEPDIR)/primitive.TPo' @AMDEPBACKSLASH@611 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@612 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive.obj `if test -f 'world_entities/primitive.cc'; then $(CYGPATH_W) 'world_entities/primitive.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/primitive.cc'; fi`613 594 614 595 weapon.o: world_entities/weapon.cc -
orxonox/trunk/src/glmenu/glmenu_imagescreen.cc
r3677 r3678 41 41 { 42 42 this->setClassName ("GLMenuImageScreen"); 43 this-> backMat = NULL;43 this->init(); 44 44 } 45 45 -
orxonox/trunk/src/orxonox.cc
r3676 r3678 341 341 #include "player.h" 342 342 #include "base_object.h" 343 #include "primitive.h"344 343 #include <asm/msr.h> 345 344 #include <linux/timex.h> … … 397 396 printf(" Generate a WorldEntity object:\t\t%11.2f\n", mi); 398 397 399 mittel = 0; 400 for(i = 0; i < ITERATIONS; ++i) 401 { 402 rdtscl(ini); 403 404 WorldEntity* w = new Primitive(P_SPHERE); 405 406 rdtscl(end); 407 delete w; 408 mittel += (end - ini - dt); 409 } 410 mi = mittel / (float)ITERATIONS; 411 printf(" Generate a Primitive object:\t\t%11.2f\n", mi); 412 398 /* 399 mittel = 0; 400 for(i = 0; i < ITERATIONS; ++i) 401 { 402 rdtscl(ini); 403 404 WorldEntity* w = new Primitive(P_SPHERE); 405 406 rdtscl(end); 407 delete w; 408 mittel += (end - ini - dt); 409 } 410 mi = mittel / (float)ITERATIONS; 411 printf(" Generate a Primitive object:\t\t%11.2f\n", mi); 412 */ 413 413 414 414 mittel = 0; … … 500 500 501 501 502 503 504 505 506 { 507 508 509 510 511 512 513 } 514 515 516 502 /* 503 mittel = 0; 504 w = new Primitive(P_SPHERE); 505 for(i = 0; i < ITERATIONS; ++i) 506 { 507 rdtscl(ini); 508 509 w->tick(0.0f); 510 511 rdtscl(end); 512 mittel += (end - ini - dt); 513 } 514 mi = mittel / (float)ITERATIONS; 515 printf(" Call function tick() of Prim:\t\t%11.2f\n", mi); 516 */ 517 517 518 518 } -
orxonox/trunk/src/story_entities/world.cc
r3677 r3678 29 29 #include "camera.h" 30 30 #include "environment.h" 31 #include "primitive.h"32 31 #include "skysphere.h" 33 32 #include "terrain.h" … … 388 387 Vector* es = new Vector (20, 0, 0); 389 388 Quaternion* qs = new Quaternion (); 390 WorldEntity* pr = new Primitive(P_SPHERE);391 pr->setName("primitive");392 this->spawn(pr, this->localPlayer, es, qs, PNODE_ROTATE_AND_MOVE);393 389 394 390 lightMan->getLight(0)->setParent(trackManager->getTrackNode()); -
orxonox/trunk/src/world_entities/projectile.cc
r3676 r3678 21 21 #include "world_entity.h" 22 22 #include "null_parent.h" 23 #include "objModel.h" 24 #include "primitive.h" 23 #include "model.h" 25 24 #include "vector.h" 26 25
Note: See TracChangeset
for help on using the changeset viewer.