Changeset 4122 in orxonox.OLD for orxonox/branches/heightMap/src
- Timestamp:
- May 9, 2005, 11:29:19 AM (20 years ago)
- Location:
- orxonox/branches/heightMap
- Files:
-
- 21 deleted
- 64 edited
- 41 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/heightMap
- Property svn:externals
-
old new 1 data http://svn.orxonox.ethz.ch/data 1
-
- Property svn:externals
-
orxonox/branches/heightMap/src/Makefile.am
r4090 r4122 8 8 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics 9 9 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/importer 10 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/particles 10 11 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui 12 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui/gui 11 13 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/lang 12 14 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/util … … 22 24 23 25 24 AM_LDFLAGS= $(MWINDOWS)25 26 26 27 #"-O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include" 27 28 28 29 29 bin_PROGRAMS=orxonox 30 30 bin_PROGRAMS=orxonox 31 noinst_LIBRARIES = libORXgui.a 32 33 orxonox_DEPENDENCIES = libORXgui.a 34 orxonox_LDADD = libORXgui.a 31 35 orxonox_SOURCES= orxonox.cc \ 32 36 game_loader.cc \ … … 36 40 track_manager.cc \ 37 41 track_node.cc \ 42 factory.cc \ 38 43 util/animation/animation.cc \ 39 44 util/animation/animation3d.cc \ … … 69 74 lib/graphics/importer/material.cc \ 70 75 lib/graphics/importer/texture.cc \ 76 lib/graphics/importer/heightmap.cc \ 77 lib/graphics/particles/particle_engine.cc \ 78 lib/graphics/particles/particle_system.cc \ 79 lib/graphics/particles/particle_emitter.cc \ 71 80 lib/lang/base_entity.cc \ 72 81 lib/lang/base_object.cc \ … … 77 86 lib/math/curve.cc \ 78 87 glmenu/glmenu_imagescreen.cc \ 79 lib/graphics/importer/heightmap.cc 88 lib/xmlparser/tinyxml.cc \ 89 lib/xmlparser/tinystr.cc \ 90 lib/xmlparser/tinyxmlerror.cc \ 91 lib/xmlparser/tinyxmlparser.cc 80 92 81 93 … … 121 133 defs/error.h \ 122 134 defs/debug.h \ 135 defs/globals.h \ 123 136 lib/coord/p_node.h \ 124 137 lib/coord/null_parent.h \ … … 127 140 lib/graphics/light.h \ 128 141 lib/graphics/text_engine.h \ 142 lib/graphics/importer/heightmap.h \ 143 lib/graphics/particles/particle_engine.h \ 144 lib/graphics/particles/particle_system.h \ 145 lib/graphics/particles/particle_emitter.h \ 129 146 lib/data/data_tank.h \ 130 147 lib/lang/base_entity.h \ … … 137 154 lib/math/curve.h \ 138 155 glmenu/glmenu_imagescreen.h \ 139 lib/graphics/importer/heightmap.h 156 lib/gui/gui/gui.h \ 157 lib/gui/gui/gui_gtk.h \ 158 lib/gui/gui/gui_element.h \ 159 lib/gui/gui/gui_video.h \ 160 lib/gui/gui/gui_audio.h \ 161 lib/gui/gui/gui_exec.h \ 162 lib/gui/gui/gui_flags.h \ 163 lib/gui/gui/gui_banner.h \ 164 lib/gui/gui/gui_keys.h \ 165 lib/gui/gui/gui_update.h 166 167 libORXgui_a_CPPFLAGS=$(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 168 AM_LDFLAGS=$(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 169 170 libORXgui_a_SOURCES = lib/gui/gui/gui.cc \ 171 lib/gui/gui/gui_gtk.cc \ 172 lib/gui/gui/gui_element.cc \ 173 lib/gui/gui/gui_video.cc \ 174 lib/gui/gui/gui_audio.cc \ 175 lib/gui/gui/gui_exec.cc \ 176 lib/gui/gui/gui_flags.cc \ 177 lib/gui/gui/gui_banner.cc \ 178 lib/gui/gui/gui_keys.cc \ 179 lib/gui/gui/gui_update.cc 180 140 181 141 182 ## orxonox.conf will be used from home-dir instead. -
orxonox/branches/heightMap/src/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 16 16 17 17 18 SOURCES = $(orxonox_SOURCES) 18 19 SOURCES = $(libORXgui_a_SOURCES) $(orxonox_SOURCES) 19 20 20 21 srcdir = @srcdir@ … … 38 39 PRE_UNINSTALL = : 39 40 POST_UNINSTALL = : 40 build_triplet = @build@41 41 host_triplet = @host@ 42 target_triplet = @target@43 42 bin_PROGRAMS = orxonox$(EXEEXT) 44 43 subdir = src … … 52 51 CONFIG_HEADER = $(top_builddir)/config.h 53 52 CONFIG_CLEAN_FILES = 53 LIBRARIES = $(noinst_LIBRARIES) 54 AR = ar 55 ARFLAGS = cru 56 libORXgui_a_AR = $(AR) $(ARFLAGS) 57 libORXgui_a_LIBADD = 58 am_libORXgui_a_OBJECTS = libORXgui_a-gui.$(OBJEXT) \ 59 libORXgui_a-gui_gtk.$(OBJEXT) \ 60 libORXgui_a-gui_element.$(OBJEXT) \ 61 libORXgui_a-gui_video.$(OBJEXT) \ 62 libORXgui_a-gui_audio.$(OBJEXT) libORXgui_a-gui_exec.$(OBJEXT) \ 63 libORXgui_a-gui_flags.$(OBJEXT) \ 64 libORXgui_a-gui_banner.$(OBJEXT) \ 65 libORXgui_a-gui_keys.$(OBJEXT) \ 66 libORXgui_a-gui_update.$(OBJEXT) 67 libORXgui_a_OBJECTS = $(am_libORXgui_a_OBJECTS) 54 68 am__installdirs = "$(DESTDIR)$(bindir)" 55 69 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) … … 57 71 am_orxonox_OBJECTS = orxonox.$(OBJEXT) game_loader.$(OBJEXT) \ 58 72 command_node.$(OBJEXT) keynames.$(OBJEXT) camera.$(OBJEXT) \ 59 track_manager.$(OBJEXT) track_node.$(OBJEXT) \73 track_manager.$(OBJEXT) track_node.$(OBJEXT) factory.$(OBJEXT) \ 60 74 animation.$(OBJEXT) animation3d.$(OBJEXT) \ 61 75 animation_player.$(OBJEXT) garbage_collector.$(OBJEXT) \ … … 70 84 text_engine.$(OBJEXT) array.$(OBJEXT) objModel.$(OBJEXT) \ 71 85 primitive_model.$(OBJEXT) model.$(OBJEXT) material.$(OBJEXT) \ 72 texture.$(OBJEXT) base_entity.$(OBJEXT) base_object.$(OBJEXT) \ 73 ini_parser.$(OBJEXT) list.$(OBJEXT) resource_manager.$(OBJEXT) \ 74 vector.$(OBJEXT) curve.$(OBJEXT) glmenu_imagescreen.$(OBJEXT) \ 75 heightmap.$(OBJEXT) 86 texture.$(OBJEXT) heightmap.$(OBJEXT) \ 87 particle_engine.$(OBJEXT) particle_system.$(OBJEXT) \ 88 particle_emitter.$(OBJEXT) base_entity.$(OBJEXT) \ 89 base_object.$(OBJEXT) ini_parser.$(OBJEXT) list.$(OBJEXT) \ 90 resource_manager.$(OBJEXT) vector.$(OBJEXT) curve.$(OBJEXT) \ 91 glmenu_imagescreen.$(OBJEXT) tinyxml.$(OBJEXT) \ 92 tinystr.$(OBJEXT) tinyxmlerror.$(OBJEXT) \ 93 tinyxmlparser.$(OBJEXT) 76 94 orxonox_OBJECTS = $(am_orxonox_OBJECTS) 77 orxonox_LDADD = $(LDADD)78 95 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) 79 96 depcomp = $(SHELL) $(top_srcdir)/depcomp 80 97 am__depfiles_maybe = depfiles 98 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/ai.Po ./$(DEPDIR)/animation.Po \ 99 @AMDEP_TRUE@ ./$(DEPDIR)/animation3d.Po \ 100 @AMDEP_TRUE@ ./$(DEPDIR)/animation_player.Po \ 101 @AMDEP_TRUE@ ./$(DEPDIR)/array.Po ./$(DEPDIR)/base_entity.Po \ 102 @AMDEP_TRUE@ ./$(DEPDIR)/base_object.Po ./$(DEPDIR)/camera.Po \ 103 @AMDEP_TRUE@ ./$(DEPDIR)/campaign.Po \ 104 @AMDEP_TRUE@ ./$(DEPDIR)/character_attributes.Po \ 105 @AMDEP_TRUE@ ./$(DEPDIR)/command_node.Po ./$(DEPDIR)/curve.Po \ 106 @AMDEP_TRUE@ ./$(DEPDIR)/data_tank.Po \ 107 @AMDEP_TRUE@ ./$(DEPDIR)/environment.Po ./$(DEPDIR)/factory.Po \ 108 @AMDEP_TRUE@ ./$(DEPDIR)/game_loader.Po \ 109 @AMDEP_TRUE@ ./$(DEPDIR)/garbage_collector.Po \ 110 @AMDEP_TRUE@ ./$(DEPDIR)/glmenu_imagescreen.Po \ 111 @AMDEP_TRUE@ ./$(DEPDIR)/graphics_engine.Po \ 112 @AMDEP_TRUE@ ./$(DEPDIR)/heightmap.Po \ 113 @AMDEP_TRUE@ ./$(DEPDIR)/helper_parent.Po \ 114 @AMDEP_TRUE@ ./$(DEPDIR)/ini_parser.Po ./$(DEPDIR)/keynames.Po \ 115 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui.Po \ 116 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_audio.Po \ 117 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_banner.Po \ 118 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_element.Po \ 119 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_exec.Po \ 120 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_flags.Po \ 121 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_gtk.Po \ 122 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_keys.Po \ 123 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_update.Po \ 124 @AMDEP_TRUE@ ./$(DEPDIR)/libORXgui_a-gui_video.Po \ 125 @AMDEP_TRUE@ ./$(DEPDIR)/light.Po ./$(DEPDIR)/list.Po \ 126 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/model.Po \ 127 @AMDEP_TRUE@ ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \ 128 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox.Po ./$(DEPDIR)/p_node.Po \ 129 @AMDEP_TRUE@ ./$(DEPDIR)/particle_emitter.Po \ 130 @AMDEP_TRUE@ ./$(DEPDIR)/particle_engine.Po \ 131 @AMDEP_TRUE@ ./$(DEPDIR)/particle_system.Po \ 132 @AMDEP_TRUE@ ./$(DEPDIR)/player.Po \ 133 @AMDEP_TRUE@ ./$(DEPDIR)/primitive_model.Po \ 134 @AMDEP_TRUE@ ./$(DEPDIR)/projectile.Po \ 135 @AMDEP_TRUE@ ./$(DEPDIR)/resource_manager.Po \ 136 @AMDEP_TRUE@ ./$(DEPDIR)/satellite.Po ./$(DEPDIR)/skybox.Po \ 137 @AMDEP_TRUE@ ./$(DEPDIR)/skysphere.Po \ 138 @AMDEP_TRUE@ ./$(DEPDIR)/story_entity.Po ./$(DEPDIR)/terrain.Po \ 139 @AMDEP_TRUE@ ./$(DEPDIR)/test_bullet.Po ./$(DEPDIR)/test_gun.Po \ 140 @AMDEP_TRUE@ ./$(DEPDIR)/text_engine.Po ./$(DEPDIR)/texture.Po \ 141 @AMDEP_TRUE@ ./$(DEPDIR)/tinystr.Po ./$(DEPDIR)/tinyxml.Po \ 142 @AMDEP_TRUE@ ./$(DEPDIR)/tinyxmlerror.Po \ 143 @AMDEP_TRUE@ ./$(DEPDIR)/tinyxmlparser.Po \ 144 @AMDEP_TRUE@ ./$(DEPDIR)/track_manager.Po \ 145 @AMDEP_TRUE@ ./$(DEPDIR)/track_node.Po ./$(DEPDIR)/vector.Po \ 146 @AMDEP_TRUE@ ./$(DEPDIR)/weapon.Po ./$(DEPDIR)/world.Po \ 147 @AMDEP_TRUE@ ./$(DEPDIR)/world_entity.Po 81 148 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 82 149 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 84 151 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 85 152 -o $@ 86 SOURCES = $( orxonox_SOURCES)87 DIST_SOURCES = $( orxonox_SOURCES)153 SOURCES = $(libORXgui_a_SOURCES) $(orxonox_SOURCES) 154 DIST_SOURCES = $(libORXgui_a_SOURCES) $(orxonox_SOURCES) 88 155 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 89 156 html-recursive info-recursive install-data-recursive \ … … 130 197 EXEEXT = @EXEEXT@ 131 198 GPROF = @GPROF@ 132 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@133 GTHREAD_LIBS = @GTHREAD_LIBS@134 199 GTK2_CFLAGS = @GTK2_CFLAGS@ 135 200 GTK2_LIBS = @GTK2_LIBS@ 136 201 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 137 202 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 138 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@139 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@140 203 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 141 204 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 158 221 PACKAGE_VERSION = @PACKAGE_VERSION@ 159 222 PATH_SEPARATOR = @PATH_SEPARATOR@ 223 RANLIB = @RANLIB@ 160 224 SET_MAKE = @SET_MAKE@ 161 225 SHELL = @SHELL@ … … 166 230 ac_ct_CC = @ac_ct_CC@ 167 231 ac_ct_CXX = @ac_ct_CXX@ 232 ac_ct_RANLIB = @ac_ct_RANLIB@ 168 233 ac_ct_STRIP = @ac_ct_STRIP@ 169 234 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 174 239 am__leading_dot = @am__leading_dot@ 175 240 am__quote = @am__quote@ 176 am__tar = @am__tar@177 am__untar = @am__untar@178 241 bindir = @bindir@ 179 242 build = @build@ … … 209 272 target_vendor = @target_vendor@ 210 273 MAINSRCDIR = . 211 AM_CXXFLAGS = -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities \ 212 -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib \ 213 -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data \ 214 -I$(MAINSRCDIR)/lib/graphics \ 215 -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/gui \ 216 -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util \ 217 -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/defs \ 218 -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network \ 219 -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai -I$(MAINSRCDIR)/util \ 220 -I$(MAINSRCDIR)/util/animation -I$(MAINSRCDIR)/util/common 221 AM_LDFLAGS = $(MWINDOWS) 274 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 275 noinst_LIBRARIES = libORXgui.a 276 orxonox_DEPENDENCIES = libORXgui.a 277 orxonox_LDADD = libORXgui.a 222 278 orxonox_SOURCES = orxonox.cc \ 223 279 game_loader.cc \ … … 227 283 track_manager.cc \ 228 284 track_node.cc \ 285 factory.cc \ 229 286 util/animation/animation.cc \ 230 287 util/animation/animation3d.cc \ … … 260 317 lib/graphics/importer/material.cc \ 261 318 lib/graphics/importer/texture.cc \ 319 lib/graphics/importer/heightmap.cc \ 320 lib/graphics/particles/particle_engine.cc \ 321 lib/graphics/particles/particle_system.cc \ 322 lib/graphics/particles/particle_emitter.cc \ 262 323 lib/lang/base_entity.cc \ 263 324 lib/lang/base_object.cc \ … … 268 329 lib/math/curve.cc \ 269 330 glmenu/glmenu_imagescreen.cc \ 270 lib/graphics/importer/heightmap.cc 331 lib/xmlparser/tinyxml.cc \ 332 lib/xmlparser/tinystr.cc \ 333 lib/xmlparser/tinyxmlerror.cc \ 334 lib/xmlparser/tinyxmlparser.cc 271 335 272 336 noinst_HEADERS = orxonox.h \ … … 311 375 defs/error.h \ 312 376 defs/debug.h \ 377 defs/globals.h \ 313 378 lib/coord/p_node.h \ 314 379 lib/coord/null_parent.h \ … … 317 382 lib/graphics/light.h \ 318 383 lib/graphics/text_engine.h \ 384 lib/graphics/importer/heightmap.h \ 385 lib/graphics/particles/particle_engine.h \ 386 lib/graphics/particles/particle_system.h \ 387 lib/graphics/particles/particle_emitter.h \ 319 388 lib/data/data_tank.h \ 320 389 lib/lang/base_entity.h \ … … 327 396 lib/math/curve.h \ 328 397 glmenu/glmenu_imagescreen.h \ 329 lib/graphics/importer/heightmap.h 398 lib/gui/gui/gui.h \ 399 lib/gui/gui/gui_gtk.h \ 400 lib/gui/gui/gui_element.h \ 401 lib/gui/gui/gui_video.h \ 402 lib/gui/gui/gui_audio.h \ 403 lib/gui/gui/gui_exec.h \ 404 lib/gui/gui/gui_flags.h \ 405 lib/gui/gui/gui_banner.h \ 406 lib/gui/gui/gui_keys.h \ 407 lib/gui/gui/gui_update.h 408 409 libORXgui_a_CPPFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) 410 AM_LDFLAGS = $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 411 libORXgui_a_SOURCES = lib/gui/gui/gui.cc \ 412 lib/gui/gui/gui_gtk.cc \ 413 lib/gui/gui/gui_element.cc \ 414 lib/gui/gui/gui_video.cc \ 415 lib/gui/gui/gui_audio.cc \ 416 lib/gui/gui/gui_exec.cc \ 417 lib/gui/gui/gui_flags.cc \ 418 lib/gui/gui/gui_banner.cc \ 419 lib/gui/gui/gui_keys.cc \ 420 lib/gui/gui/gui_update.cc 330 421 331 422 EXTRA_DIST = orxonox.conf \ … … 375 466 $(ACLOCAL_M4): $(am__aclocal_m4_deps) 376 467 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 468 469 clean-noinstLIBRARIES: 470 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) 471 libORXgui.a: $(libORXgui_a_OBJECTS) $(libORXgui_a_DEPENDENCIES) 472 -rm -f libORXgui.a 473 $(libORXgui_a_AR) libORXgui.a $(libORXgui_a_OBJECTS) $(libORXgui_a_LIBADD) 474 $(RANLIB) libORXgui.a 377 475 install-binPROGRAMS: $(bin_PROGRAMS) 378 476 @$(NORMAL_INSTALL) … … 422 520 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/data_tank.Po@am__quote@ 423 521 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/environment.Po@am__quote@ 522 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/factory.Po@am__quote@ 424 523 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game_loader.Po@am__quote@ 425 524 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/garbage_collector.Po@am__quote@ … … 430 529 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ini_parser.Po@am__quote@ 431 530 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/keynames.Po@am__quote@ 531 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui.Po@am__quote@ 532 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_audio.Po@am__quote@ 533 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_banner.Po@am__quote@ 534 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_element.Po@am__quote@ 535 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_exec.Po@am__quote@ 536 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_flags.Po@am__quote@ 537 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_gtk.Po@am__quote@ 538 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_keys.Po@am__quote@ 539 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_update.Po@am__quote@ 540 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libORXgui_a-gui_video.Po@am__quote@ 432 541 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/light.Po@am__quote@ 433 542 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ … … 438 547 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox.Po@am__quote@ 439 548 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_node.Po@am__quote@ 549 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/particle_emitter.Po@am__quote@ 550 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/particle_engine.Po@am__quote@ 551 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/particle_system.Po@am__quote@ 440 552 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@ 441 553 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primitive_model.Po@am__quote@ … … 451 563 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text_engine.Po@am__quote@ 452 564 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/texture.Po@am__quote@ 565 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tinystr.Po@am__quote@ 566 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tinyxml.Po@am__quote@ 567 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tinyxmlerror.Po@am__quote@ 568 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tinyxmlparser.Po@am__quote@ 453 569 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/track_manager.Po@am__quote@ 454 570 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/track_node.Po@am__quote@ … … 462 578 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 463 579 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 464 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 580 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 581 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 465 582 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 466 583 … … 469 586 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 470 587 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 471 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 588 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 589 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 472 590 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 591 592 libORXgui_a-gui.o: lib/gui/gui/gui.cc 593 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui.Tpo" -c -o libORXgui_a-gui.o `test -f 'lib/gui/gui/gui.cc' || echo '$(srcdir)/'`lib/gui/gui/gui.cc; \ 594 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui.Tpo" "$(DEPDIR)/libORXgui_a-gui.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui.Tpo"; exit 1; fi 595 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui.cc' object='libORXgui_a-gui.o' libtool=no @AMDEPBACKSLASH@ 596 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui.TPo' @AMDEPBACKSLASH@ 597 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 598 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui.o `test -f 'lib/gui/gui/gui.cc' || echo '$(srcdir)/'`lib/gui/gui/gui.cc 599 600 libORXgui_a-gui.obj: lib/gui/gui/gui.cc 601 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui.Tpo" -c -o libORXgui_a-gui.obj `if test -f 'lib/gui/gui/gui.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui.cc'; fi`; \ 602 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui.Tpo" "$(DEPDIR)/libORXgui_a-gui.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui.Tpo"; exit 1; fi 603 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui.cc' object='libORXgui_a-gui.obj' libtool=no @AMDEPBACKSLASH@ 604 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui.TPo' @AMDEPBACKSLASH@ 605 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 606 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui.obj `if test -f 'lib/gui/gui/gui.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui.cc'; fi` 607 608 libORXgui_a-gui_gtk.o: lib/gui/gui/gui_gtk.cc 609 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_gtk.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" -c -o libORXgui_a-gui_gtk.o `test -f 'lib/gui/gui/gui_gtk.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_gtk.cc; \ 610 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" "$(DEPDIR)/libORXgui_a-gui_gtk.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo"; exit 1; fi 611 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_gtk.cc' object='libORXgui_a-gui_gtk.o' libtool=no @AMDEPBACKSLASH@ 612 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_gtk.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_gtk.TPo' @AMDEPBACKSLASH@ 613 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 614 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_gtk.o `test -f 'lib/gui/gui/gui_gtk.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_gtk.cc 615 616 libORXgui_a-gui_gtk.obj: lib/gui/gui/gui_gtk.cc 617 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_gtk.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" -c -o libORXgui_a-gui_gtk.obj `if test -f 'lib/gui/gui/gui_gtk.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_gtk.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_gtk.cc'; fi`; \ 618 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo" "$(DEPDIR)/libORXgui_a-gui_gtk.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_gtk.Tpo"; exit 1; fi 619 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_gtk.cc' object='libORXgui_a-gui_gtk.obj' libtool=no @AMDEPBACKSLASH@ 620 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_gtk.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_gtk.TPo' @AMDEPBACKSLASH@ 621 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 622 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_gtk.obj `if test -f 'lib/gui/gui/gui_gtk.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_gtk.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_gtk.cc'; fi` 623 624 libORXgui_a-gui_element.o: lib/gui/gui/gui_element.cc 625 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_element.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_element.Tpo" -c -o libORXgui_a-gui_element.o `test -f 'lib/gui/gui/gui_element.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_element.cc; \ 626 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo" "$(DEPDIR)/libORXgui_a-gui_element.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo"; exit 1; fi 627 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_element.cc' object='libORXgui_a-gui_element.o' libtool=no @AMDEPBACKSLASH@ 628 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_element.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_element.TPo' @AMDEPBACKSLASH@ 629 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 630 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_element.o `test -f 'lib/gui/gui/gui_element.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_element.cc 631 632 libORXgui_a-gui_element.obj: lib/gui/gui/gui_element.cc 633 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_element.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_element.Tpo" -c -o libORXgui_a-gui_element.obj `if test -f 'lib/gui/gui/gui_element.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_element.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_element.cc'; fi`; \ 634 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo" "$(DEPDIR)/libORXgui_a-gui_element.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_element.Tpo"; exit 1; fi 635 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_element.cc' object='libORXgui_a-gui_element.obj' libtool=no @AMDEPBACKSLASH@ 636 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_element.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_element.TPo' @AMDEPBACKSLASH@ 637 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 638 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_element.obj `if test -f 'lib/gui/gui/gui_element.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_element.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_element.cc'; fi` 639 640 libORXgui_a-gui_video.o: lib/gui/gui/gui_video.cc 641 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_video.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_video.Tpo" -c -o libORXgui_a-gui_video.o `test -f 'lib/gui/gui/gui_video.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_video.cc; \ 642 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo" "$(DEPDIR)/libORXgui_a-gui_video.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo"; exit 1; fi 643 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_video.cc' object='libORXgui_a-gui_video.o' libtool=no @AMDEPBACKSLASH@ 644 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_video.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_video.TPo' @AMDEPBACKSLASH@ 645 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 646 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_video.o `test -f 'lib/gui/gui/gui_video.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_video.cc 647 648 libORXgui_a-gui_video.obj: lib/gui/gui/gui_video.cc 649 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_video.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_video.Tpo" -c -o libORXgui_a-gui_video.obj `if test -f 'lib/gui/gui/gui_video.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_video.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_video.cc'; fi`; \ 650 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo" "$(DEPDIR)/libORXgui_a-gui_video.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_video.Tpo"; exit 1; fi 651 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_video.cc' object='libORXgui_a-gui_video.obj' libtool=no @AMDEPBACKSLASH@ 652 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_video.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_video.TPo' @AMDEPBACKSLASH@ 653 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 654 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_video.obj `if test -f 'lib/gui/gui/gui_video.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_video.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_video.cc'; fi` 655 656 libORXgui_a-gui_audio.o: lib/gui/gui/gui_audio.cc 657 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_audio.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" -c -o libORXgui_a-gui_audio.o `test -f 'lib/gui/gui/gui_audio.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_audio.cc; \ 658 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" "$(DEPDIR)/libORXgui_a-gui_audio.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo"; exit 1; fi 659 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_audio.cc' object='libORXgui_a-gui_audio.o' libtool=no @AMDEPBACKSLASH@ 660 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_audio.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_audio.TPo' @AMDEPBACKSLASH@ 661 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 662 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_audio.o `test -f 'lib/gui/gui/gui_audio.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_audio.cc 663 664 libORXgui_a-gui_audio.obj: lib/gui/gui/gui_audio.cc 665 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_audio.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" -c -o libORXgui_a-gui_audio.obj `if test -f 'lib/gui/gui/gui_audio.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_audio.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_audio.cc'; fi`; \ 666 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo" "$(DEPDIR)/libORXgui_a-gui_audio.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_audio.Tpo"; exit 1; fi 667 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_audio.cc' object='libORXgui_a-gui_audio.obj' libtool=no @AMDEPBACKSLASH@ 668 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_audio.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_audio.TPo' @AMDEPBACKSLASH@ 669 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 670 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_audio.obj `if test -f 'lib/gui/gui/gui_audio.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_audio.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_audio.cc'; fi` 671 672 libORXgui_a-gui_exec.o: lib/gui/gui/gui_exec.cc 673 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_exec.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" -c -o libORXgui_a-gui_exec.o `test -f 'lib/gui/gui/gui_exec.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_exec.cc; \ 674 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" "$(DEPDIR)/libORXgui_a-gui_exec.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo"; exit 1; fi 675 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_exec.cc' object='libORXgui_a-gui_exec.o' libtool=no @AMDEPBACKSLASH@ 676 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_exec.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_exec.TPo' @AMDEPBACKSLASH@ 677 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 678 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_exec.o `test -f 'lib/gui/gui/gui_exec.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_exec.cc 679 680 libORXgui_a-gui_exec.obj: lib/gui/gui/gui_exec.cc 681 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_exec.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" -c -o libORXgui_a-gui_exec.obj `if test -f 'lib/gui/gui/gui_exec.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_exec.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_exec.cc'; fi`; \ 682 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo" "$(DEPDIR)/libORXgui_a-gui_exec.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_exec.Tpo"; exit 1; fi 683 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_exec.cc' object='libORXgui_a-gui_exec.obj' libtool=no @AMDEPBACKSLASH@ 684 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_exec.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_exec.TPo' @AMDEPBACKSLASH@ 685 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 686 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_exec.obj `if test -f 'lib/gui/gui/gui_exec.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_exec.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_exec.cc'; fi` 687 688 libORXgui_a-gui_flags.o: lib/gui/gui/gui_flags.cc 689 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_flags.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" -c -o libORXgui_a-gui_flags.o `test -f 'lib/gui/gui/gui_flags.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_flags.cc; \ 690 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" "$(DEPDIR)/libORXgui_a-gui_flags.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo"; exit 1; fi 691 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_flags.cc' object='libORXgui_a-gui_flags.o' libtool=no @AMDEPBACKSLASH@ 692 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_flags.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_flags.TPo' @AMDEPBACKSLASH@ 693 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 694 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_flags.o `test -f 'lib/gui/gui/gui_flags.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_flags.cc 695 696 libORXgui_a-gui_flags.obj: lib/gui/gui/gui_flags.cc 697 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_flags.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" -c -o libORXgui_a-gui_flags.obj `if test -f 'lib/gui/gui/gui_flags.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_flags.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_flags.cc'; fi`; \ 698 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo" "$(DEPDIR)/libORXgui_a-gui_flags.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_flags.Tpo"; exit 1; fi 699 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_flags.cc' object='libORXgui_a-gui_flags.obj' libtool=no @AMDEPBACKSLASH@ 700 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_flags.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_flags.TPo' @AMDEPBACKSLASH@ 701 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 702 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_flags.obj `if test -f 'lib/gui/gui/gui_flags.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_flags.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_flags.cc'; fi` 703 704 libORXgui_a-gui_banner.o: lib/gui/gui/gui_banner.cc 705 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_banner.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" -c -o libORXgui_a-gui_banner.o `test -f 'lib/gui/gui/gui_banner.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_banner.cc; \ 706 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" "$(DEPDIR)/libORXgui_a-gui_banner.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo"; exit 1; fi 707 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_banner.cc' object='libORXgui_a-gui_banner.o' libtool=no @AMDEPBACKSLASH@ 708 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_banner.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_banner.TPo' @AMDEPBACKSLASH@ 709 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 710 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_banner.o `test -f 'lib/gui/gui/gui_banner.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_banner.cc 711 712 libORXgui_a-gui_banner.obj: lib/gui/gui/gui_banner.cc 713 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_banner.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" -c -o libORXgui_a-gui_banner.obj `if test -f 'lib/gui/gui/gui_banner.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_banner.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_banner.cc'; fi`; \ 714 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo" "$(DEPDIR)/libORXgui_a-gui_banner.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_banner.Tpo"; exit 1; fi 715 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_banner.cc' object='libORXgui_a-gui_banner.obj' libtool=no @AMDEPBACKSLASH@ 716 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_banner.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_banner.TPo' @AMDEPBACKSLASH@ 717 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 718 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_banner.obj `if test -f 'lib/gui/gui/gui_banner.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_banner.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_banner.cc'; fi` 719 720 libORXgui_a-gui_keys.o: lib/gui/gui/gui_keys.cc 721 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_keys.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" -c -o libORXgui_a-gui_keys.o `test -f 'lib/gui/gui/gui_keys.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_keys.cc; \ 722 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" "$(DEPDIR)/libORXgui_a-gui_keys.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo"; exit 1; fi 723 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_keys.cc' object='libORXgui_a-gui_keys.o' libtool=no @AMDEPBACKSLASH@ 724 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_keys.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_keys.TPo' @AMDEPBACKSLASH@ 725 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 726 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_keys.o `test -f 'lib/gui/gui/gui_keys.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_keys.cc 727 728 libORXgui_a-gui_keys.obj: lib/gui/gui/gui_keys.cc 729 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_keys.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" -c -o libORXgui_a-gui_keys.obj `if test -f 'lib/gui/gui/gui_keys.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_keys.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_keys.cc'; fi`; \ 730 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo" "$(DEPDIR)/libORXgui_a-gui_keys.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_keys.Tpo"; exit 1; fi 731 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_keys.cc' object='libORXgui_a-gui_keys.obj' libtool=no @AMDEPBACKSLASH@ 732 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_keys.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_keys.TPo' @AMDEPBACKSLASH@ 733 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 734 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_keys.obj `if test -f 'lib/gui/gui/gui_keys.cc'; then $(CYGPATH_W) 'lib/gui/gui/gui_keys.cc'; else $(CYGPATH_W) '$(srcdir)/lib/gui/gui/gui_keys.cc'; fi` 735 736 libORXgui_a-gui_update.o: lib/gui/gui/gui_update.cc 737 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_update.o -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_update.Tpo" -c -o libORXgui_a-gui_update.o `test -f 'lib/gui/gui/gui_update.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_update.cc; \ 738 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo" "$(DEPDIR)/libORXgui_a-gui_update.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo"; exit 1; fi 739 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_update.cc' object='libORXgui_a-gui_update.o' libtool=no @AMDEPBACKSLASH@ 740 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_update.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_update.TPo' @AMDEPBACKSLASH@ 741 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 742 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libORXgui_a-gui_update.o `test -f 'lib/gui/gui/gui_update.cc' || echo '$(srcdir)/'`lib/gui/gui/gui_update.cc 743 744 libORXgui_a-gui_update.obj: lib/gui/gui/gui_update.cc 745 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libORXgui_a_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libORXgui_a-gui_update.obj -MD -MP -MF "$(DEPDIR)/libORXgui_a-gui_update.Tpo" -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`; \ 746 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo" "$(DEPDIR)/libORXgui_a-gui_update.Po"; else rm -f "$(DEPDIR)/libORXgui_a-gui_update.Tpo"; exit 1; fi 747 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/gui/gui/gui_update.cc' object='libORXgui_a-gui_update.obj' libtool=no @AMDEPBACKSLASH@ 748 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/libORXgui_a-gui_update.Po' tmpdepfile='$(DEPDIR)/libORXgui_a-gui_update.TPo' @AMDEPBACKSLASH@ 749 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 750 @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` 473 751 474 752 camera.o: world_entities/camera.cc … … 476 754 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/camera.Tpo" "$(DEPDIR)/camera.Po"; else rm -f "$(DEPDIR)/camera.Tpo"; exit 1; fi 477 755 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/camera.cc' object='camera.o' libtool=no @AMDEPBACKSLASH@ 478 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 756 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/camera.Po' tmpdepfile='$(DEPDIR)/camera.TPo' @AMDEPBACKSLASH@ 757 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 479 758 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o camera.o `test -f 'world_entities/camera.cc' || echo '$(srcdir)/'`world_entities/camera.cc 480 759 … … 483 762 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/camera.Tpo" "$(DEPDIR)/camera.Po"; else rm -f "$(DEPDIR)/camera.Tpo"; exit 1; fi 484 763 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/camera.cc' object='camera.obj' libtool=no @AMDEPBACKSLASH@ 485 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 764 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/camera.Po' tmpdepfile='$(DEPDIR)/camera.TPo' @AMDEPBACKSLASH@ 765 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 486 766 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o camera.obj `if test -f 'world_entities/camera.cc'; then $(CYGPATH_W) 'world_entities/camera.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/camera.cc'; fi` 487 767 … … 490 770 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/animation.Tpo" "$(DEPDIR)/animation.Po"; else rm -f "$(DEPDIR)/animation.Tpo"; exit 1; fi 491 771 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/animation/animation.cc' object='animation.o' libtool=no @AMDEPBACKSLASH@ 492 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 772 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/animation.Po' tmpdepfile='$(DEPDIR)/animation.TPo' @AMDEPBACKSLASH@ 773 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 493 774 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation.o `test -f 'util/animation/animation.cc' || echo '$(srcdir)/'`util/animation/animation.cc 494 775 … … 497 778 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/animation.Tpo" "$(DEPDIR)/animation.Po"; else rm -f "$(DEPDIR)/animation.Tpo"; exit 1; fi 498 779 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/animation/animation.cc' object='animation.obj' libtool=no @AMDEPBACKSLASH@ 499 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 780 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/animation.Po' tmpdepfile='$(DEPDIR)/animation.TPo' @AMDEPBACKSLASH@ 781 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 500 782 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation.obj `if test -f 'util/animation/animation.cc'; then $(CYGPATH_W) 'util/animation/animation.cc'; else $(CYGPATH_W) '$(srcdir)/util/animation/animation.cc'; fi` 501 783 … … 504 786 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/animation3d.Tpo" "$(DEPDIR)/animation3d.Po"; else rm -f "$(DEPDIR)/animation3d.Tpo"; exit 1; fi 505 787 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/animation/animation3d.cc' object='animation3d.o' libtool=no @AMDEPBACKSLASH@ 506 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 788 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/animation3d.Po' tmpdepfile='$(DEPDIR)/animation3d.TPo' @AMDEPBACKSLASH@ 789 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 507 790 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation3d.o `test -f 'util/animation/animation3d.cc' || echo '$(srcdir)/'`util/animation/animation3d.cc 508 791 … … 511 794 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/animation3d.Tpo" "$(DEPDIR)/animation3d.Po"; else rm -f "$(DEPDIR)/animation3d.Tpo"; exit 1; fi 512 795 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/animation/animation3d.cc' object='animation3d.obj' libtool=no @AMDEPBACKSLASH@ 513 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 796 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/animation3d.Po' tmpdepfile='$(DEPDIR)/animation3d.TPo' @AMDEPBACKSLASH@ 797 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 514 798 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation3d.obj `if test -f 'util/animation/animation3d.cc'; then $(CYGPATH_W) 'util/animation/animation3d.cc'; else $(CYGPATH_W) '$(srcdir)/util/animation/animation3d.cc'; fi` 515 799 … … 518 802 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/animation_player.Tpo" "$(DEPDIR)/animation_player.Po"; else rm -f "$(DEPDIR)/animation_player.Tpo"; exit 1; fi 519 803 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/animation/animation_player.cc' object='animation_player.o' libtool=no @AMDEPBACKSLASH@ 520 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 804 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/animation_player.Po' tmpdepfile='$(DEPDIR)/animation_player.TPo' @AMDEPBACKSLASH@ 805 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 521 806 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation_player.o `test -f 'util/animation/animation_player.cc' || echo '$(srcdir)/'`util/animation/animation_player.cc 522 807 … … 525 810 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/animation_player.Tpo" "$(DEPDIR)/animation_player.Po"; else rm -f "$(DEPDIR)/animation_player.Tpo"; exit 1; fi 526 811 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/animation/animation_player.cc' object='animation_player.obj' libtool=no @AMDEPBACKSLASH@ 527 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 812 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/animation_player.Po' tmpdepfile='$(DEPDIR)/animation_player.TPo' @AMDEPBACKSLASH@ 813 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 528 814 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation_player.obj `if test -f 'util/animation/animation_player.cc'; then $(CYGPATH_W) 'util/animation/animation_player.cc'; else $(CYGPATH_W) '$(srcdir)/util/animation/animation_player.cc'; fi` 529 815 … … 532 818 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/story_entity.Tpo" "$(DEPDIR)/story_entity.Po"; else rm -f "$(DEPDIR)/story_entity.Tpo"; exit 1; fi 533 819 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='story_entities/story_entity.cc' object='story_entity.o' libtool=no @AMDEPBACKSLASH@ 534 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 820 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/story_entity.Po' tmpdepfile='$(DEPDIR)/story_entity.TPo' @AMDEPBACKSLASH@ 821 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 535 822 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o story_entity.o `test -f 'story_entities/story_entity.cc' || echo '$(srcdir)/'`story_entities/story_entity.cc 536 823 … … 539 826 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/story_entity.Tpo" "$(DEPDIR)/story_entity.Po"; else rm -f "$(DEPDIR)/story_entity.Tpo"; exit 1; fi 540 827 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='story_entities/story_entity.cc' object='story_entity.obj' libtool=no @AMDEPBACKSLASH@ 541 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 828 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/story_entity.Po' tmpdepfile='$(DEPDIR)/story_entity.TPo' @AMDEPBACKSLASH@ 829 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 542 830 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o story_entity.obj `if test -f 'story_entities/story_entity.cc'; then $(CYGPATH_W) 'story_entities/story_entity.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/story_entity.cc'; fi` 543 831 … … 546 834 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/campaign.Tpo" "$(DEPDIR)/campaign.Po"; else rm -f "$(DEPDIR)/campaign.Tpo"; exit 1; fi 547 835 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='story_entities/campaign.cc' object='campaign.o' libtool=no @AMDEPBACKSLASH@ 548 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 836 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/campaign.Po' tmpdepfile='$(DEPDIR)/campaign.TPo' @AMDEPBACKSLASH@ 837 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 549 838 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o campaign.o `test -f 'story_entities/campaign.cc' || echo '$(srcdir)/'`story_entities/campaign.cc 550 839 … … 553 842 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/campaign.Tpo" "$(DEPDIR)/campaign.Po"; else rm -f "$(DEPDIR)/campaign.Tpo"; exit 1; fi 554 843 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='story_entities/campaign.cc' object='campaign.obj' libtool=no @AMDEPBACKSLASH@ 555 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 844 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/campaign.Po' tmpdepfile='$(DEPDIR)/campaign.TPo' @AMDEPBACKSLASH@ 845 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 556 846 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o campaign.obj `if test -f 'story_entities/campaign.cc'; then $(CYGPATH_W) 'story_entities/campaign.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/campaign.cc'; fi` 557 847 … … 560 850 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/world.Tpo" "$(DEPDIR)/world.Po"; else rm -f "$(DEPDIR)/world.Tpo"; exit 1; fi 561 851 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='story_entities/world.cc' object='world.o' libtool=no @AMDEPBACKSLASH@ 562 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 852 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/world.Po' tmpdepfile='$(DEPDIR)/world.TPo' @AMDEPBACKSLASH@ 853 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 563 854 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world.o `test -f 'story_entities/world.cc' || echo '$(srcdir)/'`story_entities/world.cc 564 855 … … 567 858 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/world.Tpo" "$(DEPDIR)/world.Po"; else rm -f "$(DEPDIR)/world.Tpo"; exit 1; fi 568 859 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='story_entities/world.cc' object='world.obj' libtool=no @AMDEPBACKSLASH@ 569 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 860 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/world.Po' tmpdepfile='$(DEPDIR)/world.TPo' @AMDEPBACKSLASH@ 861 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 570 862 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world.obj `if test -f 'story_entities/world.cc'; then $(CYGPATH_W) 'story_entities/world.cc'; else $(CYGPATH_W) '$(srcdir)/story_entities/world.cc'; fi` 571 863 … … 574 866 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/world_entity.Tpo" "$(DEPDIR)/world_entity.Po"; else rm -f "$(DEPDIR)/world_entity.Tpo"; exit 1; fi 575 867 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/world_entity.cc' object='world_entity.o' libtool=no @AMDEPBACKSLASH@ 576 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 868 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/world_entity.Po' tmpdepfile='$(DEPDIR)/world_entity.TPo' @AMDEPBACKSLASH@ 869 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 577 870 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world_entity.o `test -f 'world_entities/world_entity.cc' || echo '$(srcdir)/'`world_entities/world_entity.cc 578 871 … … 581 874 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/world_entity.Tpo" "$(DEPDIR)/world_entity.Po"; else rm -f "$(DEPDIR)/world_entity.Tpo"; exit 1; fi 582 875 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/world_entity.cc' object='world_entity.obj' libtool=no @AMDEPBACKSLASH@ 583 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 876 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/world_entity.Po' tmpdepfile='$(DEPDIR)/world_entity.TPo' @AMDEPBACKSLASH@ 877 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 584 878 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o world_entity.obj `if test -f 'world_entities/world_entity.cc'; then $(CYGPATH_W) 'world_entities/world_entity.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/world_entity.cc'; fi` 585 879 … … 588 882 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/player.Tpo" "$(DEPDIR)/player.Po"; else rm -f "$(DEPDIR)/player.Tpo"; exit 1; fi 589 883 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/player.cc' object='player.o' libtool=no @AMDEPBACKSLASH@ 590 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 884 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/player.Po' tmpdepfile='$(DEPDIR)/player.TPo' @AMDEPBACKSLASH@ 885 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 591 886 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o player.o `test -f 'world_entities/player.cc' || echo '$(srcdir)/'`world_entities/player.cc 592 887 … … 595 890 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/player.Tpo" "$(DEPDIR)/player.Po"; else rm -f "$(DEPDIR)/player.Tpo"; exit 1; fi 596 891 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/player.cc' object='player.obj' libtool=no @AMDEPBACKSLASH@ 597 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 892 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/player.Po' tmpdepfile='$(DEPDIR)/player.TPo' @AMDEPBACKSLASH@ 893 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 598 894 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o player.obj `if test -f 'world_entities/player.cc'; then $(CYGPATH_W) 'world_entities/player.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/player.cc'; fi` 599 895 … … 602 898 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/environment.Tpo" "$(DEPDIR)/environment.Po"; else rm -f "$(DEPDIR)/environment.Tpo"; exit 1; fi 603 899 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/environment.cc' object='environment.o' libtool=no @AMDEPBACKSLASH@ 604 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 900 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/environment.Po' tmpdepfile='$(DEPDIR)/environment.TPo' @AMDEPBACKSLASH@ 901 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 605 902 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o environment.o `test -f 'world_entities/environment.cc' || echo '$(srcdir)/'`world_entities/environment.cc 606 903 … … 609 906 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/environment.Tpo" "$(DEPDIR)/environment.Po"; else rm -f "$(DEPDIR)/environment.Tpo"; exit 1; fi 610 907 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/environment.cc' object='environment.obj' libtool=no @AMDEPBACKSLASH@ 611 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 908 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/environment.Po' tmpdepfile='$(DEPDIR)/environment.TPo' @AMDEPBACKSLASH@ 909 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 612 910 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o environment.obj `if test -f 'world_entities/environment.cc'; then $(CYGPATH_W) 'world_entities/environment.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/environment.cc'; fi` 613 911 … … 616 914 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/skysphere.Tpo" "$(DEPDIR)/skysphere.Po"; else rm -f "$(DEPDIR)/skysphere.Tpo"; exit 1; fi 617 915 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/skysphere.cc' object='skysphere.o' libtool=no @AMDEPBACKSLASH@ 618 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 916 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/skysphere.Po' tmpdepfile='$(DEPDIR)/skysphere.TPo' @AMDEPBACKSLASH@ 917 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 619 918 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o skysphere.o `test -f 'world_entities/skysphere.cc' || echo '$(srcdir)/'`world_entities/skysphere.cc 620 919 … … 623 922 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/skysphere.Tpo" "$(DEPDIR)/skysphere.Po"; else rm -f "$(DEPDIR)/skysphere.Tpo"; exit 1; fi 624 923 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/skysphere.cc' object='skysphere.obj' libtool=no @AMDEPBACKSLASH@ 625 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 924 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/skysphere.Po' tmpdepfile='$(DEPDIR)/skysphere.TPo' @AMDEPBACKSLASH@ 925 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 626 926 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o skysphere.obj `if test -f 'world_entities/skysphere.cc'; then $(CYGPATH_W) 'world_entities/skysphere.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/skysphere.cc'; fi` 627 927 … … 630 930 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/skybox.Tpo" "$(DEPDIR)/skybox.Po"; else rm -f "$(DEPDIR)/skybox.Tpo"; exit 1; fi 631 931 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/skybox.cc' object='skybox.o' libtool=no @AMDEPBACKSLASH@ 632 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 932 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/skybox.Po' tmpdepfile='$(DEPDIR)/skybox.TPo' @AMDEPBACKSLASH@ 933 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 633 934 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o skybox.o `test -f 'world_entities/skybox.cc' || echo '$(srcdir)/'`world_entities/skybox.cc 634 935 … … 637 938 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/skybox.Tpo" "$(DEPDIR)/skybox.Po"; else rm -f "$(DEPDIR)/skybox.Tpo"; exit 1; fi 638 939 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/skybox.cc' object='skybox.obj' libtool=no @AMDEPBACKSLASH@ 639 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 940 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/skybox.Po' tmpdepfile='$(DEPDIR)/skybox.TPo' @AMDEPBACKSLASH@ 941 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 640 942 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o skybox.obj `if test -f 'world_entities/skybox.cc'; then $(CYGPATH_W) 'world_entities/skybox.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/skybox.cc'; fi` 641 943 … … 644 946 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/terrain.Tpo" "$(DEPDIR)/terrain.Po"; else rm -f "$(DEPDIR)/terrain.Tpo"; exit 1; fi 645 947 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/terrain.cc' object='terrain.o' libtool=no @AMDEPBACKSLASH@ 646 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 948 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/terrain.Po' tmpdepfile='$(DEPDIR)/terrain.TPo' @AMDEPBACKSLASH@ 949 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 647 950 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o terrain.o `test -f 'world_entities/terrain.cc' || echo '$(srcdir)/'`world_entities/terrain.cc 648 951 … … 651 954 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/terrain.Tpo" "$(DEPDIR)/terrain.Po"; else rm -f "$(DEPDIR)/terrain.Tpo"; exit 1; fi 652 955 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/terrain.cc' object='terrain.obj' libtool=no @AMDEPBACKSLASH@ 653 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 956 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/terrain.Po' tmpdepfile='$(DEPDIR)/terrain.TPo' @AMDEPBACKSLASH@ 957 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 654 958 @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` 655 959 … … 658 962 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/weapon.Tpo" "$(DEPDIR)/weapon.Po"; else rm -f "$(DEPDIR)/weapon.Tpo"; exit 1; fi 659 963 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/weapon.cc' object='weapon.o' libtool=no @AMDEPBACKSLASH@ 660 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 964 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/weapon.Po' tmpdepfile='$(DEPDIR)/weapon.TPo' @AMDEPBACKSLASH@ 965 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 661 966 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o weapon.o `test -f 'world_entities/weapon.cc' || echo '$(srcdir)/'`world_entities/weapon.cc 662 967 … … 665 970 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/weapon.Tpo" "$(DEPDIR)/weapon.Po"; else rm -f "$(DEPDIR)/weapon.Tpo"; exit 1; fi 666 971 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/weapon.cc' object='weapon.obj' libtool=no @AMDEPBACKSLASH@ 667 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 972 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/weapon.Po' tmpdepfile='$(DEPDIR)/weapon.TPo' @AMDEPBACKSLASH@ 973 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 668 974 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o weapon.obj `if test -f 'world_entities/weapon.cc'; then $(CYGPATH_W) 'world_entities/weapon.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/weapon.cc'; fi` 669 975 … … 672 978 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/projectile.Tpo" "$(DEPDIR)/projectile.Po"; else rm -f "$(DEPDIR)/projectile.Tpo"; exit 1; fi 673 979 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/projectile.cc' object='projectile.o' libtool=no @AMDEPBACKSLASH@ 674 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 980 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/projectile.Po' tmpdepfile='$(DEPDIR)/projectile.TPo' @AMDEPBACKSLASH@ 981 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 675 982 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o projectile.o `test -f 'world_entities/projectile.cc' || echo '$(srcdir)/'`world_entities/projectile.cc 676 983 … … 679 986 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/projectile.Tpo" "$(DEPDIR)/projectile.Po"; else rm -f "$(DEPDIR)/projectile.Tpo"; exit 1; fi 680 987 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/projectile.cc' object='projectile.obj' libtool=no @AMDEPBACKSLASH@ 681 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 988 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/projectile.Po' tmpdepfile='$(DEPDIR)/projectile.TPo' @AMDEPBACKSLASH@ 989 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 682 990 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o projectile.obj `if test -f 'world_entities/projectile.cc'; then $(CYGPATH_W) 'world_entities/projectile.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/projectile.cc'; fi` 683 991 … … 686 994 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/satellite.Tpo" "$(DEPDIR)/satellite.Po"; else rm -f "$(DEPDIR)/satellite.Tpo"; exit 1; fi 687 995 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/satellite.cc' object='satellite.o' libtool=no @AMDEPBACKSLASH@ 688 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 996 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/satellite.Po' tmpdepfile='$(DEPDIR)/satellite.TPo' @AMDEPBACKSLASH@ 997 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 689 998 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o satellite.o `test -f 'world_entities/satellite.cc' || echo '$(srcdir)/'`world_entities/satellite.cc 690 999 … … 693 1002 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/satellite.Tpo" "$(DEPDIR)/satellite.Po"; else rm -f "$(DEPDIR)/satellite.Tpo"; exit 1; fi 694 1003 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/satellite.cc' object='satellite.obj' libtool=no @AMDEPBACKSLASH@ 695 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1004 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/satellite.Po' tmpdepfile='$(DEPDIR)/satellite.TPo' @AMDEPBACKSLASH@ 1005 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 696 1006 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o satellite.obj `if test -f 'world_entities/satellite.cc'; then $(CYGPATH_W) 'world_entities/satellite.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/satellite.cc'; fi` 697 1007 … … 700 1010 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/character_attributes.Tpo" "$(DEPDIR)/character_attributes.Po"; else rm -f "$(DEPDIR)/character_attributes.Tpo"; exit 1; fi 701 1011 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/character_attributes.cc' object='character_attributes.o' libtool=no @AMDEPBACKSLASH@ 702 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1012 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/character_attributes.Po' tmpdepfile='$(DEPDIR)/character_attributes.TPo' @AMDEPBACKSLASH@ 1013 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 703 1014 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o character_attributes.o `test -f 'world_entities/character_attributes.cc' || echo '$(srcdir)/'`world_entities/character_attributes.cc 704 1015 … … 707 1018 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/character_attributes.Tpo" "$(DEPDIR)/character_attributes.Po"; else rm -f "$(DEPDIR)/character_attributes.Tpo"; exit 1; fi 708 1019 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/character_attributes.cc' object='character_attributes.obj' libtool=no @AMDEPBACKSLASH@ 709 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1020 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/character_attributes.Po' tmpdepfile='$(DEPDIR)/character_attributes.TPo' @AMDEPBACKSLASH@ 1021 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 710 1022 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o character_attributes.obj `if test -f 'world_entities/character_attributes.cc'; then $(CYGPATH_W) 'world_entities/character_attributes.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/character_attributes.cc'; fi` 711 1023 … … 714 1026 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/test_gun.Tpo" "$(DEPDIR)/test_gun.Po"; else rm -f "$(DEPDIR)/test_gun.Tpo"; exit 1; fi 715 1027 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/test_gun.cc' object='test_gun.o' libtool=no @AMDEPBACKSLASH@ 716 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1028 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/test_gun.Po' tmpdepfile='$(DEPDIR)/test_gun.TPo' @AMDEPBACKSLASH@ 1029 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 717 1030 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_gun.o `test -f 'world_entities/test_gun.cc' || echo '$(srcdir)/'`world_entities/test_gun.cc 718 1031 … … 721 1034 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/test_gun.Tpo" "$(DEPDIR)/test_gun.Po"; else rm -f "$(DEPDIR)/test_gun.Tpo"; exit 1; fi 722 1035 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/test_gun.cc' object='test_gun.obj' libtool=no @AMDEPBACKSLASH@ 723 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1036 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/test_gun.Po' tmpdepfile='$(DEPDIR)/test_gun.TPo' @AMDEPBACKSLASH@ 1037 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 724 1038 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_gun.obj `if test -f 'world_entities/test_gun.cc'; then $(CYGPATH_W) 'world_entities/test_gun.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/test_gun.cc'; fi` 725 1039 … … 728 1042 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/test_bullet.Tpo" "$(DEPDIR)/test_bullet.Po"; else rm -f "$(DEPDIR)/test_bullet.Tpo"; exit 1; fi 729 1043 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/test_bullet.cc' object='test_bullet.o' libtool=no @AMDEPBACKSLASH@ 730 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1044 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/test_bullet.Po' tmpdepfile='$(DEPDIR)/test_bullet.TPo' @AMDEPBACKSLASH@ 1045 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 731 1046 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_bullet.o `test -f 'world_entities/test_bullet.cc' || echo '$(srcdir)/'`world_entities/test_bullet.cc 732 1047 … … 735 1050 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/test_bullet.Tpo" "$(DEPDIR)/test_bullet.Po"; else rm -f "$(DEPDIR)/test_bullet.Tpo"; exit 1; fi 736 1051 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='world_entities/test_bullet.cc' object='test_bullet.obj' libtool=no @AMDEPBACKSLASH@ 737 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1052 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/test_bullet.Po' tmpdepfile='$(DEPDIR)/test_bullet.TPo' @AMDEPBACKSLASH@ 1053 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 738 1054 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o test_bullet.obj `if test -f 'world_entities/test_bullet.cc'; then $(CYGPATH_W) 'world_entities/test_bullet.cc'; else $(CYGPATH_W) '$(srcdir)/world_entities/test_bullet.cc'; fi` 739 1055 … … 742 1058 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ai.Tpo" "$(DEPDIR)/ai.Po"; else rm -f "$(DEPDIR)/ai.Tpo"; exit 1; fi 743 1059 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ai/ai.cc' object='ai.o' libtool=no @AMDEPBACKSLASH@ 744 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1060 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/ai.Po' tmpdepfile='$(DEPDIR)/ai.TPo' @AMDEPBACKSLASH@ 1061 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 745 1062 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ai.o `test -f 'ai/ai.cc' || echo '$(srcdir)/'`ai/ai.cc 746 1063 … … 749 1066 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ai.Tpo" "$(DEPDIR)/ai.Po"; else rm -f "$(DEPDIR)/ai.Tpo"; exit 1; fi 750 1067 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='ai/ai.cc' object='ai.obj' libtool=no @AMDEPBACKSLASH@ 751 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1068 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/ai.Po' tmpdepfile='$(DEPDIR)/ai.TPo' @AMDEPBACKSLASH@ 1069 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 752 1070 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ai.obj `if test -f 'ai/ai.cc'; then $(CYGPATH_W) 'ai/ai.cc'; else $(CYGPATH_W) '$(srcdir)/ai/ai.cc'; fi` 753 1071 … … 756 1074 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 757 1075 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/coord/p_node.cc' object='p_node.o' libtool=no @AMDEPBACKSLASH@ 758 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1076 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 1077 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 759 1078 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.o `test -f 'lib/coord/p_node.cc' || echo '$(srcdir)/'`lib/coord/p_node.cc 760 1079 … … 763 1082 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 764 1083 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/coord/p_node.cc' object='p_node.obj' libtool=no @AMDEPBACKSLASH@ 765 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1084 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 1085 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 766 1086 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.obj `if test -f 'lib/coord/p_node.cc'; then $(CYGPATH_W) 'lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/p_node.cc'; fi` 767 1087 … … 770 1090 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 771 1091 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/coord/null_parent.cc' object='null_parent.o' libtool=no @AMDEPBACKSLASH@ 772 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1092 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 1093 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 773 1094 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.o `test -f 'lib/coord/null_parent.cc' || echo '$(srcdir)/'`lib/coord/null_parent.cc 774 1095 … … 777 1098 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 778 1099 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/coord/null_parent.cc' object='null_parent.obj' libtool=no @AMDEPBACKSLASH@ 779 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1100 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 1101 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 780 1102 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.obj `if test -f 'lib/coord/null_parent.cc'; then $(CYGPATH_W) 'lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/null_parent.cc'; fi` 781 1103 … … 784 1106 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/helper_parent.Tpo" "$(DEPDIR)/helper_parent.Po"; else rm -f "$(DEPDIR)/helper_parent.Tpo"; exit 1; fi 785 1107 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/coord/helper_parent.cc' object='helper_parent.o' libtool=no @AMDEPBACKSLASH@ 786 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1108 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/helper_parent.Po' tmpdepfile='$(DEPDIR)/helper_parent.TPo' @AMDEPBACKSLASH@ 1109 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 787 1110 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o helper_parent.o `test -f 'lib/coord/helper_parent.cc' || echo '$(srcdir)/'`lib/coord/helper_parent.cc 788 1111 … … 791 1114 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/helper_parent.Tpo" "$(DEPDIR)/helper_parent.Po"; else rm -f "$(DEPDIR)/helper_parent.Tpo"; exit 1; fi 792 1115 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/coord/helper_parent.cc' object='helper_parent.obj' libtool=no @AMDEPBACKSLASH@ 793 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1116 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/helper_parent.Po' tmpdepfile='$(DEPDIR)/helper_parent.TPo' @AMDEPBACKSLASH@ 1117 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 794 1118 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o helper_parent.obj `if test -f 'lib/coord/helper_parent.cc'; then $(CYGPATH_W) 'lib/coord/helper_parent.cc'; else $(CYGPATH_W) '$(srcdir)/lib/coord/helper_parent.cc'; fi` 795 1119 … … 798 1122 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/data_tank.Tpo" "$(DEPDIR)/data_tank.Po"; else rm -f "$(DEPDIR)/data_tank.Tpo"; exit 1; fi 799 1123 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/data/data_tank.cc' object='data_tank.o' libtool=no @AMDEPBACKSLASH@ 800 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1124 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/data_tank.Po' tmpdepfile='$(DEPDIR)/data_tank.TPo' @AMDEPBACKSLASH@ 1125 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 801 1126 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o data_tank.o `test -f 'lib/data/data_tank.cc' || echo '$(srcdir)/'`lib/data/data_tank.cc 802 1127 … … 805 1130 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/data_tank.Tpo" "$(DEPDIR)/data_tank.Po"; else rm -f "$(DEPDIR)/data_tank.Tpo"; exit 1; fi 806 1131 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/data/data_tank.cc' object='data_tank.obj' libtool=no @AMDEPBACKSLASH@ 807 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1132 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/data_tank.Po' tmpdepfile='$(DEPDIR)/data_tank.TPo' @AMDEPBACKSLASH@ 1133 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 808 1134 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o data_tank.obj `if test -f 'lib/data/data_tank.cc'; then $(CYGPATH_W) 'lib/data/data_tank.cc'; else $(CYGPATH_W) '$(srcdir)/lib/data/data_tank.cc'; fi` 809 1135 … … 812 1138 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 813 1139 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/graphics_engine.cc' object='graphics_engine.o' libtool=no @AMDEPBACKSLASH@ 814 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1140 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 1141 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 815 1142 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.o `test -f 'lib/graphics/graphics_engine.cc' || echo '$(srcdir)/'`lib/graphics/graphics_engine.cc 816 1143 … … 819 1146 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 820 1147 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/graphics_engine.cc' object='graphics_engine.obj' libtool=no @AMDEPBACKSLASH@ 821 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1148 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 1149 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 822 1150 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.obj `if test -f 'lib/graphics/graphics_engine.cc'; then $(CYGPATH_W) 'lib/graphics/graphics_engine.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/graphics_engine.cc'; fi` 823 1151 … … 826 1154 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/light.Tpo" "$(DEPDIR)/light.Po"; else rm -f "$(DEPDIR)/light.Tpo"; exit 1; fi 827 1155 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/light.cc' object='light.o' libtool=no @AMDEPBACKSLASH@ 828 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1156 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/light.Po' tmpdepfile='$(DEPDIR)/light.TPo' @AMDEPBACKSLASH@ 1157 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 829 1158 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o light.o `test -f 'lib/graphics/light.cc' || echo '$(srcdir)/'`lib/graphics/light.cc 830 1159 … … 833 1162 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/light.Tpo" "$(DEPDIR)/light.Po"; else rm -f "$(DEPDIR)/light.Tpo"; exit 1; fi 834 1163 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/light.cc' object='light.obj' libtool=no @AMDEPBACKSLASH@ 835 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1164 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/light.Po' tmpdepfile='$(DEPDIR)/light.TPo' @AMDEPBACKSLASH@ 1165 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 836 1166 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o light.obj `if test -f 'lib/graphics/light.cc'; then $(CYGPATH_W) 'lib/graphics/light.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/light.cc'; fi` 837 1167 … … 840 1170 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 841 1171 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/text_engine.cc' object='text_engine.o' libtool=no @AMDEPBACKSLASH@ 842 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1172 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 1173 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 843 1174 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.o `test -f 'lib/graphics/text_engine.cc' || echo '$(srcdir)/'`lib/graphics/text_engine.cc 844 1175 … … 847 1178 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 848 1179 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/text_engine.cc' object='text_engine.obj' libtool=no @AMDEPBACKSLASH@ 849 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1180 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 1181 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 850 1182 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.obj `if test -f 'lib/graphics/text_engine.cc'; then $(CYGPATH_W) 'lib/graphics/text_engine.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/text_engine.cc'; fi` 851 1183 … … 854 1186 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi 855 1187 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/array.cc' object='array.o' libtool=no @AMDEPBACKSLASH@ 856 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1188 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@ 1189 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 857 1190 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.o `test -f 'lib/graphics/importer/array.cc' || echo '$(srcdir)/'`lib/graphics/importer/array.cc 858 1191 … … 861 1194 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi 862 1195 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/array.cc' object='array.obj' libtool=no @AMDEPBACKSLASH@ 863 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1196 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@ 1197 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 864 1198 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.obj `if test -f 'lib/graphics/importer/array.cc'; then $(CYGPATH_W) 'lib/graphics/importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/array.cc'; fi` 865 1199 … … 868 1202 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi 869 1203 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/objModel.cc' object='objModel.o' libtool=no @AMDEPBACKSLASH@ 870 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1204 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@ 1205 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 871 1206 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.o `test -f 'lib/graphics/importer/objModel.cc' || echo '$(srcdir)/'`lib/graphics/importer/objModel.cc 872 1207 … … 875 1210 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi 876 1211 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/objModel.cc' object='objModel.obj' libtool=no @AMDEPBACKSLASH@ 877 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1212 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@ 1213 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 878 1214 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.obj `if test -f 'lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) 'lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/objModel.cc'; fi` 879 1215 … … 882 1218 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive_model.Tpo" "$(DEPDIR)/primitive_model.Po"; else rm -f "$(DEPDIR)/primitive_model.Tpo"; exit 1; fi 883 1219 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/primitive_model.cc' object='primitive_model.o' libtool=no @AMDEPBACKSLASH@ 884 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1220 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive_model.Po' tmpdepfile='$(DEPDIR)/primitive_model.TPo' @AMDEPBACKSLASH@ 1221 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 885 1222 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive_model.o `test -f 'lib/graphics/importer/primitive_model.cc' || echo '$(srcdir)/'`lib/graphics/importer/primitive_model.cc 886 1223 … … 889 1226 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive_model.Tpo" "$(DEPDIR)/primitive_model.Po"; else rm -f "$(DEPDIR)/primitive_model.Tpo"; exit 1; fi 890 1227 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/primitive_model.cc' object='primitive_model.obj' libtool=no @AMDEPBACKSLASH@ 891 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1228 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive_model.Po' tmpdepfile='$(DEPDIR)/primitive_model.TPo' @AMDEPBACKSLASH@ 1229 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 892 1230 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive_model.obj `if test -f 'lib/graphics/importer/primitive_model.cc'; then $(CYGPATH_W) 'lib/graphics/importer/primitive_model.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/primitive_model.cc'; fi` 893 1231 … … 896 1234 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi 897 1235 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/model.cc' object='model.o' libtool=no @AMDEPBACKSLASH@ 898 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1236 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@ 1237 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 899 1238 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.o `test -f 'lib/graphics/importer/model.cc' || echo '$(srcdir)/'`lib/graphics/importer/model.cc 900 1239 … … 903 1242 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi 904 1243 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/model.cc' object='model.obj' libtool=no @AMDEPBACKSLASH@ 905 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1244 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@ 1245 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 906 1246 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.obj `if test -f 'lib/graphics/importer/model.cc'; then $(CYGPATH_W) 'lib/graphics/importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/model.cc'; fi` 907 1247 … … 910 1250 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi 911 1251 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/material.cc' object='material.o' libtool=no @AMDEPBACKSLASH@ 912 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1252 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@ 1253 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 913 1254 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.o `test -f 'lib/graphics/importer/material.cc' || echo '$(srcdir)/'`lib/graphics/importer/material.cc 914 1255 … … 917 1258 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi 918 1259 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/material.cc' object='material.obj' libtool=no @AMDEPBACKSLASH@ 919 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1260 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@ 1261 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 920 1262 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.obj `if test -f 'lib/graphics/importer/material.cc'; then $(CYGPATH_W) 'lib/graphics/importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/material.cc'; fi` 921 1263 … … 924 1266 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi 925 1267 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/texture.cc' object='texture.o' libtool=no @AMDEPBACKSLASH@ 926 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1268 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@ 1269 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 927 1270 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.o `test -f 'lib/graphics/importer/texture.cc' || echo '$(srcdir)/'`lib/graphics/importer/texture.cc 928 1271 … … 931 1274 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi 932 1275 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/texture.cc' object='texture.obj' libtool=no @AMDEPBACKSLASH@ 933 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1276 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@ 1277 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 934 1278 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.obj `if test -f 'lib/graphics/importer/texture.cc'; then $(CYGPATH_W) 'lib/graphics/importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/texture.cc'; fi` 1279 1280 heightmap.o: lib/graphics/importer/heightmap.cc 1281 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT heightmap.o -MD -MP -MF "$(DEPDIR)/heightmap.Tpo" -c -o heightmap.o `test -f 'lib/graphics/importer/heightmap.cc' || echo '$(srcdir)/'`lib/graphics/importer/heightmap.cc; \ 1282 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/heightmap.Tpo" "$(DEPDIR)/heightmap.Po"; else rm -f "$(DEPDIR)/heightmap.Tpo"; exit 1; fi 1283 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/heightmap.cc' object='heightmap.o' libtool=no @AMDEPBACKSLASH@ 1284 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/heightmap.Po' tmpdepfile='$(DEPDIR)/heightmap.TPo' @AMDEPBACKSLASH@ 1285 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1286 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o heightmap.o `test -f 'lib/graphics/importer/heightmap.cc' || echo '$(srcdir)/'`lib/graphics/importer/heightmap.cc 1287 1288 heightmap.obj: lib/graphics/importer/heightmap.cc 1289 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT heightmap.obj -MD -MP -MF "$(DEPDIR)/heightmap.Tpo" -c -o heightmap.obj `if test -f 'lib/graphics/importer/heightmap.cc'; then $(CYGPATH_W) 'lib/graphics/importer/heightmap.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/heightmap.cc'; fi`; \ 1290 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/heightmap.Tpo" "$(DEPDIR)/heightmap.Po"; else rm -f "$(DEPDIR)/heightmap.Tpo"; exit 1; fi 1291 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/heightmap.cc' object='heightmap.obj' libtool=no @AMDEPBACKSLASH@ 1292 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/heightmap.Po' tmpdepfile='$(DEPDIR)/heightmap.TPo' @AMDEPBACKSLASH@ 1293 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1294 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o heightmap.obj `if test -f 'lib/graphics/importer/heightmap.cc'; then $(CYGPATH_W) 'lib/graphics/importer/heightmap.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/heightmap.cc'; fi` 1295 1296 particle_engine.o: lib/graphics/particles/particle_engine.cc 1297 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT particle_engine.o -MD -MP -MF "$(DEPDIR)/particle_engine.Tpo" -c -o particle_engine.o `test -f 'lib/graphics/particles/particle_engine.cc' || echo '$(srcdir)/'`lib/graphics/particles/particle_engine.cc; \ 1298 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/particle_engine.Tpo" "$(DEPDIR)/particle_engine.Po"; else rm -f "$(DEPDIR)/particle_engine.Tpo"; exit 1; fi 1299 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/particles/particle_engine.cc' object='particle_engine.o' libtool=no @AMDEPBACKSLASH@ 1300 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/particle_engine.Po' tmpdepfile='$(DEPDIR)/particle_engine.TPo' @AMDEPBACKSLASH@ 1301 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1302 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particle_engine.o `test -f 'lib/graphics/particles/particle_engine.cc' || echo '$(srcdir)/'`lib/graphics/particles/particle_engine.cc 1303 1304 particle_engine.obj: lib/graphics/particles/particle_engine.cc 1305 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT particle_engine.obj -MD -MP -MF "$(DEPDIR)/particle_engine.Tpo" -c -o particle_engine.obj `if test -f 'lib/graphics/particles/particle_engine.cc'; then $(CYGPATH_W) 'lib/graphics/particles/particle_engine.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/particles/particle_engine.cc'; fi`; \ 1306 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/particle_engine.Tpo" "$(DEPDIR)/particle_engine.Po"; else rm -f "$(DEPDIR)/particle_engine.Tpo"; exit 1; fi 1307 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/particles/particle_engine.cc' object='particle_engine.obj' libtool=no @AMDEPBACKSLASH@ 1308 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/particle_engine.Po' tmpdepfile='$(DEPDIR)/particle_engine.TPo' @AMDEPBACKSLASH@ 1309 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1310 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particle_engine.obj `if test -f 'lib/graphics/particles/particle_engine.cc'; then $(CYGPATH_W) 'lib/graphics/particles/particle_engine.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/particles/particle_engine.cc'; fi` 1311 1312 particle_system.o: lib/graphics/particles/particle_system.cc 1313 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT particle_system.o -MD -MP -MF "$(DEPDIR)/particle_system.Tpo" -c -o particle_system.o `test -f 'lib/graphics/particles/particle_system.cc' || echo '$(srcdir)/'`lib/graphics/particles/particle_system.cc; \ 1314 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/particle_system.Tpo" "$(DEPDIR)/particle_system.Po"; else rm -f "$(DEPDIR)/particle_system.Tpo"; exit 1; fi 1315 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/particles/particle_system.cc' object='particle_system.o' libtool=no @AMDEPBACKSLASH@ 1316 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/particle_system.Po' tmpdepfile='$(DEPDIR)/particle_system.TPo' @AMDEPBACKSLASH@ 1317 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1318 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particle_system.o `test -f 'lib/graphics/particles/particle_system.cc' || echo '$(srcdir)/'`lib/graphics/particles/particle_system.cc 1319 1320 particle_system.obj: lib/graphics/particles/particle_system.cc 1321 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT particle_system.obj -MD -MP -MF "$(DEPDIR)/particle_system.Tpo" -c -o particle_system.obj `if test -f 'lib/graphics/particles/particle_system.cc'; then $(CYGPATH_W) 'lib/graphics/particles/particle_system.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/particles/particle_system.cc'; fi`; \ 1322 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/particle_system.Tpo" "$(DEPDIR)/particle_system.Po"; else rm -f "$(DEPDIR)/particle_system.Tpo"; exit 1; fi 1323 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/particles/particle_system.cc' object='particle_system.obj' libtool=no @AMDEPBACKSLASH@ 1324 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/particle_system.Po' tmpdepfile='$(DEPDIR)/particle_system.TPo' @AMDEPBACKSLASH@ 1325 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1326 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particle_system.obj `if test -f 'lib/graphics/particles/particle_system.cc'; then $(CYGPATH_W) 'lib/graphics/particles/particle_system.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/particles/particle_system.cc'; fi` 1327 1328 particle_emitter.o: lib/graphics/particles/particle_emitter.cc 1329 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT particle_emitter.o -MD -MP -MF "$(DEPDIR)/particle_emitter.Tpo" -c -o particle_emitter.o `test -f 'lib/graphics/particles/particle_emitter.cc' || echo '$(srcdir)/'`lib/graphics/particles/particle_emitter.cc; \ 1330 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/particle_emitter.Tpo" "$(DEPDIR)/particle_emitter.Po"; else rm -f "$(DEPDIR)/particle_emitter.Tpo"; exit 1; fi 1331 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/particles/particle_emitter.cc' object='particle_emitter.o' libtool=no @AMDEPBACKSLASH@ 1332 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/particle_emitter.Po' tmpdepfile='$(DEPDIR)/particle_emitter.TPo' @AMDEPBACKSLASH@ 1333 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1334 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particle_emitter.o `test -f 'lib/graphics/particles/particle_emitter.cc' || echo '$(srcdir)/'`lib/graphics/particles/particle_emitter.cc 1335 1336 particle_emitter.obj: lib/graphics/particles/particle_emitter.cc 1337 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT particle_emitter.obj -MD -MP -MF "$(DEPDIR)/particle_emitter.Tpo" -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`; \ 1338 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/particle_emitter.Tpo" "$(DEPDIR)/particle_emitter.Po"; else rm -f "$(DEPDIR)/particle_emitter.Tpo"; exit 1; fi 1339 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/particles/particle_emitter.cc' object='particle_emitter.obj' libtool=no @AMDEPBACKSLASH@ 1340 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/particle_emitter.Po' tmpdepfile='$(DEPDIR)/particle_emitter.TPo' @AMDEPBACKSLASH@ 1341 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1342 @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` 935 1343 936 1344 base_entity.o: lib/lang/base_entity.cc … … 938 1346 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_entity.Tpo" "$(DEPDIR)/base_entity.Po"; else rm -f "$(DEPDIR)/base_entity.Tpo"; exit 1; fi 939 1347 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/lang/base_entity.cc' object='base_entity.o' libtool=no @AMDEPBACKSLASH@ 940 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1348 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_entity.Po' tmpdepfile='$(DEPDIR)/base_entity.TPo' @AMDEPBACKSLASH@ 1349 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 941 1350 @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.cc 942 1351 … … 945 1354 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_entity.Tpo" "$(DEPDIR)/base_entity.Po"; else rm -f "$(DEPDIR)/base_entity.Tpo"; exit 1; fi 946 1355 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/lang/base_entity.cc' object='base_entity.obj' libtool=no @AMDEPBACKSLASH@ 947 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1356 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_entity.Po' tmpdepfile='$(DEPDIR)/base_entity.TPo' @AMDEPBACKSLASH@ 1357 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 948 1358 @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` 949 1359 … … 952 1362 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 953 1363 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/lang/base_object.cc' object='base_object.o' libtool=no @AMDEPBACKSLASH@ 954 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1364 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 1365 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 955 1366 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.o `test -f 'lib/lang/base_object.cc' || echo '$(srcdir)/'`lib/lang/base_object.cc 956 1367 … … 959 1370 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 960 1371 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/lang/base_object.cc' object='base_object.obj' libtool=no @AMDEPBACKSLASH@ 961 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1372 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 1373 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 962 1374 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.obj `if test -f 'lib/lang/base_object.cc'; then $(CYGPATH_W) 'lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/lib/lang/base_object.cc'; fi` 963 1375 … … 966 1378 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ini_parser.Tpo" "$(DEPDIR)/ini_parser.Po"; else rm -f "$(DEPDIR)/ini_parser.Tpo"; exit 1; fi 967 1379 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/util/ini_parser.cc' object='ini_parser.o' libtool=no @AMDEPBACKSLASH@ 968 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1380 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/ini_parser.Po' tmpdepfile='$(DEPDIR)/ini_parser.TPo' @AMDEPBACKSLASH@ 1381 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 969 1382 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ini_parser.o `test -f 'lib/util/ini_parser.cc' || echo '$(srcdir)/'`lib/util/ini_parser.cc 970 1383 … … 973 1386 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/ini_parser.Tpo" "$(DEPDIR)/ini_parser.Po"; else rm -f "$(DEPDIR)/ini_parser.Tpo"; exit 1; fi 974 1387 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/util/ini_parser.cc' object='ini_parser.obj' libtool=no @AMDEPBACKSLASH@ 975 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1388 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/ini_parser.Po' tmpdepfile='$(DEPDIR)/ini_parser.TPo' @AMDEPBACKSLASH@ 1389 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 976 1390 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o ini_parser.obj `if test -f 'lib/util/ini_parser.cc'; then $(CYGPATH_W) 'lib/util/ini_parser.cc'; else $(CYGPATH_W) '$(srcdir)/lib/util/ini_parser.cc'; fi` 977 1391 … … 980 1394 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/list.Tpo" "$(DEPDIR)/list.Po"; else rm -f "$(DEPDIR)/list.Tpo"; exit 1; fi 981 1395 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/common/list.cc' object='list.o' libtool=no @AMDEPBACKSLASH@ 982 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1396 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/list.Po' tmpdepfile='$(DEPDIR)/list.TPo' @AMDEPBACKSLASH@ 1397 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 983 1398 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o list.o `test -f 'util/common/list.cc' || echo '$(srcdir)/'`util/common/list.cc 984 1399 … … 987 1402 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/list.Tpo" "$(DEPDIR)/list.Po"; else rm -f "$(DEPDIR)/list.Tpo"; exit 1; fi 988 1403 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/common/list.cc' object='list.obj' libtool=no @AMDEPBACKSLASH@ 989 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1404 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/list.Po' tmpdepfile='$(DEPDIR)/list.TPo' @AMDEPBACKSLASH@ 1405 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 990 1406 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o list.obj `if test -f 'util/common/list.cc'; then $(CYGPATH_W) 'util/common/list.cc'; else $(CYGPATH_W) '$(srcdir)/util/common/list.cc'; fi` 991 1407 … … 994 1410 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 995 1411 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/resource_manager.cc' object='resource_manager.o' libtool=no @AMDEPBACKSLASH@ 996 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1412 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 1413 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 997 1414 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.o `test -f 'util/resource_manager.cc' || echo '$(srcdir)/'`util/resource_manager.cc 998 1415 … … 1001 1418 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 1002 1419 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='util/resource_manager.cc' object='resource_manager.obj' libtool=no @AMDEPBACKSLASH@ 1003 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1420 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 1421 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1004 1422 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.obj `if test -f 'util/resource_manager.cc'; then $(CYGPATH_W) 'util/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/util/resource_manager.cc'; fi` 1005 1423 … … 1008 1426 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 1009 1427 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/math/vector.cc' object='vector.o' libtool=no @AMDEPBACKSLASH@ 1010 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1428 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 1429 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1011 1430 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.o `test -f 'lib/math/vector.cc' || echo '$(srcdir)/'`lib/math/vector.cc 1012 1431 … … 1015 1434 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 1016 1435 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/math/vector.cc' object='vector.obj' libtool=no @AMDEPBACKSLASH@ 1017 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1436 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 1437 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1018 1438 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.obj `if test -f 'lib/math/vector.cc'; then $(CYGPATH_W) 'lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/vector.cc'; fi` 1019 1439 … … 1022 1442 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/curve.Tpo" "$(DEPDIR)/curve.Po"; else rm -f "$(DEPDIR)/curve.Tpo"; exit 1; fi 1023 1443 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/math/curve.cc' object='curve.o' libtool=no @AMDEPBACKSLASH@ 1024 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1444 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/curve.Po' tmpdepfile='$(DEPDIR)/curve.TPo' @AMDEPBACKSLASH@ 1445 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1025 1446 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o curve.o `test -f 'lib/math/curve.cc' || echo '$(srcdir)/'`lib/math/curve.cc 1026 1447 … … 1029 1450 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/curve.Tpo" "$(DEPDIR)/curve.Po"; else rm -f "$(DEPDIR)/curve.Tpo"; exit 1; fi 1030 1451 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/math/curve.cc' object='curve.obj' libtool=no @AMDEPBACKSLASH@ 1031 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1452 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/curve.Po' tmpdepfile='$(DEPDIR)/curve.TPo' @AMDEPBACKSLASH@ 1453 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1032 1454 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o curve.obj `if test -f 'lib/math/curve.cc'; then $(CYGPATH_W) 'lib/math/curve.cc'; else $(CYGPATH_W) '$(srcdir)/lib/math/curve.cc'; fi` 1033 1455 … … 1036 1458 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/glmenu_imagescreen.Tpo" "$(DEPDIR)/glmenu_imagescreen.Po"; else rm -f "$(DEPDIR)/glmenu_imagescreen.Tpo"; exit 1; fi 1037 1459 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='glmenu/glmenu_imagescreen.cc' object='glmenu_imagescreen.o' libtool=no @AMDEPBACKSLASH@ 1038 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1460 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/glmenu_imagescreen.Po' tmpdepfile='$(DEPDIR)/glmenu_imagescreen.TPo' @AMDEPBACKSLASH@ 1461 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1039 1462 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o glmenu_imagescreen.o `test -f 'glmenu/glmenu_imagescreen.cc' || echo '$(srcdir)/'`glmenu/glmenu_imagescreen.cc 1040 1463 … … 1043 1466 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/glmenu_imagescreen.Tpo" "$(DEPDIR)/glmenu_imagescreen.Po"; else rm -f "$(DEPDIR)/glmenu_imagescreen.Tpo"; exit 1; fi 1044 1467 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='glmenu/glmenu_imagescreen.cc' object='glmenu_imagescreen.obj' libtool=no @AMDEPBACKSLASH@ 1045 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1468 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/glmenu_imagescreen.Po' tmpdepfile='$(DEPDIR)/glmenu_imagescreen.TPo' @AMDEPBACKSLASH@ 1469 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1046 1470 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o glmenu_imagescreen.obj `if test -f 'glmenu/glmenu_imagescreen.cc'; then $(CYGPATH_W) 'glmenu/glmenu_imagescreen.cc'; else $(CYGPATH_W) '$(srcdir)/glmenu/glmenu_imagescreen.cc'; fi` 1047 1471 1048 heightmap.o: lib/graphics/importer/heightmap.cc 1049 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT heightmap.o -MD -MP -MF "$(DEPDIR)/heightmap.Tpo" -c -o heightmap.o `test -f 'lib/graphics/importer/heightmap.cc' || echo '$(srcdir)/'`lib/graphics/importer/heightmap.cc; \ 1050 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/heightmap.Tpo" "$(DEPDIR)/heightmap.Po"; else rm -f "$(DEPDIR)/heightmap.Tpo"; exit 1; fi 1051 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/heightmap.cc' object='heightmap.o' libtool=no @AMDEPBACKSLASH@ 1052 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1053 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o heightmap.o `test -f 'lib/graphics/importer/heightmap.cc' || echo '$(srcdir)/'`lib/graphics/importer/heightmap.cc 1054 1055 heightmap.obj: lib/graphics/importer/heightmap.cc 1056 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT heightmap.obj -MD -MP -MF "$(DEPDIR)/heightmap.Tpo" -c -o heightmap.obj `if test -f 'lib/graphics/importer/heightmap.cc'; then $(CYGPATH_W) 'lib/graphics/importer/heightmap.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/heightmap.cc'; fi`; \ 1057 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/heightmap.Tpo" "$(DEPDIR)/heightmap.Po"; else rm -f "$(DEPDIR)/heightmap.Tpo"; exit 1; fi 1058 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/graphics/importer/heightmap.cc' object='heightmap.obj' libtool=no @AMDEPBACKSLASH@ 1059 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1060 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o heightmap.obj `if test -f 'lib/graphics/importer/heightmap.cc'; then $(CYGPATH_W) 'lib/graphics/importer/heightmap.cc'; else $(CYGPATH_W) '$(srcdir)/lib/graphics/importer/heightmap.cc'; fi` 1472 tinyxml.o: lib/xmlparser/tinyxml.cc 1473 @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; \ 1474 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxml.Tpo" "$(DEPDIR)/tinyxml.Po"; else rm -f "$(DEPDIR)/tinyxml.Tpo"; exit 1; fi 1475 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinyxml.cc' object='tinyxml.o' libtool=no @AMDEPBACKSLASH@ 1476 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxml.Po' tmpdepfile='$(DEPDIR)/tinyxml.TPo' @AMDEPBACKSLASH@ 1477 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1478 @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.cc 1479 1480 tinyxml.obj: lib/xmlparser/tinyxml.cc 1481 @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`; \ 1482 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxml.Tpo" "$(DEPDIR)/tinyxml.Po"; else rm -f "$(DEPDIR)/tinyxml.Tpo"; exit 1; fi 1483 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinyxml.cc' object='tinyxml.obj' libtool=no @AMDEPBACKSLASH@ 1484 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxml.Po' tmpdepfile='$(DEPDIR)/tinyxml.TPo' @AMDEPBACKSLASH@ 1485 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1486 @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` 1487 1488 tinystr.o: lib/xmlparser/tinystr.cc 1489 @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; \ 1490 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinystr.Tpo" "$(DEPDIR)/tinystr.Po"; else rm -f "$(DEPDIR)/tinystr.Tpo"; exit 1; fi 1491 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinystr.cc' object='tinystr.o' libtool=no @AMDEPBACKSLASH@ 1492 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinystr.Po' tmpdepfile='$(DEPDIR)/tinystr.TPo' @AMDEPBACKSLASH@ 1493 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1494 @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.cc 1495 1496 tinystr.obj: lib/xmlparser/tinystr.cc 1497 @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`; \ 1498 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinystr.Tpo" "$(DEPDIR)/tinystr.Po"; else rm -f "$(DEPDIR)/tinystr.Tpo"; exit 1; fi 1499 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinystr.cc' object='tinystr.obj' libtool=no @AMDEPBACKSLASH@ 1500 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinystr.Po' tmpdepfile='$(DEPDIR)/tinystr.TPo' @AMDEPBACKSLASH@ 1501 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1502 @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` 1503 1504 tinyxmlerror.o: lib/xmlparser/tinyxmlerror.cc 1505 @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; \ 1506 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlerror.Tpo" "$(DEPDIR)/tinyxmlerror.Po"; else rm -f "$(DEPDIR)/tinyxmlerror.Tpo"; exit 1; fi 1507 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinyxmlerror.cc' object='tinyxmlerror.o' libtool=no @AMDEPBACKSLASH@ 1508 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlerror.Po' tmpdepfile='$(DEPDIR)/tinyxmlerror.TPo' @AMDEPBACKSLASH@ 1509 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1510 @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.cc 1511 1512 tinyxmlerror.obj: lib/xmlparser/tinyxmlerror.cc 1513 @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`; \ 1514 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlerror.Tpo" "$(DEPDIR)/tinyxmlerror.Po"; else rm -f "$(DEPDIR)/tinyxmlerror.Tpo"; exit 1; fi 1515 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinyxmlerror.cc' object='tinyxmlerror.obj' libtool=no @AMDEPBACKSLASH@ 1516 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlerror.Po' tmpdepfile='$(DEPDIR)/tinyxmlerror.TPo' @AMDEPBACKSLASH@ 1517 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1518 @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` 1519 1520 tinyxmlparser.o: lib/xmlparser/tinyxmlparser.cc 1521 @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; \ 1522 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlparser.Tpo" "$(DEPDIR)/tinyxmlparser.Po"; else rm -f "$(DEPDIR)/tinyxmlparser.Tpo"; exit 1; fi 1523 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinyxmlparser.cc' object='tinyxmlparser.o' libtool=no @AMDEPBACKSLASH@ 1524 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlparser.Po' tmpdepfile='$(DEPDIR)/tinyxmlparser.TPo' @AMDEPBACKSLASH@ 1525 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1526 @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.cc 1527 1528 tinyxmlparser.obj: lib/xmlparser/tinyxmlparser.cc 1529 @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`; \ 1530 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/tinyxmlparser.Tpo" "$(DEPDIR)/tinyxmlparser.Po"; else rm -f "$(DEPDIR)/tinyxmlparser.Tpo"; exit 1; fi 1531 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lib/xmlparser/tinyxmlparser.cc' object='tinyxmlparser.obj' libtool=no @AMDEPBACKSLASH@ 1532 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/tinyxmlparser.Po' tmpdepfile='$(DEPDIR)/tinyxmlparser.TPo' @AMDEPBACKSLASH@ 1533 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 1534 @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` 1061 1535 uninstall-info-am: 1062 1536 … … 1182 1656 1183 1657 distdir: $(DISTFILES) 1184 $(mkdir_p) $(distdir)/ai $(distdir)/defs $(distdir)/glmenu $(distdir)/lib/coord $(distdir)/lib/data $(distdir)/lib/graphics $(distdir)/lib/graphics/importer $(distdir)/lib/ lang $(distdir)/lib/math $(distdir)/lib/util $(distdir)/network $(distdir)/proto $(distdir)/story_entities $(distdir)/util $(distdir)/util/animation $(distdir)/util/common $(distdir)/world_entities1658 $(mkdir_p) $(distdir)/ai $(distdir)/defs $(distdir)/glmenu $(distdir)/lib/coord $(distdir)/lib/data $(distdir)/lib/graphics $(distdir)/lib/graphics/importer $(distdir)/lib/graphics/particles $(distdir)/lib/gui/gui $(distdir)/lib/lang $(distdir)/lib/math $(distdir)/lib/util $(distdir)/network $(distdir)/proto $(distdir)/story_entities $(distdir)/util $(distdir)/util/animation $(distdir)/util/common $(distdir)/world_entities 1185 1659 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 1186 1660 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ … … 1212 1686 if test "$$subdir" = .; then :; else \ 1213 1687 test -d "$(distdir)/$$subdir" \ 1214 || $(mkdir_p)"$(distdir)/$$subdir" \1688 || mkdir "$(distdir)/$$subdir" \ 1215 1689 || exit 1; \ 1216 distdir=`$(am__cd) $(distdir) && pwd`; \1217 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \1218 1690 (cd $$subdir && \ 1219 1691 $(MAKE) $(AM_MAKEFLAGS) \ 1220 top_distdir=" $$top_distdir" \1221 distdir=" $$distdir/$$subdir" \1692 top_distdir="../$(top_distdir)" \ 1693 distdir="../$(distdir)/$$subdir" \ 1222 1694 distdir) \ 1223 1695 || exit 1; \ … … 1226 1698 check-am: all-am 1227 1699 check: check-recursive 1228 all-am: Makefile $( PROGRAMS) $(HEADERS)1700 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS) 1229 1701 installdirs: installdirs-recursive 1230 1702 installdirs-am: … … 1251 1723 1252 1724 distclean-generic: 1253 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)1725 -rm -f $(CONFIG_CLEAN_FILES) 1254 1726 1255 1727 maintainer-clean-generic: … … 1258 1730 clean: clean-recursive 1259 1731 1260 clean-am: clean-binPROGRAMS clean-generic mostlyclean-am 1732 clean-am: clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \ 1733 mostlyclean-am 1261 1734 1262 1735 distclean: distclean-recursive … … 1308 1781 1309 1782 .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ 1310 clean clean-binPROGRAMS clean-generic clean- recursive ctags\1311 c tags-recursive distclean distclean-compile distclean-generic\1312 distclean- recursive distclean-tags distdir dvi dvi-am html\1313 html-am info info-am install install-am install-binPROGRAMS\1314 install -data install-data-am install-exec install-exec-am\1315 install- info install-info-am install-man install-strip\1316 install check installcheck-am installdirs installdirs-am\1317 maintainer-clean maintainer-clean-generic\1318 maintainer-clean- recursive mostlyclean mostlyclean-compile \1319 mostlyclean -generic mostlyclean-recursive pdf pdf-am ps ps-am\1320 tags tags-recursive uninstall uninstall-am\1321 uninstall -binPROGRAMS uninstall-info-am1783 clean clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \ 1784 clean-recursive ctags ctags-recursive distclean \ 1785 distclean-compile distclean-generic distclean-recursive \ 1786 distclean-tags distdir dvi dvi-am html html-am info info-am \ 1787 install install-am install-binPROGRAMS install-data \ 1788 install-data-am install-exec install-exec-am install-info \ 1789 install-info-am install-man install-strip installcheck \ 1790 installcheck-am installdirs installdirs-am maintainer-clean \ 1791 maintainer-clean-generic maintainer-clean-recursive \ 1792 mostlyclean mostlyclean-compile mostlyclean-generic \ 1793 mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ 1794 uninstall uninstall-am uninstall-binPROGRAMS uninstall-info-am 1322 1795 1323 1796 -
orxonox/branches/heightMap/src/command_node.cc
r3654 r4122 57 57 this->bEnabled = true; 58 58 this->world = NULL; 59 this->loadBindings 59 this->loadBindings(filename); 60 60 } 61 61 … … 111 111 \param filename: The path and name of the file to load the bindings from 112 112 */ 113 void CommandNode::loadBindings (char* filename )113 void CommandNode::loadBindings (char* filename = DEFAULT_KEYBIND_FILE) 114 114 { 115 115 FILE* stream; 116 116 117 117 PRINTF(4)("Loading key bindings from %s\n", filename); 118 119 if( filename == NULL) filename = DEFAULT_KEYBIND_FILE;120 118 121 119 // remove old bindings if present … … 128 126 // create parser 129 127 IniParser parser (filename); 130 if( parser.getSection ( "Bindings") == -1)131 { 132 PRINTF(1)("Could not find key bindings in %s\n", filename);128 if( parser.getSection (CONFIG_SECTION_PLAYER "1") == -1) 129 { 130 PRINTF(1)("Could not find key bindings " CONFIG_SECTION_PLAYER"1 in %s\n", filename); 133 131 return; 134 132 } … … 144 142 while( parser.nextVar (namebuf, valuebuf) != -1) 145 143 { 146 index = nameToIndex ( namebuf);144 index = nameToIndex (valuebuf); 147 145 switch( index[0]) 148 146 { 149 147 case 0: 150 PRINTF(4)("Key binding %d(%s) set to %s\n", index[1], SDLKToKeyname( index[1]), valuebuf);151 strcpy (aliases->keys[index[1]], valuebuf);148 PRINTF(4)("Key binding %d(%s) set to %s\n", index[1], SDLKToKeyname( index[1]), namebuf); 149 strcpy (aliases->keys[index[1]], namebuf); 152 150 break; 153 151 case 1: 154 PRINTF(4)("Button binding %d(%s) set to %s\n", index[1], SDLBToButtonname( index[1]), valuebuf);155 strcpy (aliases->buttons[index[1]], valuebuf);152 PRINTF(4)("Button binding %d(%s) set to %s\n", index[1], SDLBToButtonname( index[1]), namebuf); 153 strcpy (aliases->buttons[index[1]], namebuf); 156 154 break; 157 155 default: … … 161 159 memset (valuebuf, 0, 256); 162 160 } 161 162 163 // PARSE MISC SECTION 164 if( parser.getSection (CONFIG_SECTION_MISC_KEYS) == -1) 165 { 166 PRINTF(1)("Could not find key bindings in %s\n", filename); 167 return; 168 } 169 170 while( parser.nextVar (namebuf, valuebuf) != -1) 171 { 172 index = nameToIndex (valuebuf); 173 switch( index[0]) 174 { 175 case 0: 176 PRINTF(4)("Key binding %d(%s) set to %s\n", index[1], SDLKToKeyname( index[1]), namebuf); 177 strcpy (aliases->keys[index[1]], namebuf); 178 break; 179 case 1: 180 PRINTF(4)("Button binding %d(%s) set to %s\n", index[1], SDLBToButtonname( index[1]), namebuf); 181 strcpy (aliases->buttons[index[1]], namebuf); 182 break; 183 default: 184 break; 185 } 186 memset (namebuf, 0, 256); 187 memset (valuebuf, 0, 256); 188 } 189 163 190 } 164 191 -
orxonox/branches/heightMap/src/command_node.h
r3608 r4122 18 18 #define N_STD_KEYS SDLK_LAST 19 19 #define N_BUTTONS 6 20 #define DEFAULT_KEYBIND_FILE " default.ini"20 #define DEFAULT_KEYBIND_FILE "~/.orxonox/orxonox.conf" 21 21 22 22 //! Key aliasing structure -
orxonox/branches/heightMap/src/defs/debug.h
r4095 r4122 59 59 #define DEBUG_MODULE_PNODE 0 60 60 #define DEBUG_MODULE_WORLD_ENTITY 0 61 #define DEBUG_MODULE_COMMAND_NODE 061 #define DEBUG_MODULE_COMMAND_NODE 4 62 62 #define DEBUG_MODULE_GRAPHICS 0 63 #define DEBUG_MODULE_LOAD 063 #define DEBUG_MODULE_LOAD 2 64 64 65 65 #define DEBUG_MODULE_IMPORTER 0 66 #define DEBUG_MODULE_IMPORTER 3 66 67 #define DEBUG_MODULE_TRACK_MANAGER 0 67 68 #define DEBUG_MODULE_GARBAGE_COLLECTOR 0 … … 73 74 #define DEBUG_MODULE_ANIM 0 74 75 #define DEBUG_MODULE_HEIGHTMAP 4 76 #define DEBUG_MODULE_PARTICLE 4 75 77 76 78 #define DEBUG_MODULE_NULL_PARENT 0 -
orxonox/branches/heightMap/src/defs/stdincl.h
r3863 r4122 25 25 #include "error.h" 26 26 #include "debug.h" 27 #include "globals.h" 27 28 28 29 #include "compiler.h" 30 #include "xmlparser/tinyxml.h" 31 #include "factory.h" 29 32 30 33 #endif /* _STDINCL_H */ -
orxonox/branches/heightMap/src/game_loader.cc
r4021 r4122 25 25 #include "command_node.h" 26 26 #include "vector.h" 27 #include "resource_manager.h" 28 #include "factory.h" 27 29 28 30 #include <string.h> … … 35 37 36 38 37 GameLoader::GameLoader () {} 39 GameLoader::GameLoader () 40 { 41 first = NULL; 42 } 38 43 39 44 … … 72 77 { 73 78 ErrorMessage errorCode; 74 75 this->currentCampaign = this->fileToCampaign(name); 79 char* campaignName; 80 if (ResourceManager::isFile(name)) 81 { 82 this->currentCampaign = this->fileToCampaign(name); 83 } 84 else 85 { 86 campaignName = new char[strlen(ResourceManager::getInstance()->getDataDir())+strlen(name)]; 87 sprintf(campaignName, "%s%s", ResourceManager::getInstance()->getDataDir(), name); 88 this->currentCampaign = this->fileToCampaign(campaignName); 89 delete campaignName; 90 } 76 91 } 77 92 … … 163 178 this will interprete the map/campaign files and recursivly load a tree of worlds/campaigns 164 179 */ 165 Campaign* GameLoader::fileToCampaign(c har *name)180 Campaign* GameLoader::fileToCampaign(const char *name) 166 181 { 167 182 /* do not entirely load the campaign. just the current world … … 169 184 can load everything it needs into memory then. 170 185 */ 186 187 if( name == NULL) 188 { 189 PRINTF(2)("No filename specified for loading"); 190 return NULL; 191 } 192 193 TiXmlDocument* XMLDoc = new TiXmlDocument( name); 194 // load the campaign document 195 if( !XMLDoc->LoadFile()) 196 { 197 // report an error 198 PRINTF(1)("Could not load XML File %s: %s @ %d:%d\n", name, XMLDoc->ErrorDesc(), XMLDoc->ErrorRow(), XMLDoc->ErrorCol()); 199 delete XMLDoc; 200 return NULL; 201 } 202 203 // check basic validity 204 TiXmlElement* root = XMLDoc->RootElement(); 205 assert( root != NULL); 206 207 if( strcmp( root->Value(), "Campaign")) 208 { 209 // report an error 210 PRINTF(2)("Specified XML File is not an orxonox campaign file (Campaign element missing)\n"); 211 delete XMLDoc; 212 return NULL; 213 } 214 215 // construct campaign 216 Campaign* c = new Campaign( root); 217 218 // free the XML data 219 delete XMLDoc; 220 221 return c; 171 222 } 172 223 … … 179 230 bool GameLoader::worldCommand (Command* cmd) 180 231 { 181 if( !strcmp( cmd->cmd, "up_world"))232 if( !strcmp( cmd->cmd, CONFIG_NAME_NEXT_WORLD)) 182 233 { 183 234 if( !cmd->bUp) … … 187 238 return true; 188 239 } 189 else if( !strcmp( cmd->cmd, "down_world"))240 else if( !strcmp( cmd->cmd, CONFIG_NAME_PREV_WORLD)) 190 241 { 191 242 if( !cmd->bUp) … … 195 246 return true; 196 247 } 197 else if( !strcmp( cmd->cmd, "pause"))248 else if( !strcmp( cmd->cmd, CONFIG_NAME_PAUSE)) 198 249 { 199 250 if( !cmd->bUp) … … 206 257 return true; 207 258 } 208 else if( !strcmp( cmd->cmd, "quit"))259 else if( !strcmp( cmd->cmd, CONFIG_NAME_QUIT)) 209 260 { 210 261 if( !cmd->bUp) this->stop(); … … 235 286 this->currentCampaign->previousLevel(); 236 287 } 288 289 /** 290 \brief add a Factory to the Factory Q 291 \param factory a Factory to be registered 292 */ 293 void GameLoader::registerFactory( Factory* factory) 294 { 295 assert( factory != NULL); 296 297 PRINTF(4)("Registered factory for '%s'\n", factory->getFactoryName()); 298 299 if( first == NULL) first = factory; 300 else first->registerFactory( factory); 301 } 302 303 /** 304 \brief load a StoryEntity 305 \param element a XMLElement containing all the needed info 306 */ 307 BaseObject* GameLoader::fabricate( TiXmlElement* element) 308 { 309 assert( element != NULL); 310 311 if( first == NULL) 312 { 313 PRINTF(1)("GameLoader does not know any factories, fabricate() failed\n"); 314 return NULL; 315 } 316 317 if( element->Value() != NULL) 318 { 319 PRINTF(4)("Attempting fabrication of a '%s'\n", element->Value()); 320 BaseObject* b = first->fabricate( element); 321 if( b == NULL) 322 PRINTF(2)("Failed to fabricate a '%s'\n", element->Value()); 323 else 324 PRINTF(4)("Successfully fabricated a '%s'\n", element->Value()); 325 return b; 326 } 327 328 PRINTF(2)("Fabricate failed, TiXmlElement did not contain a value\n"); 329 330 return NULL; 331 } -
orxonox/branches/heightMap/src/game_loader.h
r3629 r4122 10 10 #include "story_def.h" 11 11 #include "comincl.h" 12 12 13 13 14 //----------------------------------------------------------------------------- … … 51 52 ErrorMessage loadDebugCampaign(Uint32 campaignID); 52 53 54 void registerFactory( Factory* factory); 55 BaseObject* fabricate( TiXmlElement* data); 56 53 57 private: 54 58 GameLoader (); … … 60 64 Campaign* currentCampaign; //!> the current campaign playing 61 65 62 Campaign* fileToCampaign(c har* name);66 Campaign* fileToCampaign(const char* name); 63 67 68 Factory* first; 64 69 }; 65 70 -
orxonox/branches/heightMap/src/glmenu/glmenu_imagescreen.cc
r3729 r4122 20 20 21 21 #include "stdincl.h" 22 #include "graphics_engine.h" 22 23 #include "material.h" 23 24 25 CREATE_FACTORY(GLMenuImageScreen); 26 27 24 28 using namespace std; 25 26 GLMenuImageScreen* GLMenuImageScreen::singletonRef = 0;27 28 GLMenuImageScreen* GLMenuImageScreen::getInstance()29 {30 if(!singletonRef)31 singletonRef = new GLMenuImageScreen ();32 return singletonRef;33 }34 35 29 /** 36 30 \brief standard constructor 37 38 \todo this constructor is not jet implemented - do it39 31 */ 40 32 GLMenuImageScreen::GLMenuImageScreen () 41 33 { 42 this->setClassName ("GLMenuImageScreen");43 34 this->init(); 44 35 } 45 36 37 /** 38 \param root The Element to load the GLMenu from 39 */ 40 GLMenuImageScreen::GLMenuImageScreen (TiXmlElement* root) 41 { 42 this->init(); 43 this->load(root); 44 45 } 46 47 /** 48 \brief Loads a GLMenu from an inputElement 49 \param root The Element to load the GLMenu from 50 51 Tags are: 52 \li BackgroundImage STRING: the background Image 53 \li BarImage: STRING: the Image on the Bar 54 \li BackgroundPS: FLOAT FLOAT FLOAT FLOAT: posX posY scaleX scaleY 55 \li BarPS: FLOAT FLOAT FLOAT FLOAT: posX posY scaleX scaleY 56 \li ElementCount: INT: how many elements will be loaded 57 */ 58 void GLMenuImageScreen::load(TiXmlElement* root) 59 { 60 const char* string; 61 62 // Model Loading 63 string = grabParameter( root, "BackgroundImage"); 64 if( string != NULL) 65 this->setBackgroundImage(string); 66 67 string = grabParameter(root, "BackgroundPS"); 68 if (string != NULL) 69 { 70 float f1, f2, f3, f4; 71 sscanf (string, "%f %f %f %f", &f1, &f2, &f3, &f4); 72 this->setPosition(f1,f2); 73 this->setScale(f3,f4); 74 } 75 76 string = grabParameter( root, "BarImage"); 77 if (string != NULL) 78 this->setBarImage(string); 79 string = grabParameter(root, "BarPS"); 80 if (string != NULL) 81 { 82 float f1, f2, f3, f4; 83 sscanf (string, "%f %f %f %f", &f1, &f2, &f3, &f4); 84 this->setBarPosScale(f1,f2,f3,f4); 85 } 86 87 string = grabParameter( root, "ElementCount"); 88 if (string != NULL) 89 this->setMaximum(atoi(string)); 90 } 46 91 47 92 /** … … 51 96 GLMenuImageScreen::~GLMenuImageScreen() 52 97 { 53 if (this->backMat)54 delete this->backMat;98 delete this->backMat; 99 delete barMat; 55 100 } 56 101 … … 60 105 void GLMenuImageScreen::init () 61 106 { 62 /* 63 int w = 680; 64 int h = 480; 65 66 glViewport(0,0,w,h); 67 68 glMatrixMode(GL_PROJECTION); 69 glLoadIdentity(); 70 gluPerspective(45.0f,(GLfloat)w/(GLfloat)h, .5f ,150.0f); 71 glMatrixMode(GL_MODELVIEW); 72 73 glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); 74 glLoadIdentity(); 75 gluLookAt(0, 0, 6, 0, 0, 0, 0, 1, 0); 76 77 // Bind the texture stored at the zero index of g_Texture[] 78 //glBindTexture(GL_TEXTURE_2D, g_Texture[0]); 79 */ 80 81 107 this->setClassName ("GLMenuImageScreen"); 108 82 109 // Select Our VU Meter Background Texture 83 110 this->backMat = new Material("load_screen"); 84 this->ba ckMat->setDiffuseMap("pictures/load_screen.jpg");111 this->barMat = new Material("bar"); 85 112 this->maxValue = 10; 86 113 this->currentValue = 0; 87 114 this->setPosition(0,0); 115 this->setScale(1,1); 116 this->setBarPosScale( .6, .75, .3, .1); 88 117 // End of Background image code. 89 118 } 90 91 92 /**93 \brief function to innit screen with all attributes set94 \param name of the background-image file95 \param height of the ImageScreen96 \param width of the Image Screen97 \param x offset from (0, 0)98 \param y offset from (0, 0)99 100 GLMenu uses its own coordinating system: upper left corner is (0, 0). x-axis is down=height,101 right axis is right direction (=width)102 */103 void GLMenuImageScreen::init (char* backImageName, float height, float width,104 float offsetX, float offsetY)105 {}106 107 108 /**109 \brief draws the ImageScreen to the screenbuffer110 */111 void GLMenuImageScreen::draw ()112 {113 114 glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);115 116 PRINTF(4)("GLMenuImagEscreen::draw() - drawing step %i/%i\n",117 this->currentValue, this->maxValue);118 119 /* screen size */120 int screenWidth = 640;121 int screenHeight = 480;122 123 /* set image size */124 int imageWidth = 640;125 int imageHeight = 480;126 127 /* start pos of image */128 int offsetX = (screenWidth - imageWidth)/2;129 int offsetY = (screenHeight - imageHeight)/2;130 131 /* loadbar pos */132 int barX = 390;133 int barY = 50;134 int barWidth = 230;135 int barHeight = 30;136 137 float val = ((float)this->currentValue/(float)this->maxValue) * barWidth;138 if( val > (float)barWidth)139 val = (float)barWidth;140 141 glMatrixMode(GL_PROJECTION);142 glPushMatrix();143 glLoadIdentity();144 /* set up an ortho screen */145 glOrtho(0, screenWidth, 0, screenHeight, -1, 1);146 glMatrixMode(GL_MODELVIEW);147 glLoadIdentity();148 glPushMatrix();149 150 glEnable(GL_BLEND);151 glPushAttrib(GL_LIGHTING_BIT | GL_TRANSFORM_BIT);152 glDisable(GL_LIGHTING);153 154 /* draw the progress bar */155 glBegin(GL_QUADS);156 glColor3f(0.96, 0.84, 0.34);157 glVertex2i(barX, barY);158 glVertex2i(barX + (int)val, barY);159 glVertex2i(barX + (int)val, barY + barHeight);160 glVertex2i(barX, barY + barHeight);161 glColor3f(1.0, 1.0, 1.0);162 glEnd();163 164 glBegin(GL_QUADS);165 glColor3f(0.0, 0.0, 0.0);166 glVertex2i(barX, barY);167 glVertex2i(barX + barWidth, barY);168 glVertex2i(barX + barWidth, barY + barHeight);169 glVertex2i(barX, barY + barHeight);170 glColor3f(1.0, 1.0, 1.0);171 glEnd();172 173 /* draw black border */174 glBegin(GL_QUADS);175 glColor3f(0.0, 0.0, 0.0);176 glVertex2i(barX-1, barY-1);177 glVertex2i(barX + barWidth +1, barY-1);178 glVertex2i(barX + barWidth+1, barY + barHeight+1);179 glVertex2i(barX - 1, barY + barHeight +1);180 glColor3f(1.0, 1.0, 1.0);181 glEnd();182 183 /* draw white border */184 glBegin(GL_QUADS);185 glColor3f(1.0, 1.0, 1.0);186 glVertex2i(barX-2, barY-2);187 glVertex2i(barX + barWidth +2, barY-2);188 glVertex2i(barX + barWidth+2, barY + barHeight+2);189 glVertex2i(barX - 2, barY + barHeight +2);190 glColor3f(1.0, 1.0, 1.0);191 glEnd();192 193 backMat->select();194 glBegin(GL_QUADS);195 glTexCoord2i(0, 0); glVertex2i(offsetX, offsetY);196 glTexCoord2i(1, 0); glVertex2i(offsetX + imageWidth, offsetY);197 glTexCoord2i(1, 1); glVertex2i(offsetX + imageWidth, offsetY + imageHeight);198 glTexCoord2i(0, 1); glVertex2i(offsetX, offsetY + imageHeight);199 glEnd();200 glDisable(GL_TEXTURE_2D);201 202 glDisable(GL_BLEND);203 glPopMatrix();204 glMatrixMode(GL_PROJECTION);205 glPopMatrix();206 glPopAttrib();207 208 SDL_GL_SwapBuffers();209 }210 211 119 212 120 /** … … 214 122 \param file name of the backgroun-image 215 123 */ 216 void GLMenuImageScreen::setBackImageName (char* backImageName) 217 {} 124 void GLMenuImageScreen::setBackgroundImage (const char* backImageName) 125 { 126 this->backMat->setDiffuseMap(backImageName); 127 } 218 128 219 129 220 130 /** 221 131 \brief sets position of the ImageScreen 222 \param x offset from (0, 0)223 \param y offset from (0, 0)132 \param x offset from the top left corner in percent(0-1) of the screensize 133 \param y offset from the top left corner in percent(0-1) of the screensize 224 134 */ 225 135 void GLMenuImageScreen::setPosition(float offsetX, float offsetY) 226 {} 136 { 137 this->offsetX = offsetX; 138 this->offsetY = offsetY; 139 } 227 140 228 141 229 142 /* 230 143 \brief sets size of the ImageScreen 231 \param height of the ImageScreen 232 \param width of the Image Screen 233 */ 234 void GLMenuImageScreen::setSize(float height, float width) 235 {} 144 \param scaleX the scaleing of the image into the x-direction (in percent (0-1)) 145 \param scaleY the scaleing of the image into the y-direction (in percent (0-1)) 146 */ 147 void GLMenuImageScreen::setScale(float scaleX, float scaleY) 148 { 149 this->scaleX = scaleX; 150 this->scaleY = scaleY; 151 } 152 153 /** 154 \param barImage An image for the Bar 155 */ 156 void GLMenuImageScreen::setBarImage(const char* barImage) 157 { 158 this->barMat->setDiffuseMap(barImage); 159 } 160 161 /** 162 \brief sets the Position and the Size of the bar 163 \param barX The Position in the x-direction in percent of the screen (0-1) 164 \param barY The Position in the y-direction in percent of the screen (0-1) 165 \param barW The Size in the x-direction in percent of the screen (0-1) 166 \param barH The Size in the y-direction in percent of the screen (0-1) 167 */ 168 void GLMenuImageScreen::setBarPosScale(float barX, float barY, float barW, float barH) 169 { 170 this->barX = barX; 171 this->barY = barY; 172 this->barW = barW; 173 this->barH = barH; 174 } 236 175 237 176 … … 285 224 this->draw(); 286 225 } 226 227 228 229 /** 230 \brief draws the ImageScreen to the screenbuffer 231 */ 232 void GLMenuImageScreen::draw () 233 { 234 glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); 235 236 PRINTF(4)("GLMenuImagEscreen::draw() - drawing step %i/%i\n", 237 this->currentValue, this->maxValue); 238 239 /* screen size */ 240 int screenWidth = GraphicsEngine::getInstance()->getResolutionX(); 241 int screenHeight = GraphicsEngine::getInstance()->getResolutionY(); 242 243 int imageWidth = (int)(screenWidth * this->scaleX); 244 int imageHeight = (int)(screenHeight * this->scaleY); 245 246 int offsetX = (int)(this->offsetX * screenWidth); 247 int offsetY = (int)(this->offsetY * screenHeight); 248 249 /* loadbar pos */ 250 int barX = (int)(this->barX *screenWidth); 251 int barY = (int)(this->barY *screenHeight); 252 int barW = (int)(this->barW *screenWidth); 253 int barH = (int)(this->barH *screenHeight); 254 255 float val = (float)this->currentValue/(float)this->maxValue; 256 257 if( val > barW) 258 val = barW; 259 260 GraphicsEngine::enter2DMode(); 261 262 /* draw the BackGround */ 263 backMat->select(); 264 glBegin(GL_TRIANGLE_STRIP); 265 glTexCoord2i(0, 0); glVertex2i(offsetX, offsetY + imageHeight); 266 glTexCoord2i(1, 0); glVertex2i(offsetX +imageWidth, offsetY + imageHeight); 267 glTexCoord2i(0, 1); glVertex2i(offsetX, offsetY); 268 glTexCoord2i(1, 1); glVertex2i(offsetX + imageWidth, offsetY); 269 glEnd(); 270 271 glDisable(GL_TEXTURE_2D); 272 /* draw white border */ 273 glBegin(GL_LINE_LOOP); 274 glColor3f(1.0, 1.0, 1.0); 275 glVertex2i(barX - 2, barY - 2); 276 glVertex2i(barX + barW + 2, barY - 2); 277 glVertex2i(barX + barW + 2, barY + barH + 2); 278 glVertex2i(barX - 2, barY + barH + 2); 279 glColor3f(1.0, 1.0, 1.0); 280 glEnd(); 281 282 /* draw the progress bar */ 283 barMat->select(); 284 glBegin(GL_TRIANGLE_STRIP); 285 glTexCoord2f(0, 0); glVertex2i(barX, barY + barH); 286 glTexCoord2f(val, 0); glVertex2i(barX + (int)(val * this->barW * (float)screenWidth), barY + barH); 287 glTexCoord2f(0, 1); glVertex2i(barX, barY); 288 glTexCoord2f(val, 1); glVertex2i(barX + (int)(val * this->barW * (float)screenWidth), barY); 289 glEnd(); 290 291 /* 292 glBegin(GL_QUADS); 293 glColor3f(0.0, 0.0, 0.0); 294 glVertex2i(barX, barY); 295 glVertex2i(barX + barWidth, barY); 296 glVertex2i(barX + barWidth, barY + barHeight); 297 glVertex2i(barX, barY + barHeight); 298 glColor3f(1.0, 1.0, 1.0); 299 glEnd(); 300 301 /* draw black border 302 glBegin(GL_QUADS); 303 glColor3f(0.0, 0.0, 0.0); 304 glVertex2i(barX-1, barY-1); 305 glVertex2i(barX + barWidth +1, barY-1); 306 glVertex2i(barX + barWidth+1, barY + barHeight+1); 307 glVertex2i(barX - 1, barY + barHeight +1); 308 glColor3f(1.0, 1.0, 1.0); 309 glEnd(); 310 311 */ 312 313 GraphicsEngine::leave2DMode(); 314 315 SDL_GL_SwapBuffers(); 316 } 317 318 -
orxonox/branches/heightMap/src/glmenu/glmenu_imagescreen.h
r3675 r4122 11 11 12 12 class Material; 13 class TiXmlElement; 13 14 14 15 class GLMenuImageScreen : public BaseObject { 15 16 16 p rivate:17 public: 17 18 GLMenuImageScreen (); 18 19 public:19 GLMenuImageScreen (TiXmlElement* root); 20 void load(TiXmlElement* root); 20 21 virtual ~GLMenuImageScreen (); 21 22 static GLMenuImageScreen* getInstance();23 24 static GLMenuImageScreen* singletonRef;25 22 26 23 void init (); 27 void init (char* backImageName, float height, float width,28 float offsetX, float offsetY);29 24 30 25 void draw (); 31 26 32 void setBackImageName (char* backImageName); 33 void setPosition (float offsetX, float offsetY); 34 void setSize (float height, float width); 35 27 void setBackgroundImage(const char* backImageName); 28 void setPosition(float offsetX, float offsetY); 29 void setScale (float scaleX, float scaleY); 30 31 void setBarImage(const char* barImage); 32 void setBarPosScale(float barX, float barY, float barW, float barH); 33 36 34 void setMaximum (int maxValue); 37 35 int getMaximum (); … … 42 40 private: 43 41 char* backImageName; //!< the name of the file of the background image 44 float height, width;//!< hight and width of the image42 float scaleX, scaleY; //!< hight and width of the image 45 43 float offsetX, offsetY; //!< offset of the image from left and up 46 44 Material* backMat; //!< Background Material. 45 float barX, barY, barW, barH; //!< Position and Scale of the bar. 46 Material* barMat; //!< A Material for the Loading-Bar 47 47 48 48 /* progress bar values */ -
orxonox/branches/heightMap/src/lib/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 34 34 PRE_UNINSTALL = : 35 35 POST_UNINSTALL = : 36 build_triplet = @build@37 36 host_triplet = @host@ 38 target_triplet = @target@39 37 subdir = src/lib 40 38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 91 89 EXEEXT = @EXEEXT@ 92 90 GPROF = @GPROF@ 93 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@94 GTHREAD_LIBS = @GTHREAD_LIBS@95 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 96 92 GTK2_LIBS = @GTK2_LIBS@ 97 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 98 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 99 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@100 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@101 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 102 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 119 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 120 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 121 116 SET_MAKE = @SET_MAKE@ 122 117 SHELL = @SHELL@ … … 127 122 ac_ct_CC = @ac_ct_CC@ 128 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 129 125 ac_ct_STRIP = @ac_ct_STRIP@ 130 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 135 131 am__leading_dot = @am__leading_dot@ 136 132 am__quote = @am__quote@ 137 am__tar = @am__tar@138 am__untar = @am__untar@139 133 bindir = @bindir@ 140 134 build = @build@ … … 360 354 if test "$$subdir" = .; then :; else \ 361 355 test -d "$(distdir)/$$subdir" \ 362 || $(mkdir_p)"$(distdir)/$$subdir" \356 || mkdir "$(distdir)/$$subdir" \ 363 357 || exit 1; \ 364 distdir=`$(am__cd) $(distdir) && pwd`; \365 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \366 358 (cd $$subdir && \ 367 359 $(MAKE) $(AM_MAKEFLAGS) \ 368 top_distdir=" $$top_distdir" \369 distdir=" $$distdir/$$subdir" \360 top_distdir="../$(top_distdir)" \ 361 distdir="../$(distdir)/$$subdir" \ 370 362 distdir) \ 371 363 || exit 1; \ … … 396 388 397 389 distclean-generic: 398 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)390 -rm -f $(CONFIG_CLEAN_FILES) 399 391 400 392 maintainer-clean-generic: -
orxonox/branches/heightMap/src/lib/coord/null_parent.cc
r3809 r4122 54 54 this->parent = this; 55 55 this->mode = PNODE_ALL; 56 *this->absCoordinate = absCoordinate;56 this->absCoordinate = absCoordinate; 57 57 this->setName("NullParent"); 58 58 } … … 80 80 { 81 81 82 PRINTF(4)("NullParent::update - (%f, %f, %f)\n", this->absCoordinate ->x, this->absCoordinate->y, this->absCoordinate->z);83 *this->absCoordinate = *this->relCoordinate;84 *this->absDirection = parent->getAbsDir () * *this->relDirection;82 PRINTF(4)("NullParent::update - (%f, %f, %f)\n", this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z); 83 this->absCoordinate = this->relCoordinate; 84 this->absDirection = parent->getAbsDir () * this->relDirection; 85 85 86 86 tIterator<PNode>* iterator = this->children->getIterator(); -
orxonox/branches/heightMap/src/lib/coord/p_node.cc
r3860 r4122 60 60 this->init(parent); 61 61 62 *this->absCoordinate = absCoordinate;62 this->absCoordinate = absCoordinate; 63 63 64 64 if (likely(parent != NULL)) 65 65 { 66 *this->relCoordinate = *this->absCoordinate - parent->getAbsCoor();66 this->relCoordinate = this->absCoordinate - parent->getAbsCoor(); 67 67 parent->addChild (this); 68 68 } 69 else70 this->relCoordinate = new Vector();71 69 } 72 70 … … 89 87 delete []this->objectName; 90 88 91 delete this->relCoordinate;92 delete this->absCoordinate;93 delete this->relDirection;94 delete this->absDirection;95 delete this->lastAbsCoordinate;96 delete this->diffCoordinate;97 89 } 98 90 … … 108 100 this->objectName = NULL; 109 101 this->time = 1.0; /* set time to 1 to make divisions by zero impossible */ 110 111 this->absCoordinate = new Vector();112 this->relCoordinate = new Vector();113 this->absDirection = new Quaternion();114 this->relDirection = new Quaternion();115 this->lastAbsCoordinate = new Vector();116 this->diffCoordinate = new Vector();117 102 } 118 103 … … 158 143 { 159 144 this->bRelCoorChanged = true; 160 *this->relCoordinate = relCoord;145 this->relCoordinate = relCoord; 161 146 } 162 147 … … 182 167 { 183 168 this->bAbsCoorChanged = true; 184 *this->absCoordinate = absCoord;169 this->absCoordinate = absCoord; 185 170 } 186 171 … … 211 196 if( unlikely(this->bAbsCoorChanged)) 212 197 { 213 *this->absCoordinate = *this->absCoordinate +shift;198 this->absCoordinate += shift; 214 199 } 215 200 else 216 201 { 217 *this->relCoordinate = *this->relCoordinate +shift;202 this->relCoordinate += shift; 218 203 this->bRelCoorChanged = true; 219 204 } … … 241 226 { 242 227 this->bRelCoorChanged = true; 243 *this->relDirection = relDir;228 this->relDirection = relDir; 244 229 } 245 230 … … 264 249 { 265 250 this->bAbsDirChanged = true; 266 *this->absDirection = absDir;251 this->absDirection = absDir; 267 252 } 268 253 … … 293 278 { 294 279 this->bRelDirChanged = true; 295 *this->relDirection = *this->relDirection * shift;280 this->relDirection = this->relDirection * shift; 296 281 } 297 282 … … 303 288 float PNode::getSpeed() const 304 289 { 305 *this->diffCoordinate = *this->absCoordinate - *this->lastAbsCoordinate; 306 return this->diffCoordinate->len() / this->time; 307 } 308 290 return (this->absCoordinate - this->lastAbsCoordinate).len() / this->time; 291 } 292 293 /** 294 \returns the Velocity of the PNode 295 */ 296 Vector PNode::getVelocity() const 297 { 298 return (this->absCoordinate - this->lastAbsCoordinate) / this->time; 299 } 309 300 310 301 /** … … 432 423 void PNode::update (float dt) 433 424 { 434 *this->lastAbsCoordinate = *this->absCoordinate;425 this->lastAbsCoordinate = this->absCoordinate; 435 426 this->time = dt; 436 PRINTF(4)("PNode::update - %s - (%f, %f, %f)\n", this->objectName, this->absCoordinate ->x, this->absCoordinate->y, this->absCoordinate->z);427 PRINTF(4)("PNode::update - %s - (%f, %f, %f)\n", this->objectName, this->absCoordinate.x, this->absCoordinate.y, this->absCoordinate.z); 437 428 438 429 … … 442 433 { 443 434 /* if you have set the absolute coordinates this overrides all other changes */ 444 *this->relCoordinate = *this->absCoordinate - parent->getAbsCoor ();435 this->relCoordinate = this->absCoordinate - parent->getAbsCoor (); 445 436 } 446 437 if( likely(this->bRelCoorChanged) /*&& this->timeStamp != DataTank::timeStamp*/) … … 455 446 } 456 447 else */ 457 *this->absCoordinate = parent->getAbsCoor() + *this->relCoordinate; /* update the current absCoordinate */448 this->absCoordinate = parent->getAbsCoor() + this->relCoordinate; /* update the current absCoordinate */ 458 449 } 459 450 } … … 464 455 { 465 456 /* if you have set the absolute coordinates this overrides all other changes */ 466 *this->relDirection = *this->absDirection - parent->getAbsDir();457 this->relDirection = this->absDirection - parent->getAbsDir(); 467 458 } 468 459 else if( likely(this->bRelDirChanged) /*&& this->timeStamp != DataTank::timeStamp*/) 469 460 { 470 461 /* update the current absDirection - remember * means rotation around sth.*/ 471 *this->absDirection = parent->getAbsDir() * *this->relDirection;462 this->absDirection = parent->getAbsDir() * this->relDirection; 472 463 } 473 464 } … … 478 469 { 479 470 /* if you have set the absolute coordinates this overrides all other changes */ 480 *this->relCoordinate = *this->absCoordinate - parent->getAbsCoor ();471 this->relCoordinate = this->absCoordinate - parent->getAbsCoor (); 481 472 } 482 473 else if( likely(this->bRelCoorChanged) /*&& this->timeStamp != DataTank::timeStamp*/) … … 486 477 *this->absCoordinate = *this->relCoordinate; 487 478 else*/ 488 *this->absCoordinate = parent->getAbsCoor() + parent->getAbsDir().apply(*this->relCoordinate); /* update the current absCoordinate */479 this->absCoordinate = parent->getAbsCoor() + parent->getAbsDir().apply(this->relCoordinate); /* update the current absCoordinate */ 489 480 } 490 481 } … … 540 531 { 541 532 PRINTF(2)("PNode::debug() - absCoord: (%f, %f, %f)\n", 542 this->absCoordinate ->x,543 this->absCoordinate ->y,544 this->absCoordinate ->z);533 this->absCoordinate.x, 534 this->absCoordinate.y, 535 this->absCoordinate.z); 545 536 } 546 537 … … 551 542 for debug purposes realy usefull, not used to work properly 552 543 */ 553 void PNode::setName (c har* newName)544 void PNode::setName (const char* newName) 554 545 { 555 546 this->objectName = new char[strlen(newName)+1]; … … 561 552 \brief gets the name of the node 562 553 */ 563 c har* PNode::getName ()554 const char* PNode::getName () 564 555 { 565 556 return this->objectName; -
orxonox/branches/heightMap/src/lib/coord/p_node.h
r3813 r4122 57 57 58 58 59 inline Vector*getRelCoor () const { return this->relCoordinate; }59 inline const Vector& getRelCoor () const { return this->relCoordinate; } 60 60 void setRelCoor (const Vector& relCoord); 61 inline Vector getAbsCoor () const { return *this->absCoordinate; }61 inline const Vector& getAbsCoor () const { return this->absCoordinate; } 62 62 void setAbsCoor (const Vector& absCoord); 63 63 void shiftCoor (const Vector& shift); 64 64 65 inline Quaternion getRelDir () const { return *this->relDirection; }65 inline const Quaternion& getRelDir () const { return this->relDirection; } 66 66 void setRelDir (const Quaternion& relDir); 67 inline Quaternion getAbsDir () const { return *this->absDirection; }67 inline const Quaternion& getAbsDir () const { return this->absDirection; } 68 68 void setAbsDir (const Quaternion& absDir); 69 69 void shiftDir (const Quaternion& shift); 70 70 71 71 float getSpeed() const; 72 Vector getVelocity() const; 72 73 73 74 void addChild (PNode* pNode, int parentingMode = DEFAULT_MODE); … … 85 86 void processTick (float dt); 86 87 87 void setName (c har* newName);88 c har* getName ();88 void setName (const char* newName); 89 const char* getName (); 89 90 90 91 … … 99 100 bool bRelDirChanged; //!< If Relative Direction has changed since last time we checked 100 101 101 Vector *relCoordinate; //!< coordinates relative to the parent102 Vector *absCoordinate; //!< absolute coordinates in the world ( from (0,0,0) )103 Quaternion *relDirection; //!< direction relative to the parent104 Quaternion *absDirection; //!< absolute direvtion in the world ( from (0,0,1) )102 Vector relCoordinate; //!< coordinates relative to the parent 103 Vector absCoordinate; //!< absolute coordinates in the world ( from (0,0,0) ) 104 Quaternion relDirection; //!< direction relative to the parent 105 Quaternion absDirection; //!< absolute direvtion in the world ( from (0,0,1) ) 105 106 106 107 int mode; //!< the mode of the binding … … 109 110 void init(PNode* parent); 110 111 111 Vector *lastAbsCoordinate; //!< this is used for speedcalculation, it stores the last coordinate112 Vector *diffCoordinate; //!< this is stored here for performance reasons, difference to the last vector112 Vector lastAbsCoordinate; //!< this is used for speedcalculation, it stores the last coordinate 113 Vector diffCoordinate; //!< this is stored here for performance reasons, difference to the last vector 113 114 float time; //!< time since last update 114 115 }; -
orxonox/branches/heightMap/src/lib/graphics/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 34 34 PRE_UNINSTALL = : 35 35 POST_UNINSTALL = : 36 build_triplet = @build@37 36 host_triplet = @host@ 38 target_triplet = @target@39 37 subdir = src/lib/graphics 40 38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 91 89 EXEEXT = @EXEEXT@ 92 90 GPROF = @GPROF@ 93 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@94 GTHREAD_LIBS = @GTHREAD_LIBS@95 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 96 92 GTK2_LIBS = @GTK2_LIBS@ 97 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 98 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 99 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@100 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@101 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 102 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 119 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 120 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 121 116 SET_MAKE = @SET_MAKE@ 122 117 SHELL = @SHELL@ … … 127 122 ac_ct_CC = @ac_ct_CC@ 128 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 129 125 ac_ct_STRIP = @ac_ct_STRIP@ 130 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 135 131 am__leading_dot = @am__leading_dot@ 136 132 am__quote = @am__quote@ 137 am__tar = @am__tar@138 am__untar = @am__untar@139 133 bindir = @bindir@ 140 134 build = @build@ … … 351 345 fi; \ 352 346 done 353 list='$( DIST_SUBDIRS)'; for subdir in $$list; do \347 list='$(SUBDIRS)'; for subdir in $$list; do \ 354 348 if test "$$subdir" = .; then :; else \ 355 349 test -d "$(distdir)/$$subdir" \ 356 || $(mkdir_p)"$(distdir)/$$subdir" \350 || mkdir "$(distdir)/$$subdir" \ 357 351 || exit 1; \ 358 distdir=`$(am__cd) $(distdir) && pwd`; \359 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \360 352 (cd $$subdir && \ 361 353 $(MAKE) $(AM_MAKEFLAGS) \ 362 top_distdir=" $$top_distdir" \363 distdir=" $$distdir/$$subdir" \354 top_distdir="../$(top_distdir)" \ 355 distdir="../$(distdir)/$$subdir" \ 364 356 distdir) \ 365 357 || exit 1; \ … … 390 382 391 383 distclean-generic: 392 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)384 -rm -f $(CONFIG_CLEAN_FILES) 393 385 394 386 maintainer-clean-generic: -
orxonox/branches/heightMap/src/lib/graphics/graphics_engine.cc
r3844 r4122 17 17 18 18 #include "graphics_engine.h" 19 #include "resource_manager.h" 19 20 20 21 #include "debug.h" … … 101 102 102 103 // TO DO: Create a cool icon and use it here 103 SDL_WM_SetIcon(SDL_LoadBMP("../data/pictures/orxonox-icon32x32.bmp"), NULL); 104 104 char* loadPic = new char[strlen(ResourceManager::getInstance()->getDataDir())+ 100]; 105 sprintf(loadPic, "%s%s", ResourceManager::getInstance()->getDataDir(), "pictures/orxonox-icon32x32.bmp"); 106 SDL_WM_SetIcon(SDL_LoadBMP(loadPic), NULL); 107 delete loadPic; 105 108 // Enable default GL stuff 106 109 glEnable(GL_DEPTH_TEST); -
orxonox/branches/heightMap/src/lib/graphics/importer/Makefile.in
r4111 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 38 38 PRE_UNINSTALL = : 39 39 POST_UNINSTALL = : 40 build_triplet = @build@41 40 host_triplet = @host@ 42 target_triplet = @target@43 41 bin_PROGRAMS = importer$(EXEEXT) heightmap$(EXEEXT) 44 42 subdir = src/lib/graphics/importer 45 43 DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \ 46 $(srcdir)/Makefile.in TODO44 $(srcdir)/Makefile.in 47 45 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 48 46 am__aclocal_m4_deps = $(top_srcdir)/configure.ac … … 71 69 depcomp = $(SHELL) $(top_srcdir)/depcomp 72 70 am__depfiles_maybe = depfiles 71 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \ 72 @AMDEP_TRUE@ ./$(DEPDIR)/base_object.Po \ 73 @AMDEP_TRUE@ ./$(DEPDIR)/framework.Po \ 74 @AMDEP_TRUE@ ./$(DEPDIR)/graphics_engine.Po \ 75 @AMDEP_TRUE@ ./$(DEPDIR)/heightMapTerrain.Po \ 76 @AMDEP_TRUE@ ./$(DEPDIR)/heightMapViewer.Po ./$(DEPDIR)/main.Po \ 77 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/model.Po \ 78 @AMDEP_TRUE@ ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \ 79 @AMDEP_TRUE@ ./$(DEPDIR)/p_node.Po \ 80 @AMDEP_TRUE@ ./$(DEPDIR)/primitive_model.Po \ 81 @AMDEP_TRUE@ ./$(DEPDIR)/resource_manager.Po \ 82 @AMDEP_TRUE@ ./$(DEPDIR)/text_engine.Po ./$(DEPDIR)/texture.Po \ 83 @AMDEP_TRUE@ ./$(DEPDIR)/vector.Po ./$(DEPDIR)/windowHandler.Po 73 84 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 74 85 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 157 168 am__leading_dot = @am__leading_dot@ 158 169 am__quote = @am__quote@ 159 am__tar = @am__tar@160 am__untar = @am__untar@161 170 bindir = @bindir@ 162 171 build = @build@ … … 192 201 target_vendor = @target_vendor@ 193 202 MAINSRCDIR = ../../.. 194 AM_CXXFLAGS = -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities \ 195 -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib \ 196 -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data \ 197 -I$(MAINSRCDIR)/lib/graphics \ 198 -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/gui \ 199 -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util \ 200 -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/defs \ 201 -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network \ 202 -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai -I$(MAINSRCDIR)/util \ 203 -I$(MAINSRCDIR)/util/animation -I$(MAINSRCDIR)/util/common 203 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/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 204 204 AM_LDFLAGS = $(MWINDOWS) 205 205 importer_SOURCES = framework.cc \ … … 326 326 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 327 327 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 328 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 328 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 329 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 329 330 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 330 331 … … 333 334 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 334 335 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 335 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 336 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 337 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 336 338 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 337 339 … … 340 342 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 341 343 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/math/vector.cc' object='vector.o' libtool=no @AMDEPBACKSLASH@ 342 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 344 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 345 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 343 346 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.o `test -f '$(MAINSRCDIR)/lib/math/vector.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/math/vector.cc 344 347 … … 347 350 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 348 351 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/math/vector.cc' object='vector.obj' libtool=no @AMDEPBACKSLASH@ 349 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 352 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 353 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 350 354 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.obj `if test -f '$(MAINSRCDIR)/lib/math/vector.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/math/vector.cc'; fi` 351 355 … … 354 358 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 355 359 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' object='graphics_engine.o' libtool=no @AMDEPBACKSLASH@ 356 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 360 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 361 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 357 362 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/graphics_engine.cc 358 363 … … 361 366 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 362 367 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' object='graphics_engine.obj' libtool=no @AMDEPBACKSLASH@ 363 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 368 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 369 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 364 370 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; fi` 365 371 … … 368 374 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 369 375 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/lang/base_object.cc' object='base_object.o' libtool=no @AMDEPBACKSLASH@ 370 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 376 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 377 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 371 378 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.o `test -f '$(MAINSRCDIR)/lib/lang/base_object.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/lang/base_object.cc 372 379 … … 375 382 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 376 383 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/lang/base_object.cc' object='base_object.obj' libtool=no @AMDEPBACKSLASH@ 377 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 384 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 385 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 378 386 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.obj `if test -f '$(MAINSRCDIR)/lib/lang/base_object.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/lang/base_object.cc'; fi` 379 387 … … 382 390 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 383 391 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/util/resource_manager.cc' object='resource_manager.o' libtool=no @AMDEPBACKSLASH@ 384 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 392 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 393 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 385 394 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.o `test -f '$(MAINSRCDIR)/util/resource_manager.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/util/resource_manager.cc 386 395 … … 389 398 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 390 399 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/util/resource_manager.cc' object='resource_manager.obj' libtool=no @AMDEPBACKSLASH@ 391 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 400 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 401 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 392 402 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.obj `if test -f '$(MAINSRCDIR)/util/resource_manager.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/util/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/util/resource_manager.cc'; fi` 393 403 … … 396 406 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 397 407 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/text_engine.cc' object='text_engine.o' libtool=no @AMDEPBACKSLASH@ 398 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 408 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 409 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 399 410 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/text_engine.cc 400 411 … … 403 414 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 404 415 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/text_engine.cc' object='text_engine.obj' libtool=no @AMDEPBACKSLASH@ 405 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 416 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 417 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 406 418 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/text_engine.cc'; fi` 407 419 … … 410 422 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 411 423 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/p_node.cc' object='p_node.o' libtool=no @AMDEPBACKSLASH@ 412 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 424 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 425 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 413 426 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.o `test -f '$(MAINSRCDIR)/lib/coord/p_node.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/p_node.cc 414 427 … … 417 430 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 418 431 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/p_node.cc' object='p_node.obj' libtool=no @AMDEPBACKSLASH@ 419 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 432 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 433 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 420 434 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.obj `if test -f '$(MAINSRCDIR)/lib/coord/p_node.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/p_node.cc'; fi` 421 435 … … 424 438 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 425 439 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/null_parent.cc' object='null_parent.o' libtool=no @AMDEPBACKSLASH@ 426 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 440 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 441 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 427 442 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.o `test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/null_parent.cc 428 443 … … 431 446 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 432 447 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/null_parent.cc' object='null_parent.obj' libtool=no @AMDEPBACKSLASH@ 433 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 448 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 449 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 434 450 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.obj `if test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/null_parent.cc'; fi` 435 451 uninstall-info-am: … … 536 552 537 553 distclean-generic: 538 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)554 -rm -f $(CONFIG_CLEAN_FILES) 539 555 540 556 maintainer-clean-generic: -
orxonox/branches/heightMap/src/lib/graphics/importer/framework.cc
r3910 r4122 79 79 obj = new OBJModel(argv[1]); 80 80 else 81 obj = new PrimitiveModel( SPHERE);81 obj = new PrimitiveModel(CYLINDER); 82 82 83 83 M = Vector(wHandler.screen->w/2, wHandler.screen->h/2, 0); -
orxonox/branches/heightMap/src/lib/graphics/importer/model.cc
r4111 r4122 523 523 524 524 If a face line is found this function will add it to the glList. 525 526 String is different from the argument addFace, in this that the first Vertex/Normal/Texcoord is 1 instead of 0 525 527 */ 526 528 bool Model::addFace (const char* faceString) … … 577 579 \brief adds a new Face 578 580 \param faceElemCount the number of Vertices to add to the Face. 579 \param type 0: vertex only, 1: vertex and normal, 2: vertex and Texture, 3 vertex, normal and texture581 \param type The information Passed with each Vertex 580 582 */ 581 583 bool Model::addFace(int faceElemCount, VERTEX_FORMAT type, ...) … … 594 596 tmpElem = tmpElem->next = new ModelFaceElement; 595 597 596 tmpElem->vertexNumber = va_arg (itemlist, int) -1;598 tmpElem->vertexNumber = va_arg (itemlist, int); 597 599 if (type & TEXCOORD) 598 tmpElem->texCoordNumber = va_arg (itemlist, int) -1;600 tmpElem->texCoordNumber = va_arg (itemlist, int); 599 601 if (type & NORMAL) 600 tmpElem->normalNumber = va_arg(itemlist, int) -1;602 tmpElem->normalNumber = va_arg(itemlist, int); 601 603 this->currentGroup->currentFace->vertexCount++; 602 604 } … … 924 926 this->addVertexNormal (-1.0, 0.0, 0.0); 925 927 926 /* normaleLess-testingMode 927 this->addFace ("1 2 4 3"); 928 this->addFace ("3 4 6 5"); 929 this->addFace ("5 6 8 7"); 930 this->addFace ("7 8 2 1"); 931 this->addFace ("2 8 6 4"); 932 this->addFace ("7 1 3 5"); 933 */ 934 935 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 1,1,1, 2,2,2, 4,4,3, 3,3,4); 936 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 3,3,5, 4,4,6, 6,6,7, 5,5,8); 937 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 5,5,9, 6,6,10, 8,8,11, 7,7,12); 938 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 7,7,13, 8,8,14, 2,10,15, 1,9,16); 939 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 2,2,17, 8,11,18, 6,12,19, 4,4,20); 940 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 7,13,21, 1,1,22, 3,3,23, 5,14,24); 941 942 } 928 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 0,0,0, 1,1,1, 3,3,2, 2,2,3); 929 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 2,2,4, 3,3,5, 5,5,6, 4,4,7); 930 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 4,4,8, 5,5,9, 7,7,10, 6,6,11); 931 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 6,6,12, 7,7,13, 1,9,14, 0,8,15); 932 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 1,1,16, 7,10,17, 5,11,18, 3,3,19); 933 this->addFace (4, VERTEX_TEXCOORD_NORMAL, 6,12,20, 0,0,21, 2,2,22, 4,13,23); 934 935 } -
orxonox/branches/heightMap/src/lib/graphics/importer/objModel.cc
r4111 r4122 34 34 OBJModel::OBJModel(const char* fileName, float scaling) : Model(fileName) 35 35 { 36 this->initializeOBJ(); 36 this->objPath = "./"; 37 37 38 this->scaleFactor = scaling; 38 39 … … 52 53 if (this->objPath) 53 54 delete []this->objPath; 54 if (this->objFileName)55 delete []this->objFileName;56 if (this->mtlFileName)57 delete []this->mtlFileName;58 }59 60 /**61 \brief Initializes an obj-model62 */63 void OBJModel::initializeOBJ(void)64 {65 this->objPath = NULL;66 this->objFileName = NULL;67 this->mtlFileName = NULL;68 55 } 69 56 … … 71 58 \brief Imports a obj file and handles the the relative location 72 59 \param fileName The file to import 60 61 Splits the FileName from the DirectoryName 73 62 */ 74 63 bool OBJModel::importFile (const char* fileName) 75 64 { 76 65 PRINTF(4)("preparing to read in file: %s\n", fileName); 77 78 79 #ifdef __WIN32__ 80 // win32 path reading 81 char pathSplitter= '\\'; 82 #else /* __WIN32__ */ 83 // unix path reading 84 char pathSplitter='/'; 85 #endif /* __WIN32__ */ 86 char* tmpName; 87 strcpy(tmpName, fileName); 88 if (tmpName[0] == pathSplitter) 89 tmpName++; 90 char* name = tmpName; 91 while (( tmpName = strchr (tmpName+1, pathSplitter))) 92 { 93 name = tmpName+1; 94 } 95 this->objPath = new char[name-fileName+1]; 96 strncpy(this->objPath, fileName, name-fileName); 97 this->objPath[name-fileName] = '\0'; 98 if (strlen(objPath)> 0) 99 PRINTF(5)("Resolved file %s to folder: %s.\n", name, objPath); 100 else 101 PRINTF(5)("Resolved file %s.\n", name); 102 103 this->setName(name); 104 105 this->objFileName = new char[strlen(name)+1]; 106 strcpy (this->objFileName, name); 107 this->readFromObjFile (); 66 // splitting the 67 char* split = NULL; 68 69 if (!(split = strrchr(fileName, '/'))) 70 split = strrchr(fileName, '\\'); // windows Case 71 if (split) 72 { 73 int len = split - fileName+1; 74 this->objPath = new char[len +2]; 75 strncpy(this->objPath, fileName, len); 76 this->objPath[len] = '\0'; 77 PRINTF(1)("Resolved file %s to Path %s.\n", fileName, this->objPath); 78 } 79 this->readFromObjFile (fileName); 108 80 return true; 109 81 } … … 113 85 This function does read the file, parses it for the occurence of things like vertices, faces and so on, and executes the specific tasks 114 86 */ 115 bool OBJModel::readFromObjFile (void) 116 { 117 char* fileName = new char [strlen(objPath)+strlen(objFileName)+1]; 118 if (this->objFileName != NULL && !strcmp(this->objFileName, "")) 119 return false; 120 strcpy(fileName, this->objPath); 121 strcat(fileName, this->objFileName); 122 87 bool OBJModel::readFromObjFile(const char* fileName) 88 { 123 89 FILE* stream; 124 90 if( (stream = fopen (fileName, "r")) == NULL) 125 91 { 126 printf(" IniParser could not open%s\n", fileName);92 printf("Object File Could not be Opened %s\n", fileName); 127 93 return false; 128 94 } … … 179 145 } 180 146 fclose (stream); 181 delete []fileName;182 147 return true; 183 148 } … … 194 159 bool OBJModel::readMtlLib (const char* mtlFile) 195 160 { 196 this->mtlFileName = new char [strlen(mtlFile)+1]; 197 strcpy(this->mtlFileName, mtlFile); 198 char* fileName = new char [strlen(this->objPath) + strlen(this->mtlFileName)+1]; 199 sprintf(fileName, "%s%s", this->objPath, this->mtlFileName); 200 161 char* fileName = new char [strlen(this->objPath) + strlen(mtlFile)+1]; 162 sprintf(fileName, "%s%s", this->objPath, mtlFile); 201 163 202 164 FILE* stream; 203 165 if( (stream = fopen (fileName, "r")) == NULL) 204 166 { 205 printf("IniParser could not open %s\n", fileName); 167 PRINTF(2)("MaterialLibrary could not be opened %s\n", fileName); 168 delete []fileName; 206 169 return false; 207 170 } -
orxonox/branches/heightMap/src/lib/graphics/importer/objModel.h
r3916 r4122 15 15 OBJModel(const char* fileName, float scaling = 1.0); 16 16 virtual ~OBJModel(); 17 void initializeOBJ(void);18 17 19 18 private: 20 19 // Variables 21 20 char* objPath; //!< The Path where the obj and mtl-file are located. 22 char* objFileName; //!< The Name of the obj-file.23 char* mtlFileName; //!< The Name of the mtl-file (parsed out of the obj-file)24 21 25 22 ///// readin ///// 26 23 bool importFile (const char* fileName); 27 bool readFromObjFile ( void);24 bool readFromObjFile (const char* fileName); 28 25 bool readMtlLib (const char* matFile); 29 26 }; -
orxonox/branches/heightMap/src/lib/graphics/importer/primitive_model.cc
r3911 r4122 71 71 void PrimitiveModel::sphereModel(float size, unsigned int detail) 72 72 { 73 int vertexCount = 0;74 73 if (detail <= 0) 75 74 detail = 1; … … 89 88 size * sin(vi) * cos(vj)); 90 89 this->addVertexTexture(i / (df *2.0), (j-1.0)/(df)+.5); 91 vertexCount++;92 90 } 93 91 } 94 92 this->addVertex(0, -size, 0); 93 this->addVertexTexture(0,0); 95 94 this->addVertex(0, size, 0); 95 this->addVertexTexture(0 ,1); 96 96 97 97 // defining the binding Faces. … … 102 102 { 103 103 104 v1 = i*detail + j ;105 v4 = i*detail + (j+1);104 v1 = i*detail + j-1; 105 v4 = i*detail + j; 106 106 107 107 if (i == detail*2 -1) 108 108 { 109 v2 = j ;110 v3 = j +1;109 v2 = j-1; 110 v3 = j; 111 111 } 112 112 else 113 113 { 114 v2 = (i+1)*detail + j ;115 v3 = (i+1)*detail + (j+1);116 } 117 114 v2 = (i+1)*detail + j-1; 115 v3 = (i+1)*detail + j; 116 } 117 118 118 if (j == 0) 119 119 { 120 v1 = vertexCount+1;120 v1 = this->getVertexCount()-2; 121 121 this->addFace(3, VERTEX_TEXCOORD, v1, v1, v3, v3, v4, v4); 122 122 } 123 123 else if (j == detail) 124 124 { 125 v3 = vertexCount+2;125 v3 = this->getVertexCount()-1; 126 126 this->addFace(3, VERTEX_TEXCOORD, v1, v1, v2, v2, v3, v3); 127 127 } … … 157 157 { 158 158 int p1, p2, p3, p4; 159 p1 = 2*i +1;160 p2 = 2*i+ 2;161 p3 = 2*i+ 4;162 p4 = 2*i+ 3;159 p1 = 2*i; 160 p2 = 2*i+1; 161 p3 = 2*i+3; 162 p4 = 2*i+2; 163 163 // something is wrong here 164 164 this->addFace(4, VERTEX_ONLY, p1, p2, p3, p4); 165 this->addFace(3, VERTEX_ONLY, p4, p1, 2*detail +1);166 this->addFace(3, VERTEX_ONLY, p2, p3, 2*detail+ 2);165 this->addFace(3, VERTEX_ONLY, p4, p1, 2*detail); 166 this->addFace(3, VERTEX_ONLY, p2, p3, 2*detail+1); 167 167 } 168 168 // caps 169 this->addFace(4, VERTEX_ONLY, 2*detail- 1, 2*detail, 2, 1);170 this->addFace(3, VERTEX_ONLY, 1, 2*detail-1, 2*detail+1);171 this->addFace(3, VERTEX_ONLY, 2*detail , 2, 2*detail+2);169 this->addFace(4, VERTEX_ONLY, 2*detail-2, 2*detail-1, 1, 0); 170 this->addFace(3, VERTEX_ONLY, 0, 2*detail-2, 2*detail); 171 this->addFace(3, VERTEX_ONLY, 2*detail-1, 1, 2*detail+1); 172 172 } 173 173 … … 198 198 { 199 199 unsigned int v1, v2; 200 v1 = i+ 3;200 v1 = i+2; 201 201 if (i == detail -1) 202 v2 = 3;202 v2 = 2; 203 203 else 204 v2 = i+ 4;205 this->addFace(3, VERTEX_ONLY, 1, v1, v2);206 this->addFace(3, VERTEX_ONLY, 2, v1, v2);204 v2 = i+3; 205 this->addFace(3, VERTEX_ONLY, 0, v1, v2); 206 this->addFace(3, VERTEX_ONLY, 1, v1, v2); 207 207 } 208 208 } … … 228 228 unsigned int v1, v2, v3, v4; 229 229 for (int i = 0; i < detail-1; i++) 230 for (int j = 1; j < detail; j++)230 for (int j = 0; j < detail-1; j++) 231 231 { 232 232 v1 = i*detail + j; -
orxonox/branches/heightMap/src/lib/gui/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 34 34 PRE_UNINSTALL = : 35 35 POST_UNINSTALL = : 36 build_triplet = @build@37 36 host_triplet = @host@ 38 target_triplet = @target@39 37 subdir = src/lib/gui 40 38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 91 89 EXEEXT = @EXEEXT@ 92 90 GPROF = @GPROF@ 93 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@94 GTHREAD_LIBS = @GTHREAD_LIBS@95 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 96 92 GTK2_LIBS = @GTK2_LIBS@ 97 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 98 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 99 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@100 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@101 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 102 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 119 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 120 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 121 116 SET_MAKE = @SET_MAKE@ 122 117 SHELL = @SHELL@ … … 127 122 ac_ct_CC = @ac_ct_CC@ 128 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 129 125 ac_ct_STRIP = @ac_ct_STRIP@ 130 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 135 131 am__leading_dot = @am__leading_dot@ 136 132 am__quote = @am__quote@ 137 am__tar = @am__tar@138 am__untar = @am__untar@139 133 bindir = @bindir@ 140 134 build = @build@ … … 353 347 fi; \ 354 348 done 355 list='$( DIST_SUBDIRS)'; for subdir in $$list; do \349 list='$(SUBDIRS)'; for subdir in $$list; do \ 356 350 if test "$$subdir" = .; then :; else \ 357 351 test -d "$(distdir)/$$subdir" \ 358 || $(mkdir_p)"$(distdir)/$$subdir" \352 || mkdir "$(distdir)/$$subdir" \ 359 353 || exit 1; \ 360 distdir=`$(am__cd) $(distdir) && pwd`; \361 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \362 354 (cd $$subdir && \ 363 355 $(MAKE) $(AM_MAKEFLAGS) \ 364 top_distdir=" $$top_distdir" \365 distdir=" $$distdir/$$subdir" \356 top_distdir="../$(top_distdir)" \ 357 distdir="../$(distdir)/$$subdir" \ 366 358 distdir) \ 367 359 || exit 1; \ … … 392 384 393 385 distclean-generic: 394 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)386 -rm -f $(CONFIG_CLEAN_FILES) 395 387 396 388 maintainer-clean-generic: -
orxonox/branches/heightMap/src/lib/gui/console/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 38 38 PRE_UNINSTALL = : 39 39 POST_UNINSTALL = : 40 build_triplet = @build@41 40 host_triplet = @host@ 42 target_triplet = @target@43 41 bin_PROGRAMS = console$(EXEEXT) 44 42 subdir = src/lib/gui/console … … 62 60 depcomp = $(SHELL) $(top_srcdir)/depcomp 63 61 am__depfiles_maybe = depfiles 62 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/orxonox_console.Po \ 63 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_entry.Po \ 64 @AMDEP_TRUE@ ./$(DEPDIR)/orxonox_console_log.Po 64 65 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 65 66 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 106 107 EXEEXT = @EXEEXT@ 107 108 GPROF = @GPROF@ 108 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@109 GTHREAD_LIBS = @GTHREAD_LIBS@110 109 GTK2_CFLAGS = @GTK2_CFLAGS@ 111 110 GTK2_LIBS = @GTK2_LIBS@ 112 111 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 113 112 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 114 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@115 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@116 113 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 117 114 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 135 132 PACKAGE_VERSION = @PACKAGE_VERSION@ 136 133 PATH_SEPARATOR = @PATH_SEPARATOR@ 134 RANLIB = @RANLIB@ 137 135 SET_MAKE = @SET_MAKE@ 138 136 SHELL = @SHELL@ … … 143 141 ac_ct_CC = @ac_ct_CC@ 144 142 ac_ct_CXX = @ac_ct_CXX@ 143 ac_ct_RANLIB = @ac_ct_RANLIB@ 145 144 ac_ct_STRIP = @ac_ct_STRIP@ 146 145 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 151 150 am__leading_dot = @am__leading_dot@ 152 151 am__quote = @am__quote@ 153 am__tar = @am__tar@154 am__untar = @am__untar@155 152 bindir = @bindir@ 156 153 build = @build@ … … 268 265 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 269 266 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 270 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 267 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 268 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 271 269 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 272 270 … … 275 273 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 276 274 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 277 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 275 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 276 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 278 277 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 279 278 uninstall-info-am: … … 380 379 381 380 distclean-generic: 382 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)381 -rm -f $(CONFIG_CLEAN_FILES) 383 382 384 383 maintainer-clean-generic: -
orxonox/branches/heightMap/src/lib/gui/gui/Makefile.am
r3624 r4122 7 7 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/coord 8 8 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/data 9 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gaphics 10 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/font 9 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics 11 10 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/graphics/importer 12 11 AM_CXXFLAGS+=-I$(MAINSRCDIR)/lib/gui … … 19 18 AM_CXXFLAGS+=-I$(MAINSRCDIR)/glmenu 20 19 AM_CXXFLAGS+=-I$(MAINSRCDIR)/ai 20 AM_CXXFLAGS+=-I$(MAINSRCDIR)/util 21 AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/animation 22 AM_CXXFLAGS+=-I$(MAINSRCDIR)/util/common 21 23 22 24 #AM_LDFLAGS=$(GTK2_LIBS) $(GTHREAD_LIBS) … … 24 26 25 27 bin_PROGRAMS=gui 26 gui_SOURCES=orxonox_gui.cc \ 27 orxonox_gui_gtk.cc \ 28 orxonox_gui_video.cc \ 29 orxonox_gui_audio.cc \ 30 orxonox_gui_exec.cc \ 31 orxonox_gui_flags.cc \ 32 orxonox_gui_banner.cc \ 33 orxonox_gui_keys.cc \ 34 orxonox_gui_update.cc 28 gui_SOURCES=gui_main.cc \ 29 gui.cc \ 30 gui_gtk.cc \ 31 gui_element.cc \ 32 gui_video.cc \ 33 gui_audio.cc \ 34 gui_exec.cc \ 35 gui_flags.cc \ 36 gui_banner.cc \ 37 gui_keys.cc \ 38 gui_update.cc \ 39 $(MAINSRCDIR)/lib/graphics/graphics_engine.cc \ 40 $(MAINSRCDIR)/lib/lang/base_object.cc \ 41 $(MAINSRCDIR)/lib/math/vector.cc \ 42 $(MAINSRCDIR)/util/resource_manager.cc \ 43 $(MAINSRCDIR)/lib/graphics/text_engine.cc \ 44 $(MAINSRCDIR)/lib/coord/p_node.cc \ 45 $(MAINSRCDIR)/lib/coord/null_parent.cc \ 46 $(MAINSRCDIR)/lib/graphics/importer/array.cc \ 47 $(MAINSRCDIR)/lib/graphics/importer/model.cc \ 48 $(MAINSRCDIR)/lib/graphics/importer/objModel.cc \ 49 $(MAINSRCDIR)/lib/graphics/importer/material.cc \ 50 $(MAINSRCDIR)/lib/graphics/importer/texture.cc \ 51 $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 35 52 36 noinst_HEADERS=orxonox_gui.h \ 37 orxonox_gui_gtk.h \ 38 orxonox_gui_video.h \ 39 orxonox_gui_audio.h \ 40 orxonox_gui_exec.h \ 41 orxonox_gui_flags.h \ 42 orxonox_gui_banner.h \ 43 orxonox_gui_keys.h \ 44 orxonox_gui_update.h 53 noinst_HEADERS=gui.h \ 54 gui_gtk.h \ 55 gui_element.h \ 56 gui_video.h \ 57 gui_audio.h \ 58 gui_exec.h \ 59 gui_flags.h \ 60 gui_banner.h \ 61 gui_keys.h \ 62 gui_update.h 45 63 46 64 # uncomment the following if orxonox requires the mathlibrary -
orxonox/branches/heightMap/src/lib/gui/gui/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 38 38 PRE_UNINSTALL = : 39 39 POST_UNINSTALL = : 40 build_triplet = @build@41 40 host_triplet = @host@ 42 target_triplet = @target@43 41 bin_PROGRAMS = gui$(EXEEXT) 44 42 subdir = src/lib/gui/gui … … 55 53 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 56 54 PROGRAMS = $(bin_PROGRAMS) 57 am_gui_OBJECTS = orxonox_gui.$(OBJEXT) orxonox_gui_gtk.$(OBJEXT) \ 58 orxonox_gui_video.$(OBJEXT) orxonox_gui_audio.$(OBJEXT) \ 59 orxonox_gui_exec.$(OBJEXT) orxonox_gui_flags.$(OBJEXT) \ 60 orxonox_gui_banner.$(OBJEXT) orxonox_gui_keys.$(OBJEXT) \ 61 orxonox_gui_update.$(OBJEXT) 55 am_gui_OBJECTS = gui_main.$(OBJEXT) gui.$(OBJEXT) gui_gtk.$(OBJEXT) \ 56 gui_element.$(OBJEXT) gui_video.$(OBJEXT) gui_audio.$(OBJEXT) \ 57 gui_exec.$(OBJEXT) gui_flags.$(OBJEXT) gui_banner.$(OBJEXT) \ 58 gui_keys.$(OBJEXT) gui_update.$(OBJEXT) \ 59 graphics_engine.$(OBJEXT) base_object.$(OBJEXT) \ 60 vector.$(OBJEXT) resource_manager.$(OBJEXT) \ 61 text_engine.$(OBJEXT) p_node.$(OBJEXT) null_parent.$(OBJEXT) \ 62 array.$(OBJEXT) model.$(OBJEXT) objModel.$(OBJEXT) \ 63 material.$(OBJEXT) texture.$(OBJEXT) primitive_model.$(OBJEXT) 62 64 gui_OBJECTS = $(am_gui_OBJECTS) 63 65 gui_LDADD = $(LDADD) … … 65 67 depcomp = $(SHELL) $(top_srcdir)/depcomp 66 68 am__depfiles_maybe = depfiles 69 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/array.Po \ 70 @AMDEP_TRUE@ ./$(DEPDIR)/base_object.Po \ 71 @AMDEP_TRUE@ ./$(DEPDIR)/graphics_engine.Po ./$(DEPDIR)/gui.Po \ 72 @AMDEP_TRUE@ ./$(DEPDIR)/gui_audio.Po ./$(DEPDIR)/gui_banner.Po \ 73 @AMDEP_TRUE@ ./$(DEPDIR)/gui_element.Po ./$(DEPDIR)/gui_exec.Po \ 74 @AMDEP_TRUE@ ./$(DEPDIR)/gui_flags.Po ./$(DEPDIR)/gui_gtk.Po \ 75 @AMDEP_TRUE@ ./$(DEPDIR)/gui_keys.Po ./$(DEPDIR)/gui_main.Po \ 76 @AMDEP_TRUE@ ./$(DEPDIR)/gui_update.Po ./$(DEPDIR)/gui_video.Po \ 77 @AMDEP_TRUE@ ./$(DEPDIR)/material.Po ./$(DEPDIR)/model.Po \ 78 @AMDEP_TRUE@ ./$(DEPDIR)/null_parent.Po ./$(DEPDIR)/objModel.Po \ 79 @AMDEP_TRUE@ ./$(DEPDIR)/p_node.Po \ 80 @AMDEP_TRUE@ ./$(DEPDIR)/primitive_model.Po \ 81 @AMDEP_TRUE@ ./$(DEPDIR)/resource_manager.Po \ 82 @AMDEP_TRUE@ ./$(DEPDIR)/text_engine.Po ./$(DEPDIR)/texture.Po \ 83 @AMDEP_TRUE@ ./$(DEPDIR)/vector.Po 67 84 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 68 85 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 109 126 EXEEXT = @EXEEXT@ 110 127 GPROF = @GPROF@ 111 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@112 GTHREAD_LIBS = @GTHREAD_LIBS@113 128 GTK2_CFLAGS = @GTK2_CFLAGS@ 114 129 GTK2_LIBS = @GTK2_LIBS@ 115 130 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 116 131 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 117 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@118 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@119 132 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 120 133 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 137 150 PACKAGE_VERSION = @PACKAGE_VERSION@ 138 151 PATH_SEPARATOR = @PATH_SEPARATOR@ 152 RANLIB = @RANLIB@ 139 153 SET_MAKE = @SET_MAKE@ 140 154 SHELL = @SHELL@ … … 145 159 ac_ct_CC = @ac_ct_CC@ 146 160 ac_ct_CXX = @ac_ct_CXX@ 161 ac_ct_RANLIB = @ac_ct_RANLIB@ 147 162 ac_ct_STRIP = @ac_ct_STRIP@ 148 163 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 153 168 am__leading_dot = @am__leading_dot@ 154 169 am__quote = @am__quote@ 155 am__tar = @am__tar@156 am__untar = @am__untar@157 170 bindir = @bindir@ 158 171 build = @build@ … … 188 201 target_vendor = @target_vendor@ 189 202 MAINSRCDIR = ../../.. 190 AM_CXXFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) \ 191 $(MSBITFIELDS) -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities \ 192 -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib \ 193 -I$(MAINSRCDIR)/lib/coord -I$(MAINSRCDIR)/lib/data \ 194 -I$(MAINSRCDIR)/lib/gaphics -I$(MAINSRCDIR)/lib/graphics/font \ 195 -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/gui \ 196 -I$(MAINSRCDIR)/lib/lang -I$(MAINSRCDIR)/lib/util \ 197 -I$(MAINSRCDIR)/lib/math -I$(MAINSRCDIR)/defs \ 198 -I$(MAINSRCDIR)/font -I$(MAINSRCDIR)/network \ 199 -I$(MAINSRCDIR)/glmenu -I$(MAINSRCDIR)/ai 203 AM_CXXFLAGS = $(GTK2_CFLAGS) $(GTHREAD_CFLAGS) $(CURL_CFLAGS) $(MSBITFIELDS) -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/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 200 204 201 205 #AM_LDFLAGS=$(GTK2_LIBS) $(GTHREAD_LIBS) 202 206 AM_LDFLAGS = $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) 203 gui_SOURCES = orxonox_gui.cc \ 204 orxonox_gui_gtk.cc \ 205 orxonox_gui_video.cc \ 206 orxonox_gui_audio.cc \ 207 orxonox_gui_exec.cc \ 208 orxonox_gui_flags.cc \ 209 orxonox_gui_banner.cc \ 210 orxonox_gui_keys.cc \ 211 orxonox_gui_update.cc 212 213 noinst_HEADERS = orxonox_gui.h \ 214 orxonox_gui_gtk.h \ 215 orxonox_gui_video.h \ 216 orxonox_gui_audio.h \ 217 orxonox_gui_exec.h \ 218 orxonox_gui_flags.h \ 219 orxonox_gui_banner.h \ 220 orxonox_gui_keys.h \ 221 orxonox_gui_update.h 207 gui_SOURCES = gui_main.cc \ 208 gui.cc \ 209 gui_gtk.cc \ 210 gui_element.cc \ 211 gui_video.cc \ 212 gui_audio.cc \ 213 gui_exec.cc \ 214 gui_flags.cc \ 215 gui_banner.cc \ 216 gui_keys.cc \ 217 gui_update.cc \ 218 $(MAINSRCDIR)/lib/graphics/graphics_engine.cc \ 219 $(MAINSRCDIR)/lib/lang/base_object.cc \ 220 $(MAINSRCDIR)/lib/math/vector.cc \ 221 $(MAINSRCDIR)/util/resource_manager.cc \ 222 $(MAINSRCDIR)/lib/graphics/text_engine.cc \ 223 $(MAINSRCDIR)/lib/coord/p_node.cc \ 224 $(MAINSRCDIR)/lib/coord/null_parent.cc \ 225 $(MAINSRCDIR)/lib/graphics/importer/array.cc \ 226 $(MAINSRCDIR)/lib/graphics/importer/model.cc \ 227 $(MAINSRCDIR)/lib/graphics/importer/objModel.cc \ 228 $(MAINSRCDIR)/lib/graphics/importer/material.cc \ 229 $(MAINSRCDIR)/lib/graphics/importer/texture.cc \ 230 $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 231 232 noinst_HEADERS = gui.h \ 233 gui_gtk.h \ 234 gui_element.h \ 235 gui_video.h \ 236 gui_audio.h \ 237 gui_exec.h \ 238 gui_flags.h \ 239 gui_banner.h \ 240 gui_keys.h \ 241 gui_update.h 222 242 223 243 … … 297 317 -rm -f *.tab.c 298 318 299 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui.Po@am__quote@ 300 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_audio.Po@am__quote@ 301 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_banner.Po@am__quote@ 302 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_exec.Po@am__quote@ 303 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_flags.Po@am__quote@ 304 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_gtk.Po@am__quote@ 305 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_keys.Po@am__quote@ 306 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_update.Po@am__quote@ 307 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/orxonox_gui_video.Po@am__quote@ 319 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/array.Po@am__quote@ 320 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base_object.Po@am__quote@ 321 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/graphics_engine.Po@am__quote@ 322 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui.Po@am__quote@ 323 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_audio.Po@am__quote@ 324 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_banner.Po@am__quote@ 325 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_element.Po@am__quote@ 326 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_exec.Po@am__quote@ 327 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_flags.Po@am__quote@ 328 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_gtk.Po@am__quote@ 329 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_keys.Po@am__quote@ 330 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_main.Po@am__quote@ 331 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_update.Po@am__quote@ 332 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_video.Po@am__quote@ 333 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/material.Po@am__quote@ 334 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/model.Po@am__quote@ 335 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/null_parent.Po@am__quote@ 336 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/objModel.Po@am__quote@ 337 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/p_node.Po@am__quote@ 338 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/primitive_model.Po@am__quote@ 339 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/resource_manager.Po@am__quote@ 340 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/text_engine.Po@am__quote@ 341 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/texture.Po@am__quote@ 342 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vector.Po@am__quote@ 308 343 309 344 .cc.o: … … 311 346 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 312 347 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 313 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 348 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 349 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 314 350 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 315 351 … … 318 354 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 319 355 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 320 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 356 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 357 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 321 358 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 359 360 graphics_engine.o: $(MAINSRCDIR)/lib/graphics/graphics_engine.cc 361 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT graphics_engine.o -MD -MP -MF "$(DEPDIR)/graphics_engine.Tpo" -c -o graphics_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/graphics_engine.cc; \ 362 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 363 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' object='graphics_engine.o' libtool=no @AMDEPBACKSLASH@ 364 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 365 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 366 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/graphics_engine.cc 367 368 graphics_engine.obj: $(MAINSRCDIR)/lib/graphics/graphics_engine.cc 369 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT graphics_engine.obj -MD -MP -MF "$(DEPDIR)/graphics_engine.Tpo" -c -o graphics_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; fi`; \ 370 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/graphics_engine.Tpo" "$(DEPDIR)/graphics_engine.Po"; else rm -f "$(DEPDIR)/graphics_engine.Tpo"; exit 1; fi 371 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/graphics_engine.cc' object='graphics_engine.obj' libtool=no @AMDEPBACKSLASH@ 372 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/graphics_engine.Po' tmpdepfile='$(DEPDIR)/graphics_engine.TPo' @AMDEPBACKSLASH@ 373 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 374 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o graphics_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/graphics_engine.cc'; fi` 375 376 base_object.o: $(MAINSRCDIR)/lib/lang/base_object.cc 377 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_object.o -MD -MP -MF "$(DEPDIR)/base_object.Tpo" -c -o base_object.o `test -f '$(MAINSRCDIR)/lib/lang/base_object.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/lang/base_object.cc; \ 378 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 379 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/lang/base_object.cc' object='base_object.o' libtool=no @AMDEPBACKSLASH@ 380 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 381 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 382 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.o `test -f '$(MAINSRCDIR)/lib/lang/base_object.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/lang/base_object.cc 383 384 base_object.obj: $(MAINSRCDIR)/lib/lang/base_object.cc 385 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT base_object.obj -MD -MP -MF "$(DEPDIR)/base_object.Tpo" -c -o base_object.obj `if test -f '$(MAINSRCDIR)/lib/lang/base_object.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/lang/base_object.cc'; fi`; \ 386 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/base_object.Tpo" "$(DEPDIR)/base_object.Po"; else rm -f "$(DEPDIR)/base_object.Tpo"; exit 1; fi 387 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/lang/base_object.cc' object='base_object.obj' libtool=no @AMDEPBACKSLASH@ 388 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/base_object.Po' tmpdepfile='$(DEPDIR)/base_object.TPo' @AMDEPBACKSLASH@ 389 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 390 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o base_object.obj `if test -f '$(MAINSRCDIR)/lib/lang/base_object.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/lang/base_object.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/lang/base_object.cc'; fi` 391 392 vector.o: $(MAINSRCDIR)/lib/math/vector.cc 393 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT vector.o -MD -MP -MF "$(DEPDIR)/vector.Tpo" -c -o vector.o `test -f '$(MAINSRCDIR)/lib/math/vector.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/math/vector.cc; \ 394 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 395 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/math/vector.cc' object='vector.o' libtool=no @AMDEPBACKSLASH@ 396 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 397 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 398 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.o `test -f '$(MAINSRCDIR)/lib/math/vector.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/math/vector.cc 399 400 vector.obj: $(MAINSRCDIR)/lib/math/vector.cc 401 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT vector.obj -MD -MP -MF "$(DEPDIR)/vector.Tpo" -c -o vector.obj `if test -f '$(MAINSRCDIR)/lib/math/vector.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/math/vector.cc'; fi`; \ 402 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/vector.Tpo" "$(DEPDIR)/vector.Po"; else rm -f "$(DEPDIR)/vector.Tpo"; exit 1; fi 403 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/math/vector.cc' object='vector.obj' libtool=no @AMDEPBACKSLASH@ 404 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/vector.Po' tmpdepfile='$(DEPDIR)/vector.TPo' @AMDEPBACKSLASH@ 405 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 406 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o vector.obj `if test -f '$(MAINSRCDIR)/lib/math/vector.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/math/vector.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/math/vector.cc'; fi` 407 408 resource_manager.o: $(MAINSRCDIR)/util/resource_manager.cc 409 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT resource_manager.o -MD -MP -MF "$(DEPDIR)/resource_manager.Tpo" -c -o resource_manager.o `test -f '$(MAINSRCDIR)/util/resource_manager.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/util/resource_manager.cc; \ 410 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 411 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/util/resource_manager.cc' object='resource_manager.o' libtool=no @AMDEPBACKSLASH@ 412 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 413 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 414 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.o `test -f '$(MAINSRCDIR)/util/resource_manager.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/util/resource_manager.cc 415 416 resource_manager.obj: $(MAINSRCDIR)/util/resource_manager.cc 417 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT resource_manager.obj -MD -MP -MF "$(DEPDIR)/resource_manager.Tpo" -c -o resource_manager.obj `if test -f '$(MAINSRCDIR)/util/resource_manager.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/util/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/util/resource_manager.cc'; fi`; \ 418 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 419 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/util/resource_manager.cc' object='resource_manager.obj' libtool=no @AMDEPBACKSLASH@ 420 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/resource_manager.Po' tmpdepfile='$(DEPDIR)/resource_manager.TPo' @AMDEPBACKSLASH@ 421 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 422 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.obj `if test -f '$(MAINSRCDIR)/util/resource_manager.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/util/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/util/resource_manager.cc'; fi` 423 424 text_engine.o: $(MAINSRCDIR)/lib/graphics/text_engine.cc 425 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT text_engine.o -MD -MP -MF "$(DEPDIR)/text_engine.Tpo" -c -o text_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/text_engine.cc; \ 426 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 427 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/text_engine.cc' object='text_engine.o' libtool=no @AMDEPBACKSLASH@ 428 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 429 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 430 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.o `test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/text_engine.cc 431 432 text_engine.obj: $(MAINSRCDIR)/lib/graphics/text_engine.cc 433 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT text_engine.obj -MD -MP -MF "$(DEPDIR)/text_engine.Tpo" -c -o text_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/text_engine.cc'; fi`; \ 434 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/text_engine.Tpo" "$(DEPDIR)/text_engine.Po"; else rm -f "$(DEPDIR)/text_engine.Tpo"; exit 1; fi 435 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/text_engine.cc' object='text_engine.obj' libtool=no @AMDEPBACKSLASH@ 436 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/text_engine.Po' tmpdepfile='$(DEPDIR)/text_engine.TPo' @AMDEPBACKSLASH@ 437 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 438 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o text_engine.obj `if test -f '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/text_engine.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/text_engine.cc'; fi` 439 440 p_node.o: $(MAINSRCDIR)/lib/coord/p_node.cc 441 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT p_node.o -MD -MP -MF "$(DEPDIR)/p_node.Tpo" -c -o p_node.o `test -f '$(MAINSRCDIR)/lib/coord/p_node.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/p_node.cc; \ 442 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 443 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/p_node.cc' object='p_node.o' libtool=no @AMDEPBACKSLASH@ 444 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 445 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 446 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.o `test -f '$(MAINSRCDIR)/lib/coord/p_node.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/p_node.cc 447 448 p_node.obj: $(MAINSRCDIR)/lib/coord/p_node.cc 449 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT p_node.obj -MD -MP -MF "$(DEPDIR)/p_node.Tpo" -c -o p_node.obj `if test -f '$(MAINSRCDIR)/lib/coord/p_node.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/p_node.cc'; fi`; \ 450 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/p_node.Tpo" "$(DEPDIR)/p_node.Po"; else rm -f "$(DEPDIR)/p_node.Tpo"; exit 1; fi 451 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/p_node.cc' object='p_node.obj' libtool=no @AMDEPBACKSLASH@ 452 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/p_node.Po' tmpdepfile='$(DEPDIR)/p_node.TPo' @AMDEPBACKSLASH@ 453 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 454 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o p_node.obj `if test -f '$(MAINSRCDIR)/lib/coord/p_node.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/p_node.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/p_node.cc'; fi` 455 456 null_parent.o: $(MAINSRCDIR)/lib/coord/null_parent.cc 457 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT null_parent.o -MD -MP -MF "$(DEPDIR)/null_parent.Tpo" -c -o null_parent.o `test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/null_parent.cc; \ 458 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 459 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/null_parent.cc' object='null_parent.o' libtool=no @AMDEPBACKSLASH@ 460 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 461 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 462 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.o `test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/coord/null_parent.cc 463 464 null_parent.obj: $(MAINSRCDIR)/lib/coord/null_parent.cc 465 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT null_parent.obj -MD -MP -MF "$(DEPDIR)/null_parent.Tpo" -c -o null_parent.obj `if test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/null_parent.cc'; fi`; \ 466 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/null_parent.Tpo" "$(DEPDIR)/null_parent.Po"; else rm -f "$(DEPDIR)/null_parent.Tpo"; exit 1; fi 467 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/coord/null_parent.cc' object='null_parent.obj' libtool=no @AMDEPBACKSLASH@ 468 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/null_parent.Po' tmpdepfile='$(DEPDIR)/null_parent.TPo' @AMDEPBACKSLASH@ 469 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 470 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o null_parent.obj `if test -f '$(MAINSRCDIR)/lib/coord/null_parent.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/coord/null_parent.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/coord/null_parent.cc'; fi` 471 472 array.o: $(MAINSRCDIR)/lib/graphics/importer/array.cc 473 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.o -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/array.cc; \ 474 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi 475 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/array.cc' object='array.o' libtool=no @AMDEPBACKSLASH@ 476 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@ 477 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 478 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/array.cc 479 480 array.obj: $(MAINSRCDIR)/lib/graphics/importer/array.cc 481 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT array.obj -MD -MP -MF "$(DEPDIR)/array.Tpo" -c -o array.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/array.cc'; fi`; \ 482 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/array.Tpo" "$(DEPDIR)/array.Po"; else rm -f "$(DEPDIR)/array.Tpo"; exit 1; fi 483 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/array.cc' object='array.obj' libtool=no @AMDEPBACKSLASH@ 484 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/array.Po' tmpdepfile='$(DEPDIR)/array.TPo' @AMDEPBACKSLASH@ 485 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 486 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o array.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/array.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/array.cc'; fi` 487 488 model.o: $(MAINSRCDIR)/lib/graphics/importer/model.cc 489 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.o -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/model.cc; \ 490 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi 491 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/model.cc' object='model.o' libtool=no @AMDEPBACKSLASH@ 492 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@ 493 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 494 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/model.cc 495 496 model.obj: $(MAINSRCDIR)/lib/graphics/importer/model.cc 497 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT model.obj -MD -MP -MF "$(DEPDIR)/model.Tpo" -c -o model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/model.cc'; fi`; \ 498 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/model.Tpo" "$(DEPDIR)/model.Po"; else rm -f "$(DEPDIR)/model.Tpo"; exit 1; fi 499 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/model.cc' object='model.obj' libtool=no @AMDEPBACKSLASH@ 500 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/model.Po' tmpdepfile='$(DEPDIR)/model.TPo' @AMDEPBACKSLASH@ 501 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 502 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/model.cc'; fi` 503 504 objModel.o: $(MAINSRCDIR)/lib/graphics/importer/objModel.cc 505 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.o -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/objModel.cc; \ 506 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi 507 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' object='objModel.o' libtool=no @AMDEPBACKSLASH@ 508 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@ 509 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 510 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/objModel.cc 511 512 objModel.obj: $(MAINSRCDIR)/lib/graphics/importer/objModel.cc 513 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT objModel.obj -MD -MP -MF "$(DEPDIR)/objModel.Tpo" -c -o objModel.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; fi`; \ 514 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/objModel.Tpo" "$(DEPDIR)/objModel.Po"; else rm -f "$(DEPDIR)/objModel.Tpo"; exit 1; fi 515 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/objModel.cc' object='objModel.obj' libtool=no @AMDEPBACKSLASH@ 516 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/objModel.Po' tmpdepfile='$(DEPDIR)/objModel.TPo' @AMDEPBACKSLASH@ 517 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 518 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o objModel.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/objModel.cc'; fi` 519 520 material.o: $(MAINSRCDIR)/lib/graphics/importer/material.cc 521 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.o -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/material.cc; \ 522 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi 523 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/material.cc' object='material.o' libtool=no @AMDEPBACKSLASH@ 524 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@ 525 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 526 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/material.cc 527 528 material.obj: $(MAINSRCDIR)/lib/graphics/importer/material.cc 529 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT material.obj -MD -MP -MF "$(DEPDIR)/material.Tpo" -c -o material.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/material.cc'; fi`; \ 530 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/material.Tpo" "$(DEPDIR)/material.Po"; else rm -f "$(DEPDIR)/material.Tpo"; exit 1; fi 531 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/material.cc' object='material.obj' libtool=no @AMDEPBACKSLASH@ 532 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/material.Po' tmpdepfile='$(DEPDIR)/material.TPo' @AMDEPBACKSLASH@ 533 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 534 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o material.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/material.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/material.cc'; fi` 535 536 texture.o: $(MAINSRCDIR)/lib/graphics/importer/texture.cc 537 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.o -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/texture.cc; \ 538 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi 539 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/texture.cc' object='texture.o' libtool=no @AMDEPBACKSLASH@ 540 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@ 541 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 542 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/texture.cc 543 544 texture.obj: $(MAINSRCDIR)/lib/graphics/importer/texture.cc 545 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT texture.obj -MD -MP -MF "$(DEPDIR)/texture.Tpo" -c -o texture.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; fi`; \ 546 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/texture.Tpo" "$(DEPDIR)/texture.Po"; else rm -f "$(DEPDIR)/texture.Tpo"; exit 1; fi 547 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/texture.cc' object='texture.obj' libtool=no @AMDEPBACKSLASH@ 548 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/texture.Po' tmpdepfile='$(DEPDIR)/texture.TPo' @AMDEPBACKSLASH@ 549 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 550 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o texture.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/texture.cc'; fi` 551 552 primitive_model.o: $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 553 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primitive_model.o -MD -MP -MF "$(DEPDIR)/primitive_model.Tpo" -c -o primitive_model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc; \ 554 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive_model.Tpo" "$(DEPDIR)/primitive_model.Po"; else rm -f "$(DEPDIR)/primitive_model.Tpo"; exit 1; fi 555 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' object='primitive_model.o' libtool=no @AMDEPBACKSLASH@ 556 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive_model.Po' tmpdepfile='$(DEPDIR)/primitive_model.TPo' @AMDEPBACKSLASH@ 557 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 558 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive_model.o `test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' || echo '$(srcdir)/'`$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 559 560 primitive_model.obj: $(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc 561 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT primitive_model.obj -MD -MP -MF "$(DEPDIR)/primitive_model.Tpo" -c -o primitive_model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; fi`; \ 562 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/primitive_model.Tpo" "$(DEPDIR)/primitive_model.Po"; else rm -f "$(DEPDIR)/primitive_model.Tpo"; exit 1; fi 563 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc' object='primitive_model.obj' libtool=no @AMDEPBACKSLASH@ 564 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/primitive_model.Po' tmpdepfile='$(DEPDIR)/primitive_model.TPo' @AMDEPBACKSLASH@ 565 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 566 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o primitive_model.obj `if test -f '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/graphics/importer/primitive_model.cc'; fi` 322 567 uninstall-info-am: 323 568 … … 423 668 424 669 distclean-generic: 425 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)670 -rm -f $(CONFIG_CLEAN_FILES) 426 671 427 672 maintainer-clean-generic: -
orxonox/branches/heightMap/src/lib/gui/gui/rc
r3423 r4122 1 # pixmap_path "<dir 1>:<dir 2>:<dir 3>:..." 2 # 3 pixmap_path "/usr/include/X11R6/pixmaps:/home/imain/pixmaps" 4 # 5 # style <name> [= <name>] 6 # { 7 # <option> 8 # } 9 # 10 # widget <widget_set> style <style_name> 11 # widget_class <widget_class_set> style <style_name> 12 13 # Here is a list of all the possible states. Note that some do not apply to 14 # certain widgets. 15 # 16 # NORMAL - The normal state of a widget, without the mouse over top of 17 # it, and not being pressed, etc. 18 # 19 # PRELIGHT - When the mouse is over top of the widget, colors defined 20 # using this state will be in effect. 21 # 22 # ACTIVE - When the widget is pressed or clicked it will be active, and 23 # the attributes assigned by this tag will be in effect. 24 # 25 # INSENSITIVE - When a widget is set insensitive, and cannot be 26 # activated, it will take these attributes. 27 # 28 # SELECTED - When an object is selected, it takes these attributes. 29 # 30 # Given these states, we can set the attributes of the widgets in each of 31 # these states using the following directives. 32 # 33 # fg - Sets the foreground color of a widget. 34 # bg - Sets the background color of a widget. 35 # bg_pixmap - Sets the background of a widget to a tiled pixmap. 36 # font - Sets the font to be used with the given widget. 37 # 38 39 # This sets a style called "button". The name is not really important, as 40 # it is assigned to the actual widgets at the bottom of the file. 41 42 style "window" 43 { 44 #This sets the padding around the window to the pixmap specified. 45 #bg_pixmap[<STATE>] = "<pixmap filename>" 46 #bg_pixmap[NORMAL] = "warning.xpm" 47 bg[NORMAL] = { 0, 0, 0 } 48 fg[NORMAL] = { 0, 1.0, 0 } 49 base[NORMAL] = { 0, 0, 0 } 50 base[INSENSITIVE] = { 0, 0, 0 } 51 } 52 53 style "scale" 54 { 55 #Sets the foreground color (font color) to red when in the "NORMAL" 56 #state. 57 58 fg[NORMAL] = { 0, 1.0, 0 } 59 bg[NORMAL] = { 0, 1.0, 0 } 60 bg[INSENSITIVE] = { 0, 1.0, 0 } 61 bg[PRELIGHT] = { 0, 1.0, 0 } 62 bg[ACTIVE] = {0.2, 0.2, 0.2 } 63 64 #Sets the background pixmap of this widget to that of its parent. 65 bg_pixmap[NORMAL] = "<parent>" 66 } 67 68 style "button" 69 { 70 # This shows all the possible states for a button. The only one that 71 # doesn't apply is the SELECTED state. 72 73 fg[PRELIGHT] = { 0, 0, 0 } 74 bg[PRELIGHT] = { 0, 1.0, 0 } 75 bg[ACTIVE] = { 0, 1.0, 0 } 76 fg[ACTIVE] = { 0, 1.0, 0 } 77 bg[NORMAL] = { 0, 0, 0 } 78 fg[NORMAL] = { 0, 1.0, 0 } 79 bg[INSENSITIVE] = { 1.0, 0, 1.0 } 80 fg[INSENSITIVE] = { 1.0, 0, 1.0 } 81 base[NORMAL] = { 0, 1.0, 0 } 82 base[PRELIGHT] = { 0, 1.0, 0 } 83 } 84 85 # In this example, we inherit the attributes of the "button" style and then 86 # override the font and background color when prelit to create a new 87 # "main_button" style. 88 89 style "main_button" = "button" 90 { 91 font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*" 92 bg[PRELIGHT] = { 0, 0.75, 0 } 93 } 94 95 style "toggle_button" = "button" 96 { 97 fg[NORMAL] = { 0, 1.0, 0 } 98 fg[ACTIVE] = { 0, 1.0, 0 } 99 text[NORMAL] = { 0, 0, 0} 100 # This sets the background pixmap of the toggle_button to that of its 101 # parent widget (as defined in the application). 102 #bg_pixmap[NORMAL] = "<parent>" 103 } 104 105 style "text" 106 { 107 #bg_pixmap[NORMAL] = "marble.xpm" 108 fg[NORMAL] = { 0, 1.0, 0 } 109 } 110 111 style "ruler" 112 { 113 font = "-adobe-helvetica-medium-r-normal--*-20-*-*-*-*-*-*" 114 } 115 116 # pixmap_path "~/.pixmaps" 117 118 # These set the widget types to use the styles defined above. 119 # The widget types are listed in the class hierarchy, but could probably be 120 # just listed in this document for the users reference. 121 122 widget_class "GtkWindow" style "window" 123 widget_class "GtkFrame" style "window" 124 widget_class "Gtk*EventBox" style "window" 125 widget_class "GtkDialog" style "window" 126 widget_class "GtkFileSelection" style "window" 127 widget_class "*Gtk*Scale" style "scale" 128 widget_class "*GtkCheckButton*" style "toggle_button" 129 widget_class "*Gtk*Menu*" style "toggle_button" 130 widget_class "*GtkRadioButton*" style "toggle_button" 131 widget_class "*GtkButton*" style "button" 132 widget_class "*Ruler" style "ruler" 133 widget_class "*GtkText" style "text" 134 widget_class "*GtkLabel" style "text" 1 /* 2 * style <name> [= <name>] 3 * { 4 * <option> 5 * } 6 * 7 * widget <widget_set> style <style_name> 8 * widget_class <widget_class_set> style <style_name> 9 * 10 * Here is a list of all the possible states. Note that some do not apply to 11 * certain widgets. 12 * 13 * NORMAL - The normal state of a widget, without the mouse over top of 14 * it, and not being pressed, etc. 15 * 16 * PRELIGHT - When the mouse is over top of the widget, colors defined 17 * using this state will be in effect. 18 * 19 * ACTIVE - When the widget is pressed or clicked it will be active, and 20 * the attributes assigned by this tag will be in effect. 21 * 22 * INSENSITIVE - When a widget is set insensitive, and cannot be 23 * activated, it will take these attributes. 24 * 25 * SELECTED - When an object is selected, it takes these attributes. 26 * 27 * Given these states, we can set the attributes of the widgets in each of 28 * these states using the following directives. 29 * 30 * fg - Sets the foreground color of a widget. 31 * bg - Sets the background color of a widget. 32 * bg_pixmap - Sets the background of a widget to a tiled pixmap. 33 * base - Sets the base of Widgets 34 * font - Sets the font to be used with the given widget. 35 */ 135 36 136 37 137 # This sets all the buttons that are children of the "main window" to 138 # the main_button style. These must be documented to be taken advantage of. 139 widget "main window.*GtkButton*" style "main_button" 38 39 static const gchar* rc_string = 40 ( 41 "style'orxonox'" 42 "{" 43 "fg[NORMAL] = { 0.0, 1.0, 0.0 }" 44 "fg[PRELIGHT] = { 0.0, 1.0, 0.0 }" 45 "fg[ACTIVE] = { 0.0, 1.0, 0.0 }" 46 "fg[INSENSITIVE] = { 0.0, 0.8, 0.0 }" 47 "fg[SELECTED] = { 0.0, 1.0, 0.0 }" 48 49 "bg[NORMAL] = { 0.0, 0.0, 0.0 }" 50 "bg[PRELIGHT] = { 0.0, 1.0, 0.0 }" 51 "bg[ACTIVE] = { 0.0, 0.3, 0.0 }" 52 "bg[INSENSITIVE] = { 0.0, 0.1, 0.0 }" 53 "bg[SELECTED] = { 0.0, 0.1, 0.0 }" 54 55 "base[NORMAL] = { 0.0, 1.0, 0.0 }" 56 "base[PRELIGHT] = { 0.0, 1.0, 0.0 }" 57 "base[ACTIVE] = { 0.0, 1.0, 0.0 }" 58 "base[INSENSITIVE] = { 0.0, 1.0, 0.0 }" 59 "base[SELECTED] = { 0.0, 1.0, 0.0 }" 60 61 "font = '-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*'" 62 "}" 63 64 "style'window'" 65 "{" 66 "bg[NORMAL] = { 0, 0, 0 }" 67 "fg[NORMAL] = { 0, 1.0, 0 }" 68 "base[NORMAL] = { 0, 0, 0 }" 69 "base[INSENSITIVE] = { 0, 0, 0 }" 70 "}" 71 72 "style'frame'" 73 "{" 74 "bg[NORMAL] = { 0.0, 0.4, 0.0 }" 75 "}" 76 77 "style'scale'" 78 "{" 79 "fg[NORMAL] = { 0, 1.0, 0 }" 80 "bg[NORMAL] = { 0, 1.0, 0 }" 81 "bg[INSENSITIVE] = { 0, 1.0, 0 }" 82 "bg[PRELIGHT] = { 0, 1.0, 0 }" 83 "bg[ACTIVE] = {0.2, 0.2, 0.2 }" 84 "}" 85 86 "style'button'" 87 "{" 88 "fg[PRELIGHT] = { 0, 0, 0 }" 89 "bg[PRELIGHT] = { 0, 1.0, 0 }" 90 "bg[ACTIVE] = { 0, 1.0, 0 }" 91 "fg[ACTIVE] = { 0, 1.0, 0 }" 92 "bg[NORMAL] = { 0, 0, 0 }" 93 "fg[NORMAL] = { 0, 1.0, 0 }" 94 "bg[INSENSITIVE] = { 0.0, 0.2, 0.0 }" 95 "fg[INSENSITIVE] = { 0.0, 0.8, 0.0 }" 96 "base[NORMAL] = { 0, 1.0, 0 }" 97 "base[PRELIGHT] = { 0, 1.0, 0 }" 98 "}" 99 100 "style'main_button' = 'button'" 101 "{" 102 "font = '-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*'" 103 "bg[PRELIGHT] = { 0, 0.75, 0 }" 104 "}" 105 106 "style'toggle_button' = 'button'" 107 "{" 108 "fg[NORMAL] = { 0, 1.0, 0 }" 109 "fg[ACTIVE] = { 0, 1.0, 0 }" 110 "text[NORMAL] = { 0, 0, 0}" 111 "}" 112 113 "style'text'" 114 "{" 115 "fg[NORMAL] = { 0, 1.0, 0 }" 116 "}" 117 118 "style'ruler'" 119 "{" 120 "font = '-adobe-helvetica-medium-r-normal--*-20-*-*-*-*-*-*'" 121 "}" 122 123 "widget'Gtk*' style'orxonox'" 124 "widget'*Gtk*Frame*' style'frame'" 125 "widget'GtkWindow' style'window'" 126 "widget'GtkFileSelection' style'window'" 127 "widget'*Gtk*Scale' style'scale'" 128 "widget'*GtkCheckButton*' style'toggle_button'" 129 "widget'*Gtk*Menu*' style'toggle_button'" 130 "widget'*GtkRadioButton*' style'toggle_button'" 131 "widget'*GtkButton*' style'button'" 132 "widget'*Ruler' style'ruler'" 133 "widget'*GtkText' style'text'" 134 "widget'*GtkLabel' style'text'" 135 136 "widget'main window.*GtkButton*' style 'main_button'" 137 138 139 ); -
orxonox/branches/heightMap/src/lib/math/vector.cc
r3860 r4122 100 100 */ 101 101 102 Vector *Vector::getNormalized()102 Vector Vector::getNormalized() 103 103 { 104 104 float l = len(); 105 105 if(unlikely(l != 1.0)) 106 106 { 107 return this;107 return *this; 108 108 } 109 109 else if(unlikely(l == 0.0)) 110 110 { 111 return 0;111 return *this; 112 112 } 113 113 114 return new Vector(x / l, y /l, z / l);114 return *this / l; 115 115 } 116 116 … … 172 172 \brief Outputs the values of the Vector 173 173 */ 174 void Vector::debug(void) 174 void Vector::debug(void) const 175 175 { 176 176 PRINT(0)("Vector Debug information\n"); … … 435 435 /** 436 436 \brief performs a smooth move. 437 \param from from where 438 \param to to where 439 \param t the time this transformation should take 440 \param res The approximation-density 441 */ 442 void Quaternion::quatSlerp(const Quaternion* from, const Quaternion* to, float t, Quaternion* res) 437 \param from where 438 \param to where 439 \param t the time this transformation should take value [0..1] 440 441 \returns the Result of the smooth move 442 */ 443 Quaternion quatSlerp(const Quaternion& from, const Quaternion& to, float t) 443 444 { 444 445 float tol[4]; 445 446 double omega, cosom, sinom, scale0, scale1; 446 DELTA = 0.2;447 448 cosom = from ->v.x * to->v.x + from->v.y * to->v.y + from->v.z * to->v.z + from->w * to->w;447 // float DELTA = 0.2; 448 449 cosom = from.v.x * to.v.x + from.v.y * to.v.y + from.v.z * to.v.z + from.w * to.w; 449 450 450 451 if( cosom < 0.0 ) 451 452 { 452 453 cosom = -cosom; 453 tol[0] = -to ->v.x;454 tol[1] = -to ->v.y;455 tol[2] = -to ->v.z;456 tol[3] = -to ->w;454 tol[0] = -to.v.x; 455 tol[1] = -to.v.y; 456 tol[2] = -to.v.z; 457 tol[3] = -to.w; 457 458 } 458 459 else 459 460 { 460 tol[0] = to ->v.x;461 tol[1] = to ->v.y;462 tol[2] = to ->v.z;463 tol[3] = to ->w;461 tol[0] = to.v.x; 462 tol[1] = to.v.y; 463 tol[2] = to.v.z; 464 tol[3] = to.w; 464 465 } 465 466 466 467 //if( (1.0 - cosom) > DELTA ) 467 468 //{ 468 469 470 471 472 473 474 else469 omega = acos(cosom); 470 sinom = sin(omega); 471 scale0 = sin((1.0 - t) * omega) / sinom; 472 scale1 = sin(t * omega) / sinom; 473 //} 474 /* 475 else 475 476 { 476 477 477 scale0 = 1.0 - t; 478 scale1 = t; 478 479 } 479 */ 480 res->v.x = scale0 * from->v.x + scale1 * tol[0]; 481 res->v.y = scale0 * from->v.y + scale1 * tol[1]; 482 res->v.z = scale0 * from->v.z + scale1 * tol[2]; 483 res->w = scale0 * from->w + scale1 * tol[3]; 480 */ 481 482 483 /* 484 Quaternion res; 485 res.v.x = scale0 * from.v.x + scale1 * tol[0]; 486 res.v.y = scale0 * from.v.y + scale1 * tol[1]; 487 res.v.z = scale0 * from.v.z + scale1 * tol[2]; 488 res.w = scale0 * from.w + scale1 * tol[3]; 489 */ 490 return Quaternion(Vector(scale0 * from.v.x + scale1 * tol[0], 491 scale0 * from.v.y + scale1 * tol[1], 492 scale0 * from.v.z + scale1 * tol[2]), 493 scale0 * from.w + scale1 * tol[3]); 484 494 } 485 495 -
orxonox/branches/heightMap/src/lib/math/vector.h
r3860 r4122 31 31 32 32 inline Vector operator+ (const Vector& v) const { return Vector(x + v.x, y + v.y, z + v.z); } 33 inline const Vector& operator+= (const Vector& v) {this->x += v.x; this->y += v.y; this->z += v.z; return *this;} 33 34 inline Vector operator- (const Vector& v) const { return Vector(x - v.x, y - v.y, z - v.z); } 35 inline const Vector& operator-= (const Vector& v) {this->x -= v.x; this->y -= v.y; this->z -= v.z; return *this;} 34 36 inline float operator* (const Vector& v) const { return x * v.x + y * v.y + z * v.z; } 37 inline const Vector& operator*= (const Vector& v) {this->x *= v.x; this->y *= v.y; this->z *= v.z; return *this;} 35 38 inline Vector operator* (float f) const { return Vector(x * f, y * f, z * f); } 39 inline const Vector& operator*= (float f) {this->x *= f; this->y *= f; this->z *= f; return *this;} 36 40 Vector operator/ (float f) const; 41 inline const Vector& operator/= (float f) {this->x /= f; this->y /= f; this->z /= f; return *this;} 42 inline const Vector& operator= (const Vector& v) {this->x = v.x; this->y = v.y; this->z = v.z; return *this;} 37 43 float dot (const Vector& v) const; 38 inline Vector cross (const Vector& v) const { 44 inline Vector cross (const Vector& v) const { return Vector(y * v.z - z * v.y, z * v.x - x * v.z, x * v.y - y * v.x ); } 39 45 void scale(const Vector& v); 40 46 inline float len() const { return sqrt (x*x+y*y+z*z); } … … 50 56 z = z / l; 51 57 } 52 Vector *getNormalized();58 Vector getNormalized(); 53 59 Vector abs(); 54 60 55 void debug() ;61 void debug() const; 56 62 }; 57 63 … … 70 76 71 77 inline Quaternion () { w = 1; v = Vector(0,0,0); } 72 inline Quaternion (const Vector& b, float a) { w = a; v = b; }78 inline Quaternion (const Vector& v, float f) { this->w = f; this->v = v; } 73 79 Quaternion (float m[4][4]); 74 80 inline Quaternion (float angle, const Vector& axis) { w = cos(angle/2); v = axis * sin(angle/2); } … … 76 82 Quaternion (float roll, float pitch, float yaw); 77 83 Quaternion operator/ (const float& f) const; 84 inline const Quaternion operator/= (const float& f) {*this = *this / f; return *this;} 78 85 Quaternion operator* (const float& f) const; 86 inline const Quaternion operator*= (const float& f) {*this = *this * f; return *this;} 79 87 Quaternion operator* (const Quaternion& q) const; 88 inline const Quaternion operator*= (const Quaternion& q) {*this = *this * q; return *this;} 80 89 inline Quaternion operator+ (const Quaternion& q) const { return Quaternion(q.v + v, q.w + w); } 90 inline const Quaternion& operator+= (const Quaternion& q) {this->v += q.v; this->w += q.w; return *this;} 81 91 inline Quaternion operator- (const Quaternion& q) const { return Quaternion(q.v - v, q.w - w); } 92 inline const Quaternion& operator-= (const Quaternion& q) {this->v -= q.v; this->w -= q.w; return *this;} 93 inline Quaternion operator= (const Quaternion& q) {this->v = q.v; this->w = q.w; return *this;} 82 94 Quaternion conjugate () const { Quaternion r(*this); 83 95 r.v = Vector() - r.v; … … 87 99 float norm () const; 88 100 void matrix (float m[4][4]) const; 89 void quatSlerp(const Quaternion* from, const Quaternion* to, const float t, Quaternion* res);90 101 91 102 void debug(); 92 private: 93 float DELTA; //!< resolution of calculation 103 }; 94 104 95 }; 105 Quaternion quatSlerp(const Quaternion& from, const Quaternion& to, float t); 106 107 96 108 97 109 //! 3D rotation (OBSOLETE) -
orxonox/branches/heightMap/src/lib/util/ini_parser.cc
r3484 r4122 16 16 17 17 #include "ini_parser.h" 18 #include "resource_manager.h" 18 19 19 20 using namespace std; 20 21 21 22 /** 22 23 23 \brief constructs an IniParser using a file 24 \param filename: the path and name of the file to parse 24 25 */ 25 IniParser::IniParser (c har* filename)26 IniParser::IniParser (const char* filename) 26 27 { 27 28 stream = NULL; 28 29 bInSection = false; 29 openFile(filename);30 this->openFile(filename); 30 31 } 31 32 32 33 /** 33 34 \brief removes the IniParser from memory 34 35 */ 35 36 IniParser::~IniParser () … … 43 44 \return zero on success or -1 if an error occured; 44 45 */ 45 int IniParser::openFile( char* filename)46 int IniParser::openFile(const char* filename) 46 47 { 48 char* tmpName = ResourceManager::homeDirCheck(filename); 47 49 if( filename == NULL) return -1; 48 50 if( stream != NULL) fclose (stream); 49 if( (stream = fopen ( filename, "r")) == NULL)51 if( (stream = fopen (tmpName, "r")) == NULL) 50 52 { 51 printf("IniParser could not open %s\n", filename); 53 PRINTF(1)("IniParser could not open %s\n", filename); 54 delete tmpName; 52 55 return -1; 53 56 } 54 57 bInSection = false; 58 delete tmpName; 55 59 return 0; 56 60 } … … 123 127 return -1; 124 128 } 125 if( (ptr = strchr( linebuffer, '=')) != NULL) 129 sscanf(linebuffer, "%s = %s", name, value); 130 return 0; 131 /* 132 if( (ptr = strchr( tmpBuffer, '=')) != NULL) 126 133 { 127 if( ptr == linebuffer) continue; 128 strcpy (value, &ptr[1]); 129 strncpy (name, linebuffer, strlen (linebuffer) - strlen (value) - 1); 130 return 0; 134 if( ptr == linebuffer) continue; 135 strcpy (value, &ptr[1]); 136 strncpy (name, linebuffer, strlen (linebuffer) - strlen (value) - 1); 137 printf ("%s, %s\n", value, name); 138 return 0; 131 139 } 140 */ 132 141 } 133 142 return -1; … … 144 153 lead to unwanted behaviour. 145 154 */ 146 char* IniParser::getVar( char* name, char* section, char* defvalue = "")155 char* IniParser::getVar(const char* name, char* section, char* defvalue = "") 147 156 { 148 157 strcpy (internbuf, defvalue); -
orxonox/branches/heightMap/src/lib/util/ini_parser.h
r3484 r4122 26 26 27 27 public: 28 IniParser (c har* filename);28 IniParser (const char* filename); 29 29 ~IniParser (); 30 30 31 char* getVar( char* name, char* section, char* defvalue);32 int openFile(char* name);31 char* getVar(const char* name, char* section, char* defvalue); 32 int openFile(const char* name); 33 33 int getSection( char* section); 34 34 int nextVar( char* name, char* value); -
orxonox/branches/heightMap/src/orxonox.cc
r3790 r4122 22 22 main-programmer: Patrick Boenzli 23 23 co-programmer: Christian Meyer 24 co-programmer: Benjamin Grauer: injected ResourceManager/GraphicsEngine 24 co-programmer: Benjamin Grauer: injected ResourceManager/GraphicsEngine/GUI 25 25 */ 26 26 27 27 #include "orxonox.h" 28 29 #include "gui.h" 28 30 29 31 #include "world.h" 30 32 #include "data_tank.h" 31 33 #include "command_node.h" 34 #include "ini_parser.h" 32 35 #include "game_loader.h" 33 36 #include "graphics_engine.h" 34 37 #include "resource_manager.h" 35 38 #include "text_engine.h" 39 #include "factory.h" 36 40 37 41 #include <string.h> 38 int verbose = 3; 42 43 int verbose = 4; 39 44 40 45 using namespace std; … … 45 50 Orxonox::Orxonox () 46 51 { 47 pause = false; 52 this->pause = false; 53 54 this->world = NULL; 55 this->resources = NULL; 56 this->localinput = NULL; 48 57 } 49 58 … … 53 62 Orxonox::~Orxonox () 54 63 { 64 int i =0; 55 65 Orxonox::singletonRef = NULL; 56 66 if( world != NULL) delete world; 57 if( localinput != NULL) delete world;67 if( localinput != NULL) delete localinput; 58 68 if( resources != NULL) delete resources; 59 69 delete GraphicsEngine::getInstance(); // deleting the Graphics … … 84 94 void Orxonox::getConfigFile (int argc, char** argv) 85 95 { 86 strcpy (configfilename, " orxonox.conf");96 strcpy (configfilename, "~/.orxonox/orxonox.conf"); 87 97 } 88 98 … … 98 108 SDL_Init (SDL_INIT_TIMER); 99 109 // initialize everything 110 printf("> Initializing resources\n"); 111 if( initResources () == -1) return -1; 112 100 113 if( initVideo() == -1) return -1; 101 114 if( initSound() == -1) return -1; … … 104 117 printf("> Initializing networking\n"); 105 118 if( initNetworking () == -1) return -1; 106 printf("> Initializing resources\n");107 if( initResources () == -1) return -1;108 119 //printf("> Initializing world\n"); 109 120 //if( init_world () == -1) return -1; PB: world will be initialized when started … … 143 154 { 144 155 // create localinput 145 localinput = new CommandNode( 156 localinput = new CommandNode(configfilename); 146 157 147 158 return 0; … … 164 175 int Orxonox::initResources() 165 176 { 166 // printf("Not yet implemented\n");167 177 PRINT(3)("initializing ResourceManager\n"); 168 178 resourceManager = ResourceManager::getInstance(); 169 resourceManager->setDataDir("../data/"); 170 return 0; 179 180 // create parser 181 IniParser parser (DEFAULT_CONFIG_FILE); 182 if( parser.getSection (CONFIG_SECTION_DATA) == -1) 183 { 184 PRINTF(1)("Could not find Section %s in %s\n", CONFIG_SECTION_DATA, DEFAULT_CONFIG_FILE); 185 return -1; 186 } 187 char namebuf[256]; 188 char valuebuf[256]; 189 memset (namebuf, 0, 256); 190 memset (valuebuf, 0, 256); 191 192 while( parser.nextVar (namebuf, valuebuf) != -1) 193 { 194 if (!strcmp(namebuf, CONFIG_NAME_DATADIR)) 195 { 196 // printf("Not yet implemented\n"); 197 if (!resourceManager->setDataDir(valuebuf)) 198 { 199 PRINTF(1)("Data Could not be located\n"); 200 exit(-1); 201 } 202 } 203 204 memset (namebuf, 0, 256); 205 memset (valuebuf, 0, 256); 206 } 207 208 if (!resourceManager->checkDataDir(DEFAULT_DATA_DIR_CHECKFILE)) 209 { 210 PRINTF(1)("The DataDirectory %s could not be verified\nPlease Change in File %s Section %s Entry %s to a suitable value\n", 211 resourceManager->getDataDir(), 212 DEFAULT_CONFIG_FILE, 213 CONFIG_SECTION_DATA, 214 CONFIG_NAME_DATADIR); 215 exit(-1); 216 } 217 218 171 219 PRINT(3)("initializing TextEngine\n"); 172 220 TextEngine::getInstance(); … … 200 248 201 249 this->gameLoader = GameLoader::getInstance(); 202 this->gameLoader->loadDebugCampaign(DEBUG_CAMPAIGN_0); 250 this->gameLoader->loadCampaign("worlds/DefaultCampaign.oxc"); 251 // this->gameLoader->loadDebugCampaign(DEBUG_CAMPAIGN_0); 203 252 this->gameLoader->init(); 204 253 this->gameLoader->start(); … … 279 328 280 329 330 bool showGui = false; 281 331 282 332 /** … … 300 350 301 351 int i; 302 for(i = 0; i < argc; ++i)352 for(i = 1; i < argc; ++i) 303 353 { 304 354 if(! strcmp( "--help", argv[i])) return startHelp(); 305 355 else if(! strcmp( "--benchmark", argv[i])) return startBenchmarks(); 306 } 307 308 PRINTF(2)("Orxonox does not understand the arguments"); 356 else if(! strcmp( "--gui", argv[i]) || !strcmp("-g", argv[i])) showGui = true; 357 else PRINTF(2)("Orxonox does not understand the arguments %s\n", argv[i]); 358 } 359 309 360 return startOrxonox(argc, argv); 310 361 } … … 314 365 int startHelp() 315 366 { 316 printf("orxonox: starts the orxonox game - rules\n"); 317 printf("usage: orxonox [arg]\n\n"); 318 printf("valid options:\n"); 319 printf(" --benchmark\tstarts the orxonox benchmark\n"); 320 printf(" --help \tshows this menu\n"); 367 PRINT(0)("orxonox: starts the orxonox game - rules\n"); 368 PRINT(0)("usage: orxonox [arg]\n\n"); 369 PRINT(0)("valid options:\n"); 370 PRINT(0)(" --benchmark\tstarts the orxonox benchmark\n"); 371 PRINT(0)(" --help \tshows this menu\n"); 372 PRINT(0)(" --gui/-g \tDisplays the Gui on startup\n"); 321 373 } 322 374 … … 324 376 int startOrxonox(int argc, char** argv) 325 377 { 326 printf(">>> Starting Orxonox <<<\n"); 378 // checking for existence of the configuration-files 379 if (showGui || 380 !ResourceManager::isFile("~/.orxonox/orxonox.conf") || 381 ResourceManager::isFile("~/.orxonox/orxonox.lock")) 382 { 383 if (ResourceManager::isFile("~/.orxonox/orxonox.lock")) 384 ResourceManager::deleteFile("~/.orxonox/orxonox.lock"); 385 // char* guiExec = new char[strlen(argv[0])+20]; 386 // sprintf(guiExec,"%sGui --gui", argv[0]); 387 Gui* gui = new Gui(argc, argv); 388 if (! gui->startOrxonox) 389 return 0; 390 391 delete gui; 392 } 393 394 PRINT(0)(">>> Starting Orxonox <<<\n"); 395 396 ResourceManager::touchFile("~/.orxonox/orxonox.lock"); 397 327 398 Orxonox *orx = Orxonox::getInstance(); 328 399 329 400 if((*orx).init(argc, argv) == -1) 330 401 { 331 printf("! Orxonox initialization failed\n");402 PRINTF(1)("! Orxonox initialization failed\n"); 332 403 return -1; 333 404 } … … 336 407 337 408 delete orx; 409 ResourceManager::deleteFile("~/.orxonox/orxonox.lock"); 338 410 339 411 } … … 346 418 #include "player.h" 347 419 #include "base_object.h" 420 348 421 #include <asm/msr.h> 349 422 #include <linux/timex.h> -
orxonox/branches/heightMap/src/proto/proto_class.cc
r3655 r4122 1 2 3 1 /* 4 2 orxonox - the future of 3D-vertical-scrollers … … 16 14 */ 17 15 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 16 //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ 19 17 20 18 #include "proto_class.h" 21 22 #include "stdincl.h" // maybe23 19 24 20 using namespace std; … … 43 39 // delete what has to be deleted here 44 40 } 45 46 /**47 \brief nonsense - delete this method48 \param realy nothing to give49 \returns true or false - probably nothing?50 51 this is just to show the doxygen abilities (this for example is an extension for a long comment)52 */53 bool ProtoClass::doNonSense (int nothing) {} -
orxonox/branches/heightMap/src/proto/proto_class.h
r3655 r4122 1 1 /*! 2 2 \file proto_class.h 3 \brief Definition of the proto class template, used quickly start work 4 \todo Example: this shows how to use simply add a Marker that here has to be done something. 3 \brief Definition of ... 5 4 6 The Protoclass exists, to help you quikly getting the run for how to develop in orxonox.7 It is an example for the CODING-CONVENTION, and a starting-point for every class.8 5 */ 9 6 … … 11 8 #define _PROTO_CLASS_H 12 9 13 #include "what realy has to be included"14 10 #include "base_object.h" 15 11 16 // FORWARD DEFINITION \\ 17 class someClassWeNeed; 12 // FORWARD DEFINITION 18 13 19 14 20 /*class Test;*/ /* forward definition of class Test (without including it here!)*/21 15 22 //! A default class that aids you to start creating a new class 23 /** 24 here can be some longer description of this class 25 */ 16 //! A class for ... 26 17 class ProtoClass : public BaseObject { 27 18 … … 30 21 virtual ~ProtoClass(); 31 22 32 bool doNonSense (int nothing);33 23 34 24 private: 35 int nonSense; //!< doxygen tag here like this for all the variables - delete this variable if you use this36 25 37 26 }; -
orxonox/branches/heightMap/src/proto/proto_singleton.h
r3655 r4122 1 1 /*! 2 2 \file proto_singleton.h 3 \brief Definition of the proto class template, used quickly start work3 \brief Definition of the ... singleton Class 4 4 5 a simple file to copy and create a singleton-class from6 5 */ 7 6 … … 11 10 #include "base_object.h" 12 11 13 // FORWARD DEFINITION \\12 // FORWARD DEFINITION 14 13 15 14 //! A default singleton class. -
orxonox/branches/heightMap/src/story_entities/campaign.cc
r3832 r4122 19 19 #include "campaign.h" 20 20 21 #include "game_loader.h" 21 22 #include "story_entity.h" 22 23 … … 34 35 this->isInit = false; 35 36 } 36 37 Campaign::Campaign ( TiXmlElement* root) 38 { 39 TiXmlElement* element; 40 const char* string; 41 int id; 42 43 PRINTF(3)("Loading Campaign...\n"); 44 45 assert( root != NULL); 46 GameLoader* loader = GameLoader::getInstance(); 47 48 this->entities = new tList<StoryEntity>(); 49 this->isInit = false; 50 51 // grab all the necessary parameters 52 string = grabParameter( root, "identifier"); 53 if( string == NULL || sscanf(string, "%d", &id) != 1) 54 { 55 PRINTF(2)("Campaign is missing a proper 'identifier'\n"); 56 this->setStoryID( -1); 57 } 58 else this->setStoryID( id); 59 60 // find WorldList 61 element = root->FirstChildElement( "WorldList"); 62 if( element == NULL) 63 { 64 PRINTF(2)("Campaign is missing a proper 'WorldList'\n"); 65 } 66 else 67 element = element->FirstChildElement(); 68 69 // load Worlds/Subcampaigns/Whatever 70 StoryEntity* lastCreated = NULL; 71 while( element != NULL) 72 { 73 printf("Campaign: Constructor: adding a world\n"); 74 StoryEntity* created = (StoryEntity*) loader->fabricate( element); 75 /* 76 if( lastCreated != NULL) 77 created->setNextStoryID( lastCreated->getStoryID()); 78 else 79 created->setNextStoryID( WORLD_ID_GAMEEND); 80 */ 81 if( created != NULL) 82 { 83 this->addEntity( created); 84 lastCreated = created; 85 } 86 element = element->NextSiblingElement(); 87 } 88 //if( lastCreated != NULL) 89 //lastCreated->setStoryID( WORLD_ID_GAMEEND); 90 } 37 91 38 92 Campaign::~Campaign () {} -
orxonox/branches/heightMap/src/story_entities/campaign.h
r3608 r4122 14 14 public: 15 15 Campaign (); 16 Campaign ( TiXmlElement* root); 16 17 virtual ~Campaign (); 17 18 -
orxonox/branches/heightMap/src/story_entities/world.cc
r4093 r4122 1 1 2 2 3 /* … … 43 44 #include "glmenu_imagescreen.h" 44 45 #include "list.h" 45 46 46 #include "game_loader.h" 47 48 #include "animation3d.h" 49 50 #include "substring.h" 47 51 48 52 using namespace std; 49 50 53 51 54 WorldInterface* WorldInterface::singletonRef = 0; … … 113 116 } 114 117 115 118 CREATE_FACTORY(World); 119 120 World::World( TiXmlElement* root) 121 { 122 this->constuctorInit("", -1); 123 this->path = NULL; 124 const char *string; 125 char *name; 126 int id; 127 128 PRINTF0("Creating a World\n"); 129 130 // identifier 131 string = grabParameter( root, "identifier"); 132 if( string == NULL || sscanf(string, "%d", &id) != 1) 133 { 134 PRINTF0("World is missing a proper 'identifier'\n"); 135 this->setStoryID( -1); 136 } 137 else setStoryID( id); 138 139 // next id 140 string = grabParameter( root, "nextid"); 141 if( string == NULL || sscanf(string, "%d", &id) != 1) 142 { 143 PRINTF0("World is missing a proper 'nextid'\n"); 144 this->setStoryID( -1); 145 } 146 else setNextStoryID( id); 147 148 149 // path 150 string = grabParameter( root, "path"); 151 if( string == NULL) 152 { 153 PRINTF0("World is missing a proper 'path'\n"); 154 this->setPath( NULL); 155 } 156 else 157 { 158 name = new char[strlen(string + 2)]; 159 strcpy( name, string); 160 this->setPath( name); 161 } 162 } 116 163 117 164 /** … … 122 169 World::World (char* name) 123 170 { 124 this->init(name, -1); 171 this->path = NULL; 172 this->constuctorInit(name, -1); 125 173 //NullParent* np = NullParent::getInstance(); 126 174 } … … 132 180 World::World (int worldID) 133 181 { 134 this->init(NULL, worldID); 182 this->path = NULL; 183 this->constuctorInit(NULL, worldID); 135 184 } 136 185 … … 177 226 NO LEVEL LOADING HERE - NEVER! 178 227 */ 179 void World:: init(char* name, int worldID)228 void World::constuctorInit(char* name, int worldID) 180 229 { 181 230 this->setClassName ("World"); 182 231 183 this->worldName = name; 232 //this->worldName = name; 233 //this->worldName = new char[strlen(name)+1]; 234 //strcpy(this->worldName, name); 184 235 this->debugWorldNr = worldID; 185 236 this->entities = new tList<WorldEntity>(); 186 AnimationPlayer::getInstance(); // initializes the animationPlayer187 237 } 188 238 … … 200 250 wi->init(this); 201 251 this->garbageCollector = GarbageCollector::getInstance(); 252 253 this->trackManager = TrackManager::getInstance(); 254 this->lightMan = LightManager::getInstance(); 255 this->nullParent = NullParent::getInstance (); 256 this->nullParent->setName ("NullParent"); 257 258 AnimationPlayer::getInstance(); // initializes the animationPlayer 259 260 this->localCamera = new Camera(); 261 this->localCamera->setName ("camera"); 202 262 } 203 263 … … 207 267 */ 208 268 ErrorMessage World::load() 209 { 210 // BezierCurve* tmpCurve = new BezierCurve(); 211 if(this->debugWorldNr != -1) 212 { 213 // initializing Font 214 this->glmis->step(); 269 { 270 PRINTF(3)("> Loading world: '%s'\n", getPath()); 271 TiXmlElement* element; 272 GameLoader* loader = GameLoader::getInstance(); 273 274 if( getPath() == NULL) 275 { 276 PRINTF(1)("World has no path specified for loading"); 277 return (ErrorMessage){213,"Path not specified","World::load()"}; 278 } 279 280 TiXmlDocument* XMLDoc = new TiXmlDocument( path); 281 // load the campaign document 282 if( !XMLDoc->LoadFile()) 283 { 284 // report an error 285 PRINTF(1)("loading XML File: %s @ %d:%d\n", XMLDoc->ErrorDesc(), XMLDoc->ErrorRow(), XMLDoc->ErrorCol()); 286 delete XMLDoc; 287 return (ErrorMessage){213,"XML File parsing error","World::load()"}; 288 } 289 290 // check basic validity 291 TiXmlElement* root = XMLDoc->RootElement(); 292 assert( root != NULL); 293 294 if( root == NULL || root->Value() == NULL || strcmp( root->Value(), "WorldDataFile")) 295 { 296 // report an error 297 PRINTF(1)("Specified XML File is not an orxonox world data file (WorldDataFile element missing)\n"); 298 delete XMLDoc; 299 return (ErrorMessage){213,"Path not a WorldDataFile","World::load()"}; 300 } 301 302 // load the parameters 303 // name 304 char* temp; 305 const char* string = grabParameter( root, "name"); 306 if( string == NULL) 307 { 308 PRINTF(2)("World is missing a proper 'name'\n"); 309 string = "Unknown"; 310 temp = new char[strlen(string + 2)]; 311 strcpy( temp, string); 312 this->worldName = temp; 313 } 314 else 315 { 316 temp = new char[strlen(string + 2)]; 317 strcpy( temp, string); 318 this->worldName = temp; 319 } 320 //////////////// 321 // LOADSCREEN // 322 //////////////// 323 element = root->FirstChildElement("LoadScreen"); 324 if (element == NULL) 325 { 326 PRINTF(2)("no LoadScreen specified, loading default\n"); 327 328 glmis->setBackgroundImage("pictures/load_screen.jpg"); 329 this->glmis->setMaximum(8); 330 this->glmis->draw(); 331 } 332 else 333 { 334 this->glmis->load(element); 335 this->glmis->draw(); 336 } 337 this->glmis->draw(); 338 // find WorldEntities 339 element = root->FirstChildElement("WorldEntities"); 340 341 if( element == NULL) 342 { 343 PRINTF(1)("World is missing 'WorldEntities'\n"); 344 } 345 else 346 { 347 element = element->FirstChildElement(); 348 // load Players/Objects/Whatever 349 PRINTF(4)("Loading WorldEntities\n"); 350 while( element != NULL) 351 { 352 WorldEntity* created = (WorldEntity*) loader->fabricate( element); 353 if( created != NULL) this->spawn( created); 354 // if we load a 'Player' we use it as localPlayer 355 //todo do this more elegant 356 if( element->Value() != NULL && !strcmp( element->Value(), "Player")) localPlayer = (Player*) created; 357 if( element->Value() != NULL && !strcmp( element->Value(), "SkyBox")) sky = (SkyBox*) created; 358 element = element->NextSiblingElement(); 359 glmis->step(); //! \todo temporary 360 } 361 PRINTF(4)("Done loading WorldEntities\n"); 362 } 363 364 // find Track 365 /*element = root->FirstChildElement( "Track"); 366 if( element == NULL) 367 { 368 PRINTF0("============>>>>>>>>>>>>>>>>>World is missing a 'Track'\n"); 369 } 370 else 371 { 372 //load track 373 PRINTF0("============>>>>>>>>>>>>>>>>Loading Track\n"); 374 375 trackManager->loadTrack( element); 376 trackManager->finalize(); 377 PRINTF0("============>>>>>>>>>>>>>>>>Done loading Track\n"); 378 }*/ 379 380 // free the XML data 381 382 delete XMLDoc; 383 /* GENERIC LOADING PROCESS FINISHED */ 384 385 // bind input 386 Orxonox *orx = Orxonox::getInstance (); 387 orx->getLocalInput()->bind (localPlayer); 388 389 // bind camera 390 //this->localCamera->bind (localPlayer); 391 this->localPlayer->addChild (this->localCamera); 392 393 394 // stuff beyond this point remains to be loaded properly 395 215 396 // initializing the TrackManager 216 397 this->trackManager = TrackManager::getInstance(); 217 398 //trackManager->addPoint(Vector(0,0,0)); 218 399 trackManager->addPoint(Vector(150, -35, 5)); … … 272 453 273 454 274 /*monitor progress*/ 275 this->glmis->step(); 276 277 // LIGHT initialisation 278 lightMan = LightManager::getInstance(); 279 lightMan->setAmbientColor(.1,.1,.1); 280 lightMan->addLight(); 281 // lightMan->setAttenuation(1.0, .01, 0.0); 282 // lightMan->setDiffuseColor(1,1,1); 283 // lightMan->addLight(1); 284 // lightMan->setPosition(20, 10, -20); 285 // lightMan->setDiffuseColor(0,0,0); 286 lightMan->debug(); 287 288 switch(this->debugWorldNr) 289 { 290 /* 291 this loads the hard-coded debug world. this only for simplicity and will be 292 removed by a reald world-loader, which interprets a world-file. 293 if you want to add an own debug world, just add a case DEBUG_WORLD_[nr] and 294 make whatever you want... 295 */ 296 case DEBUG_WORLD_0: 297 { 298 lightMan->setPosition(-5.0, 10.0, -40.0); 299 this->nullParent = NullParent::getInstance (); 300 this->nullParent->setName ("NullParent"); 301 302 // !\todo old track-system has to be removed 303 304 //create helper for player 305 //HelperParent* hp = new HelperParent (); 306 /* the player has to be added to this helper */ 307 308 // create a player 309 this->localPlayer = new Player (); 310 this->localPlayer->setName ("player"); 311 this->spawn (this->localPlayer); 312 /*monitor progress*/ 313 //this->glmis->step(); 314 this->glmis->step(); 315 316 // bind input 317 Orxonox *orx = Orxonox::getInstance (); 318 orx->getLocalInput()->bind (this->localPlayer); 455 lightMan->setAmbientColor(.1,.1,.1); 456 lightMan->addLight(); 457 // lightMan->setAttenuation(1.0, .01, 0.0); 458 // lightMan->setDiffuseColor(1,1,1); 459 // lightMan->addLight(1); 460 // lightMan->setPosition(20, 10, -20); 461 // lightMan->setDiffuseColor(0,0,0); 462 lightMan->debug(); 463 lightMan->setPosition(-5.0, 10.0, -40.0); 464 465 // trackManager->setBindSlave(env); 466 PNode* tn = trackManager->getTrackNode(); 467 tn->addChild(this->localPlayer); 468 469 //localCamera->setParent(TrackNode::getInstance()); 470 tn->addChild(this->localCamera); 471 localCamera->lookAt(tn); 472 localCamera->setMode(PNODE_MOVEMENT); 473 this->localPlayer->setMode(PNODE_ALL); 474 Vector* cameraOffset = new Vector (0, 5, -10); 475 trackManager->condition(2, LEFTRIGHT, this->localPlayer); 476 477 this->sky->setParent(this->localCamera); 478 479 // initialize debug coord system 480 objectList = glGenLists(1); 481 glNewList (objectList, GL_COMPILE); 482 483 // trackManager->drawGraph(.01); 484 trackManager->debug(2); 485 glEndList(); 486 487 terrain = new Terrain("worlds/newGround.obj"); 488 terrain->setRelCoor(Vector(0,-10,0)); 489 this->spawn(terrain); 490 491 } 492 493 void World::loadDebugWorld(int worldID) 494 { 495 /*monitor progress*/ 496 this->glmis->step(); 497 498 // LIGHT initialisation 499 500 lightMan->setAmbientColor(.1,.1,.1); 501 lightMan->addLight(); 502 // lightMan->setAttenuation(1.0, .01, 0.0); 503 // lightMan->setDiffuseColor(1,1,1); 504 // lightMan->addLight(1); 505 // lightMan->setPosition(20, 10, -20); 506 // lightMan->setDiffuseColor(0,0,0); 507 lightMan->debug(); 508 509 switch(this->debugWorldNr) 510 { 511 /* 512 this loads the hard-coded debug world. this only for simplicity and will be 513 removed by a reald world-loader, which interprets a world-file. 514 if you want to add an own debug world, just add a case DEBUG_WORLD_[nr] and 515 make whatever you want... 516 */ 517 case DEBUG_WORLD_0: 518 { 519 lightMan->setPosition(-5.0, 10.0, -40.0); 520 521 // !\todo old track-system has to be removed 522 523 //create helper for player 524 //HelperParent* hp = new HelperParent (); 525 /* the player has to be added to this helper */ 526 527 // create a player 528 this->localPlayer = new Player (); 529 this->localPlayer->setName ("player"); 530 this->spawn (this->localPlayer); 531 /*monitor progress*/ 532 //this->glmis->step(); 533 this->glmis->step(); 534 535 // bind input 536 Orxonox *orx = Orxonox::getInstance (); 537 orx->getLocalInput()->bind (this->localPlayer); 319 538 320 321 322 539 // bind camera 540 this->localCamera = new Camera(); 541 this->localCamera->setName ("camera"); 323 542 324 /*monitor progress*/ 325 this->glmis->step(); 326 327 // Create SkySphere 328 // this->skySphere = new Skysphere("../data/pictures/sky-replace.jpg"); 329 // this->skySphere->setName("SkySphere"); 330 // this->localCamera->addChild(this->skySphere); 331 // this->spawn(this->skySphere); 332 skyBox = new SkyBox(); 333 skyBox->setTexture("pictures/sky/skybox", "jpg"); 334 skyBox->setParent(localCamera); 335 this->spawn(skyBox); 336 337 /*monitor progress*/ 338 this->glmis->step(); 543 /*monitor progress*/ 544 this->glmis->step(); 545 546 sky = new SkyBox(); 547 // (SkyBox*)(sky)->setTexture("pictures/sky/skybox", "jpg"); 548 sky->setParent(localCamera); 549 this->spawn(sky); 550 551 /*monitor progress*/ 552 this->glmis->step(); 339 553 340 554 341 342 343 555 WorldEntity* env = new Environment(); 556 env->setName ("env"); 557 this->spawn(env); 344 558 345 559 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 560 /* 561 Vector* es = new Vector (10, 5, 0); 562 Quaternion* qs = new Quaternion (); 563 WorldEntity* pr = new Primitive(P_CYLINDER); 564 pr->setName("primitive"); 565 this->spawn(pr, this->localPlayer, es, qs, PNODE_MOVEMENT); 566 */ 567 568 /*monitor progress*/ 569 this->glmis->step(); 570 571 // trackManager->setBindSlave(env); 572 PNode* tn = trackManager->getTrackNode(); 573 tn->addChild(this->localPlayer); 574 this->localCamera->lookAt(tn); 575 576 //localCamera->setParent(TrackNode::getInstance()); 577 tn->addChild(this->localCamera); 578 // localCamera->lookAt(tn); 579 this->localPlayer->setMode(PNODE_ALL); 580 //Vector* cameraOffset = new Vector (0, 5, -10); 581 trackManager->condition(2, LEFTRIGHT, this->localPlayer); 582 this->glmis->step(); 583 break; 584 } 585 case DEBUG_WORLD_1: 586 { 587 lightMan->setPosition(.0, .0, .0); 588 lightMan->setAttenuation(1.0, .01, 0.0); 589 lightMan->setSpecularColor(1,0,0); 590 this->nullParent = NullParent::getInstance (); 591 this->nullParent->setName ("NullParent"); 592 593 // create a player 594 WorldEntity* myPlayer = new Player(); 595 myPlayer->setName ("player"); 596 this->spawn(myPlayer); 597 this->localPlayer = myPlayer; 384 598 385 386 387 599 // bind input 600 Orxonox *orx = Orxonox::getInstance(); 601 orx->getLocalInput()->bind (myPlayer); 388 602 389 390 391 392 393 394 395 396 skySphere = new Skysphere("../data/pictures/sky-replace.jpg");397 this->localPlayer->addChild(this->skySphere);398 this->spawn(this->skySphere);399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 603 // bind camera 604 this->localCamera = new Camera (); 605 this->localCamera->setName ("camera"); 606 this->localCamera->lookAt(LightManager::getInstance()->getLight(0)); 607 this->localCamera->setParent(this->localPlayer); 608 609 // Create SkySphere 610 sky = new Skysphere("pictures/sky-replace.jpg"); 611 this->localPlayer->addChild(this->sky); 612 this->spawn(this->sky); 613 Vector* es = new Vector (20, 0, 0); 614 Quaternion* qs = new Quaternion (); 615 616 lightMan->getLight(0)->setParent(trackManager->getTrackNode()); 617 break; 618 } 619 case DEBUG_WORLD_2: 620 { 621 lightMan->setAmbientColor(.1,.1,.1); 622 lightMan->addLight(); 623 lightMan->setPosition(-5.0, 10.0, -40.0); 624 this->nullParent = NullParent::getInstance (); 625 this->nullParent->setName ("NullParent"); 626 627 // !\todo old track-system has to be removed 628 629 //create helper for player 630 //HelperParent* hp = new HelperParent (); 631 /* the player has to be added to this helper */ 632 633 // create a player 634 this->localPlayer = new Player (); 635 this->localPlayer->setName ("player"); 636 this->spawn (this->localPlayer); 637 /*monitor progress*/ 638 //this->glmis->step(); 639 this->glmis->step(); 640 641 // bind input 642 Orxonox *orx = Orxonox::getInstance (); 643 orx->getLocalInput()->bind (this->localPlayer); 430 644 431 432 433 434 435 645 // bind camera 646 this->localCamera = new Camera(); 647 this->localCamera->setName ("camera"); 648 this->localCamera->lookAt(this->localPlayer); 649 this->localCamera->setParent(this->localPlayer); 436 650 437 438 439 440 441 this->skySphere = new Skysphere("../data/pictures/sky-replace.jpg");442 this->skySphere->setName("SkySphere");443 this->spawn(this->skySphere);444 this->localCamera->addChild(this->skySphere);445 this->skySphere->setMode(PNODE_MOVEMENT);446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 651 /*monitor progress*/ 652 this->glmis->step(); 653 654 // Create SkySphere 655 this->sky = new Skysphere("pictures/sky-replace.jpg"); 656 this->sky->setName("SkySphere"); 657 this->spawn(this->sky); 658 this->localCamera->addChild(this->sky); 659 this->sky->setMode(PNODE_MOVEMENT); 660 /*monitor progress*/ 661 this->glmis->step(); 662 663 664 WorldEntity* baseNode = new Satellite(Vector(1,0,1), 1.2); 665 this->localPlayer->addChild(baseNode); 666 baseNode->setRelCoor(Vector(10.0, 2.0, 1.0)); 667 this->spawn(baseNode); 668 669 WorldEntity* secondNode = new Satellite(Vector(0,0,1), 2.0); 670 baseNode->addChild(secondNode); 671 secondNode->setRelCoor(Vector(0.0, 0.0, 3.0)); 672 this->spawn(secondNode); 673 674 675 WorldEntity* thirdNode = new Satellite(Vector(0,0,1), 1.0); 676 secondNode->addChild(thirdNode); 677 thirdNode->setRelCoor(Vector(2.0, 0.0, 0.0)); 678 this->spawn(thirdNode); 465 679 466 680 681 682 WorldEntity* c = new Environment(); 683 this->localPlayer->addChild(c); 684 c->setRelCoor(Vector(10.0, 2.0, -1.0)); 685 this->spawn(c); 686 687 467 688 468 469 WorldEntity* b = new Environment(); 470 this->localPlayer->addChild(b); 471 b->setRelCoor(Vector(10.0, 1.0, 1.0)); 472 this->spawn(b); 473 474 475 WorldEntity* c = new Environment(); 476 this->localPlayer->addChild(c); 477 c->setRelCoor(Vector(10.0, 2.0, -1.0)); 478 this->spawn(c); 479 480 /* 481 KeyFrame* f1 = new KeyFrame; 482 f1->position = new Vector(-1.1, 0.0, 2.6); 483 f1->direction = new Quaternion(); 484 f1->time = 1.0; 485 f1->mode = NEG_EXP; 689 Animation3D* animation = new Animation3D(c); 690 animation->setInfinity(ANIM_INF_REPLAY); 691 692 693 animation->addKeyFrame(Vector(0, 0, 0), Quaternion(0, Vector(0,1,0)), 1.0, ANIM_NEG_EXP, ANIM_LINEAR); 694 animation->addKeyFrame(Vector(0, 2, 0), Quaternion(M_PI, Vector(0,1,0)), 1.0, ANIM_NEG_EXP, ANIM_LINEAR); 695 animation->addKeyFrame(Vector(0, 0, 0), Quaternion(0, Vector(0,1,0)), 1.0, ANIM_NEG_EXP, ANIM_LINEAR); 696 697 698 699 700 701 702 /* 703 KeyFrame* f1 = new KeyFrame; 704 f1->position = new Vector(-1.1, 0.0, 2.6); 705 f1->direction = new Quaternion(); 706 f1->time = 1.0; 707 f1->mode = NEG_EXP; 486 708 487 709 488 489 490 491 492 710 KeyFrame* f2 = new KeyFrame; 711 f2->position = new Vector(-2.1, 0.0, 2.6); 712 f2->direction = new Quaternion(); 713 f2->time = 0.1; 714 f2->mode = NEG_EXP; 493 715 494 495 496 497 498 716 KeyFrame* f3 = new KeyFrame; 717 f3->position = new Vector(10.0, 2.0, -1.0); 718 f3->direction = new Quaternion(); 719 f3->time = 0.2; 720 f3->mode = NEG_EXP; 499 721 500 501 502 503 504 722 KeyFrame* f4 = new KeyFrame; 723 f4->position = new Vector(10.0, 5.0, -1.0); 724 f4->direction = new Quaternion(); 725 f4->time = 1.0; 726 f4->mode = NEG_EXP; 505 727 506 728 507 729 508 this->simpleAnimation->animatorBegin(); 509 this->simpleAnimation->selectObject(b); 510 this->simpleAnimation->setAnimationMode(SINGLE); 511 this->simpleAnimation->addKeyFrame(f1); 512 this->simpleAnimation->addKeyFrame(f2); 513 this->simpleAnimation->start(); 514 this->simpleAnimation->selectObject(c); 515 this->simpleAnimation->addKeyFrame(f3); 516 this->simpleAnimation->addKeyFrame(f4); 517 this->simpleAnimation->start(); 518 this->simpleAnimation->animatorEnd(); 519 */ 520 521 /* 522 Vector* es = new Vector (10, 5, 0); 523 Quaternion* qs = new Quaternion (); 524 WorldEntity* pr = new Primitive(P_CYLINDER); 525 pr->setName("primitive"); 526 this->spawn(pr, this->localPlayer, es, qs, PNODE_MOVEMENT); 527 */ 528 529 /*monitor progress*/ 530 this->glmis->step(); 531 532 // trackManager->setBindSlave(env); 533 PNode* tn = trackManager->getTrackNode(); 534 tn->addChild(this->localPlayer); 535 536 //localCamera->setParent(TrackNode::getInstance()); 537 tn->addChild(this->localCamera); 538 // localCamera->lookAt(tn); 539 this->localPlayer->setMode(PNODE_ALL); 540 //Vector* cameraOffset = new Vector (0, 5, -10); 541 trackManager->condition(2, LEFTRIGHT, this->localPlayer); 542 this->glmis->step(); 543 544 break; 545 } 546 547 case DEBUG_WORLD_3: 548 { 549 lightMan->setPosition(-5.0, 10.0, -40.0); 550 this->nullParent = NullParent::getInstance (); 551 this->nullParent->setName ("NullParent"); 552 553 // !\todo old track-system has to be removed 554 555 //create helper for player 556 //HelperParent* hp = new HelperParent (); 557 /* the player has to be added to this helper */ 558 559 // create a player 560 this->localPlayer = new Player (); 561 this->localPlayer->setName ("player"); 562 this->spawn (this->localPlayer); 563 /*monitor progress*/ 564 //this->glmis->step(); 565 this->glmis->step(); 566 567 // bind input 568 Orxonox *orx = Orxonox::getInstance (); 569 orx->getLocalInput()->bind (this->localPlayer); 570 571 // bind camera 572 this->localCamera = new Camera(); 573 this->localCamera->setName ("camera"); 574 575 /*monitor progress*/ 576 this->glmis->step(); 577 578 // Create SkySphere 579 skyBox = new SkyBox(); 580 skyBox->setTexture("pictures/sky/skybox", "jpg"); 581 skyBox->setParent(localCamera); 582 this->spawn(skyBox); 583 584 /*monitor progress*/ 585 this->glmis->step(); 586 587 //WorldEntity* env = new Environment(); 588 //env->setName ("env"); 589 //this->spawn(env); 590 591 /*monitor progress*/ 592 this->glmis->step(); 593 594 // trackManager->setBindSlave(env); 595 PNode* tn = trackManager->getTrackNode(); 596 tn->addChild(this->localPlayer); 597 this->localCamera->lookAt(tn); 598 599 //localCamera->setParent(TrackNode::getInstance()); 600 tn->addChild(this->localCamera); 601 // localCamera->lookAt(tn); 602 this->localPlayer->setMode(PNODE_ALL); 603 //Vector* cameraOffset = new Vector (0, 5, -10); 604 trackManager->condition(2, LEFTRIGHT, this->localPlayer); 605 this->glmis->step(); 606 break; 607 } 608 609 610 default: 611 printf("World::load() - no world with ID %i found", this->debugWorldNr ); 612 } 613 614 } 615 else if(this->worldName != NULL) 616 { 617 618 } 619 620 // initialize debug coord system 621 objectList = glGenLists(1); 622 glNewList (objectList, GL_COMPILE); 623 624 // trackManager->drawGraph(.01); 625 trackManager->debug(2); 626 glEndList(); 627 628 //terrain = new Terrain("../data/worlds/newGround.obj"); 629 terrain = new Terrain("../data/pictures/heightmapHello.bmp",100,1); 630 terrain->setRelCoor(Vector(0,-10,0)); 631 this->spawn(terrain); 632 633 } 730 this->simpleAnimation->animatorBegin(); 731 this->simpleAnimation->selectObject(b); 732 this->simpleAnimation->setAnimationMode(SINGLE); 733 this->simpleAnimation->addKeyFrame(f1); 734 this->simpleAnimation->addKeyFrame(f2); 735 this->simpleAnimation->start(); 736 this->simpleAnimation->selectObject(c); 737 this->simpleAnimation->addKeyFrame(f3); 738 this->simpleAnimation->addKeyFrame(f4); 739 this->simpleAnimation->start(); 740 this->simpleAnimation->animatorEnd(); 741 */ 742 743 /* 744 Vector* es = new Vector (10, 5, 0); 745 Quaternion* qs = new Quaternion (); 746 WorldEntity* pr = new Primitive(P_CYLINDER); 747 pr->setName("primitive"); 748 this->spawn(pr, this->localPlayer, es, qs, PNODE_MOVEMENT); 749 */ 750 751 /*monitor progress*/ 752 this->glmis->step(); 753 754 // trackManager->setBindSlave(env); 755 PNode* tn = trackManager->getTrackNode(); 756 tn->addChild(this->localPlayer); 757 758 //localCamera->setParent(TrackNode::getInstance()); 759 tn->addChild(this->localCamera); 760 // localCamera->lookAt(tn); 761 this->localPlayer->setMode(PNODE_ALL); 762 //Vector* cameraOffset = new Vector (0, 5, -10); 763 trackManager->condition(2, LEFTRIGHT, this->localPlayer); 764 this->glmis->step(); 765 766 break; 767 } 768 default: 769 printf("World::load() - no world with ID %i found", this->debugWorldNr ); 770 } 771 } 772 634 773 635 774 … … 703 842 704 843 //GLMenuImageScreen* 705 this->glmis = GLMenuImageScreen::getInstance();844 this->glmis = new GLMenuImageScreen(); 706 845 this->glmis->init(); 846 glmis->setBackgroundImage("pictures/load_screen.jpg"); 707 847 this->glmis->setMaximum(8); 708 this->glmis->draw();848 // this->glmis->draw(); 709 849 710 850 PRINTF(3)("World::displayLoadScreen - end\n"); … … 720 860 PRINTF(3)("World::releaseLoadScreen - start\n"); 721 861 this->glmis->setValue(this->glmis->getMaximum()); 722 //SDL_Delay(500);723 862 PRINTF(3)("World::releaseLoadScreen - end\n"); 863 delete this->glmis; 724 864 } 725 865 … … 906 1046 this->tick (); 907 1047 // Update the state 908 this->update (); 1048 this->update (); 909 1049 // Process collision 910 1050 this->collide (); … … 989 1129 } 990 1130 delete iterator; 991 //skySphere->updatePosition(localCamera->absCoordinate); 992 1131 993 1132 /* update tick the rest */ 994 1133 this->trackManager->tick(this->dt); … … 1099 1238 bool World::command(Command* cmd) 1100 1239 { 1101 if( !strcmp( cmd->cmd, "view0")) this->localCamera->setViewMode(VIEW_NORMAL);1102 else if( !strcmp( cmd->cmd, "view1")) this->localCamera->setViewMode(VIEW_BEHIND);1103 else if( !strcmp( cmd->cmd, "view2")) this->localCamera->setViewMode(VIEW_FRONT);1104 else if( !strcmp( cmd->cmd, "view3")) this->localCamera->setViewMode(VIEW_LEFT);1105 else if( !strcmp( cmd->cmd, "view4")) this->localCamera->setViewMode(VIEW_RIGHT);1106 else if( !strcmp( cmd->cmd, "view5")) this->localCamera->setViewMode(VIEW_TOP);1240 if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW0)) this->localCamera->setViewMode(VIEW_NORMAL); 1241 else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW1)) this->localCamera->setViewMode(VIEW_BEHIND); 1242 else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW2)) this->localCamera->setViewMode(VIEW_FRONT); 1243 else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW3)) this->localCamera->setViewMode(VIEW_LEFT); 1244 else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW4)) this->localCamera->setViewMode(VIEW_RIGHT); 1245 else if( !strcmp( cmd->cmd, CONFIG_NAME_VIEW5)) this->localCamera->setViewMode(VIEW_TOP); 1107 1246 1108 1247 return false; 1109 1248 } 1110 1249 1250 void World::setPath( const char* name) 1251 { 1252 if (this->path) 1253 delete this->path; 1254 if (ResourceManager::isFile(name)) 1255 { 1256 this->path = new char[strlen(name)+1]; 1257 strcpy(this->path, name); 1258 } 1259 else 1260 { 1261 this->path = new char[strlen(ResourceManager::getInstance()->getDataDir()) + strlen(name) +1]; 1262 sprintf(this->path, "%s%s", ResourceManager::getInstance()->getDataDir(), name); 1263 } 1264 } 1265 1266 const char* World::getPath( void) 1267 { 1268 return path; 1269 } -
orxonox/branches/heightMap/src/story_entities/world.h
r3851 r4122 11 11 #include "story_entity.h" 12 12 #include "p_node.h" 13 13 #include "xmlparser/tinyxml.h" 14 14 15 15 class World; … … 19 19 class PNode; 20 20 class GLMenuImageScreen; 21 class Skysphere;22 class SkyBox;23 21 class LightManager; 24 22 class Terrain; … … 57 55 World (char* name); 58 56 World (int worldID); 57 World (TiXmlElement* root); 59 58 virtual ~World (); 60 59 … … 70 69 virtual ErrorMessage resume (); 71 70 virtual ErrorMessage destroy (); 71 72 void loadDebugWorld(int worldID); 72 73 73 74 virtual void displayLoadScreen(); … … 85 86 int parentingMode); 86 87 88 const char* getPath(); 89 void setPath( const char* name); 87 90 88 91 private: 89 void init(char* name, int worldID);92 void constuctorInit(char* name, int worldID); 90 93 91 94 Uint32 lastFrame; //!< last time of frame … … 100 103 char* worldName; //!< The name of this World 101 104 int debugWorldNr; //!< The Debug Nr. needed, if something goes wrong 105 char* path; //!< The file from which this world is loaded 102 106 103 107 PNode* nullParent; //!< The zero-point, that everything has as its parent. 104 108 TrackManager* trackManager; //!< The reference of the TrackManager that handles the course through the Level. 105 109 Camera* localCamera; //!< The current Camera 106 Skysphere* skySphere; //!< The Environmental Heaven of orxonox \todo insert this to environment insted 107 SkyBox* skyBox; 110 WorldEntity* sky; //!< The Environmental Heaven of orxonox \todo insert this to environment insted 108 111 LightManager* lightMan; //!< The Lights of the Level 109 112 Terrain* terrain; //!< The Terrain of the World. -
orxonox/branches/heightMap/src/subprojects/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 34 34 PRE_UNINSTALL = : 35 35 POST_UNINSTALL = : 36 build_triplet = @build@37 36 host_triplet = @host@ 38 target_triplet = @target@39 37 subdir = src/subprojects 40 38 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in … … 91 89 EXEEXT = @EXEEXT@ 92 90 GPROF = @GPROF@ 93 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@94 GTHREAD_LIBS = @GTHREAD_LIBS@95 91 GTK2_CFLAGS = @GTK2_CFLAGS@ 96 92 GTK2_LIBS = @GTK2_LIBS@ 97 93 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 98 94 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 99 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@100 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@101 95 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 102 96 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 119 113 PACKAGE_VERSION = @PACKAGE_VERSION@ 120 114 PATH_SEPARATOR = @PATH_SEPARATOR@ 115 RANLIB = @RANLIB@ 121 116 SET_MAKE = @SET_MAKE@ 122 117 SHELL = @SHELL@ … … 127 122 ac_ct_CC = @ac_ct_CC@ 128 123 ac_ct_CXX = @ac_ct_CXX@ 124 ac_ct_RANLIB = @ac_ct_RANLIB@ 129 125 ac_ct_STRIP = @ac_ct_STRIP@ 130 126 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 135 131 am__leading_dot = @am__leading_dot@ 136 132 am__quote = @am__quote@ 137 am__tar = @am__tar@138 am__untar = @am__untar@139 133 bindir = @bindir@ 140 134 build = @build@ … … 351 345 fi; \ 352 346 done 353 list='$( DIST_SUBDIRS)'; for subdir in $$list; do \347 list='$(SUBDIRS)'; for subdir in $$list; do \ 354 348 if test "$$subdir" = .; then :; else \ 355 349 test -d "$(distdir)/$$subdir" \ 356 || $(mkdir_p)"$(distdir)/$$subdir" \350 || mkdir "$(distdir)/$$subdir" \ 357 351 || exit 1; \ 358 distdir=`$(am__cd) $(distdir) && pwd`; \359 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \360 352 (cd $$subdir && \ 361 353 $(MAKE) $(AM_MAKEFLAGS) \ 362 top_distdir=" $$top_distdir" \363 distdir=" $$distdir/$$subdir" \354 top_distdir="../$(top_distdir)" \ 355 distdir="../$(distdir)/$$subdir" \ 364 356 distdir) \ 365 357 || exit 1; \ … … 390 382 391 383 distclean-generic: 392 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)384 -rm -f $(CONFIG_CLEAN_FILES) 393 385 394 386 maintainer-clean-generic: -
orxonox/branches/heightMap/src/subprojects/testmain/Makefile.in
r4090 r4122 1 # Makefile.in generated by automake 1. 9.3from Makefile.am.1 # Makefile.in generated by automake 1.8.5 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 38 38 PRE_UNINSTALL = : 39 39 POST_UNINSTALL = : 40 build_triplet = @build@41 40 host_triplet = @host@ 42 target_triplet = @target@43 41 bin_PROGRAMS = testmain$(EXEEXT) 44 42 subdir = src/subprojects/testmain … … 61 59 depcomp = $(SHELL) $(top_srcdir)/depcomp 62 60 am__depfiles_maybe = depfiles 61 @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/testmain.Po 63 62 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 64 63 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) … … 105 104 EXEEXT = @EXEEXT@ 106 105 GPROF = @GPROF@ 107 GTHREAD_CFLAGS = @GTHREAD_CFLAGS@108 GTHREAD_LIBS = @GTHREAD_LIBS@109 106 GTK2_CFLAGS = @GTK2_CFLAGS@ 110 107 GTK2_LIBS = @GTK2_LIBS@ 111 108 HAVE_CURL_FALSE = @HAVE_CURL_FALSE@ 112 109 HAVE_CURL_TRUE = @HAVE_CURL_TRUE@ 113 HAVE_GTHREAD_FALSE = @HAVE_GTHREAD_FALSE@114 HAVE_GTHREAD_TRUE = @HAVE_GTHREAD_TRUE@115 110 HAVE_GTK2_FALSE = @HAVE_GTK2_FALSE@ 116 111 HAVE_GTK2_TRUE = @HAVE_GTK2_TRUE@ … … 133 128 PACKAGE_VERSION = @PACKAGE_VERSION@ 134 129 PATH_SEPARATOR = @PATH_SEPARATOR@ 130 RANLIB = @RANLIB@ 135 131 SET_MAKE = @SET_MAKE@ 136 132 SHELL = @SHELL@ … … 141 137 ac_ct_CC = @ac_ct_CC@ 142 138 ac_ct_CXX = @ac_ct_CXX@ 139 ac_ct_RANLIB = @ac_ct_RANLIB@ 143 140 ac_ct_STRIP = @ac_ct_STRIP@ 144 141 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ … … 149 146 am__leading_dot = @am__leading_dot@ 150 147 am__quote = @am__quote@ 151 am__tar = @am__tar@152 am__untar = @am__untar@153 148 bindir = @bindir@ 154 149 build = @build@ … … 184 179 target_vendor = @target_vendor@ 185 180 MAINSRCDIR = ../.. 186 AM_CXXFLAGS = -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities \ 187 -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib \ 188 -I$(MAINSRCDIR)/lib/data -I$(MAINSRCDIR)/lib/gaphics \ 189 -I$(MAINSRCDIR)/lib/graphics/importer -I$(MAINSRCDIR)/lib/lang \ 190 -I$(MAINSRCDIR)/lib/util -I$(MAINSRCDIR)/lib/math \ 191 -I$(MAINSRCDIR)/defs -I$(MAINSRCDIR)/font \ 192 -I$(MAINSRCDIR)/network -I$(MAINSRCDIR)/glmenu \ 193 -I$(MAINSRCDIR)/ai 181 AM_CXXFLAGS = -I$(MAINSRCDIR) -I$(MAINSRCDIR)/world_entities -I$(MAINSRCDIR)/story_entities -I$(MAINSRCDIR)/lib -I$(MAINSRCDIR)/lib/data -I$(MAINSRCDIR)/lib/gaphics -I$(MAINSRCDIR)/lib/graphics/importer -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 194 182 AM_LDFLAGS = $(MWINDOWS) 195 183 testmain_SOURCES = testmain.cc … … 267 255 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 268 256 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 269 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 257 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 258 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 270 259 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< 271 260 … … 274 263 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi 275 264 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 276 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 265 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ 266 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 277 267 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 278 268 uninstall-info-am: … … 379 369 380 370 distclean-generic: 381 - test -z "$(CONFIG_CLEAN_FILES)" ||rm -f $(CONFIG_CLEAN_FILES)371 -rm -f $(CONFIG_CLEAN_FILES) 382 372 383 373 maintainer-clean-generic: -
orxonox/branches/heightMap/src/track_manager.cc
r3882 r4122 29 29 30 30 using namespace std; 31 32 CREATE_FACTORY(TrackManager); 31 33 32 34 /** … … 312 314 PNode* tmpNode = (PNode*)node; 313 315 314 if (tmpNode->getRelCoor() ->z < 0)316 if (tmpNode->getRelCoor().z < 0) 315 317 return 0; 316 318 else … … 333 335 PNode* tmpNode = (PNode*)node; 334 336 335 Vector nodeRelCoord = *tmpNode->getRelCoor();337 Vector nodeRelCoord = tmpNode->getRelCoor(); 336 338 float minDist = 100000000; 337 339 int childNumber = 0; … … 396 398 this->textAnimation->setInfinity(ANIM_INF_CONSTANT); 397 399 } 400 401 402 /** 403 \brief loads a trackElement from a TiXmlElement 404 \param root the TiXmlElement to load the Data from 405 406 */ 407 TrackManager::TrackManager( TiXmlElement* root) 408 { 409 410 } 411 412 398 413 399 414 /** -
orxonox/branches/heightMap/src/track_manager.h
r3847 r4122 153 153 static TrackManager* getInstance(void); 154 154 155 TrackManager(TiXmlElement* root); 156 155 157 // Methods to change the Path (initialisation) 156 158 void workOn(unsigned int trackID); -
orxonox/branches/heightMap/src/track_node.cc
r3607 r4122 41 41 42 42 43 TrackNode::TrackNode ( Vector*absCoordinate)43 TrackNode::TrackNode (const Vector& absCoordinate) 44 44 { 45 45 this->parent = NullParent::getInstance(); 46 46 this->trackManager = TrackManager::getInstance(); 47 47 this->setMode(PNODE_ALL); 48 this-> absCoordinate = absCoordinate;48 this->setAbsCoor(absCoordinate); 49 49 } 50 50 -
orxonox/branches/heightMap/src/track_node.h
r3836 r4122 22 22 public: 23 23 TrackNode (); 24 TrackNode ( Vector*absCoordinate);24 TrackNode (const Vector& absCoordinate); 25 25 26 26 virtual ~TrackNode (); -
orxonox/branches/heightMap/src/util/animation/animation.cc
r3876 r4122 34 34 35 35 // setting default values 36 this->keyFramesToPlay = -1; 36 37 this->localTime = 0.0; 37 this->bRunning = true;38 this->bRunning = false; 38 39 39 40 AnimationPlayer::getInstance()->addAnimation(this); … … 83 84 break; 84 85 case ANIM_INF_REPLAY: 85 this->replay(); 86 this->rewind(); 87 this->bRunning = true; 86 88 break; 87 89 case ANIM_INF_REWIND: … … 99 101 void Animation::play() 100 102 { 103 this->keyFramesToPlay = -1; 104 this->bRunning = true; 105 } 106 107 /** 108 \brief plays the Next n keyframes 109 \param n the Count of keyFrames to play. 110 */ 111 void Animation::playNextKeyframes(int n) 112 { 113 this->keyFramesToPlay = n-1; 101 114 this->bRunning = true; 102 115 } … … 107 120 void Animation::stop() 108 121 { 122 this->keyFramesToPlay = -1; 109 123 this->rewind(); 110 124 this->bRunning = true; … … 127 141 { 128 142 this->rewind(); 129 this-> bRunning = true;143 this->play(); 130 144 } -
orxonox/branches/heightMap/src/util/animation/animation.h
r3876 r4122 25 25 ANIM_NEG_EXP: fast, slow 26 26 ANIM_RANDOM: eratic 27 27 28 ANIM_NULL: !!DO NOT USE THIS!! only for internal handling 29 28 30 deprecated QUADRATIC 29 31 */ … … 35 37 ANIM_NEG_EXP, 36 38 ANIM_QUADRATIC, 37 ANIM_RANDOM}; 39 ANIM_RANDOM, 40 ANIM_NULL}; 41 #define ANIM_DEFAULT_FUNCTION ANIM_LINEAR //!< A default function to choose from the above set 38 42 39 43 //! An enumerator describing what the animation should do after the last keyframe. … … 69 73 70 74 void play(); // equals resume(); 75 void playNextKeyframes(int n = 1); 71 76 void stop(); 72 77 void pause(); … … 95 100 BaseObject* baseObject; //!< The same as object in the derived classes, but with reference to BaseObject 96 101 unsigned int keyFrameCount; //!< The Count of KeyFrames. 102 int keyFramesToPlay; //!< How many more Keyframes to play. if negative it will be ignored if 0 stop. 97 103 bool bHandled; //!< If this Animation is handled by the AnimationPlayer. 98 104 bool bRunning; //!< If the animation is running -
orxonox/branches/heightMap/src/util/animation/animation3d.cc
r3876 r4122 15 15 2005-04-17: Benjamin Grauer 16 16 Rewritte all functions, so it will fit into the Animation-class 17 2005-04-25: Patrick Boenzli 18 Extended the framework to support quatSlerp rotations. Each frame now supports diff mov/rot types. Implemented mov/rot functions 17 19 */ 18 20 … … 42 44 this->nextKeyFrame = tmpKeyFrame; 43 45 44 this->animFunc = &Animation3D::linear; 46 this->animFuncMov = &Animation3D::mLinear; 47 this->animFuncRot = &Animation3D::rLinear; 48 45 49 } 46 50 … … 72 76 this->nextKeyFrame = keyFrameList->nextElement(keyFrameList->firstElement()); 73 77 this->localTime = 0.0; 74 this->setAnimFunc(this->currentKeyFrame->animFunc); 78 this->setAnimFuncMov(this->currentKeyFrame->animFuncMov); 79 this->setAnimFuncRot(this->currentKeyFrame->animFuncRot); 75 80 } 76 81 … … 80 85 \param direction The direction of the new Keyframe. 81 86 \param duration The duration from the new KeyFrame to the next one 82 \param animFunc The function to animate between this keyFrame and the next one 83 */ 84 void Animation3D::addKeyFrame(Vector position, Quaternion direction, float duration, ANIM_FUNCTION animFunc) 87 \param animFuncMov The function to animate position between this keyFrame and the next one 88 \param animFuncMov The function to animate rotation between this keyFrame and the next one 89 */ 90 void Animation3D::addKeyFrame(Vector position, Quaternion direction, float duration, ANIM_FUNCTION animFuncMov, ANIM_FUNCTION animFuncRot) 85 91 { 86 92 // some small check 87 93 if (duration <= 0.0) 88 94 duration = 1.0; 95 // if the Rotation-Animation-function is set ANIM_NULL, animFuncRot will match animFuncRot 96 if (animFuncMov == ANIM_NULL) 97 animFuncMov = ANIM_DEFAULT_FUNCTION; 98 if (animFuncRot == ANIM_NULL) 99 animFuncRot = animFuncMov; 89 100 90 101 KeyFrame3D* tmpKeyFrame; … … 94 105 { 95 106 tmpKeyFrame = this->keyFrameList->firstElement(); 96 this->setAnimFunc(animFunc); 107 //this->setAnimFuncMov(animFuncMov); 108 //this->setAnimFuncRot(animFuncRot); 97 109 } 98 110 else … … 106 118 107 119 tmpKeyFrame->position = position; 120 //tmpKeyFrame->lastPosition = position; 108 121 tmpKeyFrame->direction = direction; 109 122 tmpKeyFrame->duration = duration; 110 tmpKeyFrame->animFunc = animFunc; 123 tmpKeyFrame->animFuncMov = animFuncMov; 124 tmpKeyFrame->animFuncRot = animFuncRot; 111 125 this->keyFrameCount++; 112 126 } 127 128 113 129 114 130 /** … … 123 139 if (localTime >= this->currentKeyFrame->duration) 124 140 { 125 // switching to the next Key-Frame 126 this->localTime -= this->currentKeyFrame->duration; 127 this->currentKeyFrame = this->nextKeyFrame; 128 // checking, if we should still Play the animation 129 if (this->currentKeyFrame == this->keyFrameList->lastElement()) 130 this->handleInfinity(); 131 this->nextKeyFrame = this->keyFrameList->nextElement(this->currentKeyFrame); 132 this->setAnimFunc(this->currentKeyFrame->animFunc); 133 134 if( this->currentKeyFrame->animFunc == ANIM_NEG_EXP) 141 if (likely(this->keyFramesToPlay != 0)) 135 142 { 136 this->tmpVect = this->nextKeyFrame->position - this->currentKeyFrame->position; 137 this->deltaT = 1/this->currentKeyFrame->duration * logf(1.0 + 600.0/this->tmpVect.len()); 143 if (unlikely(this->keyFramesToPlay > 0)) 144 --this->keyFramesToPlay; 145 // switching to the next Key-Frame 146 this->localTime -= this->currentKeyFrame->duration; 147 this->currentKeyFrame = this->nextKeyFrame; 148 // checking, if we should still Play the animation 149 if (this->currentKeyFrame == this->keyFrameList->lastElement()) 150 this->handleInfinity(); 151 this->nextKeyFrame = this->keyFrameList->nextElement(this->currentKeyFrame); 152 this->setAnimFuncMov(this->currentKeyFrame->animFuncMov); 153 this->setAnimFuncRot(this->currentKeyFrame->animFuncRot); 138 154 } 139 } 140 155 else 156 this->pause(); 157 } 141 158 /* now animate it */ 142 (this->*animFunc)(this->localTime); 143 /* 144 switch( this->movMode) 145 { 146 case LINEAR: 147 *this->tmpVect = *this->currentFrame->position - *this->lastFrame->position; 148 *this->tmpVect = *this->tmpVect * this->localTime / this->currentFrame->time; 149 this->currentFrame->object->setRelCoor(*this->lastFrame->position + *this->tmpVect); 150 *this->lastPosition = *this->tmpVect; 151 break; 152 case EXP: 153 154 break; 155 case NEG_EXP: 156 *this->tmpVect = *this->currentFrame->position - *this->lastFrame->position; 157 *this->tmpVect = *this->tmpVect * (1 - expf(- this->localTime * this->deltaT)); 158 this->currentFrame->object->setRelCoor(*this->lastFrame->position + *this->tmpVect); 159 *this->lastPosition = *this->tmpVect; 160 break; 161 case SIN: 162 *this->tmpVect = *this->currentFrame->position - *this->lastFrame->position; 163 *this->tmpVect = *this->tmpVect * 0.5*(1 - cos(M_PI * this->localTime / this->currentFrame->time)); 164 this->currentFrame->object->setRelCoor(*this->lastFrame->position + *this->tmpVect); 165 *this->lastPosition = *this->tmpVect; 166 break; 167 case COS: 168 169 break; 170 case QUADRATIC: 171 *this->tmpVect = *this->currentFrame->position - *this->lastFrame->position; 172 *this->tmpVect = *this->tmpVect * 1/3 * ldexpf(this->localTime, 3); 173 break; 174 default: 175 break; 176 } 177 */ 178 } 179 } 180 181 182 /** 183 \brief Sets The kind of Animation between this keyframe and the next one 159 (this->*animFuncMov)(this->localTime); 160 (this->*animFuncRot)(this->localTime); 161 } 162 } 163 164 165 /*==Movement Section==========================================================*/ 166 167 /** 168 \brief Sets The kind of movment Animation between this keyframe and the next one 184 169 \param animFunc The Type of Animation to set 185 170 */ 186 void Animation3D::setAnimFunc (ANIM_FUNCTION animFunc)187 { 188 switch (animFunc )171 void Animation3D::setAnimFuncMov(ANIM_FUNCTION animFuncMov) 172 { 173 switch (animFuncMov) 189 174 { 175 case ANIM_CONSTANT: 176 this->animFuncMov = &Animation3D::mConstant; 177 break; 178 case ANIM_LINEAR: 179 this->animFuncMov = &Animation3D::mLinear; 180 this->object->setRelCoor(this->currentKeyFrame->position); 181 this->currentKeyFrame->lastPosition = Vector(); 182 break; 183 case ANIM_SINE: 184 this->animFuncMov = &Animation3D::mSine; 185 this->object->setRelCoor(this->currentKeyFrame->position); 186 this->currentKeyFrame->lastPosition = Vector(); 187 break; 188 case ANIM_COSINE: 189 this->animFuncMov = &Animation3D::mCosine; 190 this->object->setRelCoor(this->currentKeyFrame->position); 191 this->currentKeyFrame->lastPosition = Vector(); 192 break; 193 case ANIM_EXP: 194 this->object->setRelCoor(this->currentKeyFrame->position); 195 this->animFuncMov = &Animation3D::mExp; 196 break; 197 case ANIM_NEG_EXP: 198 this->animFuncMov = &Animation3D::mNegExp; 199 this->object->setRelCoor(this->currentKeyFrame->position); 200 this->expFactorMov = -1.0 / this->currentKeyFrame->duration * logf(DELTA_X_3D); 201 this->currentKeyFrame->lastPosition = Vector(); 202 break; 203 case ANIM_QUADRATIC: 204 this->object->setRelCoor(this->currentKeyFrame->position); 205 this->animFuncMov = &Animation3D::mQuadratic; 206 break; 207 case ANIM_RANDOM: 208 this->object->setRelCoor(this->currentKeyFrame->position); 209 this->animFuncMov = &Animation3D::mRandom; 210 break; 190 211 default: 191 case ANIM_CONSTANT: 192 this->animFunc = &Animation3D::constant; 193 break; 194 case ANIM_LINEAR: 195 this->animFunc = &Animation3D::linear; 196 break; 197 case ANIM_SINE: 198 this->animFunc = &Animation3D::sine; 199 break; 200 case ANIM_COSINE: 201 this->animFunc = &Animation3D::cosine; 202 break; 203 case ANIM_EXP: 204 this->animFunc = &Animation3D::exp; 205 break; 206 case ANIM_NEG_EXP: 207 this->animFunc = &Animation3D::negExp; 208 break; 209 case ANIM_QUADRATIC: 210 this->animFunc = &Animation3D::quadratic; 211 break; 212 case ANIM_RANDOM: 213 this->animFunc = &Animation3D::random; 214 break; 215 } 216 } 212 break; 213 } 214 } 215 216 217 217 218 218 /** … … 220 220 \param timePassed The time passed since this Keyframe began 221 221 */ 222 void Animation3D:: constant(float timePassed) const223 { 224 this->object->setRelCoor(this->currentKeyFrame->position);222 void Animation3D::mConstant(float timePassed) const 223 { 224 //this->object->setRelCoor(this->currentKeyFrame->position); 225 225 226 226 /* … … 238 238 \todo implement also do this for direction 239 239 */ 240 void Animation3D:: linear(float timePassed) const241 { 242 this->object->setRelCoor(this->currentKeyFrame->position +243 (this->nextKeyFrame->position - this->currentKeyFrame->position) * 244 (timePassed/this->currentKeyFrame->duration));240 void Animation3D::mLinear(float timePassed) const 241 { 242 Vector v = (this->nextKeyFrame->position - this->currentKeyFrame->position) * (timePassed/this->currentKeyFrame->duration); 243 this->object->shiftCoor(v - this->currentKeyFrame->lastPosition); 244 this->currentKeyFrame->lastPosition = v; 245 245 } 246 246 … … 251 251 \todo implement 252 252 */ 253 void Animation3D::sine(float timePassed) const 254 { 255 this->linear(timePassed); 256 } 253 void Animation3D::mSine(float timePassed) const 254 { 255 Vector v; 256 if( timePassed < this->currentKeyFrame->duration/2.0) 257 v = (this->nextKeyFrame->position - this->currentKeyFrame->position) * sin( M_PI * timePassed /this->currentKeyFrame->duration) / 2.0; 258 else 259 v = (this->nextKeyFrame->position - this->currentKeyFrame->position) * (2.0 + sin( M_PI * (- timePassed /this->currentKeyFrame->duration)) )/ 2.0; 260 261 this->object->shiftCoor(v - this->currentKeyFrame->lastPosition); 262 this->currentKeyFrame->lastPosition = v; 263 } 264 257 265 258 266 /** … … 262 270 \todo implement 263 271 */ 264 void Animation3D::cosine(float timePassed) const 265 { 266 this->linear(timePassed); 267 } 272 void Animation3D::mCosine(float timePassed) const 273 { 274 Vector v; 275 v = (this->nextKeyFrame->position - this->currentKeyFrame->position) * (1.0 + cos( M_PI * timePassed / this->currentKeyFrame->duration))/2.0; 276 this->object->shiftCoor(v - this->currentKeyFrame->lastPosition); 277 this->currentKeyFrame->lastPosition = v; 278 279 280 /* 281 this->object->setRelCoor( this->nextKeyFrame->position - 282 (this->nextKeyFrame->position - this->currentKeyFrame->position) * 283 (1.0 + cos( M_PI * timePassed / this->currentKeyFrame->duration))/2.0); 284 */ 285 } 286 287 268 288 269 289 /** … … 271 291 \param timePassed The time passed since this Keyframe began 272 292 */ 273 void Animation3D::exp(float timePassed) const 274 { 275 this->linear(timePassed); 293 void Animation3D::mExp(float timePassed) const 294 { 295 PRINTF(0)("no exp animation3d defined\n"); 296 this->mLinear(timePassed); 276 297 } 277 298 … … 279 300 \brief a negative exponential interpolation between this keyframe and the next one 280 301 \param timePassed The time passed since this Keyframe began 281 282 \todo implement 283 */ 284 void Animation3D::negExp(float timePassed) const 285 { 286 this->linear(timePassed); 287 } 302 */ 303 void Animation3D::mNegExp(float timePassed) const 304 { 305 Vector v; 306 v = (this->nextKeyFrame->position - this->currentKeyFrame->position) * (1.0 - expf(- timePassed * expFactorMov)); 307 this->object->shiftCoor(v - this->currentKeyFrame->lastPosition); 308 this->currentKeyFrame->lastPosition = v; 309 310 /* 311 this->object->setRelCoor( this->currentKeyFrame->position + 312 (this->nextKeyFrame->position - this->currentKeyFrame->position) * 313 (1.0 - expf(- timePassed * expFactorMov)) ); 314 */ 315 } 316 288 317 289 318 /** … … 293 322 \todo implement 294 323 */ 295 void Animation3D::quadratic(float timePassed) const 296 { 297 this->linear(timePassed); 324 void Animation3D::mQuadratic(float timePassed) const 325 { 326 PRINTF(0)("no quadratic animation3d defined\n"); 327 this->mLinear(timePassed); 298 328 } 299 329 … … 302 332 \param timePassed The time passed since this Keyframe began 303 333 */ 304 void Animation3D::random(float timePassed) const 305 { 334 void Animation3D::mRandom(float timePassed) const 335 { 336 /* 306 337 this->object->setRelCoor(this->currentKeyFrame->position + 307 338 (this->nextKeyFrame->position - this->currentKeyFrame->position) * (float)rand()/(float)RAND_MAX); 308 339 this->object->setRelDir(this->currentKeyFrame->direction + 309 340 (this->nextKeyFrame->direction - this->currentKeyFrame->direction)* (float)rand()/(float)RAND_MAX); 310 } 341 */ 342 } 343 344 345 /*==Rotation Section==========================================================*/ 346 347 348 /** 349 \brief Sets The kind of rotation Animation between this keyframe and the next one 350 \param animFunc The Type of Animation to set 351 */ 352 void Animation3D::setAnimFuncRot(ANIM_FUNCTION animFuncRot) 353 { 354 switch (animFuncRot) 355 { 356 default: 357 case ANIM_CONSTANT: 358 this->animFuncRot = &Animation3D::rConstant; 359 break; 360 case ANIM_LINEAR: 361 this->animFuncRot = &Animation3D::rLinear; 362 break; 363 case ANIM_SINE: 364 this->animFuncRot = &Animation3D::rSine; 365 break; 366 case ANIM_COSINE: 367 this->animFuncRot = &Animation3D::rCosine; 368 break; 369 case ANIM_EXP: 370 this->animFuncRot = &Animation3D::rExp; 371 break; 372 case ANIM_NEG_EXP: 373 this->animFuncRot = &Animation3D::rNegExp; 374 this->expFactorRot = -1.0 / this->currentKeyFrame->duration * logf(DELTA_X_3D); 375 break; 376 case ANIM_QUADRATIC: 377 this->animFuncRot = &Animation3D::rQuadratic; 378 break; 379 case ANIM_RANDOM: 380 this->animFuncRot = &Animation3D::rRandom; 381 break; 382 383 } 384 } 385 386 387 /** 388 \brief stays at the value of the currentKeyFrame 389 \param timePassed The time passed since this Keyframe began 390 */ 391 void Animation3D::rConstant(float timePassed) const 392 { 393 this->object->setRelDir(this->currentKeyFrame->direction); 394 } 395 396 /** 397 \brief linear interpolation between this keyframe and the next one 398 \param timePassed The time passed since this Keyframe began 399 400 \todo implement also do this for direction 401 */ 402 void Animation3D::rLinear(float timePassed) const 403 { 404 this->object->setRelDir(quatSlerp( this->nextKeyFrame->direction, 405 this->currentKeyFrame->direction, 406 timePassed/this->currentKeyFrame->duration) ); 407 } 408 409 /** 410 \brief a Sinusodial Interpolation between this keyframe and the next one 411 \param timePassed The time passed since this Keyframe began 412 413 \todo implement 414 */ 415 void Animation3D::rSine(float timePassed) const 416 { 417 float scale; 418 if( timePassed < this->currentKeyFrame->duration / 2.0) 419 scale = sin( M_PI * timePassed / this->currentKeyFrame->duration); 420 else 421 scale = 1.0 - sin( M_PI * timePassed / this->currentKeyFrame->duration); 422 423 this->object->setRelDir(quatSlerp( this->nextKeyFrame->direction, 424 this->currentKeyFrame->direction, 425 scale) ); 426 } 427 428 429 /** 430 \brief a cosine interpolation between this keyframe and the next one 431 \param timePassed The time passed since this Keyframe began 432 433 \todo implement 434 */ 435 void Animation3D::rCosine(float timePassed) const 436 { 437 float scale = cos(M_PI * timePassed / this->currentKeyFrame->duration); 438 this->object->setRelDir(quatSlerp( this->nextKeyFrame->direction, 439 this->currentKeyFrame->direction, 440 scale) ); 441 } 442 443 444 445 /** 446 \brief an exponential interpolation between this keyframe and the next one 447 \param timePassed The time passed since this Keyframe began 448 */ 449 void Animation3D::rExp(float timePassed) const 450 { 451 PRINTF(0)("exp rotation function not implemented\n"); 452 } 453 454 /** 455 \brief a negative exponential interpolation between this keyframe and the next one 456 \param timePassed The time passed since this Keyframe began 457 */ 458 void Animation3D::rNegExp(float timePassed) const 459 { 460 float scale = (1.0 - expf(- timePassed * expFactorRot)); 461 this->object->setRelDir(quatSlerp( this->nextKeyFrame->direction, 462 this->currentKeyFrame->direction, 463 scale) ); 464 } 465 466 467 /** 468 \brief a quadratic interpolation between this keyframe and the next one 469 \param timePassed The time passed since this Keyframe began 470 471 \todo implement 472 */ 473 void Animation3D::rQuadratic(float timePassed) const 474 { 475 PRINTF(0)("quadratic rotation alg not implemented\n"); 476 } 477 478 /** 479 \brief some random animation (fluctuating) 480 \param timePassed The time passed since this Keyframe began 481 */ 482 void Animation3D::rRandom(float timePassed) const 483 { 484 PRINTF(0)("random rotation alg not implemented\n"); 485 } -
orxonox/branches/heightMap/src/util/animation/animation3d.h
r3868 r4122 9 9 class PNode; 10 10 11 #define DELTA_X_3D 0.05 //!< the percentag of the distance that doesnt have to be done by neg_exp (asymptotical) ~ maschinendelta 12 11 13 //! KeyFrame3D Struct 12 14 /** … … 16 18 float duration; //!< The duration of this KeyFrame 17 19 Vector position; //!< The position of this KeyFrame 20 Vector lastPosition; 18 21 Quaternion direction; //!< The direction of this KeyFrame 19 ANIM_FUNCTION animFunc; //!< with whitch function to iterate to the next KeyFrame3D 22 ANIM_FUNCTION animFuncMov; //!< with whitch function to iterate movement to the next KeyFrame3D 23 ANIM_FUNCTION animFuncRot; //!< with whitch function to iterate rotation to the next KeyFrame3D 20 24 }; 21 25 … … 32 36 virtual void rewind(void); 33 37 34 void addKeyFrame(Vector position, Quaternion direction, float time, ANIM_FUNCTION animFunc = ANIM_LINEAR);38 void addKeyFrame(Vector position, Quaternion direction, float time, ANIM_FUNCTION animFuncMov = ANIM_DEFAULT_FUNCTION, ANIM_FUNCTION animFuncRot = ANIM_NULL); 35 39 // void addKeyFrame(KeyFrame3D* frame); 36 40 37 41 virtual void tick(float dt); 38 42 39 43 private: 40 44 // animation functions 41 void setAnimFunc(ANIM_FUNCTION animFunc); 42 void constant(float timePassed) const; 43 void linear(float timePassed) const; 44 void sine(float timePassed) const; 45 void cosine(float timePassed) const; 46 void exp(float timePassed) const; 47 void negExp(float timePassed) const; 48 void quadratic(float timePassed) const; 49 void random(float timePassed) const; 45 void setAnimFuncMov(ANIM_FUNCTION animFunc); 46 void setAnimFuncRot(ANIM_FUNCTION animFunc); 47 void mConstant(float timePassed) const; 48 void mLinear(float timePassed) const; 49 void mSine(float timePassed) const; 50 void mCosine(float timePassed) const; 51 void mExp(float timePassed) const; 52 void mNegExp(float timePassed) const; 53 void mQuadratic(float timePassed) const; 54 void mRandom(float timePassed) const; 55 void rConstant(float timePassed) const; 56 void rLinear(float timePassed) const; 57 void rSine(float timePassed) const; 58 void rCosine(float timePassed) const; 59 void rExp(float timePassed) const; 60 void rNegExp(float timePassed) const; 61 void rQuadratic(float timePassed) const; 62 void rRandom(float timePassed) const; 50 63 // ANIM_FUNCTION animFunc; 51 void (Animation3D::*animFunc)(float) const; //!< A Function for the AnimationType 64 void (Animation3D::*animFuncMov)(float) const; //!< A Function for the AnimationType 65 void (Animation3D::*animFuncRot)(float) const; //!< A Function for the AnimationType 52 66 53 67 KeyFrame3D* currentKeyFrame; //!< The current KeyFrame … … 60 74 Vector tmpVect; //!< what for?? 61 75 float deltaT; //!< ?? 76 float expFactorMov; 77 float expFactorRot; 62 78 }; -
orxonox/branches/heightMap/src/util/animation/t_animation.h
r3876 r4122 43 43 void setFuncToAnim(T* object, void (T::*funcToAnim)(float)); 44 44 45 void addKeyFrame(float value, float duration, ANIM_FUNCTION animFunc = ANIM_ LINEAR);45 void addKeyFrame(float value, float duration, ANIM_FUNCTION animFunc = ANIM_DEFAULT_FUNCTION); 46 46 47 47 virtual void rewind(); … … 154 154 if (duration <= 0.0) 155 155 duration = 1.0; 156 if (animFunc == ANIM_NULL) 157 animFunc = ANIM_DEFAULT_FUNCTION; 156 158 157 159 KeyFrameF* tmpKeyFrame; … … 190 192 if (localTime >= this->currentKeyFrame->duration) 191 193 { 192 // switching to the next Key-Frame 193 this->localTime -= this->currentKeyFrame->duration; 194 195 this->currentKeyFrame = this->nextKeyFrame; 196 // checking, if we should still Play the animation 197 if (this->currentKeyFrame == this->keyFrameList->lastElement()) 198 this->handleInfinity(); 199 this->nextKeyFrame = this->keyFrameList->nextElement(this->currentKeyFrame); 200 201 printf("%p from:%f to:%f\n", this->currentKeyFrame,this->currentKeyFrame->value, this->nextKeyFrame->value); 202 this->setAnimFunc(this->currentKeyFrame->animFunc); 194 if (likely(this->keyFramesToPlay != 0)) 195 { 196 if (unlikely(this->keyFramesToPlay > 0)) 197 --this->keyFramesToPlay; 198 // switching to the next Key-Frame 199 this->localTime -= this->currentKeyFrame->duration; 200 201 this->currentKeyFrame = this->nextKeyFrame; 202 // checking, if we should still Play the animation 203 if (this->currentKeyFrame == this->keyFrameList->lastElement()) 204 this->handleInfinity(); 205 this->nextKeyFrame = this->keyFrameList->nextElement(this->currentKeyFrame); 206 207 printf("%p from:%f to:%f\n", this->currentKeyFrame,this->currentKeyFrame->value, this->nextKeyFrame->value); 208 this->setAnimFunc(this->currentKeyFrame->animFunc); 209 } 210 else 211 this->pause(); 203 212 } 204 213 … … 235 244 { 236 245 this->animFunc = &tAnimation<T>::negExp; 237 float d = fabs(this->currentKeyFrame->value - this->nextKeyFrame->value);238 246 expFactor = - 1.0 / this->currentKeyFrame->duration * logf(DELTA_X); 239 247 break; -
orxonox/branches/heightMap/src/util/resource_manager.cc
r3883 r4122 92 92 this->dataDir = new char[strlen(dataDir)+1]; 93 93 strcpy(this->dataDir, dataDir); 94 return true; 94 95 } 95 96 else 96 97 { 97 98 PRINTF(1)("%s is not a Directory, and can not be the Data Directory, leaving as %s \n", dataDir, this->dataDir); 98 } 99 return false; 100 } 101 } 102 103 /** 104 \brief checks for the DataDirectory, by looking if 105 \param fileInside is inisde?? 106 */ 107 bool ResourceManager::checkDataDir(const char* fileInside) 108 { 109 bool retVal; 110 if (!isDir(this->dataDir)) 111 { 112 PRINTF(1)("%s is not a directory\n", this->dataDir); 113 return false; 114 } 115 116 char* testFile = new char[strlen(this->dataDir)+strlen(fileInside)+1]; 117 sprintf(testFile, "%s%s", this->dataDir, fileInside); 118 retVal = isFile(testFile); 119 delete testFile; 120 return retVal; 99 121 } 100 122 … … 180 202 // searching if the resource was loaded before. 181 203 Resource* tmpResource = this->locateResourceByInfo(fileName, type, param1, param2,param3); 182 if (tmpResource) // if the resource was notloaded before.204 if (tmpResource) // if the resource was loaded before. 183 205 { 184 206 PRINTF(4)("not loading cached resource %s\n", tmpResource->name); … … 199 221 200 222 // creating the full name. (directoryName + FileName) 201 char* fullName = new char[strlen(dataDir)+strlen(fileName)+1]; 202 sprintf(fullName, "%s%s", this->dataDir, fileName); 203 223 char* fullName = new char[strlen(this->getDataDir())+strlen(fileName)+1]; 224 sprintf(fullName, "%s%s", this->getDataDir(), fileName); 204 225 // Checking for the type of resource \see ResourceType 205 226 switch(type) … … 211 232 tmpResource->modelSize = 1.0; 212 233 213 if( isFile(fullName))234 if(ResourceManager::isFile(fullName)) 214 235 tmpResource->pointer = new OBJModel(fullName, tmpResource->modelSize); 215 236 else … … 508 529 } 509 530 510 stat(tmpDirName, &status); 511 if (status.st_mode & (S_IFDIR 531 if(!stat(tmpDirName, &status)) 532 { 533 if (status.st_mode & (S_IFDIR 512 534 #ifndef __WIN32__ 513 | S_IFLNK535 | S_IFLNK 514 536 #endif 515 )) 516 { 517 delete tmpDirName; 518 return true; 537 )) 538 { 539 delete tmpDirName; 540 return true; 541 } 542 else 543 { 544 delete tmpDirName; 545 return false; 546 } 519 547 } 520 548 else 521 { 522 delete tmpDirName; 523 return false; 524 } 549 return false; 525 550 } 526 551 … … 532 557 bool ResourceManager::isFile(const char* fileName) 533 558 { 559 char* tmpFileName = ResourceManager::homeDirCheck(fileName); 560 // actually checks the File 534 561 struct stat status; 535 stat(fileName, &status); 536 if (status.st_mode & (S_IFREG 562 if (!stat(tmpFileName, &status)) 563 { 564 if (status.st_mode & (S_IFREG 537 565 #ifndef __WIN32__ 538 | S_IFLNK566 | S_IFLNK 539 567 #endif 540 )) 541 return true; 568 )) 569 { 570 delete tmpFileName; 571 return true; 572 } 573 else 574 { 575 delete tmpFileName; 576 return false; 577 } 578 } 579 else 580 { 581 delete tmpFileName; 582 return false; 583 } 584 } 585 586 bool ResourceManager::touchFile(const char* fileName) 587 { 588 char* tmpName = ResourceManager::homeDirCheck(fileName); 589 590 FILE* stream; 591 if( (stream = fopen (tmpName, "w")) == NULL) 592 { 593 PRINTF(1)("could not open %s fro writing\n", fileName); 594 return false; 595 } 596 fclose(stream); 597 598 delete tmpName; 599 } 600 601 bool ResourceManager::deleteFile(const char* fileName) 602 { 603 char* tmpName = ResourceManager::homeDirCheck(fileName); 604 unlink(tmpName); 605 delete tmpName; 606 } 607 608 char* ResourceManager::homeDirCheck(const char* name) 609 { 610 char* retName; 611 if (!strncmp(name, "~/", 2)) 612 { 613 char tmpFileName[500]; 614 #ifdef __WIN32__ 615 strcpy(tmpFileName, getenv("USERPROFILE")); 616 #else 617 strcpy(tmpFileName, getenv("HOME")); 618 #endif 619 retName = new char[strlen(tmpFileName)+strlen(name)]; 620 sprintf(retName, "%s%s", tmpFileName, name+1); 621 } 542 622 else 543 return false; 544 } 623 { 624 retName = new char[strlen(name)+1]; 625 strcpy(retName, name); 626 } 627 return retName; 628 } 629 630 545 631 546 632 /** -
orxonox/branches/heightMap/src/util/resource_manager.h
r3911 r4122 65 65 66 66 bool setDataDir(const char* dataDir); 67 /** \returns the Name of the data directory */ 68 inline const char* getDataDir(void) {return this->dataDir;} 69 bool checkDataDir(const char* fileInside); 67 70 bool addImageDir(char* imageDir); 68 71 void* load(const char* fileName, ResourcePriority prio = RP_NO, … … 73 76 bool unload(Resource* resource, ResourcePriority = RP_NO); 74 77 bool unloadAllByPriority(ResourcePriority prio); 78 75 79 void debug(void); 80 81 // utility functions of this class 82 static bool isDir(const char* directory); 83 static bool isFile(const char* fileName); 84 static bool touchFile(const char* fileName); 85 static bool deleteFile(const char* fileName); 86 static char* homeDirCheck(const char* name); 76 87 77 88 private: … … 87 98 Resource* locateResourceByPointer(const void* pointer); 88 99 89 bool isDir(const char* directory);90 bool isFile(const char* directory);91 92 100 }; 93 101 -
orxonox/branches/heightMap/src/world_entities/camera.cc
r3869 r4122 139 139 if (tmpFovy > .001) 140 140 this->fovy += (this->toFovy - this->fovy) * dt; 141 Vector tmpPos = (this->toRelCoor - *this->getRelCoor()) * dt;141 Vector tmpPos = (this->toRelCoor - this->getRelCoor()) * dt; 142 142 if (tmpPos.len() >= .001) 143 143 { 144 tmpPos = tmpPos + *this->getRelCoor();144 tmpPos = tmpPos + this->getRelCoor(); 145 145 this->setRelCoor(tmpPos); 146 146 } -
orxonox/branches/heightMap/src/world_entities/environment.cc
r3739 r4122 30 30 { 31 31 this->model = (Model*) ResourceManager::getInstance()->load("cube", RP_LEVEL); 32 // this->model = new OBJModel("../data/models/fighter.obj");33 32 } 34 33 … … 50 49 void Environment::draw () 51 50 { 51 //this->getRelCoor().debug(); 52 52 53 glMatrixMode(GL_MODELVIEW); 53 54 glPushMatrix(); -
orxonox/branches/heightMap/src/world_entities/player.cc
r3881 r4122 1 2 3 1 /* 4 2 orxonox - the future of 3D-vertical-scrollers … … 31 29 32 30 using namespace std; 31 32 CREATE_FACTORY(Player); 33 33 34 34 /** … … 52 52 //weapons: 53 53 this->weaponMan = new WeaponManager(); 54 Weapon* wpRight = new TestGun(this, Vector(-2.6, 0.1, 3.0), Quaternion(), 0);54 Weapon* wpRight = new TestGun(this, Vector(-2.6, 0.1, 3.0), Quaternion(), 0); 55 55 Weapon* wpLeft = new TestGun(this, Vector(-2.6, 0.1, -3.0), Quaternion(), 1); 56 56 57 this->weaponMan->addWeapon(wpRight, W_CONFIG0 );58 this->weaponMan->addWeapon(wpLeft, W_CONFIG1 );57 this->weaponMan->addWeapon(wpRight, W_CONFIG0, W_SLOT0); 58 this->weaponMan->addWeapon(wpLeft, W_CONFIG1, W_SLOT1); 59 59 this->weaponMan->addWeapon(wpRight, W_CONFIG2); 60 60 this->weaponMan->addWeapon(wpLeft, W_CONFIG2); … … 74 74 } 75 75 76 /** 77 \brief creates a new Player from Xml Data 78 \param root the xml element containing player data 79 80 \todo add more parameters to load 81 */ 82 Player::Player(TiXmlElement* root) : WorldEntity(root) 83 { 84 this->weapons = new tList<Weapon>(); 85 this->activeWeapon = NULL; 86 /* 87 this is the debug player - actualy we would have to make a new 88 class derivated from Player for each player. for now, we just use 89 the player.cc for debug also 90 */ 91 travelSpeed = 15.0; 92 velocity = new Vector(); 93 bUp = bDown = bLeft = bRight = bAscend = bDescend = false; 94 bFire = false; 95 this->bWeaponChange = false; 96 acceleration = 10.0; 97 //weapons: 98 this->weaponMan = new WeaponManager(); 99 Weapon* wpRight = new TestGun(this, Vector(-2.6, 0.1, 3.0), Quaternion(), 0); 100 Weapon* wpLeft = new TestGun(this, Vector(-2.6, 0.1, -3.0), Quaternion(), 1); 101 102 this->weaponMan->addWeapon(wpRight, W_CONFIG0, W_SLOT0); 103 this->weaponMan->addWeapon(wpLeft, W_CONFIG1, W_SLOT1); 104 this->weaponMan->addWeapon(wpRight, W_CONFIG2); 105 this->weaponMan->addWeapon(wpLeft, W_CONFIG2); 106 } 76 107 77 108 /** … … 188 219 //orthDirection = orthDirection.cross (direction); 189 220 190 if( this->bUp && this->getRelCoor() ->x < 20)221 if( this->bUp && this->getRelCoor().x < 20) 191 222 accel = accel+(direction*acceleration); 192 if( this->bDown && this->getRelCoor() ->x > -5)223 if( this->bDown && this->getRelCoor().x > -5) 193 224 accel = accel-(direction*acceleration); 194 if( this->bLeft && TrackManager::getInstance()->getWidth() > -this->getRelCoor() ->z*2)225 if( this->bLeft && TrackManager::getInstance()->getWidth() > -this->getRelCoor().z*2) 195 226 accel = accel - (orthDirection*acceleration); 196 if( this->bRight && TrackManager::getInstance()->getWidth() > this->getRelCoor() ->z*2)227 if( this->bRight && TrackManager::getInstance()->getWidth() > this->getRelCoor().z*2) 197 228 accel = accel + (orthDirection*acceleration); 198 229 if( this->bAscend ) … … 230 261 { 231 262 PRINTF(3)("recieved command [%s]\n", cmd->cmd); 232 if( !strcmp( cmd->cmd, "up")) this->bUp = !cmd->bUp;233 if( !strcmp( cmd->cmd, "down")) this->bDown = !cmd->bUp;234 if( !strcmp( cmd->cmd, "left")) this->bLeft = !cmd->bUp;235 if( !strcmp( cmd->cmd, "right")) this->bRight = !cmd->bUp;236 if( !strcmp( cmd->cmd, "fire")) this->bFire = !cmd->bUp;237 if( !strcmp( cmd->cmd, "mode")) if(cmd->bUp) this->bWeaponChange = !this->bWeaponChange;238 } 263 if( !strcmp( cmd->cmd, CONFIG_NAME_PLAYER_UP)) this->bUp = !cmd->bUp; 264 if( !strcmp( cmd->cmd, CONFIG_NAME_PLAYER_DOWN)) this->bDown = !cmd->bUp; 265 if( !strcmp( cmd->cmd, CONFIG_NAME_PLAYER_LEFT)) this->bLeft = !cmd->bUp; 266 if( !strcmp( cmd->cmd, CONFIG_NAME_PLAYER_RIGHT)) this->bRight = !cmd->bUp; 267 if( !strcmp( cmd->cmd, CONFIG_NAME_PLAYER_FIRE)) this->bFire = !cmd->bUp; 268 if( !strcmp( cmd->cmd, CONFIG_NAME_PLAYER_NEXT_WEAPON)) if(cmd->bUp) this->bWeaponChange = !this->bWeaponChange; 269 } -
orxonox/branches/heightMap/src/world_entities/player.h
r3873 r4122 22 22 public: 23 23 Player(); 24 Player(TiXmlElement* root); 24 25 virtual ~Player(); 25 26 -
orxonox/branches/heightMap/src/world_entities/skybox.cc
r3913 r4122 28 28 29 29 #include "skybox.h" 30 30 31 #include "stdincl.h" 32 #include "factory.h" 31 33 32 34 #include "material.h" … … 36 38 //#include "world_entity.h" 37 39 40 CREATE_FACTORY(SkyBox); 38 41 39 42 using namespace std; … … 44 47 */ 45 48 SkyBox::SkyBox(char* fileName) 49 { 50 this->preInit(); 51 this->postInit(); 52 } 53 54 SkyBox::SkyBox(TiXmlElement* root) : WorldEntity(root) 55 { 56 this->preInit(); 57 58 const char* string; 59 60 // Model Loading 61 string = grabParameter( root, "materialset"); 62 if( string != NULL) 63 this->setTexture(string, "jpg"); 64 else 65 { 66 PRINTF(0)("SkyBox is missing a proper 'MaterialSet'\n"); 67 } 68 if( this->model == NULL) 69 { 70 PRINTF(0)("SkyBox model '%s' could not be loaded\n", string); 71 } 72 this->postInit(); 73 } 74 75 void SkyBox::preInit(void) 46 76 { 47 77 this->setClassName("SkyBox"); … … 56 86 } 57 87 this->setMode(PNODE_MOVEMENT); 58 88 } 89 90 void SkyBox::postInit(void) 91 { 59 92 this->setSize(1900.0); 93 this->rebuild(); 60 94 } 61 95 … … 67 101 { 68 102 PRINTF(5)("Deleting the SkyBox\n"); 69 70 103 for (int i = 0; i < 6; i++) 71 104 delete this->material[i]; … … 84 117 void SkyBox::setTexture(const char* name, const char* extension) 85 118 { 86 char* top = new char[strlen(name)+strlen(extension)+ 6];87 char* bottom = new char[strlen(name)+strlen(extension)+ 9];88 char* left = new char[strlen(name)+strlen(extension)+ 7];89 char* right = new char[strlen(name)+strlen(extension)+ 8];90 char* front = new char[strlen(name)+strlen(extension)+ 8];91 char* back = new char[strlen(name)+strlen(extension)+ 7];119 char* top = new char[strlen(name)+strlen(extension)+ 10]; 120 char* bottom = new char[strlen(name)+strlen(extension)+ 10]; 121 char* left = new char[strlen(name)+strlen(extension)+ 10]; 122 char* right = new char[strlen(name)+strlen(extension)+ 10]; 123 char* front = new char[strlen(name)+strlen(extension)+ 10]; 124 char* back = new char[strlen(name)+strlen(extension)+ 10]; 92 125 93 126 sprintf(top, "%s_top.%s", name, extension); … … 100 133 this->setTextures(top, bottom, left, right, front, back); 101 134 135 // deleted alocated memory of this function 102 136 delete []top; 103 137 delete []bottom; … … 125 159 this->material[4]->setDiffuseMap(front); 126 160 this->material[5]->setDiffuseMap(back); 127 128 this->rebuild();129 161 } 130 162 … … 135 167 { 136 168 this->size = size; 137 138 this->rebuild();139 169 } 140 170 … … 188 218 189 219 model->setMaterial(material[0]); 190 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 3,2,4, 4,3,4, 6,4,4, 5,1,4); // top220 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 2,1,3, 3,2,3, 5,3,3, 4,0,3); // top 191 221 model->setMaterial(material[1]); 192 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 7,4,2, 8,1,2, 2,2,2, 1,3,2); // bottom222 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 6,3,1, 7,0,1, 1,1,1, 0,2,1); // bottom 193 223 model->setMaterial(material[2]); 194 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 1,1,3, 2,2,3, 4,3,3, 3,4,3); // left224 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 0,0,2, 1,1,2, 3,2,2, 2,3,2); // left 195 225 model->setMaterial(material[3]); 196 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 5,3,1, 6,4,1, 8,1,1, 7,2,1); // right226 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 4,2,0, 5,3,0, 7,0,0, 6,1,0); // right 197 227 model->setMaterial(material[4]); 198 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 2,1,6, 8,2,6, 6,3,6, 4,4,6); // front228 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 1,0,5, 7,1,5, 5,2,5, 3,3,6); // front 199 229 model->setMaterial(material[5]); 200 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 7,1,5, 1,2,5, 3,3,5, 5,4,5); // back230 model->addFace (4, VERTEX_TEXCOORD_NORMAL, 6,0,4, 0,1,4, 2,2,4, 4,3,4); // back 201 231 202 232 model->finalize(); -
orxonox/branches/heightMap/src/world_entities/skybox.h
r3807 r4122 22 22 public: 23 23 SkyBox(char* fileName = NULL); 24 SkyBox(TiXmlElement* root); 25 24 26 virtual ~SkyBox(); 27 28 void preInit(void); 29 void postInit(void); 30 25 31 26 32 void setSize(float size); -
orxonox/branches/heightMap/src/world_entities/skysphere.cc
r3763 r4122 44 44 { 45 45 if (fileName == NULL) 46 this->initialize(" ../data/pictures/sky-replace.jpg");46 this->initialize("pictures/sky-replace.jpg"); 47 47 else 48 48 this->initialize(fileName); -
orxonox/branches/heightMap/src/world_entities/test_gun.cc
r3888 r4122 49 49 this->objectComponent1 = new PNode(); 50 50 this->animation1 = new Animation3D(this->objectComponent1); 51 parent->addChild(this->objectComponent1, PNODE_ALL); 51 this->animation2 = new Animation3D(this); 52 this->animation3 = new Animation3D(this); 53 //parent->addChild(this->objectComponent1, PNODE_ALL); 54 this->addChild(this->objectComponent1, PNODE_ALL); 52 55 53 56 this->animation1->setInfinity(ANIM_INF_CONSTANT); 54 // ANIM_LINEAR was ANIM_NEG_EXP 57 this->animation2->setInfinity(ANIM_INF_CONSTANT); 58 this->animation3->setInfinity(ANIM_INF_CONSTANT); 55 59 if( this->leftRight == W_LEFT) 56 60 { 57 61 this->projectileOffset = Vector(1.0, 0.0, -0.35); 58 62 59 this->animation1->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0.1, ANIM_LINEAR); 60 this->animation1->addKeyFrame(Vector(-3.0, 0.1, 3.0), Quaternion(), 0.5, ANIM_LINEAR); 61 this->animation1->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0.1, ANIM_LINEAR); 63 this->animation1->addKeyFrame(Vector(0, 0, 0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 64 this->animation1->addKeyFrame(Vector(-0.4, 0, 0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 65 this->animation1->addKeyFrame(Vector(0, 0, 0), Quaternion(), 0.0, ANIM_LINEAR, ANIM_CONSTANT); 66 67 this->animation2->addKeyFrame(Vector(-2.6, 0.1, 2.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 68 this->animation2->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 69 70 this->animation3->addKeyFrame(Vector(-2.6, 0.1, 3.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 71 this->animation3->addKeyFrame(Vector(-2.6, 0.1, 2.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 62 72 } 63 73 else if( this->leftRight == W_RIGHT) … … 65 75 this->projectileOffset = Vector(1.0, 0.0, 0.5); 66 76 67 this->animation1->addKeyFrame(Vector(-2.6, 0.1, -2.5), Quaternion(), 0.1, ANIM_LINEAR); 68 this->animation1->addKeyFrame(Vector(-3.0, 0.1, -2.5), Quaternion(), 0.5, ANIM_LINEAR); 69 this->animation1->addKeyFrame(Vector(-2.6, 0.1, -2.5), Quaternion(), 0.1, ANIM_LINEAR); 77 this->objectComponent1->setRelCoor(Vector(0,0,0.35)); 78 this->animation1->addKeyFrame(Vector(0, 0, .5), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 79 this->animation1->addKeyFrame(Vector(-0.4, 0, .5), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 80 this->animation1->addKeyFrame(Vector(0, 0, .5), Quaternion(), 0.0, ANIM_LINEAR, ANIM_CONSTANT); 81 82 this->animation2->addKeyFrame(Vector(-2.6, 0.1, -2.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 83 this->animation2->addKeyFrame(Vector(-2.6, 0.1, -3.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 84 85 this->animation3->addKeyFrame(Vector(-2.6, 0.1, -3.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 86 this->animation3->addKeyFrame(Vector(-2.6, 0.1, -2.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 70 87 } 88 71 89 } 72 90 … … 89 107 */ 90 108 void TestGun::activate() 91 {} 109 { 110 this->animation2->replay(); 111 } 92 112 93 113 … … 100 120 */ 101 121 void TestGun::deactivate() 102 {} 122 { 123 this->animation3->replay(); 124 } 103 125 104 126 -
orxonox/branches/heightMap/src/world_entities/weapon.cc
r3888 r4122 110 110 void WeaponManager::nextWeaponConf() 111 111 { 112 PRINTF(4)("Changing weapon configuration: from %i\n", this->currConfID); 113 114 Weapon* w; 115 for(int i = 0; i < W_MAX_SLOTS; ++i) 116 { 117 w = this->configs[this->currConfID].slots[i]; 118 if( w != NULL) w->deactivate(); 119 } 120 int i; 112 PRINTF(4)("Changing weapon configuration: from %i to next\n", this->currConfID); 113 114 int i, lastConfID; 115 lastConfID = this->currConfID; 121 116 for(i = this->currConfID + 1; i < W_MAX_CONFIGS && !this->configs[i].bUsed; ++i); 122 117 if( i == W_MAX_CONFIGS) this->currConfID = W_CONFIG0; 123 118 else this->currConfID = i; 124 PRINTF(4)("\tto %i\n", this->currConfID); 125 126 for(int i = 0; i < W_MAX_SLOTS; ++i) 127 { 128 w = this->configs[this->currConfID].slots[i]; 129 if( w != NULL) w->activate(); 119 120 121 Weapon *w1, *w2; 122 for(int j = 0; j < W_MAX_SLOTS; ++j) 123 { 124 w1 = this->configs[lastConfID].slots[j]; 125 w2 = this->configs[this->currConfID].slots[j]; 126 127 if( w1 == w2) 128 { 129 printf("no need for change\n"); 130 } 131 else 132 { 133 if( w1 != NULL ) 134 { 135 w1->deactivate(); 136 printf("deactivating %i,%i\n", j,lastConfID); 137 } 138 if( w2 != NULL) 139 { 140 w2->activate(); 141 printf("activating %i,%i\n", j, this->currConfID); 142 } 143 } 130 144 } 131 145 } -
orxonox/branches/heightMap/src/world_entities/world_entity.cc
r3832 r4122 30 30 /** 31 31 \brief standard constructor 32 33 Every derived contructor HAS to call the previous one supplying the isFree parameter. This is necessary to distunguish 34 between free and bound entities. The difference between them is simply the fact that the movement of a free entity is 35 not bound to the track of a world. Use this to implement projectile or effect classes that do not have to travel along the track. 36 To specify an entity to be free or bound set the default parameter in the declaration of the constructor. 37 Theoretically you should never have to call the constructor of an Entity directly, for it is called by the spawn() function of the World 38 class. So if you want to create a new entity at any time, call World::spawn(). It will handle everything that is necessary. 39 */ 40 WorldEntity::WorldEntity (bool isFree) : bFree(isFree) 32 */ 33 WorldEntity::WorldEntity () 41 34 { 42 35 this->setClassName ("WorldEntity"); … … 47 40 48 41 /** 42 \brief Loads the WordEntity-specific Part of any derived Class 43 */ 44 WorldEntity::WorldEntity(TiXmlElement* root) 45 { 46 // Name Setup 47 char* temp; 48 const char* string; 49 string = grabParameter( root, "name"); 50 if( string == NULL) 51 { 52 PRINTF(2)("WorldEntity is missing a proper 'name'\n"); 53 string = "Unknown"; 54 temp = new char[strlen(string + 2)]; 55 strcpy( temp, string); 56 this->setName( temp); 57 } 58 else 59 { 60 temp = new char[strlen(string + 2)]; 61 strcpy( temp, string); 62 this->setName( temp); 63 } 64 // Model Loading 65 this->model = NULL; 66 string = grabParameter( root, "model"); 67 if( string != NULL) 68 this->model = (Model*)ResourceManager::getInstance()->load(string, OBJ, RP_CAMPAIGN); 69 else 70 { 71 PRINTF(2)("WorldEntity is missing a proper 'model'\n"); 72 this->model = NULL; 73 } 74 if( this->model == NULL) 75 { 76 PRINTF(2)("WorldEntity model '%s' could not be loaded\n", string); 77 } 78 this->bDraw = true; 79 } 80 81 /** 49 82 \brief standard destructor 50 83 */ … … 73 106 {} 74 107 75 76 /**77 \brief query whether the WorldEntity in question is free78 \return true if the WorldEntity is free or false if it isn't79 */80 bool WorldEntity::isFree ()81 {82 return bFree;83 }84 108 85 109 /** -
orxonox/branches/heightMap/src/world_entities/world_entity.h
r3799 r4122 23 23 24 24 public: 25 WorldEntity (bool isFree = false); 25 WorldEntity (void); 26 WorldEntity(TiXmlElement* root); 26 27 virtual ~WorldEntity (); 27 28 … … 32 33 //void removeAbility(Ability* ability); 33 34 void setDrawable (bool bDraw); 34 bool isFree ();35 35 void setCharacterAttributes(CharacterAttributes* charAttr); 36 36 CharacterAttributes* getCharacterAttributes(); … … 52 52 53 53 private: 54 const bool bFree; //!< If the entity is free.55 54 bool bCollide; //!< If it should be considered for the collisiontest. 56 55 bool bDraw; //!< If it should be visible.
Note: See TracChangeset
for help on using the changeset viewer.