- Timestamp:
- Jun 17, 2005, 10:52:16 AM (19 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/Makefile.am
r4643 r4649 151 151 endif 152 152 153 SUBDIRS = lib \ 154 . \ 155 $(SUB_PROGS) 153 SUBDIRS = lib . $(SUB_PROGS) subprojects 156 154 157 155 -
orxonox/trunk/src/Makefile.in
r4643 r4649 370 370 @SUB_PROJECTS_FALSE@SUB_PROGS = 371 371 @SUB_PROJECTS_TRUE@SUB_PROGS = subprojects 372 SUBDIRS = lib \ 373 . \ 374 $(SUB_PROGS) 375 372 SUBDIRS = lib . $(SUB_PROGS) subprojects 376 373 all: all-recursive 377 374 -
orxonox/trunk/src/lib/particles/particle_system.cc
r4602 r4649 194 194 void ParticleSystem::setRadius(float lifeCycleTime, float radius, float randRadius) 195 195 { 196 this->radiusAnim. addEntry(lifeCycleTime, radius);197 this->randRadiusAnim. addEntry(lifeCycleTime, randRadius);196 this->radiusAnim.changeEntry(lifeCycleTime, radius); 197 this->randRadiusAnim.changeEntry(lifeCycleTime, randRadius); 198 198 } 199 199 … … 206 206 void ParticleSystem::setMass(float lifeCycleTime, float mass, float randMass) 207 207 { 208 this->massAnim. addEntry(lifeCycleTime, mass);209 this->randMassAnim. addEntry(lifeCycleTime, randMass);208 this->massAnim.changeEntry(lifeCycleTime, mass); 209 this->randMassAnim.changeEntry(lifeCycleTime, randMass); 210 210 } 211 211 … … 220 220 void ParticleSystem::setColor(float lifeCycleTime, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) 221 221 { 222 this->colorAnim[0]. addEntry(lifeCycleTime, red);223 this->colorAnim[1]. addEntry(lifeCycleTime, green);224 this->colorAnim[2]. addEntry(lifeCycleTime, blue);225 this->colorAnim[3]. addEntry(lifeCycleTime, alpha);222 this->colorAnim[0].changeEntry(lifeCycleTime, red); 223 this->colorAnim[1].changeEntry(lifeCycleTime, green); 224 this->colorAnim[2].changeEntry(lifeCycleTime, blue); 225 this->colorAnim[3].changeEntry(lifeCycleTime, alpha); 226 226 } 227 227 -
orxonox/trunk/src/lib/particles/quick_animation.cc
r4597 r4649 36 36 this->first = this->current = NULL; 37 37 } 38 39 38 40 39 /** … … 115 114 } 116 115 this->current = this->first; 117 return false; 116 117 this->addEntry(position, value); 118 118 } 119 119 -
orxonox/trunk/src/subprojects/importer/importer.cc
r4554 r4649 24 24 #include <stdlib.h> 25 25 26 #include "resource_manager.h" 26 27 27 28 Model* obj; … … 29 30 void Framework::moduleInit(int argc, char** argv) 30 31 { 32 ResourceManager::getInstance()->addImageDir("./"); 33 31 34 if (argc>=3) 32 35 obj = new OBJModel (argv[1], atof(argv[2])); -
orxonox/trunk/src/subprojects/particles/Makefile.am
r4637 r4649 33 33 $(MAINSRCDIR)/util/loading/load_param.cc \ 34 34 $(MAINSRCDIR)/lib/util/ini_parser.cc 35 applnkApplication_DATA = particles.desktop 36 applnkApplicationdir = $(kde_appsdir)/Application -
orxonox/trunk/src/subprojects/particles/Makefile.in
r4637 r4649 14 14 15 15 @SET_MAKE@ 16 16 17 17 18 SOURCES = $(particles_SOURCES) … … 48 49 CONFIG_HEADER = $(top_builddir)/config.h 49 50 CONFIG_CLEAN_FILES = 50 am__installdirs = "$(DESTDIR)$(bindir)" 51 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applnkApplicationdir)" 51 52 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) 52 53 PROGRAMS = $(bin_PROGRAMS) … … 98 99 SOURCES = $(particles_SOURCES) 99 100 DIST_SOURCES = $(particles_SOURCES) 101 applnkApplicationDATA_INSTALL = $(INSTALL_DATA) 102 DATA = $(applnkApplication_DATA) 100 103 ETAGS = etags 101 104 CTAGS = ctags … … 239 242 $(MAINSRCDIR)/lib/util/ini_parser.cc 240 243 244 applnkApplication_DATA = particles.desktop 245 applnkApplicationdir = $(kde_appsdir)/Application 241 246 all: all-am 242 247 … … 611 616 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(particles_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o particles-ini_parser.obj `if test -f '$(MAINSRCDIR)/lib/util/ini_parser.cc'; then $(CYGPATH_W) '$(MAINSRCDIR)/lib/util/ini_parser.cc'; else $(CYGPATH_W) '$(srcdir)/$(MAINSRCDIR)/lib/util/ini_parser.cc'; fi` 612 617 uninstall-info-am: 618 install-applnkApplicationDATA: $(applnkApplication_DATA) 619 @$(NORMAL_INSTALL) 620 test -z "$(applnkApplicationdir)" || $(mkdir_p) "$(DESTDIR)$(applnkApplicationdir)" 621 @list='$(applnkApplication_DATA)'; for p in $$list; do \ 622 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 623 f="`echo $$p | sed -e 's|^.*/||'`"; \ 624 echo " $(applnkApplicationDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(applnkApplicationdir)/$$f'"; \ 625 $(applnkApplicationDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(applnkApplicationdir)/$$f"; \ 626 done 627 628 uninstall-applnkApplicationDATA: 629 @$(NORMAL_UNINSTALL) 630 @list='$(applnkApplication_DATA)'; for p in $$list; do \ 631 f="`echo $$p | sed -e 's|^.*/||'`"; \ 632 echo " rm -f '$(DESTDIR)$(applnkApplicationdir)/$$f'"; \ 633 rm -f "$(DESTDIR)$(applnkApplicationdir)/$$f"; \ 634 done 613 635 614 636 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) … … 689 711 check-am: all-am 690 712 check: check-am 691 all-am: Makefile $(PROGRAMS) 713 all-am: Makefile $(PROGRAMS) $(DATA) 692 714 installdirs: 693 for dir in "$(DESTDIR)$(bindir)" ; do \715 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(applnkApplicationdir)"; do \ 694 716 test -z "$$dir" || $(mkdir_p) "$$dir"; \ 695 717 done … … 738 760 info-am: 739 761 740 install-data-am: 762 install-data-am: install-applnkApplicationDATA 741 763 742 764 install-exec-am: install-binPROGRAMS … … 765 787 ps-am: 766 788 767 uninstall-am: uninstall-binPROGRAMS uninstall-info-am 789 uninstall-am: uninstall-applnkApplicationDATA uninstall-binPROGRAMS \ 790 uninstall-info-am 768 791 769 792 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ 770 793 clean-generic ctags distclean distclean-compile \ 771 794 distclean-generic distclean-tags distdir dvi dvi-am html \ 772 html-am info info-am install install-am install-binPROGRAMS \ 773 install-data install-data-am install-exec install-exec-am \ 774 install-info install-info-am install-man install-strip \ 775 installcheck installcheck-am installdirs maintainer-clean \ 795 html-am info info-am install install-am \ 796 install-applnkApplicationDATA install-binPROGRAMS install-data \ 797 install-data-am install-exec install-exec-am install-info \ 798 install-info-am install-man install-strip installcheck \ 799 installcheck-am installdirs maintainer-clean \ 776 800 maintainer-clean-generic mostlyclean mostlyclean-compile \ 777 801 mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ 778 uninstall-am uninstall-binPROGRAMS uninstall-info-am 802 uninstall-am uninstall-applnkApplicationDATA \ 803 uninstall-binPROGRAMS uninstall-info-am 779 804 780 805 include $(MAINSRCDIR)/defs/include_paths.am -
orxonox/trunk/src/subprojects/particles/particle_fun.cc
r4639 r4649 22 22 #include "fields.h" 23 23 #include "stdlibincl.h" 24 #include "graphics_engine.h" 24 25 25 26 #define PINIT_EMISSION_RATE 50 … … 43 44 void Framework::moduleInit(int argc, char** argv) 44 45 { 46 GraphicsEngine::getInstance()->setWindowName("ParticlesFun", "particles"); 47 45 48 verbose = 5; 46 49 ParticleEngine::getInstance();
Note: See TracChangeset
for help on using the changeset viewer.