Changeset 4239 in orxonox.OLD for orxonox/branches/levelLoader/src
- Timestamp:
- May 20, 2005, 2:44:10 AM (20 years ago)
- Location:
- orxonox/branches/levelLoader/src
- Files:
-
- 18 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelLoader/src/Makefile.am
r4233 r4239 14 14 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/util 15 15 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/math 16 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/tinyxml 16 17 AM_CXXFLAGS+=-I$(MAINSRCDIR)/defs 17 18 AM_CXXFLAGS+=-I$(MAINSRCDIR)/font … … 183 184 lib/gui/gui/gui_update.cc 184 185 185 libtinyxml_a_SOURCES = lib/ xmlparser/tinyxml.cc \186 lib/ xmlparser/tinystr.cc \187 lib/ xmlparser/tinyxmlerror.cc \188 lib/ xmlparser/tinyxmlparser.cc186 libtinyxml_a_SOURCES = lib/tinyxml/tinyxml.cc \ 187 lib/tinyxml/tinystr.cc \ 188 lib/tinyxml/tinyxmlerror.cc \ 189 lib/tinyxml/tinyxmlparser.cc 189 190 190 191 -
orxonox/branches/levelLoader/src/Makefile.in
r4233 r4239 280 280 target_vendor = @target_vendor@ 281 281 MAINSRCDIR = . 282 AM_CXXFLAGS = -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data -I$(MAINSRCDIR)/lib/graphics -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/graphics/particles -I$(MAINSRCDIR)/lib/gui -I$(MAINSRCDIR)/lib/gui/gui -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/ defs -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai -I$(MAINSRCDIR)/util -I$(MAINSRCDIR)/util/animation -I$(MAINSRCDIR)/util/common -I$(MAINSRCDIR)/util/loading -I$(MAINSRCDIR)/subprojects282 AM_CXXFLAGS = -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data -I$(MAINSRCDIR)/lib/graphics -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/graphics/particles -I$(MAINSRCDIR)/lib/gui -I$(MAINSRCDIR)/lib/gui/gui -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/lib/tinyxml -I$(MAINSRCDIR)/defs -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai -I$(MAINSRCDIR)/util -I$(MAINSRCDIR)/util/animation -I$(MAINSRCDIR)/util/common -I$(MAINSRCDIR)/util/loading -I$(MAINSRCDIR)/subprojects 283 283 noinst_LIBRARIES = libORXgui.a \ 284 284 libtinyxml.a … … 433 433 lib/gui/gui/gui_update.cc 434 434 435 libtinyxml_a_SOURCES = lib/ xmlparser/tinyxml.cc \436 lib/ xmlparser/tinystr.cc \437 lib/ xmlparser/tinyxmlerror.cc \438 lib/ xmlparser/tinyxmlparser.cc435 libtinyxml_a_SOURCES = lib/tinyxml/tinyxml.cc \ 436 lib/tinyxml/tinystr.cc \ 437 lib/tinyxml/tinyxmlerror.cc \ 438 lib/tinyxml/tinyxmlparser.cc 439 439 440 440 EXTRA_DIST = proto/proto_class.h \ … … 772 772 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_update.obj `if test -f 'lib/gui/gui/gui_update.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_update.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_update.cc'; fi` 773 773 774 tinyxml.o: lib/ xmlparser/tinyxml.cc775 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxml.o -MD -MP -MF "$(DEPDIR)/tinyxml.Tpo" -c -o tinyxml.o `test -f 'lib/ xmlparser/tinyxml.cc' || echo '$(srcdir)/'`lib/xmlparser/tinyxml.cc; \774 tinyxml.o: lib/tinyxml/tinyxml.cc 775 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxml.o -MD -MP -MF "$(DEPDIR)/tinyxml.Tpo" -c -o tinyxml.o `test -f 'lib/tinyxml/tinyxml.cc' || echo '$(srcdir)/'`lib/tinyxml/tinyxml.cc; \ 776 776 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxml.Tpo" "$(DEPDIR)/tinyxml.Po"; else rm -f "$(DEPDIR)/tinyxml.Tpo"; exit 1; fi 777 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinyxml.cc' object='tinyxml.o' libtool=no @AMDEPBACKSLASH@777 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinyxml.cc' object='tinyxml.o' libtool=no @AMDEPBACKSLASH@ 778 778 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxml.Po' tmpdepfile='$(DEPDIR)/tinyxml.TPo' @AMDEPBACKSLASH@ 779 779 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 780 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxml.o `test -f 'lib/ xmlparser/tinyxml.cc' || echo '$(srcdir)/'`lib/xmlparser/tinyxml.cc781 782 tinyxml.obj: lib/ xmlparser/tinyxml.cc783 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxml.obj -MD -MP -MF "$(DEPDIR)/tinyxml.Tpo" -c -o tinyxml.obj `if test -f 'lib/ xmlparser/tinyxml.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinyxml.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinyxml.cc'; fi`; \780 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxml.o `test -f 'lib/tinyxml/tinyxml.cc' || echo '$(srcdir)/'`lib/tinyxml/tinyxml.cc 781 782 tinyxml.obj: lib/tinyxml/tinyxml.cc 783 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxml.obj -MD -MP -MF "$(DEPDIR)/tinyxml.Tpo" -c -o tinyxml.obj `if test -f 'lib/tinyxml/tinyxml.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinyxml.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinyxml.cc'; fi`; \ 784 784 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxml.Tpo" "$(DEPDIR)/tinyxml.Po"; else rm -f "$(DEPDIR)/tinyxml.Tpo"; exit 1; fi 785 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinyxml.cc' object='tinyxml.obj' libtool=no @AMDEPBACKSLASH@785 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinyxml.cc' object='tinyxml.obj' libtool=no @AMDEPBACKSLASH@ 786 786 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxml.Po' tmpdepfile='$(DEPDIR)/tinyxml.TPo' @AMDEPBACKSLASH@ 787 787 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 788 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxml.obj `if test -f 'lib/ xmlparser/tinyxml.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinyxml.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinyxml.cc'; fi`789 790 tinystr.o: lib/ xmlparser/tinystr.cc791 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinystr.o -MD -MP -MF "$(DEPDIR)/tinystr.Tpo" -c -o tinystr.o `test -f 'lib/ xmlparser/tinystr.cc' || echo '$(srcdir)/'`lib/xmlparser/tinystr.cc; \788 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxml.obj `if test -f 'lib/tinyxml/tinyxml.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinyxml.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinyxml.cc'; fi` 789 790 tinystr.o: lib/tinyxml/tinystr.cc 791 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinystr.o -MD -MP -MF "$(DEPDIR)/tinystr.Tpo" -c -o tinystr.o `test -f 'lib/tinyxml/tinystr.cc' || echo '$(srcdir)/'`lib/tinyxml/tinystr.cc; \ 792 792 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinystr.Tpo" "$(DEPDIR)/tinystr.Po"; else rm -f "$(DEPDIR)/tinystr.Tpo"; exit 1; fi 793 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinystr.cc' object='tinystr.o' libtool=no @AMDEPBACKSLASH@793 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinystr.cc' object='tinystr.o' libtool=no @AMDEPBACKSLASH@ 794 794 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinystr.Po' tmpdepfile='$(DEPDIR)/tinystr.TPo' @AMDEPBACKSLASH@ 795 795 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 796 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinystr.o `test -f 'lib/ xmlparser/tinystr.cc' || echo '$(srcdir)/'`lib/xmlparser/tinystr.cc797 798 tinystr.obj: lib/ xmlparser/tinystr.cc799 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinystr.obj -MD -MP -MF "$(DEPDIR)/tinystr.Tpo" -c -o tinystr.obj `if test -f 'lib/ xmlparser/tinystr.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinystr.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinystr.cc'; fi`; \796 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinystr.o `test -f 'lib/tinyxml/tinystr.cc' || echo '$(srcdir)/'`lib/tinyxml/tinystr.cc 797 798 tinystr.obj: lib/tinyxml/tinystr.cc 799 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinystr.obj -MD -MP -MF "$(DEPDIR)/tinystr.Tpo" -c -o tinystr.obj `if test -f 'lib/tinyxml/tinystr.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinystr.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinystr.cc'; fi`; \ 800 800 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinystr.Tpo" "$(DEPDIR)/tinystr.Po"; else rm -f "$(DEPDIR)/tinystr.Tpo"; exit 1; fi 801 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinystr.cc' object='tinystr.obj' libtool=no @AMDEPBACKSLASH@801 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinystr.cc' object='tinystr.obj' libtool=no @AMDEPBACKSLASH@ 802 802 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinystr.Po' tmpdepfile='$(DEPDIR)/tinystr.TPo' @AMDEPBACKSLASH@ 803 803 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 804 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinystr.obj `if test -f 'lib/ xmlparser/tinystr.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinystr.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinystr.cc'; fi`805 806 tinyxmlerror.o: lib/ xmlparser/tinyxmlerror.cc807 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlerror.o -MD -MP -MF "$(DEPDIR)/tinyxmlerror.Tpo" -c -o tinyxmlerror.o `test -f 'lib/ xmlparser/tinyxmlerror.cc' || echo '$(srcdir)/'`lib/xmlparser/tinyxmlerror.cc; \804 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinystr.obj `if test -f 'lib/tinyxml/tinystr.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinystr.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinystr.cc'; fi` 805 806 tinyxmlerror.o: lib/tinyxml/tinyxmlerror.cc 807 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlerror.o -MD -MP -MF "$(DEPDIR)/tinyxmlerror.Tpo" -c -o tinyxmlerror.o `test -f 'lib/tinyxml/tinyxmlerror.cc' || echo '$(srcdir)/'`lib/tinyxml/tinyxmlerror.cc; \ 808 808 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlerror.Tpo" "$(DEPDIR)/tinyxmlerror.Po"; else rm -f "$(DEPDIR)/tinyxmlerror.Tpo"; exit 1; fi 809 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinyxmlerror.cc' object='tinyxmlerror.o' libtool=no @AMDEPBACKSLASH@809 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinyxmlerror.cc' object='tinyxmlerror.o' libtool=no @AMDEPBACKSLASH@ 810 810 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlerror.Po' tmpdepfile='$(DEPDIR)/tinyxmlerror.TPo' @AMDEPBACKSLASH@ 811 811 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 812 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlerror.o `test -f 'lib/ xmlparser/tinyxmlerror.cc' || echo '$(srcdir)/'`lib/xmlparser/tinyxmlerror.cc813 814 tinyxmlerror.obj: lib/ xmlparser/tinyxmlerror.cc815 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlerror.obj -MD -MP -MF "$(DEPDIR)/tinyxmlerror.Tpo" -c -o tinyxmlerror.obj `if test -f 'lib/ xmlparser/tinyxmlerror.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinyxmlerror.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinyxmlerror.cc'; fi`; \812 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlerror.o `test -f 'lib/tinyxml/tinyxmlerror.cc' || echo '$(srcdir)/'`lib/tinyxml/tinyxmlerror.cc 813 814 tinyxmlerror.obj: lib/tinyxml/tinyxmlerror.cc 815 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlerror.obj -MD -MP -MF "$(DEPDIR)/tinyxmlerror.Tpo" -c -o tinyxmlerror.obj `if test -f 'lib/tinyxml/tinyxmlerror.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinyxmlerror.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinyxmlerror.cc'; fi`; \ 816 816 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlerror.Tpo" "$(DEPDIR)/tinyxmlerror.Po"; else rm -f "$(DEPDIR)/tinyxmlerror.Tpo"; exit 1; fi 817 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinyxmlerror.cc' object='tinyxmlerror.obj' libtool=no @AMDEPBACKSLASH@817 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinyxmlerror.cc' object='tinyxmlerror.obj' libtool=no @AMDEPBACKSLASH@ 818 818 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlerror.Po' tmpdepfile='$(DEPDIR)/tinyxmlerror.TPo' @AMDEPBACKSLASH@ 819 819 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 820 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlerror.obj `if test -f 'lib/ xmlparser/tinyxmlerror.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinyxmlerror.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinyxmlerror.cc'; fi`821 822 tinyxmlparser.o: lib/ xmlparser/tinyxmlparser.cc823 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlparser.o -MD -MP -MF "$(DEPDIR)/tinyxmlparser.Tpo" -c -o tinyxmlparser.o `test -f 'lib/ xmlparser/tinyxmlparser.cc' || echo '$(srcdir)/'`lib/xmlparser/tinyxmlparser.cc; \820 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlerror.obj `if test -f 'lib/tinyxml/tinyxmlerror.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinyxmlerror.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinyxmlerror.cc'; fi` 821 822 tinyxmlparser.o: lib/tinyxml/tinyxmlparser.cc 823 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlparser.o -MD -MP -MF "$(DEPDIR)/tinyxmlparser.Tpo" -c -o tinyxmlparser.o `test -f 'lib/tinyxml/tinyxmlparser.cc' || echo '$(srcdir)/'`lib/tinyxml/tinyxmlparser.cc; \ 824 824 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlparser.Tpo" "$(DEPDIR)/tinyxmlparser.Po"; else rm -f "$(DEPDIR)/tinyxmlparser.Tpo"; exit 1; fi 825 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinyxmlparser.cc' object='tinyxmlparser.o' libtool=no @AMDEPBACKSLASH@825 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinyxmlparser.cc' object='tinyxmlparser.o' libtool=no @AMDEPBACKSLASH@ 826 826 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlparser.Po' tmpdepfile='$(DEPDIR)/tinyxmlparser.TPo' @AMDEPBACKSLASH@ 827 827 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 828 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlparser.o `test -f 'lib/ xmlparser/tinyxmlparser.cc' || echo '$(srcdir)/'`lib/xmlparser/tinyxmlparser.cc829 830 tinyxmlparser.obj: lib/ xmlparser/tinyxmlparser.cc831 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlparser.obj -MD -MP -MF "$(DEPDIR)/tinyxmlparser.Tpo" -c -o tinyxmlparser.obj `if test -f 'lib/ xmlparser/tinyxmlparser.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinyxmlparser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinyxmlparser.cc'; fi`; \828 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlparser.o `test -f 'lib/tinyxml/tinyxmlparser.cc' || echo '$(srcdir)/'`lib/tinyxml/tinyxmlparser.cc 829 830 tinyxmlparser.obj: lib/tinyxml/tinyxmlparser.cc 831 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT tinyxmlparser.obj -MD -MP -MF "$(DEPDIR)/tinyxmlparser.Tpo" -c -o tinyxmlparser.obj `if test -f 'lib/tinyxml/tinyxmlparser.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinyxmlparser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinyxmlparser.cc'; fi`; \ 832 832 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlparser.Tpo" "$(DEPDIR)/tinyxmlparser.Po"; else rm -f "$(DEPDIR)/tinyxmlparser.Tpo"; exit 1; fi 833 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/ xmlparser/tinyxmlparser.cc' object='tinyxmlparser.obj' libtool=no @AMDEPBACKSLASH@833 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/tinyxml/tinyxmlparser.cc' object='tinyxmlparser.obj' libtool=no @AMDEPBACKSLASH@ 834 834 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlparser.Po' tmpdepfile='$(DEPDIR)/tinyxmlparser.TPo' @AMDEPBACKSLASH@ 835 835 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 836 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlparser.obj `if test -f 'lib/ xmlparser/tinyxmlparser.cc'; then $(CYGPATH_W) 'lib/xmlparser/tinyxmlparser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/xmlparser/tinyxmlparser.cc'; fi`836 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o tinyxmlparser.obj `if test -f 'lib/tinyxml/tinyxmlparser.cc'; then $(CYGPATH_W) 'lib/tinyxml/tinyxmlparser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/tinyxml/tinyxmlparser.cc'; fi` 837 837 838 838 camera.o: world_entities/camera.cc -
orxonox/branches/levelLoader/src/defs/stdincl.h
r4091 r4239 28 28 29 29 #include "compiler.h" 30 #include "xmlparser/tinyxml.h"31 #include "factory.h"32 30 33 31 #endif /* _STDINCL_H */ -
orxonox/branches/levelLoader/src/factory.cc
r4020 r4239 88 88 } 89 89 90 const char* grabParameter( TiXmlElement* root, const char* name)90 const char* grabParameter(const TiXmlElement* root, const char* name) 91 91 { 92 TiXmlElement* element;93 TiXmlNode* node;92 const TiXmlElement* element; 93 const TiXmlNode* node; 94 94 95 95 assert( root != NULL); -
orxonox/branches/levelLoader/src/factory.h
r4171 r4239 9 9 class BaseObject; 10 10 11 #include " xmlparser/tinyxml.h"11 #include "tinyxml.h" 12 12 #include "debug.h" 13 13 … … 79 79 // helper function 80 80 81 const char* grabParameter( TiXmlElement* root, const char* name);81 const char* grabParameter(const TiXmlElement* root, const char* name); 82 82 83 83 #endif /* _FACTORY_H */ -
orxonox/branches/levelLoader/src/game_loader.cc
r4216 r4239 15 15 co-programmer: ... 16 16 */ 17 18 17 19 18 #include "game_loader.h" … … 85 84 } 86 85 87 88 86 /** 89 87 \brief loads a debug campaign for test purposes only. -
orxonox/branches/levelLoader/src/game_loader.h
r4216 r4239 19 19 class Camera; 20 20 class CammandNode; 21 class Factory; 22 class TiXmlElement; 23 class BaseObject; 21 24 22 25 //! The GameLoader -
orxonox/branches/levelLoader/src/glmenu/glmenu_imagescreen.cc
r4136 r4239 19 19 #include "glmenu_imagescreen.h" 20 20 21 #include "stdincl.h"22 21 #include "graphics_engine.h" 23 22 #include "material.h" 23 #include "factory.h" 24 24 25 25 CREATE_FACTORY(GLMenuImageScreen); -
orxonox/branches/levelLoader/src/story_entities/campaign.cc
r4114 r4239 27 27 #include "list.h" 28 28 29 #include "load_param.h" 30 29 31 using namespace std; 30 32 … … 35 37 this->isInit = false; 36 38 } 39 37 40 Campaign::Campaign ( TiXmlElement* root) 38 41 { -
orxonox/branches/levelLoader/src/story_entities/campaign.h
r4010 r4239 8 8 9 9 class World; 10 class TiXmlElement; 10 11 template<class T> class tList; 11 12 -
orxonox/branches/levelLoader/src/story_entities/story_entity.h
r3629 r4239 11 11 #include "story_def.h" 12 12 #include "error.h" 13 14 13 15 14 //! A class that represents something to play in orxonox. it is a container for worlds, movies, mission briefings, etc... -
orxonox/branches/levelLoader/src/story_entities/world.cc
r4230 r4239 50 50 51 51 #include "substring.h" 52 53 #include "factory.h" 52 54 53 55 using namespace std; -
orxonox/branches/levelLoader/src/story_entities/world.h
r4176 r4239 11 11 #include "story_entity.h" 12 12 #include "p_node.h" 13 #include "xmlparser/tinyxml.h"14 13 15 14 class World; … … 24 23 class GarbageCollector; 25 24 class Text; 25 class TiXmlElement; 26 26 27 27 //! The game world Interface -
orxonox/branches/levelLoader/src/track_manager.cc
r4220 r4239 26 26 #include "t_animation.h" 27 27 #include "substring.h" 28 #include "tinyxml.h" 28 29 29 30 #include <stdarg.h> -
orxonox/branches/levelLoader/src/track_manager.h
r4220 r4239 18 18 class PNode; 19 19 class Text; 20 class TiXmlElement; 20 21 template<class T> class tAnimation; 21 22 template<class T> class tList; -
orxonox/branches/levelLoader/src/util/loading/load_param.h
r4233 r4239 3 3 #define _LOAD_PARAM_H 4 4 5 #include "factory.h" 6 #include "debug.h" 5 7 6 8 // abstract base class … … 15 17 template<class T> class LoadParam : public baseLoadParam 16 18 { 17 private:18 T* pt2Object; // pointer to object19 20 19 public: 21 LoadParam(const char* loadString, T* pt2Object, void(T::*function)(const char*))20 LoadParam(const TiXmlElement* root, const char* paramName, T* pt2Object, void(T::*function)(const char*)) 22 21 { 23 this->pt2Object = pt2Object; 24 25 (*pt2Object.*function)(loadString); 22 const char* loadString = grabParameter(root, paramName); 23 if (loadString != NULL) 24 (*pt2Object.*function)(loadString); 25 else 26 PRINTF(2)("Not loaded parameter %s of %s\n", paramName, pt2Object->getClassName()); 27 26 28 }; 27 29 28 LoadParam(const char* loadString, T* pt2Object, void(T::*function)(float)) 29 { 30 this->pt2Object = pt2Object; 31 32 (*pt2Object.*function)(atoi(loadString)); 30 LoadParam(const TiXmlElement* root, const char* paramName, T* pt2Object, void(T::*function)(float)) 31 { 32 const char* loadString = grabParameter(root, paramName); 33 if (loadString != NULL) 34 (*pt2Object.*function)(atoi(loadString)); 35 else 36 PRINTF(2)("Not loaded parameter %s of %s\n", paramName, pt2Object->getClassName()); 33 37 }; 34 38 }; -
orxonox/branches/levelLoader/src/world_entities/world_entity.cc
r4233 r4239 23 23 #include "vector.h" 24 24 25 #include "load_param.h"26 27 25 using namespace std; 28 26 … … 43 41 WorldEntity::WorldEntity(TiXmlElement* root) 44 42 { 43 this->setClassName ("WorldEntity"); 45 44 // Name Setup 46 char* temp; 47 const char* string; 48 string = grabParameter( root, "name"); 49 if( string == NULL) 50 { 51 PRINTF(2)("WorldEntity is missing a proper 'name'\n"); 52 this->setName("unknown"); 53 } 54 else 55 { 56 LoadParam<WorldEntity> (string, this, &WorldEntity::setName); 57 } 45 LoadParam<WorldEntity>(root, "name", this, &WorldEntity::setName); 58 46 // Model Loading 59 47 this->model = NULL; 60 string = grabParameter( root, "model"); 61 if( string != NULL) 62 LoadParam<WorldEntity>(string, this, &WorldEntity::loadModel); 63 else 64 { 65 PRINTF(2)("WorldEntity is missing a proper 'model'\n"); 66 this->model = NULL; 67 } 68 if( this->model == NULL) 69 { 70 PRINTF(2)("WorldEntity model '%s' could not be loaded\n", string); 71 } 48 LoadParam<WorldEntity>(root, "model", this, &WorldEntity::loadModel); 49 72 50 this->bDraw = true; 73 51 } -
orxonox/branches/levelLoader/src/world_entities/world_entity.h
r4233 r4239 10 10 #include "comincl.h" 11 11 #include "resource_manager.h" 12 #include "factory.h" 13 #include "load_param.h" 12 14 13 15 … … 15 17 class CharacterAttributes; 16 18 class Model; 17 18 19 19 //! Basic class from which all interactive stuff in the world is derived from 20 20 class WorldEntity : public PNode
Note: See TracChangeset
for help on using the changeset viewer.