Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5679 in orxonox.OLD for branches/world_entities


Ignore:
Timestamp:
Nov 21, 2005, 10:06:50 PM (19 years ago)
Author:
manuel
Message:

debug commit

Location:
branches/world_entities/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/world_entities/src/Makefile.am

    r5621 r5679  
    6262                  world_entities/weapons/test_gun.cc \
    6363                  world_entities/weapons/turret.cc \
     64                  world_entities/weapons/ground_turret.cc \
    6465                  world_entities/weapons/aiming_turret.cc \
    6566                  world_entities/weapons/cannon.cc \
  • branches/world_entities/src/Makefile.in

    r5621 r5679  
    6565        orxonox-weapon.$(OBJEXT) orxonox-projectile.$(OBJEXT) \
    6666        orxonox-test_gun.$(OBJEXT) orxonox-turret.$(OBJEXT) \
     67        orxonox-ground_turret.$(OBJEXT) \
    6768        orxonox-aiming_turret.$(OBJEXT) orxonox-cannon.$(OBJEXT) \
    6869        orxonox-test_bullet.$(OBJEXT) orxonox-rocket.$(OBJEXT) \
     
    258259                  world_entities/weapons/test_gun.cc \
    259260                  world_entities/weapons/turret.cc \
     261                  world_entities/weapons/ground_turret.cc \
    260262                  world_entities/weapons/aiming_turret.cc \
    261263                  world_entities/weapons/cannon.cc \
     
    412414@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox-crosshair.Po@am__quote@
    413415@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox-environment.Po@am__quote@
     416@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox-ground_turret.Po@am__quote@
    414417@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox-laser.Po@am__quote@
    415418@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox-laser_power_up.Po@am__quote@
     
    743746@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    744747@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(orxonox_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o orxonox-turret.obj `if test -f 'world_entities/weapons/turret.cc'; then $(CYGPATH_W) 'world_entities/weapons/turret.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/weapons/turret.cc'; fi`
     748
     749orxonox-ground_turret.o: world_entities/weapons/ground_turret.cc
     750@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(orxonox_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT orxonox-ground_turret.o -MD -MP -MF "$(DEPDIR)/orxonox-ground_turret.Tpo" -c -o orxonox-ground_turret.o `test -f 'world_entities/weapons/ground_turret.cc' || echo '$(srcdir)/'`world_entities/weapons/ground_turret.cc; \
     751@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/orxonox-ground_turret.Tpo" "$(DEPDIR)/orxonox-ground_turret.Po"; else rm -f "$(DEPDIR)/orxonox-ground_turret.Tpo"; exit 1; fi
     752@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/weapons/ground_turret.cc' object='orxonox-ground_turret.o' libtool=no @AMDEPBACKSLASH@
     753@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     754@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(orxonox_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o orxonox-ground_turret.o `test -f 'world_entities/weapons/ground_turret.cc' || echo '$(srcdir)/'`world_entities/weapons/ground_turret.cc
     755
     756orxonox-ground_turret.obj: world_entities/weapons/ground_turret.cc
     757@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(orxonox_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT orxonox-ground_turret.obj -MD -MP -MF "$(DEPDIR)/orxonox-ground_turret.Tpo" -c -o orxonox-ground_turret.obj `if test -f 'world_entities/weapons/ground_turret.cc'; then $(CYGPATH_W) 'world_entities/weapons/ground_turret.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/weapons/ground_turret.cc'; fi`; \
     758@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/orxonox-ground_turret.Tpo" "$(DEPDIR)/orxonox-ground_turret.Po"; else rm -f "$(DEPDIR)/orxonox-ground_turret.Tpo"; exit 1; fi
     759@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='world_entities/weapons/ground_turret.cc' object='orxonox-ground_turret.obj' libtool=no @AMDEPBACKSLASH@
     760@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     761@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(orxonox_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o orxonox-ground_turret.obj `if test -f 'world_entities/weapons/ground_turret.cc'; then $(CYGPATH_W) 'world_entities/weapons/ground_turret.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/weapons/ground_turret.cc'; fi`
    745762
    746763orxonox-aiming_turret.o: world_entities/weapons/aiming_turret.cc
  • branches/world_entities/src/defs/class_id.h

    r5621 r5679  
    142142  CL_LASER                      =    0x00000242,
    143143  CL_BOMB                       =    0x00000243,
    144 
     144  CL_GROUND_TURRET              =    0x00000244,
    145145
    146146  // gamePlay (range from 0x00000500 0x000005ff)
  • branches/world_entities/src/world_entities/Makefile.am

    r5463 r5679  
    2525                  weapons/rocket.cc \
    2626                  weapons/laser.cc \
     27                  weapons/ground_turret.cc \
    2728                  weapons/crosshair.cc \
    2829                  power_ups/power_up.cc \
  • branches/world_entities/src/world_entities/weapons/ground_turret.cc

    r5596 r5679  
    4646void GroundTurret::init()
    4747{
    48   this->setClassID(CL_PROTO_WORLD_ENTITY, "GroundTurret");
    49 
    50   /**
    51    * @todo: Write CL_PROTO_WORLD_ENTITY INTO THE src/defs/class_id.h (your own definition)
    52    */
     48  this->setClassID(CL_GROUND_TURRET, "GroundTurret");
    5349
    5450}
     
    6359{
    6460  // all the clases this Entity is directly derived from must be called in this way, to load all settings.
    65   static_cast<WorldEntity*>(this)->loadParam(root);
     61//  static_cast<WorldEntity*>(this)->loadParam(root);
    6662
    6763
     
    7672 * @param time the Time to step
    7773 */
    78 GroundTurret::tick(float time)
    79 {
    80 
    81 }
     74//GroundTurret::tick(float time)
     75//{
     76//
     77//}
    8278
    8379/**
     
    9894  glMultMatrixf((float*)matrix);
    9995
    100   if (model)
    101     model->draw();
     96//  if (model)
     97//    model->draw();
    10298  glPopMatrix();
    10399}
  • branches/world_entities/src/world_entities/weapons/ground_turret.h

    r5596 r5679  
    77#define _GROUND_TURRET_H
    88
    9 #include "world_entity.h"
     9#include "weapon.h"
    1010
    1111//! A Class to ...
    12 class GroundTurret : public WorldEntity
     12class GroundTurret : public Weapon
    1313{
    1414
    1515 public:
    16   ProtoWorldEntity(const TiXmlElement* root = NULL);
    17   virtual ~ProtoWorldEntity();
     16  GroundTurret(const TiXmlElement* root = NULL);
     17  virtual ~GroundTurret();
    1818
    1919  void loadParams(const TiXmlElement* root);
     
    2525
    2626  virtual void draw() const;
    27   virtual void tick(float time);
     27//  virtual void tick(float time);
    2828  virtual void collidesWith (WorldEntity* entity, const Vector& location);
    2929
Note: See TracChangeset for help on using the changeset viewer.