Changeset 3276 in orxonox.OLD for orxonox/branches/parenting/src
- Timestamp:
- Dec 25, 2004, 12:54:57 AM (20 years ago)
- Location:
- orxonox/branches/parenting/src
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/parenting/src/Makefile.am
r3246 r3276 28 28 importer/material.cc \ 29 29 list.cc \ 30 p_node.cc 30 p_node.cc \ 31 null_parent.cc 31 32 32 33 noinst_HEADERS = ability.h \ … … 62 63 game_loader.h \ 63 64 campaign.h \ 64 p_node.h 65 p_node.h \ 66 null_parent.h 67 65 68 66 69 ## orxonox.conf will be used from home-dir instead. -
orxonox/branches/parenting/src/Makefile.in
r3246 r3276 60 60 campaign.$(OBJEXT) story_entity.$(OBJEXT) \ 61 61 environment.$(OBJEXT) object.$(OBJEXT) array.$(OBJEXT) \ 62 material.$(OBJEXT) list.$(OBJEXT) p_node.$(OBJEXT) 62 material.$(OBJEXT) list.$(OBJEXT) p_node.$(OBJEXT) \ 63 null_parent.$(OBJEXT) 63 64 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 64 65 orxonox_LDADD = $(LDADD) … … 75 76 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \ 76 77 @AMDEP_TRUE@ ./$(DEPDIR)/list.Po ./$(DEPDIR)/material.Po \ 77 @AMDEP_TRUE@ ./$(DEPDIR)/ object.Po ./$(DEPDIR)/orxonox.Po \78 @AMDEP_TRUE@ ./$(DEPDIR)/ p_node.Po ./$(DEPDIR)/player.Po \79 @AMDEP_TRUE@ ./$(DEPDIR)/ story_entity.Po ./$(DEPDIR)/track.Po \80 @AMDEP_TRUE@ ./$(DEPDIR)/ vector.Po ./$(DEPDIR)/world.Po \81 @AMDEP_TRUE@ ./$(DEPDIR)/world _entity.Po78 @AMDEP_TRUE@ ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/object.Po \ 79 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/p_node.Po \ 80 @AMDEP_TRUE@ ./$(DEPDIR)/player.Po ./$(DEPDIR)/story_entity.Po \ 81 @AMDEP_TRUE@ ./$(DEPDIR)/track.Po ./$(DEPDIR)/vector.Po \ 82 @AMDEP_TRUE@ ./$(DEPDIR)/world.Po ./$(DEPDIR)/world_entity.Po 82 83 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 83 84 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 218 219 importer/material.cc \ 219 220 list.cc \ 220 p_node.cc 221 p_node.cc \ 222 null_parent.cc 221 223 222 224 noinst_HEADERS = ability.h \ … … 252 254 game_loader.h \ 253 255 campaign.h \ 254 p_node.h 256 p_node.h \ 257 null_parent.h 255 258 256 259 EXTRA_DIST = orxonox.conf … … 343 346 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ 344 347 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/material.Po@am__quote@ 348 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/null_parent.Po@am__quote@ 345 349 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@ 346 350 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox.Po@am__quote@ -
orxonox/branches/parenting/src/p_node.cc
r3269 r3276 17 17 \todo Null-Parent => center of the coord system - singleton 18 18 \todo Smooth-Parent: delay, speed 19 \todo destroy the stuff again, delete... 19 20 */ 20 21 -
orxonox/branches/parenting/src/p_node.h
r3269 r3276 64 64 void debug (); 65 65 66 private:67 66 long timeStamp; //! this the timeStamp of when the abs{Coordinat, Direction} has been calculated 68 67 bool bAbsCoorChanged; -
orxonox/branches/parenting/src/world.cc
r3269 r3276 24 24 #include "environment.h" 25 25 #include "p_node.h" 26 #include "null_parent.h" 26 27 27 28 using namespace std; … … 81 82 82 83 /* this is only for test purposes */ 83 this->debug ();84 //this->debug (); 84 85 } 85 86 … … 145 146 // !\todo old track-system has to be removed 146 147 148 //this->nullParent = new NullParent (); 149 147 150 // create a player 148 151 WorldEntity* myPlayer = new Player(); … … 576 579 { 577 580 printf ("World::debug() - starting debug\n"); 578 PNode* p1 = new PNode();581 PNode* p1 = new NullParent (); 579 582 PNode* p2 = new PNode (new Vector(2, 2, 2), p1); 580 583 PNode* p3 = new PNode (new Vector(4, 4, 4), p1); 581 584 PNode* p4 = new PNode (new Vector(6, 6, 6), p2); 582 583 p1->setMode (ALL);584 585 //p1->addChild (p2);586 // p1->addChild (p3);587 //p2->addChild (p4);588 585 589 586 p1->debug (); -
orxonox/branches/parenting/src/world.h
r3236 r3276 15 15 class WorldEntity; 16 16 class Camera; 17 class PNode; 17 18 18 19 //! The game environment … … 75 76 76 77 WorldEntity* localPlayer; 77 78 79 PNode* nullParent; 80 78 81 void mainLoop (); 79 82 void synchronize ();
Note: See TracChangeset
for help on using the changeset viewer.