Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3678 in orxonox.OLD for orxonox/trunk/src


Ignore:
Timestamp:
Mar 30, 2005, 6:55:15 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: deleted class primitive, because model has the same ability now

Location:
orxonox/trunk/src
Files:
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/Makefile.am

    r3657 r3678  
    4444                 world_entities/skysphere.cc \
    4545                 world_entities/terrain.cc \
    46                  world_entities/primitive.cc \
    4746                 world_entities/weapon.cc \
    4847                 world_entities/projectile.cc \
     
    9594                 world_entities/power_up.h \
    9695                 world_entities/terrain.h \
    97                  world_entities/primitive.h \
    9896                 world_entities/weapon.h \
    9997                 world_entities/projectile.h \
  • orxonox/trunk/src/Makefile.in

    r3657 r3678  
    5959        story_entity.$(OBJEXT) campaign.$(OBJEXT) world.$(OBJEXT) \
    6060        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) \
    6565        data_tank.$(OBJEXT) graphics_engine.$(OBJEXT) light.$(OBJEXT) \
    6666        fontset.$(OBJEXT) array.$(OBJEXT) objModel.$(OBJEXT) \
     
    9292@AMDEP_TRUE@    ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \
    9393@AMDEP_TRUE@    ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/p_node.Po \
    94 @AMDEP_TRUE@    ./$(DEPDIR)/player.Po ./$(DEPDIR)/primitive.Po \
     94@AMDEP_TRUE@    ./$(DEPDIR)/player.Po \
    9595@AMDEP_TRUE@    ./$(DEPDIR)/primitive_model.Po \
    9696@AMDEP_TRUE@    ./$(DEPDIR)/projectile.Po \
     
    250250                 world_entities/skysphere.cc \
    251251                 world_entities/terrain.cc \
    252                  world_entities/primitive.cc \
    253252                 world_entities/weapon.cc \
    254253                 world_entities/projectile.cc \
     
    301300                 world_entities/power_up.h \
    302301                 world_entities/terrain.h \
    303                  world_entities/primitive.h \
    304302                 world_entities/weapon.h \
    305303                 world_entities/projectile.h \
     
    435433@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_node.Po@am__quote@
    436434@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@
    437 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primitive.Po@am__quote@
    438435@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primitive_model.Po@am__quote@
    439436@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/projectile.Po@am__quote@
     
    595592@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    596593@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.cc
    599 @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; fi
    601 @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.cc
    605 
    606 primitive.obj: world_entities/primitive.cc
    607 @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; fi
    609 @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`
    613594
    614595weapon.o: world_entities/weapon.cc
  • orxonox/trunk/src/glmenu/glmenu_imagescreen.cc

    r3677 r3678  
    4141{
    4242   this->setClassName ("GLMenuImageScreen");
    43    this->backMat = NULL;
     43   this->init();
    4444}
    4545
  • orxonox/trunk/src/orxonox.cc

    r3676 r3678  
    341341#include "player.h"
    342342#include "base_object.h"
    343 #include "primitive.h"
    344343#include <asm/msr.h>
    345344#include <linux/timex.h>
     
    397396      printf(" Generate a WorldEntity object:\t\t%11.2f\n", mi);
    398397     
    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      */
    413413
    414414      mittel = 0;
     
    500500 
    501501     
    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      
     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      */
    517517     
    518518    }
  • orxonox/trunk/src/story_entities/world.cc

    r3677 r3678  
    2929#include "camera.h"
    3030#include "environment.h"
    31 #include "primitive.h"
    3231#include "skysphere.h"
    3332#include "terrain.h"
     
    388387            Vector* es = new Vector (20, 0, 0);
    389388            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);
    393389
    394390            lightMan->getLight(0)->setParent(trackManager->getTrackNode());
  • orxonox/trunk/src/world_entities/projectile.cc

    r3676 r3678  
    2121#include "world_entity.h"
    2222#include "null_parent.h"
    23 #include "objModel.h"
    24 #include "primitive.h"
     23#include "model.h"
    2524#include "vector.h"
    2625
Note: See TracChangeset for help on using the changeset viewer.