Changeset 4245 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 20, 2005, 11:28:43 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 9 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/Makefile.am
r4220 r4245 45 45 util/animation/animation3d.cc \ 46 46 util/animation/animation_player.cc \ 47 util/object_manager.cc \ 47 48 garbage_collector.cc \ 48 49 story_entities/story_entity.cc \ … … 61 62 world_entities/test_gun.cc \ 62 63 world_entities/test_bullet.cc \ 64 world_entities/test_entity.cc \ 63 65 ai/ai.cc \ 64 66 lib/coord/p_node.cc \ … … 71 73 lib/graphics/importer/array.cc \ 72 74 lib/graphics/importer/objModel.cc \ 75 lib/graphics/importer/md2Model.cc \ 73 76 lib/graphics/importer/primitive_model.cc \ 74 77 lib/graphics/importer/model.cc \ … … 107 110 util/animation/animation3d.h \ 108 111 util/animation/animation_player.h \ 112 util/object_manager.h \ 109 113 garbage_collector.h \ 110 114 story_entities/story_entity.h \ … … 126 130 world_entities/test_gun.h \ 127 131 world_entities/test_bullet.h \ 132 world_entities/test_entity.h \ 128 133 ai/ai.h \ 129 134 network/synchronisable.h \ … … 141 146 lib/graphics/light.h \ 142 147 lib/graphics/text_engine.h \ 148 lib/graphics/importer/array.h \ 149 lib/graphics/importer/abstract_model.h \ 150 lib/graphics/importer/objModel.h \ 151 lib/graphics/importer/md2Model.h \ 152 lib/graphics/importer/primitive_model.h \ 153 lib/graphics/importer/model.h \ 154 lib/graphics/importer/material.h \ 155 lib/graphics/importer/texture.h \ 143 156 lib/graphics/particles/particle_engine.h \ 144 157 lib/graphics/particles/particle_system.h \ -
orxonox/trunk/src/Makefile.in
r4220 r4245 73 73 track_manager.$(OBJEXT) track_node.$(OBJEXT) factory.$(OBJEXT) \ 74 74 animation.$(OBJEXT) animation3d.$(OBJEXT) \ 75 animation_player.$(OBJEXT) garbage_collector.$(OBJEXT) \ 76 story_entity.$(OBJEXT) campaign.$(OBJEXT) world.$(OBJEXT) \ 77 world_entity.$(OBJEXT) player.$(OBJEXT) environment.$(OBJEXT) \ 78 skysphere.$(OBJEXT) skybox.$(OBJEXT) terrain.$(OBJEXT) \ 79 weapon.$(OBJEXT) projectile.$(OBJEXT) satellite.$(OBJEXT) \ 75 animation_player.$(OBJEXT) object_manager.$(OBJEXT) \ 76 garbage_collector.$(OBJEXT) story_entity.$(OBJEXT) \ 77 campaign.$(OBJEXT) world.$(OBJEXT) world_entity.$(OBJEXT) \ 78 player.$(OBJEXT) environment.$(OBJEXT) skysphere.$(OBJEXT) \ 79 skybox.$(OBJEXT) terrain.$(OBJEXT) weapon.$(OBJEXT) \ 80 projectile.$(OBJEXT) satellite.$(OBJEXT) \ 80 81 character_attributes.$(OBJEXT) test_gun.$(OBJEXT) \ 81 test_bullet.$(OBJEXT) ai.$(OBJEXT) p_node.$(OBJEXT) \82 null_parent.$(OBJEXT) helper_parent.$(OBJEXT) \82 test_bullet.$(OBJEXT) test_entity.$(OBJEXT) ai.$(OBJEXT) \ 83 p_node.$(OBJEXT) null_parent.$(OBJEXT) helper_parent.$(OBJEXT) \ 83 84 data_tank.$(OBJEXT) graphics_engine.$(OBJEXT) light.$(OBJEXT) \ 84 85 text_engine.$(OBJEXT) array.$(OBJEXT) objModel.$(OBJEXT) \ 85 primitive_model.$(OBJEXT) model.$(OBJEXT) material.$(OBJEXT) \86 texture.$(OBJEXT) particle_engine.$(OBJEXT) \86 md2Model.$(OBJEXT) primitive_model.$(OBJEXT) model.$(OBJEXT) \ 87 material.$(OBJEXT) texture.$(OBJEXT) particle_engine.$(OBJEXT) \ 87 88 particle_system.$(OBJEXT) particle_emitter.$(OBJEXT) \ 88 89 base_entity.$(OBJEXT) base_object.$(OBJEXT) \ … … 125 126 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_video.Po \ 126 127 @AMDEP_TRUE@ ./$(DEPDIR)/light.Po ./$(DEPDIR)/list.Po \ 127 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/model.Po \ 128 @AMDEP_TRUE@ ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \ 128 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/md2Model.Po \ 129 @AMDEP_TRUE@ ./$(DEPDIR)/model.Po ./$(DEPDIR)/null_parent.Po \ 130 @AMDEP_TRUE@ ./$(DEPDIR)/objModel.Po \ 131 @AMDEP_TRUE@ ./$(DEPDIR)/object_manager.Po \ 129 132 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/p_node.Po \ 130 133 @AMDEP_TRUE@ ./$(DEPDIR)/particle_emitter.Po \ … … 139 142 @AMDEP_TRUE@ ./$(DEPDIR)/story_entity.Po \ 140 143 @AMDEP_TRUE@ ./$(DEPDIR)/substring.Po ./$(DEPDIR)/terrain.Po \ 141 @AMDEP_TRUE@ ./$(DEPDIR)/test_bullet.Po ./$(DEPDIR)/test_gun.Po \ 144 @AMDEP_TRUE@ ./$(DEPDIR)/test_bullet.Po \ 145 @AMDEP_TRUE@ ./$(DEPDIR)/test_entity.Po ./$(DEPDIR)/test_gun.Po \ 142 146 @AMDEP_TRUE@ ./$(DEPDIR)/text_engine.Po ./$(DEPDIR)/texture.Po \ 143 147 @AMDEP_TRUE@ ./$(DEPDIR)/tinystr.Po ./$(DEPDIR)/tinyxml.Po \ … … 290 294 util/animation/animation3d.cc \ 291 295 util/animation/animation_player.cc \ 296 util/object_manager.cc \ 292 297 garbage_collector.cc \ 293 298 story_entities/story_entity.cc \ … … 306 311 world_entities/test_gun.cc \ 307 312 world_entities/test_bullet.cc \ 313 world_entities/test_entity.cc \ 308 314 ai/ai.cc \ 309 315 lib/coord/p_node.cc \ … … 316 322 lib/graphics/importer/array.cc \ 317 323 lib/graphics/importer/objModel.cc \ 324 lib/graphics/importer/md2Model.cc \ 318 325 lib/graphics/importer/primitive_model.cc \ 319 326 lib/graphics/importer/model.cc \ … … 352 359 util/animation/animation3d.h \ 353 360 util/animation/animation_player.h \ 361 util/object_manager.h \ 354 362 garbage_collector.h \ 355 363 story_entities/story_entity.h \ … … 371 379 world_entities/test_gun.h \ 372 380 world_entities/test_bullet.h \ 381 world_entities/test_entity.h \ 373 382 ai/ai.h \ 374 383 network/synchronisable.h \ … … 386 395 lib/graphics/light.h \ 387 396 lib/graphics/text_engine.h \ 397 lib/graphics/importer/array.h \ 398 lib/graphics/importer/abstract_model.h \ 399 lib/graphics/importer/objModel.h \ 400 lib/graphics/importer/md2Model.h \ 401 lib/graphics/importer/primitive_model.h \ 402 lib/graphics/importer/model.h \ 403 lib/graphics/importer/material.h \ 404 lib/graphics/importer/texture.h \ 388 405 lib/graphics/particles/particle_engine.h \ 389 406 lib/graphics/particles/particle_system.h \ … … 546 563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ 547 564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/material.Po@am__quote@ 565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md2Model.Po@am__quote@ 548 566 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/model.Po@am__quote@ 549 567 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/null_parent.Po@am__quote@ 550 568 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/objModel.Po@am__quote@ 569 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object_manager.Po@am__quote@ 551 570 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox.Po@am__quote@ 552 571 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_node.Po@am__quote@ … … 565 584 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/terrain.Po@am__quote@ 566 585 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_bullet.Po@am__quote@ 586 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_entity.Po@am__quote@ 567 587 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_gun.Po@am__quote@ 568 588 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text_engine.Po@am__quote@ … … 819 839 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation_player.obj `if test -f 'util/animation/animation_player.cc'; then $(CYGPATH_W) 'util/animation/animation_player.cc'; else $(CYGPATH_W) '$(srcdir)/util/animation/animation_player.cc'; fi` 820 840 841 object_manager.o: util/object_manager.cc 842 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT object_manager.o -MD -MP -MF "$(DEPDIR)/object_manager.Tpo" -c -o object_manager.o `test -f 'util/object_manager.cc' || echo '$(srcdir)/'`util/object_manager.cc; \ 843 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/object_manager.Tpo" "$(DEPDIR)/object_manager.Po"; else rm -f "$(DEPDIR)/object_manager.Tpo"; exit 1; fi 844 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/object_manager.cc' object='object_manager.o' libtool=no @AMDEPBACKSLASH@ 845 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/object_manager.Po' tmpdepfile='$(DEPDIR)/object_manager.TPo' @AMDEPBACKSLASH@ 846 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 847 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o object_manager.o `test -f 'util/object_manager.cc' || echo '$(srcdir)/'`util/object_manager.cc 848 849 object_manager.obj: util/object_manager.cc 850 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT object_manager.obj -MD -MP -MF "$(DEPDIR)/object_manager.Tpo" -c -o object_manager.obj `if test -f 'util/object_manager.cc'; then $(CYGPATH_W) 'util/object_manager.cc'; else $(CYGPATH_W) '$(srcdir)/util/object_manager.cc'; fi`; \ 851 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/object_manager.Tpo" "$(DEPDIR)/object_manager.Po"; else rm -f "$(DEPDIR)/object_manager.Tpo"; exit 1; fi 852 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/object_manager.cc' object='object_manager.obj' libtool=no @AMDEPBACKSLASH@ 853 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/object_manager.Po' tmpdepfile='$(DEPDIR)/object_manager.TPo' @AMDEPBACKSLASH@ 854 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 855 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o object_manager.obj `if test -f 'util/object_manager.cc'; then $(CYGPATH_W) 'util/object_manager.cc'; else $(CYGPATH_W) '$(srcdir)/util/object_manager.cc'; fi` 856 821 857 story_entity.o: story_entities/story_entity.cc 822 858 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT story_entity.o -MD -MP -MF "$(DEPDIR)/story_entity.Tpo" -c -o story_entity.o `test -f 'story_entities/story_entity.cc' || echo '$(srcdir)/'`story_entities/story_entity.cc; \ … … 1059 1095 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_bullet.obj `if test -f 'world_entities/test_bullet.cc'; then $(CYGPATH_W) 'world_entities/test_bullet.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/test_bullet.cc'; fi` 1060 1096 1097 test_entity.o: world_entities/test_entity.cc 1098 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_entity.o -MD -MP -MF "$(DEPDIR)/test_entity.Tpo" -c -o test_entity.o `test -f 'world_entities/test_entity.cc' || echo '$(srcdir)/'`world_entities/test_entity.cc; \ 1099 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/test_entity.Tpo" "$(DEPDIR)/test_entity.Po"; else rm -f "$(DEPDIR)/test_entity.Tpo"; exit 1; fi 1100 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/test_entity.cc' object='test_entity.o' libtool=no @AMDEPBACKSLASH@ 1101 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/test_entity.Po' tmpdepfile='$(DEPDIR)/test_entity.TPo' @AMDEPBACKSLASH@ 1102 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1103 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_entity.o `test -f 'world_entities/test_entity.cc' || echo '$(srcdir)/'`world_entities/test_entity.cc 1104 1105 test_entity.obj: world_entities/test_entity.cc 1106 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT test_entity.obj -MD -MP -MF "$(DEPDIR)/test_entity.Tpo" -c -o test_entity.obj `if test -f 'world_entities/test_entity.cc'; then $(CYGPATH_W) 'world_entities/test_entity.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/test_entity.cc'; fi`; \ 1107 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/test_entity.Tpo" "$(DEPDIR)/test_entity.Po"; else rm -f "$(DEPDIR)/test_entity.Tpo"; exit 1; fi 1108 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/test_entity.cc' object='test_entity.obj' libtool=no @AMDEPBACKSLASH@ 1109 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/test_entity.Po' tmpdepfile='$(DEPDIR)/test_entity.TPo' @AMDEPBACKSLASH@ 1110 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1111 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_entity.obj `if test -f 'world_entities/test_entity.cc'; then $(CYGPATH_W) 'world_entities/test_entity.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/test_entity.cc'; fi` 1112 1061 1113 ai.o: ai/ai.cc 1062 1114 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT ai.o -MD -MP -MF "$(DEPDIR)/ai.Tpo" -c -o ai.o `test -f 'ai/ai.cc' || echo '$(srcdir)/'`ai/ai.cc; \ … … 1218 1270 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1219 1271 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.obj `if test -f 'lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) 'lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/objModel.cc'; fi` 1272 1273 md2Model.o: lib/graphics/importer/md2Model.cc 1274 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT md2Model.o -MD -MP -MF "$(DEPDIR)/md2Model.Tpo" -c -o md2Model.o `test -f 'lib/graphics/importer/md2Model.cc' || echo '$(srcdir)/'`lib/graphics/importer/md2Model.cc; \ 1275 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/md2Model.Tpo" "$(DEPDIR)/md2Model.Po"; else rm -f "$(DEPDIR)/md2Model.Tpo"; exit 1; fi 1276 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/md2Model.cc' object='md2Model.o' libtool=no @AMDEPBACKSLASH@ 1277 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/md2Model.Po' tmpdepfile='$(DEPDIR)/md2Model.TPo' @AMDEPBACKSLASH@ 1278 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1279 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o md2Model.o `test -f 'lib/graphics/importer/md2Model.cc' || echo '$(srcdir)/'`lib/graphics/importer/md2Model.cc 1280 1281 md2Model.obj: lib/graphics/importer/md2Model.cc 1282 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT md2Model.obj -MD -MP -MF "$(DEPDIR)/md2Model.Tpo" -c -o md2Model.obj `if test -f 'lib/graphics/importer/md2Model.cc'; then $(CYGPATH_W) 'lib/graphics/importer/md2Model.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/md2Model.cc'; fi`; \ 1283 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/md2Model.Tpo" "$(DEPDIR)/md2Model.Po"; else rm -f "$(DEPDIR)/md2Model.Tpo"; exit 1; fi 1284 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/md2Model.cc' object='md2Model.obj' libtool=no @AMDEPBACKSLASH@ 1285 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/md2Model.Po' tmpdepfile='$(DEPDIR)/md2Model.TPo' @AMDEPBACKSLASH@ 1286 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1287 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o md2Model.obj `if test -f 'lib/graphics/importer/md2Model.cc'; then $(CYGPATH_W) 'lib/graphics/importer/md2Model.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/md2Model.cc'; fi` 1220 1288 1221 1289 primitive_model.o: lib/graphics/importer/primitive_model.cc … … 1677 1745 1678 1746 distdir: $(DISTFILES) 1679 $(mkdir_p) $(distdir)/ai $(distdir)/defs $(distdir)/glmenu $(distdir)/lib/coord $(distdir)/lib/data $(distdir)/lib/graphics $(distdir)/lib/graphics/ particles $(distdir)/lib/gui/gui $(distdir)/lib/lang $(distdir)/lib/math $(distdir)/lib/util $(distdir)/network $(distdir)/proto $(distdir)/story_entities $(distdir)/subprojects $(distdir)/util $(distdir)/util/animation $(distdir)/util/common $(distdir)/world_entities1747 $(mkdir_p) $(distdir)/ai $(distdir)/defs $(distdir)/glmenu $(distdir)/lib/coord $(distdir)/lib/data $(distdir)/lib/graphics $(distdir)/lib/graphics/importer $(distdir)/lib/graphics/particles $(distdir)/lib/gui/gui $(distdir)/lib/lang $(distdir)/lib/math $(distdir)/lib/util $(distdir)/network $(distdir)/proto $(distdir)/story_entities $(distdir)/subprojects $(distdir)/util $(distdir)/util/animation $(distdir)/util/common $(distdir)/world_entities 1680 1748 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 1681 1749 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ -
orxonox/trunk/src/lib/graphics/graphics_engine.cc
r4135 r4245 20 20 21 21 #include "debug.h" 22 #include "text_engine.h" 22 23 23 24 using namespace std; … … 30 31 GraphicsEngine::GraphicsEngine () 31 32 { 33 this->bDisplayFPS = false; 34 this->minFPS = 9999; 35 this->maxFPS = 0; 32 36 this->setClassName ("GraphicsEngine"); 33 37 … … 278 282 PRINT(4)(" | %d x %d\n", this->videoModes[i]->w, this->videoModes[i]->h); 279 283 } 280 281 } 284 } 285 286 287 void GraphicsEngine::tick(float dt) 288 { 289 if( unlikely(this->bDisplayFPS)) 290 { 291 this->currentFPS = 1.0/dt; 292 if( unlikely(this->currentFPS > this->maxFPS)) this->maxFPS = this->currentFPS; 293 if( unlikely(this->currentFPS < this->minFPS)) this->minFPS = this->currentFPS; 294 295 char tmpChar1[20]; 296 sprintf(tmpChar1, "Current: %4.0f", this->currentFPS); 297 this->geTextCFPS->setText(tmpChar1); 298 char tmpChar2[20]; 299 sprintf(tmpChar2, "Max: %4.0f", this->maxFPS); 300 this->geTextMaxFPS->setText(tmpChar2); 301 char tmpChar3[20]; 302 sprintf(tmpChar3, "Min: %4.0f", this->minFPS); 303 this->geTextMinFPS->setText(tmpChar3); 304 } 305 } 306 307 void GraphicsEngine::displayFPS(bool display) 308 { 309 if( display) 310 { 311 this->geTextCFPS = TextEngine::getInstance()->createText("fonts/druid.ttf", 35, TEXT_DYNAMIC, 0, 255, 0); 312 this->geTextCFPS->setAlignment(TEXT_ALIGN_LEFT); 313 this->geTextCFPS->setPosition(5, 500); 314 this->geTextMaxFPS = TextEngine::getInstance()->createText("fonts/druid.ttf", 35, TEXT_DYNAMIC, 0, 255, 0); 315 this->geTextMaxFPS->setAlignment(TEXT_ALIGN_LEFT); 316 this->geTextMaxFPS->setPosition(5, 530); 317 this->geTextMinFPS = TextEngine::getInstance()->createText("fonts/druid.ttf", 35, TEXT_DYNAMIC, 0, 255, 0); 318 this->geTextMinFPS->setAlignment(TEXT_ALIGN_LEFT); 319 this->geTextMinFPS->setPosition(5, 560); 320 } 321 this->bDisplayFPS = display; 322 } 323 324 -
orxonox/trunk/src/lib/graphics/graphics_engine.h
r4135 r4245 11 11 12 12 #include "glincl.h" 13 14 13 #include "base_object.h" 15 14 16 // FORWARD DEFINITION \\ 15 16 class Text; 17 17 18 18 … … 45 45 static GLdouble projMat[16]; 46 46 static GLint viewPort[4]; 47 47 48 void tick(float dt); 49 void displayFPS(bool display); 48 50 49 51 … … 59 61 bool fullscreen; 60 62 Uint32 videoFlags; 63 64 bool bDisplayFPS; //!< is true if the fps should be displayed 65 float currentFPS; //!< the current frame rate: frames per seconds 66 float maxFPS; //!< maximal frame rate we ever got since start of the game 67 float minFPS; //!< minimal frame rate we ever got since start 68 69 Text* geTextCFPS; 70 Text* geTextMaxFPS; 71 Text* geTextMinFPS; 61 72 62 73 SDL_Rect **videoModes; -
orxonox/trunk/src/story_entities/world.cc
r4228 r4245 33 33 #include "skybox.h" 34 34 #include "satellite.h" 35 #include "test_entity.h" 35 36 #include "terrain.h" 36 37 #include "light.h" … … 41 42 #include "animation_player.h" 42 43 #include "particle_engine.h" 44 #include "graphics_engine.h" 43 45 44 46 #include "command_node.h" … … 50 52 51 53 #include "substring.h" 54 55 52 56 53 57 using namespace std; … … 199 203 200 204 delete WorldInterface::getInstance(); 201 202 205 delete this->nullParent; 203 206 delete this->entities; … … 206 209 delete this->particleEngine; 207 210 TextEngine::getInstance()->flush(); 208 209 211 delete AnimationPlayer::getInstance(); // this should be at the end of the unloading sequence. 210 212 //delete garbagecollecor … … 258 260 this->localCamera = new Camera(); 259 261 this->localCamera->setName ("camera"); 262 263 GraphicsEngine::getInstance()->displayFPS(true); 260 264 } 261 265 … … 388 392 this->localPlayer->addChild (this->localCamera); 389 393 394 390 395 lightMan->setAmbientColor(.1,.1,.1); 391 396 lightMan->addLight(); … … 395 400 // lightMan->setPosition(20, 10, -20); 396 401 // lightMan->setDiffuseColor(0,0,0); 397 lightMan->debug();402 //lightMan->debug(); 398 403 lightMan->setPosition(-5.0, 10.0, -40.0); 399 404 … … 416 421 glNewList (objectList, GL_COMPILE); 417 422 418 trackManager->drawGraph(.01); 419 trackManager->debug(2); 423 424 //trackManager->drawGraph(.01); 425 //trackManager->debug(2); 420 426 glEndList(); 421 427 … … 423 429 terrain->setRelCoor(Vector(0,-10,0)); 424 430 this->spawn(terrain); 431 425 432 426 433 … … 434 441 435 442 particleEngine->addConnection(emitter, system); 436 } 443 444 WorldEntity* testEntity = new TestEntity(); 445 //testEntity->setRelCoor(Vector(570, 10, -15)); 446 testEntity->setRelCoor(Vector(25, -10, -20)); 447 testEntity->setRelDir(Quaternion(M_PI, Vector(0, 1, 0))); 448 this->spawn(testEntity); 449 this->localPlayer->addChild(testEntity); 450 } 451 437 452 438 453 void World::loadDebugWorld(int worldID) … … 1136 1151 this->trackManager->tick(this->dt); 1137 1152 this->localCamera->tick(this->dt); 1153 AnimationPlayer::getInstance()->tick(this->dtS); 1154 1155 particleEngine->tick(this->dtS); 1138 1156 this->garbageCollector->tick(this->dtS); 1139 1140 AnimationPlayer::getInstance()->tick(this->dtS); 1141 particleEngine->tick(this->dtS); 1157 1158 /* actualy the Graphics Engine should tick the world not the other way around... 1159 but since we like the things not too complicated we got it this way around 1160 until there is need or time to do it the other way around. 1161 \todo: GraphicsEngine ticks world: separation of processes and data... 1162 */ 1163 GraphicsEngine::getInstance()->tick(this->dtS); 1142 1164 } 1143 1165 this->lastFrame = currentFrame;
Note: See TracChangeset
for help on using the changeset viewer.