diff --git a/.cvsignore b/.cvsignore index d0f070cbc..5a22c79cc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,8 +1,8 @@ Rules.make -freecraft -freecraft.exe +stratagus +stratagus.exe gmon.out -save_file_of_freecraft.ccl +save_file_of_stratagus.ccl .cvsignore Rules.make.WIN32 core @@ -20,11 +20,11 @@ Debug Release include lib -freecraft.opt -freecraft.dsp -freecraft.dsw -freecraft.plg -freecraft.ncb +stratagus.opt +stratagus.dsp +stratagus.dsw +stratagus.plg +stratagus.ncb startool.dsp startool.plg startool___Win32_Debug diff --git a/Makefile b/Makefile index 826f04344..e09ae5b48 100644 --- a/Makefile +++ b/Makefile @@ -6,17 +6,17 @@ ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## ## Makefile - The make file. ## ## (c) Copyright 1998-2003 by Lutz Sammer and Nehal Mistry ## -## FreeCraft is free software; you can redistribute it and/or modify +## Stratagus is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published ## by the Free Software Foundation; only version 2 of the License. ## -## FreeCraft is distributed in the hope that it will be useful, +## Stratagus is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. @@ -37,7 +37,7 @@ CROSSDIR = /usr/local/cross INCLUDE_DIRS = src/include src/movie/vp31/include etlib -MODULES = src/action src/ai src/beos src/clone src/editor src/freecraft src/game src/libmodplug src/map \ +MODULES = src/action src/ai src/beos src/clone src/editor src/stratagus src/game src/libmodplug src/map \ src/missile src/movie src/movie/vp31 src/network src/pathfinder src/siod src/sound src/ui src/unit \ src/video etlib @@ -67,7 +67,7 @@ OBJ_ALL = $(OBJ) $(OBJ_TOOLS) .PHONY: make-objdir all-src -all: all-src freecraft$(EXE) tools +all: all-src stratagus$(EXE) tools make-objdir: @for i in $(MODULES); do \ @@ -87,7 +87,7 @@ help: @-echo "make doc make source documention with doxygen" @-echo "make doc++ make source documention with doc++" @-echo "make lockver NAME="version" label current version with symbolic name" - @-echo "make strip strip freecraft and/or freecraft.exe" + @-echo "make strip strip stratagus and/or stratagus.exe" @-echo "make tags create ctags" @-echo "make depend create dependencies" @-echo "make dist create distribution" @@ -105,15 +105,15 @@ cycle:: @$(MAKE) all run:: - @$(MAKE) && ./freecraft + @$(MAKE) && ./stratagus runp:: - @$(MAKE) && ./freecraft && if [ -e gmon.sum ]; then \ - gprof -s freecraft gmon.out gmon.sum; \ + @$(MAKE) && ./stratagus && if [ -e gmon.sum ]; then \ + gprof -s stratagus gmon.out gmon.sum; \ else mv gmon.out gmon.sum; fi doc:: - doxygen contrib/doxygen-freecraft.cfg + doxygen contrib/doxygen-stratagus.cfg doc++:: @$(MAKE) -C src RULESFILE=$(RULESFILE) doc @@ -123,21 +123,21 @@ doc++:: all-src: make-objdir $(OBJ) # UNIX-TARGET -freecraft: $(OBJ) - $(CCLD) -o freecraft $^ $(STRATAGUS_LIBS) -I. $(CFLAGS) +stratagus: $(OBJ) + $(CCLD) -o stratagus $^ $(STRATAGUS_LIBS) -I. $(CFLAGS) # WIN32-TARGET -freecraft.exe: $(OBJ) etlib/$(OBJDIR)/getopt.$(OE) \ - src/$(OBJDIR)/freecraftrc.$(OE) - $(CCLD) -o freecraft$(EXE) $^ -lSDLmain $(STRATAGUS_LIBS) -I. $(CFLAGS) +stratagus.exe: $(OBJ) etlib/$(OBJDIR)/getopt.$(OE) \ + src/$(OBJDIR)/stratagusrc.$(OE) + $(CCLD) -o stratagus$(EXE) $^ -lSDLmain $(STRATAGUS_LIBS) -I. $(CFLAGS) strip: - @if [ -f freecraft ]; then strip freecraft; fi - @if [ -f freecraft.exe ]; then $(CROSSDIR)/i386-mingw32msvc/bin/strip freecraft.exe; fi + @if [ -f stratagus ]; then strip stratagus; fi + @if [ -f stratagus.exe ]; then $(CROSSDIR)/i386-mingw32msvc/bin/strip stratagus.exe; fi -src/$(OBJDIR)/freecraftrc.$(OE): src/freecraft.rc +src/$(OBJDIR)/stratagusrc.$(OE): src/stratagus.rc if [ ! -d src/$(OBJDIR) ]; then mkdir src/$(OBJDIR); fi - windres --include-dir contrib -o src/$(OBJDIR)/freecraftrc.$(OE) src/freecraft.rc + windres --include-dir contrib -o src/$(OBJDIR)/stratagusrc.$(OE) src/stratagus.rc echo:: @-echo CFLAGS: $(CFLAGS) @@ -153,13 +153,13 @@ distclean: clean for i in $(MODULES_ALL); do \ [ $(OBJDIR) == "." ] || $(RM) -rf $$i/$(OBJDIR); \ $(RM) $$i/.#* $$i/*~; done - $(RM) freecraft$(EXE) gmon.sum .depend .#* *~ stderr.txt stdout.txt + $(RM) stratagus$(EXE) gmon.sum .depend .#* *~ stderr.txt stdout.txt $(RM) -r srcdoc/* @echo lockver: $(LOCKVER) Makefile $(RULESFILE) .indent.pro \ - contrib/doxygen-freecraft.cfg \ + contrib/doxygen-stratagus.cfg \ $(CCLS) $(DOCS) $(SRC_ALL) src/beos/beos.cpp $(HDRS) Makefile for i in $(MODULES_ALL); do $(LOCKVER) Module.make; done @@ -220,11 +220,11 @@ DOCS = README doc/index.html doc/install.html \ doc/ccl/icon.html doc/ccl/tileset.html doc/ccl/unittype.html \ doc/ccl/research.html doc/graphic/* \ doc/trigger.txt doc/vp32_opensource_license_9-6-01.txt \ - debian/freecraft.6 doc/ccl/ccl-index.html doc/ccl/game.html \ + debian/stratagus.6 doc/ccl/ccl-index.html doc/ccl/game.html \ doc/ccl/icon.html doc/ccl/sound.html doc/ccl/triggers.html \ doc/ccl/ui.html -PICS = contrib/freecraft.png contrib/freecraft.ico +PICS = contrib/stratagus.png contrib/stratagus.ico PUDS = contrib/puds/single/*.txt contrib/puds/single/*.pud.gz \ contrib/puds/multi/*.txt contrib/puds/multi/*.pud.gz @@ -233,7 +233,7 @@ CCLS = data/ccl/units.ccl data/ccl/human/units.ccl data/ccl/orc/units.ccl \ data/ccl/constructions.ccl data/ccl/human/constructions.ccl \ data/ccl/orc/constructions.ccl \ data/ccl/missiles.ccl data/ccl/icons.ccl \ - data/ccl/sound.ccl data/ccl/freecraft.ccl \ + data/ccl/sound.ccl data/ccl/stratagus.ccl \ data/ccl/ui.ccl data/ccl/human/ui.ccl data/ccl/orc/ui.ccl \ data/ccl/upgrade.ccl data/ccl/human/upgrade.ccl \ data/ccl/orc/upgrade.ccl \ @@ -255,19 +255,19 @@ CONTRIB = contrib/cross.png contrib/red_cross.png \ contrib/health2.png contrib/mana2.png \ contrib/ore,stone,coal.png contrib/food.png contrib/score.png \ contrib/music/toccata.mod.gz \ - contrib/FreeCraft-beos.proj.gz \ + contrib/Stratagus-beos.proj.gz \ contrib/msvc.zip contrib/macosx.tgz contrib/stdint.h \ contrib/campaigns/*/*.cm MISC += Makefile Rules.make.orig setup \ - contrib/doxygen-freecraft.cfg contrib/doxygen-header.html \ + contrib/doxygen-stratagus.cfg contrib/doxygen-header.html \ .indent.pro Rules.make.in configure.in configure \ $(CONTRIB) \ \ - src/freecraft.rc data/default.cm + src/stratagus.rc data/default.cm mydate = $(shell date +%y%m%d) -distdir = freecraft-$(mydate) +distdir = stratagus-$(mydate) distlist: @echo $(SRC_ALL) $(HDRS) src/beos/beos.cpp > $(DISTLIST) @@ -288,7 +288,7 @@ dist: distlist for i in `cat $(DISTLIST)`; do echo $$i; done | cpio -pdml --quiet $(distdir) chmod -R a+rX $(distdir) tar czhf $(distdir)-src.tar.gz $(distdir) - echo "(c) 2003 by the FreeCraft Project http://FreeCraft.Org" | \ + echo "(c) 2003 by the Stratagus Project http://Stratagus.Org" | \ zip -zq9r $(distdir)-src.zip $(distdir) $(RM) $(DISTLIST) $(RM) -r $(distdir) @@ -301,7 +301,7 @@ bin-dist: all echo $(CONTRIB) >>$(DISTLIST) echo $(CCLS) >>$(DISTLIST) echo $(DOCS) >>$(DISTLIST) - echo freecraft$(EXE) >>$(DISTLIST) + echo stratagus$(EXE) >>$(DISTLIST) echo tools/wartool$(EXE) >>$(DISTLIST) rm -rf $(distdir) mkdir $(distdir) @@ -309,9 +309,9 @@ bin-dist: all for i in `cat $(DISTLIST)`; do echo $$i; done | cpio -pdml --quiet $(distdir) cp tools/build.sh $(distdir) chmod -R a+rX $(distdir) - strip -s -R .comment $(distdir)/freecraft$(EXE) + strip -s -R .comment $(distdir)/stratagus$(EXE) strip -s -R .comment $(distdir)/tools/wartool$(EXE) - tar czhf freecraft-$(mydate)-linux.tar.gz $(distdir) + tar czhf stratagus-$(mydate)-linux.tar.gz $(distdir) $(RM) $(DISTLIST) $(RM) -r $(distdir) @@ -325,7 +325,7 @@ win32-bin-dist2: win32 @echo $(CCLS) >>$(DISTLIST) @echo $(DOCS) >>$(DISTLIST) @echo doc/README-SDL.txt >>$(DISTLIST) - @echo freecraft$(EXE) >>$(DISTLIST) + @echo stratagus$(EXE) >>$(DISTLIST) @echo tools/wartool$(EXE) >>$(DISTLIST) @rm -rf $(distdir) @mkdir $(distdir) @@ -333,13 +333,13 @@ win32-bin-dist2: win32 @for i in `cat $(DISTLIST)`; do echo $$i; done | cpio -pdml --quiet $(distdir) @cp tools/build.bat $(distdir) @chmod -R a+rX $(distdir) - @strip -s -R .comment $(distdir)/freecraft$(EXE) + @strip -s -R .comment $(distdir)/stratagus$(EXE) @strip -s -R .comment $(distdir)/tools/wartool$(EXE) - @echo "(c) 2003 by the FreeCraft Project http://FreeCraft.Org" | \ - zip -zq9r freecraft-$(mydate)-win32bin.zip $(distdir) + @echo "(c) 2003 by the Stratagus Project http://Stratagus.Org" | \ + zip -zq9r stratagus-$(mydate)-win32bin.zip $(distdir) @$(RM) $(DISTLIST) @$(RM) -r $(distdir) - du -h freecraft-$(mydate)-win32bin.zip + du -h stratagus-$(mydate)-win32bin.zip win32-bin-dist: win32 @export PATH=$(CROSSDIR)/i386-mingw32msvc/bin:$(CROSSDIR)/bin:$$PATH; \ @@ -347,7 +347,7 @@ win32-bin-dist: win32 #---------------------------------------------------------------------------- -difffile= freecraft-`date +%y%m%d`.diff +difffile= stratagus-`date +%y%m%d`.diff diff: @$(RM) $(difffile) @$(RM) $(DISTLIST) @@ -364,7 +364,7 @@ buildit: tools buildclean: rm -rf data/*.rgb data/*.gimp data/puds data/sound data/graphic \ data/interface data/campaigns data/text data/health.png data/mana.png \ - data/default.pud.gz data/freecraft.png + data/default.pud.gz data/stratagus.png rm -rf data/graphics data/sounds data/texts data/music data/videos release: @@ -404,30 +404,30 @@ win32distclean: # INSTALL/UNINSTALL ############################################################################## -install: all install-freecraft install-tools +install: all install-stratagus install-tools -install-freecraft: - @echo installing freecraft - mkdir -p $(PREFIX)/lib/games/freecraft +install-stratagus: + @echo installing stratagus + mkdir -p $(PREFIX)/lib/games/stratagus mkdir -p /var/lib/games - install -m 755 freecraft $(PREFIX)/lib/games/freecraft - cp -R data $(PREFIX)/lib/games/freecraft - echo "$(PREFIX)/lib/games/freecraft/freecraft \ - -d $(PREFIX)/lib/games/freecraft/data "\$$\@" | tee /var/lib/games/freecraft.log" \ - >$(PREFIX)/bin/freecraft - chmod +x $(PREFIX)/bin/freecraft - @echo installation of freecraft complete + install -m 755 stratagus $(PREFIX)/lib/games/stratagus + cp -R data $(PREFIX)/lib/games/stratagus + echo "$(PREFIX)/lib/games/stratagus/stratagus \ + -d $(PREFIX)/lib/games/stratagus/data "\$$\@" | tee /var/lib/games/stratagus.log" \ + >$(PREFIX)/bin/stratagus + chmod +x $(PREFIX)/bin/stratagus + @echo installation of stratagus complete install-tools: all - @echo installing freecraft tools - mkdir -p $(PREFIX)/lib/games/freecraft/tools - install -m 755 tools/wartool $(PREFIX)/lib/games/freecraft/tools - install -m 755 tools/build.sh $(PREFIX)/lib/games/freecraft/tools - @echo installation of freecraft tools complete + @echo installing stratagus tools + mkdir -p $(PREFIX)/lib/games/stratagus/tools + install -m 755 tools/wartool $(PREFIX)/lib/games/stratagus/tools + install -m 755 tools/build.sh $(PREFIX)/lib/games/stratagus/tools + @echo installation of stratagus tools complete uninstall: - @echo uninstalling freecraft and freecraft tools - rm -rf $(PREFIX)/lib/games/freecraft - rm $(PREFIX)/bin/freecraft + @echo uninstalling stratagus and stratagus tools + rm -rf $(PREFIX)/lib/games/stratagus + rm $(PREFIX)/bin/stratagus @echo uninstallation complete diff --git a/README b/README index a42704616..5fc34c9c7 100644 --- a/README +++ b/README @@ -7,8 +7,8 @@ \/ \/ \/ \/ \/ ______________________ ______________________ T H E W A R B E G I N S - FreeCraft - A free fantasy real time strategy game engine + Stratagus - A free fantasy real time strategy game engine Read 'doc/index.html' for general information and license information. -Read 'doc/install.html' for FreeCraft installation instructions. -Read 'doc/ChangeLog.html' for the FreeCraft changelog. +Read 'doc/install.html' for Stratagus installation instructions. +Read 'doc/ChangeLog.html' for the Stratagus changelog. diff --git a/Rules.make.in b/Rules.make.in index 8cf9db951..eaa65adf3 100644 --- a/Rules.make.in +++ b/Rules.make.in @@ -6,7 +6,7 @@ ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## # Compile commands diff --git a/Rules.make.orig b/Rules.make.orig index cac5dbf9b..87ccdf113 100644 --- a/Rules.make.orig +++ b/Rules.make.orig @@ -6,17 +6,17 @@ ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## ## Rules.make - Make RULES (GNU MAKE) (included from Makefile). ## ## (c) Copyright 1998-2002 by Lutz Sammer ## -## FreeCraft is free software; you can redistribute it and/or modify +## Stratagus is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published ## by the Free Software Foundation; only version 2 of the License. ## -## FreeCraft is distributed in the hope that it will be useful, +## Stratagus is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. @@ -175,7 +175,7 @@ VERSION= '-DVERSION="1.18pre1"' # Libraries needed to build tools TOOLLIBS=$(XLDFLAGS) -lpng -lz -lm $(THREADLIB) -# Libraries needed to build freecraft +# Libraries needed to build stratagus CLONELIBS=$(XLDFLAGS) -lpng -lz -lm $(FLACLIB) $(OGGLIB) $(MP3LIB) \ $(THREADLIB) $(CCLLIB) $(VIDEOLIB) $(ZLIBS) #-lefence @@ -183,14 +183,14 @@ DISTLIST=$(TOPDIR)/distlist TAGS=$(TOPDIR)/src/tags # LINUX -OUTFILE=$(TOPDIR)/freecraft +OUTFILE=$(TOPDIR)/stratagus ARCH=linux OE=o EXE= OBJDIR=. # WIN32 -#OUTFILE=$(TOPDIR)/freecraft$(EXE) +#OUTFILE=$(TOPDIR)/stratagus$(EXE) #ARCH=win32 #OE=o #EXE=.exe diff --git a/configure.in b/configure.in index 04a934815..d54e9cfb8 100644 --- a/configure.in +++ b/configure.in @@ -8,13 +8,13 @@ AC_CHECK_HEADERS(zlib.h,, AC_MSG_ERROR(could not find zlib.h)) AC_CHECK_HEADERS(png.h,, AC_MSG_ERROR(could not find png.h)) EXE= -OUTFILE="\$(TOPDIR)/freecraft\$(EXE)" +OUTFILE="\$(TOPDIR)/stratagus\$(EXE)" OE=o OBJDIR=obj if test "`uname -a | grep -is cygwin`" -o "`uname -a | grep -is mingw`"; then WIN32=1 EXE=.exe - OUTFILE="\$(TOPDIR)/freecraft\$(EXE)" + OUTFILE="\$(TOPDIR)/stratagus\$(EXE)" ARCH=win32 OBJDIR=winobj PLATFORM="-DUSE_WIN32" @@ -43,7 +43,7 @@ AC_ARG_ENABLE(win32, if test "$enable_win32" = "yes"; then WIN32=1 EXE=.exe - OUTFILE="\$(TOPDIR)/freecraft\$(EXE)" + OUTFILE="\$(TOPDIR)/stratagus\$(EXE)" ARCH=win32 OBJDIR=winobj PLATFORM="-DUSE_WIN32" diff --git a/contrib/doxygen-header.html b/contrib/doxygen-header.html index 0a412f875..6be7cecb6 100644 --- a/contrib/doxygen-header.html +++ b/contrib/doxygen-header.html @@ -12,6 +12,6 @@ \/ \/ \/ \/ \/ ______________________ ______________________ T H E W A R B E G I N S - FreeCraft - A free fantasy real time strategy game engine -(C) Copyright 2001-2003 by The FreeCraft Project. Distributed under the + Stratagus - A free fantasy real time strategy game engine +(C) Copyright 2001-2003 by The Stratagus Project. Distributed under the "GNU General Public License"
diff --git a/contrib/doxygen-stratagus.cfg b/contrib/doxygen-stratagus.cfg index 9a9c630e0..79290369d 100644 --- a/contrib/doxygen-stratagus.cfg +++ b/contrib/doxygen-stratagus.cfg @@ -16,7 +16,7 @@ # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. -PROJECT_NAME = FreeCraft-Engine +PROJECT_NAME = Stratagus-Engine # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or diff --git a/contrib/installer/make-linux-installer.sh b/contrib/installer/make-linux-installer.sh index a562550ed..a1d57e1eb 100755 --- a/contrib/installer/make-linux-installer.sh +++ b/contrib/installer/make-linux-installer.sh @@ -1,9 +1,9 @@ #!/bin/bash -BINFILE=./freecraft-030311-linux.tar.gz -INSTALLERNAME=./freecraft-$(date +%y%m%d)-linux-installer.sh +BINFILE=./stratagus-030311-linux.tar.gz +INSTALLERNAME=./stratagus-$(date +%y%m%d)-linux-installer.sh FCMPVER=030311 -FCMPONLINE=http://telia.dl.sf.net/freecraft/fcmp-$FCMPVER.tar.gz +FCMPONLINE=http://telia.dl.sf.net/stratagus/fcmp-$FCMPVER.tar.gz FCMPLOCAL=fcmp-$FCDATE.tar.gz FCMPFILE=./fcmp-$FCDATE.tar.gz @@ -24,20 +24,20 @@ if [ "\`id -u\`" != "0" ]; then fi echo; echo "==================================" -echo "Welcome to the FreeCraft installer" +echo "Welcome to the Stratagus installer" echo "==================================" echo -echo -n "Would you like to [i]nstall or [u]ninstall FreeCraft? (i) " +echo -n "Would you like to [i]nstall or [u]ninstall Stratagus? (i) " read -n1 -s OPTION echo echo if [ "\$OPTION" = "u" ] || [ "\$OPTION" = "U" ]; then - if [ ! -f ~/.freecraft/freecraft.inst ] || [ "\`cat ~/.freecraft/freecraft.inst | grep -iv REMOVE\`" = "" ]; then - echo "Cannot uninstall: FreeCraft does not appear to be installed." + if [ ! -f ~/.stratagus/stratagus.inst ] || [ "\`cat ~/.stratagus/stratagus.inst | grep -iv REMOVE\`" = "" ]; then + echo "Cannot uninstall: Stratagus does not appear to be installed." echo exit fi - FILES=\`cat ~/.freecraft/freecraft.inst | grep -iv REMOVE\` + FILES=\`cat ~/.stratagus/stratagus.inst | grep -iv REMOVE\` echo "The following files/directories will be removed:" echo echo "\$FILES" @@ -49,13 +49,13 @@ if [ "\$OPTION" = "u" ] || [ "\$OPTION" = "U" ]; then echo echo -n "Removing..." rm -rf \$FILES - rm ~/.freecraft/freecraft.inst + rm ~/.stratagus/stratagus.inst echo "Done" echo fi exit fi -echo "Where would you like to install the 'freecraft' directory? " +echo "Where would you like to install the 'stratagus' directory? " echo -n "( \$DEFAULTDIR ) " read DIR if [ "\$DIR" = "" ]; then @@ -87,14 +87,14 @@ if [ "\$DATA" = "o" ] || [ "\$DATA" = "O" ]; then echo echo "Error: data not found, make sure your cdrom is mounted." echo "Installation NOT complete." - rm -rf \$DIR/freecraft + rm -rf \$DIR/stratagus echo exit fi echo -n "Please wait while data is being extracted, this will take several minutes..." echo - mv \$DIR/freecraft/data \$DIR/freecraft/data.wc2 - sh \$DIR/freecraft/tools/build.sh -o \$DIR/freecraft/data.wc2 -C \$DIR/freecraft/contrib -p \$CDROM/data -T \$DIR/freecraft/tools + mv \$DIR/stratagus/data \$DIR/stratagus/data.wc2 + sh \$DIR/stratagus/tools/build.sh -o \$DIR/stratagus/data.wc2 -C \$DIR/stratagus/contrib -p \$CDROM/data -T \$DIR/stratagus/tools else DATADIR=data echo @@ -111,26 +111,26 @@ else echo echo "Error: file not found." echo "Installation NOT complete." - rm -rf \$DIR/freecraft + rm -rf \$DIR/stratagus echo exit fi echo -n "PLEASE WAIT" - tar -zxvf \$FCMPLOCATION -C \$DIR/freecraft >/dev/null + tar -zxvf \$FCMPLOCATION -C \$DIR/stratagus >/dev/null echo else echo echo -n "PLEASE WAIT - DOWNLOADING" if [ "\`whereis curl | cut -f2 -d:\`" = "" ]; then - wget -nv -O - $FCMPONLINE | tar -zxv -C \$DIR/freecraft + wget -nv -O - $FCMPONLINE | tar -zxv -C \$DIR/stratagus else - curl -s $FCMPONLINE | tar -zxv -C \$DIR/freecraft + curl -s $FCMPONLINE | tar -zxv -C \$DIR/stratagus fi fi echo fi; echo -echo "Where would you like to put the 'freecraft' startup script?" +echo "Where would you like to put the 'stratagus' startup script?" echo -n "( \$DEFAULTSTARTDIR ) " read STARTDIR if [ "\$STARTDIR" = "" ]; then @@ -141,32 +141,32 @@ STARTDIR=\`pwd\` cd \$CURDIR mkdir -p \$STARTDIR if [ "\`dirname \$STARTDIR/x\`" = "\`dirname \$DIR/x\`" ]; then - STARTDIR=\$STARTDIR/freecraft + STARTDIR=\$STARTDIR/stratagus fi if [ "\`dirname \$STARTDIR\`" != "\`dirname \$DIR/x\`" ]; then - echo "\$DIR/freecraft/freecraft -d \$DIR/freecraft/\$DATADIR" > \$STARTDIR/freecraft - chmod +x \$STARTDIR/freecraft + echo "\$DIR/stratagus/stratagus -d \$DIR/stratagus/\$DATADIR" > \$STARTDIR/stratagus + chmod +x \$STARTDIR/stratagus else echo - echo "*** NOTE: you will need to 'cd \$DIR/freecraft' before running ./freecraft ***" + echo "*** NOTE: you will need to 'cd \$DIR/stratagus' before running ./stratagus ***" fi -mkdir -p ~/.freecraft -echo "THIS FILE REQUIRED FOR STRATAGUS UNINSTALLATION, DO NOT REMOVE" > ~/.freecraft/freecraft.inst -echo "\$DIR/freecraft \$STARTDIR/freecraft" >> ~/.freecraft/freecraft.inst +mkdir -p ~/.stratagus +echo "THIS FILE REQUIRED FOR STRATAGUS UNINSTALLATION, DO NOT REMOVE" > ~/.stratagus/stratagus.inst +echo "\$DIR/stratagus \$STARTDIR/stratagus" >> ~/.stratagus/stratagus.inst if [ -d /tmp/cdrom.tmp ]; then umount /tmp/cdrom.tmp; rm -rf /tmp/cdrom.tmp; fi echo -echo "Congratulations! Installation of FreeCraft is complete." +echo "Congratulations! Installation of Stratagus is complete." echo echo "To start the game, type the following command:" echo -echo "\$STARTDIR/freecraft" +echo "\$STARTDIR/stratagus" echo echo -n "Would you like to start the game now? (n) " read -n1 -s START echo if [ "\$START" = "y" ] || [ "\$START" = "Y" ]; then cd \$STARTDIR - \$STARTDIR/freecraft + \$STARTDIR/stratagus fi; exit; EOF @@ -182,7 +182,7 @@ fi mkdir .installer tar -zxf $BINFILE -C .installer -mv .installer/`ls .installer | grep freecraft` .installer/freecraft +mv .installer/`ls .installer | grep stratagus` .installer/stratagus cd .installer tar -hcO * | gzip -c >> ../$INSTALLERNAME diff --git a/contrib/installer/stratagus.nsi b/contrib/installer/stratagus.nsi index dea4a310c..b0bec501f 100644 --- a/contrib/installer/stratagus.nsi +++ b/contrib/installer/stratagus.nsi @@ -1,14 +1,14 @@ ; The name of the installer -Name "FreeCraft" +Name "Stratagus" -OutFile "freecraft-030311-win32.exe" -Icon "freecraft.ico" +OutFile "stratagus-030311-win32.exe" +Icon "stratagus.ico" -InstallDir $PROGRAMFILES\FreeCraft +InstallDir $PROGRAMFILES\Stratagus -DirText "FreeCraft will be installed to the specified location" +DirText "Stratagus will be installed to the specified location" -ComponentText "This will install FreeCraft. Select what you want installed." +ComponentText "This will install Stratagus. Select what you want installed." EnabledBitmap bitmap1.bmp DisabledBitmap bitmap2.bmp InstType "WC2" @@ -18,7 +18,7 @@ InstType "Base Only" Section "Base (required)" SectionIn RO SetOutPath $INSTDIR - File /r "C:\projects\freecraft-030311\*.*" + File /r "C:\projects\stratagus-030311\*.*" WriteUninstaller $INSTDIR\uninst.exe SectionEnd @@ -35,19 +35,19 @@ SectionEnd Section "Start Menu Shortcuts" SectionIn 1 SectionIn 2 - CreateDirectory "$SMPROGRAMS\FreeCraft" + CreateDirectory "$SMPROGRAMS\Stratagus" StrCmp $1 "1" 0 NoWC2Shortcut - CreateShortCut "$SMPROGRAMS\FreeCraft\FreeCraft (WC2).lnk" "$INSTDIR\freecraft.exe" "" - CreateShortCut "$SMPROGRAMS\FreeCraft\Edit build.bat.lnk" "notepad.exe" "$INSTDIR\build.bat" "" - CreateShortCut "$SMPROGRAMS\FreeCraft\Run build.bat.lnk" "$INSTDIR\build.bat" "" + CreateShortCut "$SMPROGRAMS\Stratagus\Stratagus (WC2).lnk" "$INSTDIR\stratagus.exe" "" + CreateShortCut "$SMPROGRAMS\Stratagus\Edit build.bat.lnk" "notepad.exe" "$INSTDIR\build.bat" "" + CreateShortCut "$SMPROGRAMS\Stratagus\Run build.bat.lnk" "$INSTDIR\build.bat" "" NoWC2Shortcut: - CreateShortCut "$SMPROGRAMS\FreeCraft\Uninstall FreeCraft.lnk" "$INSTDIR\uninst.exe" "" + CreateShortCut "$SMPROGRAMS\Stratagus\Uninstall Stratagus.lnk" "$INSTDIR\uninst.exe" "" SectionEnd -Uninstalltext "This will uninstall FreeCraft." +Uninstalltext "This will uninstall Stratagus." Section "Uninstall" - RMDir /r $SMPROGRAMS\FreeCraft + RMDir /r $SMPROGRAMS\Stratagus RMDir /r $INSTDIR SectionEnd diff --git a/contrib/stratagus-beos.proj.gz b/contrib/stratagus-beos.proj.gz index 6260c4ba6..19517fda3 100644 Binary files a/contrib/stratagus-beos.proj.gz and b/contrib/stratagus-beos.proj.gz differ diff --git a/doc/ChangeLog.html b/doc/ChangeLog.html index e6fc5afbd..cd6ccacf3 100644 --- a/doc/ChangeLog.html +++ b/doc/ChangeLog.html @@ -6,23 +6,23 @@ ---- (c) Copyright 1998-2003 by Lutz Sammer ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - ChangeLog: FreeCraft Version 1.18 + ChangeLog: Stratagus Version 1.18 -

