Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4739 in orxonox.OLD for orxonox/trunk/src/subprojects/importer


Ignore:
Timestamp:
Jun 30, 2005, 4:05:23 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: factory is now registered in Factory, not in Gameloader

Location:
orxonox/trunk/src/subprojects/importer
Files:
3 edited

Legend:

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

    r4653 r4739  
    2727                  $(MAINSRCDIR)/lib/coord/null_parent.cc \
    2828                  $(MAINSRCDIR)/util/loading/load_param.cc \
    29                   $(MAINSRCDIR)/lib/util/substring.cc
     29                  $(MAINSRCDIR)/lib/util/substring.cc \
     30                  $(MAINSRCDIR)/util/loading/factory.cc
  • orxonox/trunk/src/subprojects/importer/Makefile.in

    r4653 r4739  
    5959        importer-ini_parser.$(OBJEXT) importer-text_engine.$(OBJEXT) \
    6060        importer-p_node.$(OBJEXT) importer-null_parent.$(OBJEXT) \
    61         importer-load_param.$(OBJEXT) importer-substring.$(OBJEXT)
     61        importer-load_param.$(OBJEXT) importer-substring.$(OBJEXT) \
     62        importer-factory.$(OBJEXT)
    6263importer_OBJECTS = $(am_importer_OBJECTS)
    6364importer_DEPENDENCIES = $(MAINSRCDIR)/lib/event/libORXevent.a \
     
    7071@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/importer-base_object.Po \
    7172@AMDEP_TRUE@    ./$(DEPDIR)/importer-camera.Po \
     73@AMDEP_TRUE@    ./$(DEPDIR)/importer-factory.Po \
    7274@AMDEP_TRUE@    ./$(DEPDIR)/importer-framework.Po \
    7375@AMDEP_TRUE@    ./$(DEPDIR)/importer-graphics_engine.Po \
     
    223225                  $(MAINSRCDIR)/lib/coord/null_parent.cc \
    224226                  $(MAINSRCDIR)/util/loading/load_param.cc \
    225                   $(MAINSRCDIR)/lib/util/substring.cc
     227                  $(MAINSRCDIR)/lib/util/substring.cc \
     228                  $(MAINSRCDIR)/util/loading/factory.cc
    226229
    227230all: all-am
     
    293296@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/importer-base_object.Po@am__quote@
    294297@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/importer-camera.Po@am__quote@
     298@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/importer-factory.Po@am__quote@
    295299@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/importer-framework.Po@am__quote@
    296300@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/importer-graphics_engine.Po@am__quote@
     
    562566@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    563567@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(importer_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o importer-substring.obj `if test -f '$(MAINSRCDIR)/lib/util/substring.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/util/substring.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/util/substring.cc'; fi`
     568
     569importer-factory.o: $(MAINSRCDIR)/util/loading/factory.cc
     570@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(importer_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT importer-factory.o -MD -MP -MF "$(DEPDIR)/importer-factory.Tpo" -c -o importer-factory.o `test -f '$(MAINSRCDIR)/util/loading/factory.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/util/loading/factory.cc; \
     571@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/importer-factory.Tpo" "$(DEPDIR)/importer-factory.Po"; else rm -f "$(DEPDIR)/importer-factory.Tpo"; exit 1; fi
     572@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$(MAINSRCDIR)/util/loading/factory.cc' object='importer-factory.o' libtool=no @AMDEPBACKSLASH@
     573@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/importer-factory.Po' tmpdepfile='$(DEPDIR)/importer-factory.TPo' @AMDEPBACKSLASH@
     574@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     575@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(importer_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o importer-factory.o `test -f '$(MAINSRCDIR)/util/loading/factory.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/util/loading/factory.cc
     576
     577importer-factory.obj: $(MAINSRCDIR)/util/loading/factory.cc
     578@am__fastdepCXX_TRUE@   if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(importer_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT importer-factory.obj -MD -MP -MF "$(DEPDIR)/importer-factory.Tpo" -c -o importer-factory.obj `if test -f '$(MAINSRCDIR)/util/loading/factory.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/util/loading/factory.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/util/loading/factory.cc'; fi`; \
     579@am__fastdepCXX_TRUE@   then mv -f "$(DEPDIR)/importer-factory.Tpo" "$(DEPDIR)/importer-factory.Po"; else rm -f "$(DEPDIR)/importer-factory.Tpo"; exit 1; fi
     580@AMDEP_TRUE@@am__fastdepCXX_FALSE@      source='$(MAINSRCDIR)/util/loading/factory.cc' object='importer-factory.obj' libtool=no @AMDEPBACKSLASH@
     581@AMDEP_TRUE@@am__fastdepCXX_FALSE@      depfile='$(DEPDIR)/importer-factory.Po' tmpdepfile='$(DEPDIR)/importer-factory.TPo' @AMDEPBACKSLASH@
     582@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     583@am__fastdepCXX_FALSE@  $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(importer_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o importer-factory.obj `if test -f '$(MAINSRCDIR)/util/loading/factory.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/util/loading/factory.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/util/loading/factory.cc'; fi`
    564584uninstall-info-am:
    565585
  • orxonox/trunk/src/subprojects/importer/importer.cc

    r4653 r4739  
    5050  LightManager* lightMan = LightManager::getInstance();
    5151  lightMan->setAmbientColor(.1,.1,.1);
    52   lightMan->addLight();
    53   //  lightMan->setAttenuation(1.0, .01, 0.0);
    54   //  lightMan->setDiffuseColor(1,1,1);
    55   //  lightMan->addLight(1);
    56   //  lightMan->setPosition(20, 10, -20);
    57   //  lightMan->setDiffuseColor(0,0,0);
    58   //  lightMan->debug();
    59   lightMan->setPosition(5.0, 10.0, 40.0);
    60   lightMan->addLight();
    61   lightMan->setPosition(-10, -20, -100);
     52  new Light();
     53
     54  lightMan->getLight()->setAbsCoor(5.0, 10.0, 40.0);
     55  new Light();
     56  lightMan->getLight()->setAbsCoor(-10, -20, -100);
    6257}
    6358
Note: See TracChangeset for help on using the changeset viewer.