Changeset 4315 in orxonox.OLD for orxonox/trunk
- Timestamp:
- May 26, 2005, 11:38:39 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 1 added
- 2 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/Makefile.am
r4270 r4315 88 88 lib/graphics/particles/particle_system.cc \ 89 89 lib/graphics/particles/particle_emitter.cc \ 90 lib/lang/base_entity.cc \91 90 lib/lang/base_object.cc \ 92 91 lib/util/ini_parser.cc \ … … 158 157 lib/graphics/particles/particle_system.h \ 159 158 lib/graphics/particles/particle_emitter.h \ 160 lib/lang/base_entity.h \161 159 lib/lang/base_object.h \ 162 160 util/common/list.h \ -
orxonox/trunk/src/Makefile.in
r4276 r4315 73 73 material.$(OBJEXT) texture.$(OBJEXT) particle_engine.$(OBJEXT) \ 74 74 particle_system.$(OBJEXT) particle_emitter.$(OBJEXT) \ 75 base_entity.$(OBJEXT) base_object.$(OBJEXT) \ 76 ini_parser.$(OBJEXT) substring.$(OBJEXT) vector.$(OBJEXT) \ 77 curve.$(OBJEXT) glmenu_imagescreen.$(OBJEXT) \ 75 base_object.$(OBJEXT) ini_parser.$(OBJEXT) substring.$(OBJEXT) \ 76 vector.$(OBJEXT) curve.$(OBJEXT) glmenu_imagescreen.$(OBJEXT) \ 78 77 benchmark.$(OBJEXT) 79 78 orxonox_OBJECTS = $(am_orxonox_OBJECTS) … … 85 84 @AMDEP_TRUE@ ./$(DEPDIR)/animation3d.Po \ 86 85 @AMDEP_TRUE@ ./$(DEPDIR)/animation_player.Po \ 87 @AMDEP_TRUE@ ./$(DEPDIR)/array.Po ./$(DEPDIR)/base_entity.Po \ 88 @AMDEP_TRUE@ ./$(DEPDIR)/base_object.Po \ 86 @AMDEP_TRUE@ ./$(DEPDIR)/array.Po ./$(DEPDIR)/base_object.Po \ 89 87 @AMDEP_TRUE@ ./$(DEPDIR)/benchmark.Po ./$(DEPDIR)/camera.Po \ 90 88 @AMDEP_TRUE@ ./$(DEPDIR)/campaign.Po \ … … 305 303 lib/graphics/particles/particle_system.cc \ 306 304 lib/graphics/particles/particle_emitter.cc \ 307 lib/lang/base_entity.cc \308 305 lib/lang/base_object.cc \ 309 306 lib/util/ini_parser.cc \ … … 375 372 lib/graphics/particles/particle_system.h \ 376 373 lib/graphics/particles/particle_emitter.h \ 377 lib/lang/base_entity.h \378 374 lib/lang/base_object.h \ 379 375 util/common/list.h \ … … 472 468 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/animation_player.Po@am__quote@ 473 469 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 474 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_entity.Po@am__quote@475 470 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_object.Po@am__quote@ 476 471 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/benchmark.Po@am__quote@ … … 1276 1271 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1277 1272 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particle_emitter.obj `if test -f 'lib/graphics/particles/particle_emitter.cc'; then $(CYGPATH_W) 'lib/graphics/particles/particle_emitter.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/particles/particle_emitter.cc'; fi` 1278 1279 base_entity.o: lib/lang/base_entity.cc1280 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_entity.o -MD -MP -MF "$(DEPDIR)/base_entity.Tpo" -c -o base_entity.o `test -f 'lib/lang/base_entity.cc' || echo '$(srcdir)/'`lib/lang/base_entity.cc; \1281 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_entity.Tpo" "$(DEPDIR)/base_entity.Po"; else rm -f "$(DEPDIR)/base_entity.Tpo"; exit 1; fi1282 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/lang/base_entity.cc' object='base_entity.o' libtool=no @AMDEPBACKSLASH@1283 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_entity.Po' tmpdepfile='$(DEPDIR)/base_entity.TPo' @AMDEPBACKSLASH@1284 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@1285 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_entity.o `test -f 'lib/lang/base_entity.cc' || echo '$(srcdir)/'`lib/lang/base_entity.cc1286 1287 base_entity.obj: lib/lang/base_entity.cc1288 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_entity.obj -MD -MP -MF "$(DEPDIR)/base_entity.Tpo" -c -o base_entity.obj `if test -f 'lib/lang/base_entity.cc'; then $(CYGPATH_W) 'lib/lang/base_entity.cc'; else $(CYGPATH_W) '$(srcdir)/lib/lang/base_entity.cc'; fi`; \1289 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_entity.Tpo" "$(DEPDIR)/base_entity.Po"; else rm -f "$(DEPDIR)/base_entity.Tpo"; exit 1; fi1290 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/lang/base_entity.cc' object='base_entity.obj' libtool=no @AMDEPBACKSLASH@1291 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_entity.Po' tmpdepfile='$(DEPDIR)/base_entity.TPo' @AMDEPBACKSLASH@1292 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@1293 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_entity.obj `if test -f 'lib/lang/base_entity.cc'; then $(CYGPATH_W) 'lib/lang/base_entity.cc'; else $(CYGPATH_W) '$(srcdir)/lib/lang/base_entity.cc'; fi`1294 1273 1295 1274 base_object.o: lib/lang/base_object.cc -
orxonox/trunk/src/util/object_manager.h
r4313 r4315 11 11 TO ADD SUPPORT FOR A CLASS do the following steps: 12 12 1. include the hader file : #include "class_header.h" 13 2. add the class to the type enum classList {}; 13 2. add the class to the type enum classList {}; in class_list.h 14 14 3. define a function void mCache( ClassName ) in class ObjectManager 15 15 … … 24 24 #include "list.h" 25 25 26 #define OM_ 27 28 29 //! list of all classes to be loadable in via the ObjectManager 30 typedef enum classList 31 { 32 CL_PROJECTILE, 33 CL_TEST_BULLET, 34 35 CL_NUMBER 36 }; 26 #include "class_list.h" 37 27 38 28
Note: See TracChangeset
for help on using the changeset viewer.