ChangeLog: FreeCraft Version 1.18

+

ChangeLog: Stratagus Version 1.18


Current

@@ -197,7 +197,7 @@

  • Implemented feature request #632356: Stretching Background Images (from Jimmy Salmon).
  • Added Man vs Machine game type (from Jimmy Salmon).
  • Fixed bug #634359: Click while in comment makes invisible (from Jimmy Salmon). -
  • Fixed bug #638383: Freecraft memfill on some puds (from Jimmy Salmon). +
  • Fixed bug #638383: Stratagus memfill on some puds (from Jimmy Salmon).
  • Fixed bug #636395: Double-click does not work in window (from Jimmy Salmon).
  • Implemented feature request #635863: Clicking on Score Screen Displays All (from Jimmy Salmon).
  • Correct paths and filenames for expansion voice extraction (from Russell Smith). @@ -243,7 +243,7 @@
  • Added new feature (set-xp-damage! #t) which adds extra damage from units as they gain XP (from David Slimp).
  • Magic parameter in units.ccl file to be used as MaxMana; MAGIC_FOR_NEW_UNITS now means number of percent instead of absolute value (from Martin Hajduch).
  • Middle click on unit portrait tracks the unit in the current viewport. -
  • Fixed bug: FreeCraft segfaults when you try to abort a unit being trained and you click on a wrong (empty) slot (from Martin Renold). +
  • Fixed bug: Stratagus segfaults when you try to abort a unit being trained and you click on a wrong (empty) slot (from Martin Renold).
  • Added burning buildings (from Jimmy Salmon).
  • Movement/Placement mask and field flags added to unit-type structure.
  • Fixed bug: Editor can't place units on mud/dirt. @@ -297,7 +297,7 @@
  • Old command line network setup api is gone.
  • Added support for repeating keys in input fields (from Jimmy Salmon).
  • Fixed bug #562548: Number of opponents doesn't matter (from Jimmy Salmon). -
  • Added ALT+CTRL+S to save the current level as pud "freecraft.pud.gz". +
  • Added ALT+CTRL+S to save the current level as pud "stratagus.pud.gz".
  • Fixed bug in server menu where the Start Game button was deactivated (from Jimmy Salmon).
  • Fixed bug #528207: Fog of war is not correct (from Jimmy Salmon).
  • Implemented task #38320: Making screen shots (from Jimmy Salmon). @@ -404,7 +404,7 @@
  • CD player support with SDL. (from Nehal)
  • Many documentation fixes. (from Ender)
  • First version of campaigns. -
  • For a new level you don't have to leave freecraft. (Attention: looses memory) +
  • For a new level you don't have to leave stratagus. (Attention: looses memory)
  • First version of level briefing.
  • Fixed bug: AI could hang waiting on a force.
  • Player (struct _player_) source documentation written. @@ -522,8 +522,8 @@
  • Fixed bug: Building buildings with 0 build time, dumps core. (/0)
  • Fixed bug: Attacking walls broken with new orders.
  • Removed old command code, only the new order code is now present. -
  • Made buttons configurable (with CCL FreeCraft configuration language). -
  • Made icons configurable (with CCL FreeCraft configuration language). +
  • Made buttons configurable (with CCL Stratagus configuration language). +
  • Made icons configurable (with CCL Stratagus configuration language).
  • Let the AI workers only harvest reachable trees. (very great performance increase.)
  • Some more menu code for network menus - unfinished yet.
  • Updated to use doxygen 1.2.5. @@ -616,12 +616,12 @@
  • Not ready: New directory structure and filenames in data.
  • Wrote new corpse handling.
  • Removed old animation scripts handling. -
  • Executable renamed to "freecraft". -
  • Distribution archive renamed to "freecraft". +
  • Executable renamed to "stratagus". +
  • Distribution archive renamed to "stratagus".

  • 1.16.1 released

    - Q: Can I use FreeCraft to join in a W*rcr*ft 2 network game?
    - A: Sorry, FreeCraft use its own network protocol. + Q: Can I use Stratagus to join in a W*rcr*ft 2 network game?
    + A: Sorry, Stratagus use its own network protocol. The protocol needs the exact same code executed on all machines, and it is not possible to have this with the original WC2, - therefore you can only connect to a FreeCraft server.

    + therefore you can only connect to a Stratagus server.

    Q: What about other RTS games?
    A: St*rcr*ft and W*rcr*ft 1 support is in development. T*ber*an Sun may be added in the distant future. For the old C&C games, you can use freecnc.

    - Q: What ports does the FreeCraft network protocol use?
    - A: 6660 by default, you may start freecraft with '-Pxxxx' flag to + Q: What ports does the Stratagus network protocol use?
    + A: 6660 by default, you may start stratagus with '-Pxxxx' flag to use port xxxx instead.

    - Q: Does freecraft support internet/metaserver play?
    + Q: Does stratagus support internet/metaserver play?
    A: Not yet, but this is a planned feature and may be added for 1.19

    Q: I get only a black window after I have installed it on windows. What have I done wrong?
    - A: Install FreeCraft to the C: drive. This has solved the problem for + A: Install Stratagus to the C: drive. This has solved the problem for everybody who has had this bug.

    - Q: I have installed the windows version, when I start FreeCraft I get + Q: I have installed the windows version, when I start Stratagus I get only the splash screen and the game stops, but consumes 100% CPU. What have I done wrong?
    A: Please wait for a couple of minutes for the game to start. There are @@ -97,7 +97,7 @@ For any questions not mentioned here, please visit support team. :)


    -(C) Copyright 1998-2003 by The FreeCraft Project +(C) Copyright 1998-2003 by The Stratagus Project under the GNU General Public License.
    All trademarks and copyrights on this page are owned by their respective owners.
    diff --git a/doc/graphics/palette.html b/doc/graphics/palette.html index e7c5b6a15..13376ad28 100644 --- a/doc/graphics/palette.html +++ b/doc/graphics/palette.html @@ -6,27 +6,27 @@ ---- (c) Copyright 2003 by Nehal Mistry ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - FreeCraft Palette Documentation + Stratagus Palette Documentation -

    FreeCraft Palette Documentation

    +

    Stratagus Palette Documentation


    General Palette

    -FreeCraft graphics use a 256 color palette. Although the palette may +Stratagus graphics use a 256 color palette. Although the palette may be different for all images, it is recommended to use a shared one to save memory.

    @@ -72,11 +72,11 @@ should be taken into account when creating a tileset:

  • 253 : Violet -A sample palette, freecraft.gimp, +A sample palette, stratagus.gimp, is included. If unsure please use this.


    -(C) Copyright 1998-2003 by The FreeCraft Project +(C) Copyright 1998-2003 by The Stratagus Project under the GNU General Public License.
    All trademarks and copyrights on this page are owned by their respective owners.
    diff --git a/doc/graphics/stratagus.gimp b/doc/graphics/stratagus.gimp index 2d3a9db85..379650c8a 100644 --- a/doc/graphics/stratagus.gimp +++ b/doc/graphics/stratagus.gimp @@ -1,5 +1,5 @@ GIMP Palette -# FreeCraft General palette -- GIMP Palette file +# Stratagus General palette -- GIMP Palette file 0 0 0 253 129 193 253 129 193 diff --git a/doc/graphics/tileset.html b/doc/graphics/tileset.html index b60bbcb8b..c1184f948 100644 --- a/doc/graphics/tileset.html +++ b/doc/graphics/tileset.html @@ -3,23 +3,23 @@ ---- (c) Copyright 2001-2003 by Lutz Sammer ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - FreeCraft tileset graphic format + Stratagus tileset graphic format -

    FreeCraft tileset graphic format

    +

    Stratagus tileset graphic format


    -The freecraft playfield is build with tiles each with the size of 32x32 pixels. +The stratagus playfield is build with tiles each with the size of 32x32 pixels.

    Tileset graphic file format

    @@ -184,5 +184,5 @@ This will I change later.
    All trademarks and copyrights on this page are owned by their respective owners. -
    The FreeCraft Project +
    The Stratagus Project
    diff --git a/doc/graphics/ui.html b/doc/graphics/ui.html index ecbc05690..6fea04e6d 100644 --- a/doc/graphics/ui.html +++ b/doc/graphics/ui.html @@ -3,20 +3,20 @@ ---- (c) Copyright 2001-2003 by Lutz Sammer ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - FreeCraft user interface graphic format + Stratagus user interface graphic format -

    FreeCraft user interface graphic format

    +

    Stratagus user interface graphic format


    This graphic files are used to build the user interface. @@ -37,5 +37,5 @@ Human border uses 14 colors:
    All trademarks and copyrights on this page are owned by their respective owners. -
    The FreeCraft Project +
    The Stratagus Project
    diff --git a/doc/graphics/unit.html b/doc/graphics/unit.html index 15e5b3002..f49ada449 100644 --- a/doc/graphics/unit.html +++ b/doc/graphics/unit.html @@ -3,20 +3,20 @@ ---- (c) Copyright 2001-2003 by Lutz Sammer ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - FreeCraft unit graphics + Stratagus unit graphics -

    FreeCraft unit graphics

    +

    Stratagus unit graphics


    The units/buildings of a race

    @@ -157,5 +157,5 @@ The biggest needed size is taken for all images.
    All trademarks and copyrights on this page are owned by their respective owners. -
    The FreeCraft Project +
    The Stratagus Project
    diff --git a/doc/index.html b/doc/index.html index 8ae4ba224..7436388fe 100644 --- a/doc/index.html +++ b/doc/index.html @@ -6,48 +6,48 @@ ---- (c) Copyright 2003 by Nehal Mistry ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - FreeCraft 1.18 + Stratagus 1.18 -

    FreeCraft 1.18

    +

    Stratagus 1.18


    -

    What is FreeCraft?

    +

    What is Stratagus?

    - FreeCraft is a free cross-platform real-time strategy gaming engine. + Stratagus is a free cross-platform real-time strategy gaming engine. It is possible to play against human opponents over LAN, internet, or against the computer. The engine can be used to build C&C, WC2, SC and AOE-like real-time strategy (RTS) games. It successfully runs under Linux, BSD, BeOS, MacOS/X, MacOS/Darwin and MS Windows.

    - The newest version of FreeCraft can always be found here: - http://freecraft.sourceforge.net + The newest version of Stratagus can always be found here: + http://stratagus.sourceforge.net

    - Our sourceforge project page is: - http://sourceforge.net/projects/freecraft + Our sourceforge project page is: + http://sourceforge.net/projects/stratagus

    Installation

    - Read this to install FreeCraft: + Read this to install Stratagus: install.html

    Development

    Read development.html if you want to help - out with FreeCraft development

    - Documentation on the FreeCraft scripting language (Scheme, implemented with SIOD) + out with Stratagus development

    + Documentation on the Stratagus scripting language (Scheme, implemented with SIOD) can be found at ../src/siod/siod.html

    Information about creating sounds and graphics can be found in the @@ -55,7 +55,7 @@

    Changes

    - The changelog on FreeCraft can be found at ChangeLog.html + The changelog on Stratagus can be found at ChangeLog.html

    Todo and known bugs

    @@ -69,13 +69,13 @@

    Problems

    - If you have problems compiling, installing or playing FreeCraft, read + If you have problems compiling, installing or playing Stratagus, read faq.html and try our support tracker

    Copyrights

    - FreeCraft is distributed under the GNU General Public + Stratagus is distributed under the GNU General Public License version 2 or later

    SIOD see SIOD.txt

    @@ -95,7 +95,7 @@ For more credits please see data/ccl/credits.ccl.


    -(C) Copyright 1998-2003 by The FreeCraft Project +(C) Copyright 1998-2003 by The Stratagus Project under the GNU General Public License.
    All trademarks and copyrights on this page are owned by their respective owners.
    diff --git a/doc/install.html b/doc/install.html index e4c0d31de..53ab2d62f 100644 --- a/doc/install.html +++ b/doc/install.html @@ -6,22 +6,22 @@ ---- (c) Copyright 2002-2003 by Nehal Mistry. ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - FreeCraft Installation + Stratagus Installation -

    Installation instructions for FreeCraft 1.18

    +

    Installation instructions for Stratagus 1.18


    Software Requirements

    @@ -53,7 +53,7 @@

    Hardware Requirements

    • Processor: A 133 MHz CPU (faster recommended).
      - NOTE: FreeCraft is believed to be endian and word size safe, so other + NOTE: Stratagus is believed to be endian and word size safe, so other architectures like (big endian) PPC or (64bit) Alpha should also work at least with Linux.

      @@ -78,12 +78,12 @@

      • Download the source from - here.
        + here.
        NOTE: both the tar.gz and zip files are the same, we provide both formats for convenience.

        -

      • Unpack the source freecraft-DATE.tar.gz with -
        	tar -zxvf freecraft-DATE.tar.gz
        +
      • Unpack the source stratagus-DATE.tar.gz with +
        	tar -zxvf stratagus-DATE.tar.gz
    • Step 2, Compile:

      @@ -92,21 +92,21 @@

    • GCC/Mingw users: run the 'setup' script and answer the questions instructions to create the Makefile. When complete, type 'make depend && make' to compile, and it - should compile a working 'freecraft' (or 'freecraft.exe' for win32) + should compile a working 'stratagus' (or 'stratagus.exe' for win32) binary. To see all options of setup, type 'setup --help'.

    • MSVC users:
        -
      • Extract the VC++ project and workspace files from freecraft\contrib\msvc.zip - into the root freecraft directory.
      • +
      • Extract the VC++ project and workspace files from stratagus\contrib\msvc.zip + into the root stratagus directory.
      • -
      • +
      • Download the VC++ libraries and extract them into the root - freecraft directory. + stratagus directory. -
      • Copy freecraft\contrib\freecraft.ico to freecraft\src. -
      • You should now be able to compile freecraft by opening - the freecraft.dsw file.

        +

      • Copy stratagus\contrib\stratagus.ico to stratagus\src. +
      • You should now be able to compile stratagus by opening + the stratagus.dsw file.

    • Windows CE(tm) / PocketPc(tm) @@ -116,8 +116,8 @@ CE support for Visual C++ or Visual Studio isn't supported yet. If you know how to compile with this, please inform us.
    • You also need the - emVC++ project and - emVC++ workbench for FreeCraft.

      + emVC++ project and + emVC++ workbench for Stratagus.

    @@ -138,36 +138,36 @@ where DIR is the directory to your mounted CD or your installation, (eg, '/cdrom/' or '/mnt/win/war2').

    NOTE: You will need to execute this - script from within your root freecraft directory or + script from within your root stratagus directory or you will run into problems. It will take some time to extract everything.

  • Using FcMP data:

    Download FcMP from the download page and extract it to - the freecraft root directory (where the freecraft + the stratagus root directory (where the stratagus binary exists).
    NOTE if you extract to a different directory, you will need to specify the directory by passing '-d DIR' flag - when you run the freecraft binary, by default the binary + when you run the stratagus binary, by default the binary looks for 'data' in the current directory.

    If you are using the CVS engine, you may need to checkout the 'fcmp' module from CVS. Then edit the locations at the top of 'buildfcmp.sh' and run it, this will create a working FcMP dir called: 'data.fcmp' , you may then rename this to - '$FCDIR/data' where $FCDIR is the directory where the freecraft - binary exists, or run freecraft with the '-d' option.

    + '$FCDIR/data' where $FCDIR is the directory where the stratagus + binary exists, or run stratagus with the '-d' option.

  • Step 4, Run:

    - You may now go into the toplevel freecraft dir and run the binary. Remember, - if the data dir is not './data', you will need to run freecraft with + You may now go into the toplevel stratagus dir and run the binary. Remember, + if the data dir is not './data', you will need to run stratagus with the '-d' option.


    -(C) Copyright 1998-2003 by The FreeCraft Project +(C) Copyright 1998-2003 by The Stratagus Project under the GNU General Public License.
    All trademarks and copyrights on this page are owned by their respective owners.
    diff --git a/doc/media.html b/doc/media.html index 000d49670..93af72a4a 100644 --- a/doc/media.html +++ b/doc/media.html @@ -6,22 +6,22 @@ ---- (c) Copyright 2003 by Nehal Mistry ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - FreeCraft 1.18 Media Documentation + Stratagus 1.18 Media Documentation -

    FreeCraft 1.18 Media Documentation

    +

    Stratagus 1.18 Media Documentation


    Graphics

    @@ -51,7 +51,7 @@

    Sounds

    - Any format of sound will work with FreeCraft, although to save space it is + Any format of sound will work with Stratagus, although to save space it is recommended that you use 16 bit, 22050 kHz, mono format. To save more space, it is recommended that you gzip the file too.

    @@ -61,12 +61,12 @@

    (make-sound "farm-selected" "human/buildings/farm.wav")

    Note how the '.gz' suffix isn't needed in the ccl entry, - the FreeCraft engine detects this automatically.

    + the Stratagus engine detects this automatically.

    You may look through the ccl file for more examples.


    -(C) Copyright 1998-2003 by The FreeCraft Project +(C) Copyright 1998-2003 by The Stratagus Project under the GNU General Public License.
    All trademarks and copyrights on this page are owned by their respective owners.
    diff --git a/doc/scripts/ai.html b/doc/scripts/ai.html index 34255aa75..dc33bf14f 100644 --- a/doc/scripts/ai.html +++ b/doc/scripts/ai.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Artificial Intelligence(AI) + Stratagus Configuration Language Description: Artificial Intelligence(AI) -

    FreeCraft Configuration Language Description: Artificial Intelligence +

    Stratagus Configuration Language Description: Artificial Intelligence (AI)


          ___________		     _________		      _____  __
    @@ -30,12 +30,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -70,7 +70,7 @@

    Intro - Introduction to AI functions and variables

    -Everything around the control of the FreeCraft AI. +Everything around the control of the Stratagus AI.

    Functions

    @@ -1009,5 +1009,5 @@ FIXME: need some complex examples.
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/ccl.html b/doc/scripts/ccl.html index 8274e45a9..ffba4ab51 100644 --- a/doc/scripts/ccl.html +++ b/doc/scripts/ccl.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Content + Stratagus Configuration Language Description: Content -

    FreeCraft Configuration Language Description: Content

    +

    Stratagus Configuration Language Description: Content


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 1998-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 1998-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -42,7 +42,7 @@

    Intro - Introduction to CCL - Craft Configuration Language

    -FreeCraft is a real-time strategy engine. To define +Stratagus is a real-time strategy engine. To define the different games a configuration language is needed.
    I have chosen scheme because it is easy to parse and produces easy to read config files.

    @@ -107,5 +107,5 @@ to finish it or if you need some information just email your request.


    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/config.html b/doc/scripts/config.html index da8b28547..4c561b0c5 100644 --- a/doc/scripts/config.html +++ b/doc/scripts/config.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Config + Stratagus Configuration Language Description: Config -

    FreeCraft Configuration Language Description: Config

    +

    Stratagus Configuration Language Description: Config


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -160,7 +160,7 @@ The Cost of a move it 1 if moving straight, or 2 if moving diagonal.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    alpha-fog-of-war

    @@ -183,7 +183,7 @@ Use alpha style fog of war.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    decoration-on-top

    @@ -206,7 +206,7 @@ Show bars and dots always on top. (Planned feature)

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    health-sprite

    @@ -244,7 +244,7 @@ Show bars and dots always on top. (Planned feature)

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    mana-sprite

    @@ -281,7 +281,7 @@ Show bars and dots always on top. (Planned feature)

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    original-fog-of-war

    @@ -304,7 +304,7 @@ Use original style fog of war.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    reveal-map

    @@ -327,7 +327,7 @@ Reveal the entire map.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    right-button-attacks

    @@ -350,7 +350,7 @@ Reveal the entire map.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    right-button-moves

    @@ -373,7 +373,7 @@ Reveal the entire map.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-all-players-building-limit!

    @@ -402,7 +402,7 @@ Reveal the entire map.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-all-players-food-unit-limit!

    @@ -431,7 +431,7 @@ Reveal the entire map.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-all-players-total-unit-limit!

    @@ -460,14 +460,14 @@ Reveal the entire map.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-brightness!

    Description

    -Change the global game brightness. Use this to adapt FreeCraft to your monitor +Change the global game brightness. Use this to adapt Stratagus to your monitor settings.

    Syntax

    @@ -490,7 +490,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-building-capture!

    @@ -519,7 +519,7 @@ Enable or disable building capture.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-burn-buildings!

    @@ -550,7 +550,7 @@ Enable or disable building capture.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-color-cycle-all!

    @@ -580,14 +580,14 @@ or the circle in the dark portal rotating.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-contrast!

    Description

    -Change the global game contrast. Use this to adapt FreeCraft to your monitor +Change the global game contrast. Use this to adapt Stratagus to your monitor settings.

    Syntax

    @@ -610,7 +610,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-double-click-delay!

    @@ -639,7 +639,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-editor-select-icon!

    @@ -726,7 +726,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-fog-of-war!

    @@ -755,7 +755,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-fog-of-war-brightness!

    @@ -784,7 +784,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-fog-of-war-contrast!

    @@ -813,7 +813,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-fog-of-war-saturation!

    @@ -842,7 +842,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-forest-regeneration!

    @@ -871,7 +871,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-goldmine-depleted!

    @@ -930,7 +930,7 @@ players mine depleted mines and gives them 20% of the default amount of gold.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-hitpoint-regeneration!

    @@ -959,7 +959,7 @@ players mine depleted mines and gives them 20% of the default amount of gold.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-hold-click-delay!

    @@ -988,7 +988,7 @@ players mine depleted mines and gives them 20% of the default amount of gold.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-key-scroll!

    @@ -1017,7 +1017,7 @@ players mine depleted mines and gives them 20% of the default amount of gold.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-key-scroll-speed!

    @@ -1046,7 +1046,7 @@ players mine depleted mines and gives them 20% of the default amount of gold.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-leave-stops!

    @@ -1075,7 +1075,7 @@ players mine depleted mines and gives them 20% of the default amount of gold.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-menu-background!

    @@ -1105,7 +1105,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-menu-background-with-title!

    @@ -1135,7 +1135,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-minimap-terrain!

    @@ -1164,7 +1164,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-mouse-adjust!

    @@ -1193,7 +1193,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-mouse-scale!

    @@ -1222,7 +1222,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-mouse-scroll!

    @@ -1251,7 +1251,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-mouse-scroll-speed!

    @@ -1280,7 +1280,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-original-resources!

    @@ -1309,7 +1309,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-reveal-attacker!

    @@ -1338,7 +1338,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-reverse-map-move!

    @@ -1367,13 +1367,13 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-saturation!

    Description

    -Change the global game saturation. Use this to adapt FreeCraft to your monitor +Change the global game saturation. Use this to adapt Stratagus to your monitor settings.

    Syntax

    @@ -1396,7 +1396,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-selection-style!

    @@ -1425,7 +1425,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-show-attack-range!

    @@ -1454,7 +1454,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-show-command-key!

    @@ -1483,7 +1483,7 @@ settings.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-show-orders!

    @@ -1515,7 +1515,7 @@ orders for 2 seconds.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-show-reaction-range!

    @@ -1544,7 +1544,7 @@ orders for 2 seconds.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-show-sight-range!

    @@ -1573,7 +1573,7 @@ orders for 2 seconds.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-show-tips!

    @@ -1602,7 +1602,7 @@ orders for 2 seconds.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-speed-build!

    @@ -1631,7 +1631,7 @@ Set build speed.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-speed-research!

    @@ -1660,7 +1660,7 @@ Set research speed.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-speed-resources-harvest!

    @@ -1692,7 +1692,7 @@ Set the harvesting speed of a resource.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-speed-resources-return!

    @@ -1724,7 +1724,7 @@ Set the returning speed of a resource.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-speed-train!

    @@ -1753,7 +1753,7 @@ Set train speed.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-speed-upgrade!

    @@ -1782,7 +1782,7 @@ Set upgrade speed.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-speeds!

    @@ -1811,7 +1811,7 @@ Set all speeds.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-title-screen!

    @@ -1834,14 +1834,14 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Example

    -    (set-title-screen! "graphics/ui/freecraft.png")
    +    (set-title-screen! "graphics/ui/stratagus.png")
     

    This is the default title displayed.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-training-queue!

    @@ -1870,7 +1870,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-xp-damage!

    @@ -1899,7 +1899,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    shadow-sprite

    @@ -1936,7 +1936,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-energy-selected-only

    @@ -1959,7 +1959,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-full

    @@ -1982,7 +1982,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-health-bar

    @@ -2005,7 +2005,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-health-dot

    @@ -2028,7 +2028,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-health-horizontal

    @@ -2051,7 +2051,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-health-vertical

    @@ -2074,7 +2074,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-mana-bar

    @@ -2097,7 +2097,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-mana-dot

    @@ -2120,7 +2120,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-mana-horizontal

    @@ -2143,7 +2143,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-mana-vertical

    @@ -2166,7 +2166,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    show-no-full

    @@ -2189,7 +2189,7 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    spell-sprite

    @@ -2226,10 +2226,10 @@ displayed. The image should be a png file with 640x480 8-bit indexed colormap.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/game.html b/doc/scripts/game.html index ed35687c8..fcce56d02 100644 --- a/doc/scripts/game.html +++ b/doc/scripts/game.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Icon + Stratagus Configuration Language Description: Icon -

    FreeCraft Configuration Language Description: Game

    +

    Stratagus Configuration Language Description: Game


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -61,10 +61,10 @@ define-race-names define-ranks diplomacy -freecraft-map +stratagus-map game-cycle -get-freecraft-home-path -get-freecraft-library-path +get-stratagus-home-path +get-stratagus-library-path get-player-resource get-this-player get-unit-unholy-armor @@ -776,8 +776,8 @@ rank is displayed. Scores are expected to be sorted in increasing order. $LIBARYPATH/ccl/wc2.ccl - -

    freecraft-map

    + +

    stratagus-map

    Description

    @@ -785,7 +785,7 @@ rank is displayed. Scores are expected to be sorted in increasing order.

    Syntax

    -(freecraft-map) +(stratagus-map)
    @@ -796,7 +796,7 @@ rank is displayed. Scores are expected to be sorted in increasing order.

    Example

    -    (freecraft-map)
    +    (stratagus-map)
     

    . @@ -832,8 +832,8 @@ Returns the current game cycle.

    Not Used

    - -

    get-freecraft-home-path

    + +

    get-stratagus-home-path

    Description

    @@ -841,7 +841,7 @@ Returns the current game cycle.

    Syntax

    -(get-freecraft-home-path) +(get-stratagus-home-path)
    @@ -852,7 +852,7 @@ Returns the current game cycle.

    Example

    -    (get-freecraft-home-path)
    +    (get-stratagus-home-path)
     

    . @@ -861,8 +861,8 @@ Returns the current game cycle. $LIBARYPATH/ccl/wc2.ccl - -

    get-freecraft-library-path

    + +

    get-stratagus-library-path

    Description

    @@ -870,7 +870,7 @@ Returns the current game cycle.

    Syntax

    -(get-freecraft-library-path) +(get-stratagus-library-path)
    @@ -881,7 +881,7 @@ Returns the current game cycle.

    Example

    -    (get-freecraft-library-path)
    +    (get-stratagus-library-path)
     

    . @@ -1972,5 +1972,5 @@ Show an area on the map for the given player.


    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/icon.html b/doc/scripts/icon.html index 6d0d8ac18..48a1e5ad2 100644 --- a/doc/scripts/icon.html +++ b/doc/scripts/icon.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Icon + Stratagus Configuration Language Description: Icon -

    FreeCraft Configuration Language Description: Icon

    +

    Stratagus Configuration Language Description: Icon


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -239,5 +239,5 @@ number are icons defined.
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/index.html b/doc/scripts/index.html index 131b16df7..abb302974 100644 --- a/doc/scripts/index.html +++ b/doc/scripts/index.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Index + Stratagus Configuration Language Description: Index -

    FreeCraft Configuration Language Description: Index

    +

    Stratagus Configuration Language Description: Index


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -245,15 +245,15 @@
    draw-text-centered
    --> -
    freecraft-map
    +
    stratagus-map
    game-cycle
    get-dependency
    -
    get-freecraft-home-path
    +
    get-stratagus-home-path
    -
    get-freecraft-library-path
    +
    get-stratagus-library-path
    get-player-resource
    @@ -561,6 +561,6 @@ Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/research.html b/doc/scripts/research.html index 55708bde3..a0c326234 100644 --- a/doc/scripts/research.html +++ b/doc/scripts/research.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Icon + Stratagus Configuration Language Description: Icon -

    FreeCraft Configuration Language Description: Research

    +

    Stratagus Configuration Language Description: Research


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -425,5 +425,5 @@ NOT WRITTEN YET.
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/sound.html b/doc/scripts/sound.html index f36867ce7..1cf8e6bfb 100644 --- a/doc/scripts/sound.html +++ b/doc/scripts/sound.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Icon + Stratagus Configuration Language Description: Icon -

    FreeCraft Configuration Language Description: Sound

    +

    Stratagus Configuration Language Description: Sound


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -401,7 +401,7 @@ Set the default menu music.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-music-volume!

    @@ -430,7 +430,7 @@ Set the default menu music.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-sound-range!

    @@ -489,7 +489,7 @@ Global volume support.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-title-music!

    @@ -518,7 +518,7 @@ Change the default title music.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    sound-for-name

    @@ -657,5 +657,5 @@ Returns true if compiled with sound, false otherwise.
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/tileset.html b/doc/scripts/tileset.html index 2cda8a283..29af3b797 100644 --- a/doc/scripts/tileset.html +++ b/doc/scripts/tileset.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Tileset + Stratagus Configuration Language Description: Tileset -

    FreeCraft Configuration Language Description: Tileset

    +

    Stratagus Configuration Language Description: Tileset


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 1998-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 1998-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -136,5 +136,5 @@ FIXME:
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/triggers.html b/doc/scripts/triggers.html index 2dbaa7968..3cfada1e5 100644 --- a/doc/scripts/triggers.html +++ b/doc/scripts/triggers.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: Triggers + Stratagus Configuration Language Description: Triggers -

    FreeCraft Configuration Language Description: Triggers

    +

    Stratagus Configuration Language Description: Triggers


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -94,7 +94,7 @@ The condition player is set to defeat.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    action-draw

    @@ -245,7 +245,7 @@ opponents he won.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    action-wait

    @@ -329,7 +329,7 @@ opponents he won.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    if-elapsed

    @@ -507,7 +507,7 @@ Player has the quantity of opponents.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    if-rescued-near-unit

    @@ -776,7 +776,7 @@ units must control the player for the action.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    if-unit-at

    @@ -838,7 +838,7 @@ Player has the quantity of unit-type at a location.

    Used

    - $LIBARYPATH/ccl/freecraft.ccl + $LIBARYPATH/ccl/stratagus.ccl

    set-trigger-number!

    @@ -869,5 +869,5 @@ Set the current trigger number.
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/ui.html b/doc/scripts/ui.html index 11b18e026..ac2083fce 100644 --- a/doc/scripts/ui.html +++ b/doc/scripts/ui.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: User Interface (UI) + Stratagus Configuration Language Description: User Interface (UI) -

    FreeCraft Configuration Language Description: User Interface (UI)

    +

    Stratagus Configuration Language Description: User Interface (UI)


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -154,7 +154,7 @@ during startup.
    hot-spot
    Hot spot of the cursor in pixels. Relative to the sprite origin (0,0). The -hot spot of a cursor is the point to which FreeCraft refers in tracking the +hot spot of a cursor is the point to which Stratagus refers in tracking the cursor's position.
    size
    @@ -425,7 +425,7 @@ Display a picture.

    Example

    -    (display-picture "graphics/ui/freecraft.png")
    +    (display-picture "graphics/ui/stratagus.png")
     

    Displays the picture. @@ -489,6 +489,6 @@ Set the game cursor.


    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/scripts/unittype.html b/doc/scripts/unittype.html index 63d4b94f1..27588b885 100644 --- a/doc/scripts/unittype.html +++ b/doc/scripts/unittype.html @@ -3,23 +3,23 @@ - FreeCraft Configuration Language Description: UnitType + Stratagus Configuration Language Description: UnitType -

    FreeCraft Configuration Language Description: UnitType

    +

    Stratagus Configuration Language Description: UnitType


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -29,12 +29,12 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 1998-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 1998-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    -FreeCraft +Stratagus Readme FAQ CCL @@ -613,5 +613,5 @@ Get all unit-type structures.
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    (c) 2002-2003 by -The FreeCraft Project
    +
    (c) 2002-2003 by +The Stratagus Project
    diff --git a/doc/todo.html b/doc/todo.html index 141fe23a7..1fb9ff322 100644 --- a/doc/todo.html +++ b/doc/todo.html @@ -5,19 +5,19 @@ ---- (c) Copyright 2001-2003 by Lutz Sammer ----- FreeCraft is free software; you can redistribute it and/or modify +---- Stratagus is free software; you can redistribute it and/or modify ---- it under the terms of the GNU General Public License as published by ---- the Free Software Foundation; only version 2 of the License. ----- FreeCraft is distributed in the hope that it will be useful, +---- Stratagus is distributed in the hope that it will be useful, ---- but WITHOUT ANY WARRANTY; without even the implied warranty of ---- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ---- GNU General Public License for more details. --> - TODO for FreeCraft Version 1.18 + TODO for Stratagus Version 1.18 -

    TODO for FreeCraft Version 1.18

    +

    TODO for Stratagus Version 1.18


          ___________		     _________		      _____  __
          \_	  _____/______   ____   ____ \_   ___ \____________ _/ ____\/  |_
    @@ -27,9 +27,9 @@
     	  \/		    \/	   \/	     \/		   \/
         ______________________                           ______________________
     			  T H E   W A R   B E G I N S
    -	   FreeCraft - A free fantasy real time strategy game engine
    +	   Stratagus - A free fantasy real time strategy game engine
     
    -

    (C) Copyright 1998-2003 by The FreeCraft Project. Distributed under the +

    (C) Copyright 1998-2003 by The Stratagus Project. Distributed under the "GNU General Public License"


    @@ -251,5 +251,5 @@ http://sourceforge.net/tracker/?func=add&group_id=1965&atid=351965
    Last changed: $Id$
    All trademarks and copyrights on this page are owned by their respective owners. -
    The FreeCraft Project +
    The Stratagus Project
    diff --git a/doc/trigger.txt b/doc/trigger.txt index a20f88213..24e431c4c 100644 --- a/doc/trigger.txt +++ b/doc/trigger.txt @@ -6,8 +6,8 @@ \/ \/ \/ \/ \/ ______________________ ______________________ T H E W A R B E G I N S - FreeCraft - A free fantasy real time strategy game engine - (C) Copyright 2002-2003 by The FreeCraft Project. Distributed under the GPL. + Stratagus - A free fantasy real time strategy game engine + (C) Copyright 2002-2003 by The Stratagus Project. Distributed under the GPL. $Id$ diff --git a/etlib/Module.make b/etlib/Module.make index 665fe9daf..2ab5547ff 100644 --- a/etlib/Module.make +++ b/etlib/Module.make @@ -6,17 +6,17 @@ ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## ## Module.make - Module Makefile (included from Makefile). ## ## (c) Copyright 2002 by Nehal Mistry ## -## FreeCraft is free software; you can redistribute it and/or modify +## Stratagus is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published ## by the Free Software Foundation; only version 2 of the License. ## -## FreeCraft is distributed in the hope that it will be useful, +## Stratagus is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. diff --git a/setup b/setup index 23ea42bc3..2fd1a3d01 100755 --- a/setup +++ b/setup @@ -7,18 +7,18 @@ ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## ## setup - Configure Rules.make (GNU MAKE rules). ## ## (c) Copyright 2000-2003 by Dan Hensley, Nehal Mistry. ## Optimization section by Patrick McFarland. ## -## FreeCraft is free software; you can redistribute it and/or modify +## Stratagus is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published ## by the Free Software Foundation; only version 2 of the License. ## -## FreeCraft is distributed in the hope that it will be useful, +## Stratagus is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. @@ -60,7 +60,7 @@ EXTRA_LDFLAGS="$LDFLAGS" ##----------------------------------------------------------------------------- # if your system/distribution lacks libpng, you may install the source -# in the freecraft directory and name that directory here! +# in the stratagus directory and name that directory here! # Default (tested) version is 1.0.12, anything above should also be ok. # Adjust as required - ignored if the directory does not exist. LOCAL_PNG="libpng-1.0.12" @@ -69,15 +69,15 @@ LOCAL_PNG="libpng-1.0.12" # you might additionally need to install the following: # if your system/distribution lacks libz, you may install the source -# in the freecraft directory and name that directory here! +# in the stratagus directory and name that directory here! # Default (tested) version is 1.1.4, anything above should also be ok. # Adjust as required - ONLY USED IF SYSTEM HAS NO ZLIB INSTALLED BY DEFAULT! LOCAL_ZLIB="zlib-1.1.4" -BEOS_CONFIGFILE=/boot/home/config/settings/FreeCraft/FreeCraft.cfg +BEOS_CONFIGFILE=/boot/home/config/settings/Stratagus/Stratagus.cfg ##----------------------------------------------------------------------------- -## Everything below this line should only be changed by FreeCraft developers. +## Everything below this line should only be changed by Stratagus developers. if [ "`echo $* | grep \"\-\-win32\"`" = "" ]; then RULESFILE=Rules.make @@ -101,7 +101,7 @@ cat << .. > $RULESFILE ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## .. @@ -169,9 +169,9 @@ while test $# != 0 ; do echo "usage: setup [--static] [--unix] [--beos] [--win32] [--darwin] [--debug] [--profile]" echo echo "Setup will create a Rules.make file (or Rules.make.WIN32" - echo "if --win32 forced) that Freecraft needs to compile." + echo "if --win32 forced) that Stratagus needs to compile." echo "Supported command-line arguments (you may use more than one at a time):" - echo " static : Compile Freecraft using static libraries (default dynamic)" + echo " static : Compile Stratagus using static libraries (default dynamic)" echo " unix : Force Unix/Linux compile options (default auto check)" echo " beos : Force BeOS compile options (default auto check)" echo " win32 : Force WIN32 compile options (default auto check)" @@ -355,9 +355,9 @@ else echo echo "...You do not appear to have a working PNG library installed!" echo - echo "libpng is required for freecraft to compile. Please " + echo "libpng is required for stratagus to compile. Please " echo "refer to the LOCAL_PNG section in the setup script to " - echo "find out how to install a local copy to compile freecraft." + echo "find out how to install a local copy to compile stratagus." echo echo "Please also note that the PNG library most likely also" echo "requires the GZIP compression library. If you are sure" @@ -469,7 +469,7 @@ else if [ "$HAVESDL" = 1 ] ; then VIDSEL="S" else - echo "FreeCraft on BeOS currently only supports SDL for video" + echo "Stratagus on BeOS currently only supports SDL for video" echo "Please install SDL and try again." exit -1 fi @@ -811,8 +811,8 @@ echo "" >> $RULESFILE if [ "$DEBUG" != 1 ] ; then echo - echo "Debug Support allows you to debug Freecraft more easily, but disables a lot of" - echo "optimization support, which may cause Freecraft to run much slower." + echo "Debug Support allows you to debug Stratagus more easily, but disables a lot of" + echo "optimization support, which may cause Stratagus to run much slower." echo echo -n "Would you like debug support? (n): " read $N DEBUGASK @@ -844,9 +844,9 @@ if [ "$DEBUG" != 1 ] && [ "$WIN32" != 1 ]; then echo Compiler is $CC $CCMAJOR.$CCMINOR.$CCREALLYMINOR echo echo "This autoconfiguring program allows you to tell GCC to use different" - echo "optimizations, based on how stable you want Freecraft. The higher the" - echo "optimization, the more unstable Freecraft is. High Optimization also" - echo "may cause Freecraft to fail to compile, but usually doesnt. High" + echo "optimizations, based on how stable you want Stratagus. The higher the" + echo "optimization, the more unstable Stratagus is. High Optimization also" + echo "may cause Stratagus to fail to compile, but usually doesnt. High" echo "Optimization will also increase compile times." echo echo "Which Optimization Mode do you wish to use?" @@ -872,7 +872,7 @@ if [ "$DEBUG" != 1 ] && [ "$WIN32" != 1 ]; then echo echo "Specific Processor Optimization:" echo - echo "You can additionally optimize Freecraft, depending on what architecture" + echo "You can additionally optimize Stratagus, depending on what architecture" echo "(target machine) you run. If you dont know, or your target" echo "machine isnt listed, simply press enter." echo @@ -1037,7 +1037,7 @@ if [ "$BEOS" != 1 ] ; then # Libraries needed to build tools echo "TOOLLIBS=\$(XLDFLAGS) -lpng -lz -lm \$(THREADLIB)" >> $RULESFILE - # Libraries needed to build freecraft + # Libraries needed to build stratagus echo "STRATAGUS_LIBS=$STRATAGUS_LIBS \$(XLDFLAGS) -lpng -lz -lm \\" >> $RULESFILE echo " \$(THREADLIB) \$(CCLLIB) \$(VIDEOLIB) \$(ZLIBS) \\" >> $RULESFILE echo " \$(ARTSCLIB) \$(FLACLIB) \$(OGGLIB) \$(MP3LIB) \\" >> $RULESFILE @@ -1046,7 +1046,7 @@ if [ "$BEOS" != 1 ] ; then # Libraries needed to build tools echo "TOOLLIBS=\$(XLDFLAGS) -lpng -lz \$(THREADLIB)" >> $RULESFILE - # Libraries needed to build freecraft + # Libraries needed to build stratagus echo "STRATAGUS_LIBS=\$(XLDFLAGS) -lpng -lz \\" >> $RULESFILE echo " \$(THREADLIB) \$(CCLLIB) \$(VIDEOLIB) \$(ZLIBS)" >> $RULESFILE fi @@ -1054,7 +1054,7 @@ else # Libraries needed to build tools echo "TOOLLIBS=\$(XLDFLAGS) -lpng -lz \$(THREADLIB)" >> $RULESFILE - # Libraries needed to build freecraft + # Libraries needed to build stratagus echo "STRATAGUS_LIBS=\$(XLDFLAGS) -lpng -lz \\" >> $RULESFILE echo " \$(THREADLIB) \$(CCLLIB) \$(VIDEOLIB) \$(ZLIBS)" >> $RULESFILE fi @@ -1068,7 +1068,7 @@ echo >> $RULESFILE if test "$WIN32" = 1 ; then echo "# Win32" >> $RULESFILE echo "EXE=.exe" >> $RULESFILE - echo "OUTFILE=\$(TOPDIR)/freecraft\$(EXE)" >> $RULESFILE + echo "OUTFILE=\$(TOPDIR)/stratagus\$(EXE)" >> $RULESFILE echo "ARCH=win32" >> $RULESFILE echo "OE=o" >> $RULESFILE echo "OBJDIR=winobj" >> $RULESFILE @@ -1076,7 +1076,7 @@ else # LINUX echo "# Linux" >> $RULESFILE echo "EXE=" >> $RULESFILE - echo "OUTFILE=\$(TOPDIR)/freecraft" >> $RULESFILE + echo "OUTFILE=\$(TOPDIR)/stratagus" >> $RULESFILE echo "ARCH=linux" >> $RULESFILE echo "OE=o" >> $RULESFILE echo "OBJDIR=obj" >> $RULESFILE @@ -1154,7 +1154,7 @@ echo case $ANSWER in [nN]) echo - echo "Done generating $RULESFILE. Type '$MAKE $DEPEND && $MAKE$CROSS' to compile freecraft." + echo "Done generating $RULESFILE. Type '$MAKE $DEPEND && $MAKE$CROSS' to compile stratagus." echo ;; *) diff --git a/src/action/Module.make b/src/action/Module.make index c6d8824bf..e56513559 100644 --- a/src/action/Module.make +++ b/src/action/Module.make @@ -6,17 +6,17 @@ ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## ## Module.make - Module Makefile (included from Makefile). ## ## (c) Copyright 2002 by Nehal Mistry ## -## FreeCraft is free software; you can redistribute it and/or modify +## Stratagus is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published ## by the Free Software Foundation; only version 2 of the License. ## -## FreeCraft is distributed in the hope that it will be useful, +## Stratagus is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. diff --git a/src/action/action_attack.cpp b/src/action/action_attack.cpp index c7938fd89..3658d1ef6 100644 --- a/src/action/action_attack.cpp +++ b/src/action/action_attack.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_attack.c - The attack action. */ // // (c) Copyright 1998-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -37,7 +37,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_board.cpp b/src/action/action_board.cpp index 79df6f9e9..d1c3e0529 100644 --- a/src/action/action_board.cpp +++ b/src/action/action_board.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_board.c - The board action. */ // // (c) Copyright 1998,2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_build.cpp b/src/action/action_build.cpp index 29293be75..2f9574673 100644 --- a/src/action/action_build.cpp +++ b/src/action/action_build.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_build.c - The build building action. */ // // (c) Copyright 1998,2000-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_demolish.cpp b/src/action/action_demolish.cpp index 211900586..a3f07ccb8 100644 --- a/src/action/action_demolish.cpp +++ b/src/action/action_demolish.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_demolish.c - The demolish action. */ // // (c) Copyright 1999-2001 by Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_die.cpp b/src/action/action_die.cpp index 9959b883c..353274b1b 100644 --- a/src/action/action_die.cpp +++ b/src/action/action_die.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_die.c - The die action. */ // // (c) Copyright 1998,2000,2001,2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_follow.cpp b/src/action/action_follow.cpp index 9a9836586..3374c7286 100644 --- a/src/action/action_follow.cpp +++ b/src/action/action_follow.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_follow.c - The follow action. */ // // (c) Copyright 2001-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "pathfinder.h" #include "interface.h" diff --git a/src/action/action_harvest.cpp b/src/action/action_harvest.cpp index dce5a8a6a..da14adc5d 100644 --- a/src/action/action_harvest.cpp +++ b/src/action/action_harvest.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_harvest.c - The harvest action. */ // // (c) Copyright 1998-2001,2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_minegold.cpp b/src/action/action_minegold.cpp index 1a09e776f..c7905ae36 100644 --- a/src/action/action_minegold.cpp +++ b/src/action/action_minegold.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_minegold.c - The mine gold action. */ // // (c) Copyright 1998-2003 by Lutz Sammer, Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_move.cpp b/src/action/action_move.cpp index 67c6a3e6c..551082cb9 100644 --- a/src/action/action_move.cpp +++ b/src/action/action_move.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_move.c - The move action. */ // // (c) Copyright 1998,2001,2002,2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; either only 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "unittype.h" #include "player.h" diff --git a/src/action/action_patrol.cpp b/src/action/action_patrol.cpp index 90b7bd308..7521ba701 100644 --- a/src/action/action_patrol.cpp +++ b/src/action/action_patrol.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_patrol.c - The patrol action. */ // // (c) Copyright 1998,2000,2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "actions.h" #include "pathfinder.h" diff --git a/src/action/action_repair.cpp b/src/action/action_repair.cpp index 0600fbdf2..9972b5f4e 100644 --- a/src/action/action_repair.cpp +++ b/src/action/action_repair.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_repair.c - The repair action. */ // // (c) Copyright 1999-2002 by Vladi Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_research.cpp b/src/action/action_research.cpp index 5ec423e98..331d8f5b8 100644 --- a/src/action/action_research.cpp +++ b/src/action/action_research.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_research.c - The research action. */ // // (c) Copyright 1998,2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "sound_id.h" #include "unitsound.h" diff --git a/src/action/action_resource.cpp b/src/action/action_resource.cpp index a27008d77..322c2bb78 100644 --- a/src/action/action_resource.cpp +++ b/src/action/action_resource.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_resource.c - The generic resource action. */ // // (c) Copyright 2001-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "player.h" #include "unit.h" #include "unittype.h" diff --git a/src/action/action_returngoods.cpp b/src/action/action_returngoods.cpp index a4fc9bca2..da4350d82 100644 --- a/src/action/action_returngoods.cpp +++ b/src/action/action_returngoods.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_returngoods.c - The return goods action. */ // // (c) Copyright 1998,2000,2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "sound_id.h" #include "unitsound.h" diff --git a/src/action/action_spellcast.cpp b/src/action/action_spellcast.cpp index ef98560df..ff427e20f 100644 --- a/src/action/action_spellcast.cpp +++ b/src/action/action_spellcast.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_spellcast.c - The spell cast action. */ // // (c) Copyright 2000-2002 by Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -37,7 +37,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "unittype.h" #include "player.h" diff --git a/src/action/action_stand.cpp b/src/action/action_stand.cpp index f88fb269e..1f1918bff 100644 --- a/src/action/action_stand.cpp +++ b/src/action/action_stand.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_stand.c - The stand ground action. */ // // (c) Copyright 2000,2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "actions.h" diff --git a/src/action/action_still.cpp b/src/action/action_still.cpp index aeeaf6d0c..01f57d4ed 100644 --- a/src/action/action_still.cpp +++ b/src/action/action_still.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_still.c - The stand still action. */ // // (c) Copyright 1998,2000-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "missile.h" #include "unittype.h" diff --git a/src/action/action_train.cpp b/src/action/action_train.cpp index 7b6777249..7624e22c7 100644 --- a/src/action/action_train.cpp +++ b/src/action/action_train.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_train.c - The building train action. */ // // (c) Copyright 1998,2000-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "sound_id.h" #include "unitsound.h" diff --git a/src/action/action_unload.cpp b/src/action/action_unload.cpp index 7b0171068..b5589c775 100644 --- a/src/action/action_unload.cpp +++ b/src/action/action_unload.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_unload.c - The unload action. */ // // (c) Copyright 1998,2000-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/action/action_upgradeto.cpp b/src/action/action_upgradeto.cpp index 12c7ff37b..3d2ddc4df 100644 --- a/src/action/action_upgradeto.cpp +++ b/src/action/action_upgradeto.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name action_upgradeto.c - The unit upgrading to new action. */ // // (c) Copyright 1998,2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "player.h" #include "unittype.h" #include "unit.h" diff --git a/src/action/actions.cpp b/src/action/actions.cpp index bbc99a81f..ef76f9b91 100644 --- a/src/action/actions.cpp +++ b/src/action/actions.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name actions.c - The actions. */ // // (c) Copyright 1998,2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "unittype.h" #include "player.h" @@ -412,7 +412,7 @@ global void UnitActions(void) if( !logf ) { return; } - fprintf(logf,";;; Log file generated by FreeCraft Version " + fprintf(logf,";;; Log file generated by Stratagus Version " VERSION "\n"); time(&now); fprintf(logf,";;;\tDate: %s",ctime(&now)); diff --git a/src/action/command.cpp b/src/action/command.cpp index a5c64774c..17cd21c54 100644 --- a/src/action/command.cpp +++ b/src/action/command.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name command.c - Give units a command. */ // // (c) Copyright 1998,2000-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/ai/ai.cpp b/src/ai/ai.cpp index 59fc235a8..300d75b4f 100644 --- a/src/ai/ai.cpp +++ b/src/ai/ai.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name new_ai.c - The new computer player AI main file. */ // // (c) Copyright 2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -38,7 +38,7 @@ ** ** @section aibasics What is it? ** -** FreeCraft uses a very simple scripted AI. There are no optimizations +** Stratagus uses a very simple scripted AI. There are no optimizations ** yet. The complete AI was written on one weekend. ** Until no AI specialist joins, I keep this AI. ** @@ -133,7 +133,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "player.h" #include "unit.h" diff --git a/src/ai/ai_building.cpp b/src/ai/ai_building.cpp index 66b442506..7cd628524 100644 --- a/src/ai/ai_building.cpp +++ b/src/ai/ai_building.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai_building.c - AI building functions. */ // // (c) Copyright 2001,2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "map.h" diff --git a/src/ai/ai_force.cpp b/src/ai/ai_force.cpp index 7b7042862..d54fc3958 100644 --- a/src/ai/ai_force.cpp +++ b/src/ai/ai_force.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai_force.c - AI force functions. */ // // (c) Copyright 2001-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -35,7 +35,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "unit.h" diff --git a/src/ai/ai_local.h b/src/ai/ai_local.h index e48320e11..7ac1363e1 100644 --- a/src/ai/ai_local.h +++ b/src/ai/ai_local.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai_local.h - The local AI header file. */ // // (c) Copyright 2000-2003 by Lutz Sammer and Antonis Chaniotis. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/ai/ai_magic.cpp b/src/ai/ai_magic.cpp index 2e2a27310..418411119 100644 --- a/src/ai/ai_magic.cpp +++ b/src/ai/ai_magic.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai_magic.c - AI magic functions. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "unit.h" diff --git a/src/ai/ai_plan.cpp b/src/ai/ai_plan.cpp index 15626648e..f13b7ff32 100644 --- a/src/ai/ai_plan.cpp +++ b/src/ai/ai_plan.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai_plan.c - AI planning functions. */ // // (c) Copyright 2002-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "missile.h" #include "unittype.h" diff --git a/src/ai/ai_resource.cpp b/src/ai/ai_resource.cpp index f8e3d9c45..80d9f9ebc 100644 --- a/src/ai/ai_resource.cpp +++ b/src/ai/ai_resource.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai_resource.c - AI resource manager. */ // // (c) Copyright 2000-2002 by Lutz Sammer and Antonis Chaniotis. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "map.h" diff --git a/src/ai/old_ai.cpp b/src/ai/old_ai.cpp index 16d77631d..ddeb5a18d 100644 --- a/src/ai/old_ai.cpp +++ b/src/ai/old_ai.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai.c - The computer player AI main file. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -25,7 +25,7 @@ //@{ -#include "freecraft.h" +#include "stratagus.h" #ifndef NEW_AI // { diff --git a/src/ai/script_ai.cpp b/src/ai/script_ai.cpp index af339d794..019db4105 100644 --- a/src/ai/script_ai.cpp +++ b/src/ai/script_ai.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_ai.c - The AI ccl functions. */ // // (c) Copyright 2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "ccl.h" #include "ai.h" diff --git a/src/beos/beos.c b/src/beos/beos.c index ff193bb98..68faf8bea 100644 --- a/src/beos/beos.c +++ b/src/beos/beos.c @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name beos.c - The BeOS functions */ // // (c) Copyright 2000,2001 by Kenneth Sanislo // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ -- Includes ----------------------------------------------------------------------------*/ -#include "freecraft.h" +#include "stratagus.h" #ifdef USE_BEOS diff --git a/src/beos/beos.cpp b/src/beos/beos.cpp index 437c3cf20..87bb825fd 100644 --- a/src/beos/beos.cpp +++ b/src/beos/beos.cpp @@ -6,7 +6,7 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name beos.cpp - The BeOS functions */ // diff --git a/src/editor/editloop.cpp b/src/editor/editloop.cpp index 8d6882900..b9c52a177 100644 --- a/src/editor/editloop.cpp +++ b/src/editor/editloop.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name editloop.c - The editor main loop. */ // // (c) Copyright 2002-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "map.h" #include "minimap.h" diff --git a/src/editor/editor.cpp b/src/editor/editor.cpp index 44b8eaf20..1e87f5255 100644 --- a/src/editor/editor.cpp +++ b/src/editor/editor.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name editor.c - Editor functions. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ /** ** @page EditorModule Module - Editor ** -** This is a very simple editor for the FreeCraft engine. +** This is a very simple editor for the Stratagus engine. ** ** @section Missing Missing features ** @@ -53,7 +53,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" /*---------------------------------------------------------------------------- -- Defines diff --git a/src/editor/edmap.cpp b/src/editor/edmap.cpp index 9e971ce28..2cd80dad2 100644 --- a/src/editor/edmap.cpp +++ b/src/editor/edmap.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name edmap.c - Editor map functions. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "editor.h" #include "map.h" #include "minimap.h" diff --git a/src/editor/script_editor.cpp b/src/editor/script_editor.cpp index f3b5b58dd..49677ce8f 100644 --- a/src/editor/script_editor.cpp +++ b/src/editor/script_editor.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_editor.c - Editor CCL functions. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "editor.h" #include "ccl.h" diff --git a/src/game/campaign.cpp b/src/game/campaign.cpp index 6c6918b4f..07ff67561 100644 --- a/src/game/campaign.cpp +++ b/src/game/campaign.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name campaign.c - The campaign control. */ // // (c) Copyright 2002-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include #include -#include "freecraft.h" +#include "stratagus.h" #include "ccl.h" #include "unittype.h" #include "map.h" diff --git a/src/game/game.cpp b/src/game/game.cpp index 6d387ec18..3d53e69e4 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name game.c - The game set-up and creation. */ // // (c) Copyright 1998-2003 by Lutz Sammer, Andreas Arens, and // Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "minimap.h" #include "player.h" @@ -77,18 +77,18 @@ global int lcm_prevent_recurse; /// prevent recursion through LoadGameMap ----------------------------------------------------------------------------*/ /** -** Load a FreeCraft map. +** Load a Stratagus map. ** ** @param filename map filename ** @param map map loaded */ -local void LoadFreeCraftMap(const char* filename, +local void LoadStratagusMap(const char* filename, WorldMap* map __attribute__((unused))) { DebugLevel3Fn("%p \n" _C_ map); if (lcm_prevent_recurse) { - fprintf(stderr,"recursive use of load FreeCraft map!\n"); + fprintf(stderr,"recursive use of load Stratagus map!\n"); ExitFatal(-1); } InitPlayers(); @@ -99,13 +99,13 @@ local void LoadFreeCraftMap(const char* filename, #if 0 // Not true if multiplayer levels! if (!ThisPlayer) { /// ARI: bomb if nothing was loaded! - fprintf(stderr,"%s: invalid FreeCraft map\n", filename); + fprintf(stderr,"%s: invalid Stratagus map\n", filename); ExitFatal(-1); } // FIXME: Retrieve map->Info from somewhere... If LoadPud is used in CCL it magically is set there :) #endif if( !TheMap.Width || !TheMap.Height ) { - fprintf(stderr,"%s: invalid FreeCraft map\n", filename); + fprintf(stderr,"%s: invalid Stratagus map\n", filename); ExitFatal(-1); } } @@ -142,7 +142,7 @@ local void LoadMap(const char* filename,WorldMap* map) || !strcmp(tmp,".cm.bz2") #endif ) { - LoadFreeCraftMap(filename,map); + LoadStratagusMap(filename,map); return; } } @@ -282,7 +282,7 @@ global void CreateGame(char* filename, WorldMap* map) // FIXME: LibraryFile here? strcpy(CurrentMapPath, filename); if (filename[0] != '/' && filename[0] != '.') { - s = filename = strdcat3(FreeCraftLibPath, "/", filename); + s = filename = strdcat3(StratagusLibPath, "/", filename); } // @@ -389,7 +389,7 @@ global void CreateGame(char* filename, WorldMap* map) // Graphic part // LoadRGB(GlobalPalette, - s=strdcat3(FreeCraftLibPath,"/graphics/", + s=strdcat3(StratagusLibPath,"/graphics/", TheMap.Tileset->PaletteFile)); free(s); VideoCreatePalette(GlobalPalette); diff --git a/src/game/intro.cpp b/src/game/intro.cpp index 1763b01f8..20c77cfde 100644 --- a/src/game/intro.cpp +++ b/src/game/intro.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name intro.c - The game intros. */ // // (c) Copyright 2002-2003 by Lutz Sammer and Jimmy Salmon. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include #include -#include "freecraft.h" +#include "stratagus.h" #include "iolib.h" #include "video.h" #include "font.h" diff --git a/src/game/loadgame.cpp b/src/game/loadgame.cpp index 5047463e1..dba3d168b 100644 --- a/src/game/loadgame.cpp +++ b/src/game/loadgame.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name loadgame.c - Load game. */ // // (c) Copyright 2001-2003 by Lutz Sammer, Andreas Arens // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "icons.h" #include "cursor.h" #include "construct.h" @@ -189,7 +189,7 @@ global void LoadModules(void) #endif LoadRGB(GlobalPalette, - s=strdcat3(FreeCraftLibPath,"/graphics/", + s=strdcat3(StratagusLibPath,"/graphics/", TheMap.Tileset->PaletteFile)); free(s); VideoCreatePalette(GlobalPalette); @@ -244,14 +244,14 @@ global void LoadGame(char* filename) global void LoadAll(void) { #if 1 - SaveGame("save_file_of_freecraft0.ccl"); - LoadGame("save_file_of_freecraft0.ccl"); - SaveGame("save_file_of_freecraft1.ccl"); - LoadGame("save_file_of_freecraft1.ccl"); - SaveGame("save_file_of_freecraft2.ccl"); - LoadGame("save_file_of_freecraft2.ccl"); + SaveGame("save_file_of_stratagus0.ccl"); + LoadGame("save_file_of_stratagus0.ccl"); + SaveGame("save_file_of_stratagus1.ccl"); + LoadGame("save_file_of_stratagus1.ccl"); + SaveGame("save_file_of_stratagus2.ccl"); + LoadGame("save_file_of_stratagus2.ccl"); #endif - //LoadGame ("save_file_of_freecraft.ccl"); + //LoadGame ("save_file_of_stratagus.ccl"); } //@} diff --git a/src/game/savegame.cpp b/src/game/savegame.cpp index d4763b822..491d9d543 100644 --- a/src/game/savegame.cpp +++ b/src/game/savegame.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name savegame.c - Save game. */ // // (c) Copyright 2001,2002 by Lutz Sammer, Andreas Arens // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #endif -#include "freecraft.h" +#include "stratagus.h" #include "icons.h" #include "ui.h" @@ -93,16 +93,16 @@ global void SaveGame(const char* filename) // Parseable header // fprintf(file,";;;(save-game\n"); - fprintf(file,";;; 'comment\t\"Generated by FreeCraft Version " VERSION "\"\n"); - fprintf(file,";;; 'comment\t\"Visit http://FreeCraft.Org for more informations\"\n"); + fprintf(file,";;; 'comment\t\"Generated by Stratagus Version " VERSION "\"\n"); + fprintf(file,";;; 'comment\t\"Visit http://Stratagus.Org for more informations\"\n"); fprintf(file,";;; 'comment\t\"$Id$\"\n"); fprintf(file,";;; 'type\t\"%s\"\n","single-player"); fprintf(file,";;; 'date\t\"%s\"\n",s); fprintf(file,";;; 'map\t\"%s\"\n",TheMap.Description); fprintf(file,";;; 'engine\t'(%d %d %d)\n", - FreeCraftMajorVersion,FreeCraftMinorVersion,FreeCraftPatchLevel); + StratagusMajorVersion,StratagusMinorVersion,StratagusPatchLevel); fprintf(file,";;; 'savefile\t'(%d %d %d)\n", - FreeCraftMajorVersion,FreeCraftMinorVersion,FreeCraftPatchLevel); + StratagusMajorVersion,StratagusMinorVersion,StratagusPatchLevel); // Save media type { SCM var; fprintf(file,";;; 'media\t'"); diff --git a/src/game/trigger.cpp b/src/game/trigger.cpp index dfd13296a..fab12f03d 100644 --- a/src/game/trigger.cpp +++ b/src/game/trigger.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name trigger.c - The trigger handling. */ // // (c) Copyright 2002-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include #include -#include "freecraft.h" +#include "stratagus.h" #include "ccl.h" #include "unittype.h" diff --git a/src/include/Module.make b/src/include/Module.make index 4b0760568..1f2670bef 100644 --- a/src/include/Module.make +++ b/src/include/Module.make @@ -1,2 +1,2 @@ -HDRS += src/include/actions.h src/include/ai.h src/include/avi.h src/include/campaign.h src/include/ccl.h src/include/ccl_sound.h src/include/cdaudio.h src/include/commands.h src/include/construct.h src/include/cursor.h src/include/deco.h src/include/depend.h src/include/editor.h src/include/fc_types.h src/include/font.h src/include/freecraft.h src/include/icons.h src/include/interface.h src/include/iocompat.h src/include/iolib.h src/include/libcda.h src/include/map.h src/include/master.h src/include/menus.h src/include/minimap.h src/include/missile.h src/include/movie.h src/include/mpq.h src/include/myendian.h src/include/net_lowlevel.h src/include/netconnect.h src/include/network.h src/include/pathfinder.h src/include/player.h src/include/pud.h src/include/rdtsc.h src/include/settings.h src/include/siod.h src/include/siodp.h src/include/sound.h src/include/sound_id.h src/include/sound_server.h src/include/spells.h src/include/tileset.h src/include/trigger.h src/include/ui.h src/include/unit.h src/include/unitsound.h src/include/unittype.h src/include/upgrade.h src/include/upgrade_structs.h src/include/video.h src/include/wav.h +HDRS += src/include/actions.h src/include/ai.h src/include/avi.h src/include/campaign.h src/include/ccl.h src/include/ccl_sound.h src/include/cdaudio.h src/include/commands.h src/include/construct.h src/include/cursor.h src/include/deco.h src/include/depend.h src/include/editor.h src/include/fc_types.h src/include/font.h src/include/stratagus.h src/include/icons.h src/include/interface.h src/include/iocompat.h src/include/iolib.h src/include/libcda.h src/include/map.h src/include/master.h src/include/menus.h src/include/minimap.h src/include/missile.h src/include/movie.h src/include/mpq.h src/include/myendian.h src/include/net_lowlevel.h src/include/netconnect.h src/include/network.h src/include/pathfinder.h src/include/player.h src/include/pud.h src/include/rdtsc.h src/include/settings.h src/include/siod.h src/include/siodp.h src/include/sound.h src/include/sound_id.h src/include/sound_server.h src/include/spells.h src/include/tileset.h src/include/trigger.h src/include/ui.h src/include/unit.h src/include/unitsound.h src/include/unittype.h src/include/upgrade.h src/include/upgrade_structs.h src/include/video.h src/include/wav.h HDRS += src/include/etlib/dllist.h src/include/etlib/generic.h src/include/etlib/hash.h src/include/etlib/xmalloc.h diff --git a/src/include/actions.h b/src/include/actions.h index aea4433fb..01821d3bc 100644 --- a/src/include/actions.h +++ b/src/include/actions.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name actions.h - The actions headerfile. */ // // (c) Copyright 1998-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/ai.h b/src/include/ai.h index 81d241a5d..9a43fd654 100644 --- a/src/include/ai.h +++ b/src/include/ai.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ai.h - The ai headerfile. */ // // (c) Copyright 1998-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/avi.h b/src/include/avi.h index 577e9a549..ffb8bb8a2 100644 --- a/src/include/avi.h +++ b/src/include/avi.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name avi.h - avi support */ // // (c) Copyright 2002 by Lutz Sammer. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/campaign.h b/src/include/campaign.h index 78995881b..2b198dd92 100644 --- a/src/include/campaign.h +++ b/src/include/campaign.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name campaign.h - The campaign headerfile. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/cdaudio.h b/src/include/cdaudio.h index efec75dab..cdc183c61 100644 --- a/src/include/cdaudio.h +++ b/src/include/cdaudio.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name cdaudio.h - cd audio header file. */ // // (c) Copyright 2003 by Nehal Mistry // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/commands.h b/src/include/commands.h index d28af9883..499925647 100644 --- a/src/include/commands.h +++ b/src/include/commands.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name commands.h - The commands header file. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/construct.h b/src/include/construct.h index f17df9ccb..1e7b4f5b7 100644 --- a/src/include/construct.h +++ b/src/include/construct.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name construct.h - The constructions headerfile. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/cursor.h b/src/include/cursor.h index 9e7b00e39..7fd5f9da3 100644 --- a/src/include/cursor.h +++ b/src/include/cursor.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name cursor.h - The cursors header file. */ // // (c) Copyright 1998-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -70,7 +70,7 @@ ** CursorType::HotX CursorType::HotY ** ** Hot spot of the cursor in pixels. Relative to the sprite origin -** (0,0). The hot spot of a cursor is the point to which FreeCraft +** (0,0). The hot spot of a cursor is the point to which Stratagus ** refers in tracking the cursor's position. ** ** CursorType::Width CursorType::Height diff --git a/src/include/deco.h b/src/include/deco.h index df0931cd5..b8f950f39 100644 --- a/src/include/deco.h +++ b/src/include/deco.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name deco.h - Mechanism for all 2D decorations on screen */ // // (c) Copyright 2002 by Lutz Sammer and Stephan Rasenberg // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/depend.h b/src/include/depend.h index d0658cf64..f5d5cd77b 100644 --- a/src/include/depend.h +++ b/src/include/depend.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name depend.h - The units/upgrade dependencies headerfile. */ // // (c) Copyright 2000,2001 by Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/editor.h b/src/include/editor.h index bbbc7f1a3..76e9a9355 100644 --- a/src/include/editor.h +++ b/src/include/editor.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name editor.h - The editor file. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/fc_types.h b/src/include/fc_types.h index 29dc22954..d0825b90e 100644 --- a/src/include/fc_types.h +++ b/src/include/fc_types.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // -/**@name fc_types.h - FreeCraft Types. */ +/**@name fc_types.h - Stratagus Types. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/font.h b/src/include/font.h index b8bbba6b4..9c1c17393 100644 --- a/src/include/font.h +++ b/src/include/font.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name font.h - The font headerfile. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -39,7 +39,7 @@ ** ** typedef struct _color_font_ ColorFont; ** -** Defines the fonts used in the FreeCraft engine. We support +** Defines the fonts used in the Stratagus engine. We support ** proportional multicolor fonts of 7 colors. The eighth color is ** transparent. (Currently the fonts aren't packed) ** diff --git a/src/include/icons.h b/src/include/icons.h index 7cee29ef5..f04b5fbb4 100644 --- a/src/include/icons.h +++ b/src/include/icons.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name icons.h - The icons headerfile. */ // // (c) Copyright 1998-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/interface.h b/src/include/interface.h index 2b85ca70e..9bd7074d6 100644 --- a/src/include/interface.h +++ b/src/include/interface.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name interface.h - The user interface header file. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/iocompat.h b/src/include/iocompat.h index 0151a07ea..782cf2be0 100644 --- a/src/include/iocompat.h +++ b/src/include/iocompat.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name iocompat.h - IO platform compatibility header file. */ // // (c) Copyright 2002 by Andreas Arens // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/iolib.h b/src/include/iolib.h index a4785b3e1..078db7f8e 100644 --- a/src/include/iolib.h +++ b/src/include/iolib.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name iolib.h - The iolib functions header file. */ // // (c) Copyright 2000,2001 by Andreas Arens // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/map.h b/src/include/map.h index 863fb740f..9243762ef 100644 --- a/src/include/map.h +++ b/src/include/map.h @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map.h - The map headerfile. */ // // (c) Copyright 1998-2003 by Vladi Shabanski, Lutz Sammer, // and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -116,7 +116,7 @@ ** ** typedef struct _world_map_ WorldMap; ** -** This structure contains all informations about a freecraft world. +** This structure contains all informations about a stratagus world. ** A world is a rectangle of any size. In the future it is planned to ** support multiple worlds. ** diff --git a/src/include/master.h b/src/include/master.h index 2291a738b..cbd22f1b1 100644 --- a/src/include/master.h +++ b/src/include/master.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name master.h - The master server headerfile. */ // // (c) Copyright 2003 by Tom Zickel and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -36,7 +36,7 @@ -- Defines ----------------------------------------------------------------------------*/ -#define MASTER_HOST "freecraft.dyndns.org" +#define MASTER_HOST "stratagus.dyndns.org" #define MASTER_PORT 8123 /*---------------------------------------------------------------------------- diff --git a/src/include/menus.h b/src/include/menus.h index 1400e260f..332fac174 100644 --- a/src/include/menus.h +++ b/src/include/menus.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name menus.h - The menu headerfile. */ // // (c) Copyright 1999-2003 by Andreas Arens and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/minimap.h b/src/include/minimap.h index 3776db005..af00ad2d9 100644 --- a/src/include/minimap.h +++ b/src/include/minimap.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name minimap.h - The minimap headerfile. */ // // (c) Copyright 1998,2000-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/missile.h b/src/include/missile.h index fcf1b88e0..99b8a3089 100644 --- a/src/include/missile.h +++ b/src/include/missile.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name missile.h - The missile headerfile. */ // // (c) Copyright 1998-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/movie.h b/src/include/movie.h index 7f0cd24f6..b004a0185 100644 --- a/src/include/movie.h +++ b/src/include/movie.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name movie.h - The movie header file. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/myendian.h b/src/include/myendian.h index f28794704..092e41edd 100644 --- a/src/include/myendian.h +++ b/src/include/myendian.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name myendian.h - The endian-specific headerfile. */ // // (c) Copyright 2000,2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/net_lowlevel.h b/src/include/net_lowlevel.h index 8f216f633..32bd90669 100644 --- a/src/include/net_lowlevel.h +++ b/src/include/net_lowlevel.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name net_lowlevel.h - The network low level header file. */ // // (c) Copyright 1998-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/netconnect.h b/src/include/netconnect.h index a835f0ffe..097bebc1f 100644 --- a/src/include/netconnect.h +++ b/src/include/netconnect.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name netconnect.h - The network connection setup header file. */ // // (c) Copyright 1998-2003 by Lutz Sammer, Andreas Arens // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -104,7 +104,7 @@ typedef struct _setup_state_ { typedef struct _init_message_ { unsigned char Type; /// Init message type unsigned char SubType; /// Init message subtype - int FreeCraft; /// FreeCraft engine version + int Stratagus; /// Stratagus engine version int Version; /// Network protocol version unsigned int ConfUID; /// Engine configuration UID (Checksum) // FIXME: not available yet unsigned int MapUID; /// UID of map to play. // FIXME: add MAP name, path, etc @@ -126,7 +126,7 @@ enum _ic_message_subtype_ { ICMHello, /// Client Request ICMConfig, /// Setup message configure clients - ICMEngineMismatch, /// FreeCraft engine version doesn't match + ICMEngineMismatch, /// Stratagus engine version doesn't match ICMProtocolMismatch, /// Network protocol version doesn't match ICMEngineConfMismatch, /// Engine configuration isn't identical ICMMapUidMismatch, /// MAP UID doesn't match diff --git a/src/include/network.h b/src/include/network.h index dff422640..f559d9359 100644 --- a/src/include/network.h +++ b/src/include/network.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name network.h - The network header file. */ // // (c) Copyright 1998-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/pathfinder.h b/src/include/pathfinder.h index b9d7f3c21..b28c4c7b5 100644 --- a/src/include/pathfinder.h +++ b/src/include/pathfinder.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name pathfinder.h - The path finder headerfile. */ // // (c) Copyright 1998-2003 by Lutz Sammer,Russell Smith // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/player.h b/src/include/player.h index 9c9ccb244..55b4f0581 100644 --- a/src/include/player.h +++ b/src/include/player.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name player.h - The player headerfile. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/pud.h b/src/include/pud.h index e91dd9119..6bae0fd56 100644 --- a/src/include/pud.h +++ b/src/include/pud.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name pud.h - The pud headerfile. */ // // (c) Copyright 1998-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/rdtsc.h b/src/include/rdtsc.h index 6711a637d..dc5397a33 100644 --- a/src/include/rdtsc.h +++ b/src/include/rdtsc.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name rdtsc.h - The rdtsc header file. */ // // (c) Copyright 1999-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/script.h b/src/include/script.h index bb6500afb..98e113d7c 100644 --- a/src/include/script.h +++ b/src/include/script.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl.h - The clone configuration language headerfile. */ // // (c) Copyright 1998-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/script_sound.h b/src/include/script_sound.h index b00673264..744572768 100644 --- a/src/include/script_sound.h +++ b/src/include/script_sound.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_sound.h - The Ccl sound header file. */ // // (c) Copyright 1999-2001 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/settings.h b/src/include/settings.h index 704d3ea69..7fa21079b 100644 --- a/src/include/settings.h +++ b/src/include/settings.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name settings.h - The game settings headerfile. */ // // (c) Copyright 2000-2003 by Andreas Arens and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/sound.h b/src/include/sound.h index 88db6a241..fea635e6f 100644 --- a/src/include/sound.h +++ b/src/include/sound.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sound.h - The sound header file. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/sound_id.h b/src/include/sound_id.h index bb6e888f0..efec7d230 100644 --- a/src/include/sound_id.h +++ b/src/include/sound_id.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sound_id.h - Sound identifier client side header file. */ // // (c) Copyright 1999-2002 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/sound_server.h b/src/include/sound_server.h index 4e363fdec..ca20077eb 100644 --- a/src/include/sound_server.h +++ b/src/include/sound_server.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sound_server.h - The sound server header file. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/spells.h b/src/include/spells.h index bd1353abf..2c18f32b5 100644 --- a/src/include/spells.h +++ b/src/include/spells.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name spells.h - The Spells. */ // // (c) Copyright 1999-2003 by Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #include "sound_id.h" #include "sound.h" #include "unittype.h" diff --git a/src/include/stratagus.h b/src/include/stratagus.h index 37dd17dfc..fd1f5a9ac 100644 --- a/src/include/stratagus.h +++ b/src/include/stratagus.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // -/**@name freecraft.h - The main header file. */ +/**@name stratagus.h - The main header file. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -296,22 +296,22 @@ #define VERSION "1.18" /// Engine version shown #endif -#ifndef FreeCraftMajorVerion - /// FreeCraft major version -#define FreeCraftMajorVersion 1 - /// FreeCraft minor version (maximal 99) -#define FreeCraftMinorVersion 18 - /// FreeCraft patch level (maximal 99) -#define FreeCraftPatchLevel 0 - /// FreeCraft version (1,2,3) -> 10203 -#define FreeCraftVersion \ - (FreeCraftMajorVersion*10000+FreeCraftMinorVersion*100 \ - +FreeCraftPatchLevel) +#ifndef StratagusMajorVerion + /// Stratagus major version +#define StratagusMajorVersion 1 + /// Stratagus minor version (maximal 99) +#define StratagusMinorVersion 18 + /// Stratagus patch level (maximal 99) +#define StratagusPatchLevel 0 + /// Stratagus version (1,2,3) -> 10203 +#define StratagusVersion \ + (StratagusMajorVersion*10000+StratagusMinorVersion*100 \ + +StratagusPatchLevel) - /// FreeCraft printf format string -#define FreeCraftFormatString "%d.%d.%d" - /// FreeCraft printf format arguments -#define FreeCraftFormatArgs(v) (v)/10000,((v)/100)%100,(v)%100 + /// Stratagus printf format string +#define StratagusFormatString "%d.%d.%d" + /// Stratagus printf format arguments +#define StratagusFormatArgs(v) (v)/10000,((v)/100)%100,(v)%100 #endif /// Text string: Name, Version, Copyright @@ -321,7 +321,7 @@ extern char NameLine[]; #define STRATAGUS_LIB_PATH "data" /// Where to find the data files #endif #ifndef STRATAGUS_HOME_PATH -#define STRATAGUS_HOME_PATH ".freecraft"/// Data files in user home dir +#define STRATAGUS_HOME_PATH ".stratagus"/// Data files in user home dir #endif #define MAGIC_FOR_NEW_UNITS 33 /// How many percent of max mana for new units @@ -459,7 +459,7 @@ extern char* MenuBackground; /// File for menu background extern char* MenuBackgroundWithTitle; /// File for menu with title extern char* TitleMusic; /// File for title music extern char* MenuMusic; /// File for menu music -extern char* FreeCraftLibPath; /// Location of freecraft data +extern char* StratagusLibPath; /// Location of stratagus data extern int SpeedBuild; /// Speed factor for building extern int SpeedTrain; /// Speed factor for training @@ -482,9 +482,9 @@ extern void LoadAll(void); /// Load all data back extern void InitSyncRand(void); /// Initialize the syncron rand extern int SyncRand(void); /// Syncron rand -extern int main1(int argc,char* argv[]);/// Init freecraft -extern volatile void Exit(int err); /// Exit freecraft -extern volatile void ExitFatal(int err);/// Exit freecraft with fatal error +extern int main1(int argc,char* argv[]);/// Init stratagus +extern volatile void Exit(int err); /// Exit stratagus +extern volatile void ExitFatal(int err);/// Exit stratagus with fatal error extern void UpdateDisplay(void); /// Game display update extern void InitModules(void); /// Initinalize all modules diff --git a/src/include/tileset.h b/src/include/tileset.h index e15653fb0..864679ec4 100644 --- a/src/include/tileset.h +++ b/src/include/tileset.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name tileset.h - The tileset headerfile. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/trigger.h b/src/include/trigger.h index 1ee7b726d..af0513637 100644 --- a/src/include/trigger.h +++ b/src/include/trigger.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name trigger.h - The game trigger headerfile. */ // // (c) Copyright 2002-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/ui.h b/src/include/ui.h index 94ac1cd49..69926b180 100644 --- a/src/include/ui.h +++ b/src/include/ui.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ui.h - The user interface header file. */ // // (c) Copyright 1999-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -84,9 +84,9 @@ typedef struct _viewport_ Viewport; /// Viewport typedef ** ** upper left corner of this viewport is located at pixel ** coordinates (X, Y) with respect to upper left corner of -** freecraft's window, similarly lower right corner of this +** stratagus's window, similarly lower right corner of this ** viewport is (EndX, EndY) pixels away from the UL corner of -** freecraft's window. +** stratagus's window. ** ** Viewport::MapX Viewport::MapY ** Viewport::MapWidth Viewport::MapHeight diff --git a/src/include/unit.h b/src/include/unit.h index 162da6cf3..16ce5e75f 100644 --- a/src/include/unit.h +++ b/src/include/unit.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unit.h - The unit headerfile. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/unitsound.h b/src/include/unitsound.h index 75627e0e8..28560c48f 100644 --- a/src/include/unitsound.h +++ b/src/include/unitsound.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unitsound.h - The unit sounds headerfile. */ // // (c) Copyright 1999,2001 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/unittype.h b/src/include/unittype.h index c43ad6a58..44eb8c006 100644 --- a/src/include/unittype.h +++ b/src/include/unittype.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unittype.h - The unit-types headerfile. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/upgrade.h b/src/include/upgrade.h index 64dc97b03..7d1154c74 100644 --- a/src/include/upgrade.h +++ b/src/include/upgrade.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name upgrade.h - The upgrades headerfile. */ // // (c) Copyright 1999-2002 by Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/upgrade_structs.h b/src/include/upgrade_structs.h index d875d07f4..cf51a33a5 100644 --- a/src/include/upgrade_structs.h +++ b/src/include/upgrade_structs.h @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name upgrade_structs.h - The upgrade/allow headerfile. */ // // (c) Copyright 1999-2003 by Vladi Belperchinov-Shabanski and // Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/video.h b/src/include/video.h index fdd3fb387..7e61501cc 100644 --- a/src/include/video.h +++ b/src/include/video.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name video.h - The video headerfile. */ // // (c) Copyright 1999-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/include/wav.h b/src/include/wav.h index cdd80b339..9e533092f 100644 --- a/src/include/wav.h +++ b/src/include/wav.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name wav.h - The wav file format header file. */ // // (c) Copyright 1998-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/map/map.cpp b/src/map/map.cpp index a1a6cadd9..f53743006 100644 --- a/src/map/map.cpp +++ b/src/map/map.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map.c - The map. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Vladi Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "minimap.h" #include "player.h" @@ -548,7 +548,7 @@ global void PreprocessMap(void) ** ** @param vp Viewport pointer. ** @param x X coordinate into this viewport (in pixels, relative -** to origin of FreeCraft's window - not the viewport +** to origin of Stratagus's window - not the viewport ** itself!). ** ** @return X map tile coordinate. @@ -566,7 +566,7 @@ global int Viewport2MapX(const Viewport* vp, int x) ** ** @param vp Viewport pointer. ** @param y Y coordinate into this viewport (in pixels, relative -** to origin of FreeCraft's window - not the viewport +** to origin of Stratagus's window - not the viewport ** itself!). ** ** @return Y map tile coordinate. @@ -586,7 +586,7 @@ global int Viewport2MapY(const Viewport* vp, int y) ** @param x The map tile's X coordinate. ** ** @return X screen coordinate in pixels (relative -** to origin of FreeCraft's window). +** to origin of Stratagus's window). */ global int Map2ViewportX(const Viewport* vp, int x) { @@ -600,7 +600,7 @@ global int Map2ViewportX(const Viewport* vp, int x) ** @param y The map tile's Y coordinate. ** ** @return Y screen coordinate in pixels (relative -** to origin of FreeCraft's window). +** to origin of Stratagus's window). */ global int Map2ViewportY(const Viewport* vp, int y) { diff --git a/src/map/map_draw.cpp b/src/map/map_draw.cpp index b6aa17b33..e877de229 100644 --- a/src/map/map_draw.cpp +++ b/src/map/map_draw.cpp @@ -6,7 +6,7 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map_draw.c - The map drawing. ** @@ -15,11 +15,11 @@ // // (c) Copyright 1999-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -64,7 +64,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "tileset.h" #include "video.h" #include "map.h" diff --git a/src/map/map_fog.cpp b/src/map/map_fog.cpp index a728e7dea..b9afdf18e 100644 --- a/src/map/map_fog.cpp +++ b/src/map/map_fog.cpp @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map_fog.c - The map fog of war handling. */ // // (c) Copyright 1999-2003 by Lutz Sammer, Vladi Shabanski, // Russell Smith, and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "player.h" #include "unittype.h" #include "unit.h" diff --git a/src/map/map_rock.cpp b/src/map/map_rock.cpp index 0ac52886b..b697a6186 100644 --- a/src/map/map_rock.cpp +++ b/src/map/map_rock.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map_rock.c - The map rock handling. */ // // (c) Copyright 1999-2002 by Vladi Shabanski and Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -37,7 +37,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "minimap.h" #include "player.h" diff --git a/src/map/map_save.cpp b/src/map/map_save.cpp index c537021a6..d635c2f55 100644 --- a/src/map/map_save.cpp +++ b/src/map/map_save.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map_save.c - Saving the map. */ // // (c) Copyright 2001-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "minimap.h" #include "player.h" @@ -65,10 +65,10 @@ global void SaveMap(FILE* file) fprintf(file,"\n;;; -----------------------------------------\n"); fprintf(file,";;; MODULE: map $Id$\n"); - fprintf(file,"(freecraft-map\n"); + fprintf(file,"(stratagus-map\n"); - fprintf(file," 'version \"" FreeCraftFormatString "\"\n", - FreeCraftFormatArgs(FreeCraftVersion)); + fprintf(file," 'version \"" StratagusFormatString "\"\n", + StratagusFormatArgs(StratagusVersion)); fprintf(file," 'description \"%s\"\n",TheMap.Description); fprintf(file," 'the-map '(\n"); diff --git a/src/map/map_wall.cpp b/src/map/map_wall.cpp index ff717517a..103ac4460 100644 --- a/src/map/map_wall.cpp +++ b/src/map/map_wall.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map_wall.c - The map wall handling. */ // // (c) Copyright 1999-2002 by Vladi Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "minimap.h" #include "player.h" diff --git a/src/map/map_wood.cpp b/src/map/map_wood.cpp index e2f0d06af..c12dda4f4 100644 --- a/src/map/map_wood.cpp +++ b/src/map/map_wood.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name map_wood.c - The map wood handling. */ // // (c) Copyright 1999-2002 by Vladi Shabanski and Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -37,7 +37,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "minimap.h" #include "player.h" diff --git a/src/map/minimap.cpp b/src/map/minimap.cpp index fec08a501..1f7719a72 100644 --- a/src/map/minimap.cpp +++ b/src/map/minimap.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name minimap.c - The minimap. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/map/script_map.cpp b/src/map/script_map.cpp index 87482894a..d8ef62302 100644 --- a/src/map/script_map.cpp +++ b/src/map/script_map.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_map.c - The map ccl functions. */ // // (c) Copyright 1999-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "ccl.h" #include "map.h" #include "minimap.h" @@ -45,11 +45,11 @@ ----------------------------------------------------------------------------*/ /** -** Parse a freecraft map. +** Parse a stratagus map. ** ** @param list list of tuples keyword data */ -local SCM CclFreeCraftMap(SCM list) +local SCM CclStratagusMap(SCM list) { SCM value; SCM data; @@ -74,8 +74,8 @@ local SCM CclFreeCraftMap(SCM list) data=gh_car(list); list=gh_cdr(list); str=gh_scm2newstr(data,NULL); - sprintf(buf,FreeCraftFormatString, - FreeCraftFormatArgs(FreeCraftVersion)); + sprintf(buf,StratagusFormatString, + StratagusFormatArgs(StratagusVersion)); if( strcmp(buf,str) ) { fprintf(stderr,"Warning not saved with this version.\n"); } @@ -532,7 +532,7 @@ local SCM CclSetBurnBuildings(SCM percent,SCM rate) */ global void MapCclRegister(void) { - gh_new_procedureN("freecraft-map",CclFreeCraftMap); + gh_new_procedureN("stratagus-map",CclStratagusMap); gh_new_procedure0_0("reveal-map",CclRevealMap); gh_new_procedure2_0("center-map",CclCenterMap); gh_new_procedure4_0("show-map-location",CclShowMapLocation); diff --git a/src/map/script_tileset.cpp b/src/map/script_tileset.cpp index bcd51842f..cb359bf57 100644 --- a/src/map/script_tileset.cpp +++ b/src/map/script_tileset.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_tileset.c - The tileset ccl functions. */ // // (c) Copyright 2000-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "ccl.h" #include "tileset.h" #include "map.h" diff --git a/src/map/tileset.cpp b/src/map/tileset.cpp index b7e0dc6b1..f8e09a03d 100644 --- a/src/map/tileset.cpp +++ b/src/map/tileset.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name tileset.c - The tileset. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "tileset.h" #include "map.h" #include "iolib.h" diff --git a/src/network/commands.cpp b/src/network/commands.cpp index 0e6777fa5..754fb539b 100644 --- a/src/network/commands.cpp +++ b/src/network/commands.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name commands.c - Global command handler - network support. */ // // (c) Copyright 2000-2003 by Lutz Sammer, Andreas Arens, and Jimmy Salmon. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -36,7 +36,7 @@ #include #endif -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "map.h" #include "actions.h" @@ -122,7 +122,7 @@ global void CommandLog(const char* name,const Unit* unit,int flag, mkdir(buf,0777); #endif - sprintf(buf,"%s/log_of_freecraft_%d.log",buf,ThisPlayer->Player); + sprintf(buf,"%s/log_of_stratagus_%d.log",buf,ThisPlayer->Player); LogFile=fopen(buf,"wb"); if( !LogFile ) { return; @@ -138,8 +138,8 @@ global void CommandLog(const char* name,const Unit* unit,int flag, // Parseable header // fprintf(LogFile,"(replay-log\n"); - fprintf(LogFile," 'comment\t\"Generated by FreeCraft Version " VERSION "\"\n"); - fprintf(LogFile," 'comment\t\"Visit http://FreeCraft.Org for more information\"\n"); + fprintf(LogFile," 'comment\t\"Generated by Stratagus Version " VERSION "\"\n"); + fprintf(LogFile," 'comment\t\"Visit http://Stratagus.Org for more information\"\n"); fprintf(LogFile," 'comment\t\"$Id$\"\n"); if( NetworkFildes==-1 ) { fprintf(LogFile," 'type\t\"%s\"\n","single-player"); @@ -166,7 +166,7 @@ global void CommandLog(const char* name,const Unit* unit,int flag, fprintf(LogFile," 'game-type\t%d\n",GameSettings.GameType); fprintf(LogFile," 'opponents\t%d\n",GameSettings.Opponents); fprintf(LogFile," 'engine\t'(%d %d %d)\n", - FreeCraftMajorVersion,FreeCraftMinorVersion,FreeCraftPatchLevel); + StratagusMajorVersion,StratagusMinorVersion,StratagusPatchLevel); fprintf(LogFile," 'network\t'(%d %d %d)\n", NetworkProtocolMajorVersion, NetworkProtocolMinorVersion, diff --git a/src/network/lowlevel.cpp b/src/network/lowlevel.cpp index c68f31e9c..e5a21cb55 100644 --- a/src/network/lowlevel.cpp +++ b/src/network/lowlevel.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name lowlevel.c - The network lowlevel. */ // // (c) Copyright 2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -39,7 +39,7 @@ #include #endif -#include "freecraft.h" +#include "stratagus.h" #include "net_lowlevel.h" #include "etlib/dllist.h" #include "network.h" @@ -240,7 +240,7 @@ global int NetSetNonBlocking(int sockfd) /** ** Resolve host in name or dotted quad notation. ** -** @param host Host name (f.e. 192.168.0.0 or freecraft.net) +** @param host Host name (f.e. 192.168.0.0 or stratagus.net) */ global unsigned long NetResolveHost(const char* host) { diff --git a/src/network/master.cpp b/src/network/master.cpp index 57b81ba5d..7e5b6fa0f 100644 --- a/src/network/master.cpp +++ b/src/network/master.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name master.c - The master server. */ // // (c) Copyright 2003 by Tom Zickel and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -39,7 +39,7 @@ #include #endif -#include "freecraft.h" +#include "stratagus.h" #include "iocompat.h" @@ -126,7 +126,7 @@ local int MasterSend(const void *buf, int len) */ global void MasterSendAnnounce(void) { - char *heartbeat = "\xFF\xFF\xFF\xFFheartbeat FreeCraft\x0A"; + char *heartbeat = "\xFF\xFF\xFF\xFFheartbeat Stratagus\x0A"; MasterSend(heartbeat, strlen(heartbeat)); } @@ -163,7 +163,7 @@ local void MasterSendInfo(void) numplayers += mapmaxplayers - NetPlayers; sprintf(sendinfo, "\xFF\xFF\xFF\xFFinfoResponse\x0A\\protocol\\%d:%d\\gamehost\\%s\\clients\\%d\\sv_maxclients\\%d\\gamename\\%s\\challenge\\%s", - FreeCraftVersion, NetworkProtocolVersion, LocalPlayerName, numplayers, + StratagusVersion, NetworkProtocolVersion, LocalPlayerName, numplayers, mapmaxplayers, MenuMapInfo->Description, challenge); MasterSend(sendinfo, strlen(sendinfo)); } diff --git a/src/network/netconnect.cpp b/src/network/netconnect.cpp index c52c9a3cf..3d5959be9 100644 --- a/src/network/netconnect.cpp +++ b/src/network/netconnect.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name netconnect.c - The network high level connection code. */ // // (c) Copyright 2001,2002 by Lutz Sammer, Andreas Arens. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -35,7 +35,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "net_lowlevel.h" #include "player.h" @@ -104,11 +104,11 @@ local int NetworkServerPort = NetworkDefaultPort; /// Server network port to use ** @param msg The message to send ** ** @todo FIXME: we don't need to put the header into all messages. -** (header = msg->FreeCraft ... ) +** (header = msg->Stratagus ... ) */ local int NetworkSendICMessage(unsigned long host, int port, InitMessage *msg) { - msg->FreeCraft = htonl(FreeCraftVersion); + msg->Stratagus = htonl(StratagusVersion); msg->Version = htonl(NetworkProtocolVersion); msg->Lag = htonl(NetworkLag); msg->Updates = htonl(NetworkUpdates); @@ -142,7 +142,7 @@ local const char *icmsgsubtypenames[] = { "Hello", // Client Request "Config", // Setup message configure clients - "EngineMismatch", // FreeCraft engine version doesn't match + "EngineMismatch", // Stratagus engine version doesn't match "ProtocolMismatch", // Network protocol version doesn't match "EngineConfMismatch", // Engine configuration isn't identical "MapUidMismatch", // MAP UID doesn't match @@ -859,13 +859,13 @@ local void ClientParseConnecting(const InitMessage* msg) switch(msg->SubType) { - case ICMEngineMismatch: // FreeCraft engine version doesn't match - fprintf(stderr, "Incompatible FreeCraft version " - FreeCraftFormatString " <-> " - FreeCraftFormatString "\n" + case ICMEngineMismatch: // Stratagus engine version doesn't match + fprintf(stderr, "Incompatible Stratagus version " + StratagusFormatString " <-> " + StratagusFormatString "\n" "from %d.%d.%d.%d:%d\n", - FreeCraftFormatArgs((int)ntohl(msg->FreeCraft)), - FreeCraftFormatArgs(FreeCraftVersion), + StratagusFormatArgs((int)ntohl(msg->Stratagus)), + StratagusFormatArgs(StratagusVersion), NIPQUAD(ntohl(NetLastHost)),ntohs(NetLastPort)); NetLocalState = ccs_incompatibleengine; NetConnectRunning = 0; // End the menu.. @@ -934,7 +934,7 @@ local void ClientParseConnected(const InitMessage* msg) switch(msg->SubType) { case ICMMap: // Server has sent us new map info - pathlen = sprintf(MenuMapFullPath, "%s/", FreeCraftLibPath); + pathlen = sprintf(MenuMapFullPath, "%s/", StratagusLibPath); memcpy(MenuMapFullPath+pathlen, msg->u.MapPath, 256); MenuMapFullPath[pathlen+255] = 0; if (NetClientSelectScenario()) { @@ -944,7 +944,7 @@ local void ClientParseConnected(const InitMessage* msg) if (ntohl(msg->MapUID) != MenuMapInfo->MapUID) { NetLocalState = ccs_badmap; fprintf(stderr, - "FreeCraft maps do not match (0x%08x) <-> (0x%08x)\n", + "Stratagus maps do not match (0x%08x) <-> (0x%08x)\n", (unsigned int)MenuMapInfo->MapUID, (unsigned int)ntohl(msg->MapUID)); break; @@ -1321,7 +1321,7 @@ local void ServerParseWaiting(const int h) // this code path happens until client acknoledges the map message.Type = MessageInitReply; message.SubType = ICMMap; // Send Map info to the client - pathlen = strlen(FreeCraftLibPath) + 1; + pathlen = strlen(StratagusLibPath) + 1; memcpy(message.u.MapPath, MenuMapFullPath+pathlen, 256); message.MapUID = htonl(MenuMapInfo->MapUID); n = NetworkSendICMessage(NetLastHost, NetLastPort, &message); @@ -1538,7 +1538,7 @@ local void ServerParseIAmHere(const int h) } /** -** Check if the FreeCraft version and Network Protocol match +** Check if the Stratagus version and Network Protocol match ** ** @param msg message received ** @@ -1549,17 +1549,17 @@ local int CheckVersions(const InitMessage* msg) int n; InitMessage message; - if (ntohl(msg->FreeCraft) != FreeCraftVersion) { - fprintf(stderr, "Incompatible FreeCraft version " - FreeCraftFormatString " <-> " - FreeCraftFormatString "\n" + if (ntohl(msg->Stratagus) != StratagusVersion) { + fprintf(stderr, "Incompatible Stratagus version " + StratagusFormatString " <-> " + StratagusFormatString "\n" "from %d.%d.%d.%d:%d\n", - FreeCraftFormatArgs((int)ntohl(msg->FreeCraft)), - FreeCraftFormatArgs(FreeCraftVersion), + StratagusFormatArgs((int)ntohl(msg->Stratagus)), + StratagusFormatArgs(StratagusVersion), NIPQUAD(ntohl(NetLastHost)),ntohs(NetLastPort)); message.Type = MessageInitReply; - message.SubType = ICMEngineMismatch; // FreeCraft engine version doesn't match + message.SubType = ICMEngineMismatch; // Stratagus engine version doesn't match message.MapUID = 0L; n = NetworkSendICMessage(NetLastHost, NetLastPort, &message); DebugLevel0Fn("Sending InitReply Message EngineMismatch: (%d) to %d.%d.%d.%d:%d\n" _C_ diff --git a/src/network/network.cpp b/src/network/network.cpp index 27c90b725..bca09970b 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name network.c - The network. */ // // (c) Copyright 2000-2003 by Lutz Sammer, Andreas Arens. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ ** ** @section Basics How does it work. ** -** FreeCraft uses an UDP peer to peer protocol (p2p). The default port +** Stratagus uses an UDP peer to peer protocol (p2p). The default port ** is 6660. ** ** @subsection udp_vs_tcp UDP vs. TCP @@ -232,7 +232,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "etlib/dllist.h" #include "net_lowlevel.h" diff --git a/src/pathfinder/astar.cpp b/src/pathfinder/astar.cpp index 1c186aa44..30f3340b8 100644 --- a/src/pathfinder/astar.cpp +++ b/src/pathfinder/astar.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name astar.c - The a* path finder routines. */ // // (c) Copyright 1999-2003 by Lutz Sammer,Fabrice Rossi, Russell Smith // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "player.h" #include "unit.h" diff --git a/src/pathfinder/avl_tree.cpp b/src/pathfinder/avl_tree.cpp index 4b89f7fb3..79829e07e 100644 --- a/src/pathfinder/avl_tree.cpp +++ b/src/pathfinder/avl_tree.cpp @@ -4,7 +4,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" //#define PRINT_TREE #include "avl_tree.h" #ifdef PRINT_TREE diff --git a/src/pathfinder/floodfill.cpp b/src/pathfinder/floodfill.cpp index 3536a7def..7c8fb2d98 100644 --- a/src/pathfinder/floodfill.cpp +++ b/src/pathfinder/floodfill.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name floodfill.c - Flood fill path finder routines. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #include "pathfinder.h" #ifdef USE_FLOODFILL // { diff --git a/src/pathfinder/hierarchical.cpp b/src/pathfinder/hierarchical.cpp index d072faf12..d09413a84 100644 --- a/src/pathfinder/hierarchical.cpp +++ b/src/pathfinder/hierarchical.cpp @@ -4,7 +4,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "unit.h" diff --git a/src/pathfinder/hierarchical.h b/src/pathfinder/hierarchical.h index 650030647..0ce60ab59 100644 --- a/src/pathfinder/hierarchical.h +++ b/src/pathfinder/hierarchical.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name hierarchical.h - The hierarchical pathfinder header file. */ // // (c) Copyright 2002 by Latimerius. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/pathfinder/pathfinder.cpp b/src/pathfinder/pathfinder.cpp index fe45530ea..8085b5bca 100644 --- a/src/pathfinder/pathfinder.cpp +++ b/src/pathfinder/pathfinder.cpp @@ -6,7 +6,7 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name pathfinder.c - The path finder routines. */ // @@ -14,11 +14,11 @@ // // (c) Copyright 1998,2000-2003 by Lutz Sammer,Russell Smith // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -36,7 +36,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/pathfinder/pf_goal.cpp b/src/pathfinder/pf_goal.cpp index 04a058b26..e2e1c52a7 100644 --- a/src/pathfinder/pf_goal.cpp +++ b/src/pathfinder/pf_goal.cpp @@ -4,7 +4,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "unit.h" diff --git a/src/pathfinder/pf_high_open.cpp b/src/pathfinder/pf_high_open.cpp index b780dc1bf..fc92972ee 100644 --- a/src/pathfinder/pf_high_open.cpp +++ b/src/pathfinder/pf_high_open.cpp @@ -3,7 +3,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "region.h" #include "pf_high_open.h" diff --git a/src/pathfinder/pf_highlevel.cpp b/src/pathfinder/pf_highlevel.cpp index 0b0e042c7..565887b94 100644 --- a/src/pathfinder/pf_highlevel.cpp +++ b/src/pathfinder/pf_highlevel.cpp @@ -5,7 +5,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "map.h" #if defined(DEBUG) && defined(TIMEIT) diff --git a/src/pathfinder/pf_low_open.cpp b/src/pathfinder/pf_low_open.cpp index 286813e23..a9c75db89 100644 --- a/src/pathfinder/pf_low_open.cpp +++ b/src/pathfinder/pf_low_open.cpp @@ -5,7 +5,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #if defined(DEBUG) && defined(TIMEIT) #include "rdtsc.h" diff --git a/src/pathfinder/pf_lowlevel.cpp b/src/pathfinder/pf_lowlevel.cpp index 65c51b282..614461bc4 100644 --- a/src/pathfinder/pf_lowlevel.cpp +++ b/src/pathfinder/pf_lowlevel.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name pf_lowlevel.c - Pathfinder low level functions. */ // // (c) Copyright 2002 by Latimerius // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #ifdef HIERARCHIC_PATHFINDER // { diff --git a/src/pathfinder/region.cpp b/src/pathfinder/region.cpp index 94ada4266..f80244082 100644 --- a/src/pathfinder/region.cpp +++ b/src/pathfinder/region.cpp @@ -5,7 +5,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "hierarchical.h" #include "region.h" diff --git a/src/pathfinder/region_groups.cpp b/src/pathfinder/region_groups.cpp index 32bcfa8b1..e187f6da4 100644 --- a/src/pathfinder/region_groups.cpp +++ b/src/pathfinder/region_groups.cpp @@ -7,17 +7,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name region_groups.c - Pathfinder region groups functions. */ // // (c) Copyright 2002 by Latimerius // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -29,7 +29,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #ifdef HIERARCHIC_PATHFINDER // { diff --git a/src/pathfinder/region_set.cpp b/src/pathfinder/region_set.cpp index a26ecf5d9..d04ecec72 100644 --- a/src/pathfinder/region_set.cpp +++ b/src/pathfinder/region_set.cpp @@ -5,7 +5,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "map.h" #include "hierarchical.h" diff --git a/src/pathfinder/script_pathfinder.cpp b/src/pathfinder/script_pathfinder.cpp index 15a9d7895..706d88f8f 100644 --- a/src/pathfinder/script_pathfinder.cpp +++ b/src/pathfinder/script_pathfinder.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_pathfinder.c - pathfinder ccl functions. */ // // (c) Copyright 2000-2002 by Lutz Sammer, Fabrice Rossi, Latimerius. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/sound/arts_audio.cpp b/src/sound/arts_audio.cpp index a01c38116..5ab18a1f6 100644 --- a/src/sound/arts_audio.cpp +++ b/src/sound/arts_audio.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name arts_audio.c - Arts daemon sound support */ // // (c) Copyright 2002 by Andreas Arens // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "sound_server.h" @@ -72,7 +72,7 @@ global int InitArtsSound(int freq, int size) // // Open daemon stream, size bit samples, stereo. // - stream = arts_play_stream(freq, size, 2, "Freecraft"); + stream = arts_play_stream(freq, size, 2, "Stratagus"); if (stream == NULL) { fprintf(stderr, "Sound [arts]: Unable to open a stream\n"); arts_free(); diff --git a/src/sound/cdaudio.cpp b/src/sound/cdaudio.cpp index 3f1b619ca..63e4c14ad 100644 --- a/src/sound/cdaudio.cpp +++ b/src/sound/cdaudio.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name cdaudio.c - cd audio */ // // (c) Copyright 2003 by Nehal Mistry // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #include "cdaudio.h" #ifdef USE_CDAUDIO diff --git a/src/sound/cdda.cpp b/src/sound/cdda.cpp index 2f3a637ea..89c084d6e 100644 --- a/src/sound/cdda.cpp +++ b/src/sound/cdda.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name cdda.c - cdda support */ // // (c) Copyright 2002-2003 by Nehal Mistry // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -29,7 +29,7 @@ -- Includes ----------------------------------------------------------------------------*/ -#include "freecraft.h" +#include "stratagus.h" #if defined(USE_CDDA) // { diff --git a/src/sound/flac.cpp b/src/sound/flac.cpp index 6b247a655..9cff304a8 100644 --- a/src/sound/flac.cpp +++ b/src/sound/flac.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name flac.c - flac support */ // // (c) Copyright 2002-2003 by Lutz Sammer, Fabrice Rossi and Nehal Mistry // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #if defined(WITH_SOUND) && defined(USE_FLAC) // { diff --git a/src/sound/libcda.cpp b/src/sound/libcda.cpp index 35e24bb8d..41378f876 100644 --- a/src/sound/libcda.cpp +++ b/src/sound/libcda.cpp @@ -333,7 +333,7 @@ void cd_close() #include #include #include -#include "freecraft.h" +#include "stratagus.h" #include "libcda.h" diff --git a/src/sound/mad.cpp b/src/sound/mad.cpp index d8a6e3a18..adae4b0cf 100644 --- a/src/sound/mad.cpp +++ b/src/sound/mad.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name mad.c - mp3 support with libmad */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #if defined(WITH_SOUND) && defined(USE_MAD) // { diff --git a/src/sound/music.cpp b/src/sound/music.cpp index 5d2499026..ff3df7120 100644 --- a/src/sound/music.cpp +++ b/src/sound/music.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name music.c - Background music support */ // // (c) Copyright 2002-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #if defined(WITH_SOUND) // { diff --git a/src/sound/ogg.cpp b/src/sound/ogg.cpp index 2c670b80d..52be78057 100644 --- a/src/sound/ogg.cpp +++ b/src/sound/ogg.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ogg.c - ogg support */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #if defined(WITH_SOUND) && defined(USE_OGG) // { diff --git a/src/sound/oss_audio.cpp b/src/sound/oss_audio.cpp index c0451f9be..2a2c78dee 100644 --- a/src/sound/oss_audio.cpp +++ b/src/sound/oss_audio.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name oss_audio.c - Oss hardware support */ // // (c) Copyright 2002 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #if defined(WITH_SOUND) && !defined(USE_SDLA) // { diff --git a/src/sound/script_sound.cpp b/src/sound/script_sound.cpp index 9cdeb2003..3ca65b5f6 100644 --- a/src/sound/script_sound.cpp +++ b/src/sound/script_sound.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_sound.c - The sound ccl functions. */ // // (c) Copyright 1999-2003 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #ifdef WITH_SOUND // { @@ -61,7 +61,7 @@ local long SiodSoundTag; ----------------------------------------------------------------------------*/ /** -** Cast a FreeCraft sound id to its scheme version +** Cast a Stratagus sound id to its scheme version ** ** @param id the sound id ** diff --git a/src/sound/sdl_audio.cpp b/src/sound/sdl_audio.cpp index dcf2c369e..3bb9ddc75 100644 --- a/src/sound/sdl_audio.cpp +++ b/src/sound/sdl_audio.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sdl_audio.c - SDL hardware support */ // // (c) Copyright 2002 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #ifdef WITH_SOUND // { #ifdef USE_SDLA diff --git a/src/sound/sound.cpp b/src/sound/sound.cpp index 01bcd1ac7..bbc8faad0 100644 --- a/src/sound/sound.cpp +++ b/src/sound/sound.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sound.c - The sound. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #ifdef WITH_SOUND // { diff --git a/src/sound/sound_id.cpp b/src/sound/sound_id.cpp index eb1eaea35..b06a1918b 100644 --- a/src/sound/sound_id.cpp +++ b/src/sound/sound_id.cpp @@ -6,7 +6,7 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sound_id.c - The sound id. */ // @@ -15,7 +15,7 @@ // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -29,7 +29,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #ifdef WITH_SOUND // { diff --git a/src/sound/sound_server.cpp b/src/sound/sound_server.cpp index 8fe034403..6c6ae99d9 100644 --- a/src/sound/sound_server.cpp +++ b/src/sound/sound_server.cpp @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sound_server.c - The sound server ** (hardware layer and so on) */ // // (c) Copyright 1998-2003 by Lutz Sammer and Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #ifdef WITH_SOUND // { @@ -805,9 +805,9 @@ local Sample* LoadSample(const char* name) // FIXME: find a better way to detect sound not in sound dir if (strstr(name, "campaign")) { - buf = strdcat3(FreeCraftLibPath, "/", name); + buf = strdcat3(StratagusLibPath, "/", name); } else { - buf = strdcat3(FreeCraftLibPath, "/sounds/", name); + buf = strdcat3(StratagusLibPath, "/sounds/", name); } if ((sample = LoadWav(buf, PlayAudioLoadInMemory))) { diff --git a/src/sound/unitsound.cpp b/src/sound/unitsound.cpp index d6811e2ba..9244b2a38 100644 --- a/src/sound/unitsound.cpp +++ b/src/sound/unitsound.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unitsound.c - The unit sounds. */ // // (c) Copyright 1999-2001 by Fabrice Rossi // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #ifdef WITH_SOUND // { diff --git a/src/sound/wav.cpp b/src/sound/wav.cpp index 356bf9aca..e36d0e092 100644 --- a/src/sound/wav.cpp +++ b/src/sound/wav.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name wav.c - wav support */ // // (c) Copyright 2003 by Lutz Sammer, Fabrice Rossi and Nehal Mistry // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #if defined(WITH_SOUND) // { diff --git a/src/stratagus.rc b/src/stratagus.rc index 5b46a7272..9477ea858 100644 --- a/src/stratagus.rc +++ b/src/stratagus.rc @@ -1 +1 @@ -ICN_INSTALL ICON "freecraft.ico" +ICN_INSTALL ICON "stratagus.ico" diff --git a/src/stratagus/Module.make b/src/stratagus/Module.make index 1cb13c386..d2cee6093 100644 --- a/src/stratagus/Module.make +++ b/src/stratagus/Module.make @@ -6,17 +6,17 @@ ## \/ \/ \/ \/ \/ ## ______________________ ______________________ ## T H E W A R B E G I N S -## FreeCraft - A free fantasy real time strategy game engine +## Stratagus - A free fantasy real time strategy game engine ## ## Module.make - Module Makefile (included from Makefile). ## ## (c) Copyright 2002 by Nehal Mistry ## -## FreeCraft is free software; you can redistribute it and/or modify +## Stratagus is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published ## by the Free Software Foundation; only version 2 of the License. ## -## FreeCraft is distributed in the hope that it will be useful, +## Stratagus is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. diff --git a/src/stratagus/construct.cpp b/src/stratagus/construct.cpp index cc23843ab..a2166f255 100644 --- a/src/stratagus/construct.cpp +++ b/src/stratagus/construct.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name construct.c - The constructions. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/stratagus/groups.cpp b/src/stratagus/groups.cpp index a692b5c65..65019074e 100644 --- a/src/stratagus/groups.cpp +++ b/src/stratagus/groups.cpp @@ -5,17 +5,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name groups.c - The units' groups handling. */ // // (c) Copyright 1999-2002 by Patrice Fortier and Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unit.h" #include "ccl.h" diff --git a/src/stratagus/iolib.cpp b/src/stratagus/iolib.cpp index 70f8a28e7..771c8a828 100644 --- a/src/stratagus/iolib.cpp +++ b/src/stratagus/iolib.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name iolib.c - Compression-IO helper functions. */ // // (c) Copyright 2000-2003 by Andreas Arens, Lutz Sammer, and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -36,7 +36,7 @@ #include #endif -#include "freecraft.h" +#include "stratagus.h" #include "iocompat.h" #include "campaign.h" // for CurrentMapPath @@ -394,7 +394,7 @@ global char* LibraryFileName(const char* file,char* buffer) } strcat(buffer,file); } else { - strcpy(buffer,FreeCraftLibPath); + strcpy(buffer,StratagusLibPath); if( *buffer ) { strcat(buffer,"/"); } @@ -462,24 +462,24 @@ global char* LibraryFileName(const char* file,char* buffer) // // In global shared directory // - sprintf(buffer,"%s/%s",FreeCraftLibPath,file); + sprintf(buffer,"%s/%s",StratagusLibPath,file); if( !access(buffer,R_OK) ) { return buffer; } #ifdef USE_ZLIB // gzip or bzip2 in global shared directory - sprintf(buffer,"%s/%s.gz",FreeCraftLibPath,file); + sprintf(buffer,"%s/%s.gz",StratagusLibPath,file); if( !access(buffer,R_OK) ) { return buffer; } #endif #ifdef USE_BZ2LIB - sprintf(buffer,"%s/%s.bz2",FreeCraftLibPath,file); + sprintf(buffer,"%s/%s.bz2",StratagusLibPath,file); if( !access(buffer,R_OK) ) { return buffer; } #endif #ifdef USE_ZZIPLIB - sprintf(buffer,"%s/%s",FreeCraftLibPath,file); + sprintf(buffer,"%s/%s",StratagusLibPath,file); if( (zp=zzip_open(buffer,O_RDONLY|O_BINARY)) ) { zzip_close(zp); return buffer; diff --git a/src/stratagus/mainloop.cpp b/src/stratagus/mainloop.cpp index 96b0342eb..9faa047ad 100644 --- a/src/stratagus/mainloop.cpp +++ b/src/stratagus/mainloop.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name mainloop.c - The main game loop. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -35,7 +35,7 @@ #include #endif -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/stratagus/missile.cpp b/src/stratagus/missile.cpp index 21afe41e3..953aa63f7 100644 --- a/src/stratagus/missile.cpp +++ b/src/stratagus/missile.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name missile.c - The missiles. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "font.h" #include "tileset.h" diff --git a/src/stratagus/player.cpp b/src/stratagus/player.cpp index 4bfc5bc88..05eb1e0fa 100644 --- a/src/stratagus/player.cpp +++ b/src/stratagus/player.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name player.c - The players. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "sound_id.h" #include "unitsound.h" diff --git a/src/stratagus/pud.cpp b/src/stratagus/pud.cpp index 3f01ecaaa..cfbb58e56 100644 --- a/src/stratagus/pud.cpp +++ b/src/stratagus/pud.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name pud.c - The pud. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -48,7 +48,7 @@ #include #endif // BSD -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/stratagus/scm.cpp b/src/stratagus/scm.cpp index 50cbc3b49..bf29ac8d9 100644 --- a/src/stratagus/scm.cpp +++ b/src/stratagus/scm.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name scm.c - The scm. */ // // (c) Copyright 2002 by Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "map.h" #include "player.h" #include "settings.h" diff --git a/src/stratagus/script.cpp b/src/stratagus/script.cpp index 23eefdff5..1313c33af 100644 --- a/src/stratagus/script.cpp +++ b/src/stratagus/script.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl.c - The craft configuration language. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "iocompat.h" @@ -96,17 +96,17 @@ global void CclGcProtect(SCM obj) ............................................................................*/ /** -** Return the freecraft library path. +** Return the stratagus library path. ** ** @return Current libray path. */ -local SCM CclFreeCraftLibraryPath(void) +local SCM CclStratagusLibraryPath(void) { - return gh_str02scm(FreeCraftLibPath); + return gh_str02scm(StratagusLibPath); } /** -** Return the freecraft game-cycle +** Return the stratagus game-cycle ** ** @return Current game cycle. */ @@ -141,7 +141,7 @@ local SCM CclSetGameName(SCM gamename) } /** -** Set the freecraft game-cycle +** Set the stratagus game-cycle */ local SCM CclSetGameCycle(SCM cycle) { @@ -508,9 +508,9 @@ local SCM CclWithSound(void) } /** -** Get FreeCraft home path. +** Get Stratagus home path. */ -local SCM CclGetFreeCraftHomePath(void) +local SCM CclGetStratagusHomePath(void) { const char* cp; char* buf; @@ -527,9 +527,9 @@ local SCM CclGetFreeCraftHomePath(void) } /** -** Get FreeCraft library path. +** Get Stratagus library path. */ -local SCM CclGetFreeCraftLibraryPath(void) +local SCM CclGetStratagusLibraryPath(void) { return gh_str02scm(STRATAGUS_LIB_PATH); } @@ -640,16 +640,16 @@ global void InitCcl(void) char* sargv[5]; char* buf; - sargv[0] = "FreeCraft"; + sargv[0] = "Stratagus"; sargv[1] = "-v1"; sargv[2] = "-g0"; sargv[3] = "-h400000:20"; - buf=malloc(strlen(FreeCraftLibPath)+4); - sprintf(buf,"-l%s",FreeCraftLibPath); + buf=malloc(strlen(StratagusLibPath)+4); + sprintf(buf,"-l%s",StratagusLibPath); sargv[4] = buf; // never freed siod_init(5,sargv); - gh_new_procedure0_0("library-path",CclFreeCraftLibraryPath); + gh_new_procedure0_0("library-path",CclStratagusLibraryPath); gh_new_procedure0_0("game-cycle",CclGameCycle); gh_new_procedure1_0("set-game-name!",CclSetGameName); gh_new_procedure1_0("set-game-cycle!",CclSetGameCycle); @@ -709,81 +709,81 @@ global void InitCcl(void) gh_new_procedure0_0("units",CclUnits); gh_new_procedure0_0("with-sound",CclWithSound); - gh_new_procedure0_0("get-freecraft-home-path",CclGetFreeCraftHomePath); - gh_new_procedure0_0("get-freecraft-library-path" - ,CclGetFreeCraftLibraryPath); + gh_new_procedure0_0("get-stratagus-home-path",CclGetStratagusHomePath); + gh_new_procedure0_0("get-stratagus-library-path" + ,CclGetStratagusLibraryPath); // // Make some sombols for the compile options/features. // #ifdef USE_THREAD - gh_define("freecraft-feature-thread",SCM_BOOL_T); + gh_define("stratagus-feature-thread",SCM_BOOL_T); #endif #ifdef DEBUG - gh_define("freecraft-feature-debug",SCM_BOOL_T); + gh_define("stratagus-feature-debug",SCM_BOOL_T); #endif #ifdef DEBUG_FLAGS - gh_define("freecraft-feature-debug-flags",SCM_BOOL_T); + gh_define("stratagus-feature-debug-flags",SCM_BOOL_T); #endif #ifdef USE_ZLIB - gh_define("freecraft-feature-zlib",SCM_BOOL_T); + gh_define("stratagus-feature-zlib",SCM_BOOL_T); #endif #ifdef USE_BZ2LIB - gh_define("freecraft-feature-bz2lib",SCM_BOOL_T); + gh_define("stratagus-feature-bz2lib",SCM_BOOL_T); #endif #ifdef USE_ZZIPLIB - gh_define("freecraft-feature-zziplib",SCM_BOOL_T); + gh_define("stratagus-feature-zziplib",SCM_BOOL_T); #endif #ifdef USE_SDL - gh_define("freecraft-feature-sdl",SCM_BOOL_T); + gh_define("stratagus-feature-sdl",SCM_BOOL_T); #endif #ifdef USE_SDLA - gh_define("freecraft-feature-sdl-audio",SCM_BOOL_T); + gh_define("stratagus-feature-sdl-audio",SCM_BOOL_T); #endif #ifdef USE_SDLCD - gh_define("freecraft-feature-sdl-cd",SCM_BOOL_T); + gh_define("stratagus-feature-sdl-cd",SCM_BOOL_T); #endif #ifdef USE_X11 - gh_define("freecraft-feature-x11",SCM_BOOL_T); + gh_define("stratagus-feature-x11",SCM_BOOL_T); #endif #ifdef USE_SVGALIB - gh_define("freecraft-feature-svgalib",SCM_BOOL_T); + gh_define("stratagus-feature-svgalib",SCM_BOOL_T); #endif #ifdef WITH_SOUND - gh_define("freecraft-feature-with-sound",SCM_BOOL_T); + gh_define("stratagus-feature-with-sound",SCM_BOOL_T); #endif #ifdef UNIT_ON_MAP - gh_define("freecraft-feature-unit-on-map",SCM_BOOL_T); + gh_define("stratagus-feature-unit-on-map",SCM_BOOL_T); #endif #ifdef UNITS_ON_MAP - gh_define("freecraft-feature-units-on-map",SCM_BOOL_T); + gh_define("stratagus-feature-units-on-map",SCM_BOOL_T); #endif #ifdef NEW_MAPDRAW - gh_define("freecraft-feature-new-mapdraw",SCM_BOOL_T); + gh_define("stratagus-feature-new-mapdraw",SCM_BOOL_T); #endif #ifdef HIERARCHIC_PATHFINDER - gh_define("freecraft-feature-hierarchic-pathfinder",SCM_BOOL_T); + gh_define("stratagus-feature-hierarchic-pathfinder",SCM_BOOL_T); #endif #ifdef NEW_AI - gh_define("freecraft-feature-new-ai",SCM_BOOL_T); + gh_define("stratagus-feature-new-ai",SCM_BOOL_T); #endif #ifdef NEW_SHIPS - gh_define("freecraft-feature-new-ships",SCM_BOOL_T); + gh_define("stratagus-feature-new-ships",SCM_BOOL_T); #endif #ifdef SLOW_INPUT - gh_define("freecraft-feature-slow-input",SCM_BOOL_T); + gh_define("stratagus-feature-slow-input",SCM_BOOL_T); #endif #ifdef USE_FLAC - gh_define("freecraft-feature-flac",SCM_BOOL_T); + gh_define("stratagus-feature-flac",SCM_BOOL_T); #endif #ifdef USE_OGG - gh_define("freecraft-feature-ogg",SCM_BOOL_T); + gh_define("stratagus-feature-ogg",SCM_BOOL_T); #endif #ifdef USE_MAD - gh_define("freecraft-feature-mp3",SCM_BOOL_T); + gh_define("stratagus-feature-mp3",SCM_BOOL_T); #endif #ifdef USE_LIBCDA - gh_define("freecraft-feature-libcda",SCM_BOOL_T); + gh_define("stratagus-feature-libcda",SCM_BOOL_T); #endif gh_define("*ccl-protect*",NIL); @@ -843,7 +843,7 @@ global void SavePreferences(void) // // preferences1.ccl - // This file is loaded before freecraft.ccl + // This file is loaded before stratagus.ccl // #ifdef USE_WIN32 @@ -869,7 +869,7 @@ global void SavePreferences(void) // // preferences2.ccl - // This file is loaded after freecraft.ccl + // This file is loaded after stratagus.ccl // #ifdef USE_WIN32 @@ -956,7 +956,7 @@ global void SavePreferences(void) } /** -** Load freecraft config file. +** Load stratagus config file. */ global void LoadCcl(void) { diff --git a/src/stratagus/script_missile.cpp b/src/stratagus/script_missile.cpp index d664bf6ee..ac95500f5 100644 --- a/src/stratagus/script_missile.cpp +++ b/src/stratagus/script_missile.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_missile.c - The missile-type ccl functions. */ // // (c) Copyright 2002-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "unittype.h" diff --git a/src/stratagus/script_player.cpp b/src/stratagus/script_player.cpp index 855953442..013eebf2c 100644 --- a/src/stratagus/script_player.cpp +++ b/src/stratagus/script_player.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_player.c - The player ccl functions. */ // // (c) Copyright 2001-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "player.h" #include "ccl.h" #include "ai.h" diff --git a/src/stratagus/selection.cpp b/src/stratagus/selection.cpp index eab812479..636bfb84a 100644 --- a/src/stratagus/selection.cpp +++ b/src/stratagus/selection.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name selection.c - The units' selection. */ // // (c) Copyright 1999-2002 by Patrice Fortier, Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/stratagus/spells.cpp b/src/stratagus/spells.cpp index 72dac0c2e..2a615be0b 100644 --- a/src/stratagus/spells.cpp +++ b/src/stratagus/spells.cpp @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name spells.c - The spell cast action. */ // // (c) Copyright 1998-2003 by Vladi Belperchinov-Shabanski, Lutz Sammer, // and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -46,7 +46,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "spells.h" #include "sound.h" diff --git a/src/stratagus/stratagus.cpp b/src/stratagus/stratagus.cpp index a7bcc18ff..49faac936 100644 --- a/src/stratagus/stratagus.cpp +++ b/src/stratagus/stratagus.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name clone.c - The main file. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ** ** @section Introduction Introduction ** -** Welcome to the source code documentation of the FreeCraft engine. +** Welcome to the source code documentation of the Stratagus engine. ** For an open source project it is very important to have a good ** source code documentation, I have tried to do this with the help ** of doxygen (http://www.doxygen.org) or doc++ @@ -44,12 +44,12 @@ ** ** @section Informations Informations ** -** Visit the http://FreeCraft.Org web page for the latest news and +** Visit the http://Stratagus.Org web page for the latest news and ** ../doc/readme.html for other documentations. ** ** @section Modules Modules ** -** This are the main modules of the FreeCraft engine. +** This are the main modules of the Stratagus engine. ** ** @subsection Map Map ** @@ -135,7 +135,7 @@ ** @subsection CCL CCL ** ** CCL is Craft Configuration Language, which is used to -** configure and customize FreeCraft. +** configure and customize Stratagus. ** ** @see ccl.h @see ccl.c ** @@ -202,7 +202,7 @@ extern char *optarg; extern int getopt(int argc, char *const*argv, const char *opt); #endif -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "font.h" #include "cursor.h" @@ -236,12 +236,12 @@ global char* MenuBackground; /// File for menu background global char* MenuBackgroundWithTitle; /// File for menu with title global char* TitleMusic; /// File for title music global char* MenuMusic; /// File for menu music -global char* FreeCraftLibPath; /// Path for data directory +global char* StratagusLibPath; /// Path for data directory global char LocalPlayerName[16]; /// Name of local player /// Name, Version, Copyright global char NameLine[] = - "FreeCraft V" VERSION ", (c) 1998-2003 by The FreeCraft Project."; + "Stratagus V" VERSION ", (c) 1998-2003 by The Stratagus Project."; local char* MapName; /// Filename of the map to load @@ -517,7 +517,7 @@ local void VideoEffect0(int frame, const EventCallback* callbacks) // Inititialize // if( !Logo ) { - Logo=LoadSprite("freecraft.png",628,141); + Logo=LoadSprite("stratagus.png",628,141); } VideoLockScreen(); @@ -859,35 +859,35 @@ local void DebugDrawFonts(void) SetClipping(0,0,VideoWidth-1,VideoHeight-1); VideoFillRectangle(ColorWhite,0,0,40,VideoHeight-1); - VideoDrawTextClip(8, 0+ 10,SmallFont,"FreeCraft"); + VideoDrawTextClip(8, 0+ 10,SmallFont,"Stratagus"); VideoDrawTextClip(8, 0+ 20,SmallFont, "~black~0~red~1~green~2~yellow~3~blue~4~magenta~5~cyan~6~white~7" "~grey~8~light-red~9~light-green~A~light-yellow~B~light-blue~C" "~light-magenta~D~light-cyan~E~light-grey~F"); VideoDrawTextClip(8, 0+ 30,SmallFont,"abdefgABCDEFQ"); - VideoDrawTextClip(8, 40+ 10,GameFont,"FreeCraft"); + VideoDrawTextClip(8, 40+ 10,GameFont,"Stratagus"); VideoDrawTextClip(8, 40+ 25,GameFont, "~black~0~red~1~green~2~yellow~3~blue~4~magenta~5~cyan~6~white~7" "~grey~8~light-red~9~light-green~A~light-yellow~B~light-blue~C" "~light-magenta~D~light-cyan~E~light-grey~F"); VideoDrawTextClip(8, 40+ 40,GameFont,"abdefgABCDEFQ"); - VideoDrawTextClip(8, 100+ 10,LargeFont,"FreeCraft"); + VideoDrawTextClip(8, 100+ 10,LargeFont,"Stratagus"); VideoDrawTextClip(8, 100+ 25,LargeFont, "~black~0~red~1~green~2~yellow~3~blue~4~magenta~5~cyan~6~white~7" "~grey~8~light-red~9~light-green~A~light-yellow~B~light-blue~C" "~light-magenta~D~light-cyan~E~light-grey~F"); VideoDrawTextClip(8, 100+ 40,LargeFont,"abdefgABCDEFQ"); - VideoDrawTextClip(8, 160+ 10,SmallTitleFont,"FreeCraft"); + VideoDrawTextClip(8, 160+ 10,SmallTitleFont,"Stratagus"); VideoDrawTextClip(8, 160+ 35,SmallTitleFont, "~black~0~red~1~green~2~yellow~3~blue~4~magenta~5~cyan~6~white~7" "~grey~8~light-red~9~light-green~A~light-yellow~B~light-blue~C" "~light-magenta~D~light-cyan~E~light-grey~F"); VideoDrawTextClip(8, 160+ 60,SmallTitleFont,"abdefgABCDEFQ"); - VideoDrawTextClip(8, 260+ 10,LargeTitleFont,"FreeCraft"); + VideoDrawTextClip(8, 260+ 10,LargeTitleFont,"Stratagus"); VideoDrawTextClip(8, 260+ 55,LargeTitleFont, "~black~0~red~1~green~2~yellow~3~blue~4~magenta~5~cyan~6~white~7" "~grey~8~light-red~9~light-green~A~light-yellow~B~light-blue~C" @@ -1023,7 +1023,7 @@ global void PreMenuSetup(void) // FIXME: must search tileset by identifier or use a gui palette? TheMap.TerrainName=Tilesets[0]->Ident; LoadTileset(); - LoadRGB(GlobalPalette, s=strdcat3(FreeCraftLibPath, + LoadRGB(GlobalPalette, s=strdcat3(StratagusLibPath, "/graphics/",Tilesets[0]->PaletteFile)); TheMap.TerrainName=NULL; free(s); @@ -1151,7 +1151,7 @@ local void PrintHeader(void) { // vvv---- looks wired, but is needed for GNU brain damage fprintf(stdout,"%s\n written by Lutz Sammer, Fabrice Rossi, Vladi Shabanski, Patrice Fortier,\n Jon Gabrielson, Andreas Arens, Nehal Mistry, Jimmy Salmon and others.\n" - "\t(http://FreeCraft.Org)" + "\t(http://Stratagus.Org)" "\n SIOD Copyright by George J. Carrette." #ifdef USE_LIBMODPLUG "\n libmodplug Copyright by Kenton Varda & Olivier Lapique." @@ -1249,8 +1249,8 @@ global int main1(int argc __attribute__ ((unused)), PrintHeader(); printf( - "\n\nFreeCraft may be copied only under the terms of the GNU General Public License\ -\nwhich may be found in the FreeCraft source kit." + "\n\nStratagus may be copied only under the terms of the GNU General Public License\ +\nwhich may be found in the Stratagus source kit." "\n\nDISCLAIMER:\n\ This software is provided as-is. The author(s) can not be held liable for any\ \ndamage that might arise from the use of this software.\n\ @@ -1337,7 +1337,7 @@ global volatile void Exit(int err) CleanMovie(); - fprintf(stderr,"Thanks for playing FreeCraft.\n"); + fprintf(stderr,"Thanks for playing Stratagus.\n"); exit(err); } @@ -1361,9 +1361,9 @@ local void Usage(void) { PrintHeader(); printf( -"\n\nUsage: freecraft [OPTIONS] [map.pud|map.pud.gz|map.cm|map.cm.gz]\n\ -\t-c file.ccl\tccl start file (default freecraft.ccl)\n\ -\t-d datapath\tpath to freecraft data\n\ +"\n\nUsage: stratagus [OPTIONS] [map.pud|map.pud.gz|map.cm|map.cm.gz]\n\ +\t-c file.ccl\tccl start file (default stratagus.ccl)\n\ +\t-d datapath\tpath to stratagus data\n\ \t-e\t\tStart editor\n\ \t-f factor\tComputer units cost factor\n\ \t-h\t\tHelp shows this page\n\ @@ -1382,7 +1382,7 @@ local void Usage(void) \t-F\t\tFull screen video mode (only supported with SDL)\n\ \t-S\t\tSync speed (100 = 30 frames/s)\n\ \t-W\t\tWindowed video mode (only supported with SDL)\n\ -map is relative to FreeCraftLibPath=datapath, use ./map for relative to cwd\n\ +map is relative to StratagusLibPath=datapath, use ./map for relative to cwd\n\ "); } @@ -1405,9 +1405,9 @@ global int main(int argc,char** argv) // Setup some defaults. // #ifndef __APPLE__ - FreeCraftLibPath=STRATAGUS_LIB_PATH; + StratagusLibPath=STRATAGUS_LIB_PATH; #endif - CclStartFile="ccl/freecraft.ccl"; + CclStartFile="ccl/stratagus.ccl"; EditorStartFile="ccl/editor.ccl"; memset(LocalPlayerName, 0, 16); @@ -1424,7 +1424,7 @@ global int main(int argc,char** argv) CclStartFile=optarg; continue; case 'd': - FreeCraftLibPath=optarg; + StratagusLibPath=optarg; continue; case 'e': EditorRunning=1; diff --git a/src/ui/botpanel.cpp b/src/ui/botpanel.cpp index 8a7d16c0c..77468264c 100644 --- a/src/ui/botpanel.cpp +++ b/src/ui/botpanel.cpp @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name botpanel.c - The bottom panel. */ // // (c) Copyright 1999-2003 by Lutz Sammer, Vladi Belperchinov-Shabanski, // and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -35,7 +35,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "unit.h" diff --git a/src/ui/button_checks.cpp b/src/ui/button_checks.cpp index 8867f4d27..27dc623b3 100644 --- a/src/ui/button_checks.cpp +++ b/src/ui/button_checks.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name button_checks.c - The button checks. */ // // (c) Copyright 1999-2003 by Lutz Sammer, Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "upgrade.h" #include "depend.h" #include "interface.h" diff --git a/src/ui/console.cpp b/src/ui/console.cpp index 2255de6aa..4d6de8d26 100644 --- a/src/ui/console.cpp +++ b/src/ui/console.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name console.c - The console overlay. */ // // (c) Copyright 1999-2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ----------------------------------------------------------------------------*/ #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" /*---------------------------------------------------------------------------- diff --git a/src/ui/icons.cpp b/src/ui/icons.cpp index 8d0d78b22..a540d765a 100644 --- a/src/ui/icons.cpp +++ b/src/ui/icons.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name icons.c - The icons. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "tileset.h" #include "map.h" #include "video.h" diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp index 915f01c0f..c5bffca14 100644 --- a/src/ui/interface.cpp +++ b/src/ui/interface.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name interface.c - The interface. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "sound_id.h" #include "sound.h" diff --git a/src/ui/mainscr.cpp b/src/ui/mainscr.cpp index a10ae99ad..7ecd6a040 100644 --- a/src/ui/mainscr.cpp +++ b/src/ui/mainscr.cpp @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name mainscr.c - The main screen. */ // // (c) Copyright 1998,2000-2003 by Lutz Sammer, Valery Shchedrin, // and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -36,7 +36,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "font.h" #include "sound_id.h" @@ -1209,7 +1209,7 @@ global void DrawInfoPanel(void) x=TheUI.InfoPanelX+16; y=TheUI.InfoPanelY+8; - VideoDrawText(x,y,GameFont,"FreeCraft"); + VideoDrawText(x,y,GameFont,"Stratagus"); y+=16; VideoDrawText(x,y,GameFont,"Cycle:"); VideoDrawNumber(x+48,y,GameFont,GameCycle); diff --git a/src/ui/menu_defs.inc b/src/ui/menu_defs.inc index 06bf88db9..5579936de 100644 --- a/src/ui/menu_defs.inc +++ b/src/ui/menu_defs.inc @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name menus_defs.inc - The menu and buttons definitions. */ // // (c) Copyright 1999-2002 by Andreas Arens // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/ui/menu_proc.cpp b/src/ui/menu_proc.cpp index 3f2add2e1..cee732f48 100644 --- a/src/ui/menu_proc.cpp +++ b/src/ui/menu_proc.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name menu_proc.c - The menu processing code. */ // // (c) Copyright 1999-2003 by Andreas Arens and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #if defined(USE_OPENGL) && defined(_MSC_VER) #undef NOUSER diff --git a/src/ui/menus.cpp b/src/ui/menus.cpp index 1d4c7c998..762099725 100644 --- a/src/ui/menus.cpp +++ b/src/ui/menus.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name menus.c - The menu function code. */ // // (c) Copyright 1999-2003 by Andreas Arens and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -39,7 +39,7 @@ #include #endif -#include "freecraft.h" +#include "stratagus.h" #include "iocompat.h" @@ -2356,7 +2356,7 @@ local void SaveReplayOk(void) strcat(TempPathBuf, "/logs/"); #endif ptr = TempPathBuf + strlen(TempPathBuf); - sprintf(ptr, "log_of_freecraft_%d.log", ThisPlayer->Player); + sprintf(ptr, "log_of_stratagus_%d.log", ThisPlayer->Player); stat(TempPathBuf, &s); buf = (char*)malloc(s.st_size); @@ -4040,7 +4040,7 @@ local void ScenSelectCancel(void) // Use last selected map. // DebugLevel0Fn("Map path: %s\n" _C_ CurrentMapPath); - strcpy(ScenSelectPath, FreeCraftLibPath); + strcpy(ScenSelectPath, StratagusLibPath); if (*ScenSelectPath) { strcat(ScenSelectPath, "/"); } @@ -4091,7 +4091,7 @@ local void CustomGameStart(void) if (ScenSelectPath[0]) { strcat(ScenSelectPath, "/"); strcat(ScenSelectPath, ScenSelectFileName); // Final map name with path - p = ScenSelectPath + strlen(FreeCraftLibPath) + 1; + p = ScenSelectPath + strlen(StratagusLibPath) + 1; strcpy(CurrentMapPath, p); } else { strcpy(CurrentMapPath, ScenSelectFileName); @@ -4129,7 +4129,7 @@ local void GameSetupInit(Menuitem *mi __attribute__ ((unused))) } DebugLevel0Fn("Map path: %s\n" _C_ CurrentMapPath); - strcpy(ScenSelectPath, FreeCraftLibPath); + strcpy(ScenSelectPath, StratagusLibPath); if (*ScenSelectPath) { strcat(ScenSelectPath, "/"); } @@ -5035,7 +5035,7 @@ local void StartEditor(void) // // Use the last path. // - strcpy(ScenSelectPath, FreeCraftLibPath); + strcpy(ScenSelectPath, StratagusLibPath); if (*ScenSelectPath) { strcat(ScenSelectPath, "/"); } @@ -5237,7 +5237,7 @@ local void EditorMainLoadMap(void) s = ScenSelectPath + strlen(ScenSelectPath); *s = '/'; strcpy(s+1, ScenSelectFileName); // Final map name with path - p = ScenSelectPath + strlen(FreeCraftLibPath) + 1; + p = ScenSelectPath + strlen(StratagusLibPath) + 1; strcpy(CurrentMapPath, p); *s = '\0'; } else { @@ -5489,7 +5489,7 @@ local void EditorMainLoadCancel(void) // Use last selected map. // DebugLevel0Fn("Map path: %s\n" _C_ CurrentMapPath); - strcpy(ScenSelectPath, FreeCraftLibPath); + strcpy(ScenSelectPath, StratagusLibPath); if (*ScenSelectPath) { strcat(ScenSelectPath, "/"); } @@ -5693,7 +5693,7 @@ global void EditorLoadMenu(void) s = ScenSelectPath + strlen(ScenSelectPath); *s = '/'; strcpy(s+1, ScenSelectFileName); // Final map name with path - p = ScenSelectPath + strlen(FreeCraftLibPath) + 1; + p = ScenSelectPath + strlen(StratagusLibPath) + 1; strcpy(CurrentMapPath, p); *s = '\0'; } else { @@ -5758,7 +5758,7 @@ local void EditorLoadCancel(void) // Use last selected map. // DebugLevel0Fn("Map path: %s\n" _C_ CurrentMapPath); - strcpy(ScenSelectPath, FreeCraftLibPath); + strcpy(ScenSelectPath, StratagusLibPath); if (*ScenSelectPath) { strcat(ScenSelectPath, "/"); } @@ -5853,7 +5853,7 @@ local void EditorMapPropertiesOk(void) LoadTileset(); ChangeTilesetPud(old,&TheMap); LoadRGB(GlobalPalette, - s=strdcat3(FreeCraftLibPath,"/graphics/", + s=strdcat3(StratagusLibPath,"/graphics/", TheMap.Tileset->PaletteFile)); free(s); VideoCreatePalette(GlobalPalette); @@ -6174,7 +6174,7 @@ global int EditorSaveMenu(void) s = ScenSelectPath + strlen(ScenSelectPath); *s = '/'; strcpy(s+1, ScenSelectFileName); // Final map name with path - p = ScenSelectPath + strlen(FreeCraftLibPath) + 1; + p = ScenSelectPath + strlen(StratagusLibPath) + 1; strcpy(CurrentMapPath, p); *s = '\0'; } @@ -7004,7 +7004,7 @@ local void ReplayGameCancel(void) // Use last selected map. // DebugLevel0Fn("Map path: %s\n" _C_ CurrentMapPath); - strcpy(ScenSelectPath, FreeCraftLibPath); + strcpy(ScenSelectPath, StratagusLibPath); if (*ScenSelectPath) { strcat(ScenSelectPath, "/"); } @@ -7087,7 +7087,7 @@ global void InitMenuFunctions(void) // // Autodetect the swamp tileset // - strcpy(MenuMapFullPath, FreeCraftLibPath); + strcpy(MenuMapFullPath, StratagusLibPath); if (MenuMapFullPath[0]) { strcat(MenuMapFullPath, "/graphics/tilesets/"); } diff --git a/src/ui/mouse.cpp b/src/ui/mouse.cpp index 925c4bedd..6b1d58251 100644 --- a/src/ui/mouse.cpp +++ b/src/ui/mouse.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name mouse.c - The mouse handling. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "tileset.h" #include "video.h" #include "map.h" diff --git a/src/ui/script_ui.cpp b/src/ui/script_ui.cpp index a644798ba..23ab9c514 100644 --- a/src/ui/script_ui.cpp +++ b/src/ui/script_ui.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_ui.c - The ui ccl functions. */ // // (c) Copyright 1999-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "ccl.h" #include "interface.h" #include "ui.h" diff --git a/src/ui/ui.cpp b/src/ui/ui.cpp index 3fc3e885a..1ac1c8954 100644 --- a/src/ui/ui.cpp +++ b/src/ui/ui.cpp @@ -6,18 +6,18 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ui.c - The user interface globals. */ // // (c) Copyright 1999-2003 by Lutz Sammer, Andreas Arens, and // Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "font.h" #include "interface.h" @@ -661,7 +661,7 @@ global void CleanUserInterface(void) } /** -** Takes coordinates of a pixel in freecraft's window and computes +** Takes coordinates of a pixel in stratagus's window and computes ** the map viewport which contains this pixel. ** ** @param x x pixel coordinate with origin at UL corner of screen @@ -823,7 +823,7 @@ local void ClipViewport(Viewport* vp, int ClipX, int ClipY) ** Compute viewport parameters for single viewport mode. ** ** The parameters include viewport's width and height expressed -** in pixels, its position with respect to FreeCraft's window +** in pixels, its position with respect to Stratagus's window ** origin, and the corresponding map parameters expressed in map ** tiles with origin at map origin (map tile (0,0)). */ @@ -846,7 +846,7 @@ local void SetViewportModeSingle (void) ** 2 (approximately) equal parts. ** ** The parameters include viewport's width and height expressed -** in pixels, its position with respect to FreeCraft's window +** in pixels, its position with respect to Stratagus's window ** origin, and the corresponding map parameters expressed in map ** tiles with origin at map origin (map tile (0,0)). */ @@ -875,7 +875,7 @@ local void SetViewportModeSplitHoriz (void) ** to another 2 parts. ** ** The parameters include viewport's width and height expressed -** in pixels, its position with respect to FreeCraft's window +** in pixels, its position with respect to Stratagus's window ** origin, and the corresponding map parameters expressed in map ** tiles with origin at map origin (map tile (0,0)). */ @@ -909,7 +909,7 @@ local void SetViewportModeSplitHoriz3 (void) ** 2 (approximately) equal parts. ** ** The parameters include viewport's width and height expressed -** in pixels, its position with respect to FreeCraft's window +** in pixels, its position with respect to Stratagus's window ** origin, and the corresponding map parameters expressed in map ** tiles with origin at map origin (map tile (0,0)). */ @@ -938,7 +938,7 @@ local void SetViewportModeSplitVert (void) ** to 4 (approximately) equal parts. ** ** The parameters include viewport's width and height expressed -** in pixels, its position with respect to FreeCraft's window +** in pixels, its position with respect to Stratagus's window ** origin, and the corresponding map parameters expressed in map ** tiles with origin at map origin (map tile (0,0)). */ diff --git a/src/unit/depend.cpp b/src/unit/depend.cpp index c3dcb8db0..2e1dfb0fd 100644 --- a/src/unit/depend.cpp +++ b/src/unit/depend.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name depend.c - The units/upgrade dependencies */ // // (c) Copyright 2000-2002 by Vladi Belperchinov-Shabanski and Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "upgrade_structs.h" #include "upgrade.h" #include "depend.h" diff --git a/src/unit/script_unit.cpp b/src/unit/script_unit.cpp index 04d095131..f5d9b5fe7 100644 --- a/src/unit/script_unit.cpp +++ b/src/unit/script_unit.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_unit.c - The unit ccl functions. */ // // (c) Copyright 2001-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "unittype.h" #include "player.h" #include "unit.h" diff --git a/src/unit/script_unittype.cpp b/src/unit/script_unittype.cpp index e7a9324c9..65d48ab70 100644 --- a/src/unit/script_unittype.cpp +++ b/src/unit/script_unittype.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name ccl_unittype.c - The unit-type ccl functions. */ // // (c) Copyright 1999-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/unit/unit.cpp b/src/unit/unit.cpp index af5a84352..2d154ae2a 100644 --- a/src/unit/unit.cpp +++ b/src/unit/unit.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unit.c - The units. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -35,7 +35,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "unitsound.h" diff --git a/src/unit/unit_ai.cpp b/src/unit/unit_ai.cpp index 8e9109536..a4b3090e0 100644 --- a/src/unit/unit_ai.cpp +++ b/src/unit/unit_ai.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unit_ai.c - The unit AI. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" /*---------------------------------------------------------------------------- -- Variables diff --git a/src/unit/unit_cache.cpp b/src/unit/unit_cache.cpp index 82be86c49..7fa5bad9f 100644 --- a/src/unit/unit_cache.cpp +++ b/src/unit/unit_cache.cpp @@ -6,7 +6,7 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unitcache.c - The unit cache. */ // @@ -19,11 +19,11 @@ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -40,7 +40,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #if !defined (UNIT_ON_MAP) && !defined (UNITS_ON_MAP) // { diff --git a/src/unit/unit_draw.cpp b/src/unit/unit_draw.cpp index 42bae43c4..8edf78e7a 100644 --- a/src/unit/unit_draw.cpp +++ b/src/unit/unit_draw.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unit_draw.c - The draw routines for units. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "sound_id.h" #include "unitsound.h" diff --git a/src/unit/unit_find.cpp b/src/unit/unit_find.cpp index 2a1d4d8c4..c5f6c8cf2 100644 --- a/src/unit/unit_find.cpp +++ b/src/unit/unit_find.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unit_find.c - The find/select for units. */ // // (c) Copyright 1998-2003 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "sound_id.h" #include "unitsound.h" diff --git a/src/unit/unit_save.cpp b/src/unit/unit_save.cpp index 747ea7bbf..2e6908f88 100644 --- a/src/unit/unit_save.cpp +++ b/src/unit/unit_save.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unit_save.c - Save for the unit module. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" /*---------------------------------------------------------------------------- -- Variables diff --git a/src/unit/unittype.cpp b/src/unit/unittype.cpp index 6b2ee2815..3c6b19058 100644 --- a/src/unit/unittype.cpp +++ b/src/unit/unittype.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name unittype.c - The unit types. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -34,7 +34,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "map.h" diff --git a/src/unit/upgrade.cpp b/src/unit/upgrade.cpp index c4b8e539c..8f9e5180b 100644 --- a/src/unit/upgrade.cpp +++ b/src/unit/upgrade.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name upgrade.c - The upgrade/allow functions. */ // // (c) Copyright 1999-2002 by Vladi Belperchinov-Shabanski // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "upgrade_structs.h" #include "upgrade.h" #include "player.h" diff --git a/src/video/X11.cpp b/src/video/X11.cpp index b6da03bd3..6ade2c694 100644 --- a/src/video/X11.cpp +++ b/src/video/X11.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name X11.c - XWindows support. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Valery Shchedrin // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -54,7 +54,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "tileset.h" #include "sound_id.h" @@ -500,12 +500,12 @@ foundvisual: wmhints.window_group=window; wmhints.flags=InputHint|StateHint|WindowGroupHint; - classhint.res_name="freecraft"; - classhint.res_class="FreeCraft"; + classhint.res_name="stratagus"; + classhint.res_class="Stratagus"; XSetStandardProperties(TheDisplay,window - ,"FreeCraft" - ,"FreeCraft",None,(char**)0,0,&hints); + ,"Stratagus" + ,"Stratagus",None,(char**)0,0,&hints); XSetClassHint(TheDisplay,window,&classhint); XSetWMHints(TheDisplay,window,&wmhints); diff --git a/src/video/_clip_rectangle b/src/video/_clip_rectangle index 985c878cd..79f386b62 100644 --- a/src/video/_clip_rectangle +++ b/src/video/_clip_rectangle @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /** name _clip_rectangle - Clip rectangle mechanism */ // // (c) Copyright 2001 by Lutz Sammer, Stephan Rasenberg // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/video/cursor.cpp b/src/video/cursor.cpp index e128008d1..3005abfe5 100644 --- a/src/video/cursor.cpp +++ b/src/video/cursor.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name cursor.c - The cursors. */ // // (c) Copyright 1998,2000-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "unittype.h" #include "player.h" diff --git a/src/video/deco.cpp b/src/video/deco.cpp index 332cdeabd..a73941b4c 100644 --- a/src/video/deco.cpp +++ b/src/video/deco.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name deco.c - Mechanism for all 2D decorations on screen. */ // // (c) Copyright 2002 by Lutz Sammer and Stephan Rasenberg // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -30,7 +30,7 @@ ** page Decorations Decorations - a mechanism for all what is on screen ** ** This pages describes the intend to use a special mechanism that -** functions as an intermediate between the freecraft engine and the +** functions as an intermediate between the stratagus engine and the ** video routines. ** ** @note It won't take away the possibility to directly draw something on @@ -288,7 +288,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #ifdef NEW_DECODRAW diff --git a/src/video/font.cpp b/src/video/font.cpp index 06a65f89c..b9e92667c 100644 --- a/src/video/font.cpp +++ b/src/video/font.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name font.c - The color fonts. */ // // (c) Copyright 1998-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "font.h" #include "ccl.h" diff --git a/src/video/graphic.cpp b/src/video/graphic.cpp index bfb6e7e6d..c9d7e2e4f 100644 --- a/src/video/graphic.cpp +++ b/src/video/graphic.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name graphic.c - The general graphic functions. */ // // (c) Copyright 1999-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "iolib.h" #include "intern_video.h" diff --git a/src/video/intern_video.h b/src/video/intern_video.h index 087fac3bc..ec9ca6a75 100644 --- a/src/video/intern_video.h +++ b/src/video/intern_video.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // //*@file intern_video.h @brief The video headerfile for video sources only. */ // // (c) Copyright 1999-2002 by Stephan Rasenbergver. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/video/linedraw.cpp b/src/video/linedraw.cpp index 5290b562b..41942c2cc 100644 --- a/src/video/linedraw.cpp +++ b/src/video/linedraw.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name linedraw.c - The general linedraw functions. */ // // (c) Copyright 2000-2002 by Lutz Sammer, Stephan Rasenberg. // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "intern_video.h" diff --git a/src/video/movie.cpp b/src/video/movie.cpp index a9fddd8ec..5a481f392 100644 --- a/src/video/movie.cpp +++ b/src/video/movie.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name movie.c - Movie playback functions. */ // // (c) Copyright 2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "network.h" #include "sound.h" diff --git a/src/video/new_X11.cpp b/src/video/new_X11.cpp index 6d23a8e79..6b91a809f 100644 --- a/src/video/new_X11.cpp +++ b/src/video/new_X11.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name new_X11.c - XWindows support. */ // // (c) Copyright 1998-2000 by Lutz Sammer and Valery Shchedrin // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -29,7 +29,7 @@ -- Includes ----------------------------------------------------------------------------*/ -#include "freecraft.h" +#include "stratagus.h" #ifdef USE_X11 // { diff --git a/src/video/png.cpp b/src/video/png.cpp index 3eef998d7..51c522efb 100644 --- a/src/video/png.cpp +++ b/src/video/png.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name png.c - The png graphic file loader. */ // // (c) Copyright 1998-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "iolib.h" diff --git a/src/video/sdl.cpp b/src/video/sdl.cpp index 79ee2e859..25de93a0d 100644 --- a/src/video/sdl.cpp +++ b/src/video/sdl.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sdl.c - SDL video support. */ // // (c) Copyright 1999-2003 by Lutz Sammer and Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -29,7 +29,7 @@ -- Includes ----------------------------------------------------------------------------*/ -#include "freecraft.h" +#include "stratagus.h" #ifdef USE_SDL // { @@ -82,7 +82,7 @@ ----------------------------------------------------------------------------*/ global SDL_Surface *Screen; /// Internal screen -global int InMainWindow = 1; /// Cursor inside freecraft window +global int InMainWindow = 1; /// Cursor inside stratagus window local int FrameTicks; /// Frame length in ms local int FrameRemainder; /// Frame remainder 0.1 ms @@ -178,7 +178,7 @@ global void InitVideoSdl(void) // Set WindowManager Title - SDL_WM_SetCaption("FreeCraft","FreeCraft"); + SDL_WM_SetCaption("Stratagus","Stratagus"); } else { if( VideoBpp == 32 && VideoDepth == 24 ) { VideoDepth = 0; diff --git a/src/video/sprite.cpp b/src/video/sprite.cpp index 0a9f87d37..c9c07dac5 100644 --- a/src/video/sprite.cpp +++ b/src/video/sprite.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sprite.c - The general sprite functions. */ // // (c) Copyright 2000-2002 by Lutz Sammer, Stephan Rasenberg // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -33,7 +33,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "intern_video.h" diff --git a/src/video/svgalib.cpp b/src/video/svgalib.cpp index a00b64803..4dd7134bf 100644 --- a/src/video/svgalib.cpp +++ b/src/video/svgalib.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name svgalib.c - svgalib support. */ // // (c) Copyright 1999-2003 by Jarek Sobieszek // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -31,7 +31,7 @@ #include -#include "freecraft.h" +#include "stratagus.h" #ifdef USE_SVGALIB diff --git a/src/video/sweepline.cpp b/src/video/sweepline.cpp index 54f922c26..179ded28f 100644 --- a/src/video/sweepline.cpp +++ b/src/video/sweepline.cpp @@ -6,16 +6,16 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sweepline.c - Invalidate rectangles from given marked areas */// // (c) Copyright 2002 by Lutz Sammer and Stephan Rasenberg // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -32,7 +32,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #ifdef NEW_DECODRAW diff --git a/src/video/sweepline.h b/src/video/sweepline.h index 5957df2eb..fc3cdd2f5 100644 --- a/src/video/sweepline.h +++ b/src/video/sweepline.h @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name sweepline.h - Invalidate rectangles from given marked areas */ // // (c) Copyright 2002 by Lutz Sammer and Stephan Rasenberg // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/src/video/video.cpp b/src/video/video.cpp index 5e312f10f..6f78c7072 100644 --- a/src/video/video.cpp +++ b/src/video/video.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name video.c - The universal video functions. */ // // (c) Copyright 1999-2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -50,7 +50,7 @@ ** ** @section Deco Decorations ** -** A mechanism beteen the Freecraft engine and draw routines +** A mechanism beteen the Stratagus engine and draw routines ** to make a screen refresh/update faster and accurate. ** It will 'know' about overlapping screen decorations and draw ** them all (partly) when one is to be updated. @@ -102,7 +102,7 @@ #include #include -#include "freecraft.h" +#include "stratagus.h" #include "video.h" #include "map.h" #include "ui.h" diff --git a/src/video/wince.cpp b/src/video/wince.cpp index 4f4875529..a75c55f31 100644 --- a/src/video/wince.cpp +++ b/src/video/wince.cpp @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // /**@name wince.c - WinCE video support. */ // // (c) Copyright 2001-2003 by Jimmy Salmon // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. @@ -29,7 +29,7 @@ -- Includes ----------------------------------------------------------------------------*/ -#include "freecraft.h" +#include "stratagus.h" #ifdef USE_WINCE // { diff --git a/tools/aledoc.c b/tools/aledoc.c index 454507fa5..33b5f12b6 100644 --- a/tools/aledoc.c +++ b/tools/aledoc.c @@ -1,11 +1,11 @@ // // (c) Copyright 1999-2001 Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/tools/extract.c b/tools/extract.c index 46325cb7c..71b685ee6 100644 --- a/tools/extract.c +++ b/tools/extract.c @@ -6,19 +6,19 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // -// Utility for FreeCraft. +// Utility for Stratagus. // // extract.c - Extract gfx files. // // (c) Copyright 1998,2000 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/tools/gfx2png.c b/tools/gfx2png.c index 779533443..74e9003cf 100644 --- a/tools/gfx2png.c +++ b/tools/gfx2png.c @@ -6,19 +6,19 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // -// Utility for FreeCraft +// Utility for Stratagus // // gfx2png.c - Convert gfx files to png files. // // (c) Copyright 1998,2000 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/tools/tile2png.c b/tools/tile2png.c index 587d07bb9..53af3d902 100644 --- a/tools/tile2png.c +++ b/tools/tile2png.c @@ -6,17 +6,17 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// Utility for FreeCraft - A free fantasy real time strategy game engine +// Utility for Stratagus - A free fantasy real time strategy game engine // // tile2png.c - Convert tileset files to png files. // // (c) Copyright 1998,2000,2001 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/tools/udta.c b/tools/udta.c index ef3010760..45561fee6 100644 --- a/tools/udta.c +++ b/tools/udta.c @@ -6,19 +6,19 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // -// Utility for FreeCraft. +// Utility for Stratagus. // // udta.c - Converts udta section (old,not working for new version). // // (c) Copyright 1998,2000,2002 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. diff --git a/tools/ugrd.c b/tools/ugrd.c index d94bae7eb..e0f35f78a 100644 --- a/tools/ugrd.c +++ b/tools/ugrd.c @@ -6,19 +6,19 @@ // \/ \/ \/ \/ \/ // ______________________ ______________________ // T H E W A R B E G I N S -// FreeCraft - A free fantasy real time strategy game engine +// Stratagus - A free fantasy real time strategy game engine // -// Utility for FreeCraft. +// Utility for Stratagus. // // ugrd.c - Converts ugrd section (old,not working for new version). // // (c) Copyright 1998,2000 by Lutz Sammer // -// FreeCraft is free software; you can redistribute it and/or modify +// Stratagus is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published // by the Free Software Foundation; only version 2 of the License. // -// FreeCraft is distributed in the hope that it will be useful, +// Stratagus is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details.