Changeset 2795 in orxonox.OLD for orxonox/branches/importer/src
- Timestamp:
- Nov 10, 2004, 11:32:22 PM (20 years ago)
- Location:
- orxonox/branches/importer/src
- Files:
-
- 1 added
- 4 edited
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/importer/src/Makefile.am
r2636 r2795 6 6 7 7 bin_PROGRAMS=orxonox 8 orxonox_SOURCES=orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc 8 orxonox_SOURCES=orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc object.cc array.cc material.cc 9 9 10 noinst_HEADERS=ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h 10 noinst_HEADERS=ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h object.h array.h material.h 11 11 12 12 -
orxonox/branches/importer/src/Makefile.in
r2711 r2795 57 57 command_node.$(OBJEXT) ini_parser.$(OBJEXT) keynames.$(OBJEXT) \ 58 58 track.$(OBJEXT) base_entity.$(OBJEXT) game_loader.$(OBJEXT) \ 59 campaign.$(OBJEXT) story_entity.$(OBJEXT) 59 campaign.$(OBJEXT) story_entity.$(OBJEXT) object.$(OBJEXT) \ 60 array.$(OBJEXT) material.$(OBJEXT) 60 61 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 61 62 orxonox_LDADD = $(LDADD) … … 63 64 depcomp = $(SHELL) $(top_srcdir)/depcomp 64 65 am__depfiles_maybe = depfiles 65 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/ base_entity.Po \66 @AMDEP_TRUE@ ./$(DEPDIR)/ camera.Po ./$(DEPDIR)/campaign.Po \67 @AMDEP_TRUE@ ./$(DEPDIR)/c ollision.Po \66 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \ 67 @AMDEP_TRUE@ ./$(DEPDIR)/base_entity.Po ./$(DEPDIR)/camera.Po \ 68 @AMDEP_TRUE@ ./$(DEPDIR)/campaign.Po ./$(DEPDIR)/collision.Po \ 68 69 @AMDEP_TRUE@ ./$(DEPDIR)/command_node.Po \ 69 70 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po \ 70 71 @AMDEP_TRUE@ ./$(DEPDIR)/game_loader.Po \ 71 72 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \ 73 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/object.Po \ 72 74 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/player.Po \ 73 75 @AMDEP_TRUE@ ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/track.Po \ … … 163 165 AM_CXXFLAGS = "-I/usr/X11R6/include" 164 166 AM_LDFLAGS = "-L/usr/Mesa-6.0.1/lib -L/usr/X11R6/lib -lXt -lX11" $(MWINDOWS) 165 orxonox_SOURCES = orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc 166 noinst_HEADERS = ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h 167 orxonox_SOURCES = orxonox.cc world.cc player.cc data_tank.cc world_entity.cc vector.cc camera.cc collision.cc command_node.cc ini_parser.cc keynames.cc track.cc base_entity.cc game_loader.cc campaign.cc story_entity.cc object.cc array.cc material.cc 168 noinst_HEADERS = ability.h data_tank.h npc.h stdincl.h ai.h environment.h orxonox.h synchronisable.h base_entity.h error.h player.h track.h camera.h ini_parser.h power_up.h vector.h collision.h keynames.h proto_class.h world.h command_node.h list.h shoot_laser.h world_entity.h coordinates.h message_structures.h shoot_rocket.h object.h array.h material.h 167 169 all: all-am 168 170 … … 231 233 -rm -f *.tab.c 232 234 235 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 233 236 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_entity.Po@am__quote@ 234 237 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/camera.Po@am__quote@ … … 240 243 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ini_parser.Po@am__quote@ 241 244 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keynames.Po@am__quote@ 245 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/material.Po@am__quote@ 246 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/object.Po@am__quote@ 242 247 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox.Po@am__quote@ 243 248 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@ -
orxonox/branches/importer/src/player.cc
r2730 r2795 25 25 Player::Player(bool isFree) : WorldEntity(isFree) 26 26 { 27 28 obj = new Object ("reaphigh.obj"); 29 /* 27 30 objectList = glGenLists(1); 28 31 glNewList (objectList, GL_COMPILE); … … 48 51 49 52 glEndList (); 50 53 */ 51 54 } 52 55 … … 104 107 glMultMatrixf ((float*)matrix); 105 108 106 glCallList (objectList); 109 glMatrixMode (GL_MODELVIEW); 110 glRotatef (-90, 0,1,0); 111 obj->draw(); 112 // glCallList (objectList); 107 113 108 114 -
orxonox/branches/importer/src/player.h
r2730 r2795 8 8 9 9 #include "world_entity.h" 10 #include "object.h" 10 11 11 12 //! Basic controllable WorldEntity … … 37 38 float acceleration; 38 39 GLuint objectList; 40 Object* obj; 39 41 40 42 void move (float time);
Note: See TracChangeset
for help on using the changeset viewer.