diff --git a/ABOUT-NLS b/ABOUT-NLS new file mode 100644 index 0000000..2f50c66 --- /dev/null +++ b/ABOUT-NLS @@ -0,0 +1,768 @@ +Notes on the Free Translation Project +************************************* + +Free software is going international! The Free Translation Project is +a way to get maintainers of free software, translators, and users all +together, so that will gradually become able to speak many languages. +A few packages already provide translations for their messages. + + If you found this `ABOUT-NLS' file inside a distribution, you may +assume that the distributed package does use GNU `gettext' internally, +itself available at your nearest GNU archive site. But you do _not_ +need to install GNU `gettext' prior to configuring, installing or using +this package with messages translated. + + Installers will find here some useful hints. These notes also +explain how users should proceed for getting the programs to use the +available translations. They tell how people wanting to contribute and +work at translations should contact the appropriate team. + + When reporting bugs in the `intl/' directory or bugs which may be +related to internationalization, you should tell about the version of +`gettext' which is used. The information can be found in the +`intl/VERSION' file, in internationalized packages. + +Quick configuration advice +========================== + +If you want to exploit the full power of internationalization, you +should configure it using + + ./configure --with-included-gettext + +to force usage of internationalizing routines provided within this +package, despite the existence of internationalizing capabilities in the +operating system where this package is being installed. So far, only +the `gettext' implementation in the GNU C library version 2 provides as +many features (such as locale alias, message inheritance, automatic +charset conversion or plural form handling) as the implementation here. +It is also not possible to offer this additional functionality on top +of a `catgets' implementation. Future versions of GNU `gettext' will +very likely convey even more functionality. So it might be a good idea +to change to GNU `gettext' as soon as possible. + + So you need _not_ provide this option if you are using GNU libc 2 or +you have installed a recent copy of the GNU gettext package with the +included `libintl'. + +INSTALL Matters +=============== + +Some packages are "localizable" when properly installed; the programs +they contain can be made to speak your own native language. Most such +packages use GNU `gettext'. Other packages have their own ways to +internationalization, predating GNU `gettext'. + + By default, this package will be installed to allow translation of +messages. It will automatically detect whether the system already +provides the GNU `gettext' functions. If not, the GNU `gettext' own +library will be used. This library is wholly contained within this +package, usually in the `intl/' subdirectory, so prior installation of +the GNU `gettext' package is _not_ required. Installers may use +special options at configuration time for changing the default +behaviour. The commands: + + ./configure --with-included-gettext + ./configure --disable-nls + +will respectively bypass any pre-existing `gettext' to use the +internationalizing routines provided within this package, or else, +_totally_ disable translation of messages. + + When you already have GNU `gettext' installed on your system and run +configure without an option for your new package, `configure' will +probably detect the previously built and installed `libintl.a' file and +will decide to use this. This might be not what is desirable. You +should use the more recent version of the GNU `gettext' library. I.e. +if the file `intl/VERSION' shows that the library which comes with this +package is more recent, you should use + + ./configure --with-included-gettext + +to prevent auto-detection. + + The configuration process will not test for the `catgets' function +and therefore it will not be used. The reason is that even an +emulation of `gettext' on top of `catgets' could not provide all the +extensions of the GNU `gettext' library. + + Internationalized packages have usually many `po/LL.po' files, where +LL gives an ISO 639 two-letter code identifying the language. Unless +translations have been forbidden at `configure' time by using the +`--disable-nls' switch, all available translations are installed +together with the package. However, the environment variable `LINGUAS' +may be set, prior to configuration, to limit the installed set. +`LINGUAS' should then contain a space separated list of two-letter +codes, stating which languages are allowed. + +Using This Package +================== + +As a user, if your language has been installed for this package, you +only have to set the `LANG' environment variable to the appropriate +`LL_CC' combination. Here `LL' is an ISO 639 two-letter language code, +and `CC' is an ISO 3166 two-letter country code. For example, let's +suppose that you speak German and live in Germany. At the shell +prompt, merely execute `setenv LANG de_DE' (in `csh'), +`export LANG; LANG=de_DE' (in `sh') or `export LANG=de_DE' (in `bash'). +This can be done from your `.login' or `.profile' file, once and for +all. + + You might think that the country code specification is redundant. +But in fact, some languages have dialects in different countries. For +example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The +country code serves to distinguish the dialects. + + The locale naming convention of `LL_CC', with `LL' denoting the +language and `CC' denoting the country, is the one use on systems based +on GNU libc. On other systems, some variations of this scheme are +used, such as `LL' or `LL_CC.ENCODING'. You can get the list of +locales supported by your system for your country by running the command +`locale -a | grep '^LL''. + + Not all programs have translations for all languages. By default, an +English message is shown in place of a nonexistent translation. If you +understand other languages, you can set up a priority list of languages. +This is done through a different environment variable, called +`LANGUAGE'. GNU `gettext' gives preference to `LANGUAGE' over `LANG' +for the purpose of message handling, but you still need to have `LANG' +set to the primary language; this is required by other parts of the +system libraries. For example, some Swedish users who would rather +read translations in German than English for when Swedish is not +available, set `LANGUAGE' to `sv:de' while leaving `LANG' to `sv_SE'. + + Special advice for Norwegian users: The language code for Norwegian +bokma*l changed from `no' to `nb' recently (in 2003). During the +transition period, while some message catalogs for this language are +installed under `nb' and some older ones under `no', it's recommended +for Norwegian users to set `LANGUAGE' to `nb:no' so that both newer and +older translations are used. + + In the `LANGUAGE' environment variable, but not in the `LANG' +environment variable, `LL_CC' combinations can be abbreviated as `LL' +to denote the language's main dialect. For example, `de' is equivalent +to `de_DE' (German as spoken in Germany), and `pt' to `pt_PT' +(Portuguese as spoken in Portugal) in this context. + +Translating Teams +================= + +For the Free Translation Project to be a success, we need interested +people who like their own language and write it well, and who are also +able to synergize with other translators speaking the same language. +Each translation team has its own mailing list. The up-to-date list of +teams can be found at the Free Translation Project's homepage, +`http://www.iro.umontreal.ca/contrib/po/HTML/', in the "National teams" +area. + + If you'd like to volunteer to _work_ at translating messages, you +should become a member of the translating team for your own language. +The subscribing address is _not_ the same as the list itself, it has +`-request' appended. For example, speakers of Swedish can send a +message to `sv-request@li.org', having this message body: + + subscribe + + Keep in mind that team members are expected to participate +_actively_ in translations, or at solving translational difficulties, +rather than merely lurking around. If your team does not exist yet and +you want to start one, or if you are unsure about what to do or how to +get started, please write to `translation@iro.umontreal.ca' to reach the +coordinator for all translator teams. + + The English team is special. It works at improving and uniformizing +the terminology in use. Proven linguistic skill are praised more than +programming skill, here. + +Available Packages +================== + +Languages are not equally supported in all packages. The following +matrix shows the current state of internationalization, as of January +2004. The matrix shows, in regard of each package, for which languages +PO files have been submitted to translation coordination, with a +translation percentage of at least 50%. + + Ready PO files af am ar az be bg bs ca cs da de el en en_GB eo es + +----------------------------------------------------+ + a2ps | [] [] [] [] | + aegis | () | + ant-phone | () | + anubis | | + ap-utils | | + aspell | [] | + bash | [] [] [] [] | + batchelor | | + bfd | [] [] | + binutils | [] [] | + bison | [] [] [] | + bluez-pin | [] [] [] | + clisp | | + clisp | [] [] [] | + console-tools | [] [] | + coreutils | [] [] [] [] | + cpio | [] [] [] | + darkstat | [] () [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | [] [] [] | + enscript | [] [] [] [] | + error | [] [] [] [] [] | + fetchmail | [] () [] [] [] [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] [] [] | + flex | [] [] [] [] | + fslint | | + gas | [] | + gawk | [] [] [] [] | + gbiff | [] | + gcal | [] | + gcc | [] [] | + gettext | [] [] [] [] [] | + gettext-examples | [] [] [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] | + gimp-print | [] [] [] [] [] | + gliv | | + glunarclock | [] [] | + gnubiff | [] | + gnucash | [] () [] [] | + gnucash-glossary | [] () [] | + gnupg | [] () [] [] [] [] | + gpe-aerial | [] | + gpe-beam | [] [] | + gpe-calendar | [] [] | + gpe-clock | [] [] | + gpe-conf | [] [] | + gpe-contacts | [] [] | + gpe-edit | [] | + gpe-go | [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] | + gpe-sketchbook | [] [] | + gpe-su | [] [] | + gpe-taskmanager | [] [] | + gpe-timesheet | [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] [] | + gprof | [] [] [] | + gpsdrive | () () () | + gramadoir | [] | + grep | [] [] [] [] [] [] | + gretl | [] | + gtick | [] () | + hello | [] [] [] [] [] [] | + id-utils | [] [] | + indent | [] [] [] [] | + iso_3166 | [] [] [] [] [] [] [] [] [] [] | + iso_3166_1 | [] [] [] [] [] [] | + iso_3166_2 | | + iso_3166_3 | [] | + iso_4217 | [] [] [] [] | + iso_639 | | + jpilot | [] [] [] | + jtag | | + jwhois | [] | + kbd | [] [] [] [] [] | + latrine | () | + ld | [] [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] | + libiconv | [] [] [] [] [] | + lifelines | [] () | + lilypond | [] | + lingoteach | | + lingoteach_lessons | () () | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | [] [] | + make | [] [] [] | + man-db | [] () [] [] () | + minicom | [] [] [] | + mysecretdiary | [] [] [] | + nano | [] () [] [] [] | + nano_1_0 | [] () [] [] [] | + opcodes | [] | + parted | [] [] [] [] [] | + ptx | [] [] [] [] [] | + python | | + radius | [] | + recode | [] [] [] [] [] [] [] | + rpm | [] [] | + screem | | + scrollkeeper | [] [] [] [] [] [] | + sed | [] [] [] [] [] [] | + sh-utils | [] [] [] | + shared-mime-info | | + sharutils | [] [] [] [] [] [] | + silky | () | + skencil | [] () [] | + sketch | [] () [] | + soundtracker | [] [] [] | + sp | [] | + tar | [] [] [] [] | + texinfo | [] [] [] | + textutils | [] [] [] [] | + tin | () () | + tp-robot | | + tuxpaint | [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] [] [] | + vorbis-tools | [] [] [] [] | + wastesedge | () | + wdiff | [] [] [] [] | + wget | [] [] [] [] [] [] | + xchat | [] [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] | + +----------------------------------------------------+ + af am ar az be bg bs ca cs da de el en en_GB eo es + 4 0 0 1 9 4 1 40 41 60 78 17 1 5 13 68 + + et eu fa fi fr ga gl he hr hu id is it ja ko lg + +-------------------------------------------------+ + a2ps | [] [] [] () () | + aegis | | + ant-phone | [] | + anubis | [] | + ap-utils | [] | + aspell | [] [] | + bash | [] [] | + batchelor | [] [] | + bfd | [] | + binutils | [] [] | + bison | [] [] [] [] | + bluez-pin | [] [] [] [] [] | + clisp | | + clisp | [] | + console-tools | | + coreutils | [] [] [] [] [] [] | + cpio | [] [] [] [] | + darkstat | () [] [] [] | + diffutils | [] [] [] [] [] [] [] | + e2fsprogs | | + enscript | [] [] | + error | [] [] [] [] | + fetchmail | [] | + fileutils | [] [] [] [] [] [] | + findutils | [] [] [] [] [] [] [] [] [] [] [] | + flex | [] [] [] | + fslint | [] | + gas | [] | + gawk | [] [] [] | + gbiff | [] | + gcal | [] | + gcc | [] | + gettext | [] [] [] | + gettext-examples | [] [] | + gettext-runtime | [] [] [] [] [] | + gettext-tools | [] [] [] | + gimp-print | [] [] | + gliv | () | + glunarclock | [] [] [] [] | + gnubiff | [] | + gnucash | () [] | + gnucash-glossary | [] | + gnupg | [] [] [] [] [] [] [] | + gpe-aerial | [] | + gpe-beam | [] | + gpe-calendar | [] [] [] | + gpe-clock | [] | + gpe-conf | [] | + gpe-contacts | [] [] | + gpe-edit | [] [] | + gpe-go | [] | + gpe-login | [] [] | + gpe-ownerinfo | [] [] [] | + gpe-sketchbook | [] | + gpe-su | [] | + gpe-taskmanager | [] | + gpe-timesheet | [] [] [] | + gpe-today | [] [] | + gpe-todo | [] [] | + gphoto2 | [] [] [] | + gprof | [] [] | + gpsdrive | () () () | + gramadoir | [] [] | + grep | [] [] [] [] [] [] [] [] [] [] [] | + gretl | [] [] | + gtick | [] [] [] | + hello | [] [] [] [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] [] | + indent | [] [] [] [] [] [] [] [] [] | + iso_3166 | [] [] [] [] [] [] [] | + iso_3166_1 | [] [] [] [] [] | + iso_3166_2 | | + iso_3166_3 | | + iso_4217 | [] [] [] [] [] [] | + iso_639 | | + jpilot | [] () | + jtag | [] | + jwhois | [] [] [] [] | + kbd | [] | + latrine | [] | + ld | [] | + libc | [] [] [] [] [] [] | + libgpewidget | [] [] [] [] | + libiconv | [] [] [] [] [] [] [] [] [] | + lifelines | () | + lilypond | [] | + lingoteach | [] [] | + lingoteach_lessons | | + lynx | [] [] [] [] | + m4 | [] [] [] [] | + mailutils | | + make | [] [] [] [] [] [] | + man-db | () () | + minicom | [] [] [] [] | + mysecretdiary | [] [] | + nano | [] [] [] [] | + nano_1_0 | [] [] [] [] | + opcodes | [] | + parted | [] [] [] | + ptx | [] [] [] [] [] [] [] | + python | | + radius | [] | + recode | [] [] [] [] [] [] | + rpm | [] [] | + screem | | + scrollkeeper | [] | + sed | [] [] [] [] [] [] [] [] [] | + sh-utils | [] [] [] [] [] [] [] | + shared-mime-info | [] [] [] | + sharutils | [] [] [] [] [] | + silky | () [] () () | + skencil | [] | + sketch | [] | + soundtracker | [] [] | + sp | [] () | + tar | [] [] [] [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] [] [] [] [] | + tin | [] () | + tp-robot | [] | + tuxpaint | [] [] [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | [] [] | + util-linux | [] [] [] [] () [] | + vorbis-tools | [] | + wastesedge | () | + wdiff | [] [] [] [] [] [] | + wget | [] [] [] [] [] [] [] | + xchat | [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] [] | + +-------------------------------------------------+ + et eu fa fi fr ga gl he hr hu id is it ja ko lg + 22 2 1 26 106 28 24 8 10 41 33 1 26 33 12 0 + + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru + +-----------------------------------------------------+ + a2ps | [] [] () () [] [] [] | + aegis | () () () | + ant-phone | [] [] | + anubis | [] [] [] [] [] [] | + ap-utils | [] () [] | + aspell | [] | + bash | [] [] [] | + batchelor | [] | + bfd | [] | + binutils | [] | + bison | [] [] [] [] [] | + bluez-pin | [] [] [] | + clisp | | + clisp | [] | + console-tools | [] | + coreutils | [] [] | + cpio | [] [] [] [] [] | + darkstat | [] [] [] [] | + diffutils | [] [] [] [] [] [] | + e2fsprogs | [] | + enscript | [] [] [] [] | + error | [] [] [] | + fetchmail | [] [] () [] | + fileutils | [] [] [] | + findutils | [] [] [] [] [] | + flex | [] [] [] [] | + fslint | [] [] | + gas | | + gawk | [] [] [] | + gbiff | [] [] | + gcal | | + gcc | | + gettext | [] [] [] | + gettext-examples | [] [] [] | + gettext-runtime | [] [] [] [] | + gettext-tools | [] [] | + gimp-print | [] | + gliv | [] [] [] | + glunarclock | [] [] [] [] | + gnubiff | [] | + gnucash | [] [] () [] | + gnucash-glossary | [] [] | + gnupg | [] | + gpe-aerial | [] [] [] [] | + gpe-beam | [] [] [] [] | + gpe-calendar | [] [] [] [] | + gpe-clock | [] [] [] [] | + gpe-conf | [] [] [] [] | + gpe-contacts | [] [] [] [] | + gpe-edit | [] [] [] [] | + gpe-go | [] [] [] | + gpe-login | [] [] [] [] | + gpe-ownerinfo | [] [] [] [] | + gpe-sketchbook | [] [] [] [] | + gpe-su | [] [] [] [] | + gpe-taskmanager | [] [] [] [] | + gpe-timesheet | [] [] [] [] | + gpe-today | [] [] [] [] | + gpe-todo | [] [] [] [] | + gphoto2 | [] | + gprof | [] [] | + gpsdrive | () () [] | + gramadoir | () [] | + grep | [] [] [] [] [] | + gretl | | + gtick | [] [] [] | + hello | [] [] [] [] [] [] [] [] [] [] | + id-utils | [] [] [] [] | + indent | [] [] [] [] | + iso_3166 | [] [] [] | + iso_3166_1 | [] [] | + iso_3166_2 | | + iso_3166_3 | [] | + iso_4217 | [] [] [] [] [] [] [] [] | + iso_639 | [] | + jpilot | () () | + jtag | | + jwhois | [] [] [] [] () | + kbd | [] [] [] | + latrine | [] | + ld | | + libc | [] [] [] [] | + libgpewidget | [] [] [] | + libiconv | [] [] [] [] [] | + lifelines | | + lilypond | | + lingoteach | | + lingoteach_lessons | | + lynx | [] [] [] | + m4 | [] [] [] [] [] | + mailutils | [] [] [] | + make | [] [] [] [] | + man-db | [] | + minicom | [] [] [] [] | + mysecretdiary | [] [] [] | + nano | [] [] [] [] [] | + nano_1_0 | [] [] [] [] [] [] | + opcodes | [] [] | + parted | [] [] [] [] | + ptx | [] [] [] [] [] [] [] [] | + python | | + radius | [] [] | + recode | [] [] [] [] | + rpm | [] [] [] | + screem | | + scrollkeeper | [] [] [] [] [] | + sed | [] [] [] | + sh-utils | [] [] | + shared-mime-info | [] [] | + sharutils | [] [] | + silky | () | + skencil | [] [] | + sketch | [] [] | + soundtracker | | + sp | | + tar | [] [] [] [] [] [] | + texinfo | [] [] [] [] | + textutils | [] [] | + tin | | + tp-robot | [] | + tuxpaint | [] [] [] [] [] [] [] [] | + unicode-han-tra... | | + unicode-transla... | | + util-linux | [] [] [] | + vorbis-tools | [] [] [] | + wastesedge | | + wdiff | [] [] [] [] [] | + wget | [] [] [] | + xchat | [] [] [] | + xfree86_xkb_xml | [] [] | + xpad | [] [] | + +-----------------------------------------------------+ + lt lv mk mn ms mt nb nl nn no nso pl pt pt_BR ro ru + 1 2 0 3 12 0 10 69 6 7 1 40 26 36 76 63 + + sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu + +-----------------------------------------------------+ + a2ps | [] [] [] [] | 16 + aegis | | 0 + ant-phone | | 3 + anubis | [] [] | 9 + ap-utils | () | 3 + aspell | | 4 + bash | | 9 + batchelor | | 3 + bfd | [] [] | 6 + binutils | [] [] [] | 8 + bison | [] [] | 14 + bluez-pin | [] [] [] | 14 + clisp | | 0 + clisp | | 5 + console-tools | | 3 + coreutils | [] [] [] [] | 16 + cpio | [] [] | 14 + darkstat | [] [] [] () () | 12 + diffutils | [] [] [] | 23 + e2fsprogs | [] [] | 6 + enscript | [] [] | 12 + error | [] [] [] | 15 + fetchmail | [] [] | 11 + fileutils | [] [] [] [] [] | 17 + findutils | [] [] [] [] [] [] | 29 + flex | [] [] | 13 + fslint | | 3 + gas | [] | 3 + gawk | [] [] | 12 + gbiff | | 4 + gcal | [] [] | 4 + gcc | [] | 4 + gettext | [] [] [] [] [] | 16 + gettext-examples | [] [] [] [] [] | 14 + gettext-runtime | [] [] [] [] [] [] [] [] | 22 + gettext-tools | [] [] [] [] [] [] | 14 + gimp-print | [] [] | 10 + gliv | | 3 + glunarclock | [] [] [] | 13 + gnubiff | | 3 + gnucash | [] [] | 9 + gnucash-glossary | [] [] [] | 8 + gnupg | [] [] [] [] | 17 + gpe-aerial | [] | 7 + gpe-beam | [] | 8 + gpe-calendar | [] [] [] [] | 13 + gpe-clock | [] [] [] | 10 + gpe-conf | [] [] | 9 + gpe-contacts | [] [] [] | 11 + gpe-edit | [] [] [] [] [] | 12 + gpe-go | | 5 + gpe-login | [] [] [] [] [] | 13 + gpe-ownerinfo | [] [] [] [] | 13 + gpe-sketchbook | [] [] | 9 + gpe-su | [] [] [] | 10 + gpe-taskmanager | [] [] [] | 10 + gpe-timesheet | [] [] [] [] | 12 + gpe-today | [] [] [] [] [] | 13 + gpe-todo | [] [] [] [] | 12 + gphoto2 | [] [] [] | 11 + gprof | [] [] | 9 + gpsdrive | [] [] | 3 + gramadoir | [] | 5 + grep | [] [] [] [] | 26 + gretl | | 3 + gtick | | 7 + hello | [] [] [] [] [] | 34 + id-utils | [] [] | 12 + indent | [] [] [] [] | 21 + iso_3166 | [] [] [] [] [] [] [] | 27 + iso_3166_1 | [] [] [] | 16 + iso_3166_2 | | 0 + iso_3166_3 | | 2 + iso_4217 | [] [] [] [] [] [] | 24 + iso_639 | | 1 + jpilot | [] [] [] [] [] | 9 + jtag | [] | 2 + jwhois | () [] [] | 11 + kbd | [] [] | 11 + latrine | | 2 + ld | [] [] | 5 + libc | [] [] [] [] | 20 + libgpewidget | [] [] [] [] | 13 + libiconv | [] [] [] [] [] [] [] [] | 27 + lifelines | [] | 2 + lilypond | [] | 3 + lingoteach | | 2 + lingoteach_lessons | () | 0 + lynx | [] [] [] | 14 + m4 | [] [] | 15 + mailutils | | 5 + make | [] [] [] | 16 + man-db | [] | 5 + minicom | | 11 + mysecretdiary | [] [] | 10 + nano | [] [] [] [] | 17 + nano_1_0 | [] [] [] | 17 + opcodes | [] [] | 6 + parted | [] [] [] | 15 + ptx | [] [] | 22 + python | | 0 + radius | | 4 + recode | [] [] [] | 20 + rpm | [] [] | 9 + screem | [] [] | 2 + scrollkeeper | [] [] [] | 15 + sed | [] [] [] [] [] [] | 24 + sh-utils | [] [] | 14 + shared-mime-info | [] [] | 7 + sharutils | [] [] [] [] | 17 + silky | () | 3 + skencil | [] | 6 + sketch | [] | 6 + soundtracker | [] [] | 7 + sp | [] | 3 + tar | [] [] [] [] [] | 24 + texinfo | [] [] [] | 14 + textutils | [] [] [] [] | 16 + tin | | 1 + tp-robot | | 2 + tuxpaint | [] [] [] [] [] | 29 + unicode-han-tra... | | 0 + unicode-transla... | | 2 + util-linux | [] [] | 15 + vorbis-tools | | 8 + wastesedge | | 0 + wdiff | [] [] [] | 18 + wget | [] [] [] [] [] [] [] [] | 24 + xchat | [] [] [] [] [] | 15 + xfree86_xkb_xml | [] [] [] [] [] | 11 + xpad | | 5 + +-----------------------------------------------------+ + 63 teams sk sl sr sv ta th tr uk ven vi wa xh zh_CN zh_TW zu + 131 domains 47 19 28 83 0 0 59 13 1 1 11 0 22 22 0 1373 + + Some counters in the preceding matrix are higher than the number of +visible blocks let us expect. This is because a few extra PO files are +used for implementing regional variants of languages, or language +dialects. + + For a PO file in the matrix above to be effective, the package to +which it applies should also have been internationalized and +distributed as such by its maintainer. There might be an observable +lag between the mere existence a PO file and its wide availability in a +distribution. + + If January 2004 seems to be old, you may fetch a more recent copy of +this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date +matrix with full percentage details can be found at +`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. + +Using `gettext' in new packages +=============================== + +If you are writing a freely available program and want to +internationalize it you are welcome to use GNU `gettext' in your +package. Of course you have to respect the GNU Library General Public +License which covers the use of the GNU `gettext' library. This means +in particular that even non-free programs can use `libintl' as a shared +library, whereas only free software can use `libintl' as a static +library or use modified versions of `libintl'. + + Once the sources are changed appropriately and the setup can handle +the use of `gettext' the only thing missing are the translations. The +Free Translation Project is also available for packages which are not +developed inside the GNU project. Therefore the information given above +applies also for every other Free Software Project. Contact +`translation@iro.umontreal.ca' to make the `.pot' files available to +the translation teams. + diff --git a/ChangeLog b/ChangeLog index a279e20..3238341 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,77 @@ +2.6: +- added XDG desktop file (09/10/26 PT) +- fixed compiling on Fedora (09/10/26 SG) +- fixed GNU_SOURCE warning (09/10/26 MS) +- added new levelsets (09/10/26 MS) +- added hidden config option badspeech to disable swearing by default + (09/10/26 MS) +- improved french translation (08/08/24 K.C.) +- drop group rights on startup (linux only) to improve security (access + to highscore) (08/03/29 HG) +- bugfix: update levelset tooltip when changing selection with left/right +arrows (08/03/29 HG) +- added improved spec file for building RPMs (07/10/10 SG) +- configure now works for win32 (07/01/20 DY) + +2.6beta-7: +- french translation added (06/08/27 K.C.) + +2.6beta-6: +- added a hint for building on OS/2 to the README (06/05/27 DY) +- improved some german translations (06/05/26 MS) +- create some server bots per default (06/05/26 MS) +- adjusted fcntl call in net.c to work with kernel 2.6+ (and hopefully still + for lower versions... if not use SDL_net) (06/05/26 MS) +- use text from server option "-m" directly as welcome message if a file + by that name was not found (06/05/26 MS) +- read highscores file before adding new scores for usage with NFS + (06/05/12 netfab) +- inline removed from function declarations to ensure global access + (06/04/01 PM) +- removed -Wall from CC arguments for better portability + (06/04/01 PM) + +2.6beta-5: +- i18n for yes/no confirmation by y/n (05/11/29 M.S.) +- added some more missing strings to i18n (05/11/20 M.S.) +- leaving game by window manager's close button works in quick help + (05/11/20 M.S.) +- switching fullscreen/windowed mode works in quick help (05/11/20 M.S.) +- added gettext-comments for those strings that use % but not as format + modifiers to prevent errors when making gmo files (05/11/20 M.S.) + +2.6beta-4: +- added german localization (05/11/13 R.S.) +- removed client/client_game.c from POTFILES.in (05/10/31 M.S.) +- changed 'src' to 'client' directory in POTFILES.in (05/10/31 M.S.) + +2.6beta-3: +- added missing common/gettext.h (05/10/20 M.S.) + +2.6beta-2: +- i18n support for client (05/10/19 M.S.) +- fixed some more s(n)printf bugs (05/05/22 U.H.) + +2.6beta: +- added several new levelsets (05/05/15 M.S.) +- disabled AC_PROG_STRIP from win32 build process since autotools in SuSE + does not like it??? (05/05/15 M.S.) +- moved AC_CANONICAL_HOST to beginning of configure.in (05/05/15 M.S.) +- finished bonus level DEFENDER (05/05/15 M.S.) +- added bonus level DEFENDER (05/04/6 M.S.) +- added bonus level HUNTER (05/04/01 M.S.) +- freakout levelset has bonus levels (05/04/01 M.S.) +- original levelset has bonus levels (05/04/01 M.S.) +- added bonus level SITTING_DUCKS (05/03/31 M.S.) +- made additional bonus levels optional (05/03/30 M.S.) +- normal levelsets get a bonus level every four normal levels + (05/03/30 M.S.) +- setting sound volume has effect (05/03/28 M.S.) +- added bonus levels JUMPING_JACK, OUTBREAK and BARRIER + (05/03/28 M.S.) +- security issue fixed: bad sprintf/scanf calls could lead to crashes + or potential security problems (05/02/14 U.H.) + 2.5.2: - added a different sound for balls reflected from the paddle (05/01/13 M.S.) diff --git a/LBreakout2.prj b/LBreakout2.prj deleted file mode 100644 index ed13a27..0000000 --- a/LBreakout2.prj +++ /dev/null @@ -1,153 +0,0 @@ -# Anjuta Version 0.1.7 -Compatibility Level: 1 - - - - - - - - - - - - - - - - - - - - -props.file.type=project - -anjuta.version=0.1.7 -anjuta.compatibility.level=1 - -project.name=LBreakout2 -project.type=GENERIC -project.target.type=EXECUTABLE -project.version=2.0alpha-2 -project.author=Michael Speck -project.source.target=lbreakout2 - -project.has.gettext=0 - -project.programming.language=C - -project.menu.entry=LBreakout2 Version (null) -project.menu.group=Applications -project.menu.comment=LBreakout2 Version (null) -project.menu.icon=lbreakout2_icon.(null) -project.menu.need.terminal=0 - -project.configure.options= - -anjuta.program.arguments= - -project.config.disable.overwriting=1 1 1 1 1 1 1 1 1 -project.config.extra.modules.before= -project.config.extra.modules.after= - -module.incude.name=include -module.incude.type= -module.incude.expanded=0 -module.incude.files= - -module.source.name=src -module.source.type= -module.source.expanded=1 -module.source.files=\ - credit.c shine.c extras.c balls.c shrapnells.c \ - shots.c event.c paddle.c frame.c misc.c bricks.c difficulty.c \ - player.c game.c file.c levels.c config.c \ - item.c menu.c manager.c value.c chart.c \ - editor.c help.c \ - main.c \ - credit.h shine.h extras.h balls.h shrapnells.h \ - shots.h event.h paddle.h frame.h misc.h bricks.h difficulty.h \ - player.h game.h file.h levels.h config.h \ - item.h menu.h manager.h value.h chart.h \ - editor.h lbreakout.h help.h \ - hint.c hint.h client.c client.h comm.c comm.h \ - client_recv.c client_data.h client_data.c \ - client_handlers.h client_handlers.c client_game.c \ - slot.h \ - theme.c theme.h\ - display.c display.h \ - input.c input.h \ - ../common/net.h ../common/net.c \ - ../common/list.h ../common/list.c \ - ../common/tools.h ../common/tools.c \ - ../common/parser.h ../common/parser.c \ - ../common/messages.h \ - ../gui/stk.h ../gui/stk.c \ - ../gui/gui.h ../gui/gui.c \ - ../gui/gui_widget.h ../gui/gui_widget.c \ - ../gui/gui_box.h ../gui/gui_box.c \ - ../gui/gui_button.h ../gui/gui_button.c \ - ../gui/gui_label.h ../gui/gui_label.c \ - ../gui/gui_icon.h ../gui/gui_icon.c \ - ../gui/gui_progressbar.h ../gui/gui_progressbar.c \ - ../gui/gui_scrollbar.h ../gui/gui_scrollbar.c \ - ../gui/gui_list.h ../gui/gui_list.c \ - ../gui/gui_edit.h ../gui/gui_edit.c \ - ../gui/gui_radiogroup.h ../gui/gui_radiogroup.c \ - ../gui/gui_spinbutton.h ../gui/gui_spinbutton.c \ - ../server/server.h ../server/server.c \ - ../server/server_game.c ../server/server_game.h \ - ../game/balls.h ../game/comm.h ../game/game.h \ - ../game/levels.h ../game/paddle.h ../game/bricks.h \ - ../game/extras.h ../game/gamedefs.h ../game/mathfuncs.h \ - ../game/shots.h \ - ../game/balls.c ../game/comm.c ../game/game.c ../game/mathfuncs.c \ - ../game/shots.c ../game/bricks.c ../game/extras.c \ - ../game/levels.c ../game/paddle.c - -module.pixmap.name=pixmaps -module.pixmap.type= -module.pixmap.expanded=0 -module.pixmap.files= - -module.data.name=data -module.data.type= -module.data.expanded=0 -module.data.files= - -module.help.name=help -module.help.type= -module.help.expanded=0 -module.help.files= - -module.doc.name=doc -module.doc.type= -module.doc.expanded=0 -module.doc.files= - -module.po.expanded=0 -module.po.files= - -compiler.options.supports= - -compiler.options.include.paths= - -compiler.options.library.paths= - -compiler.options.libraries= -compiler.options.libraries.selected= - -compiler.options.defines= - -compiler.options.warning.buttons=0 0 1 1 1 1 1 1 1 1 1 0 1 1 0 1 - -compiler.options.optimize.buttons=0 1 0 0 - -compiler.options.other.buttons=1 0 - -compiler.options.other.c.options= - -compiler.options.other.l.options= - -project.source.paths= - diff --git a/Makefile.am b/Makefile.am index b0f4171..0872f2f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,14 +1,27 @@ -SUBDIRS = common gui game server client docs +SUBDIRS = intl m4 po common gui game server client docs -EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \ -TODO lbreakout2.spec touchall lbreakout32.gif lbreakout48.gif \ -LBreakout2.prj win32_mancomp win32_preparchive +EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \ +README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \ +lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive + +desktopdir = $(datadir)/applications +desktop_DATA = lbreakout2.desktop +icondir = $(datadir)/icons +icon_DATA = lbreakout48.gif + WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \ -TODO lbreakout2.spec +TODO lbreakout2.spec ABOUT-NLS WIN32_LOCAL_DLL = SDL.dll SDL_mixer.dll zlib.dll libpng.dll WIN32_SYS_DLL = msvcrt.dll AUTOMAKE_OPTIONS = foreign + +# We can't use static desktop file because of icon location. Is this +# the right way to handle it? At least it works... as long as $datadir +# does not contain plus signs. :-) +lbreakout2.desktop: + @sed -e "s+Icon=+Icon=$(datadir)/icons/lbreakout48.gif+" \ + < lbreakout2.desktop.in > lbreakout2.desktop win32text: $(WIN32_TEXT) @echo Converting text files for win32 installer @@ -38,17 +51,10 @@ @echo "[Tasks]" >> $@ @echo "Name: \"desktopicon\"; Description: \"Create a &desktop icon\"; GroupDescription: \"Additional icons:\"" >> $@ @echo "[Files]" >> $@ - @(cd win32dlls; for file in $(WIN32_LOCAL_DLL); do \ - echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; \ - done) - @(cd win32dlls; for file in $(WIN32_SYS_DLL); do \ - echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{sys}\"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall" >> $@; \ - done) + @(cd win32dlls; for file in $(WIN32_LOCAL_DLL); do echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; done) + @(cd win32dlls; for file in $(WIN32_SYS_DLL); do echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{sys}\"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall" >> $@; done) @echo "Source: \"win32text\\*.*\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; - @list='$(SUBDIRS)'; for subdir in $$list; do \ - (cd $$subdir \ - && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); \ - done + @list='$(SUBDIRS)'; for subdir in $$list; do (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); done @echo "[Icons]" >> $@ @echo "Name: \"{group}\\@appname@\"; Filename: \"{app}\\$(PACKAGE)$(EXEEXT)\"; WorkingDir: \"{app}\"" >> $@ @echo "Name: \"{group}\\@appname@ Manual\"; Filename: \"{app}\\docs\\index.html\"" >> $@ @@ -64,3 +70,5 @@ @mv setup.exe $(PACKAGE)-$(VERSION)-win32.exe @-rm -rf win32text @echo "Installer created: $(PACKAGE)-$(VERSION)-win32.exe" + +ACLOCAL_AMFLAGS = -I m4 diff --git a/Makefile.in b/Makefile.in index ee84f8f..cbffcf9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,153 +12,339 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = . - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ + $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(top_srcdir)/configure $(top_srcdir)/intl/Makefile.in \ + ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS TODO \ + config.guess config.rpath config.sub depcomp install-sh \ + missing mkinstalldirs +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno configure.status.lineno +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = intl/Makefile +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +am__installdirs = "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)" +desktopDATA_INSTALL = $(INSTALL_DATA) +iconDATA_INSTALL = $(INSTALL_DATA) +DATA = $(desktop_DATA) $(icon_DATA) +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -SUBDIRS = common gui game server client docs - -EXTRA_DIST = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif lbreakout48.gif LBreakout2.prj win32_mancomp win32_preparchive - -WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt TODO lbreakout2.spec +SUBDIRS = intl m4 po common gui game server client docs +EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \ +README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \ +lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive + +desktopdir = $(datadir)/applications +desktop_DATA = lbreakout2.desktop +icondir = $(datadir)/icons +icon_DATA = lbreakout48.gif +WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \ +TODO lbreakout2.spec ABOUT-NLS WIN32_LOCAL_DLL = SDL.dll SDL_mixer.dll zlib.dll libpng.dll WIN32_SYS_DLL = msvcrt.dll - AUTOMAKE_OPTIONS = foreign -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ -Makefile.am Makefile.in NEWS TODO acconfig.h acinclude.m4 aclocal.m4 \ -config.guess config.h.in config.sub configure configure.in install-sh \ -missing mkinstalldirs - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +ACLOCAL_AMFLAGS = -I m4 +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status - -$(ACLOCAL_M4): configure.in acinclude.m4 - cd $(srcdir) && $(ACLOCAL) - -config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES) +am--refresh: + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck -$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) + +$(top_srcdir)/configure: $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) - -config.h: stamp-h +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 @if test ! -f $@; then \ - rm -f stamp-h; \ - $(MAKE) stamp-h; \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ else :; fi -stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES= CONFIG_HEADERS=config.h \ - $(SHELL) ./config.status - @echo timestamp > stamp-h 2> /dev/null -$(srcdir)/config.h.in: $(srcdir)/stamp-h.in - @if test ! -f $@; then \ - rm -f $(srcdir)/stamp-h.in; \ - $(MAKE) $(srcdir)/stamp-h.in; \ - else :; fi -$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) - @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null - -mostlyclean-hdr: - -clean-hdr: + rm -f stamp-h1 + touch $@ distclean-hdr: - -rm -f config.h - -maintainer-clean-hdr: + -rm -f config.h stamp-h1 +intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +uninstall-info-am: +install-desktopDATA: $(desktop_DATA) + @$(NORMAL_INSTALL) + test -z "$(desktopdir)" || $(mkdir_p) "$(DESTDIR)$(desktopdir)" + @list='$(desktop_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(desktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(desktopdir)/$$f'"; \ + $(desktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(desktopdir)/$$f"; \ + done + +uninstall-desktopDATA: + @$(NORMAL_UNINSTALL) + @list='$(desktop_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(desktopdir)/$$f'"; \ + rm -f "$(DESTDIR)$(desktopdir)/$$f"; \ + done +install-iconDATA: $(icon_DATA) + @$(NORMAL_INSTALL) + test -z "$(icondir)" || $(mkdir_p) "$(DESTDIR)$(icondir)" + @list='$(icon_DATA)'; for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + f=$(am__strip_dir) \ + echo " $(iconDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(icondir)/$$f'"; \ + $(iconDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(icondir)/$$f"; \ + done + +uninstall-iconDATA: + @$(NORMAL_UNINSTALL) + @list='$(icon_DATA)'; for p in $$list; do \ + f=$(am__strip_dir) \ + echo " rm -f '$(DESTDIR)$(icondir)/$$f'"; \ + rm -f "$(DESTDIR)$(icondir)/$$f"; \ + done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -164,13 +352,14 @@ # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -182,7 +371,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -190,13 +379,24 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ + rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ @@ -206,178 +406,328 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done - +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) +TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(PACKAGE)-$(VERSION) -top_distdir = $(distdir) + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) + $(mkdir_p) $(distdir)/intl $(distdir)/m4 $(distdir)/po + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test -d "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ + || exit 1; \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + distdir) \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist - -rm -rf $(distdir) - GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz - mkdir $(distdir)/=build - mkdir $(distdir)/=inst - dc_install_base=`cd $(distdir)/=inst && pwd`; \ - cd $(distdir)/=build \ - && ../configure --srcdir=.. --prefix=$$dc_install_base \ + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + --with-included-gettext \ + $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ - && $(MAKE) $(AM_MAKEFLAGS) dist - -rm -rf $(distdir) - @banner="$(distdir).tar.gz is ready for distribution"; \ - dashes=`echo "$$banner" | sed s/./=/g`; \ - echo "$$dashes"; \ - echo "$$banner"; \ - echo "$$dashes" -dist: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -dist-all: distdir - -chmod -R a+r $(distdir) - GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) - -rm -rf $(distdir) -distdir: $(DISTFILES) - -rm -rf $(distdir) - mkdir $(distdir) - -chmod 777 $(distdir) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ - if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ - else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ - if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ - || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ - || exit 1; \ - fi; \ - done -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 check-am: all-am check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -all-recursive-am: config.h - $(MAKE) $(AM_MAKEFLAGS) all-recursive - -install-exec-am: +all-am: Makefile $(DATA) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(icondir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-recursive install-exec: install-exec-recursive - -install-data-am: install-data: install-data-recursive +uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile config.h -all-redirect: all-recursive-am + +installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: install-desktopDATA install-iconDATA + +install-exec-am: + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive -clean-am: clean-hdr clean-tags clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-hdr distclean-tags distclean-generic clean-am - -distclean: distclean-recursive - -rm -f config.status - -maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -rm -f config.status - -.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ -install-data-recursive uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ -install-exec-am install-exec install-data-am install-data install-am \ -install uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-desktopDATA uninstall-iconDATA \ + uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ + check-am clean clean-generic clean-recursive ctags \ + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \ + dist-tarZ dist-zip distcheck distclean distclean-generic \ + distclean-hdr distclean-recursive distclean-tags \ + distcleancheck distdir distuninstallcheck dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-desktopDATA install-exec \ + install-exec-am install-iconDATA install-info install-info-am \ + install-man install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic maintainer-clean-recursive \ + mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ + pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ + uninstall-desktopDATA uninstall-iconDATA uninstall-info-am + + +# We can't use static desktop file because of icon location. Is this +# the right way to handle it? At least it works... as long as $datadir +# does not contain plus signs. :-) +lbreakout2.desktop: + @sed -e "s+Icon=+Icon=$(datadir)/icons/lbreakout48.gif+" \ + < lbreakout2.desktop.in > lbreakout2.desktop win32text: $(WIN32_TEXT) @echo Converting text files for win32 installer @@ -407,17 +757,10 @@ @echo "[Tasks]" >> $@ @echo "Name: \"desktopicon\"; Description: \"Create a &desktop icon\"; GroupDescription: \"Additional icons:\"" >> $@ @echo "[Files]" >> $@ - @(cd win32dlls; for file in $(WIN32_LOCAL_DLL); do \ - echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; \ - done) - @(cd win32dlls; for file in $(WIN32_SYS_DLL); do \ - echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{sys}\"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall" >> $@; \ - done) + @(cd win32dlls; for file in $(WIN32_LOCAL_DLL); do echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; done) + @(cd win32dlls; for file in $(WIN32_SYS_DLL); do echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{sys}\"; CopyMode: alwaysskipifsameorolder; Flags: restartreplace uninsneveruninstall" >> $@; done) @echo "Source: \"win32text\\*.*\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; - @list='$(SUBDIRS)'; for subdir in $$list; do \ - (cd $$subdir \ - && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); \ - done + @list='$(SUBDIRS)'; for subdir in $$list; do (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); done @echo "[Icons]" >> $@ @echo "Name: \"{group}\\@appname@\"; Filename: \"{app}\\$(PACKAGE)$(EXEEXT)\"; WorkingDir: \"{app}\"" >> $@ @echo "Name: \"{group}\\@appname@ Manual\"; Filename: \"{app}\\docs\\index.html\"" >> $@ @@ -433,7 +776,6 @@ @mv setup.exe $(PACKAGE)-$(VERSION)-win32.exe @-rm -rf win32text @echo "Installer created: $(PACKAGE)-$(VERSION)-win32.exe" - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/README b/README index 803112c..f59ad08 100644 --- a/README +++ b/README @@ -10,8 +10,9 @@ III. Network Server IV. Documentation V. Troubleshooting -VI. Resources -VII. Feedback +VI. Localization +VII. Resources +VIII. Feedback ******************** ******************** @@ -21,7 +22,7 @@ is recommended), SDL_mixer (optional for sound) and SDL_net (optional for networking on non-Unices). These libraries can be found at http://libsdl.org. The graphical stuff requires PNG -which is usually included to a distro. If not check out +which is usually included in a distro. If not check out http://www.libpng.org/pub/png/libpng.html. ******************** @@ -47,14 +48,18 @@ REPLACES --with-highscore-path TO COMPLY WITH AUTOCONF; THE DEFAULT LOCATION NOW DEPENDS ON YOUR DISTRIBUTION: PREVIOUSLY - IT WAS /var/lib/games. USE - --localstatedir=/var/lib/games - FOR EXISTING HIGHSCORES. + IT WAS /var/lib/games. USE + --localstatedir=/var/lib/games FOR EXISTING + HIGHSCORES. > make > su (become root) > make install (if install wasn't disabled) > exit (become user again) > lbreakout2 (run client/non-network game) + +Note: Swearing is disabled in version >= 2.6. To enable it you have to +edit ~/.lgames/lbreakout2.conf manually and set the hidden option badspeech +to 1. If you cannot find the option start and quit LBreakout2 once. Building on Win32 ----------------- @@ -113,6 +118,12 @@ Lee Read added some scripting to create a standalone installer. This scripting is broken right now, but hopefully fixed soon. +Building on OS/2 +---------------- +On OS/2 GCC creates windowed console apps by default. There are various +solutions, see http://www.edm2.com/index.php/SDL#General_tips_and_tricks +or run 'emxbind -e -p lbreakout2.exe' after building. - Dave Yeo + ******************** III. Network Server ******************** @@ -182,7 +193,34 @@ If this fails set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). ******************** -VI. Resources +VI. Localization +******************** +This game now supports i18n. If you want to add l10n for your native language, +please contact me first, to prevent overlapping translations. A thorough +documentation can be found at + http://www.gnu.org/software/gettext/manual/html_mono/gettext.html +Basically, you will have to do the following: + 1) cd po + 2) add your language code (e.g., de for German) to the existing line in +LINGUAS merely separated from the other languages by a blank + 3) run `msginit -o .po` with replaced by your language code + 4) translate the english message IDs in .po + 5) run make .gmo +Whenever you change something in your translation you'll have to repeat +step 5). I strongly recommend to configure the program with --disable-install +while working on a translation. Otherwise you'd have to copy and rename the +.gmo file as root every time you want to see your changes. If the source has +been compiled without installation, only step 5) and simply running the game +is required. (Of course, the enviroment variable LANG must be set to your +locale.) +This should suffice. If not, please read the excellent documentation at +gnu.org. The fonts do only contain the basic latin letters. No special letters +(like the german umlauts or any accents for example) are supported, so a l10n +should not use them. If a string has a single %, meant as a percent sign, +you'll have to manually remove the 'format' comment above the id (if any). + +******************** +VII. Resources ******************** Some graphics and sounds has been taken and modified from other non-copyrighted resources: @@ -191,8 +229,7 @@ Thanks to all of these guys for there free stuff! ******************** -VII. Feedback +VIII. Feedback ******************** LGames URL: http://www.lgames.sf.net e-Mail: kulkanie@gmx.net - diff --git a/TODO b/TODO index f7b3440..10fb633 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,7 @@ +- i18n of y/n in game.c und misc.c desinitgration +- fonts with special letters +- info file for theme +- replace swearing - allow themes to have several 'between level' screens - udp flooding after game finished - allow additional weapon graphic/animation planted on top @@ -5,4 +9,3 @@ - improve pre-calculation of networked ball movement (dummy reflect) - joystick as input - shadow surface for zoom - diff --git a/acconfig.h b/acconfig.h deleted file mode 100644 index caac01b..0000000 --- a/acconfig.h +++ /dev/null @@ -1,13 +0,0 @@ -#undef ENABLE_NLS -#undef HAVE_CATGETS -#undef HAVE_GETTEXT -#undef HAVE_LC_MESSAGES -#undef HAVE_STPCPY -#undef HAVE_LIBSM -#undef PACKAGE_LOCALE_DIR -#undef PACKAGE_DOC_DIR -#undef PACKAGE_DATA_DIR -#undef PACKAGE_PIXMAPS_DIR -#undef PACKAGE_HELP_DIR -#undef PACKAGE_MENU_DIR -#undef PACKAGE_SOURCE_DIR diff --git a/acinclude.m4 b/acinclude.m4 index 48ebffb..ada3a41 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,5 +1,3 @@ -dnl SDL Stuff - # Configure paths for SDL # Sam Lantinga 9/21/99 # stolen from Manish Singh @@ -10,7 +8,7 @@ dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS dnl -AC_DEFUN(AM_PATH_SDL, +AC_DEFUN([AM_PATH_SDL], [dnl dnl Get the cflags and libraries from the sdl-config script dnl @@ -34,7 +32,9 @@ fi fi - AC_PATH_PROG(SDL_CONFIG, sdl-config, no) + AC_REQUIRE([AC_CANONICAL_TARGET]) + PATH="$prefix/bin:$prefix/usr/bin:$PATH" + AC_PATH_PROG(SDL_CONFIG, sdl-config, no, [$PATH]) min_sdl_version=ifelse([$1], ,0.11.0,$1) AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) no_sdl="" @@ -107,6 +107,12 @@ } else { + printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); + printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); + printf("*** to point to the correct copy of sdl-config, and remove the file\n"); + printf("*** config.cache before re-running configure\n"); return 1; } } @@ -136,6 +142,11 @@ AC_TRY_LINK([ #include #include "SDL.h" + +int main(int argc, char *argv[]) +{ return 0; } +#undef main +#define main K_and_R_C_main ], [ return 0; ], [ echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding SDL or finding the wrong" @@ -162,26 +173,3 @@ AC_SUBST(SDL_LIBS) rm -f conf.sdltest ]) - -dnl -dnl Search for specific programs -dnl - -dnl zip to pakcage win32 installer -AC_DEFUN(AC_PROG_ZIP,[ -AC_CHECK_PROG(ZIP, zip, zip) -test -z "${ZIP}" && AC_MSG_ERROR(zip was not found on this system) -]) - -dnl strip reduces executable size by getting rid of extreneous symbols -AC_DEFUN(AC_PROG_STRIP,[ -AC_CHECK_PROG(STRIP, strip, strip) -test -z "${STRIP}" && AC_MSG_ERROR(strip was not found on this system) -]) - -dnl Inno Setup 2 iscc is the win32 installer script compiler -AC_DEFUN(AC_PROG_ISCC,[ -AC_CHECK_PROG(ISCC, iscc, iscc) -test -z "${ISCC}" && AC_MSG_ERROR(Inno Setup 2 iscc was not found on this system) -]) - diff --git a/aclocal.m4 b/aclocal.m4 index d8c46d7..1a16f2b 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,281 +1,721 @@ -dnl aclocal.m4 generated automatically by aclocal 1.4-p4 - -dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -dnl This program is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without -dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A -dnl PARTICULAR PURPOSE. - -dnl SDL Stuff - -# Configure paths for SDL -# Sam Lantinga 9/21/99 -# stolen from Manish Singh -# stolen back from Frank Belew -# stolen from Manish Singh -# Shamelessly stolen from Owen Taylor - -dnl AM_PATH_SDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for SDL, and define SDL_CFLAGS and SDL_LIBS -dnl -AC_DEFUN(AM_PATH_SDL, -[dnl -dnl Get the cflags and libraries from the sdl-config script -dnl -AC_ARG_WITH(sdl-prefix,[ --with-sdl-prefix=PFX Prefix where SDL is installed (optional)], - sdl_prefix="$withval", sdl_prefix="") -AC_ARG_WITH(sdl-exec-prefix,[ --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)], - sdl_exec_prefix="$withval", sdl_exec_prefix="") -AC_ARG_ENABLE(sdltest, [ --disable-sdltest Do not try to compile and run a test SDL program], - , enable_sdltest=yes) - - if test x$sdl_exec_prefix != x ; then - sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config - fi +# generated automatically by aclocal 1.9.6 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005 Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.9.6])]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 7 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 8 + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi - if test x$sdl_prefix != x ; then - sdl_args="$sdl_args --prefix=$sdl_prefix" - if test x${SDL_CONFIG+set} != xset ; then - SDL_CONFIG=$sdl_prefix/bin/sdl-config - fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH]) +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +#serial 3 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue fi - - AC_PATH_PROG(SDL_CONFIG, sdl-config, no) - min_sdl_version=ifelse([$1], ,0.11.0,$1) - AC_MSG_CHECKING(for SDL - version >= $min_sdl_version) - no_sdl="" - if test "$SDL_CONFIG" = "no" ; then - no_sdl=yes + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 8 + +# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. +AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 12 + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.58])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' else - SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` - SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` - - sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_sdltest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" -dnl -dnl Now check if the installed SDL is sufficiently new. (Also sanity -dnl checks the results of sdl-config to some extent -dnl - rm -f conf.sdltest - AC_TRY_RUN([ -#include -#include -#include -#include "SDL.h" - -char* -my_strdup (char *str) -{ - char *new_str; - - if (str) - { - new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); - strcpy (new_str, str); - } + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $1 | $1:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"$am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_MKDIR_P +# --------------- +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. +# +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) +AC_DEFUN([AM_PROG_MKDIR_P], +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' else - new_str = NULL; - - return new_str; -} - -int main (int argc, char *argv[]) -{ - int major, minor, micro; - char *tmp_version; - - /* This hangs on some systems (?) - system ("touch conf.sdltest"); - */ - { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); } - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = my_strdup("$min_sdl_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_sdl_version"); - exit(1); - } - - if (($sdl_major_version > major) || - (($sdl_major_version == major) && ($sdl_minor_version > minor)) || - (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) - { - return 0; - } - else - { - return 1; - } -} - -],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi + mkdir_p='$(install_sh) -d' fi - if test "x$no_sdl" = x ; then - AC_MSG_RESULT(yes) - ifelse([$2], , :, [$2]) - else - AC_MSG_RESULT(no) - if test "$SDL_CONFIG" = "no" ; then - echo "*** The sdl-config script installed by SDL could not be found" - echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" - echo "*** your path, or set the SDL_CONFIG environment variable to the" - echo "*** full path to sdl-config." - else - if test -f conf.sdltest ; then - : - else - echo "*** Could not run SDL test program, checking why..." - CFLAGS="$CFLAGS $SDL_CFLAGS" - LIBS="$LIBS $SDL_LIBS" - AC_TRY_LINK([ -#include -#include "SDL.h" -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding SDL or finding the wrong" - echo "*** version of SDL. If it is not finding SDL, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occured. This usually means SDL was incorrectly installed" - echo "*** or that you have moved SDL since it was installed. In the latter case, you" - echo "*** may want to edit the sdl-config script: $SDL_CONFIG" ]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - SDL_CFLAGS="" - SDL_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(SDL_CFLAGS) - AC_SUBST(SDL_LIBS) - rm -f conf.sdltest -]) - -dnl -dnl Search for specific programs -dnl - -dnl zip to pakcage win32 installer -AC_DEFUN(AC_PROG_ZIP,[ -AC_CHECK_PROG(ZIP, zip, zip) -test -z "${ZIP}" && AC_MSG_ERROR(zip was not found on this system) -]) - -dnl strip reduces executable size by getting rid of extreneous symbols -AC_DEFUN(AC_PROG_STRIP,[ -AC_CHECK_PROG(STRIP, strip, strip) -test -z "${STRIP}" && AC_MSG_ERROR(strip was not found on this system) -]) - -dnl Inno Setup 2 iscc is the win32 installer script compiler -AC_DEFUN(AC_PROG_ISCC,[ -AC_CHECK_PROG(ISCC, iscc, iscc) -test -z "${ISCC}" && AC_MSG_ERROR(Inno Setup 2 iscc was not found on this system) -]) - - -# Like AC_CONFIG_HEADER, but automatically create stamp file. - -AC_DEFUN(AM_CONFIG_HEADER, -[AC_PREREQ([2.12]) -AC_CONFIG_HEADER([$1]) -dnl When config.status generates a header, we must update the stamp-h file. -dnl This file resides in the same directory as the config header -dnl that is generated. We must strip everything past the first ":", -dnl and everything past the last "/". -AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl -ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, -<>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, -<>; do - case " <<$>>CONFIG_HEADERS " in - *" <<$>>am_file "*<<)>> - echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx - ;; - esac - am_indx=`expr "<<$>>am_indx" + 1` -done<<>>dnl>>) -changequote([,]))]) - -# Do all the work for Automake. This macro actually does too much -- -# some checks are only needed if your package does certain things. -# But this isn't really a big deal. - -# serial 1 - -dnl Usage: -dnl AM_INIT_AUTOMAKE(package,version, [no-define]) - -AC_DEFUN(AM_INIT_AUTOMAKE, -[AC_REQUIRE([AC_PROG_INSTALL]) -PACKAGE=[$1] -AC_SUBST(PACKAGE) -VERSION=[$2] -AC_SUBST(VERSION) -dnl test to see if srcdir already configured -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) -fi -ifelse([$3],, -AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) -AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) -AC_REQUIRE([AM_SANITY_CHECK]) -AC_REQUIRE([AC_ARG_PROGRAM]) -dnl FIXME This is truly gross. -missing_dir=`cd $ac_aux_dir && pwd` -AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir) -AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) -AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir) -AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) -AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) -AC_REQUIRE([AC_PROG_MAKE_SET])]) - -# -# Check to make sure that the build environment is sane. -# - -AC_DEFUN(AM_SANITY_CHECK, +fi +AC_SUBST([mkdir_p])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 3 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 4 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 -echo timestamp > conftestfile +echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` - if test "[$]*" = "X"; then + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` + set X `ls -t $srcdir/configure conftest.file` fi - if test "[$]*" != "X $srcdir/configure conftestfile" \ - && test "[$]*" != "X conftestfile $srcdir/configure"; then + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a @@ -285,7 +725,7 @@ alias in your environment]) fi - test "[$]2" = conftestfile + test "$[2]" = conftest.file ) then # Ok. @@ -294,22 +734,158 @@ AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi -rm -f conftest* AC_MSG_RESULT(yes)]) -dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) -dnl The program must properly implement --version. -AC_DEFUN(AM_MISSING_PROG, -[AC_MSG_CHECKING(for working $2) -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if ($2 --version) < /dev/null > /dev/null 2>&1; then - $1=$2 - AC_MSG_RESULT(found) -else - $1="$3/missing $2" - AC_MSG_RESULT(missing) -fi -AC_SUBST($1)]) - +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# serial 2 + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of `v7', `ustar', or `pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. +AM_MISSING_PROG([AMTAR], [tar]) +m4_if([$1], [v7], + [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], + [m4_case([$1], [ustar],, [pax],, + [m4_fatal([Unknown tar format])]) +AC_MSG_CHECKING([how to create a $1 tar archive]) +# Loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' +_am_tools=${am_cv_prog_tar_$1-$_am_tools} +# Do not fold the above two line into one, because Tru64 sh and +# Solaris sh will not grok spaces in the rhs of `-'. +for _am_tool in $_am_tools +do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; + do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar /dev/null 2>&1 && break + fi +done +rm -rf conftest.dir + +AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) +AC_MSG_RESULT([$am_cv_prog_tar_$1])]) +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/codeset.m4]) +m4_include([m4/gettext.m4]) +m4_include([m4/glibc21.m4]) +m4_include([m4/iconv.m4]) +m4_include([m4/intdiv0.m4]) +m4_include([m4/intmax.m4]) +m4_include([m4/inttypes-pri.m4]) +m4_include([m4/inttypes.m4]) +m4_include([m4/inttypes_h.m4]) +m4_include([m4/isc-posix.m4]) +m4_include([m4/lcmessage.m4]) +m4_include([m4/lib-ld.m4]) +m4_include([m4/lib-link.m4]) +m4_include([m4/lib-prefix.m4]) +m4_include([m4/longdouble.m4]) +m4_include([m4/longlong.m4]) +m4_include([m4/nls.m4]) +m4_include([m4/po.m4]) +m4_include([m4/printf-posix.m4]) +m4_include([m4/progtest.m4]) +m4_include([m4/signed.m4]) +m4_include([m4/size_max.m4]) +m4_include([m4/stdint_h.m4]) +m4_include([m4/uintmax_t.m4]) +m4_include([m4/ulonglong.m4]) +m4_include([m4/wchar_t.m4]) +m4_include([m4/wint_t.m4]) +m4_include([m4/xsize.m4]) +m4_include([acinclude.m4]) diff --git a/client/Makefile.am b/client/Makefile.am index f2933c9..0709fd6 100644 --- a/client/Makefile.am +++ b/client/Makefile.am @@ -1,4 +1,4 @@ -DEFS = @network_flag@ @sdlnet_flag@ @arch_flag@ @warp_flag@ @audio_flag@ @inst_flag@ @hi_inst_flag@ @DEFS@ +DEFS = @network_flag@ @sdlnet_flag@ @arch_flag@ @warp_flag@ @audio_flag@ @inst_flag@ @hi_inst_flag@ @locdir_flag@ @DEFS@ lbreakout2res.o: win32.ico @echo "1 VERSIONINFO" > $(PACKAGE).rc diff --git a/client/Makefile.in b/client/Makefile.in index 647dee7..866d9ae 100644 --- a/client/Makefile.in +++ b/client/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,360 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +bin_PROGRAMS = lbreakout2$(EXEEXT) +subdir = client +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +PROGRAMS = $(bin_PROGRAMS) +am_lbreakout2_OBJECTS = credit.$(OBJEXT) shine.$(OBJEXT) \ + extras.$(OBJEXT) balls.$(OBJEXT) shrapnells.$(OBJEXT) \ + shots.$(OBJEXT) event.$(OBJEXT) paddle.$(OBJEXT) \ + frame.$(OBJEXT) misc.$(OBJEXT) bricks.$(OBJEXT) \ + player.$(OBJEXT) file.$(OBJEXT) config.$(OBJEXT) \ + item.$(OBJEXT) menu.$(OBJEXT) manager.$(OBJEXT) \ + value.$(OBJEXT) chart.$(OBJEXT) editor.$(OBJEXT) \ + help.$(OBJEXT) hint.$(OBJEXT) theme.$(OBJEXT) client.$(OBJEXT) \ + client_recv.$(OBJEXT) client_data.$(OBJEXT) \ + client_handlers.$(OBJEXT) game.$(OBJEXT) comm.$(OBJEXT) \ + slot.$(OBJEXT) display.$(OBJEXT) main.$(OBJEXT) +lbreakout2_OBJECTS = $(am_lbreakout2_OBJECTS) +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(lbreakout2_SOURCES) +DIST_SOURCES = $(lbreakout2_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @network_flag@ @sdlnet_flag@ @arch_flag@ @warp_flag@ @audio_flag@ @inst_flag@ @hi_inst_flag@ @locdir_flag@ @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -DEFS = @network_flag@ @sdlnet_flag@ @arch_flag@ @warp_flag@ @audio_flag@ @inst_flag@ @hi_inst_flag@ @DEFS@ - -bin_PROGRAMS = lbreakout2 -lbreakout2_SOURCES = credit.c shine.c extras.c balls.c shrapnells.c shots.c event.c paddle.c frame.c misc.c bricks.c player.c file.c config.c item.c menu.c manager.c value.c chart.c editor.c help.c hint.c theme.c client.c client_recv.c client_data.c client_handlers.c game.c comm.c slot.c display.c main.c win32.ico +lbreakout2_SOURCES = credit.c shine.c extras.c balls.c shrapnells.c \ +shots.c event.c paddle.c frame.c misc.c bricks.c player.c \ +file.c config.c \ +item.c menu.c manager.c value.c chart.c \ +editor.c help.c hint.c theme.c client.c client_recv.c \ +client_data.c client_handlers.c game.c comm.c slot.c \ +display.c main.c win32.ico lbreakout2_DEPENDENCIES = @win32_deps@ lbreakout2_LDADD = @win32_deps@ ../common/libcommon.a ../gui/libGui.a ../game/libgame.a @mixer_flag@ @sdlnet_lib_flag@ - -EXTRA_DIST = credit.h shine.h extras.h balls.h shrapnells.h shots.h event.h paddle.h frame.h misc.h bricks.h player.h file.h config.h lbreakout.h item.h menu.h manager.h value.h chart.h editor.h help.h hint.h theme.h client.h client_data.h client_handlers.h game.h comm.h slot.h display.h empty.hscr - +EXTRA_DIST = credit.h shine.h extras.h balls.h shrapnells.h \ +shots.h event.h paddle.h frame.h misc.h bricks.h player.h \ +file.h config.h lbreakout.h \ +item.h menu.h manager.h value.h chart.h \ +editor.h help.h hint.h theme.h client.h client_data.h \ +client_handlers.h game.h comm.h slot.h \ +display.h empty.hscr SUBDIRS = gfx sounds levels gui_theme -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -bin_PROGRAMS = lbreakout2$(EXEEXT) -PROGRAMS = $(bin_PROGRAMS) - -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -lbreakout2_OBJECTS = credit.o shine.o extras.o balls.o shrapnells.o \ -shots.o event.o paddle.o frame.o misc.o bricks.o player.o file.o \ -config.o item.o menu.o manager.o value.o chart.o editor.o help.o hint.o \ -theme.o client.o client_recv.o client_data.o client_handlers.o game.o \ -comm.o slot.o display.o main.o -lbreakout2_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -SOURCES = $(lbreakout2_SOURCES) -OBJECTS = $(lbreakout2_OBJECTS) - -all: all-redirect +all: all-recursive + .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-binPROGRAMS: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: - -maintainer-clean-binPROGRAMS: - -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - done - -.c.o: - $(COMPILE) -c $< - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +lbreakout2$(EXEEXT): $(lbreakout2_OBJECTS) $(lbreakout2_DEPENDENCIES) + @rm -f lbreakout2$(EXEEXT) + $(LINK) $(lbreakout2_LDFLAGS) $(lbreakout2_OBJECTS) $(lbreakout2_LDADD) $(LIBS) mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: - -lbreakout2$(EXEEXT): $(lbreakout2_OBJECTS) $(lbreakout2_DEPENDENCIES) - @rm -f lbreakout2$(EXEEXT) - $(LINK) $(lbreakout2_LDFLAGS) $(lbreakout2_OBJECTS) $(lbreakout2_LDADD) $(LIBS) +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/balls.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bricks.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chart.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client_data.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client_handlers.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/client_recv.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/comm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/credit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/display.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/editor.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/extras.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/frame.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/help.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hint.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/item.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/manager.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/misc.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paddle.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/player.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shine.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shots.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shrapnells.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/slot.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/theme.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/value.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -195,13 +373,14 @@ # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -213,7 +392,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -221,13 +400,24 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ + rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ @@ -237,365 +427,216 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done - +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done - for subdir in $(SUBDIRS); do \ + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ + test -d "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + distdir) \ || exit 1; \ fi; \ done -audio.o: audio.c lbreakout.h sdl.h ../common/tools.h ../common/list.h \ - ../common/net.h ../server/server.h misc.h audio.h -balls.o: balls.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h bricks.h -bricks.o: bricks.c ../game/game.h ../game/../client/lbreakout.h \ - ../game/../client/../gui/stk.h \ - ../game/../client/../common/tools.h \ - ../game/../client/../common/list.h \ - ../game/../client/../common/net.h \ - ../game/../client/../common/messages.h \ - ../game/../client/../game/gamedefs.h ../game/../client/misc.h \ - ../game/mathfuncs.h ../game/levels.h ../game/extras.h \ - ../game/balls.h ../game/shots.h ../game/bricks.h \ - ../game/paddle.h ../game/comm.h lbreakout.h shrapnells.h \ - bricks.h -chart.o: chart.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h config.h chart.h -client.o: client.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h config.h event.h ../gui/gui.h \ - ../gui/gui_widget.h ../gui/list.h ../gui/gui_theme.h \ - ../gui/gui_box.h ../gui/gui_label.h ../gui/gui_icon.h \ - ../gui/gui_button.h ../gui/gui_radiogroup.h \ - ../gui/gui_progressbar.h ../gui/gui_scrollbar.h \ - ../gui/gui_edit.h ../gui/gui_list.h ../gui/gui_spinbutton.h \ - client_data.h client_handlers.h client.h -client_data.o: client_data.c client_data.h lbreakout.h ../gui/stk.h \ - ../common/tools.h ../common/list.h ../common/net.h \ - ../common/messages.h ../game/gamedefs.h misc.h ../gui/gui.h \ - ../gui/gui_widget.h ../gui/list.h ../gui/gui_theme.h \ - ../gui/gui_box.h ../gui/gui_label.h ../gui/gui_icon.h \ - ../gui/gui_button.h ../gui/gui_radiogroup.h \ - ../gui/gui_progressbar.h ../gui/gui_scrollbar.h \ - ../gui/gui_edit.h ../gui/gui_list.h ../gui/gui_spinbutton.h -client_game.o: client_game.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h misc.h \ - config.h event.h ../gui/gui.h ../gui/gui_widget.h ../gui/list.h \ - ../gui/gui_theme.h ../gui/gui_box.h ../gui/gui_label.h \ - ../gui/gui_icon.h ../gui/gui_button.h ../gui/gui_radiogroup.h \ - ../gui/gui_progressbar.h ../gui/gui_scrollbar.h \ - ../gui/gui_edit.h ../gui/gui_list.h ../gui/gui_spinbutton.h \ - client_data.h levels.h player.h paddle.h game.h -client_handlers.o: client_handlers.c lbreakout.h ../gui/stk.h \ - ../common/tools.h ../common/list.h ../common/net.h \ - ../common/messages.h ../game/gamedefs.h misc.h config.h \ - ../gui/gui.h ../gui/gui_widget.h ../gui/list.h \ - ../gui/gui_theme.h ../gui/gui_box.h ../gui/gui_label.h \ - ../gui/gui_icon.h ../gui/gui_button.h ../gui/gui_radiogroup.h \ - ../gui/gui_progressbar.h ../gui/gui_scrollbar.h \ - ../gui/gui_edit.h ../gui/gui_list.h ../gui/gui_spinbutton.h \ - client_data.h client_handlers.h comm.h game.h -client_recv.o: client_recv.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h client_data.h game.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h ../gui/gui.h ../gui/gui_widget.h ../gui/list.h \ - ../gui/gui_theme.h ../gui/gui_box.h ../gui/gui_label.h \ - ../gui/gui_icon.h ../gui/gui_button.h ../gui/gui_radiogroup.h \ - ../gui/gui_progressbar.h ../gui/gui_scrollbar.h \ - ../gui/gui_edit.h ../gui/gui_list.h ../gui/gui_spinbutton.h -comm.o: comm.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../gui/gui.h ../gui/gui_widget.h \ - ../gui/list.h ../gui/gui_theme.h ../gui/gui_box.h \ - ../gui/gui_label.h ../gui/gui_icon.h ../gui/gui_button.h \ - ../gui/gui_radiogroup.h ../gui/gui_progressbar.h \ - ../gui/gui_scrollbar.h ../gui/gui_edit.h ../gui/gui_list.h \ - ../gui/gui_spinbutton.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h game.h client_data.h bricks.h extras.h comm.h -config.o: config.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h config.h ../common/parser.h -credit.o: credit.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h credit.h -difficulty.o: difficulty.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h difficulty.h -display.o: display.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h display.h -editor.o: editor.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h game.h config.h bricks.h frame.h editor.h -event.o: event.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h event.h -extras.o: extras.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h bricks.h shrapnells.h player.h paddle.h frame.h -file.o: file.c ../common/list.h ../common/tools.h file.h -frame.o: frame.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h config.h player.h display.h frame.h -game.o: game.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h ../gui/gui.h ../gui/gui_widget.h ../gui/list.h \ - ../gui/gui_theme.h ../gui/gui_box.h ../gui/gui_label.h \ - ../gui/gui_icon.h ../gui/gui_button.h ../gui/gui_radiogroup.h \ - ../gui/gui_progressbar.h ../gui/gui_scrollbar.h \ - ../gui/gui_edit.h ../gui/gui_list.h ../gui/gui_spinbutton.h \ - client_data.h event.h config.h shrapnells.h player.h display.h \ - paddle.h chart.h shine.h credit.h bricks.h shots.h frame.h \ - balls.h extras.h help.h game.h comm.h slot.h hint.h manager.h \ - value.h item.h menu.h -gui.o: gui.c lbreakout.h sdl.h ../common/tools.h ../common/list.h \ - ../common/net.h ../server/server.h misc.h config.h manager.h \ - value.h item.h hint.h menu.h windows.h image.h gui.h levels.h -help.o: help.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h event.h -hint.o: hint.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h hint.h config.h -image.o: image.c sdl.h image.h -item.o: item.c manager.h lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h value.h item.h hint.h menu.h -levels.o: levels.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h misc.h \ - config.h file.h levels.h -list.o: list.c list.h -main.o: main.c ../config.h lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h file.h chart.h config.h shrapnells.h event.h \ - game.h manager.h value.h item.h hint.h menu.h editor.h help.h \ - theme.h client.h ../gui/gui.h ../gui/gui_widget.h ../gui/list.h \ - ../gui/gui_theme.h ../gui/gui_box.h ../gui/gui_label.h \ - ../gui/gui_icon.h ../gui/gui_button.h ../gui/gui_radiogroup.h \ - ../gui/gui_progressbar.h ../gui/gui_scrollbar.h \ - ../gui/gui_edit.h ../gui/gui_list.h ../gui/gui_spinbutton.h -manager.o: manager.c manager.h lbreakout.h ../gui/stk.h \ - ../common/tools.h ../common/list.h ../common/net.h \ - ../common/messages.h ../game/gamedefs.h misc.h value.h item.h \ - hint.h menu.h ../game/game.h ../game/../client/lbreakout.h \ - ../game/mathfuncs.h ../game/levels.h ../game/extras.h \ - ../game/balls.h ../game/shots.h ../game/bricks.h \ - ../game/paddle.h ../game/comm.h file.h chart.h event.h config.h \ - theme.h slot.h -menu.o: menu.c manager.h lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h value.h item.h hint.h menu.h -misc.o: misc.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h config.h event.h -paddle.o: paddle.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h config.h paddle.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h -player.o: player.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/levels.h \ - ../game/../client/lbreakout.h player.h -png.o: png.c -sdl.o: sdl.c sdl.h png.h -shine.o: shine.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h config.h -shots.o: shots.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/game.h \ - ../game/../client/lbreakout.h ../game/mathfuncs.h \ - ../game/levels.h ../game/extras.h ../game/balls.h \ - ../game/shots.h ../game/bricks.h ../game/paddle.h \ - ../game/comm.h -shrapnells.o: shrapnells.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h ../game/mathfuncs.h config.h \ - shrapnells.h -slot.o: slot.c lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h slot.h hint.h -theme.o: theme.c ../config.h lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h config.h theme.h -tools.o: tools.c tools.h -value.o: value.c manager.h lbreakout.h ../gui/stk.h ../common/tools.h \ - ../common/list.h ../common/net.h ../common/messages.h \ - ../game/gamedefs.h misc.h value.h item.h hint.h menu.h -windows.o: windows.c lbreakout.h ../gui/stk.h sdl.h ../common/tools.h \ - ../common/list.h ../common/net.h ../server/server.h misc.h \ - file.h event.h windows.h image.h - -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive check-am: all-am check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-binPROGRAMS +all-am: Makefile $(PROGRAMS) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-recursive install-exec: install-exec-recursive - -install-data-am: install-data-local install-data: install-data-recursive +uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: uninstall-binPROGRAMS uninstall-local -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive + +installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - $(mkinstalldirs) $(DESTDIR)$(bindir) - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: install-data-local + +install-exec-am: install-binPROGRAMS + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \ - mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-local install-data-am install-data install-am \ -install uninstall-local uninstall-am uninstall all-redirect all-am all \ -installdirs-am installdirs mostlyclean-generic distclean-generic \ -clean-generic maintainer-clean-generic clean mostlyclean distclean \ -maintainer-clean +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-local + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ + clean clean-binPROGRAMS clean-generic clean-recursive ctags \ + ctags-recursive distclean distclean-compile distclean-generic \ + distclean-recursive distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-binPROGRAMS \ + install-data install-data-am install-data-local install-exec \ + install-exec-am install-info install-info-am install-man \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ + uninstall-binPROGRAMS uninstall-info-am uninstall-local lbreakout2res.o: win32.ico @@ -643,7 +684,6 @@ (cd $$subdir \ && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/bricks.c b/client/bricks.c index 5868e66..ccb909a 100644 --- a/client/bricks.c +++ b/client/bricks.c @@ -43,7 +43,7 @@ /* remove a brick and release the extra (which will have no effect * on collection) update the graphics. no growth or explosions * of other bricks are initiated as these are send by network */ -void client_brick_remove( int mx, int my, int type, Vector imp, Paddle *paddle ) +void client_brick_remove( int mx, int my, int type, Vector imp, Paddle *paddle, int no_sound ) { int px, py, w, h, i, j, shadow, anim_brick_id; int dir; @@ -53,6 +53,7 @@ exp_create( mx * BRICK_WIDTH + ( BRICK_WIDTH >> 1 ), my * BRICK_HEIGHT + ( BRICK_HEIGHT >> 1 ) ); #ifdef AUDIO_ENABLED + if (!no_sound) stk_sound_play_x( mx * BRICK_WIDTH + ( BRICK_WIDTH >> 1 ), wav_boom ); #endif type = SHR_BY_EXPL; /* WITH_EXPL is not known */ @@ -82,10 +83,8 @@ * flag is set to avoid releasing 'ghost' extras due to latency. */ dir = ( paddle->type == PADDLE_TOP ) ? -1 : 1; if ( game->bricks[mx][my].extra != EX_NONE ) { - if ( game->diff->allow_maluses || - !extra_is_malus( game->bricks[mx][my].extra ) ) - list_add( game->extras, - extra_create( game->bricks[mx][my].extra, px, py, dir ) ); + if ( game->diff->allow_maluses || !extra_is_malus( game->bricks[mx][my].extra ) ) + list_add( game->extras, extra_create( game->bricks[mx][my].extra, px, py, dir ) ); } game->bricks[mx][my].extra = EX_NONE; game->bricks[mx][my].extra_c = ' '; @@ -93,6 +92,7 @@ /* in case of darkness no (graphical) remove nescessary */ if ( game->extra_active[EX_DARKNESS] ) { #ifdef AUDIO_ENABLED + if (!no_sound) stk_sound_play_x( px, wav_boom ); #endif return; @@ -124,7 +124,8 @@ stk_surface_blit( offscreen, px, py, w, h, stk_display, px, py ); stk_display_store_drect(); #ifdef AUDIO_ENABLED - stk_sound_play_x( px, wav_boom ); + if (!no_sound) + stk_sound_play_x( px, wav_boom ); #endif } @@ -139,13 +140,18 @@ } } -static void client_brick_grow( int x, int y ) +static void client_brick_grow( int x, int y, int id ) { Brick *brick = &game->bricks[x][y]; int px, py; + int isReplace = 0; + + if (game->bricks[x][y].type!=MAP_EMPTY) + isReplace = 1; /* add brick */ - brick->id = RANDOM( BRICK_GROW_FIRST, BRICK_GROW_LAST ); + //brick->id = RANDOM( BRICK_GROW_FIRST, BRICK_GROW_LAST ); + brick->id = id; brick->brick_c = brick_get_char( brick->id ); brick->type = MAP_BRICK; brick->score = game->diff->score_mod * BRICK_SCORE / 10; @@ -153,12 +159,15 @@ /* keep the extra that is already assigned to this position */ brick->exp_time = -1; brick->heal_time = -1; - game->bricks_left++; + if (!isReplace) game->bricks_left++; if ( !game->extra_active[EX_DARKNESS] ) { px = x * BRICK_WIDTH; py = y * BRICK_HEIGHT; - brick_draw_complex( x, y, px, py ); + if (isReplace) + brick_draw( offscreen, x, y, 0 ); + else + brick_draw_complex( x, y, px, py ); stk_surface_blit( offscreen, px, py, BRICK_WIDTH + shadow_size, BRICK_HEIGHT + shadow_size, @@ -301,11 +310,11 @@ case HT_REMOVE: if (hit->draw_explosion) hit->dest_type = SHR_BY_EXPL_WITH_EXPL; - client_brick_remove( hit->x, hit->y, hit->dest_type, imp, paddle ); + client_brick_remove( hit->x, hit->y, hit->dest_type, imp, paddle, hit->no_sound ); /* gold shower extra */ if ( hit->gold_shower ) list_add( game->extras, - extra_create( EX_SCORE1000, + extra_create( EX_SCORE1000, hit->x*BRICK_WIDTH, hit->y*BRICK_HEIGHT, (hit->paddle==PADDLE_TOP)?-1:1 ) ); break; @@ -313,8 +322,21 @@ client_brick_heal( hit->x, hit->y ); break; case HT_GROW: - client_brick_grow( hit->x, hit->y ); + client_brick_grow( hit->x, hit->y, hit->brick_id ); break; } } +/* redraw all bricks (leaving shadows in transparent frame parts) */ +void client_redraw_all_bricks() +{ + stk_surface_blit( bkgnd, BRICK_WIDTH, BRICK_HEIGHT, + stk_display->w - BRICK_WIDTH*2,stk_display->h - BRICK_HEIGHT, + offscreen, BRICK_WIDTH, BRICK_HEIGHT ); + bricks_draw(); + stk_surface_blit( offscreen, BRICK_WIDTH, BRICK_HEIGHT, + stk_display->w - BRICK_WIDTH*2,stk_display->h - BRICK_HEIGHT, + stk_display, BRICK_WIDTH, BRICK_HEIGHT ); +// stk_display_update( STK_UPDATE_ALL ); + stk_display_store_drect(); +} diff --git a/client/bricks.h b/client/bricks.h index 44dbf62..e90dd95 100644 --- a/client/bricks.h +++ b/client/bricks.h @@ -38,3 +38,5 @@ /* handle a received brick action */ void client_handle_brick_hit( BrickHit *hit ); +/* redraw all bricks */ +void client_redraw_all_bricks(); diff --git a/client/chart.c b/client/chart.c index aaf9187..0d3e2a8 100644 --- a/client/chart.c +++ b/client/chart.c @@ -28,10 +28,10 @@ SDL_Rect chart_pos; /* used to store size. x,y is set when drawing */ int chart_gap = 10; int chart_level_offset = 0; /* level offset (name's left aligned, score's right aligned) */ -char *cheader = "Name Level Score"; extern SDL_Surface *stk_display; extern Config config; extern StkFont *cfont, *chfont, *ccfont; /* normal, highlight and caption font */ +extern FILE *hi_dir_chart_file; /* ==================================================================== @@ -122,8 +122,16 @@ sprintf( file_name, "%s/%s", path, CHART_FILE_NAME ); /* clear chart list */ list_clear( charts ); - /* open file */ - file = fopen( file_name, "rb" ); + + if (!strcmp(path, HI_DIR) && hi_dir_chart_file) { + file = hi_dir_chart_file; + rewind(hi_dir_chart_file); + } + else { + /* open file */ + file = fopen( file_name, "rb" ); + } + if ( file ) { /* test if it's new format or old one. */ fread( aux, sizeof( char ), 3, file ); aux[3] = 0; @@ -148,25 +156,28 @@ } else { /* old format: load single chart as 'Original' */ - fprintf( stderr, "Converting highscore chart as format changed.\n" ); + fprintf( stderr, _("Converting highscore chart as format changed.\n") ); chart = chart_set_create( "LBreakout2" ); chart_read_entries( file, file_name, chart ); list_add( charts, chart ); } - fclose( file ); + if (file != hi_dir_chart_file) + fclose( file ); } else { - fprintf( stderr, "Highscore chart doesn't exist in '%s'... creating new one.\n", path ); + fprintf( stderr, _("Highscore chart doesn't exist in '%s'... creating new one.\n"), path ); chart = chart_set_create( "LBreakout2" ); list_add( charts, chart ); } - /* test if writing is allowed without changing actual contents */ - if ( ( file = fopen( file_name, "a" ) ) == 0 ) { - fprintf( stderr, "Write permission for '%s' denied.\n", file_name ); - return 0; - } - else - fclose( file ); + if (file != hi_dir_chart_file) { + /* test if writing is allowed without changing actual contents */ + if ( ( file = fopen( file_name, "a" ) ) == 0 ) { + fprintf( stderr, _("Write permission for '%s' denied.\n"), file_name ); + return 0; + } + else + fclose( file ); + } strcpy( chart_path, path ); chart_loaded = 1; return 1; @@ -186,27 +197,29 @@ */ void chart_load() { + chart_loaded = 0; /* create list */ if ( charts ) list_delete( charts ); charts = 0; charts = list_create( LIST_AUTO_DELETE, chart_set_delete ); /* load highscore */ if ( !chart_load_from_path( HI_DIR ) ) { - fprintf( stderr, "Unable to access highscore chart in '%s'.\n", HI_DIR ); - fprintf( stderr, "Trying to use config directory '%s'.\n", config.dir_name ); + fprintf( stderr, _("Unable to access highscore chart in '%s'.\n"), HI_DIR ); + fprintf( stderr, _("Trying to use config directory '%s'.\n"), config.dir_name ); if ( !chart_load_from_path( config.dir_name ) ) { - fprintf( stderr, "Unable to access highscore chart in config directory... won't be " - "able to save any results. Sorry.\n" ); + fprintf( stderr, _("Unable to access highscore chart in config directory... won't be " + "able to save any results. Sorry.\n") ); return; } } - printf( "Saving highscore chart in: %s\n", chart_path ); + printf( _("Saving highscore chart in: %s\n"), chart_path ); /* compute size and position stuff of highscore */ + char *cheader = _("Name Level Score"); chart_pos.w = stk_font_string_width( ccfont, cheader ); chart_pos.h = ccfont->height + chart_gap + /* title + gap */ cfont->height * CHART_ENTRY_COUNT + /* entries */ chart_gap + /*gap between caption and entries */ ccfont->height; /* caption size */ - chart_level_offset = stk_font_string_width( ccfont, "name.-----" ) + stk_font_string_width( ccfont, "Level" ) / 2; /* level offset centered */ + chart_level_offset = stk_font_string_width( ccfont, _("name.-----") ) + stk_font_string_width( ccfont, _("Level") ) / 2; /* level offset centered */ } /* ==================================================================== @@ -231,10 +244,18 @@ if ( !chart_loaded ) return; /* full file name */ sprintf( file_name, "%s/%s", chart_path, CHART_FILE_NAME ); - /* open file */ - file = fopen( file_name, "w" ); + + if (!strcmp(chart_path, HI_DIR) && hi_dir_chart_file) { + file = hi_dir_chart_file; + rewind(hi_dir_chart_file); + } + else { + /* open file */ + file = fopen( file_name, "w" ); + } + if ( !file ) { - fprintf( stderr, "??? Highscore chart loaded properly but cannot save? (%s)\n",file_name ); + fprintf( stderr, _("??? Highscore chart loaded properly but cannot save? (%s)\n"),file_name ); return; } /* save all charts */ @@ -244,7 +265,9 @@ for ( i = 0; i < CHART_ENTRY_COUNT; i++ ) fprintf( file, "%s\n%i\n%i\n", chart->entries[i].name, chart->entries[i].level, chart->entries[i].score ); } - fclose( file ); + + if (file != hi_dir_chart_file) + fclose( file ); } /* ==================================================================== @@ -320,6 +343,7 @@ chart->name ); /* caption */ ccfont->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; + char *cheader = _("Name Level Score"); stk_font_write( ccfont, stk_display, chart_pos.x, chart_pos.y + ccfont->height + chart_gap, -1, cheader ); @@ -379,7 +403,7 @@ if ( strequal( name, chart->name ) ) return chart; /* not found so create it */ - fprintf( stderr, "First chart query for '%s'. Creating this chart.\n", name ); + fprintf( stderr, _("First chart query for '%s'. Creating this chart.\n"), name ); chart = chart_set_create( name ); list_add( charts, chart ); return chart; @@ -392,7 +416,7 @@ Set_Chart* chart_set_query_id( int id ) { if ( id >= charts->count ) { - fprintf( stderr, "Chart index '%i' is out of range!\n", id ); + fprintf( stderr, _("Chart index '%i' is out of range!\n"), id ); return 0; } return (Set_Chart*)list_get( charts, id ); diff --git a/client/client.c b/client/client.c index 2e8eb9b..a1a393a 100644 --- a/client/client.c +++ b/client/client.c @@ -83,9 +83,9 @@ GuiWidget *list_topic; GuiWidget *list_help; -#define HINT_CONNECT "Specify the game server as address:port where "\ +#define HINT_CONNECT _("Specify the game server as address:port where "\ "the address can be a name or a dotted IP.#If the connection fails have a look "\ -"at the messages in the chat window to see the reason." +"at the messages in the chat window to see the reason.") /* ==================================================================== @@ -261,44 +261,44 @@ /* server edit */ gui_label_create( parent, 10, 120, 180, 20, 0, - 0, 2, 0, STK_FONT_ALIGN_RIGHT, "Server:" ); + 0, 2, 0, STK_FONT_ALIGN_RIGHT, _("Server:") ); edit_server = gui_edit_create( parent, parent->width - 190, 120, 180, 20, 0, 2, 0, 22, config.server ); /* user name */ gui_label_create( parent, 10, 150, 180, 20, 0, - 0, 2, 0, STK_FONT_ALIGN_RIGHT, "Username:" ); + 0, 2, 0, STK_FONT_ALIGN_RIGHT, _("Username:") ); edit_username = gui_edit_create( parent, parent->width - 190, 150, 180, 20, 0, 2, 0, 13, config.username ); /* cancel, connect buttons */ gui_button_create( parent, parent->width/2 -160, 180, - 140, 24, client_connect, 0,0,0,0,0, "Connect" ); + 140, 24, client_connect, 0,0,0,0,0, _("Connect") ); gui_button_create( parent, parent->width/2 +20, 180, - 140, 24, client_close_connect_window, 0,0,0,0,0, "Cancel" ); + 140, 24, client_close_connect_window, 0,0,0,0,0, _("Cancel") ); /* INFO */ dlg_info = gui_box_create( 0, -1,-1, 300, 114, 0, 1 ); label_info = gui_label_create( dlg_info, -1,10,276,60,0, 0, - 2, 0, STK_FONT_ALIGN_LEFT, "no info" ); + 2, 0, STK_FONT_ALIGN_LEFT, _("no info") ); gui_button_create( dlg_info, -1, dlg_info->height - 34, 100, 24, client_close_info, 0,0,0,0,0, - "Close" ); + _("Close") ); /* CONFIRM */ dlg_confirm = gui_box_create( 0, -1,-1, 300, 160, 0, 1 ); label_confirm = gui_label_create( dlg_confirm, -1,10,276,110,0, 0, - 2, 0, STK_FONT_ALIGN_LEFT, "no info" ); + 2, 0, STK_FONT_ALIGN_LEFT, _("no info") ); gui_button_create( dlg_confirm, dlg_confirm->width/2-110, dlg_confirm->height - 30, 100, 20, client_confirm, 0,0,0,0,0, - "OK" ); + _("OK") ); gui_button_create( dlg_confirm, dlg_confirm->width/2+10, dlg_confirm->height - 30, 100, 20, client_cancel, 0,0,0,0,0, - "Cancel" ); + _("Cancel") ); /* CHATROOM */ dlg_chatroom = gui_box_create( 0, 0,0,640,480, client_recv_packet, 1 ); @@ -310,10 +310,10 @@ list_chatter = gui_list_create( dlg_chatroom, 0,0,470,444, NULL, 0, 1, 14, 20, client_render_chatter, GUI_LIST_NO_SELECT ); /* edit + send/whisper buttons */ - gui_button_create( dlg_chatroom, 330,448,70,24, - client_send_chatter, 0,0,0,0,0, "Send" ); - gui_button_create( dlg_chatroom, 400,448,70,24, - client_whisper_chatter, 0,0,0,0,0, "Whisper" ); + gui_button_create( dlg_chatroom, 330,448,60,24, + client_send_chatter, 0,0,0,0,0, _("Send") ); + gui_button_create( dlg_chatroom, 390,448,80,24, + client_whisper_chatter, 0,0,0,0,0, _("Whisper") ); edit_chatter = gui_edit_create( dlg_chatroom, 0,448,327,24, client_send_chatter, 2, 0, MAX_CHATTER_SIZE, "" ); gui_widget_enable_event( edit_chatter, GUI_KEY_RELEASED ); @@ -321,17 +321,17 @@ /* channel button + users in channel */ label_channel = gui_label_create( dlg_chatroom, 474,0,142,18,1, NULL, - 2, 0, STK_FONT_ALIGN_CENTER_X, "MAIN" ); + 2, 0, STK_FONT_ALIGN_CENTER_X, _("MAIN") ); gui_button_create( dlg_chatroom, 616,0,18,18, client_select_channel, - 0,0,0,0,0, "C" ); + 0,0,0,0,0, _("C") ); list_users = gui_list_create( dlg_chatroom, 474,20,160,142, client_handle_user_list, 1, 1, 14, 20, client_render_user, GUI_LIST_SINGLE_SELECT ); /* levels label, levels, transfer button */ gui_label_create( dlg_chatroom, 474,164,160,18,1, NULL, - 2, 0, STK_FONT_ALIGN_CENTER_X, "Levelsets" ); + 2, 0, STK_FONT_ALIGN_CENTER_X, _("Levelsets") ); list_levels = gui_list_create( dlg_chatroom, 474,184,160,120, client_handle_levelset_list, 1, 1, 14, 20, client_render_levelset, @@ -340,48 +340,48 @@ parent = gui_box_create( dlg_chatroom, 474,306,160,94, NULL, 0 ); gui_label_create( parent, 2,2,102,20,0, NULL, - 2, NULL, STK_FONT_ALIGN_LEFT, "Difficulty:" ); + 2, NULL, STK_FONT_ALIGN_LEFT, _("Difficulty:") ); gui_spinbutton_create( parent, 102,2,50,20, client_update_difficulty, 1, 3, 1, config.mp_diff+1 ); gui_label_create( parent, 2,2+22,102,20,0, NULL, - 2, NULL, STK_FONT_ALIGN_LEFT, "Rounds:" ); + 2, NULL, STK_FONT_ALIGN_LEFT, _("Rounds:") ); gui_spinbutton_create( parent, 102,2+22,50,20, client_update_rounds, 1, 3, 1, config.mp_rounds ); gui_label_create( parent, 2,2+44,102,20,0, NULL, - 2, NULL, STK_FONT_ALIGN_LEFT, "Frags:" ); + 2, NULL, STK_FONT_ALIGN_LEFT, _("Frags:") ); gui_spinbutton_create( parent, 102,2+44,50,20, client_update_frags, 5, 30, 5, config.mp_frags ); gui_label_create( parent, 2,2+66,102,20,0, NULL, - 2, NULL, STK_FONT_ALIGN_LEFT, "Balls:" ); + 2, NULL, STK_FONT_ALIGN_LEFT, _("Balls:") ); gui_spinbutton_create( parent, 102,2+66,50,20, client_update_balls, 1, 6, 1, config.mp_balls ); /* challenge & disconnect */ gui_button_create( dlg_chatroom, 474,402,160,20, client_challenge, - 0,0,0,0,0, "Challenge" ); + 0,0,0,0,0, _("Challenge") ); gui_button_create( dlg_chatroom, 474,dlg_chatroom->height-44,160,20, client_open_connect_window, - 0,0,0,0,0, "Connect" ); + 0,0,0,0,0, _("Connect") ); gui_button_create( dlg_chatroom, 534,dlg_chatroom->height-20,100,20, client_quit, - 0,0,0,0,0, "Quit" ); + 0,0,0,0,0, _("Quit") ); gui_button_create( dlg_chatroom, 474,dlg_chatroom->height-20,50,20, client_popup_help, - 0,0,0,0,0, "Help" ); + 0,0,0,0,0, _("Help") ); /* CHANNELS selector */ dlg_channels = gui_box_create( 0, -1,-1, 200, 244, NULL, 1 ); list_channels = gui_list_create( dlg_channels, -1,10, 176,150, client_handle_channel_list, 0, 1, 14, 20, client_render_channel, GUI_LIST_SINGLE_SELECT ); gui_label_create( dlg_channels, -1,160, 176,20,0, NULL, - 2, 0, STK_FONT_ALIGN_LEFT, "Channel:" ); + 2, 0, STK_FONT_ALIGN_LEFT, _("Channel:") ); edit_channel = gui_edit_create( dlg_channels, -1,180, 176,20, NULL, 2, 0, 12, "" ); @@ -389,22 +389,22 @@ gui_edit_set_filter( edit_channel, GUI_EDIT_ALPHANUMERICAL2 ); gui_button_create( dlg_channels, dlg_channels->width/2-90,210,80,20, - client_enter_channel, 0,0,0,0,0, "Enter" ); + client_enter_channel, 0,0,0,0,0, _("Enter") ); gui_button_create( dlg_channels, dlg_channels->width/2+10,210,80,20, - client_cancel_channel, 0,0,0,0,0, "Cancel" ); + client_cancel_channel, 0,0,0,0,0, _("Cancel") ); /* STATISTICS */ dlg_stats = gui_box_create( 0, -1,-1,386,260, NULL, 1 ); gui_label_create( dlg_stats, -1,10,360,20,1, NULL, - 0, 0, STK_FONT_ALIGN_CENTER_X, "Statistics" ); + 0, 0, STK_FONT_ALIGN_CENTER_X, _("Statistics") ); label_winner = gui_label_create( dlg_stats, -1,40,360,16,0, NULL, 0, 0, STK_FONT_ALIGN_CENTER_X, "..." ); label_stats = gui_label_create( dlg_stats, -1,62,360,150,0, NULL, - 0, 0, STK_FONT_ALIGN_LEFT, "Awaiting stats..." ); + 0, 0, STK_FONT_ALIGN_LEFT, _("Awaiting stats...") ); gui_button_create( dlg_stats, -1,220,160,20, - client_close_stats, 0,0,0,0,0, "Close" ); + client_close_stats, 0,0,0,0,0, _("Close") ); /* PAUSEROOM */ dlg_pauseroom = gui_box_create( 0, -1,-1,480,366, NULL, 1 ); list_pausechatter = gui_list_create( @@ -417,11 +417,11 @@ gui_widget_enable_event( edit_pausechatter, GUI_KEY_RELEASED ); gui_widget_set_default_key_widget( dlg_pauseroom, edit_pausechatter ); gui_button_create( dlg_pauseroom, -1,334,100,20, - client_close_pauseroom, 0,0,0,0,0, "Close" ); + client_close_pauseroom, 0,0,0,0,0, _("Close") ); /* HELP */ dlg_help = gui_box_create( 0, -1,-1,548,358, NULL, 1 ); gui_label_create( dlg_help, -1,10,470,20,1, NULL, - 0, 0, STK_FONT_ALIGN_CENTER_X, "Network Quick Help" ); + 0, 0, STK_FONT_ALIGN_CENTER_X, _("Network Quick Help") ); list_topic = gui_list_create( dlg_help, 10,40,160,270, client_handle_topic_list, 0, 1, 14, 20, client_render_topic, @@ -431,7 +431,7 @@ 0, 1, 14, 20, client_render_help, GUI_LIST_NO_SELECT ); gui_button_create( dlg_help, 10,320,160,20, client_close_help, - 0,0,0,0,0, "Close" ); + 0,0,0,0,0, _("Close") ); /* INITS */ /* empty chatter */ memset( chatter, 0, sizeof( chatter ) ); @@ -456,7 +456,7 @@ { #ifdef NETWORK_ENABLED client_data_delete(); - printf( "Client finalized\n" ); + printf( _("Client finalized\n") ); #endif } @@ -487,7 +487,7 @@ sys_printf = client_printf_info; net_init( atoi(config.local_port) ); sys_printf = printf; - client_add_chatter( "Press 'Connect' to connect to a game server.", 1 ); + client_add_chatter( _("Press 'Connect' to connect to a game server."), 1 ); client_state = CLIENT_NONE; client_recv_limit = config.recv_limit; diff --git a/client/client_data.c b/client/client_data.c index cf82604..f2680f6 100644 --- a/client/client_data.c +++ b/client/client_data.c @@ -42,110 +42,10 @@ extern NetSocket client; extern int client_is_connected; +#define MAX_CLIENT_TOPIC_COUNT 5 int client_topic_count = 4; -char *client_topics[] = { - "Challenges", - "Channels", - "Console Commands", - "Game Rules", - "Transfers" -}; -char *client_helps[] = { - "To challenge a user you first have to select him/her in the " - "upper right list and the levelset you want to play " - "from the list below. Then you adjust the game settings to your " - "likings and hit the 'Challenge' button which will send your " - "challenge to the other user who will either accept or decline. " - "If (s)he accepts a direct connection will be established and the " - "game will start.##" - "DIFFICULTY: This influences ball speed, paddle size and score as for " - "single player modus. (1 = Easy, 2 = Medium, 3 = Hard)##" - "ROUNDS: This is the number of rounds played per level. Winning a " - "round scores one point and the player with the most points wins " - "the match.##" - "FRAGS: In a pingpong level (no bricks) a player gains a frag everytime " - "the opponent looses a ball. 'frag' is a bad name for this, should be " - "pingpong winning score or something but 'frags' is simply shorter. " - "The player who hits this limit first " - "wins the round.#In levels with bricks this option is ignored " - "and the level is over after all bricks were cleared.##" - "BALLS: In a pingpong level (no bricks) each player may fire multiple " - "balls up to this number. If a player looses a ball he may fire it again.#" - "In normal levels (with bricks) this option is ignored and a gets a new ball " - "after five seconds penalty time.", - "To switch a channel hit the 'C' button above the user list. " - "You can enter either an existing or a new channel. You " - "can only talk to and challenge users in the same channel.", - "User Console Commands:##" - "/search #" - "Search for a user in all channels.##" - "/version#" - "Display version of transmission protocol.##" - "/info#" - "Display current userlimit and frame rate.##" - "Admin Console Commands:##" - "/admin_says #" - "Broadcast a message to all chatting users.##" - "/kick #" - "Kick user by that name.##" - "/addbot #" - "Add a paddle bot. The speed is defined in pixels per second. 800 to 1000 is a good value.##" - "/delbot #" - "Delete paddle bot.##" - "/set #" - "Set a variable to a new value:#" - " userlimit: is the number of users that may login. If decreased with too many users online" - " no one is kicked. This limit does not matter for admin login.#" - " fps: is how many times a second the server calls up the communication and sends/receives" - " packets. This should not be too high to prevent network flooding. 40 is a good value.#" - " packetlimit: if not -1 this is the number of packets parsed in one communication step. -1" - " which is the default means the queue is parsed until empty##" - "/addset #" - "Load a new levelset that has been copied to the levels directory and make it available " - "to the users.##" - "/halt#" - "Halt server after 5 seconds and inform all users, even the playing ones, about this.", - "Basically you play the game as in single player mode but their " - "are some special things you might find useful to know.##" - "PINGPONG:#" - "The point here is to play it fast and to use all of your balls. " - "Use the right and left mouse button to fire the balls " - "while moving the paddle. Your opponent " - "will have trouble to reflect all balls if you do it right. " - "If you are not sure wether you got balls left click anyway. " - "Keep the button pressed for a while! The fire rate is restricted " - "to one ball every 500 milliseconds.##" - "NORMAL:#" - "Your goal here is too gain more score than your opponent to win a " - "round. Basically you do this by clearing bricks and collecting extras " - "but there are some other ways as well:#" - "1) To loose a ball means to loose 10% score. After five seconds penalty " - "a new ball is created and you can continue playing.#" - "2) Hitting your opponents paddle with the plasma weapon will give you " - "1000 points while stealing him/her the same amount.#" - "3) Bonus/malus magnet will attract _all_ bonuses/maluses even those " - "released by your opponent.##" - "Note: If you pause the game by pressing 'p' a chat will pop up and you " - "can talk to your opponent.", - "You cannot offer someone your levelset unless this user " - "wants to receive your set which requires the following steps:#" - "1) select the user to whom you want to listen#" - "2) press the 'L' button above the levelset list#" - "3) wait for offer or cancel 'listening'#" - "The receiver is now ready and the sender has to:#" - "1) select the listening user#" - "2) select the levelset (s)he wants to transfer#" - "3) hit the 'T' button above the levelset list#" - "If the receiver has this levelset already located in " - "~/.lgames/lbreakout2-levels and it is up-to-date the transfer " - "does not take place otherwise the receiver is asked to confirm " - "and if (s)he does so the set is transferred to the home " - "directory and directly available if intended for network. (starts with 'MP_')#" - "NOTE: Only the challenger is required to have the levelset so you " - "don not have to transfer sets to play with someone. However if your opponent " - "likes your set and wants to challenge others with it both can engage into " - "a transfer." -}; +char *client_topics[MAX_CLIENT_TOPIC_COUNT]; +char *client_helps[MAX_CLIENT_TOPIC_COUNT]; Text *client_help_text = 0; /* @@ -242,9 +142,114 @@ client_channels = list_create( LIST_AUTO_DELETE, 0 /*just strings*/ ); client_users = list_create( LIST_AUTO_DELETE, 0 ); client_levelsets = list_create( LIST_AUTO_DELETE, 0 ); + /* help defined here for localization reasons */ + client_topics[0] = strdup(_("Challenges")); + client_topics[1] = strdup(_("Channels")); + client_topics[2] = strdup(_("Console Commands")); + client_topics[3] = strdup(_("Game Rules")); + client_topics[4] = strdup(_("Transfers")); + client_helps[0] = strdup(_( + "To challenge a user you first have to select him/her in the " + "upper right list and the levelset you want to play " + "from the list below. Then you adjust the game settings to your " + "likings and hit the 'Challenge' button which will send your " + "challenge to the other user who will either accept or decline. " + "If (s)he accepts a direct connection will be established and the " + "game will start.##" + "DIFFICULTY: This influences ball speed, paddle size and score as for " + "single player modus. (1 = Easy, 2 = Medium, 3 = Hard)##" + "ROUNDS: This is the number of rounds played per level. Winning a " + "round scores one point and the player with the most points wins " + "the match.##" + "FRAGS: In a pingpong level (no bricks) a player gains a frag everytime " + "the opponent looses a ball. 'frag' is a bad name for this, should be " + "pingpong winning score or something but 'frags' is simply shorter. " + "The player who hits this limit first " + "wins the round.#In levels with bricks this option is ignored " + "and the level is over after all bricks were cleared.##" + "BALLS: In a pingpong level (no bricks) each player may fire multiple " + "balls up to this number. If a player looses a ball he may fire it again.#" + "In normal levels (with bricks) this option is ignored and a gets a new ball " + "after five seconds penalty time.")); + client_helps[1] = strdup(_( + "To switch a channel hit the 'C' button above the user list. " + "You can enter either an existing or a new channel. You " + "can only talk to and challenge users in the same channel.")); + client_helps[2] = strdup(_( + "User Console Commands:##" + "/search #" + "Search for a user in all channels.##" + "/version#" + "Display version of transmission protocol.##" + "/info#" + "Display current userlimit and frame rate.##" + "Admin Console Commands:##" + "/admin_says #" + "Broadcast a message to all chatting users.##" + "/kick #" + "Kick user by that name.##" + "/addbot #" + "Add a paddle bot. The speed is defined in pixels per second. 800 to 1000 is a good value.##" + "/delbot #" + "Delete paddle bot.##" + "/set #" + "Set a variable to a new value:#" + " userlimit: is the number of users that may login. If decreased with too many users online" + " no one is kicked. This limit does not matter for admin login.#" + " fps: is how many times a second the server calls up the communication and sends/receives" + " packets. This should not be too high to prevent network flooding. 40 is a good value.#" + " packetlimit: if not -1 this is the number of packets parsed in one communication step. -1" + " which is the default means the queue is parsed until empty##" + "/addset #" + "Load a new levelset that has been copied to the levels directory and make it available " + "to the users.##" + "/halt#" + "Halt server after 5 seconds and inform all users, even the playing ones, about this.")); + client_helps[3] = /* xgettext:no-c-format */ strdup(_( "Basically you play the game as in single player mode but their " + "are some special things you might find useful to know.##" + "PINGPONG:#" + "The point here is to play it fast and to use all of your balls. " + "Use the right and left mouse button to fire the balls " + "while moving the paddle. Your opponent " + "will have trouble to reflect all balls if you do it right. " + "If you are not sure wether you got balls left click anyway. " + "Keep the button pressed for a while! The fire rate is restricted " + "to one ball every 500 milliseconds.##" + "NORMAL:#" + "Your goal here is too gain more score than your opponent to win a " + "round. Basically you do this by clearing bricks and collecting extras " + "but there are some other ways as well:#" + "1) To loose a ball means to loose 10% score. After five seconds penalty " + "a new ball is created and you can continue playing.#" + "2) Hitting your opponents paddle with the plasma weapon will give you " + "1000 points while stealing him/her the same amount.#" + "3) Bonus/malus magnet will attract _all_ bonuses/maluses even those " + "released by your opponent.##" + "Note: If you pause the game by pressing 'p' a chat will pop up and you " + "can talk to your opponent.")); + client_helps[4] = strdup(_( + "You cannot offer someone your levelset unless this user " + "wants to receive your set which requires the following steps:#" + "1) select the user to whom you want to listen#" + "2) press the 'L' button above the levelset list#" + "3) wait for offer or cancel 'listening'#" + "The receiver is now ready and the sender has to:#" + "1) select the listening user#" + "2) select the levelset (s)he wants to transfer#" + "3) hit the 'T' button above the levelset list#" + "If the receiver has this levelset already located in " + "~/.lgames/lbreakout2-levels and it is up-to-date the transfer " + "does not take place otherwise the receiver is asked to confirm " + "and if (s)he does so the set is transferred to the home " + "directory and directly available if intended for network. (starts with 'MP_')#" + "NOTE: Only the challenger is required to have the levelset so you " + "don not have to transfer sets to play with someone. However if your opponent " + "likes your set and wants to challenge others with it both can engage into " + "a transfer.")); } void client_data_delete( void ) { + int i; if ( client_channels ) list_delete( client_channels ); client_channels = 0; if ( client_users ) list_delete( client_users ); @@ -253,6 +258,11 @@ client_levelsets = 0; if ( client_help_text ) delete_text( client_help_text ); client_help_text = 0; + for (i=0;iid == client_id ) { - client_popup_info( "You can't challenge yourself." ); + client_popup_info( _("You can't challenge yourself.") ); return; } @@ -436,7 +436,7 @@ msg_write_int8( mp_balls ); client_transmit( CODE_BLUE, msglen, msgbuf ); - client_popup_info( "You have challenged %s. Let's see what (s)he says...", mp_peer_name ); + client_popup_info( _("You have challenged %s. Let's see what (s)he says..."), mp_peer_name ); client_state = CLIENT_AWAIT_ANSWER; #endif } @@ -545,7 +545,7 @@ if ( event->type != GUI_CLICKED ) return; gui_widget_hide( dlg_stats ); client_state = CLIENT_NONE; - gui_label_set_text( label_stats, "Awaiting stats..." ); + gui_label_set_text( label_stats, _("Awaiting stats...") ); gui_label_set_text( label_winner, "..." ); } diff --git a/client/client_recv.c b/client/client_recv.c index 83a3f7d..e7b02e3 100644 --- a/client/client_recv.c +++ b/client/client_recv.c @@ -125,14 +125,14 @@ handled = 1; break; case MSG_ERROR: - client_printf_chatter( 1, "ERROR: %s", msg_read_string() ); + client_printf_chatter( 1, _("ERROR: %s"), msg_read_string() ); handled = 1; break; case MSG_BUSY: if ( client_state == CLIENT_AWAIT_ANSWER || client_state == CLIENT_AWAIT_TRANSFER_CONFIRMATION ) client_popup_info( - "%s is busy at the moment.", + _("%s is busy at the moment."), mp_peer_name ); handled = 1; break; @@ -142,7 +142,7 @@ break; case MSG_SET_COMM_DELAY: client_comm_delay = msg_read_int16(); - printf( "comm_delay set to %i\n", client_comm_delay ); + printf( _("comm_delay set to %i\n"), client_comm_delay ); handled = 1; break; /* chatter */ @@ -230,13 +230,13 @@ mp_frags = msg_read_int8(); mp_balls = msg_read_int8(); if ( msg_read_failed() ) break; - client_popup_confirm( " You have been challenged!##"\ + client_popup_confirm( _(" You have been challenged!##"\ " Challenger: %13s#"\ " Levelset: %13s#"\ " Difficulty: %13s#"\ " Rounds: %13i#"\ " Frag Limit: %13i#"\ - " Balls: %13i", + " Balls: %13i"), mp_peer_name, mp_levelset, mp_diff_names[mp_diff], mp_rounds, mp_frags, mp_balls ); client_state = CLIENT_ANSWER; @@ -246,14 +246,14 @@ handled = 1; if ( client_state != CLIENT_AWAIT_ANSWER ) break; client_popup_info( - "%s is too scared to accept your challenge.", + _("%s is too scared to accept your challenge."), mp_peer_name ); break; case MSG_CANCEL_GAME: handled = 1; if ( client_state != CLIENT_ANSWER ) break; gui_widget_hide( dlg_confirm ); - client_popup_info( "%s got cold feet.", mp_peer_name ); + client_popup_info( _("%s got cold feet."), mp_peer_name ); break; case MSG_ACCEPT_CHALLENGE: handled = 1; @@ -310,7 +310,7 @@ } if ( !handled ) { - printf( "chat: state %i: invalid message %x: skipping %i bytes\n", + printf( _("chat: state %i: invalid message %x: skipping %i bytes\n"), client_state, type, net_buffer_cur_size - msg_read_pos ); msg_read_pos = net_buffer_cur_size; } @@ -355,4 +355,3 @@ } #endif } - diff --git a/client/comm.c b/client/comm.c index cbd023c..1aef45b 100644 --- a/client/comm.c +++ b/client/comm.c @@ -170,6 +170,16 @@ handle_mods(); local_game->mod = game->mod; + /* copy new level when altered in bonus level */ + if (local_game->blRefreshBricks) + { + local_game->blRefreshBricks = 0; + /* HACK HACK HACK HACK.... did I mention this is a hack? And a really + bad one indeed. */ + memcpy(game->bricks,local_game->bricks,sizeof(game->bricks)); + client_redraw_all_bricks(); + } + return; } @@ -199,7 +209,7 @@ switch ( type ) { case MSG_SET_COMM_DELAY: client_comm_delay = msg_read_int16(); - printf( "comm_delay set to %i\n", client_comm_delay ); + printf( _("comm_delay set to %i\n"), client_comm_delay ); handled = 1; break; case MSG_DISCONNECT: @@ -208,7 +218,7 @@ close_pause_chat(); set_state( CS_FATAL_ERROR ); - display_text( chat_font_error, "You've been disconnected." ); + display_text( chat_font_error, _("You've been disconnected.") ); client_data_clear(); client_is_connected = 0; handled = 1; @@ -232,7 +242,7 @@ } else { set_state( CS_FATAL_ERROR ); - display_text( chat_font_error, "corrupted level data" ); + display_text( chat_font_error, _("corrupted level data") ); } break; case MSG_ADD_USER: @@ -253,7 +263,7 @@ handled = 1; break; case MSG_PAUSE: - open_pause_chat( "Remote player has paused the game." ); + open_pause_chat( _("Remote player has paused the game.") ); handled = 1; break; case MSG_UNPAUSE: @@ -364,7 +374,7 @@ } if ( !handled ) { - printf( "game: state %i: invalid message %x: skipping %i bytes\n", + printf( _("game: state %i: invalid message %x: skipping %i bytes\n"), client_state, type, net_buffer_cur_size - msg_read_pos ); msg_read_pos = net_buffer_cur_size; } @@ -450,4 +460,3 @@ } } - diff --git a/client/config.c b/client/config.c index 23c1e84..fe45208 100644 --- a/client/config.c +++ b/client/config.c @@ -68,13 +68,14 @@ /* player */ config.player_count = 1; strcpy( config.player_names[0], "Michael" ); - strcpy( config.player_names[1], "Mr.X" ); - strcpy( config.player_names[2], "Mr.Y" ); - strcpy( config.player_names[3], "Mr.Z" ); + strcpy( config.player_names[1], _("Mr.X") ); + strcpy( config.player_names[2], _("Mr.Y") ); + strcpy( config.player_names[3], _("Mr.Z") ); /* game */ config.diff = 2; config.startlevel = 0; config.rel_warp_limit = 80; + config.addBonusLevels = 1; /* controls */ config.k_left = SDLK_LEFT; config.k_right = SDLK_RIGHT; @@ -94,12 +95,13 @@ config.i_key_speed = 500; config.key_speed = 0.5; config.random_angle = 1; - config.maxballspeed_int1000 = 700; + config.maxballspeed_int1000 = 900; config.maxballspeed_float = 0.7; /* sounds */ config.sound = 1; config.volume = 8; config.speech = 1; + config.badspeech = 0; config.audio_buffer_size = 512; /* graphics */ config.anim = 2; @@ -117,7 +119,7 @@ /* multiplayer */ strcpy( config.server, "217.160.141.22:8000" ); strcpy( config.local_port, "8001" ); - strcpy( config.username, "player" ); + strcpy( config.username, _("player") ); config.mp_diff = 1; config.mp_rounds = 1; config.mp_balls = 3; @@ -157,6 +159,7 @@ parser_get_int( pd, "diff", &config.diff ); parser_get_int( pd, "starting_level", &config.startlevel ); parser_get_int( pd, "rel_warp_limit", &config.rel_warp_limit ); + parser_get_int( pd, "add_bonus_levels", &config.addBonusLevels ); parser_get_int( pd, "left", &config.k_left ); parser_get_int( pd, "right", &config.k_right ); parser_get_int( pd, "fire_left", &config.k_lfire ); @@ -176,6 +179,7 @@ parser_get_int( pd, "sound", &config.sound ); parser_get_int( pd, "volume", &config.volume ); parser_get_int( pd, "speech", &config.speech ); + parser_get_int( pd, "badspeech", &config.badspeech ); parser_get_int( pd, "audio_buffer_size", &config.audio_buffer_size ); parser_get_int( pd, "anim", &config.anim ); parser_get_int( pd, "fullscreen", &config.fullscreen ); @@ -226,6 +230,7 @@ fprintf( file, "diff»%i\n", config.diff ); fprintf( file, "starting_level»%i\n", config.startlevel ); fprintf( file, "rel_warp_limit»%i\n", config.rel_warp_limit ); + fprintf( file, "add_bonus_levels»%i\n", config.addBonusLevels ); fprintf( file, "left»%i\n", config.k_left ); fprintf( file, "right»%i\n", config.k_right ); fprintf( file, "fire_left»%i\n", config.k_lfire ); @@ -243,6 +248,7 @@ fprintf( file, "sound»%i\n", config.sound ); fprintf( file, "volume»%i\n", config.volume ); fprintf( file, "speech»%i\n", config.speech ); + fprintf( file, "badspeech»%i\n", config.badspeech ); fprintf( file, "audio_buffer_size»%i\n", config.audio_buffer_size ); fprintf( file, "anim»%i\n", config.anim ); fprintf( file, "fullscreen»%i\n", config.fullscreen ); @@ -265,4 +271,3 @@ fprintf( file, "mp_balls»%i\n", config.mp_balls ); } } - diff --git a/client/config.h b/client/config.h index cfa14d3..306e7c5 100644 --- a/client/config.h +++ b/client/config.h @@ -39,6 +39,7 @@ int startlevel; int rel_warp_limit; /* percentage of bricks required to be destroyed before player may proceed to next level */ + int addBonusLevels; /* add some bonus levels */ /* controls */ int k_left; int k_right; @@ -63,6 +64,7 @@ int sound; int volume; /* 1 - 8 */ int speech; /* enable speech? */ + int badspeech; /* if speech allowed, allow swearing? */ int audio_buffer_size; /* graphics */ int anim; diff --git a/client/editor.c b/client/editor.c index 1143dcd..8f76482 100644 --- a/client/editor.c +++ b/client/editor.c @@ -263,30 +263,30 @@ int x = BRICK_WIDTH, y = ( MAP_HEIGHT - 1 ) * BRICK_HEIGHT - 2; int height = 10; /* locartion */ - sprintf( str, "Location: %s", edit_file_name ); + sprintf( str, _("Location: %s"), edit_file_name ); mfont->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; stk_font_write( mfont, stk_display, x, y, STK_OPAQUE, str ); /* current level */ - sprintf( str, "Current Level: %i/%i (Free: %i)", edit_cur_level_id + 1, edit_level_count, MAX_LEVELS - edit_level_count ); + sprintf( str, _("Current Level: %i/%i (Free: %i)"), edit_cur_level_id + 1, edit_level_count, MAX_LEVELS - edit_level_count ); mfont->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; stk_font_write( mfont, stk_display, x, y + height, STK_OPAQUE, str ); /* swap */ mfont->align = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_TOP; if ( first_swap_level != -1 ) { - sprintf( str, "*** Level %i Marked For Swap ***", first_swap_level + 1 ); + sprintf( str, _("*** Level %i Marked For Swap ***"), first_swap_level + 1 ); stk_font_write( mfont, stk_display, stk_display->w - BRICK_WIDTH, y + height, STK_OPAQUE, str ); } else { /* version */ - sprintf( str, "Version: %s ", edit_version ); + sprintf( str, _("Version: %s "), edit_version ); stk_font_write( mfont, stk_display, stk_display->w - BRICK_WIDTH, y + height, STK_OPAQUE, str ); } /* name and author */ mfont->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; - sprintf( str, "Title: %s", edit_cur_level->name ); + sprintf( str, _("Title: %s"), edit_cur_level->name ); stk_font_write( mfont, stk_display, BRICK_WIDTH + 2, ( MAP_HEIGHT - 5 ) * BRICK_HEIGHT + 5, STK_OPAQUE, str ); mfont->align = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_TOP; - sprintf( str, "Author: %s", edit_cur_level->author ); + sprintf( str, _("Author: %s"), edit_cur_level->author ); stk_font_write( mfont, stk_display, stk_display->w - BRICK_WIDTH - 2, ( MAP_HEIGHT - 5 ) * BRICK_HEIGHT + 5, STK_OPAQUE, str ); } /* @@ -397,7 +397,7 @@ /* if we got no level at all create an empty one */ if ( edit_level_count == 0 ) { edit_level_count = 1; - edit_levels[0] = level_create_empty( "noname", "untitled" ); + edit_levels[0] = level_create_empty( _("noname"), _("untitled") ); } /* translate the character strings to editor info */ for ( i = 0; i < edit_level_count; i++ ) @@ -481,7 +481,7 @@ } break; case BUTTON_LOAD: - if ( !confirm( font, "Discard All Changes? y/n", CONFIRM_YES_NO ) ) break; + if ( !confirm( font, _("Discard All Changes? y/n"), CONFIRM_YES_NO ) ) break; /* load levels and reset position if level doesn't exist */ old_pos = edit_cur_level_id; editor_load_levels(); @@ -491,11 +491,11 @@ *full_update = 1; break; case BUTTON_SAVE: - if ( !confirm( font, "Save Changes? y/n", CONFIRM_YES_NO ) ) break; + if ( !confirm( font, _("Save Changes? y/n"), CONFIRM_YES_NO ) ) break; editor_save_levels(); break; case BUTTON_CLEAR: - if ( !confirm( font, "Clear Level? y/n", CONFIRM_YES_NO ) ) break; + if ( !confirm( font, _("Clear Level? y/n"), CONFIRM_YES_NO ) ) break; author = strdup( edit_cur_level->author ); name = strdup( edit_cur_level->name ); level_delete( edit_levels[edit_cur_level_id] ); @@ -506,14 +506,14 @@ break; case BUTTON_ADD: if ( edit_level_count == MAX_LEVELS ) break; - if ( !confirm( font, "Add Level? y/n", CONFIRM_YES_NO ) ) break; + if ( !confirm( font, _("Add Level? y/n"), CONFIRM_YES_NO ) ) break; edit_levels[edit_level_count] = level_create_empty( edit_levels[edit_level_count - 1]->author, edit_levels[edit_level_count - 1]->name ); edit_level_count++; *full_update = 1; break; case BUTTON_INSERT: if ( edit_level_count == MAX_LEVELS ) break; - if ( !confirm( font, "Insert Level? y/n", CONFIRM_YES_NO ) ) break; + if ( !confirm( font, _("Insert Level? y/n"), CONFIRM_YES_NO ) ) break; for ( i = edit_level_count; i > edit_cur_level_id; i-- ) edit_levels[i] = edit_levels[i - 1]; edit_level_count++; @@ -523,7 +523,7 @@ break; case BUTTON_DELETE: if ( edit_level_count == 1 ) break; /* last level may not be removed */ - if ( !confirm( font, "Delete Level? y/n", CONFIRM_YES_NO ) ) break; + if ( !confirm( font, _("Delete Level? y/n"), CONFIRM_YES_NO ) ) break; level_delete( edit_levels[edit_cur_level_id] ); for ( i = edit_cur_level_id; i < edit_level_count - 1; i++ ) edit_levels[i] = edit_levels[i + 1]; @@ -545,7 +545,7 @@ *full_update = 1; break; case BUTTON_VERSION: - if ( enter_string( font, "Levelset Version:", edit_version, 8 ) ) { + if ( enter_string( font, _("Levelset Version:"), edit_version, 8 ) ) { parse_version( edit_version, &version, &update ); sprintf( edit_version, "%i.%02i", version, update ); *full_update = 1; @@ -638,12 +638,12 @@ /* name&author */ strcpy( str, "" ); if ( edit_buttons[x][y] == BUTTON_EDIT_AUTHOR ) - if ( enter_string( font, "Author's Name:", str, 24 ) ) { + if ( enter_string( font, _("Author's Name:"), str, 24 ) ) { snprintf( edit_cur_level->author, 31, "%s", str ); *full_update = 1; } if ( edit_buttons[x][y] == BUTTON_EDIT_NAME ) - if ( enter_string( font, "Title:", str, 24 ) ) { + if ( enter_string( font, _("Title:"), str, 24 ) ) { snprintf( edit_cur_level->name, 31, "%s", str ); *full_update = 1; } @@ -782,7 +782,7 @@ case SDL_KEYDOWN: switch ( event.key.keysym.sym ) { case SDLK_ESCAPE: - if ( confirm( font, "Quit Editor? y/n", CONFIRM_YES_NO ) ) leave = 1; + if ( confirm( font, _("Quit Editor? y/n"), CONFIRM_YES_NO ) ) leave = 1; break; case SDLK_LEFT: editor_handle_button( BUTTON_PREV, &full_update ); break; case SDLK_RIGHT: editor_handle_button( BUTTON_NEXT, &full_update ); break; diff --git a/client/frame.c b/client/frame.c index aeb2bea..65cc704 100644 --- a/client/frame.c +++ b/client/frame.c @@ -325,7 +325,7 @@ void frame_warp_icon_hide() { if ( game->game_type != GT_LOCAL ) return; - if ( game->level_type != LT_NORMAL ) return; + if ( game->level_type == LT_PINGPONG ) return; if ( game->bricks_left > game->warp_limit ) return; stk_surface_blit( offscreen, warp_x,warp_y,-1,-1, stk_display, warp_x, warp_y ); @@ -334,7 +334,7 @@ void frame_warp_icon_show() { if ( game->game_type != GT_LOCAL ) return; - if ( game->level_type != LT_NORMAL ) return; + if ( game->level_type == LT_PINGPONG ) return; if ( game->warp_limit == 0 ) return; if ( game->bricks_left > game->warp_limit ) return; if ( !warp_blink ) return; @@ -349,7 +349,7 @@ { //printf( "%i > %i\n", game->bricks_left, game->warp_limit ); if ( game->game_type != GT_LOCAL ) return; - if ( game->level_type != LT_NORMAL ) return; + if ( game->level_type == LT_PINGPONG ) return; if ( game->bricks_left > game->warp_limit ) return; if ( warp_blinks == 0 ) { warp_blink = 1; diff --git a/client/game.c b/client/game.c index 5ae16c8..03234df 100644 --- a/client/game.c +++ b/client/game.c @@ -83,6 +83,7 @@ int showing_best = 0; /* if true best score is shown, thus display should not be updated */ Display *display_score[2]; /* either score or frags */ Display *display_player[2]; /* player name and lifes or wins */ +Display *bl_display; /* display some special data of bonus levels */ extern int client_state; extern int warp_blinks, warp_blink; extern SDL_Surface *paddle_pic, *weapon_pic, *ball_pic, *extra_pic, *shot_pic; @@ -92,7 +93,7 @@ int client_comm_delay; /* delay between communications */ int no_comm_since; /* time passed this last comm */ extern char client_name[16]; /* our local username */ -int freakout_seed = 0; /* last used seed for freakout game */ +int gameSeed = 0; /* last used seed for freakout game */ extern int current_player; extern Item *item_resume_0; @@ -122,8 +123,12 @@ * context contains the real stats */ if ( game->game_type == GT_LOCAL ) game_init( local_game, &player->snapshot ); - game_init( game, &player->snapshot ); - + game_init( game, &player->snapshot ); + /* if special level copy the local game data as snapshot */ + if ( game->game_type == GT_LOCAL ) + if ( player->snapshot.type!=LT_NORMAL ) + memcpy( game->bricks, local_game->bricks, sizeof(game->bricks) ); + /* initiate frame for game type */ frame_init(); @@ -183,6 +188,14 @@ 76, 16, "", player->stats.total_score, 9 ); display_player[0]->use_alpha = 0; display_score[0]->use_alpha = 0; + /* for special levels we need a small display in the right lower corner */ + if (game->isBonusLevel) + bl_display = displays_add( + stk_display->w - BRICK_WIDTH - 20 - 76, + ( MAP_HEIGHT - 1 ) * BRICK_HEIGHT + 2, + 76, 16, "", 0, 9 ); + else + bl_display = 0; } else { /* wins */ sprintf( str, "%s ~x%i", @@ -210,10 +223,10 @@ /* initiate credit */ if ( game->game_type == GT_LOCAL && game_set ) - credit_init( player->snapshot.name, player->snapshot.author, + credit_init( game->title, game->author, player->level_id, game_set->count ); else - credit_init( player->snapshot.name, player->snapshot.author, + credit_init( game->title, game->author, player->level_id, 0/*don't display info*/ ); /* show offscreen */ @@ -284,6 +297,51 @@ display_text( font, info ); stk_display_update( STK_UPDATE_ALL ); +} + +static void display_bonus_level_score() +{ + double avgRatio = 0; + char info[256]; + info[0] = 0; + if (local_game->blNumCompletedRuns==0) + avgRatio = 0; + else + avgRatio = local_game->blRatioSum/local_game->blNumCompletedRuns; + switch (local_game->level_type) + { + case LT_JUMPING_JACK: + display_text( font, _("%s, you hit %d Jumping Jacks!##Your average ratio: %5d%%# Your score: %6d"), + cur_player->name,local_game->blNumCompletedRuns, + (int)(100.0*avgRatio),local_game->totalBonusLevelScore); + break; + case LT_OUTBREAK: + display_text( font, _("%s, you stopped %d Outbreaks!##Your average ratio: %5d%%# Your score: %6d"), + cur_player->name,local_game->blNumCompletedRuns, + (int)(100.0*avgRatio),local_game->totalBonusLevelScore); + break; + case LT_BARRIER: + display_text( font, _("%s, you broke through %d Barriers!##Your average ratio: %5d%%# Your score: %6d"), + cur_player->name,local_game->blNumCompletedRuns, + (int)(100.0*avgRatio),local_game->totalBonusLevelScore); + break; + case LT_SITTING_DUCKS: + display_text( font, _("%s, you shot %d Sitting Ducks!##Your score: %6d"), + cur_player->name,local_game->blNumCompletedRuns, + local_game->totalBonusLevelScore); + break; + case LT_HUNTER: + display_text( font, _("%s, you hunted down %d bricks!##Your average ratio: %5d%%# Your score: %6d"), + cur_player->name,local_game->blNumCompletedRuns, + (int)(100.0*avgRatio),local_game->totalBonusLevelScore); + break; + case LT_DEFENDER: + display_text( font, _("%s, you stopped %d waves#killing a total of %d invaders!##Your average ratio: %5d%%# Your score: %6d"), + cur_player->name,local_game->blNumCompletedRuns,local_game->blTotalNumKilledInvaders, + (int)(100.0*avgRatio),local_game->totalBonusLevelScore); + break; + } + stk_display_update( STK_UPDATE_ALL ); } /* begin frame by hiding all objects */ @@ -378,6 +436,7 @@ client_state == CS_GET_READY || client_state == CS_PAUSE || client_state == CS_FINAL_PLAYER_INFO || + client_state == CS_GET_READY_FOR_NEXT_LEVEL || client_state == CS_RECV_LEVEL || client_state == CS_ROUND_RESULT || client_state == CS_RECV_STATS || @@ -478,10 +537,10 @@ * network game enter the pausechatroom */ if ( game->game_type == GT_LOCAL ) { set_state(CS_PAUSE); - display_text( font, "Pause" ); + display_text( font, _("Pause") ); } else { - open_pause_chat( "You have paused the game." ); + open_pause_chat( _("You have paused the game.") ); comm_send_short( MSG_PAUSE ); } } @@ -521,9 +580,9 @@ if ( players_count() == 0 ) break; set_state(CS_CONFIRM_QUIT); if ( game->game_type == GT_LOCAL && game_set != 0 /*not testing a level*/ ) - display_text( font, "Quit Game? y/n#(If yes, this game may be resumed later.#No highscore entry is created yet.)" ); + display_text( font, _("Quit Game? y/n#(If yes, this game may be resumed later.#No highscore entry is created yet.)") ); else - display_text( font, "Quit Game? y/n" ); + display_text( font, _("Quit Game? y/n") ); return 1; case SDLK_r: if ( client_state != CS_PLAY ) break; @@ -531,12 +590,13 @@ if ( game_set == 0 ) break; /* test level */ if ( cur_player->lives < 2 ) break; set_state(CS_CONFIRM_RESTART); - display_text( font, "Restart Level? y/n" ); + display_text( font, _("Restart Level? y/n") ); return 1; case SDLK_d: if ( client_state != CS_PLAY ) break; if ( game->game_type == GT_NETWORK ) break; /* only for single player */ if ( !allow_disintegrate ) break; + if ( game->level_type != LT_NORMAL ) break; /* not in bonus levels */ grab_input(0); game_nuke(); grab_input(1); @@ -576,9 +636,10 @@ if ( game->game_type != GT_LOCAL ) break; if ( game->bricks_left > game->warp_limit ) break; if ( game_set == 0 ) break; /* test level */ + if ( game->level_type != LT_NORMAL ) break; /* not in bonus levels */ if ( key == config.k_warp ) { set_state(CS_CONFIRM_WARP); - display_text( font, "Warp to next level? y/n" ); + display_text( font, _("Warp to next level? y/n") ); return 1; } break; @@ -587,6 +648,38 @@ return 0; } +void update_bonus_level_display() +{ + /* Michael! What are you doing? You're messing this all up! + Who the fuck are you? + Your conscience! You can do better! I can do this way + cleaner. I know! This is just another terrible hack. Stop it! + Shhiiiiit, who cares? It's too goddamn late you bastard. You should + have come up with that earlier. This game is down on its knees + already. Dying from hacks spreading like cancer... */ + switch (local_game->level_type) + { + case LT_JUMPING_JACK: + display_set_value(bl_display,(local_game->bricks[local_game->bl_jj_mx][local_game->bl_jj_my].exp_time+500)/1000); + break; + case LT_OUTBREAK: + display_set_value(bl_display,local_game->blCancerCount); + break; + case LT_BARRIER: + display_set_value(bl_display,local_game->blBarrierMaxMoves-local_game->blBarrierMoves); + break; + case LT_SITTING_DUCKS: + display_set_value(bl_display,local_game->blMaxScore); + break; + case LT_HUNTER: + display_set_value(bl_display,local_game->blHunterTimeLeft/1000); + break; + case LT_DEFENDER: + display_set_value(bl_display,local_game->blInvaderLimit-local_game->blNumKilledInvaders); + break; + } +} + /* update local objects (shrapnells,extras,explosions...) and communicate * every client_comm_delay seconds either with real or fake server */ static void update_game( int ms ) @@ -636,6 +729,9 @@ display_score[1], game->paddles[1]->player->stats.total_score + game->paddles[1]->score ); + + /* update bonus level information */ + if (bl_display) update_bonus_level_display(); } } @@ -645,8 +741,10 @@ static void play_speech( void ) { #ifdef AUDIO_ENABLED - if ( !config.speech ) return; - if ( game->winner == -1 ) return; /* draw */ + if ( !config.speech ) + return; + if ( game->winner == -1 ) + return; /* draw */ if ( game->paddles[game->winner] == l_paddle ) { if ( rand() % 2 ) @@ -654,8 +752,8 @@ else stk_sound_play( wav_verygood ); } else { - if ( !game->diff->allow_maluses ) return; /* bad speech is bad somehow */ - + if (!config.badspeech) /* no swearing! */ + return; if ( rand() % 2 ) stk_sound_play( wav_damn ); else @@ -687,25 +785,25 @@ set_state( CS_GET_READY ); init_level( cur_player, cur_player->paddle_id ); display_text( font, - "***** Round %i *****###You control the %s paddle in this level!#" + _("***** Round %i *****###You control the %s paddle in this level!#" "To fire a ball keep the mouse button PRESSED.#Don't just click.###" "Press any key when you are ready...###(You can pause the game with 'p' any time.)" "###NOTE: Due to latency, bonuses on the server are closer than they " - "appear! I'll try to work on that.", - game_round, cur_player->paddle_id==0?"BOTTOM":"TOP" ); + "appear! I'll try to work on that."), + game_round, cur_player->paddle_id==0?_("BOTTOM"):_("TOP") ); } /* display a message about the winner */ void finalize_round( void ) { if ( (char)game->winner == -1 ) - display_text( font, "DRAW" ); + display_text( font, _("DRAW") ); else { game->paddles[game->winner]->player->stats.wins++; if ( game->winner == cur_player->paddle_id ) - display_text( font, "You have won this round!" ); + display_text( font, _("You have won this round!") ); else - display_text( font, "You have lost this round." ); + display_text( font, _("You have lost this round.") ); } finalize_level(); set_state( CS_ROUND_RESULT ); @@ -728,7 +826,7 @@ /* build stats string */ display_text( font, - " Result: %s ##" \ + _(" Result: %s ##" \ " %12s %12s##" \ "Wins: %12i %12i#" \ "Losses: %12i %12i#" \ @@ -739,8 +837,8 @@ "Balls Kept: %11i%% %11i%%#" \ "Bricks Cleared: %11i%% %11i%%#" \ "Extras Collected: %11i%% %11i%%##" \ - "(Press SPACE to continue)", - win==1?"VICTORY":win==0?" DEFEAT":" DRAW", + "(Press SPACE to continue)"), + win==1?_("VICTORY"):win==0?_(" DEFEAT"):_(" DRAW"), players[0].name, players[1].name, game_stats[0][0], game_stats[1][0], game_stats[0][1], game_stats[1][1], @@ -770,9 +868,9 @@ gs.player_lives[i] = players[i].lives; gs.player_scores[i] = players[i].stats.total_score; } - gs.freakout_seed = freakout_seed; + gs.gameSeed = gameSeed; if ( !slot_save( slot_id, &gs ) ) - fprintf( stderr, "ERROR: couldn't save game!\n" ); + fprintf( stderr, _("ERROR: couldn't save game!\n") ); slot_update_hint( slot_id, item_resume_0->hint ); } @@ -866,7 +964,8 @@ game_set_convex_paddle( config.convex ); game_set_ball_auto_return( !config.return_on_click ); game_set_ball_random_angle( config.random_angle ); - game_set_ball_accelerated_speed( config.maxballspeed_float ); + game_set_ball_accelerated_speed( config.maxballspeed_float ); + local_game->localServerGame = 1; /* load levels: * only required for local games. in network both players @@ -874,14 +973,14 @@ * data that is send by the server via the net. */ if ( !strcmp( setname, TOURNAMENT ) ) - game_set = levelset_load_all( levelset_names, freakout_seed ); + game_set = levelset_load_all( levelset_names, gameSeed, config.addBonusLevels ); else - game_set = levelset_load( setname ); + game_set = levelset_load( setname, ((config.addBonusLevels)?gameSeed:0) ); if ( game_set == 0 ) return 0; /* load highest score so far if any */ chart = chart_set_query(setname); - strcpy(best_name,"nobody"); best_score = 0; + strcpy(best_name,_("nobody")); best_score = 0; if (chart) { strcpy(best_name,chart->entries[0].name); @@ -944,7 +1043,7 @@ player_add( opponent_name, game->diff->lives, levelset_get_first( game_set ) ); cur_player = players_get_first(); - display_text( font, "Receiving level data..." ); + display_text( font, _("Receiving level data...") ); set_state( CS_RECV_LEVEL ); return 1; } @@ -964,7 +1063,7 @@ config.player_count = gs.player_count; for ( i = 0; i < config.player_count; i++ ) strcpy( config.player_names[i], gs.player_names[i] ); - freakout_seed = gs.freakout_seed; + gameSeed = gs.gameSeed; /* create local game where all players have full lives */ if ( !client_game_init_local( gs.setname ) ) return 0; @@ -1001,6 +1100,7 @@ game_set_ball_auto_return( !config.return_on_click ); game_set_ball_random_angle( config.random_angle ); game_set_ball_accelerated_speed( config.maxballspeed_float ); + local_game->localServerGame = 1; game = game_create( GT_LOCAL, config.diff, 100 ); game_set_current( game ); @@ -1097,12 +1197,13 @@ if ( button_clicked || key_pressed ) { SDL_Delay(250); /* give time to release button */ set_state( CS_RECV_STATS ); - display_text( font, "Receiving final stats..." ); + display_text( font, _("Receiving final stats...") ); } break; case CS_FINAL_TABLE: if ( button_clicked || key_pressed ) { + chart_load(); check_highscores(); select_chart( game_set->name, 0 ); /* remove saved game */ @@ -1115,9 +1216,15 @@ case CS_SCORE_TABLE: /* show who's next player and scores in local game */ - display_score_table( "Next Player: %s", cur_player->name ); + display_score_table( _("Next Player: %s"), cur_player->name ); set_state( CS_GET_READY ); break; + + case CS_BONUS_LEVEL_SCORE: + /* display total score from this level for player */ + display_bonus_level_score(); + set_state( CS_GET_READY_FOR_NEXT_LEVEL ); + break; case CS_FINAL_PLAYER_INFO: if ( button_clicked || key_pressed ) { @@ -1148,10 +1255,10 @@ SDL_Delay(250); /* give time to release button */ if ( game_over ) { set_state( CS_RECV_STATS ); - display_text( font, "Receiving final stats..." ); + display_text( font, _("Receiving final stats...") ); } else { set_state( CS_RECV_LEVEL ); - display_text( font, "Receiving level data..." ); + display_text( font, _("Receiving level data...") ); } } break; @@ -1161,6 +1268,13 @@ SDL_Delay(250); /* give time to release button */ comm_send_short( MSG_READY ); set_state( CS_PLAY ); + } + break; + + case CS_GET_READY_FOR_NEXT_LEVEL: + if ( button_clicked || key_pressed ) { + SDL_Delay(250); /* give time to release button */ + set_state( CS_NEXT_LEVEL ); } break; @@ -1195,7 +1309,12 @@ break; } if ( game->winner == PADDLE_BOTTOM ) - set_state( CS_NEXT_LEVEL ); + { + if (local_game->isBonusLevel) + set_state( CS_BONUS_LEVEL_SCORE ); + else + set_state( CS_NEXT_LEVEL ); + } else set_state( CS_LOOSE_LIFE ); } else { @@ -1215,7 +1334,7 @@ /* deactivate player */ cur_player->lives = 0; display_text( font, - "You've cleared all levels...#Congratulations!!!" ); + _("You've cleared all levels...#Congratulations!!!") ); set_state( CS_FINAL_PLAYER_INFO ); break; } @@ -1251,7 +1370,7 @@ cur_player->lives--; if ( cur_player->lives == 0 ) { display_text( font, - "You've lost all lives...#Do you want to buy a continue#for 100%% of your score? y/n" ); + _("You've lost all lives...#Do you want to buy a continue#for 100%% of your score? y/n") ); set_state( CS_CONFIRM_CONTINUE ); //set_state( CS_FINAL_PLAYER_INFO ); break; @@ -1262,7 +1381,7 @@ case CS_NEXT_PLAYER: /* game over? */ if ( players_count() == 0 ) { - display_score_table( "Game Over!" ); + display_score_table( _("Game Over!") ); set_state( CS_FINAL_TABLE ); break; } @@ -1282,33 +1401,37 @@ } break; - case CS_CONFIRM_CONTINUE: + case CS_CONFIRM_CONTINUE: case CS_CONFIRM_QUIT: case CS_CONFIRM_WARP: case CS_CONFIRM_RESTART: - if ( key_pressed == 0 ) break; - if ( key_pressed==SDLK_n||key_pressed==SDLK_ESCAPE ) { - /* if denying continue... DIE!!! */ - if ( client_state == CS_CONFIRM_CONTINUE ) - { - SDL_Delay(250); /* give time to release button */ - set_state( CS_NEXT_PLAYER ); - //set_state( CS_FINAL_PLAYER_INFO ); - } - else - set_state( CS_PLAY ); - break; - } - if ( key_pressed != SDLK_y && key_pressed != SDLK_z ) break; + if ( key_pressed ) + { + char *keyName = SDL_GetKeyName(key_pressed); + char *yesLetter = _("y"), *noLetter = _("n"); + if ( strcmp(keyName,noLetter)==0||key_pressed==SDLK_ESCAPE ) { + /* if denying continue... DIE!!! */ + if ( client_state == CS_CONFIRM_CONTINUE ) + { + SDL_Delay(250); /* give time to release button */ + set_state( CS_NEXT_PLAYER ); + //set_state( CS_FINAL_PLAYER_INFO ); + } + else + set_state( CS_PLAY ); + break; + } + if ( strcmp(keyName, yesLetter) ) break; + } else break; /* handle confirmed action */ SDL_Delay(250); /* give time to release button */ switch( client_state ) { - case CS_CONFIRM_CONTINUE: - /* clear score and give full lives again */ - cur_player->lives = game->diff->lives; - cur_player->stats.total_score = 0; - set_state( CS_NEXT_PLAYER ); - break; + case CS_CONFIRM_CONTINUE: + /* clear score and give full lives again */ + cur_player->lives = game->diff->lives; + cur_player->stats.total_score = 0; + set_state( CS_NEXT_PLAYER ); + break; case CS_CONFIRM_QUIT: comm_send_short( MSG_QUIT_GAME ); if ( game->game_type == GT_LOCAL ) { @@ -1316,24 +1439,23 @@ game_set_current( local_game ); game_update_stats( PADDLE_BOTTOM, &cur_player->stats ); game_set_current( game ); - /* no higscore check anymore as game is supposed to - * be resumed until normal game over */ + /* no higscore check anymore as game is supposed to + * be resumed until normal game over */ /* testing levels don't got for * high scores *** if ( game_set ) { check_highscores(); select_chart( game_set->name, 0 ); }*/ - /* save local game */ - if ( game_set != 0 /*not testing a level*/ ) - save_local_game( 0 ); - - abort = 1; + /* save local game */ + if ( game_set != 0 /*not testing a level*/ ) + save_local_game( 0 ); + abort = 1; } else { /* await game stats */ set_state( CS_RECV_STATS ); - display_text( font, "Receiving final stats..." ); + display_text( font, _("Receiving final stats...") ); } break; case CS_CONFIRM_WARP: @@ -1345,7 +1467,7 @@ for ( j = 0; j < MAP_HEIGHT; j++ ) if ( local_game->bricks[i][j].dur != -1 ) penalty += local_game->bricks[i][j].score; - printf( "warp penalty: -%d\n", penalty ); + printf( _("warp penalty: -%d\n"), penalty ); local_game->paddles[0]->score -= penalty; set_state( CS_NEXT_LEVEL ); break; @@ -1382,7 +1504,7 @@ /* frame rate */ frame_time = SDL_GetTicks() - frame_time; - printf( "Time: %.2f, Frames: %i -> FPS: %.2f\n", + printf( _("Time: %.2f, Frames: %i -> FPS: %.2f\n"), (double)frame_time / 1000, frames, 1000.0*frames/frame_time ); event_clear_sdl_queue(); @@ -1407,5 +1529,3 @@ client_game_finalize(); stk_display_fade( STK_FADE_OUT, STK_FADE_DEFAULT_TIME ); } - - diff --git a/client/game.h b/client/game.h index 605ee43..3247c94 100644 --- a/client/game.h +++ b/client/game.h @@ -32,12 +32,14 @@ CS_LOOSE_LIFE, /* take a snapshot and decrease lives */ CS_ROUND_RESULT,/* await click and start level receive after it */ CS_GAME_OVER, /* all levels are played */ - CS_CONFIRM_WARP, + CS_CONFIRM_WARP, CS_CONFIRM_QUIT, CS_CONFIRM_RESTART, - CS_CONFIRM_CONTINUE, + CS_CONFIRM_CONTINUE, CS_FATAL_ERROR, /* display error and quit game after it */ - CS_PAUSE + CS_PAUSE, + CS_BONUS_LEVEL_SCORE, /* show score gained in bonus level */ + CS_GET_READY_FOR_NEXT_LEVEL /* wait for click when showing score of bonus level */ }; /* create various resources like shrapnells */ diff --git a/client/gfx/AbsoluteB/Makefile.in b/client/gfx/AbsoluteB/Makefile.in index af65101..62cb642 100644 --- a/client/gfx/AbsoluteB/Makefile.in +++ b/client/gfx/AbsoluteB/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,349 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/gfx/AbsoluteB +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png back5.png bricks.png extras.png fr_left.png fr_right.png fr_top.png life.png menuback.png paddle.png shot.png weapon.png ABOUT README - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = README Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png back5.png \ +bricks.png extras.png fr_left.png fr_right.png fr_top.png \ +life.png menuback.png paddle.png shot.png weapon.png \ +ABOUT README + +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/gfx/AbsoluteB/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/AbsoluteB/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/gfx/AbsoluteB/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/gfx/AbsoluteB +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -200,7 +367,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\AbsoluteB\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/gfx/Classic/Makefile.in b/client/gfx/Classic/Makefile.in index 56b446f..7777886 100644 --- a/client/gfx/Classic/Makefile.in +++ b/client/gfx/Classic/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,183 +12,345 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/gfx/Classic +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - EXTRA_DIST = ABOUT -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/gfx/Classic/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Classic/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/gfx/Classic/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/gfx/Classic +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -199,7 +363,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\Classic\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/gfx/Makefile.in b/client/gfx/Makefile.in index 5071308..da2a601 100644 --- a/client/gfx/Makefile.in +++ b/client/gfx/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,108 +12,254 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/gfx +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png back5.png ball.png bricks.png extras.png f_small_red.png f_small_white.png f_small_yellow.png f_white.png f_yellow.png fr_left.png fr_right.png fr_top.png fr_mp_left.png fr_mp_right.png life.png menuback.png paddle.png shine.png shot.png weapon.png sel_frame.png buttons.png explosions.png explosions_dark.png f_tiny_black.png balloon.png balloon_peek.png f_frame.png f_game.png scroll_up.png scroll_down.png scroll_track.png fr_hori.png fr_vert.png fr_luc.png fr_llc.png fr_ruc.png fr_rlc.png confirm_buttons.png win_icon.png cr_back.png warp.png nukeback.png loading.png ammo.png - +EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png back5.png \ +ball.png bricks.png extras.png \ +f_small_red.png f_small_white.png f_small_yellow.png \ +f_white.png f_yellow.png \ +fr_left.png fr_right.png fr_top.png \ +fr_mp_left.png fr_mp_right.png \ +life.png menuback.png paddle.png shine.png shot.png weapon.png \ +sel_frame.png buttons.png explosions.png explosions_dark.png \ +f_tiny_black.png balloon.png balloon_peek.png \ +f_frame.png f_game.png \ +scroll_up.png scroll_down.png scroll_track.png \ +fr_hori.png fr_vert.png fr_luc.png \ +fr_llc.png fr_ruc.png fr_rlc.png confirm_buttons.png \ +win_icon.png cr_back.png warp.png nukeback.png \ +loading.png ammo.png SUBDIRS = AbsoluteB Oz Moiree Classic -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +all: all-recursive + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/gfx/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/gfx/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -119,13 +267,14 @@ # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -137,7 +286,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -145,13 +294,24 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ + rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ @@ -161,139 +321,209 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done - +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/gfx + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done - for subdir in $(SUBDIRS); do \ + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ + test -d "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + distdir) \ || exit 1; \ fi; \ done -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive check-am: all-am check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive install-exec: install-exec-recursive - -install-data-am: install-data-local install-data: install-data-recursive +uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: -uninstall: uninstall-recursive -all-am: Makefile -all-redirect: all-recursive + +installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive -clean-am: clean-tags clean-generic mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-tags distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-tags maintainer-clean-generic \ - distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: install-data-recursive uninstall-data-recursive \ -install-exec-recursive uninstall-exec-recursive installdirs-recursive \ -uninstalldirs-recursive all-recursive check-recursive \ -installcheck-recursive info-recursive dvi-recursive \ -mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-local install-data-am install-data install-am \ -install uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ + clean clean-generic clean-recursive ctags ctags-recursive \ + distclean distclean-generic distclean-recursive distclean-tags \ + distdir dvi dvi-am html html-am info info-am install \ + install-am install-data install-data-am install-data-local \ + install-exec install-exec-am install-info install-info-am \ + install-man install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic maintainer-clean-recursive \ + mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ + pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ + uninstall-info-am install-data-local: @@ -310,7 +540,6 @@ (cd $$subdir \ && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/gfx/Moiree/Makefile.in b/client/gfx/Moiree/Makefile.in index ca1eb27..942ddfa 100644 --- a/client/gfx/Moiree/Makefile.in +++ b/client/gfx/Moiree/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,350 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/gfx/Moiree +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png back5.png bricks.png extras.png fr_left.png fr_right.png fr_top.png fr_mp_left.png fr_mp_right.png life.png paddle.png ABOUT - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png back5.png \ +bricks.png extras.png fr_left.png fr_right.png fr_top.png \ +fr_mp_left.png fr_mp_right.png \ +life.png paddle.png \ +ABOUT + +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/gfx/Moiree/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Moiree/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/gfx/Moiree/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/gfx/Moiree +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -200,7 +368,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\Moiree\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/gfx/Oz/Makefile.in b/client/gfx/Oz/Makefile.in index 411cc39..9ec0881 100644 --- a/client/gfx/Oz/Makefile.in +++ b/client/gfx/Oz/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,349 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/gfx/Oz +DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png bricks.png fr_left.png fr_right.png fr_top.png life.png paddle.png README - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = README Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +EXTRA_DIST = back0.png back1.png back2.png back3.png back4.png \ +bricks.png fr_left.png fr_right.png fr_top.png \ +life.png paddle.png \ +README + +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/gfx/Oz/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gfx/Oz/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/gfx/Oz/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/gfx/Oz +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -200,7 +367,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\Oz\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/gui_theme/Makefile.in b/client/gui_theme/Makefile.in index ccc1e29..f9d008b 100644 --- a/client/gui_theme/Makefile.in +++ b/client/gui_theme/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,352 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/gui_theme +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -EXTRA_DIST = box_wallpaper.png widget_wallpaper.png box_frame.png widget_frame.png button_frame_normal.png button_frame_clicked.png button_wallpaper_normal.png button_wallpaper_focused.png scrollbar_arrows.png checkbox.png progress_high.png progress_medium.png progress_low.png list_item_color.png font.png spinbutton_arrows.png edit.wav click.wav - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +EXTRA_DIST = box_wallpaper.png widget_wallpaper.png \ +box_frame.png widget_frame.png \ +button_frame_normal.png button_frame_clicked.png \ +button_wallpaper_normal.png button_wallpaper_focused.png \ +scrollbar_arrows.png checkbox.png progress_high.png progress_medium.png \ +progress_low.png list_item_color.png font.png spinbutton_arrows.png \ +edit.wav click.wav + +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/gui_theme/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/gui_theme/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/gui_theme/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/gui_theme +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -200,7 +370,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gui_theme\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/help.c b/client/help.c index a778765..6e59402 100644 --- a/client/help.c +++ b/client/help.c @@ -16,6 +16,7 @@ ***************************************************************************/ #include "lbreakout.h" +#include "config.h" #include "event.h" StkFont *help_caption_font = 0; @@ -26,6 +27,8 @@ extern SDL_Surface *stk_display; extern SDL_Surface *extra_pic; extern SDL_Surface *brick_pic; +extern int stk_quit_request; +extern Config config; /* ==================================================================== @@ -42,7 +45,7 @@ { help_caption_font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_TOP; stk_font_write( help_caption_font, - stk_display, stk_display->w / 2, 20, STK_OPAQUE, "Quick Help" ); + stk_display, stk_display->w / 2, 20, STK_OPAQUE, _("Quick Help") ); } /* ==================================================================== @@ -57,7 +60,7 @@ stk_font_write( help_font, stk_display, stk_display->w - 2, stk_display->h - 2, STK_OPAQUE, buf ); help_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_BOTTOM; - sprintf( buf, ": Quit : Next Page : Previous Page" ); + sprintf( buf, _(": Quit : Next Page : Previous Page") ); stk_font_write( help_font, stk_display, 2, stk_display->h - 2, STK_OPAQUE, buf ); } @@ -108,32 +111,32 @@ /* bonuses */ help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; stk_font_write( help_caption_font, - stk_display, bonus_x, bonus_y - 30, STK_OPAQUE, "Bonuses:" ); - draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 0, 8, "Expand paddle" ); - draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 0, 9, "Extra life" ); - draw_bonus_info( bonus_x + bonus_w * 2, bonus_y + bonus_h * 0, 10, "Sticky paddle" ); - draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 1, 15, "Plasma weapon" ); - draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 1, 2, "200 - 10,000 points extra score" ); - draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 2, 12, "Extra ball" ); - draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 2, 11, "Energy balls (penetrate bricks)" ); - draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 3, 13, "Bonus floor" ); - draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 3, 18, "Deccelerate balls to minimum speed" ); - draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 4, 6, "1,000 points extra score from bricks with no bonus" ); - draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 5, 19, "Instantly collect all bonuses and destroy all maluses" ); - draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 6, 25, "Explosive balls" ); - draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 6, 26, "Paddle attracts bonuses" ); + stk_display, bonus_x, bonus_y - 30, STK_OPAQUE, _("Bonuses:") ); + draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 0, 8, _("Expand paddle") ); + draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 0, 9, _("Extra life") ); + draw_bonus_info( bonus_x + bonus_w * 2, bonus_y + bonus_h * 0, 10, _("Sticky paddle") ); + draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 1, 15, _("Plasma weapon") ); + draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 1, 2, _("200 - 10,000 points extra score") ); + draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 2, 12, _("Extra ball") ); + draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 2, 11, _("Energy balls (penetrate bricks)") ); + draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 3, 13, _("Bonus floor") ); + draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 3, 18, _("Deccelerate balls to minimum speed") ); + draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 4, 6, _("1,000 points extra score from bricks with no bonus") ); + draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 5, 19, _("Instantly collect all bonuses and destroy all maluses") ); + draw_bonus_info( bonus_x + bonus_w * 0, bonus_y + bonus_h * 6, 25, _("Explosive balls") ); + draw_bonus_info( bonus_x + bonus_w * 1, bonus_y + bonus_h * 6, 26, _("Paddle attracts bonuses") ); /* maluses */ stk_font_write( help_caption_font, stk_display, - malus_x, malus_y - 30, STK_OPAQUE, "Maluses:" ); - draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 0, 7, "Shrink paddle" ); - draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 3, 17, "Accelerate balls" ); - draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 1, 14, "Freeze paddle" ); - draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 1, 21, "Random ball reflection at bricks" ); - draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 2, 20, "Darkness" ); - draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 2, 27, "Paddle attracts maluses" ); - draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 0, 22, "Paddle disappears when not moving" ); - draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 3, 28, "40% chance that a ball doesn't damage brick" ); + malus_x, malus_y - 30, STK_OPAQUE, _("Maluses:") ); + draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 0, 7, _("Shrink paddle") ); + draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 3, 17, _("Accelerate balls") ); + draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 1, 14, _("Freeze paddle") ); + draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 1, 21, _("Random ball reflection at bricks") ); + draw_bonus_info( malus_x + malus_w * 0, malus_y + malus_h * 2, 20, _("Darkness") ); + draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 2, 27, _("Paddle attracts maluses") ); + draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 0, 22, _("Paddle disappears when not moving") ); + draw_bonus_info( malus_x + malus_w * 1, malus_y + malus_h * 3, 28, /* xgettext:no-c-format */ _("40% chance that a ball doesn't damage brick") ); draw_footnote( 1 ); @@ -163,26 +166,26 @@ help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; stk_font_write( help_caption_font, stk_display, - hint_x, hint_y - 40, STK_OPAQUE, "Hints:" ); - - draw_hint( hint_x, hint_y + hint_h * 0, "<<'In Game'-Keys>>" ); - draw_hint( hint_x, hint_y + hint_h * 1, " p Pause game. (and enter chatroom in network game)" ); - draw_hint( hint_x, hint_y + hint_h * 2, " s Enable/Disable sound." ); - draw_hint( hint_x, hint_y + hint_h * 3, " a Change animation level (off/low/high)." ); - draw_hint( hint_x, hint_y + hint_h * 4, " f Switch fullscreen/windowed mode." ); - draw_hint( hint_x, hint_y + hint_h * 5, " NOTE: Changing resolution takes a while so this is done best" ); - draw_hint( hint_x, hint_y + hint_h * 6, " when game's paused." ); - draw_hint( hint_x, hint_y + hint_h * 7, " r Restart level." ); - draw_hint( hint_x, hint_y + hint_h * 8, " d Disintegrate single bricks. (AddOn's only)" ); - draw_hint( hint_x, hint_y + hint_h * 9, " w Warp to next level after enough bricks where cleared. (AddOn's only)" ); - draw_hint( hint_x, hint_y + hint_h * 10, " Shift Shows highest score of set instead of your score as long as you" ); - draw_hint( hint_x, hint_y + hint_h * 11, " hold it down." ); - draw_hint( hint_x, hint_y + hint_h * 12, " Tab Take a screenshot." ); - draw_hint( hint_x, hint_y + hint_h * 13, " Esc Quit game." ); - - draw_hint( hint_x, hint_y + hint_h * 15, "Pressing the left or right mouse button will fire attached balls either" ); - draw_hint( hint_x, hint_y + hint_h * 16, "to the left or right direction if 'Ball Fire Angle' in 'Advanced Options'" ); - draw_hint( hint_x, hint_y + hint_h * 17, "is not set to 'Random'." ); + hint_x, hint_y - 40, STK_OPAQUE, _("Hints:") ); + + draw_hint( hint_x, hint_y + hint_h * 0, _("<<'In Game'-Keys>>") ); + draw_hint( hint_x, hint_y + hint_h * 1, _(" p Pause game. (and enter chatroom in network game)") ); + draw_hint( hint_x, hint_y + hint_h * 2, _(" s Enable/Disable sound.") ); + draw_hint( hint_x, hint_y + hint_h * 3, _(" a Change animation level (off/low/high).") ); + draw_hint( hint_x, hint_y + hint_h * 4, _(" f Switch fullscreen/windowed mode.") ); + draw_hint( hint_x, hint_y + hint_h * 5, _(" NOTE: Changing resolution takes a while so this is done best") ); + draw_hint( hint_x, hint_y + hint_h * 6, _(" when game's paused.") ); + draw_hint( hint_x, hint_y + hint_h * 7, _(" r Restart level.") ); + draw_hint( hint_x, hint_y + hint_h * 8, _(" d Disintegrate single bricks. (AddOn's only)") ); + draw_hint( hint_x, hint_y + hint_h * 9, _(" w Warp to next level after enough bricks where cleared. (AddOn's only)") ); + draw_hint( hint_x, hint_y + hint_h * 10, _(" Shift Shows highest score of set instead of your score as long as you") ); + draw_hint( hint_x, hint_y + hint_h * 11, _(" hold it down.") ); + draw_hint( hint_x, hint_y + hint_h * 12, _(" Tab Take a screenshot.") ); + draw_hint( hint_x, hint_y + hint_h * 13, _(" Esc Quit game.") ); + + draw_hint( hint_x, hint_y + hint_h * 15, _("Pressing the left or right mouse button will fire attached balls either") ); + draw_hint( hint_x, hint_y + hint_h * 16, _("to the left or right direction if 'Ball Fire Angle' in 'Advanced Options'") ); + draw_hint( hint_x, hint_y + hint_h * 17, _("is not set to 'Random'.") ); draw_footnote( 3 ); @@ -203,23 +206,23 @@ help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; stk_font_write( help_caption_font, stk_display, - extra_x, extra_y - 30, STK_OPAQUE, "Neutral Power-Ups:" ); - - draw_bonus_info( extra_x, extra_y + extra_h * 0, 16, "Any of the listed bonuses/maluses." ); - draw_bonus_info( extra_x, extra_y + extra_h * 1, 23, "Resets all active bonuses and maluses." ); - draw_bonus_info( extra_x, extra_y + extra_h * 2, 24, "Adds 7 seconds to all active bonuses/maluses." ); + extra_x, extra_y - 30, STK_OPAQUE, _("Neutral Power-Ups:") ); + + draw_bonus_info( extra_x, extra_y + extra_h * 0, 16, _("Any of the listed bonuses/maluses.") ); + draw_bonus_info( extra_x, extra_y + extra_h * 1, 23, _("Resets all active bonuses and maluses.") ); + draw_bonus_info( extra_x, extra_y + extra_h * 2, 24, _("Adds 7 seconds to all active bonuses/maluses.") ); help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; stk_font_write( help_caption_font, stk_display, - brick_x, brick_y - 30, STK_OPAQUE, "Special Bricks:" ); - - draw_brick_info( brick_x, brick_y + brick_h * 0, 0, "Indestructible." ); - draw_brick_info( brick_x, brick_y + brick_h * 1, 1, "May only be destroyed by energy ball else it's indestructible." ); - draw_brick_info( brick_x, brick_y + brick_h * 2, 2, "As above and balls are reflected randomly at this brick." ); - draw_brick_info( brick_x, brick_y + brick_h * 3, 5, "Needs three hits to be destroyed." ); - draw_brick_info( brick_x, brick_y + brick_h * 4, 9, "As above and regenerates durability every 4 seconds." ); - draw_brick_info( brick_x, brick_y + brick_h * 5, 18, "Explodes and destroys all nearby bricks." ); - draw_brick_info( brick_x, brick_y + brick_h * 6, 19, "Creates up to 8 bricks on destruction." ); + brick_x, brick_y - 30, STK_OPAQUE, _("Special Bricks:") ); + + draw_brick_info( brick_x, brick_y + brick_h * 0, 0, _("Indestructible.") ); + draw_brick_info( brick_x, brick_y + brick_h * 1, 1, _("May only be destroyed by energy ball else it's indestructible.") ); + draw_brick_info( brick_x, brick_y + brick_h * 2, 2, _("As above and balls are reflected randomly at this brick.") ); + draw_brick_info( brick_x, brick_y + brick_h * 3, 5, _("Needs three hits to be destroyed.") ); + draw_brick_info( brick_x, brick_y + brick_h * 4, 9, _("As above and regenerates durability every 4 seconds.") ); + draw_brick_info( brick_x, brick_y + brick_h * 5, 18, _("Explodes and destroys all nearby bricks.") ); + draw_brick_info( brick_x, brick_y + brick_h * 6, 19, _("Creates up to 8 bricks on destruction.") ); draw_footnote( 2 ); @@ -243,29 +246,29 @@ help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; stk_font_write( help_caption_font, stk_display, - trouble_x, trouble_y - 40, STK_OPAQUE, "Troubleshooting:" ); - - draw_trouble( trouble_x, trouble_y + trouble_h * 0, "* In fullscreen mode the window keeps it size just adding a black frame?" ); - draw_trouble( trouble_x, trouble_y + trouble_h * 1, " - Maybe you do not have 640x480 as resolution available? Check your" ); - draw_trouble( trouble_x, trouble_y + trouble_h * 2, " X configuration." ); - draw_trouble( trouble_x, trouble_y + trouble_h * 3, "* Sounds seem to be out of sync and are played with some delay?" ); - draw_trouble( trouble_x, trouble_y + trouble_h * 4, " - Set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). If this results" ); - draw_trouble( trouble_x, trouble_y + trouble_h * 5, " in a lot of errors killing artsd (or esd) may help." ); - draw_trouble( trouble_x, trouble_y + trouble_h * 6, "* LBreakout2 gets mute while playing when switching on/off sounds?" ); - draw_trouble( trouble_x, trouble_y + trouble_h * 7, " - SDL_mixer seems to mute active channels. You shouldn't enable/disable" ); - draw_trouble( trouble_x, trouble_y + trouble_h * 8, " sounds to often as you'll propably loose all channels then." ); - - help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; - stk_font_write( help_caption_font, stk_display, - manual_x, manual_y - 40, STK_OPAQUE , "Manual:"); - draw_trouble( manual_x, manual_y + manual_h * 0, "This is just a quick help with the most important facts about LBreakout2." ); - draw_trouble( manual_x, manual_y + manual_h * 1, "If you want more and better information check out the manual installed to" ); - draw_trouble( manual_x, manual_y + manual_h * 2, "/usr/doc/lbreakout2 or the online version at http://lgames.sf.net." ); - draw_trouble( manual_x, manual_y + manual_h * 3, "And if you have questions (not answered by the manual) or you found a bug" ); - draw_trouble( manual_x, manual_y + manual_h * 4, "or you just want to drop a general note about LBreakout2 just mail to:" ); - draw_trouble( manual_x, manual_y + manual_h * 5, " kulkanie@gmx.net" ); - draw_trouble( manual_x, manual_y + manual_h * 6, " Enjoy the game!" ); - draw_trouble( manual_x, manual_y + manual_h * 6 + 10, " Michael Speck" ); + trouble_x, trouble_y - 40, STK_OPAQUE, _("Troubleshooting:") ); + + draw_trouble( trouble_x, trouble_y + trouble_h * 0, _("* In fullscreen mode the window keeps it size just adding a black frame?") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 1, _(" - Maybe you do not have 640x480 as resolution available? Check your") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 2, _(" X configuration.") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 3, _("* Sounds seem to be out of sync and are played with some delay?") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 4, _(" - Set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). If this results") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 5, _(" in a lot of errors killing artsd (or esd) may help.") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 6, _("* LBreakout2 gets mute while playing when switching on/off sounds?") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 7, _(" - SDL_mixer seems to mute active channels. You shouldn't enable/disable") ); + draw_trouble( trouble_x, trouble_y + trouble_h * 8, _(" sounds to often as you'll propably loose all channels then.") ); + + help_caption_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; + stk_font_write( help_caption_font, stk_display, + manual_x, manual_y - 40, STK_OPAQUE , _("Manual:")); + draw_trouble( manual_x, manual_y + manual_h * 0, _("This is just a quick help with the most important facts about LBreakout2.") ); + draw_trouble( manual_x, manual_y + manual_h * 1, _("If you want more and better information check out the manual installed to") ); + draw_trouble( manual_x, manual_y + manual_h * 2, _("/usr/doc/lbreakout2 or the online version at http://lgames.sf.net.") ); + draw_trouble( manual_x, manual_y + manual_h * 3, _("And if you have questions (not answered by the manual) or you found a bug") ); + draw_trouble( manual_x, manual_y + manual_h * 4, _("or you just want to drop a general note about LBreakout2 just mail to:") ); + draw_trouble( manual_x, manual_y + manual_h * 5, _(" kulkanie@gmx.net") ); + draw_trouble( manual_x, manual_y + manual_h * 6, _(" Enjoy the game!") ); + draw_trouble( manual_x, manual_y + manual_h * 6 + 10, _(" Michael Speck") ); draw_footnote( 4 ); @@ -303,6 +306,15 @@ Run help. ==================================================================== */ +static void help_draw_side( int side_id ) +{ + switch ( side_id ) { + case 0: draw_bonus_screen(); break; + case 2: draw_hints_screen(); break; + case 1: draw_ingame_hints_screen(); break; + case 3: draw_trouble_screen(); break; + } +} void help_run() { int leave = 0; @@ -320,9 +332,10 @@ stk_surface_blit( stk_display, 0,0,-1,-1, help_bkgnd, 0,0 ); draw_bonus_screen(); - while ( !leave ) { + while ( !leave && !stk_quit_request) { SDL_WaitEvent( &event ); switch ( event.type ) { + case SDL_QUIT: stk_quit_request = 1; break; case SDL_KEYDOWN: switch ( event.key.keysym.sym ) { case SDLK_ESCAPE: leave = 1; break; @@ -336,13 +349,13 @@ cur_side--; if ( cur_side < 0 ) cur_side = side_count - 1; } - switch ( cur_side ) { - case 0: draw_bonus_screen(); break; - case 2: draw_hints_screen(); break; - case 1: draw_ingame_hints_screen(); break; - case 3: draw_trouble_screen(); break; - } + help_draw_side(cur_side); break; + case SDLK_f: + config.fullscreen = !config.fullscreen; + stk_display_apply_fullscreen( config.fullscreen ); + help_draw_side(cur_side); + break; default: break; } break; @@ -355,12 +368,7 @@ cur_side--; if ( cur_side < 0 ) cur_side = side_count - 1; } - switch ( cur_side ) { - case 0: draw_bonus_screen(); break; - case 2: draw_hints_screen(); break; - case 1: draw_ingame_hints_screen(); break; - case 3: draw_trouble_screen(); break; - } + help_draw_side(cur_side); break; default: break; } @@ -373,5 +381,4 @@ /* reset the relative position so paddle wont jump */ SDL_GetRelativeMouseState(0,0); - -} +} diff --git a/client/hint.c b/client/hint.c index 18733fa..c2e5ed8 100644 --- a/client/hint.c +++ b/client/hint.c @@ -197,6 +197,7 @@ /* must be in screen */ if ( hint->rect.x + hint_balloon->w >= stk_display->w ) hint->rect.x = stk_display->w - hint_balloon->w; + if ( hint->rect.y < 0 ) hint->rect.y = 0; } } diff --git a/client/lbreakout.h b/client/lbreakout.h index a55b67d..6afcb11 100644 --- a/client/lbreakout.h +++ b/client/lbreakout.h @@ -52,6 +52,17 @@ #define CONFIG_DIR_NAME ".lgames" #endif +/* i18n */ +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif +#include "../common/gettext.h" +#if ENABLE_NLS +#define _(str) gettext (str) +#else +#define _(str) (str) +#endif + /* ==================================================================== Alpha of shadow diff --git a/client/levels/1010011010 b/client/levels/1010011010 new file mode 100644 index 0000000..9cb0e9c --- /dev/null +++ b/client/levels/1010011010 @@ -0,0 +1,288 @@ +Version: 1.00 +Level: +kbozen +00 +Bricks: +.............. +.yyyyyyyyyyyy. +.yyyyyyyyyyyy. +.y..........y. +.y.vvvvvvvv.y. +.y.vvvvvvvv.y. +.y.v......v.y. +.y.v.!..!.v.y. +.y.v......v.y. +.y.v......v.y. +.y.v.!..!.v.y. +.y.v......v.y. +.y.vvvvvvvv.y. +.y.vvvvvvvv.y. +.y..........y. +.yyyyyyyyyyyy. +.yyyyyyyyyyyy. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......*....... +.............. +.......l.*.... +.....*........ +.......*...... +.............. +.....g........ +.............. +.............. +.............. +.............. +.............. +Level: +kbozen +01 +Bricks: +.............. +.............. +!!.@@.!!.@@.!! +.............. +.............. +yy.!!.yy.!!.yy +.............. +.............. +!!.@@.!!.@@.!! +.............. +.............. +yy.!!.yy.!!.yy +.............. +.............. +!!.@@.!!.@@.!! +.............. +.............. +yy.!!.yy.!!.yy +Bonus: +.............. +*............. +.............. +.............l +.............. +.........*.... +.............. +..*........... +.............g +.............. +.............. +.............. +..........*... +.............. +.............. +.............. +.............. +.............. +Level: +kbozen +02 +Bricks: +.yyyyy..yyyyy. +.yyyyy..yyyyy. +.y...y..y...y. +.y.!.y..y.!.y. +.y.!.y..y.!.y. +.y...y..y...y. +.yyyyy..yyyyy. +.yyyyy..yyyyy. +v.....vv.....v +v.....vv.....v +.yyyyy..yyyyy. +.yyyyy..yyyyy. +.y...y..y...y. +.y.!.y..y.!.y. +.y.!.y..y.!.y. +.y...y..y...y. +.yyyyy..yyyyy. +.yyyyy..yyyyy. +Bonus: +.............. +.............. +...........l.. +.............. +....*......... +..g......*.... +.............. +.............. +.............. +.............. +.............. +.............. +...*.......... +...........*.. +.............. +.............. +.............. +.............. +Level: +kbozen +03 +Bricks: +.............. +.............. +vEvE#EvE#EvE#E +vEvE#EvE#EvE#E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +vEvEvEvEvEvEvE +vEvEvEvEvEvEvE +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E#EvE#EvE#EvE +.E#EvE#EvE#EvE +Bonus: +.............. +.............. +.............. +m.m...m...m... +.............. +.............. +.............. +.............. +.............. +..........l... +....g......... +.............. +.............. +.............. +.............. +.............. +....m...m...m. +.............. +Level: +kbozen +04 +Bricks: +...!!.y@y.!!.. +!!............ +...y@y.!!.y@y. +y@y........... +....!!.y@y.!!. +.!!........... +....y@y.!!.y@y +.y@y.......... +.....!!.y@y.!! +..!!.......... +!....y@y.!!.y@ +..y@y......... +@y....!!.y@y.! +...!!......... +!!....y@y.!!.. +...y@y........ +y@y....!!.y@y. +....!!........ +Bonus: +........l..... +.............. +.............. +.............. +.*............ +.....g..*..... +.............. +.............. +.............. +.............. +.............. +....*......... +...........*.. +.............. +.............. +.............. +.............. +.............. +Level: +kbozen +05 +Bricks: +##EE##EE##EE## +vvvvvvvvvvvvvv +.............. +EE##EE##EE##EE +vvvvvvvvvvvvvv +.............. +##EE##EE##EE## +vvvvvvvvvvvvvv +.............. +EE##EE##EE##EE +vvvvvvvvvvvvvv +.............. +##EE##EE##EE## +vvvvvvvvvvvvvv +.............. +EE##EE##EE##EE +vvvvvvvvvvvvvv +.............. +Bonus: +.............. +l............. +.............. +.............. +.........g.... +.............. +.............. +..m.........m. +.............. +.............. +..........m... +.............. +.............. +m............. +.............. +.............. +.......m.....m +.............. +Level: +kbozen +99 +Bricks: +!!!!!!!!!!!!!! +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +!!!!!!!!!!!!!! +Bonus: +55555555555555 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +>>>>>>>>>>>>>> +dddddddddddddd +bbbbbbbbbbbbbb diff --git a/client/levels/Alexandre b/client/levels/Alexandre new file mode 100644 index 0000000..ac2ce72 --- /dev/null +++ b/client/levels/Alexandre @@ -0,0 +1,206 @@ +Version: 1.00 +Level: +noname + +Bricks: +dddddddddddddd +deeeeeeeeeeeed +dehhhhhhhhhhed +dehffffffffhed +dehfggggggfhed +dehfgiiiigfhed +dehfgi**igfhed +dehfgi**igfhed +dehfgi**igfhed +dehfgi**igfhed +dehfgi**igfhed +dehfgi**igfhed +dehfgi**igfhed +cvvvvvccvvvvvc +.............. +.............. +.............. +.............. +Bonus: +{************* +{&&&&&&&&&&&<- +{&jlllllllll<- +{&j+}}}}}}}s<- +{&j+mwwwwwbs<- +{&j+mgggg!bs<- +{&j+mg12g!bs<- +{&j+mg12g!bs<- +{&j+mg03g!bs<- +{&j+mg03g!bs<- +{&j+mg45g!bs<- +{&j+mg45g!bs<- +{&j+mg45g!bs<- +w-~dW->>j~f~-w +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +aaaaaaaaaaaaaa +************** +vvxxggdde*zzii +vvxxggdde*zzii +vvxxggdde*zzii +vvxxggdde*zzii +vvxxggdde*zzii +vvxxggdde*zzii +vvxxggdde*zzii +************** +aaaaaaaaaaaaaa +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +00000000000000 +llllllllllllll +++ggmm**.l+}.. +++ggmm**.l+}.. +++ggmm**.l+}.. +++ggmm**.l+}.. +++ggmm**.l+}.. +++ggmm**.l+}.. +++ggmm**.jj}.. +wwwwwwwwwwwwww +W{&&!!cdd>?-f~ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +xx************ +xxi*i!ddddzzzz +xx**!!ddddzzzz +xx**!!ddddzzzz +xx**!!ddddzzzz +****!!ddddzzzz +****!!ddddzzzz +****!!ddddzzzz +****!!ddddzzzz +****!!ddddzzzz +****!!ddddzzzz +..........**** +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +ww000000000000 +ww*>.cggggllll +ww*>scggggllll +ww*>scggggllll +ww*>scggggllll +>>*>scggggllll +mm*mscggggllll +>>*>WWggggllll +>>*>{{ggggllll +>>*>{{ggggllll +!!!!jjggggllll +..........~~~~ +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +x***!!!vvdvvvv +x***!!!vvdvvvv +x***!!!vvdvvvv +x***!!!vvdvvvv +x***!!!vvdvvvv +x***!!!vvdvvvv +x***!!!vvdvvvv +x***!!!dddvvvv +aaaaaaaaaaaaaa +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +1gggf43~l.mmmm +1ggg>43}}.**** +1ggg&4b}l.bbbW +1ggg&>bl+.bbbb +1ggg&bb{+.b><- +1ggg&bb++.bbdd +1ggg&bbll.**** +1ggg&bb...mmmm +wwwgwjwwwwwwww +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +x**!vvdddeeeee +x**!vvdddeeeee +x**!vvdddeeeee +x**!vvdddeeeee +x**!vvdddeeeee +x**!vvdddeeeee +x**!vvdddeeeee +x**!vvdddeeeee +x**!vvdddeeeee +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +0++&334**..-*- +0++&3344g****d +0++&334f4}444c +0++&33~444444{ +0.mmmmmmmmm455 +mmm2mmmgggmm55 +122233ggg>>>55 +122233ggg>j>55 +wpwpwpwpwpwpwp +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/client/levels/AllNighter b/client/levels/AllNighter new file mode 100644 index 0000000..688c73f --- /dev/null +++ b/client/levels/AllNighter @@ -0,0 +1,9718 @@ +Version: 1.00 +Level: +Nethippy +Diag-Wall +Bricks: +.............. +gg............ +ddgg.......... +iiddgg........ +hhiiddgg...... +v@hhiiddgg.... +..v@hhiiddgg.. +....v@hhiiddgg +......v@hhiidd +........v@hhii +..........v@hh +............v@ +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +55............ +l.55.......... +....55........ +.p....55...... +>.......55.... +..>.?.....55.. +....>.b.....55 +......>..*.... +........>.d... +..........>... +............>. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +72 Nova +Bricks: +ggggggggggghgg +gggggggggghhhg +ggggggggghhhhh +gggggggggghhhg +ggggggggggghgg +gggggggggggggg +gggggjjjgggggg +ggggjvvvjggggg +gjjjjvvvvjjjgg +gjajjjjjjjajjg +gaaajjjjjaaajg +ggagggggggaggg +bbbbbbbbbbbbbb +.............. +.............. +.............. +.............. +.............. +Bonus: +.5.*....b..... +..>..b.5.....> +....0...b..+.. +....b.>....5.. +0......0...... +.>..5.w.....5. +........5+.... +..5........0.* +......0....... +.............. +..>.+.....>... +...0..5....... +...+.......... +.............. +.............. +.............. +.............. +.............. +Level: +G +Pattern II +Bricks: +.............. +.............. +......!!...... +....!....!.... +..!...!!...!.. +...!!.!!.!!... +...!......!.!. +.....!..!..... +!.!!..!!..!!.! +!.!!..!!..!!.! +.....!..!..... +...!......!.!. +...!!.!!.!!... +..!...!!...!.. +....!....!.... +......!!...... +.............. +.............. +Bonus: +.............. +.....2222..... +...222..222... +.222.2222.222. +.2.222..222.2. +.22..3..3..222 +..2.333333.2.2 +22233.55.33222 +.2..35..53..2. +.2..35..53..2. +22233.55.33222 +..2.333333.2.2 +.22..3..3..222 +.2.222..222.2. +.222.2222.222. +...222..222... +.....2222..... +.............. +Level: +Nethippy +Boom! Bang! Pow! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +}}}}}}}}}}}}}} +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +w555555555555w +ww5555555555ww +}}}}}}}}}}}}}} +>>>>>>>>>>>>>> +dddddddddddddd +{{{{{{{{{{{{{{ +Level: +Nethippy +Don't Drop The Ball! +Bricks: +jjj#********** +***#*########* +*#*#*#******#* +*#*#*#*####*#* +*#*#*#*#**#*#* +*#*#*#*#*##*#* +*#*#*#*#**#*#* +*#*#*#*##*#*#* +*#*#*#*#**#*#* +*#*#*#*#*##*#* +*#*#*#*#**#*#* +*#*#*#*##*#*#* +*#*#*#*#**#*#* +*#*#*#*#*##*#* +*#*#*#*#****#* +*#***#*######* +*#***#******** +*############# +Bonus: +lll.j555j5555j +555.5........5 +5.5.5........5 +5.5.5........5 +5.5.5........5 +5.5.5........5 +j.5.5........5 +5.5.5........j +5.j.j.j......5 +5.5.5.5......5 +5.5.5.5......5 +5.5.5.5......5 +5.5.5.5......5 +5.5.5.5......5 +}.5.5.5......5 +}.555.5......5 +}.55j.j555j555 +>............. +Level: +G +Bug +Bricks: +.............. +.............. +.#..........#. +#.#.######.#.# +...##****##... +.#.#******#.#. +#.##*#..#*##.# +...#*.!!.*#... +.#.#*.!!.*#.#. +#.##*#..#*##.# +...#******#... +...##****##... +....#.##.#.... +....#....#.... +....##..##.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.....5555..... +....555555.... +....5.mm.5.... +....5l..l5.... +....5l..l5.... +....5.mm.5.... +....555555.... +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Se7en +Bricks: +@@@@@@@@@@@@@. +jjdddddddddj@. +jjdddddddddj@. +jjdddddddddj@. +jjjjjjjjdddj@. +jjjjjjjjddjj@. +jjjjjjjdddjj@. +jjjjjjjddjjj@. +jjjjjjdddjjj@. +jjjjjjddjjjj@. +jjjjjdddjjjj@. +jjjjdddjjjjj@. +jjjddddjjjjj@. +jjjdddjjjjjj@. +jjjddjjjjjjj@. +jjjdjjjjjjjj@. +.............. +.............. +Bonus: +.............. +ll555555555l.. +g.555555555g.. +..555555555w.. +.....bbb555... +.....bbb55.w.. +......b555.... +.......55..w.. +......555..... +......55...w.. +.....555...... +....555....w.. +...5555....... +...555.....w.. +g.}55}.....g.. +><>5><><><>w.. +.............. +.............. +Level: +G +Puzzle II +Bricks: +!............! +.@..........@. +.....####..... +....#!zz!#.... +....#z@@z#.... +###.#z@@z#.### +#c#.#z@@z#.#c# +#c#.#!zz!#.#c# +###..####..### +#c#.#!zz!#.#c# +#c#.#z@@z#.#c# +###.#z@@z#.### +....#z@@z#.... +....#!zz!#.... +.....####..... +.............. +.............. +.............. +Bonus: +m............m +.............. +.............. +.............. +......55...... +555...55...555 +5m5...55...5.5 +5.5........5.5 +5.5........5.5 +5.5........5.5 +5.5...55...5m5 +555...55...555 +......55...... +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +In Reverse +Bricks: +.............. +.............. +.............. +.E..........E. +.E..........E. +.E..........E. +.EggggggggggE. +.EhhhhhhhhhhE. +.EiiiiiiiiiiE. +.EddddddddddE. +.E..........E. +.E..........E. +.EEEEEEEEEEEE. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +..>>>>>>>>>>.. +..3333333333.. +..4444444444.. +..5555555555.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Utter Chaos +Bricks: +.............. +@.!.@.!.@.!.@. +.............. +.@.!.@.!.@.!.@ +.............. +@.!.@.!.@.!.@. +.............. +.@.!.@.!.@.!.@ +.............. +@.!.@.!.@.!.@. +.............. +.@.!.@.!.@.!.@ +.............. +@.!.@.!.@.!.@. +.............. +.@.!.@.!.@.!.@ +.............. +@.!.@.!.@.!.@. +Bonus: +.l.........l.. +5...5...5...5. +.....m.m...... +.5.g.5.g.5.g.5 +..w...w...w... +5.g.5.g.5.g.5. +.............. +.5.g.5.g.5.g.5 +.....b.b...... +5.g.5.g.5.g.5. +.f...b.b...f.. +.5.g}5.g}5.g.5 +......w....... +5.g.5.g.5.g.5. +.............. +.5.g.5.g.5.g.5 +.>.........>.. +5.g.m.g.m.g.5. +Level: +G +Nooks & Crannies +Bricks: +...!#....#!... +.####.##.####. +....#.!!.#.... +...!#.##.#!... +!#.##....##.#! +##..##..##..## +....#....#.... +!...#!..!#...! +#.#!#....#!#.# +..####..####.. +...#!#..#!#... +...#.#..#.#... +.#!#.#..#.#!#. +.###......###. +..!#......#!.. +...###..###... +.............. +.............. +Bonus: +..55......55.. +.....5..5..... +..55.5555.55.. +5555.5..5.5555 +5.5........5.5 +.............. +55...5555...55 +5555.5555.5555 +.5.5.5555.5.5. +.............. +....5....5.... +.55.5....5.55. +..5........5.. +.............. +.55........55. +.55........55. +.............. +.............. +Level: +G +Balls Vs. Timer +Bricks: +!!!!!!!!!!!!!! +.............. +.............. +.............. +.............. +zzz@zz@zzzz@zz +zzzz@zzz@z@zzz +z@z@z@zzzzzz@z +@@zzzz@z@z@zz@ +.............. +.............. +.............. +.............. +@zzzz@zzz@zzzz +zz@zzz@z@zz@z@ +zzzzzzz@z@zz@z +@zz@zz@zzzz@zz +.............. +Bonus: +ffffffffffffff +55555555555555 +.............. +.............. +.............. +555.55.5555.55 +5555.555.5.555 +5.5.5.555555.5 +..5555.5.5.55. +.............. +.............. +.............. +.............. +.&bbb.&bb.bbb& +bb.bbb.b.bb.b. +bbbbbbb.b.bb.w +.bb.bb.bbbb.ww +.............. +Level: +Nethippy +Level 13 +Bricks: +dddddddddddddd +diiiiiiiiiiiid +dihhhhhhhhhhid +dihgggggggghid +dihgg@gg@@ghid +dihg@@ggg@ghid +dihgg@gg@@ghid +dihgg@ggg@ghid +dihg@@@g@@ghid +dihgggggggghid +zzhhhhhhhhhhzz +czziiiiiiiizzc +cczzddddddzzcc +ccczzddddzzccc +cccczzddzzcccc +ccccczzzzccccc +cccccczzcccccc +cccccczzcccccc +Bonus: +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +>>>>>>>>>>>>>> +55555f55ff5555 +5555ff555f5555 +55555f55ff5555 +55555f555f5555 +5555fff5ff5555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +555555ll555555 +55555555555555 +}}}}}}}}}}}}}} +pppppppppppppp +Level: +G +Skull +Bricks: +.............. +.............. +....v####v.... +..v########v.. +..##vv##vv##.. +..##vv##vv##.. +..##########.. +..####vv####.. +..v###vv###v.. +...v######v... +....######.... +....#vvvv#.... +....######.... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +....m......... +.............. +....55..55.... +...55555555... +...5..55..5... +...55.55.55... +..W.5.55.5.W.. +...W..55..W... +......55...... +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Asteroid Field +Bricks: +.............. +.@.!.....@..!. +.....@........ +........@..... +.@..@......@.. +.......!.....! +..!........... +..........!... +......@.....@. +.!.......@.... +....@......... +......!....... +..@......@.... +!...@......!.. +.............@ +......@..!.... +..@........... +....!......... +Bonus: +..555......555 +..555......555 +..555......555 +.............. +......555...55 +.555..555...55 +.555..55555555 +.555.....555.. +555......555.. +555........... +555..555...... +.....555...... +55...555..555. +55........555. +55......55555. +........555... +...555..555... +...555........ +Level: +G +Target Scope Open +Bricks: +.............. +......@@...... +.............. +..####..####.. +..#........#.. +..#.*####*.#.. +..#.#*zz*#.#.. +..#.#z**z#.#.. +..#.#*zz*#.#.. +..#.#*zz*#.#.. +..#.#z**z#.#.. +..#.#*zz*#.#.. +..#.*####*.#.. +..#........#.. +..####..####.. +.............. +......@@...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Bonus Round +Bricks: +.............. +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +Bonus: +55555555555555 +.5.5.5.5.5.5.5 +l.5.5.5.5.5.5. +.5.5.5.5.5.5.l +l.5.5.5.5.5.5. +.5.5.5.5.5.5.l +5.5.5.5.5.5.5. +.5.5.5.5.5.5.5 +5.5.5.5.5.5.5. +.5.5.5.5.5.5.5 +5.5.5.5.5.5.5. +.5.5.5.5.5.5.5 +5.5.5.5.5.5.5. +.5.5.5.5.5.5.5 +b.5.5}5}5.5.b. +.b.5.5.5.5.5.b +w.5.5g5g5.5.w. +.w.5.5.5.5.5.w +Level: +Nethippy +Crazywall +Bricks: +...hhh!!hhh... +@..h.d..d.h..@ +...h.d!!d.h... +iihh.d..d.hhii +.....d!!d..... +@@...d..d...@@ +.....d!!d..... +iiiddd..dddiii +.....z!!z..... +@@@..z..z..@@@ +.....z!!z..... +iiii.zzzz.iiii +......cc...... +@@@@c.cc.c@@@@ +....cccccc.... +....g....g.... +ggggg....ggggg +.....vvvv..... +Bonus: +...555..555... +...5.5..5.5... +...5.5..5.5... +5555.5..5.5555 +.....5..5..... +.....5..5..... +.....5++5..... +l..555..555..l +.....b--b..... +.....b..b..... +.....bggb..... +.....bbbb..... +.............. +.............. +.............. +....>....>.... +>>>>>....>>>>> +.....dddd..... +Level: +Nethippy +sMILE! +Bricks: +.............. +.............. +.....hhhh..... +....hhhhhh.... +...hvvhhvvh... +..hhvvhhvvhh.. +.hhhhhhhhhhhh. +.hhhhhvvhhhhh. +.hhvhhhhhhhvh. +.hhhvhhhhhvhh. +..hhhvvvvvhh.. +...hhhhhhhh... +....hhhhhh.... +.....hhhh..... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.....****..... +....*>>>>*.... +...*55bb55*... +..*>55bb55>*.. +.*>bbbbbbbb>*. +.*>bbb55bbb>*. +.*>5bbbbbbb5*. +.*>b5bbbbb5>*. +..*>b55555>*.. +...*>bbbb>*... +....*>>>>*.... +.....****..... +.............. +.............. +.............. +.............. +Level: +Nethippy +Booomb! +Bricks: +.............. +.............. +.......jjjj... +.......j..jj.. +......EjE..j.. +......E*E..jj. +.....EE*EE..j. +....Ezz*zzE.j. +...Ezz***zzEjj +...Ez**c**zE.j +...Ez*c!c*zE.d +...Ez**c**zE.. +...Ezz***zzE.. +....Ezz*zzE... +.....EzzzE.... +......EEE..... +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.......l...... +.............. +.............. +.....ff.ff.... +....ff...ff... +....f.....f... +....f.....f... +....f.....f... +....ff...ff... +.....ff.ff.... +......fff..... +.............. +.............. +.............. +Level: +Nethippy +Spiral +Bricks: +.............. +.............. +kkkkkkkkkkkkkk +k............k +k.kkkkkkkkkk.k +k.k........k.k +k.k.kkkkkk.k.k +k.k.k....k.k.k +k.k.k.kk.k.k.k +k.k.k..k.k.k.k +k.k.kkkk.k.k.k +k.k......k.k.k +k.kkkkkkkk.k.k +k..........k.k +kkkkkkkkkkkk.k +.............k +kkkkkkkkkkkkkk +.............. +Bonus: +.............. +.............. +?????????????? +?............? +?.??????????.? +?.?........?.? +?.?.??????.?.? +?.?.?....?.?.? +?.?.?.??.?.?.? +?.?.?..?.?.?.? +?.?.????.?.?.? +?.?......?.?.? +?.????????.?.? +?..........?.? +????????????.? +.............? +?????????????? +.............. +Level: +G +TCS #1 +Bricks: +.............. +############## +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +############## +gggggggggggggg +gggggggggggggg +############## +dddddddddddddd +dddddddddddddd +############## +ffffffffffffff +ffffffffffffff +############## +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +############## +......gg...... +Bonus: +.............. +.............. +.............. +55555555555555 +.............. +44444444444444 +44444444444444 +.............. +33333333333333 +33333333333333 +.............. +}222222222222} +}222222222222} +g............g +11111111111111 +11111111111111 +g............g +......mm...... +Level: +Nethippy +Green Wall +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +ffffffffffffff +Bonus: +ffffff{lffffff +!5!5555!5555!5 +555!5555!55!55 +55!55!55555555 +5555555555!!55 +55!!5555555555 +55555!5!555555 +55555555555!5! +!55!5555555555 +555555!555!555 +55!555555555!5 +5555!555!55555 +!5555555555!55 +55!555!5555555 +5555!5555!5555 +>>>>>>>>>>>>>> +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +Level: +G +Death Flask +Bricks: +.............. +.............. +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +...###.####... +...#!...!!#... +...#!!!!!!#... +...#!!!!!!#... +...#!!!!!!#... +...########... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....555555.... +....555555.... +....555555.... +....555555.... +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +White X +Bricks: +jjjj......jjjj +jjjj......jjjj +jjjj......jjjj +jjj.j....j.jjj +jj.j.j..j.j.jj +j.j.j.jj.j.j.j +.j.j.jjjj.j.j. +..j.jjjjjj.j.. +...jjjjjjjj... +...jjjjjjjj... +..j.jjjjjj.j.. +.j.j.jjjj.j.j. +j.j.j.jj.j.j.j +jj.j.j..j.j.jj +jjj.j....j.jjj +jjjj......jjjj +jjjj......jjjj +jjjj......jjjj +Bonus: +????......???? +????......???? +????......???? +???.?....?.??? +??.?.?..?.?.?? +?.?.?.??.?.?.? +.?.?.????.?.?. +..?.??????.?.. +...????????... +...????????... +..?.??????.?.. +.?.?.????.?.?. +?.?.?.??.?.?.? +??.?.?..?.?.?? +???.?....?.??? +????......???? +????......???? +????......???? +Level: +G +Have "Fun" +Bricks: +z.!..h..h..!.z +@.@.!@!!@!.@.@ +z.y..h..h..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +cccccccccccccc +cccccccccccccc +Bonus: +55555m55m55555 +5555w5ww5w5555 +5.5555555555.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +b>b>b>b>b>b>b> +>b>b>b>b>b>b>b +Level: +G +Tough Break +Bricks: +.............. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWWWWWWWWWWW. +.WWWWWWWWWWWW. +.WWWWWWWWWWWW. +.{{{{{{{{{{{{. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Lattice +Bricks: +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +G +Tractor Beam +Bricks: +.............. +.......ha..... +......hhaa.... +.....hh..aa... +....hh....a... +...hh.....a... +hhhhhhhaaaaaaa +hhhhhhhaaaaaaa +...hh.....a..a +....hh....a..a +.....hh..aa..a +......hh.aa..a +.......haa...a +........a....a +.............a +.............a +.............a +aaaaaaaaaaaaaa +Bonus: +.............. +.......3...... +......33...... +.....33....... +....33........ +...33......... +3333333....... +3333333....... +...33......... +....33........ +.....33....... +......33...... +.......3...... +.............. +.............. +.............. +.............. +.............. +Level: +G +Piece Of Cake +Bricks: +.............. +i.i.i.i.i.i.i. +.............. +.i.i.i.i.i.i.i +.............. +i.i.i.i.i.i.i. +.............. +.i.i.i.i.i.i.i +.............. +i.i.i.i.i.i.i. +.............. +.i.i.i.i.i.i.i +.............. +i.i.i.i.i.i.i. +.............. +.i.i.i.i.i.i.i +.............. +i.i.i.i.i.i.i. +Bonus: +.............. +1.1.1.1.1.1.1. +.............. +.............. +.............. +1.1.1.1.1.1.1. +.............. +.............. +.............. +1.1.1.1.1.1.1. +.............. +.............. +.............. +1.1.1.1.1.1.1. +.............. +.............. +.............. +1.1.1.1.1.1.1. +Level: +G +TCS #5 +Bricks: +g###!!!!!!###g +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.############. +.############. +.############. +.############. +.############. +Bonus: +m...555555...m +..g.555555.g.. +....555555.... +..g.555555.g.. +....555555.... +..}.555555.}.. +....555555.... +..}.555555.}.. +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +.............. +.............. +......ll...... +.............. +.............. +Level: +G +Randoom +Bricks: +........aE.... +e..d..d..E#.*. +*............. +......!....... +....!......... +........*.*... +...@.#e.E.!@.. +...d......@..d +...*...d...... +.a...........a +..#..a.#...@.. +ea..E..e...... +.....a..a!.@.. +*....E........ +..*.....E..... +.E.E........!. +.!...d......e. +...@...*...... +Bonus: +........5..... +m..5..5.....5. +.....555...... +...{{{.5...... +...{.{55...... +...{{{...f.f.. +......5..f.... +...5.....f.f.5 +...5...5...... +.5...........5 +.....5........ +55.....5WWW... +.....5..5.W... +5.......WWW... +..5........~~~ +>.>........~.~ +>.>..5.....~5~ +>>>....5...... +Level: +G +CrazyBounce +Bricks: +.............. +.@.@...@.@.... +..!.....!..... +.@.@...@.@.... +.............. +....@.@...@.@. +.....!.....!.. +....@.@...@.@. +.............. +.@.@...@.@.... +..!.....!..... +.@.@...@.@.... +.............. +....@.@...@.@. +.....!.....!.. +....@.@...@.@. +.............. +.............. +Bonus: +.............. +..5.....5..... +.5.5...5.5.... +..5.....5..... +.............. +.....5.....5.. +....5.5...5.5. +.....5.....5.. +.............. +..5.....5..... +.5.5...5.5.... +..5.....5..... +.............. +.....5.....5.. +....5.5...5.5. +.....5.....5.. +.............. +.............. +Level: +Nethippy +Red Maelstrom +Bricks: +.............. +.....ddddddd.. +....d.......d. +...d..ddddd..d +..d..d.....d.. +.d..d..ddd..d. +.d.d..d...d..d +.d.d.d..d..d.. +.d.d..dd.d..d. +.d..d.dd..d.d. +..d..d..d.d.d. +d..d......d.d. +.d..ddd..d..d. +..d.....d..d.. +d..ddddd..d... +.d.......d.... +..ddddddd..... +.............. +Bonus: +.............. +.....???????.. +....?.......?. +...?..?????..? +..?..?.....?.. +.?..?..???..?. +.?.?..?...?..? +.?.?.?..?..?.. +.?.?..??.?..?. +.?..?.??..?.?. +..?..?..?.?.?. +?..?......?.?. +.?..???..?..?. +..?.....?..?.. +?..?????..?... +.?.......?.... +..???????..... +.............. +Level: +G +Hard Crunchy Center +Bricks: +.............. +.............. +.............. +.............. +....EEEEEE.... +...aaaaaaaa... +..EabbbbbbaE.. +..EabbbbbbaE.. +..EabbccbbaE.. +..EabbccbbaE.. +..EabbbbbbaE.. +..EabbbbbbaE.. +...aaaaaaaa... +....EEEEEE.... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +...22222222... +...23333332... +...23444432... +...23455432... +...23455432... +...23444432... +...23333332... +...22222222... +.............. +.............. +.............. +.............. +.............. +Level: +G +T.I.E. Fighter +Bricks: +.............. +.............. +d............d +d............d +d....iiii....d +d..##....##..d +d..#.g..g.#..d +d.i.g#gg#g.i.d +ddi..ghhg..idd +ddi..ghhg..idd +d.i.g#gg#g.i.d +d..#.g..g.#..d +d..##....##..d +d....iiii....d +d............d +d............d +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.....2222..... +.............. +.....3..3..... +..2.3.44.3.2.. +..2..4554..2.. +..2..4554..2.. +..2.3.44.3.2.. +.....3..3..... +.............. +.....2222..... +.............. +.............. +.............. +.............. +Level: +Nethippy +Orange Checkerboard +Bricks: +.............. +....eee...eee. +....eee...eee. +....eee...eee. +....eee...eee. +.eee...eee.... +.eee...eee.... +.eee...eee.... +.eee...eee.... +....eee...eee. +....eee...eee. +....eee...eee. +....eee...eee. +.eee...eee.... +.eee...eee.... +.eee...eee.... +.eee...eee.... +.............. +Bonus: +.............. +....???...???. +....???...???. +....???...???. +....???...???. +.???...???.... +.???...???.... +.???...???.... +.???...???.... +....???...???. +....???...???. +....???...???. +....???...???. +.???...???.... +.???...???.... +.???...???.... +.???...???.... +.............. +Level: +G +Obi Wan Vs. Vader +Bricks: +...........ggj +..........ggjj +.........ggjjj +........ggjjjj +.......ggjjjjc +......ggjjjjca +.....ggjjjjcaa +....ggjjjjcaaa +...ggjjjjcaaaa +..ggjjjjcaaaad +.ggjjjjcaaaadd +ggjjjjcaaaadd. +gjjjjcaaaadd.. +jjjjcaaaadd... +jjjcaaaadd.... +jjcaaaadd..... +jcaaaadd...... +caaaadd....... +Bonus: +.............5 +............5. +...........5.5 +..........5.5. +.........5.5.. +........5.5... +.......5.5.... +......5.5...f. +.....5.5...... +....5.5...f.W. +...5.5........ +..5.5...f.W... +.5.5.......... +5.5...f.W..... +.5............ +5...f.W....... +.............. +..f.W......... +Level: +G +Bonus Round! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +5l555555555555 +555555555555j5 +55555555555555 +5555555555j5j5 +55555555555555 +55555l5j555j55 +55555555555555 +55555555j55555 +5555j555555555 +55555555555555 +555555j555l555 +55555555555555 +55j555555555l5 +55555555555555 +gggggggggggggg +bbbbbbbbbbbbbb +}}}}}}}}}}}}}} +wwwwwwwwwwwwww +Level: +G +Chao-Twist +Bricks: +.............. +....!.#....... +..#...##....!. +..#.....#..... +...#.!..g#.... +...#....#..!.. +...#...#...... +....#....!.... +..!.#.#....... +....#......... +...#h#.!...... +..#hh#........ +..#hhh#....... +..##hhh#...... +....#hhh#..... +.....###h##h#. +.......##hh##. +.............. +Bonus: +...222........ +...2.2.....222 +...222.....2.2 +....222....222 +....2.2.m.222. +....222...2.2. +........22222. +.222....2.2... +.2.2....222... +.222..222..... +....5.2.2..... +...55.222..... +...555........ +....555....... +.....555...... +........5..5.. +.........55... +.............. +Level: +Nethippy +0-1-0 +Bricks: +g.....gg.....g +EEEEE.EE.EEEEE +E...E.hh.E...E +E...E.hh.E...E +E.E.E.hh.E.E.E +E.E.E.hh.E.E.E +h.E.i.hh.i.E.h +h.E.i.hh.i.E.h +h.E.i.hh.i.E.h +h.E.i.hh.i.E.h +E.E.E.hh.E.E.E +E.E.E.hh.E.E.E +E...E.hh.E...E +E...E.hh.E...E +EEEEE.EE.EEEEE +.............. +.............. +.............. +Bonus: +l.....55.....l +.............. +......>>...... +.............. +.............. +.............. +5............5 +5.....>>.....5 +5.....>>.....5 +5............5 +.............. +.............. +.............. +......>>...... +.............. +.............. +.............. +.............. +Level: +G +The "Matrix" +Bricks: +.............. +#.#.#.#.#.#.#. +h.h.h.h.h.h.h. +.............. +.............. +.#.#.#.#.#.#.# +.h.h.h.h.h.h.h +.............. +d.d.d.d.d.d.d. +#.#.#.#.#.#.#. +d.d.d.d.d.d.d. +.............. +.h.h.h.h.h.h.h +.#.#.#.#.#.#.# +.............. +.............. +h.h.h.h.h.h.h. +#.#.#.#.#.#.#. +Bonus: +.............. +.............. +l.5.5.5.5.5.l. +.............. +.............. +.............. +.5.5.5.5.5.5.5 +.............. +5.5.5.5.5.5.5. +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +.............. +.............. +5.5.5.5.5.5.5. +.............. +Level: +G +TCS #12 +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +############## +############## +############## +#E####EE####E# +############## +############## +############## +############## +g############g +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}gggggggggggg} +}............} +}.....ll.....} +}............} +.............. +.............. +.............. +.............. +m............m +Level: +G +A Bit More Interesting +Bricks: +..d...d...d... +d...d...d...d. +.............. +..d.!.d.!.d.!. +.............. +d.!.d.!.d.!.d. +.............. +..d.!.d.!.d.!. +.............. +d.!.d.!.d.!.d. +.............. +..d.!.d.!.d.!. +.............. +d...d...d...d. +..d...d...d... +.............. +d...d...d...d. +..d...d...d... +Bonus: +.............. +.............. +...333.333.333 +...3.3.3.3.3.3 +.3333333333333 +.3.3.3.3.3.3.. +.3333333333333 +...3.3.3.3.3.3 +.3333333333333 +.3.3.3.3.3.3.. +.3333333333333 +...3.3.3.3.3.3 +...333.333.333 +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Chao-Wall +Bricks: +!..!.!..*...!! +.**.!!***....! +.***!******!.. +*!**!!*!!**.@* +*!.@!**.!.*.** +..!**!..*!!*.* +.!!!!!*!**!*!. +.!!!!****.!!!. +.!!**@.!*!**!. +.!!*!!*!!.*!@! +.@!*!***.**!.! +.*!!!!!*.!!.!. +.!*!!!!!!*..!! +.@*.@.*!*@*..! +..!.!!.**!*!.! +!.*.!!**..**.* +!!**!.*.*.*.** +!!......!..!.. +Bonus: +.5555m5.m..5.. +5555..555.555. +5555.555555.55 +5.55..5..555.5 +5.5..555.55555 +55.55.555..555 +5.....5.55.5.5 +5....55555...5 +5..55.5.5.55.5 +5..?..?.55?... +5..?.???5??.5. +5g.....?5..5.5 +5.g......?55.. +5.g5.5g.g.g55. +55.5..5gg.g.5. +}5g5..gg..gg5g +}}gg.5g.g.g.gg +}}5555........ +Level: +G +All Green +Bricks: +.............. +z.#.z.#.z.#.z. +.............. +#.z.#.z.#.z.#. +.............. +y.#.y.#.y.#.y. +.............. +#.y.#.y.#.y.#. +.............. +x.#.x.#.x.#.x. +.............. +#.x.#.x.#.x.#. +.............. +x.#.x.#.x.#.x. +.............. +#.x.#.x.#.x.#. +.............. +x.#.x.#.x.#.x. +Bonus: +.............. +m.5...5...5.l. +.............. +5.b.5.w.5.b.5. +.............. +..5...5...5... +.............. +5...5.g.5...5. +.............. +..5...5...5... +.............. +5...5.}.5...5. +.............. +..5...5...5... +.............. +5...5.~.5...5. +.............. +>.5.>.5.>.5.>. +Level: +Nethippy +Fargin A +Bricks: +.............. +zz.EEEccEEE.zz +zz.Egv..vgE.zz +zz.E.v..v.E.zz +...E.v..v.E... +zEEE.v..v.EEEz +...E.v..v.E... +hh.EvvEEvvE.hh +hh....EE....hh +hh....vv....hh +hh.EvvvvvvE.hh +...E......E... +EEEEvvvvvvEEEE +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +55....++....55 +55..l....l..55 +55..........55 +.............. +.............. +.............. +44..........44 +44..........44 +44....++....44 +44..-....-..44 +.............. +....>>>>>>.... +.............. +.............. +.............. +.............. +.............. +Level: +G +Pink Floyd - The Wall +Bricks: +.............. +.............. +.............. +bcbcbcbcbcbcbc +cbcbcbcbcbcbcb +bcbcbcbcbcbcbc +cbcb@@cb@@cbcb +bcb@@cbcb@@cbc +cbc@c@cb@b@bcb +bcbcbc@@bcbcbc +cbcbcb@@cbcbcb +bcbcb@bc@cbcbc +cbcb@bcbc@cbcb +bcb@bcbcbc@cbc +cbcbcbcbcbcbcb +bcbcbcbcbcbcbc +.............. +.............. +Bonus: +.............. +.............. +.............. +....5.5...55.5 +.l.555555.5... +..5555........ +.55....5..5... +5..5.m.5m5.... +5.555.55...... +.5..5...5...5. +5...5.555.55.. +5....5.5.5...5 +.555.5...5.l5. +..5....5.5...5 +....5...5...5. +..........55.. +.............. +.............. +Level: +Nethippy +Invisible +Bricks: +vvv.vvv.vvv..v +v...v.v.v.v..v +v...v.v.v.v.vv +v.v.v.v.v.v.vv +vvv.vvv.vvv.vv +.............. +v..v.v.vv.v..v +v..v.v.v..v.v. +v..v.v.v..vv.. +v..v.v.v..v.v. +vv.vvv.vv.v..v +.............. +.............. +.v.v.v.v.v.v.v +.............. +.............. +.............. +.............. +Bonus: +???.???.???..? +?...?.?.?.?..? +?...?.?.?.?.?? +?.?.?.?.?.?.?? +???.???.???.?? +.............. +?..?.?.??.?..? +?..?.?.?..?.?. +?..?.?.?..??.. +?..?.?.?..?.?. +??.???.??.?..? +.............. +.............. +.?.?.?.?.?.?.? +.............. +.............. +.............. +.............. +Level: +Nethippy +Wall Of Wonderment +Bricks: +@iiiiiiiiiiii@ +hhhhhhhhhhhhhh +gggggggggggggg +dddddddddddddd +jjjjjjjjjjjjjj +@............@ +gggggggggggggg +dddddddddddddd +jjjjjjjjjjjjjj +@............@ +hhhhhhhhhhhhhh +gggggggggggggg +dddddddddddddd +jjjjjjjjjjjjjj +@............@ +vvvvvvvvvvvvvv +.............. +!!!!!!!!!!!!!! +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +.............. +?????????????? +?????????????? +?????????????? +.............. +?????????????? +?????????????? +?????????????? +?????????????? +.............. +>>>>>>>>>>>>>> +55555555555555 +55555555555555 +Level: +Nethippy +Boom Bang +Bricks: +.g...EEEE...g. +.E.!******!.E. +.E...*..*...E. +.EEEE*..*EEEE. +.E...*..*...E. +.E.!**..**!.E. +.E...*..*...E. +.EEEE*..*EEEE. +.E...*..*...E. +.E.!**..**!.E. +.E...*..*...E. +.EEEE*..*EEEE. +.E...*..*...E. +.E.!**..**!.E. +hE...*..*...Eh +EEEEE*..*EEEEE +.............. +.............. +Bonus: +.g..........g. +...5......5... +.............. +.............. +.............. +...5......5... +.............. +.............. +.............. +...5......5... +.............. +.............. +.............. +...5......5... +l............l +.............. +.............. +.............. +Level: +G +Bonus Round +Bricks: +g!!!!!!!!!!!!! +##!!!#!!#!!!!! +#!#!#!#!##!!!! +##!!#!#!#!#!!! +#!#!#!#!#!#!!! +##!!!#!!#!#!!! +!!!!!!!!!!!!!! +!!#!#!###!!!!! +!!#!#!#!!!!!!! +!!#!#!#!!!!!!! +!!#!#!######!! +!!#!#!!!!!!#!! +!!###!!!!!!#!! +!!!!!!!!!!!#!! +############!! +!!!!!!!!!!!!!# +!!!!!!!!!!!!## +#############g +Bonus: +m5555555555555 +..5j5.55.55555 +.5.5.5.5..5555 +..55.5.5.5.555 +.5.5.5.5.5.555 +..555.j5.5.555 +55555555555j55 +55.5.5...55555 +55.5.5.5555555 +5j.5.5.5555555 +55.5.5......55 +55.5.55j555.55 +55...555555.55 +55555555555.55 +............55 +bbbj555555555. +wwwwwww}}}}}.. +.............m +Level: +G +Symmetry +Bricks: +......EE...... +.............. +....cEccEc.... +....EEhhEE.... +.....EhhE..... +...E.EiiE.E... +.....EiiE..... +..EEcEccEcEE.. +..EggEiiEggE.. +..EggEiiEggE.. +..EggEhhEggE.. +..EccEhhEccE.. +..EEEEccEEEE.. +.............. +......EE...... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +......55...... +......55...... +......55...... +......55...... +....j.jj.j.... +...55.55.55... +...55.55.55... +...55.55.55... +......55..l... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Yucky Slime +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzz. +.z.zzzzzzzzz.. +.z.zz.zzzz.z.. +...z...z.z.... +.......z...... +.............. +.............. +.............. +.............. +.............. +.............. +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +Bonus: +.............. +55555555555555 +55555555555555 +5555555555555w +w5w555555555w. +.5.55w5555w5.. +.w.5w.w5w5.w.. +...w...5.w.... +.......w...... +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +Nethippy +Up The Middle! +Bricks: +..!.!.gg.!.!.. +.!.!.g..g.!.!. +..!.g.gg.g.!.. +E!.g.g..g.g.!E +..h.g.gg.g.h.. +.d.h.g..g.h.d. +d.d.h.gg.h.d.d +.d.d.h..h.d.d. +d.d.d.hh.d.d.d +.d.d..hh..d.d. +d.d..!hh!..d.d +.d..!.hh.!..d. +d..!.!hh!.!..d +..!.!.hh.!.!.. +@!.!.!hh!.!.!@ +!.!.!.hh.!.!.! +@!.!.!hh!.!.!@ +xxxxxxxxxxxxxx +Bonus: +.5.5.5**5.5.5. +..5.5l..l5.5.. +55.5g.**.g5.55 +..5g.g..g.g5.. +55b.g.**.g.b55 +.5.b.g..g.b.5. +5.5.b.**.b.5.5 +.5.5.b..b.5.5. +5.5.5.bb.5.5.5 +.5.555ww555.5. +5.5555ww.555.5 +.55555}}5.555. +555555}}.5.555 +555555}}5.5.55 +555555}}.5.5.5 +555555ww5.5.5. +555555ww.5.5.5 +>>>>>>ww>>>>>> +Level: +G +TCS #4 +Bricks: +......ii...... +......##...... +.....iiii..... +.....####..... +....dddddd.... +....######.... +...dddddddd... +...########... +..hhhhhhhhhh.. +..##########.. +......hh...... +......##...... +......gg...... +......##...... +......gg...... +......##...... +......gg...... +.....f##f..... +Bonus: +......55...... +......55...... +.....5555..... +.....5ll5..... +....555555.... +....555555.... +...55555555... +...55555555... +..5555555555.. +..5555gg5555.. +......55...... +......}}...... +......55...... +......gg...... +......55...... +......}}...... +......55...... +.....m55m..... +Level: +G +Tough Entry +Bricks: +@............@ +..#.!.!!.!.#.. +.##........##. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.############. +Bonus: +...55555555... +...5.5..5.5... +...55555555... +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +.............. +Level: +G +Reactor Shot +Bricks: +.............. +.............. +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +....#...#..... +...#..!..#.... +....#...#..... +.....###...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....5.5...... +.....5.5...... +.....l5l...... +.............. +Level: +Nethippy +Tricky +Bricks: +.............. +.............. +.............. +gggggggggggggg +EjjjjjjjjjjjjE +dddddddddddddd +.............. +gggggggggggggg +EjjjjjjjjjjjjE +dddddddddddddd +.............. +gggggggggggggg +EjjjjjjjjjjjjE +dddddddddddddd +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +55555555555555 +......ll...... +b............b +.............. +b............b +.............. +.............. +.............. +.............. +.............. +p.....>>.....p +.............. +.............. +.............. +.............. +Level: +Nethippy +Pac Attack +Bricks: +.............. +.............. +.............. +.............. +..hh.......... +.hhhhh..ccccc. +hhhhh..ccvccvc +hhhh...cvvcvvc +hhh....ccccccc +hhhh...ccccccc +hhhhh..ccccccc +.hhhhh.ccccccc +..hh....c.c.c. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +..bb.......... +.bbbbb..55l55. +bbbbb..55.55.5 +bbbb...5..5..5 +bbb....5555555 +bbbb...>>>>>>> +bbbbb..>>>>>>> +.bbbbb.~f~f~f~ +..bb....~.~.~. +.............. +.............. +.............. +.............. +.............. +Level: +G +Four Corners +Bricks: +!.!f......f!.! +...f......f... +!.@f......f@.! +ffff...hhhffff +...hhhhh...h.. +...h...h.!.h.. +...h.!.....h.. +...h....!.hh.. +...hh.!...h... +...h...!.hh... +..hh.!....h... +..h.....!.h... +..h.!.h...h... +..h...hhhhh... +ffffhhh...ffff +!.@f......f@.! +...f......f... +!.!f......f!.! +Bonus: +.5..........5. +555........555 +.5..........5. +.............. +........555... +....555.5.5... +....5.55555... +....5555.5.... +.....5.555.... +....555.5..... +....5.5555.... +...55555.5.... +...5.5.555.... +...555........ +.............. +.5..........5. +555........555 +.5..........5. +Level: +G +TCS #2 +Bricks: +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +######gg###### +Bonus: +.l...........l +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5}5.5.5. +5.5.5g.}5g5.5. +.....gmm.g.... +Level: +G +Bust 'em Open! +Bricks: +.............. +......!!...... +.@@##....##@@. +.@hh#....#hh@. +.@hh#....#hh@. +.@@##....##@@. +.............. +.....##@@..... +.....#hh@..... +.....#hh@..... +.....##@@..... +.............. +.@@##....##@@. +.@hh#....#hh@. +.@hh#....#hh@. +.@@##....##@@. +.............. +.............. +Bonus: +......mm...... +.............. +.4444....4444. +.4..4....4.m4. +.4..4....4..4. +.4444....4444. +.............. +.....5555..... +.....5l.5..... +.....5..5..... +.....5555..... +.............. +.4444....4444. +.4m.4....4..4. +.4..4....4..4. +.4444....4444. +.............. +.............. +Level: +G +Easier Than It Looks +Bricks: +.............. +.iii.......... +.@@@......kkk. +..........@@@. +....hhh....... +....@@@....... +.......ggg.... +.......@@@.... +.............. +.fff.......... +.@@@.......... +.......jjj.... +.......@@@.... +....eee....... +....@@@...ddd. +..........@@@. +.............. +.............. +Bonus: +.............. +.555.......... +..........555. +.............. +....444....... +.............. +.......333.... +.............. +.............. +.222.......... +.............. +.......111.... +.............. +....000....... +.............. +.............. +.............. +.............. +Level: +G +X +Bricks: +.............. +.............. +.............. +.iii......iii. +.i#ii....ii#i. +.ii#ii..ii#ii. +..ii#iiii#ii.. +...ii#ii#ii... +....ii##ii.... +....ii##ii.... +...ii#ii#ii... +..ii#iiii#ii.. +.ii#ii..ii#ii. +.i#ii....ii#i. +.iii......iii. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.b..........b. +.............. +.............. +......ww...... +......55...... +.....m..m..... +.....5..5..... +......55...... +.............. +.............. +.............. +.b..........b. +.............. +.............. +.............. +Level: +G +One Chance 4 Points +Bricks: +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +j5555555555555 +55555555555555 +55555555555555 +Level: +G +Tough Break II +Bricks: +.............. +.............. +.@.@.@@@@.@.@. +.@z@.@zz@.@z@. +.@@@.@..@.@@@. +.............. +.............. +.............. +cccccccccccccc +ihhhihhhihhhih +ihihihihihihih +ihihihihihihih +ihihihihihihih +hhihhhihhhihhh +vvvvvvvvvvvvvv +.............. +!!!!!!!!!!!!!! +.............. +Bonus: +.............. +.............. +.............. +..m...mm...m.. +.............. +.............. +.............. +.............. +l............l +g...g...g...g. +.............. +.............. +.............. +..g...g...g... +.............. +>>>>>>>>>>>>>> +55555555555555 +>>>>>>>>>>>>>> +Level: +G +Big X +Bricks: +####zzzzzz#### +#cb#zzzzzz#bc# +#bb#zzzzzz#bb# +#aa#zzzzzz#aa# +#...#zzzz#...# +#..!.#zz#.!..# +###.!.##.!.### +zzz#.!..!.#zzz +zzzz#.!!.#zzzz +zzz##!..!##zzz +zz#.!....!.#zz +##.!......!.## +..!.##..##.!.. +...#z#..#z#... +aa#zz#..#zz#aa +bb#zz#..#zz#bb +cb#zz#..#zz#bc +######..###### +Bonus: +....55ll55.... +.m4.555555.44. +.44.555555.44. +.44.555555.44. +..33.5555.33.. +..323.55.323.. +...323..323... +555.323323.555 +555m33223.m555 +555.32.32..555 +55.323.3323.55 +..323...3323.. +.323......323. +.33.5....5.33. +44.55....55.44 +44.55....55.44 +44.55....55.4m +.............. +Level: +Nethippy +Bonus Round +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +gggggggggggggg +gggggggggggggg +gggggggggggggg +ffffffffffffff +ffffffffffffff +ffffffffffffff +eeeeeeeeeeeeee +eeeeeeeeeeeeee +eeeeeeeeeeeeee +dddddddddddddd +dddddddddddddd +dddddddddddddd +Bonus: +.............. +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +l555555555555l +llwwwwwwwwwwll +}}}}}}}}}}}}}} +bbbbbbbbbbbbbb +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +G +Up N Down +Bricks: +.............. +.............. +..@..@..@..@.. +.............. +.............. +.#h#d#j#f#g#i# +.#h#d#j#f#g#i# +.#h#d#j#f#g#i# +.############# +.############# +.#i#g#f#j#d#h# +.#i#g#f#j#d#h# +.#i#g#f#j#d#h# +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +.............. +.............. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +.............. +.............. +.............. +.............. +.............. +Level: +G +Symmetry III +Bricks: +@@@@@...!@@@@@ +@...@.!..@...@ +@.!.@..!.@.!.@ +@...@!...@...@ +@@.@@@..@@@.@@ +k@.@k....k@.@k +.............. +k@..........@k +@@..........@@ +.............. +.@..........@. +d@..........@d +@@..........@@ +.............. +.............. +.............. +.............. +.............. +Bonus: +.....555...... +.555.5.55.555. +.5.5.55.5.5.5. +.555..555.555. +......5....... +5...+....+...5 +.............. +5............5 +.............. +.............. +.............. +m............l +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +BigGray +Bricks: +.............. +cccccccccccccc +cddc......cddc +cddc......cddc +cddc......cddc +cddc......cddc +cddccc..cccddc +cddchc..chcddc +cddchc..chcddc +cddchc..chcddc +cddchc..chcddc +cddchc..chcddc +cccchc..chcccc +cffchc..chcffc +cffchc..chcffc +cffchc..chcffc +cffchc..chcffc +cccccc..cccccc +Bonus: +.............. +p333333333333p +.............. +.............. +.............. +.............. +l....l..l....l +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +A Bit Tricky +Bricks: +.....#..#..... +.!.!.#!!#.!.!. +..@..#..#..@.. +.!...#!!#...!. +....z....z.... +####.#..#.#### +d#d#......#d#d +d#d#......#d#d +d#d#......#d#d +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +55555.11.55555 +5.5.5....5.5.5 +55.55.11.55.55 +5.5........5.5 +555.5.bb.5.555 +.............. +w.w........w.w +.............. +>.>........>.> +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Skill Shots +Bricks: +!...#!..!#...! +..#........#.. +.##..####..##. +.#!..#..#..!#. +.#!..#!!#..!#. +.##..#..#..##. +....!#..#!.... +#...#!..!#...# +!...!#..#!...! +......!!...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.5....55....5. +55..555555..55 +...5......5... +...5......5... +...5......5... +...55....55... +...5......5... +.5.5......5.5. +.5.5..55..5.5. +55.555..555.55 +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Half There? +Bricks: +iiiiiiiiiiiiii +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +Bonus: +ffffffffffffff +*.5.5.555.5.5. +......55...... +.5.5.555.5.5.* +......55...... +l.5.5.555.5.5. +......55...... +.5.5.555.5.5.l +......55...... +5.5.5.555.5.5. +......55...... +.5.5.555.5.5.5 +......55...... +5.5.5.555.5.5. +......55...... +.5.5.5{{.5.5.5 +......{{...... +~.~.~.~~~.~.~. +Level: +Nethippy +Madness +Bricks: +E............E +EggggE..EggggE +EggggE.vEggggE +EggggE..EggggE +EEEhEEv.EEgEEE +EhhhhE..EhhhhE +EhhhhE.vEhhhhE +EhhhhE..EhhhhE +EchccEv.EcchcE +EddddE..EddddE +EddddE.vEddddE +EddddE..EddddE +EzzzzEv.EzzzzE +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.5555....5555. +.5555..l.5555. +.5555....5555. +...p..w...p... +.>>>>....>>>>. +.>>>>..>.>>>>. +.>>>>....>>>>. +..b...>....b.. +.2222....2222. +.2222..w.2222. +.2222....2222. +......f....... +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Blue Wall +Bricks: +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +G +Puzzle I +Bricks: +!#..#!!!!#..#! +##..#!!!!#..## +h.h.#!!!!#.h.h +.h..#!!!!#..h. +h.h.######.h.h +....#!!!!#.... +....#!!!!#.... +....#!!!!#.... +....#!!!!#.... +....######.... +.###......###. +.#!#......#!#. +.###......###. +.............. +.............. +.............. +.............. +.............. +Bonus: +m5..555555..5m +55..555555..55 +f.f.555555.f.f +.m..555555..m. +f.f.555555.f.f +.....5555..... +.....5555..... +.....5555..... +.....5555..... +.............. +.............. +..l........l.. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Spider +Bricks: +@@..........@@ +@............@ +.............. +.............. +.aaa......aaa. +a...a....a...a +.....a..a..... +.aaa..cc..aaa. +a...bbhhbb...a +......cc...... +....bbhhbb.... +.aaa..hh..aaa. +a...bbhhbb...a +......cc...... +....bb..bb.... +.aaa......aaa. +a............a +@@..........@@ +Bonus: +.............. +.............. +.............. +.............. +.555......555. +5...5....5...5 +.....5..5..... +.>>>..ll..>>>. +>............> +......ff...... +.............. +.>>>......>>>. +>............> +.............. +.............. +.>>>......>>>. +>............> +.............. +Level: +Nethippy +Slimey Purple +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiii.iii +iii.iiiiii.i.i +ii..iiiii..i.. +.i...iii...... +.i...i.i...... +.......i...... +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +??????????.??? +???.??????.?.? +??..?????..?.. +.?...???...... +.?...?.?...... +.......?...... +Level: +G +Bonus Round +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +############## +############## +############## +############## +gEEEEEEEEEEEEg +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +bjjjjjjjjjjjjb +bggggggggggggb +b}}}}}}}}}}}}b +bwwwwwwwwwwwwb +m............m +Level: +Nethippy +Bonus Round +Bricks: +eeeeeeeeeeeeee +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +Bonus: +ljljljlljljljl +55555555555555 +j555555555555j +55555555555555 +55555555555555 +j444444444444j +44444444444444 +44444444444444 +j444444444444j +33333333333333 +33333333333333 +j333333333333j +33333333333333 +22222222222222 +j222222222222j +11111111111111 +11111111111111 +j000000000000j +Level: +G +Thru The Superstructure +Bricks: +........j.j... +#########.#### +.............. +!!!!!!!!!!!!!! +.............. +##.########### +.............. +!!!!!!!!!!!!!! +.............. +########.##### +.............. +!!!!!!!!!!!!!! +.............. +#####.######## +.............. +!!!!!!!!!!.... +.............. +#############. +Bonus: +........l.l... +.............. +55555555555555 +.............. +55555555555555 +.............. +55555555555555 +.............. +55555555555555 +.............. +55555555m55555 +.............. +55555555555555 +.............. +55555555555... +..........5... +55555555555... +.............. +Level: +G +5 HELLpings Of Trouble +Bricks: +.............. +.............. +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +.....@cc@..... +.....@cc@..... +.....@cc@..... +.....@cc@..... +.............. +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +.............. +Bonus: +.............. +.............. +.55........55. +.55........55. +.55........55. +.55........55. +.--........~~. +......55...... +......55...... +......55...... +......ff...... +.............. +.55........55. +.55........55. +.55........55. +.55........55. +.>>........dd. +.............. +Level: +G +S.L.O.W. +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +.............. +.............. +.............. +.............. +Bonus: +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +gggggggggggggg +.............. +.............. +.............. +.............. +Level: +G +TCS #6 +Bricks: +.....####..... +....######.... +...##...g##... +...##....##... +...##....##... +...##....##... +...##......... +...##......... +...##......... +...######..... +...#######.... +...##!!!!##... +...##!!!!##... +...##!!!!##... +...##!!!!##... +...##!!!!##... +....######.... +.....####..... +Bonus: +.......l...... +.............. +........m..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....}......... +.....5555..... +.....5555..... +.....5555..... +.....5555..... +.....5555..... +.............. +.............. +Level: +Nethippy +Bricks Ahoy! +Bricks: +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +Bonus: +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +?............. +.............. +.............? +.............. +>.>.>.>.>.>.>. +.............. +.>.>.>.>.>.>.> +.............. +l...........l. +.............. +.............. +.............. +.............. +Level: +Nethippy +Wiggly +Bricks: +dEEEEEEEEEEEEE +dEhEgEiEgEhEdE +dEhEgEiEgEhEdE +dEhEgE...EhEdE +dEhEgE...EhEdE +dE...E.E.EhEdE +dE...E.E.EhEdE +dE.E.E.E...EdE +dE.E...E...EdE +...E...EgE.EdE +...EgEiEgE.EdE +.EhEgEiEgE.EdE +.EhEgEiEgE.EdE +.EhEgEiEgE.EdE +.EhEgEiEgE...E +.EhEgEiEgE...E +.EhEgEiEgEhE.E +.EEEEEEEEEEE.E +Bonus: +.............. +..5.5.l.l.5.5. +..5.5.5.5.5.5. +..>.........5. +..>.>.......5. +..........>... +>.........>... +>............. +>............. +........>..... +....>.>....... +..>........... +..>.........>. +............>. +.............. +..5.5.5.5..... +..5.5.5.5.5... +.............. +Level: +Nethippy +Misery +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.....iEEi..... +......EE...... +....E.EE.E.... +hhhhE.EE.Ehhhh +hhhEE.EE.EEhhh +hhhEi.EE.iEhhh +hhhE..EE..Ehhh +EEEE.EEEE.EEEE +i.....@@.....i +......@@...... +......ii...... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.....>..>..... +.............. +.............. +>5>5......5>5> +5>5........5>5 +>5>.>....>.>5> +5>5........5>5 +.............. +>............> +.............. +......>>...... +.............. +.............. +.............. +Level: +G +Rings Of Hell +Bricks: +.............. +.............. +...###..###... +..#!!!!!!!!#.. +.#!!......!!#. +.#!.######.!#. +.#!#......#!#. +.#!#!!!!!!#!#. +.#!#!####!#!#. +.#!#!#!!#!#!#. +.#!#!.!!.!#!#. +.#!#!####!#!#. +.#!#!!!!!!#!#. +.#!#......#!#. +.#!.##..##.!#. +.#!!......!!#. +..#!!!!!!!!#.. +...########... +Bonus: +.............. +.............. +..3........3.. +.3.22222222.3. +..2233333322.. +..23......32.. +..2.555555.2.. +..2.444444.2.. +..2.4....4.2.. +..2.4.55.4.2.. +..2.455554.2.. +..2.4....4.2.. +..2.434444.2.. +..2.555555.2.. +..23......32.. +..22......22.. +.3.22222222.3. +..3........3.. +Level: +Nethippy +Devilish +Bricks: +.............. +.............. +ggggg@..@ggggg +ggzgg@..@ggzgg +ggzzg@..@gzzgg +zzzzz@..@zzzzz +zzzzz@..@zzzzz +ddzzd@..@dzzdd +ddzdd@..@ddzdd +ddddd@..@ddddd +ddddd@..@ddddd +ddddd@..@ddddd +EEEEE@..@EEEEE +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +>>>>>....>>>>> +>>l>>....>>l>> +>>++>....>-->> ++++++....----- ++++++....----- +..++......--.. +..f........f.. +.............. +55555....55555 +55555....55555 +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Beat This... +Bricks: +.............. +.....@..@..... +.............. +....@.@@.@.... +.............. +...@.@vv@.@... +.....@vv@..... +...@.v@@v.@... +.....@@@@..... +......vv...... +....@.@@.@.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +......55...... +......55...... +.....5..5..... +.............. +......55...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Boom Boxes II +Bricks: +.............. +..zzz.zzz.zzz. +..z*z.z*z.z*z. +..zzz.zzz.zzz. +.............. +.zzz.zzz.zzz.. +.z*z.z*z.z*z.. +.zzz.zzz.zzz.. +.............. +.............. +.............. +..@..@..@..@.. +.............. +@.vvvvvvvvvv.@ +.............. +..@..@..@..@.. +.............. +.............. +Bonus: +.............. +..555.bbb.555. +..5w5.bjb.5w5. +..555.bbb.555. +.............. +.bbb.555.bbb.. +.bjb.5w5.bjb.. +.bbb.555.bbb.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +TCS #15 +Bricks: +!!!!!@@@@@@@@@ +!!@@!@!!!!!!!@ +!@@@!@!@@@@@@@ +@@!@!@!@!!!!!! +@!!@!@!@!!!!!! +@!!@!@!@!!!!!! +@@!@!@!@@@@@@@ +!@!@!@!!!!!!!@ +!@!@!@@@@@@!!@ +!@!@!!!!!!@!!@ +!@!@!!!!!!@!!@ +!@!@!!!!!!@!!@ +!@!@!!!!!!@!!@ +@@!@@@!@@@@!!@ +@!!!!@!@!!!!!@ +@@@@@@!@!!!!!@ +!!!!!!!@@@@@@@ +#######g#####g +Bonus: +55555......... +55..5.5555555. +5...5.5....... +..5.5.5.555555 +.55.5.5.555555 +.55.5.5.555555 +..5.5.5....... +5.5.5.5555555. +5.5.5......55. +5.5.555555.55. +5.5.555555.55. +5.5.555555.55. +5.5.555555.55. +..5...5....55. +.5555.5.55555. +......5.55555. +5555555....... +.......m.....m +Level: +Nethippy +2 Close 4U +Bricks: +.............. +cccccccccccccc +c............c +c.cccccccccc.c +c.c........c.c +c.c.iiiiii.c.c +c.c.i....i.c.c +..c.i.@@.i.c.. +E.c.i....i.c.E +.............. +hhhhhhhhhhhhhh +.............. +E.!.!.!.!.!..E +.............. +!.!.!.!.!.!.!. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +444444ll444444 +4............4 +4............4 +4............4 +4...555555...4 +l...5....5...l +....5....5.... +..p.5....5.p.. +.............. +.............. +.............. +..>.>.>.>.>... +.............. +>.>.>.>.>.>.>. +.............. +.............. +.............. +Level: +G +Detention Block +Bricks: +#############. +#aa#aa#aa#aa#. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#############. +.............. +.!.!.!.!.!.!.. +!.!.!.!.!.!.!. +.............. +#############. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#aa#aa#aa#aa#. +#############. +Bonus: +.............. +.m......m..... +.............. +.............. +.............. +.............. +.............. +5555555555>55. +m.>.5.>.5.5.55 +.5.>.5.5.5.5.5 +>55555555>555> +.............. +.............. +.............. +.............. +.............. +.....m........ +.............. +Level: +Nethippy +Yellow Wall +Bricks: +.h.hhhhhhhh.h. +h.h.h.hh.h.h.h +.h.h.hhhh.h.h. +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +hhhhhhhhhhhhhh +Bonus: +.?.????????.?. +?.?.?.??.?.?.? +.?.?.????.?.?. +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?????????????? +Level: +G +Sideways Hourglass +Bricks: +.............. +.............. +!.@@cccccc@@.! +!.@z@cccc@z@.! +!.@zz@cc@zz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzz@@zzz@.! +!.@zz@cc@zz@.! +!.@z@cccc@z@.! +!.@@cccccc@@.! +.............. +.............. +Bonus: +.............. +.............. +23..444444..32 +23.l.4444.l.32 +23.55.mm.55.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.555..555.32 +23.55.33.55.32 +23.m.3333.m.32 +23..333333..32 +.............. +.............. +Level: +Nethippy +Symmetric Death +Bricks: +.............. +.............. +.!....vv....!. +.....vvvv..... +....vvvvvv.... +ddd.EEEEEE.ddd +ddd........ddd +dddd......dddd +ddddE....Edddd +ddddEEa.EEdddd +hhhhhE..Ehhhhh +hhhhhE.aEhhhhh +hhhhhE..Ehhhhh +hhhhhEa.Ehhhhh +hhhhhE..Ehhhhh +hhhhhE.aEhhhhh +hhhhhE..Ehhhhh +EEEEE@a.@EEEEE +Bonus: +.............. +5l5........5l5 +5m5........5m5 +555...mm...555 +.....mmmm..... +555........555 +555........555 +5555......5555 +5555......5555 +5555..&...5555 +55555....55555 +55555..f.55555 +55555....55555 +55555.c..55555 +55555....55555 +55555..W.55555 +55555....55555 +......>....... +Level: +Nethippy +Evil Face +Bricks: +.............. +.............. +.E.E......E.E. +.EhE......EhE. +.EhE......EhE. +.EEE......EEE. +.....hhhh..... +.....gggg..... +.....ffff..... +.............. +.............. +.............. +.dddddddddddd. +.dddddddddddd. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +..f........f.. +..f........f.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.>>>>>>>>>>>>. +.>>>>>>>>>>>>. +.............. +.............. +.............. +.............. +Level: +G +Utter Chaos +Bricks: +..d.#@h.....d# +.....#.@.d..d# +.....h..#d...d +d..#.@..d....d +d..h...#.@...# +.....@.##@..d. +...h..#d...d.# +d....@#d....d. +...#..@......d +d#hh..h#.#.... +.#.h#h.#.###.. +...##@.h#d.#.. +....#..hd@h.h. +.d...@.dd.d.dd +.d.#.@d..hhhh. +.dd.d.......d. +...#...#.....# +...#.#.......@ +Bonus: +..5...5.....5. +.........5..5. +.....5...5...5 +5.......5....5 +5..5.......... +............5. +...5...5...5.. +5......5....5. +.............5 +5.55..l....... +...5.l........ +.......5.5.... +.......55.5.5. +.5.....55.5.55 +.5....5..5555. +.55.5.......5. +.............. +.............. +Level: +G +Green Spiral +Bricks: +zzzzzzzzzzzzzz +z............z +z............z +z.zzzzzzzzzz.z +z.z........z.z +z.z........z.z +z.z.zzzzzz.z.z +z.z.z....z.z.z +z.z.z....z.z.z +z.z.z.z..z.z.z +z.z.z.z..z.z.z +z.z.z.zzzz.z.z +z.z.z......z.z +z.z.z......z.z +z.z.zzzzzzzz.z +z.z..........z +z.z..........z +z.zzzzzzzzzzzz +Bonus: +44444444444444 +4............4 +4............4 +4.4444444444.4 +4.4........4.4 +4.4........4.4 +4.4.444444.4.4 +4.4.4....4.4.4 +4.4.4....4.4.4 +4.4.4.4..4.4.4 +4.4.4.4..4.4.4 +4.4.4.4444.4.4 +4.4.4......4.4 +4.4.4......4.4 +4.4.44444444.4 +4.4..........4 +4.4..........4 +4.444444444444 +Level: +G +Pure Evil +Bricks: +@@.cccccccc.@@ +@..c......c..@ +@..c.zzzz.c..@ +@.cc.z!!z.cc.@ +@.c..z!!z..c.@ +@.c.zz!!zz.c.@ +@.c.z!!!!z.c.@ +@.c.z!!!!z.c.@ +@.c.zz!!zz.c.@ +@.c..z!!z..c.@ +@.cc.zzzz.cc.@ +@..c......c..@ +@@.cccccccc.@@ +z@..........@z +.@@@@....@@@@. +...@......@... +@..@......@..@ +@@.@@.@@.@@.@@ +Bonus: +l.....mm.....l +.............. +.....4444..... +.....4554..... +.....4554..... +....445544.... +....455554.... +....455554.... +....445544.... +.....4554..... +.....4444..... +.............. +...>>>>>>>>... +.............. +.............. +.............. +.............. +.............. +Level: +G +Death Star Explodes +Bricks: +.............. +......**...... +.....****..... +....******.... +...********... +..**********.. +.************. +.*****.******. +.****...*****. +.*****.******. +.************. +.************. +.************. +..**********.. +...********... +....******.... +.....****..... +......**...... +Bonus: +.............. +.............. +.............. +.............. +.............. +...55555555... +..5555555555.. +..5555.55555.. +..555...5555.. +..5555.55555.. +..5555555555.. +..5555555555.. +..5555555555.. +...55555555... +....555555.... +.....5555..... +.....j........ +.............. +Level: +G +Guarded Center +Bricks: +.............. +j.j.E.j.E.j.j. +.............. +.j.j.j.j.j.j.j +.............. +j.j.E.j.E.j.j. +.............. +.j.j.j.j.j.j.j +.............. +j.j.E.j.E.j.j. +.............. +.j.j.j.j.j.j.j +.............. +j.j.E.j.E.j.j. +.............. +.j.j.j.j.j.j.j +.............. +j.j.E.j.E.j.j. +Bonus: +.............. +......5....... +.............. +.....5.5...... +.............. +......5....... +.............. +.....5.5...... +.............. +......5....... +.............. +.....5.5...... +.............. +......5....... +.............. +.....5.5...... +.............. +......5....... +Level: +G +Thirsty? +Bricks: +.............. +.............. +.............. +.............. +.............. +....#....#.... +...#iiiiii#.#. +..#ii#ii#i##v# +..#iiiiiii#vv# +..#i#iiii##vv# +..#ii####i#vv# +..#iiiiiii###. +...#iiiiii#... +....#iiii#.... +.....####..... +......#.#..... +.....##.##.... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +............5. +...........55. +........m..55. +.........5.55. +...3333445.... +....444455.... +.....5555..... +.............. +.............. +.............. +.............. +Level: +G +Puzzle Finale +Bricks: +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +...j...j...j.. +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +...j...j...j.. +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +...j...j...j.. +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +.............. +.............. +.............. +Bonus: +.............. +m............. +.............. +.......m...... +.............m +.............. +.............. +.............. +.............. +.............. +.............. +.......m...... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Hard Walls +Bricks: +.............. +.............. +.............. +.............. +.............. +cccccccccccccc +dddddddddddddd +cccccccccccccc +.............. +cccccccccccccc +jjjjjjjjjjjjjj +cccccccccccccc +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +l....*..<..... +.............. +...?.b........ +.............. +b............. +........s..... +...<.?........ +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +TCS #20 +Bricks: +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@@@@@@@@@@@@@ +g@@@@@@@@@@@@g +Bonus: +jjjjjjjjjjjjjj +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}55555ll55555g +}55555ll55555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +m555555555555m +Level: +Nethippy +Pot-O-Gold +Bricks: +.............. +.............. +.............. +.cccc......... +EhhhhE........ +EggggE........ +EddddE........ +EeeeeE........ +.EEEE......... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.5555......... +.5555......... +.5555......... +.5555......... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Symmetry II +Bricks: +EEE#..jj..#EEE +Ehj#......#jhE +Ehj#.!..!.#jhE +EhjE......EjhE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +Eh.###..###.hE +Eh..........hE +Eh.###..###.hE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +EhjE......EjhE +EhjE.!..!.EjhE +Ehj#......#jhE +Ehj#..jj..#jhE +EEEE......EEEE +Bonus: +.............. +.55.555555.55. +.55.5.55.5.55. +.55.555555.55. +.55........55. +.55........55. +.55........55. +.5..........5. +.m..........5. +.5..........5. +.55........55. +.55........55. +.55........55. +.55.555555.55. +.55.5.55.5.55. +.55.555555.55. +.55...55...55. +.............. +Level: +G +Chaotic Edges +Bricks: +.............. +@.h.h.h.h.h.h. +.............. +.h.h.h.h.h.h.@ +.............. +@.h.h.h.h.h.h. +.............. +.h.h.h.h.h.h.@ +.............. +@.h.h.h.h.h.h. +.............. +.h.h.h.h.h.h.@ +.............. +@.h.h.h.h.h.h. +.............. +.h.h.h.h.h.h.@ +.............. +@.h.h.h.h.h.h. +Bonus: +.............. +..5.5.5.5.5.5. +.............. +.5............ +.............. +..5.........5. +.............. +.5............ +.............. +..5.........5. +.............. +.5............ +.............. +..5.........5. +.............. +.5............ +.............. +..5.........5. +Level: +Nethippy +I.M.I. +Bricks: +.............. +.............. +d.EEiiiiiiEE.d +d.EgEiiiiEgE.d +d.E..EiiE..E.d +d.E...zz...E.d +d.E...dd...E.d +d.E...dd...E.d +d.E........E.d +d.E........E.d +d.E........E.d +d.E........E.d +d.E........E.d +d.E........E.d +d.Eg......gE.d +dEEE......EEEd +v............v +.............. +Bonus: +.............. +.............. +3...555555...3 +3....5555....3 +3.....55.....3 +3............3 +3.....>>.....3 +3.....--.....3 +3............3 +3............3 +3............3 +3............3 +3............3 +3............3 +3............3 +3............3 +f............f +.............. +Level: +G +Red Dragon +Bricks: +.............. +............d. +...........ddd +..........dd.d +.......ddddddd +.....h.ddddddd +......h.....d. +.hhhhhhh....d. +......h.....d. +.ggg.h.....dd. +.ggg......ddd. +.ggg.....ddddd +.ggg.....dd.dd +.........d...d +.........dd.dd +.........ddddd +...........d.. +...........ddd +Bonus: +.............. +............0. +...........0>0 +..........0>.> +.......00000>0 +.......0000000 +............0. +.......j....0. +............0. +...........00. +..p.......000. +..p......00000 +.........0?.?0 +.........0...0 +.........0?.?0 +.........00000 +...........0.. +...........000 +Level: +G +Columns +Bricks: +.............. +.............. +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.............. +.............. +Bonus: +.............. +.............. +.l.}.>.-.c.-.+ +.s.3.1.W.1.}.} +.>.c.s.2.3.c.s +.1.2.3.}.s.3.0 +.}.-.-.1.0.f.> +.f.f.c.f.>.1.- +.3.1.2.+.-.s.1 +.{.b.b.3.b.b.f +.c.s.0.s.2.0.3 +.2.>.f.b.f.{.b +.+.0.+.0.}.+.2 +.-.W.}.>.{.2.c +.b.+.{.c.+.>.{ +.0.{.W.{.W.W.~ +.............. +.............. +Level: +G +TCS #13 +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +@@@@@@@@@@@@@@ +@@@E@@@@@@E@@@ +@@@@@@EE@@@@@@ +E@@@@@@@@@@@@E +@@@@@@@@@@@@@@ +g@@@@@@@@@@@@g +Bonus: +jjjjjjjjjjjjjj +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +.}}}}}}}}}}}}. +....gggggg.... +.............. +.............. +.............. +m............m +Level: +Nethippy +Megawall +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +dddddddddddddd +dddddddddddddd +.............. +.@.@.@.@.@.@.@ +.............. +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +iiiiiiiiiiiiii +iiiiiiiiiiiiii +.............. +!.!.!.!.!.!.!. +.............. +ffffffffffffff +ffffffffffffff +gggggggggggggg +gggggggggggggg +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +.............. +.............. +.............. +l............l +wffffffffffffw +wffffffffffffw +l............l +.............. +5.5.5.5.5.5.5. +.............. +?.....bb.....? +?.....bb.....? +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +Nethippy +Fire Away! +Bricks: +.............. +!!!!!!!!!!!!!! +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +.............. +Bonus: +ffffffllffffff +jjjjjjjjjjjjjj +55555555555555 +55555555555555 +44444444444444 +44444444444444 +33333333333333 +f33333ff33333f +33333333333333 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +}&}&}&}&}&}&}& +pppppppppppppp +pppppppppppppp +pppppppppppppp +.............. +Level: +Nethippy +Arrrgh! +Bricks: +iiiiiiiiiiiiii +.............. +iiEEEEEEEEEEEE +.............E +gggggggggggggg +E............. +EEEEEEEEEEEEgg +E............. +hhhhhhhhhhhhhh +.............E +hhEEEEEEEEEEEE +.............. +dddddddddddddd +E............. +EEEEEEEEEEEEdd +.............. +.............. +.............. +Bonus: +.............. +.............. +b............. +.............. +l5555555555555 +.............. +.............b +.............. +4444444444444> +.............. +b............. +.............. +>............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Pursuing Vader's Fighter +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.....c..c..... +....c....c.... +....c.cc.c.... +....cccccc.... +....c.cc.c.... +....c....c.... +.....c..c..... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....{..{..... +....~....~.... +....W.>>.W.... +....ff>>ff.... +....W.>>.W.... +....~....~.... +.....{..{..... +.............. +.............. +.............. +.............. +.............. +Level: +G +TCS #10 +Bricks: +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +g############g +Bonus: +..55..55..55.. +.55..55..55..5 +55..55..55..55 +5..55..55..55. +..55..55..55.. +.55..55..55..5 +55..55..55..55 +5..55..55..55. +..55..55..55.. +.55..55..55..5 +55..55..55..55 +5..55..55..55. +..55..55..55.. +.55..55..55..g +55..55..55..}g +5..55..55..}}. +..55..55..gg.. +m............m +Level: +Nethippy +R.I.P. +Bricks: +....h......h.. +.............. +.h.h..ee.h.... +......ee...hh. +....eeeeee.... +..h.eeeeee.... +......ee..h..h +....h.ee...h.. +.h....ee.....h +......ee...... +aaaaaaaaaaaaaa +bbbbbbbbbbbbbb +cccccccccccccc +.............. +.............. +ffffffffffffff +dddddddddddddd +kkkkkkkkkkkkkk +Bonus: +....m......m.. +.............. +.m.m..55.m.... +......55...mm. +....555555.... +..m.555555.... +......55..m..m +....m.55...m.. +.m....55.....m +......55...... +l555555555555l +}555555555555} +}555555555555} +.............. +.............. +fbf~fcfdf~fbfb +bfbfbfdfcfbfbf +>>>>>>>>>>>>>> +Level: +Nethippy +Huge Invisible Wall +Bricks: +hhhhhhhhhhhhhh +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +wbwbwbwbwbwbwb +bwbwbwbwbwbwbw +}}}}}}}}}}}}}} +>>>>..++..>>>> +Level: +G +Aim Carefully! +Bricks: +g@....gg....@g +@@...@gg@...@@ +.....@@@@..... +.!..@....@..!. +......@@...... +.....@gg@..... +.!..........!. +......@@...... +.............. +.!..........!. +...@......@... +..@..@..@..@.. +@@..........@@ +.....!..!..... +.............. +.............. +..!..!..!..!.. +.............. +Bonus: +m.....mm.....m +......mm...... +555........555 +5.5........5.5 +555........555 +555...ff...555 +5.5........5.5 +555........555 +555........555 +5.5........5.5 +555........555 +.............. +....555555.... +....5.55.5.... +....555555.... +.555555555555. +.5.55.55.55.5. +.555555555555. +Level: +G +CrazyFace +Bricks: +.............. +.............. +.....vvvv..... +..@@vvvvvv@@.. +..@@vvvvvv@@.. +..vvvv@@vvvv.. +..vvvv@@vvvv.. +..vvvv@@vvvv.. +..vvvv@@vvvv.. +..@@vvvvvv@@.. +..@@vvvvvv@@.. +...@@vvvv@@... +....@@@@@@.... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.....5555..... +....555555.... +....555555.... +..5555..5555.. +..5555..5555.. +..5555..5555.. +..5555..5555.. +....55ll55.... +....55mm55.... +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Boxed In! +Bricks: +E@EEEE@@EEEE@E +EfffffkkfffffE +EjffffkkffffjE +EejfffkkfffjeE +EiejffkkffjeiE +EgiejfkkfjeigE +EggiejkkjeiggE +EgggiejjeigggE +EggggieeiggggE +EgggggiigggggE +EggggggggggggE +EiiiiiiiiiiiiE +EdddddiidddddE +Edh@hdiidh@hdE +EdhhhdiidhhhdE +EdhhhdiidhhhdE +Ed@h@diid@h@dE +EE.v.E@@E.v.EE +Bonus: +.............. +.b..........b. +.555555555555. +.555555555555. +.>5555555555>. +.555555555555. +.555555555555. +.>5555555555>. +.555555555555. +.555555555555. +.>5555555555>. +.555555555555. +.555555555555. +.>}.}5555}.}>. +.w}w}5555}w}w. +.w}}}5555}}}w. +.b.l.5mm5.l.b. +...>......>... +Level: +G +TCS #19 +Bricks: +@@@@@@@@@@@@@@ +@@!!!!!!!!!!@@ +@@!!!!!!!!!!@@ +@@!@@@@@@@@!@@ +@@!@!!!!!!@!@@ +@@!@!!!!!!@!@@ +@@!@!@@@@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@@@@!@!@@ +@@!@!!!!!!@!@@ +@@!@!!!!!!@!@@ +@@!@@@@@@@@!@@ +@@!!!!!!!!!!@@ +@@!!!!!!!!!!@@ +g@@@@@@@@@@@@g +Bonus: +..jjjjjjjjjj.. +g.5555555555.} +g.5555555555.} +g.5........5.} +g.5.555555.5.} +g.5.555555.5.} +g.5.5....5.5.} +g.5.5.55.5.5.} +g.5.5.55.5.5.} +g.5.5.55.5.5.} +g.5.5.55.5.5.} +g.5.5....5.5.} +g.5.555555.5.} +g.5.555555.5.} +g.5........5.} +g.5555555555.} +..5555555555.. +m............m +Level: +Nethippy +V-Boom! +Bricks: +.............. +*!!!!!!!!!!!!* +*!!!!!!!!!!!!* +!*!!!!!!!!!!*! +!*!!!!!!!!!!*! +!!*!!!!!!!!*!! +!!*!!!!!!!!*!! +!!!*!!!!!!*!!! +!!!*!!!!!!*!!! +!!!!*!!!!*!!!! +!!!!*!!!!*!!!! +!!!!!*!!*!!!!! +!!!!!*!!*!!!!! +@@@@@@**@@@@@@ +.............. +.............. +.............. +.............. +Bonus: +lll...pp...lll +54...pmmp...45 +553..f..f..355 +554........455 +4553......3554 +3554......455. +.4553....3554. +.3554....455.. +..4553..3554.. +..355433455... +...45544554... +.f.3555555..f. +m...455554...m +......55...... +.............. +.............. +.............. +.............. +Level: +G +Ridiculousness +Bricks: +...@cccccc@... +.z.@.bbbb.@.z. +...@..aa..@... +.z.@......@.z. +...@......@... +.@@@......@@@. +.@..........@. +.@...@vv@...@. +.@.!.@..@.!.@. +.@...@..@...@. +.@.!.@vv@.!.@. +.@...@..@...@. +.@.!.@..@.!.@. +.@...@vv@...@. +.@.!.@..@.!.@. +.@...@..@...@. +.@@@@@vv@@@@@. +.............. +Bonus: +....l5mm5l.... +.5...5jj5...5. +......55...... +.5..........5. +.............. +.............. +.............. +..555.~f.555.. +..5.5....5.5.. +..555....555.. +..5.5.f~.5.5.. +..555....555.. +..5.5....5.5.. +..555.~f.555.. +..5.5....5.5.. +..555....555.. +......f~...... +.............. +Level: +G +Invisible +Bricks: +.............. +v.v.v.v.v.v.v. +.............. +.v.v.v.v.v.v.v +.............. +v.v.v.v.v.v.v. +.............. +.v.v.v.v.v.v.v +.............. +v.v.v.v.v.v.v. +.............. +.v.v.v.v.v.v.v +.............. +v.v.v.v.v.v.v. +.............. +.v.v.v.v.v.v.v +.............. +v.v.v.v.v.v.v. +Bonus: +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +5.5.5.5.5.5.5. +Level: +Nethippy +Hell-O-Ween +Bricks: +.............. +......yy...... +......yy...... +...eeeyyeee... +..eeeeeeeeee.. +.eeeeeeeeeeee. +.eee@eeee@eee. +.ee@@@ee@@@ee. +.eeeee@@eeeee. +.e@e@e@@e@e@e. +.e@@@eeee@@@e. +.ee@@@@@@@@ee. +.eee@e@@e@eee. +..eeeeeeeeee.. +...eeeeeeee... +.....eeee..... +.............. +.............. +Bonus: +.............. +......ll...... +.............. +......mm...... +.............. +.............. +.....f..f..... +......>>...... +...555..555... +...5.5..5.5... +.....5555..... +.............. +..>..f..f..>.. +...>>>>>>>>... +.............. +.............. +.............. +.............. +Level: +Nethippy +Big Z +Bricks: +.............. +.############. +.!!!!!!!!!!!#. +!!!!!!!!!!!!#. +!!!!!!!!!!!!#. +!!!!!!!!!!!#.. +!!!!!!!!!!#... +!!!!!!!!!#.... +!!!!!!!!#...#! +!!!!!!!#...#!! +!!!!!!#...#!!! +!!!!!#...#!!!! +!!!!#...#!!!!! +!!!#...#!!!!!! +!!#...#!!!!!!! +!#...#!!!!!!!! +#...#!!!!!!!!! +...########### +Bonus: +.............. +m............. +m55555555555.. +555555555555.. +555555555555.. +55555555555.m. +5555555555.m.. +555555555.m..m +55555555.m..mm +5555555.m..m55 +555555.m..m555 +55555.m..m5555 +5555.m..m55555 +555.m..m555555 +55.m..m5555555 +5.m..m55555555 +.m..m555555555 +.............. +Level: +Nethippy +Green Wall +Bricks: +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +G +Got Balls? +Bricks: +zzzzzzzzzzzzzz +############## +.!..!..!..!..! +.#.#.#.#.#.#.# +...!..!..!..!. +#.#.#.#.#.#.#. +.............. +@@@@..EE..@@@@ +cccccccccccccc +.............. +cccccccccccccc +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +55555555555555 +.............. +.m..l.....l..m +.............. +.............. +.............. +.............. +.............. +wbbbbbbbbbbbbw +.............. +bbbbbbbbbbbbbb +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Chaotic Order +Bricks: +.............. +E.E.E.E.E.E.E. +.............. +.E.E.E.E.E.E.E +.............. +z.z.z.z.z.z.z. +.............. +.z.z.z.z.z.z.z +.............. +@.@.@.@.@.@.@. +.............. +.@.@.@.@.@.@.@ +.............. +#.#.#.#.#.#.#. +.............. +.#.#.#.#.#.#.# +.............. +#.#.#.#.#.#.#. +Bonus: +.............. +.............. +.............. +.............. +.............. +m............. +.............. +.............m +.............. +4.4.4.4.4.4.4. +.............. +.4.4.4.4.4.4.4 +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.l.5.5.5 +.............. +5.5.5.5.5.5.5. +Level: +G +TCS #18 +Bricks: +g############g +.#!!!!!!!!!!#. +.#!!!!!!!!!!#. +.#####!!#####. +.#!!!#!!#!!!#. +.#!!!#!!#!!!#. +.###!#!!#!###. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.############. +.############. +Bonus: +m............m +..5555555555.. +..5555555555.. +......55...... +..555.55.555.. +..555.55.555.. +....5.55.5.... +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5g55g5.5.. +....}gggg}.... +....}}}}}}.... +Level: +G +Layer By Layer +Bricks: +zzzzzzzzzzzzzz +z************z +z*..........*z +z*.zzzzzzzz.*z +z*.z******z.*z +z*.z*....*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*....*z.*z +z*.z******z.*z +z*.zzzzzzzz.*z +z*..........*z +z************z +zzzzzzzzzzzzzz +Bonus: +.............. +.222222222222. +.2..........2. +.2..........2. +.2..444444..2. +.2..4....4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4....4..2. +.2..444444..2. +.2.WWWWWWWW.2. +.2..........2. +.222222222222. +>>>>>>>>>>>>>> +Level: +G +PaintBox +Bricks: +@@@@@@@@@@@@@@ +@h@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@@@@@@@@@@@@ +Bonus: +l......ll....l +.m.}}555555gm. +...}5555555gg. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...gg5555555}. +...mg555555}}. +.............. +Level: +Nethippy +Keep 'em Blue! +Bricks: +.............. +ggggggggggggg. +gE@EEEEEEE@Eg. +g@hhhhhhhhh@g. +gEh@@@@@@@hEg. +gEh@iiiii@hEg. +gEh@i@E@i@h@g. +gEh@iEiEi@h@g. +gEh@iE@Ei@hEg. +gEh@iiiii@hEg. +gEh@@@@@@@hEg. +g@hhhhhhhhh@g. +gE@EEEEEEE@Eg. +ggggggggggggg. +.............. +.............. +.............. +.............. +Bonus: +.............. +mm555555555mm. +m...........m. +5.mm55555mm.5. +5.m...m...m.5. +5.5.mm5mm.5.5. +5.5.m...m.5.5. +5.5.5...5.5.5. +5.5.m...m.5.5. +5.5.mm5mm.5.5. +5.m.......m.5. +5.mm55555mm.5. +m...........m. +mm555555555mm. +.............. +.............. +.............. +.............. +Level: +Nethippy +WonderWall +Bricks: +feggggggggggef +fegddddddddgef +fegdhhhhhhdgef +fegdhiiiihdgef +fegdhiiiihdgef +fegdhiiiihdgef +fegdhhiihhdgef +fegddhiihddgef +feggdhiihdggef +feegdhiihdgeef +ffegdhiihdgeff +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +Nethippy +Tree Of Doom +Bricks: +.............. +.............. +.......xx..... +....x.x....... +..x..x....x... +...x..x..xx... +...x.x.x.x.x.. +..xx..xx.x.... +.xx.x.xx.xxxx. +.x...xxxx.x..x +x...x.xxx..x.. +....x.xx.x.... +......xx.x.... +......xx...... +......xx...... +......xx...... +eeeeeeeeeeeeee +eeeeeeeeeeeeee +Bonus: +.............. +.............. +.......f5..... +....5.f....... +..5..f....5... +...f..5..ff... +...f.5.5.f.5.. +..ff..55.f.... +.ff.f.55.ffff. +.f...5555.f..5 +5...f.555..5.. +....5.55.f.... +......55.5.... +......55...... +......mm...... +......mm...... +w>>>>>>>>>>>>w +>>>>>>>>>>>>>> +Level: +Nethippy +142 +Bricks: +.............. +cccccccccccccc +c............c +c..c.c.c.ccc.c +c.cc.c.c...c.c +c..c.c.c...c.c +c..c.c.c.ccc.c +c..c.ccc.c...c +c..c...c.c...c +c..c...c.c...c +c.ccc..c.ccc.c +c............c +cccccccccccccc +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +>>>>>>>>>>>>>> +>............> +>..5.5.5.555.> +>.55.5.5...5.> +>..5.5.5...5.> +>..5.5.5.555.> +>..5.555.5...> +>..5...5.5...> +>..5...5.5...> +>.555..5.555.> +>............> +>>>>>>>>>>>>>> +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +FreeZe BottOm +Bricks: +..!!!!!!!!!!.. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c!!!!!!!!!!c. +.cccccccccccc. +.cccccccccccc. +Bonus: +.............. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5....mm....5. +.5....mm....5. +.fff..mm..fff. +....ffffff.... +Level: +G +TCS #14 +Bricks: +!!!!#!!!!#!!!! +#####!!!!##### +!!!!#!!!!#!!!! +!!!!######!!!! +!!!!!!!!!!!!!! +#!!!!!!!!!!!!# +##!!!!!!!!!!## +###!!!!!!!!### +####!!!!!!#### +#####!!!!##### +######!!###### +#!##########!# +#!!########!!# +#!!!######!!!# +#!!!!####!!!!# +#!!!!!##!!!!!# +#!!!!!!!!!!!!# +g############g +Bonus: +jjjj.5555.jjjj +.....5555..... +5555.5555.5555 +5555......5555 +55555555555555 +.555555555555. +..5555555555.. +...55555555... +....555555.... +.....5555..... +.....g55g..... +.5...g55g...5. +.55..g55g..55. +.555.g}}g.555. +.5555g}}g5555. +.55555..55555. +.555555555555. +m............m +Level: +G +Green Cheese +Bricks: +zzzzzzzzzzzzzz +zzvzzzzzzzzvzz +zzzzzzzzzzzzzz +zzzzvzzzzzzzzz +zzvzzzzzzzzzzz +zzzzzzzzvzzzzz +zzzzzzzzzzzzvz +zzzvzzzzzzzzzz +zzzzzzvzzzzzzz +zzzzzzzzzzzzzz +zvzzzzzzzzzzzv +zzzzzzzzzzzzzz +zzzzzzzzzzvzzz +zzzzvzzzzzzzzz +zzzzzzzzvzzzzz +zvzzzzvzzzzvzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +Bonus: +l.....ll.....l +55b55555555m55 +55555555555555 +5555w555555555 +55b55555555555 +55555555w55555 +555555555555b5 +555b5555555555 +555555w5555555 +55555555555555 +5b55555555555b +55555555555555 +5555555555b555 +5555w555555555 +55555555b55555 +5w5555b5555w55 +55555555555555 +55555555555555 +Level: +Nethippy +A Ton Of Points! +Bricks: +*************. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*vvv*vvv*vvv*v +.............. +.............. +Bonus: +.............5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +.............l +.............. +.............. +Level: +Nethippy +Spiral +Bricks: +!!!!!!!!!!!!!! +!************! +!*!!!!!!!!!!*! +!*!********!*! +!*!*!!!!!!*!*! +!*!*!****!*!*! +!*!*!*!!*!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!!!!*!*! +!*!*!******!*! +!*!*!!!!!!!!*! +!*!**********! +!*!!!!!!!!!!!! +Bonus: +00000000000000 +0>>>>>>>>>>>>1 +0>2222222222>1 +0>2>>>>>>>>3>1 +0>2>444444>3>1 +0>2>4>>>>5>3>1 +0>2>4>gl>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>5555>3>1 +0>2>4>>>>>>3>1 +0>2>33333333>1 +0>2>>>>>>>>>>1 +0>111111111111 +Level: +G +Secret Center +Bricks: +.............. +.............. +c.!.c@cc@c.!.c +.....@cc@..... +.!.!.@cc@.!.!. +.....@cc@..... +c.!.c@cc@c.!.c +.....@cc@..... +.!.!.@cc@.!.!. +.....@cc@..... +c.!.c@cc@c.!.c +.....@cc@..... +.!.!.@cc@.!.!. +.....@cc@..... +c.!.c@cc@c.!.c +.....@cc@..... +.@.@.@cc@.@.@. +.............. +Bonus: +.............. +.555......555. +l5.5..55..5.5l +55555.55.55555 +5.5.5.55.5.5.5 +55555.55.55555 +.5.5..55..5.5. +55555.55.55555 +5.5.5.55.5.5.5 +55555.mm.55555 +.5.5..55..5.5. +55555.55.55555 +5.5.5.55.5.5.5 +55555.55.55555 +.5.5..55..5.5. +.555..55..555. +......55...... +.............. +Level: +Nethippy +Break On Thru! +Bricks: +ffffffffffffff +############## +############## +############## +############## +############## +#######!###### +######!!!##### +#####!!!!!#### +######!!!##### +#######!###### +############## +############## +############## +############## +############## +############## +gggggggggggggg +Bonus: +WWWWWWWWWWWWWW +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +mmmmmmmmmmmmmm +mmmmmmmmmmmmmm +Level: +G +TCS #8 +Bricks: +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +#####aaaa##### +Bonus: +5555l....l5555 +55555555555555 +....555555.... +55555555555555 +55555....55555 +55555555555555 +....555555.... +55555555555555 +55555....55555 +55555555555555 +....555555.... +55555gggg55555 +55555....55555 +55555555555555 +....}5555}.... +5555}5555}5555 +5555}....}5555 +.....mppm..... +Level: +Nethippy +Easy My Butt +Bricks: +.............. +.............. +.............. +.............. +aaaaaaaaaaaaaa +************** +aaaaaaaaaaaaaa +.............. +aaaaaaaaaaaaaa +************** +aaaaaaaaaaaaaa +.............. +aaaaaaaaaaaaaa +************** +aaaaaaaaaaaaaa +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +ffffffff..ffff +.............. +ffffff...fffff +.............. +ffff...fffffff +.............. +fff...ffffffff +.............. +ffffff...fffff +.............. +ffff...fffffff +.............. +.............. +.............. +Level: +Nethippy +Balls A Plenty +Bricks: +hhhhhgffgddddd +hhhhhgffgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhggggddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiiiiddddd +.............. +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +wwwwwwwwwwwwww +55555555555555 +55555555555555 +55555555555555 +55555555555555 +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +.............. +Level: +G +Green Spiral II +Bricks: +..z.z.z.z.z.z. +.z.z.z.z.z.z.z +.############. +.#.z.z.z.z.z#. +.#z.z.z.z.z.#. +.#.########.#. +.#.#.z.z.z#.#. +.#.#z.z.z.#.#. +.#.#.####.#.#. +.#.#.#.z.z#.#. +.#.#.#z.z.#.#. +.#.#.######.#. +.#.#z.z.z.z.#. +.#.#.z.z.z.z#. +.#.##########. +.#.z.z.z.z.z.z +.#z.z.z.z.z.z. +.############# +Bonus: +..2.2.2.2.2.2. +.w.b.w.b.w.b.w +.555555555555. +.5.b.b.b.b.b5. +.52.2.2.2.2.5. +.5.55555555.5. +.5.5.b.b.b5.5. +.5.52.2.2.5.5. +.5.5.5555.5.5. +.5.5.5.b.m5.5. +.5.5.52.2.5.5. +.5.5.555555.5. +.5.5b.b.b.b.5. +.5.5.2.2.2.25. +.5.5555555555. +.5.w.b.w.b.w.b +.52.2.2.2.2.2. +.5555555555555 +Level: +G +Pattern +Bricks: +.............. +.............. +.............. +......cc...... +...cc....cc... +...cc....cc... +.............. +..c..c..c..c.. +.cc...cc...cc. +..c...cc...c.. +.....c..c..... +.............. +...cc....cc... +...cc....cc... +......cc...... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +......ll...... +...bb....WW... +...b>....>W... +.............. +..&..>..>..&.. +.fw...55...wf. +..s...55...s.. +.....>..>..... +.............. +...W>....>b... +...WW....bb... +......??...... +.............. +.............. +.............. +Level: +G +Hard Middle +Bricks: +a.a.a.a.a.a.a. +.............. +.a.a.a.a.a.a.a +.............. +a.b.b.b.b.b.a. +.............. +.a.b.b.b.b.b.a +.............. +a.b.c.c.c.b.a. +.............. +.a.b.c.c.c.b.a +.............. +a.b.c.v.c.b.a. +.............. +.a.b.c.v.c.b.a +.............. +a.b.c.v.c.b.a. +.............. +Bonus: +2.2.2.2.2.2.2. +.............. +.2.2.2.2.2.2.2 +.............. +2.3.3.3.3.3.2. +.............. +.2.3.3.3.3.3.2 +.............. +2.3.4.4.4.3.2. +.............. +.2.3.4.4.4.3.2 +.............. +2.3.4.5.4.3.2. +.............. +.2.3.4.5.4.3.2 +.............. +2.3.4.5.4.3.2. +.............. +Level: +Nethippy +Not Pretty +Bricks: +.............. +.............. +.............. +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +EEEEcEEEEcEEEE +EddE..EE..EddE +E............E +E............E +E............E +EiiEii..iiEiiE +EccEEE..EEEccE +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +l555555555555l +<555555555555< +....>....>.... +.>>........>>. +.............. +.............. +.............. +.>>.>>..>>.>>. +.>>........>>. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Chaos +Bricks: +......df.....h +g.i..dfk...h.. +..i.d.f.k.h..# +.gi.df...k.... +..gd###h....#. +.#.dfchc..k... +#.dfihi..i.ki. +...fgi##....k. +.#f###i..ii... +...hc#......k. +...h##g.....k. +..h..###g##... +..h......#gg.. +..h......####g +.............. +.............. +.............. +.............. +Bonus: +.............m +.............. +.............. +.............. +.............. +.....5........ +.............. +.............. +.............. +....5......... +.............. +.............. +..........5... +.............. +.............. +.............. +.............. +.............. +Level: +G +Get The Corners! +Bricks: +!#!#!#!!#!#!#! +##!#!#!!#!#!## +!!!#!#!!#!#!!! +####!#!!#!#### +!!!!!#!!#!!!!! +######!!###### +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!cc!!!!!! +......cc...... +Bonus: +m555555555555m +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +gggggggggggggg +55555555555555 +}}}}}}}}}}}}}} +......mm...... +.............. +Level: +G +Tricky! +Bricks: +...#!....!#... +.!.#......#.!. +.!.#..##..#.!. +.....#..#..... +##..##!!##..## +.....#..#..... +.###.#!!#.###. +...#......#... +.!.#......#.!. +...#......#... +.!.#......#.!. +...#......#... +####......#### +@............@ +.............. +.............. +.............. +.............. +Bonus: +555..5..5..555 +5.5.55..55.5.5 +5.5........5.5 +555...55...555 +.............. +......55...... +.............. +555...55...555 +5.5........5.5 +555........555 +5.5........5.5 +555........555 +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Oddity +Bricks: +.#.d.d.dd.d.#. +.............. +#.#.d.dd.d.#.# +.............. +.#.#.d.dd.#.#. +.............. +.............. +#.#.#.##.#.#.# +.............. +.............. +.#.#.d.dd.#.#. +.............. +.............. +#.#.d.dd.d.#.# +.............. +.............. +.#.d.d.dd.d.#. +.............. +Bonus: +...5.5.55.5... +.............. +....5.55.5.... +.............. +.....5.55..... +.............. +.............. +.............. +.............. +.............. +.....4.44..... +.............. +.............. +....4.44.4.... +.............. +.............. +...4.4.44.4... +.............. +Level: +Nethippy +Octuple Plusungood +Bricks: +d.g.dgggd.g.d@ +.###.###.###.@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +.ddd.ddd.ddd.@ +.ddd.ddd.ddd.@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +i###i###i###i@ +hh.ihi.ihi.hh@ +i###i###i###i@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +.ddd.ddd.ddd.@ +.ddd.ddd.ddd.@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +.###.###.###.@ +Bonus: +l.m.lmmml.m.l5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +>555>555>555>5 +}}.>}>.>}>.}}5 +>555>555>555>5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +Level: +G +Double Columns +Bricks: +#............. +#!!!!!!!!!!!!! +#!#d#d#d#d#d#! +#!#d#d#d#d#d#! +#!#d#d#d#d#d#! +#!#d#d#d#d#d#! +!!#d#d#d#d#d#! +!!#d#d#d#d#d#! +!############! +!############! +!#h#h#h#h#h#!! +!#h#h#h#h#h#!! +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!!!!!!!!!!!!!@ +Bonus: +5............. +52222222222222 +52555555555552 +52555555555552 +52555555555552 +52555555555552 +22555555555552 +225l555m555l52 +25555555555552 +25555555555552 +25555555555522 +25555555555522 +25555555555525 +25555555555525 +25555555555525 +25555555555525 +25454545454525 +22222222222225 +Level: +Nethippy +Kaboom! +Bricks: +.....!!!!..... +..!!!!**!..... +..!**!*!!!!!.. +.!!********!.. +.!******!!*!!. +.!!!*!******!. +..!**!**!*!*!. +..!*!!**!*!*!. +..!*!!**!!!*!. +..!!!!**!.!!!. +.....!**!..... +.....!**!..... +....!!**!!.... +....!****!.... +..!!!****!!!.. +!!!********!!! +!************! +************** +Bonus: +.5555....5.... +.5.......5555. +55..........5. +5...........55 +5............5 +5............5 +55...........5 +.5...........5 +.5...........5 +.5.......5...5 +.5555....55555 +...55....55... +...5......5... +.555......555. +55..........55 +.............. +.............. +.............. +Level: +Nethippy +Frigid Surprise! +Bricks: +!!!!!!!!!!!!!! +.............. +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +Bonus: +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..{{{{{{{{{{{{ +Level: +G +Yellow Demon +Bricks: +......h....... +.....hhhh...h. +........h..hhh +.....hhhh.hh.. +....hhhhhhh... +....hhhhhhh.h. +....h.hhhhhhh. +....hdhhhhh..h +....hddhhh.... +....h.hhh.dd.h +....hhh.h.dd.h +...hj...hh..h. +...hj...jh.h.. +...hj...j.hh.. +...h.j.j..hh.. +...hh.hhhhh... +....hhh....... +.............. +Bonus: +......>....... +............*. +...........55> +..........55.. +.........l5... +.............. +.............. +.....f........ +.....ff....... +..........ff.. +..........ff.. +....~......... +....~...~..... +....~...~..... +.....~.~...... +.............. +.............. +.............. +Level: +G +Treasure Box +Bricks: +.............. +!!!!!!!!!!!!!! +!zzzzzzzzzzzz! +!zccccccccccz! +!zc########cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc########cz! +!zccccccccccz! +!zzzzzzzzzzzz! +!!!!!!!!!!!!!! +.............. +Bonus: +.............. +22222222222222 +23333333333332 +234}}}mm}}}432 +234gggggggg432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234gggggggg432 +23444444444432 +23333333333332 +22222222222222 +.............. +Level: +G +Everything But The... +Bricks: +.............. +.............. +.............. +cccccccccccccc +dddddddddddddd +cccccccccccccc +.............. +.............. +cccccccccccccc +gggggggggggggg +cccccccccccccc +.............. +.............. +cccccccccccccc +hhhhhhhhhhhhhh +cccccccccccccc +.............. +.............. +Bonus: +.............. +.............. +.............. +*0g3>-l1s1c}1f +.Wpd?1f0b.&w0. +0Wd+cf!}0<10>+ +.............. +.............. +3l}-1js3-5?>53 +.W.b00d44b.~.. +g?3&>+c<{2f2-* +.............. +.............. +>}0143242-Wgf> +b1-w..c.c.s.b. +fj{0?2p2Wg......>... +.............. +.............. +.............. +.............. +.............. +......>>...... +.............. +.............. +.............. +Level: +Nethippy +Boom Boxes +Bricks: +.............. +zzz.zzz.zzz... +z*z.z*z.z*z... +zzz.zzz.zzz... +.............. +.zzz.zzz.zzz.. +.z*z.z*z.z*z.. +.zzz.zzz.zzz.. +.............. +..zzz.zzz.zzz. +..z*z.z*z.z*z. +..zzz.zzz.zzz. +.............. +...zzz.zzz.zzz +...z*z.z*z.z*z +...zzz.zzz.zzz +.............. +.............. +Bonus: +.............. +fff.???.555... +f.f.?.?.5.5... +fff.???.555... +.............. +.+++.44l.ggg.. +.+.+.4.4.g.g.. +.+++.444.ggg.. +.............. +..WWW.bbb.-+-. +..W.W.b.b.+.+. +..WWW.bbb.-+-. +.............. +...>>>........ +...>.>........ +...>>>........ +.............. +.............. +Level: +Nethippy +Graybar +Bricks: +v............v +.............. +.............. +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +zzzzzzzzzzzzzz +vvvvvvvvvvvvvv +cccccccccccccc +bbbbbbbbbbbbbb +aaaaaaaaaaaaaa +.............. +.............. +.............. +.............. +.............. +Bonus: +l............l +.............. +.............. +.............. +55555555555555 +.............. +?............? +.............. +55555555555555 +>>>>>>>>>>>>>> +f............f +ff..........ff +>>>>>>>>>>>>>> +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Chaostars +Bricks: +.............. +.h.h.h.h.h.h.. +..!.h!h.!.h!h. +.h.h.h.h.h.h.. +.............. +..h.h.h.h.h.h. +.h!h.!.h!h.!.. +..h.h.h.h.h.h. +.............. +.h.h.h.h.h.h.. +..!.h!h.!.h!h. +.h.h.h.h.h.h.. +.............. +..h.h.h.h.h.h. +.h!h.!.h!h.!.. +..h.h.h.h.h.h. +.............. +.............. +Bonus: +.............. +.????????????. +.????????????. +.????????????. +.............. +.????????????. +.????????????. +.????????????. +.............. +.????????????. +.????????????. +.????????????. +.............. +.????????????. +.????????????. +.????????????. +.............. +.............. +Level: +G +Tough Shoot +Bricks: +j............j +EEEEEE..EEEEEE +.............. +!....E..E....! +EEEEEE..EEEEEE +j............j +EEE........EEE +E....E..E....E +E.!.!E..E!.!.E +E....E..E....E +EEEEEE..EEEEEE +dEdEhE..EhEdEd +dEdEhE..EhEdEd +dEdEhE..EhEdEd +.............. +.............. +.............. +.............. +Bonus: +l............l +.............. +55..........55 +.5..........5. +.............. +l............l +.............. +.5555....5555. +.5.5......5.5. +.5555....5555. +.............. +w.w.w....w.w.w +w.w.>....>.w.w +w.>.>....>.>.w +.............. +.............. +.............. +.............. +Level: +G +TCS #9 +Bricks: +g.@@@@@@@@@@.g +..@@@@@@@@@@.. +..@@@@!!@@@@.. +..@@@!!!!@@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@@!!!!@@@.. +..@@@@!!@@@@.. +..@@@@@@@@@@.. +..@@@@@@@@@@.. +Bonus: +m.l........l.m +.............. +....g}55}g.... +....}5555}.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....}5555}.... +....g}55}g.... +.............. +.............. +Level: +G +Baseball +Bricks: +.............. +.............. +.....jjjj..... +....djjjjd.... +...jjdjjdjj... +..jjjdjjdjjj.. +..jjjdjjdjjj.. +..jjjdjjdjjj.. +..jjjdjjdjjj.. +...jjdjjdjj... +....djjjjd.... +.....jjjj..... +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +....b....b.... +.............. +.............. +......ww...... +.............. +.............. +.............. +....b....b.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Yes, it's Tough! +Bricks: +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +Bonus: +55555555555555 +5.5.5.5.5.5.ml +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5m5.5.5.5l5.5. +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5.5.5l5.5.5.5. +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5l5.5.5.5.5.5. +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5.5.5.5.5.5.5. +Level: +G +Dangerous +Bricks: +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +Bonus: +5555555555555m +.5.5.W.f.5.5.5 +cj555g5j5bj5c5 +5.f.w.b.W.5.5. +55g55{55*55555 +.j.5.5.5.g.5.5 +55gf5jb~*5Wbj5 +5.5.w.5.5.5.5. +5bc55W5j{5b5bb +.5.5.5.5.5.5.5 +55j5gc555W5555 +b.5.>.5.5.5.5. +555W55f555j555 +.5.5.5.5.5.5.5 +5b555{55555c55 +5.j.>.5.5.f.5. +W555555>555>55 +.5.5.>.5.>.5.5 +Level: +Nethippy +Hard Shot +Bricks: +.E..........gg +.............g +.E............ +.E............ +.E.....hh..... +.E....iiii.... +.E...ajjjja... +.E..ijcbbcji.. +.E.hijbvvbjih. +.E.hijbvvbjih. +.E..ijcbbcji.. +.E...ajjjja... +.E....iiii.... +.E.....hh..... +.E............ +.Eg..........g +.Egg........gg +..EEEEEEEEEEEE +Bonus: +.............l +.............. +.............. +.............. +.............. +......2222.... +.....333333... +....23444432.. +...b23455432b. +...b23455432b. +....23444432.. +.....333333... +......2222.... +.............. +.............. +.............. +..l..........l +.............. +Level: +G +Stars! +Bricks: +.............. +..@.......@... +.@h@.@a@.@h@.. +..@...@...@... +.............. +..@...@...@... +.@h@.@h@.@h@.. +..@...@...@... +.............. +..@...@...@... +.@h@.@h@.@h@.. +..@...@...@... +.............. +..@...@...@... +.@h@.@h@.@h@.. +..@...@...@... +.............. +.............. +Bonus: +.............. +..5.......5... +.5l5.5m5.5l5.. +..5...5...5... +.............. +..5...5...5... +.5.5.5.5.5.5.. +..5...5...5... +.............. +..5...5...5... +.5.5.5.5.5.5.. +..5...5...5... +.............. +..5...5...5... +.5m5.5.5.5m5.. +..5...5...5... +.............. +.............. +Level: +G +Rainbow +Bricks: +.k.j.i.h.g.f.g +e.k.j.i.h.g.f. +.e.k.j.i.h.g.f +d.e.k.j.i.h.g. +.d.e.k.j.i.h.g +e.d.e.k.j.i.h. +.e.d.e.k.j.i.h +k.e.d.e.k.j.i. +.k.e.d.e.k.j.i +j.k.e.d.e.k.j. +.j.k.e.d.e.k.j +i.j.k.e.d.e.k. +.i.j.k.e.d.e.k +h.i.j.k.e.d.e. +.h.i.j.k.e.d.e +g.h.i.j.k.e.d. +.g.h.i.j.k.e.d +f.g.h.i.j.k.e. +Bonus: +.l.....}.....g +......{.{..... +.....f...f.g.. +....f.....f... +...~...w.g.~.. +............g. +.......g...... +b.b.b.b.b.g.b. +.....g........ +..*.....g...*. +...g.......... +......g....... +.g............ +f...g.......f. +.............. +..g........... +.............l +g.f.........f. +Level: +G +UUU +Bricks: +.............. +.#.#.#..#.#.#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.###.####.###. +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +Bonus: +.............. +.............. +..5...55...5.. +..5...55...5.. +..5...55...5.. +..5...55...5.. +..5...55...5.. +..5...55...5.. +.............. +.............. +l333333333333l +.............. +33333333333333 +.............. +33333333333333 +.............. +22222222222222 +.............. +Level: +G +Maziac +Bricks: +cvcvcv..vcvcvc +vcvcvc..cvcvcv +######..###### +zzz#......#zzz +zzz#......#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zz...#vv#...zz +z....#vv#....z +#####.vv.##### +#............# +#.#.#.##.#.#.# +#...#....#...# +##.########.## +Bonus: +l.4.4....4.4.l +m4.4.4..4.4.4m +.............. +555........555 +555........555 +555...33...555 +555...33...555 +555...33...555 +555...33...555 +555...33...555 +555...33...555 +55....33....55 +5.....33.....5 +......33...... +.............. +.............. +.............. +.............. +Level: +G +It's A Big Plus! +Bricks: +@@..........@@ +@....#..#....@ +.....#..#..... +....z#..#z.... +...zz#..#zz... +..zzz#..#zzz.. +.zzzz#..#zzzz. +.#####..#####. +.#zzzz..zzzz#. +.#zzzz..zzzz#. +.#####..#####. +.....#..#..... +.....#..#..... +....z#..#z.... +...zz#..#zz... +..zzz#..#zzz.. +.zzzz#..#zzzz. +######..###### +Bonus: +.............. +.............. +.............. +....5....5.... +...55....55... +..555....555.. +.5555....5555. +.............. +..555l..l555.. +..555l..l555.. +.............. +.............. +.............. +....5....5.... +...55....55... +..555....555.. +.555m....m555. +.............. +Level: +Nethippy +Graybar +Bricks: +.............. +.............. +.............. +.cccccccccccc. +.cbbbbbbbbbbc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbbbbbbbbbbc. +.cccccccccccc. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.............. +.............. +.............. +Level: +G +Waste Of Time +Bricks: +#cccccccccccc# +c#cccccccccc#c +cc#cccccccc#cc +ccc#cccccc#ccc +cccc#cccc#cccc +ccccc#cc#ccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +ccccc#..#ccccc +cccc#cccc#cccc +ccc#cccccc#ccc +cc#cccccccc#cc +c#cccccccccc#c +#cccccccccccc# +Bonus: +.555555555555. +5.5555555555.5 +55.55555555.55 +555.555555.555 +5555.5555.5555 +55555.55.55555 +555555..555555 +555555..555555 +555555..555555 +555555..555555 +555555..555555 +555555..555555 +55555....55555 +5555.5555.5555 +555.555555.555 +55.55555555.55 +5.5555555555.5 +.555555555555. +Level: +G +Imperial Fleet +Bricks: +.....c........ +...ccc........ +.cccccg....... +.............. +.............. +.............. +........cc.... +......cccc.... +....ccccccg... +.............. +.............. +............c. +...cc.....ccc. +.cccc...cccccg +cccccg........ +.............. +.............. +.............. +Bonus: +.....2........ +...222........ +.22222f....... +.............. +.............. +.............. +........22.... +......2222.... +....222222f... +.............. +.............. +............2. +...22.....222. +.2222...22222f +22222f........ +.............. +.............. +.............. +Level: +G +Terrible Trouble +Bricks: +ccccchhhhccccc +ccccchhhhccccc +ccccchhhhccccc +@@@@@hhhh@@@@@ +cccc@hhhh@cccc +ccc.@.hh.@.ccc +cc..@.hh.@..cc +c...@.hh.@...c +....@.hh.@.... +zz@...hh...@zz +zz@.hhhhhh.@zz +zz@.hhhhhh.@zz +zz@.hhhhhh.@zz +zz@........@zz +zz@@@c@@c@@@zz +zzzz@c@@c@zzzz +zzzz@c@@c@zzzz +@@@@#c##c#@@@@ +Bonus: +l5555....5555l +55555....55555 +55555....55555 +.............. +m555......555m +555........555 +55..........55 +5............5 +.............. +55..........55 +55..........55 +55..........55 +55..........55 +55..........55 +55...>..<...55 +5555.>..<.5555 +5555.>..<.5555 +.....>..<..... +Level: +G +Baskets +Bricks: +i............i +ihh........hhi +ihhi#....#.hhi +ihhi#....#ihhi +ihhi#....#ihhi +ihhi#....#ihhi +ihhi#....#ihhi +zzzz#....#zzzz +#####....##### +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +4............4 +4............4 +4............4 +4............4 +4............4 +4............4 +4............4 +5555......5555 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Invisible +Bricks: +v.v........v.v +..v........v.. +..v........v.. +..v..v..v..v.. +..v..v..v..v.. +.vvvvv..vvvvv. +.....v..v..... +.....v..v..... +.v.vvv..vvv.v. +.v..........v. +.v..........v. +.v..........v. +.vvvvvvvvvvvv. +...v......v... +...v.v..v.v... +...v.v..v.v... +vvvv.vvvv.vvvv +.............. +Bonus: +w.5........5.w +..5........5.. +..5........5.. +..5..5..5..5.. +..5..5..5..5.. +.55555..55555. +.....5..5..... +.....5..5..... +.b.555..555.b. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Nethippy +Spiral Doom +Bricks: +EEEEEEEEEEEEEE +Ea..........bE +Ea..........bE +E.EEEEEEEEEE.E +E.Ev.......E.E +E.Ev.......E.E +E.E.EEEEE..E.E +E.E.Ehhhh..E.E +E.E.Ehddh..E.E +E.E.Ehddh..E.E +E.E.Ehddh..E.E +E.E.Ehddh..E.E +E.E.Ehddh..E.E +E.E.Ehhhh..E.E +E.E.EEEEEEEE.E +E.Ec........cE +E.Ec........cE +E.EEEEEEEEEEEE +Bonus: +.............. +.>..........>. +.>..........>. +.............. +...>.......... +...>.......... +.............. +.....4444..... +.....4554..... +.....4554..... +.....4554..... +.....4554..... +.....4554..... +.....4444..... +.............. +...>........>. +...>........>. +.............. +Level: +G +Linear Structure +Bricks: +.............. +.#.#.#.#.#.#.# +i.i.i.i.i.i.i. +i.i.i.i.i.i.i. +.#.#.#.#.#.#.# +i.i.i.i.i.i.i. +i.i.i.i.i.i.i. +.#.#.#.#.#.#.# +i.i.i.i.i.i.i. +i.i.i.i.i.i.i. +.#.#.#.#.#.#.# +i.i.i.i.i.i.i. +i.i.i.i.i.i.i. +.#.#.#.#.#.#.# +i.i.i.i.i.i.i. +i.i.i.i.i.i.i. +.#.#.#.#.#.#.# +.............. +Bonus: +.............. +.............. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +.............. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +.............. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +.............. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +.............. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +.............. +.............. +Level: +G +TCS #3 +Bricks: +###!######!### +#!#!#!##!#!#!# +#!#!#!##!#!#!# +#!#!#!##!#!#!# +###!######!### +#!###!##!###!# +#!#!#!##!#!#!# +#!#!#!##!#!#!# +#!#!#!##!#!#!# +#!###!##!###!# +#!!!######!!!# +#!!!#!##!#!!!# +#!!!#!##!#!!!# +#!!!#!##!#!!!# +############## +g............g +.............. +.............. +Bonus: +...5..ll..5... +.5.5.5..5.5.5. +.5.5.5..5.5.5. +.5.5.5..5.5.5. +...5......5... +.5...5..5...5. +.5.5.5..5.5.5. +.5.5.5..5.5.5. +.5.5.5..5.5.5. +.5...5..5...5. +.555......555. +.555.5..5.555. +.555g5}}5g555. +.555g5}}5g555. +....g.}}.g.... +m............m +.............. +.............. +Level: +Nethippy +Symmetric Death II +Bricks: +iehgcddddcghei +eehhEddddEhhee +eehhhdEEdhhhee +eEghEdEEdEhgEe +iiEghddddhgEii +iiiEEEddEEEiii +iiEgEkddEEgEii +jEggEkddkEggEj +jjggEEjjjEggjj +jjggEEEEjEggjj +jjggEEddkEggjj +EjgEEjddkEEgjE +kjkkEkjjEEkkjk +vvvvEkEEEEvvvv +vEEvEkddEEvEEv +vvvvEkddkEvvvv +kkkkEEjjkEkkkk +EEEEEEEEkEEEEE +Bonus: +l}}}l5555l}}}l +5555.5555.5555 +555555..555555 +5.*555..555*.5 +55.*55}}55*.55 +55*...}}...*55 +55.*.>}}..*.55 +5.55.>}}<.55.5 +5555..ll<.5555 +5555....<.5555 +5555..ll<.5555 +.55..>55<..55. +*55*.>ll..*55* +5555.>....5555 +5..5.>55..5..5 +5555.>55<.5555 +......55<..... +........<..... +Level: +G +I'll Finish You Here! +Bricks: +....E...E...EE +!!..........!E +!E....E...E... +E....E...E.... +....E...E...E. +..!E...E...E.. +..E!..E...E..! +...E!E...E.... +E...E!..E...E. +!E...E!E...E.. +!.E...E!..E..! +!..E...E!E.... +E...E...E!..E. +!E...E...E!E.. +!.E...E...E!.E +!..E...E...E.! +E...E...E...E! +!E...E...E...E +Bonus: +555........5.. +555........55. +5.5........555 +.5............ +.555.......... +..5.5.......55 +.5.555......55 +..5.5.5.....55 +.5.5.555...... +5...5.5.5...55 +55...5.555..55 +55....5.5.5.55 +.5.....5.555.. +5.......5.5.5. +55.......5.55. +55........5.ll +.5...........l +5...........l. +Level: +G +Symmetric Death IV +Bricks: +cEEEEEEEEEEEEc +cEcEcEccEcEcEc +bEcEcEccEcEcEb +aEbEbEbbEbEbEa +...E.EaaE.E... +EE.E.EaaE.E.EE +cE...EaaE...Ec +cEEE.EaaE.EEEc +bEbE.E..E.EbEb +aEaE......EaEa +.E.EEE..EEE.E. +.E..........E. +.EEEEE..EEEEE. +.EEEEE..EEEEE. +.............. +EEEEEE..EEEEEE +cba........abc +EEEEEE..EEEEEE +Bonus: +5............5 +5.5.5.55.5.5.5 +..5.5.55.5.5.. +>............> +......ff...... +......ff...... +5.....ff.....5 +5.....ff.....5 +.............. +>.>........>.> +.............. +.............. +.............. +.............. +.............. +.............. +5.>........>.5 +.............. +Level: +G +TCS #16 +Bricks: +E!!!!!EE!!!!!E +!!!!!!EE!!!!!! +!!###!EE!###!! +!!###!!!!###!! +!!##########!! +!!!########!!! +E!!##E!!E##!!E +!!!##!!!!##!!! +!!!##!!!!##!!! +!!!##!!!!##!!! +!!!##!!!!##!!! +E!!##!!!!##!!E +!!!##E!!E##!!! +!!!########!!! +!!##########!! +E!###g..g###!E +#####....##### +#####@..@##### +Bonus: +.55555..55555. +555555..555555 +55.j.5..5.j.55 +55...5555...55 +55....jj....55 +555j......j555 +.55...55...55. +555..5555..555 +555j.5555.j555 +555..5555..555 +555..5555..555 +.55jg5555gj55. +555.g.55.g.555 +555.gg}}gg.555 +55...g}}g...55 +.5...m..m...5. +.............. +.............. +Level: +G +Maziac +Bricks: +#########ccccc +ccc#c####ccccc +ccc#c####c#### +c#c#cccc#c#### +c#c#cccc#c#ccc +c#c###c##c#ccc +c#c###c##c#c#c +ccc#cccc#c#c#c +ccc#cccc#c#c#c +c#c####c#c#c## +c#c####c#c#c## +c#c#cccccccccc +c#c#cccccccccc +c#ccc########c +c#ccc########c +c#c#cccc#ccccc +c#c#cccc#ccccc +c############# +Bonus: +.........55555 +1m1.l....45555 +011.3....4.... +0.1.3333.4.... +0.1.33j3.4.555 +0.1...3..4.445 +0.1...3..4.4.5 +0m1.3333.4.4.5 +001.3333.4.4.l +0.1....3.4.4.. +0.1....2.3.3.. +0.1.22223j3344 +0.1.2222233334 +0.112........4 +0.222........4 +0.2.2222.55544 +0.l.2222.55555 +0............. +Level: +G +Symmetry Finale +Bricks: +e............e +@@@@.@hh@.@@@@ +e..@.@@@@.@..e +@............@ +@@@@.@@@@.@@@@ +e..@.@ee@.@..e +@............@ +@@@@......@@@@ +e..@......@..e +@............@ +@@@@.!..!.@@@@ +e..@......@..e +@............@ +@@@@......@@@@ +e..@.!..!.@..e +@............@ +@@@@......@@@@ +#####.##.##### +Bonus: +l............l +......mm...... +5............5 +.............. +.............. +5.....55.....5 +.............. +.............. +5............5 +....555555.... +....5.55.5.... +5...555555...5 +.............. +....555555.... +5...5.55.5...5 +....555555.... +.............. +.............. +Level: +G +Columns +Bricks: +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +vhhhhhhhhhhh#v +viiiiiiiiii#hv +vjjjjjjjjj#ihv +vkkkkkkkk#jihv +vaaaaaaa#kjihv +vdddddd#akjihv +veeeee#dakjihv +vffff#edakjihv +vggg#fedakjihv +vii#gfedakjihv +vh#igfedakjihv +v#higfedakjihv +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Can U Do It? +Bricks: +vjzjzzzzzzjzjv +#jzjzzzzzzjzj# +jjjjjjjjjjjjjj +jijijjjjjjijij +jijijjjjjjijij +jijijjjjjjijij +jijijjjjjjijij +ffffffffffffff +fhhhhhhhhhhhhf +fhgggggggggghf +fhgddddddddghf +fhgd!!!!!!dghf +fhgd!!!!!!dghf +####!!!!!!#### +...#!!!!!!#... +.#.##@zz@##.#. +.....v..v..... +##.########.## +Bonus: +..5.555555.5.. +..5.555555.5.. +m............m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....555555.... +....555555.... +....555555.... +....555555.... +......ww...... +.............. +.............. +Level: +Nethippy +Brick Bounce +Bricks: +f.e.d.f.g.f.e. +c.c.c.c.c.c.c. +.............. +.d.g.h.h.d.h.g +.c.c.c.c.c.c.c +.............. +f.e.g.d.e.e.d. +c.c.c.c.c.c.c. +.............. +.h.d.g.e.d.h.f +.c.c.c.c.c.c.c +.............. +d.h.f.d.f.h.f. +c.c.c.c.c.c.c. +.............. +.............. +.............. +.............. +Bonus: +.............. +..b.s.......?. +.............. +.............. +.....-...b.... +.............. +..>.......>... +......-....... +.............. +.............. +.....s........ +.............. +.............. +?.......>...+. +.............. +.............. +.............. +.............. +Level: +Nethippy +Big Ass +Bricks: +.............. +.............. +.............. +.............. +...bbbbbbb.... +..EhfffffhE... +.EihfjjjfhiE.. +EihhfffffhhiE. +EiheeeeeeehiE. +Eihe@ddd@ehiE. +Eihee@d@eehiE. +Eihhee@eehhiE. +.Eihhh@hhhiE.. +..Eiih@hiiE... +...EEh@hEEh... +..Ehhh@hhhE... +..Edgg@ggdE... +...EEE@EEE.... +Bonus: +.............. +.............. +.............. +.............. +...0000000.... +....WWWWW..... +..>.WdddW.>... +.>..WWWWW..>.. +.>.bbbbbbb.>.. +.>.b.222.b.>.. +.>.bb.2.bb.>.. +.>..bb.bb..>.. +..>.......>... +...>>...>>.... +..........l... +.............. +...555.555.... +.............. +Level: +G +TCS #11 +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +#!#!#!#!#!#!#! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!@!@!@!@!@!@!@ +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +E!E!E!E!E!E!E! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!@!@!@!@!@!@!@ +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +#!#!#!#!#!#!#! +!!!!!!!!!!!!!! +#!!!!!!!!!!!!# +g############g +Bonus: +55555555555555 +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +55555555555555 +5.5.5.5.5.5.5. +55555555555555 +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +55555555555555 +5.5.5.5.5.5.5. +55555555555555 +55555555555555 +.5.5.5}5}5.5.5 +55555555555555 +.555555555555. +mgggg}}}}ggggm +Level: +Nethippy +Diamondeath +Bricks: +vvvvvvvvvvvvvv +vvvvvv..vvvvvv +vvvvv....vvvvv +vvvv......vvvv +vvv........vvv +vv..........vv +v............v +.............. +......dd...... +......dd...... +.............. +v............v +vv..........vv +vvv........vvv +vvvv......vvvv +vvvvv....vvvvv +vvvvvv..vvvvvv +vvvvvvvvvvvvvv +Bonus: +555555ll555555 +555555..555555 +55555....55555 +5555......5555 +555........555 +55..........55 +5............5 +.............. +......pp...... +......pp...... +.............. +>............> +>>..........>> +>>>........>>> +>>>>......>>>> +>>>>>....>>>>> +>>>>>>..>>>>>> +>>>>>>>>>>>>>> +Level: +Nethippy +Nitey Nite! +Bricks: +.............. +a.a...a.a..... +...........a.. +..a.a.a..a...a +........a..... +.a....a..a.a.. +...a......a... +.a...a.a.....a +...a......a... +.a......a..... +...a...a..a.a. +.a...a........ +.......a...... +..a........a.. +.a..a.a..a...a +.............. +...a.......... +.............. +Bonus: +.............. +>.d...d.5..... +...........d.. +..5.>.d..d...> +........5..... +.d....d..d.d.. +...d......5... +.d...>.d.....d +...d......d... +.5......d..... +...5...>..d.d. +.>...d........ +.......d...... +..5........d.. +.d..d.d..d...> +.............. +...>.......... +.............. +Level: +Nethippy +Stars +Bricks: +.............. +.............. +..E...E...E... +.EgE.EeE.EdE.. +.ggg.eee.ddd.. +.EgE.EeE.EdE.. +..E...E...E... +....E...E..... +...EiE.EjE.... +...iii.jjj.... +...EiE.EjE.... +....E...E..... +......E....... +.....EhE...... +.....hhh...... +.....EhE...... +......E....... +.............. +Bonus: +.............. +.............. +.............. +..5...5...5... +.555.5l5.555.. +..5...5...5... +.............. +.............. +....5...5..... +...555.555.... +....5...5..... +.............. +.............. +......5....... +.....555...... +......5....... +.............. +.............. +Level: +G +Big Tough Wall +Bricks: +hhhhhhhhhhhhhh +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +dddddddddddddd +dddddddddddddd +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +Bonus: +jjjjjjjjjjjjjj +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}g}g}g}g}g}g}g +g}g}g}g}g}g}g} +{W{W{W{W{W{W{W +W{W{W{W{W{W{W{ +{W{W{W{W{W{W{W +W{W{W{W{W{W{W{ +{W{W{W{W{W{W{W +W{W{W{W{W{W{W{ +{W{W{W{W{W{W{W +Level: +G +Symmetric Death III +Bricks: +hh.hhhhhhhh.hh +@@v@@hhhh@@v@@ +@...@ihhi@...@ +@.E.@iiii@.E.@ +@...@giig@...@ +EEvEEggggEEvEE +E...EdggdE...E +E.@.EddddE.@.E +E...E.dd.E...E +@@v@@.@@.@@v@@ +@...@....@...@ +@.E.@@vv@@.E.@ +@...@....@...@ +EEvEE.EE.EEvEE +E...E....E...E +E.@.EEvvEE.@.E +E...E....E...E +EE.EE.EE.EE.EE +Bonus: +l*.ffffffff.*l +..f..>>>>..f.. +.....3>>3..... +.....3333..... +.....4334..... +..f..4444..f.. +.....5445..... +.....5555..... +......55...... +..5........5.. +.............. +......55...... +.............. +..5........5.. +.............. +......55...... +.............. +.............. +Level: +G +TCS #17 +Bricks: +!!!@@!!!!@@!!! +!!!@@!!!!@@!!! +!!!@@!!!!@@!!! +@@@@!!!!!!@@@@ +@@@@!!!!!!@@@@ +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!@@!!@@!!!! +!!!!@@!!@@!!!! +!!!!@@!!@@!!!! +!!!!@@!!@@!!!! +!!!@@@!!@@@!!! +!!!@@!!!!@@!!! +!!!@@!!!!@@!!! +!!!@@@!!@@@!!! +!!@@@@!!@@@@!! +@@@!!@@@@!!@@@ +g@@@!@@@@!@@@g +Bonus: +jjj..5555..jjj +jjj..5555..jjj +555..5555..555 +....555555.... +....555555.... +55555555555555 +55555555555555 +5555..55..5555 +5555..55..5555 +5555..55..5555 +5555..55..5555 +555...55...555 +555..5555..555 +555..5555..555 +555...55...555 +55}}}}55gggg55 +..}}}}..gggg.. +m.}}}}..gggg.m +Level: +G +Snake +Bricks: +.............. +.............. +........zz..z. +.......zzz..z. +......zz.z..z. +......z..z..z. +.....zz.zz..z. +....zz..zz.zz. +....zz..z..z.. +....z..zz..z.. +..zzz..z...z.. +.dzzz..z..zz.. +.zzz..zz..z... +.zzd..z..zz... +.zz...zzzz.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.m............ +.............. +...m.......... +.............. +.............. +.............. +.............. +Level: +Nethippy +O.M.F.G. +Bricks: +.............. +.EEEEEhhEEEEE. +.EgggEhhEgggE. +.EgggEhhEgggE. +.EiiiEhhEiiiE. +.EiiiEhhEiiiE. +.E...EEEE...E. +.E..........E. +.E..........E. +.E...E..E...E. +.E...E..E...E. +.EzzzE..EzzzE. +.EzzzE..EzzzE. +.EhhhE..EhhhE. +.EhhhE..EhhhE. +.EdddE..EdddE. +.EdddE..EdddE. +.EEEEE..EEEEE. +Bonus: +.............. +......55...... +..~f~.55.~f~.. +......55...... +..>>>.55.>>>.. +..>>>.ll.>>>.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..555....555.. +..555....555.. +.............. +Level: +G +Fast & Weak +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +.............. +.............. +Bonus: +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +.............. +.............. +Level: +Nethippy +Bogus Round +Bricks: +dddddddddddddd +dhh.dhhhdhhhdd +dh.hdh.hdh..dd +dhh.dh.hdh.hdd +dh.hdh.hdh.hdd +dhh.dhhhdhhhdd +dddddddddddddd +dddh.hdhhhdddd +dddh.hdh..dddd +dddh.hdhhhdddd +dddh.hd..hdddd +dddhhhdhhhdddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +Bonus: +{{{{{{{{{{{{{{ +{jW.WWWWWWWWj{ +{W.>>>.>>>..W{ +{W>.cc.ccc.>W{ +{W.cj~.~~j.>W{ +{W>.~jddj~c>W{ +{W>c~djjd~c>W{ +{W>c.d--d~c>W{ +{W>c.d--..c>W{ +{W>c.d--d~c>W{ +{W>c.d-..~c>W{ +{W>c~djj.~c>W{ +{W>c~jddj~c>W{ +{W>cj~~~~jc>W{ +{W>jccccccj>W{ +{Wj>>>>>>>>jW{ +{jWWWWWWWWWWj{ +{{{{{{{{{{{{{{ +Level: +G +Hamburger +Bricks: +.............. +.............. +.............. +....eeeeee.... +...eeeeeeee... +...hhhhhhhh... +...dddddddd... +...@@@@@@@@... +...eeeeeeee... +...ffffffff... +...@@@@@@@@... +...dddddddd... +...hhhhhhhh... +...eeeeeeee... +....eeeeee.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +...b......b... +.............. +....>.>.>.>... +.............. +...5.5.5.5.... +....5.5.5.5... +.............. +...>.>.>.>.... +......ww...... +...b......b... +.............. +.............. +.............. +.............. +Level: +G +Hard Shot II +Bricks: +.............. +.EEEE@..@EEEE. +.Ezzz....zzzE. +.Ezcc.EE.cczE. +.Ezch....hczE. +.EzchdiidhczE. +.EzchdiidhczE. +.EzchdiidhczE. +.EzchdiidhczE. +.EzchddddhczE. +.EzchhddhhczE. +.EzcchddhcczE. +.EzzchhhhczzE. +.EEzcccccczEE. +..EzzzzzzzzE.. +E.EEEEEEEEEE.E +.............. +.............. +Bonus: +.............. +.............. +..555....555.. +..555....555.. +..555....555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555}}5555.. +..5555555555.. +...55555555... +...555mm555... +.............. +.............. +.............. +Level: +G +Hell Lattice +Bricks: +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +Bonus: +.............. +..5..5..5..5.. +.5>55.55.55>5. +.5.55.55.55.5. +..5..5..5..5.. +..5..5..5..5.. +.5.55>55>55.5. +.5.55.55.55.5. +..5..5..5..5.. +..5..5..5..5.. +.5.55>55>55.5. +.5.55.55.55.5. +..5..5..5..5.. +..5..5..5..5.. +.5>55.55.55>5. +.5.55.55.55.5. +..5..5..5..5.. +.............. +Level: +G +Column "Fun" +Bricks: +.............. +.............. +c@b@a@..@a@b@c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +######..###### +.............. +Bonus: +.............. +.............. +p.f.f....f.f.p +5.5.f....f.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +l.5.5....5.5.l +.............. +.............. +Level: +G +CrazyBounce +Bricks: +iiiihhhhhhiiii +iiiivggggviiii +iiiivvffvviiii +iiiivvvvvviiii +iiiivvvvvviiii +iiiivvjjvviiii +iiiiveeeeviiii +iiiiddddddiiii +iiiiiiiiiiiiii +iiii......iiii +iiii.@..@.iiii +......@@...... +i@..@.@@.@..@i +@..@..@@..@..@ +.............. +..@..@..@..@.. +i@..@....@..@i +@..@..@@..@..@ +Bonus: +m...ffffff...m +....5ffff5.... +....55ff55.... +....555555.... +....555555.... +....55..55.... +f...5....5...f +ff..........ff +fff........fff +ffff......ffff +ffff......ffff +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Shoot & Dodge +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +.............. +.............. +.............. +.............. +Bonus: +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +p5f>p5f>p5f>p5 +5f>p5f>p5f>p5f +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +p5f>p5f>p5f>p5 +5f>p5f>p5f>p5f +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +p5f>p5f>p5f>p5 +5f>p5f>p5f>p5f +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +.............. +.............. +.............. +.............. +Level: +G +TCS #7 +Bricks: +############## +#!!!!!!!!!!!!# +#!##########!# +#!#!!!!!!!!#!# +#!#!######!#!# +#!#!#!!!!#!#!# +#!#!#!##!#!#!# +#!#!#!#!!#!#!# +#!#!#!#!##!#!# +#!#!#!#!!#!#!# +#!#!#!##!#!#!# +#!#!#!#!!#!#!# +#!#!#!#!##!#!# +#!#!#!####!#!# +#!#!#!!!!!!#!# +#!#!########!# +#!#!!!!!!!!!!# +#############g +Bonus: +.............. +.555555555555. +.5..........5. +.5.55555555.5. +.5.5......5.5. +.5.5.5555.5.5. +.5.5.5..5.5.5. +.5.5.5.55.5.5. +.5.5.5.5..5.5. +.5.5.5.55.5.5} +.5.5.5..5.5.5} +.5.5.5.55.5.5} +.5.5.5.5..5.5} +.5.5.5....5.5} +.5.5.555555.5} +.5.5........5} +.5.5555555555} +....gggggg..mm +Level: +G +Big Zero +Bricks: +.............. +.EEEEEzzEEEEE. +.EE........EE. +.EE.zzzzzz.EE. +.EE.zgggzz.EE. +.EE.zgggzz.EE. +.EE.zggzdz.EE. +.EE.zggzdz.EE. +.EE.zggzdz.EE. +.EE.zggzdz.EE. +.EE.zgzddz.EE. +.EE.zgzddz.EE. +.EE.zgzddz.EE. +.EE.zgzddz.EE. +.EE.zzdddz.EE. +.EE.zzzzzz.EE. +..E........E.. +..EEEEEEEEEE.. +Bonus: +.............. +.............. +.............. +....555555.... +....5...55.... +....5...55.... +....5..5.5.... +....5..5.5.... +....5..5.5.... +....5..5.5.... +....5.5..5.... +....5.5..5.... +....5.5..5.... +....5.5..5.... +....55...5.... +....555555.... +.............. +.............. +Level: +G +A Toughie +Bricks: +!!!!!!!!!!!!!! +###.########## +kkkkkkkkkkkkkk +#########k#### +jjjjjjjjjjjjjj +######k####### +ffffffffffffff +############k# +eeeeeeeeeeeeee +##k########### +dddddddddddddd +#########k#### +gggggggggggggg +####k######### +iiiiiiiiiiiiii +k############# +hhhhhhhhhhhhhh +#############. +Bonus: +55555555555m55 +...5.......... +55555555555555 +.........l.... +55555555555555 +.............. +5555m555555m55 +............l. +55555555555555 +.............. +55555555555555 +.........l.... +55555555555555 +.............. +55555555555555 +l............. +5555mwwwwwwwww +.............. +Level: +G +Jedi Adventure End +Bricks: +vvvvvvvvvvvvv@ +v***v*v*v***v@ +vv*vv*v*v*vvv@ +@v*vv***v***v@ +@v*vv***v***v@ +@v*vv*v*v*vvv@ +@v*vv*v*v***v@ +vvvvvvvvvvvvvv +v***v**v*v***v +v*vvv**v*vv*v* +v***v*v**vv*v* +v***v*v**vv*v* +v*vvv*vv*vv*v* +v***v*vv*v***v +vvvvvvvvvvvvvv +.............. +.............. +.............. +Bonus: +.fff>...>...>. +.555.5f5.555.. +>.5f.5f5f5ff.. +..5..555.555.. +..5.>555>555.. +..5f.5f5.5ff.. +..5..5f5.555f. +>...>....>.... +.555.55f5.555. +.5ff.55f5..5f5 +.555.5f55.f5f5 +.555>5f55>.5f5 +.5ff.5..5..5f5 +.555.5..5.555. +>.f.>..f.>...f +.............. +.............. +.............. +Level: +G +Fun City End +Bricks: +!!!.!.!.!!!... +.!..!.!.!..... +.!..!!!.!!!... +.!..!.!.!..... +.!..!.!.!!!... +.............. +.............. +.!!!.!..!.!!.. +.!...!!.!.!.!. +.!!!.!.!!.!.!. +.!...!..!.!.!. +.!!!.!..!.!!.. +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +...5.5.5...5.. +5.55.5.5.555.. +5.55...5...5.. +5.55.5.5.555.. +5.55.5.5...5.. +555555555555.. +5555555555555. +5...5.55.5..55 +5.555..5.5.5.5 +5...5.5..5.5.5 +5.555.55.5.5.5 +5...5.55.5..55 +5555555555555. +.............. +.............. +.............. +ffffffffffffff +>>>>>>>>>>>>>> +Level: +G +TrickShot End +Bricks: +############## +#ccc##c#c#ccc# +##c###c#c#c### +c#c#c#ccc#ccc# +.#c#.#c#c#ccc# +.#c#.#c#c#c### +.#c#.#c#c#ccc# +.###.######### +.............. +############.. +ccc#c###cc##.. +c###cc##c#c#.. +ccc#c#c#c#c#.. +ccc#c#c#c#c#.. +c###c#c#c#c#.. +ccc#c#c#cc##.. +###########... +.............. +Bonus: +.............. +.555..5.5.555. +..5...5.5.5... +m.5.m.555.555. +..5...5.5.555. +..5...5.5.5... +..5...5.5.555. +.............. +.............. +.............. +555.5...55.... +5...55..5.5... +555.5.5.5.5... +555.5.5.5.5... +5...5.5.5.5... +555.5.5.55.... +.............. +.............. +Level: +G +Fatal Doomsday End +Bricks: +.............. +ddddd.d.d.dddd +d.d.d.d.d.d... +..d...ddd.ddd. +..d...d.d.d... +..d...d.d.dddd +.............. +dddd.d..d.ddd. +d....dd.d..d.d +ddd..d.dd..d.d +d....d..d..d.d +dddd.d..d.ddd. +.............. +.............. +!...!...!...!. +..!...!...!... +.............. +vvvvvvvvvvvvvv +Bonus: +.............. +fffff.f.f.ffff +f.f.f.f.f.f... +..f...fff.fff. +..f...f.f.f... +..f...f.f.ffff +.............. +ffff.f..f.fff. +f....ff.f..f.f +fff..f.ff..f.f +f....f..f..f.f +ffff.f..f.fff. +.............. +.............. +~...~...~...~. +..~...~...~... +.............. +>>>>>>>>>>>>>> +Level: +G +Wonder Walls End +Bricks: +ccc.c.c.cccc.. +.c..c.c.c..... +.c..ccc.ccc... +.c..c.c.c..... +.c..c.c.cccc.. +.............. +.ccc.c...c.cc. +.c...cc..c.c.c +.cc..c.c.c.c.c +.c...c..cc.c.c +.ccc.c...c.cc. +.............. +cccccccccccccc +cccccccccccccc +cccccccccccccc +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.5555.. +.............. +.555.5...5.55. +.5...55..5.5.5 +.55..5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +G +Fatal Doomsday II End +Bricks: +zzz.z.z.zzz.@@ +.z..z.z.z....@ +.z..zzz.zzz... +.z..z.z.z..... +.z..z.z.zzz... +.............. +.zzz.z...z.zz. +.z...zz..z.z.z +.zzz.z.z.z.z.z +.z...z..zz.z.z +.zzz.z...z.zz. +.............. +z..z....zz.... +zz@@@zz@@@@zz@ +zzz@zzzzz@zzzz +z@zzz@@@zzz@@z +...z..z..z.... +.............. +Bonus: +555.5.5.555... +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.555... +.............. +.555.5...5.55. +.5...55..5.5.5 +.555.5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +*..*....**.... +}}...}}....}}. +.............. +.............. +.............. +.............. +Level: +G +Patience End +Bricks: +@@@@@@@@@@@@@@ +@vvv@@v@v@@vv@ +@@v@@@v@v@@v@@ +@@v@@@vvv@@vv@ +@@v@@@v@v@@v@@ +@@v@@@v@v@@vv@ +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +@vvv@v@@v@vvv@ +@v@@@vv@v@@v@v +@vvv@v@vv@@v@v +@v@@@v@@v@@v@v +@vvv@v@@v@vvv@ +@@@@@@@@@@@@@@ +hhhhhhhhhhhhhh +iiiiiiiiiiiiii +gggggggggggggg +!!!!!!!!!!!!!! +Bonus: +55555555555555 +5...55.5.55..5 +55.555.5.55.55 +55.555.m.55..5 +55.555.5.55.55 +55.555.5.55..5 +55555555555555 +55555555555555 +5...5.55.5...5 +5.555..5.55.5. +5...5.5..55.5. +5.555.55.55.5. +5...5.55.5...5 +55555555555555 +m~>W......W>~m +~~>W......W>~~ +>>>W......W>>> +WWWW......WWWW +Level: +G +P.I.T.A. End +Bricks: +************** +hhh*h*h*hhh*** +*h**h*h*h***** +*h**hhh*hhh*** +*h**h*h*h***** +*h**h*h*hhh*** +************** +hhh*h**h*hhh** +h***hh*h**h*h* +hh**hh*h**h*h* +h***h*hh**h*h* +hhh*h**h*hhh** +************** +EEEEEEEEEEEEE* +************** +*******E****** +EEEEEEE*EEEEEE +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +f.f.f.f..f.f.f +f.f.f.f..f.f.f +.............. +.............. +Level: +G +Weirdness End +Bricks: +eeeeeeeeeeeeee +@@@@@e@e@e@@@e +@e@e@e@e@e@eee +ee@eee@@@e@@ee +ee@eee@e@e@eee +ee@eee@e@e@@@e +eeeeeeeeeeeeee +@@@@e@ee@e@@ee +@eeee@@e@e@e@e +@@@ee@e@@e@ee@ +@eeee@ee@e@ee@ +@@@@e@ee@e@@@e +eeeeeeeeeeeeee +.............. +.............. +.............. +.............. +.............. +Bonus: +f.f.f.f.f.f.f. +55555.5.5.555. +5m5.5.5m5.5m.. +..5...555.55.. +..5...5.5.5... +..5...5.5.555. +.f.f.f.f.f.f.f +5555.5..5.55.. +5....55m5.5.5m +555..5.55.5..5 +5m...5..5.5..5 +5555.5..5.555. +f.f.f.f.f.f.f. +.............. +.............. +.............. +.............. +.............. +Level: +G +Lattices End +Bricks: +d.d.d.d.d.d.d. +.d.d.d.d.d.d.d +h.h.h.h.h.hhh. +.d.d.d.d.d.d.d +d.h.d.h.h.h.d. +.d.d.d.h.d.hhd +d.h.d.h.h.h.d. +.d.d.d.d.d.d.d +d.h.d.h.h.hhh. +.d.d.d.d.d.d.d +hhh.h.dhdhdhd. +.d.d.d.d.d.dhd +h.d.hhdhd.h.d. +.hhd.d.d.d.dhd +h.d.h.hhd.h.d. +.d.dd.d.dd.dhd +hhhdhd.h.hdh.d +d.d.d.d.d.d.d. +Bonus: +f.f.f.f.f.f.f. +.f.f.f.f.f.f.f +5.5.5.5.5.555. +.~.~.~.~.~.~.~ +..5...5.5.5... +.......5...55. +>.5.>.5.5.5.>. +.............. +..5...5.5.555. +.............. +555.5..5.5.5.. +............5. +5...55.5..5... +.55.........5. +5...5.55..5... +............5. +555.5..5.5.5.. +>.>.>.>.>.>.>. +Level: +G +End Of The End +Bricks: +vvvvvvvvvvvvvv +.............v +.@@@.@.@.@@@.v +..@..@.@.@...v +v.@..@@@.@@@.v +v.@..@.@.@...v +v.@..@.@.@@@.v +.............. +.@@@.@..@.@@@. +.@...@@.@..@.@ +.@@@.@.@@..@.@ +.@...@..@..@.@ +.@@@.@..@.@@@. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +55555555555555 +.............5 +.............5 +.............5 +5............5 +5............5 +5............5 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +Level: +G +T.C.S. End +Bricks: +############## +#!!!#!#!#!!!## +##!##!#!#!#### +##!##!!!#!!!## +##!##!#!#!#### +##!##!#!#!!!## +############## +#!!!#!###!#!!# +#!###!!##!#!#! +#!!!#!#!#!#!#! +#!###!##!!#!#! +#!!!#!###!#!!# +############## +############## +###@###@###@## +############## +#@###@###@###@ +g############g +Bonus: +gggggggggggggg +>5555555555f55 +555555555f5555 +555f555>555555 +5f555f55555555 +55>5555f555f>5 +5555>555555555 +55555555555555 +jjjjjjjjjjjjjj +55555555555555 +55f55555555555 +55555>5f5f5>55 +55555555555555 +f555f5555555f5 +555555555>5555 +55555555555>55 +555555f5555555 +m5f5>55555555m +Level: +G +The End +Bricks: +ccccccc@@@.... +c..c..c.@..... +c..c..c.@..... +...c....@@...@ +...c.c.c@@@@@@ +...c.c.c@ccc.@ +@..c.ccc@c.... +@@.c.c.c@cc... +@@@c.c.c@c.... +@@@@@@@@@ccc.@ +cccc...@@@@@@@ +c....c...c...@ +c....cc..c.cc. +ccc..c.c.c.c.c +c....c..cc.c.c +c....c...c.c.c +cccc.c...c.cc. +@@@@@@@@@@@@#. +Bonus: +5555555....... +5..5..5....... +5..5..5....... +...5.......... +...5.5.5...... +...5.5.5.555.. +...5.555.5.... +...5.5.5.55... +...5.5.5.5.... +.........555.. +5555.......... +5....5...5.... +5....55..5.55. +m55..5.5.5.5.5 +5....5..55.5.5 +5....5...5.5.5 +5555.5...5.55. +.............. +Level: +G +Secret Bonus Level! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +gggggggggggggg diff --git a/client/levels/Bertrand b/client/levels/Bertrand new file mode 100644 index 0000000..92c7b80 --- /dev/null +++ b/client/levels/Bertrand @@ -0,0 +1,288 @@ +Version: 1.03 +Level: +Bertrand GRONDIN +Big Gummer +Bricks: +@@c...@@..c.@@ +dzdzdzdzdzdzdz +.............. +cccccccccccccc +cccccccccccccc +zhhhhhhhhhhhhh +zh**h**h**h**h +zh**h**h**h**h +zhhhhhhhhhhhhh +zhhhhhhhhhhhhh +##v##v##v##v## +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +x.....yy.....x +.............. +.............. +.............. +.............. +Bonus: +l.5.......5..l +.5.5.5.5.5.5.5 +.............. +f............f +f............f +...-...c...-.. +......mc....m. +..m....c.m.... +.......c...... +.....m.cm..... +..l..?..?..l.. ++*++++**++++*+ +wbwbwbwbwbwbwb +p.....<<.....p +.............. +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Big Gummer +Bricks: +zzvvvvvvvvvvcv +zzvvvvvvvvvvcv +zz@@@@@@@@@@cv +zzcg#!!#!!#!cv +zzcg#!!#!!#!cv +zzcg#!!#!!#!cv +zzcg#!!#!!#!cv +zzcg#!!#!!#!cv +zzcg#!!#!!#!cv +zzcg#!!#!!#!cv +zzcg#!!#!!#!cv +**cg#!!#!!#!** +zzEEEEEEEEEEzz +jjj#vvvvvv#jjj +.............. +.............. +.............. +.............. +Bonus: +*c5555555555c* +dcmmmmmmmmmmcd +WW...--.--..WW +..*p.22.22.p.w +..*p.22.22.p.w +..*p.22.22.p.w +***p.22.22.p.w +..*f.22.22.f.w +..*f.22.22.f.w +gg*+.22.22..gg +{{*+.22.22..{{ +mml+.22.22.lmm +<<..........<< +www.<<<<<<.www +.............. +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Serpentin +Bricks: +!************! +!############! +!#ighhcchjjdh! +!#igh*cc*jj*h! +!#ighhcchjjdh! +!############! +!z*cz*cz*cb!#! +!z*cz*cz*cb!#! +!z*cz*cz*cb!#! +!z*cz*cz*cb!#! +!z*cz*cz*cb!#! +!############! +!!#aaaaaaaa#!! +zzzaaaaaaaazzz +.............. +.............. +.............. +.............. +Bonus: +m...wwwww....m +..?...mm...?.. +..54433322210. +..544l33l2210. +f.54433322210f +......mm...... +?..b......b-.? +...bw..w..b-.. +...bw.mw.mb-.. +f..b......b-.f +w..bl.jj.lb-.w +m.?..****..?.m +*p..gWWWWg..p* +}ww*wj<..f...f.-.> +.m.-...g....m. +.....&...&.... +...*..*..*..*. +.c........c... +...l..?..?.l.. +m............m +.....+..+.&... +.............. +....g....g.... +......j....... +.............. +l....g..g....l +..&.......&... +......j...jjj. +.p.&p.}p&.p..p +.w&..w..w.&w.. +w&wjjjb&bb*&** diff --git a/client/levels/BigBang b/client/levels/BigBang new file mode 100644 index 0000000..ec5a40a --- /dev/null +++ b/client/levels/BigBang @@ -0,0 +1,164 @@ +Level: +Kevin Nathan +Big Bang +Bricks: +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +!!!!!!!!!!!!!! +.............. +..hhhhhhhhhh.. +.!.!hhhhhh!.!. +.!.!hhhhhh!.!. +.!.!hhjjhh!.!. +.!.!hjjjjh!.!. +.!.!hjjjjh!.!. +.!.!hhjjhh!.!. +.!.!hhhhhh!.!. +.!.!hhhhhh!.!. +..hhhhhhhhhh.. +.!....**....!. +!vvvvvvvvvvvv! +.............. +.............. +Bonus: +bbbbbbbbbbbbbb +bjbbjbjjbjbbjb +55555555555555 +.............. +..jbbbbbbbbj.. +.5.5......5.5. +.5.5b.bb.b5.5. +.5.5.b..b.5.5. +.5.5b....b5.5. +.5.5b....b5.5. +.5.5.b..b.5.5. +.5.5b.bb.b5.5. +.5.5......5.5. +..bbbjbbjbbb.. +.5..........5. +5wwwwwwwwwwww5 +.............. +.............. +Level: +Kevin Nathan +Table +Bricks: +..E........E.. +.Ea........aE. +Eav..h..h..vaE +.....c..c..... +.....c..c..... +...f.c..c.i... +..fffc..ciii.. +.############. +..!#......#!.. +...#......#... +...#......#... +...#jj..jj#... +..!#*j..j*#!.. +.#####@@#####. +.kkkkvvvvkkkk. +.............. +Ev..........vE +.............. +Bonus: +.............. +..4........4.. +.45..5..5..54. +.....4..4..... +.....4..4..... +...m.4..4.m... +..bjb4..4bjb.. +.............. +..m........m.. +.............. +.............. +....55..55.... +..p.m5..5m.p.. +.............. +.jwwsl++lswwj. +.............. +.g..........g. +.............. +Level: +Kevin Nathan +Pyramid +Bricks: +!............! +!!..........!! +!!!........!!! +!!!!......!!!! +!!!!!....!!!!! +!!!!!....!!!!! +!............! +!.....##.....! +!....h@@h....! +!....#..#....! +!...h@..@h...! +!...#....#...! +!..h@.zz.@h..! +...#..zz..#... +..h@......@h.. +j.#........#.j +..###v##v###.. +.............. +Bonus: +*............* +5............5 +55..........55 +55j........j55 +5m55......55m5 +5555......5555 +5............5 +p............p +5....j55j....5 +5............5 +....&5..5&.... +.............. +...w5....5w... +.............. +..b5......5b.. +w............w +.....w..w..... +.............. +Level: +Kevin Nathan +Reactor Core +Bricks: +#v..........v# +#.!!*!**!*!!.# +#.*!!!!!!!!*.# +#.!!d!!!!d!!.# +#.!!dddddd!!.# +#.*!dddddd!*.# +#.!!dddddd!!.# +#.!!dddddd!!.# +#.*!dddddd!*.# +#.!!dddddd!!.# +#.!!dddddd!!.# +#.*!d!!!!d!*.# +#.!!!!!!!!!!.# +#.!!!!!!!!!!.# +E............E +EE..........EE +EEExxxxxx*xEEE +.............. +Bonus: +.m..........m. +.............. +...j....j..... +..w.5....5.w.. +...b55ll55b... +b...555555...b +b...555555...b +b...555555...b +w...555555j..w +....555555.... +j..b55ll55b... +....5....5...j +..w..j.....w.. +.............. +.............. +.............. +...w......w... +.............. diff --git a/client/levels/Blues b/client/levels/Blues new file mode 100644 index 0000000..9d12855 --- /dev/null +++ b/client/levels/Blues @@ -0,0 +1,821 @@ +Version: 1.00 +Level: +noname +squeeze +Bricks: +!!.!!!EE!!!.!! +!!.!!!EE!!!.!! +!!.!!!EE!!!.!! +!!.!!!EE!!!.!! +!!.!!!EE!!!.!! +!!.!!!EE!!!.!! +!!.!!!EE!!!.!! +......EE...... +......EE...... +.....!EE!..... +....!*..*!.... +...!*E..E*!... +..!*Eg..gE*!.. +.!*Eg....gE*!. +!*Eg......gE*! +*Eg........gE* +Eg..........gE +g............g +Bonus: +l&5*44..44*5&l +&.5*44..44*5.& +..5.44..44.5.. +..5.44..44.5.. +..5.44..44.5.. +..5........5.. +..5........5.. +555555..555555 +.....5..5..... +....5....5.... +...5.&..&.5... +..5.&....&.5.. +.5.&.w..w.&.5. +5.&........&.5 +j..+......+..j +.............. +.............. +p............p +Level: +noname +blue eye +Bricks: +.!.!.!.!.!.!.! +.!.!.!.!.!.!.! +.!.!.!.!.!.!.! +.............. +*EEEEvvvvEEEE* +E****E..E****E +**EEE....EEE** +*Eii*E..E*iiE* +E*ii*E..E*ii*E +.E**E....E**E. +..EE......EE.. +......EE...... +vvvvEEEEEEvvvv +vvvvEvEEvEvvvv +vvvvEvEEvEvvvv +vvvvEvEEvEvvvv +.............. +.............. +Bonus: +4.4.4.4.4.4.4. +4.4.4.4.4.4.4. +4.4.4.4.4.4.4. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +&&&&......&&&& +.....j..j..... +bbbb.*..*.bbbb +wwww......wwww +.............. +.............. +Level: +noname +green blues +Bricks: +..EEEEEEEEEE.. +..gggggggggg.. +.vvvvvvvvvvvv. +.vxE!!!!!!Exv. +.vxE!!!!!!Exv. +..xE!!!!!!Ex.. +..xE!!!!!!Ex.. +..xEEEEEEEEx.. +..xEffffffEx.. +!!xEffffffEx!! +!!EEffffffEE!! +!!EfzzzzzzfE!! +!!EzyyyyyyzE!! +!!EyxxxxxxyE!! +!!ExvvvvvvxE!! +!!Ev!!!!!!vE!! +!!EE!!!!!!EE!! +vvvv!!!!!!vvvv +Bonus: +.............. +.............. +.............. +....333333.... +....444444.... +....555555.... +....555555.... +.............. +.....&&&&..... +&j..........j& +&m..........m& +.............. +.............. +.............. +.............. +...*&&&&&&*... +gg..bbbbbb..gg +ww.+......+.ww +Level: +noname +blue fortress +Bricks: +.************. +*EEEEEEEEEEEE* +!*..........*! +.!*EEEEEEEE*!. +.!E*......*E!. +.!E.*EEEE*.E!. +.!E.E*vv*E.E!. +.!E.E*EE*E.E!. +.!E.E*EE*E.E!. +.!E.E*EE*E.E!. +.!E.E*vv*E.E!. +.!E.*EEEE*.E!. +.!E*......*E!. +.!*EEEEEEEE*!. +!!!!!!!!!!!!!! +gEEEEEEEEEEEEg +gggggggggggggg +ffffffffffffff +Bonus: +......ll...... +.............. +.............. +5............5 +5............5 +5............5 +5.....??.....5 +5............5 +5............5 +5............5 +5.....??.....5 +5............5 +5............5 +5............5 +..&........&.. +&............& +.............. +w?wbwbwbwbwbw? +Level: +noname +blue teeth +Bricks: +Eg!vEEEEEEv!gE +gg!v.EggE.v!gg +EEv..EggE..vEE +!v!E.v!!v.E!v! +Ev!E..vv..E!vE +!v!E.EEEE.E!v! +Ev!E.EggE.E!vE +!v!E.EggE.E!v! +Ev!E.EggE.E!vE +!v!E......E!v! +EvEE......EEvE +.............. +vvvv.EggE.vvvv +!!!!EEggEE!!!! +!!!!EggggE!!!! +!!!!EggggE!!!! +!!!!EggggE!!!! +EEEEEggggEEEEE +Bonus: +.?.5......5.?. +??.5......5.?? +..5........5.. +.54........45. +.5c...ll...c5. +.54........45. +.5c...&&...c5. +.54...&&...45. +.5....bb....5. +.54........45. +.5..........5. +.............. +555*..bb..*555 +4444..&&..4444 +...4.wwww.4... +55.4.+..+.4.55 +55.4......4.55 +.............. +Level: +noname +deep blue sea +Bricks: +..g...g...g... +gggggggggggg.. +ggggggggggggE. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!Ev +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +!!!!!!!!!!!!E. +EEEEEEEEEEEEE. +vvvvvvvvvvvvv. +Bonus: +..!...!...*... +.........+.&.. +?????????+*... +555555555555.. +22222222222g.. +22222222222g.. +444444444444.. +22222222222g.. +22222222222g.. +333333333333.. +22222222222... +22222222222m.* +222222222222.. +2222222222j!.. +2222222222j!.. +lflflflflfjm.. +.............. +bw&w&wbwbwbwb. +Level: +noname +alien grin +Bricks: +*E............ +E*EvvvvvvvvvE. +!E*EvvvvvvvE*. +!.!*EvvvvvE*E. +E.!E*EvvvE*E!. +*E!.E*EgE*E.!. +E*E.!E*#*E!.E. +!E*E!.E*E.!E*. +!.E*E.!#!.E*E. +E.!E*E!.!E*E!. +*E!.E*EgE*E.!. +E*E.!E*#*E!.E. +.E*E!.E*E.!E*. +..E*E.!#!.E*E. +...E*E!.!E*E.. +....E*EgE*E... +.....E*E*E.... +......E*E..... +Bonus: +.............. +...&&j&j&j&&.. +4...&&&&&&&... +454..bjbjb.... +.54.&.*.*.&.b. +..45.&...&.5b. +...54.j.j.45.. +4...45...54... +45...54.45.... +.54...454...b. +..45.......5b. +...54.....45.. +....45...54... +...w.54.45.w.. +....w.454.w... +.....w...w.... +.............. +.............. +Level: +noname +red, white, and blues +Bricks: +jjjj......jjjj +@@@@......@@@@ +EEEE.E..E.EEEE +@@@@.@jj@.@@@@ +jjjj.@jj@.jjjj +jjjj.@jj@.jjjj +@@@@.@jj@.@@@@ +EEEE.@jj@.EEEE +@@@@.@jj@.@@@@ +jjjj.@jj@.jjjj +jjjj.EjjE.jjjj +@@@@.@jj@.@@@@ +EEEE.@jj@.EEEE +@@@@.@jj@.@@@@ +jjjj.@jj@.jjjj +jjjj.@jj@.jjjj +@@@@.E@@E.@@@@ +EEEEvvvvvvEEEE +Bonus: +..ml......lm.. +.............. +.............. +.....5555..... +&..m.5555.m..& +&..m.5555.m..& +.....5555..... +.....5555..... +3333.5555.3333 +333&.5555.&333 +333&..55..&333 +3333.5555.3333 +.....5555..... +4444.5555.4444 +&444.5555.444& +&444.5555.444& +4444..mm..4444 +....wwwwww.... +Level: +noname +blues shades +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvv#vvvvv +vvvvvvv#v#vvvv +vvvvvv#vvv#vvv +#vvvvvv#vvv#vv +v#vvvvvvvvvv#v +vv#vvvvvvvvvv# +vv####v#v####v +v#jjjj#v#jjjj# +v#jjjj#v#jjjj# +v#jjjj#v#jjjj# +vv#jj#vvv#jj#v +vv#jj#...#jj#v +...##.....##.. +.............. +Bonus: +........&...&. +.&............ +.............. +&...&......... +.........*.... +......*...*..& +*......*...*.. +.*....*...*.*. +..*..........& +&&.*.......... +.w....g.g..... +..5555.m.5555. +..5555.m.5555. +w.5555.w.5555. +...55.....55.w +...55.....55.. +.............. +.............. +Level: +noname +barriers +Bricks: +.EgggE..EgggE. +EEEgEEEEEEgEEE +.EgggE..EgggE. +.EgggE..EgggE. +EEEgEEEEEEgEEE +.EgggE..EgggE. +gggggggggggggg +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +gggggggggggggg +gEgggEggEgggEg +EEEgEEEEEEgEEE +.EgggE..EgggE. +.EgggE..EgggE. +EEEgEEEEEEgEEE +Bonus: +...l......l... +...!......!... +.............. +.............. +.............. +..&&&....&&&.. +.............. +33333333333333 +44444444444444 +55555555555555 +44444444444444 +33333333333333 +m.....**.....m +m.j.*.**.*.j.m +...&......&... +...&......&... +..+&+....+&+.. +...w......w... +Level: +noname +altar +Bricks: +ExxxxxxxxxxxxE +!ExxxxxxxxxxE! +!!ExxxxxxxxE!! +!!!ExxxxxxE!!! +!!!!ExxxxE!!!! +!!!!!E**E!!!!! +!!!!!*##*!!!!! +!!!!!*..*!!!!! +!!!!!*..*!!!!! +!!!!!*##*!!!!! +!!!!!E**E!!!!! +!!!!EggggE!!!! +!!!EggggggE!!! +!!EggggggggE!! +!EggggggggggE! +EggggggggggggE +EggggggggggggE +EggggggggggggE +Bonus: +..l........l.. +5.&........&.5 +55.&......&.55 +554..j!!j..455 +5544.****.4455 +5544g....g4455 +5544g....g4455 +5544g....g4455 +5544g....g4455 +5544g....g4455 +5544......4455 +554&..mm..&455 +55&.pwbbwp.&55 +5m.+......+.m5 +m.+j......j+.m +.............. +.............. +.w.w.w.w.w.w.. +Level: +noname +bowl full of blues +Bricks: +......@@...... +.............. +.EggggggggggE. +.gEggggggggEg. +..gEggggggEg.. +...gEggggEg... +...gEggggEg... +E..gEEggEEg..E +.@...EEEE...@. +..@........@.. +...@......@... +....E....E.... +.E..........E. +.EEEggggggEEE. +.gEEEggggEEEg. +..gEEEggEEEg.. +...gEEEEEEg... +....gEEEEg.... +Bonus: +.............. +.............. +..5555555555.. +.&.55555555.&. +..&.555555.&.. +...b.????.b... +...w.????.w... +...g..??..g... +.............. +.............. +.............. +.............. +.............. +....444444.... +.&...????...&. +..&...??...&.. +...+......+... +....w....w.... +Level: +noname +blue city on a sunny day +Bricks: +!!!bvvvb!!bhhh +!!!bbbvb!!vhhh +!!!b!!bv!!!vhh +bbbv!!bEb!!v#h +vvv!!!bEvbbv#v +vvv!!bvEvvv##v +vvvbb#vEvvv#kv +#vvvv#vEvvv##v +#vvvv##Evvv#kv +#vvvv##EEvv##v +#vvvv#kEEvv#EE +#@@vv##Ej@@#EE +#@@EE#kEE@@#Ek +#@jEE##Ej@@#EE +#@@EE#kEE@@#Ek +#@jEE##Ej@@#EE +#@@EE##EE@@#EE +gggggggggggggg +Bonus: +555c!...55c.ll +555..c..55...l +555.55..555... +c...55..c55... +!..555..?..!.? +?..55c..?....? +g.......?....? +....?.!.?....? +....?...!....? +....?........g +....?....gg... +...gg...*..... +.............. +..*.....*..... +.............. +........*..... +.............. +w&mw+!w+.wbwmb +Level: +noname +eruption +Bricks: +vihhjvvvvjhhiv +vvvihjvvjhivhv +hvvvvhjjhvvvvh +hvvvvvhhvvvvvh +vvhhhihhihhvvv +vhvjvhhhhvjhvv +hvvvjvhhvjvvhv +vvvvvjhhjvvvvh +vvvvhhhhhhvvvh +vvvhei##iiivvv +vvhieEaaEeihvv +vhveEa**aEevhv +vhveEaaaaEeehv +vhveEaaaaEiehv +hveiEaaaaEvevh +vveEaaaaaaEeev +veEEaaaaaaEEee +EEEEaaaaaaEEEE +Bonus: +l*..........*l +..........*... +.............. +.............. +.....*..*..... +.*............ +.............. +.............* +.............. +.....g..g..... +..*...mm...... +.............. +...j......j... +...&......&... +......&&.....* +..j........... +......bb...... +......ww...... +Level: +noname +blue cave +Bricks: +EEEEEaaaaaEEEE +!!!!EEaaaaE!!! +!!!!!EaaaE!!!! +!!!!!EaaaE!!!! +!!!!!EEaEE!!!! +!!!!!!EaE!!!!! +!!!!!!EaE!!!!! +!!!!!!E#E!!!!! +!!!!!!***!!!!! +!!!!!!***!!!!! +!!!!!!E#E!!!!! +!!!!!!EaE!!!!! +!!!!!!EaE!!!!! +!!!!!EaaaE!!!! +!!!!!EaaaE!!!! +!!!!!EaaaE!!!! +!!!!EaaaaaE!!! +EEEEEaaaaaEEEE +Bonus: +.....l.l.l.... +54.&.......&45 +54.&&.....&&45 +54..........45 +54..........45 +54.....m....45 +54.....m....45 +54..*g...g*.45 +54..*g...g*.45 +54..*g...g*.45 +54..*g...g*.45 +54.....m....45 +54...j.m.j..45 +54....b&b...45 +54.....&....45 +54..........45 +54.m..www..m45 +.....+...+.... +Level: +noname +blue lightning +Bricks: +.EEE!..EE!.... +E...E.E....... +.....E........ +......E!...EE! +......!E!..E.. +......E!EE.E.. +.....E...EE.!. +.....E...E!... +....EE..E..... +....E!..E..... +.!EE.!.!.E.... +.E.......E.... +.E.......EEE.. +!!E.....E..EE. +..E.....E...E. +..E.....E...E. +.E!....E....!. +!E!..!E!....*. +Bonus: +....5....5.... +.............. +.............. +.......5.....5 +......5.5..... +.......5...... +............5. +..........5... +.............. +.....5........ +.5...5.5...... +.............. +.............. +55............ +.............. +.............. +..5.........5. +5.5..5.5...... +Level: +noname +mountain lake +Bricks: +......cE...... +...#.cE#c..... +..cE.c#Ec..... +..cEc#EEEc...c +..#EE#E##c..cE +.c#EE####c.c## +.cEEE####EEcE# +.c#EE#####cE## +c#E#E#@#@EEE#E +c#EE@ggggg@#@E +#g@gggggggggg@ +E@gggggggggggg +@gggggggggggg@ +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +Bonus: +.............. +...5...5...... +......5....... +....&5........ +..5..5.55..... +..5..5555...5& +..5..555...... +.&5..55555.... +.5.5.5.5b..... +.5.......m..b. +5..m.......... +.bg.........mm +b............. +g............g +...&........&. +.p.........p.. +.............. ++wg.w.gw+.w.gw +Level: +noname +obstacles +Bricks: +E!!EEE!!EEE!!E +!!!!!!!!!!!!!! +!EEE!!EEE!!EEE +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +EEE!EEE!EEE!!E +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!EEE!EEE!!EEE +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +EEE!!EEE!EEE!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!E +!!EEE!!EEE!!!! +!!!!!!!!!!!EEE +gggggggggggggg +EEEggEEEgEEEgg +Bonus: +.............. +.............. +&...cc........ +55555555555555 +.............. +...&...&...cc. +55555555555555 +..cc...m...... +.....&...m.... +55555555555555 +.cc..g..gcc... +........&...m. +55555555555555 +......cc...... +.....m.......& +.m&...bb..&... +..+........+.. +...wb...w...wb +Level: +noname +boxes +Bricks: +EEEEEE******** +E*****E*!!!!!* +E*ggggE*!!!!!* +E*ggggE*!!!!!* +E*g***E*!!!!!* +E*ggg*E*!!!!!* +E*ggg*E*!!!!!* +E*****E*!!!!!* +EEEEEE#******* +*******#EEEEE* +*!!!!!*E*****E +*!!!!!*E*ggggE +*!!!!!*E*ggggE +*!!!!!*E*g***E +*!!!!!*E*ggg*E +*!!!!!*E*ggg*E +*!!!!!*E*****E +*******EEEEEEE +Bonus: +......j....... +........55555. +........54445. +........54.45. +...c....54l45. +........54.45. +........54445. +.......g55555. +.......mg..... +b....gm......j +......g....... +.............. +.............. +..........c... +.............. +.............. +......b....... +w..+..w....... +Level: +noname +propagation +Bricks: +*E*E!!!!!EEEE. +E*E*E!!*!..... +EE*E*E!!*..... +EEE*E*!!!*EEE. +EEEE*E!!!!*EE. +*EEEE*!!!*!*E. +E*EEE!*!!!*!E. +*E*EEE!*!*!*E. +E*E*EE*!*!*!E. +*E*E*E!*!*!*E. +E*E*E*E!*!*!E. +*E*E*E*EE*!*E. +E*E*E*E*EE*!E. +*E*E*E*E*EE*E. +E*E*E*E*E*EEE. +*E*E*E*E*E*EE. +zzE*E*E*E*E*E. +zzzE.E.E.E.E.. +Bonus: +.............. +.............. +.............. +.........g.... +..........&... +.........*.&.. +.............. +5........*.... +.............. +..5........... +.............. +j...5......... +.&............ ++.b...5....... +...&.......... +....b...5..... +&&.+.j........ +www........... diff --git a/client/levels/Celine b/client/levels/Celine new file mode 100644 index 0000000..5ce0c36 --- /dev/null +++ b/client/levels/Celine @@ -0,0 +1,206 @@ +Version: 1.01 +Level: +Bertrand GRONDIN +tres facile +Bricks: +.............. +..#.#.#.#.#.#. +.............. +cccccccccccccc +cccccccccccccc +************** +*vvvvvvvvvvvv* +*vvvvvvvvvvvv* +**####*####*** +.............. +..d.dEEEd.d... +@...........@@ +.zzzzzzzzzzz.. +.*z*z*z*z*z*.. +.iiiiiiiiiii.. +.............. +.............. +.............. +Bonus: +.............. +..~.~.~.~.~.~. +.............. +.............. +.............. +.............. +.555555555555. +.444444444444. +.............. +.............. +.............. +.............. +.wwwwwwwwwww.. +.mmmmmmmmmmm.. +.slslwwwwsls.. +.............. +.............. +.............. +Level: +Bertrand GRONDIN +tres facile +Bricks: +.............. +.............. +.............. +zzzzzzzzzzzzzz +cccccccccccccc +cccccccccccccc +baaaabbaaaabba +b####bb####bb# +gggggggggggggg +iiiiiiiiiiiiii +hhhhhhhhhhhhhh +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +5ll555ll55ll55 +**..w....w..** +cccc......cccc +.mm0...mm0.... +!1.21!!2..2!!1 +pppppppppppppp +W.f*jgg*fj*ggW +ww+wwwww+wwww+ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Bertrand GRONDIN +tres facile +Bricks: +.............. +.............. +.bbbbbbbbbbb.. +.##z##z##z##.. +.@@z@@z@@z@@.. +.bb*bb*bb*bb.. +EEEEEEEEEE.... +***i***i***i** +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +cccccvvvcccccc +cccccvvvcccccc +.#..#....#..#. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.bb.......bb.. +...m..m..m.... +.55m55m55m.... +.bb.....&.bb.. +.............. +.wwm&}}mww.m.. +**fjjf-**jjf-f +!s.jjp??pjj.s! +**+++www++++** +bwbwwwbwbwwbww +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Bertrand GRONDIN +tres facile +Bricks: +@iiiic*******@ +iiiiic*******c +ii**ic#######c +ii**ic*******c +iiiiic*******c +ddddddd!!!!ddd +a*aaaaaz!!za*a +#######vvvv### +gggggccccggggg +gggggccccggggg +!!!!!!!!!!!!!! +************** +************** +.............. +.............. +.............. +.............. +.............. +Bonus: +5.00.........5 +g............. +........--.... +..gg.......gg. +......gg...... +w..pp....pp..w +.......l..l... +..55...mmmm55. +.............. +.....s..s..... +cc<.&mmmm&.W&-fd~ +jgb&pm}{>W&-fd +gb&pm}j>{>W&-f +b&pm}j00>{>W&- +&pm}j0000>{>W& +pm}j000000>{>W +mbbbbbbbbbbbb> +}b{{{{{{{{{{{{ +j.!!!!!!!!!!!! +.............. +{{{........{{{ +0{0{0{0{0{0{0{ +w++{+w+w+{++w{ +Level: +tfry +which size are you on +Bricks: +************** +z@**********@z +z@**********@z +z@**********@z +z@**********@z +z@**********@z +z@**********@z +z@zzzzzzzzzz@z +z@zzzzzzzzzz@z +z@@@@@@@@@@@@z +zzzzzzzzzzzzzz +************** +*ff*g*hh*g*dd* +*ff*g*hh*g*dd* +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +Bonus: +.............. +......bb...... +.....bbbb..... +.....bbbb..... +.....bbbb..... +......bb...... +.............. +..jmmmllmmmj.. +.............. +.............. +ffffffffffffff ++++fffggfff--- ++++fffggfff--- +ffffffffffffff +.............. +.............. +pjpjw+jj+wjpjp +jjjjjjjjjjjjjj +Level: +tfry +keep cool +Bricks: +**@@@@@@@@@@@@ +**zzzzzzzzzzzz +**zzzzzzzzzzzz +**@@@@@@@@@@@@ +**zzzzzzzzzzzz +**zzzzzzzzzzzz +**@@@@@@@@@@@@ +**zzzzzzzzzzzz +**zzzzzzzzzzzz +**@@@@@@@@@@@@ +**zzzzzzzzzzzz +**zzzzzzzzzzzz +**@@@@@@@@@@@@ +**zzzzzzzzzzzz +**zzzzzzzzzzzz +c############# +zzzzzzzzzzzzzz +************** +Bonus: +.f............ +mff....bmbbbbb +mff....bbbbbbb +wf............ +jff....bbmbbbb +{ff....bbbbbbb +Wf............ +{ff....bbbmbbl +Wff....bbbbbbl +{f............ +Wff....bbbbmbb +{ff....bbbbbbb +Wf............ +{ff....bbbbbmb +Wff....bbbbbbb +.............. +.............. +jwj+j+jj+j+jwj +Level: +tfry +easy to see through +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +************** +************** +************** +************** +************** +************** +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +Bonus: +......ll...... +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +bjbbjbbjbbjbbj +jbbjbbjbbjbbjb +!!!!!!!!!!!!!! +ffffffffffffff +ddfccf55f~~f++ +ddfccf55f~~f++ +ffffffffffffff +--f--f--f--f-- +.............. +wwwwwwwwwwwwww +wjwjwjwjwjwjwj +Level: +tfry +think ahead +Bricks: +geee.aEEa.eeeg +*eee.E**E.eee* +*eee.aEEa.eee* +*eee......eee* +************** +hhhhhhhhhhhhhh +ffffffffffffff +dddddddddddddd +************** +*h*d***f*j***g +h***d*f***j*g* +*h*d***f*j***g +h***d*f***j*g* +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +j*j*j*j*j*j*j* +*j*j*j*j*j*j*j +Bonus: +!............! +......ll...... +.............. +.............. +.............. +&&&&&&&&&&&&&& +.............. +++f++f++f++f++ +ffffffffffffff +ssf**fbbfppfmm +ssf**fbbfppfmm +ffffffffffffff +--f--f--f--f-- +.............. +.............. +.............. +wwwwwwwwwwwwww +wjwjwjwjwjwjwj +Level: +tfry +feeling blue +Bricks: +***c**cc*ccc** +z@*c*c***c**@z +z@*c*c***c**@z +z@*c*c***c**@z +z@*c*c****c*@z +z@*c*c***c**@z +z@*c*c***c**@z +z@*c**cc*ccc@z +z@**********@z +z@@@@@@@@@@@@z +************** +************** +************** +************** +************** +cccccccccccccc +zzzzzzzzzzzzzz +************** +Bonus: +ffff..ll..ffff +.!ffffffffff!. +.!ffffffffff!. +.!ffffffffff!. +.!ffffffffff!. +&!ffffffffff!& +&!ffffffffff!& +&!ffffffffff!& +&!f!!!!!!!!f!& +.!!!!!!!!!!!!. +f+ff+ff+ff+ff+ +fjffpffWffmffg +fjffpffWffmffg +fjffpffWffmffg +ffffffffffffff +.............. +-w-w-w-w-w-w-w +w-w-w-w-w-w-w- +Level: +tfry +the good and the bait +Bricks: +*@**********@* +z@*zzzzzzzz*@z +z@*z******z*@z +z@*z*zzzz*z*@z +z@*z*zzzz*z*@z +z@*z*z****z*@z +z@*z*zzzzzz*@z +z@*z*****zz*@z +z@*zzzzz*zz*@z +z@*****z****@z +z@@@@@*z@@@@@z +************** +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +Bonus: +l.++++++++++.l ++.++++++++++.+ ++.++++++++++.+ ++.++++++++++.+ ++.++++++++++.+ ++.++++++++++.+ ++.++++++++++.+ ++.++++++++++.+ ++.++++++++++.+ ++.++++++++++.+ +......++...... +...++++++++... ++..+++..+++..+ +.............. +.}}...}}...}}. +.............. +-p-p-p-p-p-p-p +w-w-w-w-w-w-w- +Level: +tfry +black hole bonus +Bricks: +***********.** +...........*@* +*********..*@* +.........*.*@* +*******..*.*@* +.......*.*.*@* +*****..*..*.@* +.....*.*.*..@* +***..*.*..*.@* +.*.*.*..*..*@* +*..*.*...**.@* +*..*..*..*..@* +*...*..*..*.@* +*..*...*...*@* +*.*..*..***.@* +*.*.*.*....*@* +#..*...****.@* +j############* +Bonus: +555dddddddd... +...........d.. +444dddddd..d.. +.........d.d.. +333dddd..d.d.. +.......d.d.d.. +222dd..d..d... +.....d.d.d.... +jjj..d.d..d... +.d.d.d..d..d.. +d..d.d...dd... +d..d..d..d.... +d...d..d..d... +d..d...d...d.w +d.d..d..ddd..w +d.d.d.d....d.w +...d...dddd..w +.............j +Level: +tfry +the good and the bait(2) +Bricks: +@z@z@z@z@z@z@z +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +************** +jjjjjjjjjjjjjj +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +*zzzzzzzzzzzz* +*zzzzzzzzzzzz* +************** +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +Bonus: +fbfbfbfbfbfbfb +bfbfbfbfbfbfbf +fbfbfbfbfbfbfb +bfbfbfbfbfbfbf +ffffffffffffff +!!!!!!!!!!!!!! +}}}}}}}}}}}}}} +.............. +ffffff~~ffffff +ffffffffffffff +ffffffffffffff +f++ffffffff++f +.............. +.............. +{{..{{{{{{..{{ +.............. +w>w>w>w>w>w>w> +-w-w-w-w-w-w-w +Level: +tfry +the middle of the road +Bricks: +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +zzzz#zzzz#zzzz +#..###..###..# +************** +************** +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +************** +.............. +.............. +Bonus: +.....bjjb..... +.....bmmb..... +.....bjjb..... +.....bmmb..... +WWWW.bjjb.WWWW +WWWW.bmmb.WWWW +WWWW.bjjb.WWWW +WWWW......WWWW +WWWW......WWWW +WWWW......WWWW +.............. +&&&&&&&&&&&&&& +{*{*{*{*{*{*{* +.............. +ggggggwwgggggg ++j+j+j+j+j+j+j +.............. +.............. +Level: +tfry +all the world's riches +Bricks: +**zzzzhzhzzz** +**zzzhhhhhzz** +**zzhhhhhhzz** +**zzhzhzhzzz** +**zzhzhzhzzz** +**zzhzhzhzzz** +**zzhhhhhhzz** +**zzzhhhhhhz** +**zzzzhzhzhz** +**zzzzhzhzhz** +**zzzzhzhzhz** +**zzzhhhhhhz** +**zzzhhhhhzz** +**zzzzhzhzzz** +************** +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +************** +Bonus: +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +22fbbbbbbbbf22 +!!fbbbbbbbbf!! +ffffffffffffff +.............. +.............. +wwwwwwjjwwwwww +Level: +tfry +don't be fooled +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +************** +************** +************** +************** +************** +zzzzzz**zzzzzz +zzzzzz**zzzzzz +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +Bonus: +bbbbbbbbbbbbbl +bbbbbbbbbbbbbb +00000000000000 +00000000000000 +00000000000000 +&&&&&&&&&&&&&& +ffffffffffffff +}ss}f!mm!f<&&< +}++}f!bb!f+w+s +Level: +tfry +killing me softly +Bricks: +EEE#E#E#E#E#E# +Ej............ +E............. +EEEE#E#E#E#EE. +E*g*E*g*E*g*#. +g*E*g*E*g*E*#. +*g*g*g*g*g*gE. +E*g*E*g*E*g*#. +*gEg*gEg*gEg#. +g*g*g*g*g*g*E. +Eg*gEg*gEg*g#. +g*E*g*E*g*E*#. +E**g*g*g*g*gEb +*EEEEEEEEEEE#z +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +Bonus: +...-.-.-.-.-.- +.............. +.............. +....-.-.-.-... +............-. +............-. +.............. +............-. +............-. +.............. +............-. +............-. +.............. +............-. +WWW-WWWmmmjmmm +.............. +00000000000000 +w+-jjjwwjjj-+w +Level: +tfry +the feint +Bricks: +zzzzzzzzzzzzzz +z#z#z#zz#z#z#z +zzzzzzzzzzzzzz +*z*z*z**z*z*z* +z*z*z*zz*z*z*z +*z*z*z**z*z*z* +z*z*z*zz*z*z*z +*z*z*z**z*z*z* +z*z*z*zz*z*z*z +*z*z*z**z*z*z* +z*z*z*zz*z*z*z +*z*z*z**z*z*z* +z*z*z*zz*z*z*z +zzzzzz**zzzzzz +************** +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +************** +Bonus: +&l&&&&&&&&&&&& +&.&.&.&&.&.&.& +.............. +WWWWWWWWWWWWWW +.............. +************** +.............. +00000000000000 +.............. +00000000000000 +.............. +00000000000000 +.............. +.............. +......{{...... +.............. ++w+w+w+w+w+w+w +jjjjjjjjjjjjjj +Level: +tfry +juxta bonus +Bricks: +z@z@z@z@z@z@z@ +zzzzzzzzzzzzzz +g*g*g*g*g*g*g* +************** +gggggg*ggggggg +************** +ggggggg*gggggg +************** +gggggg*ggggggg +************** +ggggggg*gggggg +************** +gggggg*ggggggg +************** +ggggggg*gggggg +************** +gggggg*ggggggg +************** +Bonus: +w.w.w.w.w.w.w. +*bbbbbbbbbbbb* +jjjjjjjjjjjjjj +!f!f!f!f!f!f!f +wgwgwgwgwgwgwg +f!f!f!f!f!f!f! +w>w>w>w>w>w>w +!f!f!f!f!f!f!f ++w+w+w+w+w+w+w +w+w+w+w+w+w+w+ + diff --git a/client/levels/Circle b/client/levels/Circle new file mode 100644 index 0000000..0c03017 --- /dev/null +++ b/client/levels/Circle @@ -0,0 +1,698 @@ +Version: 1.00 +Level: +kl +circle 1 +Bricks: +@@ffff@@ffff@@ +ffcc@@@@@@ccff +ffcc@@@@@@ccff +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!@@@@@@@!!!! +@@@@@@@@@@@@@@ +@@@@@zzz@@@@@@ +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +.............. +.............. +.............. +.............. +Bonus: +......44...... +..mm.4444.mm.. +..55.4444.55.. +.............. +.............. +.bb.......bb.. +.............. +.....mmm...... +...4455544.... ++...&&&&&....+ +.....p.p...... +....!f**f!.... +?????????????? +??????ww?????? +.............. +.............. +.............. +.............. +Level: +kl +circle 2 +Bricks: +!!!..!!!!..!!! +!!!........!!! +!!!.EEEEEE.!!! +!!!..gggg..!!! +@@@.g!!!!g.@@@ +...g!@xx@!g... +..g!@xxxx@!g.. +.g!vxxvvxxv!g. +g!@xxvvvvxx@!g +g!@xxvvvvxx@!g +.g!vxxvvxxv!g. +..g!@xxxx@!g.. +...g!@xx@!g... +....g!!!!g.... +.....gggg..... +.............. +.............. +.............. +Bonus: +......mm...... +.............. +.............. +.....????..... +......44...... +.............. +.............. +..4...55...4.. +...&.5ll5.&... +...&.5555.&... +.+4...55...4+. +......**...... +......bb...... +.....j44j..... +.....????..... +.............. +.............. +.............. +Level: +kl +circle 3 +Bricks: +.....@@@@..... +....EvvvvE.... +....EvvvvE.... +....@vvvv@.... +...vvyyyyvv... +..vyyyyyyyyv.. +..vyyyyyyyyv.. +..vy******yv.. +..vy*cccc*yv.. +..vy*c@@c*yv.. +.vyy*@@@@*yyv. +vyy**@cc@**yyv +vy**@gccg@**yv +yy*@gggggg@*yy +y**@gggggg@**y +**@g......g@** +*@gg......gg@* +@gg........gg@ +Bonus: +.............. +......mm...... +.............. +.....3333..... +...33&**&33... +..3........3.. +..3........3.. +..3...bb...3.. +..3..5555..3.. +..3..&44&..3.. +.3...4444...3. +3....4*m4....3 +3...>w++w>...3 +...4.....p4... +...4......4... +..4........4.. +.4..........4. +4............4 +Level: +kl +circle 4 +Bricks: +!!!c*!!!!*c!!! +!!!c*!!!!*c!!! +!!*c*!!!!*c*!! +!!*c*!!!!*c*!! +!!!c*!!!!*c!!! +!!!c*!!!!*c!!! +!ccc******ccc! +@@@ccc!!ccc@@@ +.....@@@@..... +************** +!!*!!!!!!!!*!! +!!!!!!!!!!!!!! +!!*!!!!!!!!*!! +******!!****** +bbbzzzzzzzzbbb +bzbbbbbbbbbbzb +....######.... +###........### +Bonus: +l5.&.m....&.5l +54..........45 +44..........44 +33..........33 +22..........22 +........m..... +&............& +.............. +.....????..... +.............. +.............. +.............. +.............. +.............. +>..s......s..> ++w..........w+ +.............. +.............. +Level: +kl +nuts +Bricks: +!!!!@!!!!@!!!! +!!!!@!!!!@!!!! +!!!!@!!!!@!!!! +!!!!@!!!!@!!!! +!!!!E!!!!E!!!! +.............. +!!!!E!!!!E!!!! +!!!!.!!!!.!!!! +!!!!.!!!!.!!!! +!!!!.!!!!.!!!! +!!!!.!!!!.!!!! +...@.@..@.@... +@@@@.@@@@.@@@@ +!!!!.!!!!.!!!! +!!!!.!!!!.!!!! +!!!!.!!!!.!!!! +!!!!.!!!!.!!!! +!!!!.!!!!.!!!! +Bonus: +555m.5555.m555 +5555.llll.5555 +.............. +.....4444..... +.....****..... +.............. +m444.m44m.444m +5??5.5??5.5??5 +5??5.5??5.5??5 +5??5.5??5.5??5 +ggg*.*44*.*ggg +.............. +.............. +pppp.wwww.pppp +****.gggg.**** +++44.}}}}.44++ +.............. +.............. +Level: +kl +nuts +Bricks: +EE...EEEE...EE +!!...E!!E...!! +!!.@.E!!E.@.!! +EE.@.!!!!.@.EE +!!.@.!!!!.@.!! +!!.@.E!!E.@.!! +EE.@.E!!E.@.EE +!!.@.EEEE.@.!! +!!.@......@.!! +EE..........EE +!!...EEEE...!! +!!...@@@@...!! +EE...bbbb...EE +!!!E.cccc.E!!! +!!!E.@@@@.E!!! +!!!@......@!!! +!!!@......@!!! +EEE@......@EEE +Bonus: +.............. +m.....&&....33 +m...........33 +.....*..*..... +33...*..*....m +33...........m +......&&...... +m...........33 +m...........33 +.............. +33...........m +33...........m +.....m&&m..... +554........455 +554........455 +554........455 +554........455 +.............. +Level: +kl +blast +Bricks: +#*#*#*#*#*#*## +*#*#*#*#*#*#** +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#*#*#*#*#*#*#* +#c#c#c#c#*#*#* +#c#c#c#c#*#*#* +#z#z#z#z#z#z#* +EEEEEEEEEEEE#* +.............. +Bonus: +.?.?.?.?.?.?.. +.............. +.............. +.............. +.............. +.............. +.............. +l............. +.............. +.............. +.............. +.............. +.............. +.&.&.......... +.............. +l..m.m.b.m.b.. +.............. +.............. +Level: +kl +blast +Bricks: +.............. +..@@@....@@@.. +.@###@vv@###@. +@#v#*#@@#*#v#@ +#vvv#*##*#vvv# +b#*#*####*#*#b +bb#*#*##*#*#bb +bbvv*####*vvbb +bbvvv####vvvbb +xbvvv####vvvbx +xbbbb####bbbbx +xxxxx####xxxxx +.....####..... +.....####..... +.....####..... +.....####..... +.....####..... +.....####..... +Bonus: +.............. +..444....444.. +......mm...... +..&........&.. +.lmb..55..bml. +4.....55.....4 +44....55....44 +......55...... +......55...... +*.....55.....* +*.....55.....* +......55...... +......55...... +......55...... +......55...... +......55...... +.............. +.............. +Level: +kl +suprise +Bricks: +###*.@EE@.*### +!!!#.!vv!.#!!! +!!!#x@vv@.#!!! +###*x!vv!.*### +EEEEx@vv@.EEEE +....x!vv!..... +###*x@@@@..### +!!!#......*!!! +!!!#......#!!! +!!!#x@EE@x#!!! +###*x!vv!x*### +EEEEx@vv@xEEEE +....x!vv!x.... +###*x@vv@x*### +!!!#x!vv!x#!!! +!!!#.@@@@.#!!! +!!!#......#!!! +###........### +Bonus: +www........www +55mj..55..jm55 +55&j..55..j&55 +l.....55.....l +......55...... +......55...... +.............. +55m........m55 +4&4........4&4 +444........444 +......ll...... +......55...... +......55...... +......55...... +55m...55...m55 +4&3........3&4 +443........344 +www........www +Level: +kl +hmmmm +Bricks: +i#cc!!!!!!cc#i +i#cc!!!!!!cc#i +i#cc!!!!!!cc#i +i#cc!!!!!!cc#i +EEcc@@@@@@ccEE +*!!E!!!!!!E!!* +*!!#!!!!!!#!!* +*!!#!!!!!!#!!* +*!!#!!!!!!#!!* +*!!E!!!!!!E!!* +*!!!!!!!!!!!!* +**EEE####EEE** +#!!!!!!!!!!!!# +##!!!!!!!!!!## +###!!!!!!!!### +E###bbbbbb###E +EE###bbbb###EE +EEE###bb###EEE +Bonus: +l.m.233332.m.l +l.m.233332.m.l +....233332.... +....233332.... +......55...... +....&&55&&.... +....?4554?.... +....?4554?.... +..*.?4554?.*.. +..*.?4554?.*.. +..*??4554??*.. +.............. +&>..........>& +j&>........>&j +..&>......>&.. +....}....}.... +.....}mm}..... +.............. +Level: +kl +pyramid +Bricks: +ggg#!!aa!!#ggg +gg#!!aaaa!!#gg +g#!!aa**aa!!#g +#*!aa*##*aa!*# +*#aa*#**#*aa#* +**#*#*@@*#*#** +***#*E!!E*#*** +**#*E!!!!E*#** +***E!!!!!!E*** +***!!!!!!!!*** +**!!!!!!!!!!** +#!!!!!!!!!!!!# +!E!!!!!!!!!!E! +.!E!!!!!!!!E!. +..!E!!!!!!E!.. +...!E!!!!E!... +....!E!!E!.... +.............. +Bonus: +555l......l555 +.m..........m. +m............m +.............. +.............. +.............. +......55...... +.....5445..... +....543345.... +...54322345... +..5432jj2345.. +.5432....2345. +..32......23.. +.............. +....m&..&m.... +.....w..w..... +.............. +.............. +Level: +kl +squares +Bricks: +#iiii@@@@iiii# +#iiii....iiii# +#iiii....iiii# +#i@@@....@@@i# +#iEEE!!!!EEEi# +#iEii!!!!iiEi# +#iEi######iEi# +#iEi#iiii#iEi# +#iEi#i##i#iEi# +#iEi#i##i#iEi# +#iEi#iiii#iEi# +#cEi######iEc# +#cEii!!!!iiEc# +#cEEE!!!!EEEc# +#*****!!*****# +######!!###### +gggggg!!gggggg +######..###### +Bonus: +03333....33330 +03333....33330 +03333....33330 +0............0 +0............0 +0..4......4..0 +0..4?....?4..0 +0..4?l55l?4..0 +0..4?5555?4..0 +0..4?5555?4..0 +0..4?5555?4..0 +0..4?....?4..0 +0..4......4..0 +0m....gg....m0 +0.....gg.....0 +0.jj..ww..jj.0 +..++&&ww&&++.. +.............. +Level: +kl +squares +Bricks: +!!!!######!!!! +!!!#!!!!!!#!!! +!!#y******y#!! +*#yy@@EE@@yy#* +#*#y!!!!!!y#*# +@*yy!!!!!!yy*@ +@*#y!!!!!!y#*@ +@*yy!!!!!!yy*@ +@*#y!!!!!!y#*@ +@*yy!!!!!!yy*@ +@*#y!!!!!!y#*@ +@*yy!!!!!!yy*@ +E*#*!!!!!!*#*E +#E*!hhhhhh!*E# +!#E!hhhhhh!E#! +b!#EhhhhhhE#!b +bb!#hhhhhh#!bb +bbb!######!bbb +Bonus: +.............. +....l.jj.l.... +&m..........m& +.............. +....b.gg.b.... +.....3333..... +.....4444..... +.....4554..... +.....4554..... +.....4554..... +.....4444..... +.....3333..... +.............. +m.....gg.....m +mm....jj....mm +.+...&jj&...+. +..+..wwww..+.. +...+......+... +Level: +kl +squares +Bricks: +iiiE!!!!!!Eiii +iiiE!!!!!!Eiii +iiiE!!!!!!Eiii +iii*!!!!!!*iii +iii*!!!!!!*iii +@@@@EEEEEE@@@@ +gggg!!!!!!!ggg +gggg!!!!!!!ggg +gggg!!!!!!!ggg +EE@@!*****!@EE +**@@!@vvv@!@** +*@**!@vvv@!*@* +@!*@!@vvv@!@*@ +!!!@!@vvv@!@!! +!aa@!@@@@@!@a! +!aa@!!!!!!!@a! +!aa@@@@@@@@@a! +!cccccccccccc! +Bonus: +m.l.444444.l.m +....444444.... +....444444.... +....444444.... +....444444.... +.............. +g............g +.............. +m............m +.............. +......555..... +....m.555.m... +....?.555.?... +....?.&5&.?... +....?.....?... +....???????... +.............. ++.*&&wwwww&&*+ +Level: +kl +wine +Bricks: +..vv......vv.. +...v......v... +...#......#... +...#.vvvv.#... +...#iiiiii#... +...#iiiiii#... +...#iiiiii#... +...#iiiiii#... +...##iiii##... +....E#ii#E.... +.....E##E..... +......##...... +......##...... +......##...... +......##...... +......##...... +......##...... +.....####..... +Bonus: +..+&......&+.. +...m......m... +.............. +......**...... +....000000.... +....111111.... +....222222.... +....333333.... +.....4444..... +......55...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +kl +scotch +Bricks: +.............. +.............. +.............. +.............. +...E.vvvv.E... +...#.ccvv.#... +...#ecceee#... +...#eeeecc#... +...EcceeccE... +...#cceeee#... +...#eeeeee#... +...#eeeeee#... +...#eeeeee#... +...EeeeeeeE... +...#eeeeee#... +...##eeee##... +....#eeee#.... +....EEEEEE.... +Bonus: +.............. +.............. +.............. +.............. +........*..... +.....*........ +.......gg..... +......gg...... +....*....*.... +......&..&.... +.............. +.............. +.............. +.............. +....333333.... +.....4444..... +.....5555..... +.............. +Level: +kl +random +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +j.j.j..!55.-+- +.!.!pgjl.!p!.b +j>s.c...!&f.-j +.s>..j}..p.j.} +++g5!j.!4.!..! +pc..s-W....l-3 +.!g+s.W+.pg..+ +.pl+5s**.!.!5f +!w.>.!**-jg.p* +-!&.+}s4!>.-.* +-.&!p+5.5j..!* +.!s&.!sbb.j-.* +!.f!5..!!!ww.! +5sgb+.!ps.w.jc +s.!.g}+p-.s!.. +++..+bg3.!.j.. +.&-!0gf.+j...! +!b*ww-.!...!sg diff --git a/client/levels/Classique b/client/levels/Classique new file mode 100644 index 0000000..ae163f0 --- /dev/null +++ b/client/levels/Classique @@ -0,0 +1,206 @@ +Version: 1.45 +Level: +Bertrand GRONDIN +Bobo Bidon +Bricks: +hhhhhhhhhhhhhh +h*h*h*h*h*h*h* +hhhhhhhhhhhhhh +vvvvvvvvvvvvvv +*i#ii*ii#ii*i# +*i#ii*ii#ii*i# +*i#ii*ii#ii*i# +*i#ii*ii#ii*i# +*###i*i###i*i# +*dddi*idddi*id +v###vvv###vvv# +cccccccccccccc +ccccc***cccccc +ccccc***cccccc +xxxxxxxxxxxxxx +.............. +.............. +.............. +Bonus: +55!555555!5555 +0............. +m0j00mj0000j0m +..*...*...*... +.~mfW~+W.?~.fm +.~?fW~+W.W~.f. +.~.f.~}..}~.f? +...s........s. +.............. +....g.j...g.j. +l...........l. +mc-.{.m.w{-..m +...w+....+..c. +p.p....j.p...p +wbw*wbw*wbw*wb +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Que du malus +Bricks: +.............. +.............. +zzzzzzzzzzzzzz +gggggggggggggg +dddddddddddddd +iiiiiiiiiiiiii +ffffffffffffff +kkkkkkkkkkkkkk +bbbbbbbbbbbbbb +!!!!!!!!!!!!!! +gggggggggggggg +!!!!!!!!!!!!!! +cccccccccccccc +vvvvvvvvvvvvvv +xxxxxxxxxxxxxx +.............. +.............. +.............. +Bonus: +.............. +.............. +l>>>>>>>>>>>>> +-..d.fW.fc.-d. +-..d&fW.fc&-d. +-.!d&fW.fc&-d! +-..d&fW!fc&-d. +-..d&fW.fc&-d. +....ccccc..... +..??......??.l +.............. +......!....... +.l.........l.. +.............. +.....l........ +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Badaboum +Bricks: +!!!!!!!!!!!!!v +!!!!!!!!!!!!!v +#############v +!!!!!!!!!!!!!v +!!!!!!!!!!!!!v +#############v +v!**********!v +v!**********!v +v!*!!!!!!!**!v +v!*!!!!!!!**!v +v!*!!!!!!!**!v +v!**********!v +v!**********!v +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +.............. +.............. +.............. +Bonus: +l............. +......*....... +..g....g...... +l............. +......*....... +.............. +..l.......l... +...mmmmmmm.... +.............. +.............. +.............. +.............. +.....jjjj..... +b.b.b.b.b.b.bj +.w.wlw.wlwjwjw +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Slalom +Bricks: +.............. +.............. +.............. +hhhhhhhhhhhhhh +dddddddddddddd +!@!@!@!@!@!@!@ +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +#z#z#z#z#z#z#z +cc*ccccc*cccc* +cccccccccccccc +v#v#v#v#v#v#v# +aaaaaaaaaaaaaa +ffffffffffffff +gggggggggggggg +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.....l...l.... +.............. +..?...f...?... +.m...l.m.l...m +.5.5.5.5.5.5.5 +p...........p. +.....l...l.... +......g....... +p-..*...*...-p +&.wb......bw.& +...+....+..... +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Slalom +Bricks: +.............. +EEEEEEEEEEEEEE +Eaaaaaaaaaaaaa +Eaaaaaaaaaaaaa +EaaEEEEEEEEEEE +Ebbbbbbbbbbbcc +Ebbbbbbbbbbbcc +EEEEEEEEEEEEcc +Eccccccccccccc +Eccccccccccccc +EccEEEEEEEEEEE +Ecczzzzzzzzzzz +Ecczzzzzzzzzzz +EEEEEEEEEEEEzz +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.mm...l.&&..mm +.mm.....&&..mm +.............. +....&&l.....mm +....&&......mm +.............. +.mm...l....... +.mm........... +.............. +.&&...l...&&mm +.&&.......&&mm +............mm +.............. +.............. +.............. +.............. diff --git a/client/levels/Crossing b/client/levels/Crossing new file mode 100644 index 0000000..f74baff --- /dev/null +++ b/client/levels/Crossing @@ -0,0 +1,862 @@ +Version: 1.01 +Level: +kbozen +01 +Bricks: +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +.............. +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +.............. +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +.............. +Bonus: +00000000000000 +l...........>. +W....!........ +.{..{..{..{>.{ +..W........... +......&..>.... +....W......... ++.......>....< +......+....... +{..{..<..{..{. +........W..... +....>......... +..........W... +..>....s...... +............W. +>............. +.{.{.{.{.{.{.{ +{.{.{.{.{.{.{. +Level: +kbozen +02 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +.............. +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +.............. +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +.............. +Bonus: +0000.0000.0000 +.....b........ +..!.........-. +{..{..{..{..{. +.~........-... +....l....+.... +...~....-..... +.............. +..+..+-....... +.{..{..{..{..{ +.......~...... +.........w.... +..-........... +......&....... +-..........~.. +.............. +{.{...{.{.{.{~ +.{.{.{.{.{.{.{ +Level: +kbozen +03 +Bricks: +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +E..E.E..E.E..E +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +E..E.E..E.E..E +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +E..E.E..E.E..E +Bonus: +00000000000000 +............l. +...p..b....... +.>..{..{..{..{ +........<...c. +.............. +..........c... +.w...~........ +........c..... +..{..{.<{..{.. +......c....... +.........>.... +....c......... +...........f.. +..c....b...... +.............> +c{.{.{.{.{.{.. +..{.{.{.....{. +Level: +kbozen +04 +Bricks: +!..!E!..!E!..! +....E....E.... +vvvvvvvvvvvvvv +....E....E.... +!..!E!..!E!..! +....E....E.... +!..!E!..!E!..! +....E....E.... +vvvvvvvvvvvvvv +....E....E.... +!..!E!..!E!..! +....E....E.... +!..!E!..!E!..! +....E....E.... +vvvvvvvvvvvvvv +....E....E.... +!..!E!..!E!..! +.............. +Bonus: +0000.0000.0000 +..........w... +>...l......... +............~. +..>....!...... +......{...~... +.............. +........~..... +......<..p.... +...{..~....<.. +.b......>....{ +.............. +......&...>... +..~........... +............>. +~............. +.{.{.{.{...{.{ +{.{.{.{.{.{.{. +Level: +kbozen +05 +Bricks: +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +E..EEE..EEE..E +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +E..EEE..EEE..E +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +E..EEE..EEE..E +Bonus: +11111111111111 +...+......!... +.-............ +..{........{.. +...-...p.l..c. +.............. +.w...-....c... +............b. +.......+c..... +.{.{.......{.. +......c..-.... +.............. +....c......-.. +......&....... +..c..........- +.............. +c.{.{.{.{.{.{. +.{.....{...{.. +Level: +kbozen +06 +Bricks: +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +...EEE..EEE... +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +...EEE..EEE... +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +.............. +Bonus: +11111111111111 +l.....<....... +............W. +.>.....{...... +..........f... +..{........+.. +........W..... +.w...>......{. +......<....... +.{.....>...... +.............. +.............. +..f...p....... +...........>.. +W............. +.............> +.{.{.{.{.{.{.{ +{.{.{.{.{.{.{. +Level: +kbozen +07 +Bricks: +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +EE.EEEE.EEEE.E +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +E.EEEE.EEEE.EE +!..!.!..!.!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!.!..!.!..! +EE.EEEE.EEEE.E +Bonus: +11111111111111 +...b.......... +..........!... +.~.....{...... +l....w...b..c. +..{........... +..........c... +.....~........ +........c..... +.......+...{.. +.{..b.c..w.... +.............. +....c......... +......&....~.. +..c........... +.............~ +c{.{.{.{.{.{.{ +..{.........{. +Level: +kbozen +08 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEE..EEE..E +Bonus: +1111.1111.1111 +.............. +.............. +...{.....s..>. +lc...b.{...... +............{. +...c..&....... +........>..b.. +.....c........ +..{...<....... +.s.....c...{.w +.............. +......{....... +..>........... +...........c.. +>............. +{.{...{.{.{.{c +.{.....{...{.. +Level: +kbozen +09 +Bricks: +!..!E!..!E!..! +.........E.... +vvvvvvvvvvvvvv +....E......... +!..!E!..!E!..! +E.EEEE.EEEE.EE +!..!E!..!E!..! +.........E.... +vvvvvvvvvvvvvv +....E......... +!..!E!..!E!..! +EE.EEEE.EEEE.E +!..!E!..!E!..! +.........E.... +vvvvvvvvvvvvvv +....E......... +!..!E!..!E!..! +E.EEEE.EEEE.EE +Bonus: +1111.1111.1111 +....w......... +.............. +.>.......b..{. +...l......W... +......{....... +........W..... +{.&..>....!... +......<....... +.......>.+.{.. +w.{........... +.............. +..W....{...... +....<......>.. +W............. +.............> +{.{...{...{.{. +.{.........{.. +Level: +kbozen +10 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEE..E +Bonus: +1111.1111.1111 +..........b... +.~............ +......{.....c. +b.{f....l..... +...........&.. +.....~........ +........c..... +.......+...... +......c....{.. +.{.w....s..... +.............. +...........f.. +..c....p...... +.............~ +c............. +{.{...{.{.{.{. +.{.........{.. +Level: +kbozen +11 +Bricks: +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +EEEEEE..EEEEEE +Bonus: +2222.2222.2222 +.............c +.............. +w..!...+....{. +........b.lc.. +......{....... +..{..........s +p....-........ +.......c...... +..{.b......... ++....c.{..w.{. +.............. +.............. +..c....-.....& +.............. +......-....... +..{..{..{..{.. +......{{...... +Level: +kbozen +12 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +EEEEEE..EEEEEE +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEE... +Bonus: +2222.2222.2222 +....w..+.....> +.............. +....b......>.. +.-....l....... +...........{.. +.............. +....-.!....... +.......>...... +..{.b......&.. +.....<.d.....w +.............. +............{. +..>.......d... +.............. +>...........d. +{.{...+...{.{. +.{.........{.{ +Level: +kbozen +13 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +E..EEEEEEEE..E +Bonus: +2222.2222.2222 +......p....... +s.........w... +..b.........{. +.......~...... +.c............ +..{........... +......<...b... +.............. +.&..........c. +.....+........ +.............. +..c...~....{~. +.{............ +.............. +.~...!l~..c... +{..{.......{{. +.{{........{c. +Level: +kbozen +14 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +EEEEEE..EEEEEE +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +EEEEEE..EEEEEE +Bonus: +2222.2222.2222 +.............. +.............. +.s.....>...... +...w......+.l. +......{....... +.{............ +......>......b +.............. +b.......b..... +......<.....{. +..&........... +.............. +.............. +.......-...... +......-......! +.+...{..{..... +......{{...... +Level: +kbozen +15 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +EEEEEE..EEEEEE +Bonus: +2222.2222.2222 +....b...b..... +.............. +.{.......b.... +...w..f....{W. +.......{...... +............f. +.....<........ +.............. +..f....W...{.. +.{....{.....W. +.............. +.............. +......c....... +...l..cc....&. +.W.....c..!... +.....{..{..... +......{{...... +Level: +kbozen +16 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +EEEEEEEEEEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEEEEE +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +EEEEEEEEEEE..E +Bonus: +3333.3333.3333 +l........s..b. +.............b +......s.{..c.. +..d........... +............c. +......{w...... +.&..b....b.... +.............. +...........f.. +<.....b!...... +.............. +..{...c....... +b........>.... +....c......>.. +..b........... +.bc...b+..{.>{ +...........{{. +Level: +kbozen +17 +Bricks: +!..!E!..!E!..! +.........E.... +vvvvvvvvvEvvvv +.........E.... +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E......... +vvvvEvvvvvvvvv +....E......... +!..!E!..!E!..! +E..EEEEEEEEEEE +Bonus: +3333.3333.3333 +...b....+....l +.............. +b...w......... +..-....&...... +.............. +.............. +.b....{....w.< +.............. +.d{b...c...... +............{. +..d.........>. +.............. +.....b.{.>.... +.c............ +.......b...>.. +{..{........{. +.{{........... +Level: +kbozen +18 +Bricks: +!..!E!..!E!..! +.........E.... +vvvvvvvvvEvvvv +.........E.... +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E......... +vvvvEvvvvvvvvv +....E......... +!..!E!..!E!..! +E..EEEEEEEEEEE +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +EEEEEEEEEEE..E +Bonus: +3333.3333.3333 +....<..b..l... +.............. +.............. +..&........... +.......{....s. +.............. +.......b...b.. +.............. +w.+.........{. +......f....!.. +.............. +.{............ +b.c.b..+.~..-. +.............. +b....c.....-.. +..c.......{..{ +...........{{. +Level: +kbozen +19 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEEEEEEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E......... +vvvvEvvvvvvvvv +....E......... +!..!E!..!E!..! +E..EEEEEEEEEEE +Bonus: +3333.3333.3333 +p.b...b.....w. +.............. +<..b...b...... +......!....... +..w........... +............{. +b.......l..... +.............. +.{+...&....... +.............. +...........c.. +.>....s....... +........c...c. +..>........... +.>.....{.c...b +{..{.......b!. +.{{........... +Level: +kbozen +20 +Bricks: +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +E..EEE..EEE..E +!..!E!..!E!..! +....E....E.... +vvvvEvvvvEvvvv +....E....E.... +!..!E!..!E!..! +E..EEEEEEEE..E +!..!E!..!E!..! +.............. +vvvvvvvvvvvvvv +.............. +!..!E!..!E!..! +EEEEEE..EEEEEE +Bonus: +3333.3333.3333 +.b............ +.....w....b... +......&....... +..s........c.. +.............. +.............. +.s...w....<.c. +.............. +........l...~. +......+....... +.~.........c.. +..s....d...... +b........~.... +......d....... +....~.......~. +.....{..{..b.. +......{{...... +Level: +kbozen +21 +Bricks: +!..!@!..!@!..! +....z....z.... +vvvvzvvvvzvvvv +....z....z.... +!..!@!..!@!..! +@zz@@@zz@@@zz@ +!..!@!..!@!..! +....z....z.... +vvvvzvvvvzvvvv +....z....z.... +!..!@!..!@!..! +@zz@@@zz@@@zz@ +!..!@!..!@!..! +....z....z.... +vvvvzvvvvzvvvv +....z....z.... +!..!@!..!@!..! +@zz@@@zz@@@zz@ +Bonus: +4444.4444.4444 +..<...+....... +.......f...... +.f.?.p....?.f. +...........b.. +.............. +..b........... +.>...l.{...>{. +.............. +.{....>...p... +............<. +.............. +..b........... +......-...b... +...........-.. +.-............ +{..{..{.{.{.{. +.{{....{...{.. diff --git a/client/levels/D2K b/client/levels/D2K new file mode 100644 index 0000000..7119905 --- /dev/null +++ b/client/levels/D2K @@ -0,0 +1,1026 @@ +Version: 1.00 +Level: +noname +pyramid 1 +Bricks: +....!!!!!!.... +...!hhhhhh!... +..!hhhhhhhh!.. +ccccccEEcccccc +cccccc@@cccccc +****E@!!@E**** +!!!E@!!!!@E!!! +!!!@!!!!!!@!!! +!E@!!!!!!!!@E! +E@!!!!@@!!!!@E +@!!!!@!!@!!!!@ +!!!!@!!!!@!!!! +v!!@!!cc!!@!!! +!!@!!c..c!!@!! +!@!!c....c!!@! +!!!c......c!!@ +!!c........c!! +!c..........c! +Bonus: +....22mm22.... +...25555552... +..2555555552.. +.............. +.............. +......mm...... +***..5555..*** +....544445.... +l..54....45..l +..54......45.. +&54..&mm&..45& +54...3333...45 +4...3....3...4 +4..3......3..4 +4.3........3.4 +&3..........3& +3............3 +w............. +Level: +noname +pyramid 2 +Bricks: +cc**********cc +cc**********cc +cc****EE****cc +cc**@E@@E@**cc +cc**#bbbb#**cc +EE*#*!!!!*#*EE +EE*#!!!!!!#*EE +..#!!!!!!!!#.. +..#!!!!!!!!#.. +..#!!!@@!!!#.. +.#!!!@!!@!!!#. +.#!!!@**@!!!#. +.#!!@*bb*@!!#. +#!!!@*..*@!!!# +#!!@*b..b*@!!# +#!!@b....b@!!# +#!@b......b@!# +##@b..@@..b@## +Bonus: +44..........44 +44..........44 +44..........44 +44..5.55.5..44 +44...&&&&...44 +.....5555..... +.............. +.............. +.............. +......55...... +.....5mm5..... +.....5..5..... +....5....5.... +4...5....5...4 +4..g......g..4 +4..gw....wg..4 +4..w......w..4 +4..w......w..4 +Level: +noname +wedges +Bricks: +ge@EEEEEEEE@eg +!ge@EEEEEE@eg! +.!ge@EEEE@eg!. +..!ge@EE@eg!.. +@..!ge@@eg!..@ +E@..!geeg!..@E +EE@..!gg!..@EE +EEE@.!bb!.@EEE +EEEE@!!!!@EEEE +EEEE@!!!!@EEEE +EEE@b.@@.b@EEE +EE@b.@EE@.b@EE +E@b.@EEEE@.b@E +@b..b@EE@b..b@ +b....b@@b....b +......bb...... +.............. +.............. +Bonus: +4............4 +.4..........4. +..4........4.. +...4......4... +....4m..m4.... +.....4&&4..... +......44...... +......**...... +.............. +....4....4.... +...4..55..4... +..4&.5..5.&4.. +.4&.5....5.&4. +4b..m5..5m..b4 +b....w55w....b +......ww...... +.............. +.............. +Level: +noname +more wedges +Bricks: +.cc@******@cc. +..c*@EEEE@*c.. +...cc@EE@cc... +i...cc@@cc...i +@i...cccc...i@ +x@i...cc...i@x +xx@i......i@xx +xxx@i....i@xxx +xxxx@ixxi@xxxx +xxxx@ixxi@xxxx +xxx@i!!!!i@xxx +xx@i!!kk!!i@xx +x@i!!k@@k!!i@x +@i!!k@EE@k!!i@ +i!!!k@EE@k!!!i +!!!!k@EE@k!!!! +!!!k@EEEE@k!!! +!!k@EEEEEE@kkk +Bonus: +.23...ll...32. +..2........2.. +...23....32... +....23..32.... +.....2332..... +5.....22.....5 +55..........55 +555.&....&.555 +5555..44..5555 +5555..44..5555 +555........555 +55....gg....55 +5....g..g....5 +....&....&.... +m...&....&...m +....&....&.... +...w......w... +www........www +Level: +noname +more wedges +Bricks: +#************# +*#EEEEEEEEEE#* +@*#!!!!!!!!#*@ +E@*#!!!!!!#*@E +EE@*#!!!!#*@EE +E@*#!!!!!!#*@E +@*#!!!!!!!!#*@ +*#!!!!!!!!!!#* +@*#!!!!!!!!#*@ +#@*#!!!!!!#*@# +##@*#!!!!#*@## +#@*#!!!!!!#*@# +@*#!!!!!!!!#*@ +*EEEEEEEEEEEE* +xxxxxxxxxxxxxx +************** +!!!!!!!!!!!!!! +bbbbbbbbbbbbbb +Bonus: +.............. +.............. +......mm...... +.............. +......44...... +.....4554..... +....455554.... +...44555544... +....455554.... +.....4554..... +...m..44..m... +.............. +.............. +.............. ++m....++....m+ +.............. +.............. +.............. +Level: +noname +stonewall +Bricks: +Ei..E****E..iE +*Ei.iE**Ei.iE* +E*Ei.*EE*.iE*E +*E*EiE**EiE*E* +..E*E****E*E.. +iiiE*E**E*Eiii +****E*EE*E**** +iiiEeE**EeEiii +E.Eee*EE*eeE.E +!Eee*e**e*eeE! +!!E*e*ee*e*E!! +!!*Ee*ee*eE*!! +!!!!E*ee*E!!!! +!!!!!E**E!!!!! +v!!!!!EE!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +.5....ll....5. +..5.5....5.5.. +...5......5... +....5....5.... +.............. +444........444 +.............. +444.3....3.444 +...33....33... +w.33......33.w +.w....&&....w. +..w...&&...w.. +.............. +.............. +.............. +.............. +.............. +gggggggggggggg +Level: +noname +pod +Bricks: +hh*hhh**hhh*hh +h*f*f*EE*f*f*h +*fff*#EE#*fff* +h*f*#*EE*#*f*h +hf*E!!EE!!!*fh +h*E!!!EE!!!E*h +*E!!!!!!!!!!E* +E!!!!!!!!!!!!E +#!!!!****!!!!# +*@!!!*EE*!!!@* +!*#!!*EE*!!#*! +g!*E!*EE*!E*!g +fg!*E*EE*E*!gf +fEg!*@EE@*!gEf +fEEg!*!!*!gEEf +fEEEg!!!!gEEEf +fEEEEggggEEEEf +ffffffffffffff +Bonus: +.............. +.............. +..l........l.. +.............. +....45..543... +...345..543... +...34555543... +...34555543... +...34.&&.43... +...34....43... +...34....43... +....4....4.... +.....m..m..... +.............. +*............* +*............* +*............* +*wwwggggggwww* +Level: +noname +the blues +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +gEgEEEgEEEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +gEgEgEgEgEgEg! +EEEEgEEEgEEEE! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +444444&444444& +333333&333333& +.............. +5.5...5...5.m. +5.5.w.5.w.5.m. +5.5.w.5.w.5... +5.5.!.5.!.5... +5.5...5...5... +5.5...5...5... +5.5...5...5.b. +5.5...5...5.b. +5.5.&.5.&.5.b. +5.5...5...5.b. +&.&...&...&.b. +!.!.w.!.w.!.b. +....w...w..... +&............& +wb.wgggwggw.bw +Level: +noname +shelves +Bricks: +@jjjj!*EEEEEEE +@jjjj!*!!jjjj@ +@jjjj!*!!jjjj@ +@jjjj!*!!jjjj@ +EEEEEEE!!jjjj@ +@jjj*!*!!jjjj@ +@jjj*!*!!jjjj@ +@jjj*!*!!jjjj@ +@jjj*!*EEEEEEE +@jjj*!*!!kkkk@ +@jjj*!*!!kkkk@ +@jjj*!*!!kkkk@ +EEEEEEE!!kkkk@ +Ekkkkk*!!kkkk@ +Ekkkkk*!!kkkk@ +Ekkkkk*!!kkkk@ +Ekkkkk*!!kkkk@ +EEEEEE*EEEEEEE +Bonus: +.5555......... +.5..3&..35555. +.5..3&..3...5. +.l555&..3...5. +........3...5. +.5**....3...5. +.5.3....3...5. +.5.3....35555. +.5.3.......... +.5.3.....4444. +.5.3.....3..4. +.555.....3..4. +.........3..4. +.222bw.&.3..4. +.2.3bw.&.3..4. +.2.3bw.&.3..4. +.222bw.&.44++. +.............. +Level: +noname +peano curve +Bricks: +#####!!!!##### +#!!!#!!!!#!!!# +#!!!#!!!!#!!!# +#!!!#!!!!#!!!# +#!!!#!!!!#!!!# +#!!!#!!!!#!!!# +#!!!#!!!!#!!!# +#!!!#!!!!#!!!# +#!!!######!!!# +#!!!*!!!!*!!!# +#!!!*!!!!*!!!# +#!!!*!!!!*!!!# +#####!!!!##### +!!!!#!!!!#!!!! +!!!!#!!!!#!!!! +!!!!#!!!!#!!!! +!!!!#!!!!#!!!! +#####!!!!##### +Bonus: +.....5225..... +.???.5225.???. +.?...5225...?. +.?...5225...?. +.?...5225...?. +.?...5225...?. +.?...5555...?. +.?...&22&...?. +.?..........?. +.?...????...?. +.?...4444...?. +.?.m.4444.m.?. +.....4444..... +&333.gggg.333& +3333.wbbw.3333 +3333.bwwb.3333 +3333.bwwb.3333 +.....w..w..... +Level: +noname +peano 2 +Bricks: +####i####i#### +#ee#i#ee#i#ee# +##e###ee###e## +i#!!!!!!!!!!#i +@@!!!!!!!!!!@@ +@!!!!!!!!!!!!@ +@!!!!!!!!!!!!@ +EEEEE!!!!EEEEE +vvvv#!!!!#vvvv +vvvv#!!!!#vvvv +vvE##!!!!##Evv +vvEffffffffEvv +vvEffffffffEvv +vvE#@!!!!@#Evv +vvgg@!!!!@ggvv +###g@!!!!@g### +#h#g@!!!!@g#h# +#h##@!!!!@##h# +Bonus: +....l....l.... +.&..........&. +.............. +&....m44m....& +......44...... +......44...... +......55...... +......55...... +3333..55..3333 +3???.*55*.???3 +3?...*55*...?3 +3?.&&....&&.?3 +3?.&&....&&.?3 +3?...g55g...?3 +3?...g55g...?3 +.....gggg..... +.w...&..&...w. +.w..........w. +Level: +noname +cantor +Bricks: +!!!!!!!!!!!!!! +!!!!!!@@!!!!!! +!!!!!!@@!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +************** +EEEEEE**EEEEEE +dddddd**dddddd +dddddd**dddddd +************** +EEE*EEEEEE*EEE +dddddddddddddd +kk!kkkkkkkkkkk +kkkkkkkkkkkkkk +E.E.E.EE.E.E.E +Bonus: +55555555555555 +?...&....&...? +?............? +?.....**.....? +?............? +?............? +?...ggggg....? +?..wwbbbbww..? +.............. +.............. +?44444..44444? +?44444..44444? +.............. +.............. +.............. +b&b&b&..&b&b&b +.w.w.w..w.w.w. +.............. +Level: +noname +swath +Bricks: +!!!*Eee*e*e*e* +!!!!*E*e*e*e*e +!!!!!*E*e*e*e* +!!!!!**E*e*e*e +!!!!*!!*E*e*e* +!!!*!!!!*E*e*e +!!*!!!!!!*E*e* +!*!!!!!!!!*E*e +*!!!!!!!!!**E* +E*!!!!!!!*!!*E +!E*!!!!!*!!!!* +!!E*!!!*!!!!!! +!!*E*!*!!!!!!! +!*!!E*!!!!!!!! +*!!!!E*!!!!!!! +!!!!!*E*!!!!!! +!!!!*!!E*!!!!! +!!!*!!!!E**### +Bonus: +345........... +2345..&....... +1234&......... +01234......... +j012.45....... +..0.2345...... +...012345..... +l...012345...& +.&..&01234.... +.....&012.*5.. +l......0.2345. +5w......012345 +55.......01234 +5.33......0123 +.333w......012 +33333.......01 +3333..w......j +w33....w...... +Level: +noname +tiers +Bricks: +..####..####.. +..#vv#..#vv#.. +..#vv#..#vv#.. +..#vv#..#vv#.. +..#vv#..#vv#.. +@@@@*@@@@*@@@@ +@vv@*@EE@*@vv@ +@vv@*@EE@*@vv@ +@vv@*@EE@*@vv@ +!!!!!!EE!!!!!! +!.!!*!EE!*!!.! +!.!!*!EE!*!!.! +!.!!*!EE!*!!.! +@@@@*@@@@*@@@@ +@!!#*#!!#*#!!@ +@!!#.#!!#.#!!@ +@!!@.@!!@.@!!@ +@!!@.@!!@.@!!@ +Bonus: +.............. +.............. +.............. +.............. +...&&....&&... +5555.5555.5555 +5..5.5..5.5..5 +5..5.5..5.5..5 +5mm5.5..5.5mm5 +....*....*.... +.............. +.............. +.............. +.............. +.??...??...??. +.??...??...??. +.bb...bb...bb. +.ww...ww...ww. +Level: +noname +eyes +Bricks: +EE@!@@@@@@!@EE +E@!.!!!!!!.!@E +@!..........!@ +!..##....##..! +!.#EE#..#EE#.! +!#@!!@##@!!@#! +!E!!!!EE!!!!E! +E!!!!!@@!!!!!E +!E!!!!EE!!!!E! +h!@!!@!!@!!@!h +h.!EE!!!!EE!.h +h..!!!!!!!!..h +h............h +h............h +h.!!!!!!!!!!.h +h.!********!.h +h.!*!!!!!!*!.h +h.!*!@@@@!*!.h +Bonus: +...m......m... +.....4444..... +.............. +.............. +.............. +.............. +..5555..5555.. +..5555..5555.. +&.5555..5555.& +&.....??.....& +......??...... +m.....??.....m +m............m ++............+ ++...wwwwww...+ +.............. +.............. +.............. +Level: +noname +compartments +Bricks: +cccccccccccccc +caaaaaaaaaaaac +caaaaaaaaaaaac +cccccccccccccc +bEEEEEEEEEEEEb +b************b +b!*!!!!!!!!*!b +b!!*!!!!!!*!!b +b############b +b************b +b!*!!!!!!!!*!b +b!!*!!!!!!*!!b +b############b +b************b +b!!!!!!!!!!!!b +b!!!!!!!!!!!!b +b!!!!!!!!!!!!b +b############b +Bonus: +c............c +c............c +c............c +***...ll...*** +.............. +.............. +.....5555..... +.....5mm5..... +w............w +b............b +w...j5555j...w +&...!5555!...& +b............b +w............w +w............w +&..j555555...& +b..jgggggg...b +w............w +Level: +noname +tubes +Bricks: +gEEEEEEE#####g +ggggggggggg##g +gEEEEEEEEEgEEg +g!!!!!!!!EgEEg +g!!!!!!!!EgEEg +g!!!!!!!!EgEEg +g!!!!!!!!Egggg +g!!!!!!!!EgEE# +g!!!!!!!!EgEEg +gEEEEEEE#EggEg +ggggggggggggEg +EEEEEEEE#EEgEg +!**hhhhhhhEgEg +!.*EEEEE#EEgEg +!.*gggggggggEg +!.*EEEEE#EEEEg +!.*!!!!!!!!!!! +EE............ +Bonus: +g.......ccc..l +g5555555553..l +g.........3..l +g55555555.3..l +g55555555.3..l +g55555555.3..l +g55555555.3ccc +g55555555.3... +g55555555.3..4 +g.......&.35.4 +g.......&.35.4 +........&..5.4 +m....+++++.5.4 +m.......&..5.4 +m..&&.&&&&&5.4 +m.......&....4 +m..wwwwwwwwwww +.............. +Level: +noname +threadz +Bricks: +!!!!!!!!!!!!!! +!************! +!************! +!!!!!!!!!!!!!! +#...EEEEEE...# +!#dddddddddd#! +!!EddddddddE!! +*!!EddddddE!!* +!*!!#EEEE#!!*! +!!*EfEiiEfE*!! +!*EffEiiEffE*! +*EfffEiiEfffE* +#*ff*EiiE*ff*# +ff**aEiiEa**ff +ff*a.EiiE.a*ff +f*a..EiiE..a*f +*a...EiiE...a* +#....EiiE....a +Bonus: +44444444444444 +l............l +...gggggggg... +.............. +.............. +4............4 +4............4 +.............. +4............4 +4...m.55.m...4 +4...m.55.m...4 +....m.55.m.... +......55...... +......55...... +......55...... +......55...... +......55...... +......55...... +Level: +noname +stubble +Bricks: +@@!@@@!!@@@!@@ +@!!!@!!!!@!!!@ +!!!!!!!!!!!!!! +@!!!!!!!!!!!!@ +@@!!EEEEEE!!@@ +@!!!@@@@@@!!!@ +!!!!!@!!@!!!!! +@!!!!!!!!!!!!@ +@@!!!!!!!!!!@@ +@!!!!@!!@!!!!@ +!!!!@@@@@@!!!! +@!!!EEEEEE!!!@ +@@!!!!!!!!!!@@ +@!!!!!!!!!!!!@ +!!!!!!!!!!!!!! +@!!!!@!!@!!!!@ +@@!!@@@@@@!!@@ +@!!!EEEEEE!!!@ +Bonus: +..5...ll...5.. +..54......45.. +..54??????45.. +&.5444444445.& +&&5........5&& +&.5........5.& +..5........5.. +..5........5.. +..5........5.. +..5...mm...5.. +..5........5.. +&.5........5.& +&&5........5&& +&w5.wccccw.5w& +************** +.????.mm.????. +..ww......ww.. +.ggg......ggg. +Level: +noname +spilling... +Bricks: +......#**vvvvv +.....x*#vvvvvv +....x*.Evvvvvv +...x*.Evvvvvvv +..x*.Evvvvvvvv +.x*.Evvvvvvvvv +x*.Evvvvvvvvvv +*.E!!!!!!!!!!v +.E!!!!!!!!!!!! +EE!!!!!!!!!!E# +.E!!!!!!!!!Evv +..EE!!!!!!Evvv +...E!!!!!Evvvv +....E!!!Evvvvv +.....E!Evvvvvv +......Evvvvvvv +.......Evvvvvv +........Evvvvv +Bonus: +...........**& +...........**& +...........**& +...........**& +...........**& +...........**& +...........**& +...5555555555& +..55555555555. +..5555555555.. +..555555555.m. +...5555555.m.. +....55555.m... +.....555.m.... +......l.m..... +.......??????? +........?????? +.........????? +Level: +noname +rain +Bricks: +E*E*E*E*E*E*Ec +E***E*E*E*E*Ec +E*E*E*E*E*E*E* +E*E*E*E*E*E*E* +E*E***E*E*E*E* +E*E*E*E*E*E*E* +E*E*E***E*E*E* +E*E*E*E***E*E* +E*E*E*E*E*E*E* +E*E*E*E*E*E*E* +E*E*E*E*E***E* +E*E*E*E*E*E*** +E*E*E*E*E*E*E* +E*E*E*E*E*E*E* +E*E*E*E*E*E*E* +EcEcEcEcEcEcE* +EcEcEcEcEcEcE* +!!!!!!!!!!!!!! +Bonus: +.5............ +.?w........... +.............. +...w.......... +...5.......... +...?.......... +.......w...... +.......5...... +.......?...... +.............. +...........w.. +...........5.. +...........?.. +.............. +.............w +.............5 +.............? +.............. +Level: +noname +whiskers +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!#*!!!!!!!!! +!!#*!!#*!!*!!! +!#*!!#*!!#*!!! +#*!!#*!!#*!!!! +*#!#*!!#*!!!!! +a*#*!!#*!!!!!! +va*#!#*!!!!#*! +vva*#*!!!!#*!! +vvva*#!!!#*!!! +....a*#!#*!!#! +.....a*#*!!#*! +......a*#!#!!! +vvvvvvva*#*!!! +........a*#!!! +.........a*#!! +vvvvvvvvvva*EE +Bonus: +5555555555.555 +44444444444444 +.............. +.............. +g............. +.............. +..g........... +.............. +j...g......... +.............. +..m...g....... +.......g...... +.............. +.........g.... +......m....... +...........g.. +............g. +.........m.... +Level: +noname +death ... +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +jf.l.fWj?-w??b +!!??!&&d-+.-}l +-Wdf.{&d..}.?W +f?wb!&.+Wf.... +~fl...b&!>?&jw +W+}~ssb?>?-f.? +b..blf??b.-.j? +j&wW.fWWWW?.l? +??-.~j>j.?{fb? +?.&j.f~!w?>!b+ +.ddd+bb.W?>.&. +l?fW&&&gg~ffW& +b?{W!jggg.W&&. +bw>>&jwwWd&.j! +lm&b}}&&+.~w.. +~w&f!?f??>~>+! +w...&?&w-b>ssw +.fw{j...-jw&.. +Level: +noname +and life. +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!*!!!!!!! +!!!!!*E*!!!!!! +!!!!*E!E*!!!!! +!!!*E*!*E*!!!! +!!*E!!!!!E*!!! +!!!*E*!*E*!!!! +!!!!*E!E*!!!!! +!!!!!*E*!!!!!! +!!!!!!*!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +....l....l.... +.............. +......5....... +.....555...... +....55.55..... +...55...55.... +..55.....55... +.55...l...55.. +.5..??l??..5.. +..5...l...55.. +..55.....55... +...55...55.... +....55.55..... +?????555?????? +....&...&..... +...>>>>>>>>... ++b+b+wb+w>b+b+ +wwwwwww.wwwwww +Level: +noname +moria +Bricks: +#######ff####f +#aaaaa#ff#!!#f +#aaaaa#ff#!!#f +###aaa#EEE!!#f +aaaaaa!!!E!!#E +a###!#!!!E!!!E +a!!#!#!!!E!!!E +a!!#!#!!!E!!aE +aEEEEE#a####aE +aa!#!!#a#!!#aE +aa!!!!#a#!!#a! +aa!!!!#a#!!#a! +aa#####a#!!#!! +aaaaaaaab..ba! +aaaaaaaab..ba! +###aaaaa#..### +gg#aaaaa#..#gg +gg#######hhhgg +Bonus: +.....ll..ll..? +.44444.**.55.? +.......**.55.& +..........55.& +4.....555.55.. +4...5.555.555. +455.5.555.555. +455.5.555.55.. +4......4...... +445.55.4.bb.&. +445555.4.ww.&m +445555.4.ww.&. +44.....4.ww... +44.....4?..?*. +44....&*?..?*. +....gg&*...... +&&.mgg&*....&& +.........ppp.. diff --git a/client/levels/Daves b/client/levels/Daves new file mode 100644 index 0000000..fcb0705 --- /dev/null +++ b/client/levels/Daves @@ -0,0 +1,698 @@ +Version: 2.00 +Level: +Dave W. +Warm-Up +Bricks: +.............. +gggggggggggggg +gggggggggggggg +g............g +g............g +g............g +g..jjjjjjjj..g +g..jjjjjjjj..g +g..j......j..g +g..j......j..g +g..j......j..g +g..j..dd..j..g +g..j..dd..j..g +g..j..dd..j..g +g..j..dd..j..g +g..j..dd..j..g +g..j..dd..j..g +#..#..##..#..# +Bonus: +.............. ++..s......s..+ +.............. +.............. +.............. +.............. +-..<......<..- +.............. +>..>......>..> +.............. +.............. +1..1..11..1..1 +.............. +.............. +......>>...... +...-......-... +c..+..bb..+..c +.............. +Level: +Dave W. +Stop 'n' Go +Bricks: +d.f.h.d.f.h.d. +d.f.h.d.f.h.d. +.............. +.............. +.h.d.f.h.d.f.h +.h.d.f.h.d.f.h +.............. +.............. +c.c.c.c.c.c.c. +c.c.c.c.c.c.c. +.............. +.............. +.h.d.f.h.d.f.h +.h.d.f.h.d.f.h +.............. +.............. +d.f.h.d.f.h.d. +d.f.h.d.f.h.d. +Bonus: +>...0.>...0.>. +-.+...-.+...-. +.............. +.............. +.0.>.<.0.>.<.0 +...-.....-.... +.............. +.............. +.............. +.............. +.............. +.............. +.0.....0.....0 +...-.....-.... +.............. +.............. +>.....>.....>. +.............. +Level: +Dave W. +"Have a Nice Day" +Bricks: +.....hhhh..... +....hhhhhh.... +....hhhhhh.... +...hhhhhhhh... +...h#hhhh#h... +...h#hhhh#h... +..hh#hhhh#hh.. +..hhhhhhhhhh.. +..hhhhhhhhhh.. +..hhhhhhhhhh.. +..hhhhhhhhhh.. +..hh#hhhh#hh.. +...hh####hh... +...hhh##hhh... +...hhhhhhhh... +....hhhhhh.... +....hhhhhh.... +.....hhhh..... +Bonus: +.....5555..... +.............. +.............. +.....l..m..... +.............. +.............. +.....<..<..... +.............. +.............. +.............. +....W....W.... +.....+--+..... +.............. +.....b..b..... +...>......>... +.............. +.....>..>..... +.............. +Level: +Dave W. +Arara +Bricks: +jjjjjjjjjjjjjj +hhhhhhhhhhhhhh +ffffffffffffff +.............. +.............. +hhhhhhhhhhhhhh +eeeeeeeeeeeeee +eeeeeeeeeeeeee +eeeeeEeeEeeeee +ddddE....Edddd +ddddE.hh.Edddd +ddddE.hh.Edddd +ddddE....Edddd +dddddEEEEddddd +.............. +.............. +.............. +.............. +Bonus: +.............. +00000000000000 ++b}s+b&&b+s}b+ +.............. +.............. +00000000000000 +.............. +.............. +.............. +WWWW......WWWW +>>>>..44..>>>> +{&{{..44..{{&{ +----......---- +>>>>>....>>>>> +.............. +.............. +.............. +.............. +Level: +Dave W. +The Panic Room +Bricks: +eEeE......EeEe +cjcj......jcjc +.............. +.............. +.............. +.............. +jfjEEE.EEEjjfj +jjE!!E.E!!Ejjj +..E!.....!E... +..E!.....!E... +..E!.ccc.!E... +jfE!.cic.!Ejfj +jjE!.ccc.!Ejjj +..E!.....!E... +..E!!!!!!!E... +...EEEEEEE.... +.............. +.............. +Bonus: +*.*........*.* +.............. +.............. +.............. +.............. +.............. +.b..........b. +...b.....b.... +.............. +.............. +.............. +.+....l.....+. +.............. +.............. +...b.....b.... +.............. +.............. +.............. +Level: +Dave W. +K.I.S.S. +Bricks: +.............. +.k.k.k..k.k.k. +.............. +.d.d.d..d.d.d. +.............. +.c.c.c..c.c.c. +.............. +.e.e.e..e.e.e. +.............. +.x.x.x..x.x.x. +.............. +.h.h.h..h.h.h. +.............. +.c.c.c..c.c.c. +.............. +.j.j.j..j.j.j. +.............. +.z.z.z..z.z.z. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.b.*.b..b.*.b. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Dave W. +Apparitions +Bricks: +hhhhhhhhhhhhhh +hffffffffffffh +hfggggggggggfh +hfg........gfh +hfgvv.vv.vvgfh +hfgvv.vv.vvgfh +hfg........gfh +hfg........gfh +hfgvv.vv.vvgfh +hfgvv.vv.vvgfh +.............. +.............. +vv..vv..vv..vv +vv..vv..vv..vv +.............. +.............. +.EEvvE..EvvEE. +.............. +Bonus: +11111111111111 +1............1 +1............1 +1s..........s1 +1..b...f..b..1 +1...>.5..>...1 +1............1 +1............1 +1+..W..5.W..+1 +1..>..f...>..1 +.............. +.............. +-...>....>...- +.>...-..-...>. +.............. +.............. +...-......-... +.............. +Level: +Dave W. +Bull's-eye +Bricks: +ffffffffffffff +ffffffffffffff +.............. +.....####..... +...##....##... +..#........#.. +..#..EEEE..#.. +.#..gggggg..#. +.#.EgjjjjgE.#. +.#.EgjddjgE.#. +.#.EgjddjgE.#. +.#.EgjjjjgE.#. +.#..gggggg..#. +..#..EEEE..#.. +..#........#.. +...##....##... +.....####..... +.............. +Bonus: ++......m.....+ +.............. +.............. +.............. +.............. +.............. +.............. +....b....b.... +.............. +.......l...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Dave W. +Spectra +Bricks: +.............. +.ii........... +.##........ee. +...........##. +.ee.....ee.... +.##.....##.hh. +....hhh....##. +....###....... +.............. +.hh........... +.##.....ff.... +....fff.##.ff. +....###....##. +.dd........... +.##.ddd....... +....###....kk. +.kk........##. +.##........... +Bonus: +.............. +..l........... +.............. +.............. +.............. +...........4.. +....2.2....... +.............. +.............. +..3........... +........b..... +....+.+....b.. +.............. +..>........... +....-.-....... +.............. +.............. +.............. +Level: +Dave W. +Double Barreled +Bricks: +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +kkk........kkk +kk!!!!..!!!!kk +kk!**!..!**!kk +kk!!!!..!!!!kk +kkk........kkk +kkkkk****kkkkk +kkkzzzzzzzzkkk +kkkkcccccckkkk +kkkkkcccckkkkk +kkkkkkcckkkkkk +kkkkkkkkkkkkkk +#kk@#kkkk#@kk# +.............. +.............. +.............. +Bonus: +*.>.s.b+.s.>.* +.............. +-.-.W....W.-.- +.............. +.<.2gf..fg2.<. +b..5.5..5.5..b +...f52..25f... +.............. +.............. +>.>.-....-.>.> +.............. +.............. +d...d....d...d ++..b+....+b..+ +.............. +.............. +.............. +.............. +Level: +Dave W. +The Desert +Bricks: +.ev.ev..ev.ev. +.ev.ev..ev.ev. +.ev.ev..ev.ev. +.ve.ve..ve.ve. +.ve.ve..ve.ve. +.ve.ve..ve.ve. +.ev.ev..ev.ev. +.ev.ev..ev.ev. +.ev.ev..ev.ev. +.ve.ve..ve.ve. +.ve.ve..ve.ve. +.ve.ve..ve.ve. +.ev.ev..ev.ev. +.ev.ev..ev.ev. +.ev.ev..ev.ev. +.ve.ve..ve.ve. +.ve.ve..ve.ve. +.ve.ve..ve.ve. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Dave W. +Crunchy Egg +Bricks: +.............. +.............. +.bjjj####jjjb. +.bjE#!..!#Ejb. +.bE.!.!!.!.Eb. +.bE!.!..!.!Eb. +.E!.!.!!.!.!E. +.E.!.@..@.!.E. +.E!.!.!!.!.!E. +.E.!.!..!.!.E. +.E!.!.!!.!.!E. +.E.!@!..!@!.E. +.E!.!.!!.!.!E. +.E.!.!vv!.!.E. +.bE.!v!!v!.Eb. +.bE!v!ii!v!Eb. +.bjEE!ii!EEjb. +.bjjjEEEEjjjb. +Bonus: +.............. +.............. +.s..........s. +..W........W.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.&..........&. +.m..........m. +..b...gg...b.. +.............. +Level: +Dave W. +Fort Knox +Bricks: +gggggggggggggg +jjjjjjjjjjjjjj +eeeeeeeeeeeeee +jjjjjjjjjjjjjj +gggggggggggggg +.............. +.............. +vEEEEEvvEEEEEv +..!v*zffz*v!.. +.!.!vzffzv!.!. +..!.!#hh#!.!.. +.!.!.#hh#.!.!. +..!.!#hh#!.!.. +.!.!.#dd#.!.!. +..!.#dddd#.!.. +.!.!#dddd#!.!. +..!#dddddd#!.. +###dddddddd### +Bonus: +....s....+.... +.............. +.*..........*. +.............. +.............. +.............. +.............. +.............. +.>&{..+s..{&>. +.c>4f.!j.f4>c. +.{3-4.22.4-3{. +.1d4d.11.d4d1. +.-2{5.00.5{2-. +.1f3>.>>.>3f1. +.{2>.WWWW.>2{. +.1-3.WWWW.3-1. +.>2.W-WW-W.2>. +...WWWWWWWW... +Level: +Dave W. +Snail +Bricks: +E...aaaaaaaaaa +E...aaaaaaaaaa +E...aaaaaaaaaa +E...EEEEEEaaaa +E..E......Eaaa +E..E.......Eaa +E..E.......Eaa +E..E..zz...Eaa +E..E..z!z..Eaa +E..E....z..Eaa +E..E....z..Eaa +E...E...z..Eaa +E....EEE...Eaa +E..........Eaa +E..........Eaa +aE........Eaaa +aaEEEEEEEEaaaa +aaaaaaaaaaaaaa +Bonus: +.......*.....* +.............. +.............. +..........*... +...........*.. +.............. +.............. +......<<...... +......->->->->->-> +.............. +.............. +.............. +..s........s.. +.............. +.............. +>->->->->->->- +.............. +.............. +.............. +Level: +Dave W. +The Maze +Bricks: +fff#hhhhhh#fff +jjj#hhhhhh#jjj +jjj#EEEEEE#jjj +dddddddddddddd +.............. +##c###cc###c## +ffffffffffffff +jjjjjjjjjjjjjj +jjjjjEEEEjjjjj +dddddddddddddd +.............. +c#####cc#####c +ffffffffffffff +jjjjjjjjjjjjjj +jjjjjEEEEjjjjj +dddddddddddddd +.............. +##c###cc###c## +Bonus: +m...555555...m +....555555.... +.............. +->W>->WW->-W>- +.............. +.............. +...+......+... +.............. +.............. +>->->->->->->- +.............. +.............. +..s........s.. +.............. +.............. +->->->->->->-> +.............. +.............. +Level: +Dave W. +Nup-Nup +Bricks: +.............. +.djdjdjdjdjEv. +.jhjhjhjhjEdv. +.fjfjfjfjEhjv. +.jhjhjhjEfjdv. +.hjhjhjEhjhjv. +.jdjdjEhjfjdv. +.jEEjEdjhjhjv. +.E!!Efjhjfjdv. +.z!!cjdjhjhjv. +.E!!Efjhjfjdv. +.jEEjEdjhjhjv. +.jdjdjEhjfjdv. +.hjhjhjEhjhjv. +.jhjhjhjEfjdv. +.fjfjfjfjEhjv. +.jhjhjhjhjEdv. +.djdjdjdjdjEv. +Bonus: +.............. +.>.-.>.-.>.... +..0.0.0.0..>.. +.+.s.+.s..0... +..1.1.1..s.-.. +.2.2.2..1.0... +..>.-..2.b.>.. +......>.1.0... +..55.*.2.&.{.. +..55..-.1.0... +..55.*.2.}.{.. +......>.1.0... +..>.-..2.b.>.. +.2.2.2..1.0... +..1.1.1..s.-.. +.+.s.+.s..0... +..0.0.0.0..>.. +.>.-.>.-.>.... diff --git a/client/levels/Fantaisie b/client/levels/Fantaisie new file mode 100644 index 0000000..9b2376c --- /dev/null +++ b/client/levels/Fantaisie @@ -0,0 +1,821 @@ +Version: 1.00 +Level: +Jacques Buffa +Mickael Jordan +Bricks: +aaaabbbbccccbb +av....vbkckckb +a..g...akbkckb +b.ggg..ajbkbkb +bgghgg.ajajbja +bghhhg...ajaja +chhihhg....aja +chiiihhg....ja +cii.iihgg....g +bi...iihgg..gg +bja...iihggggh +bjaj...iihgghi +bjaja...ihhhhi +akajaj...iihii +akbkaja...iii. +akbkbkb....i.. +akbbbkc....... +aabbbcc....... +Bonus: +?.4..5....2f.2 +......?..j.... +........b..... +3........<.>.. +.~..........?. +....>.....0... +2..j.........1 +.-.....2....0. +.....+........ +.............. +.......-..~.-. +?............. +.........1.... +............1. +....1......... +...........0.. +.1...0........ +.w..+......... +Level: +Jacques Buffa +Maradona +Bricks: +..vv..gg..vv.. +g....gffg....g +gg..gfddfg..gg +.gggfddddfggg. +h!!!dd!!dd!!!h +hheeii!!iieehh +.hheei!!ieehh. +..hhei!!iehh.. +...hhe!!ehh... +a...he!!eh...a +.b..he!!eh..b. +..b..h!!h..b.. +..c..h!!h..c.. +.czc.h!!h.czc. +..c..h!!h..c.. +......hh...... +......hh...... +.............. +Bonus: +...d.......... +.............. +.~....5l4..... +...3>......j>. +j..?........b. +.........f1.2. +....2<.~...... +..-...?...?... +.......2...... +.............. +.1..0.>.-...-. +.......+...... +.....1........ +.+.0...?..0... +.......1...... +.............. +.............. +.............. +Level: +Jacques Buffa +Roger Federer +Bricks: +zhhh!!vv!!hhhz +hh..h!!!!h..hh +h....h!!h....h +h.gg..hh..gg.h +hgggg....ggggh +jgbbgg..ggbbgj +jb..bggggb..bj +j....bggb....j +j.dd..bb..dd.j +jddddc!!cddddj +kd..ddccdd..dk +k.bb.dddd.bb.k +kb..b.dd.b..bk +f....b..b....f +f.ff..bb..ff.f +.f!!fccccf!!f. +..ff..cc..ff.. +.............. +Bonus: +...f.......3.. +............~. +b.......4..... +...?..5l...j.. +.............. +..2........2.1 +....>....d..-. +?.....*......b +..-....<...... +1....+..2.>?.. +....j..?.....2 +..2.......1+.. +....~....-.... +.............. +.............. +.....1...1.... +..0w......w0.. +.............. +Level: +Jacques Buffa +Mickael Shumarer +Bricks: +vvahhhffffffff +vabahhffffgggf +abcbahhfffg!gf +bcbcbahhffg!gf +cbabcbahffgggf +badabcbhhfffff +bdddabcahffffh +addddacbhhfffh +ddddddbcahhfhh +dd..ddacbhhhha +d...dddbcahhhb +d....ddacbahac +.....dddbcbabc +.......dabcbcb +........dabcba +.........dabad +..........ddd. +.............. +Bonus: +....f...4..... +............3. +..~.2..>...... +.............. ++b2.?....3.5.. +...-.js......b +........+...?. +......<...>... +..1....?2..... +.......1b..~.2 +0.........j... +.....0..-...-. +.........?.... +...........+.. +........1.0... +.............. +...........w1. +.............. +Level: +Jacques Buffa +Eddy Mercks +Bricks: +ccccccccvvvhhh +cbbbbba...hhh. +cbbba....hccc. +cbba....heczce +cbah....heccce +cbhhh..heeeeee +cahhh.heeeeeeh +chheehheeehehh +heeeeeeeehhhhh +.ccceeeeh.hhhh +.czcehee...hhh +.ccch.ed...hh. +......dd....h. +.....dddd..... +....dddddd.... +....daaaad.... +...dbbbbbbd... +...cccccccc... +Bonus: +..3....3..d... +..l..*........ +...2......5.4. +b.~.....?..... +.............. ++1..>...2..jb. +..-..........2 +1...2.<..~..-. +..j....+..1..? +..?..f..0..>.. +.1..........0. +......1....... +.............. +......-....... +.............. +.......1...... +......?...w... +.....0.+.0.... +Level: +Jacques Buffa +Karl Lewis +Bricks: +*!gf!!vv!!fg!* +!!.gf!!!!fg.!! +.!!.gf!!fg.!!. +..!..gffg..!.. +..!!..gg..!!.. +...!!.!!.!!... +e..!!!bb!!!..e +he.!!bccb!!.eh +che.!czzc!.ehc +zch.!czzc!.hcz +che.!bccb!.ehc +he...!bb!...eh +e....!!!!....e +....!!..!!.... +....!....!.... +...!......!... +...!......!... +..bbb....bbb.. +Bonus: +..d........... +.3......?4..>. +.....j........ +......5l...b.. +.......-...... +...2+.<...+... +.............. +....fp>..j..~. +?..........2.? +.-1.?..5.-.... +2.....~.2...1. +.0...1........ +.......0.....0 +.............. +....0......... +..........1... +.............. +..w0+....w.0.. +Level: +Jacques Buffa +Tiger Woods +Bricks: +gkvvkcvvckvvkg +hgk..kcck..kgh +hhgk..cc..kghh +hhhg..cc..ghhh +hhhgk.bc.kghhh +hhhhg.bb.ghhhe +hehegkbbkgehee +keeeegbbgeeeek +gkeeegabgdedkg +zgkedkaakddkgz +zzgddgaagddgzz +zzgdkgaagkdgzz +zgddg.aa.gddgz +gddkg..a.gkddg +gdkg......gkdg +gkg........gkg +.g..........g. +.............. +Bonus: +.~.f.3..4..d.. +.............. +......5....... +......?.....~. +2.b....2...... +...2.....j.2.b +..-...-....... +...s......?... +?...>..>.+...+ +...1..1.0..... +..j...?...1... +.2..........-. ++..1...0.....1 +.............. +..0.......0... +.............. +.............. +.............. +Level: +Jacques Buffa +Pelé +Bricks: +zzbc!!vv!!cbzz +zbc!.!aa!.!cbz +bc!..!aa!..!cb +c!..!!aa!!..!c +!..!hhbbhh!..! +..!hhhbbhhh!.. +.!hh!!bb!!hh!. +!hh!.!cc!.!hh! +hh!..!cc!..!hh +h!..!cccc!..!h +!..!c!!!!c!..! +..!c!....!c!.. +.!c!......!c!. +.!c!......!c!. +!c!........!c! +!c!........!c! +c!..........!c +cc..........cc +Bonus: +..d..3..4..... +.............. +..j...5....2~. +b.....<....... +?...*..l+.b... +..2...-....... +.~.?...p.>..-. +.....s.....2.. +......2j.....f +.....+>....... +...1...0.1...+ +...........?.. +..-........... +.1.0........1. +...........0.. +.0............ +.............. +w............w +Level: +Jacques Buffa +Sergei Bubka +Bricks: +fb!!!!vv!!!!bf +ffb!!!!!!!!bff +.ffb!!!!!!bff. +..ffb!!!!bff.. +...ffb!!bff... +...hcfbbfch... +..hdcfzzfcdh.. +.hddcfzzfcddh. +.hddcf**fcddh. +.hddcf**fcddh. +.hddcfzzfcddh. +..hdcfzzfcdh.. +b..hcccccch..b +gbb........bbg +bggbbbbbbbbggb +.bbggggggggbb. +...bbbbbbbb... +.............. +Bonus: +...f.3..4..... +..+2.....j..2. +......5l...... +...j-.>..2.... +.............. +...?2.p+.b.... +....*....-.>.. +...2....<..... +....s....?.1.. +.1........~... +.........1.... +....1......... +........?..... +.............. +..0.......1..0 +.............. +...+.0.w..0... +.............. +Level: +Jacques Buffa +Valentino Rossi +Bricks: +..chggvvgghc.. +..b!hggggh!b.. +.b!!bhgghb!!b. +a!!bhg!!ghb!!a +!!bhgg!!gghb!! +!!ahgg!!ggha!! +!ahggg!!gggha! +ahgggg!!ggggha +a!hggh!!hggh!a +.a!gh!aa!hg!a. +..ah!baab!ha.. +..b!b!aa!b!b.. +...b!!bb!!b... +...b!!bb!!b... +....b!bb!b.... +.....cccc..... +......cc...... +.............. +Bonus: +.....3..4..... +..s........... +.b....5....... +...2.......... +.1.....p..b2f? +.....j.2...... +.+.......?.>-. +....2.>.-....0 +..1.......+... +.......*...2.. +...-.......... +..0....j.1.1.. +....2......... +......w....... +.....?.1.+.... +.............. +.............. +.............. +Level: +Jacques Buffa +John McEnro +Bricks: +vvccbbiibbccvv +vc..!iiii!..cv +c..!ii!!ii!..c +b.!ii.!!.ii!.b +a!ii..!!..ii!a +zii...!!...iiz +zhaabbccbbaahz +zhh...hh...hhz +z!hh.hhhh.hh!z +z.!hhh!!hhh!.z +z..!h!..!h!..z +ag..!....!..ga +bgg...gg...ggb +c!gg.gggg.gg!c +..!ggg!!ggg!.. +...!!!..!!!... +.............. +.............. +Bonus: +.f.2.3?.4...d. +....~......... +......l5..>... +?.s....2.j...? +.b....-.....b. +.............. +....j2p.+.~..2 +1.+.........-. +.-....<...2... +....2........> +1............. +.............. +0...........1. +...1...1..0..0 +......+....... +....w....w.... +.............. +.............. +Level: +Jacques Buffa +Shaki ONeal +Bricks: +vfffjjjjjiivvv +fffffjjjiiiivv +fjjjfjjiijjiiv +jjhhjfiijjjjii +jhhhjfijjjjjji +jhjjhifjjjjjjj +hj.jhiffjjjjjj +hj.jihjffgggjj +j..jihjjfggggj +...ijjhggfjjgg +...i.jhgjfjjjg +..i..jghjjfjfj +..i..jghjjfffj +.i...gjjhjjfjh +.i...g.jhhjjjh +i...g...jhhjhj +i...g....jhhhj +i...g.....jhj. +Bonus: +..3.f......... +......3....... +.b.~.......d.. +..?.s....?.... +...>..?.l..+.? +.-............ +1.........3... +.......j....~j +...+....-..... +.....1g...>... +...0.......... +..........?... +......?..1..-. +.0.....0...... +.............1 +.............. +............+. +...........w.. +Level: +Jacques Buffa +Jhoan Cruiff +Bricks: +zzdddvvvvdddzz +zdd...cc...ddz +dd...cggc...dd +d...cggggc...d +d..cggggggc..d +d.cggggggggc.d +..c!gggggg!c.. +.ce!!gggg!!hc. +.cee!!gg!!hhc. +ceeee!!!!hhhhc +ceeeec!!chhhhc +ceeeec!!chhhhc +ceeeec!!chhhhc +!ceec!!!!chhc! +!ceec!..!chhc! +.!cc!....!cc!. +..!!......!!.. +.............. +Bonus: +.f..........d. +......5l...2.. +.2...3..4....b +b...j......... +......2...?..+ +..~.2...-..... +......p....>.. +....s......... +.-.?.*.<.j..~. +.......2...... +.....>.....-.2 +..+.1...+..... +1......1..?... +...........1.. +....0.......0. +..0.......0... +..w........w.. +.............. +Level: +Jacques Buffa +Ayrton Senna +Bricks: +eeeeeeeffggiii +eaaaeehfffggii +ea!aehhfffgggi +ea!bhhaaabbcci +da!bhha!!!!!ci +db!bhha!!!!!ci +db!bhhaabbbbcg +db!bhhhfffgggg +db!chahffggggg +dc!chahffggggg +dc!chahff..ggg +dc!c.ahf....g. +dccc.b.f....a. +d....b...a..b. +.....b...b..b. +..a..c...b..b. +..b..c...c..c. +..c..c...c..c. +Bonus: +..f..........d +....3......... +...........>.j +?..~..<-.b5.3. +..*.2...2..... +.2....?...+... +..s.....>.2.~? +.j.+1......... +..1....1...... +.-..........1. +...2...+...... +.............. +..1........... +w....1........ +............2. +.........0.... +.............. +..0..0...w..0. +Level: +Jacques Buffa +John Borg +Bricks: +havvcczzccvvah +hhb!!bbbb!!ahh +ahhb!!aa!!bhha +!ahhc!!!!bhha! +.!bhhc!!chhb!. +..!bhhcchhc!.. +...!chhhhc!... +d...!c!!c!...d +dd..!c!!c!..dd +dd..!c!!c!..dd +d...!c!!c!...d +...!chhhhc!... +..!bhhcchhb!.. +.!bhhc..chhb!. +!ahhc....chha! +ahhb......bhha +hhb........ahh +.............. +Bonus: +.f..........d. +.....45l3..... +..........?.2. +.?.+2.j....... +.....*..2..~.. +..2...1...b1.. +....s....>.... +.....p...j.... +.-...-..1....? +1...2.+....... +.....<..-....1 +....>....1.... +..~....1..+... +...1.......0.. +....0......... +.0........0... +w............w +.............. +Level: +Jacques Buffa +Mohamed Ali +Bricks: +vv..!zzzz!..vv +gg..!.zz.!..gg +ddg.!.!!.!.gdd +dddg!.!!.!gddd +a!!b!!cc!!b!!a +iiddgeeeegddii +ffiddgeegddiff +fffiddggddifff +a!!b!!cc!!b!!a +hhffijjjjiffhh +..hffijjiffh.. +...hffiiffh... +a!!b!!cc!!b!!a +....heeeeh.... +.....heeh..... +.....heeh..... +......hh...... +.............. +Bonus: +.f..........d. +.............. +......5l...... +.2............ +....4..2.3...? +.b.j.s.....b2. +..2.+..p..j... +........2..-.. +.-.?..-<..+.~. +....1......1.. +.....~.1.>.... +...1.......... +....0.>?..0... +.............. +......0....... +.......+0..... +......w....... +.............. +Level: +Jacques Buffa +David Douillet +Bricks: +cccbbbaabbbccc +c............c +c...!aaaa!...c +c....ahha....c +b.!!!ahha!!!.c +b....bhha....b +!!bbbbhhabbb!! +b.biii!!dddb.b +b.biii!!dddb.b +a.ciii!!dddb.b +a.ciii!!dddc.a +!!cccceecccc!! +a....ceec....a +a.!!!ceec!!!.a +a....ceec....a +....!cccc!.... +.............. +.............. +Bonus: +d.b..........f +.............. +....3.5..4.... +.............? +..>..s.....>.b +........j..... +.-..2*<...2.-. +2.~...-....~.. +...+.?...2.+.. +?.j..........2 +....1......... +.1........1... +.....?.1?..... +...0.......0.. +.............. +....w0.+.0.... +.............. +.............. +Level: +Jacques Buffa +franz Beckenboer +Bricks: +cccvvvivveeeee +c..c..i..ezzze +c...c.i..ezzze +b....ci..eeeee +biiiiiic.j.j.j +b.....cggggj!d +b.!.!..g.j.jdj +b.!.!.!g!j!d.j +b.!!!.!g!jdj.j +a.h!!!!g!d.j.j +a..h!!!!dj.j.. +a...h!!d.j.j.. +a....hd..j.j.. +a....hd....j.. +.....hd....j.. +.....hd....j.. +.abbccccbbbaa. +.............. +Bonus: +f............. +...2......d..b +2........?2... +.....s.......? +b-.>...l.j.... +......5....~2. +.........+.... +1.~....?.....0 +........1>.-.. +...+.1-....... +?...j......1.. +......?....... +.....0........ +.............. +.............. +......0....... +.w.0....+0..0. +.............. +Level: +Jacques Buffa +Magic johnson +Bricks: +..cccccccccc.. +.cbbbbbbbbbbc. +cbaaaaaaaaaabc +cba........abc +cba.z....z.abc +cba........abc +cba........abc +cba...zz...abc +cba...zz...abc +cba........abc +cba.z....z.abc +cba..z..z..abc +cba...zz...abc +cba........abc +cbaaaaaaaaaabc +.cbbbbbbbbbbc. +..cccccccccc.. +.............. +Bonus: +..jb??j?jb?j.. +.?+bl+b.+bl+?. +b+0100100100-j +?l0........1l? +jb1.g....g.0+j +b+0........0b? +?b0........1lb +j-1...gg...0+j +b+0...gg...0b? +?l0........1lj +jb1.g....g.0+? +b+0..g..g..0-j +?l0...gg...1lb +j-1........0+? +b+0010010010bs +.?l-+lb+b-+b?. +..?wb?.?bj?j.. +.............. +Level: +Jacques Buffa +Jacques Buffa +Bricks: +....!......... +.......!..!..! +..!........... +!....!.!..!.!. +.............. +b.!.b.bbb...bb +b...b.b....b.. +.b.b..b..!.b.! +.b.b..b....b.. +..b..!bb....b. +!.b...b.!....b +.b....b...!.!b +.b.!..b......b +b.....bbb..bb. +.............. +.............. +.............. +.............. +Bonus: +....j......... +.......j..j..j +..j........... +j....j.j..j.j. +.............. +j.j.g.jjj...jj +j...j.g....j.. +.g.j..j..j.g.j +.j.j..j....j.. +..j..jjj....j. +j.j...j.j....j +.g....g...j.jg +.j.j..j......j +j.....jjg..gj. +.............. +.............. +.............. +.............. diff --git a/client/levels/FatalDoomsday2 b/client/levels/FatalDoomsday2 new file mode 100644 index 0000000..ad824d9 --- /dev/null +++ b/client/levels/FatalDoomsday2 @@ -0,0 +1,698 @@ +Version: 1.00 +Level: +Nethippy +R.I.P. +Bricks: +....h......h.. +.............. +.h.h..ee.h.... +......ee...hh. +....eeeeee.... +..h.eeeeee.... +......ee..h..h +....h.ee...h.. +.h....ee.....h +......ee...... +aaaaaaaaaaaaaa +bbbbbbbbbbbbbb +cccccccccccccc +.............. +.............. +ffffffffffffff +dddddddddddddd +kkkkkkkkkkkkkk +Bonus: +....m......m.. +.............. +.m.m..55.m.... +......55...mm. +....555555.... +..m.555555.... +......55..m..m +....m.55...m.. +.m....55.....m +......55...... +l555555555555l +}555555555555} +}555555555555} +.............. +.............. +fbf~fcfdf~fbfb +bfbfbfdfcfbfbf +>>>>>>>>>>>>>> +Level: +Nethippy +Huge Invisible Wall +Bricks: +hhhhhhhhhhhhhh +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +wbwbwbwbwbwbwb +bwbwbwbwbwbwbw +}}}}}}}}}}}}}} +>>>>..++..>>>> +Level: +Nethippy +Half There? +Bricks: +iiiiiiiiiiiiii +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +......kk...... +.!.!.!kv.v.v.v +......kk...... +!.!.!.!kv.v.v. +Bonus: +ffffffffffffff +*.5.5.555.5.5. +......55...... +.5.5.555.5.5.* +......55...... +l.5.5.555.5.5. +......55...... +.5.5.555.5.5.l +......55...... +5.5.5.555.5.5. +......55...... +.5.5.555.5.5.5 +......55...... +5.5.5.555.5.5. +......55...... +.5.5.5{{.5.5.5 +......{{...... +~.~.~.~~~.~.~. +Level: +Nethippy +Bonus Round +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +gggggggggggggg +gggggggggggggg +gggggggggggggg +ffffffffffffff +ffffffffffffff +ffffffffffffff +eeeeeeeeeeeeee +eeeeeeeeeeeeee +eeeeeeeeeeeeee +dddddddddddddd +dddddddddddddd +dddddddddddddd +Bonus: +.............. +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +l555555555555l +llwwwwwwwwwwll +}}}}}}}}}}}}}} +bbbbbbbbbbbbbb +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +Nethippy +Wall Of Wonderment +Bricks: +@iiiiiiiiiiii@ +hhhhhhhhhhhhhh +gggggggggggggg +dddddddddddddd +jjjjjjjjjjjjjj +@............@ +gggggggggggggg +dddddddddddddd +jjjjjjjjjjjjjj +@............@ +hhhhhhhhhhhhhh +gggggggggggggg +dddddddddddddd +jjjjjjjjjjjjjj +@............@ +vvvvvvvvvvvvvv +.............. +!!!!!!!!!!!!!! +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +.............. +?????????????? +?????????????? +?????????????? +.............. +?????????????? +?????????????? +?????????????? +?????????????? +.............. +>>>>>>>>>>>>>> +55555555555555 +55555555555555 +Level: +Nethippy +Yucky Slime +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzz. +.z.zzzzzzzzz.. +.z.zz.zzzz.z.. +...z...z.z.... +.......z...... +.............. +.............. +.............. +.............. +.............. +.............. +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +Bonus: +.............. +55555555555555 +55555555555555 +5555555555555w +w5w555555555w. +.5.55w5555w5.. +.w.5w.w5w5.w.. +...w...5.w.... +.......w...... +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +Nethippy +Se7en +Bricks: +@@@@@@@@@@@@@. +jjdddddddddj@. +jjdddddddddj@. +jjdddddddddj@. +jjjjjjjjdddj@. +jjjjjjjjddjj@. +jjjjjjjdddjj@. +jjjjjjjddjjj@. +jjjjjjdddjjj@. +jjjjjjddjjjj@. +jjjjjdddjjjj@. +jjjjdddjjjjj@. +jjjddddjjjjj@. +jjjdddjjjjjj@. +jjjddjjjjjjj@. +jjjdjjjjjjjj@. +.............. +.............. +Bonus: +.............. +ll555555555l.. +g.555555555g.. +..555555555w.. +.....bbb555... +.....bbb55.w.. +......b555.... +.......55..w.. +......555..... +......55...w.. +.....555...... +....555....w.. +...5555....... +...555.....w.. +g.}55}.....g.. +><>5><><><>w.. +.............. +.............. +Level: +Nethippy +Octuple Plusungood +Bricks: +d.g.dgggd.g.d@ +.###.###.###.@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +.ddd.ddd.ddd.@ +.ddd.ddd.ddd.@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +i###i###i###i@ +hh.ihi.ihi.hh@ +i###i###i###i@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +.ddd.ddd.ddd.@ +.ddd.ddd.ddd.@ +.#d#.#d#.#d#.@ +.#d#.#d#.#d#.@ +.###.###.###.@ +Bonus: +l.m.lmmml.m.l5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +>555>555>555>5 +}}.>}>.>}>.}}5 +>555>555>555>5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +.555.555.555.5 +Level: +Nethippy +Frigid Surprise! +Bricks: +!!!!!!!!!!!!!! +.............. +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +Bonus: +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..ffffffffffff +..{{{{{{{{{{{{ +Level: +Nethippy +Symmetric Death +Bricks: +.............. +.............. +.!....vv....!. +.....vvvv..... +....vvvvvv.... +ddd.EEEEEE.ddd +ddd........ddd +dddd......dddd +ddddE....Edddd +ddddEEa.EEdddd +hhhhhE..Ehhhhh +hhhhhE.aEhhhhh +hhhhhE..Ehhhhh +hhhhhEa.Ehhhhh +hhhhhE..Ehhhhh +hhhhhE.aEhhhhh +hhhhhE..Ehhhhh +EEEEE@a.@EEEEE +Bonus: +.............. +5l5........5l5 +5m5........5m5 +555...mm...555 +.....mmmm..... +555........555 +555........555 +5555......5555 +5555......5555 +5555..&...5555 +55555....55555 +55555..f.55555 +55555....55555 +55555.c..55555 +55555....55555 +55555..W.55555 +55555....55555 +......>....... +Level: +Nethippy +Symmetric Death II +Bricks: +iehgcddddcghei +eehhEddddEhhee +eehhhdEEdhhhee +eEghEdEEdEhgEe +iiEghddddhgEii +iiiEEEddEEEiii +iiEgEkddEEgEii +jEggEkddkEggEj +jjggEEjjjEggjj +jjggEEEEjEggjj +jjggEEddkEggjj +EjgEEjddkEEgjE +kjkkEkjjEEkkjk +vvvvEkEEEEvvvv +vEEvEkddEEvEEv +vvvvEkddkEvvvv +kkkkEEjjkEkkkk +EEEEEEEEkEEEEE +Bonus: +l}}}l5555l}}}l +5555.5555.5555 +555555..555555 +5.*555..555*.5 +55.*55}}55*.55 +55*...}}...*55 +55.*.>}}..*.55 +5.55.>}}<.55.5 +5555..ll<.5555 +5555....<.5555 +5555..ll<.5555 +.55..>55<..55. +*55*.>ll..*55* +5555.>....5555 +5..5.>55..5..5 +5555.>55<.5555 +......55<..... +........<..... +Level: +Nethippy +Boom! Bang! Pow! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +}}}}}}}}}}}}}} +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +w555555555555w +ww5555555555ww +}}}}}}}}}}}}}} +>>>>>>>>>>>>>> +dddddddddddddd +{{{{{{{{{{{{{{ +Level: +Nethippy +Don't Drop The Ball! +Bricks: +jjj#********** +***#*########* +*#*#*#******#* +*#*#*#*####*#* +*#*#*#*#**#*#* +*#*#*#*#*##*#* +*#*#*#*#**#*#* +*#*#*#*##*#*#* +*#*#*#*#**#*#* +*#*#*#*#*##*#* +*#*#*#*#**#*#* +*#*#*#*##*#*#* +*#*#*#*#**#*#* +*#*#*#*#*##*#* +*#*#*#*#****#* +*#***#*######* +*#***#******** +*############# +Bonus: +lll.j555j5555j +555.5........5 +5.5.5........5 +5.5.5........5 +5.5.5........5 +5.5.5........5 +j.5.5........5 +5.5.5........j +5.j.j.j......5 +5.5.5.5......5 +5.5.5.5......5 +5.5.5.5......5 +5.5.5.5......5 +5.5.5.5......5 +}.5.5.5......5 +}.555.5......5 +}.55j.j555j555 +>............. +Level: +Nethippy +Tree Of Doom +Bricks: +.............. +.............. +.......xx..... +....x.x....... +..x..x....x... +...x..x..xx... +...x.x.x.x.x.. +..xx..xx.x.... +.xx.x.xx.xxxx. +.x...xxxx.x..x +x...x.xxx..x.. +....x.xx.x.... +......xx.x.... +......xx...... +......xx...... +......xx...... +eeeeeeeeeeeeee +eeeeeeeeeeeeee +Bonus: +.............. +.............. +.......f5..... +....5.f....... +..5..f....5... +...f..5..ff... +...f.5.5.f.5.. +..ff..55.f.... +.ff.f.55.ffff. +.f...5555.f..5 +5...f.555..5.. +....5.55.f.... +......55.5.... +......55...... +......mm...... +......mm...... +w>>>>>>>>>>>>w +>>>>>>>>>>>>>> +Level: +Nethippy +Boxed In! +Bricks: +E@EEEE@@EEEE@E +EfffffkkfffffE +EjffffkkffffjE +EejfffkkfffjeE +EiejffkkffjeiE +EgiejfkkfjeigE +EggiejkkjeiggE +EgggiejjeigggE +EggggieeiggggE +EgggggiigggggE +EggggggggggggE +EiiiiiiiiiiiiE +EdddddiidddddE +Edh@hdiidh@hdE +EdhhhdiidhhhdE +EdhhhdiidhhhdE +Ed@h@diid@h@dE +EE.v.E@@E.v.EE +Bonus: +.............. +.b..........b. +.555555555555. +.555555555555. +.>5555555555>. +.555555555555. +.555555555555. +.>5555555555>. +.555555555555. +.555555555555. +.>5555555555>. +.555555555555. +.555555555555. +.>}.}5555}.}>. +.w}w}5555}w}w. +.w}}}5555}}}w. +.b.l.5mm5.l.b. +...>......>... +Level: +Nethippy +Bogus Round +Bricks: +dddddddddddddd +dhh.dhhhdhhhdd +dh.hdh.hdh..dd +dhh.dh.hdh.hdd +dh.hdh.hdh.hdd +dhh.dhhhdhhhdd +dddddddddddddd +dddh.hdhhhdddd +dddh.hdh..dddd +dddh.hdhhhdddd +dddh.hd..hdddd +dddhhhdhhhdddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +Bonus: +{{{{{{{{{{{{{{ +{jW.WWWWWWWWj{ +{W.>>>.>>>..W{ +{W>.cc.ccc.>W{ +{W.cj~.~~j.>W{ +{W>.~jddj~c>W{ +{W>c~djjd~c>W{ +{W>c.d--d~c>W{ +{W>c.d--..c>W{ +{W>c.d--d~c>W{ +{W>c.d-..~c>W{ +{W>c~djj.~c>W{ +{W>c~jddj~c>W{ +{W>cj~~~~jc>W{ +{W>jccccccj>W{ +{Wj>>>>>>>>jW{ +{jWWWWWWWWWWj{ +{{{{{{{{{{{{{{ +Level: +Nethippy +The End +Bricks: +zzz.z.z.zzz.@@ +.z..z.z.z....@ +.z..zzz.zzz... +.z..z.z.z..... +.z..z.z.zzz... +.............. +.zzz.z...z.zz. +.z...zz..z.z.z +.zzz.z.z.z.z.z +.z...z..zz.z.z +.zzz.z...z.zz. +.............. +z..z....zz.... +zz@@@zz@@@@zz@ +zzz@zzzzz@zzzz +z@zzz@@@zzz@@z +...z..z..z.... +.............. +Bonus: +555.5.5.555... +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.555... +.............. +.555.5...5.55. +.5...55..5.5.5 +.555.5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +*..*....**.... +}}...}}....}}. +.............. +.............. +.............. +.............. diff --git a/client/levels/FunCity b/client/levels/FunCity new file mode 100644 index 0000000..d74869b --- /dev/null +++ b/client/levels/FunCity @@ -0,0 +1,698 @@ +Version: 1.00 +Level: +Nethippy +V-Boom! +Bricks: +.............. +*!!!!!!!!!!!!* +*!!!!!!!!!!!!* +!*!!!!!!!!!!*! +!*!!!!!!!!!!*! +!!*!!!!!!!!*!! +!!*!!!!!!!!*!! +!!!*!!!!!!*!!! +!!!*!!!!!!*!!! +!!!!*!!!!*!!!! +!!!!*!!!!*!!!! +!!!!!*!!*!!!!! +!!!!!*!!*!!!!! +@@@@@@**@@@@@@ +.............. +.............. +.............. +.............. +Bonus: +lll...pp...lll +54...pmmp...45 +553..f..f..355 +554........455 +4553......3554 +3554......455. +.4553....3554. +.3554....455.. +..4553..3554.. +..355433455... +...45544554... +.f.3555555..f. +m...455554...m +......55...... +.............. +.............. +.............. +.............. +Level: +Nethippy +FreeZe BottOm +Bricks: +..!!!!!!!!!!.. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c*........*c. +.c*!!!!!!!!*c. +.c!!!!!!!!!!c. +.cccccccccccc. +.cccccccccccc. +Bonus: +.............. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5..........5. +.5.44444444.5. +.5....mm....5. +.5....mm....5. +.fff..mm..fff. +....ffffff.... +Level: +Nethippy +A Ton Of Points! +Bricks: +*************. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*!.!*!.!*!.!*! +*...*...*...*. +*vvv*vvv*vvv*v +.............. +.............. +Bonus: +.............5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +..5...5...5... +.555.555.555.5 +.............l +.............. +.............. +Level: +Nethippy +Spiral +Bricks: +!!!!!!!!!!!!!! +!************! +!*!!!!!!!!!!*! +!*!********!*! +!*!*!!!!!!*!*! +!*!*!****!*!*! +!*!*!*!!*!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!**!*!*! +!*!*!*!!!!*!*! +!*!*!******!*! +!*!*!!!!!!!!*! +!*!**********! +!*!!!!!!!!!!!! +Bonus: +00000000000000 +0>>>>>>>>>>>>1 +0>2222222222>1 +0>2>>>>>>>>3>1 +0>2>444444>3>1 +0>2>4>>>>5>3>1 +0>2>4>gl>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>gb>5>3>1 +0>2>4>5555>3>1 +0>2>4>>>>>>3>1 +0>2>33333333>1 +0>2>>>>>>>>>>1 +0>111111111111 +Level: +Nethippy +Fire Away! +Bricks: +.............. +!!!!!!!!!!!!!! +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +.............. +Bonus: +ffffffllffffff +jjjjjjjjjjjjjj +55555555555555 +55555555555555 +44444444444444 +44444444444444 +33333333333333 +f33333ff33333f +33333333333333 +22222222222222 +22222222222222 +22222222222222 +22222222222222 +}&}&}&}&}&}&}& +pppppppppppppp +pppppppppppppp +pppppppppppppp +.............. +Level: +Nethippy +sMILE! +Bricks: +.............. +.............. +.....hhhh..... +....hhhhhh.... +...hvvhhvvh... +..hhvvhhvvhh.. +.hhhhhhhhhhhh. +.hhhhhvvhhhhh. +.hhvhhhhhhhvh. +.hhhvhhhhhvhh. +..hhhvvvvvhh.. +...hhhhhhhh... +....hhhhhh.... +.....hhhh..... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.....****..... +....*>>>>*.... +...*55bb55*... +..*>55bb55>*.. +.*>bbbbbbbb>*. +.*>bbb55bbb>*. +.*>5bbbbbbb5*. +.*>b5bbbbb5>*. +..*>b55555>*.. +...*>bbbb>*... +....*>>>>*.... +.....****..... +.............. +.............. +.............. +.............. +Level: +Nethippy +Green Wall +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +ffffffffffffff +Bonus: +ffffff{lffffff +!5!5555!5555!5 +555!5555!55!55 +55!55!55555555 +5555555555!!55 +55!!5555555555 +55555!5!555555 +55555555555!5! +!55!5555555555 +555555!555!555 +55!555555555!5 +5555!555!55555 +!5555555555!55 +55!555!5555555 +5555!5555!5555 +>>>>>>>>>>>>>> +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +Level: +Nethippy +Kaboom! +Bricks: +.....!!!!..... +..!!!!**!..... +..!**!*!!!!!.. +.!!********!.. +.!******!!*!!. +.!!!*!******!. +..!**!**!*!*!. +..!*!!**!*!*!. +..!*!!**!!!*!. +..!!!!**!.!!!. +.....!**!..... +.....!**!..... +....!!**!!.... +....!****!.... +..!!!****!!!.. +!!!********!!! +!************! +************** +Bonus: +.5555....5.... +.5.......5555. +55..........5. +5...........55 +5............5 +5............5 +55...........5 +.5...........5 +.5...........5 +.5.......5...5 +.5555....55555 +...55....55... +...5......5... +.555......555. +55..........55 +.............. +.............. +.............. +Level: +Nethippy +Break On Thru! +Bricks: +ffffffffffffff +############## +############## +############## +############## +############## +#######!###### +######!!!##### +#####!!!!!#### +######!!!##### +#######!###### +############## +############## +############## +############## +############## +############## +gggggggggggggg +Bonus: +WWWWWWWWWWWWWW +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +mmmmmmmmmmmmmm +mmmmmmmmmmmmmm +Level: +Nethippy +Big Z +Bricks: +.............. +.############. +.!!!!!!!!!!!#. +!!!!!!!!!!!!#. +!!!!!!!!!!!!#. +!!!!!!!!!!!#.. +!!!!!!!!!!#... +!!!!!!!!!#.... +!!!!!!!!#...#! +!!!!!!!#...#!! +!!!!!!#...#!!! +!!!!!#...#!!!! +!!!!#...#!!!!! +!!!#...#!!!!!! +!!#...#!!!!!!! +!#...#!!!!!!!! +#...#!!!!!!!!! +...########### +Bonus: +.............. +m............. +m55555555555.. +555555555555.. +555555555555.. +55555555555.m. +5555555555.m.. +555555555.m..m +55555555.m..mm +5555555.m..m55 +555555.m..m555 +55555.m..m5555 +5555.m..m55555 +555.m..m555555 +55.m..m5555555 +5.m..m55555555 +.m..m555555555 +.............. +Level: +Nethippy +Keep 'em Blue! +Bricks: +.............. +ggggggggggggg. +gE@EEEEEEE@Eg. +g@hhhhhhhhh@g. +gEh@@@@@@@hEg. +gEh@iiiii@hEg. +gEh@i@E@i@h@g. +gEh@iEiEi@h@g. +gEh@iE@Ei@hEg. +gEh@iiiii@hEg. +gEh@@@@@@@hEg. +g@hhhhhhhhh@g. +gE@EEEEEEE@Eg. +ggggggggggggg. +.............. +.............. +.............. +.............. +Bonus: +.............. +mm555555555mm. +m...........m. +5.mm55555mm.5. +5.m...m...m.5. +5.5.mm5mm.5.5. +5.5.m...m.5.5. +5.5.5...5.5.5. +5.5.m...m.5.5. +5.5.mm5mm.5.5. +5.m.......m.5. +5.mm55555mm.5. +m...........m. +mm555555555mm. +.............. +.............. +.............. +.............. +Level: +Nethippy +WonderWall +Bricks: +feggggggggggef +fegddddddddgef +fegdhhhhhhdgef +fegdhiiiihdgef +fegdhiiiihdgef +fegdhiiiihdgef +fegdhhiihhdgef +fegddhiihddgef +feggdhiihdggef +feegdhiihdgeef +ffegdhiihdgeff +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +jfegdhiihdgefj +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +Nethippy +Level 13 +Bricks: +dddddddddddddd +diiiiiiiiiiiid +dihhhhhhhhhhid +dihgggggggghid +dihgg@gg@@ghid +dihg@@ggg@ghid +dihgg@gg@@ghid +dihgg@ggg@ghid +dihg@@@g@@ghid +dihgggggggghid +zzhhhhhhhhhhzz +czziiiiiiiizzc +cczzddddddzzcc +ccczzddddzzccc +cccczzddzzcccc +ccccczzzzccccc +cccccczzcccccc +cccccczzcccccc +Bonus: +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +>>>>>>>>>>>>>> +55555f55ff5555 +5555ff555f5555 +55555f55ff5555 +55555f555f5555 +5555fff5ff5555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +555555ll555555 +55555555555555 +}}}}}}}}}}}}}} +pppppppppppppp +Level: +Nethippy +Up The Middle! +Bricks: +..!.!.gg.!.!.. +.!.!.g..g.!.!. +..!.g.gg.g.!.. +E!.g.g..g.g.!E +..h.g.gg.g.h.. +.d.h.g..g.h.d. +d.d.h.gg.h.d.d +.d.d.h..h.d.d. +d.d.d.hh.d.d.d +.d.d..hh..d.d. +d.d..!hh!..d.d +.d..!.hh.!..d. +d..!.!hh!.!..d +..!.!.hh.!.!.. +@!.!.!hh!.!.!@ +!.!.!.hh.!.!.! +@!.!.!hh!.!.!@ +xxxxxxxxxxxxxx +Bonus: +.5.5.5**5.5.5. +..5.5l..l5.5.. +55.5g.**.g5.55 +..5g.g..g.g5.. +55b.g.**.g.b55 +.5.b.g..g.b.5. +5.5.b.**.b.5.5 +.5.5.b..b.5.5. +5.5.5.bb.5.5.5 +.5.555ww555.5. +5.5555ww.555.5 +.55555}}5.555. +555555}}.5.555 +555555}}5.5.55 +555555}}.5.5.5 +555555ww5.5.5. +555555ww.5.5.5 +>>>>>>ww>>>>>> +Level: +Nethippy +Chao-Wall +Bricks: +!..!.!..*...!! +.**.!!***....! +.***!******!.. +*!**!!*!!**.@* +*!.@!**.!.*.** +..!**!..*!!*.* +.!!!!!*!**!*!. +.!!!!****.!!!. +.!!**@.!*!**!. +.!!*!!*!!.*!@! +.@!*!***.**!.! +.*!!!!!*.!!.!. +.!*!!!!!!*..!! +.@*.@.*!*@*..! +..!.!!.**!*!.! +!.*.!!**..**.* +!!**!.*.*.*.** +!!......!..!.. +Bonus: +.5555m5.m..5.. +5555..555.555. +5555.555555.55 +5.55..5..555.5 +5.5..555.55555 +55.55.555..555 +5.....5.55.5.5 +5....55555...5 +5..55.5.5.55.5 +5..?..?.55?... +5..?.???5??.5. +5g.....?5..5.5 +5.g......?55.. +5.g5.5g.g.g55. +55.5..5gg.g.5. +}5g5..gg..gg5g +}}gg.5g.g.g.gg +}}5555........ +Level: +Nethippy +Balls A Plenty +Bricks: +hhhhhgffgddddd +hhhhhgffgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhgjjgddddd +hhhhhggggddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiggiddddd +hhhhhiiiiddddd +.............. +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +wwwwwwwwwwwwww +55555555555555 +55555555555555 +55555555555555 +55555555555555 +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +.............. +Level: +Nethippy +The End +Bricks: +!!!.!.!.!!!... +.!..!.!.!..... +.!..!!!.!!!... +.!..!.!.!..... +.!..!.!.!!!... +.............. +.............. +.!!!.!..!.!!.. +.!...!!.!.!.!. +.!!!.!.!!.!.!. +.!...!..!.!.!. +.!!!.!..!.!!.. +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +...5.5.5...5.. +5.55.5.5.555.. +5.55...5...5.. +5.55.5.5.555.. +5.55.5.5...5.. +555555555555.. +5555555555555. +5...5.55.5..55 +5.555..5.5.5.5 +5...5.5..5.5.5 +5.555.55.5.5.5 +5...5.55.5..55 +5555555555555. +.............. +.............. +.............. +ffffffffffffff +>>>>>>>>>>>>>> diff --git a/client/levels/Invisible b/client/levels/Invisible new file mode 100644 index 0000000..6904cf7 --- /dev/null +++ b/client/levels/Invisible @@ -0,0 +1,165 @@ +Version: 1.00 +Level: +Celine GRONDIN +mur invisible +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvv*****vvvv +vvvvv*****vvvv +vvvvv*****vvvv +vvvvv*****vvvv +vvvvv*****vvvv +vvvvv*****vvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +00000000000000 +00000000000000 +00100002200000 +11122222222222 +1113m+++++5544 +1113m+++++5544 +1113m+++++5544 +1113mwwwww5544 +1113mwwwww5544 +1113mwwwww5544 +1113m*****5544 +1113m*****5544 +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine GRONDIN +mur invisible +Bricks: +****xx#xx***** +****xx#xx***** +****@@#@@***** +****hh#iiiiiii +****hh#iiiiiii +vvvvvv#vvvvvvv +vvvvvv#vvvvvvv +vvvvvv#vvvvvvv +vvvvvv#vvvvvvv +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +....mm.mm..... +....mm.mm...l. +.............j +..l........... +..j...cmmmmmmm +-...}.c.j..f.- +-..*.....+...- +..+.f.~....... +.*......*..*&& +m.pww&}w.pw.&m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine GRONDIN +mur invisible +Bricks: +.............. +.............. +...aaaaaaaa... +...a******a... +...a******a... +...a******a... +...a******a... +...a******a... +...a******a... +...aaaaaaaa... +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +...}mmmmmmm... +...}++++++m... +...}++++++m... +...}++++++m... +...}++++++m... +...}++++++m... +...}++++++m... +...}******m... +pwwwwlllllwwwp +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine GRONDIN +mur invisible +Bricks: +************** +************** +************** +************** +************** +**vvvvvvvv**** +**vvvvvvvv**** +**vvvvvvvv**** +**vvvvvvvv**** +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +}}++++++++4444 +}}++++++++4444 +}}++++++++5555 +}}++++++++5555 +}}++++++++-www +}}lmmw~mffwjwj +}}mmmmmmmmdwww +}}********gggg +}}********gggg +lll}llll}}}}}{ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/client/levels/Izusiowe b/client/levels/Izusiowe new file mode 100644 index 0000000..1baa96b --- /dev/null +++ b/client/levels/Izusiowe @@ -0,0 +1,575 @@ +Version: 1.00 +Level: +bluszcz +THC 1 +Bricks: +hhhhh........c +..h.........c. +..h....ccc.c.. +..h...c...c... +..h.xc.x...... +cchcxc.x...... +c.hcx..x.dddd. +c.h.x..x.d..d. +c.h.xxxx.d.... +.cc.x..x.d.... +...cx..x.d.... +...cx..x.d.... +....xc.x.d.... +.....c...d.... +.....c...d.... +......c..d..d. +jjjjjbd..dddd. +jjjjjbd....... +Bonus: +..m.*........5 +..&.........5. +.......555.5.. +......5...5... +..b.25.2...... +55<525.2...... +5..52..2.----. +5...2..2.-..-. +5.l.2222.-.... +.55.2..2.-.... +...52..2.-.... +...52..2.-.... +....25.2.-.... +.....5...-.... +.....5...-.... +......m..-..-. +00000bw..----. +00000bw....... +Level: +bluszcz +THC 2 +Bricks: +....cc...c.... +......ccc.c.c. +........cc.cc. +ccccccc..c.cc. +......ccc..ccc +........cc.c.c +.........cc.cc +..........c.cc +..........*z** +vvvvvvvvvvazza +vvvvvvvvvvazza +vvvvvvvvvvazza +aaaaaaaaaaazaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +........b..... +............b. +..........j... +...........5.. +...........55. +...........55. +...........55. +.........w.5.. +............gm +cccccccccccccc +.............. +.............. +.............. +Level: +bluszcz +EGIS +Bricks: +.............. +.............. +.............. +.............. +ggg.....f..... +g.......f..... +g.........gggg +g...g...f.g... +gg..g...f.g... +g...g.ggf.gggg +g...g..gf....g +g...g..gf....g +ggg.ggggf.gggg +........f..... +........f..... +zzzzzzzzzzzzzz +zzzEzzzzzzzzzz +zzzzzzzzzzzzzz +Bonus: +.............. +.............. +.............. +.............. +555.....l..... +5.......l..... +5.........5555 +5...5...l.5... +55..5...l.5... +5...5.55l.5555 +5...5..5l....5 +5...5..5l....5 +555.5555l.5555 +........j..... +........m..... +wbwbwbwbwbwbwb +.............. ++....++......+ +Level: +bluszcz +ATS +Bricks: +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +ccccccddcccccc +dddddcddcddddd +dddddcddcddddd +dcccdcddcddccc +dcccdcddcddccc +dcccdcddcddccc +dcccdcddcddddd +dddddcddcddddd +dddddcddcccccd +dcccdcddcccccd +dcccdcddcccccd +dcccdcddcccccd +dcccdcddcddddd +dcccdcddcddddd +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +......gg...... +&&&&&.gg...... +&&&&&.gg...... +&>>>&.gg...bbb +&>>>&.gg...bbb +&>>>&.gg...bbb +&>>>&jggj....? +11111jggj....? +11111.gg.....? +1???1.gg.....? +1???1.00.....? +1ppp1.00.....? +1fff1.00.????? +swwws.00.????m +Level: +bluszcz +ZiPPo +Bricks: +......****.... +......*****... +.......****... +........****.. +........****.. +.........aa... +.........aa... +.bbbbbbbbbbbbb +.bbbbbb.bbbbbb +.bbbbbb.bbbbbb +.bbbbbb.bbbbbb +........bbbbbb +........bbbbbb +........bbbbbb +........bbbbbb +........bbbbbb +........bbbbbb +........bbbbbb +Bonus: +......5555.... +......55555... +.......5555... +........5555.. +........5555.. +.........44... +.........44... +.3333335bbbbbb +.333333.bbbbbb +.333333.bbbbbb +.*c*c*c.bbbbbb +........bb5jbb +........555555 +........55m5m5 +........bwbwbw +........555555 +........555555 +........5p5p5p +Level: +Bluszcz +69 +Bricks: +xxxxxiixxxxx** +xiiiiiix!!!x** +xiffffix!!!x!* +xiffffix!!!x*! +xiiiiiix!!!x!* +xxxxxiixxxxx*! +x!!!xiiiiiix!* +x!!!xidjjdix*! +x!!!xijhhjix!* +x!!!xijhhjix*! +x!!!xidjjdix!* +x!!!xiiiiiix** +xxxxxiixxxxx** +iiiiiiiiiiiiii +************** +************** +************** +************** +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +bbbbbbmmbbbbbb +bbbbbbjjbbbbbb +bbbbbbbbbbbbbb +Level: +Bluszcz +fUCK ME +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +iiiiiiiiiiiiii +iiiiiiiiiiiiii +!!!i!!!!iiiiii +!iii!iiii!iii! +!iii!iiii!!ii! +!!!i!!!iii!!!! +ii!i!!!iiii!!i +ii!i!iiiii!!!i +ii!i!iiii!!i!! +!!!i!!!!i!iii! +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +!!!!!!!!!!!!!! +Bonus: +.............. +.............. +.............. +.............. +...........b.. +wbbbbbwbbbbbbw +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +mmmggggggggmmm +Level: +Bluszcz +Wonderful LIVES +Bricks: +xxxxxxxxxxxxxx +xxxxxxxxxxxxxx +cccxxxxxxxxxxx +cxxxxxxxxxxxxx +cxxxxxxxxxxxxx +cxxxcccxccxcxc +cxxxcccxccxccx +cccxcxcxccxcxc +iiiiiiiiiiiiii +iiiiiiiiiiiiii +xxxxxxxxxxxxxx +xxxxxxxxxxxxxx +xxxxxxxxxxxxxx +************** +************** +************** +************** +************** +Bonus: +l5lll5l55lllll +l5555l55555lll +l55ll5lll55555 +l5555555ll55l5 +555l5ll5555ll5 +l55bbbbbb555l5 +l55bbbjbb5555l +lllbbbbbbll55l +5l5lbbbbbl5l55 +555555j555ll55 +ll55555555555l +ll555lll55llll +ll5l5l5555llll +bbbbb55555bbbb +jjjjjj555jjjjj +jjjjjjjjjjjjjj +++m+m+m+m+m+m+ +wwwwwwwwwwwwww +Level: +Bluszcz +Happy Izoos +Bricks: +iiiiiiiiiiiiii +i************i +i************i +ihddd****ddd*i +iidxd*ii*dxdgi +ihdxd*ii*dxdhi +iiddd*ii*dddgi +ighgh*ii*ghhhi +iighg*ii*hghgi +ihdgh*ii*ghdhi +iidhg****hgdgi +ihhdhghghgdhhi +iihddddddddhgi +i************i +iiiiiiiiiiiiii +xxxxxxxxxxxxxx +!!!!!!!!!!x!!! +vvvvvvvvvvvvvv +Bonus: +.............. +...........5.. +..........555. +..........5.5. +......5!..5555 +......!5..5555 +......5!..555. +......!5..555. +......5!...5.. +......!5...... +ffffffffffffff +ggggg!!!gggggg +ccccc!!!cccccc +mmmmm555mmmmmm +wwwwwwwwwwwwww +>>>>>>>>>>>>>> +bbbbbbbbbb.bbb +++++++++++++++ +Level: +Bluszcz +Happy Izoos +Bricks: +@@@@@@@@@@@@@@ +xxxxxxxxxxxxxi +xxxxxxxxxxxxii +@@@@@@@@@@@@i@ +hhhhhhhhhhhhhh +iziiiiziziziii +izzzzizizizizz +izzzizzizizizz +izzzizziziziii +izzizzzizizzzi +izzizzzizizzzi +izizzzzizizzzi +iziiiiziiiziii +vvvvvvvvvvvvvv +yyyyyyyyyyyyyy +xxxxxxxxxxxxxx +!*!*!*!*!*!*!* +zzzzzzzzzzzzzz +Bonus: +55555555555555 +55555555555555 +55555555555555 +555555555555m5 +wwwwwwwwwwwwww +5.5555.5.5.555 +5....5.5.5.5.. +5...5..5.5.5.. +5...5..5.5.555 +5..5...5.5...5 +5bb5bbb5b5bbb5 +5b5bbbb5b5bbb5 +5b5555b555b555 +wwwwwwwwwwwwww +gggggggggggggg +bWbWbWbWbWbWbW +b5b5bbb5b5b5b5 +ww>>>>>>>>>>ww +Level: +Bluszcz +Wypas +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvEEExxEEEvvv +vvvExxxxxxEvvv +vvvE!dddd!Evvv +vvvE!eeee!Evvv +vvvE!iggi!Evvv +...E!gggg!E... +dddE!gggg!Eddd +hhhE!ifai!Ehhh +fffE!iafi!Efff +!!!E!diid!E!!! +!!!E!deed!E!!! +!!!E!dddd!E!!! +!!!E!!!!!!E!!! +!!!EEEEEEEE!!! +Bonus: +************** +llllllllllllll +<<<<<<<<<<<<<< +>>>>>>>>>>>>>< +&&&...--...&&& +&&&.!!!!!!.&&& +&&&.555j55.&&& +&&&.555555.&&& +&&&.55j555.&&& +....555j55.... +www.555555.www +www.j55555.www +www.5555j5.www +bbb.555555.bbb +bbb.555555.bbb +bbb.5jj555.bbb +bbb.555j55.bjb +bmb........mmm +Level: +Bluszcz +Till end +Bricks: +@@@@@@@@@@@@@@ +@e!!!!!!!!!!!@ +@e!iiivviiii!@ +@e!@@@@@@@@i!@ +@e!@eeeeee@i!@ +@e!@eeeeee@i!@ +@e!@zzzzzz@i!@ +@e!@dddddd@i!@ +@e!@dddddd@i!@ +@e!@@@@@@@@i!@ +@e!iiiiiiiii!@ +@e!!!!!!!!!!!@ +@@@@@@!!@@@@@@ +dddgd@!!@dgdgd +chchc@!!@chchc +hbhbh@!!@hbhbh +*.*.*....*.*.* +.............. +Bonus: +55555555555555 +5............5 +5.....mm.....5 +5w.00000000.w5 +5..15555551..5 +5..25555552..5 +5..3llllll3..5 +5..35555553..5 +5..55555555..5 +5..55555555..5 +5..bbbbbbbbb.5 +5pbbbgssgbbbp5 +5555jj..jjj555 +b...bj}{jb...b +w...wj<+jw...w +.w.>.j+.w. +m.m.m....m.m.m +.............. +Level: +Bluszcz +Rasta +Bricks: +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +.............. +.!.!.!.!.!.!.! +!*!*!*!*!*!*!* +.v.v.v.v.v.v.v +v.v.v.v.v.v.v. +Bonus: +55555555555555 +33333333333333 +22222222222211 +11111111111111 +00000000000000 +m....&.b...>m> +.Ww...!.{{...> +...s-.}bl...s. +m.........+..m +b............b +...b!..b..b... +.............. +b....b...b..!b +.............. +.!.f.m.......m +!}w}-}-}p}l}w} +.............. +.............. +Level: +Bluszcz +Terkinka +Bricks: +xxxxxxxxxxxxxx +xvvvvvvvEEEEex +xvvvvvvvEEEEex +xvvvvvvvEEEEex +xvvvvvvvEEEEex +xvvvvvvvaaaa*x +xvvvvvvvaaaa*x +xvvvvvvvaaaa*x +xvvvvvvvaEEa*x +xvvvvvvva!!a*x +xvvvvvvvaaaa*x +xvvvvvvvaEEa*x +xvvvvvvva!!a*x +xvvvvvvvaaaa*x +xvvvvvvvaEEa*x +xxxxxxxxa!!a*x +xxxxxxxxxaaa*x +xxxxxxxxxEEx*x +Bonus: +------->>>>--- +.2222222gwb +.215j512....>b +.2155512w...~b +.2155512.>>.>b +.2155512....~b +.2111112....5b +.2222222.bb.-b +............5b ++*+*Wbwpgss.>b +bbbbbbbbbbb.fw diff --git a/client/levels/JediAdventure b/client/levels/JediAdventure new file mode 100644 index 0000000..18c2aad --- /dev/null +++ b/client/levels/JediAdventure @@ -0,0 +1,452 @@ +Version: 1.00 +Level: +G +T.I.E. Fighter +Bricks: +.............. +.............. +d............d +d............d +d....iiii....d +d..##....##..d +d..#.g..g.#..d +d.i.g#gg#g.i.d +ddi..ghhg..idd +ddi..ghhg..idd +d.i.g#gg#g.i.d +d..#.g..g.#..d +d..##....##..d +d....iiii....d +d............d +d............d +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.....2222..... +.............. +.....3..3..... +..2.3.44.3.2.. +..2..4554..2.. +..2..4554..2.. +..2.3.44.3.2.. +.....3..3..... +.............. +.....2222..... +.............. +.............. +.............. +.............. +Level: +G +Asteroid Field +Bricks: +.............. +.@.!.....@..!. +.....@........ +........@..... +.@..@......@.. +.......!.....! +..!........... +..........!... +......@.....@. +.!.......@.... +....@......... +......!....... +..@......@.... +!...@......!.. +.............@ +......@..!.... +..@........... +....!......... +Bonus: +..555......555 +..555......555 +..555......555 +.............. +......555...55 +.555..555...55 +.555..55555555 +.555.....555.. +555......555.. +555........... +555..555...... +.....555...... +55...555..555. +55........555. +55......55555. +........555... +...555..555... +...555........ +Level: +G +Imperial Fleet +Bricks: +.....c........ +...ccc........ +.cccccg....... +.............. +.............. +.............. +........cc.... +......cccc.... +....ccccccg... +.............. +.............. +............c. +...cc.....ccc. +.cccc...cccccg +cccccg........ +.............. +.............. +.............. +Bonus: +.....2........ +...222........ +.22222f....... +.............. +.............. +.............. +........22.... +......2222.... +....222222f... +.............. +.............. +............2. +...22.....222. +.2222...22222f +22222f........ +.............. +.............. +.............. +Level: +G +Tractor Beam +Bricks: +.............. +.......ha..... +......hhaa.... +.....hh..aa... +....hh....a... +...hh.....a... +hhhhhhhaaaaaaa +hhhhhhhaaaaaaa +...hh.....a..a +....hh....a..a +.....hh..aa..a +......hh.aa..a +.......haa...a +........a....a +.............a +.............a +.............a +aaaaaaaaaaaaaa +Bonus: +.............. +.......3...... +......33...... +.....33....... +....33........ +...33......... +3333333....... +3333333....... +...33......... +....33........ +.....33....... +......33...... +.......3...... +.............. +.............. +.............. +.............. +.............. +Level: +G +Detention Block +Bricks: +#############. +#aa#aa#aa#aa#. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#############. +.............. +.!.!.!.!.!.!.. +!.!.!.!.!.!.!. +.............. +#############. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#..#..#..#..#. +#aa#aa#aa#aa#. +#############. +Bonus: +.............. +.m......m..... +.............. +.............. +.............. +.............. +.............. +5555555555>55. +m.>.5.>.5.5.55 +.5.>.5.5.5.5.5 +>55555555>555> +.............. +.............. +.............. +.............. +.............. +.....m........ +.............. +Level: +G +Obi Wan Vs. Vader +Bricks: +...........ggj +..........ggjj +.........ggjjj +........ggjjjj +.......ggjjjjc +......ggjjjjca +.....ggjjjjcaa +....ggjjjjcaaa +...ggjjjjcaaaa +..ggjjjjcaaaad +.ggjjjjcaaaadd +ggjjjjcaaaadd. +gjjjjcaaaadd.. +jjjjcaaaadd... +jjjcaaaadd.... +jjcaaaadd..... +jcaaaadd...... +caaaadd....... +Bonus: +.............5 +............5. +...........5.5 +..........5.5. +.........5.5.. +........5.5... +.......5.5.... +......5.5...f. +.....5.5...... +....5.5...f.W. +...5.5........ +..5.5...f.W... +.5.5.......... +5.5...f.W..... +.5............ +5...f.W....... +.............. +..f.W......... +Level: +G +Thru The Superstructure +Bricks: +........j.j... +#########.#### +.............. +!!!!!!!!!!!!!! +.............. +##.########### +.............. +!!!!!!!!!!!!!! +.............. +########.##### +.............. +!!!!!!!!!!!!!! +.............. +#####.######## +.............. +!!!!!!!!!!.... +.............. +#############. +Bonus: +........l.l... +.............. +55555555555555 +.............. +55555555555555 +.............. +55555555555555 +.............. +55555555555555 +.............. +55555555m55555 +.............. +55555555555555 +.............. +55555555555... +..........5... +55555555555... +.............. +Level: +G +Reactor Shot +Bricks: +.............. +.............. +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +....#...#..... +...#..!..#.... +....#...#..... +.....###...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....5.5...... +.....5.5...... +.....l5l...... +.............. +Level: +G +Death Star Explodes +Bricks: +.............. +......**...... +.....****..... +....******.... +...********... +..**********.. +.************. +.*****.******. +.****...*****. +.*****.******. +.************. +.************. +.************. +..**********.. +...********... +....******.... +.....****..... +......**...... +Bonus: +.............. +.............. +.............. +.............. +.............. +...55555555... +..5555555555.. +..5555.55555.. +..555...5555.. +..5555.55555.. +..5555555555.. +..5555555555.. +..5555555555.. +...55555555... +....555555.... +.....5555..... +.....j........ +.............. +Level: +G +Pursuing Vader's Fighter +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.....c..c..... +....c....c.... +....c.cc.c.... +....cccccc.... +....c.cc.c.... +....c....c.... +.....c..c..... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....{..{..... +....~....~.... +....W.>>.W.... +....ff>>ff.... +....W.>>.W.... +....~....~.... +.....{..{..... +.............. +.............. +.............. +.............. +.............. +Level: +G +The End +Bricks: +vvvvvvvvvvvvv@ +v***v*v*v***v@ +vv*vv*v*v*vvv@ +@v*vv***v***v@ +@v*vv***v***v@ +@v*vv*v*v*vvv@ +@v*vv*v*v***v@ +vvvvvvvvvvvvvv +v***v**v*v***v +v*vvv**v*vv*v* +v***v*v**vv*v* +v***v*v**vv*v* +v*vvv*vv*vv*v* +v***v*vv*v***v +vvvvvvvvvvvvvv +.............. +.............. +.............. +Bonus: +.fff>...>...>. +.555.5f5.555.. +>.5f.5f5f5ff.. +..5..555.555.. +..5.>555>555.. +..5f.5f5.5ff.. +..5..5f5.555f. +>...>....>.... +.555.55f5.555. +.5ff.55f5..5f5 +.555.5f55.f5f5 +.555>5f55>.5f5 +.5ff.5..5..5f5 +.555.5..5.555. +>.f.>..f.>...f +.............. +.............. +.............. diff --git a/client/levels/KungFu b/client/levels/KungFu new file mode 100644 index 0000000..e34eb29 --- /dev/null +++ b/client/levels/KungFu @@ -0,0 +1,616 @@ +Version: 1.00 +Level: +Tars +Training Fields +Bricks: +ff..ffff..ffff +.............. +.............. +.............. +f..ffff..ffff. +.............. +.............. +.............. +..cccc..cccc.. +.............. +.............. +.............. +.cccc..cccc..c +.............. +.............. +.............. +cccc..cccc..cc +.............. +Bonus: +2>..w22>..w22> +.............. +.............. +.............. +>..w22>..w22>. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Tars +Train Harder - More Chi +Bricks: +.............. +.!.!.!..!.!.!. +.*.*.*..*.*.*. +.............. +.............. +.............. +....fz...fz... +..zzz..zzz..zz +.............. +.............. +...fz...fz...f +.zzz..zzz..zzz +.............. +.............. +..fz...fz...fz +zzz..zzz..zzz. +.............. +.............. +Bonus: +.............. +.b.b.+..+.b.b. +.c.c.c..c.c.c. +.............. +.............. +.............. +....>....>.... +.............. +.............. +.............. +...>....>....> +.............. +.............. +.............. +..>....>....>. +.............. +.............. +.............. +Level: +Tars +Shadowless Kick +Bricks: +.............. +.............. +.............. +zffz.zffz.zffz +zzzz.zzzz.zzzz +.............. +cffc.cffc.cffc +cccc.cccc.cccc +.............. +iffk.kffk.kffi +kkkk.kkkk.kkkk +.............. +.............. +z..z.z..z.z..z +ifff.ffff.fffi +cccc.cccc.cccc +.............. +.............. +Bonus: +.............. +.............. +.............. +W>b&.&>b&.&>bW +.............. +.............. +.>b&.&>b&.&>b. +.............. +.............. ++>b&.&>b&.&>b+ +.............. +.............. +.............. +.............. ++>b>.b>b>.b>b+ +.............. +.............. +.............. +Level: +Tars +Golden Pagoda +Bricks: +......h....... +.....heh...... +......h....... +.....heh...... +......h....... +....hhehh..... +.....hhh...... +...hhhchhh.... +....#c!c#..... +..hhh#c#hhh... +...hhh#hhh.... +.hhhhhhhhhhh.. +..hhhhhhhhh... +hhhhhhhhhhhhh. +.hhhhhhhhhhh.. +.............. +ffffffffffffff +.............. +Bonus: +.............. +......5....... +.............. +......5....... +.............. +......5....... +.....1.1...... +......f....... +.....flf...... +...12.f.21.... +.............. +..121212121... +.............. +.12121212121.. +.............. +.............. +b>b>b>b>b>b>b. +.............. +Level: +Tars +Festival +Bricks: +.............. +!.!........!.! +*.*........*.* +*.*........*.* +*.*........*.* +*.*.cccccc.*.* +*.*ciggggic*.* +..cigzzzzgic.. +..cgiiiiiigc.. +.cgihehhehigc. +.cgzihiihizgc. +.cgzihiihizgc. +.cgzihiihizgc. +.cgihehhehigc. +..cgiiiiiigc.. +..cigzzzzgic.. +...ciggggic... +....cccccc.... +Bonus: +.............. ++.b........b.+ +.............. +.............. +c.c........c.c +.............. +c.c...-<...c.c +.............. +....~....~.... +.....5..5..... +......ll...... +......bb...... +......WW...... +...>.5..5.>... +....~....~.... +.............. +......<+...... +.............. +Level: +Tars +Ancient Library +Bricks: +...cf...fc.... +jcccc...ccccj. +ccfc.....cfcc. +c.c.......c.c. +.............. +.c.........c.. +.#.........#.. +#d#.......#d#. +.k.........k.. +.k.ccccccc.k.. +k.k.c...c.k.k. +...ccccccc.... +....czzzc..... +##..czzzc...## +.###czzzc####. +....c..c...... +.............. +.............. +Bonus: +....>...>..... +f...........f. +..b.......b... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....f...f..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Tars +Scroll of Dragonbreath +Bricks: +.............. +*zdz.......... +*zdz....z..... +zzdz.....z.... +dddz.....z.... +####...cccc... +......!aaaac.. +.....##!cccac. +....#**#.z.ca. +....ee#..z.ca. +...he...z..ca. +..hh.....zzacz +........z.ca.. +.........ca... +ff.......ca.aa +ff.......ccacc +ff........cc.. +cc............ +Bonus: +.............. +.............. +..*........... +.............. +*.*........... +.............. +......W....... +.......W...... +.....**....... +.....*........ +.............. +.............. +.............. +.............. +>b............ +>b............ +>b............ +.............. +Level: +Tars +Shaolin Wonderpalm +Bricks: +..#!#....#!#.. +..###....###.. +.............. +.zzz......zzz. +.zgz......zgz. +.zzz......zzz. +.............. +.zzz......zzz. +.zgz......zgz. +.zzz......zzz. +.............. +.............. +.###......###. +.fff......fff. +.iff......ffi. +.ccc......ccc. +.............. +.............. +Bonus: +...j......j... +.............. +.............. +..&........&.. +..m........m.. +..-........-.. +.............. +..&........&.. +..m........m.. +..-........-.. +.............. +.............. +.............. +.bbb......bb>. +.+>>......>>+. +.............. +.............. +.............. +Level: +Tars +Outer Gate +Bricks: +.............. +.............. +..d........d.. +..@@dd@@dd@@.. +...f......f... +..dddd@@dddd.. +..d@d@ff@d@d.. +...d@....@d... +....d....d.... +....@....@.... +....d....d.... +....@....@.... +....d....d.... +....@...@..... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +..-........-.. +.............. +...+......+... +.............. +......++...... +...>......>... +.............. +.............. +....c....c.... +.............. +....>....>.... +.............. +.............. +.............. +.............. +.............. +Level: +Tars +Outer Courtyard +Bricks: +.............. +.fgf..**..fgf. +#jfg#z..z#gfj# +#####.zz.##### +.............. +.............. +.............. +.fgf......fgf. +#jfg#....#ffj# +#####.yy.##### +.............. +.............. +.............. +.fgf......fgf. +#jfg#....#gfj# +#####.xx.##### +.............. +.............. +Bonus: +.............. +..>...5l...>.. +.fbc.*..*.cbf. +......bb...... +.............. +.............. +.............. +..>........>.. +.fbc......cbf. +......++...... +.............. +.............. +.............. +..>........>.. +.fbc......cbf. +......b}...... +.............. +.............. +Level: +Tars +Inner Gate +Bricks: +k.....hh...... +.....hchh...k. +.....chhh...k. +..k.hhhhhh.... +....chhhhh.... +...chhhhhhh..k +.khhhhhhhhhh.. +...ccchhccc... +.k.ccjj#jcc.k. +.k.cfjjf#fc.k. +.h.ccj#.#cc.h. +hehcc#..#ccheh +edecc#.##ccede +dddz##ii##zddd +###zz##.#zz### +..#zz#..#zz#.. +..#zz#..#zz#.. +..#.##..##.#.. +Bonus: +......22...... +.....2f22..... +.....f222..... +....222222.... +....f22222.... +...f2222222... +..2222222222.. +...f..22..f... +.............. +....b..b.b.... +.............. +.............. +.*..........*. +***...++...*** +.............. +.............. +.............. +.............. +Level: +Tars +Inner Courtyard +Bricks: +......!!...... +.............. +#####EzzE##### +*...a.zz.a...* +cc###E..E###cc +ffff.E..E.ffff +gfkj.z..z.jkfg +gfkj.z..z.jkfg +ffff.E..E.ffff +#####E..E##### +*...a....a...* +cc###E..E###cc +ffff.E..E.ffff +gfkj.c..c.jkfg +ffff.E..E.ffff +#####E..E##### +.............. +.............. +Bonus: +......l*...... +.............. +......bb...... +?...d.WW.d...? +.............. +.............. +c.~f.w..w.f~.c +>b~f.5..5.f~b> +.............. +.............. +?...d....d...? +.............. +.............. +>b~f.+..+.f~b> +.............. +.............. +.............. +.............. +Level: +Tars +General Wu +Bricks: +.............. +zzz........zzz +zgz........zgz +zzz..v..v..zzz +.....@..@..... +.............. +...v..@@..v... +.h.@.@!!@.@.h. +eee...@@...eee +ddd........ddd +kkk........kkk +.....v..v..... +.....@..@..... +.i..........i. +fff........fff +fff........fff +ccc........ccc +.............. +Bonus: +.............. +.&..........&. +.m..........m. +.....d..d..... +.............. +.............. +...d......d... +......ll...... +.............. +.*..........*. +.............. +.....d..d..... +.............. +.+..........+. +b>b........>b> +>b>........b>b +.............. +.............. +Level: +Tars +Victory Celebration +Bricks: +.............. +.............. +.............. +.............. +.!#..!##!..#!. +c*c.c*cc*c.c*c +h*h.h*hh*h.h*h +c*c.c*cc*c.c*c +e*e.e*ee*e.e*e +c*c.c*cc*c.c*c +c*c.c*cc*c.c*c +c*c.c*cc*c.c*c +e*e.e*ee*e.e*e +c*c.c*cc*c.c*c +h*h.h*hh*h.h*h +c*c.c*cc*c.c*c +c*c.c*cc*c.c*c +c*c.c*cc*c.c*c +Bonus: +.............. +.............. +.............. +.............. +.l...l..l...l. +.............. +4.4.4.44.4.4.4 +j.j.j.jj.j.j.j +5.5.5.55.5.5.5 +.............. +.............. +.............. +5.5.5.55.5.5.5 +j.j.j.jj.j.j.j +4.4.4.44.4.4.4 +.............. +.............. +.............. +Level: +Tars +R&R +Bricks: +.c...cc....... +cc...ccc..c... +.........ccc.. +..ccc....cccc. +.cccc......... +.............. +.......h...... +......hhh..... +......hhh..... +gggggdhhhdfggg +ggggggdhdgfggg +gggggggddffgfg +ggggggggdgffgg +gggggggggff@gg +egggggggfefg@g +eegeeggeeefge@ +eeeeeeeeeeegee +eeeeeeeeeeeeee +Bonus: +.............. +.&....&....... +.............. +...........&.. +...&.......... +.............. +.......5...... +......555..... +......555..... +......555*>... +......*5..>... +........*bb.b. +..........>>.. +.........>b... +........b.>... +..........b... +.............. +.............. diff --git a/client/levels/Makefile.am b/client/levels/Makefile.am index 51a4922..efd838e 100644 --- a/client/levels/Makefile.am +++ b/client/levels/Makefile.am @@ -1,13 +1,114 @@ -EXTRA_DIST = LBreakout1 LBreakout2 N_Arenas N_Snapshots \ -Afl Chaos Holidays Megadoomer Runes Wolvie \ -Arcade Demons Hommage Pabelo Shimitar Zufallswelt \ -BeOS-4ever HereWeGo Kevin Ph33r TheGauntlet Bombs \ -HighBall LinuxFun R-World Twilight Lattsville OpenSource \ -Kazan-1 Abc Fly Flower Freek GreenWall Gatinha Composers Color \ -Yexter GreenWall2 Lapis SnyMaxx Pawset X IoriYagami Tricky \ -Silly NES CalendarFun Impossibility GreenWall3 GreenWall4 Iris \ -Alex Maze Family SkillShot Hans WTF Symmetry-MKII FatalDoomsday \ -Zigies TimeWaster Lord IrrenhausAh Arkanoid Heroes Biolab428 +# Use ls | grep -v Makefile | sed -e "s/$/ \\\\/" for update +EXTRA_DIST = 1010011010 \ +Abc \ +Afl \ +Alex \ +Alexandre \ +AllNighter \ +Arcade \ +Arkanoid \ +BeOS-4ever \ +Bertrand \ +BigBang \ +Biolab428 \ +Blues \ +Bombs \ +CalendarFun \ +Celine \ +Chaos \ +Choices \ +Circle \ +Classique \ +Color \ +Composers \ +Crossing \ +D2K \ +Daves \ +Demons \ +Family \ +Fantaisie \ +FatalDoomsday \ +FatalDoomsday2 \ +Flower \ +Fly \ +Freek \ +FunCity \ +Gatinha \ +GreenWall \ +GreenWall2 \ +GreenWall3 \ +GreenWall4 \ +Hans \ +HereWeGo \ +Heroes \ +HighBall \ +Holidays \ +Hommage \ +Impossibility \ +Invisible \ +IoriYagami \ +Iris \ +IrrenhausAh \ +Izusiowe \ +JediAdventure \ +Kazan-1 \ +Kevin \ +KungFu \ +Lapis \ +Lattsville \ +LBreakout1 \ +LBreakout2 \ +LinuxFun \ +Lord \ +Maze \ +Megadoomer \ +MontyHall \ +N_Arenas \ +Nations \ +Negundoid \ +NES \ +NewOERG1 \ +N_Snapshots \ +ObiWan \ +OpenSource \ +OurWorld \ +Pabelo \ +Patience \ +Pawset \ +Ph33r \ +P.I.T.A. \ +PlayAgain \ +Popcorn \ +RichQuick \ +Runes \ +R-World \ +Sadistic \ +Shimitar \ +Silly \ +SkillShot \ +Smilies \ +SnyMaxx \ +StarWars \ +Symmetry \ +Symmetry-MKII \ +T.C.S. \ +TheEnd \ +TheGauntlet \ +TimeWaster \ +TrickShot \ +Tricky \ +Twilight \ +Vader \ +Weirdness \ +Wolvie \ +WonderWalls \ +WTF \ +X \ +Yexter \ +Yoda \ +Zigies \ +Zooligan \ +Zufallswelt install-data-local: $(mkinstalldirs) $(DESTDIR)$(inst_dir)/levels diff --git a/client/levels/Makefile.in b/client/levels/Makefile.in index 85fa715..e3f24e6 100644 --- a/client/levels/Makefile.in +++ b/client/levels/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,457 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/levels +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ -EXTRA_DIST = LBreakout1 LBreakout2 N_Arenas N_Snapshots Afl Chaos Holidays Megadoomer Runes Wolvie Arcade Demons Hommage Pabelo Shimitar Zufallswelt BeOS-4ever HereWeGo Kevin Ph33r TheGauntlet Bombs HighBall LinuxFun R-World Twilight Lattsville OpenSource Kazan-1 Abc Fly Flower Freek GreenWall Gatinha Composers Color Yexter GreenWall2 Lapis SnyMaxx Pawset X IoriYagami Tricky Silly NES CalendarFun Impossibility GreenWall3 GreenWall4 Iris Alex Maze Family SkillShot Hans WTF Symmetry-MKII FatalDoomsday Zigies TimeWaster Lord IrrenhausAh Arkanoid Heroes Biolab428 - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +# Use ls | grep -v Makefile | sed -e "s/$/ \\\\/" for update +EXTRA_DIST = 1010011010 \ +Abc \ +Afl \ +Alex \ +Alexandre \ +AllNighter \ +Arcade \ +Arkanoid \ +BeOS-4ever \ +Bertrand \ +BigBang \ +Biolab428 \ +Blues \ +Bombs \ +CalendarFun \ +Celine \ +Chaos \ +Choices \ +Circle \ +Classique \ +Color \ +Composers \ +Crossing \ +D2K \ +Daves \ +Demons \ +Family \ +Fantaisie \ +FatalDoomsday \ +FatalDoomsday2 \ +Flower \ +Fly \ +Freek \ +FunCity \ +Gatinha \ +GreenWall \ +GreenWall2 \ +GreenWall3 \ +GreenWall4 \ +Hans \ +HereWeGo \ +Heroes \ +HighBall \ +Holidays \ +Hommage \ +Impossibility \ +Invisible \ +IoriYagami \ +Iris \ +IrrenhausAh \ +Izusiowe \ +JediAdventure \ +Kazan-1 \ +Kevin \ +KungFu \ +Lapis \ +Lattsville \ +LBreakout1 \ +LBreakout2 \ +LinuxFun \ +Lord \ +Maze \ +Megadoomer \ +MontyHall \ +N_Arenas \ +Nations \ +Negundoid \ +NES \ +NewOERG1 \ +N_Snapshots \ +ObiWan \ +OpenSource \ +OurWorld \ +Pabelo \ +Patience \ +Pawset \ +Ph33r \ +P.I.T.A. \ +PlayAgain \ +Popcorn \ +RichQuick \ +Runes \ +R-World \ +Sadistic \ +Shimitar \ +Silly \ +SkillShot \ +Smilies \ +SnyMaxx \ +StarWars \ +Symmetry \ +Symmetry-MKII \ +T.C.S. \ +TheEnd \ +TheGauntlet \ +TimeWaster \ +TrickShot \ +Tricky \ +Twilight \ +Vader \ +Weirdness \ +Wolvie \ +WonderWalls \ +WTF \ +X \ +Yexter \ +Yoda \ +Zigies \ +Zooligan \ +Zufallswelt + +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/levels/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/levels/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/levels/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/levels +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -200,7 +475,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\levels\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/levels/MontyHall b/client/levels/MontyHall new file mode 100644 index 0000000..2393930 --- /dev/null +++ b/client/levels/MontyHall @@ -0,0 +1,1107 @@ +Level: +Kevin Nathan +Easy +Bricks: +.............. +.............. +.............. +dddddddddddddd +dddddddddddddd +eaeaeaeaedddea +.dddddddddddd. +..aaaaaaaaaa.. +.eeeeeeeeeeee. +..iiiiiiiiii.. +daaaaaaaaaaaad +eeeeeaaaaeeeee +..bbbbbbbbbb.. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.0.0.0.0.0.0.0 +0.0.0.0.0.0.0. +..1..1..1..w.. +.+........j.+. +.-.......-. +.+..j111....b. +...w......1... +0.0.0.0.0.0.l0 +.s...b..?...p. +....g....g.... +.............. +.............. +.............. +.............. +.............. +Level: +Kevin Nathan +Strange +Bricks: +.............. +.............. +.............. +.............. +d#d#dcd#c#d#c# +eee#eee#eee#ee +.#ffffffffff#. +.#gggggggggg#. +..hh##bb##hh.. +..iiicccciii.. +...aaaaaaaa... +....aaaaaa.... +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +0.0.0.0.0.0.0. +->......>-..m. +...s..l2.?.... +..w...11...p.. +..2b......b2.. +..+11....11+.. +.....g..j..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Kevin Nathan +Glacier +Bricks: +.............. +..aaaaaaaaaa.. +.gggggggggggg. +..agagagagag.. +ggggg....ggggg +ggggg....ggggg +.aabbccaabbcc. +.ggggg..ggggg. +..gggg..gggg.. +..gggg..gggg.. +.aaa.aaaa.aaa. +.bbb.bbbb.bbb. +...cccccccc... +gggggggggggggg +gggggggggggggg +.............. +.............. +.............. +Bonus: +.............. +...m.......p.. +......g....... +...j......j... +w.b.........bw +<>.<>....<><>. +.......2...g.. +.....<..>..... +...j.-..+.j... +.....+..-..... +..b...b....b.. +.l...l....ls.. +...11211211... +0+0-0w0.0<0-0+ +.......g...... +.............. +.............. +.............. +Level: +Kevin Nathan +X Files +Bricks: +d............d +d#..........cd +.cd........d#. +..dc......#d.. +...#d....dc... +....bbaabb.... +.....cccc..... +....bbaabb.... +...#d....dc... +..dc......#d.. +.cd........dc. +d#..........cd +d............d +.............. +...cbabbabc... +ddddd....ddddd +.............. +.............. +Bonus: +.............. +l............1 +..2........b.. +..w........p.. +....j......... +.............. +.....1?11..... +.......g...... +.........j.... +..1........1.. +..b........b.. +.............. +.............. +.............. +...2g0sl002... +11+<+....->-11 +.............. +.............. +Level: +Kevin Nathan +Y Files +Bricks: +d............d +dc..........cd +.cd........dc. +..dc......cd.. +...cd....dc... +....bbaabb.... +.....cccc..... +.....#ii#..... +.....#ii#..... +.....#ii#..... +.....#ii#..... +.....#ii#..... +.....#..#..... +.....#..#..... +.............. +...cbabbabc... +ddddd....ddddd +.............. +Bonus: +g............j +3............3 +..2........b.. +..p........+.. +...j.......... +.............. +.....2121..... +......l....... +.......m...... +......1g...... +......bw...... +......++...... +.............. +.............. +.............. +...200sl002... +11+<+....->-11 +.............. +Level: +Kevin Nathan +Yellow Rose +Bricks: +.............. +hhh...hh...hhh +hhhh..hh..hhhh +hh....hh....hh +hhhhh.hh.hhhhh +.aba.cccc.aba. +.hhhhhhhhhhhh. +..hhhhhhhhhh.. +.hhhhhhhhhhhh. +.aba.cccc.aba. +hhhhh.hh.hhhhh +hh....hh....hh +hhhh..hh..hhhh +hhh...hh...hhh +....cccccc.... +.....cccc..... +.............. +.............. +Bonus: +.............. +000...00...000 +..1...11...1.. +......22...... +s............< +......mw....b. +.j....p....... +..1111111111.. +.b.....l....g. +......w+...... +-..>......<..+ +.......?...... +.<..........>. ++w....11....b- +......j.g..... +.............. +.............. +.............. +Level: +Kevin Nathan +S.O.B. +Bricks: +.............. +.............. +dddddddddddddd +dddddddddddddd +dddddddddddddd +eeeeeeeeeeeeee +ffffffffffffff +gggggggggggggg +hhhhhhhhhhhhhh +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.?.?.?.?.?.?.? +1.1j1.1.1.1g1. +.?.?.?.?j?.?.? +2.2.2.2g2.2.2. +?.?.?j?.?.?.?j +.1.1g1.1.1j1.1 +.?.?.?.?.?.?.? +0g0.0.0.0.0.0. +?.?.?.?.?.?.?. +.0.0.0g0.0.0.0 +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Kevin Nathan +Pump +Bricks: +.............. +......cc...... +cc..cccccc..cc +ddc...cc...cdd +dddc..cc..cddd +eeccc.cc.cccee +ffc...##...cff +ggc...##...cgg +cccc.cccc.cccc +iiic.ciic.ciii +iic..ciic..cii +iiic..cc..ciii +iiic.ciic.ciii +cccc.cccc.cccc +iiic.ciic.ciii +cccc.cccc.cccc +cccc.cccc.cccc +.............. +Bonus: +.............. +.......j...... +2...2..2.2..2. +.1....g.....1. +0..0...j..0..0 ++.....wp.....- +.............. +.............. +0000.1111.0000 +m......?.....? +.j............ +>..p......l.<. +.<....s.1...w. +0-0+.+0+0.0-0+ +.............j ++....g..+.g..+ +...b......b... +.............. +Level: +Kevin Nathan +Maze +Bricks: +.ccc.ccc.ccc.. +.............. +cc.ccc.ccc.ccc +.............. +.ccccccccccccc +.............. +..cccccccccc.. +.............. +ccccc.ccccc.cc +.............. +ccc....ccc.... +cccc..ccccc..c +cccc...ccc...c +cc....cc....cc +.............. +...cc....cc... +.c.cc.cc.cc.cc +.ccccccccccccc +Bonus: +..4...4...4... +.............. +....j...g..... +.............. +..1.1.1.1.1.1. +.............. +..+.<.>.-.s... +.............. +w0.+..1.l....g +.............. +.......g.j.... +m.b.....b....2 +.............. +b+....p>....<- +.............. +...g......j... +...1..w..b..l. +.............. +Level: +Kevin Nathan +Brief Pause +Bricks: +###........### +##..........## +#............# +......ff...... +......ff...... +.....ffff..... +.d.d.ffff.d.d. +eeeeeeeeeeeeee +fhid.bccb.dihf +fhid#cccc#dihf +fhid.bccb.dihf +gggggggggggggg +.f.f.dddd.f.f. +.....dddd..... +......dd...... +......dd...... +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.......w...... +.............. +...g.3333...g. +..-........... +4.....5....... +.j.<..ml..p.j. +.......5+....4 +.............. +.g...3333.g... +.....s..b..... +......w....... +.......+...... +.............. +.............. +Level: +Kevin Nathan +Symmetry +Bricks: +.............. +cccc.cccc.cccc +chhc.chhc.chhc +chhc.chhc.chhc +chhc.chhc.chhc +cccc.cccc.cccc +.............. +cccc.cccc.cccc +chhc.chhc.chhc +chhc.chhc.chhc +chhc.chhc.chhc +cccc.cccc.cccc +.............. +cccc.cccc.cccc +cddc.cddc.cddc +cddc.cddc.cddc +cddc.cddc.cddc +cccc.cccc.cccc +Bonus: +.............. +mg...b..b...gm +.55...55...55. +.5s...5w...s5. +.5....5.....5. +-.+........+.- +.............. +.g.<.j..j...g< +.44...33...44. +.l4...33...4l. +.44...33...44. +.p...j.wj...p. +.............. +.g.>.b..b...g> +.............. +.............. +.............. +-g.+.-.w+.-.g+ +Level: +Kevin Nathan +Bowtie +Bricks: +i............i +ii..........ii +i###......###i +hgfe......efgh +hgfeb....befgh +hgfe#a..a#efgh +hgfe#adda#efgh +####aaddaa#### +hgfebaddabefgh +hgfebaddabefgh +####a#dd#a#### +hgfe#adda#efgh +hgfe#a..a#efgh +hgfeb....befgh +hgfe......efgh +i###......###i +ii..........ii +i............i +Bonus: +l............l +.............. +..3........3.. +..3w......m3.. +.g3........3g. +..3..3..3..3.. +..3..3553..3.. +..3..3553..3.. +.w3g.3553.m3w. +?.3m.3553.g3.? +..3..3553..3.. +..3..3553..3.. +.w3..3..3..3w. +..3.s....b.3.. +..3w......w3.. +..3........3.. +.-..........+. +-............+ +Level: +Kevin Nathan +Tree +Bricks: +....ffffff.... +...ffffffff... +..ffffffffff.. +...ffffffff... +....ffffff.... +.....ffff..... +....ffffff.... +...ffffffff... +..ffffffffff.. +.ffffffffffff. +.ffffffffffff. +..ffffffffff.. +...ffffffff... +....ffffff.... +.....eeee..... +.....eeee..... +.....eeee..... +.....eeee..... +Bonus: +....-.?....... +........g.j... +....m..m..... +.............. +.....j+.>..... +.......j..b.. +...s.m+..g.... +........-..... +......b>...... +......j....... +.....-......>... +...+......+... +Level: +Kevin Nathan +Blockade +Bricks: +##iiiiiiiiii## +#ciiiiiiiiiic# +cdiiiiiiiiiidc +gciiiiiiiiiich +ggciiiiiiiichh +gggciiiiiichhh +gggg#cccc#hhhh +ggggc#cc#chhhh +ggggcc##cchhhh +ggggc#cc#chhhh +gggg#cccc#hhhh +gggcffffffchhh +ggcffffffffchh +gcffffffffffch +cdffffffffffdc +#cffffffffffc# +##ffffffffff## +.............. +Bonus: +..5.b.55.b.5.. +.<..........<. +.mw.-...+..wm. +.5..........5. +..5........5.. ++..5j....j5..- +...........s.. +....4.>p.4.... +?w..........w? +....4.p>.4.... +..s........... +-..5j.-..j5..+ +..5........5.. +.5..........5. +pm..........mp +.<..........<. +..w.b.s+.b.w.. +.............. +Level: +Kevin Nathan +Maze Two +Bricks: +....c....c.... +.cccc....cc... +....c....c.c.. +....c...#c..c. +ccc.c..c.c...c +....c.c..c...c +....c#...c..c. +.cccc....c.c.. +.............. +#ccc.c##c.ccc# +.............. +.cc........cc. +....c.##.c.... +....c.cc.c.... +ccc.c....c.ccc +c...cccccc...c +c............c +#.##cccccc##.# +Bonus: +....m....4.... +..+........... +.............. +............-. +4......1.....4 +....l.m..l.... +.........w.... +.............. +.............. +.....1..1..... +.............. +.-............ +.........+.... +......11...... +4............4 +.............. +s............s +....j<>pwb.... +Level: +Kevin Nathan +Stairs +Bricks: +.gghhhhhhhhgg. +..gghhhhhhgg.. +d..gghhhhgg..d +cd..gghhgg..dc +.cd........dc. +..cd......dc.. +...cd....dc... +c...c....c...c +hc..........ch +hhc........chh +hhhc......chhh +hhhh......hhhh +.............. +....dhhhhd.... +...dhhhhhhd... +..dhhhhhhhhd.. +.dhhhhhhhhhhd. +dccchcccchcccd +Bonus: +.55g...w...55. +..55.-...>55.. +...55....55... +.>..55..55..>. +.w..........w. +.............. +.............. +?............. +.............. +.............. +<............< +.............. +.............. +.............. +......jl...... +....b....s.... +......-...>... +.+..w..?.w..+. +Level: +Kevin Nathan +Lattice +Bricks: +hhhhhhhhhhhhhh +c.c.c.c.c.c.c. +d...d...d...d. +dc.cdc.cdc.cdc +d...d...d...d. +c.c.c.c.c.c.c. +iiiiiiiiiiiiii +.cec.cec.cec.c +..e...e...e... +c.c.c.c.c.c.c. +..e...e...e... +.cec.cec.cec.c +gggggggggggggg +c.c.c.c.c.c.c. +.............. +.c.c.c.c.c.c.c +.............. +c.c.c.c.c.c.c. +Bonus: +m......g.....p +..4...4...4... +.............. +.............> +.............. +..w...j.s.w... +.............. +...b...b...b.. +.............. +5...5...5...5. +.............. +.............. +.............. +....j.-...s.+. +.............. +.......<...... +.............. +..l.....+.w... +Level: +Kevin Nathan +Layers +Bricks: +.....chhc..... +....c.hh.c.... +...c.h..h.c... +..c.h....h.c.. +.c.h..ee..h.c. +c.h..e..e..h.c +.h..e....e..h. +h..e..ff..e..h +.he..f..f..eh. +g.h.f....f.h.g +.g.h..dd..h.g. +c.g.hd..dh.g.c +c..i.h..h.i..c +c.i.h.ff.h.i.c +.i.h.f..f.h.i. +i.h.f....f.h.i +.h.f..dd..f.h. +h.f..d..d..f.h +Bonus: +.............. +.............. +...g.......... +...........j.. +...>..b....... +.............. +.............. +l..w..j......g +.............. +.............. +............w. +....j....<.... +.............. +......g?...s.. +.w............ +.............. +.+..........+. +.............. +Level: +Kevin Nathan +Wedge +Bricks: +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +ddddd#hh#ddddd +ddddc....cdddd +ddd#......#ddd +ddc........cdd +d#...bbbb...#d +c#..abccba..#c +d#...bbbb...#d +ddc........cdd +ddd#......#ddd +ddddc....cdddd +ddddd#hh#ddddd +hhhhhhhhhhhhhh +.............. +.............. +Bonus: +l....g..g....l +.............. +..j........j.. +>............< +...p..ww..p... +....g....g.... +j............j +..g........g.. +m....4j54....m +w...-45p4-...w +.....45l4..... +..+........+.. +.j..........j. +<...+....+...> +.............. +w...s....b...w +.............. +.............. +Level: +Kevin Nathan +Topper +Bricks: +.............. +iiiiiiiiiiiiii +....bbbbbb.... +..bbbbbbbbbb.. +...bbbbbbbb... +....bbbbbb.... +.....bbbb..... +.....hhhh..... +....hhhhhh.... +...hhhhhhhh... +....hhhhhh.... +.....hhhh..... +.....bbbb..... +....bbbbbb.... +...bbbbbbbb... +..bbbbbbbbbb.. +.bbbbbbbbbbbb. +.....dddd..... +Bonus: +.............. +g..m......m..g +.............. +..w...55...w.. +...g......g... +....j....j.... +......pg...... +.....1111..... +....111111.... +...<111111<... +....111111.... +.....1111..... +......ls...... +.............. +....>....>.... +..j...55...j.. +.g..........g. +.....b..w..... +Level: +Kevin Nathan +Crystals +Bricks: +.............. +c.....c.....c. +bc...chc...cic +bbc.chhhc.ciii +bc...chc...cic +c.....c.....c. +.............. +...c.....c.... +..cec...cdc... +.ceeec.cdddc.c +..cec...cdc... +...c.....c.... +.............. +.c.....c.....c +cfc...cgc...ca +fffc.cgggc.caa +cfc...cgc...ca +.c.....c.....c +Bonus: +.............. +s.....l.....?. +5.....5.....5. +m5...5<5...5j5 +5.....5.....5. +.............. +.............. +...-.....+.... +...4.....4.... +..4?4...4>4..m +...4.....4.... +.............. +.............. +.g.....g.....j +.3.....3.....3 +3b3...3w3...3p +.3.....3.....3 +.............. +Level: +Kevin Nathan +Ricochet +Bricks: +#iiiiiiiiiiii# +.h.h.h.h.h.h.h +.............. +#.g.g.g.g.g.g. +.............. +.c.c.c.#.c.c.# +.............. +f.f.f.f.f.f.f. +.............. +.c.c.c.c.c.c.c +.............. +e.#.e.e.#.e.e. +.............. +.c.c.c.c.c.c.c +.............. +d.d.d.d.d.d.d. +.............. +hcc########cch +Bonus: +......m....... +...s.........l +.............. +....p...j..... +.............. +.-.w.......-.. +.............. +g.....b.j...g. +.............. +.5...5.+.5.w.5 +.............. ++.....j.....+. +.............. +...l.....s.... +.............. +g...j.b.p...g. +.............. +5w..........w5 +Level: +Kevin Nathan +Pyramid +Bricks: +##..........## +#............# +.............. +......cc...... +......cc...... +.....cddc..... +.....cddc..... +....cddddc.... +....cddddc.... +...cddddddc... +...cddddddc... +..cddddddddc.. +..cddddddddc.. +.cddddddddddc. +.cddddddddddc. +.dddddddddddd. +.ccccc##ccccc. +.............. +Bonus: +.............. +.............. +.............. +......>>...... +......--...... +.............. +.....s..s..... +.............. +....bj..jb.... +.............. +...w<...... +j....?..?....j +..b...w....... +.............. +.>...j.+.j.... +p............p +..-.s.....-.b. +w............w +...g...<...g.. +......+....... +.............. diff --git a/client/levels/Nations b/client/levels/Nations new file mode 100644 index 0000000..1f5d18c --- /dev/null +++ b/client/levels/Nations @@ -0,0 +1,534 @@ +Version: 1.31 +Level: +Bertrand GRONDIN +Vatican +Bricks: +.............. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +.hhhhhhcccccc. +Bonus: +.............. +.f..l55m..l55. +..f.....m...f. +...f.&.....f.. +....f...g.f... +.....f...f.... +......f.f.m... +..*.*g.f.*.&*. +...4&.....4... +..........4g.. +...4.......... +.....j........ +......ccc..... +.....c..jc.... +..........g... +.............. +.????????????. +.wbbwbbwwwwww. +Level: +Bertrand GRONDIN +Italie +Bricks: +.............. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.zzzzcccc****. +.............. +Bonus: +.............. +.l...*........ +.............. +...*.......... +........*..l.. +.*.c.......... +.............. +..l....l...... +.....m........ +...*.......... +.............. +.*............ +...c.j........ +...........j.. +..j.....jw.... +....*...jw.... +.ww...w*jwwww. +.............. +Level: +Bertrand GRONDIN +France +Bricks: +.............. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.ggggccccdddd. +.............. +Bonus: +.............. +.5555*44*4m44. +......d....... +...l..d.?..... +.>...ffff...*. +...--.cl.-g... +..?..p..c.-... +.............. +....}.&&..>... +..*....*j...?. +...c.?.jj..... +.....3333..... +........>.*.&.. +...w.....&.w.. +.....jj..j.... +..dl.....d.l.. +....5.....5... +.g..WWWWWW..g. +.c.l5.....5lc. +.p...s..s...p. +.............. +.bwbwbwbwbwbw. +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Finlande +Bricks: +.............. +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +gggggggggggggg +gggggggggggggg +gggggggggggggg +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +cccggccccccccc +Bonus: +.............. +*....l...l...* +.............. +.....*....*... +...pp...m..... +.............. +.............. +.............. +g..55fffffffff +...55p...pg... +...55..mm..... +.............. +.............. +.l.pp++++..l.. +.............. +.............. +.............. +**...l....m. +..5555555555.. +..d...**...d.. +....f..>.f.... +.............. +.*..*.l*..*... +..4444444444.. +.....22}2..... +....c2222c.... +..p.3p&.3.p... +....33333..... +...wg..l.gw... +..1111111111.. +......j..j.... +..0000000000.. +..........0... +.w....w..jw... +Level: +Bertrand GRONDIN +Hongrie +Bricks: +.d*dd*dd*ddd*. +.dddddddddddd. +.*dd*ddd*dd*d. +.dddddddddddd. +.dddddddddddd. +.dd*dd*dd*dd*. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.zzzzzzzzzzzz. +.zzzzzzzzzzzz. +.zzzzzzzzzzzz. +.zzzzzzzzzzzz. +.zzzzzzzzzzzz. +.zzzzzzzzzzzz. +Bonus: +.............. +...p..!...p... +.&&....l.&..&. +...d.0000.d... +.w..........w. +.w*..*j*.j*jw. +.....1111...&. +..-...l....-&. +..~..2222..~.. +...*...*..*... +...j...j...... +....m3333m.... +.....4444.l... +.....5555..... +...m*..m.*.... +.............. +.w............ +.w.bw.b.wb.ww. +Level: +Bertrand GRONDIN +Bosnie Herzegovine +Bricks: +ccccdddddddddd +ccccdddddddddd +ggggdddddddddd +ggggdddddddddd +****d*dddddddd +****dddddd*ddd +dddddddddddddd +dddddddddddddd +ddddddd*dddddd +dddddddddddddd +dddddddddddddd +ddd*dddddddddd +dddddddddd*ddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +.............. +.............. +Bonus: +5555.>..>.l... +5555...!.!.!.. +4444..dddddd.. +4444...l.....* +........&..... +..........m... +.....fffff.... +..*........*.. +p........p.... +..&.~~~~~~.l.. +.............. +l..m..j.j*.... +.............. +.....p.....p.. +&..&.......&.. +w.bw..<<..bw.b +.............. +.............. +Level: +Bertrand GRONDIN +Lettonie +Bricks: +.dddddddddddd. +.d*ddd*dddd*d. +.dddddddddddd. +.dddddddddddd. +.dddddddddddd. +.dddddddddddd. +.d*dd*ddd*ddd. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.dd*ddddddddd. +.ddddddddddd*. +.dddddddddddd. +.ddddd*dddddd. +.dddddddddddd. +.dd*dddddd*dd. +.dddddddddddd. +.............. +Bonus: +.l...w..w...m. +.............. +....fffff..l.. +.b..*....*..b. +.444444444444. +.......g...... +.............. +.............. +.555555555555. +.............. +.....cccc..... +.333333333333. +...*.....*.... +.}g.....l...}. +.......g...... +.............. +..w..w..w..w.. +.............. diff --git a/client/levels/Negundoid b/client/levels/Negundoid new file mode 100644 index 0000000..d3b74b4 --- /dev/null +++ b/client/levels/Negundoid @@ -0,0 +1,862 @@ +Version: 1.00 +Level: +Rado Negundo +Stage 01 +Bricks: +EEEEEEEEEEEEEE +.............. +.............. +..iiiiiiiiii.. +..gggggggggg.. +..gggggggggg.. +..hhhhhhhhhh.. +..hhhhhhhhhh.. +..ffffffffff.. +..ffffffffff.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +..333..3.33... +...2.3..3..... +.............. +.....3+.-2.... +....1......... +..2...0+.0.... +..++.......... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Rado Negundo +Stage 02 +Bricks: +.............. +.............. +..e...e...e... +.e.e.e.e.e.e.e +e...e...e...e. +..i...i...i... +.i.i.i.i.i.i.i +i...i...i...i. +..g...g...g... +.g.g.g.g.g.g.g +g...g...g...g. +..h...h...h... +.h.h.h.h.h.h.h +h...h...h...h. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +..2...w...-... +.2.w...0.0.... +2...3...w...3. +..W...+....... +...0.......... +....+...3..... +.............. +...w.0.....-.. +W.......1...-. +..0...w....... +.......+...... +2...1...1..... +.............. +.............. +.............. +.............. +Level: +Rado Negundo +Stage 03 +Bricks: +cccccccccccccc +cccccccccccccc +.............. +gggggggggggggg +gggggggggggggg +.............. +iiiiiiiiiiiiii +iiiiiiiiiiiiii +.............. +dddddddddddddd +dddddddddddddd +.............. +eeeeeeeeeeeeee +eeeeeeeeeeeeee +.............. +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +.............. +Bonus: +s5?.......5.?. +s...5<<.<....s +.............. +....4......4.. +4.....?.4..... +.............. +..3.s..3333.3. +3..?.3<....... +.............. +222.2..2.s22.. +2..2.2...2..2. +.............. +....1.1.1.1... +1.1.11..1..... +.............. +00...0.0...... +...0.....0.0.. +.............. +Level: +Rado Negundo +Stage 04 +Bricks: +vvvvvvvvvvvvvv +.............. +.............. +ccccEccccEcccc +ggggEbbbbEgggg +ggggEbbbbEgggg +ggggEbbbbEgggg +ggggEbbbbEgggg +ggggEbbbbEgggg +ggggEbbbbEgggg +ggggEbbbbEgggg +ggggEbbbbEgggg +ggggEbbbbEgggg +ccccEccccEcccc +.............. +.............. +.............. +.............. +Bonus: +33333333333333 +.............. +.............. +..0...?0...... +0..........*10 +.2.s.2?s..?... +p.w...1.0..1.. +.....W.p..w.20 +.1p..>w....ps. +001....1...... +.0.....10..0.0 +.0.w.......1.. +..2?..1......p +.............. +.............. +.............. +.............. +.............. +Level: +Rado Negundo +Stage 05 +Bricks: +@@@@@@@@@@@@@@ +.............. +.!!!!!!!!!!!!. +.!!!!!!!!!!!!. +.............. +ffffffffffffff +zffffffffffffz +*@@vvvvvvvv@@* +dddddddddddddd +dccccccccccccd +dddddddddddddd +dddddddddddddd +@@@@vvvvvv@@@@ +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.3w20<0<-4w-5. +.wccc5550-225. +.............. +..23.+.-....2. +0W<f..2 ++p..W.--....22 +..+++.0..+.+.0 +w.+..--.2..0.. +.0w3>..b.... +.....>>>>b.... +.......bbb.... +.............. +.............. +.............. +Level: +oerg +AK47 (terrors) +Bricks: +..e..e.e...... +.e.e.e.e...... +.eee.ee....... +.e.e.e.e...... +.e.e.e.e...... +.............. +...........e.k +eeeeekkkkkkekk +eeee.k.k.kk... +ee...kk..kk... +....k.....kk.. +....k.....kkk. +...........kk. +......*.*.***. +......*.*...*. +......****.*** +........*...*. +........*...*. +Bonus: +..5..w.m...... +.5.5.w.m...... +.555.w{....... +.5.5.w.m...... +.5.5.w.m...... +.............. +.............p +{{{{{ppppbb.pp +{{{{.c.c.bb... +{{...}}..bb... +....}.....bb.. +....}.....bbb. +...........bb. +.............. +.............. +.............. +.............. +.............. +Level: +oerg +Diz iz a MP5 +Bricks: +.............. +.............. +...........j.. +.j.jjjjjjjjj.. +.jjjjjjjjjjjj. +.j...j.jj..jj. +.j...jj.j..... +.j..jj..j..... +....jj...j.... +....j....j.... +....j.....j... +..........j... +.............. +.............. +E***********.. +*.*.***.***... +*.*.******.*.. +*.*.***..***.. +Bonus: +.............. +.............. +.............. +....ccc....... +.....{{{....m. +.....{..w...m. +........w..... +....b...w..... +....b....w.... +....b....w.... +....b......... +.............. +.............. +.............. +55555.555.55.. +5.5.5.5.5.5... +5.5.5.555..5.. +5.5.5.5...55.. +Level: +oerg +Breakout-in-the-Breakout +Bricks: +.............. +.............. +dddddddddddddd +dddddddddddddd +ffffffffffffff +ffffffffffffff +ggggggggg..ggg +ggggggggg..ggg +iiiiiii....iii +iiiiiii....iii +hhh..hh..hhhhh +hhh..hh..hhhhh +.............. +.............. +.....z........ +.............. +.dccd......... +.............. +Bonus: +.............. +.............. +55............ +55............ +...{{....bb... +...{{....bb... +.............. +.............. +mm............ +mm............ +.....55.....mm +.....55.....mm +.............. +.............. +.............. +.............. +.............. +.............. +Level: +oerg +Something odd +Bricks: +.............. +.iiiiiiiiiiii. +.i****!*!***i. +.i***!*!****i. +.ig........gi. +.igg......ggi. +.ig.g....g.gi. +.ig..g..g..gi. +.ig.jjjjjj.gi. +.ig.j****j.gi. +.ig.j****j.gi. +.ig.j****j.gi. +.ig.jjjjjj.gi. +.ig.g....g.gi. +.igg......ggi. +.ig........gi. +.iiiii@@iiiii. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....555555.... +....5....5.... +....5....5.... +....5....5.... +....555555.... +.............. +.............. +.............. +.mbbmmbbmmbbm. +.............. +Level: +oerg +Can you break out? +Bricks: +.............. +.............. +.............. +.@@@@@@@@@@@@. +.@@jjjjjjjj@@. +.@@@jjjjjj@@@. +.@@@@@@@@@@@@. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....aaaaaa.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +...55555555... +....555555.... +..mm......mm.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....mmmmmm.... +.............. +.............. +.............. +Level: +oerg +OHNOEZ THE MUSHROOM +Bricks: +.............. +.............. +.....dddd..... +....dddddd.... +...*dddjjd*... +...*jjdjjd*... +..**jjdjjd**.. +..**jddjjd**.. +..**dddjjdj*.. +..**ddddddj*.. +..**dddddd**.. +...*dddddd*... +....jkjjkj.... +....jkjjkj.... +....jjjjjj.... +....jkkkkj.... +.....jjjj..... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......*....... +.........m.... +.....~~....... +....*......... +....*.b.b..... +......bbb..... +........-s.... +....>.W..-.... +....>.Wpp-.... +....>>...p.... +.....----..... +.............. +Level: +oerg +www.wh-forum.de r0x +Bricks: +.............. +.............. +.............. +.............. +.............. +.zzzzzzzzzzzz. +.dhhhhhhhhhhd. +.d!!!!!!!!!!d. +.dddddddddddd. +.............. +.............. +.c...c.c.c.cc. +.c...c.c.c.c.. +.c...c.ccc.cc. +.c...c.c.c.c.. +.c.c.c.c.c.c.. +.cc.cc.c.c.c.. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..bb.W.mm4444. +.............. +..5555555555.. +...mm......... +.............. +.............. +.*.......p.... +.*.....p.p.... +.*.....-pp.... +.}...{.-...... +.}.+.{.-.>.... +.}*.+{.-.>.+.. +.............. +Level: +oerg +Microsoft +Bricks: +.............. +..*.......*... +..***....**... +...**ddf***... +...***df**.... +....**d**f.... +....d****f.... +....d***ff.... +....g****h.... +....g*****.... +....g*g***.... +....**gh***... +....*gghh**... +...**......... +...*.*..***.*. +.....*..*.*.*. +.....*..*.*.*. +.....**.***.** +Bonus: +.............. +.............. +.............. +....555333.... +....555333.... +....555333.... +....555333.... +....555333.... +.............. +.............. +.............. +.............. +....b......... +....b......... +...m.>..---.W. +.....>..-.-.W. +.....>..-.-.W. +.....>>.---.WW +Level: +oerg +friend or enemy? +Bricks: +ghijfdek*..... +hijfdek**..... +ijfdek**...... +jfdek**....... +fdek**........ +dek**......... +ek**.......... +k**........... +**............ +*....jjjj..... +.............* +............** +...........*** +..........**** +.........***** +........****** +.......******* +......******** +Bonus: +555wwmm5...... +55wwmm5....... +5wwmm5........ +wwmm5......... +wmm5.......... +mm5........... +m5............ +5............. +.............. +.....****..... +.............- +............-> +...........->{ +..........->{{ +.........->{{~ +........->{{~~ +.......->{{~~~ +......->{{~~~~ +Level: +oerg +zer0 +Bricks: +.............. +.............. +.............. +.............. +....xxxxx..... +...xxxxxxx.... +...xxx.xxx.... +...xx...xx.... +...xx..xxx.... +...xx.x.xx.... +...xxx..xx.... +...xx...xx.... +...xx...xx.... +...xx...xx.... +...xxx.xxx.... +...xxxxxxx.... +....xxxxx..... +.............. +Bonus: +.............. +.............. +.............. +.............. +....2..2...... +...2.......... +........2..... +.............. +...w2..5...... +......5....... +.....5...w.... +...2w....m.... +...w.....m.... +........wm.... +....-..pwm.... +....--pp.m.... +.....-........ +.............. +Level: +oerg +just smile ;) +Bricks: +.............. +.............. +.*...fffff.... +.*..fffffff... +.*.ffafffaff.. +.*.fafafafaf.. +.*.fffffffff.. +.*.fffffffff.. +.*.faaaaaaaf.. +.*.fajkjkjaf.. +.*.fajkjkjaf.. +.*.fakkkkkaf.. +.*.fajkjkjaf.. +.*.ffakjkaff.. +.*..ffaaaff... +.*...fffff.... +.............. +.............. +Bonus: +.............. +.............. +......5555.... +.5............ +.5...5...5.... +.5..5.5.5.5... +.5....p.p.p... +.5.........p.. +.5..-..{...... +.-..-......... +.-..-......... +.-............ +.-.........m.. +.-.>>......m.. +.-..>>**...... +.-...>>....... +.............. +.............. +Level: +oerg +Big hard xD +Bricks: +.............. +.............. +.............. +.............. +.............. +.eeeeeeeeeeee. +.eehhh**dddee. +.eehhh**dddee. +.eehhh**dddee. +.eekkk**jjjee. +.eekkk**jjjee. +.eekkk**jjjee. +.eekkk**jjjee. +.eeggg**fffee. +.eeggg**fffee. +.eeggg**fffee. +.eeeeeeeeeeee. +k@@@@@@@@@@@@k +Bonus: +.............. +.............. +.............. +.............. +.............. +.>..........m. +..>.b.55...m.. +...>..55..m... +...p>.55.m.... +.bbpp>55mg.... +.b.ppj>mgg.... +.b.ppjm>gg..b. +.b.ppm..>g.... +...pm..b.>.... +...mb.b...>... +..m........>.. +.m..........>. +m............> +Level: +oerg +something... +Bricks: +.............. +.............. +.............. +..jjjjjjjjj... +..*********... +..*jjjjjjj*... +..*j*****j*... +..*j*jjj*j*... +..*j*****j*... +..*jjjjjjj*... +..*********... +..jjjjjjjjj... +..jjjjjjjjj... +..jjjjjjjjj... +..jjjjjjjjj... +..jjjjjjjjj... +..jjjjjjjjj... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..>>5...5>>... +..{{5...5{{... +..{-5...5-{... +..b-5...5-b... +..b-5...5-b... +..mm55555mm... +.............. +Level: +oerg +Counter Strike Logo! +Bricks: +.............. +.h....cc...... +h.....cc...... +h.....cc...... +.h...ccccccc.. +.....cc.cc.... +.d...ccc.c.... +d....cc...c... +.d...cc....... +d....ccc...... +.....c.c...... +....cc.c...... +....c...c..... +....c...c..... +...c....c..... +...cc...c..... +.........c.... +.............. +Bonus: +.............. +......50...... +......50...... +......00...... +.....0000000.. +.....00.00.... +.....000.0.... +.....00...0... +.....00....... +.....000...... +.....0.0...... +....00.0...... +....0...0..... +....0...0..... +...0....0..... +...00...0..... +.........0.... +.............. +Level: +oerg +unbeleivable +Bricks: +d.....**.....g +.d....**....g. +..d...**...g.. +...d..**..g... +....d.**.g.... +.....d**g..... +******dg****** +******gd****** +.....g!!d..... +....gv!!vd.... +...g.v!!v.d... +..g..v!!v..d.. +.g...v!!v...d. +g..##xxxx##..d +.a...aaaa.a... +.a...axxa.a... +.aaa.aaaa.aaa. +.............. +Bonus: +m............. +.............. +.............. +.............. +.............. +.............. +555555..000000 +.............. +.....b........ +....b......... +...b.......... +..b........... +.b............ +b............. +.....>>>>..... +.....>..>..... +.....>>>>..... +.............. +Level: +oerg +so you think you're good +Bricks: +.............. +.xxx.xx.x.x... +..x..x..xxx... +..x..x....x... +..x..x..xxx... +.............. +x.x..x..xx.xx. +x.x.x.x.x..x.x +xxx.xxx.x..x.x +x.x.x.x.x..x.x +x.x.x.x.x..xx. +.............. +.............. +************** +cccccccccccccc +.............. +acacacacacacac +cacacacacacaca +Bonus: +.............. +.....22....... +.....2........ +.....2........ +.....2........ +.............. +........22.... +........2..... +........2..... +........2..... +........2..... +.............. +.............. +.............. +.............. +.............. +mbbbwmmmmmmmmm +mbbbwmmmmmmmmm +Level: +oerg +fuck this windows +Bricks: +.............. +.............. +....d......... +...ddd.f.f.... +..*ddd.fff.*.. +..**dd.fff**.. +...**d.ff**... +...d**.f**.... +....g****..... +...ggg**.h.... +...gg****h.... +...g**.h**.... +...**g.hh**... +..**.g.hhh**.d +..*.....h..*.d +....dd...d...d +....d.d.d.d... +....d.d..d...d +Bonus: +.............. +.............. +....5......... +...555.5.5.... +..b555.555.m.. +..bb55.555mm.. +...bb5.55mm... +...5bb.5mm.... +....5bmmm..... +...555mm.5.... +...55mmmb5.... +...5mm.5bb.... +...mm5.55bb... +..mm.5.555bb.> +..m.....5..b.> +....>>...>...> +....>.>.>.>... +....>.>..>...> +Level: +oerg +wtf... +Bricks: +*g...........* +*g...g.....g.* +*g...g....g.g* +*g.g.g......g* +*gg.gg.....g.* +*g...g.....g.* +*............* +*..ggggg...g.* +*....g.......* +*....g.....g.* +*....g.....g.* +*....g.ggg.g.* +*....g.g...g.* +*......g...g.* +*......ggg...* +*......g...g.* +*......g.....* +*@@@@@@@@@@@@* +Bonus: +0m...........3 +0....!.....5.3 +0.........5.53 +0...........53 +0..........5.3 +0..........5.3 +0............3 +0..........5.3 +0............3 +0............3 +0............3 +0............3 +0............3 +0............3 +0............3 +0............3 +0............3 +0............3 +Level: +oerg +lool +Bricks: +dddddddddddddd +dddddddddddddd +d************d +d************d +d************d +d************d +d************d +d************d +d************d +d************d +d************d +d************d +d************d +d************d +d************d +ddddddddddddd* +ddddddddddddd* +.............. +Bonus: +55555555555555 +w............. +w............. +w.....55...5.. +w.....5.5..5.. +..5.5.5.5..5.. +..5.5.5.5..5.. +...5..5.5..5.. +..5.5.5.5..5.. +..5.5.5.5..5.. +......55...5.. +.............. +.............. +.............. +.............. +...>>WWW----bm +5555555555555m +.............. +Level: +oerg +C-C-C-CHAIIIN REACTION!! +Bricks: +************** +*gghhhhhhhhee* +*gg********ee* +*gg*iiiiiiiee* +*gg*iiiiiiiee* +*gg********ee* +*ggfffffff*ee* +*ggfffffff*ee* +*gg********ee* +*gg*aaaaaaaee* +*gg*aaaaaaaee* +*gg********ee* +*jjjjjjjjj*ee* +*jjjjjjjjj*ee* +***********ee* +EEEEEEEEEEEEE* +eeeeeeeeeeeee* +************** +Bonus: +.............. +.......----... +......-b.b-... +.....--...-... +....5-....-... +....--....-... +....-...55-... +...5-....5-... +...5-....-b... +b..5-5..--.... +-b55-555-b.bb. +-----b-------. +....55----b.b. +.......----b.. +..........--.. +..........--.. +-----WWWWWW--- +wwwwwwwwwwwwww +Level: +oerg +dont think its easy! +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +..EEEEEEEEEE.. +.............. +..dddddddddd.. +..dddddddddd.. +..dddddddddd.. +.............. +..EEEEEEEEEE.. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...55555555... +..5555555555.. +..mmmmmmmmmm.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +oerg +Raresoft logo +Bricks: +..ggggggggg... +..ggggggggg... +..ghhhhhhgg... +..ggghhhhgg... +..gggghhhgg... +..ggggghhgg... +..ggggghhgg... +..ggggghhgg... +..gggghhhgg... +..ggghhhhgg... +..ghhhhhhgg... +..gghhhhhgg... +..ggghhhhgg... +..gggghhhgg... +..ggggghhgg... +..gggggghgg... +..ggggggggg... +..ggggggggg... +Bonus: +.............. +.....5........ +.....5555..... +...gg..55c.... +....g..55c.... +....g...5c.... +.....g........ +.............. +.............. +..>>.......... +...>.....-.... +..b>>....-.... +..b......-.... +..b......-.... +........~-.... +..~~~~~~.w.... +....mm.www.... +...mm.www..... +Level: +oerg +Untitled level xD +Bricks: +************** +*............* +*............* +*.j..........* +*.j..........* +*.jjj........* +*.j.jj.......* +*.j..jj...jj.* +*.j...jjjjj..* +*.j....jj....* +*.j..........* +*.j..........* +*.j..........* +*.jjjjjjjjjj.* +*............* +*............* +*zzzzzzzzzzzz* +************** +Bonus: +.............. +.............. +.............. +.............. +.............. +...55......... +....55........ +.....55...55.. ++.....55555... ++......55..... ++............. ++............m ++............m +.............m +.............m +.............m +.............m +.............m +Level: +oerg +lbreakout2 logo ;))))))) +Bricks: +........fff... +........jjf... +.......fjfff.. +.......fjfff.. +.......ffffk.. +.......ffffk.. +.......fffkk.. +........ffk... +........kkk... +.............. +.............. +.............. +.............. +.............. +.dhhhhhhd..... +ddjjjjjjdd.... +.deeeeeed..... +.............. +Bonus: +.............. +..........w... +.............. +.............. +.........w.... +.......sp-s... +.............. +.........-.... +.............. +.............. +.............. +.............. +.............. +.............. +.WW..-.mm..... +.W555555...... +...w.-.-...... +.............. +Level: +oerg +minimize button of winXP +Bricks: +...jjjjjjjj... +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jggggggggj.. +..jgjjjggggj.. +..jgjjjggggj.. +..jggggggggj.. +...jjjjjjjj... +.............. +Bonus: +.............. +..5555555555.. +..5555555555.. +..5555555555.. +..5555555555.. +.............. +.............. +.............. +....*......... +....*......... +..w.**........ +..w........... +..w........... +.............. +..~~~~~~~~~~.. +..{{{{{{{{{{.. +...cccccccc... +.............. +Level: +oerg +final, thx4playin! +Bricks: +.............. +.EEEEEEEEEEEE. +.EzzzzzzzzzzE. +.EzzzzzzzzzzE. +.EzzzzzzzzzzE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed..!!!!..dE. +.Ed........dE. +.Eddd....dddE. +.EEEE....EEEE. +.............. +Bonus: +.............. +.............. +.............. +...55555555... +.............. +.............. +.............. +.............. +..c........~.. +..c........~.. +..c........~.. +..c........~.. +..c........~.. +..c..mmmm..~.. +..c........~.. +..{mm....m>>.. +.............. +.............. diff --git a/client/levels/ObiWan b/client/levels/ObiWan new file mode 100644 index 0000000..8751914 --- /dev/null +++ b/client/levels/ObiWan @@ -0,0 +1,206 @@ +Version: 1.00 +Level: +Bertrand GRONDIN +La cuvette diabolique +Bricks: +......gg...... +.EyyyyyyyyyyE. +.EzzzzzzzzzzE. +.E**********E. +.@**********@. +.EhhhhhhhhhhE. +.EaaaaaaaaaaE. +.Ed*d*d*d*d*E. +.EEEEEEEEEEEE. +aaaaaaaaaaaaaa +zzzzzzzzzzzzzz +.**.**.**.**.* +.##.##.##.##.# +ffffffffffffff +vvvvvvvvvvvvvv +.............. +.............. +.............. +Bonus: +......55...... +..l.*.....*... +......W....... +..c--...--.c.. +.mc!~{!{~!.cm. +..ffffffffff.. +....d..d...... +..5.5.5.5.5... +.............. +>W...W>>W. +..W>W.*.W>>W. +..W>>W...W>>W. +.mW..Wm.mW..Wm +gmW..WmgmW..Wm +p.W..W.p.W..W. +b.W>>W.b.W>>W. +w.W>W.b.W>>W. +w.5555.w.5555. +b......b...... +w*bw*bw*bw*bw* +.............. +.............. +Level: +Bertrand GRONDIN +Barres obliques +Bricks: +**@@**@@**@@** +************** +aaaaaaaaaaaaaa +iiiiiiiiiiiiii +eeeeeeeeeeeeee +@@!!##!!##!!@@ +vvvvvvvvvvvvvv +vzzzzzzzzzzzzv +vz*zzz*zzz*zzv +vzzzzzzzzzzzzv +vvvvvvvvvvvvvv +!!##!!##!!##!! +dddddddddddddd +**hh**hh**hh** +cccccccccccccc +cccccccccccccc +vvvvvvvvvvvvvv +EE!!EE!!EE!!EE +Bonus: +m............m +.............. +.............. +.*.....*.*.... +l5..........5l +..44..44..44.. +.............. +..b.......b... +..~...~...~... +...g.....g.... +l............l +00..00..00..00 +....!!....!!.. +.............. +ppmm<{g +.............* +.............. +.............. +..?........... +..?........... +.............. +.............. +.............. +.............. +.............. +.............. +.......&...... +.............. +.............. +.............. +...........!.. +.............. +Level: +Capoll +Dinosaur +Bricks: +.............. +......fx*..... +......fxxx.... +.....fxxxx.... +.....fxff..... +.....fxx...... +....fxxx...... +....fxxff..... +....fxxxffv... +....xxxxxf*... +...fxffx...... +...fxffx...... +...fxfff...... +...f*fff...... +...f.fff...... +...f.ffff..... +.fff.ffff@.... +.............. +Bonus: +.............. +.......-...... +.......-j-.... +.............. +.............. +.............. +.............. +.............. +.............. +.......>...... +.............. +...w.......... +.....+}....... +.............. +.............. +.............. +.............. +.............. +Level: +Capoll +Human +Bricks: +.............. +...aaaaaaaa... +...addddddaa.. +..aadaaeaada.. +..addcceccdda. +..addcgegcdda. +.aaddddedddda. +.aa*ddeeddd*a. +..a*ddedd*d*aa +.aadddeeedddaa +.aadddddddddaa +.aadddddddddaa +.a.d**ddd**daa +a..dd**v**dd.a +a...dd***dd..a +.....ddddd.... +......dddd.... +.............. +Bonus: +.............. +.............. +....???????... +.............. +.............. +......d.d...f. +.....&........ +.............. +.............. +.............. +......}s}..... +..f..........f +.............. +.......+...... +.............. +.............. +.............. +.............. +Level: +Capoll +Paleolitic +Bricks: +.............. +...........d*. +..........ddd. +..........dd.. +.........ddd.. +........ddd... +........ddd... +.......ddd.... +......ddd..... +.....ddd...... +....dddd...... +...dddd....... +..dddd........ +..dddd........ +.dddd......... +.ddd.......... +ddd........... +.............. +Bonus: +.............. +.............. +............c. +.............. +.............. +.........-.... +.............. +........j..... +.............. +.............. +.......+...... +.............. +.............. +..}........... +....f......... +.............. +.............. +.............. +Level: +Capoll +Neolitic +Bricks: +.............. +.............. +.............. +.............. +.............. +..f.f.......#. +.fffff#*#.#.*. +.f*fzfy.y*y.y. +..#.z*y.y.y*y. +..#.z.y.y.y.y. +ee#ezeyeyeyeye +eeeeeeeeeeeeee +eeeeeeeeeeeeee +eeeeeeeeeeeeee +eeeeeeeeeeeeee +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..j.j......... +.............. +.........{.... +...........}.. +.............. +........m....p +.............. +..b........... +.......b...... +.............. +.............. +.............. +.............. +Level: +Capoll +Stone Age +Bricks: +.............. +..........bb.. +.........bbb.. +........bbbb.. +.......bbbbb.. +.......bbbb... +.......*bbb... +......@**b.... +......@....... +.....@........ +....@@........ +...@@......... +...@.......... +..@@.......... +.@@........... +@@............ +.............. +.............. +Bonus: +.............. +...........>.. +.........m.... +.............. +........>>!... +.......+...... +........->+... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Capoll +Ancient +Bricks: +.............. +.............. +.............. +.....vvvv..... +.....vvvv..... +......**...... +......hh...... +......hh...... +.....hhhh..... +.....hhhh..... +....hhhhhh.... +....hhhhhh.... +...hhhhhhhh... +...hhhhhhhh... +..hhhhhhhhhh.. +..hhhhhhhhhh.. +.hhhhhhhhhhhh. +.............. +Bonus: +.............. +.............. +.............. +......bb...... +......ww...... +.............. +......00...... +......00...... +.....0000..... +.....&jj&..... +....??00??.... +....??gg??.... +...00000000... +...dddddddd... +..0000000000.. +..!f}{ss{}f!.. +.000000000000. +.............. +Level: +Capoll +Ancient +Bricks: +.............. +.......jj.v... +......jjjj.... +....jjjjjjjj.. +...jjjjjjjjjj. +..jjjjjjjjjjjj +...c..c..c..c. +...c..c..c..c. +...c..c..c..c. +...c..c..c..c. +...c..c..c..c. +...c..c..c..c. +...c..c..c..c. +...c..c..c..c. +...c..c..c..c. +..bbbbbbbbbbb. +.bbbbbbbbbbba. +aaaaaaaaaaaaa. +Bonus: +.............. +.......0...... +.............. +.......g.&.... +......W....... +.............. +...-..-..-..-. +.............. +......*....... +.............. +...+..+..+..+. +.............. +.............. +.............. +...-..-..-..-. +.............. +.1.....*...... +.............. +Level: +Capoll +Middle Age +Bricks: +vvvvv****vvvvv +v.....@@.....v +v....*@@*....v +v.....@@.....v +v..@@@@@@@@..v +v..@@@@@@@@..v +v..@@@@@@@@..v +v.....@@.....v +v.....@@.....v +v.....@@.....v +v.....@@.....v +v.....@@.....v +v.....@@.....v +v.....@@.....v +v.....@@.....v +v.....@@.....v +v.....@@.....v +vvvvvvvvvvvvvv +Bonus: +.....3333..... +.............. +.....1..1..... +.............. +m............m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..p.......*... +Level: +Capoll +Modern Era +Bricks: +..vv....vvvv.. +......hh...... +v.....h*...... +v..hhhhhhhh... +v..hhh*h*h*... +v..h*h*hhh*... +v.....hh.....v +......hh.....v +......hh.....v +......hh.....v +......hh.....v +......*h...... +......h*...... +......hh...... +......hh...... +......hh...... +......*h...... +.vvvvvvvvvv... +Bonus: +........--+... +......00...... +......0....... +*..00001000... +...000.0.0.... +...0.0.100.... +......20...... +......40...... +......20.....b +......20...... +......20.....! +.......2...... +......2....... +......32...... +......22...... +......22...... +.......2...... +.p.---*.-+.... +Level: +Capoll +Capitalism +Bricks: +......f..f.... +....xxfxxfxxx. +...xx.f..f.... +...x..f..f.... +..x...f..f.... +..x...f..f.... +..x...f..f.... +..x...f..f.... +..xxxxfxxfxxx. +......f..f..x. +......f..f..x. +......f..f..xx +......f..f...x +......f..f..xx +......f..f..x. +......f..f..x. +..xxxxfxxfxxx. +......f..f.... +Bonus: +......5..5.... +....445445444. +...44.5..-.... +...4..>..-.... +..f...>..-.... +..f...5..-.... +..f...5..5.... +..4...5..5.... +..4{445445444. +......5..5..4. +......-..5..4. +......-..5..44 +......-..5...4 +......5..5..4! +......5..5..4. +......5..5..4. +..4dd45445ddd. +......5..5.... +Level: +Capoll +Revolution +Bricks: +.....*xx*xx... +...xx*..*..... +..xx.*..*..... +..x..*..*..... +..x..*..*..... +..x..*..*..... +..x..*..*..... +..xx.*..*..... +...xx*xx*xxx.. +.....*..*..xx. +.....*..*...x. +.....*..*...x. +.....*..*...x. +.....*..*...x. +.....*..*...x. +.....*..*..xx. +.....*..*..x.. +..xxx*xx*xxx.. +Bonus: +.....*44*d4... +...44*..*..... +..>4.*..*..... +..4..*..*..... +..4..*..*..... +..4..*..*..... +..4..*..*..... +..bd.*..*..... +...d0*d4*444.. +.....*..*..44. +.....*..*...d. +.....*..*...d. +.....*..*...d. +.....*..*...d. +.....*..*...d. +.....*..*..44. +.....*..*..4.. +..555*55*544.. +Level: +Capoll +Comunism +Bricks: +.....*d....... +......ddd..... +.......vdd.... +.......vvd.... +.........dd... +......d...d... +.....vddv.d... +.....d*d..d... +....vd*d..d... +....vddddvd... +...d.dv.dd*... +...d.....dd... +..dd....dddd.. +.d*d*ddddvvd*. +.ddvvv.....**. +.d*........... +.d............ +.............. +Bonus: +.............. +.......0...... +.............. +.............. +.............. +.............. +......50..0... +......5....... +......5....... +......3....... +........-..... +...>.......... +..........+0.. +.w.0..+....+.. +.}p........... +.............. +.0............ +.............. +Level: +Capoll +Fascism +Bricks: +......a....... +.....aa....... +....aa..va.... +....a..vvaaa.. +...a...vav.a.. +...a..vvav.aa. +...aa.vaav..a. +....aa*a*v.... +.....*aavv.... +.....*aaa..... +....vva*aa.... +.a..vvav.aa... +.aa.vavv..a... +..aavav...a... +...aaav..a.... +....avv..a.... +.........a.... +........a..... +Bonus: +......p....... +.....--....... +....--........ +....-...&p.-.. +...p...&p..-.. +...p....d&.-c. +...&d..dd...c. +....dp.d.&.... +........&..... +......d*-..... +.....&d.--.... +.d....*...-... +.dd.&d.d..-... +..dd.d>...c... +...d-d>..d.... +....d&>..d.... +.........p.... +........p..... +Level: +Capoll +NeoLiberalism +Bricks: +.............. +.............. +......hh...... +.....hhgg..... +....hhgggf.... +...hh#gggff... +.vhh##ggffg... +..hhhhhhffgg.. +..hgg#ggffgg.. +..hg#ggggggg.. +..hhhhhhgggg.. +..hhggggzegg.. +...hzzggeegg.. +...hhzgge@g... +....hhgg@@.... +.....hhg@..... +......hh...... +.............. +Bonus: +.............. +.............. +......55...... +.....55....... +....55........ +...55.*....... +..55.......... +..555555...... +..5........... +..5.....m..... +..555555...... +..55ppp....... +...5.......... +...55......... +....55........ +.....55....... +......55...... +.............. +Level: +Capoll +NeoLiberalism +Bricks: +.....****..... +....**gg**.... +...**ghhg**... +...*gghhhg*... +..**hhhhgg**.. +..*ghghhxxg*.. +v**ghghhxxg**v +v*gghhhhxggg*v +**ggyghhhhgg** +*ggggghhyhggg* +**gggyhhyhgg** +v*ggyyhhghgg*v +vv*gyyhhyhg**v +vv*gyyhhhhg*vv +vv**yhhhhg**vv +vvv*yghhgg*vvv +vvvvvggggvvvvv +vvvvvvggvvvvvv +Bonus: +.............. +.............. +......55...... +......555..... +....5555...... +....5-55...... +d...5.55.-...d +d...5555..-..d +......5555.... +..*-W.55.5.... +..f...55.5.-.. +d.....55.5...d +dd..-.55-5s..d +dd....5555..dd +dd...5555...dd +ddd..&W5.s.ddd +-d-dd.5..d-d-d +dddwddwwdddddd +Level: +Capoll +Future? +Bricks: +.............. +.....d..d..... +.....d..d..... +.....d..d..... +.....d..d..... +...d......d... +...dd....dd... +....d....d.... +....dd..dd.... +.....dddd..... +.............. +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +.............. +Bonus: +.............. +.....?..?..... +.....g..g..... +.............. +.............. +.............. +.............. +.............. +.............. +......++...... +.............. +.............. +.............. +.............. +.............. +...d....d.2d.. +0.-...{......! +.............. +Level: +Capoll +Our Posible Future +Bricks: +......**...... +.....****v.... +....******.... +...********... +..**********.. +..***!***!***. +.************. +.*****hh****** +******ee***!** +***!**hh*!**** +.************* +.************. +..**!********. +..*****!****.. +...********... +....******.... +.....****..... +......**...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.....g...g.... +.............. +......55...... +......55...g.. +...g..55.g.... +.............. +.............. +....g......... +.......g...... +.............. +.............. +.............. +.............. diff --git a/client/levels/P.I.T.A. b/client/levels/P.I.T.A. new file mode 100644 index 0000000..6db241a --- /dev/null +++ b/client/levels/P.I.T.A. @@ -0,0 +1,1313 @@ +Version: 1.00 +Level: +G +Nooks & Crannies +Bricks: +...!#....#!... +.####.##.####. +....#.!!.#.... +...!#.##.#!... +!#.##....##.#! +##..##..##..## +....#....#.... +!...#!..!#...! +#.#!#....#!#.# +..####..####.. +...#!#..#!#... +...#.#..#.#... +.#!#.#..#.#!#. +.###......###. +..!#......#!.. +...###..###... +.............. +.............. +Bonus: +..55......55.. +.....5..5..... +..55.5555.55.. +5555.5..5.5555 +5.5........5.5 +.............. +55...5555...55 +5555.5555.5555 +.5.5.5555.5.5. +.............. +....5....5.... +.55.5....5.55. +..5........5.. +.............. +.55........55. +.55........55. +.............. +.............. +Level: +G +Balls Vs. Timer +Bricks: +!!!!!!!!!!!!!! +.............. +.............. +.............. +.............. +zzz@zz@zzzz@zz +zzzz@zzz@z@zzz +z@z@z@zzzzzz@z +@@zzzz@z@z@zz@ +.............. +.............. +.............. +.............. +@zzzz@zzz@zzzz +zz@zzz@z@zz@z@ +zzzzzzz@z@zz@z +@zz@zz@zzzz@zz +.............. +Bonus: +ffffffffffffff +55555555555555 +.............. +.............. +.............. +555.55.5555.55 +5555.555.5.555 +5.5.5.555555.5 +..5555.5.5.55. +.............. +.............. +.............. +.............. +.&bbb.&bb.bbb& +bb.bbb.b.bb.b. +bbbbbbb.b.bb.w +.bb.bb.bbbb.ww +.............. +Level: +G +Big Zero +Bricks: +.............. +.EEEEEzzEEEEE. +.EE........EE. +.EE.zzzzzz.EE. +.EE.zgggzz.EE. +.EE.zgggzz.EE. +.EE.zggzdz.EE. +.EE.zggzdz.EE. +.EE.zggzdz.EE. +.EE.zggzdz.EE. +.EE.zgzddz.EE. +.EE.zgzddz.EE. +.EE.zgzddz.EE. +.EE.zgzddz.EE. +.EE.zzdddz.EE. +.EE.zzzzzz.EE. +..E........E.. +..EEEEEEEEEE.. +Bonus: +.............. +.............. +.............. +....555555.... +....5...55.... +....5...55.... +....5..5.5.... +....5..5.5.... +....5..5.5.... +....5..5.5.... +....5.5..5.... +....5.5..5.... +....5.5..5.... +....5.5..5.... +....55...5.... +....555555.... +.............. +.............. +Level: +G +Have "Fun" +Bricks: +z.!..h..h..!.z +@.@.!@!!@!.@.@ +z.y..h..h..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +z.y..x..x..y.z +@.@..@..@..@.@ +cccccccccccccc +cccccccccccccc +Bonus: +55555m55m55555 +5555w5ww5w5555 +5.5555555555.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +5.5..5..5..5.5 +b>b>b>b>b>b>b> +>b>b>b>b>b>b>b +Level: +G +Aim Carefully! +Bricks: +g@....gg....@g +@@...@gg@...@@ +.....@@@@..... +.!..@....@..!. +......@@...... +.....@gg@..... +.!..........!. +......@@...... +.............. +.!..........!. +...@......@... +..@..@..@..@.. +@@..........@@ +.....!..!..... +.............. +.............. +..!..!..!..!.. +.............. +Bonus: +m.....mm.....m +......mm...... +555........555 +5.5........5.5 +555........555 +555...ff...555 +5.5........5.5 +555........555 +555........555 +5.5........5.5 +555........555 +.............. +....555555.... +....5.55.5.... +....555555.... +.555555555555. +.5.55.55.55.5. +.555555555555. +Level: +G +Hard Shot II +Bricks: +.............. +.EEEE@..@EEEE. +.Ezzz....zzzE. +.Ezcc.EE.cczE. +.Ezch....hczE. +.EzchdiidhczE. +.EzchdiidhczE. +.EzchdiidhczE. +.EzchdiidhczE. +.EzchddddhczE. +.EzchhddhhczE. +.EzcchddhcczE. +.EzzchhhhczzE. +.EEzcccccczEE. +..EzzzzzzzzE.. +E.EEEEEEEEEE.E +.............. +.............. +Bonus: +.............. +.............. +..555....555.. +..555....555.. +..555....555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555555555.. +..5555}}5555.. +..5555555555.. +...55555555... +...555mm555... +.............. +.............. +.............. +Level: +G +Symmetric Death III +Bricks: +hh.hhhhhhhh.hh +@@v@@hhhh@@v@@ +@...@ihhi@...@ +@.E.@iiii@.E.@ +@...@giig@...@ +EEvEEggggEEvEE +E...EdggdE...E +E.@.EddddE.@.E +E...E.dd.E...E +@@v@@.@@.@@v@@ +@...@....@...@ +@.E.@@vv@@.E.@ +@...@....@...@ +EEvEE.EE.EEvEE +E...E....E...E +E.@.EEvvEE.@.E +E...E....E...E +EE.EE.EE.EE.EE +Bonus: +l*.ffffffff.*l +..f..>>>>..f.. +.....3>>3..... +.....3333..... +.....4334..... +..f..4444..f.. +.....5445..... +.....5555..... +......55...... +..5........5.. +.............. +......55...... +.............. +..5........5.. +.............. +......55...... +.............. +.............. +Level: +G +CrazyBounce +Bricks: +iiiihhhhhhiiii +iiiivggggviiii +iiiivvffvviiii +iiiivvvvvviiii +iiiivvvvvviiii +iiiivvjjvviiii +iiiiveeeeviiii +iiiiddddddiiii +iiiiiiiiiiiiii +iiii......iiii +iiii.@..@.iiii +......@@...... +i@..@.@@.@..@i +@..@..@@..@..@ +.............. +..@..@..@..@.. +i@..@....@..@i +@..@..@@..@..@ +Bonus: +m...ffffff...m +....5ffff5.... +....55ff55.... +....555555.... +....555555.... +....55..55.... +f...5....5...f +ff..........ff +fff........fff +ffff......ffff +ffff......ffff +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Pure Evil +Bricks: +@@.cccccccc.@@ +@..c......c..@ +@..c.zzzz.c..@ +@.cc.z!!z.cc.@ +@.c..z!!z..c.@ +@.c.zz!!zz.c.@ +@.c.z!!!!z.c.@ +@.c.z!!!!z.c.@ +@.c.zz!!zz.c.@ +@.c..z!!z..c.@ +@.cc.zzzz.cc.@ +@..c......c..@ +@@.cccccccc.@@ +z@..........@z +.@@@@....@@@@. +...@......@... +@..@......@..@ +@@.@@.@@.@@.@@ +Bonus: +l.....mm.....l +.............. +.....4444..... +.....4554..... +.....4554..... +....445544.... +....455554.... +....455554.... +....445544.... +.....4554..... +.....4444..... +.............. +...>>>>>>>>... +.............. +.............. +.............. +.............. +.............. +Level: +G +Fast & Weak +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +.............. +.............. +Bonus: +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +5W>g5W>g5W>g5W +W>g5W>g5W>g5W> +>g5W>g5W>g5W>g +g5W>g5W>g5W>g5 +.............. +.............. +Level: +G +Shoot & Dodge +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +.............. +.............. +.............. +.............. +Bonus: +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +p5f>p5f>p5f>p5 +5f>p5f>p5f>p5f +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +p5f>p5f>p5f>p5 +5f>p5f>p5f>p5f +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +p5f>p5f>p5f>p5 +5f>p5f>p5f>p5f +f>p5f>p5f>p5f> +>p5f>p5f>p5f>p +.............. +.............. +.............. +.............. +Level: +G +Stars! +Bricks: +.............. +..@.......@... +.@h@.@a@.@h@.. +..@...@...@... +.............. +..@...@...@... +.@h@.@h@.@h@.. +..@...@...@... +.............. +..@...@...@... +.@h@.@h@.@h@.. +..@...@...@... +.............. +..@...@...@... +.@h@.@h@.@h@.. +..@...@...@... +.............. +.............. +Bonus: +.............. +..5.......5... +.5l5.5m5.5l5.. +..5...5...5... +.............. +..5...5...5... +.5.5.5.5.5.5.. +..5...5...5... +.............. +..5...5...5... +.5.5.5.5.5.5.. +..5...5...5... +.............. +..5...5...5... +.5m5.5.5.5m5.. +..5...5...5... +.............. +.............. +Level: +G +Symmetric Death IV +Bricks: +cEEEEEEEEEEEEc +cEcEcEccEcEcEc +bEcEcEccEcEcEb +aEbEbEbbEbEbEa +...E.EaaE.E... +EE.E.EaaE.E.EE +cE...EaaE...Ec +cEEE.EaaE.EEEc +bEbE.E..E.EbEb +aEaE......EaEa +.E.EEE..EEE.E. +.E..........E. +.EEEEE..EEEEE. +.EEEEE..EEEEE. +.............. +EEEEEE..EEEEEE +cba........abc +EEEEEE..EEEEEE +Bonus: +5............5 +5.5.5.55.5.5.5 +..5.5.55.5.5.. +>............> +......ff...... +......ff...... +5.....ff.....5 +5.....ff.....5 +.............. +>.>........>.> +.............. +.............. +.............. +.............. +.............. +.............. +5.>........>.5 +.............. +Level: +G +Can U Do It? +Bricks: +vjzjzzzzzzjzjv +#jzjzzzzzzjzj# +jjjjjjjjjjjjjj +jijijjjjjjijij +jijijjjjjjijij +jijijjjjjjijij +jijijjjjjjijij +ffffffffffffff +fhhhhhhhhhhhhf +fhgggggggggghf +fhgddddddddghf +fhgd!!!!!!dghf +fhgd!!!!!!dghf +####!!!!!!#### +...#!!!!!!#... +.#.##@zz@##.#. +.....v..v..... +##.########.## +Bonus: +..5.555555.5.. +..5.555555.5.. +m............m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....555555.... +....555555.... +....555555.... +....555555.... +......ww...... +.............. +.............. +Level: +G +Maziac +Bricks: +cvcvcv..vcvcvc +vcvcvc..cvcvcv +######..###### +zzz#......#zzz +zzz#......#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zzz#.#vv#.#zzz +zz...#vv#...zz +z....#vv#....z +#####.vv.##### +#............# +#.#.#.##.#.#.# +#...#....#...# +##.########.## +Bonus: +l.4.4....4.4.l +m4.4.4..4.4.4m +.............. +555........555 +555........555 +555...33...555 +555...33...555 +555...33...555 +555...33...555 +555...33...555 +555...33...555 +55....33....55 +5.....33.....5 +......33...... +.............. +.............. +.............. +.............. +Level: +G +A Toughie +Bricks: +!!!!!!!!!!!!!! +###.########## +kkkkkkkkkkkkkk +#########k#### +jjjjjjjjjjjjjj +######k####### +ffffffffffffff +############k# +eeeeeeeeeeeeee +##k########### +dddddddddddddd +#########k#### +gggggggggggggg +####k######### +iiiiiiiiiiiiii +k############# +hhhhhhhhhhhhhh +#############. +Bonus: +55555555555m55 +...5.......... +55555555555555 +.........l.... +55555555555555 +.............. +5555m555555m55 +............l. +55555555555555 +.............. +55555555555555 +.........l.... +55555555555555 +.............. +55555555555555 +l............. +5555mwwwwwwwww +.............. +Level: +G +I'll Finish You Here! +Bricks: +....E...E...EE +!!..........!E +!E....E...E... +E....E...E.... +....E...E...E. +..!E...E...E.. +..E!..E...E..! +...E!E...E.... +E...E!..E...E. +!E...E!E...E.. +!.E...E!..E..! +!..E...E!E.... +E...E...E!..E. +!E...E...E!E.. +!.E...E...E!.E +!..E...E...E.! +E...E...E...E! +!E...E...E...E +Bonus: +555........5.. +555........55. +5.5........555 +.5............ +.555.......... +..5.5.......55 +.5.555......55 +..5.5.5.....55 +.5.5.555...... +5...5.5.5...55 +55...5.555..55 +55....5.5.5.55 +.5.....5.555.. +5.......5.5.5. +55.......5.55. +55........5.ll +.5...........l +5...........l. +Level: +G +Hell Lattice +Bricks: +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +..!..!..!..!.. +..!..!..!..!.. +EE.EE.EE.EE.EE +EE.EE.EE.EE.EE +Bonus: +.............. +..5..5..5..5.. +.5>55.55.55>5. +.5.55.55.55.5. +..5..5..5..5.. +..5..5..5..5.. +.5.55>55>55.5. +.5.55.55.55.5. +..5..5..5..5.. +..5..5..5..5.. +.5.55>55>55.5. +.5.55.55.55.5. +..5..5..5..5.. +..5..5..5..5.. +.5>55.55.55>5. +.5.55.55.55.5. +..5..5..5..5.. +.............. +Level: +G +Ridiculousness +Bricks: +...@cccccc@... +.z.@.bbbb.@.z. +...@..aa..@... +.z.@......@.z. +...@......@... +.@@@......@@@. +.@..........@. +.@...@vv@...@. +.@.!.@..@.!.@. +.@...@..@...@. +.@.!.@vv@.!.@. +.@...@..@...@. +.@.!.@..@.!.@. +.@...@vv@...@. +.@.!.@..@.!.@. +.@...@..@...@. +.@@@@@vv@@@@@. +.............. +Bonus: +....l5mm5l.... +.5...5jj5...5. +......55...... +.5..........5. +.............. +.............. +.............. +..555.~f.555.. +..5.5....5.5.. +..555....555.. +..5.5.f~.5.5.. +..555....555.. +..5.5....5.5.. +..555.~f.555.. +..5.5....5.5.. +..555....555.. +......f~...... +.............. +Level: +G +Beat This... +Bricks: +.............. +.....@..@..... +.............. +....@.@@.@.... +.............. +...@.@vv@.@... +.....@vv@..... +...@.v@@v.@... +.....@@@@..... +......vv...... +....@.@@.@.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +......55...... +......55...... +.....5..5..... +.............. +......55...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Maziac +Bricks: +#########ccccc +ccc#c####ccccc +ccc#c####c#### +c#c#cccc#c#### +c#c#cccc#c#ccc +c#c###c##c#ccc +c#c###c##c#c#c +ccc#cccc#c#c#c +ccc#cccc#c#c#c +c#c####c#c#c## +c#c####c#c#c## +c#c#cccccccccc +c#c#cccccccccc +c#ccc########c +c#ccc########c +c#c#cccc#ccccc +c#c#cccc#ccccc +c############# +Bonus: +.........55555 +1m1.l....45555 +011.3....4.... +0.1.3333.4.... +0.1.33j3.4.555 +0.1...3..4.445 +0.1...3..4.4.5 +0m1.3333.4.4.5 +001.3333.4.4.l +0.1....3.4.4.. +0.1....2.3.3.. +0.1.22223j3344 +0.1.2222233334 +0.112........4 +0.222........4 +0.2.2222.55544 +0.l.2222.55555 +0............. +Level: +G +Fun City End +Bricks: +!!!.!.!.!!!... +.!..!.!.!..... +.!..!!!.!!!... +.!..!.!.!..... +.!..!.!.!!!... +.............. +.............. +.!!!.!..!.!!.. +.!...!!.!.!.!. +.!!!.!.!!.!.!. +.!...!..!.!.!. +.!!!.!..!.!!.. +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +...5.5.5...5.. +5.55.5.5.555.. +5.55...5...5.. +5.55.5.5.555.. +5.55.5.5...5.. +555555555555.. +5555555555555. +5...5.55.5..55 +5.555..5.5.5.5 +5...5.5..5.5.5 +5.555.55.5.5.5 +5...5.55.5..55 +5555555555555. +.............. +.............. +.............. +ffffffffffffff +>>>>>>>>>>>>>> +Level: +G +Fatal Doomsday End +Bricks: +.............. +ddddd.d.d.dddd +d.d.d.d.d.d... +..d...ddd.ddd. +..d...d.d.d... +..d...d.d.dddd +.............. +dddd.d..d.ddd. +d....dd.d..d.d +ddd..d.dd..d.d +d....d..d..d.d +dddd.d..d.ddd. +.............. +.............. +!...!...!...!. +..!...!...!... +.............. +vvvvvvvvvvvvvv +Bonus: +.............. +fffff.f.f.ffff +f.f.f.f.f.f... +..f...fff.fff. +..f...f.f.f... +..f...f.f.ffff +.............. +ffff.f..f.fff. +f....ff.f..f.f +fff..f.ff..f.f +f....f..f..f.f +ffff.f..f.fff. +.............. +.............. +~...~...~...~. +..~...~...~... +.............. +>>>>>>>>>>>>>> +Level: +G +Wonder Walls End +Bricks: +ccc.c.c.cccc.. +.c..c.c.c..... +.c..ccc.ccc... +.c..c.c.c..... +.c..c.c.cccc.. +.............. +.ccc.c...c.cc. +.c...cc..c.c.c +.cc..c.c.c.c.c +.c...c..cc.c.c +.ccc.c...c.cc. +.............. +cccccccccccccc +cccccccccccccc +cccccccccccccc +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.5555.. +.............. +.555.5...5.55. +.5...55..5.5.5 +.55..5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +G +T.C.S. End +Bricks: +############## +#!!!#!#!#!!!## +##!##!#!#!#### +##!##!!!#!!!## +##!##!#!#!#### +##!##!#!#!!!## +############## +#!!!#!###!#!!# +#!###!!##!#!#! +#!!!#!#!#!#!#! +#!###!##!!#!#! +#!!!#!###!#!!# +############## +############## +###@###@###@## +############## +#@###@###@###@ +g############g +Bonus: +gggggggggggggg +>5555555555f55 +555555555f5555 +555f555>555555 +5f555f55555555 +55>5555f555f>5 +5555>555555555 +55555555555555 +jjjjjjjjjjjjjj +55555555555555 +55f55555555555 +55555>5f5f5>55 +55555555555555 +f555f5555555f5 +555555555>5555 +55555555555>55 +555555f5555555 +m5f5>55555555m +Level: +G +TrickShot End +Bricks: +############## +#ccc##c#c#ccc# +##c###c#c#c### +c#c#c#ccc#ccc# +.#c#.#c#c#ccc# +.#c#.#c#c#c### +.#c#.#c#c#ccc# +.###.######### +.............. +############.. +ccc#c###cc##.. +c###cc##c#c#.. +ccc#c#c#c#c#.. +ccc#c#c#c#c#.. +c###c#c#c#c#.. +ccc#c#c#cc##.. +###########... +.............. +Bonus: +.............. +.555..5.5.555. +..5...5.5.5... +m.5.m.555.555. +..5...5.5.555. +..5...5.5.5... +..5...5.5.555. +.............. +.............. +.............. +555.5...55.... +5...55..5.5... +555.5.5.5.5... +555.5.5.5.5... +5...5.5.5.5... +555.5.5.55.... +.............. +.............. +Level: +G +Jedi Adventure End +Bricks: +vvvvvvvvvvvvv@ +v***v*v*v***v@ +vv*vv*v*v*vvv@ +@v*vv***v***v@ +@v*vv***v***v@ +@v*vv*v*v*vvv@ +@v*vv*v*v***v@ +vvvvvvvvvvvvvv +v***v**v*v***v +v*vvv**v*vv*v* +v***v*v**vv*v* +v***v*v**vv*v* +v*vvv*vv*vv*v* +v***v*vv*v***v +vvvvvvvvvvvvvv +.............. +.............. +.............. +Bonus: +.fff>...>...>. +.555.5f5.555.. +>.5f.5f5f5ff.. +..5..555.555.. +..5.>555>555.. +..5f.5f5.5ff.. +..5..5f5.555f. +>...>....>.... +.555.55f5.555. +.5ff.55f5..5f5 +.555.5f55.f5f5 +.555>5f55>.5f5 +.5ff.5..5..5f5 +.555.5..5.555. +>.f.>..f.>...f +.............. +.............. +.............. +Level: +G +Fatal Doomsday II End +Bricks: +zzz.z.z.zzz.@@ +.z..z.z.z....@ +.z..zzz.zzz... +.z..z.z.z..... +.z..z.z.zzz... +.............. +.zzz.z...z.zz. +.z...zz..z.z.z +.zzz.z.z.z.z.z +.z...z..zz.z.z +.zzz.z...z.zz. +.............. +z..z....zz.... +zz@@@zz@@@@zz@ +zzz@zzzzz@zzzz +z@zzz@@@zzz@@z +...z..z..z.... +.............. +Bonus: +555.5.5.555... +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.555... +.............. +.555.5...5.55. +.5...55..5.5.5 +.555.5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +*..*....**.... +}}...}}....}}. +.............. +.............. +.............. +.............. +Level: +G +Weirdness End +Bricks: +eeeeeeeeeeeeee +@@@@@e@e@e@@@e +@e@e@e@e@e@eee +ee@eee@@@e@@ee +ee@eee@e@e@eee +ee@eee@e@e@@@e +eeeeeeeeeeeeee +@@@@e@ee@e@@ee +@eeee@@e@e@e@e +@@@ee@e@@e@ee@ +@eeee@ee@e@ee@ +@@@@e@ee@e@@@e +eeeeeeeeeeeeee +.............. +.............. +.............. +.............. +.............. +Bonus: +f.f.f.f.f.f.f. +55555.5.5.555. +5m5.5.5m5.5m.. +..5...555.55.. +..5...5.5.5... +..5...5.5.555. +.f.f.f.f.f.f.f +5555.5..5.55.. +5....55m5.5.5m +555..5.55.5..5 +5m...5..5.5..5 +5555.5..5.555. +f.f.f.f.f.f.f. +.............. +.............. +.............. +.............. +.............. +Level: +G +"The End" End +Bricks: +vvvvvvvvvvvvvv +.............v +.@@@.@.@.@@@.v +..@..@.@.@...v +v.@..@@@.@@@.v +v.@..@.@.@...v +v.@..@.@.@@@.v +.............. +.@@@.@..@.@@@. +.@...@@.@..@.@ +.@@@.@.@@..@.@ +.@...@..@..@.@ +.@@@.@..@.@@@. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +55555555555555 +.............5 +.............5 +.............5 +5............5 +5............5 +5............5 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +Level: +G +Secret Bonus Level! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +gggggggggggggg +Level: +G +The End +Bricks: +************** +hhh*h*h*hhh*** +*h**h*h*h***** +*h**hhh*hhh*** +*h**h*h*h***** +*h**h*h*hhh*** +************** +hhh*h**h*hhh** +h***hh*h**h*h* +hh**hh*h**h*h* +h***h*hh**h*h* +hhh*h**h*hhh** +************** +EEEEEEEEEEEEE* +************** +*******E****** +EEEEEEE*EEEEEE +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +f.f.f.f..f.f.f +f.f.f.f..f.f.f +.............. +.............. diff --git a/client/levels/Patience b/client/levels/Patience new file mode 100644 index 0000000..6aa4582 --- /dev/null +++ b/client/levels/Patience @@ -0,0 +1,985 @@ +Version: 1.00 +Level: +G +Big X +Bricks: +####zzzzzz#### +#cb#zzzzzz#bc# +#bb#zzzzzz#bb# +#aa#zzzzzz#aa# +#...#zzzz#...# +#..!.#zz#.!..# +###.!.##.!.### +zzz#.!..!.#zzz +zzzz#.!!.#zzzz +zzz##!..!##zzz +zz#.!....!.#zz +##.!......!.## +..!.##..##.!.. +...#z#..#z#... +aa#zz#..#zz#aa +bb#zz#..#zz#bb +cb#zz#..#zz#bc +######..###### +Bonus: +....55ll55.... +.m4.555555.44. +.44.555555.44. +.44.555555.44. +..33.5555.33.. +..323.55.323.. +...323..323... +555.323323.555 +555m33223.m555 +555.32.32..555 +55.323.3323.55 +..323...3323.. +.323......323. +.33.5....5.33. +44.55....55.44 +44.55....55.44 +44.55....55.4m +.............. +Level: +G +5 HELLpings Of Trouble +Bricks: +.............. +.............. +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +.....@cc@..... +.....@cc@..... +.....@cc@..... +.....@cc@..... +.............. +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +@cc@......@cc@ +.............. +Bonus: +.............. +.............. +.55........55. +.55........55. +.55........55. +.55........55. +.--........~~. +......55...... +......55...... +......55...... +......ff...... +.............. +.55........55. +.55........55. +.55........55. +.55........55. +.>>........dd. +.............. +Level: +G +Rings Of Hell +Bricks: +.............. +.............. +...###..###... +..#!!!!!!!!#.. +.#!!......!!#. +.#!.######.!#. +.#!#......#!#. +.#!#!!!!!!#!#. +.#!#!####!#!#. +.#!#!#!!#!#!#. +.#!#!.!!.!#!#. +.#!#!####!#!#. +.#!#!!!!!!#!#. +.#!#......#!#. +.#!.##..##.!#. +.#!!......!!#. +..#!!!!!!!!#.. +...########... +Bonus: +.............. +.............. +..3........3.. +.3.22222222.3. +..2233333322.. +..23......32.. +..2.555555.2.. +..2.444444.2.. +..2.4....4.2.. +..2.4.55.4.2.. +..2.455554.2.. +..2.4....4.2.. +..2.434444.2.. +..2.555555.2.. +..23......32.. +..22......22.. +.3.22222222.3. +..3........3.. +Level: +G +Big Tough Wall +Bricks: +hhhhhhhhhhhhhh +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +dddddddddddddd +dddddddddddddd +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +Bonus: +jjjjjjjjjjjjjj +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}g}g}g}g}g}g}g +g}g}g}g}g}g}g} +{W{W{W{W{W{W{W +W{W{W{W{W{W{W{ +{W{W{W{W{W{W{W +W{W{W{W{W{W{W{ +{W{W{W{W{W{W{W +W{W{W{W{W{W{W{ +{W{W{W{W{W{W{W +Level: +G +Sideways Hourglass +Bricks: +.............. +.............. +!.@@cccccc@@.! +!.@z@cccc@z@.! +!.@zz@cc@zz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzzzzzzz@.! +!.@zzz@@zzz@.! +!.@zz@cc@zz@.! +!.@z@cccc@z@.! +!.@@cccccc@@.! +.............. +.............. +Bonus: +.............. +.............. +23..444444..32 +23.l.4444.l.32 +23.55.mm.55.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.55555555.32 +23.555..555.32 +23.55.33.55.32 +23.m.3333.m.32 +23..333333..32 +.............. +.............. +Level: +G +Green Spiral +Bricks: +zzzzzzzzzzzzzz +z............z +z............z +z.zzzzzzzzzz.z +z.z........z.z +z.z........z.z +z.z.zzzzzz.z.z +z.z.z....z.z.z +z.z.z....z.z.z +z.z.z.z..z.z.z +z.z.z.z..z.z.z +z.z.z.zzzz.z.z +z.z.z......z.z +z.z.z......z.z +z.z.zzzzzzzz.z +z.z..........z +z.z..........z +z.zzzzzzzzzzzz +Bonus: +44444444444444 +4............4 +4............4 +4.4444444444.4 +4.4........4.4 +4.4........4.4 +4.4.444444.4.4 +4.4.4....4.4.4 +4.4.4....4.4.4 +4.4.4.4..4.4.4 +4.4.4.4..4.4.4 +4.4.4.4444.4.4 +4.4.4......4.4 +4.4.4......4.4 +4.4.44444444.4 +4.4..........4 +4.4..........4 +4.444444444444 +Level: +G +Terrible Trouble +Bricks: +ccccchhhhccccc +ccccchhhhccccc +ccccchhhhccccc +@@@@@hhhh@@@@@ +cccc@hhhh@cccc +ccc.@.hh.@.ccc +cc..@.hh.@..cc +c...@.hh.@...c +....@.hh.@.... +zz@...hh...@zz +zz@.hhhhhh.@zz +zz@.hhhhhh.@zz +zz@.hhhhhh.@zz +zz@........@zz +zz@@@c@@c@@@zz +zzzz@c@@c@zzzz +zzzz@c@@c@zzzz +@@@@#c##c#@@@@ +Bonus: +l5555....5555l +55555....55555 +55555....55555 +.............. +m555......555m +555........555 +55..........55 +5............5 +.............. +55..........55 +55..........55 +55..........55 +55..........55 +55..........55 +55...>..<...55 +5555.>..<.5555 +5555.>..<.5555 +.....>..<..... +Level: +G +Utter Chaos +Bricks: +..d.#@h.....d# +.....#.@.d..d# +.....h..#d...d +d..#.@..d....d +d..h...#.@...# +.....@.##@..d. +...h..#d...d.# +d....@#d....d. +...#..@......d +d#hh..h#.#.... +.#.h#h.#.###.. +...##@.h#d.#.. +....#..hd@h.h. +.d...@.dd.d.dd +.d.#.@d..hhhh. +.dd.d.......d. +...#...#.....# +...#.#.......@ +Bonus: +..5...5.....5. +.........5..5. +.....5...5...5 +5.......5....5 +5..5.......... +............5. +...5...5...5.. +5......5....5. +.............5 +5.55..l....... +...5.l........ +.......5.5.... +.......55.5.5. +.5.....55.5.55 +.5....5..5555. +.55.5.......5. +.............. +.............. +Level: +G +Pink Floyd - The Wall +Bricks: +.............. +.............. +.............. +bcbcbcbcbcbcbc +cbcbcbcbcbcbcb +bcbcbcbcbcbcbc +cbcb@@cb@@cbcb +bcb@@cbcb@@cbc +cbc@c@cb@b@bcb +bcbcbc@@bcbcbc +cbcbcb@@cbcbcb +bcbcb@bc@cbcbc +cbcb@bcbc@cbcb +bcb@bcbcbc@cbc +cbcbcbcbcbcbcb +bcbcbcbcbcbcbc +.............. +.............. +Bonus: +.............. +.............. +.............. +....5.5...55.5 +.l.555555.5... +..5555........ +.55....5..5... +5..5.m.5m5.... +5.555.55...... +.5..5...5...5. +5...5.555.55.. +5....5.5.5...5 +.555.5...5.l5. +..5....5.5...5 +....5...5...5. +..........55.. +.............. +.............. +Level: +G +Bonus Round! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +5l555555555555 +555555555555j5 +55555555555555 +5555555555j5j5 +55555555555555 +55555l5j555j55 +55555555555555 +55555555j55555 +5555j555555555 +55555555555555 +555555j555l555 +55555555555555 +55j555555555l5 +55555555555555 +gggggggggggggg +bbbbbbbbbbbbbb +}}}}}}}}}}}}}} +wwwwwwwwwwwwww +Level: +G +Column "Fun" +Bricks: +.............. +.............. +c@b@a@..@a@b@c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +c#b#a#..#a#b#c +######..###### +.............. +Bonus: +.............. +.............. +p.f.f....f.f.p +5.5.f....f.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +5.5.5....5.5.5 +l.5.5....5.5.l +.............. +.............. +Level: +G +PaintBox +Bricks: +@@@@@@@@@@@@@@ +@h@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@!!!!!!!!!!@ +@.@@@@@@@@@@@@ +Bonus: +l......ll....l +.m.}}555555gm. +...}5555555gg. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...5555555555. +...gg5555555}. +...mg555555}}. +.............. +Level: +G +Green Cheese +Bricks: +zzzzzzzzzzzzzz +zzvzzzzzzzzvzz +zzzzzzzzzzzzzz +zzzzvzzzzzzzzz +zzvzzzzzzzzzzz +zzzzzzzzvzzzzz +zzzzzzzzzzzzvz +zzzvzzzzzzzzzz +zzzzzzvzzzzzzz +zzzzzzzzzzzzzz +zvzzzzzzzzzzzv +zzzzzzzzzzzzzz +zzzzzzzzzzvzzz +zzzzvzzzzzzzzz +zzzzzzzzvzzzzz +zvzzzzvzzzzvzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +Bonus: +l.....ll.....l +55b55555555m55 +55555555555555 +5555w555555555 +55b55555555555 +55555555w55555 +555555555555b5 +555b5555555555 +555555w5555555 +55555555555555 +5b55555555555b +55555555555555 +5555555555b555 +5555w555555555 +55555555b55555 +5w5555b5555w55 +55555555555555 +55555555555555 +Level: +G +Secret Center +Bricks: +.............. +.............. +c.!.c@cc@c.!.c +.....@cc@..... +.!.!.@cc@.!.!. +.....@cc@..... +c.!.c@cc@c.!.c +.....@cc@..... +.!.!.@cc@.!.!. +.....@cc@..... +c.!.c@cc@c.!.c +.....@cc@..... +.!.!.@cc@.!.!. +.....@cc@..... +c.!.c@cc@c.!.c +.....@cc@..... +.@.@.@cc@.@.@. +.............. +Bonus: +.............. +.555......555. +l5.5..55..5.5l +55555.55.55555 +5.5.5.55.5.5.5 +55555.55.55555 +.5.5..55..5.5. +55555.55.55555 +5.5.5.55.5.5.5 +55555.mm.55555 +.5.5..55..5.5. +55555.55.55555 +5.5.5.55.5.5.5 +55555.55.55555 +.5.5..55..5.5. +.555..55..555. +......55...... +.............. +Level: +G +Green Spiral II +Bricks: +..z.z.z.z.z.z. +.z.z.z.z.z.z.z +.############. +.#.z.z.z.z.z#. +.#z.z.z.z.z.#. +.#.########.#. +.#.#.z.z.z#.#. +.#.#z.z.z.#.#. +.#.#.####.#.#. +.#.#.#.z.z#.#. +.#.#.#z.z.#.#. +.#.#.######.#. +.#.#z.z.z.z.#. +.#.#.z.z.z.z#. +.#.##########. +.#.z.z.z.z.z.z +.#z.z.z.z.z.z. +.############# +Bonus: +..2.2.2.2.2.2. +.w.b.w.b.w.b.w +.555555555555. +.5.b.b.b.b.b5. +.52.2.2.2.2.5. +.5.55555555.5. +.5.5.b.b.b5.5. +.5.52.2.2.5.5. +.5.5.5555.5.5. +.5.5.5.b.m5.5. +.5.5.52.2.5.5. +.5.5.555555.5. +.5.5b.b.b.b.5. +.5.5.2.2.2.25. +.5.5555555555. +.5.w.b.w.b.w.b +.52.2.2.2.2.2. +.5555555555555 +Level: +G +UUU +Bricks: +.............. +.#.#.#..#.#.#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.#c#.#cc#.#c#. +.###.####.###. +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +Bonus: +.............. +.............. +..5...55...5.. +..5...55...5.. +..5...55...5.. +..5...55...5.. +..5...55...5.. +..5...55...5.. +.............. +.............. +l333333333333l +.............. +33333333333333 +.............. +33333333333333 +.............. +22222222222222 +.............. +Level: +G +Get The Corners! +Bricks: +!#!#!#!!#!#!#! +##!#!#!!#!#!## +!!!#!#!!#!#!!! +####!#!!#!#### +!!!!!#!!#!!!!! +######!!###### +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!!!!!!!!! +############## +!!!!!!cc!!!!!! +......cc...... +Bonus: +m555555555555m +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +gggggggggggggg +55555555555555 +}}}}}}}}}}}}}} +......mm...... +.............. +Level: +G +Double Columns +Bricks: +#............. +#!!!!!!!!!!!!! +#!#d#d#d#d#d#! +#!#d#d#d#d#d#! +#!#d#d#d#d#d#! +#!#d#d#d#d#d#! +!!#d#d#d#d#d#! +!!#d#d#d#d#d#! +!############! +!############! +!#h#h#h#h#h#!! +!#h#h#h#h#h#!! +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!#h#h#h#h#h#!# +!!!!!!!!!!!!!@ +Bonus: +5............. +52222222222222 +52555555555552 +52555555555552 +52555555555552 +52555555555552 +22555555555552 +225l555m555l52 +25555555555552 +25555555555552 +25555555555522 +25555555555522 +25555555555525 +25555555555525 +25555555555525 +25555555555525 +25454545454525 +22222222222225 +Level: +G +Treasure Box +Bricks: +.............. +!!!!!!!!!!!!!! +!zzzzzzzzzzzz! +!zccccccccccz! +!zc########cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc#!!!!!!#cz! +!zc########cz! +!zccccccccccz! +!zzzzzzzzzzzz! +!!!!!!!!!!!!!! +.............. +Bonus: +.............. +22222222222222 +23333333333332 +234}}}mm}}}432 +234gggggggg432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234g555555g432 +234gggggggg432 +23444444444432 +23333333333332 +22222222222222 +.............. +Level: +G +Bonus Round! +Bricks: +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +Bonus: +.............. +55555555555555 +55555555555555 +55l5555l555555 +55555555555555 +55555555555555 +555555555l5555 +5555l555555555 +555555*5*55555 +55555555555555 +55555555555555 +55555555555555 +555555555555.5 +55555555555g5g +5555555555g5g5 +5}5}5555555555 +}5}5}5555555j5 +5w5w5w5w5w5w55 +Level: +G +Yes, it's Tough! +Bricks: +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +.............. +!#!#!#!#!#!#!# +.............. +#!#!#!#!#!#!#! +Bonus: +55555555555555 +5.5.5.5.5.5.ml +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5m5.5.5.5l5.5. +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5.5.5l5.5.5.5. +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5l5.5.5.5.5.5. +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +5.5.5.5.5.5.5. +Level: +G +It's A Big Plus! +Bricks: +@@..........@@ +@....#..#....@ +.....#..#..... +....z#..#z.... +...zz#..#zz... +..zzz#..#zzz.. +.zzzz#..#zzzz. +.#####..#####. +.#zzzz..zzzz#. +.#zzzz..zzzz#. +.#####..#####. +.....#..#..... +.....#..#..... +....z#..#z.... +...zz#..#zz... +..zzz#..#zzz.. +.zzzz#..#zzzz. +######..###### +Bonus: +.............. +.............. +.............. +....5....5.... +...55....55... +..555....555.. +.5555....5555. +.............. +..555l..l555.. +..555l..l555.. +.............. +.............. +.............. +....5....5.... +...55....55... +..555....555.. +.555m....m555. +.............. +Level: +G +Waste Of Time +Bricks: +#cccccccccccc# +c#cccccccccc#c +cc#cccccccc#cc +ccc#cccccc#ccc +cccc#cccc#cccc +ccccc#cc#ccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +cccccc..cccccc +ccccc#..#ccccc +cccc#cccc#cccc +ccc#cccccc#ccc +cc#cccccccc#cc +c#cccccccccc#c +#cccccccccccc# +Bonus: +.555555555555. +5.5555555555.5 +55.55555555.55 +555.555555.555 +5555.5555.5555 +55555.55.55555 +555555..555555 +555555..555555 +555555..555555 +555555..555555 +555555..555555 +555555..555555 +55555....55555 +5555.5555.5555 +555.555555.555 +55.55555555.55 +5.5555555555.5 +.555555555555. +Level: +G +The End +Bricks: +@@@@@@@@@@@@@@ +@vvv@@v@v@@vv@ +@@v@@@v@v@@v@@ +@@v@@@vvv@@vv@ +@@v@@@v@v@@v@@ +@@v@@@v@v@@vv@ +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +@vvv@v@@v@vvv@ +@v@@@vv@v@@v@v +@vvv@v@vv@@v@v +@v@@@v@@v@@v@v +@vvv@v@@v@vvv@ +@@@@@@@@@@@@@@ +hhhhhhhhhhhhhh +iiiiiiiiiiiiii +gggggggggggggg +!!!!!!!!!!!!!! +Bonus: +55555555555555 +5...55.5.55..5 +55.555.5.55.55 +55.555.m.55..5 +55.555.5.55.55 +55.555.5.55..5 +55555555555555 +55555555555555 +5...5.55.5...5 +5.555..5.55.5. +5...5.5..55.5. +5.555.55.55.5. +5...5.55.5...5 +55555555555555 +m~>W......W>~m +~~>W......W>~~ +>>>W......W>>> +WWWW......WWWW diff --git a/client/levels/PlayAgain b/client/levels/PlayAgain new file mode 100644 index 0000000..92084c6 --- /dev/null +++ b/client/levels/PlayAgain @@ -0,0 +1,1026 @@ +Version: 1.00 +Level: +Jacques Buffa +briques +Bricks: +.............. +.............. +.............. +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +eeeeeeeeeeeeee +eeeeeeeeeeeeee +ffffffffffffff +ffffffffffffff +iiiiiiiiiiiiii +iiiiiiiiiiiiii +gggggggggggggg +gggggggggggggg +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.........2...? +.............. +b2....2...-.2. +..j........... +.....>.s...... +.-..........+. +..1...?f...1.. +.....1.......j ++.........>.~. +.......b...... +...0......0.?. +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +fresques +Bricks: +.............. +.............. +gggggggggggggg +jvjvjvjjvjvjvj +gggggggggggggg +.............. +.............. +hhhhhhhhhhhhhh +jvjvjvjjvjvjvj +hhhhhhhhhhhhhh +.............. +.............. +dddddddddddddd +jvjvjvjjvjvjvj +dddddddddddddd +.............. +.............. +.............. +Bonus: +.............. +.............. +..?.d....~.... +...3.2.j..3.2. +.b..........>. +.............. +.............. +.......+...... +.1.-.>..1f?.1. +.............. +.............. +.............. +.?...+....-... +...0....0...b. +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +diversite +Bricks: +.............. +dddddddddddddd +eeeeeeeeeeeeee +hhhhhhhhhhhhhh +*cc*cccccc*cc* +!!#iiiiiiii#!! +!!#ffffffff#!! +!!#gggggggg#!! +!!#*cccccc*#!! +kkkkk#vv#kkkkk +jjjjj#bb#jjjjj +.....#zz#..... +.....#bb#..... +.....cccc..... +.............. +.............. +.............. +.............. +Bonus: +.............. +.-2..f..j2.... +....+..d..>... +..w..2..*...-. +b.?<.l.2...2.< +.3...1...?..b3 +....>..b..j... +>.....-....... +...1.....1..1. +....1.5...+... +.0.?..ss....0. +.......?...... +......3....... +........1..... +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +X +Bricks: +.v..........v. +.ccc......ccc. +.cffc....cffc. +.cfffc..cfffc. +..cfffccfffc.. +...cffffffc... +....cffffc.... +.....cffc..... +.vv..c**c..vv. +.....cffc..... +....cffffc.... +...cffffffc... +..cfffccfffc.. +.*fffc..cfff*. +.cffc....cffc. +.*cc......cc*. +.............. +.............. +Bonus: +.............. +..2d......b... +.........j..2. +.j..>.....>... +..-.....+..?.. +...2..-..2~... +....+....s.... +.....b........ +.....?.4...... +........<..... +.....f...1.... +...1......>... +..~...~w.1.... +.?............ +....1.......-. +..0........0.. +.............. +.............. +Level: +Jacques Buffa +ovni +Bricks: +......kk...... +.....kddk..... +.vv.kddddk.vv. +....khhhhk.... +...kdhhhhdk... +...khgggghk... +..kdhgggghdk.. +..khgvvvvghk.. +..dhgvzzvghd.. +..dhgvzzvghd.. +..khgvvvvghk.. +..kdhgggghdk.. +...khgggghk... +...kdhhhhdk... +....khhhhk.... +....kddddk.... +.....kddk..... +......kk...... +Bonus: +......-?...... +........2..... +.......b.+.... +......2..~.... +....~.....j... +.......d..>... +..>...?....... +...+.4..l..2.. +....j......... +...2.b5....?.. +....w.ss.-.... +..1........0.. +....>..b...... +.....1..~.f... +......<..1.... +.............. +.....0.0...... +.............. +Level: +Jacques Buffa +attention +Bricks: +.............. +!iiiiiiiiiiii! +!gggggggggggg! +!ffffffffffff! +!dddddddddddd! +!ee@@eeee@@ee! +!hhhhhhhhhhhh! +cccccccccccccc +.............. +!iiiiiiiiiiii! +!gggggggggggg! +!ffffffffffff! +!dddddddddddd! +!ee@@eeee@@ee! +!hhhhhhhhhhhh! +cccccccccccccc +.............. +.............. +Bonus: +.............. +...4....>.4... +bj............ +.......3....j. +..1.d....~...2 +2.+..?.....1.. +.........-.b.. +...b...m...... +.............. +...2......2.?. +.?..-.1.<..... +.........f..+. +2...s..p.....2 +......1....>.. +.............. +..0.....w..0.. +.............. +.............. +Level: +Jacques Buffa +passage +Bricks: +.............. +.............. +..cccccccccc.. +..cbbbbbbbbc.. +..cbbbbbbbbc.. +..cbbaaaabbc.. +..cbbavvabbc.. +..cbbaaaabbc.. +..cbbbbbbbbc.. +..cbbbbbbbbc.. +..cccccccccc.. +.............. +.............. +E.EEEEEEEEEE.E +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +......2b...2.. +...~2...2..... +......l...-+.. +..-?.3..<..>.. +..j.d......... +.....f.5..b... +...+.......... +....1?.~.1.?.. +..>.s.0.j.<... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +carree +Bricks: +.............. +.............. +.............. +..iiiiiiiiii.. +..iiiiiiiiii.. +..icccccccci.. +..icggggggci.. +..icggggggci.. +..icgccccgci.. +..icgchhcgci.. +..icgchhcgci.. +..icgccccgci.. +..icggggggci.. +..icggggggci.. +..icccccccci.. +..iiiiiiiiii.. +..iiiiiiiiii.. +.............. +Bonus: +.............. +.............. +.............. +....1..2...... +.............. +..2........... +.......?...... +....2......?.. +..-..<........ +.......5.b.1.. +...........+.. +..+........... +..>......2.-.. +...b.~....w... +..1.....s..b.. +...?...?..>... +....0....0.... +.............. +Level: +Jacques Buffa +etages +Bricks: +cccccccccccccc +.............. +!.vvvvvvvvvv.! +!.v.hh..dd.v.! +!.v.hh..dd.v.! +!.v.hh..dd.v.! +!.vvvvvvvvvv.! +.............. +cccccccccccccc +.............. +!.vvvvvvvvvv.! +!.v.ee..gg.v.! +!.v.ee..gg.v.! +!.v.ee..gg.v.! +!.vvvvvvvvvv.! +.............. +cccccccccccccc +.............. +Bonus: +.3..*.5......3 +.............. +w..2...?...b.. +.....p...d.... +..>......~.... +j...-...+....? +..?..<.b...j.. +.............. +..b...l..>..*. +.............. +1.....f2...~.1 +.....+...-.... +.............s +?...0....0...- +.............. +.............. +...0.....0.... +.............. +Level: +Jacques Buffa +cubes +Bricks: +.............. +......cc...... +.ggg..cc..fff. +.gvg..cc..fvf. +.ggg......fff. +.............. +.....cccc..... +.....cvvc..... +.eee.cvvc.hhh. +.eze.cccc.hzh. +.eee......hhh. +.............. +.............. +...iii..ddd... +...izi..dzd... +...iii..ddd... +.............. +.............. +Bonus: +.............. +.......5...... +.4....~....... +..bd...f..-... +..?.......w.2. +.............. +........-..... +.....+.21..... +.~.....s..1... +.+b..-.1...b2. +...1......?... +.............. +.............. +....?.....0... +.............. +....0......... +.............. +.............. +Level: +Jacques Buffa +patience +Bricks: +.............. +...e...j....i. +...#...#....#. +.d...h...f.... +.#...#...#.... +........d..e.. +..i...k.#..#.. +..#...#....... +....g......... +.f..#...g...h. +.#......#...#. +......e...j... +...h..#...#... +...#.......... +.............. +.j..d.i..f..g. +.#..#.#..#..#. +.............. +Bonus: +.............. +...3...5....3. +.............. +.b...j...b.... +.............. +........-..2.. +..?...l....... +.............. +.............. +.-......j...+. +.............. +......~...s... +...+.......... +.............. +.............. +.1..w.?..1.... +.............. +.............. +Level: +Jacques Buffa +arc en ciel +Bricks: +.............. +.....iiii..... +....iiiiii.... +...iiggggii... +..iiggggggii.. +.iiggffffggii. +iiggffffffggii +iggffddddffggi +ggffddddddffgg +gffddeeeeddffg +ffddeeeeeeddff +fddeehhhheeddf +ddeehhhhhheedd +deehh....hheed +eehh......hhee +ehh........hhe +hh..........hh +h............h +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....+........ +..?.....-.?.+. +.....s.b...... +...-.......... +<..........<.. +.b..?.g.....b. +.............. +.............. +...........g.. +.g............ +.............. +.............. +Level: +Jacques Buffa +bloc +Bricks: +.............. +.............. +..cbcbccbcbc.. +..b!i!bj!e!b.. +..ci!ijbe!ec.. +..b!i!bj!e!b.. +..ci!ijbe!ec.. +..b!i!bj!e!b.. +..cjbjvvbjbc.. +..cbjbvvjbjc.. +..b!h!jb!d!b.. +..ch!hbjd!dc.. +..b!h!jb!d!b.. +..ch!hbjd!dc.. +..b!h!jb!d!b.. +..cbcbccbcbc.. +.............. +.............. +Bonus: +.............. +.............. +....2.b.2..... +..?.......j... +...j.......... +.....~.d?>.... +..-.......*1.. +......l..f.b.. +...>..4....+.. +..1b.?.5...... +...........1.. +..+.p.<.2..... +.....2.>.s.... +..1...-....-.. +.............. +......w....... +.............. +.............. +Level: +Jacques Buffa +prison +Bricks: +######..###### +!fff!#..#!eee! +f!f!f#..#e!e!e +ff!ff#..#ee!ee +f!f!f#..#e!e!e +!fff!#..#!eee! +#*#........#*# +.............. +.............. +.............. +#*#**####**#*# +!hhh!#..#!ggg! +h!h!h#..#g!g!g +hh!hh#..#gg!gg +h!h!h#..#g!g!g +!hhh!#..#!ggg! +#*#........#*# +.............. +Bonus: +.............. +.2.-3....d..1. +...........3.. +b.m.l......m.b +.s.~1....2..<. +..?........?.. +.............. +.............. +.............. +.............. +.............. +.1+........j+. +j............. +..3<2.....<3s1 +w........2.... +.............. +.............. +.............. +Level: +Jacques Buffa +losanges +Bricks: +..cc......cc.. +.cggc....cddc. +cgvvg*..*dvvdc +cgvvgc..cdvvdc +.cggc....cddc. +..cc......cc.. +......cc...... +.....chhc..... +.vv.*hvvh*.vv. +....chvvhc.... +.....chhc..... +......cc...... +..cc......cc.. +.ceec....cffc. +*evve*..*fvvf* +cevvec..cfvvfc +.ceec....cffc. +..cc......cc.. +Bonus: +...-......>... +............d. +.............. +-..4.~..~.4..b +.>..f....<..+. +..?.......f1.. +......2>...... +........b..... +....-....?.... +....1..5...... +.....*..s..... +.............. +..........pw.. +.b..?.....2... +..2..+........ +........1..... +....1....?.... +..0........0.. +Level: +Jacques Buffa +muraille +Bricks: +.............. +eeeeeeeeeeeeee +dddddddddddddd +.*..........*. +.g#........#g. +.g#hhhhhhhh#g. +cg#c.c.c.c.#gc +cg#iiiiiiii#gc +cg#.c.c.c.c#gc +cg#iiiiiiii#gc +cg#c.c.c.c.#gc +.g#hhhhhhhh#g. +.g#...##...#g. +..#........#.. +zzczzzcczzzczz +jjjjjjjjjjjjjj +.............. +.............. +Bonus: +.............. +........1..... +1...3..?...... +.............. +.?............ +....2-..>.~... +.-.....+.....2 +...f.b..j1.... +b...<.......2~ ++.....l.p<.... +.2.>.....b..-. +....s.d...w.2. +.............. +.............. +..0....?..>.0. +.............. +.............. +.............. +Level: +Jacques Buffa +palettes +Bricks: +.............. +.*ggg*..*eee*. +.cgggc..ceeec. +.cgggc..ceeec. +.cgggc..ceeec. +.#####..#####. +.............. +.*hhh*..*iii*. +.chhhc..ciiic. +.chhhc..ciiic. +.chhhc..ciiic. +.#####..#####. +.............. +.*ddd*..*fff*. +.cdddc..cfffc. +.cdddc..cfffc. +.cdddc..cfffc. +.#####..#####. +Bonus: +.............. +....+m........ +...5.?....4... +.j......+...j. +.............. +.............. +.............. +....?.......m. +.<.b.2..s.3.2. +.............. +........2..... +.............. +.............. +.?.-.....<.+.. +...1.w..1...2. +.............. +.............. +.............. +Level: +Jacques Buffa +barettes +Bricks: +ii.ee.ff.hh.dd +ib.be.fb.bh.db +ii.ee.ff.hh.dd +bi.eb.bf.hb.bd +ii.ee.ff.hh.dd +ib.be.fb.bh.db +ii.ee.ff.hh.dd +bi.eb.bf.hb.bd +ii.ee.ff.hh.dd +ib.be.fb.bh.db +ii.ee.ff.hh.dd +bi.eb.bf.hb.bd +ii.ee.ff.hh.dd +ib.be.fb.bh.db +ii.ee.ff.hh.dd +bi.eb.bf.hb.bd +.............. +.............. +Bonus: +.............. +3..3........32 +.?....3..>.... +..........?... +...b........j. +.+.....-.....~ +..........d... +....j....+.... +2.....2.....2. +.>........<... +...-.......... +....s.....b..1 +.w..1....1..-. +.1....~0...... +............0. +....0.?....... +.............. +.............. +Level: +Jacques Buffa +couloirs +Bricks: +cEcEcEcEcEcEcE +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +3.4.5.2.l.3.2. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +feu d'artifice +Bricks: +aaaaaaaaaaaaaa +a*aa*aaaa*aa*a +a.!.!.!.!.!.!a +a!.!.!.!.!.!.a +a............a +a.!.!.!.!.!.!a +a!.!.!.!.!.!.a +a............a +a.!.!.!.!.!.!a +a!.!.!.!.!.!.a +a............a +a.!.!.!.!.!.!a +a!.!.!.!.!.!.a +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +....4.5...2.3. +>2.d...j.~.?.> +.............. +....b.?.....b. +.+...1...b.-.1 +*............. +..f...<.....j* +.1.....-.p.+.. +.............. +-.0.?...>.0... +.....~........ +.............. +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +ascension +Bricks: +gggggggggggggg +gggggggggggggg +...###..###... +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +.##...##...##. +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +...###..###... +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +###...##...### +.............. +.............. +.............. +Bonus: +...4....5..... +3.....3....... +.............. +.-...m.>..f... +...2.........m +.j.b..?l.-2+.. +.............. +..-.s....j.~.. +.1....w2....1. +..?.>....<...s +.............. +...+...?....b. +.....1....0... +..0........... +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +dynamites +Bricks: +jjjjjjjjjjjjjj +jjj*jjj*jjj*jj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +j*jjj*jjj*jjj* +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjj*jjj*jjj*jj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +j*jjj*jjj*jjj* +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +.............. +.............. +Bonus: +.............. +..........2... +.2...........b +......2..b.... +.>.....j..d... +...fb.......?. +...........2.. +.j2...?....... +....*...w.+.>. +..-........... +......-....... +2.?.+..2.~.... +............2. +.......s...-.. +.............. +...1......1... +.............. +.............. +Level: +Jacques Buffa +labyrinte +Bricks: +############## +.g.g.g.g.g.g.g +f.f.f.f.f.f.f. +.h.h.h.h.h.h.h +j.j.j.j.j.j.j. +###########... +.i.i.i.i.i.i.i +d.d.d.d.d.d.d. +.h.h.h.h.h.h.h +j.j.j.j.j.j.j. +...########### +.d.d.d.d.d.d.d +e.e.e.e.e.e.e. +.h.h.h.h.h.h.h +j.j.j.j.j.j.j. +###########... +.............. +.............. +Bonus: +.............. +...4.......... +............m. +.?.....m...... +..........3... +.............. +.b.2.>........ +........b.<... +.+...........f +......l.2..... +.............. +...-.......... +..b.2.<.b.?... +...w.......... +.............. +.............. +.............. +.............. +Level: +Jacques Buffa +espace +Bricks: +vvvvvvvvvvvvvv +.............. +.............. +.............. +...v...v...v.. +.............. +.............. +.............. +.............. +.v.v..v....v.. +.............. +.............. +.............. +...v...v...v.. +.............. +.............. +.v...v.v...v.. +.............. +Bonus: +.2.f.3.d.5.j.b +.............. +.............. +.............. +...4...l...3.. +.............. +.............. +.............. +.............. +.?.~..+....b.. +.............. +.............. +.............. +...b...?...-.. +.............. +.............. +.2...1.?...w.. +.............. +Level: +Jacques Buffa +bravo +Bricks: +.!...!..!.!..! +...!.......... +......!.....!. +.!.bb!..b!.b.. +...bb...b..b.. +!.b..b..b..b.. +..b..b..b.b... +..b..b.!b.b..! +.!b..b..bb.... +..b..b!.bb.!.. +!.b..b..b.b... +..b..b..b.b..! +..b..b..b..b.. +...bb...b..b.. +...bb...b..b.. +.............. +.............. +.............. +Bonus: +.j...j..j.j..j +...j.......... +......j.....j. +.j.jgj..jj.g.. +...jj...j..j.. +j.j..j..j..j.. +..g..j..g.j... +..j..j.jj.j..j +.jj..j..jj.... +..j..jj.jj.j.. +j.j..g..j.j... +..j..j..j.j..j +..g..j..j..j.. +...jj...g..g.. +...jj...j..j.. +.............. +.............. +.............. diff --git a/client/levels/Popcorn b/client/levels/Popcorn new file mode 100644 index 0000000..d935f46 --- /dev/null +++ b/client/levels/Popcorn @@ -0,0 +1,821 @@ +Version: 1.00 +Level: +NJBilly +Buttery +Bricks: +.............. +.............. +....g.g.gg.... +....gggggg.... +...gggggggg... +...gggggggg... +...jjjjjjjj... +...jjjjjjjj... +....jjjjjj.... +....jjjjjj.... +....jjjjjj.... +....jjjjjj.... +....jjjjjj.... +....jjjjjj.... +....jjjjjj.... +....jjjjjj.... +####jjjjjj#### +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....bbbb..... +.....bbbb..... +.....b>>b..... +....lbbbbl.... +....>bbbb>.... +....lbbbbl.... +....wwwwww.... +....wwwwww.... +.............. +Level: +NJBilly +Kernel +Bricks: +.............. +.............. +.............. +.......gg..... +......ggjg.... +.....gjjjjg... +....gjgggjg... +...gggg**gg... +..ggggg**gg... +...gggg**gg... +....ggggggg... +.....gggggg... +......gggg.... +#.#####gg###.# +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.......>>..... +......wwww.... +....jjj**jj... +...5555..55... +..bbbbb..bb... +...5555..55... +....bb>>>bb... +.....wwwwww... +.......>>..... +.............. +.............. +.............. +.............. +.............. +Level: +NJBilly +Film Strip +Bricks: +.............. +.............. +zzzzzzzzzzzzzz +z.z.z.z.z.z.z. +zzzzzzzzzzzzzz +iiziiiziiiziii +iiziiiziiiziii +iiziiiziiiziii +iiziiiziiiziii +iiziiiziiiziii +iiziiiziiiziii +iiziiiziiiziii +zzzzzzzzzzzzzz +z.z.z.z.z.z.z. +zzzzzzzzzzzzzz +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..&.>.*.>.&... +..&.>.*.>.&... +....>.!.>..... +!.!...!...!..! +.............. +>b>b>b>b>b>b>b +b.b.b.b.b.b.b. +wwwwwwwwwwwwww +.............. +.............. +.............. +Level: +NJBilly +Projector +Bricks: +.............. +........ii.... +.......iiii... +..ii...iggi... +.iiii..iggi... +.iggihhiggi... +.iggihhiiii... +.iggihhhii.... +.iiiihhhh...j. +..iihhhhhj.jj. +..hhhhhhhjjjj. +..hhhhhhhjjjj. +..hhhhhhhj.jj. +..hhhhhhh...j. +..hhhhhhh..... +..hhhhhhh..... +.............. +.............. +Bonus: +.............. +.............. +........>>.... +.............. +..>>....ww.... +.....!!....... +..ww.......... +.....www!!.... +.............. +..!!.......... +....jjj....... +..W*...*W..... +..b>b>b>b..... +..wwwwwww..... +..pb>b>bp..... +.............. +.............. +.............. +Level: +NJBilly +Leading Lady +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiii*i*i +iiiiiggii**i** +iiiiggggi***** +iiiggggggi***i +iiigg@@ggi***i +iiig@@@@gii*ii +iiigx@@xgii*ii +iigg@@@@ggiiii +iigg@@@@ggiiii +iigg@@@@ggiiii +iigg@dd@ggiiii +iggg@@@@gggiii +iggg@@@@gggiii +igiii@@iiigiii +iiii@@@@iiiiii +iii@@@@@@iiiii +Bonus: +..........**.* +.........*..*. +.m............ +.m...!!....... +.m.........>.. +...........>.. +.....**....>.. +.>............ +.>..b&&b...... +..!b.&&.b!.>.. +...b....b..>.. +...b.jj.b..... +b....bb......b +bm...>>...m..b +bm..wwww..m..b +.....ww....... +wwww.....ww.ww +.............. +Level: +NJBilly +Silver Screen +Bricks: +dddddddddddddd +ddddccccccdddd +dddccccccccddd +ddccccccccccdd +ddccccccccccdd +dccccccccccccd +dccccccccccccd +dccccccccccccd +dccccccccccccd +dccccccccccccd +dccccccccccccd +dccccccccccccd +dccccccccccccd +ddccccccccccdd +ddccccccccccdd +dd####..####dd +dd..........dd +.............. +Bonus: +.............. +.............. +.............. +ww..ww..ww..ww +.............. +......>>...... +......!!...... +...&&....&&... +......**...... +.....>>>>..... +.!..........!. +...bbj>>jbb... +...bwwwwwwb... +...bwwbbwwb... +wb.bwwwwwwb.bw +bw..........wb +wb..........bw +.............. +Level: +NJBilly +Food & Drink +Bricks: +.............. +.............. +.....j........ +....j......... +...j.......... +..j........... +.iii.dddddddd. +.!!!.dddddddd. +.hhh.dggggggd. +.hhh..gggggg.. +.hhh..gggggg.. +.hhh...gggg... +.hhh.########. +.hhh.......... +.hhh.......... +.hhh.......... +#####......... +.............. +Bonus: +.............. +.............. +.....>........ +....*......... +...>.......... +..g........... +......&&&&&&.. +.!>!.!>gjjg>!. +..>...>wwww>.. +.bbb.......... +.www....ww.... +..j........... +.bbb.......... +.www.......... +.............. +.............. +.............. +.............. +Level: +NJBilly +Be Quiet! +Bricks: +.............. +.............. +.ff..gvg.ivi.j +ffff.gvg.ivi.j +fvvf.gvg.ivi.j +fvvv.gvg.ivi.j +ffvv.ggg.iii.j +vffv.ggg.iii.j +vvff.gvg.ivi.j +vvvf.gvg.ivi.j +fvvf.gvg.ivi.v +ffff.gvg.ivi.j +.ff..gvg.ivi.j +.............. +kk###.kk.###kk +************** +****.####.**** +kk##......##kk +Bonus: +.............. +.............. +.............b +.............b +.....b.b...... +>....b.b.!.!.. +>b...>w>.>w>.. +.b....wj.jw... +.....!.!.b.b.. +.........b.b.. +.............. +.ww..........w +.............w +.............. +.............. +b.....w>.....b +w............w +.............. +Level: +NJBilly +Theatre Floor +Bricks: +..........f... +!*.vvvvv.*f... +..gviiiv!...g. +...viiiv...... +f..vvvvv.g.!.. +f..*..f....... +...f..f...g..g +.!......d....* +*..g.!..dd.... +.g.....*.dd.g. +..*!*.....d... +......g....... +.g..!*..!*...f +..........!.*f +!..g....f..... +.....!..f.g.!. +.............. +.............. +Bonus: +.............. +>!.55555.!*... +..*5.!.5j...b. +...5...5...... +j..55555.&.... +w..w..j....... +...j..&...w..! +.>......b..... +!..b.!..>!.... +.w.....!.b..j. +..!&......w... +......>....... +.&..*........& +.............. +...w....w..... +.............. +.............. +.............. +Level: +NJBilly +From The Right +Bricks: +.............z +............gy +ggggggggg...gx +gggggggggggggx +..gggggggggggx +....gggggggggx +........gggggx +.........ggggx +..........gggx +...........ggx +d..d..d..d..gx +d..d..d..d..gy +d..d..d..d...z +d..d..d..d...# +dd.dd.dd.dd..# +c..c..c..c...# +c..c..c..c...# +##.##.##.##..# +Bonus: +.............! +............&! +w.&&.*..&..... +w!.j!bb!.!&&!. +.....bb.j....w +....c.>>..bb.w +........>.bm.w +.............w +............>w +.............. +w..w..w..w..!. +c..j..j..c...! +b..b..b..b...! +>..>..>..>.... +w!.w!.w!.w!... +.............. +.............. +.............. +Level: +NJBilly +Monster Movie +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiffi +iiiiiiiiiiffff +iiiiiiiiifffff +iiiiiiifffffff +iiiiiiffddffff +aaiiifffddffff +*aaaffffffffff +***affffffffff +****jjjfffffff +*******fffffff +****jjjfffffff +***affffffffff +*aaaifffffffff +aaiiifffiiiiif +iiiiiiiiiiiiif +iiiiiiifffffif +iiiiibffffffff +Bonus: +!..!.w.!....w. +..j......w!..! +w..!.!........ +..!....!...!.! +!....!...w.... +..!.j.*....w.. +.......j.!..!. +.!.w.......... +l....!.!.w.l.w +!.........!... +.&w!&.w.!....! +!...!......!.. +......!.l!...! +!!.!...!...!.. +>.j.>.j.>.j.>. +.b.b.b.b.b.b.b +w.w.w.w.w.w.w. +.............. +Level: +NJBilly +Attack From Mars +Bricks: +vddvv......... +ddddc......... +d**dv......... +d**dv.c....... +ddddv......... +vddvv..c...... +vvvvv......... +.vvv...c...... +...c.c....vvv. +.........vvfvv +.c.......vfgfv +...c....vvigiv +.....c.cviiiii +........vdidid +........vvvvvv +.............. +.............. +.............. +Bonus: +j!!j.......... +!!!!w......... +!ll!j......... +!ll!j.w....... +!!!!.......... +j!!j...w...... +.jj........... +.......p...... +...p.w........ +...........!.. +.w........!b!. +...w......pbp. +.....w.w...j.. +.........bjbjb +.............. +.............. +.............. +.............. +Level: +NJBilly +Western +Bricks: +kkkkkkkkkkkkkk +kkkjkjjkkkkkkk +kkkjjjjkjkkkkk +kjkjjjjjjkkkkk +kjjjjjjjjkkkkk +kkjjjjjkkkkkkk +kkkhhhhkkkkkkk +kkkhgigkkkkkkk +kkkhggggkckkkk +kkkhggggkkccc* +kkkhgghkkkccc* +kkkhghgkcgcckk +kkkkgggkcgcgkk +kkkkiffkcggkkk +kkkkiifkkiikkk +kkkkiiikkiikkk +kkkiiiiiiikkkk +kkkiiiiiiikkkk +Bonus: +....!.!.!..w.. +p.w.....j.b..! +.!.!j..!.!.!.. +.....bj...j..p +j!.wb...pw.w.> +!.!...&...&.b. +.w.!!...b!.!.& +!.*b..*b..!..j +....!...>...w. +b.&.!.!!j..>!. +.>.b..!...!... +..j..!.p!j.p.. +&j..p.j.!.!..! +..!....!...!.j +!!.>.!..!..... +..........!.&. +.!!bw.wbwb..!. +.w.wbwbwbw.ww. +Level: +NJBilly +Chase Scene +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +giiiiiiiiiiiii +ggiiiiiiiiigii +gggiiiiiiggggi +gggggiiigg*ggi +ggffgggigjjjgg +giifgggggiijgg +ffffffggjjjjjj +fkffkfggjkjjkj +gkggkggggkggkg +cccccccccccccc +cccccccccccccc +bbbbbbbbbbbbbb +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +Bonus: +......*....!.. +w!..wb.bw....w +........!..... +w..b!.p..bl.w. +..l....l...... +.b.!p.*.p!.b.. +!............! +..........p... +j.p.j...j....j +......*.....p. +.........!.!.. +p...!.!j.....! +.!............ +...!..j!.!.... +............!. +!b.b.b.b.b.b.b +w.w.w.w.w.w.w. +.............. +Level: +NJBilly +Down In Front!!! +Bricks: +.............. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.ccccgccccccc. +.ccccgccccccc. +.ccciiicccccc. +.gcciiiccgcccg +.gcciiiccgcccg +!!!ciiicdddchh +fffcfffcfffcff +fffcfffcfffcff +fff.fff.fff.ff +fff.fff.fff.ff +fff.fff.fff.ff +.a...a...a...a +.a...a...a...a +Bonus: +.............. +..!........!.. +.j..!.j..!..j. +..*........... +...p...p..!p.. +.!!..w.!!..... +...!.b.....!.. +..!..!..!...*. +.w.....*.w...w +.b!.!j...b..!b +.j.p..!p.j.p.j +!w..*w...w...w +......!...!... +!w...w...w..!w +..!...!.!.!.!. +.............. +.b...b...b...b +.w...w...w...w +Level: +NJBilly +Catastrophe Movie +Bricks: +kkkkkkkkkkkkkj +kkkkkkkkkkkkjj +kkkkkkkkkkkjjj +kkkkkkkkkkjjjj +kkkkkkkkkjjjjj +kkkkkkkkjjjjjj +kkkkkkkjjjjjjk +kkkkkk**jjjjkk +kkkkk****jjkkk +fkkkk****jkkkk +ffikk****kkkkk +iiiik****kkkkk +fiifkk**kkkkkk +fiiffkkkkkkkkk +iiiifkkkkkkkkk +ffiiffkkkkkkkk +ffiiffkkkkkkkk +fffiiffkkkkkkk +Bonus: +......!..!..!. +..>.j..>..j... +l....!.......p +.p.!..!..!.*.! +!............. +.b.b.b.b.b.b.b +w.wjw.wjw.w.w. +.!.!.....!...! +.>............ +j.l.plp*p..j.> +....*....!>... +..j!!.!.....!. +>!.......>!..j +..!>!j.p...p.. +.p!.....!l...! +b.bjb.bjb.b.b. +.w.w.w.w.w.w.w +.............. +Level: +NJBilly +Fantasy Flick +Bricks: +*vvvv.....!... +**vvv.....!... +***vv....!!!.. +v***v..!.!!!.! +vv*hv...!!!!!. +vvvhv....ggj.. +.vvhv....igj.. +..vhv....jgj.. +..vhv....dgj.. +..vhv....jjj.. +..vhv....jg!.. +..vgg...jj!!.. +..vhg!..jj!!.. +..vhv!!.j!!!!. +..vvv!!!j!!!!. +......!!!!!!!. +.......!!!!!!! +........!!!!!! +Bonus: +..!.*......... +...j.......... +.!..!....jwj.. +.............. +j.!.!....!.!.. +.!........w... +...!.....!.... +..*.*.....!!.. +..!.!.....w!.. +..j......j.... +...bj.....!... +..!.!...!!.... +...b....j.b!.. +..j..bj.w.j.j. +..*.*....!b.b. +.......b.j.j.. +.......wbwbwbw +........w.w.w. +Level: +NJBilly +Scary Movie +Bricks: +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +kggkkakkkkjkkk +k@gkkkkkkjjjkj +kiggakjkkjjjkj +k@ggkkjjkjjjkj +kd@gkkkjkjkjkj +k@@kkkkjjjjjjk +kffkakkkjjjjjk +fffkkkkkkjjjkk +kfffkakkkjjjkk +kffkfkkkkjjjkk +khhkkakkkjjjkk +khhkkkkakjjjjk +hhhhhekkkjjjjk +hhkhhekakjjjjj +kkkkkekkkjjjjj +Bonus: +.!..!...5..!.. +..5...b.5!55.b +b.5!.!.55..55. +.!55.....b!.55 +..w5....!...*w +w...*.w..55... +555!....w55w.5 +!5...b...55.!5 +.5b5555.!5.5.. +55!5.!.*..!5!! +5!.55555555... +j.j.j.5!j!j.j! +.!.!.5555..!!. +b.b.b5b!b!b.b. +.w.w.w.w.w!w!w +b.b.b.b.b5b.b. +w.w.w.w.w5w!w! +.............. +Level: +NJBilly +City Disaster Movie +Bricks: +kgkkkkkkkkkkkk +gggkkkkkkkkkkk +gggkkkkkkkkkkk +gggkkkkkkkkkkk +kgkkkkkkkkkkkk +kkkkkkkkikkkkk +kkkkkkkkiiikkk +kkkkkkkkkiiikk +kkkkkkkkkkiikk +kkakkkkkkkiikk +kkakkakkkkkiik +akakkakkkkkiik +akakkakkkkkiik +abakkakbkkiiik +ababkaabkkiiii +bbabbaabkiiiii +hhhhhhhhiiiiii +hhhhhhhhiiiiii +Bonus: +!.!....!.....! +....w!w.w..!.. +.!.j....!j.... +.....w.w..!.!. +bbbbbbbbbbbbbb +*55!5pwp!5555* +55555!55555!55 +5!5j55*!5j!.!5 +!5555555!55555 +wp5w5w5w5w5wpw +555555*5555555 +555!5p5p55!55! +!5!j55!5!j55!5 +5!55!555!5!555 +bbbbbbbbbbbbbb +.!!j...!.j.!.! +w.w.w.w.w.w.w. +.............. +Level: +NJBilly +The End +Bricks: +*c*c*c*c*c*c*c +cccccccccccccc +@@@@@c@@c@@@@@ +cccccccccccccc +c************c +c************c +c!!!!!!!!!!!!c +c!!!!!!!!!!!!c +@@@@@@zz@@@@@@ +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +v!!!!!!!!!!!!v +v!!!!!!!!!!!!v +@@@@v@@@@v@@@@ +vvvvvvvvvvvvvv +gggggggggggggg +hhhhhhhhhhhhhh +kkkkkkkkkkkkkk +Bonus: +55555&5m555555 +j555555555555j +5j555j55j555j5 +55j55555555j55 +555j555555j555 +>>>5j5555j5>>> +j5555j55j5555j +555555jj555555 +&&&&&&jj&&&&&& +55555j55j55555 +>>55j5555j55>> +555j555555j555 +55j555}}555j55 +5j5555pp5555j5 +j55j5cccc5j55j +b}bbjbjjbjbb}b +bbjbbb>>bbbjbb +wwwwpwjjwpwwww diff --git a/client/levels/RichQuick b/client/levels/RichQuick new file mode 100644 index 0000000..77374e8 --- /dev/null +++ b/client/levels/RichQuick @@ -0,0 +1,370 @@ +Version: 1.00 +Level: +El Pollo Grande +Raining Points +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +5555bbbbbb5555 +gggggggggggggg +wwwwwwwwwwwwww +Level: +El Pollo Grande +Tougher! (or maybe not) +Bricks: +hh##########ii +hh##########ii +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +ff##########gg +ff##########gg +Bonus: +m&5555555555&m +&&5555555555&& +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +&&5555555555&& +m&5555555555&m +Level: +El Pollo Grande +Bucket o' bucks +Bricks: +E!!!!!!!!!!*.. +E!!!!!!!!!!*.. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +E!!!!!!!!!!!E. +EEEEEEEEEEEEE. +Bonus: +.55555555gg... +.55555555gg... +.55555555ggg.. +.55555555ggg.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.55555555555.. +.............. +Level: +El Pollo Grande +Fountain o' Fortune +Bricks: +.....jjjj..... +....jgjjgj.... +...jggjjggj... +..jggggggggj.. +..jggggggggj.. +.jggggggggggj. +.gggggggggggg. +.gggggggggggg. +.gggg.gg.gggg. +.ggg..gg..ggg. +.gg...gg...gg. +.gg...gg....g. +.g....gg....g. +...@@.gg.@@... +..EEEEggEEEE.. +.EEEEE##EEEEE. +...EEE##EEE... +.....E##E..... +Bonus: +.....5555..... +....555555.... +...55555555... +..5555555555.. +..5555555555.. +.555555555555. +.555555555555. +.555555555555. +.5555.55.5555. +.555..55..555. +.55...55...55. +.55...55....5. +.5....55....5. +......55...... +......55...... +.............. +.............. +.............. +Level: +El Pollo Grande +Eyes on the ball! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +***gggggggg*** +************** +Level: +El Pollo Grande +Fort Knox +Bricks: +@.**!!!!!!!!!! +@.@*!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@!!!!!!!!!!! +@.@@@@@@@@@@@@ +Bonus: +..55gg55555555 +...5gg55555555 +...ggg55555555 +...ggg55555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +...55555555555 +.............. +Level: +El Pollo Grande +one chance +Bricks: +E@@@E@@@E@@@Ea +E@@@E@@@E@@@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@E@E@E@E@E@ +E@E@@@E@@@E@@@ +E@E@@@E@@@E@@@ +E@EEEEEEEEEEEE +E@aaaaaaaaaaaa +Bonus: +.555.555.555.5 +.555.555.555.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.5.5.5.5.5.5 +.5.555.555.555 +.5.555.555.555 +.5............ +.5&&&&&&&&&&&m +Level: +El Pollo Grande +Web of Lies +Bricks: +!vvvvvvvvvvvv! +v!vvvvvvvvvv!v +vv!vvvvvvvv!vv +vvv!vvvvvv!vvv +vvvv!vvvv!vvvv +vvvvv!vv!vvvvv +vvvvvv**vvvvvv +vvvvvv**vvvvvv +vvvvvv**vvvvvv +vvvvvv**vvvvvv +vvvvvv**vvvvvv +vvvvvv**vvvvvv +vvvvv!..!vvvvv +vvvv!....!vvvv +vvv!......!vvv +vv!........!vv +v!..........!v +!............! +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +555555gg555555 +55555g**g55555 +55555g**g55555 +555555**555555 +555555**555555 +555555**555555 +555555**555555 +555555..555555 +55555....55555 +5555......5555 +555........555 +55..........55 +5............5 +Level: +El Pollo Grande +Cherry Bomb +Bricks: +......******.. +....##*###..*. +...#cc*ccc#... +...#cc*ccc#... +..#ccc*cccc#.. +..#ccc*cccc#.. +.#cccc*ccccc#. +.#cccc**cccc#. +.#cccc**cccc#. +.#cccc**cccc#. +.#cccccccccc#. +.#cccccccccc#. +.#cccccccccc#. +..#cccccccc#.. +..#cccccccc#.. +...#cccccc#... +...#cccccc#... +....######.... +Bonus: +......******.. +......*.....*. +....55*555.... +....55*555.... +...555*5555... +...555*5555... +..5555*55555.. +..5555**5555.. +..5555**5555.. +..5555**5555.. +..5555555555.. +..5555555555.. +..5555555555.. +...55555555... +...55555555... +....555555.... +....555555.... +.............. diff --git a/client/levels/Sadistic b/client/levels/Sadistic new file mode 100644 index 0000000..e1aa5ab --- /dev/null +++ b/client/levels/Sadistic @@ -0,0 +1,247 @@ +Version: 1.00 +Level: +Daxter304 +Sadistic 1 +Bricks: +E#@E#@E#@E#@E# +!!!!!!!!!!!!!! +fffvaaaaaavggg +f*fvaaaaaavg*g +fffvvvvvvvvggg +jjjhhhhiiiikkk +jjjhhhhiiiikkk +jjjhhhhiiiikkk +jjjhhhhiiiikkk +.............. +eeeeeeeeeeeeee +d*d*d*d*d*d*d* +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Daxter304 +Sadistic 2 +Bricks: +eeeeeeeeeeeeee +eeeeeeeeeeeeee +dddddddddddddd +dvcbabccbabcvd +dvcbabccbabcvd +dddddddddddddd +hhhhhhhhhhhhhh +jjjjjjjjjjjjjj +kkkkkkkkkkkkkk +xxxxxxxxxxxxxx +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Daxter304 +Sadistic 3 +Bricks: +v............v +.............. +.............. +.............. +...EEEEEEEE... +...gggggggg... +v..ggg*gggg..v +...gggg*ggg... +...gggggggg... +...EEEEEEEE... +...E******E... +...EccccccE... +...EvvvvvvE... +...v......v... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Daxter304 +Sadistic 4 +Bricks: +############## +************** +!!!!!!!!!!!!!! +#fffff##fffff# +#fffff##fffff# +#fffff##fffff# +#fffff##fffff# +#fffff##fffff# +ffffffffffffff +ffffffffffffff +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Daxter304 +Sadistic 5 +Bricks: +************** +eeeeeeeeeeeeee +EEEEEE..EEEEEE +vvvvvv..vvvvvv +hhhhhhhhhhhhhh +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +eeeeeeeeeeeeee +eeeeeeeeeeeeee +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Daxter304 +Sadistic Final +Bricks: +************** +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +************** +vvvvvvvvvvvvvv +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +......vv...... +.....v..v..... +....v....v.... +...v......v... +..v........v.. +.v..........v. +v............v +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/client/levels/Smilies b/client/levels/Smilies new file mode 100644 index 0000000..1fe498b --- /dev/null +++ b/client/levels/Smilies @@ -0,0 +1,821 @@ +Version: 1.00 +Level: +Hasenfuss +:) +Bricks: +EEEEEEEEEEEEEE +E............E +E.....**.....E +E...**zz**...E +E..*zzzzzz*..E +E..zzzzzzzz..E +E..zz*zz*zz..E +E.zzzzzzzzzz.E +E.zzzzzzzzzz.E +E..zzzzzzzz..E +E..z*zzzz*z..E +E..zz*zz*zz..E +E...zz**zz...E +E....zzzz....E +E............E +E.zzz....zzz.E +EjjjjjjjjjjjjE +EjjjjjjjjjjjjE +Bonus: +.............. +.............. +.............. +......00...... +....000000.... +...00000000... +...00.00.00... +..0000000000.. +..0000000000.. +...00000000... +...0.0000.0... +...00.00.00... +....00..00.... +.....0000..... +.............. +..555....555.. +.bbbbbbbbbbbb. +.wwwwwwwwwwww. +Level: +Hasenfuss +:| +Bricks: +ffffffffffffff +f............f +f..*E*EE*E*..f +f...*E**E*...f +f...E****E...f +f...cccccc...f +f...c*cc*c...f +f..cccccccc..f +f..cccccccc..f +f...cccccc...f +f...cccccc...f +f...cccccc...f +f...c****c...f +fcc.cccccc.ccf +fcc........ccf +fcc........ccf +fcc........ccf +ffffffffffffff +Bonus: +44445555554444 +.............. +.............. +.............. +.............. +.............. +.............. +...p......p... +...p......p... +.............. +.............. +.....bbbb..... +.............. +.....w..w..... +.--........--. +.............. +.............. +.............. +Level: +Hasenfuss +:D +Bricks: +cccccchchchhhh +aacccc@@ccchhh +aaacc@@@@chchh +aacc@@@@@@ccch +cgc@@@@@@@@chc +gcc@@*@@*@@hch +cgc@@@@@@@@ccc +gc@@@@@@@@@@ch +cg@@@@@@@@@@cc +gcc@@@@@@@@cch +cgc@******@ccc +gcc@*zzzz*@cic +cgc@*zzzz*@ihi +cic@*zzzz*@ihi +ihi@@*zz*@@cic +ihic@@**@@ccfc +ciccc@@@@cccfc +cfcccc@@ccccfc +Bonus: +.............. +dd.........www +ddd.......w.ww +dd...........w +.m..........w. +m..........w.w +.............. +.............w +.............. +.............w +.............. +.....5555...w. +.....5555..www +.w...5555..www +www...55...bwb +wwwb......bbwb +>w..........w> +*w..........w* +Level: +Hasenfuss +:( +Bricks: +cccccccccccccc +c!!!!!!!!!!!!c +c************c +c*zzzzzzzzzz*c +c*zzEEzzEEzz*c +c*zzzzzzzzzz*c +c*zzz*zz*zzz*c +c*zzzzzzzzzz*c +c*zzzzzzzzzz*c +c*zzzzzzzzzz*c +c*zzzzzzzzzz*c +c*zzz****zzz*c +c*zz*zzzz*zz*c +c*z*zzzzzz*z*c +c*zzzzzzzzzz*c +c************c +ckkkkkkkkkkkkc +ckkkkkkkkkkkkc +Bonus: +00005500550000 +0pppppppppppp0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0............0 +0ddgddddddgdd0 +0++++++++++++0 +Level: +Hasenfuss +:P +Bricks: +zkzzkzkzzkzzkz +kzkzzkzzkzzkzk +zkzkzkzkzkkzkz +zzkzkzkzkzzkzz +zzzkkkkkkkkzzz +zzz!!!!!!!!zzz +zzz!!*!!*!!zzz +zzz!!!!!!!!zzz +zz!!!!!!!!!!zz +zz!!!!!!!!!!zz +zzz!!!!!!!!zzz +zzz!!!!!!!!zzz +zzz!******!zzz +zzz!!!!*v*!zzz +zzz!!!!*v*!zzz +zzz!!!!***!zzz +zzz!!!!!!!!zzz +zzzzzzzzzzzzzz +Bonus: +w............w +..w..w..w..w.. +.>..........>. +....>...>....w +w............. +..w.bbbbbb.... +....bgbbgb..w. +.w..bbbbbb.... +..l........l.w +.............. +w.w..........w +...wwwwwwww... +.w.w......ww.. +..wwwww...w..w +w.....w...w... +.w....w...w.w. +......wwwww... +p............p +Level: +Hasenfuss +sun +Bricks: +.h....h.....h. +..h....h...h.. +...h..h...h... +h...h..h.h...h +.h...h..h...h. +..h...hh...h.. +...h.hhhh.h... +....h*hh*h.... +h.h.hhhhhhh.h. +.h.hhhhhhh.h.h +....h*hh*h.... +...h.h**h.h... +..h...hh...h.. +.h...h..h...h. +h...h.h..h...h +...h...h..h... +..h...h....h.. +vhvvvvvhvvvvhv +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....5..5..... +.............. +.............. +.....5..5..... +......55...... +.............. +.............. +.............. +.............. +.............. +g.ggggg.gggg.g +Level: +Hasenfuss +dynamite +Bricks: +EEEEEEEEEEEEEE +E********EEEEE +E********EEEEE +E**********vEE +E********EE*vE +E********EEE*E +EEEEEEEEEEEEhE +zzzzzzzzzzzEhE +zzzzzzzzzzzhhh +ccccczzzzzzhhh +ccccccczzzzhhh +cccccccczzzzhz +cccceeeeeeeeez +ccccccczzzzzzz +cccccczzzzzzzz +ccczzzzzzzzzzz +ccczzzzzzzzzzz +ccczzzzzzzzzzz +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +............5. +............5. +...........555 +....*......555 +*.*...*....555 +.......*....5. +*.*b444444445. +......*....... +*.*..*........ +.............. +*.*........... +www........... +Level: +Hasenfuss +:/ +Bricks: +@@@@@hhhh@@@@@ +@@@@hhhhhh@@@@ +@@@hhgggghh@@@ +@@hhgccccghh@@ +@hhgccccccghh@ +@hgccccccccgh@ +@hgcc*cc*ccgh@ +@hgccccccccgh@ +@ggccccccccgg@ +@ggccc**cccgg@ +@@gccccccccg@@ +@@gccccccccg@@ +@@gc**cccccg@@ +@@gccc**cccg@@ +@@gccccc**cg@@ +@@@gccccccg@@@ +gg@@gccccg@@gg +gg@@@gggg@@@gg +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....bllb..... +.............. +.............. +......bb...... +.............. +.............. +....bb.g...... +......bb...... +........bb.... +.............. +w.....*......w +.....w..w..... +Level: +Hasenfuss +:O +Bricks: +.....eeee..... +.....eeee..... +.....eeee..... +...eeeeeeee... +.....cccc..... +....cccccc.... +...cc*cc*cc... +...cccccccc... +...cccccccc... +..cccc**cccc.. +..ccc*!!*ccc.. +..cc*!!!!*cc.. +...c*!!!!*c... +...cc*!!*cc... +...ccc**ccc... +zz..cccccc..zz +z*z..cccc..z*z +.EEEEEEEEEEEE. +Bonus: +.....5555..... +.....5555..... +.....5555..... +...>>5555>>... +.............. +.............. +.....5..5..... +.............. +.............. +......55...... +.....5ll5..... +....5l..l5.... +....5l..l5.... +.....5ll5..... +......55...... +bb..........bb +*bg........gb* +.............. +Level: +Hasenfuss +:X +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvv*vvvv*vvvv +vvvvv*vv*vvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvv*vv*vvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvv*vvvv*vvvv +vvvvv*vv*vvvvv +vvvvvv**vvvvvv +vvvvvv**vvvvvv +vvvvv*vv*vvvvv +vvvv*vvvv*vvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +*000000000000* +0000......0000 +0000......0000 +0000.b..b.0000 +0000......0000 +0000......0000 +0000.*..*.0000 +0000......0000 +00000000000000 +0000......0000 +0000>....>0000 +*000.>..>.000* +0000..gg..0000 +0000..**..0000 +0000.>..>.0000 +0000>....>0000 +0000......0000 ++.+.+.+.+.+.+. +Level: +Hasenfuss +:S +Bricks: +!*!!!!!*!!!!*! +!!*!!!*!!!!*!! +!!!*!!!*!!*!!! +g!!!*!*!!*!!!g +!g!!******!!g! +!!g!gggggg!g!! +!!!gg*gg*gg!!! +!!!!gggggg!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!i!!*!!!**!!i! +iii*!!!*!!*iii +!i!*!!!*!!*!i! +!!!*!!*!!!*!!! +!!!*!!*!!!*!!! +!!!!**!!!*!!!! +!!!!!!!!!!!!!! +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +....>.>>.>.... +.....b..b..... +....wwwwww.... +.............. +.............. +...+......+... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Hasenfuss +:C +Bricks: +E*E*E*E*E*E*E* +*E*E*E*E*E*E*E +E*E*E*E*E*E*E* +*E##########*E +E*#cccccccc#E* +*E#cccccccc#*E +E*#cc*cc*cc#E* +*E#cccccccc#*E +E*#cccccccc#E* +*E#cccccccc#*E +E*#cccccccc#E* +*E#ccc**ccc#*E +E*#cc*##*cc#E* +*E#c*####*c#*E +E*#c*####*c#E* +*E#c*####*c#*E +E*#cc*##*cc#E* +*E##########EE +Bonus: +.............. +.............. +.............. +.............. +...*555555*... +...55555555... +...55.55.55... +...55555555... +...55555555... +w..55555555... +...55555555... +...555..555... +...55....55... +...5......5... +...5......5... +...5......5... +...55....55..m +.............. +Level: +Hasenfuss +humans +Bricks: +ccgccccccccdcc +cgggcc**ccdddc +cgggcc**ccdddc +cgggc****cdddc +ccgccccccccdcc +gcgcgccccdcdcd +cgggc*cc*cdddc +ccgccccccccdcc +ccgccccccccdcc +ccgc*cccc*cdcc +ccgcc*cc*ccdcc +cgcgcc**ccdcdc +gcccgccccdcccd +************** +zzzzzzzzzzzzzz +EzEzEzEzEzEzEz +************** +zzzzzzzzzzzzzz +Bonus: +..?.555555.?.. +.???......???. +.?*?......?*?. +.???......???. +..?........?.. +?.?.?....?.?.? +.?j?......?j?. +..?........?.. +..?........?.. +..?........?.. +s.?..s..s..?.s +.?.?......?.?. +?.w.?....?.w.? +.............. +..g...g...g... +.............. +.............. +.............. +Level: +Hasenfuss +:[ +Bricks: +EEkkkkkkkkkkEE +EEkkkkkkkkkkEE +EEkcccccccckEE +EckcacaacackcE +EckccaccacckcE +EckcccccccckcE +Ecccc*cc*ccccE +EccccccccccccE +EccccccccccccE +EckcicaacickcE +EckciccccickcE +EckcccccccckcE +Eckc******ckcE +EEkc*cccc*ckEE +EEkc*cccc*ckEE +EkkcccbbccckkE +kkkcdbccbdckkk +kkkkcccccckkkk +Bonus: +.............. +...l......l... +.............. +.5..b....b..5. +.5..........5. +.5..........5. +.5...b..b...5. +.*..........*. +.5..........5. +.5....gg....5. +.5..........5. +.5..........5. +.5..b.~~.b..5. +.............. +.............. +..+555..555+.. +.............. +....000000.... +Level: +Hasenfuss +tree +Bricks: +bbbbbyyyybgbgb +gbgbyyydyybbbb +bbbydyyyyyygbg +bgbyyyyyyyybbb +bbyyy!yy!ydygb +gbyyyyyyyyyybb +byydyyyyyyyyyg +byyyyydyyyyyyb +bydyyyyyydydyb +gyyyyyyyyyyyyb +bbyyyyeeyyyybg +bgbydyeeyyybbb +bbbyyyeeydybgb +gbgbyyeeyybbbb +bbbbbyeeybbgbg +bgbgbbeebbbbbb +bbbbbeeeebgbgb +gbgbeeeeeebbbb +Bonus: +..........?.?. +?.?....5...... +....5......?.? +.?............ +.....*..*.5.?. +?............. +...5.........? +......5....... +..5......5.5.. +?............. +......>>.....? +.?..5.>>...... +......bb.5..?. +?.?...bb...... +......ww...?.? +.?.?..ww...... +..........?.?. +?.?........... +Level: +Hasenfuss +snake +Bricks: +bbbbbbbbbbcc*c +bhhhhhhhhbc*** +bhhhhhhhhbc*** +bhhhhhhhhbc*** +bbbbbbbbbbc*** +EEEEEEEEEEEE*c +***c***c***c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E*c*E*c*E*c*c +*E***E***E***c +*EEEEEEEEEcccc +Bonus: +.*.....*..22.2 +.55555555.2... +.5b5b5b5b.2.b. +.55555555.2... +....*....s2... +.............2 +.}.2...2...2.2 +...2...2...2.2 +...2...2...2.2 +...2...2...2.2 +...2...2...2.2 +...2...2...2.2 +...2...2...2.2 +...2...2...2.2 +...2...2...2.2 +...2...2...2.2 +.............2 +..........2222 +Level: +Hasenfuss +>:[ +Bricks: +@@@@@@@@@@@@@@ +@@@@*@@@@*@@@@ +@@@@*@@@@*@@@@ +@@@@**@@**@@@@ +@@@@**aa**@@@@ +@@@@aaaaaa@@@@ +@@@@aaaaaa@@@@ +@@@@a*aa*a@@@@ +@@@aaaaaaaa@@@ +@@@aaaaaaaa@@@ +@@@aaaaaaaa@@@ +@@@@aaaaaa@@@@ +@@@@acccca@@@@ +@a@@acccca@@a@ +@a@@acaaca@@a@ +@a@@acaaca@@a@ +aaa@aaaaaa@aaa +aaa@@aaaa@@aaa +Bonus: +.............. +....5....5.... +....5....5.... +....55..55.... +....55..55.... +.........s.... +.............. +.....g..g..... +...5..s...5... +...5......5... +...5.w..w.5... +.............. +.....5555..... +.>...5g55...>. +.b..s5..5...b. +.b...5..5...b. +.-...cccc...-. +.....~.~...... +Level: +Hasenfuss +:* +Bricks: +EEEEEEEEEEEEEE +E...zzzzzz...E +E..zzzzzzzz..E +E.zzzjzzjzzz.E +E.zzjzjjzjzz.E +E.zzzzzzzzzz.E +Ezzzz*zz*zzzzE +EzzzzzzzzzzzzE +EzzzzzzzzzzzzE +EzzzzzzzzzzzzE +E.zzzzzzz*zz.E +E.zzzzz*zzz*.E +E.zzzzzz*z*z.E +E.zzzzzzz*zz.E +E.zzzzzz*z*z.E +E..zzzz*zzz*.E +E...zzzzz*...E +E...EEEEEE...E +Bonus: +.............. +....b....b.... +.............. +..b..c..c..b.. +....l.ll.l.... +.............. +.b..w....w..b. +..+........+.. +...5555....... +.b.5555w.w..b. +..+5555....+.. +...5555>...... +...5555...>... +..+5555....+.. +..b5555....... +...b...wwwww.. +....>>>>>w.... +.............. +Level: +Hasenfuss +key +Bricks: +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aajaaaaaaaaaaa +ajejaaaaaaaaaa +jeeejaaaaaaaaa +eeEeejaaaaaaaa +eEEEejjjjjjjjj +eEEEejEEEjjjjj +eEEEeeeeeeeeee +eEEEeeeeeeeeee +eEEEejEEEjjeee +eEEEejjEjajeee +eeEeejaEaajeje +jeeejaaEaajeje +ajejaaaEaaajaj +aajaaaE.Eaaaaa +aaaaaE...Eaaaa +aaaaE.....Eaaa +Bonus: +*............* +..c.c.c.c.c.c. +.............. +..5........... +.5s5.......... +55.55......... +5...5......... +5...5......... +5...5555555555 +5...55555555*5 +5...5......555 +5...5......5s5 +55.55......5.5 +.5s5..?.?..5.5 +..5..?...?.... +....?.....?... +.............. +?.?.........?. +Level: +Hasenfuss +exit +Bricks: +E@E@E@E@E@E@E@ +@E@E@Ebb@E@E@E +E@E@Ebeeb@E@E@ +@E@Ebeeeeb@E@E +E@Ebeeeeeeb@E@ +@E@beezzeebE@E +E@Ebezzzzeb@E@ +@E@beezzeebE@E +E@Ebeeeeeeb@E@ +@E@beeeeeebE@E +E@Ebeeee**b@E@ +@E@beeeeeebE@E +E@Ebeeeeeeb@E@ +@E@beeeeeebE@E +E@Ebeeeeeeb@E@ +@E@beeeeeebE@E +E@Ebeeeeeeb@E@ +@E@bbbbbbbbE@E +Bonus: +.............. +......**...... +......44...... +.....4444..... +....444444.... +....445544.... +....455554.... +....445544.... +....444444.... +....444444.... +....444455.... +....b.b.b.b... +...w.w.w.w.... +....d.d.d.d... +...>.>.>.>.... +....~.~.~.~... +...-.-.-.-.... +....W.W.W.W... diff --git a/client/levels/StarWars b/client/levels/StarWars new file mode 100644 index 0000000..8917a53 --- /dev/null +++ b/client/levels/StarWars @@ -0,0 +1,288 @@ +Version: 1.00 +Level: +Celine +bonus +Bricks: +zzzzzzxxxxxxxx +zzazzzxxxxxxxx +zzzzzzxxxxxxxx +@@@@@@@@@@@@@@ +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +wwwlwfwwwlwlww +lwwww&&&f+l+wl +}wwl++++++++lw +.............. +mmmmmmmmmmmmmm +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine +untitled +Bricks: +zzzkkkeee***aa +zzzkkkeee***aa +zzzkkkeee***aa +zzzkkkeee***aa +zzzkkkeee***aa +zzzkkkeee***aa +zzzkkkeee***aa +zzzkkkeee***aa +zzzkkkeee***aa +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +pppbbppbbpbppb +bbbbbbppbbbpbp +pppbbbbbpbbbbb +pbbbbppbbbpbbp +pbbpppbbpppbpp +ppbbpbbbppbbpp +bbpbppppppbpbp +ppppppppbbpppp +wwwwwwwwwwwwww +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine +untitled +Bricks: +************** +************** +************** +************** +************** +************** +************** +************** +************** +v*****v***v**v +vvv***vv**v*vv +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.*.......*.f.. +..m...pp...*.. +.....f*.f.pp.. +..fp.......pp. +.*..f.....f... +....mm.fp..... +f..f.mm....*m. +.pb.pb..f*..m. +.mb..*........ +w..m..w...w..w +www.b.ww..wwww +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine +action +Bricks: +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +****dddddzzzzz +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +ww.f~.bpp.p.-- +.+.ffp..pp..p. +.+bb..fbp..l.j +b+++bb.bj.l.p} +wwpppjjpjpp{{} +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine +untitled +Bricks: +*******xxxzzzz +*******xxxzzzz +*******xxxzzzz +*******xxxzzzz +*******xxxzzzz +@@@@@@@@@@@@@@ +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +lllll~~---ffff +lllll~~---ffff +lllll~~---ffff +lllll~~---ffff +lllll~~---ffff +.{{........... +mmmmmmmmmmmmmm +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Celine +untitled +Bricks: +a************x +.a..........x. +..a........x.. +...a......x... +....a....x.... +.....a..x..... +......ax...... +......xa...... +.....x..a..... +....x....a.... +...x......a... +..x........a.. +.x..........a. +x............a +************** +.............. +.............. +.............. +Bonus: +.....f..f..... +............p. +.............. +...b......p... +.............. +........p..... +.............. +......p....... +........j..... +....p......... +.............. +..p........+.. +.............. +p............. +...j...j....+. +.............. +.............. +.............. +Level: +Celine +untitled +Bricks: +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +************** +************** +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.p&p......b.b. +.p...&b..p.b.. +p...bp.bw.p... +.p&pp.&..w.b.b +.lllllll...... +plwwlwwl}}}}jj +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/client/levels/Symmetry b/client/levels/Symmetry new file mode 100644 index 0000000..59c8c51 --- /dev/null +++ b/client/levels/Symmetry @@ -0,0 +1,370 @@ +Version: 1.00 +Level: +Leo Gruyters +Soft Start +Bricks: +.............. +.............. +ajjjjjjjjjjjja +ja@gggggggg@aj +jgav@v@@v@vagj +jgva......avgj +jg@.avEEva.@gj +jgv.vaaaav.vgj +jg@.Ea**aE.@gj +jg@.Ea**aE.@gj +jgv.vaaaav.vgj +jg@.avEEva.@gj +jgva......avgj +jgav@v@@v@vagj +ja@gggggggg@aj +ajjjjjjjjjjjja +.............. +.............. +Bonus: +.............. +.............. +..m..b..b..m.. +.............. +>..g..mm..g..> +.b..........b. +1...j....j...1 +.~....lg....~. +..}...55...{.. +f.....55.....f +.w..........w. +>.?........?.> +1-..........-1 +.*..........*. +0..0..00..0..0 +..~.-.ff.-.~.. +.............. +.............. +Level: +Leo Gruyters +Wrong side +Bricks: +.............. +.....jjj...... +...EhEhEhE.... +.............. +eeedddddddeeev +.............v +..#b#b#b#b#..v +.!iiiiiiiii!.v +.kkkkkkkkkkk.v +djdjdjdjdjdjdv +eEeEeEeEeEeEev +ffffaaaaaafffv +hhhhhhhhhhhhhv +ggggg*g*gggggv +#.#v#v#v#v#v#v +.............. +.............. +.............. +Bonus: +.............. +.....555...... +....p.j.~..... +.............. +w...m.1.*...w. +.............. +.........g.... +..~.!.g.s.~... +...-....-..... +.............. +W.W.W.W.W.W.W. ++f.f.......f+. +bs1.cb1gc..1.. +mmm-2f2.2f2-m. +.............. +.............. +.............. +.............. +Level: +Leo Gruyters +Nuclear +Bricks: +.....gggg..... +....gg**g..... +...gg*gg*gg... +..gg*gggg*gg.. +.gg*ggddgg*gg. +gg*ggeeeegg*gg +g*ggbbbbbbgg*g +*gg#@hhhh@#gg* +*gffffffffffg* +*giiddddddiig* +*gddddddddddg* +*gggggddggggg* +g*gggjddjggg*g +gg**ggjjgg**gg +gggg*!jj!*gggg +@@vvEj@@jEvv@@ +.............. +.............. +Bonus: +.....ffff..... +....ff00f..... +...ff0~~0ff... +..fw0~dd~0wf.. +.ff0~d55d~0ff. +ff0~d.ff.d~0ff +w0~.j3333g.~0w +0~...f..f...~0 +0............0 +0.4..p-.-m.4.0 +0.f........f.0 +0.+..+bb+..+.0 +~0..........0~ +w~00~.....00~w +..~~0-..-0~~.. +..w4.>..>.4w.. +.............. +.............. +Level: +Leo Gruyters +Eratic +Bricks: +.............. +hhhhhhhhhhhhhh +j#vvvvvvvvvv#j +j#E!eeeeee!E#j +j#..@.@@.@..#j +j#..ffffff..#j +*#bbffffffbb#* +iiggggggggggii +iijjjj@@jjjjii +iigggg@@ggggii +*#bbffffffbb#* +j#..ffffff..#j +j#..@.@@.@..#j +j#E!eeeeee!E#j +j#vvvvvvvvvv#j +dddddddddddddd +.............. +.............. +Bonus: +.............. +1.4.fm55mf.4.1 +.............. +....>gppl>.... +.............. +1...-.ff.-...1 +...g......g... +.............. +.c..........c. +.*...!..!...*. +.............. +0...-....-...0 +w............w +0...>3333>...0 +>............> ++.~>f.~~.f>~.+ +.............. +.............. +Level: +Leo Gruyters +Mine +Bricks: +.............. +.ffffffffffff. +.@@@@@bb@@@@@. +.iiii#bb#iiii. +.bbbb#bb#bbbb. +.Ekfb#bb#bfkE. +.Ekeb#bb#bekE. +.Ekeb#bb#bekE. +.Eke@#bb#@ekE. +.Eke@#bb#@ekE. +.Ekej#bb#jekE. +.#####bb#####. +.EEEEEaaEEEEE. +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +.############. +.############. +.............. +Bonus: +.............. +..4.4m44}4.4.. +.0?0w0?0?040?. +.~..........~. +.0~...p....~0. +..0.m...m..... +.............. +....g.5..{.... +.............. +.............. +....*....*.... +.............. +..0w..jj..w0.. +.fm.mf..fm.mf. +.sb-.++++.-bs. +.+???+??+???+. +.............. +.............. +Level: +Leo Gruyters +Volcano +Bricks: +.............. +gggEjjjjjjEggg +ggggjjjjjjgggg +gggg!EjjEggggg +ggggggjjgggggg +aaaaa!**!aaaaa +aaa..!**!..aaa +aa...!@@!...aa +a....!@@!....a +.....v@@v..... +....va@@av.... +...va#EE#av... +..va#E###Eav.. +.va########av. +vaE#E#EEE#E#av +a############a +#ffffffffffff# +.............. +Bonus: +.............. +.............. +..*2.m..m.2*.. +.2..l....g..2. +..p........p.. +......55...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..-.~f..f~.-.. +.>m+..mm..+>m. +.............. +Level: +Leo Gruyters +Ufo +Bricks: +.............. +.............. +......zz...... +.....zjjz..... +....zj**jz.... +...xjEddEjx... +..xjddddddjx.. +.xjeeeeeeeejx. +xjhaahhhhaahjx +jhEEahEEhaEEhj +zjhaahhhhaahjz +.zjEeeeeeeEjz. +..zjddddddjz.. +...@jddddj@... +...@vj**jv@... +...@.vjjv.@... +...@.v@@v.@... +.............. +Bonus: +.............. +.............. +.............. +......55...... +.............. +.............. +...-p.ww.p-... +..>~......~>.. +.0m.f.**.f.m0. +00...g..l...00 +.0+3......3+0. +..3.bf..fb.3.. +.....2ff2..... +......44...... +.............. +.............. +.............. +.............. +Level: +Leo Gruyters +Black Hole +Bricks: +.............. +.!!keEEEEek!!. +.!kk******kk!. +.dekkeggekked. +.dekkggggkked. +.dee######eed. +.dee#aaaa#eed. +.deE#avva#Eed. +.deE#avva#Eed. +.deE#avva#Eed. +.deE#avva#Eed. +.dee#aaaa#eed. +.dee######eed. +.dekkggggkked. +.dekkeggekked. +.!kk******kk!. +.!!keEEEEek!!. +.............. +Bonus: +.............. +.............. +..3.ffffff.3.. +.W..111111..W. +...wmmmmmmw... +.~.*......*.~. +.>....l!....>. +.fg..!55!...f. +..f...55...f.. +......55...... +.fp...55...jf. +.>00......00>. +.............. +.W*~000000~*W. +..+.wffffw.+.. +.-..-.+..-..-. +.............. +.............. +Level: +Leo Gruyters +Tough +Bricks: +.............. +.............. +bbbbbbbbbbbbbb +e...EEeeEE...e +ee...ieei...ee +.eeaaaeeaaaee. +.vee##ee##eev. +.v@ee!vv!ee@v. +gghhed**dehhgg +gghhed**dehhgg +.v@ee!vv!ee@v. +.vee##ee##eev. +.eeaaaeeaaaee. +ee...ieei...ee +e...EEeeEE...e +bbbbbbbbbbbbbb +..v..v..v..v.. +.............. +Bonus: +.............. +.............. +...d......d... +f.....pg.....f +.............. +..22m5..5m22.. +..2...bb...2.. +...j......*... +fw...}..{...wf +.+..........+. +....s......... +..~........~.. +.-2........2-. +fb....ff....bf +.............. +>~>~>~>~>~>~>~ +.............. +.............. diff --git a/client/levels/T.C.S. b/client/levels/T.C.S. new file mode 100644 index 0000000..cd51491 --- /dev/null +++ b/client/levels/T.C.S. @@ -0,0 +1,944 @@ +Version: 1.00 +Level: +G +TCS #1 +Bricks: +.............. +############## +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +############## +gggggggggggggg +gggggggggggggg +############## +dddddddddddddd +dddddddddddddd +############## +ffffffffffffff +ffffffffffffff +############## +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +############## +......gg...... +Bonus: +.............. +.............. +.............. +55555555555555 +.............. +44444444444444 +44444444444444 +.............. +33333333333333 +33333333333333 +.............. +}222222222222} +}222222222222} +g............g +11111111111111 +11111111111111 +g............g +......mm...... +Level: +G +TCS #2 +Bricks: +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +!#!#!#!#!#!#!# +######gg###### +Bonus: +.l...........l +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5.5.5.5. +5.5.5.5}5.5.5. +5.5.5g.}5g5.5. +.....gmm.g.... +Level: +G +TCS #3 +Bricks: +###!######!### +#!#!#!##!#!#!# +#!#!#!##!#!#!# +#!#!#!##!#!#!# +###!######!### +#!###!##!###!# +#!#!#!##!#!#!# +#!#!#!##!#!#!# +#!#!#!##!#!#!# +#!###!##!###!# +#!!!######!!!# +#!!!#!##!#!!!# +#!!!#!##!#!!!# +#!!!#!##!#!!!# +############## +g............g +.............. +.............. +Bonus: +...5..ll..5... +.5.5.5..5.5.5. +.5.5.5..5.5.5. +.5.5.5..5.5.5. +...5......5... +.5...5..5...5. +.5.5.5..5.5.5. +.5.5.5..5.5.5. +.5.5.5..5.5.5. +.5...5..5...5. +.555......555. +.555.5..5.555. +.555g5}}5g555. +.555g5}}5g555. +....g.}}.g.... +m............m +.............. +.............. +Level: +G +TCS #4 +Bricks: +......ii...... +......##...... +.....iiii..... +.....####..... +....dddddd.... +....######.... +...dddddddd... +...########... +..hhhhhhhhhh.. +..##########.. +......hh...... +......##...... +......gg...... +......##...... +......gg...... +......##...... +......gg...... +.....f##f..... +Bonus: +......55...... +......55...... +.....5555..... +.....5ll5..... +....555555.... +....555555.... +...55555555... +...55555555... +..5555555555.. +..5555gg5555.. +......55...... +......}}...... +......55...... +......gg...... +......55...... +......}}...... +......55...... +.....m55m..... +Level: +G +TCS #5 +Bricks: +g###!!!!!!###g +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.###!!!!!!###. +.############. +.############. +.############. +.############. +.############. +Bonus: +m...555555...m +..g.555555.g.. +....555555.... +..g.555555.g.. +....555555.... +..}.555555.}.. +....555555.... +..}.555555.}.. +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +.............. +.............. +......ll...... +.............. +.............. +Level: +G +TCS #6 +Bricks: +.....####..... +....######.... +...##...g##... +...##....##... +...##....##... +...##....##... +...##......... +...##......... +...##......... +...######..... +...#######.... +...##!!!!##... +...##!!!!##... +...##!!!!##... +...##!!!!##... +...##!!!!##... +....######.... +.....####..... +Bonus: +.......l...... +.............. +........m..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....}......... +.....5555..... +.....5555..... +.....5555..... +.....5555..... +.....5555..... +.............. +.............. +Level: +G +TCS #7 +Bricks: +############## +#!!!!!!!!!!!!# +#!##########!# +#!#!!!!!!!!#!# +#!#!######!#!# +#!#!#!!!!#!#!# +#!#!#!##!#!#!# +#!#!#!#!!#!#!# +#!#!#!#!##!#!# +#!#!#!#!!#!#!# +#!#!#!##!#!#!# +#!#!#!#!!#!#!# +#!#!#!#!##!#!# +#!#!#!####!#!# +#!#!#!!!!!!#!# +#!#!########!# +#!#!!!!!!!!!!# +#############g +Bonus: +.............. +.555555555555. +.5..........5. +.5.55555555.5. +.5.5......5.5. +.5.5.5555.5.5. +.5.5.5..5.5.5. +.5.5.5.55.5.5. +.5.5.5.5..5.5. +.5.5.5.55.5.5} +.5.5.5..5.5.5} +.5.5.5.55.5.5} +.5.5.5.5..5.5} +.5.5.5....5.5} +.5.5.555555.5} +.5.5........5} +.5.5555555555} +....gggggg..mm +Level: +G +TCS #8 +Bricks: +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +!!!!z!!!!z!!!! +@@@@z!!!!z@@@@ +!!!!z!!!!z!!!! +!!!!zEEEEz!!!! +#####aaaa##### +Bonus: +5555l....l5555 +55555555555555 +....555555.... +55555555555555 +55555....55555 +55555555555555 +....555555.... +55555555555555 +55555....55555 +55555555555555 +....555555.... +55555gggg55555 +55555....55555 +55555555555555 +....}5555}.... +5555}5555}5555 +5555}....}5555 +.....mppm..... +Level: +G +TCS #9 +Bricks: +g.@@@@@@@@@@.g +..@@@@@@@@@@.. +..@@@@!!@@@@.. +..@@@!!!!@@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@!!!!!!@@.. +..@@@!!!!@@@.. +..@@@@!!@@@@.. +..@@@@@@@@@@.. +..@@@@@@@@@@.. +Bonus: +m.l........l.m +.............. +....g}55}g.... +....}5555}.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....555555.... +....}5555}.... +....g}55}g.... +.............. +.............. +Level: +G +Bonus Round +Bricks: +g!!!!!!!!!!!!! +##!!!#!!#!!!!! +#!#!#!#!##!!!! +##!!#!#!#!#!!! +#!#!#!#!#!#!!! +##!!!#!!#!#!!! +!!!!!!!!!!!!!! +!!#!#!###!!!!! +!!#!#!#!!!!!!! +!!#!#!#!!!!!!! +!!#!#!######!! +!!#!#!!!!!!#!! +!!###!!!!!!#!! +!!!!!!!!!!!#!! +############!! +!!!!!!!!!!!!!# +!!!!!!!!!!!!## +#############g +Bonus: +m5555555555555 +..5j5.55.55555 +.5.5.5.5..5555 +..55.5.5.5.555 +.5.5.5.5.5.555 +..555.j5.5.555 +55555555555j55 +55.5.5...55555 +55.5.5.5555555 +5j.5.5.5555555 +55.5.5......55 +55.5.55j555.55 +55...555555.55 +55555555555.55 +............55 +bbbj555555555. +wwwwwww}}}}}.. +.............m +Level: +G +TCS #10 +Bricks: +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +#!!##!!##!!##! +!!##!!##!!##!! +!##!!##!!##!!# +##!!##!!##!!## +g############g +Bonus: +..55..55..55.. +.55..55..55..5 +55..55..55..55 +5..55..55..55. +..55..55..55.. +.55..55..55..5 +55..55..55..55 +5..55..55..55. +..55..55..55.. +.55..55..55..5 +55..55..55..55 +5..55..55..55. +..55..55..55.. +.55..55..55..g +55..55..55..}g +5..55..55..}}. +..55..55..gg.. +m............m +Level: +G +TCS #11 +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +#!#!#!#!#!#!#! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!@!@!@!@!@!@!@ +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +E!E!E!E!E!E!E! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!@!@!@!@!@!@!@ +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +#!#!#!#!#!#!#! +!!!!!!!!!!!!!! +#!!!!!!!!!!!!# +g############g +Bonus: +55555555555555 +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +55555555555555 +5.5.5.5.5.5.5. +55555555555555 +55555555555555 +.5.5.5.5.5.5.5 +55555555555555 +55555555555555 +5.5.5.5.5.5.5. +55555555555555 +55555555555555 +.5.5.5}5}5.5.5 +55555555555555 +.555555555555. +mgggg}}}}ggggm +Level: +G +TCS #12 +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +############## +############## +############## +#E####EE####E# +############## +############## +############## +############## +g############g +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +}gggggggggggg} +}............} +}.....ll.....} +}............} +.............. +.............. +.............. +.............. +m............m +Level: +G +TCS #13 +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +@@@@@@@@@@@@@@ +@@@E@@@@@@E@@@ +@@@@@@EE@@@@@@ +E@@@@@@@@@@@@E +@@@@@@@@@@@@@@ +g@@@@@@@@@@@@g +Bonus: +jjjjjjjjjjjjjj +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +.}}}}}}}}}}}}. +....gggggg.... +.............. +.............. +.............. +m............m +Level: +G +TCS #14 +Bricks: +!!!!#!!!!#!!!! +#####!!!!##### +!!!!#!!!!#!!!! +!!!!######!!!! +!!!!!!!!!!!!!! +#!!!!!!!!!!!!# +##!!!!!!!!!!## +###!!!!!!!!### +####!!!!!!#### +#####!!!!##### +######!!###### +#!##########!# +#!!########!!# +#!!!######!!!# +#!!!!####!!!!# +#!!!!!##!!!!!# +#!!!!!!!!!!!!# +g############g +Bonus: +jjjj.5555.jjjj +.....5555..... +5555.5555.5555 +5555......5555 +55555555555555 +.555555555555. +..5555555555.. +...55555555... +....555555.... +.....5555..... +.....g55g..... +.5...g55g...5. +.55..g55g..55. +.555.g}}g.555. +.5555g}}g5555. +.55555..55555. +.555555555555. +m............m +Level: +G +TCS #15 +Bricks: +!!!!!@@@@@@@@@ +!!@@!@!!!!!!!@ +!@@@!@!@@@@@@@ +@@!@!@!@!!!!!! +@!!@!@!@!!!!!! +@!!@!@!@!!!!!! +@@!@!@!@@@@@@@ +!@!@!@!!!!!!!@ +!@!@!@@@@@@!!@ +!@!@!!!!!!@!!@ +!@!@!!!!!!@!!@ +!@!@!!!!!!@!!@ +!@!@!!!!!!@!!@ +@@!@@@!@@@@!!@ +@!!!!@!@!!!!!@ +@@@@@@!@!!!!!@ +!!!!!!!@@@@@@@ +#######g#####g +Bonus: +55555......... +55..5.5555555. +5...5.5....... +..5.5.5.555555 +.55.5.5.555555 +.55.5.5.555555 +..5.5.5....... +5.5.5.5555555. +5.5.5......55. +5.5.555555.55. +5.5.555555.55. +5.5.555555.55. +5.5.555555.55. +..5...5....55. +.5555.5.55555. +......5.55555. +5555555....... +.......m.....m +Level: +G +TCS #16 +Bricks: +E!!!!!EE!!!!!E +!!!!!!EE!!!!!! +!!###!EE!###!! +!!###!!!!###!! +!!##########!! +!!!########!!! +E!!##E!!E##!!E +!!!##!!!!##!!! +!!!##!!!!##!!! +!!!##!!!!##!!! +!!!##!!!!##!!! +E!!##!!!!##!!E +!!!##E!!E##!!! +!!!########!!! +!!##########!! +E!###g..g###!E +#####....##### +#####@..@##### +Bonus: +.55555..55555. +555555..555555 +55.j.5..5.j.55 +55...5555...55 +55....jj....55 +555j......j555 +.55...55...55. +555..5555..555 +555j.5555.j555 +555..5555..555 +555..5555..555 +.55jg5555gj55. +555.g.55.g.555 +555.gg}}gg.555 +55...g}}g...55 +.5...m..m...5. +.............. +.............. +Level: +G +TCS #17 +Bricks: +!!!@@!!!!@@!!! +!!!@@!!!!@@!!! +!!!@@!!!!@@!!! +@@@@!!!!!!@@@@ +@@@@!!!!!!@@@@ +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!@@!!@@!!!! +!!!!@@!!@@!!!! +!!!!@@!!@@!!!! +!!!!@@!!@@!!!! +!!!@@@!!@@@!!! +!!!@@!!!!@@!!! +!!!@@!!!!@@!!! +!!!@@@!!@@@!!! +!!@@@@!!@@@@!! +@@@!!@@@@!!@@@ +g@@@!@@@@!@@@g +Bonus: +jjj..5555..jjj +jjj..5555..jjj +555..5555..555 +....555555.... +....555555.... +55555555555555 +55555555555555 +5555..55..5555 +5555..55..5555 +5555..55..5555 +5555..55..5555 +555...55...555 +555..5555..555 +555..5555..555 +555...55...555 +55}}}}55gggg55 +..}}}}..gggg.. +m.}}}}..gggg.m +Level: +G +TCS #18 +Bricks: +g############g +.#!!!!!!!!!!#. +.#!!!!!!!!!!#. +.#####!!#####. +.#!!!#!!#!!!#. +.#!!!#!!#!!!#. +.###!#!!#!###. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.#!#!#!!#!#!#. +.############. +.############. +Bonus: +m............m +..5555555555.. +..5555555555.. +......55...... +..555.55.555.. +..555.55.555.. +....5.55.5.... +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5.55.5.5.. +..5.5g55g5.5.. +....}gggg}.... +....}}}}}}.... +Level: +G +Bonus Round +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +############## +############## +############## +############## +gEEEEEEEEEEEEg +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +bjjjjjjjjjjjjb +bggggggggggggb +b}}}}}}}}}}}}b +bwwwwwwwwwwwwb +m............m +Level: +G +TCS #19 +Bricks: +@@@@@@@@@@@@@@ +@@!!!!!!!!!!@@ +@@!!!!!!!!!!@@ +@@!@@@@@@@@!@@ +@@!@!!!!!!@!@@ +@@!@!!!!!!@!@@ +@@!@!@@@@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@!!@!@!@@ +@@!@!@@@@!@!@@ +@@!@!!!!!!@!@@ +@@!@!!!!!!@!@@ +@@!@@@@@@@@!@@ +@@!!!!!!!!!!@@ +@@!!!!!!!!!!@@ +g@@@@@@@@@@@@g +Bonus: +..jjjjjjjjjj.. +g.5555555555.} +g.5555555555.} +g.5........5.} +g.5.555555.5.} +g.5.555555.5.} +g.5.5....5.5.} +g.5.5.55.5.5.} +g.5.5.55.5.5.} +g.5.5.55.5.5.} +g.5.5.55.5.5.} +g.5.5....5.5.} +g.5.555555.5.} +g.5.555555.5.} +g.5........5.} +g.5555555555.} +..5555555555.. +m............m +Level: +G +TCS #20 +Bricks: +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@!!!!@@!!!!@@ +@@@@@@@@@@@@@@ +g@@@@@@@@@@@@g +Bonus: +jjjjjjjjjjjjjj +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}55555ll55555g +}55555ll55555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +}555555555555g +m555555555555m +Level: +G +THE END +Bricks: +############## +#!!!#!#!#!!!## +##!##!#!#!#### +##!##!!!#!!!## +##!##!#!#!#### +##!##!#!#!!!## +############## +#!!!#!###!#!!# +#!###!!##!#!#! +#!!!#!#!#!#!#! +#!###!##!!#!#! +#!!!#!###!#!!# +############## +############## +###@###@###@## +############## +#@###@###@###@ +g############g +Bonus: +gggggggggggggg +>5555555555f55 +555555555f5555 +555f555>555555 +5f555f55555555 +55>5555f555f>5 +5555>555555555 +55555555555555 +jjjjjjjjjjjjjj +55555555555555 +55f55555555555 +55555>5f5f5>55 +55555555555555 +f555f5555555f5 +555555555>5555 +55555555555>55 +555555f5555555 +m5f5>55555555m diff --git a/client/levels/TheEnd b/client/levels/TheEnd new file mode 100644 index 0000000..53ce7a4 --- /dev/null +++ b/client/levels/TheEnd @@ -0,0 +1,534 @@ +Version: 1.00 +Level: +G +Fun City End +Bricks: +!!!.!.!.!!!... +.!..!.!.!..... +.!..!!!.!!!... +.!..!.!.!..... +.!..!.!.!!!... +.............. +.............. +.!!!.!..!.!!.. +.!...!!.!.!.!. +.!!!.!.!!.!.!. +.!...!..!.!.!. +.!!!.!..!.!!.. +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +...5.5.5...5.. +5.55.5.5.555.. +5.55...5...5.. +5.55.5.5.555.. +5.55.5.5...5.. +555555555555.. +5555555555555. +5...5.55.5..55 +5.555..5.5.5.5 +5...5.5..5.5.5 +5.555.55.5.5.5 +5...5.55.5..55 +5555555555555. +.............. +.............. +.............. +ffffffffffffff +>>>>>>>>>>>>>> +Level: +G +Fatal Doomsday End +Bricks: +.............. +ddddd.d.d.dddd +d.d.d.d.d.d... +..d...ddd.ddd. +..d...d.d.d... +..d...d.d.dddd +.............. +dddd.d..d.ddd. +d....dd.d..d.d +ddd..d.dd..d.d +d....d..d..d.d +dddd.d..d.ddd. +.............. +.............. +!...!...!...!. +..!...!...!... +.............. +vvvvvvvvvvvvvv +Bonus: +.............. +fffff.f.f.ffff +f.f.f.f.f.f... +..f...fff.fff. +..f...f.f.f... +..f...f.f.ffff +.............. +ffff.f..f.fff. +f....ff.f..f.f +fff..f.ff..f.f +f....f..f..f.f +ffff.f..f.fff. +.............. +.............. +~...~...~...~. +..~...~...~... +.............. +>>>>>>>>>>>>>> +Level: +G +Wonder Walls End +Bricks: +ccc.c.c.cccc.. +.c..c.c.c..... +.c..ccc.ccc... +.c..c.c.c..... +.c..c.c.cccc.. +.............. +.ccc.c...c.cc. +.c...cc..c.c.c +.cc..c.c.c.c.c +.c...c..cc.c.c +.ccc.c...c.cc. +.............. +cccccccccccccc +cccccccccccccc +cccccccccccccc +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.5555.. +.............. +.555.5...5.55. +.5...55..5.5.5 +.55..5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +Level: +G +TrickShot End +Bricks: +############## +#ccc##c#c#ccc# +##c###c#c#c### +c#c#c#ccc#ccc# +.#c#.#c#c#ccc# +.#c#.#c#c#c### +.#c#.#c#c#ccc# +.###.######### +.............. +############.. +ccc#c###cc##.. +c###cc##c#c#.. +ccc#c#c#c#c#.. +ccc#c#c#c#c#.. +c###c#c#c#c#.. +ccc#c#c#cc##.. +###########... +.............. +Bonus: +.............. +.555..5.5.555. +..5...5.5.5... +m.5.m.555.555. +..5...5.5.555. +..5...5.5.5... +..5...5.5.555. +.............. +.............. +.............. +555.5...55.... +5...55..5.5... +555.5.5.5.5... +555.5.5.5.5... +5...5.5.5.5... +555.5.5.55.... +.............. +.............. +Level: +G +T.C.S. End +Bricks: +############## +#!!!#!#!#!!!## +##!##!#!#!#### +##!##!!!#!!!## +##!##!#!#!#### +##!##!#!#!!!## +############## +#!!!#!###!#!!# +#!###!!##!#!#! +#!!!#!#!#!#!#! +#!###!##!!#!#! +#!!!#!###!#!!# +############## +############## +###@###@###@## +############## +#@###@###@###@ +g############g +Bonus: +gggggggggggggg +>5555555555f55 +555555555f5555 +555f555>555555 +5f555f55555555 +55>5555f555f>5 +5555>555555555 +55555555555555 +jjjjjjjjjjjjjj +55555555555555 +55f55555555555 +55555>5f5f5>55 +55555555555555 +f555f5555555f5 +555555555>5555 +55555555555>55 +555555f5555555 +m5f5>55555555m +Level: +G +Fatal Doomsday II End +Bricks: +zzz.z.z.zzz.@@ +.z..z.z.z....@ +.z..zzz.zzz... +.z..z.z.z..... +.z..z.z.zzz... +.............. +.zzz.z...z.zz. +.z...zz..z.z.z +.zzz.z.z.z.z.z +.z...z..zz.z.z +.zzz.z...z.zz. +.............. +z..z....zz.... +zz@@@zz@@@@zz@ +zzz@zzzzz@zzzz +z@zzz@@@zzz@@z +...z..z..z.... +.............. +Bonus: +555.5.5.555... +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.555... +.............. +.555.5...5.55. +.5...55..5.5.5 +.555.5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +*..*....**.... +}}...}}....}}. +.............. +.............. +.............. +.............. +Level: +G +Patience End +Bricks: +@@@@@@@@@@@@@@ +@vvv@@v@v@@vv@ +@@v@@@v@v@@v@@ +@@v@@@vvv@@vv@ +@@v@@@v@v@@v@@ +@@v@@@v@v@@vv@ +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +@vvv@v@@v@vvv@ +@v@@@vv@v@@v@v +@vvv@v@vv@@v@v +@v@@@v@@v@@v@v +@vvv@v@@v@vvv@ +@@@@@@@@@@@@@@ +hhhhhhhhhhhhhh +iiiiiiiiiiiiii +gggggggggggggg +!!!!!!!!!!!!!! +Bonus: +55555555555555 +5...55.5.55..5 +55.555.5.55.55 +55.555.m.55..5 +55.555.5.55.55 +55.555.5.55..5 +55555555555555 +55555555555555 +5...5.55.5...5 +5.555..5.55.5. +5...5.5..55.5. +5.555.55.55.5. +5...5.55.5...5 +55555555555555 +m~>W......W>~m +~~>W......W>~~ +>>>W......W>>> +WWWW......WWWW +Level: +G +P.I.T.A. END +Bricks: +************** +hhh*h*h*hhh*** +*h**h*h*h***** +*h**hhh*hhh*** +*h**h*h*h***** +*h**h*h*hhh*** +************** +hhh*h**h*hhh** +h***hh*h**h*h* +hh**hh*h**h*h* +h***h*hh**h*h* +hhh*h**h*hhh** +************** +EEEEEEEEEEEEE* +************** +*******E****** +EEEEEEE*EEEEEE +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +f.f.f.f..f.f.f +f.f.f.f..f.f.f +.............. +.............. +Level: +G +Weirdness End +Bricks: +eeeeeeeeeeeeee +@@@@@e@e@e@@@e +@e@e@e@e@e@eee +ee@eee@@@e@@ee +ee@eee@e@e@eee +ee@eee@e@e@@@e +eeeeeeeeeeeeee +@@@@e@ee@e@@ee +@eeee@@e@e@e@e +@@@ee@e@@e@ee@ +@eeee@ee@e@ee@ +@@@@e@ee@e@@@e +eeeeeeeeeeeeee +.............. +.............. +.............. +.............. +.............. +Bonus: +f.f.f.f.f.f.f. +55555.5.5.555. +5m5.5.5m5.5m.. +..5...555.55.. +..5...5.5.5... +..5...5.5.555. +.f.f.f.f.f.f.f +5555.5..5.55.. +5....55m5.5.5m +555..5.55.5..5 +5m...5..5.5..5 +5555.5..5.555. +f.f.f.f.f.f.f. +.............. +.............. +.............. +.............. +.............. +Level: +G +Jedi Adventure End +Bricks: +vvvvvvvvvvvvv@ +v***v*v*v***v@ +vv*vv*v*v*vvv@ +@v*vv***v***v@ +@v*vv***v***v@ +@v*vv*v*v*vvv@ +@v*vv*v*v***v@ +vvvvvvvvvvvvvv +v***v**v*v***v +v*vvv**v*vv*v* +v***v*v**vv*v* +v***v*v**vv*v* +v*vvv*vv*vv*v* +v***v*vv*v***v +vvvvvvvvvvvvvv +.............. +.............. +.............. +Bonus: +.fff>...>...>. +.555.5f5.555.. +>.5f.5f5f5ff.. +..5..555.555.. +..5.>555>555.. +..5f.5f5.5ff.. +..5..5f5.555f. +>...>....>.... +.555.55f5.555. +.5ff.55f5..5f5 +.555.5f55.f5f5 +.555>5f55>.5f5 +.5ff.5..5..5f5 +.555.5..5.555. +>.f.>..f.>...f +.............. +.............. +.............. +Level: +G +AllNighter End +Bricks: +ccccccc@@@.... +c..c..c.@..... +c..c..c.@..... +...c....@@...@ +...c.c.c@@@@@@ +...c.c.c@ccc.@ +@..c.ccc@c.... +@@.c.c.c@cc... +@@@c.c.c@c.... +@@@@@@@@@ccc.@ +cccc...@@@@@@@ +c....c...c...@ +c....cc..c.cc. +ccc..c.c.c.c.c +c....c..cc.c.c +c....c...c.c.c +cccc.c...c.cc. +@@@@@@@@@@@@#. +Bonus: +5555555....... +5..5..5....... +5..5..5....... +...5.......... +...5.5.5...... +...5.5.5.555.. +...5.555.5.... +...5.5.5.55... +...5.5.5.5.... +.........555.. +5555.......... +5....5...5.... +5....55..5.55. +m55..5.5.5.5.5 +5....5..55.5.5 +5....5...5.5.5 +5555.5...5.55. +.............. +Level: +G +Lattices End +Bricks: +d.d.d.d.d.d.d. +.d.d.d.d.d.d.d +h.h.h.h.h.hhh. +.d.d.d.d.d.d.d +d.h.d.h.h.h.d. +.d.d.d.h.d.hhd +d.h.d.h.h.h.d. +.d.d.d.d.d.d.d +d.h.d.h.h.hhh. +.d.d.d.d.d.d.d +hhh.h.dhdhdhd. +.d.d.d.d.d.dhd +h.d.hhdhd.h.d. +.hhd.d.d.d.dhd +h.d.h.hhd.h.d. +.d.dd.d.dd.dhd +hhhdhd.h.hdh.d +d.d.d.d.d.d.d. +Bonus: +f.f.f.f.f.f.f. +.f.f.f.f.f.f.f +5.5.5.5.5.555. +.~.~.~.~.~.~.~ +..5...5.5.5... +.......5...55. +>.5.>.5.5.5.>. +.............. +..5...5.5.555. +.............. +555.5..5.5.5.. +............5. +5...55.5..5... +.55.........5. +5...5.55..5... +............5. +555.5..5.5.5.. +>.>.>.>.>.>.>. +Level: +G +The End +Bricks: +vvvvvvvvvvvvvv +.............v +.@@@.@.@.@@@.v +..@..@.@.@...v +v.@..@@@.@@@.v +v.@..@.@.@...v +v.@..@.@.@@@.v +.............. +.@@@.@..@.@@@. +.@...@@.@..@.@ +.@@@.@.@@..@.@ +.@...@..@..@.@ +.@@@.@..@.@@@. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +55555555555555 +.............5 +.............5 +.............5 +5............5 +5............5 +5............5 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 diff --git a/client/levels/TrickShot b/client/levels/TrickShot new file mode 100644 index 0000000..552ef80 --- /dev/null +++ b/client/levels/TrickShot @@ -0,0 +1,698 @@ +Version: 1.00 +Level: +G +Four Corners +Bricks: +!.!f......f!.! +...f......f... +!.@f......f@.! +ffff...hhhffff +...hhhhh...h.. +...h...h.!.h.. +...h.!.....h.. +...h....!.hh.. +...hh.!...h... +...h...!.hh... +..hh.!....h... +..h.....!.h... +..h.!.h...h... +..h...hhhhh... +ffffhhh...ffff +!.@f......f@.! +...f......f... +!.!f......f!.! +Bonus: +.5..........5. +555........555 +.5..........5. +.............. +........555... +....555.5.5... +....5.55555... +....5555.5.... +.....5.555.... +....555.5..... +....5.5555.... +...55555.5.... +...5.5.555.... +...555........ +.............. +.5..........5. +555........555 +.5..........5. +Level: +G +Easier Than It Looks +Bricks: +.............. +.iii.......... +.@@@......kkk. +..........@@@. +....hhh....... +....@@@....... +.......ggg.... +.......@@@.... +.............. +.fff.......... +.@@@.......... +.......jjj.... +.......@@@.... +....eee....... +....@@@...ddd. +..........@@@. +.............. +.............. +Bonus: +.............. +.555.......... +..........555. +.............. +....444....... +.............. +.......333.... +.............. +.............. +.222.......... +.............. +.......111.... +.............. +....000....... +.............. +.............. +.............. +.............. +Level: +G +A Bit Tricky +Bricks: +.....#..#..... +.!.!.#!!#.!.!. +..@..#..#..@.. +.!...#!!#...!. +....z....z.... +####.#..#.#### +d#d#......#d#d +d#d#......#d#d +d#d#......#d#d +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +55555.11.55555 +5.5.5....5.5.5 +55.55.11.55.55 +5.5........5.5 +555.5.bb.5.555 +.............. +w.w........w.w +.............. +>.>........>.> +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Skill Shots +Bricks: +!...#!..!#...! +..#........#.. +.##..####..##. +.#!..#..#..!#. +.#!..#!!#..!#. +.##..#..#..##. +....!#..#!.... +#...#!..!#...# +!...!#..#!...! +......!!...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.5....55....5. +55..555555..55 +...5......5... +...5......5... +...5......5... +...55....55... +...5......5... +.5.5......5.5. +.5.5..55..5.5. +55.555..555.55 +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +The "Matrix" +Bricks: +.............. +#.#.#.#.#.#.#. +h.h.h.h.h.h.h. +.............. +.............. +.#.#.#.#.#.#.# +.h.h.h.h.h.h.h +.............. +d.d.d.d.d.d.d. +#.#.#.#.#.#.#. +d.d.d.d.d.d.d. +.............. +.h.h.h.h.h.h.h +.#.#.#.#.#.#.# +.............. +.............. +h.h.h.h.h.h.h. +#.#.#.#.#.#.#. +Bonus: +.............. +.............. +l.5.5.5.5.5.l. +.............. +.............. +.............. +.5.5.5.5.5.5.5 +.............. +5.5.5.5.5.5.5. +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +.............. +.............. +5.5.5.5.5.5.5. +.............. +Level: +G +Up N Down +Bricks: +.............. +.............. +..@..@..@..@.. +.............. +.............. +.#h#d#j#f#g#i# +.#h#d#j#f#g#i# +.#h#d#j#f#g#i# +.############# +.############# +.#i#g#f#j#d#h# +.#i#g#f#j#d#h# +.#i#g#f#j#d#h# +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +.............. +.............. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +..5.5.5.5.5.5. +.............. +.............. +.............. +.............. +.............. +Level: +G +Puzzle I +Bricks: +!#..#!!!!#..#! +##..#!!!!#..## +h.h.#!!!!#.h.h +.h..#!!!!#..h. +h.h.######.h.h +....#!!!!#.... +....#!!!!#.... +....#!!!!#.... +....#!!!!#.... +....######.... +.###......###. +.#!#......#!#. +.###......###. +.............. +.............. +.............. +.............. +.............. +Bonus: +m5..555555..5m +55..555555..55 +f.f.555555.f.f +.m..555555..m. +f.f.555555.f.f +.....5555..... +.....5555..... +.....5555..... +.....5555..... +.............. +.............. +..l........l.. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Puzzle II +Bricks: +!............! +.@..........@. +.....####..... +....#!zz!#.... +....#z@@z#.... +###.#z@@z#.### +#c#.#z@@z#.#c# +#c#.#!zz!#.#c# +###..####..### +#c#.#!zz!#.#c# +#c#.#z@@z#.#c# +###.#z@@z#.### +....#z@@z#.... +....#!zz!#.... +.....####..... +.............. +.............. +.............. +Bonus: +m............m +.............. +.............. +.............. +......55...... +555...55...555 +5m5...55...5.5 +5.5........5.5 +5.5........5.5 +5.5........5.5 +5.5...55...5m5 +555...55...555 +......55...... +.............. +.............. +.............. +.............. +.............. +Level: +G +Tough Entry +Bricks: +@............@ +..#.!.!!.!.#.. +.##........##. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.#.!.!..!.!.#. +.#..........#. +.############. +Bonus: +...55555555... +...5.5..5.5... +...55555555... +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +..5.5.55.5.5.. +..5555555555.. +.............. +Level: +G +Target Scope Open +Bricks: +.............. +......@@...... +.............. +..####..####.. +..#........#.. +..#.*####*.#.. +..#.#*zz*#.#.. +..#.#z**z#.#.. +..#.#*zz*#.#.. +..#.#*zz*#.#.. +..#.#z**z#.#.. +..#.#*zz*#.#.. +..#.*####*.#.. +..#........#.. +..####..####.. +.............. +......@@...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +CrazyBounce +Bricks: +.............. +.@.@...@.@.... +..!.....!..... +.@.@...@.@.... +.............. +....@.@...@.@. +.....!.....!.. +....@.@...@.@. +.............. +.@.@...@.@.... +..!.....!..... +.@.@...@.@.... +.............. +....@.@...@.@. +.....!.....!.. +....@.@...@.@. +.............. +.............. +Bonus: +.............. +..5.....5..... +.5.5...5.5.... +..5.....5..... +.............. +.....5.....5.. +....5.5...5.5. +.....5.....5.. +.............. +..5.....5..... +.5.5...5.5.... +..5.....5..... +.............. +.....5.....5.. +....5.5...5.5. +.....5.....5.. +.............. +.............. +Level: +G +Symmetry +Bricks: +......EE...... +.............. +....cEccEc.... +....EEhhEE.... +.....EhhE..... +...E.EiiE.E... +.....EiiE..... +..EEcEccEcEE.. +..EggEiiEggE.. +..EggEiiEggE.. +..EggEhhEggE.. +..EccEhhEccE.. +..EEEEccEEEE.. +.............. +......EE...... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +......55...... +......55...... +......55...... +......55...... +....j.jj.j.... +...55.55.55... +...55.55.55... +...55.55.55... +......55..l... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Symmetry II +Bricks: +EEE#..jj..#EEE +Ehj#......#jhE +Ehj#.!..!.#jhE +EhjE......EjhE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +Eh.###..###.hE +Eh..........hE +Eh.###..###.hE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +EhjEjE..EjEjhE +EhjE......EjhE +EhjE.!..!.EjhE +Ehj#......#jhE +Ehj#..jj..#jhE +EEEE......EEEE +Bonus: +.............. +.55.555555.55. +.55.5.55.5.55. +.55.555555.55. +.55........55. +.55........55. +.55........55. +.5..........5. +.m..........5. +.5..........5. +.55........55. +.55........55. +.55........55. +.55.555555.55. +.55.5.55.5.55. +.55.555555.55. +.55...55...55. +.............. +Level: +G +Symmetry III +Bricks: +@@@@@...!@@@@@ +@...@.!..@...@ +@.!.@..!.@.!.@ +@...@!...@...@ +@@.@@@..@@@.@@ +k@.@k....k@.@k +.............. +k@..........@k +@@..........@@ +.............. +.@..........@. +d@..........@d +@@..........@@ +.............. +.............. +.............. +.............. +.............. +Bonus: +.....555...... +.555.5.55.555. +.5.5.55.5.5.5. +.555..555.555. +......5....... +5...+....+...5 +.............. +5............5 +.............. +.............. +.............. +m............l +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Symmetry Finale +Bricks: +e............e +@@@@.@hh@.@@@@ +e..@.@@@@.@..e +@............@ +@@@@.@@@@.@@@@ +e..@.@ee@.@..e +@............@ +@@@@......@@@@ +e..@......@..e +@............@ +@@@@.!..!.@@@@ +e..@......@..e +@............@ +@@@@......@@@@ +e..@.!..!.@..e +@............@ +@@@@......@@@@ +#####.##.##### +Bonus: +l............l +......mm...... +5............5 +.............. +.............. +5.....55.....5 +.............. +.............. +5............5 +....555555.... +....5.55.5.... +5...555555...5 +.............. +....555555.... +5...5.55.5...5 +....555555.... +.............. +.............. +Level: +G +Puzzle Finale +Bricks: +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +...j...j...j.. +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +...j...j...j.. +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +...j...j...j.. +###.###.###.## +#!#.#!#.#!#.#! +###.###.###.## +.............. +.............. +.............. +Bonus: +.............. +m............. +.............. +.......m...... +.............m +.............. +.............. +.............. +.............. +.............. +.............. +.......m...... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +The End +Bricks: +############## +#ccc##c#c#ccc# +##c###c#c#c### +c#c#c#ccc#ccc# +.#c#.#c#c#ccc# +.#c#.#c#c#c### +.#c#.#c#c#ccc# +.###.######### +.............. +############.. +ccc#c###cc##.. +c###cc##c#c#.. +ccc#c#c#c#c#.. +ccc#c#c#c#c#.. +c###c#c#c#c#.. +ccc#c#c#cc##.. +###########... +.............. +Bonus: +.............. +.555..5.5.555. +..5...5.5.5... +m.5.m.555.555. +..5...5.5.555. +..5...5.5.5... +..5...5.5.555. +.............. +.............. +.............. +555.5...55.... +5...55..5.5... +555.5.5.5.5... +555.5.5.5.5... +5...5.5.5.5... +555.5.5.55.... +.............. +.............. diff --git a/client/levels/Vader b/client/levels/Vader new file mode 100644 index 0000000..fb396f0 --- /dev/null +++ b/client/levels/Vader @@ -0,0 +1,411 @@ +Version: 1.04 +Level: +Bertrand GRONDIN +le mur vert +Bricks: +akkaaaaaaaaaaa +kkkkkkkkkkkkkk +@d@v@d@kv@k@vv +@d@v@d@vv@d@vv +@d@v@d@vv@d@vv +@@@v@@@vv@@@vv +vv***v****v*** +vvEEEvEEEEvEEE +vvjjjvjjjjvjjj +iiiiiiiiiiiiii +cc**cccc*ccc** +**###**###*### +iiiiiiiiiiiiii +xxxxxxxxxxxxxx +xxxxxxxxxxxxxx +.............. +.............. +.............. +Bonus: +55555555555555 +.mm.d..mmd.... +..m.m...mj..mm +........m..... +....m.~.mm.~.. +..j.+..mm+.j.. +.............. +&&............ +.............. +w~mmm~m..~mm.. +wb..<.>.>.>... +.............. +...5.5.5.5.... +....5.5.5.5... +.............. +...>.>.>.>.... +......ww...... +...b......b... +.............. +.............. +.............. +.............. +Level: +G +Yellow Demon +Bricks: +......h....... +.....hhhh...h. +........h..hhh +.....hhhh.hh.. +....hhhhhhh... +....hhhhhhh.h. +....h.hhhhhhh. +....hdhhhhh..h +....hddhhh.... +....h.hhh.dd.h +....hhh.h.dd.h +...hj...hh..h. +...hj...jh.h.. +...hj...j.hh.. +...h.j.j..hh.. +...hh.hhhhh... +....hhh....... +.............. +Bonus: +......>....... +............*. +...........55> +..........55.. +.........l5... +.............. +.............. +.....f........ +.....ff....... +..........ff.. +..........ff.. +....~......... +....~...~..... +....~...~..... +.....~.~...... +.............. +.............. +.............. +Level: +G +Everything But The... +Bricks: +.............. +.............. +.............. +cccccccccccccc +dddddddddddddd +cccccccccccccc +.............. +.............. +cccccccccccccc +gggggggggggggg +cccccccccccccc +.............. +.............. +cccccccccccccc +hhhhhhhhhhhhhh +cccccccccccccc +.............. +.............. +Bonus: +.............. +.............. +.............. +*0g3>-l1s1c}1f +.Wpd?1f0b.&w0. +0Wd+cf!}0<10>+ +.............. +.............. +3l}-1js3-5?>53 +.W.b00d44b.~.. +g?3&>+c<{2f2-* +.............. +.............. +>}0143242-Wgf> +b1-w..c.c.s.b. +fj{0?2p2Wg....>.w.w +w.>.>....>.>.w +.............. +.............. +.............. +.............. +Level: +G +S.L.O.W. +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +.............. +.............. +.............. +.............. +Bonus: +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +<<<<<<<<<<<<<< +gggggggggggggg +.............. +.............. +.............. +.............. +Level: +G +Death Flask +Bricks: +.............. +.............. +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +.....#.#...... +...###.####... +...#!...!!#... +...#!!!!!!#... +...#!!!!!!#... +...#!!!!!!#... +...########... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....555555.... +....555555.... +....555555.... +....555555.... +.............. +.............. +.............. +.............. +.............. +Level: +G +X +Bricks: +.............. +.............. +.............. +.iii......iii. +.i#ii....ii#i. +.ii#ii..ii#ii. +..ii#iiii#ii.. +...ii#ii#ii... +....ii##ii.... +....ii##ii.... +...ii#ii#ii... +..ii#iiii#ii.. +.ii#ii..ii#ii. +.i#ii....ii#i. +.iii......iii. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.b..........b. +.............. +.............. +......ww...... +......55...... +.....m..m..... +.....5..5..... +......55...... +.............. +.............. +.............. +.b..........b. +.............. +.............. +.............. +Level: +G +72 Nova +Bricks: +ggggggggggghgg +gggggggggghhhg +ggggggggghhhhh +gggggggggghhhg +ggggggggggghgg +gggggggggggggg +gggggjjjgggggg +ggggjvvvjggggg +gjjjjvvvvjjjgg +gjajjjjjjjajjg +gaaajjjjjaaajg +ggagggggggaggg +bbbbbbbbbbbbbb +.............. +.............. +.............. +.............. +.............. +Bonus: +.5.*....b..... +..>..b.5.....> +....0...b..+.. +....b.>....5.. +0......0...... +.>..5.w.....5. +........5+.... +..5........0.* +......0....... +.............. +..>.+.....>... +...0..5....... +...+.......... +.............. +.............. +.............. +.............. +.............. +Level: +G +One Chance 4 Points +Bricks: +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +j5555555555555 +55555555555555 +55555555555555 +Level: +G +Pattern +Bricks: +.............. +.............. +.............. +......cc...... +...cc....cc... +...cc....cc... +.............. +..c..c..c..c.. +.cc...cc...cc. +..c...cc...c.. +.....c..c..... +.............. +...cc....cc... +...cc....cc... +......cc...... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +......ll...... +...bb....WW... +...b>....>W... +.............. +..&..>..>..&.. +.fw...55...wf. +..s...55...s.. +.....>..>..... +.............. +...W>....>b... +...WW....bb... +......??...... +.............. +.............. +.............. +Level: +G +Chaos +Bricks: +......df.....h +g.i..dfk...h.. +..i.d.f.k.h..# +.gi.df...k.... +..gd###h....#. +.#.dfchc..k... +#.dfihi..i.ki. +...fgi##....k. +.#f###i..ii... +...hc#......k. +...h##g.....k. +..h..###g##... +..h......#gg.. +..h......####g +.............. +.............. +.............. +.............. +Bonus: +.............m +.............. +.............. +.............. +.............. +.....5........ +.............. +.............. +.............. +....5......... +.............. +.............. +..........5... +.............. +.............. +.............. +.............. +.............. +Level: +G +Tricky! +Bricks: +...#!....!#... +.!.#......#.!. +.!.#..##..#.!. +.....#..#..... +##..##!!##..## +.....#..#..... +.###.#!!#.###. +...#......#... +.!.#......#.!. +...#......#... +.!.#......#.!. +...#......#... +####......#### +@............@ +.............. +.............. +.............. +.............. +Bonus: +555..5..5..555 +5.5.55..55.5.5 +5.5........5.5 +555...55...555 +.............. +......55...... +.............. +555...55...555 +5.5........5.5 +555........555 +5.5........5.5 +555........555 +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Boom Boxes II +Bricks: +.............. +..zzz.zzz.zzz. +..z*z.z*z.z*z. +..zzz.zzz.zzz. +.............. +.zzz.zzz.zzz.. +.z*z.z*z.z*z.. +.zzz.zzz.zzz.. +.............. +.............. +.............. +..@..@..@..@.. +.............. +@.vvvvvvvvvv.@ +.............. +..@..@..@..@.. +.............. +.............. +Bonus: +.............. +..555.bbb.555. +..5w5.bjb.5w5. +..555.bbb.555. +.............. +.bbb.555.bbb.. +.bjb.5w5.bjb.. +.bbb.555.bbb.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Hard Crunchy Center +Bricks: +.............. +.............. +.............. +.............. +....EEEEEE.... +...aaaaaaaa... +..EabbbbbbaE.. +..EabbbbbbaE.. +..EabbccbbaE.. +..EabbccbbaE.. +..EabbbbbbaE.. +..EabbbbbbaE.. +...aaaaaaaa... +....EEEEEE.... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +...22222222... +...23333332... +...23444432... +...23455432... +...23455432... +...23444432... +...23333332... +...22222222... +.............. +.............. +.............. +.............. +.............. +Level: +G +Thirsty? +Bricks: +.............. +.............. +.............. +.............. +.............. +....#....#.... +...#iiiiii#.#. +..#ii#ii#i##v# +..#iiiiiii#vv# +..#i#iiii##vv# +..#ii####i#vv# +..#iiiiiii###. +...#iiiiii#... +....#iiii#.... +.....####..... +......#.#..... +.....##.##.... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +............5. +...........55. +........m..55. +.........5.55. +...3333445.... +....444455.... +.....5555..... +.............. +.............. +.............. +.............. +Level: +G +Baskets +Bricks: +i............i +ihh........hhi +ihhi#....#.hhi +ihhi#....#ihhi +ihhi#....#ihhi +ihhi#....#ihhi +ihhi#....#ihhi +zzzz#....#zzzz +#####....##### +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +4............4 +4............4 +4............4 +4............4 +4............4 +4............4 +4............4 +5555......5555 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Baseball +Bricks: +.............. +.............. +.....jjjj..... +....djjjjd.... +...jjdjjdjj... +..jjjdjjdjjj.. +..jjjdjjdjjj.. +..jjjdjjdjjj.. +..jjjdjjdjjj.. +...jjdjjdjj... +....djjjjd.... +.....jjjj..... +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +....b....b.... +.............. +.............. +......ww...... +.............. +.............. +.............. +....b....b.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Invisible +Bricks: +v.v........v.v +..v........v.. +..v........v.. +..v..v..v..v.. +..v..v..v..v.. +.vvvvv..vvvvv. +.....v..v..... +.....v..v..... +.v.vvv..vvv.v. +.v..........v. +.v..........v. +.v..........v. +.vvvvvvvvvvvv. +...v......v... +...v.v..v.v... +...v.v..v.v... +vvvv.vvvv.vvvv +.............. +Bonus: +w.5........5.w +..5........5.. +..5........5.. +..5..5..5..5.. +..5..5..5..5.. +.55555..55555. +.....5..5..... +.....5..5..... +.b.555..555.b. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Got Balls? +Bricks: +zzzzzzzzzzzzzz +############## +.!..!..!..!..! +.#.#.#.#.#.#.# +...!..!..!..!. +#.#.#.#.#.#.#. +.............. +@@@@..EE..@@@@ +cccccccccccccc +.............. +cccccccccccccc +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +55555555555555 +.............. +.m..l.....l..m +.............. +.............. +.............. +.............. +.............. +wbbbbbbbbbbbbw +.............. +bbbbbbbbbbbbbb +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Snake +Bricks: +.............. +.............. +........zz..z. +.......zzz..z. +......zz.z..z. +......z..z..z. +.....zz.zz..z. +....zz..zz.zz. +....zz..z..z.. +....z..zz..z.. +..zzz..z...z.. +.dzzz..z..zz.. +.zzz..zz..z... +.zzd..z..zz... +.zz...zzzz.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.m............ +.............. +...m.......... +.............. +.............. +.............. +.............. +Level: +G +Layer By Layer +Bricks: +zzzzzzzzzzzzzz +z************z +z*..........*z +z*.zzzzzzzz.*z +z*.z******z.*z +z*.z*....*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*.vv.*z.*z +z*.z*....*z.*z +z*.z******z.*z +z*.zzzzzzzz.*z +z*..........*z +z************z +zzzzzzzzzzzzzz +Bonus: +.............. +.222222222222. +.2..........2. +.2..........2. +.2..444444..2. +.2..4....4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4.55.4..2. +.2..4....4..2. +.2..444444..2. +.2.WWWWWWWW.2. +.2..........2. +.222222222222. +>>>>>>>>>>>>>> +Level: +G +CrazyFace +Bricks: +.............. +.............. +.....vvvv..... +..@@vvvvvv@@.. +..@@vvvvvv@@.. +..vvvv@@vvvv.. +..vvvv@@vvvv.. +..vvvv@@vvvv.. +..vvvv@@vvvv.. +..@@vvvvvv@@.. +..@@vvvvvv@@.. +...@@vvvv@@... +....@@@@@@.... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.....5555..... +....555555.... +....555555.... +..5555..5555.. +..5555..5555.. +..5555..5555.. +..5555..5555.. +....55ll55.... +....55mm55.... +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Tough Break +Bricks: +.............. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.ccchhhhhhccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.cccccccccccc. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWW555555WWW. +.WWWWWWWWWWWW. +.WWWWWWWWWWWW. +.WWWWWWWWWWWW. +.{{{{{{{{{{{{. +.............. +.............. +.............. +.............. +.............. +Level: +G +Tough Break II +Bricks: +.............. +.............. +.@.@.@@@@.@.@. +.@z@.@zz@.@z@. +.@@@.@..@.@@@. +.............. +.............. +.............. +cccccccccccccc +ihhhihhhihhhih +ihihihihihihih +ihihihihihihih +ihihihihihihih +hhihhhihhhihhh +vvvvvvvvvvvvvv +.............. +!!!!!!!!!!!!!! +.............. +Bonus: +.............. +.............. +.............. +..m...mm...m.. +.............. +.............. +.............. +.............. +l............l +g...g...g...g. +.............. +.............. +.............. +..g...g...g... +.............. +>>>>>>>>>>>>>> +55555555555555 +>>>>>>>>>>>>>> +Level: +G +Pattern II +Bricks: +.............. +.............. +......!!...... +....!....!.... +..!...!!...!.. +...!!.!!.!!... +...!......!.!. +.....!..!..... +!.!!..!!..!!.! +!.!!..!!..!!.! +.....!..!..... +...!......!.!. +...!!.!!.!!... +..!...!!...!.. +....!....!.... +......!!...... +.............. +.............. +Bonus: +.............. +.....2222..... +...222..222... +.222.2222.222. +.2.222..222.2. +.22..3..3..222 +..2.333333.2.2 +22233.55.33222 +.2..35..53..2. +.2..35..53..2. +22233.55.33222 +..2.333333.2.2 +.22..3..3..222 +.2.222..222.2. +.222.2222.222. +...222..222... +.....2222..... +.............. +Level: +G +Red Dragon +Bricks: +.............. +............d. +...........ddd +..........dd.d +.......ddddddd +.....h.ddddddd +......h.....d. +.hhhhhhh....d. +......h.....d. +.ggg.h.....dd. +.ggg......ddd. +.ggg.....ddddd +.ggg.....dd.dd +.........d...d +.........dd.dd +.........ddddd +...........d.. +...........ddd +Bonus: +.............. +............0. +...........0>0 +..........0>.> +.......00000>0 +.......0000000 +............0. +.......j....0. +............0. +...........00. +..p.......000. +..p......00000 +.........0?.?0 +.........0...0 +.........0?.?0 +.........00000 +...........0.. +...........000 +Level: +G +Columns +Bricks: +.............. +.............. +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.c.c.c.c.c.c.c +.............. +.............. +Bonus: +.............. +.............. +.l.}.>.-.c.-.+ +.s.3.1.W.1.}.} +.>.c.s.2.3.c.s +.1.2.3.}.s.3.0 +.}.-.-.1.0.f.> +.f.f.c.f.>.1.- +.3.1.2.+.-.s.1 +.{.b.b.3.b.b.f +.c.s.0.s.2.0.3 +.2.>.f.b.f.{.b +.+.0.+.0.}.+.2 +.-.W.}.>.{.2.c +.b.+.{.c.+.>.{ +.0.{.W.{.W.W.~ +.............. +.............. +Level: +G +Columns +Bricks: +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +vhhhhhhhhhhh#v +viiiiiiiiii#hv +vjjjjjjjjj#ihv +vkkkkkkkk#jihv +vaaaaaaa#kjihv +vdddddd#akjihv +veeeee#dakjihv +vffff#edakjihv +vggg#fedakjihv +vii#gfedakjihv +vh#igfedakjihv +v#higfedakjihv +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Chao-Twist +Bricks: +.............. +....!.#....... +..#...##....!. +..#.....#..... +...#.!..g#.... +...#....#..!.. +...#...#...... +....#....!.... +..!.#.#....... +....#......... +...#h#.!...... +..#hh#........ +..#hhh#....... +..##hhh#...... +....#hhh#..... +.....###h##h#. +.......##hh##. +.............. +Bonus: +...222........ +...2.2.....222 +...222.....2.2 +....222....222 +....2.2.m.222. +....222...2.2. +........22222. +.222....2.2... +.2.2....222... +.222..222..... +....5.2.2..... +...55.222..... +...555........ +....555....... +.....555...... +........5..5.. +.........55... +.............. +Level: +G +Bug +Bricks: +.............. +.............. +.#..........#. +#.#.######.#.# +...##****##... +.#.#******#.#. +#.##*#..#*##.# +...#*.!!.*#... +.#.#*.!!.*#.#. +#.##*#..#*##.# +...#******#... +...##****##... +....#.##.#.... +....#....#.... +....##..##.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.....5555..... +....555555.... +....5.mm.5.... +....5l..l5.... +....5l..l5.... +....5.mm.5.... +....555555.... +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Bust 'em Open! +Bricks: +.............. +......!!...... +.@@##....##@@. +.@hh#....#hh@. +.@hh#....#hh@. +.@@##....##@@. +.............. +.....##@@..... +.....#hh@..... +.....#hh@..... +.....##@@..... +.............. +.@@##....##@@. +.@hh#....#hh@. +.@hh#....#hh@. +.@@##....##@@. +.............. +.............. +Bonus: +......mm...... +.............. +.4444....4444. +.4..4....4.m4. +.4..4....4..4. +.4444....4444. +.............. +.....5555..... +.....5l.5..... +.....5..5..... +.....5555..... +.............. +.4444....4444. +.4m.4....4..4. +.4..4....4..4. +.4444....4444. +.............. +.............. +Level: +G +Skull +Bricks: +.............. +.............. +....v####v.... +..v########v.. +..##vv##vv##.. +..##vv##vv##.. +..##########.. +..####vv####.. +..v###vv###v.. +...v######v... +....######.... +....#vvvv#.... +....######.... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +....m......... +.............. +....55..55.... +...55555555... +...5..55..5... +...55.55.55... +..W.5.55.5.W.. +...W..55..W... +......55...... +.....5555..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +G +Randoom +Bricks: +........aE.... +e..d..d..E#.*. +*............. +......!....... +....!......... +........*.*... +...@.#e.E.!@.. +...d......@..d +...*...d...... +.a...........a +..#..a.#...@.. +ea..E..e...... +.....a..a!.@.. +*....E........ +..*.....E..... +.E.E........!. +.!...d......e. +...@...*...... +Bonus: +........5..... +m..5..5.....5. +.....555...... +...{{{.5...... +...{.{55...... +...{{{...f.f.. +......5..f.... +...5.....f.f.5 +...5...5...... +.5...........5 +.....5........ +55.....5WWW... +.....5..5.W... +5.......WWW... +..5........~~~ +>.>........~.~ +>.>..5.....~5~ +>>>....5...... +Level: +G +The End +Bricks: +eeeeeeeeeeeeee +@@@@@e@e@e@@@e +@e@e@e@e@e@eee +ee@eee@@@e@@ee +ee@eee@e@e@eee +ee@eee@e@e@@@e +eeeeeeeeeeeeee +@@@@e@ee@e@@ee +@eeee@@e@e@e@e +@@@ee@e@@e@ee@ +@eeee@ee@e@ee@ +@@@@e@ee@e@@@e +eeeeeeeeeeeeee +.............. +.............. +.............. +.............. +.............. +Bonus: +f.f.f.f.f.f.f. +55555.5.5.555. +5m5.5.5m5.5m.. +..5...555.55.. +..5...5.5.5... +..5...5.5.555. +.f.f.f.f.f.f.f +5555.5..5.55.. +5....55m5.5.5m +555..5.55.5..5 +5m...5..5.5..5 +5555.5..5.555. +f.f.f.f.f.f.f. +.............. +.............. +.............. +.............. +.............. diff --git a/client/levels/WonderWalls b/client/levels/WonderWalls new file mode 100644 index 0000000..ef6b09f --- /dev/null +++ b/client/levels/WonderWalls @@ -0,0 +1,575 @@ +Version: 1.00 +Level: +Nethippy +Green Wall +Bricks: +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +Nethippy +Blue Wall +Bricks: +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +Nethippy +Yellow Wall +Bricks: +.h.hhhhhhhh.h. +h.h.h.hh.h.h.h +.h.h.hhhh.h.h. +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +h.h.h.hh.h.h.h +hh.h.hhhh.h.hh +hhhhhhhhhhhhhh +Bonus: +.?.????????.?. +?.?.?.??.?.?.? +.?.?.????.?.?. +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?.?.?.??.?.?.? +??.?.????.?.?? +?????????????? +Level: +Nethippy +Slimey Purple +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiii.iii +iii.iiiiii.i.i +ii..iiiii..i.. +.i...iii...... +.i...i.i...... +.......i...... +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +??????????.??? +???.??????.?.? +??..?????..?.. +.?...???...... +.?...?.?...... +.......?...... +Level: +Nethippy +White X +Bricks: +jjjj......jjjj +jjjj......jjjj +jjjj......jjjj +jjj.j....j.jjj +jj.j.j..j.j.jj +j.j.j.jj.j.j.j +.j.j.jjjj.j.j. +..j.jjjjjj.j.. +...jjjjjjjj... +...jjjjjjjj... +..j.jjjjjj.j.. +.j.j.jjjj.j.j. +j.j.j.jj.j.j.j +jj.j.j..j.j.jj +jjj.j....j.jjj +jjjj......jjjj +jjjj......jjjj +jjjj......jjjj +Bonus: +????......???? +????......???? +????......???? +???.?....?.??? +??.?.?..?.?.?? +?.?.?.??.?.?.? +.?.?.????.?.?. +..?.??????.?.. +...????????... +...????????... +..?.??????.?.. +.?.?.????.?.?. +?.?.?.??.?.?.? +??.?.?..?.?.?? +???.?....?.??? +????......???? +????......???? +????......???? +Level: +Nethippy +Spiral +Bricks: +.............. +.............. +kkkkkkkkkkkkkk +k............k +k.kkkkkkkkkk.k +k.k........k.k +k.k.kkkkkk.k.k +k.k.k....k.k.k +k.k.k.kk.k.k.k +k.k.k..k.k.k.k +k.k.kkkk.k.k.k +k.k......k.k.k +k.kkkkkkkk.k.k +k..........k.k +kkkkkkkkkkkk.k +.............k +kkkkkkkkkkkkkk +.............. +Bonus: +.............. +.............. +?????????????? +?............? +?.??????????.? +?.?........?.? +?.?.??????.?.? +?.?.?....?.?.? +?.?.?.??.?.?.? +?.?.?..?.?.?.? +?.?.????.?.?.? +?.?......?.?.? +?.????????.?.? +?..........?.? +????????????.? +.............? +?????????????? +.............. +Level: +Nethippy +Red Maelstrom +Bricks: +.............. +.....ddddddd.. +....d.......d. +...d..ddddd..d +..d..d.....d.. +.d..d..ddd..d. +.d.d..d...d..d +.d.d.d..d..d.. +.d.d..dd.d..d. +.d..d.dd..d.d. +..d..d..d.d.d. +d..d......d.d. +.d..ddd..d..d. +..d.....d..d.. +d..ddddd..d... +.d.......d.... +..ddddddd..... +.............. +Bonus: +.............. +.....???????.. +....?.......?. +...?..?????..? +..?..?.....?.. +.?..?..???..?. +.?.?..?...?..? +.?.?.?..?..?.. +.?.?..??.?..?. +.?..?.??..?.?. +..?..?..?.?.?. +?..?......?.?. +.?..???..?..?. +..?.....?..?.. +?..?????..?... +.?.......?.... +..???????..... +.............. +Level: +Nethippy +Orange Checkerboard +Bricks: +.............. +....eee...eee. +....eee...eee. +....eee...eee. +....eee...eee. +.eee...eee.... +.eee...eee.... +.eee...eee.... +.eee...eee.... +....eee...eee. +....eee...eee. +....eee...eee. +....eee...eee. +.eee...eee.... +.eee...eee.... +.eee...eee.... +.eee...eee.... +.............. +Bonus: +.............. +....???...???. +....???...???. +....???...???. +....???...???. +.???...???.... +.???...???.... +.???...???.... +.???...???.... +....???...???. +....???...???. +....???...???. +....???...???. +.???...???.... +.???...???.... +.???...???.... +.???...???.... +.............. +Level: +Nethippy +Lattice +Bricks: +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +Nethippy +Graybar +Bricks: +.............. +.............. +.............. +.cccccccccccc. +.cbbbbbbbbbbc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbaaaaaaaabc. +.cbbbbbbbbbbc. +.cccccccccccc. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.????????????. +.............. +.............. +.............. +Level: +Nethippy +Invisible +Bricks: +vvv.vvv.vvv..v +v...v.v.v.v..v +v...v.v.v.v.vv +v.v.v.v.v.v.vv +vvv.vvv.vvv.vv +.............. +v..v.v.vv.v..v +v..v.v.v..v.v. +v..v.v.v..vv.. +v..v.v.v..v.v. +vv.vvv.vv.v..v +.............. +.............. +.v.v.v.v.v.v.v +.............. +.............. +.............. +.............. +Bonus: +???.???.???..? +?...?.?.?.?..? +?...?.?.?.?.?? +?.?.?.?.?.?.?? +???.???.???.?? +.............. +?..?.?.??.?..? +?..?.?.?..?.?. +?..?.?.?..??.. +?..?.?.?..?.?. +??.???.??.?..? +.............. +.............. +.?.?.?.?.?.?.? +.............. +.............. +.............. +.............. +Level: +Nethippy +White X II +Bricks: +jiiiiiiiiiiiij +jjiiiiiiiiiijj +jjjiiiiiiiijjj +jjjjiiiiiijjjj +jjjjjiiiijjjjj +jjjjjjiijjjjjj +ijjjjjjjjjjjji +iijjjjjjjjjjii +iiijjjjjjjjiii +iijjjjjjjjjjii +ijjjjjjjjjjjji +jjjjjjjjjjjjjj +jjjjjjiijjjjjj +jjjjjiiiijjjjj +jjjjiiiiiijjjj +jjjiiiiiiiijjj +jjiiiiiiiiiijj +jiiiiiiiiiiiij +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +Level: +Nethippy +Chaostars +Bricks: +.............. +.h.h.h.h.h.h.. +..!.h!h.!.h!h. +.h.h.h.h.h.h.. +.............. +..h.h.h.h.h.h. +.h!h.!.h!h.!.. +..h.h.h.h.h.h. +.............. +.h.h.h.h.h.h.. +..!.h!h.!.h!h. +.h.h.h.h.h.h.. +.............. +..h.h.h.h.h.h. +.h!h.!.h!h.!.. +..h.h.h.h.h.h. +.............. +.............. +Bonus: +.............. +.????????????. +.????????????. +.????????????. +.............. +.????????????. +.????????????. +.????????????. +.............. +.????????????. +.????????????. +.????????????. +.............. +.????????????. +.????????????. +.????????????. +.............. +.............. +Level: +Nethippy +The End +Bricks: +ccc.c.c.cccc.. +.c..c.c.c..... +.c..ccc.ccc... +.c..c.c.c..... +.c..c.c.cccc.. +.............. +.ccc.c...c.cc. +.c...cc..c.c.c +.cc..c.c.c.c.c +.c...c..cc.c.c +.ccc.c...c.cc. +.............. +cccccccccccccc +cccccccccccccc +cccccccccccccc +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +.5..5.5.5..... +.5..555.555... +.5..5.5.5..... +.5..5.5.5555.. +.............. +.555.5...5.55. +.5...55..5.5.5 +.55..5.5.5.5.5 +.5...5..55.5.5 +.555.5...5.55. +.............. +55555555555555 +55555555555555 +55555555555555 +}}}}}}}}}}}}}} +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> diff --git a/client/levels/Yoda b/client/levels/Yoda new file mode 100644 index 0000000..ce9daab --- /dev/null +++ b/client/levels/Yoda @@ -0,0 +1,124 @@ +Version: 1.04 +Level: +Bertrand GRONDIN +Ligne rouge +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +cccccccccccccc +cccccccccccccc +@@@@@@@@@@@@@e +jjjjjjjjjjjjjj +jjjjj****jjjjj +dddddddddddddd +dddddddddddddd +vvvvvvvvvvvvvv +!!!!!!!!!!!!!! +vvv*vvv*vvvv*v +vvvvvvvvvvvvvv +vv###v###vv### +xxxxxxxxxxxxxx +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +...m..m...m... +..l..l..l..l.m +wwww......wwww +ccc.......cccc +....+....+.... +.............. +....d~~~~d.... +.............. +.............. +*....*....*... +++...+...++... +bwbwbpp*bwbwb* +.............. +.............. +.............. +Level: +Bertrand GRONDIN +Murs rouges +Bricks: +hhhhhhhhhhhhhh +!!!!!!!!!!!!!! +*@*@*@*@*@*@*@ +cccccccccccccc +cccccccccccccc +@d@d@d@d@d@d@d +gddddddddddddg +gddvvvvvvvvddg +g@@vzzzzzzv@@g +g@@vz****zv@@g +g@@vz****zv@@g +g@@vz****zv@@g +g@@vz****zv@@g +g@@vz****zv@@g +g@@vz****zv@@g +!!!!!!!!!!!!!! +xxxxxxxxxxxxxx +.............. +Bonus: +55555555555555 +33333333333333 +...l.....l.... +4..w......w..4 +.............. +.m.mWm.m.mWm.. +2............2 +2..11111111..2 +2~~1w.>>.w1~~2 +2g-1......1g-2 +2..1..++..1..2 +2>>1>....>1>>2 +2ff1..**..1ff2 +2..1......1..2 +2j.1..jj..1j.2 +00000000000000 +w.bp}w.pbwpb{w +.............. +Level: +Bertrand GRONDIN +Alveoles +Bricks: +v*vv*vv*vv*vv* +!!!!!!!!!!!!!! +vvvvvvvvvvvvvv +v!@!!!!@!!!@!v +v@!@!!@!@!@!@v +v*!*!!*!*!*!*v +v@!@!!@!@!@!@v +v!@!!!!@!!!@!v +vvvvvvvvvvvvvv +hhzz!!cc!!zzhh +hhzz!!cc!!zzhh +hhzz*!cc*!zzhh +hhzz!*cc!*zzhh +hhzz!!cc!!zzhh +hhzz!!cc!!zzhh +hEEEEEEEEEEEEh +.............. +.............. +Bonus: +...5..5m.5..5. +.............. +...4.c4.c4..4. +.............. +.............. +...3.p3..3..3p +.............. +.*.2*.2..2..2. +?????????????? +1*l1..gg.1.l*1 +.............. +.............. +.............. +0...0...0..0.. +ww..........ww +w............w +.............. +.............. diff --git a/client/levels/Zooligan b/client/levels/Zooligan new file mode 100644 index 0000000..290ae18 --- /dev/null +++ b/client/levels/Zooligan @@ -0,0 +1,657 @@ +Version: 1.02 +Level: +Morosoph +Beginnings +Bricks: +.............. +..!..!..!..!.. +..y..y..y..y.. +..@..@..@..@.. +.............. +.xxxxxxxxxxxx. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..v..v..v..v.. +.............. +.............. +Bonus: +.............. +.............. +..b..m..*..b.. +..w..l..p..w.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..?..?..?..?.. +.............. +.............. +Level: +Morosoph +Hidden Danger +Bricks: +..*..*..*..*.. +.............. +yyyyyyyyyyyyyy +yxxxxxxxxxxxxy +.............. +v.v...v..v.v.. +....v..v...... +..@..@..@..@.v +.v.v..v..v..v. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +Bonus: +..5..*..m..4.. +.............. +..?.?.jj.?.?.. +.f.+.f>>f.+.f. +.............. +c.p...c..c.p.. +....c..c...... +.............c +.c.c..c..c..c. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +}{f}{!}{!}{f}{ +Level: +Morosoph +The Blues +Bricks: +.............. +.c..........c. +.c.vvvvvvvv.c. +.c..........c. +.c..........c. +.c.EEEEEEEE.c. +.c..........c. +.c..x....x..c. +.c..........c. +.c.E@#..#@E.c. +.............. +EEEE.EEEE.EEEE +.............. +.!!!.vvvv.!!!. +.!*!.vvvv.!*!. +.!!!.vvvv.!!!. +.............. +yyyyyyyyyyyyyy +Bonus: +.............. +.m..........m. +...34544543... +.............. +.............. +.............. +.............. +....m....m.... +.............. +...clc..clc... +.............. +.............. +.............. +.............. +..p...**...p.. +.............. +.............. +..w...>>...w.. +Level: +Morosoph +Patience +Bricks: +z.z.E.vv.E.z.z +z.z.@....@.z.z +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +zazaEaccaEazaz +EaEaEa@@aEaEaE +.............. +.............. +.............. +.............. +.............. +Bonus: +p.m...**...m.p +....l....l.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Morosoph +Green is Good +Bricks: +......@@...... +xxxxx.EE.xxxxx +xyyyx.EE.xyyyx +xyzyx.EE.xyzyx +xyyyx.EE.xyyyx +xxxxx.EE.xxxxx +......##...... +......##...... +@@EEE.##.EEE@@ +..v........v.. +..v........v.. +.EEE@@@@@@EEE. +.............. +*****.**.***** +*...*.**.*...* +*.d.*.**.*.d.* +*...*.**.*...* +*****.**.***** +Bonus: +......ll...... +b...g....g...b +.}.+......+.}. +..m........m.. +.+.}......}.+. +j...?....?...j +.............. +......ww...... +cc..........cc +..&........&.. +..f........f.. +....cccccc.... +.............. +{{{{{.W~.{{{{{ +{...{.{{.{...{ +{.~.{.{{.{.W.{ +{...{.{{.{...{ +{{{{{.{{.{{{{{ +Level: +Morosoph +Red and Green +Bricks: +......xx...... +.@....yy....@. +..y.@.xx.@.y.. +......yy...... +..@.E.xx.E.@.. +.............. +xEEE.@@@@.EEEx +....v....v.... +#@@@.EEEE.@@@# +.............. +.............. +.x.x.x..x.x.x. +.............. +.@.@.@..@.@.@. +.............. +y.y.y.yy.y.y.y +.............. +..v..v..v..v.. +Bonus: +.............. +.............. +..l........l.. +.............. +.............. +.............. +.............. +....m....m.... +.............. +.............. +.............. +...+......+... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Morosoph +Spiral Carpet +Bricks: +zzzzzzzzzzzzzz +zv..........vz +z............z +z.zzzzzzzzzz.z +z.zv......vz.z +z.z........z.z +z.z.zzzzzz.z.z +z.z.z....z.z.z +z.z.z.**.z.z.z +z.z.b.**.z.z.z +z.z......z.z.z +z.zzzzzzzz.z.z +z..........z.z +zv........vz.z +zzzzzzzzzzzz.z +.............z +............vz +vzzzzzzzzzzzzz +Bonus: +lddddddddddddm +df..........wd +d............d +d.cddddddddc.d +d.dw......fd.d +d.d........d.d +d.d.cddddc.d.d +d.d.d....d.d.d +d.d.d.*>.d.d.d +d.d.f.>*.d.d.d +d.d......d.d.d +d.cddddddc.d.d +d..........d.d +df........wd.d +cddddddddddc.d +.............d +............fd +wddddddddddddc +Level: +Morosoph +Blind Man's Bluff +Bricks: +v...@..v.Ev..v +..v........... +@....v.......@ +v......v.v.v.. +...vE....@.... +.............v +Ev...v..v.v..E +.............. +...v@..v.E..v. +v........v.... +@....v.......@ +..v.....v.v... +....E....@..v. +.....v........ +Ev.v...v..v..E +.............v +....@....E.... +v.v...v..v.v.. +Bonus: +m...b..d..d..m +..c........... +&....-.......& +>......c.>.{.. +...d.....w.... +.............> +.~...>..-.>... +.............. +...-l..{....d. +~........~.... +&....-.......& +..{.....d.~... +.........p..c. +.....~........ +.d.c...d..c... +.............c +....b......... +{.c...{..c.~.. +Level: +Morosoph +Security by Obscurity +Bricks: +.....z..z..... +...@......@... +..E........E.. +v..@.E..E.@..v +..E........E.. +...@......@... +..E..E..E..E.. +v..@......@..v +..E........E.. +...@.E..E.@... +..E........E.. +v..@......@..v +..E..@..@..E.. +.@.v......v.@. +..@.@....@.@.. +.E!E.@..@.E!E. +E............E +.............. +Bonus: +.....m..m..... +.............. +.............. +&............& +.............. +.............. +.............. +w............w +.............. +.............. +.............. +l............l +.............. +...b......b... +.............. +.............. +.............. +.............. +Level: +Morosoph +Monkey Traps +Bricks: +......EE...... +..@........@.. +.v.E!E..E!E.v. +.#..E.vv.E..#. +.....@..@..... +......EE...... +..E.E....E.E.. +.E...E..E...E. +.E.v.E..E.v.E. +..E!E....E!E.. +.E.E.E..E.E.E. +.............. +.............. +..@.@....@.@.. +.@...@..@...@. +.@.v.@..@.v.@. +..@!@....@!@.. +.@.@.@..@.@.@. +Bonus: +.............. +.............. +.4..........4. +...f.fllf.f... +.............. +.............. +.............. +.............. +...m......m... +.............. +..f.f....f.f.. +.............. +.............. +.............. +.............. +...*......*... +.............. +..f.f....f.f.. +Level: +Morosoph +Red Curse +Bricks: +*............* +*.!..!..!..!.* +*............* +************** +.............. +bbbbbb..bbbbbb +.............. +@EcE@EccE@EcE@ +.............. +vEEE.EEEE.EEEv +.............. +************** +.............. +@.@.@.@.@.@.@. +.!.!.!.!.!.!.! +.@.@.@.@.@.@.@ +.............. +************** +Bonus: +-W-fW-fW-fW-f- +*.?..?..?..?.* +>f>Wf>Wf>Wf>W> +{{{{{{{{{{{{{{ +.............. +W>->W-..-W>->W +.............. +..m...ll...m.. +.............. +m............m +.............. +{{{{{{{{{{{{{{ +.............. +.~w~.~.~w~.~.~ +W>W>W>W>W>W>W> +f.f.fwf.f.fwf. +.............. +{{{{{{{{{{{{{{ +Level: +Morosoph +Red or Dead +Bricks: +dddddddddddddd +.............. +.*.*.*..*.*.*. +.*.*.*..*.*.*. +.............. +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +.............. +*.*.*.**.*.*.* +*.*.*.**.*.*.* +.............. +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +Bonus: +WWWWWWWWWWWWWW +.............. +.*.*.*..*.*.*. +.*.*.*..*.*.*. +.............. +cccccccccccccc +~~~~~~~~~~~~~~ +-------------- +{{{{{{{{{{{{{{ +.............. +*.*.*.**.*.*.* +*.*.*.**.*.*.* +.............. +>>>>>>>>>>>>>> +cccccccccccccc +-------------- +{{{{{{{{{{{{{{ +.............. +Level: +Morosoph +Hornets' Nest +Bricks: +.b*bb*bb*bb*b. +.@###@##@###@. +.*...*...*...* +*.*@*.*@*.*@*. +.@.*.@.*.@.*.@ +*.*@*.*@*.*@*. +.*...*...*...* +.............. +@.*.@.*.@.*.@. +.*@*.*@*.*@*.* +@.*.@.*.@.*.@. +.*.*.*.*.*.*.* +....*...*...*. +.*.@...@...@.. +*@*.*@*.*@*.*@ +.*.@.*.@.*.@.* +*.*.*.*.*.*.*. +...*...*...*.. +Bonus: +...ml....lm... +.............. +.>...c...-...> +W.{c*.>.{.Wc*. +...-...*...{.. +{.>.W.-c>.c.>. +.c...{...W...{ +.............. +c.-...c...W.c. +.{c*.W.{.-.*.m +..>.....c.>... +...{.c.*.{...{ +....-...-...W. +.{.c.......c.. +c.W.{.>.W.{.>. +.-...-.c.>...{ +..{.W.{.-.W.c. +...>.......{.. +Level: +Morosoph +Hot and Cold +Bricks: +@@@@@@@@@@@@@@ +vvvvvvvvvvvvvv +.............. +aaaaaaaaaaaaaa +vvvvvvvvvvvvvv +.............. +@.*..*..*..*.@ +.............. +vvvvvvvvvvvvvv +xxxxxxxxxxxxxx +vvvvvvvvvvvvvv +@.E..E..E..E.@ +.............. +EE..@@@@@@..EE +.............. +vvvvvvvvvvvvvv +@.*..*..*..*.@ +vvvvvvvvvvvvvv +Bonus: +{{{{{{{{{{{{{{ +ffffffffffffff +.............. +!!!!!!!!!!!!!! +ffffffffffffff +.............. +l.*..*..*..*.l +.............. +ffmffwffwffmff +.............. +ffwffmffmffwff +l............l +.............. +....{{{{{{.... +.............. +ffffffffffffff +*.*..*..*..*.* +W.f..f..f..f.W +Level: +Morosoph +Snowed Under +Bricks: +.!.!.!.!.!.!.! +!v!v!v!v!v!v!v +.!.!.!.!.!.!.! +.............. +@.@.@.@.@.@.@. +.............. +.@.@.@.@.@.@.@ +.............. +cccccccccccccc +.............. +E.E.E.E.E.E.E. +.............. +.E.E.E.E.E.E.E +.............. +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.v.v.v.v.v.v.v +Bonus: +f~f~f~f~f~f~f~ +c?c?c?c?c?c?c? +fWfWfWfWfWfWfW +.............. +-.-.-.-.-.-.-. +.............. +.-.-.-.-.-.-.- +.............. +}p}w+m}!}l+<}s +.............. +.............. +.............. +.............. +.............. +cfcfcfcfcfcfcf +fWfWfWfWfWfWfW +>f>f>f>f>f>f>f +.{.{.{.{.{.{.{ +Level: +Morosoph +Nuclear Winter +Bricks: +************** +....E....E.... +vvvvvvvvvvvvvv +....E....E.... +*********@**** +....E....E.... +vvvvvvvvvvvvvv +....E....E.... +****@********* +....E....E.... +vvvvvvvvvvvvvv +....E....E.... +*********@**** +....E....E.... +vvvvvvvvvvvvvv +....E....E.... +****@********* +....E....E.... +Bonus: +ffffffffffffff +.............. +!!!!m!!!!m!!!! +.............. +ffffffffffffff +.............. +!!!!?!!!!?!!!! +.............. +ffffffffffffff +.............. +!!!!&!!!!&!!!! +.............. +ffffffffffffff +.............. +!!!! +#endif + +#ifdef __unix__ +#include #endif #include "lbreakout.h" @@ -38,6 +38,8 @@ #include "client.h" #include "../gui/gui.h" +#define CHART_FILE_NAME "lbreakout2.hscr" + extern int stk_quit_request; extern SDL_Surface *stk_display; extern Config config; @@ -47,11 +49,13 @@ extern SDL_Surface *mbkgnd, *cr_bkgnd; extern char *edit_set; extern char **levelset_names_local; /* non-network levelsets */ -extern int freakout_seed; +extern int gameSeed; /* used to compile net messages */ char msgbuf[MAX_MSG_SIZE]; int msglen = 0; + +FILE *hi_dir_chart_file = NULL; int main(int argc, char *argv[]) { @@ -60,7 +64,27 @@ char *editor_file = 0; char path[512]; SDL_Surface *loading; +#ifdef __unix__ + gid_t realgid; + + hi_dir_chart_file = fopen(HI_DIR "/" CHART_FILE_NAME, "r+"); + + /* This is where we drop our setuid/setgid privileges. + */ + realgid = getgid(); + if (setresgid(-1, realgid, realgid) != 0) { + perror("Could not drop setgid privileges. Aborting."); + exit(1); + } +#endif +/* i18n */ +#ifdef ENABLE_NLS + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); +#endif + #ifdef _WIN32 /* Get Windows to open files in binary mode instead of default text mode */ _fmode = _O_BINARY; @@ -77,7 +101,7 @@ set_random_seed(); /* set random seed */ config_load(); - + stk_init( SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER | SDL_INIT_JOYSTICK ); if ( config.fullscreen ) stk_display_open( SDL_SWSURFACE | SDL_FULLSCREEN, 640, 480, 16 ); @@ -144,6 +168,7 @@ break; case ACTION_PLAY_LBR: manager_fade( STK_FADE_OUT ); + gameSeed = rand(); /* set random seed for next FREAKOUT/BonusLevels */ if ( client_game_init_local( "LBreakout2" ) ) client_game_run(); client_game_finalize(); @@ -151,7 +176,9 @@ break; case ACTION_PLAY_CUSTOM: manager_fade( STK_FADE_OUT ); - freakout_seed = rand(); /* set random seed for next FREAKOUT game */ + gameSeed = rand(); /* set random seed for next FREAKOUT/BonusLevels */ + if (gameSeed==0) gameSeed=1; /* not allowed because.... A HACK!!! 0 means to have + no bonus levels to save a parameter */ if ( client_game_init_local( levelset_names_local[config.levelset_id_local] ) ) client_game_run(); client_game_finalize(); @@ -162,7 +189,7 @@ if ( strequal( NEW_SET, edit_set ) ) { editor_file = calloc( 16, sizeof( char ) ); snprintf( path, sizeof(path)-1, "%s/%s/lbreakout2-levels", getenv( "HOME" )? getenv("HOME"):".", CONFIG_DIR_NAME ); - if ( !enter_string( font, "Set Name:", editor_file, 12 ) || !file_check( path, editor_file, "w" ) ) { + if ( !enter_string( font, _("Set Name:"), editor_file, 12 ) || !file_check( path, editor_file, "w" ) ) { free( editor_file ); break; } @@ -205,6 +232,9 @@ stk_surface_free( &loading ); config_save(); + + if (hi_dir_chart_file) + fclose(hi_dir_chart_file); return EXIT_SUCCESS; } diff --git a/client/manager.c b/client/manager.c index 1ededf2..c01000a 100644 --- a/client/manager.c +++ b/client/manager.c @@ -55,74 +55,141 @@ /* hints */ #define HINT_ 0 -#define HINT_QUIT "There's nasty work out there waiting for you... better stay here!" -#define HINT_ANIM "If you turn animations low there'll be less details which will speed up the game a great deal." -#define HINT_TRP "Enable/disable transparency of bonuses and animations." -#define HINT_SHADOW "If you disable shadows it will speed up the game but won't look that good. ;-)" -#define HINT_BONUS_INFO "If this is enabled you'll see the time left for all bonuses and maluses at the right side of the screen." -#define HINT_DISPLAY "You may run LBreakout2 either fullscreen or windowed. This switch may be done anywhere by pressing 'f'." -#define HINT_FPS "You you don't want LBreakout2 to consume all of your CPU (best performance) limit the frame rate." -#define HINT_CONVEX "As long as this option is enabled the paddle is treated as convex allowing easy aiming. If you "\ +#define HINT_QUIT _("There's nasty work out there waiting for you... better stay here!") +#define HINT_ANIM _("If you turn animations low there'll be less details which will speed up the game a great deal.") +#define HINT_TRP _("Enable/disable transparency of bonuses and animations.") +#define HINT_SHADOW _("If you disable shadows it will speed up the game but won't look that good. ;-)") +#define HINT_BONUS_INFO _("If this is enabled you'll see the time left for all bonuses and maluses at the right side of the screen.") +#define HINT_DISPLAY _("You may run LBreakout2 either fullscreen or windowed. This switch may be done anywhere by pressing 'f'.") +#define HINT_FPS _("You you don't want LBreakout2 to consume all of your CPU (best performance) limit the frame rate.") +#define HINT_CONVEX _("As long as this option is enabled the paddle is treated as convex allowing easy aiming. If you "\ "disable this option the real physics will show up and you'll have to influence the ball by paddle movement "\ - "and the hemispherical ends. Just for cracks." -#define HINT_BALLLEVEL "If you can't see the ball because of thousands of bonuses coming down set this option to 'Above Bonuses'" -#define HINT_DEBRISLEVEL "If you can't see the ball because of all the debris coming down set this option to 'Below Balls'" -#define HINT_USEHINTS "Enable/disable these quick hints. See the manual for more information about how to use LBreakout2!" -#define HINT_KEYSPEED "Adjust the paddle speed for movement by keys. (pixels per second)" -#define HINT_PLAYERS "These are the number of players and their names. If one player looses a ball or restarts the level it's the next player's turn." -#define HINT_DIFF "KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-200#Bonus: -50% (no maluses, no bad speech)##"\ + "and the hemispherical ends. For cracks only!") +#define HINT_BALLLEVEL _("If you can't see the ball because of thousands of bonuses coming down set this option to 'Above Bonuses'") +#define HINT_DEBRISLEVEL _("If you can't see the ball because of all the debris coming down set this option to 'Below Balls'") +#define HINT_USEHINTS _("Enable/disable these quick hints. See the manual for more information about how to use LBreakout2!") +#define HINT_KEYSPEED _("Adjust the paddle speed for movement by keys. (pixels per second)") +#define HINT_PLAYERS _("These are the number of players and their names. If one player looses a ball or restarts the level it's the next player's turn.") +#define HINT_DIFF _("KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-200#Bonus: -50% (no maluses, no bad speech)##"\ "EASY:#Lives: 6 (max. 9)#Paddle Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##"\ "MEDIUM:#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/sec##"\ - "HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 pixels/sec#Bonus: +30%" -#define HINT_START_LBR "Play the original LBreakout2 levelset." -#define HINT_START_CUSTOM "Play the additional levelset selected below." -#define HINT_EDITOR_SET "This is the list of the levelsets found in ~/.lgames/lbreakout2-levels which you may edit. If you "\ + "HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 pixels/sec#Bonus: +30%") +#define HINT_START_LBR _("Play the original LBreakout2 levelset.") +#define HINT_START_CUSTOM _("Play the additional levelset selected below.") +#define HINT_EDITOR_SET _("This is the list of the levelsets found in ~/.lgames/lbreakout2-levels which you may edit. If you "\ "choose and click on 'Edit Set' below you'll be asked to enter a levelsetname and the new levelset " \ - "will be saved in a file by this name." -#define HINT_EDITOR_EDIT "Click here to edit the levelset chosen above.##NOTE: To switch to the bonus set you'll have to right-click on the brick set and vice versa!" -#define HINT_EDITOR_DELETE "Click here to delete the chosen levelset (after confirmation)." -#define HINT_KEYS "If you use the keyboard for input these are the keys for moving the paddle ('Paddle Turbo' will double the speed while pressed.), firing balls/shots and returning the ball to paddle after a timeout of ten seconds.##Note: If balls are fired at a random angle (which has become the default) "\ + "will be saved in a file by this name.") +#define HINT_EDITOR_EDIT _("Click here to edit the levelset chosen above.##NOTE: To switch to the bonus set you'll have to right-click on the brick set and vice versa!") +#define HINT_EDITOR_DELETE _("Click here to delete the chosen levelset (after confirmation).") +#define HINT_KEYS _("If you use the keyboard for input these are the keys for moving the paddle ('Paddle Turbo' will double the speed while pressed.), firing balls/shots and returning the ball to paddle after a timeout of ten seconds.##Note: If balls are fired at a random angle (which has become the default) "\ "there is no difference between the left or right fire key. A sticky paddle stops a ball until "\ "any fire button is pressed but the movement angle is the one from the normal reflection. To "\ "reset the movement angle to -50 or +50 degrees check out 'Ball Fire Angle' in 'Advanced Options'.##"\ -"While pressed, the 'Ball Turbo' will bring all balls to the maximum speed defined in 'Advanced Options'." -#define HINT_MOD "This modifies the relative motion of the mouse. (percent) "\ - "The higher this value is the faster the mouse moves." -#define HINT_INVERT "If for some reason your mouse movement is inverted you can fix it with this option." -#define HINT_RETURN "If a ball does not damage a brick within ten seconds it is allowed to return to the paddle. If this option is set "\ +"While pressed, the 'Ball Turbo' will bring all balls to the maximum speed defined in 'Advanced Options'.") +#define HINT_MOD _("This modifies the relative motion of the mouse. (percent) "\ + "The higher this value is the faster the mouse moves.") +#define HINT_INVERT _("If for some reason your mouse movement is inverted you can fix it with this option.") +#define HINT_RETURN _("If a ball does not damage a brick within ten seconds it is allowed to return to the paddle. If this option is set "\ "to 'Auto' it will automatically return and if this option is set to 'By Click' you'll have to press the middle mouse"\ - "button or the 'back'-key (default is Backspace)." -#define HINT_APPLY "Click here to apply the theme you selected above. Please check the manual at lgames.sf.net for information on how to " \ - "create a theme." -#define HINT_HOST "IP address of the game server as xxx.xxx.xxx.xxx.#DO NOT use 'localhost' if you run the server on your computer. You won't be able to challenge others. Use your IP queried by /sbin/ifconfig instead." -#define HINT_PORT "Port the game server is bound to." -#define HINT_USERNAME "If you're successfully connected to the game server this is your nickname there." -#define HINT_CONNECT "Connect to game server." -#define HINT_LOCAL "A local game with up to 4 alternating players." -#define HINT_NETWORK "A two-player or deathmatch game via Internet or LAN." - -char hint_levelset[400]; /* information about version and author of selected levelset */ -#define HINT_LEVELSET_APPENDIX "This is the levelset you actually want to play. Note, that each levelset got it's own highscore chart (left/right-click on the chart on the right)." \ - " A levelset is either load from ~/.lgames/lbreakout2-levels or the installation directory." + "button or the 'back'-key (default is Backspace).") +#define HINT_APPLY _("Click here to apply the theme you selected above. Please check the manual at lgames.sf.net for information on how to " \ + "create a theme.") +#define HINT_HOST _("IP address of the game server as xxx.xxx.xxx.xxx.#DO NOT use 'localhost' if you run the server on your computer. You won't be able to challenge others. Use your IP queried by /sbin/ifconfig instead.") +#define HINT_PORT _("Port the game server is bound to.") +#define HINT_USERNAME _("If you're successfully connected to the game server this is your nickname there.") +#define HINT_CONNECT _("Connect to game server.") +#define HINT_LOCAL _("A local game with up to 4 alternating players.") +#define HINT_NETWORK _("A two-player or deathmatch game via Internet or LAN.") + +char hint_levelset[1024]; /* information about version and author of selected levelset */ +#define HINT_LEVELSET_APPENDIX _("This is the levelset you actually want to play. Note, that each levelset got it's own highscore chart (left/right-click on the chart on the right)." \ + " A levelset is either load from ~/.lgames/lbreakout2-levels or the installation directory.") char hint_theme[512]; /* theme information */ -#define HINT_THEME_APPENDIX "This is the list of available themes. Choose any theme and click 'Apply' to select it" -#define HINT_WARP_LIMIT "After you destroyed this percentage of bricks you MAY warp to the next level by pressing 'w'. That is indicated by a small icon at the bottom right-hand side of the screen.#If you set this option to 0 you may instantly warp whereas 100 means you have to destroy all bricks.##"\ -"Note, that this option does not apply for the levelsets 'Original' and 'LBreakout1'!" -#define HINT_THEME "In this menu you can change the appearance of LBreakout. Included to the release are the three winning themes from the Linux Game Tome contest 'absoluteB','Oz' and 'Moiree' along with the old graphics as theme 'Classic'.#For more themes check out http://lgames.sf.net." -#define HINT_CORNER "Linear:#++ There is no chance for balls to get infinitely stuck in a brick bounce combo.#"\ +#define HINT_THEME_APPENDIX _("This is the list of available themes. Choose any theme and click 'Apply' to select it") +#define HINT_WARP_LIMIT _("After you destroyed this percentage of bricks you MAY warp to the next level by pressing 'w'. That is indicated by a small icon at the bottom right-hand side of the screen.#If you set this option to 0 you may instantly warp whereas 100 means you have to destroy all bricks.##"\ +"Note, that this option does not apply for the levelsets 'Original' and 'LBreakout1'!") +#define HINT_THEME _("In this menu you can change the appearance of LBreakout. Included to the release are the three winning themes from the Linux Game Tome contest 'absoluteB','Oz' and 'Moiree' along with the old graphics as theme 'Classic'.#For more themes check out http://lgames.sf.net.") +#define HINT_CORNER _("Linear:#++ There is no chance for balls to get infinitely stuck in a brick bounce combo.#"\ "-- It is quite hard for balls to enter narrow passages.##Spherical:#"\ "++ Feels better and balls can easily pass through small gaps.#"\ "-- There is a chance for balls to get infinitely stuck within a series of indestructible "\ "brick reflections if the level is too wrinkled. However, with the auto return option this "\ - "is no problem so 'Spherical' is the default." -#define HINT_LOCAL_PORT "Network communication is handled by a single UDP socket which will be "\ - "bound to this port number." -#define HINT_RANDOM_ANGLE "If '50' the ball is shot at an angle of 50 degrees to the left or "\ + "is no problem so 'Spherical' is the default.") +#define HINT_LOCAL_PORT _("Network communication is handled by a single UDP socket which will be "\ + "bound to this port number.") +#define HINT_RANDOM_ANGLE _("If '50' the ball is shot at an angle of 50 degrees to the left or "\ "right, depending on which fire button has been pressed. If it is set to 'random' the "\ "ball is fired at a random angle. In this case a sticky paddle simply halts "\ - "the normal reflection until any fire button has been pressed." -#define HINT_MAXBALLSPEED "While you keep the middle mouse button pressed (or the acceleration key) "\ - "all balls will go this velocity. (in pixels per second)" + "the normal reflection until any fire button has been pressed.") +#define HINT_MAXBALLSPEED _("While you keep the middle mouse button pressed (or the acceleration key) "\ + "all balls will go this velocity. (in pixels per second)") +#define HINT_BONUS_LEVELS _("If on, normal levelsets will have a random bonus level every four normal levels.##"\ + "Note: You can skip a bonus level any time by loosing the ball. This will not "\ + "loose a life but bring you directly to the next level.") +#define HINT_FREAKOUT _("Play *ALL* available levels in a random order.") +#define HINT_LBREAKOUT1 _("The complete levelset of LBreakout1 with just minor modifications.") +#define HINT_JUMPING_JACK _("There is only one brick with a limited lifetime. Your task is to hit "\ + "it before it vanishes. If you succeed, the brick is reset somewhere else "\ + "with less lifetime. If you don't, the game is over. The faster you hit "\ + "a brick, the more score you will gain. How much seconds a brick is still "\ + "there, you can see at the lower right-hand side of the screen.##"\ + "Loosing your ball means going to the next level.##"\ + "HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND "\ + "MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you won't "\ + "stand a chance as these levels require a lot of skill!") +#define HINT_OUTBREAK _("Your task is to prevent an outbreak by clearing all bricks. Every few seconds "\ + "a new one will appear somewhere, forcing you to act quickly. If you succeed "\ + "in clearing a level, it is reset to five bricks, but this time new ones will "\ + "spring into existence faster. You loose, if you cannot manage to clear the "\ + "screen before 50 bricks were created (which does not mean 50 bricks are on "\ + "the screen!). How far you are away from that limit you can see in the "\ + "lower right-hand side of the screen. Score is only gained for a complete "\ + "clearance, not for destroying single bricks! The farther you are way from "\ + "the 50 bricks limit the more it will be.##"\ + "Loosing your ball means going to the next level.##"\ + "HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND "\ + "MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you won't "\ + "stand a chance as these levels require a lot of skill!") +#define HINT_BARRIER _("This time you have to crush through a wall and hit some bricks behind it. "\ + "If you succeed the wall is reset and one line bigger next time. The earlier "\ + "you manage to break through, the more score you'll get. No surprise, is it? "\ + "What makes this fun, is the fact that the wall is moving towards you. If it "\ + "reaches your paddle, you are out. Whenever you successfully broke through, the "\ + "ball will return the paddle and get attached. You then have to fire it again. "\ + "The wall cannot grow bigger than 12 lines. How many lines the barrier is away from "\ + "your paddle, is shown in the lower right-hand side of the screen.##"\ + "Loosing your ball means going to the next level.##"\ + "HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND "\ + "MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you won't "\ + "stand a chance as these levels require a lot of skill!") +#define HINT_SITTING_DUCKS _("There are eight bricks and the ball is attached in the middle at the "\ + "ceiling. When it is released, one brick is highlighted and your task "\ + "is to hit this brick. If you manage to do so, you'll get some score "\ + "and the situation is reset. If you do not hit the highlighted brick "\ + "AS THE VERY FIRST THING, it will be destroyed until all bricks are gone. "\ + "The more bricks you hit in a row, the more score you will get for the next "\ + "one. The score's worth of the next brick you can see in the lower right-hand "\ + "side of the screen.##"\ + "Loosing your ball means going to the next level.") +#define HINT_HUNTER _("Your task is to hunt down bricks by moving a chaos brick indirectly. Therefore "\ + "each side of the playing field has a brick color and you can hit small pads bearing these colors. "\ + "When you hit one, the chaos brick will move toward the appropiate side. You must not hit "\ + "the bordering bricks and you must get to the brick within a time limit, as always "\ + "displayed in the lower right-hand side of the screen. The faster you are, the more score "\ + "you'll gain.##"\ + "Loosing your ball means going to the next level.##"\ + "HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND "\ + "MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you won't "\ + "stand a chance as these levels require a lot of skill!") +#define HINT_DEFENDER _("Stop the invading brick waves! Each waves consists of 50 bricks which will get "\ + "faster and faster. Each brick will give you some score. If you clear the screen completely, "\ + "the wave will also be over and you will receive some extra score depending on the number of remaining wave bricks. "\ + "One way or the other, if a wave is over, the next one will start with higher speed and more score until you let "\ + "a brick come down to paddle level.##"\ + "Loosing your ball means going to the next level.##"\ + "HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND "\ + "MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you won't "\ + "stand a chance as these levels require a lot of skill!") /* ==================================================================== @@ -168,10 +235,16 @@ char level_dir[512]; char file_name[64]; char *name; - int default_set_count = 2; + int default_set_count = 8; char *default_sets[] = { "LBreakout1", - "!FREAKOUT!" + TOURNAMENT, + _("!JUMPING_JACK!"), + _("!OUTBREAK!"), + _("!BARRIER!"), + _("!SITTING_DUCKS!"), + _("!HUNTER!"), + _("!INVADERS!") }; int i, j; /* clear previous lists */ @@ -299,8 +372,8 @@ { char fname[512]; /* do not delete file */ - if ( strequal( "", levelset_names_home[config.levelset_id_home] ) ) { - printf( "You cannot delete ''!\n" ); + if ( strequal( NEW_SET, levelset_names_home[config.levelset_id_home] ) ) { + printf( _("You cannot delete '%s'!\n"),NEW_SET ); return; } /* get file name + path */ @@ -353,26 +426,44 @@ int version, update; char author[32]; if ( STRCMP( levelset_names_local[config.levelset_id_local], TOURNAMENT ) ) { - sprintf( hint_levelset, "Play *ALL* available levels in a random order." ); - hint_set_contents( item_levelset->hint, hint_levelset ); - hint_set( item_levelset->hint ); /* redraw the hint */ + sprintf( hint_levelset, HINT_FREAKOUT ); } else if ( STRCMP( levelset_names_local[config.levelset_id_local], "LBreakout1" ) ) { - sprintf( hint_levelset, "The complete levelset of LBreakout1 with just minor modifications." ); - hint_set_contents( item_levelset->hint, hint_levelset ); - hint_set( item_levelset->hint ); /* redraw the hint */ + sprintf( hint_levelset, HINT_LBREAKOUT1 ); + } + else if ( STRCMP( levelset_names_local[config.levelset_id_local], _("!JUMPING_JACK!") ) ) { + sprintf( hint_levelset, HINT_JUMPING_JACK ); + } + else if ( STRCMP( levelset_names_local[config.levelset_id_local], _("!OUTBREAK!") ) ) { + sprintf( hint_levelset, HINT_OUTBREAK ); + } + else if ( STRCMP( levelset_names_local[config.levelset_id_local], _("!BARRIER!") ) ) { + sprintf( hint_levelset, HINT_BARRIER ); + } + else if ( STRCMP( levelset_names_local[config.levelset_id_local], _("!SITTING_DUCKS!") ) ) { + sprintf( hint_levelset, HINT_SITTING_DUCKS ); + } + else if ( STRCMP( levelset_names_local[config.levelset_id_local], _("!HUNTER!") ) ) { + sprintf( hint_levelset, HINT_HUNTER ); + } + else if ( STRCMP( levelset_names_local[config.levelset_id_local], _("!INVADERS!") ) ) { + sprintf( hint_levelset, HINT_DEFENDER ); } else if ( ( file = levelset_open( levelset_names_local[config.levelset_id_local], "rb" ) ) ) { levelset_get_version( file, &version, &update ); levelset_get_first_author( file, author ); - sprintf( hint_levelset, "%s v%i.%02i#Author: %s", + sprintf( hint_levelset, _("%s v%i.%02i#Author: %s"), levelset_names_local[config.levelset_id_local], version, update, author/*, HINT_LEVELSET_APPENDIX*/ ); - hint_set_contents( item_levelset->hint, hint_levelset ); - hint_set( item_levelset->hint ); /* redraw the hint */ fclose( file ); } + else + { + sprintf( hint_levelset, _("No info available.") ); + } + hint_set_contents( item_levelset->hint, hint_levelset ); + hint_set( item_levelset->hint ); /* redraw the hint */ select_chart( levelset_names_local[config.levelset_id_local], 1 ); } @@ -412,9 +503,9 @@ Item *item; int filter[SDLK_LAST]; /* key filter */ /* constant contence of switches */ - char *str_fps[] = { "No Limit", "100 FPS" }; - char *str_anim[] = { "Off", "Low", "Medium", "High" }; - char *str_diff[] = { "Kids", "Easy", "Medium", "Hard" }; + char *str_fps[] = { _("No Limit"), _("100 FPS") }; + char *str_anim[] = { _("Off"), _("Low"), _("Medium"), _("High") }; + char *str_diff[] = { _("Kids"), _("Easy"), _("Medium"), _("Hard") }; /* main: new game: @@ -509,106 +600,106 @@ /* menus are added to this list for deleting later */ menus = list_create( LIST_AUTO_DELETE, menu_delete ); /* create menus */ - _main = menu_create( "Menu", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + _main = menu_create( _("Menu"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); #ifdef _1 - options = menu_create( "Options", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); -#endif - gfx = menu_create( "Graphics", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); - game = menu_create( "Local Game", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); - cont = menu_create( "Controls", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); - adv = menu_create( "Advanced Options", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + options = menu_create( _("Options"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); +#endif + gfx = menu_create( _("Graphics"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + game = menu_create( _("Local Game"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + cont = menu_create( _("Controls"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + adv = menu_create( _("Advanced Options"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); #ifdef AUDIO_ENABLED - audio = menu_create( "Audio", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); -#endif - editor = menu_create( "Editor", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); - confirm_delete = menu_create( "Delete Set", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); - theme = menu_create( "Select Theme", MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + audio = menu_create( _("Audio"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); +#endif + editor = menu_create( _("Editor"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + confirm_delete = menu_create( _("Delete Set"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); + theme = menu_create( _("Select Theme"), MENU_LAYOUT_CENTERED, menu_x, menu_y, menu_w, menu_h, menu_border, 1 ); /* create items */ /* main menu */ - menu_add( _main, item_create_link ( "Local Game", HINT_LOCAL, game ) ); + menu_add( _main, item_create_link ( _("Local Game"), HINT_LOCAL, game ) ); #ifdef NETWORK_ENABLED - menu_add( _main, item_create_action ( "Network Game", HINT_NETWORK, ACTION_CLIENT ) ); -#endif - menu_add( _main, item_create_action ( "Quick Help", HINT_, ACTION_QUICK_HELP ) ); -// menu_add( _main, item_create_link ( "Select Theme", HINT_THEME, theme ) ); + menu_add( _main, item_create_action ( _("Network Game"), HINT_NETWORK, ACTION_CLIENT ) ); +#endif + menu_add( _main, item_create_action ( _("Quick Help"), HINT_, ACTION_QUICK_HELP ) ); +// menu_add( _main, item_create_link ( _("Select Theme"), HINT_THEME, theme ) ); menu_add( _main, item_create_separator ( "" ) ); #ifdef _1 - menu_add( _main, item_create_link ( "Options", options ) ); -#endif - menu_add( _main, item_create_link ( "Controls", HINT_, cont ) ); - menu_add( _main, item_create_link ( "Graphics", HINT_, gfx ) ); + menu_add( _main, item_create_link ( _("Options"), options ) ); +#endif + menu_add( _main, item_create_link ( _("Controls"), HINT_, cont ) ); + menu_add( _main, item_create_link ( _("Graphics"), HINT_, gfx ) ); #ifdef AUDIO_ENABLED - menu_add( _main, item_create_link ( "Audio", HINT_,audio ) ); + menu_add( _main, item_create_link ( _("Audio"), HINT_,audio ) ); #else - menu_add( _main, item_create_separator ( "Audio" ) ); -#endif - menu_add( _main, item_create_link ( "Advanced Options", HINT_, adv ) ); + menu_add( _main, item_create_separator ( _("Audio") ) ); +#endif + menu_add( _main, item_create_link ( _("Advanced Options"), HINT_, adv ) ); menu_add( _main, item_create_separator ( "" ) ); - menu_add( _main, item_create_link ( "Editor", HINT_, editor ) ); + menu_add( _main, item_create_link ( _("Editor"), HINT_, editor ) ); menu_add( _main, item_create_separator ( "" ) ); - menu_add( _main, item_create_action ( "Quit", HINT_QUIT, ACTION_QUIT ) ); + menu_add( _main, item_create_action ( _("Quit"), HINT_QUIT, ACTION_QUIT ) ); #ifdef _1 /* options */ - menu_add( options, item_create_link( "Controls", HINT_, cont ) ); - menu_add( options, item_create_link( "Graphics", HINT_, gfx ) ); - menu_add( options, item_create_link( "Audio", HINT_, audio ) ); - menu_add( options, item_create_separator( "Audio" ) ); + menu_add( options, item_create_link( _("Controls"), HINT_, cont ) ); + menu_add( options, item_create_link( _("Graphics"), HINT_, gfx ) ); + menu_add( options, item_create_link( _("Audio"), HINT_, audio ) ); + menu_add( options, item_create_separator( _("Audio") ) ); menu_add( options, item_create_separator( "" ) ); - menu_add( options, item_create_link( "Back", _main ) ); + menu_add( options, item_create_link( _("Back"), _main ) ); #endif /* audio */ #ifdef AUDIO_ENABLED - item = item_create_switch( "Sound:", HINT_, &config.sound, "Off", "On" ); + item = item_create_switch( _("Sound:"), HINT_, &config.sound, _("Off"), _("On") ); item->callback = cb_sound; menu_add( audio, item ); - menu_add( audio, item_create_switch( "Speech:", HINT_, &config.speech, "Off", "On" ) ); - item = item_create_range( "Volume:", HINT_, &config.volume, 1, 8, 1 ); + menu_add( audio, item_create_switch( _("Speech:"), HINT_, &config.speech, _("Off"), _("On") ) ); + item = item_create_range( _("Volume:"), HINT_, &config.volume, 1, 8, 1 ); item->callback = cb_volume; menu_add( audio, item ); menu_add( audio, item_create_separator( "" ) ); - menu_add( audio, item_create_link( "Back", HINT_, _main ) ); + menu_add( audio, item_create_link( _("Back"), HINT_, _main ) ); #endif /* gfx */ - menu_add( gfx, item_create_switch_x( "Animations:", HINT_ANIM, &config.anim, str_anim, 4 ) ); - menu_add( gfx, item_create_switch( "Bonus Info:", HINT_BONUS_INFO, &config.bonus_info, "Off", "On" ) ); + menu_add( gfx, item_create_switch_x( _("Animations:"), HINT_ANIM, &config.anim, str_anim, 4 ) ); + menu_add( gfx, item_create_switch( _("Bonus Info:"), HINT_BONUS_INFO, &config.bonus_info, _("Off"), _("On") ) ); menu_add( gfx, item_create_separator( "" ) ); - item = item_create_switch( "Display:", HINT_DISPLAY, &config.fullscreen, "Window", "Fullscreen" ); + item = item_create_switch( _("Display:"), HINT_DISPLAY, &config.fullscreen, _("Window"), _("Fullscreen") ); item->callback = cb_fullscreen; menu_add( gfx, item ); - menu_add( gfx, item_create_switch_x( "Frame Rate:", HINT_FPS, &config.fps, str_fps, 2 ) ); + menu_add( gfx, item_create_switch_x( _("Frame Rate:"), HINT_FPS, &config.fps, str_fps, 2 ) ); menu_add( gfx, item_create_separator( "" ) ); - menu_add( gfx, item_create_link( "Select Theme", HINT_THEME, theme ) ); + menu_add( gfx, item_create_link( _("Select Theme"), HINT_THEME, theme ) ); menu_add( gfx, item_create_separator( "" ) ); - menu_add( gfx, item_create_link( "Back", HINT_, _main ) ); + menu_add( gfx, item_create_link( _("Back"), HINT_, _main ) ); /* game */ - item_resume_0 = item_create_action( "Resume Last Game", "???", ACTION_RESUME_0 ); + item_resume_0 = item_create_action( _("Resume Last Game"), "???", ACTION_RESUME_0 ); menu_add( game, item_resume_0 ); slot_update_hint( 0, item_resume_0->hint ); - menu_add( game, item_create_action( "Start Original Set", HINT_START_LBR, ACTION_PLAY_LBR ) ); - menu_add( game, item_create_action( "Start AddOn", HINT_START_CUSTOM, ACTION_PLAY_CUSTOM ) ); + menu_add( game, item_create_action( _("Start Original Set"), HINT_START_LBR, ACTION_PLAY_LBR ) ); + menu_add( game, item_create_action( _("Start AddOn"), HINT_START_CUSTOM, ACTION_PLAY_CUSTOM ) ); //menu_add( game, item_create_separator( "" ) ); - item_levelset = item_create_switch_x( "AddOn:", "", &config.levelset_id_local, levelset_names_local, levelset_count_local ); + item_levelset = item_create_switch_x( _("AddOn:"), "", &config.levelset_id_local, levelset_names_local, levelset_count_local ); item_levelset->callback = cb_update_levelset_hint; cb_update_levelset_hint(); /* initiate first hint */ menu_add( game, item_levelset ); - menu_add( game, item_create_switch_x( "Difficulty:", HINT_DIFF, &config.diff, str_diff, DIFF_COUNT ) ); + menu_add( game, item_create_switch_x( _("Difficulty:"), HINT_DIFF, &config.diff, str_diff, DIFF_COUNT ) ); menu_add( game, item_create_separator( "" ) ); - menu_add( game, item_create_range( "Players:", HINT_PLAYERS, &config.player_count, 1, 4, 1 ) ); - menu_add( game, item_create_edit( "1st:", HINT_PLAYERS, config.player_names[0], 12 ) ); - menu_add( game, item_create_edit( "2nd:", HINT_PLAYERS, config.player_names[1], 12 ) ); - menu_add( game, item_create_edit( "3rd:", HINT_PLAYERS, config.player_names[2], 12 ) ); - menu_add( game, item_create_edit( "4th:", HINT_PLAYERS, config.player_names[3], 12 ) ); + menu_add( game, item_create_range( _("Players:"), HINT_PLAYERS, &config.player_count, 1, 4, 1 ) ); + menu_add( game, item_create_edit( _("1st:"), HINT_PLAYERS, config.player_names[0], 12 ) ); + menu_add( game, item_create_edit( _("2nd:"), HINT_PLAYERS, config.player_names[1], 12 ) ); + menu_add( game, item_create_edit( _("3rd:"), HINT_PLAYERS, config.player_names[2], 12 ) ); + menu_add( game, item_create_edit( _("4th:"), HINT_PLAYERS, config.player_names[3], 12 ) ); menu_add( game, item_create_separator( "" ) ); - menu_add( game, item_create_link( "Back", HINT_, _main ) ); + menu_add( game, item_create_link( _("Back"), HINT_, _main ) ); /* controls */ - keys[0] = item_create_key( "Left:", HINT_KEYS, &config.k_left, filter ); - keys[1] = item_create_key( "Right:", HINT_KEYS, &config.k_right, filter ); - keys[2] = item_create_key( "Left Fire:", HINT_KEYS, &config.k_lfire, filter ); - keys[3] = item_create_key( "Right Fire:", HINT_KEYS, &config.k_rfire, filter ); - keys[4] = item_create_key( "Paddle Turbo:", HINT_KEYS, &config.k_turbo, filter ); - keys[5] = item_create_key( "Ball Turbo:", HINT_KEYS, &config.k_maxballspeed, filter ); - keys[6] = item_create_key( "Return:", HINT_KEYS, &config.k_return, filter ); -// keys[6] = item_create_key( "Warp:", HINT_KEYS, &config.k_warp, filter ); + keys[0] = item_create_key( _("Left:"), HINT_KEYS, &config.k_left, filter ); + keys[1] = item_create_key( _("Right:"), HINT_KEYS, &config.k_right, filter ); + keys[2] = item_create_key( _("Left Fire:"), HINT_KEYS, &config.k_lfire, filter ); + keys[3] = item_create_key( _("Right Fire:"), HINT_KEYS, &config.k_rfire, filter ); + keys[4] = item_create_key( _("Paddle Turbo:"), HINT_KEYS, &config.k_turbo, filter ); + keys[5] = item_create_key( _("Ball Turbo:"), HINT_KEYS, &config.k_maxballspeed, filter ); + keys[6] = item_create_key( _("Return:"), HINT_KEYS, &config.k_return, filter ); +// keys[6] = item_create_key( _("Warp:"), HINT_KEYS, &config.k_warp, filter ); for ( i = 0; i < 7; i++ ) menu_add( cont, keys[i] ); /* dynamic restriction */ @@ -618,61 +709,62 @@ value_add_other_key( keys[i]->value, keys[j]->value ); /* other control stuff */ menu_add( cont, item_create_separator( "" ) ); - item = item_create_range( "Key Speed:", HINT_KEYSPEED, &config.i_key_speed, 100, 1000, 50 ); + item = item_create_range( _("Key Speed:"), HINT_KEYSPEED, &config.i_key_speed, 100, 1000, 50 ); item->callback = cb_set_keyspeed; menu_add( cont, item ); - item = item_create_range( "Motion Modifier:", HINT_MOD, &config.i_motion_mod, 40, 160, 5 ); + item = item_create_range( _("Motion Modifier:"), HINT_MOD, &config.i_motion_mod, 40, 160, 5 ); item->callback = cb_set_motion_mod; menu_add( cont, item ); - menu_add( cont, item_create_switch( "Invert Motion:", HINT_INVERT, &config.invert, "Off", "On" ) ); + menu_add( cont, item_create_switch( _("Invert Motion:"), HINT_INVERT, &config.invert, _("Off"), _("On") ) ); menu_add( cont, item_create_separator( "" ) ); - menu_add( cont, item_create_link( "Back", HINT_, _main ) ); + menu_add( cont, item_create_link( _("Back"), HINT_, _main ) ); /* advanced options */ - menu_add( adv, item_create_switch( "Convex Paddle:", HINT_CONVEX, &config.convex, "Off", "On" ) ); - //menu_add( adv, item_create_switch( "Corner:", HINT_CORNER, &config.linear_corner, "Spherical", "Linear" ) ); + menu_add( adv, item_create_switch( _("Convex Paddle:"), HINT_CONVEX, &config.convex, _("Off"), _("On") ) ); + //menu_add( adv, item_create_switch( _("Corner:"), HINT_CORNER, &config.linear_corner, _("Spherical"), _("Linear") ) ); menu_add( adv, - item_create_switch( "Ball Fire Angle:", + item_create_switch( _("Ball Fire Angle:"), HINT_RANDOM_ANGLE, &config.random_angle, - "50", "Random" ) ); - menu_add( adv, item_create_switch( "Balls:", HINT_BALLLEVEL, &config.ball_level, "Below Bonuses", "Above Bonuses" ) ); - menu_add( adv, item_create_switch( "Debris:", HINT_DEBRISLEVEL, &config.debris_level, "Below Balls", "Above Balls" ) ); - menu_add( adv, item_create_switch( "Return Balls:", HINT_RETURN, &config.return_on_click, "Auto", "By Click" ) ); - item = item_create_switch( "Use Hints:", HINT_USEHINTS, &config.use_hints, "Off", "On" ); + "50", _("Random") ) ); + menu_add( adv, item_create_switch( _("Balls:"), HINT_BALLLEVEL, &config.ball_level, _("Below Bonuses"), _("Above Bonuses") ) ); + menu_add( adv, item_create_switch( _("Debris:"), HINT_DEBRISLEVEL, &config.debris_level, _("Below Balls"), _("Above Balls") ) ); + menu_add( adv, item_create_switch( _("Return Balls:"), HINT_RETURN, &config.return_on_click, _("Auto"), _("By Click") ) ); + item = item_create_switch( _("Use Hints:"), HINT_USEHINTS, &config.use_hints, _("Off"), _("On") ); item->callback = cb_hints; menu_add( adv, item ); - menu_add( adv, item_create_range( "Warp Limit:", HINT_WARP_LIMIT, &config.rel_warp_limit, 0, 100, 10 ) ); - menu_add( adv, item_create_edit( "Local UDP Port:", HINT_LOCAL_PORT, config.local_port, 6 ) ); - item = item_create_range( "Acc. Ball Speed:", HINT_MAXBALLSPEED, &config.maxballspeed_int1000, 600, 900, 20 ); + menu_add( adv, item_create_range( _("Warp Limit:"), HINT_WARP_LIMIT, &config.rel_warp_limit, 0, 100, 10 ) ); + menu_add( adv, item_create_edit( _("Local UDP Port:"), HINT_LOCAL_PORT, config.local_port, 6 ) ); + item = item_create_range( _("Acc. Ball Speed:"), HINT_MAXBALLSPEED, &config.maxballspeed_int1000, 600, 900, 20 ); item->callback = cb_maxballspeed; menu_add( adv, item ); + menu_add( adv, item_create_switch( _("Add Bonus Levels:"), HINT_BONUS_LEVELS, &config.addBonusLevels, _("Off"), _("On") ) ); menu_add( adv, item_create_separator( "" ) ); - menu_add( adv, item_create_link( "Back", HINT_, _main ) ); + menu_add( adv, item_create_link( _("Back"), HINT_, _main ) ); /* editor */ item_set = item_create_switch_x( - "Set:", HINT_EDITOR_SET, + _("Set:"), HINT_EDITOR_SET, &config.levelset_id_home, levelset_names_home, levelset_count_home ); item_set->callback = cb_update_edit_set; menu_add( editor, item_set ); - menu_add( editor, item_create_action( "Edit Set", HINT_EDITOR_EDIT, ACTION_EDIT ) ); - menu_add( editor, item_create_link( "Delete Set", HINT_EDITOR_DELETE, confirm_delete ) ); + menu_add( editor, item_create_action( _("Edit Set"), HINT_EDITOR_EDIT, ACTION_EDIT ) ); + menu_add( editor, item_create_link( _("Delete Set"), HINT_EDITOR_DELETE, confirm_delete ) ); menu_add( editor, item_create_separator( "" ) ); - menu_add( editor, item_create_link( "Back", HINT_, _main ) ); + menu_add( editor, item_create_link( _("Back"), HINT_, _main ) ); /* confirm_delete set */ - item = item_create_link( "Yes", HINT_ ,editor ); + item = item_create_link( _("Yes"), HINT_ ,editor ); item->callback = cb_delete_set; menu_add( confirm_delete, item ); - menu_add( confirm_delete, item_create_link( "No", HINT_, editor ) ); + menu_add( confirm_delete, item_create_link( _("No"), HINT_, editor ) ); /* theme */ - item_theme = item_create_switch_x( "Theme:", "", &config.theme_id, theme_names, theme_count ); + item_theme = item_create_switch_x( _("Theme:"), "", &config.theme_id, theme_names, theme_count ); menu_add( theme, item_theme ); item_theme->callback = cb_update_theme_hint; cb_update_theme_hint(); menu_add( theme, item_create_separator( "" ) ); - item = item_create_link( "Apply", HINT_APPLY, gfx ); + item = item_create_link( _("Apply"), HINT_APPLY, gfx ); item->callback = cb_change_theme; menu_add( theme, item ); - menu_add( theme, item_create_link( "Cancel", HINT_, gfx ) ); + menu_add( theme, item_create_link( _("Cancel"), HINT_, gfx ) ); /* adjust all menus */ menu_adjust( _main ); diff --git a/client/menu.c b/client/menu.c index 4079bbb..4187e98 100644 --- a/client/menu.c +++ b/client/menu.c @@ -201,6 +201,9 @@ case SDLK_RIGHT: if ( !menu->cur_item ) break; item_used = 1; + /* callback */ + callback = menu->cur_item->callback; + /* action */ switch ( menu->cur_item->type ) { case ITEM_SWITCH: case ITEM_SWITCH_X: @@ -210,13 +213,18 @@ default: item_used = 0; break; } #ifdef AUDIO_ENABLED - if ( item_used ) + if ( item_used ) { stk_sound_play( wav_menu_click ); #endif + if ( callback ) (callback)(); + } break; case SDLK_LEFT: if ( !menu->cur_item ) break; item_used = 1; + /* callback */ + callback = menu->cur_item->callback; + /* action */ switch ( menu->cur_item->type ) { case ITEM_SWITCH: case ITEM_SWITCH_X: @@ -226,9 +234,11 @@ default: item_used = 0; break; } #ifdef AUDIO_ENABLED - if ( item_used ) + if ( item_used ) { stk_sound_play( wav_menu_click ); #endif + if ( callback ) (callback)(); + } break; case SDLK_UP: menu_up( menu ); diff --git a/client/misc.c b/client/misc.c index b13b3fb..20abdd2 100644 --- a/client/misc.c +++ b/client/misc.c @@ -144,15 +144,19 @@ } } else - switch (event.key.keysym.sym) { - case SDLK_y: + { + char *keyName = SDL_GetKeyName(event.key.keysym.sym); + char *yesLetter = _("y"); + char *noLetter = _("n"); + if (strcmp(keyName, yesLetter) == 0) { go_on = 0; ret = 1; - break; - case SDLK_ESCAPE: - case SDLK_n: + } + else + if (event.key.keysym.sym==SDLK_ESCAPE || strcmp(keyName, noLetter) == 0 ) { go_on = 0; ret = 0; + } default: break; } @@ -205,7 +209,7 @@ stk_wait_for_input(); net_write_empty_msg( peer, MSG_READY ); draw_confirm_screen( font, buffer, - "Waiting for remote answer..." ); + _("Waiting for remote answer...") ); stk_display_update( STK_UPDATE_ALL ); event_clear_sdl_queue(); while ( !leave ) { @@ -224,7 +228,7 @@ break; case MSG_GAME_EXITED: ret = 0; leave = 1; - sprintf( error, "remote player cancelled the game\n" ); + sprintf( error, /* xgettext:no-c-format */ _("remote player cancelled the game\n") ); confirm( font, error, CONFIRM_ANY_KEY ); break; } @@ -411,7 +415,7 @@ i*BRICK_WIDTH, j*BRICK_HEIGHT, 128 ); /* info */ font->align = STK_FONT_ALIGN_LEFT; - sprintf( buf, "Plane Of Inner Stability entered (Score: %i)", + sprintf( buf, _("Plane Of Inner Stability entered (Score: %i)"), l_paddle->player->stats.total_score + l_paddle->score ); stk_font_write( font, stk_display, BRICK_WIDTH, (MAP_HEIGHT-1)*BRICK_HEIGHT, @@ -429,11 +433,12 @@ case SDL_MOUSEBUTTONDOWN: if ( x != -1 ) if ( confirm( font, - "Disintegrate Brick? (Costs 5% of your score.) y/n", + /* xgettext:no-c-format */ _("Disintegrate Brick? (Costs 5% of your score.) y/n"), CONFIRM_YES_NO ) ) { /* implant a bomb to this brick and return */ game_set_current( local_game ); - brick_start_expl( x,y, local_game->paddles[0] ); + brick_start_expl( x,y, BRICK_EXP_TIME, + local_game->paddles[0] ); local_game->bricks[x][y].score = 0; game_set_current( game ); l_paddle->player->stats.total_score -= (int)(0.05 * @@ -498,7 +503,7 @@ vsnprintf( buf, 512, format, args ); va_end( args ); - stk_surface_gray( stk_display, 0,0,-1,-1, 2 ); + stk_surface_gray( stk_display, 0,0,-1,-1, 2 ); text = create_text( buf, 60 ); font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_TOP; y = (stk_display->h - text->count * font->height) / 2; @@ -511,4 +516,3 @@ stk_display_update( STK_UPDATE_ALL ); } - diff --git a/client/slot.h b/client/slot.h index ef8a4a9..a60e741 100644 --- a/client/slot.h +++ b/client/slot.h @@ -29,7 +29,7 @@ int cur_player; /* 0 - MAX_PLAYERS-1 */ int player_scores[MAX_PLAYERS]; int player_lives[MAX_PLAYERS]; - int freakout_seed; /* seed if setname is $TOURNAMENT */ + int gameSeed; /* for bonus levels and FREAKOUT order */ } GameSlot; /* diff --git a/client/sounds/Makefile.in b/client/sounds/Makefile.in index 90f53ea..876994c 100644 --- a/client/sounds/Makefile.in +++ b/client/sounds/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,352 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = client/sounds +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -EXTRA_DIST = attach.wav click.wav exp.wav expand.wav extraball.wav freeze.wav gainlife.wav goldshower.wav joker.wav looselife.wav metal.wav menu_motion.wav reflect_paddle.wav reflect_brick.wav score.wav shot.wav shrink.wav speeddown.wav speedup.wav standard.wav wall.wav menu_click.wav dammit.wav damn.wav excellent.wav verygood.wav wontgiveup.wav chaos.wav darkness.wav ghost.wav timeadd.wav expl_ball.wav weak_ball.wav bonus_magnet.wav malus_magnet.wav disable.wav - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +EXTRA_DIST = attach.wav click.wav exp.wav expand.wav extraball.wav \ +freeze.wav gainlife.wav goldshower.wav joker.wav looselife.wav metal.wav \ +menu_motion.wav reflect_paddle.wav reflect_brick.wav score.wav shot.wav shrink.wav speeddown.wav \ +speedup.wav standard.wav wall.wav menu_click.wav \ +dammit.wav damn.wav excellent.wav verygood.wav wontgiveup.wav \ +chaos.wav darkness.wav ghost.wav timeadd.wav expl_ball.wav weak_ball.wav \ +bonus_magnet.wav malus_magnet.wav disable.wav + +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps client/sounds/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu client/sounds/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu client/sounds/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = client/sounds +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -200,7 +370,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\sounds\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/client/theme.c b/client/theme.c index bea3cfa..ad6de96 100644 --- a/client/theme.c +++ b/client/theme.c @@ -19,10 +19,6 @@ #include #include #include - -#ifdef HAVE_CONFIG_H -#include "../config.h" -#endif #include "lbreakout.h" #include "config.h" @@ -704,5 +700,5 @@ break; } else - strcpy_lt( text, "NO INFO AVAILABLE", limit ); -} + strcpy_lt( text, _("NO INFO AVAILABLE"), limit ); +} diff --git a/client/value.c b/client/value.c index 7e3541b..a917306 100644 --- a/client/value.c +++ b/client/value.c @@ -37,18 +37,18 @@ case VALUE_KEY: if ( value->grab ) { strcpy( value->val_str, "???" ); break; } switch ( *value->val_int ) { - case SDLK_SPACE: strcpy( value->val_str, "Space" ); break; - case SDLK_LEFT: strcpy( value->val_str, "Left" ); break; - case SDLK_RIGHT: strcpy( value->val_str, "Right" ); break; - case SDLK_UP: strcpy( value->val_str, "Up" ); break; - case SDLK_DOWN: strcpy( value->val_str, "Down" ); break; - case SDLK_RSHIFT: strcpy( value->val_str, "Right Shift" ); break; - case SDLK_LSHIFT: strcpy( value->val_str, "Left Shift" ); break; - case SDLK_RCTRL: strcpy( value->val_str, "Right Ctrl" ); break; - case SDLK_LCTRL: strcpy( value->val_str, "Left Ctrl" ); break; - case SDLK_RALT: strcpy( value->val_str, "Right Alt" ); break; - case SDLK_LALT: strcpy( value->val_str, "Left Alt" ); break; - case SDLK_BACKSPACE: strcpy( value->val_str, "BackSpace" ); break; + case SDLK_SPACE: strcpy( value->val_str, _("Space") ); break; + case SDLK_LEFT: strcpy( value->val_str, _("Left") ); break; + case SDLK_RIGHT: strcpy( value->val_str, _("Right") ); break; + case SDLK_UP: strcpy( value->val_str, _("Up") ); break; + case SDLK_DOWN: strcpy( value->val_str, _("Down") ); break; + case SDLK_RSHIFT: strcpy( value->val_str, _("Right Shift") ); break; + case SDLK_LSHIFT: strcpy( value->val_str, _("Left Shift") ); break; + case SDLK_RCTRL: strcpy( value->val_str, _("Right Ctrl") ); break; + case SDLK_LCTRL: strcpy( value->val_str, _("Left Ctrl") ); break; + case SDLK_RALT: strcpy( value->val_str, _("Right Alt") ); break; + case SDLK_LALT: strcpy( value->val_str, _("Left Alt") ); break; + case SDLK_BACKSPACE: strcpy( value->val_str, _("BackSpace") ); break; default: if ( *value->val_int >= SDLK_a && *value->val_int <= SDLK_z ) sprintf( value->val_str, "'%c'", (char)toupper( *value->val_int ) ); diff --git a/common/Makefile.am b/common/Makefile.am index 3f9c3c7..4e4bf12 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -5,4 +5,4 @@ libcommon_a_SOURCES = \ list.c net.c tools.c parser.c -EXTRA_DIST = list.h net.h messages.h tools.h parser.h +EXTRA_DIST = list.h net.h messages.h tools.h parser.h gettext.h diff --git a/common/Makefile.in b/common/Makefile.in index d6930b4..ea4e06a 100644 --- a/common/Makefile.in +++ b/common/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,282 +12,447 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = common +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +LIBRARIES = $(noinst_LIBRARIES) +AR = ar +ARFLAGS = cru +libcommon_a_AR = $(AR) $(ARFLAGS) +libcommon_a_LIBADD = +am_libcommon_a_OBJECTS = list.$(OBJEXT) net.$(OBJEXT) tools.$(OBJEXT) \ + parser.$(OBJEXT) +libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS) +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libcommon_a_SOURCES) +DIST_SOURCES = $(libcommon_a_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ @network_flag@ @netdebug_flag@ @sdlnet_flag@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -DEFS = @DEFS@ @network_flag@ @netdebug_flag@ @sdlnet_flag@ - noinst_LIBRARIES = libcommon.a - -libcommon_a_SOURCES = list.c net.c tools.c parser.c - - -EXTRA_DIST = list.h net.h messages.h tools.h parser.h -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -LIBRARIES = $(noinst_LIBRARIES) - -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -libcommon_a_LIBADD = -libcommon_a_OBJECTS = list.o net.o tools.o parser.o -AR = ar -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -SOURCES = $(libcommon_a_SOURCES) -OBJECTS = $(libcommon_a_OBJECTS) - -all: all-redirect +libcommon_a_SOURCES = \ + list.c net.c tools.c parser.c + +EXTRA_DIST = list.h net.h messages.h tools.h parser.h gettext.h +all: all-am + .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps common/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstLIBRARIES: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu common/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu common/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) - -distclean-noinstLIBRARIES: - -maintainer-clean-noinstLIBRARIES: - -.c.o: - $(COMPILE) -c $< - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES) + -rm -f libcommon.a + $(libcommon_a_AR) libcommon.a $(libcommon_a_OBJECTS) $(libcommon_a_LIBADD) + $(RANLIB) libcommon.a mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: - -libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES) - -rm -f libcommon.a - $(AR) cru libcommon.a $(libcommon_a_OBJECTS) $(libcommon_a_LIBADD) - $(RANLIB) libcommon.a - +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/net.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parser.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/tools.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = common + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -list.o: list.c list.h -mathfuncs.o: mathfuncs.c mathfuncs.h -messages.o: messages.c net.h messages.h -net.o: net.c net.h -parser.o: parser.c parser.h list.h tools.h -tools.o: tools.c tools.h - -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile $(LIBRARIES) +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile $(LIBRARIES) -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \ - mostlyclean-am - -clean: clean-am - -distclean-am: distclean-noinstLIBRARIES distclean-compile \ - distclean-tags distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ -check-am installcheck-am installcheck install-exec-am install-exec \ -install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-noinstLIBRARIES ctags distclean distclean-compile \ + distclean-generic distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/common/gettext.h b/common/gettext.h new file mode 100644 index 0000000..8b262f4 --- /dev/null +++ b/common/gettext.h @@ -0,0 +1,69 @@ +/* Convenience header for conditional use of GNU . + Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _LIBGETTEXT_H +#define _LIBGETTEXT_H 1 + +/* NLS can be disabled through the configure --disable-nls option. */ +#if ENABLE_NLS + +/* Get declarations of GNU message catalog functions. */ +# include + +#else + +/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which + chokes if dcgettext is defined as a macro. So include it now, to make + later inclusions of a NOP. We don't include + as well because people using "gettext.h" will not include , + and also including would fail on SunOS 4, whereas + is OK. */ +#if defined(__sun) +# include +#endif + +/* Disabled NLS. + The casts to 'const char *' serve the purpose of producing warnings + for invalid uses of the value returned from these functions. + On pre-ANSI systems without 'const', the config.h file is supposed to + contain "#define const". */ +# define gettext(Msgid) ((const char *) (Msgid)) +# define dgettext(Domainname, Msgid) ((const char *) (Msgid)) +# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid)) +# define ngettext(Msgid1, Msgid2, N) \ + ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) +# define dngettext(Domainname, Msgid1, Msgid2, N) \ + ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) +# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ + ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) +# define textdomain(Domainname) ((const char *) (Domainname)) +# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) +# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset)) + +#endif + +/* A pseudo function call that serves as a marker for the automated + extraction of messages, but does not call gettext(). The run-time + translation is done at a different place in the code. + The argument, String, should be a literal string. Concatenated strings + and other string expressions won't work. + The macro's expansion is not parenthesized, so that it is suitable as + initializer for static 'char[]' or 'const char[]' variables. */ +#define gettext_noop(String) String + +#endif /* _LIBGETTEXT_H */ diff --git a/common/net.c b/common/net.c index 762859a..87167ee 100644 --- a/common/net.c +++ b/common/net.c @@ -1,4 +1,5 @@ #include "net.h" +#include "../client/lbreakout.h" #include #include #include @@ -64,7 +65,7 @@ /* resolve the host's address via DNS lookup */ if ( ( hostlist = gethostbyname( host ) ) == 0 ) { - sys_printf( "unable to resolve %s: %s\n", host, strerror( errno) ); + sys_printf( _("unable to resolve %s: %s\n"), host, strerror( errno) ); return 0; } @@ -134,7 +135,7 @@ #else struct sockaddr_in sa; int sa_len; - int fcntl_args, i; + int fcntl_args, i, new_args; if ( (net_socket = socket( PF_INET, SOCK_DGRAM, IPPROTO_UDP)) < 0 ) sys_printf( "couldn't create socket: %s\n", strerror(errno) ); @@ -142,7 +143,13 @@ if ( fcntl( net_socket, F_GETFL, &fcntl_args) < 0 ) sys_printf( "couldn't get fcntl args: %s\n", strerror(errno) ); else - if ( fcntl( net_socket, F_SETFL, O_NONBLOCK | fcntl_args) < 0 ) + { + new_args = O_NONBLOCK; + /* no idea, no idea... fcntl seems to work differently since kernel 2.6 + if (fcntl_args&O_APPEND) new_args|=O_APPEND; + if (fcntl_args&O_ASYNC) new_args|=O_ASYNC; + if (fcntl_args&O_DIRECT) new_args|=O_DIRECT;*/ + if ( fcntl( net_socket, F_SETFL, new_args ) < 0 ) sys_printf( "couldn't set fcntl args: %s\n", strerror(errno) ); else { sa_len = sizeof(sa); @@ -162,11 +169,12 @@ } net_get_local_addr( port ); - sys_printf( "UDP socket bound to %s:%i\n", + sys_printf( _("UDP socket bound to %s:%i\n"), net_addr_to_string( &net_local_addr ), port ); return 1; } + } return 0; #endif #else @@ -755,4 +763,3 @@ return 1; } - diff --git a/common/tools.c b/common/tools.c index 931a663..12bf2c8 100644 --- a/common/tools.c +++ b/common/tools.c @@ -22,27 +22,27 @@ #include "tools.h" /* compares to strings and returns true if their first strlen(str1) chars are equal */ -inline int strequal( char *str1, char *str2 ) +int strequal( char *str1, char *str2 ) { if ( strlen( str1 ) != strlen( str2 ) ) return 0; return ( !strncmp( str1, str2, strlen( str1 ) ) ); } /* set delay to ms milliseconds */ -inline void delay_set( Delay *delay, int ms ) +void delay_set( Delay *delay, int ms ) { delay->limit = ms; delay->cur = 0; } /* reset delay ( cur = 0 )*/ -inline void delay_reset( Delay *delay ) +void delay_reset( Delay *delay ) { delay->cur = 0; } /* check if times out and reset */ -inline int delay_timed_out( Delay *delay, int ms ) +int delay_timed_out( Delay *delay, int ms ) { delay->cur += ms; if ( delay->cur >= delay->limit ) { @@ -55,7 +55,7 @@ } -inline void goto_tile( int *x, int *y, int d ) +void goto_tile( int *x, int *y, int d ) { /* 0 -up, clockwise, 5 - left up */ switch ( d ) { @@ -196,7 +196,7 @@ /* change some spaces to new_lines, so that the new text fits the wanted line_length */ /* NOTE: '#' means new_line ! */ - // if character with is 0 it's just a single line // + // if character width is 0 it's just a single line // if ( char_width > 0 ) { pos = 0; while ( pos < strlen( str ) ) { @@ -383,5 +383,3 @@ return 0; return 1; } - - diff --git a/common/tools.h b/common/tools.h index 68badb7..1ebd5c6 100644 --- a/common/tools.h +++ b/common/tools.h @@ -45,7 +45,7 @@ #define SQUARE( x ) ((x)*(x)) /* compares to strings and returns true if their first strlen(str1) chars are equal */ -inline int strequal( char *str1, char *str2 ); +int strequal( char *str1, char *str2 ); /* delete lines */ void delete_lines( char **lines, int line_number ); @@ -57,13 +57,13 @@ } Delay; /* set delay to ms milliseconds */ -inline void delay_set( Delay *delay, int ms ); +void delay_set( Delay *delay, int ms ); /* reset delay ( cur = 0 )*/ -inline void delay_reset( Delay *delay ); +void delay_reset( Delay *delay ); /* check if time's out ( add ms milliseconds )and reset */ -inline int delay_timed_out( Delay *delay, int ms ); +int delay_timed_out( Delay *delay, int ms ); /* return distance betwteen to map positions */ int get_dist( int x1, int y1, int x2, int y2 ); diff --git a/config.guess b/config.guess index dff9e48..d949270 100755 --- a/config.guess +++ b/config.guess @@ -1,9 +1,9 @@ #! /bin/sh # Attempt to guess a canonical system name. -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 -# Free Software Foundation, Inc. - -timestamp='2001-09-04' +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + +timestamp='2004-08-11' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -24,8 +24,9 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. -# Written by Per Bothner . -# Please send patches to . +# Originally written by Per Bothner . +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and @@ -52,7 +53,7 @@ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -87,30 +88,42 @@ exit 1 fi - -dummy=dummy-$$ -trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 - -# CC_FOR_BUILD -- compiler used by this script. +trap 'exit 1' 1 2 15 + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. -set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in - ,,) echo "int dummy(){}" > $dummy.c ; - for c in cc gcc c89 ; do - ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; - if test $? = 0 ; then +# Portable tmp directory creation inspired by the Autoconf team. + +set_cc_for_build=' +trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; +trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; +: ${TMPDIR=/tmp} ; + { tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; +dummy=$tmp/dummy ; +tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; +case $CC_FOR_BUILD,$HOST_CC,$CC in + ,,) echo "int x;" > $dummy.c ; + for c in cc gcc c89 c99 ; do + if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; - rm -f $dummy.c $dummy.o $dummy.rel ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; -esac' +esac ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) @@ -123,33 +136,44 @@ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown +case "${UNAME_MACHINE}" in + i?86) + test -z "$VENDOR" && VENDOR=pc + ;; + *) + test -z "$VENDOR" && VENDOR=unknown + ;; +esac +test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse + # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) - # Netbsd (nbsd) targets should (where applicable) match one or + # NetBSD (nbsd) targets should (where applicable) match one or # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. - # Determine the machine/vendor (is the vendor relevant). - case "${UNAME_MACHINE}" in - amiga) machine=m68k-unknown ;; - arm32) machine=arm-unknown ;; - atari*) machine=m68k-atari ;; - sun3*) machine=m68k-sun ;; - mac68k) machine=m68k-apple ;; - macppc) machine=powerpc-apple ;; - hp3[0-9][05]) machine=m68k-hp ;; - ibmrt|romp-ibm) machine=romp-ibm ;; - *) machine=${UNAME_MACHINE}-unknown ;; + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ + /usr/sbin/$sysctl 2>/dev/null || echo unknown)` + case "${UNAME_MACHINE_ARCH}" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. - case "${UNAME_MACHINE}" in - i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) + case "${UNAME_MACHINE_ARCH}" in + arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep __ELF__ >/dev/null @@ -166,74 +190,132 @@ ;; esac # The OS release - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "${UNAME_VERSION}" in + Debian*) + release='-gnu' + ;; + *) + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` + ;; + esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit 0 ;; + amd64:OpenBSD:*:*) + echo x86_64-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + amiga:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + arc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + cats:OpenBSD:*:*) + echo arm-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + hp300:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + luna88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mac68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + macppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme68k:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvme88k:OpenBSD:*:*) + echo m88k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + mvmeppc:OpenBSD:*:*) + echo powerpc-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + pmax:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sgi:OpenBSD:*:*) + echo mipseb-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + sun3:OpenBSD:*:*) + echo m68k-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + wgrisc:OpenBSD:*:*) + echo mipsel-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:OpenBSD:*:*) + echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} + exit 0 ;; + *:ekkoBSD:*:*) + echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} + exit 0 ;; + macppc:MirBSD:*:*) + echo powerppc-unknown-mirbsd${UNAME_RELEASE} + exit 0 ;; + *:MirBSD:*:*) + echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} + exit 0 ;; alpha:OSF1:*:*) - if test $UNAME_RELEASE = "V4.0"; then + case $UNAME_RELEASE in + *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` - fi + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE="alpha" ;; + "EV4.5 (21064)") + UNAME_MACHINE="alpha" ;; + "LCA4 (21066/21068)") + UNAME_MACHINE="alpha" ;; + "EV5 (21164)") + UNAME_MACHINE="alphaev5" ;; + "EV5.6 (21164A)") + UNAME_MACHINE="alphaev56" ;; + "EV5.6 (21164PC)") + UNAME_MACHINE="alphapca56" ;; + "EV5.7 (21164PC)") + UNAME_MACHINE="alphapca57" ;; + "EV6 (21264)") + UNAME_MACHINE="alphaev6" ;; + "EV6.7 (21264A)") + UNAME_MACHINE="alphaev67" ;; + "EV6.8CB (21264C)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8AL (21264B)") + UNAME_MACHINE="alphaev68" ;; + "EV6.8CX (21264D)") + UNAME_MACHINE="alphaev68" ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE="alphaev69" ;; + "EV7 (21364)") + UNAME_MACHINE="alphaev7" ;; + "EV7.9 (21364A)") + UNAME_MACHINE="alphaev79" ;; + esac + # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. - cat <$dummy.s - .data -\$Lformat: - .byte 37,100,45,37,120,10,0 # "%d-%x\n" - - .text - .globl main - .align 4 - .ent main -main: - .frame \$30,16,\$26,0 - ldgp \$29,0(\$27) - .prologue 1 - .long 0x47e03d80 # implver \$0 - lda \$2,-1 - .long 0x47e20c21 # amask \$2,\$1 - lda \$16,\$Lformat - mov \$0,\$17 - not \$1,\$18 - jsr \$26,printf - ldgp \$29,0(\$26) - mov 0,\$16 - jsr \$26,exit - .end main -EOF - eval $set_cc_for_build - $CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null - if test "$?" = 0 ; then - case `./$dummy` in - 0-0) - UNAME_MACHINE="alpha" - ;; - 1-0) - UNAME_MACHINE="alphaev5" - ;; - 1-1) - UNAME_MACHINE="alphaev56" - ;; - 1-101) - UNAME_MACHINE="alphapca56" - ;; - 2-303) - UNAME_MACHINE="alphaev6" - ;; - 2-307) - UNAME_MACHINE="alphaev67" - ;; - 2-1307) - UNAME_MACHINE="alphaev68" - ;; - esac - fi - rm -f $dummy.s $dummy - echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` + echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? @@ -247,32 +329,17 @@ Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; - amiga:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; - arc64:OpenBSD:*:*) - echo mips64el-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - arc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - hkmips:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - pmax:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - sgi:OpenBSD:*:*) - echo mips-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - wgrisc:OpenBSD:*:*) - echo mipsel-unknown-openbsd${UNAME_RELEASE} + *:[Mm]orph[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition + exit 0 ;; + *:OS400:*:*) + echo powerpc-ibm-os400 exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} @@ -291,6 +358,13 @@ NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit 0 ;; + DRS?6000:UNIX_SV:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7 && exit 0 ;; + esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; @@ -319,7 +393,7 @@ echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; sun*:*:4.2BSD:*) - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) @@ -332,12 +406,6 @@ exit 0 ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} - exit 0 ;; - sparc*:NetBSD:*) - echo `uname -p`-unknown-netbsd${UNAME_RELEASE} - exit 0 ;; - atari*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not @@ -365,17 +433,8 @@ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; - sun3*:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mac68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme68k:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} - exit 0 ;; - mvme88k:OpenBSD:*:*) - echo m88k-unknown-openbsd${UNAME_RELEASE} + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} @@ -415,14 +474,19 @@ exit (-1); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy \ - && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ - && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c \ + && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ + && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax + exit 0 ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit 0 ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix @@ -496,8 +560,7 @@ exit(0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 @@ -506,7 +569,7 @@ fi exit 0 ;; *:AIX:*:[45]) - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else @@ -546,10 +609,8 @@ 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) - case "${HPUX_REV}" in - 11.[0-9][0-9]) - if [ -x /usr/bin/getconf ]; then - sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 @@ -558,13 +619,13 @@ case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; + '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac - fi ;; - esac - if [ "${HP_ARCH}" = "" ]; then - eval $set_cc_for_build - sed 's/^ //' << EOF >$dummy.c + fi + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include @@ -597,11 +658,21 @@ exit (0); } EOF - (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` - if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi - rm -f $dummy.c $dummy - fi ;; + (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; esac + if [ ${HP_ARCH} = "hppa2.0w" ] + then + # avoid double evaluation of $set_cc_for_build + test -n "$CC_FOR_BUILD" || eval $set_cc_for_build + if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null + then + HP_ARCH="hppa2.0w" + else + HP_ARCH="hppa64" + fi + fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) @@ -635,8 +706,7 @@ exit (0); } EOF - $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) @@ -663,9 +733,6 @@ exit 0 ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites - exit 0 ;; - hppa*:OpenBSD:*:*) - echo hppa-unknown-openbsd exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd @@ -685,9 +752,6 @@ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; - CRAY*X-MP:*:*:*) - echo xmp-cray-unicos - exit 0 ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; @@ -700,26 +764,25 @@ CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY*T3D:*:*:*) - echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' - exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; - CRAY-2:*:*:*) - echo cray2-cray-unicos - exit 0 ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; - hp300:OpenBSD:*:*) - echo m68k-unknown-openbsd${UNAME_RELEASE} + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` + FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} @@ -733,9 +796,6 @@ *:FreeBSD:*:*) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit 0 ;; - *:OpenBSD:*:*) - echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` - exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit 0 ;; @@ -744,12 +804,18 @@ exit 0 ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 + exit 0 ;; + x86:Interix*:[34]*) + echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' + exit 0 ;; + [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) + echo i${UNAME_MACHINE}-pc-mks exit 0 ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? - echo i386-pc-interix + echo i586-pc-interix exit 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin @@ -761,31 +827,74 @@ echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) + # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` + exit 0 ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-${VENDOR}-linux + exit 0 ;; + cris:Linux:*:*) + echo cris-axis-linux exit 0 ;; ia64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux + echo ${UNAME_MACHINE}-${VENDOR}-linux + exit 0 ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR}-linux exit 0 ;; m68*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-${VENDOR}-linux exit 0 ;; mips:Linux:*:*) - case `sed -n '/^byte/s/^.*: \(.*\) endian/\1/p' < /proc/cpuinfo` in - big) echo mips-unknown-linux-gnu && exit 0 ;; - little) echo mipsel-unknown-linux-gnu && exit 0 ;; - esac + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mipsel + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0 + ;; + mips64:Linux:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips64 + #undef mips64el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=mips64el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=mips64 + #else + CPU= + #endif + #endif +EOF + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` + test x"${CPU}" != x && echo "${CPU}-${VENDOR}-linux" && exit 0 ;; ppc:Linux:*:*) - echo powerpc-unknown-linux-gnu + echo powerpc-${VENDOR}-linux exit 0 ;; ppc64:Linux:*:*) - echo powerpc64-unknown-linux-gnu + echo powerpc64-${VENDOR}-linux exit 0 ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in @@ -798,37 +907,41 @@ EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null - if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi - echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} + if test "$?" = 0 ; then LIBC="-libc1" ; else LIBC="" ; fi + echo ${UNAME_MACHINE}-${VENDOR}-linux${LIBC} exit 0 ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in - PA7*) echo hppa1.1-unknown-linux-gnu ;; - PA8*) echo hppa2.0-unknown-linux-gnu ;; - *) echo hppa-unknown-linux-gnu ;; + PA7*) echo hppa1.1-${VENDOR}-linux ;; + PA8*) echo hppa2.0-${VENDOR}-linux ;; + *) echo hppa-${VENDOR}-linux ;; esac exit 0 ;; parisc64:Linux:*:* | hppa64:Linux:*:*) - echo hppa64-unknown-linux-gnu + echo hppa64-${VENDOR}-linux exit 0 ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; + sh64*:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR}-linux + exit 0 ;; sh*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-${VENDOR}-linux exit 0 ;; sparc:Linux:*:* | sparc64:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + echo ${UNAME_MACHINE}-${VENDOR}-linux exit 0 ;; x86_64:Linux:*:*) - echo x86_64-unknown-linux-gnu + echo x86_64-${VENDOR}-linux exit 0 ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. - ld_supported_targets=`cd /; ld --help 2>&1 \ + # Set LC_ALL=C to ensure ld outputs messages in English. + ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// @@ -836,48 +949,47 @@ p'` case "$ld_supported_targets" in elf32-i386) - TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" + TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux" ;; a.out-i386-linux) - echo "${UNAME_MACHINE}-pc-linux-gnuaout" - exit 0 ;; + echo "${UNAME_MACHINE}-${VENDOR}-linuxaout" + exit 0 ;; coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" + echo "${UNAME_MACHINE}-${VENDOR}-linuxcoff" exit 0 ;; "") - # Either a pre-BFD a.out linker (linux-gnuoldld) or + # Either a pre-BFD a.out linker (linuxoldld) or # one that does not give us useful --help. - echo "${UNAME_MACHINE}-pc-linux-gnuoldld" + echo "${UNAME_MACHINE}-${VENDOR}-linuxoldld" exit 0 ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build - cat >$dummy.c < -#ifdef __cplusplus -#include /* for printf() prototype */ - int main (int argc, char *argv[]) { -#else - int main (argc, argv) int argc; char *argv[]; { -#endif -#ifdef __ELF__ -# ifdef __GLIBC__ -# if __GLIBC__ >= 2 - printf ("%s-pc-linux-gnu\n", argv[1]); -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif -# else - printf ("%s-pc-linux-gnulibc1\n", argv[1]); -# endif -#else - printf ("%s-pc-linux-gnuaout\n", argv[1]); -#endif - return 0; -} + sed 's/^ //' << EOF >$dummy.c + #include + #ifdef __ELF__ + # ifdef __GLIBC__ + # if __GLIBC__ >= 2 + LIBC=gnu + # else + LIBC=gnulibc1 + # endif + # else + LIBC=gnulibc1 + # endif + #else + #ifdef __INTEL_COMPILER + LIBC=gnu + #else + LIBC=gnuaout + #endif + #endif + #ifdef __dietlibc__ + LIBC=dietlibc + #endif EOF - $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm -f $dummy.c $dummy && exit 0 - rm -f $dummy.c $dummy + eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` + test x"${LIBC}" != x && echo "${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}" | sed 's/linux-gnu/linux/' && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; i*86:DYNIX/ptx:4*:*) @@ -894,6 +1006,26 @@ # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit 0 ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo ${UNAME_MACHINE}-pc-os2-emx + exit 0 ;; + i*86:XTS-300:*:STOP) + echo ${UNAME_MACHINE}-unknown-stop + exit 0 ;; + i*86:atheos:*:*) + echo ${UNAME_MACHINE}-unknown-atheos + exit 0 ;; + i*86:syllable:*:*) + echo ${UNAME_MACHINE}-pc-syllable + exit 0 ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) + echo i386-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + i*86:*DOS:*:*) + echo ${UNAME_MACHINE}-pc-msdosdjgpp + exit 0 ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then @@ -915,21 +1047,18 @@ UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then - UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')` - (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486 - (/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \ + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 - (/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 - (/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \ + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi - exit 0 ;; - i*86:*DOS:*:*) - echo ${UNAME_MACHINE}-pc-msdosdjgpp exit 0 ;; pc:*:*:*) # Left here for compatibility: @@ -954,9 +1083,15 @@ # "miniframe" echo m68010-convergent-sysv exit 0 ;; - M68*:*:R3V[567]*:*) + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit 0 ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit 0 ;; + M68*:*:R3V[5678]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; - 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` @@ -973,9 +1108,6 @@ mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; - i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) - echo i386-unknown-lynxos${UNAME_RELEASE} - exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; @@ -1047,6 +1179,9 @@ SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux${UNAME_RELEASE} + exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; @@ -1054,18 +1189,25 @@ echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) - echo `uname -p`-apple-darwin${UNAME_RELEASE} + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + case $UNAME_PROCESSOR in + *86) UNAME_PROCESSOR=i686 ;; + unknown) UNAME_PROCESSOR=powerpc ;; + esac + echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) - if test "${UNAME_MACHINE}" = "x86pc"; then + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi - echo `uname -p`-${UNAME_MACHINE}-nto-qnx + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; - NSR-[KW]:NONSTOP_KERNEL:*:*) + NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) @@ -1088,11 +1230,6 @@ fi echo ${UNAME_MACHINE}-unknown-plan9 exit 0 ;; - i*86:OS/2:*:*) - # If we were able to find `uname', then EMX Unix compatibility - # is probably installed. - echo ${UNAME_MACHINE}-pc-os2-emx - exit 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; @@ -1111,12 +1248,19 @@ *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; - i*86:XTS-300:*:STOP) - echo ${UNAME_MACHINE}-unknown-stop - exit 0 ;; - i*86:atheos:*:*) - echo ${UNAME_MACHINE}-unknown-atheos - exit 0 ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux${UNAME_RELEASE} + exit 0 ;; + *:DragonFly:*:*) + echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "${UNAME_MACHINE}" in + A*) echo alpha-dec-vms && exit 0 ;; + I*) echo ia64-dec-vms && exit 0 ;; + V*) echo vax-dec-vms && exit 0 ;; + esac esac #echo '(No uname command or uname output not recognized.)' 1>&2 @@ -1237,8 +1381,7 @@ } EOF -$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0 -rm -f $dummy.c $dummy +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 # Apollos put the system type in the environment. diff --git a/config.h.in b/config.h.in index 88d72a6..4845a4d 100644 --- a/config.h.in +++ b/config.h.in @@ -1,17 +1,324 @@ -/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */ - -/* Define if you have the m library (-lm). */ +/* config.h.in. Generated from configure.in by autoheader. */ + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define to 1 if using `alloca.c'. */ +#undef C_ALLOCA + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#undef ENABLE_NLS + +/* Define to 1 if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_ARGZ_H + +/* Define to 1 if you have the `asprintf' function. */ +#undef HAVE_ASPRINTF + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_FEOF_UNLOCKED + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FGETS_UNLOCKED + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_GETC_UNLOCKED + +/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you + don't. */ +#undef HAVE_DECL__SNPRINTF + +/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you + don't. */ +#undef HAVE_DECL__SNWPRINTF + +/* Define to 1 if you have the `fwprintf' function. */ +#undef HAVE_FWPRINTF + +/* Define to 1 if you have the `getcwd' function. */ +#undef HAVE_GETCWD + +/* Define to 1 if you have the `getegid' function. */ +#undef HAVE_GETEGID + +/* Define to 1 if you have the `geteuid' function. */ +#undef HAVE_GETEUID + +/* Define to 1 if you have the `getgid' function. */ +#undef HAVE_GETGID + +/* Define to 1 if you have the `getpagesize' function. */ +#undef HAVE_GETPAGESIZE + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the `getuid' function. */ +#undef HAVE_GETUID + +/* Define if you have the iconv() function. */ +#undef HAVE_ICONV + +/* Define if you have the 'intmax_t' type in or . */ +#undef HAVE_INTMAX_T + +/* Define if exists and doesn't clash with . */ +#undef HAVE_INTTYPES_H + +/* Define if exists, doesn't clash with , and + declares uintmax_t. */ +#undef HAVE_INTTYPES_H_WITH_UINTMAX + +/* Define if you have and nl_langinfo(CODESET). */ +#undef HAVE_LANGINFO_CODESET + +/* Define if your file defines LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES + +/* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM -/* Define if you have the png library (-lpng). */ +/* Define to 1 if you have the `png' library (-lpng). */ #undef HAVE_LIBPNG -/* Define if you have the z library (-lz). */ +/* Define to 1 if you have the `z' library (-lz). */ #undef HAVE_LIBZ + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIMITS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define if you have the 'long double' type. */ +#undef HAVE_LONG_DOUBLE + +/* Define if you have the 'long long' type. */ +#undef HAVE_LONG_LONG + +/* Define to 1 if you have the header file. */ +#undef HAVE_MALLOC_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if you have the `mempcpy' function. */ +#undef HAVE_MEMPCPY + +/* Define to 1 if you have a working `mmap' system call. */ +#undef HAVE_MMAP + +/* Define to 1 if you have the `munmap' function. */ +#undef HAVE_MUNMAP + +/* Define to 1 if you have the header file. */ +#undef HAVE_NL_TYPES_H + +/* Define if your printf() function supports format strings with positions. */ +#undef HAVE_POSIX_PRINTF + +/* Define to 1 if you have the `putenv' function. */ +#undef HAVE_PUTENV + +/* Define to 1 if you have the `setenv' function. */ +#undef HAVE_SETENV + +/* Define to 1 if you have the `setlocale' function. */ +#undef HAVE_SETLOCALE + +/* Define to 1 if you have the `snprintf' function. */ +#undef HAVE_SNPRINTF + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDDEF_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define if exists, doesn't clash with , and declares + uintmax_t. */ +#undef HAVE_STDINT_H_WITH_UINTMAX + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the `stpcpy' function. */ +#undef HAVE_STPCPY + +/* Define to 1 if you have the `strcasecmp' function. */ +#undef HAVE_STRCASECMP + +/* Define to 1 if you have the `strdup' function. */ +#undef HAVE_STRDUP + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the `strtoul' function. */ +#undef HAVE_STRTOUL + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the `tsearch' function. */ +#undef HAVE_TSEARCH + +/* Define if you have the 'uintmax_t' type in or . */ +#undef HAVE_UINTMAX_T + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define if you have the 'unsigned long long' type. */ +#undef HAVE_UNSIGNED_LONG_LONG + +/* Define if you have the 'wchar_t' type. */ +#undef HAVE_WCHAR_T + +/* Define to 1 if you have the `wcslen' function. */ +#undef HAVE_WCSLEN + +/* Define if you have the 'wint_t' type. */ +#undef HAVE_WINT_T + +/* Define to 1 if you have the `__argz_count' function. */ +#undef HAVE___ARGZ_COUNT + +/* Define to 1 if you have the `__argz_next' function. */ +#undef HAVE___ARGZ_NEXT + +/* Define to 1 if you have the `__argz_stringify' function. */ +#undef HAVE___ARGZ_STRINGIFY + +/* Define to 1 if you have the `__fsetlocking' function. */ +#undef HAVE___FSETLOCKING + +/* Define as const if the declaration of iconv() needs const. */ +#undef ICONV_CONST + +/* Define if integer division by zero raises signal SIGFPE. */ +#undef INTDIV0_RAISES_SIGFPE /* Name of package */ #undef PACKAGE +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define if exists and defines unusable PRI* macros. */ +#undef PRI_MACROS_BROKEN + +/* Define as the maximum value of type 'size_t', if the system doesn't define + it. */ +#undef SIZE_MAX + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + /* Version number of package */ #undef VERSION +/* Define to 1 if on AIX 3. + System headers sometimes define this. + We just want to avoid a redefinition error message. */ +#ifndef _ALL_SOURCE +# undef _ALL_SOURCE +#endif + +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# undef _GNU_SOURCE +#endif + +/* Define to 1 if on MINIX. */ +#undef _MINIX + +/* Define to 2 if the system does not provide POSIX.1 features except with + this defined. */ +#undef _POSIX_1_SOURCE + +/* Define to 1 if you need to in order for `stat' and other things to work. */ +#undef _POSIX_SOURCE + +/* Enable extensions on Solaris. */ +#ifndef __EXTENSIONS__ +# undef __EXTENSIONS__ +#endif +#ifndef _POSIX_PTHREAD_SEMANTICS +# undef _POSIX_PTHREAD_SEMANTICS +#endif +#ifndef _TANDEM_SOURCE +# undef _TANDEM_SOURCE +#endif + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Define to `long int' if does not define. */ +#undef off_t + +/* Define as the type of the result of subtracting two pointers, if the system + doesn't define it. */ +#undef ptrdiff_t + +/* Define to empty if the C compiler doesn't support this keyword. */ +#undef signed + +/* Define to `unsigned int' if does not define. */ +#undef size_t + +/* Define to unsigned long or unsigned long long if and + don't define. */ +#undef uintmax_t diff --git a/config.rpath b/config.rpath new file mode 100755 index 0000000..4db13e5 --- /dev/null +++ b/config.rpath @@ -0,0 +1,548 @@ +#! /bin/sh +# Output a system dependent set of variables, describing how to set the +# run time search path of shared libraries in an executable. +# +# Copyright 1996-2003 Free Software Foundation, Inc. +# Taken from GNU libtool, 2001 +# Originally by Gordon Matzigkeit , 1996 +# +# This program 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 version 2 of the License, or +# (at your option) any later version. +# +# This program 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. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. +# +# The first argument passed to this file is the canonical host specification, +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld +# should be set by the caller. +# +# The set of defined variables is at the end of this script. + +# Known limitations: +# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer +# than 256 bytes, otherwise the compiler driver will dump core. The only +# known workaround is to choose shorter directory names for the build +# directory and/or the installation directory. + +# All known linkers require a `.a' archive for static linking (except M$VC, +# which needs '.lib'). +libext=a +shrext=.so + +host="$1" +host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC. + +wl= +if test "$GCC" = yes; then + wl='-Wl,' +else + case "$host_os" in + aix*) + wl='-Wl,' + ;; + mingw* | pw32* | os2*) + ;; + hpux9* | hpux10* | hpux11*) + wl='-Wl,' + ;; + irix5* | irix6* | nonstopux*) + wl='-Wl,' + ;; + newsos6) + ;; + linux*) + case $CC in + icc|ecc) + wl='-Wl,' + ;; + ccc) + wl='-Wl,' + ;; + esac + ;; + osf3* | osf4* | osf5*) + wl='-Wl,' + ;; + sco3.2v5*) + ;; + solaris*) + wl='-Wl,' + ;; + sunos4*) + wl='-Qoption ld ' + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + wl='-Wl,' + ;; + sysv4*MP*) + ;; + uts4*) + ;; + esac +fi + +# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS. + +hardcode_libdir_flag_spec= +hardcode_libdir_separator= +hardcode_direct=no +hardcode_minus_L=no + +case "$host_os" in + cygwin* | mingw* | pw32*) + # FIXME: the MSVC++ port hasn't been tested in a loooong time + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + if test "$GCC" != yes; then + with_gnu_ld=no + fi + ;; + openbsd*) + with_gnu_ld=no + ;; +esac + +ld_shlibs=yes +if test "$with_gnu_ld" = yes; then + case "$host_os" in + aix3* | aix4* | aix5*) + # On AIX/PPC, the GNU linker is very broken + if test "$host_cpu" != ia64; then + ld_shlibs=no + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # Samuel A. Falvo II reports + # that the semantics of dynamic libraries on AmigaOS, at least up + # to version 4, is to share data among multiple programs linked + # with the same dynamic library. Since this doesn't match the + # behavior of shared libraries on other platforms, we can use + # them. + ld_shlibs=no + ;; + beos*) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + cygwin* | mingw* | pw32*) + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec='-L$libdir' + if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + netbsd*) + ;; + solaris* | sysv5*) + if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then + ld_shlibs=no + elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + sunos4*) + hardcode_direct=yes + ;; + *) + if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then + : + else + ld_shlibs=no + fi + ;; + esac + if test "$ld_shlibs" = yes; then + # Unlike libtool, we use -rpath here, not --rpath, since the documented + # option of GNU ld is called -rpath, not --rpath. + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + fi +else + case "$host_os" in + aix3*) + # Note: this linker hardcodes the directories in LIBPATH if there + # are no directories specified by -L. + hardcode_minus_L=yes + if test "$GCC" = yes; then + # Neither direct hardcoding nor static linking is supported with a + # broken collect2. + hardcode_direct=unsupported + fi + ;; + aix4* | aix5*) + if test "$host_cpu" = ia64; then + # On IA64, the linker does run time linking by default, so we don't + # have to do anything special. + aix_use_runtimelinking=no + else + aix_use_runtimelinking=no + # Test if we are trying to use run time linking or normal + # AIX style linking. If -brtl is somewhere in LDFLAGS, we + # need to do runtime linking. + case $host_os in aix4.[23]|aix4.[23].*|aix5*) + for ld_flag in $LDFLAGS; do + if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then + aix_use_runtimelinking=yes + break + fi + done + esac + fi + hardcode_direct=yes + hardcode_libdir_separator=':' + if test "$GCC" = yes; then + case $host_os in aix4.[012]|aix4.[012].*) + collect2name=`${CC} -print-prog-name=collect2` + if test -f "$collect2name" && \ + strings "$collect2name" | grep resolve_lib_name >/dev/null + then + # We have reworked collect2 + hardcode_direct=yes + else + # We have old collect2 + hardcode_direct=unsupported + hardcode_minus_L=yes + hardcode_libdir_flag_spec='-L$libdir' + hardcode_libdir_separator= + fi + esac + fi + # Begin _LT_AC_SYS_LIBPATH_AIX. + echo 'int main () { return 0; }' > conftest.c + ${CC} ${LDFLAGS} conftest.c -o conftest + aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } +}'` + fi + if test -z "$aix_libpath"; then + aix_libpath="/usr/lib:/lib" + fi + rm -f conftest.c conftest + # End _LT_AC_SYS_LIBPATH_AIX. + if test "$aix_use_runtimelinking" = yes; then + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + else + if test "$host_cpu" = ia64; then + hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' + else + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" + fi + fi + ;; + amigaos*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + # see comment about different semantics on the GNU ld section + ld_shlibs=no + ;; + bsdi4*) + ;; + cygwin* | mingw* | pw32*) + # When not using gcc, we currently assume that we are using + # Microsoft Visual C++. + # hardcode_libdir_flag_spec is actually meaningless, as there is + # no search path for DLLs. + hardcode_libdir_flag_spec=' ' + libext=lib + ;; + darwin* | rhapsody*) + if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then + hardcode_direct=no + fi + ;; + dgux*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + freebsd1*) + ld_shlibs=no + ;; + freebsd2.2*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + freebsd2*) + hardcode_direct=yes + hardcode_minus_L=yes + ;; + freebsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + hpux9*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + hpux10* | hpux11*) + if test "$with_gnu_ld" = no; then + case "$host_cpu" in + hppa*64*) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=no + ;; + ia64*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=no + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + *) + hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' + hardcode_libdir_separator=: + hardcode_direct=yes + # hardcode_minus_L: Not really in the search PATH, + # but as the default location of the library. + hardcode_minus_L=yes + ;; + esac + fi + ;; + irix5* | irix6* | nonstopux*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + netbsd*) + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes + ;; + newsos6) + hardcode_direct=yes + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + openbsd*) + hardcode_direct=yes + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + else + case "$host_os" in + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + *) + hardcode_libdir_flag_spec='${wl}-rpath,$libdir' + ;; + esac + fi + ;; + os2*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_minus_L=yes + ;; + osf3*) + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + hardcode_libdir_separator=: + ;; + osf4* | osf5*) + if test "$GCC" = yes; then + hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' + else + # Both cc and cxx compiler support -rpath directly + hardcode_libdir_flag_spec='-rpath $libdir' + fi + hardcode_libdir_separator=: + ;; + sco3.2v5*) + ;; + solaris*) + hardcode_libdir_flag_spec='-R$libdir' + ;; + sunos4*) + hardcode_libdir_flag_spec='-L$libdir' + hardcode_direct=yes + hardcode_minus_L=yes + ;; + sysv4) + case $host_vendor in + sni) + hardcode_direct=yes # is this really true??? + ;; + siemens) + hardcode_direct=no + ;; + motorola) + hardcode_direct=no #Motorola manual says yes, but my tests say they lie + ;; + esac + ;; + sysv4.3*) + ;; + sysv4*MP*) + if test -d /usr/nec; then + ld_shlibs=yes + fi + ;; + sysv4.2uw2*) + hardcode_direct=yes + hardcode_minus_L=no + ;; + sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) + ;; + sysv5*) + hardcode_libdir_flag_spec= + ;; + uts4*) + hardcode_libdir_flag_spec='-L$libdir' + ;; + *) + ld_shlibs=no + ;; + esac +fi + +# Check dynamic linker characteristics +# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER. +libname_spec='lib$name' +case "$host_os" in + aix3*) + ;; + aix4* | aix5*) + ;; + amigaos*) + ;; + beos*) + ;; + bsdi4*) + ;; + cygwin* | mingw* | pw32*) + shrext=.dll + ;; + darwin* | rhapsody*) + shrext=.dylib + ;; + dgux*) + ;; + freebsd1*) + ;; + freebsd*) + ;; + gnu*) + ;; + hpux9* | hpux10* | hpux11*) + case "$host_cpu" in + ia64*) + shrext=.so + ;; + hppa*64*) + shrext=.sl + ;; + *) + shrext=.sl + ;; + esac + ;; + irix5* | irix6* | nonstopux*) + case "$host_os" in + irix5* | nonstopux*) + libsuff= shlibsuff= + ;; + *) + case $LD in + *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; + *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; + *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; + *) libsuff= shlibsuff= ;; + esac + ;; + esac + ;; + linux*oldld* | linux*aout* | linux*coff*) + ;; + linux*) + ;; + netbsd*) + ;; + newsos6) + ;; + nto-qnx) + ;; + openbsd*) + ;; + os2*) + libname_spec='$name' + shrext=.dll + ;; + osf3* | osf4* | osf5*) + ;; + sco3.2v5*) + ;; + solaris*) + ;; + sunos4*) + ;; + sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) + ;; + sysv4*MP*) + ;; + uts4*) + ;; +esac + +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' +escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` +shlibext=`echo "$shrext" | sed -e 's,^\.,,'` +escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` + +sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <. +# Please send patches to . Submit a context +# diff and a properly formatted ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. @@ -69,7 +70,7 @@ version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO @@ -117,7 +118,8 @@ # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in - nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) + nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; @@ -143,7 +145,7 @@ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ - -apple | -axis) + -apple | -axis | -knuth | -cray) os= basic_machine=$1 ;; @@ -226,32 +228,46 @@ 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ + | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | c4x | clipper \ - | d10v | d30v | dsp16xx \ - | fr30 \ + | d10v | d30v | dlx | dsp16xx \ + | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ - | m32r | m68000 | m68k | m88k | mcore \ - | mips16 | mips64 | mips64el | mips64orion | mips64orionel \ - | mips64vr4100 | mips64vr4100el | mips64vr4300 \ - | mips64vr4300el | mips64vr5000 | mips64vr5000el \ - | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ - | mipsisa32 \ + | ip2k | iq2000 \ + | m32r | m32rle | m68000 | m68k | m88k | mcore \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64vr | mips64vrel \ + | mips64orion | mips64orionel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ + | msp430 \ | ns16k | ns32k \ - | openrisc \ + | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ - | s390 | s390x \ - | sh | sh[34] | sh[34]eb | shbe | shle \ - | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \ - | stormy16 | strongarm \ - | tahoe | thumb | tic80 | tron \ - | v850 \ + | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ + | sh64 | sh64le \ + | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ + | strongarm \ + | tahoe | thumb | tic4x | tic80 | tron \ + | v850 | v850e \ | we32k \ - | x86 | xscale \ + | x86 | xscale | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; @@ -278,38 +294,57 @@ 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ - | alphapca5[67]-* | arc-* \ - | arm-* | armbe-* | armle-* | armv*-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* \ | bs2000-* \ - | c[123]* | c30-* | [cjt]90-* | c54x-* \ - | clipper-* | cray2-* | cydra-* \ - | d10v-* | d30v-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ | elxsi-* \ - | f30[01]-* | f700-* | fr30-* | fx80-* \ + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ - | m32r-* \ - | m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \ + | ip2k-* | iq2000-* \ + | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | mcore-* \ - | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ - | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ - | mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \ - | mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \ + | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ + | mips16-* \ + | mips64-* | mips64el-* \ + | mips64vr-* | mips64vrel-* \ + | mips64orion-* | mips64orionel-* \ + | mips64vr4100-* | mips64vr4100el-* \ + | mips64vr4300-* | mips64vr4300el-* \ + | mips64vr5000-* | mips64vr5000el-* \ + | mipsisa32-* | mipsisa32el-* \ + | mipsisa32r2-* | mipsisa32r2el-* \ + | mipsisa64-* | mipsisa64el-* \ + | mipsisa64r2-* | mipsisa64r2el-* \ + | mipsisa64sb1-* | mipsisa64sb1el-* \ + | mipsisa64sr71k-* | mipsisa64sr71kel-* \ + | mipstx39-* | mipstx39el-* \ + | mmix-* \ + | msp430-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ - | s390-* | s390x-* \ - | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \ - | sparc-* | sparc64-* | sparc86x-* | sparclite-* \ - | sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \ - | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ - | v850-* | vax-* \ + | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ + | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ + | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ + | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ + | tahoe-* | thumb-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tron-* \ + | v850-* | v850e-* | vax-* \ | we32k-* \ - | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \ + | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ + | xtensa-* \ | ymp-* \ | z8k-*) ;; @@ -329,6 +364,9 @@ basic_machine=a29k-amd os=-udi ;; + abacus) + basic_machine=abacus-unknown + ;; adobe68k) basic_machine=m68010-adobe os=-scout @@ -343,6 +381,12 @@ basic_machine=a29k-none os=-bsd ;; + amd64) + basic_machine=x86_64-pc + ;; + amd64-*) + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; amdahl) basic_machine=580-amdahl os=-sysv @@ -374,6 +418,10 @@ basic_machine=ns32k-sequent os=-dynix ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; convex-c1) basic_machine=c1-convex os=-bsd @@ -394,17 +442,17 @@ basic_machine=c38-convex os=-bsd ;; - cray | ymp) - basic_machine=ymp-cray + cray | j90) + basic_machine=j90-cray os=-unicos ;; - cray2) - basic_machine=cray2-cray - os=-unicos - ;; - [cjt]90) - basic_machine=${basic_machine}-cray - os=-unicos + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16c) + basic_machine=cr16c-unknown + os=-elf ;; crds | unos) basic_machine=m68k-crds @@ -412,11 +460,23 @@ cris | cris-* | etrax*) basic_machine=cris-axis ;; + crx) + basic_machine=crx-unknown + os=-elf + ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec + ;; + decsystem10* | dec10*) + basic_machine=pdp10-dec + os=-tops10 + ;; + decsystem20* | dec20*) + basic_machine=pdp10-dec + os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) @@ -598,27 +658,19 @@ basic_machine=m68k-atari os=-mint ;; - mipsel*-linux*) - basic_machine=mipsel-unknown - os=-linux-gnu - ;; - mips*-linux*) - basic_machine=mips-unknown - os=-linux-gnu - ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown - ;; - mmix*) - basic_machine=mmix-knuth - os=-mmixware ;; monitor) basic_machine=m68k-rom68k os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos ;; msdos) basic_machine=i386-pc @@ -699,6 +751,14 @@ basic_machine=hppa1.1-oki os=-proelf ;; + or32 | or32-*) + basic_machine=or32-unknown + os=-coff + ;; + os400) + basic_machine=powerpc-ibm + os=-os400 + ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose @@ -721,26 +781,32 @@ pbb) basic_machine=m68k-tti ;; - pc532 | pc532-*) + pc532 | pc532-*) basic_machine=ns32k-pc532 ;; - pentium | p5 | k5 | k6 | nexgen) + pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; - pentiumpro | p6 | 6x86 | athlon) + pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; - pentiumii | pentium2) + pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; - pentium-* | p5-* | k5-* | k6-* | nexgen-*) + pentium4) + basic_machine=i786-pc + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; - pentiumii-* | pentium2-*) + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould @@ -748,22 +814,22 @@ power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown - ;; + ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown - ;; + ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown - ;; + ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown - ;; + ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; @@ -784,10 +850,26 @@ rtpc | rtpc-*) basic_machine=romp-ibm ;; + s390 | s390-*) + basic_machine=s390-ibm + ;; + s390x | s390x-*) + basic_machine=s390x-ibm + ;; sa29200) basic_machine=a29k-amd os=-udi ;; + sb1) + basic_machine=mipsisa64sb1-unknown + ;; + sb1el) + basic_machine=mipsisa64sb1el-unknown + ;; + sei) + basic_machine=mips-sei + os=-seiux + ;; sequent) basic_machine=i386-sequent ;; @@ -795,7 +877,10 @@ basic_machine=sh-hitachi os=-hms ;; - sparclite-wrs) + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; @@ -862,21 +947,41 @@ os=-dynix ;; t3e) - basic_machine=t3e-cray + basic_machine=alphaev5-cray + os=-unicos + ;; + t90) + basic_machine=t90-cray os=-unicos ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; + tic55x | c55x*) + basic_machine=tic55x-unknown + os=-coff + ;; + tic6x | c6x*) + basic_machine=tic6x-unknown + os=-coff + ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; + toad1) + basic_machine=pdp10-xkl + os=-tops20 + ;; tower | tower-32) basic_machine=m68k-ncr + ;; + tpf) + basic_machine=s390x-ibm + os=-tpf ;; udi29k) basic_machine=a29k-amd @@ -899,8 +1004,8 @@ os=-vms ;; vpp*|vx|vx-*) - basic_machine=f301-fujitsu - ;; + basic_machine=f301-fujitsu + ;; vxworks960) basic_machine=i960-wrs os=-vxworks @@ -921,16 +1026,12 @@ basic_machine=hppa1.1-winbond os=-proelf ;; - windows32) - basic_machine=i386-pc - os=-windows32-msvcrt - ;; - xmp) - basic_machine=xmp-cray + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray os=-unicos - ;; - xps | xps100) - basic_machine=xps100-honeywell ;; z8k-*-coff) basic_machine=z8k-unknown @@ -952,15 +1053,11 @@ op60c) basic_machine=hppa1.1-oki ;; - mips) - if [ x$os = x-linux-gnu ]; then - basic_machine=mips-unknown - else - basic_machine=mips-mips - fi - ;; romp) basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm @@ -978,13 +1075,16 @@ we32k) basic_machine=we32k-att ;; - sh3 | sh4 | sh3eb | sh4eb) + sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; - sparc | sparcv9 | sparcv9b) + sh64) + basic_machine=sh64-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b) basic_machine=sparc-sun ;; - cydra) + cydra) basic_machine=cydra-cydrome ;; orion) @@ -998,10 +1098,6 @@ ;; pmac | pmac-mpw) basic_machine=powerpc-apple - ;; - c4x*) - basic_machine=c4x-none - os=-coff ;; *-unknown) # Make sure to match an already-canonicalized machine name. @@ -1058,17 +1154,20 @@ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ - | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ - | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ - | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ - | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ + | -mingw32* | -linux* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ - | -os2* | -vos*) + | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ + | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ + | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1080,8 +1179,10 @@ ;; esac ;; + -nto-qnx*) + ;; -nto*) - os=-nto-qnx + os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ @@ -1090,8 +1191,8 @@ -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; - -linux*) - os=`echo $os | sed -e 's|linux|linux-gnu|'` + -linux-dietlibc) + os=-linux-dietlibc ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` @@ -1102,6 +1203,9 @@ -opened*) os=-openedition ;; + -os400*) + os=-os400 + ;; -wince*) os=-wince ;; @@ -1120,14 +1224,23 @@ -acis*) os=-aos ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; + -nova*) + os=-rtmk-nova + ;; -ns2 ) - os=-nextstep2 + os=-nextstep2 ;; -nsk*) os=-nsk @@ -1139,6 +1252,9 @@ -sinix*) os=-sysv4 ;; + -tpf*) + os=-tpf + ;; -triton*) os=-sysv3 ;; @@ -1166,8 +1282,14 @@ -xenix) os=-xenix ;; - -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) - os=-mint + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos ;; -none) ;; @@ -1200,10 +1322,14 @@ arm*-semi) os=-aout ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; - pdp11-*) + pdp11-*) os=-none ;; *-dec | vax-*) @@ -1230,6 +1356,9 @@ mips*-*) os=-elf ;; + or32-*) + os=-coff + ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; @@ -1242,6 +1371,9 @@ *-ibm) os=-aix ;; + *-knuth) + os=-mmixware + ;; *-wec) os=-proelf ;; @@ -1293,19 +1425,19 @@ *-next) os=-nextstep3 ;; - *-gould) + *-gould) os=-sysv ;; - *-highlevel) + *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; - *-sgi) + *-sgi) os=-irix ;; - *-siemens) + *-siemens) os=-sysv4 ;; *-masscomp) @@ -1374,10 +1506,16 @@ -mvs* | -opened*) vendor=ibm ;; + -os400*) + vendor=ibm + ;; -ptx*) vendor=sequent ;; - -vxsim* | -vxworks*) + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) diff --git a/configure b/configure index 97529ea..7d4096f 100755 --- a/configure +++ b/configure @@ -1,46 +1,777 @@ #! /bin/sh - # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.13 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Generated by GNU Autoconf 2.61. # +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. - -# Defaults: -ac_help= +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + +if test "x$CONFIG_SHELL" = x; then + if (eval ":") 2>/dev/null; then + as_have_required=yes +else + as_have_required=no +fi + + if test $as_have_required = yes && (eval ": +(as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test \$exitcode = 0) || { (exit 1); exit 1; } + +( + as_lineno_1=\$LINENO + as_lineno_2=\$LINENO + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } +") 2> /dev/null; then + : +else + as_candidate_shells= + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + case $as_dir in + /*) + for as_base in sh bash ksh sh5; do + as_candidate_shells="$as_candidate_shells $as_dir/$as_base" + done;; + esac +done +IFS=$as_save_IFS + + + for as_shell in $as_candidate_shells $SHELL; do + # Try only shells that exist, to save several forks. + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { ("$as_shell") 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + +: +_ASEOF +}; then + CONFIG_SHELL=$as_shell + as_have_required=yes + if { "$as_shell" 2> /dev/null <<\_ASEOF +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + +: +(as_func_return () { + (exit $1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = "$1" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test $exitcode = 0) || { (exit 1); exit 1; } + +( + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } + +_ASEOF +}; then + break +fi + +fi + + done + + if test "x$CONFIG_SHELL" != x; then + for as_var in BASH_ENV ENV + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + done + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +fi + + + if test $as_have_required = no; then + echo This script requires a shell more modern than all the + echo shells that I found on your system. Please install a + echo modern shell, or manually run the script under such a + echo shell if you do have one. + { (exit 1); exit 1; } +fi + + +fi + +fi + + + +(eval "as_func_return () { + (exit \$1) +} +as_func_success () { + as_func_return 0 +} +as_func_failure () { + as_func_return 1 +} +as_func_ret_success () { + return 0 +} +as_func_ret_failure () { + return 1 +} + +exitcode=0 +if as_func_success; then + : +else + exitcode=1 + echo as_func_success failed. +fi + +if as_func_failure; then + exitcode=1 + echo as_func_failure succeeded. +fi + +if as_func_ret_success; then + : +else + exitcode=1 + echo as_func_ret_success failed. +fi + +if as_func_ret_failure; then + exitcode=1 + echo as_func_ret_failure succeeded. +fi + +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then + : +else + exitcode=1 + echo positional parameters were not saved. +fi + +test \$exitcode = 0") || { + echo No shell found that supports shell functions. + echo Please tell autoconf@gnu.org about your system, + echo including any error possibly output before this + echo message +} + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir +fi +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + + +exec 7<&0 &1 + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# ac_default_prefix=/usr/local -# Any additions from configure.in: -ac_help="$ac_help - --with-sdl-prefix=PFX Prefix where SDL is installed (optional)" -ac_help="$ac_help - --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)" -ac_help="$ac_help - --disable-sdltest Do not try to compile and run a test SDL program" -ac_help="$ac_help - --enable-warp Enable mouse warp (for BeOS and Mac)" -ac_help="$ac_help - --disable-audio Disables Audio" -ac_help="$ac_help - --with-docdir=DPATH Directory where documentation is saved." -ac_help="$ac_help - --disable-network No network support." -ac_help="$ac_help - --enable-sdl-net Use SDL_Net for networking." -ac_help="$ac_help - --enable-netdebug Enable net packet debugging." -ac_help="$ac_help - --disable-install No installation. Played from the source directory." +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Identity of this package. +PACKAGE_NAME= +PACKAGE_TARNAME= +PACKAGE_VERSION= +PACKAGE_STRING= +PACKAGE_BUGREPORT= + +ac_unique_file="Makefile.am" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#ifdef HAVE_SYS_TYPES_H +# include +#endif +#ifdef HAVE_SYS_STAT_H +# include +#endif +#ifdef STDC_HEADERS +# include +# include +#else +# ifdef HAVE_STDLIB_H +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_INTTYPES_H +# include +#endif +#ifdef HAVE_STDINT_H +# include +#endif +#ifdef HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='SHELL +PATH_SEPARATOR +PACKAGE_NAME +PACKAGE_TARNAME +PACKAGE_VERSION +PACKAGE_STRING +PACKAGE_BUGREPORT +exec_prefix +prefix +program_transform_name +bindir +sbindir +libexecdir +datarootdir +datadir +sysconfdir +sharedstatedir +localstatedir +includedir +oldincludedir +docdir +infodir +htmldir +dvidir +pdfdir +psdir +libdir +localedir +mandir +DEFS +ECHO_C +ECHO_N +ECHO_T +LIBS +build_alias +host_alias +target_alias +build +build_cpu +build_vendor +build_os +host +host_cpu +host_vendor +host_os +target +target_cpu +target_vendor +target_os +CC +CFLAGS +LDFLAGS +CPPFLAGS +ac_ct_CC +EXEEXT +OBJEXT +CPP +GREP +EGREP +INSTALL_PROGRAM +INSTALL_SCRIPT +INSTALL_DATA +CYGPATH_W +PACKAGE +VERSION +ACLOCAL +AUTOCONF +AUTOMAKE +AUTOHEADER +MAKEINFO +install_sh +STRIP +INSTALL_STRIP_PROGRAM +mkdir_p +AWK +SET_MAKE +am__leading_dot +AMTAR +am__tar +am__untar +DEPDIR +am__include +am__quote +AMDEP_TRUE +AMDEP_FALSE +AMDEPBACKSLASH +CCDEPMODE +am__fastdepCC_TRUE +am__fastdepCC_FALSE +MKINSTALLDIRS +USE_NLS +MSGFMT +GMSGFMT +XGETTEXT +MSGMERGE +RANLIB +ALLOCA +GLIBC21 +HAVE_POSIX_PRINTF +HAVE_ASPRINTF +HAVE_SNPRINTF +HAVE_WPRINTF +LIBICONV +LTLIBICONV +INTLBISON +BUILD_INCLUDED_LIBINTL +USE_INCLUDED_LIBINTL +CATOBJEXT +DATADIRNAME +INSTOBJEXT +GENCAT +INTLOBJS +INTL_LIBTOOL_SUFFIX_PREFIX +INTLLIBS +LIBINTL +LTLIBINTL +POSUB +SDL_CONFIG +SDL_CFLAGS +SDL_LIBS +warp_flag +audio_flag +mixer_flag +doc_dir +network_flag +sdlnet_flag +sdlnet_lib_flag +netdebug_flag +inst_flag +hi_inst_flag +inst_dir +hi_dir +locdir_flag +win32_deps +arch_flag +win32_inst_script +appname +LIBOBJS +LTLIBOBJS' +ac_subst_files='' + ac_precious_vars='build_alias +host_alias +target_alias +CC +CFLAGS +LDFLAGS +LIBS +CPPFLAGS +CPP' + # Initialize some variables set by options. +ac_init_help= +ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. -build=NONE -cache_file=./config.cache +cache_file=/dev/null exec_prefix=NONE -host=NONE no_create= -nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE @@ -49,94 +780,117 @@ silent= site= srcdir= -target=NONE verbose= x_includes=NONE x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +# (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' +datarootdir='${prefix}/share' +datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} -# Maximum number of lines to put in a shell here document. -ac_max_here_lines=12 +docdir='${datarootdir}/doc/${PACKAGE}' +infodir='${datarootdir}/info' +htmldir='${docdir}' +dvidir='${docdir}' +pdfdir='${docdir}' +psdir='${docdir}' +libdir='${exec_prefix}/lib' +localedir='${datarootdir}/locale' +mandir='${datarootdir}/man' ac_prev= +ac_dashdash= for ac_option do - # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" + eval $ac_prev=\$ac_option ac_prev= continue fi - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; + case $ac_option in + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. - case "$ac_option" in + case $ac_dashdash$ac_option in + --) + ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; + bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) - ac_prev=build ;; + ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; + build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file="$ac_optarg" ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir="$ac_optarg" ;; + -datadir=* | --datadir=* | --datadi=* | --datad=*) + datadir=$ac_optarg ;; + + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ + | --dataroo | --dataro | --datar) + ac_prev=datarootdir ;; + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) + datarootdir=$ac_optarg ;; -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` + eval enable_$ac_feature=no ;; + + -docdir | --docdir | --docdi | --doc | --do) + ac_prev=docdir ;; + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) + docdir=$ac_optarg ;; + + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) + ac_prev=dvidir ;; + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) + dvidir=$ac_optarg ;; -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "enable_${ac_feature}='$ac_optarg'" ;; + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` + eval enable_$ac_feature=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@ -145,116 +899,77 @@ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; + exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; - -help | --help | --hel | --he) - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; -host | --host | --hos | --ho) - ac_prev=host ;; + ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; + host_alias=$ac_optarg ;; + + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) + ac_prev=htmldir ;; + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ + | --ht=*) + htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; + includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; + infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; + libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) - libexecdir="$ac_optarg" ;; + libexecdir=$ac_optarg ;; + + -localedir | --localedir | --localedi | --localed | --locale) + ac_prev=localedir ;; + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) + localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) + | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) + localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; + mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) + | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ @@ -268,26 +983,26 @@ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; + oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; + prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix="$ac_optarg" ;; + program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix="$ac_optarg" ;; + program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ @@ -304,7 +1019,17 @@ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; + program_transform_name=$ac_optarg ;; + + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) + ac_prev=pdfdir ;; + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) + pdfdir=$ac_optarg ;; + + -psdir | --psdir | --psdi | --psd | --ps) + ac_prev=psdir ;; + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) + psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) @@ -314,7 +1039,7 @@ ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; + sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ @@ -325,58 +1050,53 @@ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; + sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; + site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; + srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir="$ac_optarg" ;; + sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; + ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; + target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.13" - exit 0 ;; + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; - *) ac_optarg=yes ;; - esac - eval "with_${ac_package}='$ac_optarg'" ;; + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` + eval with_$ac_package=\$ac_optarg ;; -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/[-.]/_/g'` + eval with_$ac_package=no ;; --x) # Obsolete; use --with-x. @@ -387,184 +1107,2676 @@ ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes="$ac_optarg" ;; + x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries="$ac_optarg" ;; - - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + x_libraries=$ac_optarg ;; + + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" + # FIXME: should be removed in autoconf 3.0. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 -fi -exec 5>./config.log - -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 - -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } +fi + +# Be sure to have absolute directory names. +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ + datadir sysconfdir sharedstatedir localstatedir includedir \ + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ + libdir localedir mandir do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; + eval ac_val=\$$ac_var + case $ac_val in + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; } done -# NLS nuisances. -# Only set these to C if already set. These must not be set unconditionally -# because not all systems understand e.g. LANG=C (notably SCO). -# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -# Non-C LC_CTYPE values break the ctype check. -if test "${LANG+set}" = set; then LANG=C; export LANG; fi -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h - -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=Makefile.am +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +ac_pwd=`pwd` && test -n "$ac_pwd" && +ac_ls_di=`ls -di .` && +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || + { echo "$as_me: error: Working directory cannot be determined" >&2 + { (exit 1); exit 1; }; } +test "X$ac_ls_di" = "X$ac_pwd_ls_di" || + { echo "$as_me: error: pwd does not report name of working directory" >&2 + { (exit 1); exit 1; }; } + # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + # Try the directory containing this script, then the parent directory. + ac_confdir=`$as_dirname -- "$0" || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then + if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } - else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } - fi -fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` - +if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } +fi +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" +ac_abs_confdir=`( + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 + { (exit 1); exit 1; }; } + pwd)` +# When building in place, set srcdir=. +if test "$ac_abs_confdir" = "$ac_pwd"; then + srcdir=. +fi +# Remove unnecessary trailing slashes from srcdir. +# Double slashes in file names in object file debugging info +# mess up M-x gdb in Emacs. +case $srcdir in +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; +esac +for ac_var in $ac_precious_vars; do + eval ac_env_${ac_var}_set=\${${ac_var}+set} + eval ac_env_${ac_var}_value=\$${ac_var} + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} + eval ac_cv_env_${ac_var}_value=\$${ac_var} +done + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures this package to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] + --target=TARGET configure for building compilers for TARGET [HOST] +_ACEOF +fi + +if test -n "$ac_init_help"; then + + cat <<\_ACEOF + +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-nls do not use Native Language Support + --disable-rpath do not hardcode runtime library paths + --disable-sdltest Do not try to compile and run a test SDL program + --enable-warp Enable mouse warp (for BeOS and Mac) + --disable-audio Disables Audio + --disable-network No network support. + --enable-sdl-net Use SDL_Net for networking. + --enable-netdebug Enable net packet debugging. + --disable-install No installation. Played from the source directory. + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + --with-included-gettext use the GNU gettext library included here + --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib + --without-libintl-prefix don't search for libintl in includedir and libdir + --with-sdl-prefix=PFX Prefix where SDL is installed (optional) + --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional) + --with-docdir=DPATH Directory where documentation is saved. + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + LIBS libraries to pass to the linker, e.g. -l + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if + you have headers in a nonstandard directory + CPP C preprocessor + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +configure +generated by GNU Autoconf 2.61 + +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi +cat >config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by $as_me, which was +generated by GNU Autoconf 2.61. Invocation command line was + + $ $0 $@ + +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done +IFS=$as_save_IFS + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args '$ac_arg'" + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + *) $as_unset $ac_var ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------------- ## +## File substitutions. ## +## ------------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do +if test -n "$CONFIG_SITE"; then + set x "$CONFIG_SITE" +elif test "x$prefix" != xNONE; then + set x "$prefix/share/config.site" "$prefix/etc/config.site" +else + set x "$ac_default_prefix/share/config.site" \ + "$ac_default_prefix/etc/config.site" +fi +shift +for ac_site_file +do if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then - echo "loading cache $cache_file" - . $cache_file -else - echo "creating cache $cache_file" - > $cache_file -fi + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } +fi + + + + + + + + + + + + + + + + ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -ac_exeext= -ac_objext=o -if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi - - - - +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do - if test -f $ac_dir/install-sh; then +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do + if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break - elif test -f $ac_dir/install.sh; then + elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then - { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. - + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} + { (exit 1); exit 1; }; } +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} + { (exit 1); exit 1; }; } + +{ echo "$as_me:$LINENO: checking build system type" >&5 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; } +if test "${ac_cv_build+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 +echo "${ECHO_T}$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 +echo "$as_me: error: invalid value of canonical build" >&2;} + { (exit 1); exit 1; }; };; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_build +shift +build_cpu=$1 +build_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +build_os=$* +IFS=$ac_save_IFS +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +{ echo "$as_me:$LINENO: checking host system type" >&5 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; } +if test "${ac_cv_host+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build +else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} + { (exit 1); exit 1; }; } +fi + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 +echo "${ECHO_T}$ac_cv_host" >&6; } +case $ac_cv_host in +*-*-*) ;; +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 +echo "$as_me: error: invalid value of canonical host" >&2;} + { (exit 1); exit 1; }; };; +esac +host=$ac_cv_host +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_host +shift +host_cpu=$1 +host_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +host_os=$* +IFS=$ac_save_IFS +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac + + +{ echo "$as_me:$LINENO: checking target system type" >&5 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; } +if test "${ac_cv_target+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "x$target_alias" = x; then + ac_cv_target=$ac_cv_host +else + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} + { (exit 1); exit 1; }; } +fi + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5 +echo "${ECHO_T}$ac_cv_target" >&6; } +case $ac_cv_target in +*-*-*) ;; +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 +echo "$as_me: error: invalid value of canonical target" >&2;} + { (exit 1); exit 1; }; };; +esac +target=$ac_cv_target +ac_save_IFS=$IFS; IFS='-' +set x $ac_cv_target +shift +target_cpu=$1 +target_vendor=$2 +shift; shift +# Remember, the first character of IFS is used to create $*, +# except with old shells: +target_os=$* +IFS=$ac_save_IFS +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac + + +# The aliases save the names the user supplied, while $host etc. +# will get canonicalized. +test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- + + +cat >>confdefs.h <<\_ACEOF +#define _GNU_SOURCE 1 +_ACEOF + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + fi +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +# +# List of possible output files, starting from the most likely. +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) +# only as a last resort. b.out is created by i960 compilers. +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' +# +# The IRIX 6 linker writes into existing files which may not be +# executable, retaining their permissions. Remove them first so a +# subsequent execution test works. +ac_rmfiles= +for ac_file in $ac_files +do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + * ) ac_rmfiles="$ac_rmfiles $ac_file";; + esac +done +rm -f $ac_rmfiles + +if { (ac_try="$ac_link_default" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' +# in a Makefile. We should not override ac_cv_exeext if it was cached, +# so that the user can short-circuit this test for compilers unknown to +# Autoconf. +for ac_file in $ac_files '' +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi + # We set ac_cv_exeext here because the later test for it is not + # safe: cross compilers may not add the suffix if given an `-o' + # argument, so we may need to know it at that point already. + # Even if this section looks crufty: it has the advantage of + # actually working. + break;; + * ) + break;; + esac +done +test "$ac_cv_exeext" = no && ac_cv_exeext= + +else + ac_file='' +fi + +{ echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6; } +if test -z "$ac_file"; then + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext + +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + fi + fi +fi +{ echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6; } + +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + break;; + * ) break;; + esac +done +else + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest$ac_cv_exeext +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6; } + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6; } +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_c89=$ac_arg +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6; } ;; + xno) + { echo "$as_me:$LINENO: result: unsupported" >&5 +echo "${ECHO_T}unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; +esac + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +{ echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6; } +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi + +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi + +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } +if test "${ac_cv_path_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Extract the first word of "grep ggrep" to use in msg output +if test -z "$GREP"; then +set dummy grep ggrep; ac_prog_name=$2 +if test "${ac_cv_path_GREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_path_GREP_found=false +# Loop through the user's path and test for each of PROGNAME-LIST +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + # Check for GNU ac_path_GREP and select it if it is found. + # Check for GNU $ac_path_GREP +case `"$ac_path_GREP" --version 2>&1` in +*GNU*) + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; +*) + ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" + ac_path_GREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + + $ac_path_GREP_found && break 3 + done +done + +done +IFS=$as_save_IFS + + +fi + +GREP="$ac_cv_path_GREP" +if test -z "$GREP"; then + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } +fi + +else + ac_cv_path_GREP=$GREP +fi + + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +{ echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 + then ac_cv_path_EGREP="$GREP -E" + else + # Extract the first word of "egrep" to use in msg output +if test -z "$EGREP"; then +set dummy egrep; ac_prog_name=$2 +if test "${ac_cv_path_EGREP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_path_EGREP_found=false +# Loop through the user's path and test for each of PROGNAME-LIST +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + # Check for GNU ac_path_EGREP and select it if it is found. + # Check for GNU $ac_path_EGREP +case `"$ac_path_EGREP" --version 2>&1` in +*GNU*) + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; +*) + ac_count=0 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + while : + do + cat "conftest.in" "conftest.in" >"conftest.tmp" + mv "conftest.tmp" "conftest.in" + cp "conftest.in" "conftest.nl" + echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break + ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" + ac_path_EGREP_max=$ac_count + fi + # 10*(2^10) chars as input seems more than enough + test $ac_count -gt 10 && break + done + rm -f conftest.in conftest.tmp conftest.nl conftest.out;; +esac + + + $ac_path_EGREP_found && break 3 + done +done + +done +IFS=$as_save_IFS + + +fi + +EGREP="$ac_cv_path_EGREP" +if test -z "$EGREP"; then + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} + { (exit 1); exit 1; }; } +fi + +else + ac_cv_path_EGREP=$EGREP +fi + + + fi +fi +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + + +{ echo "$as_me:$LINENO: checking for AIX" >&5 +echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef _AIX + yes +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "yes" >/dev/null 2>&1; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } +cat >>confdefs.h <<\_ACEOF +#define _ALL_SOURCE 1 +_ACEOF + +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi +rm -f conftest* + + +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_header_stdc=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. + + + + + + + + + +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_Header=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +if test "${ac_cv_header_minix_config_h+set}" = set; then + { echo "$as_me:$LINENO: checking for minix/config.h" >&5 +echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5 +echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5 +echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for minix/config.h" >&5 +echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; } +if test "${ac_cv_header_minix_config_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_minix_config_h=$ac_header_preproc +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 +echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; } + +fi +if test $ac_cv_header_minix_config_h = yes; then + MINIX=yes +else + MINIX= +fi + + +if test "$MINIX" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define _POSIX_SOURCE 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define _POSIX_1_SOURCE 2 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define _MINIX 1 +_ACEOF + +fi + + + + + + + + + + + + { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5 +echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; } +if test "${ac_cv_safe_to_define___extensions__+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_safe_to_define___extensions__=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_safe_to_define___extensions__=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5 +echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && + cat >>confdefs.h <<\_ACEOF +#define __EXTENSIONS__ 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define _POSIX_PTHREAD_SEMANTICS 1 +_ACEOF + + cat >>confdefs.h <<\_ACEOF +#define _TANDEM_SOURCE 1 +_ACEOF + + + +ac_config_headers="$ac_config_headers config.h" + + +am__api_version="1.9" # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -572,441 +3784,7375 @@ # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. -echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:581: checking for a BSD compatible install" >&5 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then -if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - if test -f $ac_dir/$ac_prog; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : else - ac_cv_path_install="$ac_dir/$ac_prog -c" - break 2 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 fi fi done - ;; - esac - done - IFS="$ac_save_IFS" + done + ;; +esac +done +IFS=$as_save_IFS + fi if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" + INSTALL=$ac_cv_path_install else - # As a last resort, use the slow shell script. We don't cache a - # path for INSTALL within a source directory, because that will + # As a last resort, use the slow shell script. Don't cache a + # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is - # removed, or if the path is relative. - INSTALL="$ac_install_sh" + # removed, or if the value is a relative name. + INSTALL=$ac_install_sh fi fi -echo "$ac_t""$INSTALL" 1>&6 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -echo "configure:634: checking whether build environment is sane" >&5 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } # Just in case sleep 1 -echo timestamp > conftestfile +echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( - set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. - set X `ls -t $srcdir/configure conftestfile` + set X `ls -t $srcdir/configure conftest.file` fi - if test "$*" != "X $srcdir/configure conftestfile" \ - && test "$*" != "X conftestfile $srcdir/configure"; then + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". - { echo "configure: error: ls -t appears to fail. Make sure there is not a broken -alias in your environment" 1>&2; exit 1; } + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&5 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&2;} + { (exit 1); exit 1; }; } fi - test "$2" = conftestfile + test "$2" = conftest.file ) then # Ok. : else - { echo "configure: error: newly created file is older than distributed files! -Check your system clock" 1>&2; exit 1; } -fi -rm -f conftest* -echo "$ac_t""yes" 1>&6 -if test "$program_transform_name" = s,x,x,; then - program_transform_name= -else - # Double any \ or $. echo might interpret backslashes. - cat <<\EOF_SED > conftestsed -s,\\,\\\\,g; s,\$,$$,g -EOF_SED - program_transform_name="`echo $program_transform_name|sed -f conftestsed`" - rm -f conftestsed -fi + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! +Check your system clock" >&5 +echo "$as_me: error: newly created file is older than distributed files! +Check your system clock" >&2;} + { (exit 1); exit 1; }; } +fi +{ echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } test "$program_prefix" != NONE && - program_transform_name="s,^,${program_prefix},; $program_transform_name" + program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && - program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" - -# sed with no file args requires a program. -test "$program_transform_name" = "" && program_transform_name="s,x,x," - -echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -echo "configure:691: checking whether ${MAKE-make} sets \${MAKE}" >&5 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftestmake <<\EOF + program_transform_name="s&\$&$program_suffix&;$program_transform_name" +# Double any \ or $. echo might interpret backslashes. +# By default was `s,x,x', remove it if useless. +cat <<\_ACEOF >conftest.sed +s/[\\$]/&&/g;s/;s,x,x,$// +_ACEOF +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` +rm -f conftest.sed + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # We used to keeping the `.' as first argument, in order to + # allow $(mkdir_p) to be used without argument. As in + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. However this is wrong + # for two reasons: + # 1. if the package is installed by a user who cannot write `.' + # make install will fail, + # 2. the above comment should most certainly read + # $(mkdir_p) $(DESTDIR)$(somedir) + # so it does not work when $(somedir) is undefined and + # $(DESTDIR) is not. + # To support the latter case, we have to write + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), + # so the `.' trick is pointless. + mkdir_p='mkdir -p --' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + { echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$AWK" && break +done + +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.make <<\_ACEOF +SHELL = /bin/sh all: - @echo 'ac_maketemp="${MAKE}"' -EOF + @echo '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. -eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` -if test -n "$ac_maketemp"; then - eval ac_cv_prog_make_${ac_make}_set=yes -else - eval ac_cv_prog_make_${ac_make}_set=no -fi -rm -f conftestmake -fi -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then - echo "$ac_t""yes" 1>&6 +case `${MAKE-make} -f conftest.make 2>/dev/null` in + *@@@%%%=?*=@@@%%%*) + eval ac_cv_prog_make_${ac_make}_set=yes;; + *) + eval ac_cv_prog_make_${ac_make}_set=no;; +esac +rm -f conftest.make +fi +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } SET_MAKE= else - echo "$ac_t""no" 1>&6 + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi - -PACKAGE=lbreakout2 - -VERSION=2.5.2 - -if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then - { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } -fi -cat >> confdefs.h </dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +DEPDIR="${am__leading_dot}deps" + +ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +{ echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6; } +rm -f confinc confmf + +# Check whether --enable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval=$enable_dependency_tracking; +fi + +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + + +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} + { (exit 1); exit 1; }; } +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE=lbreakout2 + VERSION=2.6 + + +cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" -EOF - -cat >> confdefs.h <>confdefs.h <<_ACEOF #define VERSION "$VERSION" -EOF - - - -missing_dir=`cd $ac_aux_dir && pwd` -echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 -echo "configure:737: checking for working aclocal" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (aclocal --version) < /dev/null > /dev/null 2>&1; then - ACLOCAL=aclocal - echo "$ac_t""found" 1>&6 -else - ACLOCAL="$missing_dir/missing aclocal" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -echo "configure:750: checking for working autoconf" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoconf --version) < /dev/null > /dev/null 2>&1; then - AUTOCONF=autoconf - echo "$ac_t""found" 1>&6 -else - AUTOCONF="$missing_dir/missing autoconf" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working automake""... $ac_c" 1>&6 -echo "configure:763: checking for working automake" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (automake --version) < /dev/null > /dev/null 2>&1; then - AUTOMAKE=automake - echo "$ac_t""found" 1>&6 -else - AUTOMAKE="$missing_dir/missing automake" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -echo "configure:776: checking for working autoheader" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (autoheader --version) < /dev/null > /dev/null 2>&1; then - AUTOHEADER=autoheader - echo "$ac_t""found" 1>&6 -else - AUTOHEADER="$missing_dir/missing autoheader" - echo "$ac_t""missing" 1>&6 -fi - -echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -echo "configure:789: checking for working makeinfo" >&5 -# Run test in a subshell; some versions of sh will print an error if -# an executable is not found, even if stderr is redirected. -# Redirect stdin to placate older versions of autoconf. Sigh. -if (makeinfo --version) < /dev/null > /dev/null 2>&1; then - MAKEINFO=makeinfo - echo "$ac_t""found" 1>&6 -else - MAKEINFO="$missing_dir/missing makeinfo" - echo "$ac_t""missing" 1>&6 -fi - - - -# Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:806: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + +install_sh=${install_sh-"$am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + { echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_STRIP" = x; then + STRIP=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + STRIP=$ac_ct_STRIP + fi +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +# Always define AMTAR for backward compatibility. + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' + + + + +depcc="$CC" am_compiler_list= + +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + + + + + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + + + + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { echo "$as_me:$LINENO: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6; } + + + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgfmt", so it can be a program name with args. +set dummy msgfmt; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$MSGFMT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" + ;; +esac +fi +MSGFMT="$ac_cv_path_MSGFMT" +if test "$MSGFMT" != ":"; then + { echo "$as_me:$LINENO: result: $MSGFMT" >&5 +echo "${ECHO_T}$MSGFMT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. +set dummy gmsgfmt; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_GMSGFMT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $GMSGFMT in + [\\/]* | ?:[\\/]*) + ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" + ;; +esac +fi +GMSGFMT=$ac_cv_path_GMSGFMT +if test -n "$GMSGFMT"; then + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 +echo "${ECHO_T}$GMSGFMT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "xgettext", so it can be a program name with args. +set dummy xgettext; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_XGETTEXT+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$XGETTEXT" in + [\\/]* | ?:[\\/]*) + ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" + ;; +esac +fi +XGETTEXT="$ac_cv_path_XGETTEXT" +if test "$XGETTEXT" != ":"; then + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 +echo "${ECHO_T}$XGETTEXT" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + rm -f messages.po + + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "msgmerge", so it can be a program name with args. +set dummy msgmerge; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_MSGMERGE+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case "$MSGMERGE" in + [\\/]* | ?:[\\/]*) + ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in $PATH; do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then + ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" + test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" + ;; +esac +fi +MSGMERGE="$ac_cv_path_MSGMERGE" +if test "$MSGMERGE" != ":"; then + { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 +echo "${ECHO_T}$MSGMERGE" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + if test "$GMSGFMT" != ":"; then + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + { echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5 +echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; } + GMSGFMT=":" + fi + fi + + if test "$XGETTEXT" != ":"; then + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 +echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; } + XGETTEXT=":" + fi + rm -f messages.po + fi + + ac_config_commands="$ac_config_commands default-1" + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + { echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB + fi +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + + { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5 +echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; } +if test "${ac_cv_lib_cposix_strerror+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lcposix $LIBS" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char strerror (); +int +main () +{ +return strerror (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_cposix_strerror=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_cposix_strerror=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5 +echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; } +if test $ac_cv_lib_cposix_strerror = yes; then + LIBS="$LIBS -lcposix" +fi + + + +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } +if test "${ac_cv_c_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset cs; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *pcpcc; + char **ppc; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + pcpcc = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++pcpcc; + ppc = (char**) pcpcc; + pcpcc = (char const *const *) ppc; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + if (s) return 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + if (!foo) return 0; + } + return !cs[0] && !zero.x; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c_const=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_c_const=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 +echo "${ECHO_T}$ac_cv_c_const" >&6; } +if test $ac_cv_c_const = no; then + +cat >>confdefs.h <<\_ACEOF +#define const +_ACEOF + +fi + + + { echo "$as_me:$LINENO: checking for signed" >&5 +echo $ECHO_N "checking for signed... $ECHO_C" >&6; } +if test "${bh_cv_c_signed+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +signed char x; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + bh_cv_c_signed=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + bh_cv_c_signed=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5 +echo "${ECHO_T}$bh_cv_c_signed" >&6; } + if test $bh_cv_c_signed = no; then + +cat >>confdefs.h <<\_ACEOF +#define signed +_ACEOF + + fi + +{ echo "$as_me:$LINENO: checking for inline" >&5 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; } +if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_c_inline=$ac_kw +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 +echo "${ECHO_T}$ac_cv_c_inline" >&6; } + + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +{ echo "$as_me:$LINENO: checking for off_t" >&5 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; } +if test "${ac_cv_type_off_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +typedef off_t ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_off_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_off_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; } +if test $ac_cv_type_off_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define off_t long int +_ACEOF + +fi + +{ echo "$as_me:$LINENO: checking for size_t" >&5 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } +if test "${ac_cv_type_size_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +typedef size_t ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_size_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_size_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; } +if test $ac_cv_type_size_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned int +_ACEOF + +fi + + + { echo "$as_me:$LINENO: checking for long long" >&5 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; } +if test "${ac_cv_type_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +long long ll = 1LL; int i = 63; +int +main () +{ +long long llmax = (long long) -1; + return ll << i | ll >> i | llmax / ll | llmax % ll; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_type_long_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_long_long=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_long_long" >&6; } + if test $ac_cv_type_long_long = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LONG_LONG 1 +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking for long double" >&5 +echo $ECHO_N "checking for long double... $ECHO_C" >&6; } +if test "${gt_cv_c_long_double+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$GCC" = yes; then + gt_cv_c_long_double=yes + else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + /* The Stardent Vistra knows sizeof(long double), but does not support it. */ + long double foo = 0.0; + /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ + int array [2*(sizeof(long double) >= sizeof(double)) - 1]; + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + gt_cv_c_long_double=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_c_long_double=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +fi +{ echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5 +echo "${ECHO_T}$gt_cv_c_long_double" >&6; } + if test $gt_cv_c_long_double = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LONG_DOUBLE 1 +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking for wchar_t" >&5 +echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; } +if test "${gt_cv_c_wchar_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + wchar_t foo = (wchar_t)'\0'; +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + gt_cv_c_wchar_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_c_wchar_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5 +echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; } + if test $gt_cv_c_wchar_t = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_WCHAR_T 1 +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking for wint_t" >&5 +echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; } +if test "${gt_cv_c_wint_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + wint_t foo = (wchar_t)'\0'; +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + gt_cv_c_wint_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_c_wint_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5 +echo "${ECHO_T}$gt_cv_c_wint_t" >&6; } + if test $gt_cv_c_wint_t = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_WINT_T 1 +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking for inttypes.h" >&5 +echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; } +if test "${jm_ac_cv_header_inttypes_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +uintmax_t i = (uintmax_t) -1; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + jm_ac_cv_header_inttypes_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + jm_ac_cv_header_inttypes_h=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5 +echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6; } + if test $jm_ac_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_INTTYPES_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking for stdint.h" >&5 +echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; } +if test "${jm_ac_cv_header_stdint_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +uintmax_t i = (uintmax_t) -1; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + jm_ac_cv_header_stdint_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + jm_ac_cv_header_stdint_h=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5 +echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6; } + if test $jm_ac_cv_header_stdint_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_STDINT_H_WITH_UINTMAX 1 +_ACEOF + + fi + + + + + { echo "$as_me:$LINENO: checking for intmax_t" >&5 +echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; } +if test "${gt_cv_c_intmax_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +#include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +#include +#endif + +int +main () +{ +intmax_t x = -1; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + gt_cv_c_intmax_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_c_intmax_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5 +echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; } + if test $gt_cv_c_intmax_t = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_INTMAX_T 1 +_ACEOF + + fi + + + + { echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5 +echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; } +if test "${gt_cv_func_printf_posix+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + if test "$cross_compiling" = yes; then + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ + notposix +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "notposix" >/dev/null 2>&1; then + gt_cv_func_printf_posix="guessing no" +else + gt_cv_func_printf_posix="guessing yes" +fi +rm -f conftest* + + +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +/* The string "%2$d %1$d", with dollar characters protected from the shell's + dollar expansion (possibly an autoconf bug). */ +static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; +static char buf[100]; +int main () +{ + sprintf (buf, format, 33, 55); + return (strcmp (buf, "55 33") != 0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gt_cv_func_printf_posix=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +gt_cv_func_printf_posix=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + + +fi +{ echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5 +echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; } + case $gt_cv_func_printf_posix in + *yes) + +cat >>confdefs.h <<\_ACEOF +#define HAVE_POSIX_PRINTF 1 +_ACEOF + + ;; + esac + +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; } +if test "${ac_cv_working_alloca_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + if (p) return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_working_alloca_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_working_alloca_h=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; } +if test $ac_cv_working_alloca_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA_H 1 +_ACEOF + +fi + +{ echo "$as_me:$LINENO: checking for alloca" >&5 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; } +if test "${ac_cv_func_alloca_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# ifdef HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +int +main () +{ +char *p = (char *) alloca (1); + if (p) return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_func_alloca_works=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_func_alloca_works=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; } + +if test $ac_cv_func_alloca_works = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA 1 +_ACEOF + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext + +cat >>confdefs.h <<\_ACEOF +#define C_ALLOCA 1 +_ACEOF + + +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; } +if test "${ac_cv_os_cray+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#if defined CRAY && ! defined CRAY2 +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 +echo "${ECHO_T}$ac_cv_os_cray" >&6; } +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$ac_func || defined __stub___$ac_func +choke me +#endif + +int +main () +{ +return $ac_func (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_var=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_var'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_var'}'` = yes; then + +cat >>confdefs.h <<_ACEOF +#define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; } +if test "${ac_cv_c_stack_direction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_c_stack_direction=0 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} + +int +main () +{ + return find_stack_direction () < 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_stack_direction=1 +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_c_stack_direction=-1 +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; } + +cat >>confdefs.h <<_ACEOF +#define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + + + +for ac_header in stdlib.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +for ac_func in getpagesize +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$ac_func || defined __stub___$ac_func +choke me +#endif + +int +main () +{ +return $ac_func (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_var=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_var'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +{ echo "$as_me:$LINENO: checking for working mmap" >&5 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; } +if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_func_mmap_fixed_mapped=no +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +/* malloc might have been renamed as rpl_malloc. */ +#undef malloc + +/* Thanks to Mike Haertel and Jim Avera for this test. + Here is a matrix of mmap possibilities: + mmap private not fixed + mmap private fixed at somewhere currently unmapped + mmap private fixed at somewhere already mapped + mmap shared not fixed + mmap shared fixed at somewhere currently unmapped + mmap shared fixed at somewhere already mapped + For private mappings, we should verify that changes cannot be read() + back from the file, nor mmap's back from the file at a different + address. (There have been systems where private was not correctly + implemented like the infamous i386 svr4.0, and systems where the + VM page cache was not coherent with the file system buffer cache + like early versions of FreeBSD and possibly contemporary NetBSD.) + For shared mappings, we should conversely verify that changes get + propagated back to all the places they're supposed to be. + + Grep wants private fixed already mapped. + The main things grep needs to know about mmap are: + * does it exist and is it safe to write into the mmap'd area + * how to use it (BSD variants) */ + +#include +#include + +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H +char *malloc (); +#endif + +/* This mess was copied from the GNU getpagesize.h. */ +#ifndef HAVE_GETPAGESIZE +/* Assume that all systems that can run configure have sys/param.h. */ +# ifndef HAVE_SYS_PARAM_H +# define HAVE_SYS_PARAM_H 1 +# endif + +# ifdef _SC_PAGESIZE +# define getpagesize() sysconf(_SC_PAGESIZE) +# else /* no _SC_PAGESIZE */ +# ifdef HAVE_SYS_PARAM_H +# include +# ifdef EXEC_PAGESIZE +# define getpagesize() EXEC_PAGESIZE +# else /* no EXEC_PAGESIZE */ +# ifdef NBPG +# define getpagesize() NBPG * CLSIZE +# ifndef CLSIZE +# define CLSIZE 1 +# endif /* no CLSIZE */ +# else /* no NBPG */ +# ifdef NBPC +# define getpagesize() NBPC +# else /* no NBPC */ +# ifdef PAGESIZE +# define getpagesize() PAGESIZE +# endif /* PAGESIZE */ +# endif /* no NBPC */ +# endif /* no NBPG */ +# endif /* no EXEC_PAGESIZE */ +# else /* no HAVE_SYS_PARAM_H */ +# define getpagesize() 8192 /* punt totally */ +# endif /* no HAVE_SYS_PARAM_H */ +# endif /* no _SC_PAGESIZE */ + +#endif /* no HAVE_GETPAGESIZE */ + +int +main () +{ + char *data, *data2, *data3; + int i, pagesize; + int fd; + + pagesize = getpagesize (); + + /* First, make a file with some known garbage in it. */ + data = (char *) malloc (pagesize); + if (!data) + return 1; + for (i = 0; i < pagesize; ++i) + *(data + i) = rand (); + umask (0); + fd = creat ("conftest.mmap", 0600); + if (fd < 0) + return 1; + if (write (fd, data, pagesize) != pagesize) + return 1; + close (fd); + + /* Next, try to mmap the file at a fixed address which already has + something else allocated at it. If we can, also make sure that + we see the same garbage. */ + fd = open ("conftest.mmap", O_RDWR); + if (fd < 0) + return 1; + data2 = (char *) malloc (2 * pagesize); + if (!data2) + return 1; + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1); + if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, + MAP_PRIVATE | MAP_FIXED, fd, 0L)) + return 1; + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data2 + i)) + return 1; + + /* Finally, make sure that changes to the mapped area do not + percolate back to the file as seen by read(). (This is a bug on + some variants of i386 svr4.0.) */ + for (i = 0; i < pagesize; ++i) + *(data2 + i) = *(data2 + i) + 1; + data3 = (char *) malloc (pagesize); + if (!data3) + return 1; + if (read (fd, data3, pagesize) != pagesize) + return 1; + for (i = 0; i < pagesize; ++i) + if (*(data + i) != *(data3 + i)) + return 1; + close (fd); + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_mmap_fixed_mapped=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_func_mmap_fixed_mapped=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; } +if test $ac_cv_func_mmap_fixed_mapped = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_MMAP 1 +_ACEOF + +fi +rm -f conftest.mmap + + + { echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5 +echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; } +if test "${ac_cv_gnu_library_2_1+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Lucky GNU user" >/dev/null 2>&1; then + ac_cv_gnu_library_2_1=yes +else + ac_cv_gnu_library_2_1=no +fi +rm -f conftest* + + + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5 +echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; } + + GLIBC21="$ac_cv_gnu_library_2_1" + + + + + { echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5 +echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6; } +if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + if test "$cross_compiling" = yes; then + + # Guess based on the CPU. + case "$host_cpu" in + alpha* | i3456786 | m68k | s390*) + gt_cv_int_divbyzero_sigfpe="guessing yes";; + *) + gt_cv_int_divbyzero_sigfpe="guessing no";; + esac + +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include + +static void +#ifdef __cplusplus +sigfpe_handler (int sig) +#else +sigfpe_handler (sig) int sig; +#endif +{ + /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ + exit (sig != SIGFPE); +} + +int x = 1; +int y = 0; +int z; +int nan; + +int main () +{ + signal (SIGFPE, sigfpe_handler); +/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ +#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) + signal (SIGTRAP, sigfpe_handler); +#endif +/* Linux/SPARC yields signal SIGILL. */ +#if defined (__sparc__) && defined (__linux__) + signal (SIGILL, sigfpe_handler); +#endif + + z = x / y; + nan = y / y; + exit (1); +} + +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gt_cv_int_divbyzero_sigfpe=yes +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +gt_cv_int_divbyzero_sigfpe=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + + + +fi +{ echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5 +echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6; } + case "$gt_cv_int_divbyzero_sigfpe" in + *yes) value=1;; + *) value=0;; + esac + +cat >>confdefs.h <<_ACEOF +#define INTDIV0_RAISES_SIGFPE $value +_ACEOF + + + + { echo "$as_me:$LINENO: checking for unsigned long long" >&5 +echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; } +if test "${ac_cv_type_unsigned_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +unsigned long long ull = 1ULL; int i = 63; +int +main () +{ +unsigned long long ullmax = (unsigned long long) -1; + return ull << i | ull >> i | ullmax / ull | ullmax % ull; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_type_unsigned_long_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_unsigned_long_long=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; } + if test $ac_cv_type_unsigned_long_long = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UNSIGNED_LONG_LONG 1 +_ACEOF + + fi + + + + + if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then + + test $ac_cv_type_unsigned_long_long = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' + +cat >>confdefs.h <<_ACEOF +#define uintmax_t $ac_type +_ACEOF + + else + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UINTMAX_T 1 +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking for inttypes.h" >&5 +echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6; } +if test "${gt_cv_header_inttypes_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + gt_cv_header_inttypes_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_header_inttypes_h=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5 +echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6; } + if test $gt_cv_header_inttypes_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_INTTYPES_H 1 +_ACEOF + + fi + + + + if test $gt_cv_header_inttypes_h = yes; then + { echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5 +echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6; } +if test "${gt_cv_inttypes_pri_broken+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#ifdef PRId32 +char *p = PRId32; +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + gt_cv_inttypes_pri_broken=no +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_inttypes_pri_broken=yes +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +{ echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5 +echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6; } + fi + if test "$gt_cv_inttypes_pri_broken" = yes; then + +cat >>confdefs.h <<_ACEOF +#define PRI_MACROS_BROKEN 1 +_ACEOF + + fi + + + +for ac_header in stdint.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + { echo "$as_me:$LINENO: checking for SIZE_MAX" >&5 +echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; } + result= + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#if HAVE_STDINT_H +#include +#endif +#ifdef SIZE_MAX +Found it +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "Found it" >/dev/null 2>&1; then + result=yes +fi +rm -f conftest* + + if test -z "$result"; then + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo= ac_hi= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr '(' $ac_mid ')' + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) res_hi=$ac_lo;; +'') result=? ;; +esac +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +static long int longval () { return ~(size_t)0 / 10; } +static unsigned long int ulongval () { return ~(size_t)0 / 10; } +#include +#include +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if ((~(size_t)0 / 10) < 0) + { + long int i = longval (); + if (i != (~(size_t)0 / 10)) + return 1; + fprintf (f, "%ld\n", i); + } + else + { + unsigned long int i = ulongval (); + if (i != (~(size_t)0 / 10)) + return 1; + fprintf (f, "%lu\n", i); + } + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + res_hi=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +result=? +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.val + + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo= ac_hi= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr '(' $ac_mid ')' + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) res_lo=$ac_lo;; +'') result=? ;; +esac +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +static long int longval () { return ~(size_t)0 % 10; } +static unsigned long int ulongval () { return ~(size_t)0 % 10; } +#include +#include +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if ((~(size_t)0 % 10) < 0) + { + long int i = longval (); + if (i != (~(size_t)0 % 10)) + return 1; + fprintf (f, "%ld\n", i); + } + else + { + unsigned long int i = ulongval (); + if (i != (~(size_t)0 % 10)) + return 1; + fprintf (f, "%lu\n", i); + } + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + res_lo=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +result=? +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.val + + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo= ac_hi= +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_lo=`expr '(' $ac_mid ')' + 1` +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) fits_in_uint=$ac_lo;; +'') result=? ;; +esac +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); } +static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); } +#include +#include +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if ((sizeof (size_t) <= sizeof (unsigned int)) < 0) + { + long int i = longval (); + if (i != (sizeof (size_t) <= sizeof (unsigned int))) + return 1; + fprintf (f, "%ld\n", i); + } + else + { + unsigned long int i = ulongval (); + if (i != (sizeof (size_t) <= sizeof (unsigned int))) + return 1; + fprintf (f, "%lu\n", i); + } + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + fits_in_uint=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +result=? +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.val + + if test "$fits_in_uint" = 1; then + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + extern size_t foo; + extern unsigned long foo; + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + fits_in_uint=0 +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test -z "$result"; then + if test "$fits_in_uint" = 1; then + result="$res_hi$res_lo"U + else + result="$res_hi$res_lo"UL + fi + else + result='~(size_t)0' + fi + fi + { echo "$as_me:$LINENO: result: $result" >&5 +echo "${ECHO_T}$result" >&6; } + if test "$result" != yes; then + +cat >>confdefs.h <<_ACEOF +#define SIZE_MAX $result +_ACEOF + + fi + + + + +for ac_header in stdint.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi + +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } +else + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } +fi +if test "${acl_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac fi done IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } +if test "${acl_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 +echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } +if test "${acl_cv_rpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 +echo "${ECHO_T}$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then + enableval=$enable_rpath; : +else + enable_rpath=yes +fi + + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi + + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + + { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5 +echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; } +if test "${ac_cv_type_ptrdiff_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +typedef ptrdiff_t ac__type_new_; +int +main () +{ +if ((ac__type_new_ *) 0) + return 0; +if (sizeof (ac__type_new_)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_type_ptrdiff_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_type_ptrdiff_t=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5 +echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; } +if test $ac_cv_type_ptrdiff_t = yes; then + : +else + +cat >>confdefs.h <<\_ACEOF +#define ptrdiff_t long +_ACEOF + + +fi + + + + + + + + + + + +for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ +stdlib.h string.h unistd.h sys/param.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + { echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + + ;; +esac +{ echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +ac_res=`eval echo '${'$as_ac_Header'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + + + + + + + + + + + + + + + + + + +for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \ +mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \ +strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \ +__fsetlocking +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +{ echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined __stub_$ac_func || defined __stub___$ac_func +choke me +#endif + +int +main () +{ +return $ac_func (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + eval "$as_ac_var=no" +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +ac_res=`eval echo '${'$as_ac_var'}'` + { echo "$as_me:$LINENO: result: $ac_res" >&5 +echo "${ECHO_T}$ac_res" >&6; } +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + { echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5 +echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl__snprintf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ + +#ifndef _snprintf + char *p = (char *) _snprintf; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl__snprintf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl__snprintf=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5 +echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; } + if test $ac_cv_have_decl__snprintf = yes; then + gt_value=1 + else + gt_value=0 + fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL__SNPRINTF $gt_value +_ACEOF + + + + { echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5 +echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl__snwprintf+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ + +#ifndef _snwprintf + char *p = (char *) _snwprintf; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl__snwprintf=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl__snwprintf=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5 +echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; } + if test $ac_cv_have_decl__snwprintf = yes; then + gt_value=1 + else + gt_value=0 + fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL__SNWPRINTF $gt_value +_ACEOF + + + + + { echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5 +echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ + +#ifndef feof_unlocked + char *p = (char *) feof_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_feof_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_feof_unlocked=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6; } + if test $ac_cv_have_decl_feof_unlocked = yes; then + gt_value=1 + else + gt_value=0 + fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FEOF_UNLOCKED $gt_value +_ACEOF + + + + { echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5 +echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ + +#ifndef fgets_unlocked + char *p = (char *) fgets_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_fgets_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_fgets_unlocked=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6; } + if test $ac_cv_have_decl_fgets_unlocked = yes; then + gt_value=1 + else + gt_value=0 + fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FGETS_UNLOCKED $gt_value +_ACEOF + + + + { echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; } +if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ + +#ifndef getc_unlocked + char *p = (char *) getc_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_have_decl_getc_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_have_decl_getc_unlocked=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; } + if test $ac_cv_have_decl_getc_unlocked = yes; then + gt_value=1 + else + gt_value=0 + fi + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_GETC_UNLOCKED $gt_value +_ACEOF + + + + case $gt_cv_func_printf_posix in + *yes) HAVE_POSIX_PRINTF=1 ;; + *) HAVE_POSIX_PRINTF=0 ;; + esac + + if test "$ac_cv_func_asprintf" = yes; then + HAVE_ASPRINTF=1 + else + HAVE_ASPRINTF=0 + fi + + if test "$ac_cv_func_snprintf" = yes; then + HAVE_SNPRINTF=1 + else + HAVE_SNPRINTF=0 + fi + + if test "$ac_cv_func_wprintf" = yes; then + HAVE_WPRINTF=1 + else + HAVE_WPRINTF=0 + fi + + + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + { echo "$as_me:$LINENO: checking for iconv" >&5 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } +if test "${am_cv_func_iconv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 +echo "${ECHO_T}$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ICONV 1 +_ACEOF + + fi + if test "$am_cv_lib_iconv" = yes; then + { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 +echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } + { echo "$as_me:$LINENO: result: $LIBICONV" >&5 +echo "${ECHO_T}$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + if test "$am_cv_func_iconv" = yes; then + { echo "$as_me:$LINENO: checking for iconv declaration" >&5 +echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; } + if test "${am_cv_proto_iconv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + am_cv_proto_iconv_arg1="" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + am_cv_proto_iconv_arg1="const" +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" +fi + + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + { echo "$as_me:$LINENO: result: ${ac_t:- + }$am_cv_proto_iconv" >&5 +echo "${ECHO_T}${ac_t:- + }$am_cv_proto_iconv" >&6; } + +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $am_cv_proto_iconv_arg1 +_ACEOF + + fi + + + { echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 +echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; } +if test "${am_cv_langinfo_codeset+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +char* cs = nl_langinfo(CODESET); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + am_cv_langinfo_codeset=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + am_cv_langinfo_codeset=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + +fi +{ echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5 +echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; } + if test $am_cv_langinfo_codeset = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LANGINFO_CODESET 1 +_ACEOF + + fi + + if test $ac_cv_header_locale_h = yes; then + + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; } +if test "${am_cv_val_LC_MESSAGES+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +return LC_MESSAGES + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + am_cv_val_LC_MESSAGES=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + am_cv_val_LC_MESSAGES=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; } + if test $am_cv_val_LC_MESSAGES = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LC_MESSAGES 1 +_ACEOF + + fi + + fi + + for ac_prog in bison +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_INTLBISON+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$INTLBISON"; then + ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_INTLBISON="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +INTLBISON=$ac_cv_prog_INTLBISON +if test -n "$INTLBISON"; then + { echo "$as_me:$LINENO: result: $INTLBISON" >&5 +echo "${ECHO_T}$INTLBISON" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$INTLBISON" && break +done + + if test -z "$INTLBISON"; then + ac_verc_fail=yes + else + { echo "$as_me:$LINENO: checking version of bison" >&5 +echo $ECHO_N "checking version of bison... $ECHO_C" >&6; } + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + esac + { echo "$as_me:$LINENO: result: $ac_prog_version" >&5 +echo "${ECHO_T}$ac_prog_version" >&6; } + fi + if test $ac_verc_fail = yes; then + INTLBISON=: + fi + + + + + + + + + + + + + + + + + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } + # Check whether --enable-nls was given. +if test "${enable_nls+set}" = set; then + enableval=$enable_nls; USE_NLS=$enableval +else + USE_NLS=yes +fi + + { echo "$as_me:$LINENO: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6; } + + + + + BUILD_INCLUDED_LIBINTL=no + USE_INCLUDED_LIBINTL=no + + LIBINTL= + LTLIBINTL= + POSUB= + + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; } + +# Check whether --with-included-gettext was given. +if test "${with_included_gettext+set}" = set; then + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval +else + nls_cv_force_use_gnu_gettext=no +fi + + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; } + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + + + + + + + { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 +echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } +if test "${gt_cv_func_gnugettext1_libc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings; +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + gt_cv_func_gnugettext1_libc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_func_gnugettext1_libc=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +fi +{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5 +echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6; } + + if test "$gt_cv_func_gnugettext1_libc" != "yes"; then + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libintl-prefix was given. +if test "${with_libintl_prefix+set}" = set; then + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi + + LIBINTL= + LTLIBINTL= + INCINTL= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='intl ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBINTL; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" + ;; + esac + done + fi + else + LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" + done + fi + + { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 +echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } +if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (); +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + gt_cv_func_gnugettext1_libintl=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + gt_cv_func_gnugettext1_libintl=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (); +int +main () +{ +bindtextdomain ("", ""); +return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + gt_cv_func_gnugettext1_libintl=yes + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" +fi +{ echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5 +echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6; } + fi + + if test "$gt_cv_func_gnugettext1_libc" = "yes" \ + || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + + if test "$gt_use_preinstalled_gnugettext" != "yes"; then + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + BUILD_INCLUDED_LIBINTL=yes + USE_INCLUDED_LIBINTL=yes + LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV" + LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV" + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + CATOBJEXT=.gmo + fi + + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_NLS 1 +_ACEOF + + else + USE_NLS=no + fi + fi + + { echo "$as_me:$LINENO: checking whether to use NLS" >&5 +echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; } + { echo "$as_me:$LINENO: result: $USE_NLS" >&5 +echo "${ECHO_T}$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 +echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { echo "$as_me:$LINENO: result: $gt_source" >&5 +echo "${ECHO_T}$gt_source" >&6; } + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then + { echo "$as_me:$LINENO: checking how to link with libintl" >&5 +echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } + { echo "$as_me:$LINENO: result: $LIBINTL" >&5 +echo "${ECHO_T}$LIBINTL" >&6; } + + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + fi + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_GETTEXT 1 +_ACEOF + + +cat >>confdefs.h <<\_ACEOF +#define HAVE_DCGETTEXT 1 +_ACEOF + + fi + + POSUB=po + fi + + + if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then + BUILD_INCLUDED_LIBINTL=yes + fi + + + + + + nls_cv_header_intl= + nls_cv_header_libgt= + + DATADIRNAME=share + + + INSTOBJEXT=.mo + + + GENCAT=gencat + + + if test "$USE_INCLUDED_LIBINTL" = yes; then + INTLOBJS="\$(GETTOBJS)" + fi + + + INTL_LIBTOOL_SUFFIX_PREFIX= + + + + INTLLIBS="$LIBINTL" + + + + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_CC" = x; then + CC="" + else + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC + fi +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + fi +fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:836: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ac_prog_rejected=no - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_save_ifs" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift - if test $# -gt 0; then + if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - - if test -z "$CC"; then - case "`uname -s`" in - *win32* | *WIN32*) - # Extract the first word of "cl", so it can be a program name with args. -set dummy cl; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:887: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl.exe + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="cl" - break - fi +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + { echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$CC" && break done - IFS="$ac_save_ifs" -fi -fi -CC="$ac_cv_prog_CC" -if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - ;; - esac +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl.exe +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -fi - -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:919: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 - -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -cat > conftest.$ac_ext << EOF - -#line 930 "configure" -#include "confdefs.h" - -main(){return(0);} -EOF -if { (eval echo configure:935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - ac_cv_prog_cc_works=yes - # If we can't run a trivial program, we are probably using a cross compiler. - if (./conftest; exit) 2>/dev/null; then - ac_cv_prog_cc_cross=no +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$ac_ct_CC" && break +done + + if test "x$ac_ct_CC" = x; then + CC="" else - ac_cv_prog_cc_cross=yes + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + CC=$ac_ct_CC fi -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - ac_cv_prog_cc_works=no -fi -rm -fr conftest* -ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -cross_compiling=$ac_cv_prog_cc_cross - -echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 -if test $ac_cv_prog_cc_works = no; then - { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } -fi -echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:961: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 -echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 -cross_compiling=$ac_cv_prog_cc_cross - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:966: checking whether we are using GNU C" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.c <&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO: checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (ac_try="$ac_compiler --version >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler --version >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -v >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -v >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (ac_try="$ac_compiler -V >&5" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me #endif -EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes -else - ac_cv_prog_gcc=no -fi -fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 - -if test $ac_cv_prog_gcc = yes; then - GCC=yes -else - GCC= -fi - -ac_test_CFLAGS="${CFLAGS+set}" -ac_save_CFLAGS="$CFLAGS" -CFLAGS= -echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:994: checking whether ${CC-cc} accepts -g" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - echo 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_compiler_gnu=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else - ac_cv_prog_cc_g=no -fi -rm -f conftest* - -fi - -echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + CFLAGS="" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag +fi +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" + CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" @@ -1020,288 +11166,452 @@ CFLAGS= fi fi - -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1028: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } +if test "${ac_cv_prog_cc_c89+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_c89=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters + inside strings and character constants. */ +#define FOO(x) 'x' +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_c89=$ac_arg +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + +fi + +rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break +done +rm -f conftest.$ac_ext +CC=$ac_save_CC + +fi +# AC_CACHE_VAL +case "x$ac_cv_prog_cc_c89" in + x) + { echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6; } ;; + xno) + { echo "$as_me:$LINENO: result: unsupported" >&5 +echo "${ECHO_T}unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; +esac + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -fi -fi -RANLIB="$ac_cv_prog_RANLIB" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 -echo "configure:1056: checking for Cygwin environment" >&5 -if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_cygwin=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_cygwin=no -fi -rm -f conftest* -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_cygwin" 1>&6 -CYGWIN= -test "$ac_cv_cygwin" = yes && CYGWIN=yes -echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 -echo "configure:1089: checking for mingw32 environment" >&5 -if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then - rm -rf conftest* - ac_cv_mingw32=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - ac_cv_mingw32=no -fi -rm -f conftest* -rm -f conftest* -fi - -echo "$ac_t""$ac_cv_mingw32" 1>&6 -MINGW32= -test "$ac_cv_mingw32" = yes && MINGW32=yes - - -echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -echo "configure:1120: checking for executable suffix" >&5 -if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test "$CYGWIN" = yes || test "$MINGW32" = yes; then - ac_cv_exeext=.exe -else - rm -f conftest* - echo 'int main () { return 0; }' > conftest.$ac_ext - ac_cv_exeext= - if { (eval echo configure:1130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - for file in conftest.*; do - case $file in - *.$ac_ext | *.c | *.o | *.obj) ;; - *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; - esac - done + { echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + if test "x$ac_ct_RANLIB" = x; then + RANLIB=":" else - { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } + case $cross_compiling:$ac_tool_warned in +yes:) +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&5 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools +whose name does not start with the host triplet. If you think this +configuration is useful to you, please write to autoconf@gnu.org." >&2;} +ac_tool_warned=yes ;; +esac + RANLIB=$ac_ct_RANLIB fi - rm -f conftest* - test x"${ac_cv_exeext}" = x && ac_cv_exeext=no -fi -fi - -EXEEXT="" -test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} -echo "$ac_t""${ac_cv_exeext}" 1>&6 -ac_exeext=$EXEEXT - - -echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:1152: checking for main in -lm" >&5 -ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + + + +{ echo "$as_me:$LINENO: checking for main in -lm" >&5 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } +if test "${ac_cv_lib_m_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +return main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_m_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_m_main=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } +if test $ac_cv_lib_m_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBM 1 +_ACEOF LIBS="-lm $LIBS" else - echo "$ac_t""no" 1>&6 -{ echo "configure: error: lib math is needed" 1>&2; exit 1; } -fi - -echo $ac_n "checking for main in -lz""... $ac_c" 1>&6 -echo "configure:1196: checking for main in -lz" >&5 -ac_lib_var=`echo z'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" + { { echo "$as_me:$LINENO: error: lib math is needed" >&5 +echo "$as_me: error: lib math is needed" >&2;} + { (exit 1); exit 1; }; } +fi + + +{ echo "$as_me:$LINENO: checking for main in -lz" >&5 +echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; } +if test "${ac_cv_lib_z_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS LIBS="-lz $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +return main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_z_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_z_main=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5 +echo "${ECHO_T}$ac_cv_lib_z_main" >&6; } +if test $ac_cv_lib_z_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBZ 1 +_ACEOF LIBS="-lz $LIBS" else - echo "$ac_t""no" 1>&6 -{ echo "configure: error: libz is needed" 1>&2; exit 1; } -fi - -echo $ac_n "checking for main in -lpng""... $ac_c" 1>&6 -echo "configure:1240: checking for main in -lpng" >&5 -ac_lib_var=`echo png'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" + { { echo "$as_me:$LINENO: error: libz is needed" >&5 +echo "$as_me: error: libz is needed" >&2;} + { (exit 1); exit 1; }; } +fi + + +{ echo "$as_me:$LINENO: checking for main in -lpng" >&5 +echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; } +if test "${ac_cv_lib_png_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS LIBS="-lpng $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo png | sed -e 's/[^a-zA-Z0-9_]/_/g' \ - -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` - cat >> confdefs.h <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +return main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_png_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_png_main=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5 +echo "${ECHO_T}$ac_cv_lib_png_main" >&6; } +if test $ac_cv_lib_png_main = yes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LIBPNG 1 +_ACEOF LIBS="-lpng $LIBS" else - echo "$ac_t""no" 1>&6 -{ echo "configure: error: libpng is needed" 1>&2; exit 1; } -fi - - -CFLAGS="$CFLAGS -Wall" - -# Check whether --with-sdl-prefix or --without-sdl-prefix was given. + { { echo "$as_me:$LINENO: error: libpng is needed" >&5 +echo "$as_me: error: libpng is needed" >&2;} + { (exit 1); exit 1; }; } +fi + + + +# Check whether --with-sdl-prefix was given. if test "${with_sdl_prefix+set}" = set; then - withval="$with_sdl_prefix" - sdl_prefix="$withval" + withval=$with_sdl_prefix; sdl_prefix="$withval" else sdl_prefix="" fi -# Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given. + +# Check whether --with-sdl-exec-prefix was given. if test "${with_sdl_exec_prefix+set}" = set; then - withval="$with_sdl_exec_prefix" - sdl_exec_prefix="$withval" + withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval" else sdl_exec_prefix="" fi -# Check whether --enable-sdltest or --disable-sdltest was given. +# Check whether --enable-sdltest was given. if test "${enable_sdltest+set}" = set; then - enableval="$enable_sdltest" - : + enableval=$enable_sdltest; else enable_sdltest=yes fi @@ -1320,45 +11630,52 @@ fi fi + + PATH="$prefix/bin:$prefix/usr/bin:$PATH" # Extract the first word of "sdl-config", so it can be a program name with args. set dummy sdl-config; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1327: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_path_SDL_CONFIG'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - case "$SDL_CONFIG" in - /*) +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_path_SDL_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $SDL_CONFIG in + [\\/]* | ?:[\\/]*) ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path. ;; - ?:/*) - ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a dos path. - ;; *) - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_path_SDL_CONFIG="$ac_dir/$ac_word" - break - fi - done - IFS="$ac_save_ifs" + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no" ;; esac fi -SDL_CONFIG="$ac_cv_path_SDL_CONFIG" +SDL_CONFIG=$ac_cv_path_SDL_CONFIG if test -n "$SDL_CONFIG"; then - echo "$ac_t""$SDL_CONFIG" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi + { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5 +echo "${ECHO_T}$SDL_CONFIG" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + min_sdl_version=1.2.0 - echo $ac_n "checking for SDL - version >= $min_sdl_version""... $ac_c" 1>&6 -echo "configure:1362: checking for SDL - version >= $min_sdl_version" >&5 + { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5 +echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; } no_sdl="" if test "$SDL_CONFIG" = "no" ; then no_sdl=yes @@ -1381,9 +11698,12 @@ if test "$cross_compiling" = yes; then echo $ac_n "cross compiling; assumed OK... $ac_c" else - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include @@ -1394,7 +11714,7 @@ my_strdup (char *str) { char *new_str; - + if (str) { new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char)); @@ -1402,7 +11722,7 @@ } else new_str = NULL; - + return new_str; } @@ -1431,33 +11751,62 @@ } else { + printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version); + printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro); + printf("*** best to upgrade to the required version.\n"); + printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n"); + printf("*** to point to the correct copy of sdl-config, and remove the file\n"); + printf("*** config.cache before re-running configure\n"); return 1; } } -EOF -if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then +_ACEOF +rm -f conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then : else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - no_sdl=yes -fi -rm -fr conftest* -fi + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +no_sdl=yes +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi + CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_sdl" = x ; then - echo "$ac_t""yes" 1>&6 - : + { echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + : else - echo "$ac_t""no" 1>&6 + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } if test "$SDL_CONFIG" = "no" ; then echo "*** The sdl-config script installed by SDL could not be found" echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in" @@ -1470,19 +11819,47 @@ echo "*** Could not run SDL test program, checking why..." CFLAGS="$CFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" - cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include #include "SDL.h" -int main() { - return 0; -; return 0; } -EOF -if { (eval echo configure:1485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* +int main(int argc, char *argv[]) +{ return 0; } +#undef main +#define main K_and_R_C_main + +int +main () +{ + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then echo "*** The test program compiled, but did not run. This usually means" echo "*** that the run-time linker is not finding SDL or finding the wrong" echo "*** version of SDL. If it is not finding SDL, you'll need to set your" @@ -1493,206 +11870,239 @@ echo "*** If you have an old version installed, it is best to remove it, although" echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - echo "*** The test program failed to compile or link. See the file config.log for the" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + echo "*** The test program failed to compile or link. See the file config.log for the" echo "*** exact error that occured. This usually means SDL was incorrectly installed" echo "*** or that you have moved SDL since it was installed. In the latter case, you" - echo "*** may want to edit the sdl-config script: $SDL_CONFIG" -fi -rm -f conftest* + echo "*** may want to edit the sdl-config script: $SDL_CONFIG" +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi SDL_CFLAGS="" SDL_LIBS="" - { echo "configure: error: lib SDL is needed" 1>&2; exit 1; } + { { echo "$as_me:$LINENO: error: lib SDL is needed" >&5 +echo "$as_me: error: lib SDL is needed" >&2;} + { (exit 1); exit 1; }; } fi - - + + rm -f conf.sdltest CFLAGS="$CFLAGS $SDL_CFLAGS" LIBS="$LIBS $SDL_LIBS" warp_flag="" -# Check whether --enable-warp or --disable-warp was given. +# Check whether --enable-warp was given. if test "${enable_warp+set}" = set; then - enableval="$enable_warp" - warp_flag="-DMOUSE_WARP" + enableval=$enable_warp; warp_flag="-DMOUSE_WARP" fi audio_flag="-DAUDIO_ENABLED" mixer_flag="-lSDL_mixer" -# Check whether --enable-audio or --disable-audio was given. +# Check whether --enable-audio was given. if test "${enable_audio+set}" = set; then - enableval="$enable_audio" - audio_flag=""; mixer_flag="" -fi - - -echo $ac_n "checking for main in -lSDL_mixer""... $ac_c" 1>&6 -echo "configure:1540: checking for main in -lSDL_mixer" >&5 -ac_lib_var=`echo SDL_mixer'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" + enableval=$enable_audio; audio_flag=""; mixer_flag="" +fi + + +{ echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5 +echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6; } +if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS LIBS="-lSDL_mixer $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - echo "$ac_t"""SDL_Mixer found"" 1>&6 -else - echo "$ac_t""no" 1>&6 -echo "$ac_t"""SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled"" 1>&6; audio_flag=""; mixer_flag="" -fi - - - - - - -# Make sure we can run config.sub. -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : -else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } -fi - -echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:1587: checking host system type" >&5 - -host_alias=$host -case "$host_alias" in -NONE) - case $nonopt in - NONE) - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : - else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } - fi ;; - *) host_alias=$nonopt ;; - esac ;; -esac - -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` -host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -echo "$ac_t""$host" 1>&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +return main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_SDL_mixer_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_SDL_mixer_main=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5 +echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6; } +if test $ac_cv_lib_SDL_mixer_main = yes; then + { echo "$as_me:$LINENO: result: \"SDL_Mixer found\"" >&5 +echo "${ECHO_T}\"SDL_Mixer found\"" >&6; } +else + { echo "$as_me:$LINENO: result: \"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&5 +echo "${ECHO_T}\"SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled\"" >&6; }; audio_flag=""; mixer_flag="" +fi + + + doc_dir="/usr/doc" -# Check whether --with-docdir or --without-docdir was given. + +# Check whether --with-docdir was given. if test "${with_docdir+set}" = set; then - withval="$with_docdir" - doc_dir="$withval" + withval=$with_docdir; doc_dir="$withval" fi network_flag="-DNETWORK_ENABLED" -# Check whether --enable-network or --disable-network was given. +# Check whether --enable-network was given. if test "${enable_network+set}" = set; then - enableval="$enable_network" - network_flag="" + enableval=$enable_network; network_flag="" fi sdlnet_flag="" sdlnet_lib_flag="" -# Check whether --enable-sdl-net or --disable-sdl-net was given. +# Check whether --enable-sdl-net was given. if test "${enable_sdl_net+set}" = set; then - enableval="$enable_sdl_net" - sdlnet_flag="-DSDL_NET_ENABLED"; sdlnet_lib_flag="-lSDL_net" + enableval=$enable_sdl_net; sdlnet_flag="-DSDL_NET_ENABLED"; sdlnet_lib_flag="-lSDL_net" fi if test "$sdlnet_flag" == "-DSDL_NET_ENABLED" ; then - echo $ac_n "checking for main in -lSDL_net""... $ac_c" 1>&6 -echo "configure:1638: checking for main in -lSDL_net" >&5 -ac_lib_var=`echo SDL_net'_'main | sed 'y%./+-%__p_%'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" + { echo "$as_me:$LINENO: checking for main in -lSDL_net" >&5 +echo $ECHO_N "checking for main in -lSDL_net... $ECHO_C" >&6; } +if test "${ac_cv_lib_SDL_net_main+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_check_lib_save_LIBS=$LIBS LIBS="-lSDL_net $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" -fi -rm -f conftest* -LIBS="$ac_save_LIBS" - -fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - echo "$ac_t"""SDL_net found"" 1>&6 -else - echo "$ac_t""no" 1>&6 -echo "$ac_t"""SDL_net NOT found \(http://libsdl.org\): Networking disabled"" 1>&6; sdlnet_flag=""; sdlnet_lib_flag=""; network_flag="" +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + + +int +main () +{ +return main (); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_link") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && + $as_test_x conftest$ac_exeext; then + ac_cv_lib_SDL_net_main=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_cv_lib_SDL_net_main=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_net_main" >&5 +echo "${ECHO_T}$ac_cv_lib_SDL_net_main" >&6; } +if test $ac_cv_lib_SDL_net_main = yes; then + { echo "$as_me:$LINENO: result: \"SDL_net found\"" >&5 +echo "${ECHO_T}\"SDL_net found\"" >&6; } +else + { echo "$as_me:$LINENO: result: \"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&5 +echo "${ECHO_T}\"SDL_net NOT found \(http://libsdl.org\): Networking disabled\"" >&6; }; sdlnet_flag=""; sdlnet_lib_flag=""; network_flag="" fi fi netdebug_flag="" -# Check whether --enable-netdebug or --disable-netdebug was given. +# Check whether --enable-netdebug was given. if test "${enable_netdebug+set}" = set; then - enableval="$enable_netdebug" - netdebug_flag="-DNET_DEBUG_MSG" -fi - - + enableval=$enable_netdebug; netdebug_flag="-DNET_DEBUG_MSG" +fi + + + +localedir=$datadir/locale +locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" inst_dir="$datadir/lbreakout2" hi_dir=$localstatedir -# Check whether --enable-install or --disable-install was given. +# Check whether --enable-install was given. if test "${enable_install+set}" = set; then - enableval="$enable_install" - inst_dir="." hi_dir="." + enableval=$enable_install; inst_dir="." hi_dir="." +locdir_flag="-DLOCALEDIR=\\\"../dict\\\"" + rm -rf dict; mkdir dict + for lang in `cat po/LINGUAS`; do + mkdir dict/$lang; mkdir dict/$lang/LC_MESSAGES + ln -s ../../../po/$lang.gmo dict/$lang/LC_MESSAGES/$PACKAGE.mo + done + fi inst_flag="-DSRC_DIR=\\\"$inst_dir\\\"" hi_inst_flag="-DHI_DIR=\\\"$hi_dir\\\"" + @@ -1705,510 +12115,1613 @@ win32_inst_script="`pwd -W`/installer.iss" arch_flag="-march=i586" win32_deps="lbreakout2res.o" ;; - *) + *) win32="no" win32_inst_script="" arch_flag="" - win32_deps="" ;; -esac - - - - -if test "x$win32" = xyes; then - for ac_prog in mawk gawk nawk awk + win32_deps="" ;; +esac + + + + +if test "x$win32" = xyes; then + for ac_prog in gawk mawk nawk awk do -# Extract the first word of "$ac_prog", so it can be a program name with args. + # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1725: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_AWK="$ac_prog" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -AWK="$ac_cv_prog_AWK" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done +IFS=$as_save_IFS + +fi +fi +AWK=$ac_cv_prog_AWK if test -n "$AWK"; then - echo "$ac_t""$AWK" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -n "$AWK" && break + { echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6; } +else + { echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } +fi + + + test -n "$AWK" && break done - -# Extract the first word of "strip", so it can be a program name with args. -set dummy strip; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1758: checking for $ac_word" >&5 -if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - if test -n "$STRIP"; then - ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" - ac_dummy="$PATH" - for ac_dir in $ac_dummy; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_STRIP="strip" - break - fi - done - IFS="$ac_save_ifs" -fi -fi -STRIP="$ac_cv_prog_STRIP" -if test -n "$STRIP"; then - echo "$ac_t""$STRIP" 1>&6 -else - echo "$ac_t""no" 1>&6 -fi - -test -z "${STRIP}" && { echo "configure: error: strip was not found on this system" 1>&2; exit 1; } - - + fi appname="LBreakout2" -trap '' 1 2 15 -cat > confcache <<\EOF +ac_config_files="$ac_config_files Makefile docs/Makefile common/Makefile game/Makefile gui/Makefile client/Makefile client/gui_theme/Makefile client/gfx/Makefile client/gfx/AbsoluteB/Makefile client/gfx/Oz/Makefile client/gfx/Moiree/Makefile client/gfx/Classic/Makefile client/sounds/Makefile client/levels/Makefile server/Makefile server/levels/Makefile intl/Makefile po/Makefile.in m4/Makefile" + +cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure -# scripts and configure runs. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. # -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. # -EOF +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. -# So, don't put newlines in cache variables' values. +# So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. -(set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote substitution - # turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - -e "s/'/'\\\\''/g" \ - -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' - ;; - esac >> confcache -if cmp -s $cache_file confcache; then - : -else - if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file +( + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + *) $as_unset $ac_var ;; + esac ;; + esac + done + + (set) 2>&1 | + case $as_nl`(ac_space=' '; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; #( + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) | + sed ' + /^ac_cv_env_/b end + t clear + :clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + :end' >>confcache +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else + if test -w "$cache_file"; then + test "x$cache_file" != "x/dev/null" && + { echo "$as_me:$LINENO: updating cache $cache_file" >&5 +echo "$as_me: updating cache $cache_file" >&6;} + cat confcache >$cache_file else - echo "not updating unwritable cache $cache_file" + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 +echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -fi - -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - DEFS=-DHAVE_CONFIG_H -# Without the "./", some shells look in PATH for config.status. +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' + ac_i=`echo "$ac_i" | sed "$ac_script"` + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR + # will be set to the directory where LIBOBJS objects are built. + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi + : ${CONFIG_STATUS=./config.status} - -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $CONFIG_STATUS <&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL +# Generated by $as_me. # Run this file to recreate the current configuration. -# This directory was configured as follows, -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +as_nl=' +' +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir +fi +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 + +# Save the log message, to keep $[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by $as_me, which was +generated by GNU Autoconf 2.61. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +# Files that config.status was made for. +config_files="$ac_config_files" +config_headers="$ac_config_headers" +config_commands="$ac_config_commands" + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +config.status +configured by $0, generated by GNU Autoconf 2.61, + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2006 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='$ac_pwd' +srcdir='$srcdir' +INSTALL='$INSTALL' +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + echo "$ac_cs_version"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + { echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + CONFIG_SHELL=$SHELL + export CONFIG_SHELL + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + echo "$ac_log" +} >&5 + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF # -# $0 $ac_configure_args +# INIT-COMMANDS # -# Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. - -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" +# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + + +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF + +# Handling of arguments. +for ac_config_target in $ac_config_targets do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.13" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; + "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; + "game/Makefile") CONFIG_FILES="$CONFIG_FILES game/Makefile" ;; + "gui/Makefile") CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;; + "client/Makefile") CONFIG_FILES="$CONFIG_FILES client/Makefile" ;; + "client/gui_theme/Makefile") CONFIG_FILES="$CONFIG_FILES client/gui_theme/Makefile" ;; + "client/gfx/Makefile") CONFIG_FILES="$CONFIG_FILES client/gfx/Makefile" ;; + "client/gfx/AbsoluteB/Makefile") CONFIG_FILES="$CONFIG_FILES client/gfx/AbsoluteB/Makefile" ;; + "client/gfx/Oz/Makefile") CONFIG_FILES="$CONFIG_FILES client/gfx/Oz/Makefile" ;; + "client/gfx/Moiree/Makefile") CONFIG_FILES="$CONFIG_FILES client/gfx/Moiree/Makefile" ;; + "client/gfx/Classic/Makefile") CONFIG_FILES="$CONFIG_FILES client/gfx/Classic/Makefile" ;; + "client/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES client/sounds/Makefile" ;; + "client/levels/Makefile") CONFIG_FILES="$CONFIG_FILES client/levels/Makefile" ;; + "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;; + "server/levels/Makefile") CONFIG_FILES="$CONFIG_FILES server/levels/Makefile" ;; + "intl/Makefile") CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;; + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; + "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;; + + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; esac done -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" - -trap 'rm -fr `echo "Makefile -docs/Makefile -common/Makefile -game/Makefile -gui/Makefile -client/Makefile -client/gui_theme/Makefile -client/gfx/Makefile -client/gfx/AbsoluteB/Makefile -client/gfx/Oz/Makefile -client/gfx/Moiree/Makefile -client/gfx/Classic/Makefile -client/sounds/Makefile -client/levels/Makefile -server/Makefile -server/levels/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@SHELL@%$SHELL%g -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@FFLAGS@%$FFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@PACKAGE@%$PACKAGE%g -s%@VERSION@%$VERSION%g -s%@ACLOCAL@%$ACLOCAL%g -s%@AUTOCONF@%$AUTOCONF%g -s%@AUTOMAKE@%$AUTOMAKE%g -s%@AUTOHEADER@%$AUTOHEADER%g -s%@MAKEINFO@%$MAKEINFO%g -s%@SET_MAKE@%$SET_MAKE%g -s%@CC@%$CC%g -s%@RANLIB@%$RANLIB%g -s%@EXEEXT@%$EXEEXT%g -s%@SDL_CONFIG@%$SDL_CONFIG%g -s%@SDL_CFLAGS@%$SDL_CFLAGS%g -s%@SDL_LIBS@%$SDL_LIBS%g -s%@warp_flag@%$warp_flag%g -s%@audio_flag@%$audio_flag%g -s%@mixer_flag@%$mixer_flag%g -s%@host@%$host%g -s%@host_alias@%$host_alias%g -s%@host_cpu@%$host_cpu%g -s%@host_vendor@%$host_vendor%g -s%@host_os@%$host_os%g -s%@doc_dir@%$doc_dir%g -s%@network_flag@%$network_flag%g -s%@sdlnet_flag@%$sdlnet_flag%g -s%@sdlnet_lib_flag@%$sdlnet_lib_flag%g -s%@netdebug_flag@%$netdebug_flag%g -s%@inst_flag@%$inst_flag%g -s%@hi_inst_flag@%$hi_inst_flag%g -s%@inst_dir@%$inst_dir%g -s%@hi_dir@%$hi_dir%g -s%@win32_deps@%$win32_deps%g -s%@arch_flag@%$arch_flag%g -s%@AWK@%$AWK%g -s%@STRIP@%$STRIP%g -s%@win32_inst_script@%$win32_inst_script%g -s%@appname@%$appname%g - -CEOF -EOF - -cat >> $CONFIG_STATUS <<\EOF - -# Split the substitutions into bite-sized pieces for seds with -# small command number limits, like on Digital OSF/1 and HP-UX. -ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. -ac_file=1 # Number of current file. -ac_beg=1 # First line for current file. -ac_end=$ac_max_sed_cmds # Line after last line for current file. -ac_more_lines=: -ac_sed_cmds="" -while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +# +# Set up the sed scripts for CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "$CONFIG_FILES"; then + +_ACEOF + + + +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF +SHELL!$SHELL$ac_delim +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim +PACKAGE_NAME!$PACKAGE_NAME$ac_delim +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim +PACKAGE_STRING!$PACKAGE_STRING$ac_delim +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim +exec_prefix!$exec_prefix$ac_delim +prefix!$prefix$ac_delim +program_transform_name!$program_transform_name$ac_delim +bindir!$bindir$ac_delim +sbindir!$sbindir$ac_delim +libexecdir!$libexecdir$ac_delim +datarootdir!$datarootdir$ac_delim +datadir!$datadir$ac_delim +sysconfdir!$sysconfdir$ac_delim +sharedstatedir!$sharedstatedir$ac_delim +localstatedir!$localstatedir$ac_delim +includedir!$includedir$ac_delim +oldincludedir!$oldincludedir$ac_delim +docdir!$docdir$ac_delim +infodir!$infodir$ac_delim +htmldir!$htmldir$ac_delim +dvidir!$dvidir$ac_delim +pdfdir!$pdfdir$ac_delim +psdir!$psdir$ac_delim +libdir!$libdir$ac_delim +localedir!$localedir$ac_delim +mandir!$mandir$ac_delim +DEFS!$DEFS$ac_delim +ECHO_C!$ECHO_C$ac_delim +ECHO_N!$ECHO_N$ac_delim +ECHO_T!$ECHO_T$ac_delim +LIBS!$LIBS$ac_delim +build_alias!$build_alias$ac_delim +host_alias!$host_alias$ac_delim +target_alias!$target_alias$ac_delim +build!$build$ac_delim +build_cpu!$build_cpu$ac_delim +build_vendor!$build_vendor$ac_delim +build_os!$build_os$ac_delim +host!$host$ac_delim +host_cpu!$host_cpu$ac_delim +host_vendor!$host_vendor$ac_delim +host_os!$host_os$ac_delim +target!$target$ac_delim +target_cpu!$target_cpu$ac_delim +target_vendor!$target_vendor$ac_delim +target_os!$target_os$ac_delim +CC!$CC$ac_delim +CFLAGS!$CFLAGS$ac_delim +LDFLAGS!$LDFLAGS$ac_delim +CPPFLAGS!$CPPFLAGS$ac_delim +ac_ct_CC!$ac_ct_CC$ac_delim +EXEEXT!$EXEEXT$ac_delim +OBJEXT!$OBJEXT$ac_delim +CPP!$CPP$ac_delim +GREP!$GREP$ac_delim +EGREP!$EGREP$ac_delim +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim +INSTALL_DATA!$INSTALL_DATA$ac_delim +CYGPATH_W!$CYGPATH_W$ac_delim +PACKAGE!$PACKAGE$ac_delim +VERSION!$VERSION$ac_delim +ACLOCAL!$ACLOCAL$ac_delim +AUTOCONF!$AUTOCONF$ac_delim +AUTOMAKE!$AUTOMAKE$ac_delim +AUTOHEADER!$AUTOHEADER$ac_delim +MAKEINFO!$MAKEINFO$ac_delim +install_sh!$install_sh$ac_delim +STRIP!$STRIP$ac_delim +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim +mkdir_p!$mkdir_p$ac_delim +AWK!$AWK$ac_delim +SET_MAKE!$SET_MAKE$ac_delim +am__leading_dot!$am__leading_dot$ac_delim +AMTAR!$AMTAR$ac_delim +am__tar!$am__tar$ac_delim +am__untar!$am__untar$ac_delim +DEPDIR!$DEPDIR$ac_delim +am__include!$am__include$ac_delim +am__quote!$am__quote$ac_delim +AMDEP_TRUE!$AMDEP_TRUE$ac_delim +AMDEP_FALSE!$AMDEP_FALSE$ac_delim +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim +CCDEPMODE!$CCDEPMODE$ac_delim +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim +USE_NLS!$USE_NLS$ac_delim +MSGFMT!$MSGFMT$ac_delim +GMSGFMT!$GMSGFMT$ac_delim +XGETTEXT!$XGETTEXT$ac_delim +MSGMERGE!$MSGMERGE$ac_delim +RANLIB!$RANLIB$ac_delim +ALLOCA!$ALLOCA$ac_delim +_ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } else - sed "${ac_end}q" conftest.subs > conftest.s$ac_file - fi - if test ! -s conftest.s$ac_file; then - ac_more_lines=false - rm -f conftest.s$ac_file - else - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f conftest.s$ac_file" - else - ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" - fi - ac_file=`expr $ac_file + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_cmds` + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done -if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat -fi -EOF - -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; + +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +if test -n "$ac_eof"; then + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` + ac_eof=`expr $ac_eof + 1` +fi + +cat >>$CONFIG_STATUS <<_ACEOF +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +_ACEOF +sed ' +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +s/^/s,@/; s/!/@,|#_!!_#|/ +:n +t n +s/'"$ac_delim"'$/,g/; t +s/$/\\/; p +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF +CEOF$ac_eof +_ACEOF + + +ac_delim='%!_!# ' +for ac_last_try in false false false false false :; do + cat >conf$$subs.sed <<_ACEOF +GLIBC21!$GLIBC21$ac_delim +HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim +HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim +HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim +HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim +LIBICONV!$LIBICONV$ac_delim +LTLIBICONV!$LTLIBICONV$ac_delim +INTLBISON!$INTLBISON$ac_delim +BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim +CATOBJEXT!$CATOBJEXT$ac_delim +DATADIRNAME!$DATADIRNAME$ac_delim +INSTOBJEXT!$INSTOBJEXT$ac_delim +GENCAT!$GENCAT$ac_delim +INTLOBJS!$INTLOBJS$ac_delim +INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim +INTLLIBS!$INTLLIBS$ac_delim +LIBINTL!$LIBINTL$ac_delim +LTLIBINTL!$LTLIBINTL$ac_delim +POSUB!$POSUB$ac_delim +SDL_CONFIG!$SDL_CONFIG$ac_delim +SDL_CFLAGS!$SDL_CFLAGS$ac_delim +SDL_LIBS!$SDL_LIBS$ac_delim +warp_flag!$warp_flag$ac_delim +audio_flag!$audio_flag$ac_delim +mixer_flag!$mixer_flag$ac_delim +doc_dir!$doc_dir$ac_delim +network_flag!$network_flag$ac_delim +sdlnet_flag!$sdlnet_flag$ac_delim +sdlnet_lib_flag!$sdlnet_lib_flag$ac_delim +netdebug_flag!$netdebug_flag$ac_delim +inst_flag!$inst_flag$ac_delim +hi_inst_flag!$hi_inst_flag$ac_delim +inst_dir!$inst_dir$ac_delim +hi_dir!$hi_dir$ac_delim +locdir_flag!$locdir_flag$ac_delim +win32_deps!$win32_deps$ac_delim +arch_flag!$arch_flag$ac_delim +win32_inst_script!$win32_inst_script$ac_delim +appname!$appname$ac_delim +LIBOBJS!$LIBOBJS$ac_delim +LTLIBOBJS!$LTLIBOBJS$ac_delim +_ACEOF + + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then + break + elif $ac_last_try; then + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} + { (exit 1); exit 1; }; } + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` +if test -n "$ac_eof"; then + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` + ac_eof=`expr $ac_eof + 1` +fi + +cat >>$CONFIG_STATUS <<_ACEOF +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end +_ACEOF +sed ' +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g +s/^/s,@/; s/!/@,|#_!!_#|/ +:n +t n +s/'"$ac_delim"'$/,g/; t +s/$/\\/; p +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n +' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF +:end +s/|#_!!_#|//g +CEOF$ac_eof +_ACEOF + + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +}' +fi + +cat >>$CONFIG_STATUS <<\_ACEOF +fi # test -n "$CONFIG_FILES" + + +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; esac - - # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. - - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 +echo "$as_me: error: Invalid tag $ac_tag." >&2;} + { (exit 1); exit 1; }; };; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac - - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 +echo "$as_me: error: cannot find input file: $ac_f" >&2;} + { (exit 1); exit 1; }; };; + esac + ac_file_inputs="$ac_file_inputs $ac_f" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input="Generated from "`IFS=: + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + fi + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin";; + esac + ;; esac - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir="$ac_dir" + case $as_dir in #( + -*) as_dir=./$as_dir;; esac - - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -fi; done -rm -f conftest.s* - -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where -# NAME is the cpp macro being defined and VALUE is the value it is being given. -# -# ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' -ac_dC='\3' -ac_dD='%g' -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_uB='\([ ]\)%\1#\2define\3' -ac_uC=' ' -ac_uD='\4%g' -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_eB='$%\1#\2define\3' -ac_eC=' ' -ac_eD='%g' - -if test "${CONFIG_HEADERS+set}" != set; then -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -fi -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac - - echo creating $ac_file - - rm -f conftest.frag conftest.in conftest.out - ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` - cat $ac_file_inputs > conftest.in - -EOF - -# Transform confdefs.h into a sed script conftest.vals that substitutes -# the proper values into config.h.in to produce config.h. And first: -# Protect against being on the right side of a sed subst in config.status. -# Protect against being in an unquoted here document in config.status. -rm -f conftest.vals -cat > conftest.hdr <<\EOF -s/[\\&%]/\\&/g -s%[\\$`]%\\&%g -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp -s%ac_d%ac_u%gp -s%ac_u%ac_e%gp -EOF -sed -n -f conftest.hdr confdefs.h > conftest.vals -rm -f conftest.hdr - -# This sed command replaces #undef with comments. This is necessary, for +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= + +case `sed -n '/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p +' $ac_file_inputs` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + ac_datarootdir_hack=' + s&@datadir@&$datadir&g + s&@docdir@&$docdir&g + s&@infodir@&$infodir&g + s&@localedir@&$localedir&g + s&@mandir@&$mandir&g + s&\\\${datarootdir}&$datarootdir&g' ;; +esac +_ACEOF + +# Neutralize VPATH when `$srcdir' = `.'. +# Shell code in configure.ac might set extrasub. +# FIXME: do we really want to maintain this feature? +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s&@configure_input@&$configure_input&;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +$ac_datarootdir_hack +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out"; rm -f "$tmp/out";; + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; + esac + ;; + :H) + # + # CONFIG_HEADER + # +_ACEOF + +# Transform confdefs.h into a sed script `conftest.defines', that +# substitutes the proper values into config.h.in to produce config.h. +rm -f conftest.defines conftest.tail +# First, append a space to every undef/define line, to ease matching. +echo 's/$/ /' >conftest.defines +# Then, protect against being on the right side of a sed subst, or in +# an unquoted here document, in config.status. If some macros were +# called several times there might be several #defines for the same +# symbol, which is useless. But do not sort them, since the last +# AC_DEFINE must be honored. +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where +# NAME is the cpp macro being defined, VALUE is the value it is being given. +# PARAMS is the parameter list in the macro definition--in most cases, it's +# just an empty string. +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' +ac_dB='\\)[ (].*,\\1define\\2' +ac_dC=' ' +ac_dD=' ,' + +uniq confdefs.h | + sed -n ' + t rset + :rset + s/^[ ]*#[ ]*define[ ][ ]*// + t ok + d + :ok + s/[\\&,]/\\&/g + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p + ' >>conftest.defines + +# Remove the space that was appended to ease matching. +# Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. -cat >> conftest.vals <<\EOF -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% -EOF - -# Break up conftest.vals because some shells have a limit on -# the size of here documents, and old seds have small limits too. - -rm -f conftest.tail +# (The regexp can be short, since the line contains either #define or #undef.) +echo 's/ $// +s,^[ #]*u.*,/* & */,' >>conftest.defines + +# Break up conftest.defines: +ac_max_sed_lines=50 + +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" +# et cetera. +ac_in='$ac_file_inputs' +ac_out='"$tmp/out1"' +ac_nxt='"$tmp/out2"' + while : do - ac_lines=`grep -c . conftest.vals` - # grep -c gives empty output for an empty file on some AIX systems. - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi - # Write a limited-size here document to conftest.frag. - echo ' cat > conftest.frag <> $CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS + # Write a here document: + cat >>$CONFIG_STATUS <<_ACEOF + # First, check the format of the line: + cat >"\$tmp/defines.sed" <<\\CEOF +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def +b +:def +_ACEOF + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF - sed -f conftest.frag conftest.in > conftest.out - rm -f conftest.in - mv conftest.out conftest.in -' >> $CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail - rm -f conftest.vals - mv conftest.tail conftest.vals + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail + grep . conftest.tail >/dev/null || break + rm -f conftest.defines + mv conftest.tail conftest.defines done -rm -f conftest.vals - -cat >> $CONFIG_STATUS <<\EOF - rm -f conftest.frag conftest.h - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h - cat conftest.in >> conftest.h - rm -f conftest.in - if cmp -s $ac_file conftest.h 2>/dev/null; then - echo "$ac_file is unchanged" - rm -f conftest.h +rm -f conftest.defines conftest.tail + +echo "ac_result=$ac_in" >>$CONFIG_STATUS +cat >>$CONFIG_STATUS <<\_ACEOF + if test x"$ac_file" != x-; then + echo "/* $configure_input */" >"$tmp/config.h" + cat "$ac_result" >>"$tmp/config.h" + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f $ac_file + mv "$tmp/config.h" $ac_file + fi else - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - fi - rm -f $ac_file - mv conftest.h $ac_file + echo "/* $configure_input */" + cat "$ac_result" fi -fi; done - -EOF -cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF -test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h - -exit 0 -EOF + rm -f "$tmp/out12" +# Compute $ac_file's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $ac_file | $ac_file:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file || +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X$ac_file : 'X\(//\)[^/]' \| \ + X$ac_file : 'X\(//\)$' \| \ + X$ac_file : 'X\(/\)' \| . 2>/dev/null || +echo X$ac_file | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 +echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir=$dirpart/$fdir + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + "default-1":C) + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done ;; + + esac +done # for ac_tag + + +{ (exit 0); exit 0; } +_ACEOF chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 - +ac_clean_files=$ac_clean_files_save + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi + diff --git a/configure.in b/configure.in index 971f7e4..daa15e8 100644 --- a/configure.in +++ b/configure.in @@ -1,11 +1,16 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(Makefile.am) +AC_CANONICAL_TARGET + +AC_USE_SYSTEM_EXTENSIONS + AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(lbreakout2,2.5.2) +AM_INIT_AUTOMAKE(lbreakout2,2.6) dnl Checks for programs. +AM_GNU_GETTEXT AC_PROG_CC AC_PROG_RANLIB AC_EXEEXT @@ -14,8 +19,6 @@ AC_CHECK_LIB(m, main,, AC_MSG_ERROR(lib math is needed)) AC_CHECK_LIB(z, main,, AC_MSG_ERROR(libz is needed)) AC_CHECK_LIB(png, main,, AC_MSG_ERROR(libpng is needed)) - -CFLAGS="$CFLAGS -Wall" dnl check SDL version AM_PATH_SDL(1.2.0,, AC_MSG_ERROR(lib SDL is needed)) @@ -42,9 +45,6 @@ AC_SUBST(audio_flag) AC_SUBST(mixer_flag) - -dnl get host info -AC_CANONICAL_HOST dnl documentation path doc_dir="/usr/doc" @@ -80,6 +80,10 @@ [ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" ) AC_SUBST(netdebug_flag) +dnl set localedir +localedir=$datadir/locale +locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + dnl installation&highscore path inst_dir="$datadir/lbreakout2" hi_dir=$localstatedir @@ -87,7 +91,14 @@ dnl check if installation was disabled AC_ARG_ENABLE( install, [ --disable-install No installation. Played from the source directory.], -inst_dir="." hi_dir="." ) +inst_dir="." hi_dir="." +locdir_flag="-DLOCALEDIR=\\\"../dict\\\"" + rm -rf dict; mkdir dict + for lang in `cat po/LINGUAS`; do + mkdir dict/$lang; mkdir dict/$lang/LC_MESSAGES + ln -s ../../../po/$lang.gmo dict/$lang/LC_MESSAGES/$PACKAGE.mo + done +) inst_flag="-DSRC_DIR=\\\"$inst_dir\\\"" hi_inst_flag="-DHI_DIR=\\\"$hi_dir\\\"" @@ -96,6 +107,7 @@ AC_SUBST(hi_inst_flag) AC_SUBST(inst_dir) AC_SUBST(hi_dir) +AC_SUBST(locdir_flag) case "$host" in *-mingw32) @@ -115,7 +127,7 @@ if test "x$win32" = xyes; then AC_PROG_AWK - AC_PROG_STRIP +dnl AC_PROG_STRIP since SuSE does not know it??? dnl AC_PROG_ISCC AC_SUBST(win32_inst_script) fi @@ -123,7 +135,7 @@ appname="LBreakout2" AC_SUBST(appname) -AC_OUTPUT( +AC_OUTPUT( Makefile docs/Makefile common/Makefile @@ -139,4 +151,5 @@ client/sounds/Makefile client/levels/Makefile server/Makefile -server/levels/Makefile) +server/levels/Makefile +intl/Makefile po/Makefile.in m4/Makefile) diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..0a6c018 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,2 @@ +This package uses dpatch to manage changes, see +/usr/share/doc/dpatch/README.source.gz diff --git a/debian/changelog b/debian/changelog index 982dd74..bfc3455 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +lbreakout2 (2.6-1) unstable; urgency=low + + * New upstream release (Closes: #222057). + * Use dpatch system + * Fix "ball turbo keyboard pref doesn't persist" bug + patch from Travis Crump (Closes: #271614). + + -- Colin Tuckley Sat, 12 Dec 2009 15:29:58 +0000 + lbreakout2 (2.5.2-3) unstable; urgency=low * New Maintainer. diff --git a/debian/control b/debian/control index 8bee612..87ee9a2 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Section: games Priority: optional Maintainer: Colin Tuckley -Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev, libpng3-dev, libsdl-mixer1.2-dev, autotools-dev +Build-Depends: debhelper (>= 5.0.0), libsdl1.2-dev, libpng3-dev, libsdl-mixer1.2-dev, autotools-dev, dpatch Homepage: http://lgames.sourceforge.net/index.php?project=LBreakout2 Standards-Version: 3.8.3 diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..b02940c --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1 @@ +10-ball-turbo-key-pref.dpatch diff --git a/debian/patches/10-ball-turbo-key-pref.dpatch b/debian/patches/10-ball-turbo-key-pref.dpatch new file mode 100644 index 0000000..cd7df41 --- /dev/null +++ b/debian/patches/10-ball-turbo-key-pref.dpatch @@ -0,0 +1,26 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10-ball-turbo-key-pref.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Patch from Travis Crump to make ball turbo key choice persistant. + +@DPATCH@ +diff -urNad lbreakout2-2.6~/client/config.c lbreakout2-2.6/client/config.c +--- lbreakout2-2.6~/client/config.c 2009-10-26 15:17:18.000000000 +0000 ++++ lbreakout2-2.6/client/config.c 2009-12-12 15:29:21.310114266 +0000 +@@ -166,6 +166,7 @@ + parser_get_int( pd, "fire_right", &config.k_rfire ); + parser_get_int( pd, "return", &config.k_return ); + parser_get_int( pd, "turbo", &config.k_turbo ); ++ parser_get_int( pd, "ball_turbo", &config.k_maxballspeed ); + parser_get_int( pd, "rel_motion", &config.rel_motion ); + parser_get_int( pd, "grab", &config.grab ); + parser_get_int( pd, "motion_mod", &config.i_motion_mod ); +@@ -237,6 +238,7 @@ + fprintf( file, "fire_right»%i\n", config.k_rfire ); + fprintf( file, "return»%i\n", config.k_return ); + fprintf( file, "turbo»%i\n", config.k_turbo ); ++ fprintf( file, "ball_turbo»%i\n", config.k_maxballspeed ); + fprintf( file, "rel_motion»%i\n", config.rel_motion ); + fprintf( file, "grab»%i\n", config.grab ); + fprintf( file, "motion_mod»%i\n", config.i_motion_mod); diff --git a/debian/rules b/debian/rules index 5a892a6..44f241f 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,8 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) @@ -29,7 +31,7 @@ touch configure-stamp -build: configure-stamp build-stamp +build: configure-stamp build-stamp patch-stamp build-stamp: dh_testdir @@ -37,7 +39,7 @@ touch build-stamp -clean: +clean: unpatch dh_testdir dh_testroot rm -f build-stamp configure-stamp diff --git a/depcomp b/depcomp new file mode 100755 index 0000000..11e2d3b --- /dev/null +++ b/depcomp @@ -0,0 +1,522 @@ +#! /bin/sh +# depcomp - compile a program generating dependencies as side-effects + +scriptversion=2004-05-31.23 + +# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc. + +# This program 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 version 2, or (at your option) +# any later version. + +# This program 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. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# Originally written by Alexandre Oliva . + +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit 0 + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit 0 + ;; +esac + +if test -z "$depmode" || test -z "$source" || test -z "$object"; then + echo "depcomp: Variables source, object and depmode must be set" 1>&2 + exit 1 +fi + +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} +tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} + +rm -f "$tmpdepfile" + +# Some modes work just like other modes, but use different flags. We +# parameterize here, but still list the modes in the big case below, +# to make depend.m4 easier to write. Note that we *cannot* use a case +# here, because this file can only contain one case statement. +if test "$depmode" = hp; then + # HP compiler uses -M and no extra arg. + gccflag=-M + depmode=gcc +fi + +if test "$depmode" = dashXmstdout; then + # This is just like dashmstdout with a different argument. + dashmflag=-xM + depmode=dashmstdout +fi + +case "$depmode" in +gcc3) +## gcc 3 implements dependency tracking that does exactly what +## we want. Yay! Note: for some reason libtool 1.4 doesn't like +## it if -MD -MP comes after the -MF stuff. Hmm. + "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + mv "$tmpdepfile" "$depfile" + ;; + +gcc) +## There are various ways to get dependency output from gcc. Here's +## why we pick this rather obscure method: +## - Don't want to use -MD because we'd like the dependencies to end +## up in a subdir. Having to rename by hand is ugly. +## (We might end up doing this anyway to support other compilers.) +## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like +## -MM, not -M (despite what the docs say). +## - Using -M directly means running the compiler twice (even worse +## than renaming). + if test -z "$gccflag"; then + gccflag=-MD, + fi + "$@" -Wp,"$gccflag$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + echo "$object : \\" > "$depfile" + alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz +## The second -e expression handles DOS-style file names with drive letters. + sed -e 's/^[^:]*: / /' \ + -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" +## This next piece of magic avoids the `deleted header file' problem. +## The problem is that when a header file which appears in a .P file +## is deleted, the dependency causes make to die (because there is +## typically no way to rebuild the header). We avoid this by adding +## dummy dependencies for each header file. Too bad gcc doesn't do +## this for us directly. + tr ' ' ' +' < "$tmpdepfile" | +## Some versions of gcc put a space before the `:'. On the theory +## that the space means something, we add a space to the output as +## well. +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +hp) + # This case exists only to let depend.m4 do its work. It works by + # looking at the text of this script. This case will never be run, + # since it is checked for above. + exit 1 + ;; + +sgi) + if test "$libtool" = yes; then + "$@" "-Wp,-MDupdate,$tmpdepfile" + else + "$@" -MDupdate "$tmpdepfile" + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + + if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files + echo "$object : \\" > "$depfile" + + # Clip off the initial element (the dependent). Don't try to be + # clever and replace this with sed code, as IRIX sed won't handle + # lines with more than a fixed number of characters (4096 in + # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; + # the IRIX cc adds comments like `#:fec' to the end of the + # dependency line. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ + tr ' +' ' ' >> $depfile + echo >> $depfile + + # The second pass generates a dummy entry for each header file. + tr ' ' ' +' < "$tmpdepfile" \ + | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ + >> $depfile + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +aix) + # The C for AIX Compiler uses -M and outputs the dependencies + # in a .u file. In older versions, this file always lives in the + # current directory. Also, the AIX compiler puts `$object:' at the + # start of each line; $object doesn't have directory information. + # Version 6 uses the directory in both cases. + stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` + tmpdepfile="$stripped.u" + if test "$libtool" = yes; then + "$@" -Wc,-M + else + "$@" -M + fi + stat=$? + + if test -f "$tmpdepfile"; then : + else + stripped=`echo "$stripped" | sed 's,^.*/,,'` + tmpdepfile="$stripped.u" + fi + + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + + if test -f "$tmpdepfile"; then + outname="$stripped.o" + # Each line is of the form `foo.o: dependent.h'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" + sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" + else + # The sourcefile does not contain any dependencies, so just + # store a dummy comment line, to avoid errors with the Makefile + # "include basename.Plo" scheme. + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +icc) + # Intel's C compiler understands `-MD -MF file'. However on + # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c + # ICC 7.0 will fill foo.d with something like + # foo.o: sub/foo.c + # foo.o: sub/foo.h + # which is wrong. We want: + # sub/foo.o: sub/foo.c + # sub/foo.o: sub/foo.h + # sub/foo.c: + # sub/foo.h: + # ICC 7.1 will output + # foo.o: sub/foo.c sub/foo.h + # and will wrap long lines using \ : + # foo.o: sub/foo.c ... \ + # sub/foo.h ... \ + # ... + + "$@" -MD -MF "$tmpdepfile" + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile" + exit $stat + fi + rm -f "$depfile" + # Each line is of the form `foo.o: dependent.h', + # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. + # Do two passes, one to just change these to + # `$object: dependent.h' and one to simply `dependent.h:'. + sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" + # Some versions of the HPUX 10.20 sed can't process this invocation + # correctly. Breaking it into two sed invocations is a workaround. + sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | + sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +tru64) + # The Tru64 compiler uses -MD to generate dependencies as a side + # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. + # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put + # dependencies in `foo.d' instead, so we check for that too. + # Subdirectories are respected. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + + if test "$libtool" = yes; then + # Dependencies are output in .lo.d with libtool 1.4. + # With libtool 1.5 they are output both in $dir.libs/$base.o.d + # and in $dir.libs/$base.o.d and $dir$base.o.d. We process the + # latter, because the former will be cleaned when $dir.libs is + # erased. + tmpdepfile1="$dir.libs/$base.lo.d" + tmpdepfile2="$dir$base.o.d" + tmpdepfile3="$dir.libs/$base.d" + "$@" -Wc,-MD + else + tmpdepfile1="$dir$base.o.d" + tmpdepfile2="$dir$base.d" + tmpdepfile3="$dir$base.d" + "$@" -MD + fi + + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + exit $stat + fi + + if test -f "$tmpdepfile1"; then + tmpdepfile="$tmpdepfile1" + elif test -f "$tmpdepfile2"; then + tmpdepfile="$tmpdepfile2" + else + tmpdepfile="$tmpdepfile3" + fi + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" + ;; + +#nosideeffect) + # This comment above is used by automake to tell side-effect + # dependency tracking mechanisms from slower ones. + +dashmstdout) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + test -z "$dashmflag" && dashmflag=-M + # Require at least two characters before searching for `:' + # in the target name. This is to cope with DOS-style filenames: + # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. + "$@" $dashmflag | + sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + tr ' ' ' +' < "$tmpdepfile" | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +dashXmstdout) + # This case only exists to satisfy depend.m4. It is never actually + # run, as this mode is specially recognized in the preamble. + exit 1 + ;; + +makedepend) + "$@" || exit $? + # Remove any Libtool call + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + # X makedepend + shift + cleared=no + for arg in "$@"; do + case $cleared in + no) + set ""; shift + cleared=yes ;; + esac + case "$arg" in + -D*|-I*) + set fnord "$@" "$arg"; shift ;; + # Strip any option that makedepend may not understand. Remove + # the object too, otherwise makedepend will parse it as a source file. + -*|$object) + ;; + *) + set fnord "$@" "$arg"; shift ;; + esac + done + obj_suffix="`echo $object | sed 's/^.*\././'`" + touch "$tmpdepfile" + ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" + rm -f "$depfile" + cat < "$tmpdepfile" > "$depfile" + sed '1,2d' "$tmpdepfile" | tr ' ' ' +' | \ +## Some versions of the HPUX 10.20 sed can't process this invocation +## correctly. Breaking it into two sed invocations is a workaround. + sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" "$tmpdepfile".bak + ;; + +cpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout. + "$@" || exit $? + + # Remove the call to Libtool. + if test "$libtool" = yes; then + while test $1 != '--mode=compile'; do + shift + done + shift + fi + + # Remove `-o $object'. + IFS=" " + for arg + do + case $arg in + -o) + shift + ;; + $object) + shift + ;; + *) + set fnord "$@" "$arg" + shift # fnord + shift # $arg + ;; + esac + done + + "$@" -E | + sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | + sed '$ s: \\$::' > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + cat < "$tmpdepfile" >> "$depfile" + sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +msvisualcpp) + # Important note: in order to support this mode, a compiler *must* + # always write the preprocessed file to stdout, regardless of -o, + # because we must use -o when running libtool. + "$@" || exit $? + IFS=" " + for arg + do + case "$arg" in + "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") + set fnord "$@" + shift + shift + ;; + *) + set fnord "$@" "$arg" + shift + shift + ;; + esac + done + "$@" -E | + sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" + rm -f "$depfile" + echo "$object : \\" > "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" + echo " " >> "$depfile" + . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" + rm -f "$tmpdepfile" + ;; + +none) + exec "$@" + ;; + +*) + echo "Unknown depmode $depmode" 1>&2 + exit 1 + ;; +esac + +exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/docs/Makefile.in b/docs/Makefile.in index 2d803d1..246b546 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,184 +12,352 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = docs +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -EXTRA_DIST = index.html x0.jpg x1.jpg x2.jpg x3.jpg x4.jpg x5.jpg x6.jpg x7.jpg x8.jpg x9.jpg x10.jpg x11.jpg x12.jpg x13.jpg x14.jpg x15.jpg x16.jpg x17.jpg x18.jpg x19.jpg x20.jpg x21.jpg x22.jpg x23.jpg b0.jpg b1.jpg b2.jpg b3.jpg b4.jpg b5.jpg b6.jpg warp.jpg screen.jpg - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +EXTRA_DIST = index.html \ +x0.jpg x1.jpg x2.jpg x3.jpg x4.jpg x5.jpg x6.jpg x7.jpg \ +x8.jpg x9.jpg x10.jpg x11.jpg x12.jpg x13.jpg x14.jpg \ +x15.jpg x16.jpg x17.jpg x18.jpg x19.jpg x20.jpg x21.jpg \ +x22.jpg x23.jpg \ +b0.jpg b1.jpg b2.jpg b3.jpg b4.jpg b5.jpg b6.jpg \ +warp.jpg screen.jpg + +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps docs/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu docs/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu docs/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = docs +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -201,7 +371,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\docs\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/game/Makefile.in b/game/Makefile.in index dc79ba3..7cc5596 100644 --- a/game/Makefile.in +++ b/game/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,321 +12,464 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = game +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +LIBRARIES = $(noinst_LIBRARIES) +AR = ar +ARFLAGS = cru +libgame_a_AR = $(AR) $(ARFLAGS) +libgame_a_LIBADD = +am_libgame_a_OBJECTS = game.$(OBJEXT) levels.$(OBJEXT) shots.$(OBJEXT) \ + bricks.$(OBJEXT) paddle.$(OBJEXT) extras.$(OBJEXT) \ + balls.$(OBJEXT) mathfuncs.$(OBJEXT) comm.$(OBJEXT) +libgame_a_OBJECTS = $(am_libgame_a_OBJECTS) +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libgame_a_SOURCES) +DIST_SOURCES = $(libgame_a_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @network_flag@ @sdlnet_flag@ @arch_flag@ @inst_flag@ @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -DEFS = @network_flag@ @sdlnet_flag@ @arch_flag@ @inst_flag@ @DEFS@ - noinst_LIBRARIES = libgame.a - -libgame_a_SOURCES = game.c levels.c shots.c bricks.c paddle.c extras.c balls.c mathfuncs.c comm.c - - -EXTRA_DIST = game.h levels.h shots.h balls.h bricks.h extras.h paddle.h mathfuncs.h comm.h gamedefs.h - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -LIBRARIES = $(noinst_LIBRARIES) - -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -libgame_a_LIBADD = -libgame_a_OBJECTS = game.o levels.o shots.o bricks.o paddle.o extras.o \ -balls.o mathfuncs.o comm.o -AR = ar -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -SOURCES = $(libgame_a_SOURCES) -OBJECTS = $(libgame_a_OBJECTS) - -all: all-redirect +libgame_a_SOURCES = \ + game.c \ + levels.c \ + shots.c \ + bricks.c \ + paddle.c \ + extras.c \ + balls.c \ + mathfuncs.c \ + comm.c + +EXTRA_DIST = game.h levels.h shots.h balls.h \ +bricks.h extras.h paddle.h mathfuncs.h comm.h \ +gamedefs.h + +all: all-am + .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps game/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstLIBRARIES: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu game/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu game/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) - -distclean-noinstLIBRARIES: - -maintainer-clean-noinstLIBRARIES: - -.c.o: - $(COMPILE) -c $< - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +libgame.a: $(libgame_a_OBJECTS) $(libgame_a_DEPENDENCIES) + -rm -f libgame.a + $(libgame_a_AR) libgame.a $(libgame_a_OBJECTS) $(libgame_a_LIBADD) + $(RANLIB) libgame.a mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: - -libgame.a: $(libgame_a_OBJECTS) $(libgame_a_DEPENDENCIES) - -rm -f libgame.a - $(AR) cru libgame.a $(libgame_a_OBJECTS) $(libgame_a_LIBADD) - $(RANLIB) libgame.a - +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/balls.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bricks.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/comm.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/extras.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/game.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/levels.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mathfuncs.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/paddle.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shots.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = game + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -balls.o: balls.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h levels.h paddle.h \ - shots.h balls.h bricks.h mathfuncs.h -bricks.o: bricks.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h extras.h balls.h \ - bricks.h mathfuncs.h -comm.o: comm.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h mathfuncs.h \ - levels.h extras.h balls.h shots.h bricks.h paddle.h -extras.o: extras.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h levels.h paddle.h \ - bricks.h balls.h mathfuncs.h extras.h -game.o: game.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h game.h \ - mathfuncs.h levels.h extras.h balls.h shots.h bricks.h paddle.h \ - comm.h -levels.o: levels.c levels.h ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h -mathfuncs.o: mathfuncs.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h mathfuncs.h -paddle.o: paddle.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h shots.h paddle.h -shots.o: shots.c ../client/lbreakout.h ../client/../gui/stk.h \ - ../client/../common/tools.h ../client/../common/list.h \ - ../client/../common/net.h ../client/../common/messages.h \ - ../client/../game/gamedefs.h ../client/misc.h mathfuncs.h \ - balls.h bricks.h - -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile $(LIBRARIES) +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile $(LIBRARIES) -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \ - mostlyclean-am - -clean: clean-am - -distclean-am: distclean-noinstLIBRARIES distclean-compile \ - distclean-tags distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ -check-am installcheck-am installcheck install-exec-am install-exec \ -install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-noinstLIBRARIES ctags distclean distclean-compile \ + distclean-generic distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/game/balls.c b/game/balls.c index 3a1b860..752a689 100644 --- a/game/balls.c +++ b/game/balls.c @@ -109,6 +109,7 @@ int reflect; int chaos_reflect; int hit_type; + Vector oldBallVel = b->vel; /* time left? */ if (b->target.cur_tm < b->target.time) return; @@ -136,22 +137,6 @@ if ( cur_game->extra_active[EX_CHAOS] || cur_game->bricks[b->target.mx][b->target.my].type == MAP_BRICK_CHAOS ) chaos_reflect = 1; - - /* remove brick -- if weak ball there is a 40% chance that no damage is done to the brick */ - if ( !cur_game->extra_active[EX_WEAK_BALL] || rand() % 10 < 6 ) { - /* if explosive ball und brick is destructible by normal means set as explosive */ - if ( cur_game->extra_active[EX_EXPL_BALL] ) - if ( cur_game->bricks[b->target.mx][b->target.my].dur > 0 ) { - cur_game->bricks[b->target.mx][b->target.my].type = MAP_BRICK_EXP; - cur_game->bricks[b->target.mx][b->target.my].dur = 1; - } - /* hit brick */ - hit_type = SHR_BY_NORMAL_BALL; - if ( cur_game->extra_active[EX_METAL] ) hit_type = SHR_BY_ENERGY_BALL; - brick_hit( b->target.mx, b->target.my, - cur_game->extra_active[EX_METAL], - hit_type, b->vel, b->paddle ); - } /* we have a target and so we have a reset position and even if the ball's not reflected the position must be reset */ @@ -190,6 +175,22 @@ b->paddle->last_ball_contact = SDL_GetTicks(); } + /* remove brick -- if weak ball there is a 40% chance that no damage is done to the brick */ + if ( !cur_game->extra_active[EX_WEAK_BALL] || rand() % 10 < 6 ) { + /* if explosive ball und brick is destructible by normal means set as explosive */ + if ( cur_game->extra_active[EX_EXPL_BALL] ) + if ( cur_game->bricks[b->target.mx][b->target.my].dur > 0 ) { + cur_game->bricks[b->target.mx][b->target.my].type = MAP_BRICK_EXP; + cur_game->bricks[b->target.mx][b->target.my].dur = 1; + } + /* hit brick */ + hit_type = SHR_BY_NORMAL_BALL; + if ( cur_game->extra_active[EX_METAL] ) hit_type = SHR_BY_ENERGY_BALL; + brick_hit( b->target.mx, b->target.my, + cur_game->extra_active[EX_METAL], + hit_type, oldBallVel, b->paddle ); + } + /* mark target as disabled so it won't get stuck at the bottom of the screen but keep the target position so that we know what needs an update. */ @@ -934,7 +935,7 @@ /* check wether no balls are attached and the respawn time is exceeded. * then in NMP a ball is created and attached */ - if ( cur_game->game_type == GT_NETWORK && cur_game->level_type == LT_NORMAL ) + if ( cur_game->game_type == GT_NETWORK && cur_game->level_type != LT_PINGPONG ) if ( cur_game->paddles[i]->attached_ball_count == 0 ) if ( SDL_GetTicks() >= cur_game->paddles[i]->last_ball_contact + BALL_RESPAWN_TIME ) { x = cur_game->paddles[i]->x + (cur_game->paddles[i]->w - ball_w) / 2; @@ -1751,4 +1752,3 @@ return fired; } - diff --git a/game/balls.h b/game/balls.h index 56bfdc0..6e56549 100644 --- a/game/balls.h +++ b/game/balls.h @@ -144,5 +144,12 @@ */ int balls_detach_from_paddle( Paddle *paddle, int dir ); +/* +==================================================================== +Clear contents of target. +==================================================================== +*/ +void ball_clear_target( Target *t ); + #endif diff --git a/game/bricks.c b/game/bricks.c index 2cc7b31..aa93eb6 100644 --- a/game/bricks.c +++ b/game/bricks.c @@ -86,14 +86,16 @@ ==================================================================== */ +static void brick_create_instable( Game *game, int life_time ); + /* ==================================================================== Initiate a brick explosion. ==================================================================== */ -void brick_start_expl( int x, int y, Paddle *paddle ) -{ - cur_game->bricks[x][y].exp_time = BRICK_EXP_TIME; +void brick_start_expl( int x, int y, int time, Paddle *paddle ) +{ + cur_game->bricks[x][y].exp_time = time; cur_game->bricks[x][y].exp_paddle = paddle; cur_game->bricks[x][y].mx = x; cur_game->bricks[x][y].my = y; list_add( cur_game->exp_bricks, &cur_game->bricks[x][y] ); @@ -101,13 +103,17 @@ /* ==================================================================== -Grow a brick at mx,my if the ball does not block the tile. +Grow a brick at mx,my if the ball does not block the tile and the +tile is not blocked by a brick. ==================================================================== */ static void brick_grow( int mx, int my, int id ) { Ball *ball; + /* tile empty? */ + if (cur_game->bricks[mx][my].type!=MAP_EMPTY) return; + /* check all balls */ list_reset( cur_game->balls ); while ( (ball = list_next( cur_game->balls )) != 0 ) { @@ -143,6 +149,7 @@ /* get new targets */ balls_check_targets( -1, 0 ); } + /* ==================================================================== Remove brick from offscreen and screen. @@ -163,7 +170,7 @@ if ( cur_game->bricks[i][j].type != MAP_EMPTY ) if ( cur_game->bricks[i][j].dur > 0 ) if ( cur_game->bricks[i][j].exp_time == -1 ) - brick_start_expl( i,j,paddle ); + brick_start_expl( i,j,BRICK_EXP_TIME,paddle ); } if ( cur_game->bricks[mx][my].type == MAP_BRICK_GROW ) { for ( i = mx - 1; i <= mx + 1; i++ ) @@ -207,9 +214,412 @@ /* add score */ paddle->score += cur_game->bricks[mx][my].score; - /* give 5000 extra if this was the last brick - if ( cur_game->bricks_left == 0 ) - paddle->score += 5000;*/ + +} + +/* Set a brick at position by looking up id in conv table. + (score is not set,brickcount is not set) + If id is -1 the brick is cleared. */ +static void brick_set_by_id( Game *game, int mx, int my, int id ) +{ + int k; + if (id==-1) + { + game->bricks[mx][my].id = -1; + game->bricks[mx][my].dur = -1; + game->bricks[mx][my].type = MAP_EMPTY; + game->bricks[mx][my].brick_c = ' '; + game->bricks[mx][my].extra_c = ' '; + game->bricks[mx][my].extra = EX_NONE; + game->bricks[mx][my].score = 0; + return; + } + for (k=0;kbricks[mx][my].exp_time = -1; + game->bricks[mx][my].heal_time = -1; + game->bricks[mx][my].brick_c = brick_conv_table[k].c; + game->bricks[mx][my].type = brick_conv_table[k].type; + game->bricks[mx][my].id = brick_conv_table[k].id; + game->bricks[mx][my].dur = brick_conv_table[k].dur; + game->bricks[mx][my].extra_c = ' '; + game->bricks[mx][my].extra = EX_NONE; + break; + } +} + +/* Create a barrier of 'level' many full lines starting in the forth row + from the top. In the most upper line we have all explosive bricks. Set + max score and move delay as well. */ +static void bricks_create_barrier( Game *game, int level) +{ + int i,j,barrierSize=2+level; + if (barrierSize>12) barrierSize = 12; + game->brick_count = game->bricks_left = 0; + for (i = 1; i < MAP_WIDTH-1; i++) + for (j = 1; j < MAP_HEIGHT-1; j++) + brick_set_by_id(game,i,j,-1); + for (i=1;ibrick_count++; game->bricks_left++; + } + for (j=1;j<1+barrierSize;j++) + for (i=1;ibrick_count++; game->bricks_left++; + } + game->blBarrierMaxMoves = MAP_HEIGHT - 4 - barrierSize; + game->blRefreshBricks = 1; + /* get new targets */ + balls_check_targets( -1, 0 ); +} + +/* Move barrier one down, that is move all bricks below third line down. + If this puts one brick into the way of the paddle, set paddleHit which + finishs the level. */ +static void bricks_move_barrier( Game *game, int *paddleHit ) +{ + Ball *ball = (Ball*)(cur_game->balls->head->next->item) /* we have only one ball */; + int i,j,blocked; + *paddleHit = 0; + for (j=MAP_HEIGHT-3;j>2;j--) + for (i=1;ix) / BRICK_WIDTH ) + if ( j == (ball->y) / BRICK_HEIGHT ) + blocked=1; + if ( i == (ball->x + ball_dia) / BRICK_WIDTH ) + if ( j == (ball->y) / BRICK_HEIGHT ) + blocked=1; + if ( i == (ball->x) / BRICK_WIDTH ) + if ( j == (ball->y + ball_dia) / BRICK_HEIGHT ) + blocked=1; + if ( i == (ball->x + ball_dia) / BRICK_WIDTH ) + if ( j == (ball->y + ball_dia) / BRICK_HEIGHT ) + blocked=1; + if (!blocked) + brick_set_by_id(game,i,j,game->bricks[i][j-1].id); + brick_set_by_id(game,i,j-1,-1); + } + cur_game->blBarrierMoves++; + if (cur_game->blBarrierMoves==cur_game->blBarrierMaxMoves) + *paddleHit = 1; + game->blRefreshBricks = 1; + /* get new targets */ + balls_check_targets( -1, 0 ); +} + +/* reset the ball to top and restart release delay */ +static void attach_ball_to_ceiling( Game *game ) +{ + Ball *ball = list_first(game->balls); + ball->x = (BRICK_WIDTH*MAP_WIDTH-ball_dia)/2; + ball->cur.x = ball->x; + ball->y = BRICK_HEIGHT; + ball->cur.y = ball->y; + ball->attached = 0; + ball->vel.x = ball->vel.y = 0; + ball_clear_target(&ball->target); + game->blBallAttached = 1; + game->blActionTime = 1000; /* time until ball released */ + delay_set(&game->blDelay,game->blActionTime); +} + +/* select a sitting duck and highlight it */ +static void select_random_duck( Game *game ) +{ + int i, k; + /* go to first correct brick */ + i = 0; + while (game->blDuckPositions[i<<1]==-1) i++; + /* get number to go */ + k = rand()%game->blNumDucks; + /* go */ + while (k>0) + { + do {i++;} while (game->blDuckPositions[i<<1]==-1); + k--; + } + game->blCurrentDuck = i; + brick_set_by_id(game,game->blDuckPositions[game->blCurrentDuck*2], + game->blDuckPositions[game->blCurrentDuck*2+1], 5); + bricks_add_grow_mod(game->blDuckPositions[game->blCurrentDuck*2],game->blDuckPositions[game->blCurrentDuck*2+1],5); +} + +static void bricks_create_new_prey( Game *game, int mx, int my) +{ + /* get position */ + while (mx==-1||my==-1||game->bricks[mx][my].type!=MAP_EMPTY) + { + if (mx==-1) mx = RANDOM(game->blHunterAreaX1+2,game->blHunterAreaX2-2); + if (my==-1) my = RANDOM(game->blHunterAreaY1+2,game->blHunterAreaY2-2); + } + /* set brick */ + brick_set_by_id(game,mx,my,game->blHunterPreyId); + bricks_add_grow_mod(mx,my,game->blHunterPreyId); + /* no count update since when we call this function; hunter is on prey and + thus a brick is missing */ + //game->bricks_left++; + //game->brick_count++; + game->blHunterPreyX = mx; game->blHunterPreyY = my; + game->blHunterTimeLeft = game->blActionTime; +} + +static void bricks_create_hunter_area( Game *game ) +{ + int i,j; + game->blHunterUpId = 15; + game->blHunterDownId = 13; + game->blHunterRightId = 11; + game->blHunterLeftId = 10; + game->blHunterAreaX1 = 2; + game->blHunterAreaY1 = 1; + game->blHunterAreaX2 = MAP_WIDTH-3; + game->blHunterAreaY2 = 11; + game->blHunterX = 4; + game->blHunterY = 6; + game->blHunterPreyX = 11; + game->blHunterPreyY = 6; + game->blHunterPreyId = 5; + game->blHunterId = 2; + for (i=game->blHunterAreaX1;i<=game->blHunterAreaX2;i++) + { + brick_set_by_id(game,i,game->blHunterAreaY1,game->blHunterUpId); + brick_set_by_id(game,i,game->blHunterAreaY2,game->blHunterDownId); + } + for (i=1;i<=MAP_WIDTH-2;i++) + { + brick_set_by_id(game,i,game->blHunterAreaY2+1,1); + brick_set_by_id(game,i,game->blHunterAreaY2+2,1); + } + for (j=game->blHunterAreaY1;j<=game->blHunterAreaY2;j++) + { + brick_set_by_id(game,game->blHunterAreaX1,j,game->blHunterLeftId); + brick_set_by_id(game,game->blHunterAreaX2,j,game->blHunterRightId); + } + for (i=2;i<4;i++) brick_set_by_id(game,i,game->blHunterAreaY2+2,game->blHunterUpId); + for (i=5;i<7;i++) brick_set_by_id(game,i,game->blHunterAreaY2+2,game->blHunterLeftId); + for (i=9;i<11;i++) brick_set_by_id(game,i,game->blHunterAreaY2+2,game->blHunterRightId); + for (i=12;i<14;i++) brick_set_by_id(game,i,game->blHunterAreaY2+2,game->blHunterDownId); + brick_set_by_id(game,game->blHunterX,game->blHunterY,game->blHunterId); + bricks_create_new_prey(game,game->blHunterPreyX,game->blHunterPreyY); +} + +static void bricks_move_hunter( Game *game, int x, int y, int *result ) +{ + *result = 0; + brick_set_by_id(game,game->blHunterX,game->blHunterY,-1); + bricks_add_mod( game->blHunterX,game->blHunterY, HT_REMOVE_NO_SOUND, SHR_BY_ENERGY_BALL, vector_get(0,0), game->paddles[0] ); + game->blHunterX+=x; game->blHunterY+=y; + brick_set_by_id(game,game->blHunterX,game->blHunterY,game->blHunterId); + bricks_add_grow_mod(game->blHunterX,game->blHunterY,game->blHunterId); + /* check if still in playing field */ + if (game->blHunterX==game->blHunterAreaX1||game->blHunterX==game->blHunterAreaX2|| + game->blHunterY==game->blHunterAreaY1||game->blHunterY==game->blHunterAreaY2) + { + *result = 1; + return; + } + /* check whether we got the pray */ + if (game->blHunterX==game->blHunterPreyX&&game->blHunterY==game->blHunterPreyY) + { + *result = 2; + } +} + +/* add a new brick in the first row */ +static void bricks_add_invader( Game *game, int *wave_over ) +{ + Invader *inv; + int mx, my; + *wave_over = 0; + if (game->blInvadersWaveOver) return; + if (game->blNumInvaders==game->blInvaderLimit) + { + if (game->blNumKilledInvaders==game->blInvaderLimit) + *wave_over = 1; + return; + } + my = 1; + do { mx = RANDOM(1,MAP_WIDTH-2); } + while (game->bricks[mx][my].type!=MAP_EMPTY); + inv = &game->blInvaders[game->blNumInvaders++]; + inv->id = RANDOM(BRICK_GROW_FIRST,BRICK_GROW_LAST); + inv->x = mx; inv->y = my; + game->blInvaderTime = 99*game->blInvaderTime/100; /* get faster and faster */ + /* DEBUG: printf("%d\n",game->blInvaderTime); */ + delay_set(&inv->delay,RANDOM(95,105)*game->blInvaderTime/100); + brick_set_by_id(game,mx,my,inv->id); + game->bricks_left++; + game->brick_count++; + bricks_add_grow_mod(mx,my,inv->id); + /* get new targets */ + balls_check_targets( -1, 0 ); +} + +static void bricks_init_next_wave( Game *game ) +{ + if (game->blNumCompletedRuns==0) + { + game->blInvaderLimit= 50; /* total number of invaders in this wave */ + if (game->blInvaders) free(game->blInvaders); + game->blInvaders = (Invader*)calloc(game->blInvaderLimit,sizeof(Invader)); + } + game->blInvaderTime = game->blActionTime; + game->blNumInvaders = 0; + game->blNumKilledInvaders = 0; + game->blInvadersWaveOver = 0; + delay_set(&game->blDelay,game->blInvaderTime); + bricks_add_invader(game,&game->blInvadersWaveOver); + bricks_add_invader(game,&game->blInvadersWaveOver); + bricks_add_invader(game,&game->blInvadersWaveOver); +} + +static void bricks_move_invaders( Game *game, int ms, int *paddleHit ) +{ + Invader *inv; + int i; + *paddleHit = 0; + for (i=0;iblNumInvaders;i++) + if (game->blInvaders[i].x!=-1) + { + inv = &game->blInvaders[i]; + if (delay_timed_out(&inv->delay,ms)) + if (game->bricks[inv->x][inv->y+1].type==MAP_EMPTY) + { + brick_set_by_id(game,inv->x,inv->y,-1); + bricks_add_mod(inv->x,inv->y, HT_REMOVE_NO_SOUND, SHR_BY_ENERGY_BALL, vector_get(0,0), game->paddles[0] ); + inv->y++; + if (inv->y==MAP_HEIGHT-2) *paddleHit = 1; + brick_set_by_id(game,inv->x,inv->y,inv->id); + bricks_add_grow_mod(inv->x,inv->y,inv->id); + } + } + /* get new targets */ + balls_check_targets( -1, 0 ); +} + +/* +==================================================================== +Create a brick at a random position and set it as explosive with the +given time or stable if life_time = -1. +==================================================================== +*/ +static void brick_create_instable( Game *game, int life_time ) +{ + int mx,my,id; + + /* choose id of a normal brick */ + id = RANDOM(10,17); + + /* do again if nothing added due to ball or existing brick */ + do + { + mx = RANDOM(1,MAP_WIDTH-2); + my = RANDOM(1,1+EDIT_HEIGHT-1); /* only senseful for local game */ + } + while (game->bricks[mx][my].type!=MAP_EMPTY); + + /* build brick */ + brick_set_by_id(game,mx,my,id); + game->bricks[mx][my].score = 0; /* score is given in brick_hit by special formula */ + /* adjust brick count */ + game->bricks_left++; + game->brick_count++; + + /* set as explosive for first paddle */ + if (life_time>=0) + { + game->bricks[mx][my].exp_time = life_time; + game->bricks[mx][my].exp_paddle = game->paddles[0]; + game->bricks[mx][my].mx = mx; game->bricks[mx][my].my = my; + list_add( game->exp_bricks, &game->bricks[mx][my] ); + } + + /* position of jumping jack */ + game->bl_jj_mx = mx; game->bl_jj_my = my; + + /* send to client */ + bricks_add_grow_mod( mx, my, id ); + + /* get new targets */ + balls_check_targets( -1, 0 ); + + //printf("Created instable brick with %d msecs lifetime.\n", life_time ); +} + +/* +==================================================================== +Generate bonus level. While this can be extended to NETWORK game, +it is only implemented for local games by now. +==================================================================== +*/ +static void bricks_init_bonus_level( Game *game, int game_type, int level_type ) +{ + int i; + game->blNumCompletedRuns = 0; + game->blRatioSum = 0.0; + switch (level_type) + { + case LT_JUMPING_JACK: + game->blActionTime = 20000; /* time in millisecs */ + game->blMaxScore = 2000; + brick_create_instable( game, game->blActionTime ); + break; + case LT_OUTBREAK: + game->blActionTime = 4000; /* time until new brick */ + game->blMaxScore = 6000; + game->blCancerCount = 0; + game->blCancerLimit = 50; + delay_set(&game->blDelay,game->blActionTime); + for (i=0;i<5;i++) brick_create_instable( game, -1 ); + break; + case LT_BARRIER: + game->blActionTime = 3000; /* time until move down */ + game->blMaxScore = 4000; + game->blBarrierLevel = 1; + game->blBarrierMoves = 0; + delay_set(&game->blDelay,game->blActionTime); + bricks_create_barrier(game,game->blBarrierLevel); + break; + case LT_SITTING_DUCKS: + if (game->blDuckPositions) free(game->blDuckPositions); + game->blTotalNumDucks = game->blNumDucks = 8; + game->blDuckPositions = (int*)calloc(2*game->blTotalNumDucks,sizeof(int)); + game->blDuckPositions[0] = 1; game->blDuckPositions[1] = 5; + game->blDuckPositions[2] = 2; game->blDuckPositions[3] = 3; + game->blDuckPositions[4] = 4; game->blDuckPositions[5] = 2; + game->blDuckPositions[6] = 6; game->blDuckPositions[7] = 1; + game->blDuckPositions[8] = 9; game->blDuckPositions[9] = 1; + game->blDuckPositions[10] = 11; game->blDuckPositions[11] = 2; + game->blDuckPositions[12] = 13; game->blDuckPositions[13] = 3; + game->blDuckPositions[14] = 14; game->blDuckPositions[15] = 5; + game->blDuckBaseScore = 6000; + game->blMaxScore = game->blDuckBaseScore; + for (i=0;iblTotalNumDucks;i++) + brick_set_by_id(game,game->blDuckPositions[2*i],game->blDuckPositions[2*i+1],3); + attach_ball_to_ceiling(game); + break; + case LT_HUNTER: + game->blActionTime = 30000; /* time in millisecs */ + game->blMaxScore = 10000; + bricks_create_hunter_area( game ); /* includes setting hunter and first prey */ + break; + case LT_DEFENDER: + game->blActionTime = 2000; /* time until new invader */ + game->blMaxScore = 40000; /* max score per wave */ + game->blInvaderScore = 400; + bricks_init_next_wave( game ); + break; + default: + fprintf(stderr,"Unknown Bonus Level Type: %d\n", level_type); + break; + } } /* @@ -228,118 +638,126 @@ */ void bricks_init( Game *game, int game_type, Level *level, int score_mod, int rel_warp_limit ) { - int i, j, k; - int y_off; - - /* clear everything */ - for (i = 0; i < MAP_WIDTH; i++) - for (j = 0; j < MAP_HEIGHT; j++) { - game->bricks[i][j].id = -1; - game->bricks[i][j].dur = -1; - game->bricks[i][j].type = MAP_EMPTY; - game->bricks[i][j].brick_c = ' '; - game->bricks[i][j].extra_c = ' '; - } - - /* build walls */ - for (i = 0; i < MAP_WIDTH; i++) - if ( game_type == GT_LOCAL ) { - /* in multiplayer this is open */ - game->bricks[i][0].id = 0; - game->bricks[i][0].dur = -1; - game->bricks[i][0].type = MAP_WALL; /* this means - indestructible */ - } - for (j = 0; j < MAP_HEIGHT; j++) { - game->bricks[0][j].id = 0; - game->bricks[0][j].dur = -1; - game->bricks[0][j].type = MAP_WALL; /* this means - indestructible */ - game->bricks[MAP_WIDTH - 1][j].id = 0; - game->bricks[MAP_WIDTH - 1][j].dur = -1; - game->bricks[MAP_WIDTH - 1][j].type = MAP_WALL; - } - - /* load map -- center if multiplayer */ - if ( game_type == GT_NETWORK ) - y_off = ( MAP_HEIGHT - EDIT_HEIGHT ) / 2; - else - y_off = 1; - for (i = 0; i < EDIT_WIDTH; i++) + int i, j, k; + int y_off; + + /* clear everything */ + for (i = 0; i < MAP_WIDTH; i++) + for (j = 0; j < MAP_HEIGHT; j++) { + game->bricks[i][j].id = -1; + game->bricks[i][j].dur = -1; + game->bricks[i][j].type = MAP_EMPTY; + game->bricks[i][j].brick_c = ' '; + game->bricks[i][j].extra_c = ' '; + game->bricks[i][j].extra = EX_NONE; + game->bricks[i][j].score = 0; + } + + /* clear explosion/healing list */ + list_clear( game->exp_bricks ); + list_clear( game->heal_bricks ); + + /* build walls */ + for (i = 0; i < MAP_WIDTH; i++) + if ( game_type == GT_LOCAL ) { + /* in multiplayer this is open */ + game->bricks[i][0].id = 0; + game->bricks[i][0].dur = -1; + game->bricks[i][0].type = MAP_WALL; /* this means - indestructible */ + } + for (j = 0; j < MAP_HEIGHT; j++) { + game->bricks[0][j].id = 0; + game->bricks[0][j].dur = -1; + game->bricks[0][j].type = MAP_WALL; /* this means - indestructible */ + game->bricks[MAP_WIDTH - 1][j].id = 0; + game->bricks[MAP_WIDTH - 1][j].dur = -1; + game->bricks[MAP_WIDTH - 1][j].type = MAP_WALL; + } + + /* load map (centered if multiplayer) if level::type is LT_NORMAL. Otherwise + generate the special bricks for the special bonus levels. */ + if (level->type==LT_NORMAL) + { + if ( game_type == GT_NETWORK ) + y_off = ( MAP_HEIGHT - EDIT_HEIGHT ) / 2; + else + y_off = 1; + for (i = 0; i < EDIT_WIDTH; i++) for (j = 0; j < EDIT_HEIGHT; j++) { - /* create bricks */ - game->bricks[i + 1][j + y_off].exp_time = -1; - game->bricks[i + 1][j + y_off].heal_time = -1; - for ( k = 0; k < BRICK_COUNT; k++ ) - if ( level->bricks[i][j] == brick_conv_table[k].c ) { - game->bricks[i + 1][j + y_off].brick_c = brick_conv_table[k].c; - game->bricks[i + 1][j + y_off].type = brick_conv_table[k].type; - game->bricks[i + 1][j + y_off].id = brick_conv_table[k].id; - game->bricks[i + 1][j + y_off].dur = brick_conv_table[k].dur; - game->bricks[i + 1][j + y_off].score = - (score_mod * brick_conv_table[k].score) / 10; - break; - } - if ( k == BRICK_COUNT && level->bricks[i][j] != '.' && level->bricks[i][j] != ' ' ) - printf( "unknown: %i,%i: %c\n", i, j, level->bricks[i][j] ); - /* create extras */ - game->bricks[i + 1][j + y_off].extra = EX_NONE; - for ( k = 0; k < EX_NUMBER; k++ ) - if ( level->extras[i][j] == extra_conv_table[k].c ) { - game->bricks[i + 1][j + y_off].extra_c = extra_conv_table[k].c; - game->bricks[i + 1][j + y_off].extra = extra_conv_table[k].type; - break; - } - } - - /* count bricks & extras */ - game->bricks_left = 0; game->extra_count = 0; - for (i = 1; i < MAP_WIDTH - 1; i++) - for (j = 1; j < MAP_HEIGHT - 1; j++) { - if ( game->bricks[i][j].dur > 0 ) { - game->bricks_left++; - if ( game->bricks[i][j].extra != EX_NONE ) - game->extra_count++; - } - } - game->brick_count = game->bricks_left; - - /* the above code is fine for levels that are loaded from a - * snapshot identical to the original level which is the - * case for first load in local game and always in network - * game (as in this case, the complete level is sent and - * never restarted). for a local game where a ball gets - * lost the total number of bricks gets distorted. to allow - * fair usage of the warp function the level's original - * brick count is used in any case. 'game->brick_count as - * computed above is screwed anyway for re-initiated levels - * as it does not remember the cleared bricks. the original - * number does not take the grown bricks in account. i don't - * see an easy way to sync both, so let's keep it, nobody - * is hurt as long as no one asks for stats on local games. - * DONT ASK FOR STATS ON LOCAL GAMES!!! - * okay, grown bricks are not taken in account for the - * warp limit, it is computed based on the initial brick - * count, thus the additional bricks from a growth must be - * cleared without helping to hit the warp limit. that is - * not too unfair i think, as it will allow to warp when - * you come below the limit and then loose the ball. - * why do i write so much anyway? */ - game->warp_limit = ( 100 - rel_warp_limit ) * - level->normal_brick_count / 100; - - /* clear explosion/healing list */ - list_clear( game->exp_bricks ); - list_clear( game->heal_bricks ); - - /* add regenerating bricks */ - for ( i = 1; i < MAP_WIDTH - 1; i++ ) - for ( j = 1; j < MAP_HEIGHT - 1; j++ ) - if ( game->bricks[i][j].type == MAP_BRICK_HEAL ) - if ( game->bricks[i][j].dur < 3 ) { - game->bricks[i][j].mx = i; - game->bricks[i][j].my = j; - game->bricks[i][j].heal_time = BRICK_HEAL_TIME; - list_add( game->heal_bricks, &game->bricks[i][j] ); - } + /* create bricks */ + game->bricks[i + 1][j + y_off].exp_time = -1; + game->bricks[i + 1][j + y_off].heal_time = -1; + for ( k = 0; k < BRICK_COUNT; k++ ) + if ( level->bricks[i][j] == brick_conv_table[k].c ) { + brick_set_by_id( game, i+1,j+y_off,brick_conv_table[k].id ); + game->bricks[i + 1][j + y_off].score = (score_mod * brick_conv_table[k].score) / 10; + break; + } + if ( k == BRICK_COUNT && level->bricks[i][j] != '.' && level->bricks[i][j] != ' ' ) + printf( "unknown: %i,%i: %c\n", i, j, level->bricks[i][j] ); + /* create extras */ + game->bricks[i + 1][j + y_off].extra = EX_NONE; + for ( k = 0; k < EX_NUMBER; k++ ) + if ( level->extras[i][j] == extra_conv_table[k].c ) { + game->bricks[i + 1][j + y_off].extra_c = extra_conv_table[k].c; + game->bricks[i + 1][j + y_off].extra = extra_conv_table[k].type; + break; + } + } + } + else + { + /* generate bonus level */ + if (game->localServerGame) + bricks_init_bonus_level( game, game_type, level->type ); + } + + /* count bricks & extras */ + game->bricks_left = 0; game->extra_count = 0; + for (i = 1; i < MAP_WIDTH - 1; i++) + for (j = 1; j < MAP_HEIGHT - 1; j++) { + if ( game->bricks[i][j].dur > 0 ) { + game->bricks_left++; + if ( game->bricks[i][j].extra != EX_NONE ) + game->extra_count++; + } + } + game->brick_count = game->bricks_left; + + /* the above code is fine for levels that are loaded from a + * snapshot identical to the original level which is the + * case for first load in local game and always in network + * game (as in this case, the complete level is sent and + * never restarted). for a local game where a ball gets + * lost the total number of bricks gets distorted. to allow + * fair usage of the warp function the level's original + * brick count is used in any case. 'game->brick_count as + * computed above is screwed anyway for re-initiated levels + * as it does not remember the cleared bricks. the original + * number does not take the grown bricks in account. i don't + * see an easy way to sync both, so let's keep it, nobody + * is hurt as long as no one asks for stats on local games. + * DONT ASK FOR STATS ON LOCAL GAMES!!! + * okay, grown bricks are not taken in account for the + * warp limit, it is computed based on the initial brick + * count, thus the additional bricks from a growth must be + * cleared without helping to hit the warp limit. that is + * not too unfair i think, as it will allow to warp when + * you come below the limit and then loose the ball. + * why do i write so much anyway? */ + game->warp_limit = ( 100 - rel_warp_limit ) * + level->normal_brick_count / 100; + + /* add regenerating bricks */ + for ( i = 1; i < MAP_WIDTH - 1; i++ ) + for ( j = 1; j < MAP_HEIGHT - 1; j++ ) + if ( game->bricks[i][j].type == MAP_BRICK_HEAL ) + if ( game->bricks[i][j].dur < 3 ) { + game->bricks[i][j].mx = i; + game->bricks[i][j].my = j; + game->bricks[i][j].heal_time = BRICK_HEAL_TIME; + list_add( game->heal_bricks, &game->bricks[i][j] ); + } } /* ==================================================================== @@ -355,7 +773,84 @@ { int remove = 0; int loose_dur = 0; - + int i; + double ratio; + + /* perform action of special levels */ + if (cur_game->localServerGame) + switch (cur_game->level_type) + { + case LT_HUNTER: + /* no brick is broken, just move hunter if correct brick hit */ + if (cur_game->bricks[mx][my].id==cur_game->blHunterUpId) + bricks_move_hunter(cur_game,0,-1,&i); + else + if (cur_game->bricks[mx][my].id==cur_game->blHunterDownId) + bricks_move_hunter(cur_game,0,1,&i); + else + if (cur_game->bricks[mx][my].id==cur_game->blHunterLeftId) + bricks_move_hunter(cur_game,-1,0,&i); + else + if (cur_game->bricks[mx][my].id==cur_game->blHunterRightId) + bricks_move_hunter(cur_game,1,0,&i); + if (i==1) + { + /* we screwed it */ + cur_game->bricks_left = 0; + } + else if (i==2) + { + /* we caught a brick! */ + ratio = ((double)cur_game->blHunterTimeLeft)/cur_game->blActionTime; + paddle->score += ratio*cur_game->blMaxScore; + cur_game->totalBonusLevelScore += ratio*cur_game->blMaxScore; + printf("H: maxScore: %d, ratio: %f, respawn time: %d\n",cur_game->blMaxScore,ratio,cur_game->blActionTime); + cur_game->blActionTime *= 0.95; + cur_game->blMaxScore *= 1.05; + cur_game->blNumCompletedRuns++; + cur_game->blRatioSum += ratio; + bricks_create_new_prey(cur_game,-1,-1); + } + return 0; + case LT_SITTING_DUCKS: + if (imp.y<0) + { + /* any hit results in reseting the ball if direction is up; + if not the highlighted brick was hit, it will explode */ + if (mx==cur_game->blDuckPositions[cur_game->blCurrentDuck*2]&& + my==cur_game->blDuckPositions[cur_game->blCurrentDuck*2+1]) + { + /* wow! give some points for that */ + ratio = 1.0; + paddle->score += ratio*cur_game->blMaxScore; + cur_game->totalBonusLevelScore += ratio*cur_game->blMaxScore; + //printf("SD: hit!\n"); + cur_game->blMaxScore *= 1.05; + cur_game->blNumCompletedRuns++; + cur_game->blRatioSum += ratio; + brick_set_by_id(cur_game,mx,my,3); + bricks_add_grow_mod(mx,my,3); + } + else + { + /* dude, you suck! */ + mx = cur_game->blDuckPositions[cur_game->blCurrentDuck*2]; + my = cur_game->blDuckPositions[cur_game->blCurrentDuck*2+1]; + cur_game->bricks[mx][my].exp_time = 1; + cur_game->bricks[mx][my].exp_paddle = cur_game->paddles[0]; + cur_game->bricks[mx][my].mx = mx; + cur_game->bricks[mx][my].my = my; + list_add( cur_game->exp_bricks, &cur_game->bricks[mx][my] ); + cur_game->blMaxScore = cur_game->blDuckBaseScore; + cur_game->blNumDucks--; + cur_game->blDuckPositions[cur_game->blCurrentDuck*2] = -1; + } + attach_ball_to_ceiling(cur_game); + return 0; + } + break; + } + /* a map wall can't be touched */ if ( cur_game->bricks[mx][my].type == MAP_WALL ) return 0; @@ -372,6 +867,24 @@ loose_dur = 1; } + /* perform action of special levels */ + if (cur_game->localServerGame) + switch (cur_game->level_type) + { + case LT_JUMPING_JACK: + /* grow another brick (since a hit means sure removal) */ + ratio = ((double)cur_game->bricks[cur_game->bl_jj_mx][cur_game->bl_jj_my].exp_time)/cur_game->blActionTime; + paddle->score += ratio*cur_game->blMaxScore; + cur_game->totalBonusLevelScore += ratio*cur_game->blMaxScore; + //printf("JJ: maxScore: %d, ratio: %f, respawn time: %d\n",cur_game->blMaxScore,ratio,cur_game->blActionTime); + cur_game->blActionTime *= 0.95; + cur_game->blMaxScore *= 1.05; + cur_game->blNumCompletedRuns++; + cur_game->blRatioSum += ratio; + brick_create_instable( cur_game, cur_game->blActionTime ); + break; + } + if ( remove ) { bricks_add_mod( mx, my, HT_REMOVE, type, imp, paddle ); brick_remove( mx, my, type, imp, paddle ); @@ -382,6 +895,73 @@ brick_loose_dur( mx, my, 1 ); } + /* perform action of special levels */ + if (cur_game->localServerGame) + switch (cur_game->level_type) + { + case LT_DEFENDER: + for (i=0;iblNumInvaders;i++) + if (cur_game->blInvaders[i].x==mx&&cur_game->blInvaders[i].y==my) + { + cur_game->blInvaders[i].x = -1; + paddle->score += cur_game->blInvaderScore; + cur_game->totalBonusLevelScore += cur_game->blInvaderScore; + break; + } + cur_game->blNumKilledInvaders++; + cur_game->blTotalNumKilledInvaders++; + if (cur_game->bricks_left==0) /* cleared this wave, next one please! */ + { + ratio = ((double)(cur_game->blInvaderLimit - cur_game->blNumKilledInvaders))/cur_game->blInvaderLimit; + paddle->score += ratio*cur_game->blMaxScore; + cur_game->totalBonusLevelScore += ratio*cur_game->blMaxScore; + cur_game->blActionTime *= 0.95; + cur_game->blMaxScore *= 1.05; + cur_game->blInvaderScore *= 1.05; + cur_game->blNumCompletedRuns++; + cur_game->blRatioSum += ratio; + bricks_init_next_wave( cur_game ); + } + break; + case LT_OUTBREAK: + if (cur_game->bricks_left==0) + { + /* reset scene */ + ratio = ((double)(cur_game->blCancerLimit - cur_game->blCancerCount))/cur_game->blCancerLimit; + paddle->score += ratio*cur_game->blMaxScore; + cur_game->totalBonusLevelScore += ratio*cur_game->blMaxScore; + //printf("OB: maxScore: %d, ratio: %f, respawn time: %d\n",cur_game->blMaxScore,ratio,cur_game->blActionTime); + cur_game->blActionTime *= 0.95; + cur_game->blMaxScore *= 1.05; + delay_set(&cur_game->blDelay,cur_game->blActionTime); + cur_game->blCancerCount = 0; + cur_game->blNumCompletedRuns++; + cur_game->blRatioSum += ratio; + for (i=0;i<5;i++) brick_create_instable( cur_game, -1 ); + } + break; + case LT_BARRIER: + if (my == 1) + { + /* build a tougher barrier, enter next level */ + ratio = ((double)(cur_game->blBarrierMaxMoves - cur_game->blBarrierMoves))/cur_game->blBarrierMaxMoves; + if (ratio<0) ratio=0; + paddle->score += 500*cur_game->blBarrierLevel + ratio*cur_game->blMaxScore; + cur_game->totalBonusLevelScore += 500*cur_game->blBarrierLevel + ratio*cur_game->blMaxScore; + //printf("BR: maxScore: %d, ratio: %f, respawn time: %d\n",cur_game->blMaxScore,ratio,cur_game->blActionTime); + //cur_game->blActionTime *= 0.95; + cur_game->blMaxScore += 1000; + delay_set(&cur_game->blDelay,cur_game->blActionTime); + cur_game->blBarrierMoves = 0; + cur_game->blNumCompletedRuns++; + cur_game->blRatioSum += ratio; + cur_game->blBarrierLevel++; + bricks_create_barrier(cur_game,cur_game->blBarrierLevel); + ((Ball*)(cur_game->balls->head->next->item))->moving_back = 1; + } + break; + } + return remove; } /* @@ -431,6 +1011,12 @@ hit = &cur_game->mod.brick_hits[cur_game->mod.brick_hit_count++]; memset(hit,0,sizeof(BrickHit)); /* clear hit */ + if (mod == HT_REMOVE_NO_SOUND ) + { + mod = HT_REMOVE; + hit->no_sound = 1; + } + if ( mod == HT_REMOVE ) { if ( paddle->extra_active[EX_GOLDSHOWER] ) if ( cur_game->bricks[x][y].extra == EX_NONE ) @@ -465,12 +1051,31 @@ else hit->degrees = 90 / 2; } + + if (mod==HT_GROW) + hit->brick_id = RANDOM( BRICK_GROW_FIRST, BRICK_GROW_LAST ); +; +} +void bricks_add_grow_mod( int x, int y, int id ) +{ + BrickHit *hit; + + if ( cur_game->mod.brick_hit_count > MAX_MODS ) return; /* drop hit */ + + hit = &cur_game->mod.brick_hits[cur_game->mod.brick_hit_count++]; + memset(hit,0,sizeof(BrickHit)); /* clear hit */ + + hit->x = x; hit->y = y; + hit->brick_id = id; + hit->type = HT_GROW; } /* update regeneration and explosion of bricks */ void bricks_update( int ms ) { + int paddleHit; Brick *brick; + Ball *ball; /* check if bricks were destroyed by explosion */ if ( cur_game->exp_bricks->count > 0 ) { @@ -514,6 +1119,54 @@ } } } + + /* check bonus level stuff */ + if (cur_game->localServerGame) + switch (cur_game->level_type) + { + case LT_HUNTER: + cur_game->blHunterTimeLeft -= ms; + if (cur_game->blHunterTimeLeft<0) + cur_game->bricks_left = 0; + break; + case LT_OUTBREAK: + if (delay_timed_out(&cur_game->blDelay,ms)) + { + brick_create_instable(cur_game,-1); + cur_game->blCancerCount++; + if (cur_game->blCancerCount>cur_game->blCancerLimit) + cur_game->bricks_left = 0; /* fake level cleared */ + } + break; + case LT_BARRIER: + if (delay_timed_out(&cur_game->blDelay,ms)) + { + bricks_move_barrier(cur_game,&paddleHit); + if (paddleHit) + cur_game->bricks_left = 0; /* fake level cleared */ + } + break; + case LT_SITTING_DUCKS: + if (cur_game->blBallAttached&&delay_timed_out(&cur_game->blDelay,ms)) + { + ball = list_first(cur_game->balls); + cur_game->blBallAttached = 0; + ball_set_random_angle( ball, cur_game->ball_v ); + ball->vel.y *= -1.0; + ball->vel.x *= 0.2; + balls_set_velocity( cur_game->balls, cur_game->ball_v ); + balls_check_targets( -1, 0 ); + select_random_duck(cur_game); + } + break; + case LT_DEFENDER: + if (delay_timed_out(&cur_game->blDelay,ms)) + bricks_add_invader(cur_game,&cur_game->blInvadersWaveOver); + bricks_move_invaders(cur_game,ms,&paddleHit); + if (paddleHit) + cur_game->bricks_left = 0; /* fake level cleared */ + break; + } } /* return the character that represents the brick with this type id */ @@ -525,5 +1178,3 @@ return brick_conv_table[i].c; return ' '; } - - diff --git a/game/bricks.h b/game/bricks.h index 82625a1..8511960 100644 --- a/game/bricks.h +++ b/game/bricks.h @@ -66,12 +66,13 @@ Initiate a brick explosion. ==================================================================== */ -void brick_start_expl( int x, int y, Paddle *paddle ); +void brick_start_expl( int x, int y, int time, Paddle *paddle ); /* add a modification to the list. if 'mod' is HT_HIT and the * tile is empty it is an HT_REMOVE. 'type' is the type of * the responsible source and 'src' its impact vector. */ void bricks_add_mod( int x, int y, int mod, int dest_type, Vector imp, Paddle *paddle ); +void bricks_add_grow_mod( int x, int y, int id ); /* update regeneration and explosion of bricks */ void bricks_update( int ms ); @@ -80,4 +81,3 @@ char brick_get_char( int type ); #endif - diff --git a/game/comm.c b/game/comm.c index 66f094c..eac7780 100644 --- a/game/comm.c +++ b/game/comm.c @@ -135,7 +135,7 @@ Ball *ball; /* ball ammo */ - if ( cur_game->level_type == LT_NORMAL ) + if ( cur_game->level_type != LT_PINGPONG ) msg[(*pos)++] = 0; else { count = cur_game->paddles[PADDLE_BOTTOM]->ball_ammo & 15; @@ -331,16 +331,19 @@ * 0-7 heal count (one point) * 8 each: * 0-7 id in edit window - * 0-7 grow count (random client id) + * 0-7 grow count + * 16 each: * 0-7 id in edit window + * 0-7 brick id * 0-7 remove count * 16(+8) each: * 0-7 id in edit window * 8-9 destroy type (00 normal, 01 energy, 10 shot, 11 expl) * 10 paddle (top or bottom) * 11 goldshower (release 1000P) - * 12 draw explosion animation when killing brick - * 13-15 unused + * 12 draw explosion animation when killing brick + * 13 play a sound when killing brick + * 14-15 unused * (16-23) clockwise impact position 0-180 for normal animation */ void comm_pack_brick_hits( unsigned char *msg, int *pos ) @@ -377,6 +380,7 @@ hit = &cur_game->mod.brick_hits[i]; if ( hit->type == HT_GROW ) { msg[(*pos)++] = (hit->y-y_off) * EDIT_WIDTH + hit->x - 1; + msg[(*pos)++] = hit->brick_id; count++; } } @@ -396,6 +400,7 @@ if ( hit->paddle ) SETBIT( byte, 2 ); if ( hit->gold_shower ) SETBIT( byte, 3 ); if ( hit->draw_explosion ) SETBIT( byte, 4 ); + if ( hit->no_sound ) SETBIT( byte, 5 ); msg[(*pos)++] = byte; if ( hit->dest_type == SHR_BY_NORMAL_BALL ) { byte = hit->degrees; @@ -423,6 +428,11 @@ hit->x = byte % EDIT_WIDTH + 1; hit->y = byte / EDIT_WIDTH + (MAP_HEIGHT-EDIT_HEIGHT)/2; hit->type = (j==0)?HT_HIT:(j==1)?HT_HEAL:HT_GROW; + if (j==2) /* growth */ + { + byte = msg[(*pos)++]; + hit->brick_id = byte; + } } } @@ -439,6 +449,7 @@ hit->paddle = GETBIT(byte,2); hit->gold_shower = GETBIT(byte,3); hit->draw_explosion = GETBIT(byte,4); + hit->no_sound = GETBIT(byte,5); if ( hit->dest_type == SHR_BY_NORMAL_BALL ) hit->degrees = msg[(*pos)++]; else @@ -597,4 +608,3 @@ count = msg[(*pos)++]; *pos += count; } } - diff --git a/game/game.c b/game/game.c index 052f0f6..acf7e72 100644 --- a/game/game.c +++ b/game/game.c @@ -54,6 +54,45 @@ }; /***** LOCAL FUNCTIONS *****************************************************/ + +static void game_setup_title_and_author( Game *game, Level *level ) +{ + switch (level->type) + { + case LT_NORMAL: + snprintf( game->title, 32, "%s", level->name ); + snprintf( game->author, 32, "%s", level->author ); + break; + case LT_JUMPING_JACK: + snprintf( game->title, 32, _("Jumping Jack") ); + snprintf( game->author, 32, _("Bonus Level") ); + break; + case LT_OUTBREAK: + snprintf( game->title, 32, _("Outbreak") ); + snprintf( game->author, 32, _("Bonus Level") ); + break; + case LT_BARRIER: + snprintf( game->title, 32, _("Barrier") ); + snprintf( game->author, 32, _("Bonus Level") ); + break; + case LT_SITTING_DUCKS: + snprintf( game->title, 32, _("Sitting Ducks") ); + snprintf( game->author, 32, _("Bonus Level") ); + break; + case LT_HUNTER: + snprintf( game->title, 32, _("Hunter") ); + snprintf( game->author, 32, _("Bonus Level") ); + break; + case LT_DEFENDER: + snprintf( game->title, 32, _("Defender") ); + snprintf( game->author, 32, _("Bonus Level") ); + break; + default: + snprintf( game->title, 32, _("Unknown Level Type") ); + snprintf( game->author, 32, "???" ); + break; + } +} /***** PUBLIC FUNCTIONS ****************************************************/ @@ -118,7 +157,11 @@ if ( game->extras ) list_delete( game->extras ); if ( game->balls ) list_delete( game->balls ); - free( game ); + /* delete bonus level stuff */ + if (game->blDuckPositions) free(game->blDuckPositions); + if (game->blInvaders) free(game->blInvaders); + + free( game ); *_game = 0; } @@ -127,46 +170,59 @@ * while playing. */ void game_init( Game *game, Level *level ) { - int i; - Ball *ball; - - game->level_over = 0; - - /* initiate level data */ - snprintf( game->title, 32, level->name ); - snprintf( game->author, 32, level->author ); - bricks_init( game, game->game_type, level, game->diff->score_mod, game->rel_warp_limit ); - if ( game->game_type == GT_LOCAL || game->brick_count > 0 ) - game->level_type = LT_NORMAL; - else - game->level_type = LT_PINGPONG; - memset( game->extra_active, 0, sizeof( game->extra_active ) ); - memset( game->extra_time, 0, sizeof( game->extra_time ) ); - - /* set ball speed */ - game->ball_v = game->ball_v_min; - game->speedup_level = 0; - - /* clear maxballspeed_request */ - if ( game->game_type == GT_LOCAL ) - { - cur_game->paddles[0]->maxballspeed_request = 0; - cur_game->paddles[0]->maxballspeed_request_old = 0; - } + int i; + Ball *ball; + + game->level_over = 0; + game->isBonusLevel = 0; + game->totalBonusLevelScore = 0; + + /* set title and author */ + game_setup_title_and_author( game, level ); + + /* set level type. is level::type except for normal level with no bricks: pingpong */ + if (level->type==LT_NORMAL && game->game_type == GT_NETWORK && game->brick_count == 0 ) + game->level_type = LT_PINGPONG; + else + { + game->level_type = level->type; + if (game->level_type!=LT_NORMAL) game->isBonusLevel = 1; + } + + /* clear extras */ + memset( game->extra_active, 0, sizeof( game->extra_active ) ); + memset( game->extra_time, 0, sizeof( game->extra_time ) ); + + /* set ball speed */ + game->ball_v = game->ball_v_min; + game->speedup_level = 0; + + /* clear maxballspeed_request */ + if ( game->game_type == GT_LOCAL ) + { + cur_game->paddles[0]->maxballspeed_request = 0; + cur_game->paddles[0]->maxballspeed_request_old = 0; + } - /* attach one ball to each paddle */ - list_clear( game->balls ); - for ( i = 0; i < game->paddle_count; i++ ) { - if ( game->paddles[i]->type == PADDLE_BOTTOM ) - ball = ball_create((game->paddles[i]->w - ball_w) / 2, -ball_dia ); - else - ball = ball_create((game->paddles[i]->w - ball_w) / 2, game->paddles[i]->h ); - ball->attached = 1; - ball->paddle = game->paddles[i]; - ball->paddle->attached_ball_count = 1; - ball_set_random_angle( ball, game->ball_v ); - list_add( game->balls, ball ); - } + /* attach one ball to each paddle */ + list_clear( game->balls ); + for ( i = 0; i < game->paddle_count; i++ ) { + if ( game->paddles[i]->type == PADDLE_BOTTOM ) + ball = ball_create((game->paddles[i]->w - ball_w) / 2, -ball_dia ); + else + ball = ball_create((game->paddles[i]->w - ball_w) / 2, game->paddles[i]->h ); + ball->attached = 1; + ball->paddle = game->paddles[i]; + ball->paddle->attached_ball_count = 1; + ball_set_random_angle( ball, game->ball_v ); + list_add( game->balls, ball ); + } + + /* do bricks as last to have influence on balls to keep bonus level stuff in one place */ + /* setup bricks (from level data or from special level type; this includes setting the + bonus level data if any */ + bricks_init( game, game->game_type, level, game->diff->score_mod, game->rel_warp_limit ); + } /* reset level/in_game data */ @@ -291,7 +347,7 @@ if ( cur_game->balls->count == 0 ) cur_game->level_over = 1; } else { /* network game */ - if ( cur_game->level_type == LT_NORMAL ) { + if ( cur_game->level_type != LT_PINGPONG ) { if ( cur_game->bricks_left == 0 ) cur_game->level_over = 1; } else @@ -303,7 +359,7 @@ /* if so, determine winner */ if ( cur_game->level_over ) { if ( cur_game->game_type == GT_LOCAL ) { - if ( cur_game->bricks_left == 0 ) + if ( cur_game->bricks_left == 0 || cur_game->isBonusLevel ) cur_game->winner = PADDLE_BOTTOM; /* praise */ else cur_game->winner = PADDLE_TOP; /* swear */ @@ -436,4 +492,3 @@ stats->losses++; stats->played_rounds++; } - diff --git a/game/game.h b/game/game.h index b79e975..059a6c3 100644 --- a/game/game.h +++ b/game/game.h @@ -31,7 +31,10 @@ /***** PUBLIC FUNCTIONS ****************************************************/ -/* create/delete game context */ +/* create/delete game context + game_type is either GT_LOCAL, GT_NETWORK_CLIENT, GT_NETWORK_SERVER. + if it is GT_NETWORK_..., it is changed to GT_NETWORK while setting + isServerSidedGame */ Game *game_create( int game_type, int diff, int rel_warp_limit ); void game_delete( Game **game ); diff --git a/game/gamedefs.h b/game/gamedefs.h index daa133d..3670d79 100644 --- a/game/gamedefs.h +++ b/game/gamedefs.h @@ -123,6 +123,7 @@ HT_HEAL, /* negative hit: regeneration */ HT_REMOVE, /* remove brick completely */ HT_GROW, /* create brick with random color */ + HT_REMOVE_NO_SOUND, /* is mapped to HT_REMOVE and no_sound=1 */ /* balls */ BALL_NORMAL = 0, @@ -155,16 +156,26 @@ SHOW_CREDIT, /* levels */ - MAX_LEVELS = 40 + MAX_LEVELS = 40, + + /* bonus level types (start at 2) */ + LT_JUMPING_JACK = 2, + LT_OUTBREAK, + LT_BARRIER, + LT_SITTING_DUCKS, + LT_HUNTER, + LT_DEFENDER, + LT_LAST }; typedef struct Level { - char author[32], name[32]; - /* extras and bricks are saved by their specific character and - interpreted by bricks_create later */ - char bricks[EDIT_WIDTH][EDIT_HEIGHT]; - char extras[EDIT_WIDTH][EDIT_HEIGHT]; - int normal_brick_count; + char author[32], name[32]; + /* extras and bricks are saved by their specific character and + interpreted by bricks_create later */ + char bricks[EDIT_WIDTH][EDIT_HEIGHT]; + char extras[EDIT_WIDTH][EDIT_HEIGHT]; + int normal_brick_count; + int type; /* normal or type of bonus level */ } Level; typedef struct { char name[20]; @@ -349,10 +360,13 @@ int x,y; /* position */ int type; /* destruction, hit, regeneration, growth */ int dest_type;/* shot, normal, energy, explosion */ - /* if paddle was destroyed: */ + /* if brick will grow: */ + int brick_id; /* brick id */ + /* if brick was destroyed: */ int paddle; /* 0 bottom, 1 top */ int gold_shower;/* goldshower extra released? */ int draw_explosion; /* draw an explosion on destruction */ + int no_sound; /* play no sound on destruction */ int degrees; /* 0 to 180. *2 degree of normal animation movement */ } BrickHit; @@ -394,6 +408,12 @@ int paddle_reflected_ball_count; int brick_reflected_ball_count; } GameMod; + +typedef struct { + int id; /* brick id */ + int x, y; /* position */ + Delay delay; /* move delay */ +} Invader; typedef struct { int game_type; @@ -434,10 +454,55 @@ /* code red modifications from update() */ GameMod mod; + + /* bonus level information */ + int isBonusLevel; /* whether we are in a bonus level */ + int blRefreshBricks; /* copy all bricks from local to client since brick positions have + changed and redraw; keep anything else */ + int localServerGame; /* this is the local_game context, actually handling the game */ + int totalBonusLevelScore; /* bonus levels are all about gaining extra score so we count it */ + int blNumCompletedRuns; /* number of successful runs (how often score was added) */ + double blRatioSum; /* some of all ratios; devided by blNumCompletedRuns we get an average */ + int blActionTime; /* e.g.,brick dies/grows after that time */ + Delay blDelay; /* e.g., new brick after this times out or barrier moves down */ + int blMaxScore; /* maximum score for current run */ + int bl_jj_mx, bl_jj_my; /* position of current jumping jack */ + int blCancerCount; /* number of bricks grown so far, must not exceed bl_cancer_limit */ + int blCancerLimit; /* game over if this many bricks sprung into existence */ + int blBarrierLevel; /* size of barrier */ + int blBarrierMoves; /* how often barrier has moved in this run */ + int blBarrierMaxMoves; /* max number of possible moves before game over */ + int blTotalNumDucks; /* total number of ducks */ + int blNumDucks; /* number of active ducks */ + int *blDuckPositions; /* position of ducks */ + int blBallAttached; /* ball waits at ceiling */ + int blCurrentDuck; /* id in duck positions [id*2,id*2+1] */ + int blDuckBaseScore; /* maxScore is reset to this if miss */ + int blHunterAreaX1; + int blHunterAreaY1; /* left upper corner of playingfield frame */ + int blHunterAreaX2; + int blHunterAreaY2; /* right lower corner of playingfield frame */ + int blHunterUpId; + int blHunterDownId; + int blHunterRightId; + int blHunterLeftId; /* ids of brick types for control */ + int blHunterId; + int blHunterPreyId; + int blHunterX,blHunterY; /* position of hunter */ + int blHunterPreyX; + int blHunterPreyY; /* position of pray */ + int blHunterTimeLeft; + int blInvaderLimit; /* max number of invaders */ + int blNumInvaders; /* current number of invaders */ + int blNumKilledInvaders; /* already destroyed in this wave */ + int blTotalNumKilledInvaders; /* already destroyed total */ + int blInvadersWaveOver; + int blInvaderTime; /* within a wave invaders will speed up too */ + int blInvaderScore; /* score per invader kill */ + Invader *blInvaders; /* current positions */ } Game; #define SETBIT( data, bit ) data |= (1L << bit ) #define GETBIT( data, bit ) ((data >> bit) & 1) #endif - diff --git a/game/levels.c b/game/levels.c index 2a13180..c4be9ab 100644 --- a/game/levels.c +++ b/game/levels.c @@ -108,15 +108,58 @@ ==================================================================== Load all levels from either home directory (fname begins with ~) or installation directory. -==================================================================== -*/ -LevelSet *levelset_load( char *fname ) -{ - int version, update; +addBonusLevels is also the seed if not 0. +==================================================================== +*/ +LevelSet *levelset_load( char *fname, int addBonusLevels ) +{ + int version, update, i, j, num; LevelSet *set; + Level *level; List *levels = list_create( LIST_NO_AUTO_DELETE, 0 ); + /* check virtual sets */ + if (fname[0]=='!') + { + set = levelset_create_empty(1,"Michael Speck","Bonus Level"); + sprintf(set->name,"%s",fname); + if (!strcmp(fname,_("!JUMPING_JACK!"))) + set->levels[0]->type = LT_JUMPING_JACK; + else + if (!strcmp(fname,_("!OUTBREAK!"))) + set->levels[0]->type = LT_OUTBREAK; + else + if (!strcmp(fname,_("!BARRIER!"))) + set->levels[0]->type = LT_BARRIER; + else + if (!strcmp(fname,_("!SITTING_DUCKS!"))) + set->levels[0]->type = LT_SITTING_DUCKS; + else + if (!strcmp(fname,_("!HUNTER!"))) + set->levels[0]->type = LT_HUNTER; + else + if (!strcmp(fname,_("!INVADERS!"))) + set->levels[0]->type = LT_DEFENDER; + return set; + } + + /* load normal file */ levels_load( fname, levels, &version, &update ); + + /* add bonus levels every four normal levels */ + if (addBonusLevels) + { + srand(addBonusLevels); + num = levels->count / 4; + for (i=0,j=4;itype = RANDOM(LT_JUMPING_JACK,LT_LAST-1); + list_insert(levels,level,j); + j += 5; + } + } + set = levelset_build_from_list( levels, fname, version, update ); if ( set == 0 ) fprintf( stderr, "empty levelset: %s\n", fname ); @@ -132,41 +175,54 @@ Use sets from install directory only (no preceding ~) ==================================================================== */ -LevelSet *levelset_load_all( List *levelsets, int seed ) +LevelSet *levelset_load_all( List *levelsets, int seed, int addBonusLevels ) { LevelSet *set; char *setname; int version, update; List *levels = list_create( LIST_NO_AUTO_DELETE, 0 ); - int i; + int i, j, num; ListEntry *entry; Level **pointers, *level; /* use sets from install directory only (no preceding ~) */ list_reset( levelsets ); while ( (setname = list_next( levelsets )) && setname[0] != '~' ) - levels_load( setname, levels, &version, &update ); + levels_load( setname, levels, &version, &update ); - /* shake the levels a bit */ - srand(seed); - list_reset( levels ); i = 0; - pointers = calloc( levels->count, sizeof( Level* ) ); - while ( ( level = list_next( levels ) ) ) { - i = rand() % levels->count; - while ( pointers[i] ) { - i++; - if ( i == levels->count ) - i = 0; - } - pointers[i] = level; + /* shake the levels a bit */ + srand(seed); + list_reset( levels ); i = 0; + pointers = calloc( levels->count, sizeof( Level* ) ); + while ( ( level = list_next( levels ) ) ) { + i = rand() % levels->count; + while ( pointers[i] ) { + i++; + if ( i == levels->count ) + i = 0; } - entry = levels->head->next; - for ( i = 0; i < levels->count; i++ ) { - entry->item = pointers[i]; - entry = entry->next; + pointers[i] = level; + } + entry = levels->head->next; + for ( i = 0; i < levels->count; i++ ) { + entry->item = pointers[i]; + entry = entry->next; + } + free( pointers ); + /* add bonus levels every four normal levels */ + if (addBonusLevels) + { + srand(addBonusLevels); + num = levels->count / 4; + for (i=0,j=4;itype = RANDOM(LT_JUMPING_JACK,LT_LAST-1); + list_insert(levels,level,j); + j += 5; } - free( pointers ); - srand(time(0)); + } + srand(time(0)); version = 1; update = 0; set = levelset_build_from_list( levels, TOURNAMENT, version, update ); @@ -261,7 +317,7 @@ int i; LevelSet *set = salloc( 1, sizeof( LevelSet ) ); - strcpy( set->name, "empty" ); + strcpy( set->name, name ); set->count = count; set->levels = salloc( count, sizeof( Level* ) ); for ( i = 0; i < count; i++ ) @@ -374,6 +430,8 @@ for ( j = 0; j < EDIT_WIDTH; j++ ) if ( is_destructible(level->bricks[j][i]) ) level->normal_brick_count++; + /* a normally loaded level is always of type LT_NORMAL */ + level->type = LT_NORMAL; /* return level */ return level; failure: @@ -394,9 +452,11 @@ /* empty arena */ for ( i = 0; i < EDIT_WIDTH; i++ ) for ( j = 0; j < EDIT_HEIGHT; j++ ) { - level->extras[i][j] = (char)EX_NONE; - level->bricks[i][j] = (char)-1; + level->extras[i][j] = '.'; + level->bricks[i][j] = '.'; } + /* empty level is always of type LT_NORMAL */ + level->type = LT_NORMAL; return level; } /* @@ -443,5 +503,3 @@ next_line( file, buffer ); strcpy_lt( author, buffer, 31 ); } - - diff --git a/game/levels.h b/game/levels.h index b36fa65..3996601 100644 --- a/game/levels.h +++ b/game/levels.h @@ -20,8 +20,8 @@ #include "../client/lbreakout.h" -#define NEW_SET "" -#define TOURNAMENT "!FREAKOUT!" +#define NEW_SET _("") +#define TOURNAMENT _("!FREAKOUT!") /* ==================================================================== @@ -41,7 +41,7 @@ home directory (fname begins with ~) or installation directory. ==================================================================== */ -LevelSet *levelset_load( char *fname ); +LevelSet *levelset_load( char *fname, int addBonusLevels ); /* ==================================================================== Load all levelSETS listed in 'levelsets' (names) into one big @@ -49,7 +49,7 @@ and reinit random generator with current time when done. ==================================================================== */ -LevelSet *levelset_load_all( List *levelsets, int seed ); +LevelSet *levelset_load_all( List *levelsets, int seed, int addBonusLevels ); /* ==================================================================== Build a levelset from a level list and delete the list. diff --git a/gui/Makefile.in b/gui/Makefile.in index 92b1206..a9e1125 100644 --- a/gui/Makefile.in +++ b/gui/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,309 +12,470 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = gui +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +LIBRARIES = $(noinst_LIBRARIES) +AR = ar +ARFLAGS = cru +libGui_a_AR = $(AR) $(ARFLAGS) +libGui_a_LIBADD = +am_libGui_a_OBJECTS = list.$(OBJEXT) stk.$(OBJEXT) gui.$(OBJEXT) \ + gui_widget.$(OBJEXT) gui_theme.$(OBJEXT) gui_box.$(OBJEXT) \ + gui_button.$(OBJEXT) gui_label.$(OBJEXT) gui_icon.$(OBJEXT) \ + gui_radiogroup.$(OBJEXT) gui_scrollbar.$(OBJEXT) \ + gui_progressbar.$(OBJEXT) gui_list.$(OBJEXT) \ + gui_edit.$(OBJEXT) gui_spinbutton.$(OBJEXT) +libGui_a_OBJECTS = $(am_libGui_a_OBJECTS) +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libGui_a_SOURCES) +DIST_SOURCES = $(libGui_a_SOURCES) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ @inst_flag@ @audio_flag@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -DEFS = @DEFS@ @inst_flag@ @audio_flag@ - noinst_LIBRARIES = libGui.a - -libGui_a_SOURCES = list.c stk.c gui.c gui_widget.c gui_theme.c gui_box.c gui_button.c gui_label.c gui_icon.c gui_radiogroup.c gui_scrollbar.c gui_progressbar.c gui_list.c gui_edit.c gui_spinbutton.c - - -EXTRA_DIST = list.h stk.h gui.h gui_widget.h gui_theme.h gui_box.h gui_button.h gui_label.h gui_icon.h gui_radiogroup.h gui_scrollbar.h gui_progressbar.h gui_list.h gui_edit.h gui_spinbutton.h - -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -LIBRARIES = $(noinst_LIBRARIES) - -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -libGui_a_LIBADD = -libGui_a_OBJECTS = list.o stk.o gui.o gui_widget.o gui_theme.o \ -gui_box.o gui_button.o gui_label.o gui_icon.o gui_radiogroup.o \ -gui_scrollbar.o gui_progressbar.o gui_list.o gui_edit.o \ -gui_spinbutton.o -AR = ar -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -SOURCES = $(libGui_a_SOURCES) -OBJECTS = $(libGui_a_OBJECTS) - -all: all-redirect +libGui_a_SOURCES = list.c stk.c \ +gui.c gui_widget.c gui_theme.c \ +gui_box.c gui_button.c gui_label.c gui_icon.c \ +gui_radiogroup.c gui_scrollbar.c gui_progressbar.c \ +gui_list.c gui_edit.c gui_spinbutton.c + +EXTRA_DIST = list.h stk.h \ +gui.h gui_widget.h gui_theme.h \ +gui_box.h gui_button.h gui_label.h gui_icon.h \ +gui_radiogroup.h gui_scrollbar.h gui_progressbar.h \ +gui_list.h gui_edit.h gui_spinbutton.h + +all: all-am + .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps gui/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-noinstLIBRARIES: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gui/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu gui/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) - -distclean-noinstLIBRARIES: - -maintainer-clean-noinstLIBRARIES: - -.c.o: - $(COMPILE) -c $< - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +libGui.a: $(libGui_a_OBJECTS) $(libGui_a_DEPENDENCIES) + -rm -f libGui.a + $(libGui_a_AR) libGui.a $(libGui_a_OBJECTS) $(libGui_a_LIBADD) + $(RANLIB) libGui.a mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: - -libGui.a: $(libGui_a_OBJECTS) $(libGui_a_DEPENDENCIES) - -rm -f libGui.a - $(AR) cru libGui.a $(libGui_a_OBJECTS) $(libGui_a_LIBADD) - $(RANLIB) libGui.a - +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_box.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_button.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_edit.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_icon.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_label.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_progressbar.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_radiogroup.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_scrollbar.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_spinbutton.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_theme.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gui_widget.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/list.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stk.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = gui + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -gui.o: gui.c gui.h gui_widget.h list.h stk.h gui_theme.h gui_box.h \ - gui_label.h gui_icon.h gui_button.h gui_radiogroup.h \ - gui_progressbar.h gui_scrollbar.h gui_edit.h gui_list.h \ - gui_spinbutton.h -gui_box.o: gui_box.c gui_widget.h list.h stk.h gui_theme.h gui_box.h -gui_button.o: gui_button.c gui_widget.h list.h stk.h gui_theme.h \ - gui_button.h -gui_edit.o: gui_edit.c gui_widget.h list.h stk.h gui_theme.h gui_edit.h -gui_icon.o: gui_icon.c gui_widget.h list.h stk.h gui_theme.h gui_icon.h -gui_label.o: gui_label.c gui_widget.h list.h stk.h gui_theme.h \ - gui_label.h -gui_list.o: gui_list.c gui_widget.h list.h stk.h gui_theme.h \ - gui_button.h gui_scrollbar.h gui_list.h -gui_progressbar.o: gui_progressbar.c gui_widget.h list.h stk.h \ - gui_theme.h gui_progressbar.h -gui_radiogroup.o: gui_radiogroup.c gui_widget.h list.h stk.h gui_theme.h \ - gui_radiogroup.h -gui_scrollbar.o: gui_scrollbar.c gui_widget.h list.h stk.h gui_theme.h \ - gui_button.h gui_scrollbar.h -gui_spinbutton.o: gui_spinbutton.c gui_widget.h list.h stk.h gui_theme.h \ - gui_spinbutton.h gui_button.h gui_edit.h -gui_theme.o: gui_theme.c gui_theme.h stk.h -gui_widget.o: gui_widget.c gui_widget.h list.h stk.h gui_theme.h -list.o: list.c list.h -main.o: main.c -png.o: png.c -sdl.o: sdl.c sdl.h png.h -stk.o: stk.c stk.h -tools.o: tools.c tools.h - -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile $(LIBRARIES) +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile $(LIBRARIES) -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ - mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \ - mostlyclean-am - -clean: clean-am - -distclean-am: distclean-noinstLIBRARIES distclean-compile \ - distclean-tags distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ -check-am installcheck-am installcheck install-exec-am install-exec \ -install-data-am install-data install-am install uninstall-am uninstall \ -all-redirect all-am all installdirs mostlyclean-generic \ -distclean-generic clean-generic maintainer-clean-generic clean \ -mostlyclean distclean maintainer-clean - +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-noinstLIBRARIES ctags distclean distclean-compile \ + distclean-generic distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \ + uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/gui/stk.c b/gui/stk.c index 4cdd95a..8d977aa 100644 --- a/gui/stk.c +++ b/gui/stk.c @@ -1419,14 +1419,14 @@ channel = sound->channel; if ( channel == -1 ) channel = Mix_GroupAvailable(-1); - Mix_Volume( channel, sound->volume ); + Mix_Volume( channel, stk_audio_sound_volume ); Mix_PlayChannel( channel, sound->chunk, 0 ); } #endif } /* ==================================================================== -Play a sound at horizontal position x.. +Play a sound at horizontal position x. ==================================================================== */ void stk_sound_play_x( int x, StkSound *sound ) @@ -1442,6 +1442,7 @@ if ( channel == -1 ) channel = Mix_GroupAvailable(-1); Mix_SetPanning( channel, 255 - x, x ); + Mix_Volume( channel, stk_audio_sound_volume ); Mix_PlayChannel( channel, sound->chunk, 0 ); } #endif diff --git a/install-sh b/install-sh index e843669..b777f12 100755 --- a/install-sh +++ b/install-sh @@ -1,19 +1,38 @@ #!/bin/sh -# # install - install a program, script, or datafile -# This comes from X11R5 (mit/util/scripts/install.sh). -# -# Copyright 1991 by the Massachusetts Institute of Technology -# -# Permission to use, copy, modify, distribute, and sell this software and its -# documentation for any purpose is hereby granted without fee, provided that -# the above copyright notice appear in all copies and that both that -# copyright notice and this permission notice appear in supporting -# documentation, and that the name of M.I.T. not be used in advertising or -# publicity pertaining to distribution of the software without specific, -# written prior permission. M.I.T. makes no representations about the -# suitability of this software for any purpose. It is provided "as is" -# without express or implied warranty. + +scriptversion=2004-07-05.00 + +# This originates from X11R5 (mit/util/scripts/install.sh), which was +# later released in X11R6 (xc/config/util/install.sh) with the +# following copyright and license. +# +# Copyright (C) 1994 X Consortium +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN +# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- +# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +# +# Except as contained in this notice, the name of the X Consortium shall not +# be used in advertising or otherwise to promote the sale, use or other deal- +# ings in this Software without prior written authorization from the X Consor- +# tium. +# +# +# FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it @@ -23,12 +42,10 @@ # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. - # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" - # put in absolute paths if you don't have them in your path; or use env. vars. @@ -41,210 +58,265 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -transformbasename="" -transform_arg="" -instcmd="$mvprog" chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" +chowncmd= +chgrpcmd= +stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd="$cpprog" - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd="$stripprog" - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; +src= +dst= +dir_arg= +dstarg= +no_target_directory= + +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: +-c (ignored) +-d create directories instead of installing files. +-g GROUP $chgrpprog installed files to GROUP. +-m MODE $chmodprog installed files to MODE. +-o USER $chownprog installed files to USER. +-s $stripprog installed files. +-t DIRECTORY install into DIRECTORY. +-T report an error if DSTFILE is a directory. +--help display this help and exit. +--version display version info and exit. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG +" + +while test -n "$1"; do + case $1 in + -c) shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + --help) echo "$usage"; exit 0;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -s) stripcmd=$stripprog + shift + continue;; + + -t) dstarg=$2 + shift + shift + continue;; + + -T) no_target_directory=true + shift + continue;; + + --version) echo "$0 $scriptversion"; exit 0;; + + *) # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done + break;; + esac +done + +if test -z "$1"; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi + +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src ;; + esac + + if test -n "$dir_arg"; then + dst=$src + src= + + if test -d "$dst"; then + mkdircmd=: + chmodcmd= + else + mkdircmd=$mkdirprog + fi + else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dstarg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dstarg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst ;; esac + + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dstarg: Is a directory" >&2 + exit 1 + fi + dst=$dst/`basename "$src"` + fi + fi + + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + + # Make sure that the destination directory exists. + + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + IFS=$oIFS + + pathcomp= + + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test -d "$pathcomp" || exit + fi + pathcomp=$pathcomp/ + done + fi + + if test -n "$dir_arg"; then + $doit $mkdircmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + + else + dstfile=`basename "$dst"` + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 + trap '(exit $?); exit' 1 2 13 15 + + # Copy the file name to the temp name. + $doit $cpprog "$src" "$dsttmp" && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + + # Now rename the file to the real destination. + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ + || { + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + || { + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + (exit 1); exit + } + else + : + fi + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + } + } + fi || { (exit 1); exit; } done -if [ x"$src" = x ] -then - echo "install: no input file specified" - exit 1 -else - true -fi - -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d $dst ]; then - instcmd=: - else - instcmd=mkdir - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f $src -o -d $src ] - then - true - else - echo "install: $src does not exist" - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "install: no destination specified" - exit 1 - else - true - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d $dst ] - then - dst="$dst"/`basename $src` - else - true - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -d "$dstdir" ]; then -defaultIFS=' -' -IFS="${IFS-${defaultIFS}}" - -oIFS="${IFS}" -# Some sh's can't handle IFS=/ for some reason. -IFS='%' -set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` -IFS="${oIFS}" - -pathcomp='' - -while [ $# -ne 0 ] ; do - pathcomp="${pathcomp}${1}" - shift - - if [ ! -d "${pathcomp}" ] ; - then - $mkdirprog "${pathcomp}" - else - true - fi - - pathcomp="${pathcomp}/" -done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd $dst && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi -else - -# If we're going to rename the final executable, determine the name now. - - if [ x"$transformarg" = x ] - then - dstfile=`basename $dst` - else - dstfile=`basename $dst $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename $dst` - else - true - fi - -# Make a temp file name in the proper directory. - - dsttmp=$dstdir/#inst.$$# - -# Move or copy the file name to the temp name - - $doit $instcmd $src $dsttmp && - - trap "rm -f ${dsttmp}" 0 && - -# and set any options; do chmod last to preserve setuid bits - -# If any of these fail, we abort the whole thing. If we want to -# ignore errors from any of these, just make sure not to ignore -# errors from the above "$doit $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && - -# Now rename the file to the real destination. - - $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile - -fi && - - -exit 0 +# The final little trick to "correctly" pass the exit status to the exit trap. +{ + (exit 0); exit +} + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/intl/ChangeLog b/intl/ChangeLog new file mode 100644 index 0000000..7512919 --- /dev/null +++ b/intl/ChangeLog @@ -0,0 +1,4 @@ +2004-01-29 GNU + + * Version 0.14.1 released. + diff --git a/intl/Makefile.in b/intl/Makefile.in new file mode 100644 index 0000000..f576089 --- /dev/null +++ b/intl/Makefile.in @@ -0,0 +1,493 @@ +# Makefile for directory with message catalog handling library of GNU gettext +# Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program 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 +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# USA. + +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +SHELL = /bin/sh + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +top_builddir = .. +VPATH = $(srcdir) + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +transform = @program_transform_name@ +libdir = @libdir@ +includedir = @includedir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +localedir = $(datadir)/locale +gettextsrcdir = $(datadir)/gettext/intl +aliaspath = $(localedir) +subdir = intl + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + +l = @INTL_LIBTOOL_SUFFIX_PREFIX@ + +AR = ar +CC = @CC@ +LIBTOOL = @LIBTOOL@ +RANLIB = @RANLIB@ +YACC = @INTLBISON@ -y -d +YFLAGS = --name-prefix=__gettext + +DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ +-DLIBDIR=\"$(libdir)\" -DIN_LIBINTL \ +-DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \ +-Dset_relocation_prefix=libintl_set_relocation_prefix \ +-Drelocate=libintl_relocate \ +-DDEPENDS_ON_LIBICONV=1 @DEFS@ +CPPFLAGS = @CPPFLAGS@ +CFLAGS = @CFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ + +COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) + +HEADERS = \ + gmo.h \ + gettextP.h \ + hash-string.h \ + loadinfo.h \ + plural-exp.h \ + eval-plural.h \ + localcharset.h \ + relocatable.h \ + xsize.h \ + printf-args.h printf-args.c \ + printf-parse.h wprintf-parse.h printf-parse.c \ + vasnprintf.h vasnwprintf.h vasnprintf.c \ + os2compat.h \ + libgnuintl.h.in +SOURCES = \ + bindtextdom.c \ + dcgettext.c \ + dgettext.c \ + gettext.c \ + finddomain.c \ + loadmsgcat.c \ + localealias.c \ + textdomain.c \ + l10nflist.c \ + explodename.c \ + dcigettext.c \ + dcngettext.c \ + dngettext.c \ + ngettext.c \ + plural.y \ + plural-exp.c \ + localcharset.c \ + relocatable.c \ + localename.c \ + log.c \ + printf.c \ + osdep.c \ + os2compat.c \ + intl-compat.c +OBJECTS = \ + bindtextdom.$lo \ + dcgettext.$lo \ + dgettext.$lo \ + gettext.$lo \ + finddomain.$lo \ + loadmsgcat.$lo \ + localealias.$lo \ + textdomain.$lo \ + l10nflist.$lo \ + explodename.$lo \ + dcigettext.$lo \ + dcngettext.$lo \ + dngettext.$lo \ + ngettext.$lo \ + plural.$lo \ + plural-exp.$lo \ + localcharset.$lo \ + relocatable.$lo \ + localename.$lo \ + log.$lo \ + printf.$lo \ + osdep.$lo \ + intl-compat.$lo +DISTFILES.common = Makefile.in \ +config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES) +DISTFILES.generated = plural.c +DISTFILES.normal = VERSION +DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc \ +libgnuintl.h_vms Makefile.vms \ +libgnuintl.h.msvc-static libgnuintl.h.msvc-shared README.woe32 Makefile.msvc +DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \ +COPYING.LIB-2 gettext.h libgettext.h plural-eval.c libgnuintl.h + +all: all-@USE_INCLUDED_LIBINTL@ +all-yes: libintl.$la libintl.h charset.alias ref-add.sed ref-del.sed +all-no: all-no-@BUILD_INCLUDED_LIBINTL@ +all-no-yes: libgnuintl.$la +all-no-no: + +libintl.a libgnuintl.a: $(OBJECTS) + rm -f $@ + $(AR) cru $@ $(OBJECTS) + $(RANLIB) $@ + +libintl.la libgnuintl.la: $(OBJECTS) + $(LIBTOOL) --mode=link \ + $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \ + $(OBJECTS) @LTLIBICONV@ $(LIBS) -lc \ + -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \ + -rpath $(libdir) \ + -no-undefined + +# Libtool's library version information for libintl. +# Before making a gettext release, the gettext maintainer must change this +# according to the libtool documentation, section "Library interface versions". +# Maintainers of other packages that include the intl directory must *not* +# change these values. +LTV_CURRENT=7 +LTV_REVISION=0 +LTV_AGE=4 + +.SUFFIXES: +.SUFFIXES: .c .y .o .lo .sin .sed + +.c.o: + $(COMPILE) $< + +.y.c: + $(YACC) $(YFLAGS) --output $@ $< + rm -f $*.h + +bindtextdom.lo: $(srcdir)/bindtextdom.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/bindtextdom.c +dcgettext.lo: $(srcdir)/dcgettext.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcgettext.c +dgettext.lo: $(srcdir)/dgettext.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dgettext.c +gettext.lo: $(srcdir)/gettext.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/gettext.c +finddomain.lo: $(srcdir)/finddomain.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/finddomain.c +loadmsgcat.lo: $(srcdir)/loadmsgcat.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/loadmsgcat.c +localealias.lo: $(srcdir)/localealias.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localealias.c +textdomain.lo: $(srcdir)/textdomain.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/textdomain.c +l10nflist.lo: $(srcdir)/l10nflist.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/l10nflist.c +explodename.lo: $(srcdir)/explodename.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/explodename.c +dcigettext.lo: $(srcdir)/dcigettext.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcigettext.c +dcngettext.lo: $(srcdir)/dcngettext.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dcngettext.c +dngettext.lo: $(srcdir)/dngettext.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/dngettext.c +ngettext.lo: $(srcdir)/ngettext.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/ngettext.c +plural.lo: $(srcdir)/plural.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural.c +plural-exp.lo: $(srcdir)/plural-exp.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/plural-exp.c +localcharset.lo: $(srcdir)/localcharset.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localcharset.c +relocatable.lo: $(srcdir)/relocatable.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/relocatable.c +localename.lo: $(srcdir)/localename.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/localename.c +log.lo: $(srcdir)/log.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/log.c +printf.lo: $(srcdir)/printf.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/printf.c +osdep.lo: $(srcdir)/osdep.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/osdep.c +intl-compat.lo: $(srcdir)/intl-compat.c + $(LIBTOOL) --mode=compile $(COMPILE) $(srcdir)/intl-compat.c + +ref-add.sed: $(srcdir)/ref-add.sin + sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-add.sin > t-ref-add.sed + mv t-ref-add.sed ref-add.sed +ref-del.sed: $(srcdir)/ref-del.sin + sed -e '/^#/d' -e 's/@''PACKAGE''@/@PACKAGE@/g' $(srcdir)/ref-del.sin > t-ref-del.sed + mv t-ref-del.sed ref-del.sed + +INCLUDES = -I. -I$(srcdir) -I.. + +libgnuintl.h: $(srcdir)/libgnuintl.h.in + sed -e 's,@''HAVE_POSIX_PRINTF''@,@HAVE_POSIX_PRINTF@,g' \ + -e 's,@''HAVE_ASPRINTF''@,@HAVE_ASPRINTF@,g' \ + -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \ + -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \ + < $(srcdir)/libgnuintl.h.in > libgnuintl.h + +libintl.h: libgnuintl.h + cp libgnuintl.h libintl.h + +charset.alias: $(srcdir)/config.charset + $(SHELL) $(srcdir)/config.charset '@host@' > t-$@ + mv t-$@ $@ + +check: all + +# We must not install the libintl.h/libintl.a files if we are on a +# system which has the GNU gettext() function in its C library or in a +# separate library. +# If you want to use the one which comes with this version of the +# package, you have to use `configure --with-included-gettext'. +install: install-exec install-data +install-exec: all + if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ + && test '@USE_INCLUDED_LIBINTL@' = yes; then \ + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \ + $(INSTALL_DATA) libintl.h $(DESTDIR)$(includedir)/libintl.h; \ + $(LIBTOOL) --mode=install \ + $(INSTALL_DATA) libintl.$la $(DESTDIR)$(libdir)/libintl.$la; \ + if test "@RELOCATABLE@" = yes; then \ + dependencies=`sed -n -e 's,^dependency_libs=\(.*\),\1,p' < $(DESTDIR)$(libdir)/libintl.la | sed -e "s,^',," -e "s,'\$$,,"`; \ + if test -n "$$dependencies"; then \ + rm -f $(DESTDIR)$(libdir)/libintl.la; \ + fi; \ + fi; \ + else \ + : ; \ + fi + if test "$(PACKAGE)" = "gettext-tools" \ + && test '@USE_INCLUDED_LIBINTL@' = no; then \ + $(mkinstalldirs) $(DESTDIR)$(libdir); \ + $(LIBTOOL) --mode=install \ + $(INSTALL_DATA) libgnuintl.$la $(DESTDIR)$(libdir)/libgnuintl.$la; \ + rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \ + $(INSTALL_DATA) $(DESTDIR)$(libdir)/libgnuintl.so $(DESTDIR)$(libdir)/preloadable_libintl.so; \ + $(LIBTOOL) --mode=uninstall \ + rm -f $(DESTDIR)$(libdir)/libgnuintl.$la; \ + else \ + : ; \ + fi + if test '@USE_INCLUDED_LIBINTL@' = yes; then \ + test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \ + temp=$(DESTDIR)$(libdir)/t-charset.alias; \ + dest=$(DESTDIR)$(libdir)/charset.alias; \ + if test -f $(DESTDIR)$(libdir)/charset.alias; then \ + orig=$(DESTDIR)$(libdir)/charset.alias; \ + sed -f ref-add.sed $$orig > $$temp; \ + $(INSTALL_DATA) $$temp $$dest; \ + rm -f $$temp; \ + else \ + if test @GLIBC21@ = no; then \ + orig=charset.alias; \ + sed -f ref-add.sed $$orig > $$temp; \ + $(INSTALL_DATA) $$temp $$dest; \ + rm -f $$temp; \ + fi; \ + fi; \ + $(mkinstalldirs) $(DESTDIR)$(localedir); \ + test -f $(DESTDIR)$(localedir)/locale.alias \ + && orig=$(DESTDIR)$(localedir)/locale.alias \ + || orig=$(srcdir)/locale.alias; \ + temp=$(DESTDIR)$(localedir)/t-locale.alias; \ + dest=$(DESTDIR)$(localedir)/locale.alias; \ + sed -f ref-add.sed $$orig > $$temp; \ + $(INSTALL_DATA) $$temp $$dest; \ + rm -f $$temp; \ + else \ + : ; \ + fi +install-data: all + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ + $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \ + $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \ + dists="COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common)"; \ + for file in $$dists; do \ + $(INSTALL_DATA) $(srcdir)/$$file \ + $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + chmod a+x $(DESTDIR)$(gettextsrcdir)/config.charset; \ + dists="$(DISTFILES.generated)"; \ + for file in $$dists; do \ + if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ + $(INSTALL_DATA) $$dir/$$file \ + $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + dists="$(DISTFILES.obsolete)"; \ + for file in $$dists; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi + +install-strip: install + +installdirs: + if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ + && test '@USE_INCLUDED_LIBINTL@' = yes; then \ + $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \ + else \ + : ; \ + fi + if test "$(PACKAGE)" = "gettext-tools" \ + && test '@USE_INCLUDED_LIBINTL@' = no; then \ + $(mkinstalldirs) $(DESTDIR)$(libdir); \ + else \ + : ; \ + fi + if test '@USE_INCLUDED_LIBINTL@' = yes; then \ + test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \ + $(mkinstalldirs) $(DESTDIR)$(localedir); \ + else \ + : ; \ + fi + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ + else \ + : ; \ + fi + +# Define this as empty until I found a useful application. +installcheck: + +uninstall: + if { test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; } \ + && test '@USE_INCLUDED_LIBINTL@' = yes; then \ + rm -f $(DESTDIR)$(includedir)/libintl.h; \ + $(LIBTOOL) --mode=uninstall \ + rm -f $(DESTDIR)$(libdir)/libintl.$la; \ + else \ + : ; \ + fi + if test "$(PACKAGE)" = "gettext-tools" \ + && test '@USE_INCLUDED_LIBINTL@' = no; then \ + rm -f $(DESTDIR)$(libdir)/preloadable_libintl.so; \ + else \ + : ; \ + fi + if test '@USE_INCLUDED_LIBINTL@' = yes; then \ + if test -f $(DESTDIR)$(libdir)/charset.alias; then \ + temp=$(DESTDIR)$(libdir)/t-charset.alias; \ + dest=$(DESTDIR)$(libdir)/charset.alias; \ + sed -f ref-del.sed $$dest > $$temp; \ + if grep '^# Packages using this file: $$' $$temp > /dev/null; then \ + rm -f $$dest; \ + else \ + $(INSTALL_DATA) $$temp $$dest; \ + fi; \ + rm -f $$temp; \ + fi; \ + if test -f $(DESTDIR)$(localedir)/locale.alias; then \ + temp=$(DESTDIR)$(localedir)/t-locale.alias; \ + dest=$(DESTDIR)$(localedir)/locale.alias; \ + sed -f ref-del.sed $$dest > $$temp; \ + if grep '^# Packages using this file: $$' $$temp > /dev/null; then \ + rm -f $$dest; \ + else \ + $(INSTALL_DATA) $$temp $$dest; \ + fi; \ + rm -f $$temp; \ + fi; \ + else \ + : ; \ + fi + if test "$(PACKAGE)" = "gettext-tools"; then \ + for file in VERSION ChangeLog COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi + +info dvi ps pdf html: + +$(OBJECTS): ../config.h libgnuintl.h +bindtextdom.$lo dcgettext.$lo dcigettext.$lo dcngettext.$lo dgettext.$lo dngettext.$lo finddomain.$lo gettext.$lo intl-compat.$lo loadmsgcat.$lo localealias.$lo ngettext.$lo textdomain.$lo: $(srcdir)/gettextP.h $(srcdir)/gmo.h $(srcdir)/loadinfo.h +dcigettext.$lo loadmsgcat.$lo: $(srcdir)/hash-string.h +explodename.$lo l10nflist.$lo: $(srcdir)/loadinfo.h +dcigettext.$lo loadmsgcat.$lo plural.$lo plural-exp.$lo: $(srcdir)/plural-exp.h +dcigettext.$lo: $(srcdir)/eval-plural.h +localcharset.$lo: $(srcdir)/localcharset.h +localealias.$lo localcharset.$lo relocatable.$lo: $(srcdir)/relocatable.h +printf.$lo: $(srcdir)/printf-args.h $(srcdir)/printf-args.c $(srcdir)/printf-parse.h $(srcdir)/wprintf-parse.h $(srcdir)/xsize.h $(srcdir)/printf-parse.c $(srcdir)/vasnprintf.h $(srcdir)/vasnwprintf.h $(srcdir)/vasnprintf.c + +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) + here=`pwd`; cd $(srcdir) && etags -o $$here/TAGS $(HEADERS) $(SOURCES) + +ctags: CTAGS + +CTAGS: $(HEADERS) $(SOURCES) + here=`pwd`; cd $(srcdir) && ctags -o $$here/CTAGS $(HEADERS) $(SOURCES) + +id: ID + +ID: $(HEADERS) $(SOURCES) + here=`pwd`; cd $(srcdir) && mkid -f$$here/ID $(HEADERS) $(SOURCES) + + +mostlyclean: + rm -f *.a *.la *.o *.obj *.lo core core.* + rm -f libgnuintl.h libintl.h charset.alias ref-add.sed ref-del.sed + rm -f -r .libs _libs + +clean: mostlyclean + +distclean: clean + rm -f Makefile ID TAGS + if test "$(PACKAGE)" = "gettext-runtime" || test "$(PACKAGE)" = "gettext-tools"; then \ + rm -f ChangeLog.inst $(DISTFILES.normal); \ + else \ + : ; \ + fi + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + + +# GNU gettext needs not contain the file `VERSION' but contains some +# other files which should not be distributed in other packages. +distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: Makefile + if test "$(PACKAGE)" = "gettext-tools"; then \ + : ; \ + else \ + if test "$(PACKAGE)" = "gettext-runtime"; then \ + additional="$(DISTFILES.gettext)"; \ + else \ + additional="$(DISTFILES.normal)"; \ + fi; \ + $(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \ + for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \ + if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ + cp -p $$dir/$$file $(distdir); \ + done; \ + fi + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status +# This would be more efficient, but doesn't work any more with autoconf-2.57, +# when AC_CONFIG_FILES([intl/Makefile:somedir/Makefile.in]) is used. +# cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/intl/VERSION b/intl/VERSION new file mode 100644 index 0000000..b4b846c --- /dev/null +++ b/intl/VERSION @@ -0,0 +1 @@ +GNU gettext library from gettext-0.14.1 diff --git a/intl/bindtextdom.c b/intl/bindtextdom.c new file mode 100644 index 0000000..dcdc400 --- /dev/null +++ b/intl/bindtextdom.c @@ -0,0 +1,363 @@ +/* Implementation of the bindtextdomain(3) function + Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include + +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif +#include "gettextP.h" + +#ifdef _LIBC +/* We have to handle multi-threaded applications. */ +# include +#else +/* Provide dummy implementation if this is outside glibc. */ +# define __libc_rwlock_define(CLASS, NAME) +# define __libc_rwlock_wrlock(NAME) +# define __libc_rwlock_unlock(NAME) +#endif + +/* The internal variables in the standalone libintl.a must have different + names than the internal variables in GNU libc, otherwise programs + using libintl.a cannot be linked statically. */ +#if !defined _LIBC +# define _nl_default_dirname libintl_nl_default_dirname +# define _nl_domain_bindings libintl_nl_domain_bindings +#endif + +/* Some compilers, like SunOS4 cc, don't have offsetof in . */ +#ifndef offsetof +# define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) +#endif + +/* @@ end of prolog @@ */ + +/* Contains the default location of the message catalogs. */ +extern const char _nl_default_dirname[]; +#ifdef _LIBC +extern const char _nl_default_dirname_internal[] attribute_hidden; +#else +# define INTUSE(name) name +#endif + +/* List with bindings of specific domains. */ +extern struct binding *_nl_domain_bindings; + +/* Lock variable to protect the global data in the gettext implementation. */ +__libc_rwlock_define (extern, _nl_state_lock attribute_hidden) + + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define BINDTEXTDOMAIN __bindtextdomain +# define BIND_TEXTDOMAIN_CODESET __bind_textdomain_codeset +# ifndef strdup +# define strdup(str) __strdup (str) +# endif +#else +# define BINDTEXTDOMAIN libintl_bindtextdomain +# define BIND_TEXTDOMAIN_CODESET libintl_bind_textdomain_codeset +#endif + +/* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP + to be used for the DOMAINNAME message catalog. + If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not + modified, only the current value is returned. + If DIRNAMEP or CODESETP is NULL, the corresponding attribute is neither + modified nor returned. */ +static void +set_binding_values (const char *domainname, + const char **dirnamep, const char **codesetp) +{ + struct binding *binding; + int modified; + + /* Some sanity checks. */ + if (domainname == NULL || domainname[0] == '\0') + { + if (dirnamep) + *dirnamep = NULL; + if (codesetp) + *codesetp = NULL; + return; + } + + __libc_rwlock_wrlock (_nl_state_lock); + + modified = 0; + + for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) + { + int compare = strcmp (domainname, binding->domainname); + if (compare == 0) + /* We found it! */ + break; + if (compare < 0) + { + /* It is not in the list. */ + binding = NULL; + break; + } + } + + if (binding != NULL) + { + if (dirnamep) + { + const char *dirname = *dirnamep; + + if (dirname == NULL) + /* The current binding has be to returned. */ + *dirnamep = binding->dirname; + else + { + /* The domain is already bound. If the new value and the old + one are equal we simply do nothing. Otherwise replace the + old binding. */ + char *result = binding->dirname; + if (strcmp (dirname, result) != 0) + { + if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) + result = (char *) INTUSE(_nl_default_dirname); + else + { +#if defined _LIBC || defined HAVE_STRDUP + result = strdup (dirname); +#else + size_t len = strlen (dirname) + 1; + result = (char *) malloc (len); + if (__builtin_expect (result != NULL, 1)) + memcpy (result, dirname, len); +#endif + } + + if (__builtin_expect (result != NULL, 1)) + { + if (binding->dirname != INTUSE(_nl_default_dirname)) + free (binding->dirname); + + binding->dirname = result; + modified = 1; + } + } + *dirnamep = result; + } + } + + if (codesetp) + { + const char *codeset = *codesetp; + + if (codeset == NULL) + /* The current binding has be to returned. */ + *codesetp = binding->codeset; + else + { + /* The domain is already bound. If the new value and the old + one are equal we simply do nothing. Otherwise replace the + old binding. */ + char *result = binding->codeset; + if (result == NULL || strcmp (codeset, result) != 0) + { +#if defined _LIBC || defined HAVE_STRDUP + result = strdup (codeset); +#else + size_t len = strlen (codeset) + 1; + result = (char *) malloc (len); + if (__builtin_expect (result != NULL, 1)) + memcpy (result, codeset, len); +#endif + + if (__builtin_expect (result != NULL, 1)) + { + if (binding->codeset != NULL) + free (binding->codeset); + + binding->codeset = result; + binding->codeset_cntr++; + modified = 1; + } + } + *codesetp = result; + } + } + } + else if ((dirnamep == NULL || *dirnamep == NULL) + && (codesetp == NULL || *codesetp == NULL)) + { + /* Simply return the default values. */ + if (dirnamep) + *dirnamep = INTUSE(_nl_default_dirname); + if (codesetp) + *codesetp = NULL; + } + else + { + /* We have to create a new binding. */ + size_t len = strlen (domainname) + 1; + struct binding *new_binding = + (struct binding *) malloc (offsetof (struct binding, domainname) + len); + + if (__builtin_expect (new_binding == NULL, 0)) + goto failed; + + memcpy (new_binding->domainname, domainname, len); + + if (dirnamep) + { + const char *dirname = *dirnamep; + + if (dirname == NULL) + /* The default value. */ + dirname = INTUSE(_nl_default_dirname); + else + { + if (strcmp (dirname, INTUSE(_nl_default_dirname)) == 0) + dirname = INTUSE(_nl_default_dirname); + else + { + char *result; +#if defined _LIBC || defined HAVE_STRDUP + result = strdup (dirname); + if (__builtin_expect (result == NULL, 0)) + goto failed_dirname; +#else + size_t len = strlen (dirname) + 1; + result = (char *) malloc (len); + if (__builtin_expect (result == NULL, 0)) + goto failed_dirname; + memcpy (result, dirname, len); +#endif + dirname = result; + } + } + *dirnamep = dirname; + new_binding->dirname = (char *) dirname; + } + else + /* The default value. */ + new_binding->dirname = (char *) INTUSE(_nl_default_dirname); + + new_binding->codeset_cntr = 0; + + if (codesetp) + { + const char *codeset = *codesetp; + + if (codeset != NULL) + { + char *result; + +#if defined _LIBC || defined HAVE_STRDUP + result = strdup (codeset); + if (__builtin_expect (result == NULL, 0)) + goto failed_codeset; +#else + size_t len = strlen (codeset) + 1; + result = (char *) malloc (len); + if (__builtin_expect (result == NULL, 0)) + goto failed_codeset; + memcpy (result, codeset, len); +#endif + codeset = result; + new_binding->codeset_cntr++; + } + *codesetp = codeset; + new_binding->codeset = (char *) codeset; + } + else + new_binding->codeset = NULL; + + /* Now enqueue it. */ + if (_nl_domain_bindings == NULL + || strcmp (domainname, _nl_domain_bindings->domainname) < 0) + { + new_binding->next = _nl_domain_bindings; + _nl_domain_bindings = new_binding; + } + else + { + binding = _nl_domain_bindings; + while (binding->next != NULL + && strcmp (domainname, binding->next->domainname) > 0) + binding = binding->next; + + new_binding->next = binding->next; + binding->next = new_binding; + } + + modified = 1; + + /* Here we deal with memory allocation failures. */ + if (0) + { + failed_codeset: + if (new_binding->dirname != INTUSE(_nl_default_dirname)) + free (new_binding->dirname); + failed_dirname: + free (new_binding); + failed: + if (dirnamep) + *dirnamep = NULL; + if (codesetp) + *codesetp = NULL; + } + } + + /* If we modified any binding, we flush the caches. */ + if (modified) + ++_nl_msg_cat_cntr; + + __libc_rwlock_unlock (_nl_state_lock); +} + +/* Specify that the DOMAINNAME message catalog will be found + in DIRNAME rather than in the system locale data base. */ +char * +BINDTEXTDOMAIN (const char *domainname, const char *dirname) +{ + set_binding_values (domainname, &dirname, NULL); + return (char *) dirname; +} + +/* Specify the character encoding in which the messages from the + DOMAINNAME message catalog will be returned. */ +char * +BIND_TEXTDOMAIN_CODESET (const char *domainname, const char *codeset) +{ + set_binding_values (domainname, NULL, &codeset); + return (char *) codeset; +} + +#ifdef _LIBC +/* Aliases for function names in GNU C Library. */ +weak_alias (__bindtextdomain, bindtextdomain); +weak_alias (__bind_textdomain_codeset, bind_textdomain_codeset); +#endif diff --git a/intl/config.charset b/intl/config.charset new file mode 100755 index 0000000..43d45fb --- /dev/null +++ b/intl/config.charset @@ -0,0 +1,608 @@ +#! /bin/sh +# Output a system dependent table of character encoding aliases. +# +# Copyright (C) 2000-2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program 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 +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# USA. +# +# The table consists of lines of the form +# ALIAS CANONICAL +# +# ALIAS is the (system dependent) result of "nl_langinfo (CODESET)". +# ALIAS is compared in a case sensitive way. +# +# CANONICAL is the GNU canonical name for this character encoding. +# It must be an encoding supported by libiconv. Support by GNU libc is +# also desirable. CANONICAL is case insensitive. Usually an upper case +# MIME charset name is preferred. +# The current list of GNU canonical charset names is as follows. +# +# name MIME? used by which systems +# ASCII, ANSI_X3.4-1968 glibc solaris freebsd darwin +# ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd darwin +# ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd darwin +# ISO-8859-3 Y glibc solaris +# ISO-8859-4 Y osf solaris freebsd darwin +# ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd darwin +# ISO-8859-6 Y glibc aix hpux solaris +# ISO-8859-7 Y glibc aix hpux irix osf solaris +# ISO-8859-8 Y glibc aix hpux osf solaris +# ISO-8859-9 Y glibc aix hpux irix osf solaris +# ISO-8859-13 glibc +# ISO-8859-14 glibc +# ISO-8859-15 glibc aix osf solaris freebsd +# KOI8-R Y glibc solaris freebsd darwin +# KOI8-U Y glibc freebsd darwin +# KOI8-T glibc +# CP437 dos +# CP775 dos +# CP850 aix osf dos +# CP852 dos +# CP855 dos +# CP856 aix +# CP857 dos +# CP861 dos +# CP862 dos +# CP864 dos +# CP865 dos +# CP866 freebsd darwin dos +# CP869 dos +# CP874 woe32 dos +# CP922 aix +# CP932 aix woe32 dos +# CP943 aix +# CP949 osf woe32 dos +# CP950 woe32 dos +# CP1046 aix +# CP1124 aix +# CP1125 dos +# CP1129 aix +# CP1250 woe32 +# CP1251 glibc solaris darwin woe32 +# CP1252 aix woe32 +# CP1253 woe32 +# CP1254 woe32 +# CP1255 glibc woe32 +# CP1256 woe32 +# CP1257 woe32 +# GB2312 Y glibc aix hpux irix solaris freebsd darwin +# EUC-JP Y glibc aix hpux irix osf solaris freebsd darwin +# EUC-KR Y glibc aix hpux irix osf solaris freebsd darwin +# EUC-TW glibc aix hpux irix osf solaris +# BIG5 Y glibc aix hpux osf solaris freebsd darwin +# BIG5-HKSCS glibc solaris +# GBK glibc aix osf solaris woe32 dos +# GB18030 glibc solaris +# SHIFT_JIS Y hpux osf solaris freebsd darwin +# JOHAB glibc solaris woe32 +# TIS-620 glibc aix hpux osf solaris +# VISCII Y glibc +# TCVN5712-1 glibc +# GEORGIAN-PS glibc +# HP-ROMAN8 hpux +# HP-ARABIC8 hpux +# HP-GREEK8 hpux +# HP-HEBREW8 hpux +# HP-TURKISH8 hpux +# HP-KANA8 hpux +# DEC-KANJI osf +# DEC-HANYU osf +# UTF-8 Y glibc aix hpux osf solaris +# +# Note: Names which are not marked as being a MIME name should not be used in +# Internet protocols for information interchange (mail, news, etc.). +# +# Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications +# must understand both names and treat them as equivalent. +# +# The first argument passed to this file is the canonical host specification, +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM + +host="$1" +os=`echo "$host" | sed -e 's/^[^-]*-[^-]*-\(.*\)$/\1/'` +echo "# This file contains a table of character encoding aliases," +echo "# suitable for operating system '${os}'." +echo "# It was automatically generated from config.charset." +# List of references, updated during installation: +echo "# Packages using this file: " +case "$os" in + linux-gnulibc1*) + # Linux libc5 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + echo "C ASCII" + echo "POSIX ASCII" + for l in af af_ZA ca ca_ES da da_DK de de_AT de_BE de_CH de_DE de_LU \ + en en_AU en_BW en_CA en_DK en_GB en_IE en_NZ en_US en_ZA \ + en_ZW es es_AR es_BO es_CL es_CO es_DO es_EC es_ES es_GT \ + es_HN es_MX es_PA es_PE es_PY es_SV es_US es_UY es_VE et \ + et_EE eu eu_ES fi fi_FI fo fo_FO fr fr_BE fr_CA fr_CH fr_FR \ + fr_LU ga ga_IE gl gl_ES id id_ID in in_ID is is_IS it it_CH \ + it_IT kl kl_GL nl nl_BE nl_NL no no_NO pt pt_BR pt_PT sv \ + sv_FI sv_SE; do + echo "$l ISO-8859-1" + echo "$l.iso-8859-1 ISO-8859-1" + echo "$l.iso-8859-15 ISO-8859-15" + echo "$l.iso-8859-15@euro ISO-8859-15" + echo "$l@euro ISO-8859-15" + echo "$l.cp-437 CP437" + echo "$l.cp-850 CP850" + echo "$l.cp-1252 CP1252" + echo "$l.cp-1252@euro CP1252" + #echo "$l.atari-st ATARI-ST" # not a commonly used encoding + echo "$l.utf-8 UTF-8" + echo "$l.utf-8@euro UTF-8" + done + for l in cs cs_CZ hr hr_HR hu hu_HU pl pl_PL ro ro_RO sk sk_SK sl \ + sl_SI sr sr_CS sr_YU; do + echo "$l ISO-8859-2" + echo "$l.iso-8859-2 ISO-8859-2" + echo "$l.cp-852 CP852" + echo "$l.cp-1250 CP1250" + echo "$l.utf-8 UTF-8" + done + for l in mk mk_MK ru ru_RU; do + echo "$l ISO-8859-5" + echo "$l.iso-8859-5 ISO-8859-5" + echo "$l.koi8-r KOI8-R" + echo "$l.cp-866 CP866" + echo "$l.cp-1251 CP1251" + echo "$l.utf-8 UTF-8" + done + for l in ar ar_SA; do + echo "$l ISO-8859-6" + echo "$l.iso-8859-6 ISO-8859-6" + echo "$l.cp-864 CP864" + #echo "$l.cp-868 CP868" # not a commonly used encoding + echo "$l.cp-1256 CP1256" + echo "$l.utf-8 UTF-8" + done + for l in el el_GR gr gr_GR; do + echo "$l ISO-8859-7" + echo "$l.iso-8859-7 ISO-8859-7" + echo "$l.cp-869 CP869" + echo "$l.cp-1253 CP1253" + echo "$l.cp-1253@euro CP1253" + echo "$l.utf-8 UTF-8" + echo "$l.utf-8@euro UTF-8" + done + for l in he he_IL iw iw_IL; do + echo "$l ISO-8859-8" + echo "$l.iso-8859-8 ISO-8859-8" + echo "$l.cp-862 CP862" + echo "$l.cp-1255 CP1255" + echo "$l.utf-8 UTF-8" + done + for l in tr tr_TR; do + echo "$l ISO-8859-9" + echo "$l.iso-8859-9 ISO-8859-9" + echo "$l.cp-857 CP857" + echo "$l.cp-1254 CP1254" + echo "$l.utf-8 UTF-8" + done + for l in lt lt_LT lv lv_LV; do + #echo "$l BALTIC" # not a commonly used encoding, wrong encoding name + echo "$l ISO-8859-13" + done + for l in ru_UA uk uk_UA; do + echo "$l KOI8-U" + done + for l in zh zh_CN; do + #echo "$l GB_2312-80" # not a commonly used encoding, wrong encoding name + echo "$l GB2312" + done + for l in ja ja_JP ja_JP.EUC; do + echo "$l EUC-JP" + done + for l in ko ko_KR; do + echo "$l EUC-KR" + done + for l in th th_TH; do + echo "$l TIS-620" + done + for l in fa fa_IR; do + #echo "$l ISIRI-3342" # a broken encoding + echo "$l.utf-8 UTF-8" + done + ;; + linux* | *-gnu*) + # With glibc-2.1 or newer, we don't need any canonicalization, + # because glibc has iconv and both glibc and libiconv support all + # GNU canonical names directly. Therefore, the Makefile does not + # need to install the alias file at all. + # The following applies only to glibc-2.0.x and older libcs. + echo "ISO_646.IRV:1983 ASCII" + ;; + aix*) + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-6 ISO-8859-6" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-8 ISO-8859-8" + echo "ISO8859-9 ISO-8859-9" + echo "ISO8859-15 ISO-8859-15" + echo "IBM-850 CP850" + echo "IBM-856 CP856" + echo "IBM-921 ISO-8859-13" + echo "IBM-922 CP922" + echo "IBM-932 CP932" + echo "IBM-943 CP943" + echo "IBM-1046 CP1046" + echo "IBM-1124 CP1124" + echo "IBM-1129 CP1129" + echo "IBM-1252 CP1252" + echo "IBM-eucCN GB2312" + echo "IBM-eucJP EUC-JP" + echo "IBM-eucKR EUC-KR" + echo "IBM-eucTW EUC-TW" + echo "big5 BIG5" + echo "GBK GBK" + echo "TIS-620 TIS-620" + echo "UTF-8 UTF-8" + ;; + hpux*) + echo "iso88591 ISO-8859-1" + echo "iso88592 ISO-8859-2" + echo "iso88595 ISO-8859-5" + echo "iso88596 ISO-8859-6" + echo "iso88597 ISO-8859-7" + echo "iso88598 ISO-8859-8" + echo "iso88599 ISO-8859-9" + echo "iso885915 ISO-8859-15" + echo "roman8 HP-ROMAN8" + echo "arabic8 HP-ARABIC8" + echo "greek8 HP-GREEK8" + echo "hebrew8 HP-HEBREW8" + echo "turkish8 HP-TURKISH8" + echo "kana8 HP-KANA8" + echo "tis620 TIS-620" + echo "big5 BIG5" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + echo "hp15CN GB2312" + #echo "ccdc ?" # what is this? + echo "SJIS SHIFT_JIS" + echo "utf8 UTF-8" + ;; + irix*) + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-9 ISO-8859-9" + echo "eucCN GB2312" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + ;; + osf*) + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-8 ISO-8859-8" + echo "ISO8859-9 ISO-8859-9" + echo "ISO8859-15 ISO-8859-15" + echo "cp850 CP850" + echo "big5 BIG5" + echo "dechanyu DEC-HANYU" + echo "dechanzi GB2312" + echo "deckanji DEC-KANJI" + echo "deckorean EUC-KR" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + echo "GBK GBK" + echo "KSC5601 CP949" + echo "sdeckanji EUC-JP" + echo "SJIS SHIFT_JIS" + echo "TACTIS TIS-620" + echo "UTF-8 UTF-8" + ;; + solaris*) + echo "646 ASCII" + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-3 ISO-8859-3" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-6 ISO-8859-6" + echo "ISO8859-7 ISO-8859-7" + echo "ISO8859-8 ISO-8859-8" + echo "ISO8859-9 ISO-8859-9" + echo "ISO8859-15 ISO-8859-15" + echo "koi8-r KOI8-R" + echo "ansi-1251 CP1251" + echo "BIG5 BIG5" + echo "Big5-HKSCS BIG5-HKSCS" + echo "gb2312 GB2312" + echo "GBK GBK" + echo "GB18030 GB18030" + echo "cns11643 EUC-TW" + echo "5601 EUC-KR" + echo "ko_KR.johap92 JOHAB" + echo "eucJP EUC-JP" + echo "PCK SHIFT_JIS" + echo "TIS620.2533 TIS-620" + #echo "sun_eu_greek ?" # what is this? + echo "UTF-8 UTF-8" + ;; + freebsd* | os2*) + # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + # Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just + # reuse FreeBSD's locale data for OS/2. + echo "C ASCII" + echo "US-ASCII ASCII" + for l in la_LN lt_LN; do + echo "$l.ASCII ASCII" + done + for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ + fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT la_LN \ + lt_LN nl_BE nl_NL no_NO pt_PT sv_SE; do + echo "$l.ISO_8859-1 ISO-8859-1" + echo "$l.DIS_8859-15 ISO-8859-15" + done + for l in cs_CZ hr_HR hu_HU la_LN lt_LN pl_PL sl_SI; do + echo "$l.ISO_8859-2 ISO-8859-2" + done + for l in la_LN lt_LT; do + echo "$l.ISO_8859-4 ISO-8859-4" + done + for l in ru_RU ru_SU; do + echo "$l.KOI8-R KOI8-R" + echo "$l.ISO_8859-5 ISO-8859-5" + echo "$l.CP866 CP866" + done + echo "uk_UA.KOI8-U KOI8-U" + echo "zh_TW.BIG5 BIG5" + echo "zh_TW.Big5 BIG5" + echo "zh_CN.EUC GB2312" + echo "ja_JP.EUC EUC-JP" + echo "ja_JP.SJIS SHIFT_JIS" + echo "ja_JP.Shift_JIS SHIFT_JIS" + echo "ko_KR.EUC EUC-KR" + ;; + netbsd*) + echo "646 ASCII" + echo "ISO8859-1 ISO-8859-1" + echo "ISO8859-2 ISO-8859-2" + echo "ISO8859-4 ISO-8859-4" + echo "ISO8859-5 ISO-8859-5" + echo "ISO8859-15 ISO-8859-15" + echo "eucCN GB2312" + echo "eucJP EUC-JP" + echo "eucKR EUC-KR" + echo "eucTW EUC-TW" + echo "BIG5 BIG5" + echo "SJIS SHIFT_JIS" + ;; + darwin*) + # Darwin 6.8 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + echo "C ASCII" + for l in en_AU en_CA en_GB en_US la_LN; do + echo "$l.US-ASCII ASCII" + done + for l in da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES \ + fi_FI fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE \ + nl_NL no_NO pt_PT sv_SE; do + echo "$l ISO-8859-1" + echo "$l.ISO8859-1 ISO-8859-1" + echo "$l.ISO8859-15 ISO-8859-15" + done + for l in la_LN; do + echo "$l.ISO8859-1 ISO-8859-1" + echo "$l.ISO8859-15 ISO-8859-15" + done + for l in cs_CZ hr_HR hu_HU la_LN pl_PL sl_SI; do + echo "$l.ISO8859-2 ISO-8859-2" + done + for l in la_LN lt_LT; do + echo "$l.ISO8859-4 ISO-8859-4" + done + for l in ru_RU; do + echo "$l.KOI8-R KOI8-R" + echo "$l.ISO8859-5 ISO-8859-5" + echo "$l.CP866 CP866" + done + for l in bg_BG; do + echo "$l.CP1251 CP1251" + done + echo "uk_UA.KOI8-U KOI8-U" + echo "zh_TW.BIG5 BIG5" + echo "zh_TW.Big5 BIG5" + echo "zh_CN.EUC GB2312" + echo "ja_JP.EUC EUC-JP" + echo "ja_JP.SJIS SHIFT_JIS" + echo "ko_KR.EUC EUC-KR" + ;; + beos*) + # BeOS has a single locale, and it has UTF-8 encoding. + echo "* UTF-8" + ;; + msdosdjgpp*) + # DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore + # localcharset.c falls back to using the full locale name + # from the environment variables. + echo "#" + echo "# The encodings given here may not all be correct." + echo "# If you find that the encoding given for your language and" + echo "# country is not the one your DOS machine actually uses, just" + echo "# correct it in this file, and send a mail to" + echo "# Juan Manuel Guerrero " + echo "# and Bruno Haible ." + echo "#" + echo "C ASCII" + # ISO-8859-1 languages + echo "ca CP850" + echo "ca_ES CP850" + echo "da CP865" # not CP850 ?? + echo "da_DK CP865" # not CP850 ?? + echo "de CP850" + echo "de_AT CP850" + echo "de_CH CP850" + echo "de_DE CP850" + echo "en CP850" + echo "en_AU CP850" # not CP437 ?? + echo "en_CA CP850" + echo "en_GB CP850" + echo "en_NZ CP437" + echo "en_US CP437" + echo "en_ZA CP850" # not CP437 ?? + echo "es CP850" + echo "es_AR CP850" + echo "es_BO CP850" + echo "es_CL CP850" + echo "es_CO CP850" + echo "es_CR CP850" + echo "es_CU CP850" + echo "es_DO CP850" + echo "es_EC CP850" + echo "es_ES CP850" + echo "es_GT CP850" + echo "es_HN CP850" + echo "es_MX CP850" + echo "es_NI CP850" + echo "es_PA CP850" + echo "es_PY CP850" + echo "es_PE CP850" + echo "es_SV CP850" + echo "es_UY CP850" + echo "es_VE CP850" + echo "et CP850" + echo "et_EE CP850" + echo "eu CP850" + echo "eu_ES CP850" + echo "fi CP850" + echo "fi_FI CP850" + echo "fr CP850" + echo "fr_BE CP850" + echo "fr_CA CP850" + echo "fr_CH CP850" + echo "fr_FR CP850" + echo "ga CP850" + echo "ga_IE CP850" + echo "gd CP850" + echo "gd_GB CP850" + echo "gl CP850" + echo "gl_ES CP850" + echo "id CP850" # not CP437 ?? + echo "id_ID CP850" # not CP437 ?? + echo "is CP861" # not CP850 ?? + echo "is_IS CP861" # not CP850 ?? + echo "it CP850" + echo "it_CH CP850" + echo "it_IT CP850" + echo "lt CP775" + echo "lt_LT CP775" + echo "lv CP775" + echo "lv_LV CP775" + echo "nb CP865" # not CP850 ?? + echo "nb_NO CP865" # not CP850 ?? + echo "nl CP850" + echo "nl_BE CP850" + echo "nl_NL CP850" + echo "nn CP865" # not CP850 ?? + echo "nn_NO CP865" # not CP850 ?? + echo "no CP865" # not CP850 ?? + echo "no_NO CP865" # not CP850 ?? + echo "pt CP850" + echo "pt_BR CP850" + echo "pt_PT CP850" + echo "sv CP850" + echo "sv_SE CP850" + # ISO-8859-2 languages + echo "cs CP852" + echo "cs_CZ CP852" + echo "hr CP852" + echo "hr_HR CP852" + echo "hu CP852" + echo "hu_HU CP852" + echo "pl CP852" + echo "pl_PL CP852" + echo "ro CP852" + echo "ro_RO CP852" + echo "sk CP852" + echo "sk_SK CP852" + echo "sl CP852" + echo "sl_SI CP852" + echo "sq CP852" + echo "sq_AL CP852" + echo "sr CP852" # CP852 or CP866 or CP855 ?? + echo "sr_CS CP852" # CP852 or CP866 or CP855 ?? + echo "sr_YU CP852" # CP852 or CP866 or CP855 ?? + # ISO-8859-3 languages + echo "mt CP850" + echo "mt_MT CP850" + # ISO-8859-5 languages + echo "be CP866" + echo "be_BE CP866" + echo "bg CP866" # not CP855 ?? + echo "bg_BG CP866" # not CP855 ?? + echo "mk CP866" # not CP855 ?? + echo "mk_MK CP866" # not CP855 ?? + echo "ru CP866" + echo "ru_RU CP866" + echo "uk CP1125" + echo "uk_UA CP1125" + # ISO-8859-6 languages + echo "ar CP864" + echo "ar_AE CP864" + echo "ar_DZ CP864" + echo "ar_EG CP864" + echo "ar_IQ CP864" + echo "ar_IR CP864" + echo "ar_JO CP864" + echo "ar_KW CP864" + echo "ar_MA CP864" + echo "ar_OM CP864" + echo "ar_QA CP864" + echo "ar_SA CP864" + echo "ar_SY CP864" + # ISO-8859-7 languages + echo "el CP869" + echo "el_GR CP869" + # ISO-8859-8 languages + echo "he CP862" + echo "he_IL CP862" + # ISO-8859-9 languages + echo "tr CP857" + echo "tr_TR CP857" + # Japanese + echo "ja CP932" + echo "ja_JP CP932" + # Chinese + echo "zh_CN GBK" + echo "zh_TW CP950" # not CP938 ?? + # Korean + echo "kr CP949" # not CP934 ?? + echo "kr_KR CP949" # not CP934 ?? + # Thai + echo "th CP874" + echo "th_TH CP874" + # Other + echo "eo CP850" + echo "eo_EO CP850" + ;; +esac diff --git a/intl/dcgettext.c b/intl/dcgettext.c new file mode 100644 index 0000000..850acde --- /dev/null +++ b/intl/dcgettext.c @@ -0,0 +1,56 @@ +/* Implementation of the dcgettext(3) function. + Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "gettextP.h" +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif + +/* @@ end of prolog @@ */ + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define DCGETTEXT __dcgettext +# define DCIGETTEXT __dcigettext +#else +# define DCGETTEXT libintl_dcgettext +# define DCIGETTEXT libintl_dcigettext +#endif + +/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY + locale. */ +char * +DCGETTEXT (const char *domainname, const char *msgid, int category) +{ + return DCIGETTEXT (domainname, msgid, NULL, 0, 0, category); +} + +#ifdef _LIBC +/* Alias for function name in GNU C Library. */ +INTDEF(__dcgettext) +weak_alias (__dcgettext, dcgettext); +#endif diff --git a/intl/dcigettext.c b/intl/dcigettext.c new file mode 100644 index 0000000..4eba457 --- /dev/null +++ b/intl/dcigettext.c @@ -0,0 +1,1206 @@ +/* Implementation of the internal dcigettext function. + Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Tell glibc's to provide a prototype for mempcpy(). + This must come before because may include + , and once has been included, it's too late. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +#ifdef __GNUC__ +# define alloca __builtin_alloca +# define HAVE_ALLOCA 1 +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if defined HAVE_ALLOCA_H || defined _LIBC +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +#include +#ifndef errno +extern int errno; +#endif +#ifndef __set_errno +# define __set_errno(val) errno = (val) +#endif + +#include +#include +#include + +#if defined HAVE_UNISTD_H || defined _LIBC +# include +#endif + +#include +#include + +#if defined HAVE_SYS_PARAM_H || defined _LIBC +# include +#endif + +#include "gettextP.h" +#include "plural-exp.h" +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif +#include "hash-string.h" + +/* Thread safetyness. */ +#ifdef _LIBC +# include +#else +/* Provide dummy implementation if this is outside glibc. */ +# define __libc_lock_define_initialized(CLASS, NAME) +# define __libc_lock_lock(NAME) +# define __libc_lock_unlock(NAME) +# define __libc_rwlock_define_initialized(CLASS, NAME) +# define __libc_rwlock_rdlock(NAME) +# define __libc_rwlock_unlock(NAME) +#endif + +/* Alignment of types. */ +#if defined __GNUC__ && __GNUC__ >= 2 +# define alignof(TYPE) __alignof__ (TYPE) +#else +# define alignof(TYPE) \ + ((int) &((struct { char dummy1; TYPE dummy2; } *) 0)->dummy2) +#endif + +/* The internal variables in the standalone libintl.a must have different + names than the internal variables in GNU libc, otherwise programs + using libintl.a cannot be linked statically. */ +#if !defined _LIBC +# define _nl_default_default_domain libintl_nl_default_default_domain +# define _nl_current_default_domain libintl_nl_current_default_domain +# define _nl_default_dirname libintl_nl_default_dirname +# define _nl_domain_bindings libintl_nl_domain_bindings +#endif + +/* Some compilers, like SunOS4 cc, don't have offsetof in . */ +#ifndef offsetof +# define offsetof(type,ident) ((size_t)&(((type*)0)->ident)) +#endif + +/* @@ end of prolog @@ */ + +#ifdef _LIBC +/* Rename the non ANSI C functions. This is required by the standard + because some ANSI C functions will require linking with this object + file and the name space must not be polluted. */ +# define getcwd __getcwd +# ifndef stpcpy +# define stpcpy __stpcpy +# endif +# define tfind __tfind +#else +# if !defined HAVE_GETCWD +char *getwd (); +# define getcwd(buf, max) getwd (buf) +# else +# if VMS +# define getcwd(buf, max) (getcwd) (buf, max, 0) +# else +char *getcwd (); +# endif +# endif +# ifndef HAVE_STPCPY +static char *stpcpy (char *dest, const char *src); +# endif +# ifndef HAVE_MEMPCPY +static void *mempcpy (void *dest, const void *src, size_t n); +# endif +#endif + +/* Amount to increase buffer size by in each try. */ +#define PATH_INCR 32 + +/* The following is from pathmax.h. */ +/* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define + PATH_MAX but might cause redefinition warnings when sys/param.h is + later included (as on MORE/BSD 4.3). */ +#if defined _POSIX_VERSION || (defined HAVE_LIMITS_H && !defined __GNUC__) +# include +#endif + +#ifndef _POSIX_PATH_MAX +# define _POSIX_PATH_MAX 255 +#endif + +#if !defined PATH_MAX && defined _PC_PATH_MAX +# define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX)) +#endif + +/* Don't include sys/param.h if it already has been. */ +#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN +# include +#endif + +#if !defined PATH_MAX && defined MAXPATHLEN +# define PATH_MAX MAXPATHLEN +#endif + +#ifndef PATH_MAX +# define PATH_MAX _POSIX_PATH_MAX +#endif + +/* Pathname support. + ISSLASH(C) tests whether C is a directory separator character. + IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, + it may be concatenated to a directory pathname. + IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. + */ +#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ + /* Win32, OS/2, DOS */ +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +# define HAS_DEVICE(P) \ + ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ + && (P)[1] == ':') +# define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) +# define IS_PATH_WITH_DIR(P) \ + (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) +#else + /* Unix */ +# define ISSLASH(C) ((C) == '/') +# define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) +# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) +#endif + +/* This is the type used for the search tree where known translations + are stored. */ +struct known_translation_t +{ + /* Domain in which to search. */ + char *domainname; + + /* The category. */ + int category; + + /* State of the catalog counter at the point the string was found. */ + int counter; + + /* Catalog where the string was found. */ + struct loaded_l10nfile *domain; + + /* And finally the translation. */ + const char *translation; + size_t translation_length; + + /* Pointer to the string in question. */ + char msgid[ZERO]; +}; + +/* Root of the search tree with known translations. We can use this + only if the system provides the `tsearch' function family. */ +#if defined HAVE_TSEARCH || defined _LIBC +# include + +static void *root; + +# ifdef _LIBC +# define tsearch __tsearch +# endif + +/* Function to compare two entries in the table of known translations. */ +static int +transcmp (const void *p1, const void *p2) +{ + const struct known_translation_t *s1; + const struct known_translation_t *s2; + int result; + + s1 = (const struct known_translation_t *) p1; + s2 = (const struct known_translation_t *) p2; + + result = strcmp (s1->msgid, s2->msgid); + if (result == 0) + { + result = strcmp (s1->domainname, s2->domainname); + if (result == 0) + /* We compare the category last (though this is the cheapest + operation) since it is hopefully always the same (namely + LC_MESSAGES). */ + result = s1->category - s2->category; + } + + return result; +} +#endif + +#ifndef INTVARDEF +# define INTVARDEF(name) +#endif +#ifndef INTUSE +# define INTUSE(name) name +#endif + +/* Name of the default domain used for gettext(3) prior any call to + textdomain(3). The default value for this is "messages". */ +const char _nl_default_default_domain[] attribute_hidden = "messages"; + +/* Value used as the default domain for gettext(3). */ +const char *_nl_current_default_domain attribute_hidden + = _nl_default_default_domain; + +/* Contains the default location of the message catalogs. */ +#if defined __EMX__ +extern const char _nl_default_dirname[]; +#else +const char _nl_default_dirname[] = LOCALEDIR; +INTVARDEF (_nl_default_dirname) +#endif + +/* List with bindings of specific domains created by bindtextdomain() + calls. */ +struct binding *_nl_domain_bindings; + +/* Prototypes for local functions. */ +static char *plural_lookup (struct loaded_l10nfile *domain, + unsigned long int n, + const char *translation, size_t translation_len) + internal_function; +static const char *guess_category_value (int category, + const char *categoryname) + internal_function; +#ifdef _LIBC +# include "../locale/localeinfo.h" +# define category_to_name(category) _nl_category_names[category] +#else +static const char *category_to_name (int category) internal_function; +#endif + + +/* For those loosing systems which don't have `alloca' we have to add + some additional code emulating it. */ +#ifdef HAVE_ALLOCA +/* Nothing has to be done. */ +# define freea(p) /* nothing */ +# define ADD_BLOCK(list, address) /* nothing */ +# define FREE_BLOCKS(list) /* nothing */ +#else +struct block_list +{ + void *address; + struct block_list *next; +}; +# define ADD_BLOCK(list, addr) \ + do { \ + struct block_list *newp = (struct block_list *) malloc (sizeof (*newp)); \ + /* If we cannot get a free block we cannot add the new element to \ + the list. */ \ + if (newp != NULL) { \ + newp->address = (addr); \ + newp->next = (list); \ + (list) = newp; \ + } \ + } while (0) +# define FREE_BLOCKS(list) \ + do { \ + while (list != NULL) { \ + struct block_list *old = list; \ + list = list->next; \ + free (old->address); \ + free (old); \ + } \ + } while (0) +# undef alloca +# define alloca(size) (malloc (size)) +# define freea(p) free (p) +#endif /* have alloca */ + + +#ifdef _LIBC +/* List of blocks allocated for translations. */ +typedef struct transmem_list +{ + struct transmem_list *next; + char data[ZERO]; +} transmem_block_t; +static struct transmem_list *transmem_list; +#else +typedef unsigned char transmem_block_t; +#endif + + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define DCIGETTEXT __dcigettext +#else +# define DCIGETTEXT libintl_dcigettext +#endif + +/* Lock variable to protect the global data in the gettext implementation. */ +#ifdef _LIBC +__libc_rwlock_define_initialized (, _nl_state_lock attribute_hidden) +#endif + +/* Checking whether the binaries runs SUID must be done and glibc provides + easier methods therefore we make a difference here. */ +#ifdef _LIBC +# define ENABLE_SECURE __libc_enable_secure +# define DETERMINE_SECURE +#else +# ifndef HAVE_GETUID +# define getuid() 0 +# endif +# ifndef HAVE_GETGID +# define getgid() 0 +# endif +# ifndef HAVE_GETEUID +# define geteuid() getuid() +# endif +# ifndef HAVE_GETEGID +# define getegid() getgid() +# endif +static int enable_secure; +# define ENABLE_SECURE (enable_secure == 1) +# define DETERMINE_SECURE \ + if (enable_secure == 0) \ + { \ + if (getuid () != geteuid () || getgid () != getegid ()) \ + enable_secure = 1; \ + else \ + enable_secure = -1; \ + } +#endif + +/* Get the function to evaluate the plural expression. */ +#include "eval-plural.h" + +/* Look up MSGID in the DOMAINNAME message catalog for the current + CATEGORY locale and, if PLURAL is nonzero, search over string + depending on the plural form determined by N. */ +char * +DCIGETTEXT (const char *domainname, const char *msgid1, const char *msgid2, + int plural, unsigned long int n, int category) +{ +#ifndef HAVE_ALLOCA + struct block_list *block_list = NULL; +#endif + struct loaded_l10nfile *domain; + struct binding *binding; + const char *categoryname; + const char *categoryvalue; + char *dirname, *xdomainname; + char *single_locale; + char *retval; + size_t retlen; + int saved_errno; +#if defined HAVE_TSEARCH || defined _LIBC + struct known_translation_t *search; + struct known_translation_t **foundp = NULL; + size_t msgid_len; +#endif + size_t domainname_len; + + /* If no real MSGID is given return NULL. */ + if (msgid1 == NULL) + return NULL; + +#ifdef _LIBC + if (category < 0 || category >= __LC_LAST || category == LC_ALL) + /* Bogus. */ + return (plural == 0 + ? (char *) msgid1 + /* Use the Germanic plural rule. */ + : n == 1 ? (char *) msgid1 : (char *) msgid2); +#endif + + __libc_rwlock_rdlock (_nl_state_lock); + + /* If DOMAINNAME is NULL, we are interested in the default domain. If + CATEGORY is not LC_MESSAGES this might not make much sense but the + definition left this undefined. */ + if (domainname == NULL) + domainname = _nl_current_default_domain; + + /* OS/2 specific: backward compatibility with older libintl versions */ +#ifdef LC_MESSAGES_COMPAT + if (category == LC_MESSAGES_COMPAT) + category = LC_MESSAGES; +#endif + +#if defined HAVE_TSEARCH || defined _LIBC + msgid_len = strlen (msgid1) + 1; + + /* Try to find the translation among those which we found at + some time. */ + search = (struct known_translation_t *) + alloca (offsetof (struct known_translation_t, msgid) + msgid_len); + memcpy (search->msgid, msgid1, msgid_len); + search->domainname = (char *) domainname; + search->category = category; + + foundp = (struct known_translation_t **) tfind (search, &root, transcmp); + freea (search); + if (foundp != NULL && (*foundp)->counter == _nl_msg_cat_cntr) + { + /* Now deal with plural. */ + if (plural) + retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation, + (*foundp)->translation_length); + else + retval = (char *) (*foundp)->translation; + + __libc_rwlock_unlock (_nl_state_lock); + return retval; + } +#endif + + /* Preserve the `errno' value. */ + saved_errno = errno; + + /* See whether this is a SUID binary or not. */ + DETERMINE_SECURE; + + /* First find matching binding. */ + for (binding = _nl_domain_bindings; binding != NULL; binding = binding->next) + { + int compare = strcmp (domainname, binding->domainname); + if (compare == 0) + /* We found it! */ + break; + if (compare < 0) + { + /* It is not in the list. */ + binding = NULL; + break; + } + } + + if (binding == NULL) + dirname = (char *) INTUSE(_nl_default_dirname); + else if (IS_ABSOLUTE_PATH (binding->dirname)) + dirname = binding->dirname; + else + { + /* We have a relative path. Make it absolute now. */ + size_t dirname_len = strlen (binding->dirname) + 1; + size_t path_max; + char *ret; + + path_max = (unsigned int) PATH_MAX; + path_max += 2; /* The getcwd docs say to do this. */ + + for (;;) + { + dirname = (char *) alloca (path_max + dirname_len); + ADD_BLOCK (block_list, dirname); + + __set_errno (0); + ret = getcwd (dirname, path_max); + if (ret != NULL || errno != ERANGE) + break; + + path_max += path_max / 2; + path_max += PATH_INCR; + } + + if (ret == NULL) + /* We cannot get the current working directory. Don't signal an + error but simply return the default string. */ + goto return_untranslated; + + stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); + } + + /* Now determine the symbolic name of CATEGORY and its value. */ + categoryname = category_to_name (category); + categoryvalue = guess_category_value (category, categoryname); + + domainname_len = strlen (domainname); + xdomainname = (char *) alloca (strlen (categoryname) + + domainname_len + 5); + ADD_BLOCK (block_list, xdomainname); + + stpcpy (mempcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), + domainname, domainname_len), + ".mo"); + + /* Creating working area. */ + single_locale = (char *) alloca (strlen (categoryvalue) + 1); + ADD_BLOCK (block_list, single_locale); + + + /* Search for the given string. This is a loop because we perhaps + got an ordered list of languages to consider for the translation. */ + while (1) + { + /* Make CATEGORYVALUE point to the next element of the list. */ + while (categoryvalue[0] != '\0' && categoryvalue[0] == ':') + ++categoryvalue; + if (categoryvalue[0] == '\0') + { + /* The whole contents of CATEGORYVALUE has been searched but + no valid entry has been found. We solve this situation + by implicitly appending a "C" entry, i.e. no translation + will take place. */ + single_locale[0] = 'C'; + single_locale[1] = '\0'; + } + else + { + char *cp = single_locale; + while (categoryvalue[0] != '\0' && categoryvalue[0] != ':') + *cp++ = *categoryvalue++; + *cp = '\0'; + + /* When this is a SUID binary we must not allow accessing files + outside the dedicated directories. */ + if (ENABLE_SECURE && IS_PATH_WITH_DIR (single_locale)) + /* Ingore this entry. */ + continue; + } + + /* If the current locale value is C (or POSIX) we don't load a + domain. Return the MSGID. */ + if (strcmp (single_locale, "C") == 0 + || strcmp (single_locale, "POSIX") == 0) + break; + + /* Find structure describing the message catalog matching the + DOMAINNAME and CATEGORY. */ + domain = _nl_find_domain (dirname, single_locale, xdomainname, binding); + + if (domain != NULL) + { + retval = _nl_find_msg (domain, binding, msgid1, &retlen); + + if (retval == NULL) + { + int cnt; + + for (cnt = 0; domain->successor[cnt] != NULL; ++cnt) + { + retval = _nl_find_msg (domain->successor[cnt], binding, + msgid1, &retlen); + + if (retval != NULL) + { + domain = domain->successor[cnt]; + break; + } + } + } + + if (retval != NULL) + { + /* Found the translation of MSGID1 in domain DOMAIN: + starting at RETVAL, RETLEN bytes. */ + FREE_BLOCKS (block_list); +#if defined HAVE_TSEARCH || defined _LIBC + if (foundp == NULL) + { + /* Create a new entry and add it to the search tree. */ + struct known_translation_t *newp; + + newp = (struct known_translation_t *) + malloc (offsetof (struct known_translation_t, msgid) + + msgid_len + domainname_len + 1); + if (newp != NULL) + { + newp->domainname = + mempcpy (newp->msgid, msgid1, msgid_len); + memcpy (newp->domainname, domainname, domainname_len + 1); + newp->category = category; + newp->counter = _nl_msg_cat_cntr; + newp->domain = domain; + newp->translation = retval; + newp->translation_length = retlen; + + /* Insert the entry in the search tree. */ + foundp = (struct known_translation_t **) + tsearch (newp, &root, transcmp); + if (foundp == NULL + || __builtin_expect (*foundp != newp, 0)) + /* The insert failed. */ + free (newp); + } + } + else + { + /* We can update the existing entry. */ + (*foundp)->counter = _nl_msg_cat_cntr; + (*foundp)->domain = domain; + (*foundp)->translation = retval; + (*foundp)->translation_length = retlen; + } +#endif + __set_errno (saved_errno); + + /* Now deal with plural. */ + if (plural) + retval = plural_lookup (domain, n, retval, retlen); + + __libc_rwlock_unlock (_nl_state_lock); + return retval; + } + } + } + + return_untranslated: + /* Return the untranslated MSGID. */ + FREE_BLOCKS (block_list); + __libc_rwlock_unlock (_nl_state_lock); +#ifndef _LIBC + if (!ENABLE_SECURE) + { + extern void _nl_log_untranslated (const char *logfilename, + const char *domainname, + const char *msgid1, const char *msgid2, + int plural); + const char *logfilename = getenv ("GETTEXT_LOG_UNTRANSLATED"); + + if (logfilename != NULL && logfilename[0] != '\0') + _nl_log_untranslated (logfilename, domainname, msgid1, msgid2, plural); + } +#endif + __set_errno (saved_errno); + return (plural == 0 + ? (char *) msgid1 + /* Use the Germanic plural rule. */ + : n == 1 ? (char *) msgid1 : (char *) msgid2); +} + + +char * +internal_function +_nl_find_msg (struct loaded_l10nfile *domain_file, + struct binding *domainbinding, const char *msgid, + size_t *lengthp) +{ + struct loaded_domain *domain; + nls_uint32 nstrings; + size_t act; + char *result; + size_t resultlen; + + if (domain_file->decided == 0) + _nl_load_domain (domain_file, domainbinding); + + if (domain_file->data == NULL) + return NULL; + + domain = (struct loaded_domain *) domain_file->data; + + nstrings = domain->nstrings; + + /* Locate the MSGID and its translation. */ + if (domain->hash_tab != NULL) + { + /* Use the hashing table. */ + nls_uint32 len = strlen (msgid); + nls_uint32 hash_val = hash_string (msgid); + nls_uint32 idx = hash_val % domain->hash_size; + nls_uint32 incr = 1 + (hash_val % (domain->hash_size - 2)); + + while (1) + { + nls_uint32 nstr = + W (domain->must_swap_hash_tab, domain->hash_tab[idx]); + + if (nstr == 0) + /* Hash table entry is empty. */ + return NULL; + + nstr--; + + /* Compare msgid with the original string at index nstr. + We compare the lengths with >=, not ==, because plural entries + are represented by strings with an embedded NUL. */ + if (nstr < nstrings + ? W (domain->must_swap, domain->orig_tab[nstr].length) >= len + && (strcmp (msgid, + domain->data + W (domain->must_swap, + domain->orig_tab[nstr].offset)) + == 0) + : domain->orig_sysdep_tab[nstr - nstrings].length > len + && (strcmp (msgid, + domain->orig_sysdep_tab[nstr - nstrings].pointer) + == 0)) + { + act = nstr; + goto found; + } + + if (idx >= domain->hash_size - incr) + idx -= domain->hash_size - incr; + else + idx += incr; + } + /* NOTREACHED */ + } + else + { + /* Try the default method: binary search in the sorted array of + messages. */ + size_t top, bottom; + + bottom = 0; + top = nstrings; + while (bottom < top) + { + int cmp_val; + + act = (bottom + top) / 2; + cmp_val = strcmp (msgid, (domain->data + + W (domain->must_swap, + domain->orig_tab[act].offset))); + if (cmp_val < 0) + top = act; + else if (cmp_val > 0) + bottom = act + 1; + else + goto found; + } + /* No translation was found. */ + return NULL; + } + + found: + /* The translation was found at index ACT. If we have to convert the + string to use a different character set, this is the time. */ + if (act < nstrings) + { + result = (char *) + (domain->data + W (domain->must_swap, domain->trans_tab[act].offset)); + resultlen = W (domain->must_swap, domain->trans_tab[act].length) + 1; + } + else + { + result = (char *) domain->trans_sysdep_tab[act - nstrings].pointer; + resultlen = domain->trans_sysdep_tab[act - nstrings].length; + } + +#if defined _LIBC || HAVE_ICONV + if (domain->codeset_cntr + != (domainbinding != NULL ? domainbinding->codeset_cntr : 0)) + { + /* The domain's codeset has changed through bind_textdomain_codeset() + since the message catalog was initialized or last accessed. We + have to reinitialize the converter. */ + _nl_free_domain_conv (domain); + _nl_init_domain_conv (domain_file, domain, domainbinding); + } + + if ( +# ifdef _LIBC + domain->conv != (__gconv_t) -1 +# else +# if HAVE_ICONV + domain->conv != (iconv_t) -1 +# endif +# endif + ) + { + /* We are supposed to do a conversion. First allocate an + appropriate table with the same structure as the table + of translations in the file, where we can put the pointers + to the converted strings in. + There is a slight complication with plural entries. They + are represented by consecutive NUL terminated strings. We + handle this case by converting RESULTLEN bytes, including + NULs. */ + + if (domain->conv_tab == NULL + && ((domain->conv_tab = + (char **) calloc (nstrings + domain->n_sysdep_strings, + sizeof (char *))) + == NULL)) + /* Mark that we didn't succeed allocating a table. */ + domain->conv_tab = (char **) -1; + + if (__builtin_expect (domain->conv_tab == (char **) -1, 0)) + /* Nothing we can do, no more memory. */ + goto converted; + + if (domain->conv_tab[act] == NULL) + { + /* We haven't used this string so far, so it is not + translated yet. Do this now. */ + /* We use a bit more efficient memory handling. + We allocate always larger blocks which get used over + time. This is faster than many small allocations. */ + __libc_lock_define_initialized (static, lock) +# define INITIAL_BLOCK_SIZE 4080 + static unsigned char *freemem; + static size_t freemem_size; + + const unsigned char *inbuf; + unsigned char *outbuf; + int malloc_count; +# ifndef _LIBC + transmem_block_t *transmem_list = NULL; +# endif + + __libc_lock_lock (lock); + + inbuf = (const unsigned char *) result; + outbuf = freemem + sizeof (size_t); + + malloc_count = 0; + while (1) + { + transmem_block_t *newmem; +# ifdef _LIBC + size_t non_reversible; + int res; + + if (freemem_size < sizeof (size_t)) + goto resize_freemem; + + res = __gconv (domain->conv, + &inbuf, inbuf + resultlen, + &outbuf, + outbuf + freemem_size - sizeof (size_t), + &non_reversible); + + if (res == __GCONV_OK || res == __GCONV_EMPTY_INPUT) + break; + + if (res != __GCONV_FULL_OUTPUT) + { + __libc_lock_unlock (lock); + goto converted; + } + + inbuf = result; +# else +# if HAVE_ICONV + const char *inptr = (const char *) inbuf; + size_t inleft = resultlen; + char *outptr = (char *) outbuf; + size_t outleft; + + if (freemem_size < sizeof (size_t)) + goto resize_freemem; + + outleft = freemem_size - sizeof (size_t); + if (iconv (domain->conv, + (ICONV_CONST char **) &inptr, &inleft, + &outptr, &outleft) + != (size_t) (-1)) + { + outbuf = (unsigned char *) outptr; + break; + } + if (errno != E2BIG) + { + __libc_lock_unlock (lock); + goto converted; + } +# endif +# endif + + resize_freemem: + /* We must allocate a new buffer or resize the old one. */ + if (malloc_count > 0) + { + ++malloc_count; + freemem_size = malloc_count * INITIAL_BLOCK_SIZE; + newmem = (transmem_block_t *) realloc (transmem_list, + freemem_size); +# ifdef _LIBC + if (newmem != NULL) + transmem_list = transmem_list->next; + else + { + struct transmem_list *old = transmem_list; + + transmem_list = transmem_list->next; + free (old); + } +# endif + } + else + { + malloc_count = 1; + freemem_size = INITIAL_BLOCK_SIZE; + newmem = (transmem_block_t *) malloc (freemem_size); + } + if (__builtin_expect (newmem == NULL, 0)) + { + freemem = NULL; + freemem_size = 0; + __libc_lock_unlock (lock); + goto converted; + } + +# ifdef _LIBC + /* Add the block to the list of blocks we have to free + at some point. */ + newmem->next = transmem_list; + transmem_list = newmem; + + freemem = newmem->data; + freemem_size -= offsetof (struct transmem_list, data); +# else + transmem_list = newmem; + freemem = newmem; +# endif + + outbuf = freemem + sizeof (size_t); + } + + /* We have now in our buffer a converted string. Put this + into the table of conversions. */ + *(size_t *) freemem = outbuf - freemem - sizeof (size_t); + domain->conv_tab[act] = (char *) freemem; + /* Shrink freemem, but keep it aligned. */ + freemem_size -= outbuf - freemem; + freemem = outbuf; + freemem += freemem_size & (alignof (size_t) - 1); + freemem_size = freemem_size & ~ (alignof (size_t) - 1); + + __libc_lock_unlock (lock); + } + + /* Now domain->conv_tab[act] contains the translation of all + the plural variants. */ + result = domain->conv_tab[act] + sizeof (size_t); + resultlen = *(size_t *) domain->conv_tab[act]; + } + + converted: + /* The result string is converted. */ + +#endif /* _LIBC || HAVE_ICONV */ + + *lengthp = resultlen; + return result; +} + + +/* Look up a plural variant. */ +static char * +internal_function +plural_lookup (struct loaded_l10nfile *domain, unsigned long int n, + const char *translation, size_t translation_len) +{ + struct loaded_domain *domaindata = (struct loaded_domain *) domain->data; + unsigned long int index; + const char *p; + + index = plural_eval (domaindata->plural, n); + if (index >= domaindata->nplurals) + /* This should never happen. It means the plural expression and the + given maximum value do not match. */ + index = 0; + + /* Skip INDEX strings at TRANSLATION. */ + p = translation; + while (index-- > 0) + { +#ifdef _LIBC + p = __rawmemchr (p, '\0'); +#else + p = strchr (p, '\0'); +#endif + /* And skip over the NUL byte. */ + p++; + + if (p >= translation + translation_len) + /* This should never happen. It means the plural expression + evaluated to a value larger than the number of variants + available for MSGID1. */ + return (char *) translation; + } + return (char *) p; +} + +#ifndef _LIBC +/* Return string representation of locale CATEGORY. */ +static const char * +internal_function +category_to_name (int category) +{ + const char *retval; + + switch (category) + { +#ifdef LC_COLLATE + case LC_COLLATE: + retval = "LC_COLLATE"; + break; +#endif +#ifdef LC_CTYPE + case LC_CTYPE: + retval = "LC_CTYPE"; + break; +#endif +#ifdef LC_MONETARY + case LC_MONETARY: + retval = "LC_MONETARY"; + break; +#endif +#ifdef LC_NUMERIC + case LC_NUMERIC: + retval = "LC_NUMERIC"; + break; +#endif +#ifdef LC_TIME + case LC_TIME: + retval = "LC_TIME"; + break; +#endif +#ifdef LC_MESSAGES + case LC_MESSAGES: + retval = "LC_MESSAGES"; + break; +#endif +#ifdef LC_RESPONSE + case LC_RESPONSE: + retval = "LC_RESPONSE"; + break; +#endif +#ifdef LC_ALL + case LC_ALL: + /* This might not make sense but is perhaps better than any other + value. */ + retval = "LC_ALL"; + break; +#endif + default: + /* If you have a better idea for a default value let me know. */ + retval = "LC_XXX"; + } + + return retval; +} +#endif + +/* Guess value of current locale from value of the environment variables. */ +static const char * +internal_function +guess_category_value (int category, const char *categoryname) +{ + const char *language; + const char *retval; + + /* The highest priority value is the `LANGUAGE' environment + variable. But we don't use the value if the currently selected + locale is the C locale. This is a GNU extension. */ + language = getenv ("LANGUAGE"); + if (language != NULL && language[0] == '\0') + language = NULL; + + /* We have to proceed with the POSIX methods of looking to `LC_ALL', + `LC_xxx', and `LANG'. On some systems this can be done by the + `setlocale' function itself. */ +#ifdef _LIBC + retval = __current_locale_name (category); +#else + retval = _nl_locale_name (category, categoryname); +#endif + + /* Ignore LANGUAGE if the locale is set to "C" because + 1. "C" locale usually uses the ASCII encoding, and most international + messages use non-ASCII characters. These characters get displayed + as question marks (if using glibc's iconv()) or as invalid 8-bit + characters (because other iconv()s refuse to convert most non-ASCII + characters to ASCII). In any case, the output is ugly. + 2. The precise output of some programs in the "C" locale is specified + by POSIX and should not depend on environment variables like + "LANGUAGE". We allow such programs to use gettext(). */ + return language != NULL && strcmp (retval, "C") != 0 ? language : retval; +} + +/* @@ begin of epilog @@ */ + +/* We don't want libintl.a to depend on any other library. So we + avoid the non-standard function stpcpy. In GNU C Library this + function is available, though. Also allow the symbol HAVE_STPCPY + to be defined. */ +#if !_LIBC && !HAVE_STPCPY +static char * +stpcpy (char *dest, const char *src) +{ + while ((*dest++ = *src++) != '\0') + /* Do nothing. */ ; + return dest - 1; +} +#endif + +#if !_LIBC && !HAVE_MEMPCPY +static void * +mempcpy (void *dest, const void *src, size_t n) +{ + return (void *) ((char *) memcpy (dest, src, n) + n); +} +#endif + + +#ifdef _LIBC +/* If we want to free all resources we have to do some work at + program's end. */ +libc_freeres_fn (free_mem) +{ + void *old; + + while (_nl_domain_bindings != NULL) + { + struct binding *oldp = _nl_domain_bindings; + _nl_domain_bindings = _nl_domain_bindings->next; + if (oldp->dirname != INTUSE(_nl_default_dirname)) + /* Yes, this is a pointer comparison. */ + free (oldp->dirname); + free (oldp->codeset); + free (oldp); + } + + if (_nl_current_default_domain != _nl_default_default_domain) + /* Yes, again a pointer comparison. */ + free ((char *) _nl_current_default_domain); + + /* Remove the search tree with the known translations. */ + __tdestroy (root, free); + root = NULL; + + while (transmem_list != NULL) + { + old = transmem_list; + transmem_list = transmem_list->next; + free (old); + } +} +#endif diff --git a/intl/dcngettext.c b/intl/dcngettext.c new file mode 100644 index 0000000..48a3e09 --- /dev/null +++ b/intl/dcngettext.c @@ -0,0 +1,57 @@ +/* Implementation of the dcngettext(3) function. + Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "gettextP.h" +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif + +/* @@ end of prolog @@ */ + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define DCNGETTEXT __dcngettext +# define DCIGETTEXT __dcigettext +#else +# define DCNGETTEXT libintl_dcngettext +# define DCIGETTEXT libintl_dcigettext +#endif + +/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY + locale. */ +char * +DCNGETTEXT (const char *domainname, + const char *msgid1, const char *msgid2, unsigned long int n, + int category) +{ + return DCIGETTEXT (domainname, msgid1, msgid2, 1, n, category); +} + +#ifdef _LIBC +/* Alias for function name in GNU C Library. */ +weak_alias (__dcngettext, dcngettext); +#endif diff --git a/intl/dgettext.c b/intl/dgettext.c new file mode 100644 index 0000000..b64b0f5 --- /dev/null +++ b/intl/dgettext.c @@ -0,0 +1,58 @@ +/* Implementation of the dgettext(3) function. + Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "gettextP.h" + +#include + +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif + +/* @@ end of prolog @@ */ + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define DGETTEXT __dgettext +# define DCGETTEXT INTUSE(__dcgettext) +#else +# define DGETTEXT libintl_dgettext +# define DCGETTEXT libintl_dcgettext +#endif + +/* Look up MSGID in the DOMAINNAME message catalog of the current + LC_MESSAGES locale. */ +char * +DGETTEXT (const char *domainname, const char *msgid) +{ + return DCGETTEXT (domainname, msgid, LC_MESSAGES); +} + +#ifdef _LIBC +/* Alias for function name in GNU C Library. */ +weak_alias (__dgettext, dgettext); +#endif diff --git a/intl/dngettext.c b/intl/dngettext.c new file mode 100644 index 0000000..7815637 --- /dev/null +++ b/intl/dngettext.c @@ -0,0 +1,59 @@ +/* Implementation of the dngettext(3) function. + Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "gettextP.h" + +#include + +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif + +/* @@ end of prolog @@ */ + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define DNGETTEXT __dngettext +# define DCNGETTEXT __dcngettext +#else +# define DNGETTEXT libintl_dngettext +# define DCNGETTEXT libintl_dcngettext +#endif + +/* Look up MSGID in the DOMAINNAME message catalog of the current + LC_MESSAGES locale and skip message according to the plural form. */ +char * +DNGETTEXT (const char *domainname, + const char *msgid1, const char *msgid2, unsigned long int n) +{ + return DCNGETTEXT (domainname, msgid1, msgid2, n, LC_MESSAGES); +} + +#ifdef _LIBC +/* Alias for function name in GNU C Library. */ +weak_alias (__dngettext, dngettext); +#endif diff --git a/intl/eval-plural.h b/intl/eval-plural.h new file mode 100644 index 0000000..4483f98 --- /dev/null +++ b/intl/eval-plural.h @@ -0,0 +1,106 @@ +/* Plural expression evaluation. + Copyright (C) 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#include + +#ifndef STATIC +#define STATIC static +#endif + +/* Evaluate the plural expression and return an index value. */ +STATIC +unsigned long int +internal_function +plural_eval (struct expression *pexp, unsigned long int n) +{ + switch (pexp->nargs) + { + case 0: + switch (pexp->operation) + { + case var: + return n; + case num: + return pexp->val.num; + default: + break; + } + /* NOTREACHED */ + break; + case 1: + { + /* pexp->operation must be lnot. */ + unsigned long int arg = plural_eval (pexp->val.args[0], n); + return ! arg; + } + case 2: + { + unsigned long int leftarg = plural_eval (pexp->val.args[0], n); + if (pexp->operation == lor) + return leftarg || plural_eval (pexp->val.args[1], n); + else if (pexp->operation == land) + return leftarg && plural_eval (pexp->val.args[1], n); + else + { + unsigned long int rightarg = plural_eval (pexp->val.args[1], n); + + switch (pexp->operation) + { + case mult: + return leftarg * rightarg; + case divide: + if (rightarg == 0) + raise (SIGFPE); + return leftarg / rightarg; + case module: + if (rightarg == 0) + raise (SIGFPE); + return leftarg % rightarg; + case plus: + return leftarg + rightarg; + case minus: + return leftarg - rightarg; + case less_than: + return leftarg < rightarg; + case greater_than: + return leftarg > rightarg; + case less_or_equal: + return leftarg <= rightarg; + case greater_or_equal: + return leftarg >= rightarg; + case equal: + return leftarg == rightarg; + case not_equal: + return leftarg != rightarg; + default: + break; + } + } + /* NOTREACHED */ + break; + } + case 3: + { + /* pexp->operation must be qmop. */ + unsigned long int boolarg = plural_eval (pexp->val.args[0], n); + return plural_eval (pexp->val.args[boolarg ? 1 : 2], n); + } + } + /* NOTREACHED */ + return 0; +} diff --git a/intl/explodename.c b/intl/explodename.c new file mode 100644 index 0000000..52c25e7 --- /dev/null +++ b/intl/explodename.c @@ -0,0 +1,185 @@ +/* Copyright (C) 1995-1998, 2000-2001, 2003 Free Software Foundation, Inc. + Contributed by Ulrich Drepper , 1995. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include + +#include "loadinfo.h" + +/* On some strange systems still no definition of NULL is found. Sigh! */ +#ifndef NULL +# if defined __STDC__ && __STDC__ +# define NULL ((void *) 0) +# else +# define NULL 0 +# endif +#endif + +/* @@ end of prolog @@ */ + +char * +_nl_find_language (const char *name) +{ + while (name[0] != '\0' && name[0] != '_' && name[0] != '@' + && name[0] != '+' && name[0] != ',') + ++name; + + return (char *) name; +} + + +int +_nl_explode_name (char *name, + const char **language, const char **modifier, + const char **territory, const char **codeset, + const char **normalized_codeset, const char **special, + const char **sponsor, const char **revision) +{ + enum { undecided, xpg, cen } syntax; + char *cp; + int mask; + + *modifier = NULL; + *territory = NULL; + *codeset = NULL; + *normalized_codeset = NULL; + *special = NULL; + *sponsor = NULL; + *revision = NULL; + + /* Now we determine the single parts of the locale name. First + look for the language. Termination symbols are `_' and `@' if + we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ + mask = 0; + syntax = undecided; + *language = cp = name; + cp = _nl_find_language (*language); + + if (*language == cp) + /* This does not make sense: language has to be specified. Use + this entry as it is without exploding. Perhaps it is an alias. */ + cp = strchr (*language, '\0'); + else if (cp[0] == '_') + { + /* Next is the territory. */ + cp[0] = '\0'; + *territory = ++cp; + + while (cp[0] != '\0' && cp[0] != '.' && cp[0] != '@' + && cp[0] != '+' && cp[0] != ',' && cp[0] != '_') + ++cp; + + mask |= TERRITORY; + + if (cp[0] == '.') + { + /* Next is the codeset. */ + syntax = xpg; + cp[0] = '\0'; + *codeset = ++cp; + + while (cp[0] != '\0' && cp[0] != '@') + ++cp; + + mask |= XPG_CODESET; + + if (*codeset != cp && (*codeset)[0] != '\0') + { + *normalized_codeset = _nl_normalize_codeset (*codeset, + cp - *codeset); + if (strcmp (*codeset, *normalized_codeset) == 0) + free ((char *) *normalized_codeset); + else + mask |= XPG_NORM_CODESET; + } + } + } + + if (cp[0] == '@' || (syntax != xpg && cp[0] == '+')) + { + /* Next is the modifier. */ + syntax = cp[0] == '@' ? xpg : cen; + cp[0] = '\0'; + *modifier = ++cp; + + while (syntax == cen && cp[0] != '\0' && cp[0] != '+' + && cp[0] != ',' && cp[0] != '_') + ++cp; + + mask |= XPG_MODIFIER | CEN_AUDIENCE; + } + + if (syntax != xpg && (cp[0] == '+' || cp[0] == ',' || cp[0] == '_')) + { + syntax = cen; + + if (cp[0] == '+') + { + /* Next is special application (CEN syntax). */ + cp[0] = '\0'; + *special = ++cp; + + while (cp[0] != '\0' && cp[0] != ',' && cp[0] != '_') + ++cp; + + mask |= CEN_SPECIAL; + } + + if (cp[0] == ',') + { + /* Next is sponsor (CEN syntax). */ + cp[0] = '\0'; + *sponsor = ++cp; + + while (cp[0] != '\0' && cp[0] != '_') + ++cp; + + mask |= CEN_SPONSOR; + } + + if (cp[0] == '_') + { + /* Next is revision (CEN syntax). */ + cp[0] = '\0'; + *revision = ++cp; + + mask |= CEN_REVISION; + } + } + + /* For CEN syntax values it might be important to have the + separator character in the file name, not for XPG syntax. */ + if (syntax == xpg) + { + if (*territory != NULL && (*territory)[0] == '\0') + mask &= ~TERRITORY; + + if (*codeset != NULL && (*codeset)[0] == '\0') + mask &= ~XPG_CODESET; + + if (*modifier != NULL && (*modifier)[0] == '\0') + mask &= ~XPG_MODIFIER; + } + + return mask; +} diff --git a/intl/finddomain.c b/intl/finddomain.c new file mode 100644 index 0000000..4992a8c --- /dev/null +++ b/intl/finddomain.c @@ -0,0 +1,192 @@ +/* Handle list of needed message catalogs + Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc. + Written by Ulrich Drepper , 1995. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include + +#if defined HAVE_UNISTD_H || defined _LIBC +# include +#endif + +#include "gettextP.h" +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif + +/* @@ end of prolog @@ */ +/* List of already loaded domains. */ +static struct loaded_l10nfile *_nl_loaded_domains; + + +/* Return a data structure describing the message catalog described by + the DOMAINNAME and CATEGORY parameters with respect to the currently + established bindings. */ +struct loaded_l10nfile * +internal_function +_nl_find_domain (const char *dirname, char *locale, + const char *domainname, struct binding *domainbinding) +{ + struct loaded_l10nfile *retval; + const char *language; + const char *modifier; + const char *territory; + const char *codeset; + const char *normalized_codeset; + const char *special; + const char *sponsor; + const char *revision; + const char *alias_value; + int mask; + + /* LOCALE can consist of up to four recognized parts for the XPG syntax: + + language[_territory[.codeset]][@modifier] + + and six parts for the CEN syntax: + + language[_territory][+audience][+special][,[sponsor][_revision]] + + Beside the first part all of them are allowed to be missing. If + the full specified locale is not found, the less specific one are + looked for. The various parts will be stripped off according to + the following order: + (1) revision + (2) sponsor + (3) special + (4) codeset + (5) normalized codeset + (6) territory + (7) audience/modifier + */ + + /* If we have already tested for this locale entry there has to + be one data set in the list of loaded domains. */ + retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, + strlen (dirname) + 1, 0, locale, NULL, NULL, + NULL, NULL, NULL, NULL, NULL, domainname, 0); + if (retval != NULL) + { + /* We know something about this locale. */ + int cnt; + + if (retval->decided == 0) + _nl_load_domain (retval, domainbinding); + + if (retval->data != NULL) + return retval; + + for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) + { + if (retval->successor[cnt]->decided == 0) + _nl_load_domain (retval->successor[cnt], domainbinding); + + if (retval->successor[cnt]->data != NULL) + break; + } + return cnt >= 0 ? retval : NULL; + /* NOTREACHED */ + } + + /* See whether the locale value is an alias. If yes its value + *overwrites* the alias name. No test for the original value is + done. */ + alias_value = _nl_expand_alias (locale); + if (alias_value != NULL) + { +#if defined _LIBC || defined HAVE_STRDUP + locale = strdup (alias_value); + if (locale == NULL) + return NULL; +#else + size_t len = strlen (alias_value) + 1; + locale = (char *) malloc (len); + if (locale == NULL) + return NULL; + + memcpy (locale, alias_value, len); +#endif + } + + /* Now we determine the single parts of the locale name. First + look for the language. Termination symbols are `_' and `@' if + we use XPG4 style, and `_', `+', and `,' if we use CEN syntax. */ + mask = _nl_explode_name (locale, &language, &modifier, &territory, + &codeset, &normalized_codeset, &special, + &sponsor, &revision); + + /* Create all possible locale entries which might be interested in + generalization. */ + retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname, + strlen (dirname) + 1, mask, language, territory, + codeset, normalized_codeset, modifier, special, + sponsor, revision, domainname, 1); + if (retval == NULL) + /* This means we are out of core. */ + return NULL; + + if (retval->decided == 0) + _nl_load_domain (retval, domainbinding); + if (retval->data == NULL) + { + int cnt; + for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) + { + if (retval->successor[cnt]->decided == 0) + _nl_load_domain (retval->successor[cnt], domainbinding); + if (retval->successor[cnt]->data != NULL) + break; + } + } + + /* The room for an alias was dynamically allocated. Free it now. */ + if (alias_value != NULL) + free (locale); + + /* The space for normalized_codeset is dynamically allocated. Free it. */ + if (mask & XPG_NORM_CODESET) + free ((void *) normalized_codeset); + + return retval; +} + + +#ifdef _LIBC +libc_freeres_fn (free_mem) +{ + struct loaded_l10nfile *runp = _nl_loaded_domains; + + while (runp != NULL) + { + struct loaded_l10nfile *here = runp; + if (runp->data != NULL) + _nl_unload_domain ((struct loaded_domain *) runp->data); + runp = runp->next; + free ((char *) here->filename); + free (here); + } +} +#endif diff --git a/intl/gettext.c b/intl/gettext.c new file mode 100644 index 0000000..92c42fa --- /dev/null +++ b/intl/gettext.c @@ -0,0 +1,63 @@ +/* Implementation of gettext(3) function. + Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef _LIBC +# define __need_NULL +# include +#else +# include /* Just for NULL. */ +#endif + +#include "gettextP.h" +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif + +/* @@ end of prolog @@ */ + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define GETTEXT __gettext +# define DCGETTEXT INTUSE(__dcgettext) +#else +# define GETTEXT libintl_gettext +# define DCGETTEXT libintl_dcgettext +#endif + +/* Look up MSGID in the current default message catalog for the current + LC_MESSAGES locale. If not found, returns MSGID itself (the default + text). */ +char * +GETTEXT (const char *msgid) +{ + return DCGETTEXT (NULL, msgid, LC_MESSAGES); +} + +#ifdef _LIBC +/* Alias for function name in GNU C Library. */ +weak_alias (__gettext, gettext); +#endif diff --git a/intl/gettextP.h b/intl/gettextP.h new file mode 100644 index 0000000..4d66c3d --- /dev/null +++ b/intl/gettextP.h @@ -0,0 +1,215 @@ +/* Header describing internals of libintl library. + Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. + Written by Ulrich Drepper , 1995. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _GETTEXTP_H +#define _GETTEXTP_H + +#include /* Get size_t. */ + +#ifdef _LIBC +# include "../iconv/gconv_int.h" +#else +# if HAVE_ICONV +# include +# endif +#endif + +#include "loadinfo.h" + +#include "gmo.h" /* Get nls_uint32. */ + +/* @@ end of prolog @@ */ + +#ifndef internal_function +# define internal_function +#endif + +#ifndef attribute_hidden +# define attribute_hidden +#endif + +/* Tell the compiler when a conditional or integer expression is + almost always true or almost always false. */ +#ifndef HAVE_BUILTIN_EXPECT +# define __builtin_expect(expr, val) (expr) +#endif + +#ifndef W +# define W(flag, data) ((flag) ? SWAP (data) : (data)) +#endif + + +#ifdef _LIBC +# include +# define SWAP(i) bswap_32 (i) +#else +static inline nls_uint32 +SWAP (i) + nls_uint32 i; +{ + return (i << 24) | ((i & 0xff00) << 8) | ((i >> 8) & 0xff00) | (i >> 24); +} +#endif + + +/* In-memory representation of system dependent string. */ +struct sysdep_string_desc +{ + /* Length of addressed string, including the trailing NUL. */ + size_t length; + /* Pointer to addressed string. */ + const char *pointer; +}; + +/* The representation of an opened message catalog. */ +struct loaded_domain +{ + /* Pointer to memory containing the .mo file. */ + const char *data; + /* 1 if the memory is mmap()ed, 0 if the memory is malloc()ed. */ + int use_mmap; + /* Size of mmap()ed memory. */ + size_t mmap_size; + /* 1 if the .mo file uses a different endianness than this machine. */ + int must_swap; + /* Pointer to additional malloc()ed memory. */ + void *malloced; + + /* Number of static strings pairs. */ + nls_uint32 nstrings; + /* Pointer to descriptors of original strings in the file. */ + const struct string_desc *orig_tab; + /* Pointer to descriptors of translated strings in the file. */ + const struct string_desc *trans_tab; + + /* Number of system dependent strings pairs. */ + nls_uint32 n_sysdep_strings; + /* Pointer to descriptors of original sysdep strings. */ + const struct sysdep_string_desc *orig_sysdep_tab; + /* Pointer to descriptors of translated sysdep strings. */ + const struct sysdep_string_desc *trans_sysdep_tab; + + /* Size of hash table. */ + nls_uint32 hash_size; + /* Pointer to hash table. */ + const nls_uint32 *hash_tab; + /* 1 if the hash table uses a different endianness than this machine. */ + int must_swap_hash_tab; + + int codeset_cntr; +#ifdef _LIBC + __gconv_t conv; +#else +# if HAVE_ICONV + iconv_t conv; +# endif +#endif + char **conv_tab; + + struct expression *plural; + unsigned long int nplurals; +}; + +/* We want to allocate a string at the end of the struct. But ISO C + doesn't allow zero sized arrays. */ +#ifdef __GNUC__ +# define ZERO 0 +#else +# define ZERO 1 +#endif + +/* A set of settings bound to a message domain. Used to store settings + from bindtextdomain() and bind_textdomain_codeset(). */ +struct binding +{ + struct binding *next; + char *dirname; + int codeset_cntr; /* Incremented each time codeset changes. */ + char *codeset; + char domainname[ZERO]; +}; + +/* A counter which is incremented each time some previous translations + become invalid. + This variable is part of the external ABI of the GNU libintl. */ +extern int _nl_msg_cat_cntr; + +#ifndef _LIBC +const char *_nl_locale_name (int category, const char *categoryname); +#endif + +struct loaded_l10nfile *_nl_find_domain (const char *__dirname, char *__locale, + const char *__domainname, + struct binding *__domainbinding) + internal_function; +void _nl_load_domain (struct loaded_l10nfile *__domain, + struct binding *__domainbinding) + internal_function; +void _nl_unload_domain (struct loaded_domain *__domain) + internal_function; +const char *_nl_init_domain_conv (struct loaded_l10nfile *__domain_file, + struct loaded_domain *__domain, + struct binding *__domainbinding) + internal_function; +void _nl_free_domain_conv (struct loaded_domain *__domain) + internal_function; + +char *_nl_find_msg (struct loaded_l10nfile *domain_file, + struct binding *domainbinding, const char *msgid, + size_t *lengthp) + internal_function; + +#ifdef _LIBC +extern char *__gettext (const char *__msgid); +extern char *__dgettext (const char *__domainname, const char *__msgid); +extern char *__dcgettext (const char *__domainname, const char *__msgid, + int __category); +extern char *__ngettext (const char *__msgid1, const char *__msgid2, + unsigned long int __n); +extern char *__dngettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + unsigned long int n); +extern char *__dcngettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + unsigned long int __n, int __category); +extern char *__dcigettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + int __plural, unsigned long int __n, + int __category); +extern char *__textdomain (const char *__domainname); +extern char *__bindtextdomain (const char *__domainname, + const char *__dirname); +extern char *__bind_textdomain_codeset (const char *__domainname, + const char *__codeset); +#else +/* Declare the exported libintl_* functions, in a way that allows us to + call them under their real name. */ +# undef _INTL_REDIRECT_INLINE +# undef _INTL_REDIRECT_MACROS +# define _INTL_REDIRECT_MACROS +# include "libgnuintl.h" +extern char *libintl_dcigettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + int __plural, unsigned long int __n, + int __category); +#endif + +/* @@ begin of epilog @@ */ + +#endif /* gettextP.h */ diff --git a/intl/gmo.h b/intl/gmo.h new file mode 100644 index 0000000..e7c9cc1 --- /dev/null +++ b/intl/gmo.h @@ -0,0 +1,149 @@ +/* Description of GNU message catalog format: general file layout. + Copyright (C) 1995, 1997, 2000-2002, 2004 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _GETTEXT_H +#define _GETTEXT_H 1 + +#include + +/* @@ end of prolog @@ */ + +/* The magic number of the GNU message catalog format. */ +#define _MAGIC 0x950412de +#define _MAGIC_SWAPPED 0xde120495 + +/* Revision number of the currently used .mo (binary) file format. */ +#define MO_REVISION_NUMBER 0 +#define MO_REVISION_NUMBER_WITH_SYSDEP_I 1 + +/* The following contortions are an attempt to use the C preprocessor + to determine an unsigned integral type that is 32 bits wide. An + alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but + as of version autoconf-2.13, the AC_CHECK_SIZEOF macro doesn't work + when cross-compiling. */ + +#if __STDC__ +# define UINT_MAX_32_BITS 4294967295U +#else +# define UINT_MAX_32_BITS 0xFFFFFFFF +#endif + +/* If UINT_MAX isn't defined, assume it's a 32-bit type. + This should be valid for all systems GNU cares about because + that doesn't include 16-bit systems, and only modern systems + (that certainly have ) have 64+-bit integral types. */ + +#ifndef UINT_MAX +# define UINT_MAX UINT_MAX_32_BITS +#endif + +#if UINT_MAX == UINT_MAX_32_BITS +typedef unsigned nls_uint32; +#else +# if USHRT_MAX == UINT_MAX_32_BITS +typedef unsigned short nls_uint32; +# else +# if ULONG_MAX == UINT_MAX_32_BITS +typedef unsigned long nls_uint32; +# else + /* The following line is intended to throw an error. Using #error is + not portable enough. */ + "Cannot determine unsigned 32-bit data type." +# endif +# endif +#endif + + +/* Header for binary .mo file format. */ +struct mo_file_header +{ + /* The magic number. */ + nls_uint32 magic; + /* The revision number of the file format. */ + nls_uint32 revision; + + /* The following are only used in .mo files with major revision 0 or 1. */ + + /* The number of strings pairs. */ + nls_uint32 nstrings; + /* Offset of table with start offsets of original strings. */ + nls_uint32 orig_tab_offset; + /* Offset of table with start offsets of translated strings. */ + nls_uint32 trans_tab_offset; + /* Size of hash table. */ + nls_uint32 hash_tab_size; + /* Offset of first hash table entry. */ + nls_uint32 hash_tab_offset; + + /* The following are only used in .mo files with minor revision >= 1. */ + + /* The number of system dependent segments. */ + nls_uint32 n_sysdep_segments; + /* Offset of table describing system dependent segments. */ + nls_uint32 sysdep_segments_offset; + /* The number of system dependent strings pairs. */ + nls_uint32 n_sysdep_strings; + /* Offset of table with start offsets of original sysdep strings. */ + nls_uint32 orig_sysdep_tab_offset; + /* Offset of table with start offsets of translated sysdep strings. */ + nls_uint32 trans_sysdep_tab_offset; +}; + +/* Descriptor for static string contained in the binary .mo file. */ +struct string_desc +{ + /* Length of addressed string, not including the trailing NUL. */ + nls_uint32 length; + /* Offset of string in file. */ + nls_uint32 offset; +}; + +/* The following are only used in .mo files with minor revision >= 1. */ + +/* Descriptor for system dependent string segment. */ +struct sysdep_segment +{ + /* Length of addressed string, including the trailing NUL. */ + nls_uint32 length; + /* Offset of string in file. */ + nls_uint32 offset; +}; + +/* Descriptor for system dependent string. */ +struct sysdep_string +{ + /* Offset of static string segments in file. */ + nls_uint32 offset; + /* Alternating sequence of static and system dependent segments. + The last segment is a static segment, including the trailing NUL. */ + struct segment_pair + { + /* Size of static segment. */ + nls_uint32 segsize; + /* Reference to system dependent string segment, or ~0 at the end. */ + nls_uint32 sysdepref; + } segments[1]; +}; + +/* Marker for the end of the segments[] array. This has the value 0xFFFFFFFF, + regardless whether 'int' is 16 bit, 32 bit, or 64 bit. */ +#define SEGMENTS_END ((nls_uint32) ~0) + +/* @@ begin of epilog @@ */ + +#endif /* gettext.h */ diff --git a/intl/hash-string.h b/intl/hash-string.h new file mode 100644 index 0000000..093e3b1 --- /dev/null +++ b/intl/hash-string.h @@ -0,0 +1,48 @@ +/* Description of GNU message catalog format: string hashing function. + Copyright (C) 1995, 1997-1998, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* @@ end of prolog @@ */ + +/* We assume to have `unsigned long int' value with at least 32 bits. */ +#define HASHWORDBITS 32 + + +/* Defines the so called `hashpjw' function by P.J. Weinberger + [see Aho/Sethi/Ullman, COMPILERS: Principles, Techniques and Tools, + 1986, 1987 Bell Telephone Laboratories, Inc.] */ +static inline unsigned long int +hash_string (const char *str_param) +{ + unsigned long int hval, g; + const char *str = str_param; + + /* Compute the hash value for the given string. */ + hval = 0; + while (*str != '\0') + { + hval <<= 4; + hval += (unsigned char) *str++; + g = hval & ((unsigned long int) 0xf << (HASHWORDBITS - 4)); + if (g != 0) + { + hval ^= g >> (HASHWORDBITS - 8); + hval ^= g; + } + } + return hval; +} diff --git a/intl/intl-compat.c b/intl/intl-compat.c new file mode 100644 index 0000000..96f9d95 --- /dev/null +++ b/intl/intl-compat.c @@ -0,0 +1,131 @@ +/* intl-compat.c - Stub functions to call gettext functions from GNU gettext + Library. + Copyright (C) 1995, 2000-2003 Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include "gettextP.h" + +/* @@ end of prolog @@ */ + +/* This file redirects the gettext functions (without prefix) to those + defined in the included GNU libintl library (with "libintl_" prefix). + It is compiled into libintl in order to make the AM_GNU_GETTEXT test + of gettext <= 0.11.2 work with the libintl library >= 0.11.3 which + has the redirections primarily in the include file. + It is also compiled into libgnuintl so that libgnuintl.so can be used + as LD_PRELOADable library on glibc systems, to provide the extra + features that the functions in the libc don't have (namely, logging). */ + + +#undef gettext +#undef dgettext +#undef dcgettext +#undef ngettext +#undef dngettext +#undef dcngettext +#undef textdomain +#undef bindtextdomain +#undef bind_textdomain_codeset + + +/* When building a DLL, we must export some functions. Note that because + the functions are only defined for binary backward compatibility, we + don't need to use __declspec(dllimport) in any case. */ +#if defined _MSC_VER && BUILDING_DLL +# define DLL_EXPORTED __declspec(dllexport) +#else +# define DLL_EXPORTED +#endif + + +DLL_EXPORTED +char * +gettext (const char *msgid) +{ + return libintl_gettext (msgid); +} + + +DLL_EXPORTED +char * +dgettext (const char *domainname, const char *msgid) +{ + return libintl_dgettext (domainname, msgid); +} + + +DLL_EXPORTED +char * +dcgettext (const char *domainname, const char *msgid, int category) +{ + return libintl_dcgettext (domainname, msgid, category); +} + + +DLL_EXPORTED +char * +ngettext (const char *msgid1, const char *msgid2, unsigned long int n) +{ + return libintl_ngettext (msgid1, msgid2, n); +} + + +DLL_EXPORTED +char * +dngettext (const char *domainname, + const char *msgid1, const char *msgid2, unsigned long int n) +{ + return libintl_dngettext (domainname, msgid1, msgid2, n); +} + + +DLL_EXPORTED +char * +dcngettext (const char *domainname, + const char *msgid1, const char *msgid2, unsigned long int n, + int category) +{ + return libintl_dcngettext (domainname, msgid1, msgid2, n, category); +} + + +DLL_EXPORTED +char * +textdomain (const char *domainname) +{ + return libintl_textdomain (domainname); +} + + +DLL_EXPORTED +char * +bindtextdomain (const char *domainname, const char *dirname) +{ + return libintl_bindtextdomain (domainname, dirname); +} + + +DLL_EXPORTED +char * +bind_textdomain_codeset (const char *domainname, const char *codeset) +{ + return libintl_bind_textdomain_codeset (domainname, codeset); +} diff --git a/intl/l10nflist.c b/intl/l10nflist.c new file mode 100644 index 0000000..eb995aa --- /dev/null +++ b/intl/l10nflist.c @@ -0,0 +1,421 @@ +/* Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc. + Contributed by Ulrich Drepper , 1995. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Tell glibc's to provide a prototype for stpcpy(). + This must come before because may include + , and once has been included, it's too late. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include + +#if defined _LIBC || defined HAVE_ARGZ_H +# include +#endif +#include +#include +#include + +#include "loadinfo.h" + +/* On some strange systems still no definition of NULL is found. Sigh! */ +#ifndef NULL +# if defined __STDC__ && __STDC__ +# define NULL ((void *) 0) +# else +# define NULL 0 +# endif +#endif + +/* @@ end of prolog @@ */ + +#ifdef _LIBC +/* Rename the non ANSI C functions. This is required by the standard + because some ANSI C functions will require linking with this object + file and the name space must not be polluted. */ +# ifndef stpcpy +# define stpcpy(dest, src) __stpcpy(dest, src) +# endif +#else +# ifndef HAVE_STPCPY +static char *stpcpy (char *dest, const char *src); +# endif +#endif + +/* Pathname support. + ISSLASH(C) tests whether C is a directory separator character. + IS_ABSOLUTE_PATH(P) tests whether P is an absolute path. If it is not, + it may be concatenated to a directory pathname. + */ +#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ + /* Win32, OS/2, DOS */ +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +# define HAS_DEVICE(P) \ + ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ + && (P)[1] == ':') +# define IS_ABSOLUTE_PATH(P) (ISSLASH ((P)[0]) || HAS_DEVICE (P)) +#else + /* Unix */ +# define ISSLASH(C) ((C) == '/') +# define IS_ABSOLUTE_PATH(P) ISSLASH ((P)[0]) +#endif + +/* Define function which are usually not available. */ + +#if !defined _LIBC && !defined HAVE___ARGZ_COUNT +/* Returns the number of strings in ARGZ. */ +static size_t +argz_count__ (const char *argz, size_t len) +{ + size_t count = 0; + while (len > 0) + { + size_t part_len = strlen (argz); + argz += part_len + 1; + len -= part_len + 1; + count++; + } + return count; +} +# undef __argz_count +# define __argz_count(argz, len) argz_count__ (argz, len) +#else +# ifdef _LIBC +# define __argz_count(argz, len) INTUSE(__argz_count) (argz, len) +# endif +#endif /* !_LIBC && !HAVE___ARGZ_COUNT */ + +#if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY +/* Make '\0' separated arg vector ARGZ printable by converting all the '\0's + except the last into the character SEP. */ +static void +argz_stringify__ (char *argz, size_t len, int sep) +{ + while (len > 0) + { + size_t part_len = strlen (argz); + argz += part_len; + len -= part_len + 1; + if (len > 0) + *argz++ = sep; + } +} +# undef __argz_stringify +# define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep) +#else +# ifdef _LIBC +# define __argz_stringify(argz, len, sep) \ + INTUSE(__argz_stringify) (argz, len, sep) +# endif +#endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */ + +#if !defined _LIBC && !defined HAVE___ARGZ_NEXT +static char * +argz_next__ (char *argz, size_t argz_len, const char *entry) +{ + if (entry) + { + if (entry < argz + argz_len) + entry = strchr (entry, '\0') + 1; + + return entry >= argz + argz_len ? NULL : (char *) entry; + } + else + if (argz_len > 0) + return argz; + else + return 0; +} +# undef __argz_next +# define __argz_next(argz, len, entry) argz_next__ (argz, len, entry) +#endif /* !_LIBC && !HAVE___ARGZ_NEXT */ + + +/* Return number of bits set in X. */ +static inline int +pop (int x) +{ + /* We assume that no more than 16 bits are used. */ + x = ((x & ~0x5555) >> 1) + (x & 0x5555); + x = ((x & ~0x3333) >> 2) + (x & 0x3333); + x = ((x >> 4) + x) & 0x0f0f; + x = ((x >> 8) + x) & 0xff; + + return x; +} + + +struct loaded_l10nfile * +_nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, + const char *dirlist, size_t dirlist_len, + int mask, const char *language, const char *territory, + const char *codeset, const char *normalized_codeset, + const char *modifier, const char *special, + const char *sponsor, const char *revision, + const char *filename, int do_allocate) +{ + char *abs_filename; + struct loaded_l10nfile **lastp; + struct loaded_l10nfile *retval; + char *cp; + size_t dirlist_count; + size_t entries; + int cnt; + + /* If LANGUAGE contains an absolute directory specification, we ignore + DIRLIST. */ + if (IS_ABSOLUTE_PATH (language)) + dirlist_len = 0; + + /* Allocate room for the full file name. */ + abs_filename = (char *) malloc (dirlist_len + + strlen (language) + + ((mask & TERRITORY) != 0 + ? strlen (territory) + 1 : 0) + + ((mask & XPG_CODESET) != 0 + ? strlen (codeset) + 1 : 0) + + ((mask & XPG_NORM_CODESET) != 0 + ? strlen (normalized_codeset) + 1 : 0) + + (((mask & XPG_MODIFIER) != 0 + || (mask & CEN_AUDIENCE) != 0) + ? strlen (modifier) + 1 : 0) + + ((mask & CEN_SPECIAL) != 0 + ? strlen (special) + 1 : 0) + + (((mask & CEN_SPONSOR) != 0 + || (mask & CEN_REVISION) != 0) + ? (1 + ((mask & CEN_SPONSOR) != 0 + ? strlen (sponsor) : 0) + + ((mask & CEN_REVISION) != 0 + ? strlen (revision) + 1 : 0)) : 0) + + 1 + strlen (filename) + 1); + + if (abs_filename == NULL) + return NULL; + + /* Construct file name. */ + cp = abs_filename; + if (dirlist_len > 0) + { + memcpy (cp, dirlist, dirlist_len); + __argz_stringify (cp, dirlist_len, PATH_SEPARATOR); + cp += dirlist_len; + cp[-1] = '/'; + } + + cp = stpcpy (cp, language); + + if ((mask & TERRITORY) != 0) + { + *cp++ = '_'; + cp = stpcpy (cp, territory); + } + if ((mask & XPG_CODESET) != 0) + { + *cp++ = '.'; + cp = stpcpy (cp, codeset); + } + if ((mask & XPG_NORM_CODESET) != 0) + { + *cp++ = '.'; + cp = stpcpy (cp, normalized_codeset); + } + if ((mask & (XPG_MODIFIER | CEN_AUDIENCE)) != 0) + { + /* This component can be part of both syntaces but has different + leading characters. For CEN we use `+', else `@'. */ + *cp++ = (mask & CEN_AUDIENCE) != 0 ? '+' : '@'; + cp = stpcpy (cp, modifier); + } + if ((mask & CEN_SPECIAL) != 0) + { + *cp++ = '+'; + cp = stpcpy (cp, special); + } + if ((mask & (CEN_SPONSOR | CEN_REVISION)) != 0) + { + *cp++ = ','; + if ((mask & CEN_SPONSOR) != 0) + cp = stpcpy (cp, sponsor); + if ((mask & CEN_REVISION) != 0) + { + *cp++ = '_'; + cp = stpcpy (cp, revision); + } + } + + *cp++ = '/'; + stpcpy (cp, filename); + + /* Look in list of already loaded domains whether it is already + available. */ + lastp = l10nfile_list; + for (retval = *l10nfile_list; retval != NULL; retval = retval->next) + if (retval->filename != NULL) + { + int compare = strcmp (retval->filename, abs_filename); + if (compare == 0) + /* We found it! */ + break; + if (compare < 0) + { + /* It's not in the list. */ + retval = NULL; + break; + } + + lastp = &retval->next; + } + + if (retval != NULL || do_allocate == 0) + { + free (abs_filename); + return retval; + } + + dirlist_count = (dirlist_len > 0 ? __argz_count (dirlist, dirlist_len) : 1); + + /* Allocate a new loaded_l10nfile. */ + retval = + (struct loaded_l10nfile *) + malloc (sizeof (*retval) + + (((dirlist_count << pop (mask)) + (dirlist_count > 1 ? 1 : 0)) + * sizeof (struct loaded_l10nfile *))); + if (retval == NULL) + return NULL; + + retval->filename = abs_filename; + + /* We set retval->data to NULL here; it is filled in later. + Setting retval->decided to 1 here means that retval does not + correspond to a real file (dirlist_count > 1) or is not worth + looking up (if an unnormalized codeset was specified). */ + retval->decided = (dirlist_count > 1 + || ((mask & XPG_CODESET) != 0 + && (mask & XPG_NORM_CODESET) != 0)); + retval->data = NULL; + + retval->next = *lastp; + *lastp = retval; + + entries = 0; + /* Recurse to fill the inheritance list of RETVAL. + If the DIRLIST is a real list (i.e. DIRLIST_COUNT > 1), the RETVAL + entry does not correspond to a real file; retval->filename contains + colons. In this case we loop across all elements of DIRLIST and + across all bit patterns dominated by MASK. + If the DIRLIST is a single directory or entirely redundant (i.e. + DIRLIST_COUNT == 1), we loop across all bit patterns dominated by + MASK, excluding MASK itself. + In either case, we loop down from MASK to 0. This has the effect + that the extra bits in the locale name are dropped in this order: + first the modifier, then the territory, then the codeset, then the + normalized_codeset. */ + for (cnt = dirlist_count > 1 ? mask : mask - 1; cnt >= 0; --cnt) + if ((cnt & ~mask) == 0 + && ((cnt & CEN_SPECIFIC) == 0 || (cnt & XPG_SPECIFIC) == 0) + && ((cnt & XPG_CODESET) == 0 || (cnt & XPG_NORM_CODESET) == 0)) + { + if (dirlist_count > 1) + { + /* Iterate over all elements of the DIRLIST. */ + char *dir = NULL; + + while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir)) + != NULL) + retval->successor[entries++] + = _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1, + cnt, language, territory, codeset, + normalized_codeset, modifier, special, + sponsor, revision, filename, 1); + } + else + retval->successor[entries++] + = _nl_make_l10nflist (l10nfile_list, dirlist, dirlist_len, + cnt, language, territory, codeset, + normalized_codeset, modifier, special, + sponsor, revision, filename, 1); + } + retval->successor[entries] = NULL; + + return retval; +} + +/* Normalize codeset name. There is no standard for the codeset + names. Normalization allows the user to use any of the common + names. The return value is dynamically allocated and has to be + freed by the caller. */ +const char * +_nl_normalize_codeset (const char *codeset, size_t name_len) +{ + int len = 0; + int only_digit = 1; + char *retval; + char *wp; + size_t cnt; + + for (cnt = 0; cnt < name_len; ++cnt) + if (isalnum ((unsigned char) codeset[cnt])) + { + ++len; + + if (isalpha ((unsigned char) codeset[cnt])) + only_digit = 0; + } + + retval = (char *) malloc ((only_digit ? 3 : 0) + len + 1); + + if (retval != NULL) + { + if (only_digit) + wp = stpcpy (retval, "iso"); + else + wp = retval; + + for (cnt = 0; cnt < name_len; ++cnt) + if (isalpha ((unsigned char) codeset[cnt])) + *wp++ = tolower ((unsigned char) codeset[cnt]); + else if (isdigit ((unsigned char) codeset[cnt])) + *wp++ = codeset[cnt]; + + *wp = '\0'; + } + + return (const char *) retval; +} + + +/* @@ begin of epilog @@ */ + +/* We don't want libintl.a to depend on any other library. So we + avoid the non-standard function stpcpy. In GNU C Library this + function is available, though. Also allow the symbol HAVE_STPCPY + to be defined. */ +#if !_LIBC && !HAVE_STPCPY +static char * +stpcpy (char *dest, const char *src) +{ + while ((*dest++ = *src++) != '\0') + /* Do nothing. */ ; + return dest - 1; +} +#endif diff --git a/intl/libgnuintl.h.in b/intl/libgnuintl.h.in new file mode 100644 index 0000000..3be7eb9 --- /dev/null +++ b/intl/libgnuintl.h.in @@ -0,0 +1,383 @@ +/* Message catalogs for internationalization. + Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _LIBINTL_H +#define _LIBINTL_H 1 + +#include + +/* The LC_MESSAGES locale category is the category used by the functions + gettext() and dgettext(). It is specified in POSIX, but not in ANSI C. + On systems that don't define it, use an arbitrary value instead. + On Solaris, defines __LOCALE_H (or _LOCALE_H in Solaris 2.5) + then includes (i.e. this file!) and then only defines + LC_MESSAGES. To avoid a redefinition warning, don't define LC_MESSAGES + in this case. */ +#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H && defined __sun)) +# define LC_MESSAGES 1729 +#endif + +/* We define an additional symbol to signal that we use the GNU + implementation of gettext. */ +#define __USE_GNU_GETTEXT 1 + +/* Provide information about the supported file formats. Returns the + maximum minor revision number supported for a given major revision. */ +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) \ + ((major) == 0 ? 1 : -1) + +/* Resolve a platform specific conflict on DJGPP. GNU gettext takes + precedence over _conio_gettext. */ +#ifdef __DJGPP__ +# undef gettext +#endif + +#ifdef __cplusplus +extern "C" { +#endif + + +/* We redirect the functions to those prefixed with "libintl_". This is + necessary, because some systems define gettext/textdomain/... in the C + library (namely, Solaris 2.4 and newer, and GNU libc 2.0 and newer). + If we used the unprefixed names, there would be cases where the + definition in the C library would override the one in the libintl.so + shared library. Recall that on ELF systems, the symbols are looked + up in the following order: + 1. in the executable, + 2. in the shared libraries specified on the link command line, in order, + 3. in the dependencies of the shared libraries specified on the link + command line, + 4. in the dlopen()ed shared libraries, in the order in which they were + dlopen()ed. + The definition in the C library would override the one in libintl.so if + either + * -lc is given on the link command line and -lintl isn't, or + * -lc is given on the link command line before -lintl, or + * libintl.so is a dependency of a dlopen()ed shared library but not + linked to the executable at link time. + Since Solaris gettext() behaves differently than GNU gettext(), this + would be unacceptable. + + The redirection happens by default through macros in C, so that &gettext + is independent of the compilation unit, but through inline functions in + C++, in order not to interfere with the name mangling of class fields or + class methods called 'gettext'. */ + +/* The user can define _INTL_REDIRECT_INLINE or _INTL_REDIRECT_MACROS. + If he doesn't, we choose the method. A third possible method is + _INTL_REDIRECT_ASM, supported only by GCC. */ +#if !(defined _INTL_REDIRECT_INLINE || defined _INTL_REDIRECT_MACROS) +# if __GNUC__ >= 2 && !defined __APPLE_CC__ && !defined __MINGW32__ && !(__GNUC__ == 2 && defined _AIX) && (defined __STDC__ || defined __cplusplus) +# define _INTL_REDIRECT_ASM +# else +# ifdef __cplusplus +# define _INTL_REDIRECT_INLINE +# else +# define _INTL_REDIRECT_MACROS +# endif +# endif +#endif +/* Auxiliary macros. */ +#ifdef _INTL_REDIRECT_ASM +# define _INTL_ASM(cname) __asm__ (_INTL_ASMNAME (__USER_LABEL_PREFIX__, #cname)) +# define _INTL_ASMNAME(prefix,cnamestring) _INTL_STRINGIFY (prefix) cnamestring +# define _INTL_STRINGIFY(prefix) #prefix +#else +# define _INTL_ASM(cname) +#endif + +/* Look up MSGID in the current default message catalog for the current + LC_MESSAGES locale. If not found, returns MSGID itself (the default + text). */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_gettext (const char *__msgid); +static inline char *gettext (const char *__msgid) +{ + return libintl_gettext (__msgid); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define gettext libintl_gettext +#endif +extern char *gettext (const char *__msgid) + _INTL_ASM (libintl_gettext); +#endif + +/* Look up MSGID in the DOMAINNAME message catalog for the current + LC_MESSAGES locale. */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_dgettext (const char *__domainname, const char *__msgid); +static inline char *dgettext (const char *__domainname, const char *__msgid) +{ + return libintl_dgettext (__domainname, __msgid); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define dgettext libintl_dgettext +#endif +extern char *dgettext (const char *__domainname, const char *__msgid) + _INTL_ASM (libintl_dgettext); +#endif + +/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY + locale. */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_dcgettext (const char *__domainname, const char *__msgid, + int __category); +static inline char *dcgettext (const char *__domainname, const char *__msgid, + int __category) +{ + return libintl_dcgettext (__domainname, __msgid, __category); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define dcgettext libintl_dcgettext +#endif +extern char *dcgettext (const char *__domainname, const char *__msgid, + int __category) + _INTL_ASM (libintl_dcgettext); +#endif + + +/* Similar to `gettext' but select the plural form corresponding to the + number N. */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_ngettext (const char *__msgid1, const char *__msgid2, + unsigned long int __n); +static inline char *ngettext (const char *__msgid1, const char *__msgid2, + unsigned long int __n) +{ + return libintl_ngettext (__msgid1, __msgid2, __n); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define ngettext libintl_ngettext +#endif +extern char *ngettext (const char *__msgid1, const char *__msgid2, + unsigned long int __n) + _INTL_ASM (libintl_ngettext); +#endif + +/* Similar to `dgettext' but select the plural form corresponding to the + number N. */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_dngettext (const char *__domainname, const char *__msgid1, + const char *__msgid2, unsigned long int __n); +static inline char *dngettext (const char *__domainname, const char *__msgid1, + const char *__msgid2, unsigned long int __n) +{ + return libintl_dngettext (__domainname, __msgid1, __msgid2, __n); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define dngettext libintl_dngettext +#endif +extern char *dngettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + unsigned long int __n) + _INTL_ASM (libintl_dngettext); +#endif + +/* Similar to `dcgettext' but select the plural form corresponding to the + number N. */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_dcngettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + unsigned long int __n, int __category); +static inline char *dcngettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + unsigned long int __n, int __category) +{ + return libintl_dcngettext (__domainname, __msgid1, __msgid2, __n, __category); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define dcngettext libintl_dcngettext +#endif +extern char *dcngettext (const char *__domainname, + const char *__msgid1, const char *__msgid2, + unsigned long int __n, int __category) + _INTL_ASM (libintl_dcngettext); +#endif + + +/* Set the current default message catalog to DOMAINNAME. + If DOMAINNAME is null, return the current default. + If DOMAINNAME is "", reset to the default of "messages". */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_textdomain (const char *__domainname); +static inline char *textdomain (const char *__domainname) +{ + return libintl_textdomain (__domainname); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define textdomain libintl_textdomain +#endif +extern char *textdomain (const char *__domainname) + _INTL_ASM (libintl_textdomain); +#endif + +/* Specify that the DOMAINNAME message catalog will be found + in DIRNAME rather than in the system locale data base. */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_bindtextdomain (const char *__domainname, + const char *__dirname); +static inline char *bindtextdomain (const char *__domainname, + const char *__dirname) +{ + return libintl_bindtextdomain (__domainname, __dirname); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define bindtextdomain libintl_bindtextdomain +#endif +extern char *bindtextdomain (const char *__domainname, const char *__dirname) + _INTL_ASM (libintl_bindtextdomain); +#endif + +/* Specify the character encoding in which the messages from the + DOMAINNAME message catalog will be returned. */ +#ifdef _INTL_REDIRECT_INLINE +extern char *libintl_bind_textdomain_codeset (const char *__domainname, + const char *__codeset); +static inline char *bind_textdomain_codeset (const char *__domainname, + const char *__codeset) +{ + return libintl_bind_textdomain_codeset (__domainname, __codeset); +} +#else +#ifdef _INTL_REDIRECT_MACROS +# define bind_textdomain_codeset libintl_bind_textdomain_codeset +#endif +extern char *bind_textdomain_codeset (const char *__domainname, + const char *__codeset) + _INTL_ASM (libintl_bind_textdomain_codeset); +#endif + + +/* Support for format strings with positions in *printf(), following the + POSIX/XSI specification. + Note: These replacements for the *printf() functions are visible only + in source files that #include or #include "gettext.h". + Packages that use *printf() in source files that don't refer to _() + or gettext() but for which the format string could be the return value + of _() or gettext() need to add this #include. Oh well. */ + +#if !@HAVE_POSIX_PRINTF@ + +#include +#include + +/* Get va_list. */ +#if __STDC__ || defined __cplusplus || defined _MSC_VER +# include +#else +# include +#endif + +#undef fprintf +#define fprintf libintl_fprintf +extern int fprintf (FILE *, const char *, ...); +#undef vfprintf +#define vfprintf libintl_vfprintf +extern int vfprintf (FILE *, const char *, va_list); + +#undef printf +#define printf libintl_printf +extern int printf (const char *, ...); +#undef vprintf +#define vprintf libintl_vprintf +extern int vprintf (const char *, va_list); + +#undef sprintf +#define sprintf libintl_sprintf +extern int sprintf (char *, const char *, ...); +#undef vsprintf +#define vsprintf libintl_vsprintf +extern int vsprintf (char *, const char *, va_list); + +#if @HAVE_SNPRINTF@ + +#undef snprintf +#define snprintf libintl_snprintf +extern int snprintf (char *, size_t, const char *, ...); +#undef vsnprintf +#define vsnprintf libintl_vsnprintf +extern int vsnprintf (char *, size_t, const char *, va_list); + +#endif + +#if @HAVE_ASPRINTF@ + +#undef asprintf +#define asprintf libintl_asprintf +extern int asprintf (char **, const char *, ...); +#undef vasprintf +#define vasprintf libintl_vasprintf +extern int vasprintf (char **, const char *, va_list); + +#endif + +#if @HAVE_WPRINTF@ + +#undef fwprintf +#define fwprintf libintl_fwprintf +extern int fwprintf (FILE *, const wchar_t *, ...); +#undef vfwprintf +#define vfwprintf libintl_vfwprintf +extern int vfwprintf (FILE *, const wchar_t *, va_list); + +#undef wprintf +#define wprintf libintl_wprintf +extern int wprintf (const wchar_t *, ...); +#undef vwprintf +#define vwprintf libintl_vwprintf +extern int vwprintf (const wchar_t *, va_list); + +#undef swprintf +#define swprintf libintl_swprintf +extern int swprintf (wchar_t *, size_t, const wchar_t *, ...); +#undef vswprintf +#define vswprintf libintl_vswprintf +extern int vswprintf (wchar_t *, size_t, const wchar_t *, va_list); + +#endif + +#endif + + +/* Support for relocatable packages. */ + +/* Sets the original and the current installation prefix of the package. + Relocation simply replaces a pathname starting with the original prefix + by the corresponding pathname with the current prefix instead. Both + prefixes should be directory names without trailing slash (i.e. use "" + instead of "/"). */ +#define libintl_set_relocation_prefix libintl_set_relocation_prefix +extern void + libintl_set_relocation_prefix (const char *orig_prefix, + const char *curr_prefix); + + +#ifdef __cplusplus +} +#endif + +#endif /* libintl.h */ diff --git a/intl/loadinfo.h b/intl/loadinfo.h new file mode 100644 index 0000000..65e5ebd --- /dev/null +++ b/intl/loadinfo.h @@ -0,0 +1,145 @@ +/* Copyright (C) 1996-1999, 2000-2003 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 1996. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _LOADINFO_H +#define _LOADINFO_H 1 + +/* Declarations of locale dependent catalog lookup functions. + Implemented in + + localealias.c Possibly replace a locale name by another. + explodename.c Split a locale name into its various fields. + l10nflist.c Generate a list of filenames of possible message catalogs. + finddomain.c Find and open the relevant message catalogs. + + The main function _nl_find_domain() in finddomain.c is declared + in gettextP.h. + */ + +#ifndef internal_function +# define internal_function +#endif + +/* Tell the compiler when a conditional or integer expression is + almost always true or almost always false. */ +#ifndef HAVE_BUILTIN_EXPECT +# define __builtin_expect(expr, val) (expr) +#endif + +/* Separator in PATH like lists of pathnames. */ +#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ + /* Win32, OS/2, DOS */ +# define PATH_SEPARATOR ';' +#else + /* Unix */ +# define PATH_SEPARATOR ':' +#endif + +/* Encoding of locale name parts. */ +#define CEN_REVISION 1 +#define CEN_SPONSOR 2 +#define CEN_SPECIAL 4 +#define XPG_NORM_CODESET 8 +#define XPG_CODESET 16 +#define TERRITORY 32 +#define CEN_AUDIENCE 64 +#define XPG_MODIFIER 128 + +#define CEN_SPECIFIC (CEN_REVISION|CEN_SPONSOR|CEN_SPECIAL|CEN_AUDIENCE) +#define XPG_SPECIFIC (XPG_CODESET|XPG_NORM_CODESET|XPG_MODIFIER) + + +struct loaded_l10nfile +{ + const char *filename; + int decided; + + const void *data; + + struct loaded_l10nfile *next; + struct loaded_l10nfile *successor[1]; +}; + + +/* Normalize codeset name. There is no standard for the codeset + names. Normalization allows the user to use any of the common + names. The return value is dynamically allocated and has to be + freed by the caller. */ +extern const char *_nl_normalize_codeset (const char *codeset, + size_t name_len); + +/* Lookup a locale dependent file. + *L10NFILE_LIST denotes a pool of lookup results of locale dependent + files of the same kind, sorted in decreasing order of ->filename. + DIRLIST and DIRLIST_LEN are an argz list of directories in which to + look, containing at least one directory (i.e. DIRLIST_LEN > 0). + MASK, LANGUAGE, TERRITORY, CODESET, NORMALIZED_CODESET, MODIFIER, + SPECIAL, SPONSOR, REVISION are the pieces of the locale name, as + produced by _nl_explode_name(). FILENAME is the filename suffix. + The return value is the lookup result, either found in *L10NFILE_LIST, + or - if DO_ALLOCATE is nonzero - freshly allocated, or possibly NULL. + If the return value is non-NULL, it is added to *L10NFILE_LIST, and + its ->next field denotes the chaining inside *L10NFILE_LIST, and + furthermore its ->successor[] field contains a list of other lookup + results from which this lookup result inherits. */ +extern struct loaded_l10nfile * +_nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, + const char *dirlist, size_t dirlist_len, int mask, + const char *language, const char *territory, + const char *codeset, const char *normalized_codeset, + const char *modifier, const char *special, + const char *sponsor, const char *revision, + const char *filename, int do_allocate); + +/* Lookup the real locale name for a locale alias NAME, or NULL if + NAME is not a locale alias (but possibly a real locale name). + The return value is statically allocated and must not be freed. */ +extern const char *_nl_expand_alias (const char *name); + +/* Split a locale name NAME into its pieces: language, modifier, + territory, codeset, special, sponsor, revision. + NAME gets destructively modified: NUL bytes are inserted here and + there. *LANGUAGE gets assigned NAME. Each of *MODIFIER, *TERRITORY, + *CODESET, *SPECIAL, *SPONSOR, *REVISION gets assigned either a + pointer into the old NAME string, or NULL. *NORMALIZED_CODESET + gets assigned the expanded *CODESET, if it is different from *CODESET; + this one is dynamically allocated and has to be freed by the caller. + The return value is a bitmask, where each bit corresponds to one + filled-in value: + XPG_MODIFIER, CEN_AUDIENCE for *MODIFIER, + TERRITORY for *TERRITORY, + XPG_CODESET for *CODESET, + XPG_NORM_CODESET for *NORMALIZED_CODESET, + CEN_SPECIAL for *SPECIAL, + CEN_SPONSOR for *SPONSOR, + CEN_REVISION for *REVISION. + */ +extern int _nl_explode_name (char *name, const char **language, + const char **modifier, const char **territory, + const char **codeset, + const char **normalized_codeset, + const char **special, const char **sponsor, + const char **revision); + +/* Split a locale name NAME into a leading language part and all the + rest. Return a pointer to the first character after the language, + i.e. to the first byte of the rest. */ +extern char *_nl_find_language (const char *name); + +#endif /* loadinfo.h */ diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c new file mode 100644 index 0000000..99c51b4 --- /dev/null +++ b/intl/loadmsgcat.c @@ -0,0 +1,1420 @@ +/* Load needed message catalogs. + Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Tell glibc's to provide a prototype for mempcpy(). + This must come before because may include + , and once has been included, it's too late. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include +#include +#include + +#ifdef __GNUC__ +# undef alloca +# define alloca __builtin_alloca +# define HAVE_ALLOCA 1 +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if defined HAVE_ALLOCA_H || defined _LIBC +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +#include +#include + +#if defined HAVE_UNISTD_H || defined _LIBC +# include +#endif + +#ifdef _LIBC +# include +# include +#endif + +#if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \ + || (defined _LIBC && defined _POSIX_MAPPED_FILES) +# include +# undef HAVE_MMAP +# define HAVE_MMAP 1 +#else +# undef HAVE_MMAP +#endif + +#if defined HAVE_STDINT_H_WITH_UINTMAX || defined _LIBC +# include +#endif +#if defined HAVE_INTTYPES_H || defined _LIBC +# include +#endif + +#include "gmo.h" +#include "gettextP.h" +#include "hash-string.h" +#include "plural-exp.h" + +#ifdef _LIBC +# include "../locale/localeinfo.h" +#endif + +/* Provide fallback values for macros that ought to be defined in . + Note that our fallback values need not be literal strings, because we don't + use them with preprocessor string concatenation. */ +#if !defined PRId8 || PRI_MACROS_BROKEN +# undef PRId8 +# define PRId8 "d" +#endif +#if !defined PRIi8 || PRI_MACROS_BROKEN +# undef PRIi8 +# define PRIi8 "i" +#endif +#if !defined PRIo8 || PRI_MACROS_BROKEN +# undef PRIo8 +# define PRIo8 "o" +#endif +#if !defined PRIu8 || PRI_MACROS_BROKEN +# undef PRIu8 +# define PRIu8 "u" +#endif +#if !defined PRIx8 || PRI_MACROS_BROKEN +# undef PRIx8 +# define PRIx8 "x" +#endif +#if !defined PRIX8 || PRI_MACROS_BROKEN +# undef PRIX8 +# define PRIX8 "X" +#endif +#if !defined PRId16 || PRI_MACROS_BROKEN +# undef PRId16 +# define PRId16 "d" +#endif +#if !defined PRIi16 || PRI_MACROS_BROKEN +# undef PRIi16 +# define PRIi16 "i" +#endif +#if !defined PRIo16 || PRI_MACROS_BROKEN +# undef PRIo16 +# define PRIo16 "o" +#endif +#if !defined PRIu16 || PRI_MACROS_BROKEN +# undef PRIu16 +# define PRIu16 "u" +#endif +#if !defined PRIx16 || PRI_MACROS_BROKEN +# undef PRIx16 +# define PRIx16 "x" +#endif +#if !defined PRIX16 || PRI_MACROS_BROKEN +# undef PRIX16 +# define PRIX16 "X" +#endif +#if !defined PRId32 || PRI_MACROS_BROKEN +# undef PRId32 +# define PRId32 "d" +#endif +#if !defined PRIi32 || PRI_MACROS_BROKEN +# undef PRIi32 +# define PRIi32 "i" +#endif +#if !defined PRIo32 || PRI_MACROS_BROKEN +# undef PRIo32 +# define PRIo32 "o" +#endif +#if !defined PRIu32 || PRI_MACROS_BROKEN +# undef PRIu32 +# define PRIu32 "u" +#endif +#if !defined PRIx32 || PRI_MACROS_BROKEN +# undef PRIx32 +# define PRIx32 "x" +#endif +#if !defined PRIX32 || PRI_MACROS_BROKEN +# undef PRIX32 +# define PRIX32 "X" +#endif +#if !defined PRId64 || PRI_MACROS_BROKEN +# undef PRId64 +# define PRId64 (sizeof (long) == 8 ? "ld" : "lld") +#endif +#if !defined PRIi64 || PRI_MACROS_BROKEN +# undef PRIi64 +# define PRIi64 (sizeof (long) == 8 ? "li" : "lli") +#endif +#if !defined PRIo64 || PRI_MACROS_BROKEN +# undef PRIo64 +# define PRIo64 (sizeof (long) == 8 ? "lo" : "llo") +#endif +#if !defined PRIu64 || PRI_MACROS_BROKEN +# undef PRIu64 +# define PRIu64 (sizeof (long) == 8 ? "lu" : "llu") +#endif +#if !defined PRIx64 || PRI_MACROS_BROKEN +# undef PRIx64 +# define PRIx64 (sizeof (long) == 8 ? "lx" : "llx") +#endif +#if !defined PRIX64 || PRI_MACROS_BROKEN +# undef PRIX64 +# define PRIX64 (sizeof (long) == 8 ? "lX" : "llX") +#endif +#if !defined PRIdLEAST8 || PRI_MACROS_BROKEN +# undef PRIdLEAST8 +# define PRIdLEAST8 "d" +#endif +#if !defined PRIiLEAST8 || PRI_MACROS_BROKEN +# undef PRIiLEAST8 +# define PRIiLEAST8 "i" +#endif +#if !defined PRIoLEAST8 || PRI_MACROS_BROKEN +# undef PRIoLEAST8 +# define PRIoLEAST8 "o" +#endif +#if !defined PRIuLEAST8 || PRI_MACROS_BROKEN +# undef PRIuLEAST8 +# define PRIuLEAST8 "u" +#endif +#if !defined PRIxLEAST8 || PRI_MACROS_BROKEN +# undef PRIxLEAST8 +# define PRIxLEAST8 "x" +#endif +#if !defined PRIXLEAST8 || PRI_MACROS_BROKEN +# undef PRIXLEAST8 +# define PRIXLEAST8 "X" +#endif +#if !defined PRIdLEAST16 || PRI_MACROS_BROKEN +# undef PRIdLEAST16 +# define PRIdLEAST16 "d" +#endif +#if !defined PRIiLEAST16 || PRI_MACROS_BROKEN +# undef PRIiLEAST16 +# define PRIiLEAST16 "i" +#endif +#if !defined PRIoLEAST16 || PRI_MACROS_BROKEN +# undef PRIoLEAST16 +# define PRIoLEAST16 "o" +#endif +#if !defined PRIuLEAST16 || PRI_MACROS_BROKEN +# undef PRIuLEAST16 +# define PRIuLEAST16 "u" +#endif +#if !defined PRIxLEAST16 || PRI_MACROS_BROKEN +# undef PRIxLEAST16 +# define PRIxLEAST16 "x" +#endif +#if !defined PRIXLEAST16 || PRI_MACROS_BROKEN +# undef PRIXLEAST16 +# define PRIXLEAST16 "X" +#endif +#if !defined PRIdLEAST32 || PRI_MACROS_BROKEN +# undef PRIdLEAST32 +# define PRIdLEAST32 "d" +#endif +#if !defined PRIiLEAST32 || PRI_MACROS_BROKEN +# undef PRIiLEAST32 +# define PRIiLEAST32 "i" +#endif +#if !defined PRIoLEAST32 || PRI_MACROS_BROKEN +# undef PRIoLEAST32 +# define PRIoLEAST32 "o" +#endif +#if !defined PRIuLEAST32 || PRI_MACROS_BROKEN +# undef PRIuLEAST32 +# define PRIuLEAST32 "u" +#endif +#if !defined PRIxLEAST32 || PRI_MACROS_BROKEN +# undef PRIxLEAST32 +# define PRIxLEAST32 "x" +#endif +#if !defined PRIXLEAST32 || PRI_MACROS_BROKEN +# undef PRIXLEAST32 +# define PRIXLEAST32 "X" +#endif +#if !defined PRIdLEAST64 || PRI_MACROS_BROKEN +# undef PRIdLEAST64 +# define PRIdLEAST64 PRId64 +#endif +#if !defined PRIiLEAST64 || PRI_MACROS_BROKEN +# undef PRIiLEAST64 +# define PRIiLEAST64 PRIi64 +#endif +#if !defined PRIoLEAST64 || PRI_MACROS_BROKEN +# undef PRIoLEAST64 +# define PRIoLEAST64 PRIo64 +#endif +#if !defined PRIuLEAST64 || PRI_MACROS_BROKEN +# undef PRIuLEAST64 +# define PRIuLEAST64 PRIu64 +#endif +#if !defined PRIxLEAST64 || PRI_MACROS_BROKEN +# undef PRIxLEAST64 +# define PRIxLEAST64 PRIx64 +#endif +#if !defined PRIXLEAST64 || PRI_MACROS_BROKEN +# undef PRIXLEAST64 +# define PRIXLEAST64 PRIX64 +#endif +#if !defined PRIdFAST8 || PRI_MACROS_BROKEN +# undef PRIdFAST8 +# define PRIdFAST8 "d" +#endif +#if !defined PRIiFAST8 || PRI_MACROS_BROKEN +# undef PRIiFAST8 +# define PRIiFAST8 "i" +#endif +#if !defined PRIoFAST8 || PRI_MACROS_BROKEN +# undef PRIoFAST8 +# define PRIoFAST8 "o" +#endif +#if !defined PRIuFAST8 || PRI_MACROS_BROKEN +# undef PRIuFAST8 +# define PRIuFAST8 "u" +#endif +#if !defined PRIxFAST8 || PRI_MACROS_BROKEN +# undef PRIxFAST8 +# define PRIxFAST8 "x" +#endif +#if !defined PRIXFAST8 || PRI_MACROS_BROKEN +# undef PRIXFAST8 +# define PRIXFAST8 "X" +#endif +#if !defined PRIdFAST16 || PRI_MACROS_BROKEN +# undef PRIdFAST16 +# define PRIdFAST16 "d" +#endif +#if !defined PRIiFAST16 || PRI_MACROS_BROKEN +# undef PRIiFAST16 +# define PRIiFAST16 "i" +#endif +#if !defined PRIoFAST16 || PRI_MACROS_BROKEN +# undef PRIoFAST16 +# define PRIoFAST16 "o" +#endif +#if !defined PRIuFAST16 || PRI_MACROS_BROKEN +# undef PRIuFAST16 +# define PRIuFAST16 "u" +#endif +#if !defined PRIxFAST16 || PRI_MACROS_BROKEN +# undef PRIxFAST16 +# define PRIxFAST16 "x" +#endif +#if !defined PRIXFAST16 || PRI_MACROS_BROKEN +# undef PRIXFAST16 +# define PRIXFAST16 "X" +#endif +#if !defined PRIdFAST32 || PRI_MACROS_BROKEN +# undef PRIdFAST32 +# define PRIdFAST32 "d" +#endif +#if !defined PRIiFAST32 || PRI_MACROS_BROKEN +# undef PRIiFAST32 +# define PRIiFAST32 "i" +#endif +#if !defined PRIoFAST32 || PRI_MACROS_BROKEN +# undef PRIoFAST32 +# define PRIoFAST32 "o" +#endif +#if !defined PRIuFAST32 || PRI_MACROS_BROKEN +# undef PRIuFAST32 +# define PRIuFAST32 "u" +#endif +#if !defined PRIxFAST32 || PRI_MACROS_BROKEN +# undef PRIxFAST32 +# define PRIxFAST32 "x" +#endif +#if !defined PRIXFAST32 || PRI_MACROS_BROKEN +# undef PRIXFAST32 +# define PRIXFAST32 "X" +#endif +#if !defined PRIdFAST64 || PRI_MACROS_BROKEN +# undef PRIdFAST64 +# define PRIdFAST64 PRId64 +#endif +#if !defined PRIiFAST64 || PRI_MACROS_BROKEN +# undef PRIiFAST64 +# define PRIiFAST64 PRIi64 +#endif +#if !defined PRIoFAST64 || PRI_MACROS_BROKEN +# undef PRIoFAST64 +# define PRIoFAST64 PRIo64 +#endif +#if !defined PRIuFAST64 || PRI_MACROS_BROKEN +# undef PRIuFAST64 +# define PRIuFAST64 PRIu64 +#endif +#if !defined PRIxFAST64 || PRI_MACROS_BROKEN +# undef PRIxFAST64 +# define PRIxFAST64 PRIx64 +#endif +#if !defined PRIXFAST64 || PRI_MACROS_BROKEN +# undef PRIXFAST64 +# define PRIXFAST64 PRIX64 +#endif +#if !defined PRIdMAX || PRI_MACROS_BROKEN +# undef PRIdMAX +# define PRIdMAX (sizeof (uintmax_t) == sizeof (long) ? "ld" : "lld") +#endif +#if !defined PRIiMAX || PRI_MACROS_BROKEN +# undef PRIiMAX +# define PRIiMAX (sizeof (uintmax_t) == sizeof (long) ? "li" : "lli") +#endif +#if !defined PRIoMAX || PRI_MACROS_BROKEN +# undef PRIoMAX +# define PRIoMAX (sizeof (uintmax_t) == sizeof (long) ? "lo" : "llo") +#endif +#if !defined PRIuMAX || PRI_MACROS_BROKEN +# undef PRIuMAX +# define PRIuMAX (sizeof (uintmax_t) == sizeof (long) ? "lu" : "llu") +#endif +#if !defined PRIxMAX || PRI_MACROS_BROKEN +# undef PRIxMAX +# define PRIxMAX (sizeof (uintmax_t) == sizeof (long) ? "lx" : "llx") +#endif +#if !defined PRIXMAX || PRI_MACROS_BROKEN +# undef PRIXMAX +# define PRIXMAX (sizeof (uintmax_t) == sizeof (long) ? "lX" : "llX") +#endif +#if !defined PRIdPTR || PRI_MACROS_BROKEN +# undef PRIdPTR +# define PRIdPTR \ + (sizeof (void *) == sizeof (long) ? "ld" : \ + sizeof (void *) == sizeof (int) ? "d" : \ + "lld") +#endif +#if !defined PRIiPTR || PRI_MACROS_BROKEN +# undef PRIiPTR +# define PRIiPTR \ + (sizeof (void *) == sizeof (long) ? "li" : \ + sizeof (void *) == sizeof (int) ? "i" : \ + "lli") +#endif +#if !defined PRIoPTR || PRI_MACROS_BROKEN +# undef PRIoPTR +# define PRIoPTR \ + (sizeof (void *) == sizeof (long) ? "lo" : \ + sizeof (void *) == sizeof (int) ? "o" : \ + "llo") +#endif +#if !defined PRIuPTR || PRI_MACROS_BROKEN +# undef PRIuPTR +# define PRIuPTR \ + (sizeof (void *) == sizeof (long) ? "lu" : \ + sizeof (void *) == sizeof (int) ? "u" : \ + "llu") +#endif +#if !defined PRIxPTR || PRI_MACROS_BROKEN +# undef PRIxPTR +# define PRIxPTR \ + (sizeof (void *) == sizeof (long) ? "lx" : \ + sizeof (void *) == sizeof (int) ? "x" : \ + "llx") +#endif +#if !defined PRIXPTR || PRI_MACROS_BROKEN +# undef PRIXPTR +# define PRIXPTR \ + (sizeof (void *) == sizeof (long) ? "lX" : \ + sizeof (void *) == sizeof (int) ? "X" : \ + "llX") +#endif + +/* @@ end of prolog @@ */ + +#ifdef _LIBC +/* Rename the non ISO C functions. This is required by the standard + because some ISO C functions will require linking with this object + file and the name space must not be polluted. */ +# define open __open +# define close __close +# define read __read +# define mmap __mmap +# define munmap __munmap +#endif + +/* For those losing systems which don't have `alloca' we have to add + some additional code emulating it. */ +#ifdef HAVE_ALLOCA +# define freea(p) /* nothing */ +#else +# define alloca(n) malloc (n) +# define freea(p) free (p) +#endif + +/* For systems that distinguish between text and binary I/O. + O_BINARY is usually declared in . */ +#if !defined O_BINARY && defined _O_BINARY + /* For MSC-compatible compilers. */ +# define O_BINARY _O_BINARY +# define O_TEXT _O_TEXT +#endif +#ifdef __BEOS__ + /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ +# undef O_BINARY +# undef O_TEXT +#endif +/* On reasonable systems, binary I/O is the default. */ +#ifndef O_BINARY +# define O_BINARY 0 +#endif + + +/* We need a sign, whether a new catalog was loaded, which can be associated + with all translations. This is important if the translations are + cached by one of GCC's features. */ +int _nl_msg_cat_cntr; + + +/* Expand a system dependent string segment. Return NULL if unsupported. */ +static const char * +get_sysdep_segment_value (const char *name) +{ + /* Test for an ISO C 99 section 7.8.1 format string directive. + Syntax: + P R I { d | i | o | u | x | X } + { { | LEAST | FAST } { 8 | 16 | 32 | 64 } | MAX | PTR } */ + /* We don't use a table of 14 times 6 'const char *' strings here, because + data relocations cost startup time. */ + if (name[0] == 'P' && name[1] == 'R' && name[2] == 'I') + { + if (name[3] == 'd' || name[3] == 'i' || name[3] == 'o' || name[3] == 'u' + || name[3] == 'x' || name[3] == 'X') + { + if (name[4] == '8' && name[5] == '\0') + { + if (name[3] == 'd') + return PRId8; + if (name[3] == 'i') + return PRIi8; + if (name[3] == 'o') + return PRIo8; + if (name[3] == 'u') + return PRIu8; + if (name[3] == 'x') + return PRIx8; + if (name[3] == 'X') + return PRIX8; + abort (); + } + if (name[4] == '1' && name[5] == '6' && name[6] == '\0') + { + if (name[3] == 'd') + return PRId16; + if (name[3] == 'i') + return PRIi16; + if (name[3] == 'o') + return PRIo16; + if (name[3] == 'u') + return PRIu16; + if (name[3] == 'x') + return PRIx16; + if (name[3] == 'X') + return PRIX16; + abort (); + } + if (name[4] == '3' && name[5] == '2' && name[6] == '\0') + { + if (name[3] == 'd') + return PRId32; + if (name[3] == 'i') + return PRIi32; + if (name[3] == 'o') + return PRIo32; + if (name[3] == 'u') + return PRIu32; + if (name[3] == 'x') + return PRIx32; + if (name[3] == 'X') + return PRIX32; + abort (); + } + if (name[4] == '6' && name[5] == '4' && name[6] == '\0') + { + if (name[3] == 'd') + return PRId64; + if (name[3] == 'i') + return PRIi64; + if (name[3] == 'o') + return PRIo64; + if (name[3] == 'u') + return PRIu64; + if (name[3] == 'x') + return PRIx64; + if (name[3] == 'X') + return PRIX64; + abort (); + } + if (name[4] == 'L' && name[5] == 'E' && name[6] == 'A' + && name[7] == 'S' && name[8] == 'T') + { + if (name[9] == '8' && name[10] == '\0') + { + if (name[3] == 'd') + return PRIdLEAST8; + if (name[3] == 'i') + return PRIiLEAST8; + if (name[3] == 'o') + return PRIoLEAST8; + if (name[3] == 'u') + return PRIuLEAST8; + if (name[3] == 'x') + return PRIxLEAST8; + if (name[3] == 'X') + return PRIXLEAST8; + abort (); + } + if (name[9] == '1' && name[10] == '6' && name[11] == '\0') + { + if (name[3] == 'd') + return PRIdLEAST16; + if (name[3] == 'i') + return PRIiLEAST16; + if (name[3] == 'o') + return PRIoLEAST16; + if (name[3] == 'u') + return PRIuLEAST16; + if (name[3] == 'x') + return PRIxLEAST16; + if (name[3] == 'X') + return PRIXLEAST16; + abort (); + } + if (name[9] == '3' && name[10] == '2' && name[11] == '\0') + { + if (name[3] == 'd') + return PRIdLEAST32; + if (name[3] == 'i') + return PRIiLEAST32; + if (name[3] == 'o') + return PRIoLEAST32; + if (name[3] == 'u') + return PRIuLEAST32; + if (name[3] == 'x') + return PRIxLEAST32; + if (name[3] == 'X') + return PRIXLEAST32; + abort (); + } + if (name[9] == '6' && name[10] == '4' && name[11] == '\0') + { + if (name[3] == 'd') + return PRIdLEAST64; + if (name[3] == 'i') + return PRIiLEAST64; + if (name[3] == 'o') + return PRIoLEAST64; + if (name[3] == 'u') + return PRIuLEAST64; + if (name[3] == 'x') + return PRIxLEAST64; + if (name[3] == 'X') + return PRIXLEAST64; + abort (); + } + } + if (name[4] == 'F' && name[5] == 'A' && name[6] == 'S' + && name[7] == 'T') + { + if (name[8] == '8' && name[9] == '\0') + { + if (name[3] == 'd') + return PRIdFAST8; + if (name[3] == 'i') + return PRIiFAST8; + if (name[3] == 'o') + return PRIoFAST8; + if (name[3] == 'u') + return PRIuFAST8; + if (name[3] == 'x') + return PRIxFAST8; + if (name[3] == 'X') + return PRIXFAST8; + abort (); + } + if (name[8] == '1' && name[9] == '6' && name[10] == '\0') + { + if (name[3] == 'd') + return PRIdFAST16; + if (name[3] == 'i') + return PRIiFAST16; + if (name[3] == 'o') + return PRIoFAST16; + if (name[3] == 'u') + return PRIuFAST16; + if (name[3] == 'x') + return PRIxFAST16; + if (name[3] == 'X') + return PRIXFAST16; + abort (); + } + if (name[8] == '3' && name[9] == '2' && name[10] == '\0') + { + if (name[3] == 'd') + return PRIdFAST32; + if (name[3] == 'i') + return PRIiFAST32; + if (name[3] == 'o') + return PRIoFAST32; + if (name[3] == 'u') + return PRIuFAST32; + if (name[3] == 'x') + return PRIxFAST32; + if (name[3] == 'X') + return PRIXFAST32; + abort (); + } + if (name[8] == '6' && name[9] == '4' && name[10] == '\0') + { + if (name[3] == 'd') + return PRIdFAST64; + if (name[3] == 'i') + return PRIiFAST64; + if (name[3] == 'o') + return PRIoFAST64; + if (name[3] == 'u') + return PRIuFAST64; + if (name[3] == 'x') + return PRIxFAST64; + if (name[3] == 'X') + return PRIXFAST64; + abort (); + } + } + if (name[4] == 'M' && name[5] == 'A' && name[6] == 'X' + && name[7] == '\0') + { + if (name[3] == 'd') + return PRIdMAX; + if (name[3] == 'i') + return PRIiMAX; + if (name[3] == 'o') + return PRIoMAX; + if (name[3] == 'u') + return PRIuMAX; + if (name[3] == 'x') + return PRIxMAX; + if (name[3] == 'X') + return PRIXMAX; + abort (); + } + if (name[4] == 'P' && name[5] == 'T' && name[6] == 'R' + && name[7] == '\0') + { + if (name[3] == 'd') + return PRIdPTR; + if (name[3] == 'i') + return PRIiPTR; + if (name[3] == 'o') + return PRIoPTR; + if (name[3] == 'u') + return PRIuPTR; + if (name[3] == 'x') + return PRIxPTR; + if (name[3] == 'X') + return PRIXPTR; + abort (); + } + } + } + /* Test for a glibc specific printf() format directive flag. */ + if (name[0] == 'I' && name[1] == '\0') + { +#if defined _LIBC || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) + /* The 'I' flag, in numeric format directives, replaces ASCII digits + with the 'outdigits' defined in the LC_CTYPE locale facet. This is + used for Farsi (Persian) and maybe Arabic. */ + return "I"; +#else + return ""; +#endif + } + /* Other system dependent strings are not valid. */ + return NULL; +} + +/* Initialize the codeset dependent parts of an opened message catalog. + Return the header entry. */ +const char * +internal_function +_nl_init_domain_conv (struct loaded_l10nfile *domain_file, + struct loaded_domain *domain, + struct binding *domainbinding) +{ + /* Find out about the character set the file is encoded with. + This can be found (in textual form) in the entry "". If this + entry does not exist or if this does not contain the `charset=' + information, we will assume the charset matches the one the + current locale and we don't have to perform any conversion. */ + char *nullentry; + size_t nullentrylen; + + /* Preinitialize fields, to avoid recursion during _nl_find_msg. */ + domain->codeset_cntr = + (domainbinding != NULL ? domainbinding->codeset_cntr : 0); +#ifdef _LIBC + domain->conv = (__gconv_t) -1; +#else +# if HAVE_ICONV + domain->conv = (iconv_t) -1; +# endif +#endif + domain->conv_tab = NULL; + + /* Get the header entry. */ + nullentry = _nl_find_msg (domain_file, domainbinding, "", &nullentrylen); + + if (nullentry != NULL) + { +#if defined _LIBC || HAVE_ICONV + const char *charsetstr; + + charsetstr = strstr (nullentry, "charset="); + if (charsetstr != NULL) + { + size_t len; + char *charset; + const char *outcharset; + + charsetstr += strlen ("charset="); + len = strcspn (charsetstr, " \t\n"); + + charset = (char *) alloca (len + 1); +# if defined _LIBC || HAVE_MEMPCPY + *((char *) mempcpy (charset, charsetstr, len)) = '\0'; +# else + memcpy (charset, charsetstr, len); + charset[len] = '\0'; +# endif + + /* The output charset should normally be determined by the + locale. But sometimes the locale is not used or not correctly + set up, so we provide a possibility for the user to override + this. Moreover, the value specified through + bind_textdomain_codeset overrides both. */ + if (domainbinding != NULL && domainbinding->codeset != NULL) + outcharset = domainbinding->codeset; + else + { + outcharset = getenv ("OUTPUT_CHARSET"); + if (outcharset == NULL || outcharset[0] == '\0') + { +# ifdef _LIBC + outcharset = _NL_CURRENT (LC_CTYPE, CODESET); +# else +# if HAVE_ICONV + extern const char *locale_charset (void); + outcharset = locale_charset (); +# endif +# endif + } + } + +# ifdef _LIBC + /* We always want to use transliteration. */ + outcharset = norm_add_slashes (outcharset, "TRANSLIT"); + charset = norm_add_slashes (charset, NULL); + if (__gconv_open (outcharset, charset, &domain->conv, + GCONV_AVOID_NOCONV) + != __GCONV_OK) + domain->conv = (__gconv_t) -1; +# else +# if HAVE_ICONV + /* When using GNU libc >= 2.2 or GNU libiconv >= 1.5, + we want to use transliteration. */ +# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || __GLIBC__ > 2 \ + || _LIBICONV_VERSION >= 0x0105 + if (strchr (outcharset, '/') == NULL) + { + char *tmp; + + len = strlen (outcharset); + tmp = (char *) alloca (len + 10 + 1); + memcpy (tmp, outcharset, len); + memcpy (tmp + len, "//TRANSLIT", 10 + 1); + outcharset = tmp; + + domain->conv = iconv_open (outcharset, charset); + + freea (outcharset); + } + else +# endif + domain->conv = iconv_open (outcharset, charset); +# endif +# endif + + freea (charset); + } +#endif /* _LIBC || HAVE_ICONV */ + } + + return nullentry; +} + +/* Frees the codeset dependent parts of an opened message catalog. */ +void +internal_function +_nl_free_domain_conv (struct loaded_domain *domain) +{ + if (domain->conv_tab != NULL && domain->conv_tab != (char **) -1) + free (domain->conv_tab); + +#ifdef _LIBC + if (domain->conv != (__gconv_t) -1) + __gconv_close (domain->conv); +#else +# if HAVE_ICONV + if (domain->conv != (iconv_t) -1) + iconv_close (domain->conv); +# endif +#endif +} + +/* Load the message catalogs specified by FILENAME. If it is no valid + message catalog do nothing. */ +void +internal_function +_nl_load_domain (struct loaded_l10nfile *domain_file, + struct binding *domainbinding) +{ + int fd; + size_t size; +#ifdef _LIBC + struct stat64 st; +#else + struct stat st; +#endif + struct mo_file_header *data = (struct mo_file_header *) -1; + int use_mmap = 0; + struct loaded_domain *domain; + int revision; + const char *nullentry; + + domain_file->decided = 1; + domain_file->data = NULL; + + /* Note that it would be useless to store domainbinding in domain_file + because domainbinding might be == NULL now but != NULL later (after + a call to bind_textdomain_codeset). */ + + /* If the record does not represent a valid locale the FILENAME + might be NULL. This can happen when according to the given + specification the locale file name is different for XPG and CEN + syntax. */ + if (domain_file->filename == NULL) + return; + + /* Try to open the addressed file. */ + fd = open (domain_file->filename, O_RDONLY | O_BINARY); + if (fd == -1) + return; + + /* We must know about the size of the file. */ + if ( +#ifdef _LIBC + __builtin_expect (fstat64 (fd, &st) != 0, 0) +#else + __builtin_expect (fstat (fd, &st) != 0, 0) +#endif + || __builtin_expect ((size = (size_t) st.st_size) != st.st_size, 0) + || __builtin_expect (size < sizeof (struct mo_file_header), 0)) + { + /* Something went wrong. */ + close (fd); + return; + } + +#ifdef HAVE_MMAP + /* Now we are ready to load the file. If mmap() is available we try + this first. If not available or it failed we try to load it. */ + data = (struct mo_file_header *) mmap (NULL, size, PROT_READ, + MAP_PRIVATE, fd, 0); + + if (__builtin_expect (data != (struct mo_file_header *) -1, 1)) + { + /* mmap() call was successful. */ + close (fd); + use_mmap = 1; + } +#endif + + /* If the data is not yet available (i.e. mmap'ed) we try to load + it manually. */ + if (data == (struct mo_file_header *) -1) + { + size_t to_read; + char *read_ptr; + + data = (struct mo_file_header *) malloc (size); + if (data == NULL) + return; + + to_read = size; + read_ptr = (char *) data; + do + { + long int nb = (long int) read (fd, read_ptr, to_read); + if (nb <= 0) + { +#ifdef EINTR + if (nb == -1 && errno == EINTR) + continue; +#endif + close (fd); + return; + } + read_ptr += nb; + to_read -= nb; + } + while (to_read > 0); + + close (fd); + } + + /* Using the magic number we can test whether it really is a message + catalog file. */ + if (__builtin_expect (data->magic != _MAGIC && data->magic != _MAGIC_SWAPPED, + 0)) + { + /* The magic number is wrong: not a message catalog file. */ +#ifdef HAVE_MMAP + if (use_mmap) + munmap ((caddr_t) data, size); + else +#endif + free (data); + return; + } + + domain = (struct loaded_domain *) malloc (sizeof (struct loaded_domain)); + if (domain == NULL) + return; + domain_file->data = domain; + + domain->data = (char *) data; + domain->use_mmap = use_mmap; + domain->mmap_size = size; + domain->must_swap = data->magic != _MAGIC; + domain->malloced = NULL; + + /* Fill in the information about the available tables. */ + revision = W (domain->must_swap, data->revision); + /* We support only the major revisions 0 and 1. */ + switch (revision >> 16) + { + case 0: + case 1: + domain->nstrings = W (domain->must_swap, data->nstrings); + domain->orig_tab = (const struct string_desc *) + ((char *) data + W (domain->must_swap, data->orig_tab_offset)); + domain->trans_tab = (const struct string_desc *) + ((char *) data + W (domain->must_swap, data->trans_tab_offset)); + domain->hash_size = W (domain->must_swap, data->hash_tab_size); + domain->hash_tab = + (domain->hash_size > 2 + ? (const nls_uint32 *) + ((char *) data + W (domain->must_swap, data->hash_tab_offset)) + : NULL); + domain->must_swap_hash_tab = domain->must_swap; + + /* Now dispatch on the minor revision. */ + switch (revision & 0xffff) + { + case 0: + domain->n_sysdep_strings = 0; + domain->orig_sysdep_tab = NULL; + domain->trans_sysdep_tab = NULL; + break; + case 1: + default: + { + nls_uint32 n_sysdep_strings; + + if (domain->hash_tab == NULL) + /* This is invalid. These minor revisions need a hash table. */ + goto invalid; + + n_sysdep_strings = + W (domain->must_swap, data->n_sysdep_strings); + if (n_sysdep_strings > 0) + { + nls_uint32 n_sysdep_segments; + const struct sysdep_segment *sysdep_segments; + const char **sysdep_segment_values; + const nls_uint32 *orig_sysdep_tab; + const nls_uint32 *trans_sysdep_tab; + nls_uint32 n_inmem_sysdep_strings; + size_t memneed; + char *mem; + struct sysdep_string_desc *inmem_orig_sysdep_tab; + struct sysdep_string_desc *inmem_trans_sysdep_tab; + nls_uint32 *inmem_hash_tab; + unsigned int i, j; + + /* Get the values of the system dependent segments. */ + n_sysdep_segments = + W (domain->must_swap, data->n_sysdep_segments); + sysdep_segments = (const struct sysdep_segment *) + ((char *) data + + W (domain->must_swap, data->sysdep_segments_offset)); + sysdep_segment_values = + alloca (n_sysdep_segments * sizeof (const char *)); + for (i = 0; i < n_sysdep_segments; i++) + { + const char *name = + (char *) data + + W (domain->must_swap, sysdep_segments[i].offset); + nls_uint32 namelen = + W (domain->must_swap, sysdep_segments[i].length); + + if (!(namelen > 0 && name[namelen - 1] == '\0')) + { + freea (sysdep_segment_values); + goto invalid; + } + + sysdep_segment_values[i] = get_sysdep_segment_value (name); + } + + orig_sysdep_tab = (const nls_uint32 *) + ((char *) data + + W (domain->must_swap, data->orig_sysdep_tab_offset)); + trans_sysdep_tab = (const nls_uint32 *) + ((char *) data + + W (domain->must_swap, data->trans_sysdep_tab_offset)); + + /* Compute the amount of additional memory needed for the + system dependent strings and the augmented hash table. + At the same time, also drop string pairs which refer to + an undefined system dependent segment. */ + n_inmem_sysdep_strings = 0; + memneed = domain->hash_size * sizeof (nls_uint32); + for (i = 0; i < n_sysdep_strings; i++) + { + int valid = 1; + size_t needs[2]; + + for (j = 0; j < 2; j++) + { + const struct sysdep_string *sysdep_string = + (const struct sysdep_string *) + ((char *) data + + W (domain->must_swap, + j == 0 + ? orig_sysdep_tab[i] + : trans_sysdep_tab[i])); + size_t need = 0; + const struct segment_pair *p = sysdep_string->segments; + + if (W (domain->must_swap, p->sysdepref) != SEGMENTS_END) + for (p = sysdep_string->segments;; p++) + { + nls_uint32 sysdepref; + + need += W (domain->must_swap, p->segsize); + + sysdepref = W (domain->must_swap, p->sysdepref); + if (sysdepref == SEGMENTS_END) + break; + + if (sysdepref >= n_sysdep_segments) + { + /* Invalid. */ + freea (sysdep_segment_values); + goto invalid; + } + + if (sysdep_segment_values[sysdepref] == NULL) + { + /* This particular string pair is invalid. */ + valid = 0; + break; + } + + need += strlen (sysdep_segment_values[sysdepref]); + } + + needs[j] = need; + if (!valid) + break; + } + + if (valid) + { + n_inmem_sysdep_strings++; + memneed += needs[0] + needs[1]; + } + } + memneed += 2 * n_inmem_sysdep_strings + * sizeof (struct sysdep_string_desc); + + if (n_inmem_sysdep_strings > 0) + { + unsigned int k; + + /* Allocate additional memory. */ + mem = (char *) malloc (memneed); + if (mem == NULL) + goto invalid; + + domain->malloced = mem; + inmem_orig_sysdep_tab = (struct sysdep_string_desc *) mem; + mem += n_inmem_sysdep_strings + * sizeof (struct sysdep_string_desc); + inmem_trans_sysdep_tab = (struct sysdep_string_desc *) mem; + mem += n_inmem_sysdep_strings + * sizeof (struct sysdep_string_desc); + inmem_hash_tab = (nls_uint32 *) mem; + mem += domain->hash_size * sizeof (nls_uint32); + + /* Compute the system dependent strings. */ + k = 0; + for (i = 0; i < n_sysdep_strings; i++) + { + int valid = 1; + + for (j = 0; j < 2; j++) + { + const struct sysdep_string *sysdep_string = + (const struct sysdep_string *) + ((char *) data + + W (domain->must_swap, + j == 0 + ? orig_sysdep_tab[i] + : trans_sysdep_tab[i])); + const struct segment_pair *p = + sysdep_string->segments; + + if (W (domain->must_swap, p->sysdepref) + != SEGMENTS_END) + for (p = sysdep_string->segments;; p++) + { + nls_uint32 sysdepref; + + sysdepref = + W (domain->must_swap, p->sysdepref); + if (sysdepref == SEGMENTS_END) + break; + + if (sysdep_segment_values[sysdepref] == NULL) + { + /* This particular string pair is + invalid. */ + valid = 0; + break; + } + } + + if (!valid) + break; + } + + if (valid) + { + for (j = 0; j < 2; j++) + { + const struct sysdep_string *sysdep_string = + (const struct sysdep_string *) + ((char *) data + + W (domain->must_swap, + j == 0 + ? orig_sysdep_tab[i] + : trans_sysdep_tab[i])); + const char *static_segments = + (char *) data + + W (domain->must_swap, sysdep_string->offset); + const struct segment_pair *p = + sysdep_string->segments; + + /* Concatenate the segments, and fill + inmem_orig_sysdep_tab[k] (for j == 0) and + inmem_trans_sysdep_tab[k] (for j == 1). */ + + struct sysdep_string_desc *inmem_tab_entry = + (j == 0 + ? inmem_orig_sysdep_tab + : inmem_trans_sysdep_tab) + + k; + + if (W (domain->must_swap, p->sysdepref) + == SEGMENTS_END) + { + /* Only one static segment. */ + inmem_tab_entry->length = + W (domain->must_swap, p->segsize); + inmem_tab_entry->pointer = static_segments; + } + else + { + inmem_tab_entry->pointer = mem; + + for (p = sysdep_string->segments;; p++) + { + nls_uint32 segsize = + W (domain->must_swap, p->segsize); + nls_uint32 sysdepref = + W (domain->must_swap, p->sysdepref); + size_t n; + + if (segsize > 0) + { + memcpy (mem, static_segments, segsize); + mem += segsize; + static_segments += segsize; + } + + if (sysdepref == SEGMENTS_END) + break; + + n = strlen (sysdep_segment_values[sysdepref]); + memcpy (mem, sysdep_segment_values[sysdepref], n); + mem += n; + } + + inmem_tab_entry->length = + mem - inmem_tab_entry->pointer; + } + } + + k++; + } + } + if (k != n_inmem_sysdep_strings) + abort (); + + /* Compute the augmented hash table. */ + for (i = 0; i < domain->hash_size; i++) + inmem_hash_tab[i] = + W (domain->must_swap_hash_tab, domain->hash_tab[i]); + for (i = 0; i < n_inmem_sysdep_strings; i++) + { + const char *msgid = inmem_orig_sysdep_tab[i].pointer; + nls_uint32 hash_val = hash_string (msgid); + nls_uint32 idx = hash_val % domain->hash_size; + nls_uint32 incr = + 1 + (hash_val % (domain->hash_size - 2)); + + for (;;) + { + if (inmem_hash_tab[idx] == 0) + { + /* Hash table entry is empty. Use it. */ + inmem_hash_tab[idx] = 1 + domain->nstrings + i; + break; + } + + if (idx >= domain->hash_size - incr) + idx -= domain->hash_size - incr; + else + idx += incr; + } + } + + domain->n_sysdep_strings = n_inmem_sysdep_strings; + domain->orig_sysdep_tab = inmem_orig_sysdep_tab; + domain->trans_sysdep_tab = inmem_trans_sysdep_tab; + + domain->hash_tab = inmem_hash_tab; + domain->must_swap_hash_tab = 0; + } + else + { + domain->n_sysdep_strings = 0; + domain->orig_sysdep_tab = NULL; + domain->trans_sysdep_tab = NULL; + } + + freea (sysdep_segment_values); + } + else + { + domain->n_sysdep_strings = 0; + domain->orig_sysdep_tab = NULL; + domain->trans_sysdep_tab = NULL; + } + } + break; + } + break; + default: + /* This is an invalid revision. */ + invalid: + /* This is an invalid .mo file. */ + if (domain->malloced) + free (domain->malloced); +#ifdef HAVE_MMAP + if (use_mmap) + munmap ((caddr_t) data, size); + else +#endif + free (data); + free (domain); + domain_file->data = NULL; + return; + } + + /* Now initialize the character set converter from the character set + the file is encoded with (found in the header entry) to the domain's + specified character set or the locale's character set. */ + nullentry = _nl_init_domain_conv (domain_file, domain, domainbinding); + + /* Also look for a plural specification. */ + EXTRACT_PLURAL_EXPRESSION (nullentry, &domain->plural, &domain->nplurals); +} + + +#ifdef _LIBC +void +internal_function +_nl_unload_domain (struct loaded_domain *domain) +{ + if (domain->plural != &__gettext_germanic_plural) + __gettext_free_exp (domain->plural); + + _nl_free_domain_conv (domain); + + if (domain->malloced) + free (domain->malloced); + +# ifdef _POSIX_MAPPED_FILES + if (domain->use_mmap) + munmap ((caddr_t) domain->data, domain->mmap_size); + else +# endif /* _POSIX_MAPPED_FILES */ + free ((void *) domain->data); + + free (domain); +} +#endif diff --git a/intl/localcharset.c b/intl/localcharset.c new file mode 100644 index 0000000..4865f10 --- /dev/null +++ b/intl/localcharset.c @@ -0,0 +1,398 @@ +/* Determine a canonical name for the current locale's character encoding. + + Copyright (C) 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Written by Bruno Haible . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +/* Specification. */ +#include "localcharset.h" + +#if HAVE_STDDEF_H +# include +#endif + +#include +#if HAVE_STRING_H +# include +#else +# include +#endif +#if HAVE_STDLIB_H +# include +#endif + +#if defined _WIN32 || defined __WIN32__ +# undef WIN32 /* avoid warning on mingw32 */ +# define WIN32 +#endif + +#if defined __EMX__ +/* Assume EMX program runs on OS/2, even if compiled under DOS. */ +# define OS2 +#endif + +#if !defined WIN32 +# if HAVE_LANGINFO_CODESET +# include +# else +# if HAVE_SETLOCALE +# include +# endif +# endif +#elif defined WIN32 +# define WIN32_LEAN_AND_MEAN +# include +#endif +#if defined OS2 +# define INCL_DOS +# include +#endif + +#if ENABLE_RELOCATABLE +# include "relocatable.h" +#else +# define relocate(pathname) (pathname) +#endif + +#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ + /* Win32, OS/2, DOS */ +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +#endif + +#ifndef DIRECTORY_SEPARATOR +# define DIRECTORY_SEPARATOR '/' +#endif + +#ifndef ISSLASH +# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) +#endif + +#if HAVE_DECL_GETC_UNLOCKED +# undef getc +# define getc getc_unlocked +#endif + +/* The following static variable is declared 'volatile' to avoid a + possible multithread problem in the function get_charset_aliases. If we + are running in a threaded environment, and if two threads initialize + 'charset_aliases' simultaneously, both will produce the same value, + and everything will be ok if the two assignments to 'charset_aliases' + are atomic. But I don't know what will happen if the two assignments mix. */ +#if __STDC__ != 1 +# define volatile /* empty */ +#endif +/* Pointer to the contents of the charset.alias file, if it has already been + read, else NULL. Its format is: + ALIAS_1 '\0' CANONICAL_1 '\0' ... ALIAS_n '\0' CANONICAL_n '\0' '\0' */ +static const char * volatile charset_aliases; + +/* Return a pointer to the contents of the charset.alias file. */ +static const char * +get_charset_aliases () +{ + const char *cp; + + cp = charset_aliases; + if (cp == NULL) + { +#if !(defined VMS || defined WIN32) + FILE *fp; + const char *dir = relocate (LIBDIR); + const char *base = "charset.alias"; + char *file_name; + + /* Concatenate dir and base into freshly allocated file_name. */ + { + size_t dir_len = strlen (dir); + size_t base_len = strlen (base); + int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); + file_name = (char *) malloc (dir_len + add_slash + base_len + 1); + if (file_name != NULL) + { + memcpy (file_name, dir, dir_len); + if (add_slash) + file_name[dir_len] = DIRECTORY_SEPARATOR; + memcpy (file_name + dir_len + add_slash, base, base_len + 1); + } + } + + if (file_name == NULL || (fp = fopen (file_name, "r")) == NULL) + /* Out of memory or file not found, treat it as empty. */ + cp = ""; + else + { + /* Parse the file's contents. */ + int c; + char buf1[50+1]; + char buf2[50+1]; + char *res_ptr = NULL; + size_t res_size = 0; + size_t l1, l2; + + for (;;) + { + c = getc (fp); + if (c == EOF) + break; + if (c == '\n' || c == ' ' || c == '\t') + continue; + if (c == '#') + { + /* Skip comment, to end of line. */ + do + c = getc (fp); + while (!(c == EOF || c == '\n')); + if (c == EOF) + break; + continue; + } + ungetc (c, fp); + if (fscanf (fp, "%50s %50s", buf1, buf2) < 2) + break; + l1 = strlen (buf1); + l2 = strlen (buf2); + if (res_size == 0) + { + res_size = l1 + 1 + l2 + 1; + res_ptr = (char *) malloc (res_size + 1); + } + else + { + res_size += l1 + 1 + l2 + 1; + res_ptr = (char *) realloc (res_ptr, res_size + 1); + } + if (res_ptr == NULL) + { + /* Out of memory. */ + res_size = 0; + break; + } + strcpy (res_ptr + res_size - (l2 + 1) - (l1 + 1), buf1); + strcpy (res_ptr + res_size - (l2 + 1), buf2); + } + fclose (fp); + if (res_size == 0) + cp = ""; + else + { + *(res_ptr + res_size) = '\0'; + cp = res_ptr; + } + } + + if (file_name != NULL) + free (file_name); + +#else + +# if defined VMS + /* To avoid the troubles of an extra file charset.alias_vms in the + sources of many GNU packages, simply inline the aliases here. */ + /* The list of encodings is taken from the OpenVMS 7.3-1 documentation + "Compaq C Run-Time Library Reference Manual for OpenVMS systems" + section 10.7 "Handling Different Character Sets". */ + cp = "ISO8859-1" "\0" "ISO-8859-1" "\0" + "ISO8859-2" "\0" "ISO-8859-2" "\0" + "ISO8859-5" "\0" "ISO-8859-5" "\0" + "ISO8859-7" "\0" "ISO-8859-7" "\0" + "ISO8859-8" "\0" "ISO-8859-8" "\0" + "ISO8859-9" "\0" "ISO-8859-9" "\0" + /* Japanese */ + "eucJP" "\0" "EUC-JP" "\0" + "SJIS" "\0" "SHIFT_JIS" "\0" + "DECKANJI" "\0" "DEC-KANJI" "\0" + "SDECKANJI" "\0" "EUC-JP" "\0" + /* Chinese */ + "eucTW" "\0" "EUC-TW" "\0" + "DECHANYU" "\0" "DEC-HANYU" "\0" + "DECHANZI" "\0" "GB2312" "\0" + /* Korean */ + "DECKOREAN" "\0" "EUC-KR" "\0"; +# endif + +# if defined WIN32 + /* To avoid the troubles of installing a separate file in the same + directory as the DLL and of retrieving the DLL's directory at + runtime, simply inline the aliases here. */ + + cp = "CP936" "\0" "GBK" "\0" + "CP1361" "\0" "JOHAB" "\0" + "CP20127" "\0" "ASCII" "\0" + "CP20866" "\0" "KOI8-R" "\0" + "CP21866" "\0" "KOI8-RU" "\0" + "CP28591" "\0" "ISO-8859-1" "\0" + "CP28592" "\0" "ISO-8859-2" "\0" + "CP28593" "\0" "ISO-8859-3" "\0" + "CP28594" "\0" "ISO-8859-4" "\0" + "CP28595" "\0" "ISO-8859-5" "\0" + "CP28596" "\0" "ISO-8859-6" "\0" + "CP28597" "\0" "ISO-8859-7" "\0" + "CP28598" "\0" "ISO-8859-8" "\0" + "CP28599" "\0" "ISO-8859-9" "\0" + "CP28605" "\0" "ISO-8859-15" "\0"; +# endif +#endif + + charset_aliases = cp; + } + + return cp; +} + +/* Determine the current locale's character encoding, and canonicalize it + into one of the canonical names listed in config.charset. + The result must not be freed; it is statically allocated. + If the canonical name cannot be determined, the result is a non-canonical + name. */ + +#ifdef STATIC +STATIC +#endif +const char * +locale_charset () +{ + const char *codeset; + const char *aliases; + +#if !(defined WIN32 || defined OS2) + +# if HAVE_LANGINFO_CODESET + + /* Most systems support nl_langinfo (CODESET) nowadays. */ + codeset = nl_langinfo (CODESET); + +# else + + /* On old systems which lack it, use setlocale or getenv. */ + const char *locale = NULL; + + /* But most old systems don't have a complete set of locales. Some + (like SunOS 4 or DJGPP) have only the C locale. Therefore we don't + use setlocale here; it would return "C" when it doesn't support the + locale name the user has set. */ +# if HAVE_SETLOCALE && 0 + locale = setlocale (LC_CTYPE, NULL); +# endif + if (locale == NULL || locale[0] == '\0') + { + locale = getenv ("LC_ALL"); + if (locale == NULL || locale[0] == '\0') + { + locale = getenv ("LC_CTYPE"); + if (locale == NULL || locale[0] == '\0') + locale = getenv ("LANG"); + } + } + + /* On some old systems, one used to set locale = "iso8859_1". On others, + you set it to "language_COUNTRY.charset". In any case, we resolve it + through the charset.alias file. */ + codeset = locale; + +# endif + +#elif defined WIN32 + + static char buf[2 + 10 + 1]; + + /* Woe32 has a function returning the locale's codepage as a number. */ + sprintf (buf, "CP%u", GetACP ()); + codeset = buf; + +#elif defined OS2 + + const char *locale; + static char buf[2 + 10 + 1]; + ULONG cp[3]; + ULONG cplen; + + /* Allow user to override the codeset, as set in the operating system, + with standard language environment variables. */ + locale = getenv ("LC_ALL"); + if (locale == NULL || locale[0] == '\0') + { + locale = getenv ("LC_CTYPE"); + if (locale == NULL || locale[0] == '\0') + locale = getenv ("LANG"); + } + if (locale != NULL && locale[0] != '\0') + { + /* If the locale name contains an encoding after the dot, return it. */ + const char *dot = strchr (locale, '.'); + + if (dot != NULL) + { + const char *modifier; + + dot++; + /* Look for the possible @... trailer and remove it, if any. */ + modifier = strchr (dot, '@'); + if (modifier == NULL) + return dot; + if (modifier - dot < sizeof (buf)) + { + memcpy (buf, dot, modifier - dot); + buf [modifier - dot] = '\0'; + return buf; + } + } + + /* Resolve through the charset.alias file. */ + codeset = locale; + } + else + { + /* OS/2 has a function returning the locale's codepage as a number. */ + if (DosQueryCp (sizeof (cp), cp, &cplen)) + codeset = ""; + else + { + sprintf (buf, "CP%u", cp[0]); + codeset = buf; + } + } + +#endif + + if (codeset == NULL) + /* The canonical name cannot be determined. */ + codeset = ""; + + /* Resolve alias. */ + for (aliases = get_charset_aliases (); + *aliases != '\0'; + aliases += strlen (aliases) + 1, aliases += strlen (aliases) + 1) + if (strcmp (codeset, aliases) == 0 + || (aliases[0] == '*' && aliases[1] == '\0')) + { + codeset = aliases + strlen (aliases) + 1; + break; + } + + /* Don't return an empty string. GNU libc and GNU libiconv interpret + the empty string as denoting "the locale's character encoding", + thus GNU libiconv would call this function a second time. */ + if (codeset[0] == '\0') + codeset = "ASCII"; + + return codeset; +} diff --git a/intl/localcharset.h b/intl/localcharset.h new file mode 100644 index 0000000..3b137e7 --- /dev/null +++ b/intl/localcharset.h @@ -0,0 +1,42 @@ +/* Determine a canonical name for the current locale's character encoding. + Copyright (C) 2000-2003 Free Software Foundation, Inc. + This file is part of the GNU CHARSET Library. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _LOCALCHARSET_H +#define _LOCALCHARSET_H + + +#ifdef __cplusplus +extern "C" { +#endif + + +/* Determine the current locale's character encoding, and canonicalize it + into one of the canonical names listed in config.charset. + The result must not be freed; it is statically allocated. + If the canonical name cannot be determined, the result is a non-canonical + name. */ +extern const char * locale_charset (void); + + +#ifdef __cplusplus +} +#endif + + +#endif /* _LOCALCHARSET_H */ diff --git a/intl/locale.alias b/intl/locale.alias new file mode 100644 index 0000000..bd6bb25 --- /dev/null +++ b/intl/locale.alias @@ -0,0 +1,78 @@ +# Locale name alias data base. +# Copyright (C) 1996-2001,2003 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program 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 +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# USA. + +# The format of this file is the same as for the corresponding file of +# the X Window System, which normally can be found in +# /usr/lib/X11/locale/locale.alias +# A single line contains two fields: an alias and a substitution value. +# All entries are case independent. + +# Note: This file is far from being complete. If you have a value for +# your own site which you think might be useful for others too, share +# it with the rest of us. Send it using the `glibcbug' script to +# bugs@gnu.org. + +# Packages using this file: + +bokmal nb_NO.ISO-8859-1 +bokmål nb_NO.ISO-8859-1 +catalan ca_ES.ISO-8859-1 +croatian hr_HR.ISO-8859-2 +czech cs_CZ.ISO-8859-2 +danish da_DK.ISO-8859-1 +dansk da_DK.ISO-8859-1 +deutsch de_DE.ISO-8859-1 +dutch nl_NL.ISO-8859-1 +eesti et_EE.ISO-8859-1 +estonian et_EE.ISO-8859-1 +finnish fi_FI.ISO-8859-1 +français fr_FR.ISO-8859-1 +french fr_FR.ISO-8859-1 +galego gl_ES.ISO-8859-1 +galician gl_ES.ISO-8859-1 +german de_DE.ISO-8859-1 +greek el_GR.ISO-8859-7 +hebrew he_IL.ISO-8859-8 +hrvatski hr_HR.ISO-8859-2 +hungarian hu_HU.ISO-8859-2 +icelandic is_IS.ISO-8859-1 +italian it_IT.ISO-8859-1 +japanese ja_JP.eucJP +japanese.euc ja_JP.eucJP +ja_JP ja_JP.eucJP +ja_JP.ujis ja_JP.eucJP +japanese.sjis ja_JP.SJIS +korean ko_KR.eucKR +korean.euc ko_KR.eucKR +ko_KR ko_KR.eucKR +lithuanian lt_LT.ISO-8859-13 +no_NO nb_NO.ISO-8859-1 +no_NO.ISO-8859-1 nb_NO.ISO-8859-1 +norwegian nb_NO.ISO-8859-1 +nynorsk nn_NO.ISO-8859-1 +polish pl_PL.ISO-8859-2 +portuguese pt_PT.ISO-8859-1 +romanian ro_RO.ISO-8859-2 +russian ru_RU.ISO-8859-5 +slovak sk_SK.ISO-8859-2 +slovene sl_SI.ISO-8859-2 +slovenian sl_SI.ISO-8859-2 +spanish es_ES.ISO-8859-1 +swedish sv_SE.ISO-8859-1 +thai th_TH.TIS-620 +turkish tr_TR.ISO-8859-9 diff --git a/intl/localealias.c b/intl/localealias.c new file mode 100644 index 0000000..2eaf881 --- /dev/null +++ b/intl/localealias.c @@ -0,0 +1,414 @@ +/* Handle aliases for locale names. + Copyright (C) 1995-1999, 2000-2001, 2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Tell glibc's to provide a prototype for mempcpy(). + This must come before because may include + , and once has been included, it's too late. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#if defined _LIBC || defined HAVE___FSETLOCKING +# include +#endif +#include + +#ifdef __GNUC__ +# undef alloca +# define alloca __builtin_alloca +# define HAVE_ALLOCA 1 +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if defined HAVE_ALLOCA_H || defined _LIBC +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +#include +#include + +#include "gettextP.h" + +#if ENABLE_RELOCATABLE +# include "relocatable.h" +#else +# define relocate(pathname) (pathname) +#endif + +/* @@ end of prolog @@ */ + +#ifdef _LIBC +/* Rename the non ANSI C functions. This is required by the standard + because some ANSI C functions will require linking with this object + file and the name space must not be polluted. */ +# define strcasecmp __strcasecmp + +# ifndef mempcpy +# define mempcpy __mempcpy +# endif +# define HAVE_MEMPCPY 1 +# define HAVE___FSETLOCKING 1 + +/* We need locking here since we can be called from different places. */ +# include + +__libc_lock_define_initialized (static, lock); +#endif + +#ifndef internal_function +# define internal_function +#endif + +/* Some optimizations for glibc. */ +#ifdef _LIBC +# define FEOF(fp) feof_unlocked (fp) +# define FGETS(buf, n, fp) fgets_unlocked (buf, n, fp) +#else +# define FEOF(fp) feof (fp) +# define FGETS(buf, n, fp) fgets (buf, n, fp) +#endif + +/* For those losing systems which don't have `alloca' we have to add + some additional code emulating it. */ +#ifdef HAVE_ALLOCA +# define freea(p) /* nothing */ +#else +# define alloca(n) malloc (n) +# define freea(p) free (p) +#endif + +#if defined _LIBC_REENTRANT || HAVE_DECL_FGETS_UNLOCKED +# undef fgets +# define fgets(buf, len, s) fgets_unlocked (buf, len, s) +#endif +#if defined _LIBC_REENTRANT || HAVE_DECL_FEOF_UNLOCKED +# undef feof +# define feof(s) feof_unlocked (s) +#endif + + +struct alias_map +{ + const char *alias; + const char *value; +}; + + +#ifndef _LIBC +# define libc_freeres_ptr(decl) decl +#endif + +libc_freeres_ptr (static char *string_space); +static size_t string_space_act; +static size_t string_space_max; +libc_freeres_ptr (static struct alias_map *map); +static size_t nmap; +static size_t maxmap; + + +/* Prototypes for local functions. */ +static size_t read_alias_file (const char *fname, int fname_len) + internal_function; +static int extend_alias_table (void); +static int alias_compare (const struct alias_map *map1, + const struct alias_map *map2); + + +const char * +_nl_expand_alias (const char *name) +{ + static const char *locale_alias_path; + struct alias_map *retval; + const char *result = NULL; + size_t added; + +#ifdef _LIBC + __libc_lock_lock (lock); +#endif + + if (locale_alias_path == NULL) + locale_alias_path = LOCALE_ALIAS_PATH; + + do + { + struct alias_map item; + + item.alias = name; + + if (nmap > 0) + retval = (struct alias_map *) bsearch (&item, map, nmap, + sizeof (struct alias_map), + (int (*) (const void *, + const void *) + ) alias_compare); + else + retval = NULL; + + /* We really found an alias. Return the value. */ + if (retval != NULL) + { + result = retval->value; + break; + } + + /* Perhaps we can find another alias file. */ + added = 0; + while (added == 0 && locale_alias_path[0] != '\0') + { + const char *start; + + while (locale_alias_path[0] == PATH_SEPARATOR) + ++locale_alias_path; + start = locale_alias_path; + + while (locale_alias_path[0] != '\0' + && locale_alias_path[0] != PATH_SEPARATOR) + ++locale_alias_path; + + if (start < locale_alias_path) + added = read_alias_file (start, locale_alias_path - start); + } + } + while (added != 0); + +#ifdef _LIBC + __libc_lock_unlock (lock); +#endif + + return result; +} + + +static size_t +internal_function +read_alias_file (const char *fname, int fname_len) +{ + FILE *fp; + char *full_fname; + size_t added; + static const char aliasfile[] = "/locale.alias"; + + full_fname = (char *) alloca (fname_len + sizeof aliasfile); +#ifdef HAVE_MEMPCPY + mempcpy (mempcpy (full_fname, fname, fname_len), + aliasfile, sizeof aliasfile); +#else + memcpy (full_fname, fname, fname_len); + memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile); +#endif + + fp = fopen (relocate (full_fname), "r"); + freea (full_fname); + if (fp == NULL) + return 0; + +#ifdef HAVE___FSETLOCKING + /* No threads present. */ + __fsetlocking (fp, FSETLOCKING_BYCALLER); +#endif + + added = 0; + while (!FEOF (fp)) + { + /* It is a reasonable approach to use a fix buffer here because + a) we are only interested in the first two fields + b) these fields must be usable as file names and so must not + be that long + We avoid a multi-kilobyte buffer here since this would use up + stack space which we might not have if the program ran out of + memory. */ + char buf[400]; + char *alias; + char *value; + char *cp; + + if (FGETS (buf, sizeof buf, fp) == NULL) + /* EOF reached. */ + break; + + cp = buf; + /* Ignore leading white space. */ + while (isspace ((unsigned char) cp[0])) + ++cp; + + /* A leading '#' signals a comment line. */ + if (cp[0] != '\0' && cp[0] != '#') + { + alias = cp++; + while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) + ++cp; + /* Terminate alias name. */ + if (cp[0] != '\0') + *cp++ = '\0'; + + /* Now look for the beginning of the value. */ + while (isspace ((unsigned char) cp[0])) + ++cp; + + if (cp[0] != '\0') + { + size_t alias_len; + size_t value_len; + + value = cp++; + while (cp[0] != '\0' && !isspace ((unsigned char) cp[0])) + ++cp; + /* Terminate value. */ + if (cp[0] == '\n') + { + /* This has to be done to make the following test + for the end of line possible. We are looking for + the terminating '\n' which do not overwrite here. */ + *cp++ = '\0'; + *cp = '\n'; + } + else if (cp[0] != '\0') + *cp++ = '\0'; + + if (nmap >= maxmap) + if (__builtin_expect (extend_alias_table (), 0)) + return added; + + alias_len = strlen (alias) + 1; + value_len = strlen (value) + 1; + + if (string_space_act + alias_len + value_len > string_space_max) + { + /* Increase size of memory pool. */ + size_t new_size = (string_space_max + + (alias_len + value_len > 1024 + ? alias_len + value_len : 1024)); + char *new_pool = (char *) realloc (string_space, new_size); + if (new_pool == NULL) + return added; + + if (__builtin_expect (string_space != new_pool, 0)) + { + size_t i; + + for (i = 0; i < nmap; i++) + { + map[i].alias += new_pool - string_space; + map[i].value += new_pool - string_space; + } + } + + string_space = new_pool; + string_space_max = new_size; + } + + map[nmap].alias = memcpy (&string_space[string_space_act], + alias, alias_len); + string_space_act += alias_len; + + map[nmap].value = memcpy (&string_space[string_space_act], + value, value_len); + string_space_act += value_len; + + ++nmap; + ++added; + } + } + + /* Possibly not the whole line fits into the buffer. Ignore + the rest of the line. */ + while (strchr (buf, '\n') == NULL) + if (FGETS (buf, sizeof buf, fp) == NULL) + /* Make sure the inner loop will be left. The outer loop + will exit at the `feof' test. */ + break; + } + + /* Should we test for ferror()? I think we have to silently ignore + errors. --drepper */ + fclose (fp); + + if (added > 0) + qsort (map, nmap, sizeof (struct alias_map), + (int (*) (const void *, const void *)) alias_compare); + + return added; +} + + +static int +extend_alias_table () +{ + size_t new_size; + struct alias_map *new_map; + + new_size = maxmap == 0 ? 100 : 2 * maxmap; + new_map = (struct alias_map *) realloc (map, (new_size + * sizeof (struct alias_map))); + if (new_map == NULL) + /* Simply don't extend: we don't have any more core. */ + return -1; + + map = new_map; + maxmap = new_size; + return 0; +} + + +static int +alias_compare (const struct alias_map *map1, const struct alias_map *map2) +{ +#if defined _LIBC || defined HAVE_STRCASECMP + return strcasecmp (map1->alias, map2->alias); +#else + const unsigned char *p1 = (const unsigned char *) map1->alias; + const unsigned char *p2 = (const unsigned char *) map2->alias; + unsigned char c1, c2; + + if (p1 == p2) + return 0; + + do + { + /* I know this seems to be odd but the tolower() function in + some systems libc cannot handle nonalpha characters. */ + c1 = isupper (*p1) ? tolower (*p1) : *p1; + c2 = isupper (*p2) ? tolower (*p2) : *p2; + if (c1 == '\0') + break; + ++p1; + ++p2; + } + while (c1 == c2); + + return c1 - c2; +#endif +} diff --git a/intl/localename.c b/intl/localename.c new file mode 100644 index 0000000..5662e54 --- /dev/null +++ b/intl/localename.c @@ -0,0 +1,1142 @@ +/* Determine the current selected locale. + Copyright (C) 1995-1999, 2000-2004 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Written by Ulrich Drepper , 1995. */ +/* Win32 code written by Tor Lillqvist . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include + +#if defined _WIN32 || defined __WIN32__ +# undef WIN32 /* avoid warning on mingw32 */ +# define WIN32 +#endif + +#ifdef WIN32 +# define WIN32_LEAN_AND_MEAN +# include +/* List of language codes, sorted by value: + 0x01 LANG_ARABIC + 0x02 LANG_BULGARIAN + 0x03 LANG_CATALAN + 0x04 LANG_CHINESE + 0x05 LANG_CZECH + 0x06 LANG_DANISH + 0x07 LANG_GERMAN + 0x08 LANG_GREEK + 0x09 LANG_ENGLISH + 0x0a LANG_SPANISH + 0x0b LANG_FINNISH + 0x0c LANG_FRENCH + 0x0d LANG_HEBREW + 0x0e LANG_HUNGARIAN + 0x0f LANG_ICELANDIC + 0x10 LANG_ITALIAN + 0x11 LANG_JAPANESE + 0x12 LANG_KOREAN + 0x13 LANG_DUTCH + 0x14 LANG_NORWEGIAN + 0x15 LANG_POLISH + 0x16 LANG_PORTUGUESE + 0x17 LANG_RHAETO_ROMANCE + 0x18 LANG_ROMANIAN + 0x19 LANG_RUSSIAN + 0x1a LANG_CROATIAN == LANG_SERBIAN + 0x1b LANG_SLOVAK + 0x1c LANG_ALBANIAN + 0x1d LANG_SWEDISH + 0x1e LANG_THAI + 0x1f LANG_TURKISH + 0x20 LANG_URDU + 0x21 LANG_INDONESIAN + 0x22 LANG_UKRAINIAN + 0x23 LANG_BELARUSIAN + 0x24 LANG_SLOVENIAN + 0x25 LANG_ESTONIAN + 0x26 LANG_LATVIAN + 0x27 LANG_LITHUANIAN + 0x28 LANG_TAJIK + 0x29 LANG_FARSI + 0x2a LANG_VIETNAMESE + 0x2b LANG_ARMENIAN + 0x2c LANG_AZERI + 0x2d LANG_BASQUE + 0x2e LANG_SORBIAN + 0x2f LANG_MACEDONIAN + 0x30 LANG_SUTU + 0x31 LANG_TSONGA + 0x32 LANG_TSWANA + 0x33 LANG_VENDA + 0x34 LANG_XHOSA + 0x35 LANG_ZULU + 0x36 LANG_AFRIKAANS + 0x37 LANG_GEORGIAN + 0x38 LANG_FAEROESE + 0x39 LANG_HINDI + 0x3a LANG_MALTESE + 0x3b LANG_SAAMI + 0x3c LANG_GAELIC + 0x3d LANG_YIDDISH + 0x3e LANG_MALAY + 0x3f LANG_KAZAK + 0x40 LANG_KYRGYZ + 0x41 LANG_SWAHILI + 0x42 LANG_TURKMEN + 0x43 LANG_UZBEK + 0x44 LANG_TATAR + 0x45 LANG_BENGALI + 0x46 LANG_PUNJABI + 0x47 LANG_GUJARATI + 0x48 LANG_ORIYA + 0x49 LANG_TAMIL + 0x4a LANG_TELUGU + 0x4b LANG_KANNADA + 0x4c LANG_MALAYALAM + 0x4d LANG_ASSAMESE + 0x4e LANG_MARATHI + 0x4f LANG_SANSKRIT + 0x50 LANG_MONGOLIAN + 0x51 LANG_TIBETAN + 0x52 LANG_WELSH + 0x53 LANG_CAMBODIAN + 0x54 LANG_LAO + 0x55 LANG_BURMESE + 0x56 LANG_GALICIAN + 0x57 LANG_KONKANI + 0x58 LANG_MANIPURI + 0x59 LANG_SINDHI + 0x5a LANG_SYRIAC + 0x5b LANG_SINHALESE + 0x5c LANG_CHEROKEE + 0x5d LANG_INUKTITUT + 0x5e LANG_AMHARIC + 0x5f LANG_TAMAZIGHT + 0x60 LANG_KASHMIRI + 0x61 LANG_NEPALI + 0x62 LANG_FRISIAN + 0x63 LANG_PASHTO + 0x64 LANG_TAGALOG + 0x65 LANG_DIVEHI + 0x66 LANG_EDO + 0x67 LANG_FULFULDE + 0x68 LANG_HAUSA + 0x69 LANG_IBIBIO + 0x6a LANG_YORUBA + 0x70 LANG_IGBO + 0x71 LANG_KANURI + 0x72 LANG_OROMO + 0x73 LANG_TIGRINYA + 0x74 LANG_GUARANI + 0x75 LANG_HAWAIIAN + 0x76 LANG_LATIN + 0x77 LANG_SOMALI + 0x78 LANG_YI + 0x79 LANG_PAPIAMENTU +*/ +/* Mingw headers don't have latest language and sublanguage codes. */ +# ifndef LANG_AFRIKAANS +# define LANG_AFRIKAANS 0x36 +# endif +# ifndef LANG_ALBANIAN +# define LANG_ALBANIAN 0x1c +# endif +# ifndef LANG_AMHARIC +# define LANG_AMHARIC 0x5e +# endif +# ifndef LANG_ARABIC +# define LANG_ARABIC 0x01 +# endif +# ifndef LANG_ARMENIAN +# define LANG_ARMENIAN 0x2b +# endif +# ifndef LANG_ASSAMESE +# define LANG_ASSAMESE 0x4d +# endif +# ifndef LANG_AZERI +# define LANG_AZERI 0x2c +# endif +# ifndef LANG_BASQUE +# define LANG_BASQUE 0x2d +# endif +# ifndef LANG_BELARUSIAN +# define LANG_BELARUSIAN 0x23 +# endif +# ifndef LANG_BENGALI +# define LANG_BENGALI 0x45 +# endif +# ifndef LANG_BURMESE +# define LANG_BURMESE 0x55 +# endif +# ifndef LANG_CAMBODIAN +# define LANG_CAMBODIAN 0x53 +# endif +# ifndef LANG_CATALAN +# define LANG_CATALAN 0x03 +# endif +# ifndef LANG_CHEROKEE +# define LANG_CHEROKEE 0x5c +# endif +# ifndef LANG_DIVEHI +# define LANG_DIVEHI 0x65 +# endif +# ifndef LANG_EDO +# define LANG_EDO 0x66 +# endif +# ifndef LANG_ESTONIAN +# define LANG_ESTONIAN 0x25 +# endif +# ifndef LANG_FAEROESE +# define LANG_FAEROESE 0x38 +# endif +# ifndef LANG_FARSI +# define LANG_FARSI 0x29 +# endif +# ifndef LANG_FRISIAN +# define LANG_FRISIAN 0x62 +# endif +# ifndef LANG_FULFULDE +# define LANG_FULFULDE 0x67 +# endif +# ifndef LANG_GAELIC +# define LANG_GAELIC 0x3c +# endif +# ifndef LANG_GALICIAN +# define LANG_GALICIAN 0x56 +# endif +# ifndef LANG_GEORGIAN +# define LANG_GEORGIAN 0x37 +# endif +# ifndef LANG_GUARANI +# define LANG_GUARANI 0x74 +# endif +# ifndef LANG_GUJARATI +# define LANG_GUJARATI 0x47 +# endif +# ifndef LANG_HAUSA +# define LANG_HAUSA 0x68 +# endif +# ifndef LANG_HAWAIIAN +# define LANG_HAWAIIAN 0x75 +# endif +# ifndef LANG_HEBREW +# define LANG_HEBREW 0x0d +# endif +# ifndef LANG_HINDI +# define LANG_HINDI 0x39 +# endif +# ifndef LANG_IBIBIO +# define LANG_IBIBIO 0x69 +# endif +# ifndef LANG_IGBO +# define LANG_IGBO 0x70 +# endif +# ifndef LANG_INDONESIAN +# define LANG_INDONESIAN 0x21 +# endif +# ifndef LANG_INUKTITUT +# define LANG_INUKTITUT 0x5d +# endif +# ifndef LANG_KANNADA +# define LANG_KANNADA 0x4b +# endif +# ifndef LANG_KANURI +# define LANG_KANURI 0x71 +# endif +# ifndef LANG_KASHMIRI +# define LANG_KASHMIRI 0x60 +# endif +# ifndef LANG_KAZAK +# define LANG_KAZAK 0x3f +# endif +# ifndef LANG_KONKANI +# define LANG_KONKANI 0x57 +# endif +# ifndef LANG_KYRGYZ +# define LANG_KYRGYZ 0x40 +# endif +# ifndef LANG_LAO +# define LANG_LAO 0x54 +# endif +# ifndef LANG_LATIN +# define LANG_LATIN 0x76 +# endif +# ifndef LANG_LATVIAN +# define LANG_LATVIAN 0x26 +# endif +# ifndef LANG_LITHUANIAN +# define LANG_LITHUANIAN 0x27 +# endif +# ifndef LANG_MACEDONIAN +# define LANG_MACEDONIAN 0x2f +# endif +# ifndef LANG_MALAY +# define LANG_MALAY 0x3e +# endif +# ifndef LANG_MALAYALAM +# define LANG_MALAYALAM 0x4c +# endif +# ifndef LANG_MALTESE +# define LANG_MALTESE 0x3a +# endif +# ifndef LANG_MANIPURI +# define LANG_MANIPURI 0x58 +# endif +# ifndef LANG_MARATHI +# define LANG_MARATHI 0x4e +# endif +# ifndef LANG_MONGOLIAN +# define LANG_MONGOLIAN 0x50 +# endif +# ifndef LANG_NEPALI +# define LANG_NEPALI 0x61 +# endif +# ifndef LANG_ORIYA +# define LANG_ORIYA 0x48 +# endif +# ifndef LANG_OROMO +# define LANG_OROMO 0x72 +# endif +# ifndef LANG_PAPIAMENTU +# define LANG_PAPIAMENTU 0x79 +# endif +# ifndef LANG_PASHTO +# define LANG_PASHTO 0x63 +# endif +# ifndef LANG_PUNJABI +# define LANG_PUNJABI 0x46 +# endif +# ifndef LANG_RHAETO_ROMANCE +# define LANG_RHAETO_ROMANCE 0x17 +# endif +# ifndef LANG_SAAMI +# define LANG_SAAMI 0x3b +# endif +# ifndef LANG_SANSKRIT +# define LANG_SANSKRIT 0x4f +# endif +# ifndef LANG_SERBIAN +# define LANG_SERBIAN 0x1a +# endif +# ifndef LANG_SINDHI +# define LANG_SINDHI 0x59 +# endif +# ifndef LANG_SINHALESE +# define LANG_SINHALESE 0x5b +# endif +# ifndef LANG_SLOVAK +# define LANG_SLOVAK 0x1b +# endif +# ifndef LANG_SOMALI +# define LANG_SOMALI 0x77 +# endif +# ifndef LANG_SORBIAN +# define LANG_SORBIAN 0x2e +# endif +# ifndef LANG_SUTU +# define LANG_SUTU 0x30 +# endif +# ifndef LANG_SWAHILI +# define LANG_SWAHILI 0x41 +# endif +# ifndef LANG_SYRIAC +# define LANG_SYRIAC 0x5a +# endif +# ifndef LANG_TAGALOG +# define LANG_TAGALOG 0x64 +# endif +# ifndef LANG_TAJIK +# define LANG_TAJIK 0x28 +# endif +# ifndef LANG_TAMAZIGHT +# define LANG_TAMAZIGHT 0x5f +# endif +# ifndef LANG_TAMIL +# define LANG_TAMIL 0x49 +# endif +# ifndef LANG_TATAR +# define LANG_TATAR 0x44 +# endif +# ifndef LANG_TELUGU +# define LANG_TELUGU 0x4a +# endif +# ifndef LANG_THAI +# define LANG_THAI 0x1e +# endif +# ifndef LANG_TIBETAN +# define LANG_TIBETAN 0x51 +# endif +# ifndef LANG_TIGRINYA +# define LANG_TIGRINYA 0x73 +# endif +# ifndef LANG_TSONGA +# define LANG_TSONGA 0x31 +# endif +# ifndef LANG_TSWANA +# define LANG_TSWANA 0x32 +# endif +# ifndef LANG_TURKMEN +# define LANG_TURKMEN 0x42 +# endif +# ifndef LANG_UKRAINIAN +# define LANG_UKRAINIAN 0x22 +# endif +# ifndef LANG_URDU +# define LANG_URDU 0x20 +# endif +# ifndef LANG_UZBEK +# define LANG_UZBEK 0x43 +# endif +# ifndef LANG_VENDA +# define LANG_VENDA 0x33 +# endif +# ifndef LANG_VIETNAMESE +# define LANG_VIETNAMESE 0x2a +# endif +# ifndef LANG_WELSH +# define LANG_WELSH 0x52 +# endif +# ifndef LANG_XHOSA +# define LANG_XHOSA 0x34 +# endif +# ifndef LANG_YI +# define LANG_YI 0x78 +# endif +# ifndef LANG_YIDDISH +# define LANG_YIDDISH 0x3d +# endif +# ifndef LANG_YORUBA +# define LANG_YORUBA 0x6a +# endif +# ifndef LANG_ZULU +# define LANG_ZULU 0x35 +# endif +# ifndef SUBLANG_ARABIC_SAUDI_ARABIA +# define SUBLANG_ARABIC_SAUDI_ARABIA 0x01 +# endif +# ifndef SUBLANG_ARABIC_IRAQ +# define SUBLANG_ARABIC_IRAQ 0x02 +# endif +# ifndef SUBLANG_ARABIC_EGYPT +# define SUBLANG_ARABIC_EGYPT 0x03 +# endif +# ifndef SUBLANG_ARABIC_LIBYA +# define SUBLANG_ARABIC_LIBYA 0x04 +# endif +# ifndef SUBLANG_ARABIC_ALGERIA +# define SUBLANG_ARABIC_ALGERIA 0x05 +# endif +# ifndef SUBLANG_ARABIC_MOROCCO +# define SUBLANG_ARABIC_MOROCCO 0x06 +# endif +# ifndef SUBLANG_ARABIC_TUNISIA +# define SUBLANG_ARABIC_TUNISIA 0x07 +# endif +# ifndef SUBLANG_ARABIC_OMAN +# define SUBLANG_ARABIC_OMAN 0x08 +# endif +# ifndef SUBLANG_ARABIC_YEMEN +# define SUBLANG_ARABIC_YEMEN 0x09 +# endif +# ifndef SUBLANG_ARABIC_SYRIA +# define SUBLANG_ARABIC_SYRIA 0x0a +# endif +# ifndef SUBLANG_ARABIC_JORDAN +# define SUBLANG_ARABIC_JORDAN 0x0b +# endif +# ifndef SUBLANG_ARABIC_LEBANON +# define SUBLANG_ARABIC_LEBANON 0x0c +# endif +# ifndef SUBLANG_ARABIC_KUWAIT +# define SUBLANG_ARABIC_KUWAIT 0x0d +# endif +# ifndef SUBLANG_ARABIC_UAE +# define SUBLANG_ARABIC_UAE 0x0e +# endif +# ifndef SUBLANG_ARABIC_BAHRAIN +# define SUBLANG_ARABIC_BAHRAIN 0x0f +# endif +# ifndef SUBLANG_ARABIC_QATAR +# define SUBLANG_ARABIC_QATAR 0x10 +# endif +# ifndef SUBLANG_AZERI_LATIN +# define SUBLANG_AZERI_LATIN 0x01 +# endif +# ifndef SUBLANG_AZERI_CYRILLIC +# define SUBLANG_AZERI_CYRILLIC 0x02 +# endif +# ifndef SUBLANG_BENGALI_INDIA +# define SUBLANG_BENGALI_INDIA 0x00 +# endif +# ifndef SUBLANG_BENGALI_BANGLADESH +# define SUBLANG_BENGALI_BANGLADESH 0x01 +# endif +# ifndef SUBLANG_CHINESE_MACAU +# define SUBLANG_CHINESE_MACAU 0x05 +# endif +# ifndef SUBLANG_ENGLISH_SOUTH_AFRICA +# define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07 +# endif +# ifndef SUBLANG_ENGLISH_JAMAICA +# define SUBLANG_ENGLISH_JAMAICA 0x08 +# endif +# ifndef SUBLANG_ENGLISH_CARIBBEAN +# define SUBLANG_ENGLISH_CARIBBEAN 0x09 +# endif +# ifndef SUBLANG_ENGLISH_BELIZE +# define SUBLANG_ENGLISH_BELIZE 0x0a +# endif +# ifndef SUBLANG_ENGLISH_TRINIDAD +# define SUBLANG_ENGLISH_TRINIDAD 0x0b +# endif +# ifndef SUBLANG_ENGLISH_ZIMBABWE +# define SUBLANG_ENGLISH_ZIMBABWE 0x0c +# endif +# ifndef SUBLANG_ENGLISH_PHILIPPINES +# define SUBLANG_ENGLISH_PHILIPPINES 0x0d +# endif +# ifndef SUBLANG_ENGLISH_INDONESIA +# define SUBLANG_ENGLISH_INDONESIA 0x0e +# endif +# ifndef SUBLANG_ENGLISH_HONGKONG +# define SUBLANG_ENGLISH_HONGKONG 0x0f +# endif +# ifndef SUBLANG_ENGLISH_INDIA +# define SUBLANG_ENGLISH_INDIA 0x10 +# endif +# ifndef SUBLANG_ENGLISH_MALAYSIA +# define SUBLANG_ENGLISH_MALAYSIA 0x11 +# endif +# ifndef SUBLANG_ENGLISH_SINGAPORE +# define SUBLANG_ENGLISH_SINGAPORE 0x12 +# endif +# ifndef SUBLANG_FRENCH_LUXEMBOURG +# define SUBLANG_FRENCH_LUXEMBOURG 0x05 +# endif +# ifndef SUBLANG_FRENCH_MONACO +# define SUBLANG_FRENCH_MONACO 0x06 +# endif +# ifndef SUBLANG_FRENCH_WESTINDIES +# define SUBLANG_FRENCH_WESTINDIES 0x07 +# endif +# ifndef SUBLANG_FRENCH_REUNION +# define SUBLANG_FRENCH_REUNION 0x08 +# endif +# ifndef SUBLANG_FRENCH_CONGO +# define SUBLANG_FRENCH_CONGO 0x09 +# endif +# ifndef SUBLANG_FRENCH_SENEGAL +# define SUBLANG_FRENCH_SENEGAL 0x0a +# endif +# ifndef SUBLANG_FRENCH_CAMEROON +# define SUBLANG_FRENCH_CAMEROON 0x0b +# endif +# ifndef SUBLANG_FRENCH_COTEDIVOIRE +# define SUBLANG_FRENCH_COTEDIVOIRE 0x0c +# endif +# ifndef SUBLANG_FRENCH_MALI +# define SUBLANG_FRENCH_MALI 0x0d +# endif +# ifndef SUBLANG_FRENCH_MOROCCO +# define SUBLANG_FRENCH_MOROCCO 0x0e +# endif +# ifndef SUBLANG_FRENCH_HAITI +# define SUBLANG_FRENCH_HAITI 0x0f +# endif +# ifndef SUBLANG_GERMAN_LUXEMBOURG +# define SUBLANG_GERMAN_LUXEMBOURG 0x04 +# endif +# ifndef SUBLANG_GERMAN_LIECHTENSTEIN +# define SUBLANG_GERMAN_LIECHTENSTEIN 0x05 +# endif +# ifndef SUBLANG_KASHMIRI_INDIA +# define SUBLANG_KASHMIRI_INDIA 0x02 +# endif +# ifndef SUBLANG_MALAY_MALAYSIA +# define SUBLANG_MALAY_MALAYSIA 0x01 +# endif +# ifndef SUBLANG_MALAY_BRUNEI_DARUSSALAM +# define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02 +# endif +# ifndef SUBLANG_NEPALI_INDIA +# define SUBLANG_NEPALI_INDIA 0x02 +# endif +# ifndef SUBLANG_PUNJABI_INDIA +# define SUBLANG_PUNJABI_INDIA 0x00 +# endif +# ifndef SUBLANG_PUNJABI_PAKISTAN +# define SUBLANG_PUNJABI_PAKISTAN 0x01 +# endif +# ifndef SUBLANG_ROMANIAN_ROMANIA +# define SUBLANG_ROMANIAN_ROMANIA 0x00 +# endif +# ifndef SUBLANG_ROMANIAN_MOLDOVA +# define SUBLANG_ROMANIAN_MOLDOVA 0x01 +# endif +# ifndef SUBLANG_SERBIAN_LATIN +# define SUBLANG_SERBIAN_LATIN 0x02 +# endif +# ifndef SUBLANG_SERBIAN_CYRILLIC +# define SUBLANG_SERBIAN_CYRILLIC 0x03 +# endif +# ifndef SUBLANG_SINDHI_INDIA +# define SUBLANG_SINDHI_INDIA 0x00 +# endif +# ifndef SUBLANG_SINDHI_PAKISTAN +# define SUBLANG_SINDHI_PAKISTAN 0x01 +# endif +# ifndef SUBLANG_SPANISH_GUATEMALA +# define SUBLANG_SPANISH_GUATEMALA 0x04 +# endif +# ifndef SUBLANG_SPANISH_COSTA_RICA +# define SUBLANG_SPANISH_COSTA_RICA 0x05 +# endif +# ifndef SUBLANG_SPANISH_PANAMA +# define SUBLANG_SPANISH_PANAMA 0x06 +# endif +# ifndef SUBLANG_SPANISH_DOMINICAN_REPUBLIC +# define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07 +# endif +# ifndef SUBLANG_SPANISH_VENEZUELA +# define SUBLANG_SPANISH_VENEZUELA 0x08 +# endif +# ifndef SUBLANG_SPANISH_COLOMBIA +# define SUBLANG_SPANISH_COLOMBIA 0x09 +# endif +# ifndef SUBLANG_SPANISH_PERU +# define SUBLANG_SPANISH_PERU 0x0a +# endif +# ifndef SUBLANG_SPANISH_ARGENTINA +# define SUBLANG_SPANISH_ARGENTINA 0x0b +# endif +# ifndef SUBLANG_SPANISH_ECUADOR +# define SUBLANG_SPANISH_ECUADOR 0x0c +# endif +# ifndef SUBLANG_SPANISH_CHILE +# define SUBLANG_SPANISH_CHILE 0x0d +# endif +# ifndef SUBLANG_SPANISH_URUGUAY +# define SUBLANG_SPANISH_URUGUAY 0x0e +# endif +# ifndef SUBLANG_SPANISH_PARAGUAY +# define SUBLANG_SPANISH_PARAGUAY 0x0f +# endif +# ifndef SUBLANG_SPANISH_BOLIVIA +# define SUBLANG_SPANISH_BOLIVIA 0x10 +# endif +# ifndef SUBLANG_SPANISH_EL_SALVADOR +# define SUBLANG_SPANISH_EL_SALVADOR 0x11 +# endif +# ifndef SUBLANG_SPANISH_HONDURAS +# define SUBLANG_SPANISH_HONDURAS 0x12 +# endif +# ifndef SUBLANG_SPANISH_NICARAGUA +# define SUBLANG_SPANISH_NICARAGUA 0x13 +# endif +# ifndef SUBLANG_SPANISH_PUERTO_RICO +# define SUBLANG_SPANISH_PUERTO_RICO 0x14 +# endif +# ifndef SUBLANG_SWEDISH_FINLAND +# define SUBLANG_SWEDISH_FINLAND 0x02 +# endif +# ifndef SUBLANG_TAMAZIGHT_ARABIC +# define SUBLANG_TAMAZIGHT_ARABIC 0x01 +# endif +# ifndef SUBLANG_TAMAZIGHT_LATIN +# define SUBLANG_TAMAZIGHT_LATIN 0x02 +# endif +# ifndef SUBLANG_TIGRINYA_ETHIOPIA +# define SUBLANG_TIGRINYA_ETHIOPIA 0x00 +# endif +# ifndef SUBLANG_TIGRINYA_ERITREA +# define SUBLANG_TIGRINYA_ERITREA 0x01 +# endif +# ifndef SUBLANG_URDU_PAKISTAN +# define SUBLANG_URDU_PAKISTAN 0x01 +# endif +# ifndef SUBLANG_URDU_INDIA +# define SUBLANG_URDU_INDIA 0x02 +# endif +# ifndef SUBLANG_UZBEK_LATIN +# define SUBLANG_UZBEK_LATIN 0x01 +# endif +# ifndef SUBLANG_UZBEK_CYRILLIC +# define SUBLANG_UZBEK_CYRILLIC 0x02 +# endif +#endif + +/* XPG3 defines the result of 'setlocale (category, NULL)' as: + "Directs 'setlocale()' to query 'category' and return the current + setting of 'local'." + However it does not specify the exact format. Neither do SUSV2 and + ISO C 99. So we can use this feature only on selected systems (e.g. + those using GNU C Library). */ +#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2) +# define HAVE_LOCALE_NULL +#endif + +/* Determine the current locale's name, and canonicalize it into XPG syntax + language[_territory[.codeset]][@modifier] + The codeset part in the result is not reliable; the locale_charset() + should be used for codeset information instead. + The result must not be freed; it is statically allocated. */ + +const char * +_nl_locale_name (int category, const char *categoryname) +{ + const char *retval; + +#ifndef WIN32 + + /* Use the POSIX methods of looking to 'LC_ALL', 'LC_xxx', and 'LANG'. + On some systems this can be done by the 'setlocale' function itself. */ +# if defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL + retval = setlocale (category, NULL); +# else + /* Setting of LC_ALL overwrites all other. */ + retval = getenv ("LC_ALL"); + if (retval == NULL || retval[0] == '\0') + { + /* Next comes the name of the desired category. */ + retval = getenv (categoryname); + if (retval == NULL || retval[0] == '\0') + { + /* Last possibility is the LANG environment variable. */ + retval = getenv ("LANG"); + if (retval == NULL || retval[0] == '\0') + /* We use C as the default domain. POSIX says this is + implementation defined. */ + retval = "C"; + } + } +# endif + + return retval; + +#else /* WIN32 */ + + /* Return an XPG style locale name language[_territory][@modifier]. + Don't even bother determining the codeset; it's not useful in this + context, because message catalogs are not specific to a single + codeset. */ + + LCID lcid; + LANGID langid; + int primary, sub; + + /* Let the user override the system settings through environment + variables, as on POSIX systems. */ + retval = getenv ("LC_ALL"); + if (retval != NULL && retval[0] != '\0') + return retval; + retval = getenv (categoryname); + if (retval != NULL && retval[0] != '\0') + return retval; + retval = getenv ("LANG"); + if (retval != NULL && retval[0] != '\0') + return retval; + + /* Use native Win32 API locale ID. */ + lcid = GetThreadLocale (); + + /* Strip off the sorting rules, keep only the language part. */ + langid = LANGIDFROMLCID (lcid); + + /* Split into language and territory part. */ + primary = PRIMARYLANGID (langid); + sub = SUBLANGID (langid); + + /* Dispatch on language. + See also http://www.unicode.org/unicode/onlinedat/languages.html . + For details about languages, see http://www.ethnologue.com/ . */ + switch (primary) + { + case LANG_AFRIKAANS: return "af_ZA"; + case LANG_ALBANIAN: return "sq_AL"; + case LANG_AMHARIC: return "am_ET"; + case LANG_ARABIC: + switch (sub) + { + case SUBLANG_ARABIC_SAUDI_ARABIA: return "ar_SA"; + case SUBLANG_ARABIC_IRAQ: return "ar_IQ"; + case SUBLANG_ARABIC_EGYPT: return "ar_EG"; + case SUBLANG_ARABIC_LIBYA: return "ar_LY"; + case SUBLANG_ARABIC_ALGERIA: return "ar_DZ"; + case SUBLANG_ARABIC_MOROCCO: return "ar_MA"; + case SUBLANG_ARABIC_TUNISIA: return "ar_TN"; + case SUBLANG_ARABIC_OMAN: return "ar_OM"; + case SUBLANG_ARABIC_YEMEN: return "ar_YE"; + case SUBLANG_ARABIC_SYRIA: return "ar_SY"; + case SUBLANG_ARABIC_JORDAN: return "ar_JO"; + case SUBLANG_ARABIC_LEBANON: return "ar_LB"; + case SUBLANG_ARABIC_KUWAIT: return "ar_KW"; + case SUBLANG_ARABIC_UAE: return "ar_AE"; + case SUBLANG_ARABIC_BAHRAIN: return "ar_BH"; + case SUBLANG_ARABIC_QATAR: return "ar_QA"; + } + return "ar"; + case LANG_ARMENIAN: return "hy_AM"; + case LANG_ASSAMESE: return "as_IN"; + case LANG_AZERI: + switch (sub) + { + /* FIXME: Adjust this when Azerbaijani locales appear on Unix. */ + case SUBLANG_AZERI_LATIN: return "az_AZ@latin"; + case SUBLANG_AZERI_CYRILLIC: return "az_AZ@cyrillic"; + } + return "az"; + case LANG_BASQUE: + return "eu"; /* Ambiguous: could be "eu_ES" or "eu_FR". */ + case LANG_BELARUSIAN: return "be_BY"; + case LANG_BENGALI: + switch (sub) + { + case SUBLANG_BENGALI_INDIA: return "bn_IN"; + case SUBLANG_BENGALI_BANGLADESH: return "bn_BD"; + } + return "bn"; + case LANG_BULGARIAN: return "bg_BG"; + case LANG_BURMESE: return "my_MM"; + case LANG_CAMBODIAN: return "km_KH"; + case LANG_CATALAN: return "ca_ES"; + case LANG_CHEROKEE: return "chr_US"; + case LANG_CHINESE: + switch (sub) + { + case SUBLANG_CHINESE_TRADITIONAL: return "zh_TW"; + case SUBLANG_CHINESE_SIMPLIFIED: return "zh_CN"; + case SUBLANG_CHINESE_HONGKONG: return "zh_HK"; + case SUBLANG_CHINESE_SINGAPORE: return "zh_SG"; + case SUBLANG_CHINESE_MACAU: return "zh_MO"; + } + return "zh"; + case LANG_CROATIAN: /* LANG_CROATIAN == LANG_SERBIAN + * What used to be called Serbo-Croatian + * should really now be two separate + * languages because of political reasons. + * (Says tml, who knows nothing about Serbian + * or Croatian.) + * (I can feel those flames coming already.) + */ + switch (sub) + { + case SUBLANG_DEFAULT: return "hr_HR"; + case SUBLANG_SERBIAN_LATIN: return "sr_CS"; + case SUBLANG_SERBIAN_CYRILLIC: return "sr_CS@cyrillic"; + } + return "hr"; + case LANG_CZECH: return "cs_CZ"; + case LANG_DANISH: return "da_DK"; + case LANG_DIVEHI: return "dv_MV"; + case LANG_DUTCH: + switch (sub) + { + case SUBLANG_DUTCH: return "nl_NL"; + case SUBLANG_DUTCH_BELGIAN: /* FLEMISH, VLAAMS */ return "nl_BE"; + } + return "nl"; + case LANG_EDO: return "bin_NG"; + case LANG_ENGLISH: + switch (sub) + { + /* SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. Heh. I thought + * English was the language spoken in England. + * Oh well. + */ + case SUBLANG_ENGLISH_US: return "en_US"; + case SUBLANG_ENGLISH_UK: return "en_GB"; + case SUBLANG_ENGLISH_AUS: return "en_AU"; + case SUBLANG_ENGLISH_CAN: return "en_CA"; + case SUBLANG_ENGLISH_NZ: return "en_NZ"; + case SUBLANG_ENGLISH_EIRE: return "en_IE"; + case SUBLANG_ENGLISH_SOUTH_AFRICA: return "en_ZA"; + case SUBLANG_ENGLISH_JAMAICA: return "en_JM"; + case SUBLANG_ENGLISH_CARIBBEAN: return "en_GD"; /* Grenada? */ + case SUBLANG_ENGLISH_BELIZE: return "en_BZ"; + case SUBLANG_ENGLISH_TRINIDAD: return "en_TT"; + case SUBLANG_ENGLISH_ZIMBABWE: return "en_ZW"; + case SUBLANG_ENGLISH_PHILIPPINES: return "en_PH"; + case SUBLANG_ENGLISH_INDONESIA: return "en_ID"; + case SUBLANG_ENGLISH_HONGKONG: return "en_HK"; + case SUBLANG_ENGLISH_INDIA: return "en_IN"; + case SUBLANG_ENGLISH_MALAYSIA: return "en_MY"; + case SUBLANG_ENGLISH_SINGAPORE: return "en_SG"; + } + return "en"; + case LANG_ESTONIAN: return "et_EE"; + case LANG_FAEROESE: return "fo_FO"; + case LANG_FARSI: return "fa_IR"; + case LANG_FINNISH: return "fi_FI"; + case LANG_FRENCH: + switch (sub) + { + case SUBLANG_FRENCH: return "fr_FR"; + case SUBLANG_FRENCH_BELGIAN: /* WALLOON */ return "fr_BE"; + case SUBLANG_FRENCH_CANADIAN: return "fr_CA"; + case SUBLANG_FRENCH_SWISS: return "fr_CH"; + case SUBLANG_FRENCH_LUXEMBOURG: return "fr_LU"; + case SUBLANG_FRENCH_MONACO: return "fr_MC"; + case SUBLANG_FRENCH_WESTINDIES: return "fr"; /* Caribbean? */ + case SUBLANG_FRENCH_REUNION: return "fr_RE"; + case SUBLANG_FRENCH_CONGO: return "fr_CG"; + case SUBLANG_FRENCH_SENEGAL: return "fr_SN"; + case SUBLANG_FRENCH_CAMEROON: return "fr_CM"; + case SUBLANG_FRENCH_COTEDIVOIRE: return "fr_CI"; + case SUBLANG_FRENCH_MALI: return "fr_ML"; + case SUBLANG_FRENCH_MOROCCO: return "fr_MA"; + case SUBLANG_FRENCH_HAITI: return "fr_HT"; + } + return "fr"; + case LANG_FRISIAN: return "fy_NL"; + case LANG_FULFULDE: + /* Spoken in Nigeria, Guinea, Senegal, Mali, Niger, Cameroon, Benin. */ + return "ff_NG"; + case LANG_GAELIC: + switch (sub) + { + case 0x01: /* SCOTTISH */ return "gd_GB"; + case 0x02: /* IRISH */ return "ga_IE"; + } + return "C"; + case LANG_GALICIAN: return "gl_ES"; + case LANG_GEORGIAN: return "ka_GE"; + case LANG_GERMAN: + switch (sub) + { + case SUBLANG_GERMAN: return "de_DE"; + case SUBLANG_GERMAN_SWISS: return "de_CH"; + case SUBLANG_GERMAN_AUSTRIAN: return "de_AT"; + case SUBLANG_GERMAN_LUXEMBOURG: return "de_LU"; + case SUBLANG_GERMAN_LIECHTENSTEIN: return "de_LI"; + } + return "de"; + case LANG_GREEK: return "el_GR"; + case LANG_GUARANI: return "gn_PY"; + case LANG_GUJARATI: return "gu_IN"; + case LANG_HAUSA: return "ha_NG"; + case LANG_HAWAIIAN: + /* FIXME: Do they mean Hawaiian ("haw_US", 1000 speakers) + or Hawaii Creole English ("cpe_US", 600000 speakers)? */ + return "cpe_US"; + case LANG_HEBREW: return "he_IL"; + case LANG_HINDI: return "hi_IN"; + case LANG_HUNGARIAN: return "hu_HU"; + case LANG_IBIBIO: return "nic_NG"; + case LANG_ICELANDIC: return "is_IS"; + case LANG_IGBO: return "ig_NG"; + case LANG_INDONESIAN: return "id_ID"; + case LANG_INUKTITUT: return "iu_CA"; + case LANG_ITALIAN: + switch (sub) + { + case SUBLANG_ITALIAN: return "it_IT"; + case SUBLANG_ITALIAN_SWISS: return "it_CH"; + } + return "it"; + case LANG_JAPANESE: return "ja_JP"; + case LANG_KANNADA: return "kn_IN"; + case LANG_KANURI: return "kr_NG"; + case LANG_KASHMIRI: + switch (sub) + { + case SUBLANG_DEFAULT: return "ks_PK"; + case SUBLANG_KASHMIRI_INDIA: return "ks_IN"; + } + return "ks"; + case LANG_KAZAK: return "kk_KZ"; + case LANG_KONKANI: + /* FIXME: Adjust this when such locales appear on Unix. */ + return "kok_IN"; + case LANG_KOREAN: return "ko_KR"; + case LANG_KYRGYZ: return "ky_KG"; + case LANG_LAO: return "lo_LA"; + case LANG_LATIN: return "la_VA"; + case LANG_LATVIAN: return "lv_LV"; + case LANG_LITHUANIAN: return "lt_LT"; + case LANG_MACEDONIAN: return "mk_MK"; + case LANG_MALAY: + switch (sub) + { + case SUBLANG_MALAY_MALAYSIA: return "ms_MY"; + case SUBLANG_MALAY_BRUNEI_DARUSSALAM: return "ms_BN"; + } + return "ms"; + case LANG_MALAYALAM: return "ml_IN"; + case LANG_MALTESE: return "mt_MT"; + case LANG_MANIPURI: + /* FIXME: Adjust this when such locales appear on Unix. */ + return "mni_IN"; + case LANG_MARATHI: return "mr_IN"; + case LANG_MONGOLIAN: + return "mn"; /* Ambiguous: could be "mn_CN" or "mn_MN". */ + case LANG_NEPALI: + switch (sub) + { + case SUBLANG_DEFAULT: return "ne_NP"; + case SUBLANG_NEPALI_INDIA: return "ne_IN"; + } + return "ne"; + case LANG_NORWEGIAN: + switch (sub) + { + case SUBLANG_NORWEGIAN_BOKMAL: return "no_NO"; + case SUBLANG_NORWEGIAN_NYNORSK: return "nn_NO"; + } + return "no"; + case LANG_ORIYA: return "or_IN"; + case LANG_OROMO: return "om_ET"; + case LANG_PAPIAMENTU: return "pap_AN"; + case LANG_PASHTO: + return "ps"; /* Ambiguous: could be "ps_PK" or "ps_AF". */ + case LANG_POLISH: return "pl_PL"; + case LANG_PORTUGUESE: + switch (sub) + { + case SUBLANG_PORTUGUESE: return "pt_PT"; + /* Hmm. SUBLANG_PORTUGUESE_BRAZILIAN == SUBLANG_DEFAULT. + Same phenomenon as SUBLANG_ENGLISH_US == SUBLANG_DEFAULT. */ + case SUBLANG_PORTUGUESE_BRAZILIAN: return "pt_BR"; + } + return "pt"; + case LANG_PUNJABI: + switch (sub) + { + case SUBLANG_PUNJABI_INDIA: return "pa_IN"; /* Gurmukhi script */ + case SUBLANG_PUNJABI_PAKISTAN: return "pa_PK"; /* Arabic script */ + } + return "pa"; + case LANG_RHAETO_ROMANCE: return "rm_CH"; + case LANG_ROMANIAN: + switch (sub) + { + case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO"; + case SUBLANG_ROMANIAN_MOLDOVA: return "ro_MD"; + } + return "ro"; + case LANG_RUSSIAN: + return "ru"; /* Ambiguous: could be "ru_RU" or "ru_UA" or "ru_MD". */ + case LANG_SAAMI: /* actually Northern Sami */ return "se_NO"; + case LANG_SANSKRIT: return "sa_IN"; + case LANG_SINDHI: + switch (sub) + { + case SUBLANG_SINDHI_INDIA: return "sd_IN"; + case SUBLANG_SINDHI_PAKISTAN: return "sd_PK"; + } + return "sd"; + case LANG_SINHALESE: return "si_LK"; + case LANG_SLOVAK: return "sk_SK"; + case LANG_SLOVENIAN: return "sl_SI"; + case LANG_SOMALI: return "so_SO"; + case LANG_SORBIAN: + /* FIXME: Adjust this when such locales appear on Unix. */ + return "wen_DE"; + case LANG_SPANISH: + switch (sub) + { + case SUBLANG_SPANISH: return "es_ES"; + case SUBLANG_SPANISH_MEXICAN: return "es_MX"; + case SUBLANG_SPANISH_MODERN: + return "es_ES@modern"; /* not seen on Unix */ + case SUBLANG_SPANISH_GUATEMALA: return "es_GT"; + case SUBLANG_SPANISH_COSTA_RICA: return "es_CR"; + case SUBLANG_SPANISH_PANAMA: return "es_PA"; + case SUBLANG_SPANISH_DOMINICAN_REPUBLIC: return "es_DO"; + case SUBLANG_SPANISH_VENEZUELA: return "es_VE"; + case SUBLANG_SPANISH_COLOMBIA: return "es_CO"; + case SUBLANG_SPANISH_PERU: return "es_PE"; + case SUBLANG_SPANISH_ARGENTINA: return "es_AR"; + case SUBLANG_SPANISH_ECUADOR: return "es_EC"; + case SUBLANG_SPANISH_CHILE: return "es_CL"; + case SUBLANG_SPANISH_URUGUAY: return "es_UY"; + case SUBLANG_SPANISH_PARAGUAY: return "es_PY"; + case SUBLANG_SPANISH_BOLIVIA: return "es_BO"; + case SUBLANG_SPANISH_EL_SALVADOR: return "es_SV"; + case SUBLANG_SPANISH_HONDURAS: return "es_HN"; + case SUBLANG_SPANISH_NICARAGUA: return "es_NI"; + case SUBLANG_SPANISH_PUERTO_RICO: return "es_PR"; + } + return "es"; + case LANG_SUTU: return "bnt_TZ"; /* or "st_LS" or "nso_ZA"? */ + case LANG_SWAHILI: return "sw_KE"; + case LANG_SWEDISH: + switch (sub) + { + case SUBLANG_DEFAULT: return "sv_SE"; + case SUBLANG_SWEDISH_FINLAND: return "sv_FI"; + } + return "sv"; + case LANG_SYRIAC: return "syr_TR"; /* An extinct language. */ + case LANG_TAGALOG: return "tl_PH"; + case LANG_TAJIK: return "tg_TJ"; + case LANG_TAMAZIGHT: + switch (sub) + { + /* FIXME: Adjust this when Tamazight locales appear on Unix. */ + case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic"; + case SUBLANG_TAMAZIGHT_LATIN: return "ber_MA@latin"; + } + return "ber_MA"; + case LANG_TAMIL: + return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG". */ + case LANG_TATAR: return "tt_RU"; + case LANG_TELUGU: return "te_IN"; + case LANG_THAI: return "th_TH"; + case LANG_TIBETAN: return "bo_CN"; + case LANG_TIGRINYA: + switch (sub) + { + case SUBLANG_TIGRINYA_ETHIOPIA: return "ti_ET"; + case SUBLANG_TIGRINYA_ERITREA: return "ti_ER"; + } + return "ti"; + case LANG_TSONGA: return "ts_ZA"; + case LANG_TSWANA: return "tn_BW"; + case LANG_TURKISH: return "tr_TR"; + case LANG_TURKMEN: return "tk_TM"; + case LANG_UKRAINIAN: return "uk_UA"; + case LANG_URDU: + switch (sub) + { + case SUBLANG_URDU_PAKISTAN: return "ur_PK"; + case SUBLANG_URDU_INDIA: return "ur_IN"; + } + return "ur"; + case LANG_UZBEK: + switch (sub) + { + case SUBLANG_UZBEK_LATIN: return "uz_UZ"; + case SUBLANG_UZBEK_CYRILLIC: return "uz_UZ@cyrillic"; + } + return "uz"; + case LANG_VENDA: return "ve_ZA"; + case LANG_VIETNAMESE: return "vi_VN"; + case LANG_WELSH: return "cy_GB"; + case LANG_XHOSA: return "xh_ZA"; + case LANG_YI: return "sit_CN"; + case LANG_YIDDISH: return "yi_IL"; + case LANG_YORUBA: return "yo_NG"; + case LANG_ZULU: return "zu_ZA"; + default: return "C"; + } + +#endif +} diff --git a/intl/log.c b/intl/log.c new file mode 100644 index 0000000..cb6076e --- /dev/null +++ b/intl/log.c @@ -0,0 +1,98 @@ +/* Log file output. + Copyright (C) 2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Written by Bruno Haible . */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include + +/* Print an ASCII string with quotes and escape sequences where needed. */ +static void +print_escaped (FILE *stream, const char *str) +{ + putc ('"', stream); + for (; *str != '\0'; str++) + if (*str == '\n') + { + fputs ("\\n\"", stream); + if (str[1] == '\0') + return; + fputs ("\n\"", stream); + } + else + { + if (*str == '"' || *str == '\\') + putc ('\\', stream); + putc (*str, stream); + } + putc ('"', stream); +} + +/* Add to the log file an entry denoting a failed translation. */ +void +_nl_log_untranslated (const char *logfilename, const char *domainname, + const char *msgid1, const char *msgid2, int plural) +{ + static char *last_logfilename = NULL; + static FILE *last_logfile = NULL; + FILE *logfile; + + /* Can we reuse the last opened logfile? */ + if (last_logfilename == NULL || strcmp (logfilename, last_logfilename) != 0) + { + /* Close the last used logfile. */ + if (last_logfilename != NULL) + { + if (last_logfile != NULL) + { + fclose (last_logfile); + last_logfile = NULL; + } + free (last_logfilename); + last_logfilename = NULL; + } + /* Open the logfile. */ + last_logfilename = (char *) malloc (strlen (logfilename) + 1); + if (last_logfilename == NULL) + return; + strcpy (last_logfilename, logfilename); + last_logfile = fopen (logfilename, "a"); + if (last_logfile == NULL) + return; + } + logfile = last_logfile; + + fprintf (logfile, "domain "); + print_escaped (logfile, domainname); + fprintf (logfile, "\nmsgid "); + print_escaped (logfile, msgid1); + if (plural) + { + fprintf (logfile, "\nmsgid_plural "); + print_escaped (logfile, msgid2); + fprintf (logfile, "\nmsgstr[0] \"\"\n"); + } + else + fprintf (logfile, "\nmsgstr \"\"\n"); + putc ('\n', logfile); +} diff --git a/intl/ngettext.c b/intl/ngettext.c new file mode 100644 index 0000000..e73e00c --- /dev/null +++ b/intl/ngettext.c @@ -0,0 +1,65 @@ +/* Implementation of ngettext(3) function. + Copyright (C) 1995, 1997, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef _LIBC +# define __need_NULL +# include +#else +# include /* Just for NULL. */ +#endif + +#include "gettextP.h" +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif + +#include + +/* @@ end of prolog @@ */ + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define NGETTEXT __ngettext +# define DCNGETTEXT __dcngettext +#else +# define NGETTEXT libintl_ngettext +# define DCNGETTEXT libintl_dcngettext +#endif + +/* Look up MSGID in the current default message catalog for the current + LC_MESSAGES locale. If not found, returns MSGID itself (the default + text). */ +char * +NGETTEXT (const char *msgid1, const char *msgid2, unsigned long int n) +{ + return DCNGETTEXT (NULL, msgid1, msgid2, n, LC_MESSAGES); +} + +#ifdef _LIBC +/* Alias for function name in GNU C Library. */ +weak_alias (__ngettext, ngettext); +#endif diff --git a/intl/os2compat.c b/intl/os2compat.c new file mode 100644 index 0000000..c8dc33e --- /dev/null +++ b/intl/os2compat.c @@ -0,0 +1,98 @@ +/* OS/2 compatibility functions. + Copyright (C) 2001-2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#define OS2_AWARE +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include +#include + +/* A version of getenv() that works from DLLs */ +extern unsigned long DosScanEnv (const unsigned char *pszName, unsigned char **ppszValue); + +char * +_nl_getenv (const char *name) +{ + unsigned char *value; + if (DosScanEnv (name, &value)) + return NULL; + else + return value; +} + +/* A fixed size buffer. */ +char libintl_nl_default_dirname[MAXPATHLEN+1]; + +char *_nlos2_libdir = NULL; +char *_nlos2_localealiaspath = NULL; +char *_nlos2_localedir = NULL; + +static __attribute__((constructor)) void +nlos2_initialize () +{ + char *root = getenv ("UNIXROOT"); + char *gnulocaledir = getenv ("GNULOCALEDIR"); + + _nlos2_libdir = gnulocaledir; + if (!_nlos2_libdir) + { + if (root) + { + size_t sl = strlen (root); + _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1); + memcpy (_nlos2_libdir, root, sl); + memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1); + } + else + _nlos2_libdir = LIBDIR; + } + + _nlos2_localealiaspath = gnulocaledir; + if (!_nlos2_localealiaspath) + { + if (root) + { + size_t sl = strlen (root); + _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1); + memcpy (_nlos2_localealiaspath, root, sl); + memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1); + } + else + _nlos2_localealiaspath = LOCALE_ALIAS_PATH; + } + + _nlos2_localedir = gnulocaledir; + if (!_nlos2_localedir) + { + if (root) + { + size_t sl = strlen (root); + _nlos2_localedir = (char *) malloc (sl + strlen (LOCALEDIR) + 1); + memcpy (_nlos2_localedir, root, sl); + memcpy (_nlos2_localedir + sl, LOCALEDIR, strlen (LOCALEDIR) + 1); + } + else + _nlos2_localedir = LOCALEDIR; + } + + if (strlen (_nlos2_localedir) <= MAXPATHLEN) + strcpy (libintl_nl_default_dirname, _nlos2_localedir); +} diff --git a/intl/os2compat.h b/intl/os2compat.h new file mode 100644 index 0000000..4f74e8c --- /dev/null +++ b/intl/os2compat.h @@ -0,0 +1,46 @@ +/* OS/2 compatibility defines. + This file is intended to be included from config.h + Copyright (C) 2001-2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* When included from os2compat.h we need all the original definitions */ +#ifndef OS2_AWARE + +#undef LIBDIR +#define LIBDIR _nlos2_libdir +extern char *_nlos2_libdir; + +#undef LOCALEDIR +#define LOCALEDIR _nlos2_localedir +extern char *_nlos2_localedir; + +#undef LOCALE_ALIAS_PATH +#define LOCALE_ALIAS_PATH _nlos2_localealiaspath +extern char *_nlos2_localealiaspath; + +#endif + +#undef HAVE_STRCASECMP +#define HAVE_STRCASECMP 1 +#define strcasecmp stricmp +#define strncasecmp strnicmp + +/* We have our own getenv() which works even if library is compiled as DLL */ +#define getenv _nl_getenv + +/* Older versions of gettext used -1 as the value of LC_MESSAGES */ +#define LC_MESSAGES_COMPAT (-1) diff --git a/intl/osdep.c b/intl/osdep.c new file mode 100644 index 0000000..b372598 --- /dev/null +++ b/intl/osdep.c @@ -0,0 +1,24 @@ +/* OS dependent parts of libintl. + Copyright (C) 2001-2002 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#if defined __EMX__ +# include "os2compat.c" +#else +/* Avoid AIX compiler warning. */ +typedef int dummy; +#endif diff --git a/intl/plural-exp.c b/intl/plural-exp.c new file mode 100644 index 0000000..8c04e64 --- /dev/null +++ b/intl/plural-exp.c @@ -0,0 +1,154 @@ +/* Expression parsing for plural form selection. + Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc. + Written by Ulrich Drepper , 2000. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include + +#include "plural-exp.h" + +#if (defined __GNUC__ && !defined __APPLE_CC__) \ + || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) + +/* These structs are the constant expression for the germanic plural + form determination. It represents the expression "n != 1". */ +static const struct expression plvar = +{ + .nargs = 0, + .operation = var, +}; +static const struct expression plone = +{ + .nargs = 0, + .operation = num, + .val = + { + .num = 1 + } +}; +struct expression GERMANIC_PLURAL = +{ + .nargs = 2, + .operation = not_equal, + .val = + { + .args = + { + [0] = (struct expression *) &plvar, + [1] = (struct expression *) &plone + } + } +}; + +# define INIT_GERMANIC_PLURAL() + +#else + +/* For compilers without support for ISO C 99 struct/union initializers: + Initialization at run-time. */ + +static struct expression plvar; +static struct expression plone; +struct expression GERMANIC_PLURAL; + +static void +init_germanic_plural () +{ + if (plone.val.num == 0) + { + plvar.nargs = 0; + plvar.operation = var; + + plone.nargs = 0; + plone.operation = num; + plone.val.num = 1; + + GERMANIC_PLURAL.nargs = 2; + GERMANIC_PLURAL.operation = not_equal; + GERMANIC_PLURAL.val.args[0] = &plvar; + GERMANIC_PLURAL.val.args[1] = &plone; + } +} + +# define INIT_GERMANIC_PLURAL() init_germanic_plural () + +#endif + +void +internal_function +EXTRACT_PLURAL_EXPRESSION (const char *nullentry, struct expression **pluralp, + unsigned long int *npluralsp) +{ + if (nullentry != NULL) + { + const char *plural; + const char *nplurals; + + plural = strstr (nullentry, "plural="); + nplurals = strstr (nullentry, "nplurals="); + if (plural == NULL || nplurals == NULL) + goto no_plural; + else + { + char *endp; + unsigned long int n; + struct parse_args args; + + /* First get the number. */ + nplurals += 9; + while (*nplurals != '\0' && isspace ((unsigned char) *nplurals)) + ++nplurals; + if (!(*nplurals >= '0' && *nplurals <= '9')) + goto no_plural; +#if defined HAVE_STRTOUL || defined _LIBC + n = strtoul (nplurals, &endp, 10); +#else + for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++) + n = n * 10 + (*endp - '0'); +#endif + if (nplurals == endp) + goto no_plural; + *npluralsp = n; + + /* Due to the restrictions bison imposes onto the interface of the + scanner function we have to put the input string and the result + passed up from the parser into the same structure which address + is passed down to the parser. */ + plural += 7; + args.cp = plural; + if (PLURAL_PARSE (&args) != 0) + goto no_plural; + *pluralp = args.res; + } + } + else + { + /* By default we are using the Germanic form: singular form only + for `one', the plural form otherwise. Yes, this is also what + English is using since English is a Germanic language. */ + no_plural: + INIT_GERMANIC_PLURAL (); + *pluralp = &GERMANIC_PLURAL; + *npluralsp = 2; + } +} diff --git a/intl/plural-exp.h b/intl/plural-exp.h new file mode 100644 index 0000000..49e2c5b --- /dev/null +++ b/intl/plural-exp.h @@ -0,0 +1,118 @@ +/* Expression parsing and evaluation for plural form selection. + Copyright (C) 2000-2003 Free Software Foundation, Inc. + Written by Ulrich Drepper , 2000. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _PLURAL_EXP_H +#define _PLURAL_EXP_H + +#ifndef internal_function +# define internal_function +#endif + +#ifndef attribute_hidden +# define attribute_hidden +#endif + + +/* This is the representation of the expressions to determine the + plural form. */ +struct expression +{ + int nargs; /* Number of arguments. */ + enum operator + { + /* Without arguments: */ + var, /* The variable "n". */ + num, /* Decimal number. */ + /* Unary operators: */ + lnot, /* Logical NOT. */ + /* Binary operators: */ + mult, /* Multiplication. */ + divide, /* Division. */ + module, /* Modulo operation. */ + plus, /* Addition. */ + minus, /* Subtraction. */ + less_than, /* Comparison. */ + greater_than, /* Comparison. */ + less_or_equal, /* Comparison. */ + greater_or_equal, /* Comparison. */ + equal, /* Comparison for equality. */ + not_equal, /* Comparison for inequality. */ + land, /* Logical AND. */ + lor, /* Logical OR. */ + /* Ternary operators: */ + qmop /* Question mark operator. */ + } operation; + union + { + unsigned long int num; /* Number value for `num'. */ + struct expression *args[3]; /* Up to three arguments. */ + } val; +}; + +/* This is the data structure to pass information to the parser and get + the result in a thread-safe way. */ +struct parse_args +{ + const char *cp; + struct expression *res; +}; + + +/* Names for the libintl functions are a problem. This source code is used + 1. in the GNU C Library library, + 2. in the GNU libintl library, + 3. in the GNU gettext tools. + The function names in each situation must be different, to allow for + binary incompatible changes in 'struct expression'. Furthermore, + 1. in the GNU C Library library, the names have a __ prefix, + 2.+3. in the GNU libintl library and in the GNU gettext tools, the names + must follow ANSI C and not start with __. + So we have to distinguish the three cases. */ +#ifdef _LIBC +# define FREE_EXPRESSION __gettext_free_exp +# define PLURAL_PARSE __gettextparse +# define GERMANIC_PLURAL __gettext_germanic_plural +# define EXTRACT_PLURAL_EXPRESSION __gettext_extract_plural +#elif defined (IN_LIBINTL) +# define FREE_EXPRESSION libintl_gettext_free_exp +# define PLURAL_PARSE libintl_gettextparse +# define GERMANIC_PLURAL libintl_gettext_germanic_plural +# define EXTRACT_PLURAL_EXPRESSION libintl_gettext_extract_plural +#else +# define FREE_EXPRESSION free_plural_expression +# define PLURAL_PARSE parse_plural_expression +# define GERMANIC_PLURAL germanic_plural +# define EXTRACT_PLURAL_EXPRESSION extract_plural_expression +#endif + +extern void FREE_EXPRESSION (struct expression *exp) + internal_function; +extern int PLURAL_PARSE (void *arg); +extern struct expression GERMANIC_PLURAL attribute_hidden; +extern void EXTRACT_PLURAL_EXPRESSION (const char *nullentry, + struct expression **pluralp, + unsigned long int *npluralsp) + internal_function; + +#if !defined (_LIBC) && !defined (IN_LIBINTL) +extern unsigned long int plural_eval (struct expression *pexp, + unsigned long int n); +#endif + +#endif /* _PLURAL_EXP_H */ diff --git a/intl/plural.c b/intl/plural.c new file mode 100644 index 0000000..72494f9 --- /dev/null +++ b/intl/plural.c @@ -0,0 +1,1490 @@ +/* A Bison parser, made from plural.y + by GNU bison 1.35. */ + +#define YYBISON 1 /* Identify Bison output. */ + +#define yyparse __gettextparse +#define yylex __gettextlex +#define yyerror __gettexterror +#define yylval __gettextlval +#define yychar __gettextchar +#define yydebug __gettextdebug +#define yynerrs __gettextnerrs +# define EQUOP2 257 +# define CMPOP2 258 +# define ADDOP2 259 +# define MULOP2 260 +# define NUMBER 261 + +#line 1 "plural.y" + +/* Expression parsing for plural form selection. + Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc. + Written by Ulrich Drepper , 2000. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* The bison generated parser uses alloca. AIX 3 forces us to put this + declaration at the beginning of the file. The declaration in bison's + skeleton file comes too late. This must come before + because may include arbitrary system headers. */ +#if defined _AIX && !defined __GNUC__ + #pragma alloca +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include "plural-exp.h" + +/* The main function generated by the parser is called __gettextparse, + but we want it to be called PLURAL_PARSE. */ +#ifndef _LIBC +# define __gettextparse PLURAL_PARSE +#endif + +#define YYLEX_PARAM &((struct parse_args *) arg)->cp +#define YYPARSE_PARAM arg + +#line 49 "plural.y" +#ifndef YYSTYPE +typedef union { + unsigned long int num; + enum operator op; + struct expression *exp; +} yystype; +# define YYSTYPE yystype +# define YYSTYPE_IS_TRIVIAL 1 +#endif +#line 55 "plural.y" + +/* Prototypes for local functions. */ +static int yylex (YYSTYPE *lval, const char **pexp); +static void yyerror (const char *str); + +/* Allocation of expressions. */ + +static struct expression * +new_exp (int nargs, enum operator op, struct expression * const *args) +{ + int i; + struct expression *newp; + + /* If any of the argument could not be malloc'ed, just return NULL. */ + for (i = nargs - 1; i >= 0; i--) + if (args[i] == NULL) + goto fail; + + /* Allocate a new expression. */ + newp = (struct expression *) malloc (sizeof (*newp)); + if (newp != NULL) + { + newp->nargs = nargs; + newp->operation = op; + for (i = nargs - 1; i >= 0; i--) + newp->val.args[i] = args[i]; + return newp; + } + + fail: + for (i = nargs - 1; i >= 0; i--) + FREE_EXPRESSION (args[i]); + + return NULL; +} + +static inline struct expression * +new_exp_0 (enum operator op) +{ + return new_exp (0, op, NULL); +} + +static inline struct expression * +new_exp_1 (enum operator op, struct expression *right) +{ + struct expression *args[1]; + + args[0] = right; + return new_exp (1, op, args); +} + +static struct expression * +new_exp_2 (enum operator op, struct expression *left, struct expression *right) +{ + struct expression *args[2]; + + args[0] = left; + args[1] = right; + return new_exp (2, op, args); +} + +static inline struct expression * +new_exp_3 (enum operator op, struct expression *bexp, + struct expression *tbranch, struct expression *fbranch) +{ + struct expression *args[3]; + + args[0] = bexp; + args[1] = tbranch; + args[2] = fbranch; + return new_exp (3, op, args); +} + +#ifndef YYDEBUG +# define YYDEBUG 0 +#endif + + + +#define YYFINAL 27 +#define YYFLAG -32768 +#define YYNTBASE 16 + +/* YYTRANSLATE(YYLEX) -- Bison token number corresponding to YYLEX. */ +#define YYTRANSLATE(x) ((unsigned)(x) <= 261 ? yytranslate[x] : 18) + +/* YYTRANSLATE[YYLEX] -- Bison token number corresponding to YYLEX. */ +static const char yytranslate[] = +{ + 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 10, 2, 2, 2, 2, 5, 2, + 14, 15, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 12, 2, + 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 13, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 1, 6, 7, 8, + 9, 11 +}; + +#if YYDEBUG +static const short yyprhs[] = +{ + 0, 0, 2, 8, 12, 16, 20, 24, 28, 32, + 35, 37, 39 +}; +static const short yyrhs[] = +{ + 17, 0, 17, 3, 17, 12, 17, 0, 17, 4, + 17, 0, 17, 5, 17, 0, 17, 6, 17, 0, + 17, 7, 17, 0, 17, 8, 17, 0, 17, 9, + 17, 0, 10, 17, 0, 13, 0, 11, 0, 14, + 17, 15, 0 +}; + +#endif + +#if YYDEBUG +/* YYRLINE[YYN] -- source line where rule number YYN was defined. */ +static const short yyrline[] = +{ + 0, 150, 158, 162, 166, 170, 174, 178, 182, 186, + 190, 194, 199 +}; +#endif + + +#if (YYDEBUG) || defined YYERROR_VERBOSE + +/* YYTNAME[TOKEN_NUM] -- String name of the token TOKEN_NUM. */ +static const char *const yytname[] = +{ + "$", "error", "$undefined.", "'?'", "'|'", "'&'", "EQUOP2", "CMPOP2", + "ADDOP2", "MULOP2", "'!'", "NUMBER", "':'", "'n'", "'('", "')'", + "start", "exp", 0 +}; +#endif + +/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */ +static const short yyr1[] = +{ + 0, 16, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17 +}; + +/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */ +static const short yyr2[] = +{ + 0, 1, 5, 3, 3, 3, 3, 3, 3, 2, + 1, 1, 3 +}; + +/* YYDEFACT[S] -- default rule to reduce with in state S when YYTABLE + doesn't specify something else to do. Zero means the default is an + error. */ +static const short yydefact[] = +{ + 0, 0, 11, 10, 0, 1, 9, 0, 0, 0, + 0, 0, 0, 0, 0, 12, 0, 3, 4, 5, + 6, 7, 8, 0, 2, 0, 0, 0 +}; + +static const short yydefgoto[] = +{ + 25, 5 +}; + +static const short yypact[] = +{ + -9, -9,-32768,-32768, -9, 34,-32768, 11, -9, -9, + -9, -9, -9, -9, -9,-32768, 24, 39, 43, 16, + 26, -3,-32768, -9, 34, 21, 53,-32768 +}; + +static const short yypgoto[] = +{ + -32768, -1 +}; + + +#define YYLAST 53 + + +static const short yytable[] = +{ + 6, 1, 2, 7, 3, 4, 14, 16, 17, 18, + 19, 20, 21, 22, 8, 9, 10, 11, 12, 13, + 14, 26, 24, 12, 13, 14, 15, 8, 9, 10, + 11, 12, 13, 14, 13, 14, 23, 8, 9, 10, + 11, 12, 13, 14, 10, 11, 12, 13, 14, 11, + 12, 13, 14, 27 +}; + +static const short yycheck[] = +{ + 1, 10, 11, 4, 13, 14, 9, 8, 9, 10, + 11, 12, 13, 14, 3, 4, 5, 6, 7, 8, + 9, 0, 23, 7, 8, 9, 15, 3, 4, 5, + 6, 7, 8, 9, 8, 9, 12, 3, 4, 5, + 6, 7, 8, 9, 5, 6, 7, 8, 9, 6, + 7, 8, 9, 0 +}; +#define YYPURE 1 + +/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ +#line 3 "/usr/local/share/bison/bison.simple" + +/* Skeleton output parser for bison, + + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software + Foundation, Inc. + + This program 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 version 2, or (at your option) + any later version. + + This program 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. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +/* As a special exception, when this file is copied by Bison into a + Bison output file, you may use that output file without restriction. + This special exception was added by the Free Software Foundation + in version 1.24 of Bison. */ + +/* This is the parser code that is written into each bison parser when + the %semantic_parser declaration is not specified in the grammar. + It was written by Richard Stallman by simplifying the hairy parser + used when %semantic_parser is specified. */ + +/* All symbols defined below should begin with yy or YY, to avoid + infringing on user name space. This should be done even for local + variables, as they might otherwise be expanded by user macros. + There are some unavoidable exceptions within include files to + define necessary library symbols; they are noted "INFRINGES ON + USER NAME SPACE" below. */ + +#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE) + +/* The parser invokes alloca or malloc; define the necessary symbols. */ + +# if YYSTACK_USE_ALLOCA +# define YYSTACK_ALLOC alloca +# else +# ifndef YYSTACK_USE_ALLOCA +# if defined (alloca) || defined (_ALLOCA_H) +# define YYSTACK_ALLOC alloca +# else +# ifdef __GNUC__ +# define YYSTACK_ALLOC __builtin_alloca +# endif +# endif +# endif +# endif + +# ifdef YYSTACK_ALLOC + /* Pacify GCC's `empty if-body' warning. */ +# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) +# else +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +# define YYSTACK_ALLOC malloc +# define YYSTACK_FREE free +# endif +#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */ + + +#if (! defined (yyoverflow) \ + && (! defined (__cplusplus) \ + || (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL))) + +/* A type that is properly aligned for any stack member. */ +union yyalloc +{ + short yyss; + YYSTYPE yyvs; +# if YYLSP_NEEDED + YYLTYPE yyls; +# endif +}; + +/* The size of the maximum gap between one aligned stack and the next. */ +# define YYSTACK_GAP_MAX (sizeof (union yyalloc) - 1) + +/* The size of an array large to enough to hold all stacks, each with + N elements. */ +# if YYLSP_NEEDED +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \ + + 2 * YYSTACK_GAP_MAX) +# else +# define YYSTACK_BYTES(N) \ + ((N) * (sizeof (short) + sizeof (YYSTYPE)) \ + + YYSTACK_GAP_MAX) +# endif + +/* Copy COUNT objects from FROM to TO. The source and destination do + not overlap. */ +# ifndef YYCOPY +# if 1 < __GNUC__ +# define YYCOPY(To, From, Count) \ + __builtin_memcpy (To, From, (Count) * sizeof (*(From))) +# else +# define YYCOPY(To, From, Count) \ + do \ + { \ + register YYSIZE_T yyi; \ + for (yyi = 0; yyi < (Count); yyi++) \ + (To)[yyi] = (From)[yyi]; \ + } \ + while (0) +# endif +# endif + +/* Relocate STACK from its old location to the new one. The + local variables YYSIZE and YYSTACKSIZE give the old and new number of + elements in the stack, and YYPTR gives the new location of the + stack. Advance YYPTR to a properly aligned location for the next + stack. */ +# define YYSTACK_RELOCATE(Stack) \ + do \ + { \ + YYSIZE_T yynewbytes; \ + YYCOPY (&yyptr->Stack, Stack, yysize); \ + Stack = &yyptr->Stack; \ + yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \ + yyptr += yynewbytes / sizeof (*yyptr); \ + } \ + while (0) + +#endif + + +#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) +# define YYSIZE_T __SIZE_TYPE__ +#endif +#if ! defined (YYSIZE_T) && defined (size_t) +# define YYSIZE_T size_t +#endif +#if ! defined (YYSIZE_T) +# if defined (__STDC__) || defined (__cplusplus) +# include /* INFRINGES ON USER NAME SPACE */ +# define YYSIZE_T size_t +# endif +#endif +#if ! defined (YYSIZE_T) +# define YYSIZE_T unsigned int +#endif + +#define yyerrok (yyerrstatus = 0) +#define yyclearin (yychar = YYEMPTY) +#define YYEMPTY -2 +#define YYEOF 0 +#define YYACCEPT goto yyacceptlab +#define YYABORT goto yyabortlab +#define YYERROR goto yyerrlab1 +/* Like YYERROR except do call yyerror. This remains here temporarily + to ease the transition to the new meaning of YYERROR, for GCC. + Once GCC version 2 has supplanted version 1, this can go. */ +#define YYFAIL goto yyerrlab +#define YYRECOVERING() (!!yyerrstatus) +#define YYBACKUP(Token, Value) \ +do \ + if (yychar == YYEMPTY && yylen == 1) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + yychar1 = YYTRANSLATE (yychar); \ + YYPOPSTACK; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror ("syntax error: cannot back up"); \ + YYERROR; \ + } \ +while (0) + +#define YYTERROR 1 +#define YYERRCODE 256 + + +/* YYLLOC_DEFAULT -- Compute the default location (before the actions + are run). + + When YYLLOC_DEFAULT is run, CURRENT is set the location of the + first token. By default, to implement support for ranges, extend + its range to the last symbol. */ + +#ifndef YYLLOC_DEFAULT +# define YYLLOC_DEFAULT(Current, Rhs, N) \ + Current.last_line = Rhs[N].last_line; \ + Current.last_column = Rhs[N].last_column; +#endif + + +/* YYLEX -- calling `yylex' with the right arguments. */ + +#if YYPURE +# if YYLSP_NEEDED +# ifdef YYLEX_PARAM +# define YYLEX yylex (&yylval, &yylloc, YYLEX_PARAM) +# else +# define YYLEX yylex (&yylval, &yylloc) +# endif +# else /* !YYLSP_NEEDED */ +# ifdef YYLEX_PARAM +# define YYLEX yylex (&yylval, YYLEX_PARAM) +# else +# define YYLEX yylex (&yylval) +# endif +# endif /* !YYLSP_NEEDED */ +#else /* !YYPURE */ +# define YYLEX yylex () +#endif /* !YYPURE */ + + +/* Enable debugging if requested. */ +#if YYDEBUG + +# ifndef YYFPRINTF +# include /* INFRINGES ON USER NAME SPACE */ +# define YYFPRINTF fprintf +# endif + +# define YYDPRINTF(Args) \ +do { \ + if (yydebug) \ + YYFPRINTF Args; \ +} while (0) +/* Nonzero means print parse trace. It is left uninitialized so that + multiple parsers can coexist. */ +int yydebug; +#else /* !YYDEBUG */ +# define YYDPRINTF(Args) +#endif /* !YYDEBUG */ + +/* YYINITDEPTH -- initial size of the parser's stacks. */ +#ifndef YYINITDEPTH +# define YYINITDEPTH 200 +#endif + +/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only + if the built-in stack extension method is used). + + Do not make this value too large; the results are undefined if + SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) + evaluated with infinite-precision integer arithmetic. */ + +#if YYMAXDEPTH == 0 +# undef YYMAXDEPTH +#endif + +#ifndef YYMAXDEPTH +# define YYMAXDEPTH 10000 +#endif + +#ifdef YYERROR_VERBOSE + +# ifndef yystrlen +# if defined (__GLIBC__) && defined (_STRING_H) +# define yystrlen strlen +# else +/* Return the length of YYSTR. */ +static YYSIZE_T +# if defined (__STDC__) || defined (__cplusplus) +yystrlen (const char *yystr) +# else +yystrlen (yystr) + const char *yystr; +# endif +{ + register const char *yys = yystr; + + while (*yys++ != '\0') + continue; + + return yys - yystr - 1; +} +# endif +# endif + +# ifndef yystpcpy +# if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE) +# define yystpcpy stpcpy +# else +/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in + YYDEST. */ +static char * +# if defined (__STDC__) || defined (__cplusplus) +yystpcpy (char *yydest, const char *yysrc) +# else +yystpcpy (yydest, yysrc) + char *yydest; + const char *yysrc; +# endif +{ + register char *yyd = yydest; + register const char *yys = yysrc; + + while ((*yyd++ = *yys++) != '\0') + continue; + + return yyd - 1; +} +# endif +# endif +#endif + +#line 315 "/usr/local/share/bison/bison.simple" + + +/* The user can define YYPARSE_PARAM as the name of an argument to be passed + into yyparse. The argument should have type void *. + It should actually point to an object. + Grammar actions can access the variable by casting it + to the proper pointer type. */ + +#ifdef YYPARSE_PARAM +# if defined (__STDC__) || defined (__cplusplus) +# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM +# define YYPARSE_PARAM_DECL +# else +# define YYPARSE_PARAM_ARG YYPARSE_PARAM +# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; +# endif +#else /* !YYPARSE_PARAM */ +# define YYPARSE_PARAM_ARG +# define YYPARSE_PARAM_DECL +#endif /* !YYPARSE_PARAM */ + +/* Prevent warning if -Wstrict-prototypes. */ +#ifdef __GNUC__ +# ifdef YYPARSE_PARAM +int yyparse (void *); +# else +int yyparse (void); +# endif +#endif + +/* YY_DECL_VARIABLES -- depending whether we use a pure parser, + variables are global, or local to YYPARSE. */ + +#define YY_DECL_NON_LSP_VARIABLES \ +/* The lookahead symbol. */ \ +int yychar; \ + \ +/* The semantic value of the lookahead symbol. */ \ +YYSTYPE yylval; \ + \ +/* Number of parse errors so far. */ \ +int yynerrs; + +#if YYLSP_NEEDED +# define YY_DECL_VARIABLES \ +YY_DECL_NON_LSP_VARIABLES \ + \ +/* Location data for the lookahead symbol. */ \ +YYLTYPE yylloc; +#else +# define YY_DECL_VARIABLES \ +YY_DECL_NON_LSP_VARIABLES +#endif + + +/* If nonreentrant, generate the variables here. */ + +#if !YYPURE +YY_DECL_VARIABLES +#endif /* !YYPURE */ + +int +yyparse (YYPARSE_PARAM_ARG) + YYPARSE_PARAM_DECL +{ + /* If reentrant, generate the variables here. */ +#if YYPURE + YY_DECL_VARIABLES +#endif /* !YYPURE */ + + register int yystate; + register int yyn; + int yyresult; + /* Number of tokens to shift before error messages enabled. */ + int yyerrstatus; + /* Lookahead token as an internal (translated) token number. */ + int yychar1 = 0; + + /* Three stacks and their tools: + `yyss': related to states, + `yyvs': related to semantic values, + `yyls': related to locations. + + Refer to the stacks thru separate pointers, to allow yyoverflow + to reallocate them elsewhere. */ + + /* The state stack. */ + short yyssa[YYINITDEPTH]; + short *yyss = yyssa; + register short *yyssp; + + /* The semantic value stack. */ + YYSTYPE yyvsa[YYINITDEPTH]; + YYSTYPE *yyvs = yyvsa; + register YYSTYPE *yyvsp; + +#if YYLSP_NEEDED + /* The location stack. */ + YYLTYPE yylsa[YYINITDEPTH]; + YYLTYPE *yyls = yylsa; + YYLTYPE *yylsp; +#endif + +#if YYLSP_NEEDED +# define YYPOPSTACK (yyvsp--, yyssp--, yylsp--) +#else +# define YYPOPSTACK (yyvsp--, yyssp--) +#endif + + YYSIZE_T yystacksize = YYINITDEPTH; + + + /* The variables used to return semantic value and location from the + action routines. */ + YYSTYPE yyval; +#if YYLSP_NEEDED + YYLTYPE yyloc; +#endif + + /* When reducing, the number of symbols on the RHS of the reduced + rule. */ + int yylen; + + YYDPRINTF ((stderr, "Starting parse\n")); + + yystate = 0; + yyerrstatus = 0; + yynerrs = 0; + yychar = YYEMPTY; /* Cause a token to be read. */ + + /* Initialize stack pointers. + Waste one element of value and location stack + so that they stay on the same level as the state stack. + The wasted elements are never initialized. */ + + yyssp = yyss; + yyvsp = yyvs; +#if YYLSP_NEEDED + yylsp = yyls; +#endif + goto yysetstate; + +/*------------------------------------------------------------. +| yynewstate -- Push a new state, which is found in yystate. | +`------------------------------------------------------------*/ + yynewstate: + /* In all cases, when you get here, the value and location stacks + have just been pushed. so pushing a state here evens the stacks. + */ + yyssp++; + + yysetstate: + *yyssp = yystate; + + if (yyssp >= yyss + yystacksize - 1) + { + /* Get the current used size of the three stacks, in elements. */ + YYSIZE_T yysize = yyssp - yyss + 1; + +#ifdef yyoverflow + { + /* Give user a chance to reallocate the stack. Use copies of + these so that the &'s don't force the real ones into + memory. */ + YYSTYPE *yyvs1 = yyvs; + short *yyss1 = yyss; + + /* Each stack pointer address is followed by the size of the + data in use in that stack, in bytes. */ +# if YYLSP_NEEDED + YYLTYPE *yyls1 = yyls; + /* This used to be a conditional around just the two extra args, + but that might be undefined if yyoverflow is a macro. */ + yyoverflow ("parser stack overflow", + &yyss1, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + &yyls1, yysize * sizeof (*yylsp), + &yystacksize); + yyls = yyls1; +# else + yyoverflow ("parser stack overflow", + &yyss1, yysize * sizeof (*yyssp), + &yyvs1, yysize * sizeof (*yyvsp), + &yystacksize); +# endif + yyss = yyss1; + yyvs = yyvs1; + } +#else /* no yyoverflow */ +# ifndef YYSTACK_RELOCATE + goto yyoverflowlab; +# else + /* Extend the stack our own way. */ + if (yystacksize >= YYMAXDEPTH) + goto yyoverflowlab; + yystacksize *= 2; + if (yystacksize > YYMAXDEPTH) + yystacksize = YYMAXDEPTH; + + { + short *yyss1 = yyss; + union yyalloc *yyptr = + (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); + if (! yyptr) + goto yyoverflowlab; + YYSTACK_RELOCATE (yyss); + YYSTACK_RELOCATE (yyvs); +# if YYLSP_NEEDED + YYSTACK_RELOCATE (yyls); +# endif +# undef YYSTACK_RELOCATE + if (yyss1 != yyssa) + YYSTACK_FREE (yyss1); + } +# endif +#endif /* no yyoverflow */ + + yyssp = yyss + yysize - 1; + yyvsp = yyvs + yysize - 1; +#if YYLSP_NEEDED + yylsp = yyls + yysize - 1; +#endif + + YYDPRINTF ((stderr, "Stack size increased to %lu\n", + (unsigned long int) yystacksize)); + + if (yyssp >= yyss + yystacksize - 1) + YYABORT; + } + + YYDPRINTF ((stderr, "Entering state %d\n", yystate)); + + goto yybackup; + + +/*-----------. +| yybackup. | +`-----------*/ +yybackup: + +/* Do appropriate processing given the current state. */ +/* Read a lookahead token if we need one and don't already have one. */ +/* yyresume: */ + + /* First try to decide what to do without reference to lookahead token. */ + + yyn = yypact[yystate]; + if (yyn == YYFLAG) + goto yydefault; + + /* Not known => get a lookahead token if don't already have one. */ + + /* yychar is either YYEMPTY or YYEOF + or a valid token in external form. */ + + if (yychar == YYEMPTY) + { + YYDPRINTF ((stderr, "Reading a token: ")); + yychar = YYLEX; + } + + /* Convert token to internal form (in yychar1) for indexing tables with */ + + if (yychar <= 0) /* This means end of input. */ + { + yychar1 = 0; + yychar = YYEOF; /* Don't call YYLEX any more */ + + YYDPRINTF ((stderr, "Now at end of input.\n")); + } + else + { + yychar1 = YYTRANSLATE (yychar); + +#if YYDEBUG + /* We have to keep this `#if YYDEBUG', since we use variables + which are defined only if `YYDEBUG' is set. */ + if (yydebug) + { + YYFPRINTF (stderr, "Next token is %d (%s", + yychar, yytname[yychar1]); + /* Give the individual parser a way to print the precise + meaning of a token, for further debugging info. */ +# ifdef YYPRINT + YYPRINT (stderr, yychar, yylval); +# endif + YYFPRINTF (stderr, ")\n"); + } +#endif + } + + yyn += yychar1; + if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1) + goto yydefault; + + yyn = yytable[yyn]; + + /* yyn is what to do for this token type in this state. + Negative => reduce, -yyn is rule number. + Positive => shift, yyn is new state. + New state is final state => don't bother to shift, + just return success. + 0, or most negative number => error. */ + + if (yyn < 0) + { + if (yyn == YYFLAG) + goto yyerrlab; + yyn = -yyn; + goto yyreduce; + } + else if (yyn == 0) + goto yyerrlab; + + if (yyn == YYFINAL) + YYACCEPT; + + /* Shift the lookahead token. */ + YYDPRINTF ((stderr, "Shifting token %d (%s), ", + yychar, yytname[yychar1])); + + /* Discard the token being shifted unless it is eof. */ + if (yychar != YYEOF) + yychar = YYEMPTY; + + *++yyvsp = yylval; +#if YYLSP_NEEDED + *++yylsp = yylloc; +#endif + + /* Count tokens shifted since error; after three, turn off error + status. */ + if (yyerrstatus) + yyerrstatus--; + + yystate = yyn; + goto yynewstate; + + +/*-----------------------------------------------------------. +| yydefault -- do the default action for the current state. | +`-----------------------------------------------------------*/ +yydefault: + yyn = yydefact[yystate]; + if (yyn == 0) + goto yyerrlab; + goto yyreduce; + + +/*-----------------------------. +| yyreduce -- Do a reduction. | +`-----------------------------*/ +yyreduce: + /* yyn is the number of a rule to reduce with. */ + yylen = yyr2[yyn]; + + /* If YYLEN is nonzero, implement the default value of the action: + `$$ = $1'. + + Otherwise, the following line sets YYVAL to the semantic value of + the lookahead token. This behavior is undocumented and Bison + users should not rely upon it. Assigning to YYVAL + unconditionally makes the parser a bit smaller, and it avoids a + GCC warning that YYVAL may be used uninitialized. */ + yyval = yyvsp[1-yylen]; + +#if YYLSP_NEEDED + /* Similarly for the default location. Let the user run additional + commands if for instance locations are ranges. */ + yyloc = yylsp[1-yylen]; + YYLLOC_DEFAULT (yyloc, (yylsp - yylen), yylen); +#endif + +#if YYDEBUG + /* We have to keep this `#if YYDEBUG', since we use variables which + are defined only if `YYDEBUG' is set. */ + if (yydebug) + { + int yyi; + + YYFPRINTF (stderr, "Reducing via rule %d (line %d), ", + yyn, yyrline[yyn]); + + /* Print the symbols being reduced, and their result. */ + for (yyi = yyprhs[yyn]; yyrhs[yyi] > 0; yyi++) + YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]); + YYFPRINTF (stderr, " -> %s\n", yytname[yyr1[yyn]]); + } +#endif + + switch (yyn) { + +case 1: +#line 151 "plural.y" +{ + if (yyvsp[0].exp == NULL) + YYABORT; + ((struct parse_args *) arg)->res = yyvsp[0].exp; + } + break; +case 2: +#line 159 "plural.y" +{ + yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp); + } + break; +case 3: +#line 163 "plural.y" +{ + yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp); + } + break; +case 4: +#line 167 "plural.y" +{ + yyval.exp = new_exp_2 (land, yyvsp[-2].exp, yyvsp[0].exp); + } + break; +case 5: +#line 171 "plural.y" +{ + yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); + } + break; +case 6: +#line 175 "plural.y" +{ + yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); + } + break; +case 7: +#line 179 "plural.y" +{ + yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); + } + break; +case 8: +#line 183 "plural.y" +{ + yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); + } + break; +case 9: +#line 187 "plural.y" +{ + yyval.exp = new_exp_1 (lnot, yyvsp[0].exp); + } + break; +case 10: +#line 191 "plural.y" +{ + yyval.exp = new_exp_0 (var); + } + break; +case 11: +#line 195 "plural.y" +{ + if ((yyval.exp = new_exp_0 (num)) != NULL) + yyval.exp->val.num = yyvsp[0].num; + } + break; +case 12: +#line 200 "plural.y" +{ + yyval.exp = yyvsp[-1].exp; + } + break; +} + +#line 705 "/usr/local/share/bison/bison.simple" + + + yyvsp -= yylen; + yyssp -= yylen; +#if YYLSP_NEEDED + yylsp -= yylen; +#endif + +#if YYDEBUG + if (yydebug) + { + short *yyssp1 = yyss - 1; + YYFPRINTF (stderr, "state stack now"); + while (yyssp1 != yyssp) + YYFPRINTF (stderr, " %d", *++yyssp1); + YYFPRINTF (stderr, "\n"); + } +#endif + + *++yyvsp = yyval; +#if YYLSP_NEEDED + *++yylsp = yyloc; +#endif + + /* Now `shift' the result of the reduction. Determine what state + that goes to, based on the state we popped back to and the rule + number reduced by. */ + + yyn = yyr1[yyn]; + + yystate = yypgoto[yyn - YYNTBASE] + *yyssp; + if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp) + yystate = yytable[yystate]; + else + yystate = yydefgoto[yyn - YYNTBASE]; + + goto yynewstate; + + +/*------------------------------------. +| yyerrlab -- here on detecting error | +`------------------------------------*/ +yyerrlab: + /* If not already recovering from an error, report this error. */ + if (!yyerrstatus) + { + ++yynerrs; + +#ifdef YYERROR_VERBOSE + yyn = yypact[yystate]; + + if (yyn > YYFLAG && yyn < YYLAST) + { + YYSIZE_T yysize = 0; + char *yymsg; + int yyx, yycount; + + yycount = 0; + /* Start YYX at -YYN if negative to avoid negative indexes in + YYCHECK. */ + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); yyx++) + if (yycheck[yyx + yyn] == yyx) + yysize += yystrlen (yytname[yyx]) + 15, yycount++; + yysize += yystrlen ("parse error, unexpected ") + 1; + yysize += yystrlen (yytname[YYTRANSLATE (yychar)]); + yymsg = (char *) YYSTACK_ALLOC (yysize); + if (yymsg != 0) + { + char *yyp = yystpcpy (yymsg, "parse error, unexpected "); + yyp = yystpcpy (yyp, yytname[YYTRANSLATE (yychar)]); + + if (yycount < 5) + { + yycount = 0; + for (yyx = yyn < 0 ? -yyn : 0; + yyx < (int) (sizeof (yytname) / sizeof (char *)); + yyx++) + if (yycheck[yyx + yyn] == yyx) + { + const char *yyq = ! yycount ? ", expecting " : " or "; + yyp = yystpcpy (yyp, yyq); + yyp = yystpcpy (yyp, yytname[yyx]); + yycount++; + } + } + yyerror (yymsg); + YYSTACK_FREE (yymsg); + } + else + yyerror ("parse error; also virtual memory exhausted"); + } + else +#endif /* defined (YYERROR_VERBOSE) */ + yyerror ("parse error"); + } + goto yyerrlab1; + + +/*--------------------------------------------------. +| yyerrlab1 -- error raised explicitly by an action | +`--------------------------------------------------*/ +yyerrlab1: + if (yyerrstatus == 3) + { + /* If just tried and failed to reuse lookahead token after an + error, discard it. */ + + /* return failure if at end of input */ + if (yychar == YYEOF) + YYABORT; + YYDPRINTF ((stderr, "Discarding token %d (%s).\n", + yychar, yytname[yychar1])); + yychar = YYEMPTY; + } + + /* Else will try to reuse lookahead token after shifting the error + token. */ + + yyerrstatus = 3; /* Each real token shifted decrements this */ + + goto yyerrhandle; + + +/*-------------------------------------------------------------------. +| yyerrdefault -- current state does not do anything special for the | +| error token. | +`-------------------------------------------------------------------*/ +yyerrdefault: +#if 0 + /* This is wrong; only states that explicitly want error tokens + should shift them. */ + + /* If its default is to accept any token, ok. Otherwise pop it. */ + yyn = yydefact[yystate]; + if (yyn) + goto yydefault; +#endif + + +/*---------------------------------------------------------------. +| yyerrpop -- pop the current state because it cannot handle the | +| error token | +`---------------------------------------------------------------*/ +yyerrpop: + if (yyssp == yyss) + YYABORT; + yyvsp--; + yystate = *--yyssp; +#if YYLSP_NEEDED + yylsp--; +#endif + +#if YYDEBUG + if (yydebug) + { + short *yyssp1 = yyss - 1; + YYFPRINTF (stderr, "Error: state stack now"); + while (yyssp1 != yyssp) + YYFPRINTF (stderr, " %d", *++yyssp1); + YYFPRINTF (stderr, "\n"); + } +#endif + +/*--------------. +| yyerrhandle. | +`--------------*/ +yyerrhandle: + yyn = yypact[yystate]; + if (yyn == YYFLAG) + goto yyerrdefault; + + yyn += YYTERROR; + if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR) + goto yyerrdefault; + + yyn = yytable[yyn]; + if (yyn < 0) + { + if (yyn == YYFLAG) + goto yyerrpop; + yyn = -yyn; + goto yyreduce; + } + else if (yyn == 0) + goto yyerrpop; + + if (yyn == YYFINAL) + YYACCEPT; + + YYDPRINTF ((stderr, "Shifting error token, ")); + + *++yyvsp = yylval; +#if YYLSP_NEEDED + *++yylsp = yylloc; +#endif + + yystate = yyn; + goto yynewstate; + + +/*-------------------------------------. +| yyacceptlab -- YYACCEPT comes here. | +`-------------------------------------*/ +yyacceptlab: + yyresult = 0; + goto yyreturn; + +/*-----------------------------------. +| yyabortlab -- YYABORT comes here. | +`-----------------------------------*/ +yyabortlab: + yyresult = 1; + goto yyreturn; + +/*---------------------------------------------. +| yyoverflowab -- parser overflow comes here. | +`---------------------------------------------*/ +yyoverflowlab: + yyerror ("parser stack overflow"); + yyresult = 2; + /* Fall through. */ + +yyreturn: +#ifndef yyoverflow + if (yyss != yyssa) + YYSTACK_FREE (yyss); +#endif + return yyresult; +} +#line 205 "plural.y" + + +void +internal_function +FREE_EXPRESSION (struct expression *exp) +{ + if (exp == NULL) + return; + + /* Handle the recursive case. */ + switch (exp->nargs) + { + case 3: + FREE_EXPRESSION (exp->val.args[2]); + /* FALLTHROUGH */ + case 2: + FREE_EXPRESSION (exp->val.args[1]); + /* FALLTHROUGH */ + case 1: + FREE_EXPRESSION (exp->val.args[0]); + /* FALLTHROUGH */ + default: + break; + } + + free (exp); +} + + +static int +yylex (YYSTYPE *lval, const char **pexp) +{ + const char *exp = *pexp; + int result; + + while (1) + { + if (exp[0] == '\0') + { + *pexp = exp; + return YYEOF; + } + + if (exp[0] != ' ' && exp[0] != '\t') + break; + + ++exp; + } + + result = *exp++; + switch (result) + { + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + { + unsigned long int n = result - '0'; + while (exp[0] >= '0' && exp[0] <= '9') + { + n *= 10; + n += exp[0] - '0'; + ++exp; + } + lval->num = n; + result = NUMBER; + } + break; + + case '=': + if (exp[0] == '=') + { + ++exp; + lval->op = equal; + result = EQUOP2; + } + else + result = YYERRCODE; + break; + + case '!': + if (exp[0] == '=') + { + ++exp; + lval->op = not_equal; + result = EQUOP2; + } + break; + + case '&': + case '|': + if (exp[0] == result) + ++exp; + else + result = YYERRCODE; + break; + + case '<': + if (exp[0] == '=') + { + ++exp; + lval->op = less_or_equal; + } + else + lval->op = less_than; + result = CMPOP2; + break; + + case '>': + if (exp[0] == '=') + { + ++exp; + lval->op = greater_or_equal; + } + else + lval->op = greater_than; + result = CMPOP2; + break; + + case '*': + lval->op = mult; + result = MULOP2; + break; + + case '/': + lval->op = divide; + result = MULOP2; + break; + + case '%': + lval->op = module; + result = MULOP2; + break; + + case '+': + lval->op = plus; + result = ADDOP2; + break; + + case '-': + lval->op = minus; + result = ADDOP2; + break; + + case 'n': + case '?': + case ':': + case '(': + case ')': + /* Nothing, just return the character. */ + break; + + case ';': + case '\n': + case '\0': + /* Be safe and let the user call this function again. */ + --exp; + result = YYEOF; + break; + + default: + result = YYERRCODE; +#if YYDEBUG != 0 + --exp; +#endif + break; + } + + *pexp = exp; + + return result; +} + + +static void +yyerror (const char *str) +{ + /* Do nothing. We don't print error messages here. */ +} diff --git a/intl/plural.y b/intl/plural.y new file mode 100644 index 0000000..4d33bd7 --- /dev/null +++ b/intl/plural.y @@ -0,0 +1,381 @@ +%{ +/* Expression parsing for plural form selection. + Copyright (C) 2000-2001, 2003 Free Software Foundation, Inc. + Written by Ulrich Drepper , 2000. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* The bison generated parser uses alloca. AIX 3 forces us to put this + declaration at the beginning of the file. The declaration in bison's + skeleton file comes too late. This must come before + because may include arbitrary system headers. */ +#if defined _AIX && !defined __GNUC__ + #pragma alloca +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include +#include "plural-exp.h" + +/* The main function generated by the parser is called __gettextparse, + but we want it to be called PLURAL_PARSE. */ +#ifndef _LIBC +# define __gettextparse PLURAL_PARSE +#endif + +#define YYLEX_PARAM &((struct parse_args *) arg)->cp +#define YYPARSE_PARAM arg +%} +%pure_parser +%expect 7 + +%union { + unsigned long int num; + enum operator op; + struct expression *exp; +} + +%{ +/* Prototypes for local functions. */ +static int yylex (YYSTYPE *lval, const char **pexp); +static void yyerror (const char *str); + +/* Allocation of expressions. */ + +static struct expression * +new_exp (int nargs, enum operator op, struct expression * const *args) +{ + int i; + struct expression *newp; + + /* If any of the argument could not be malloc'ed, just return NULL. */ + for (i = nargs - 1; i >= 0; i--) + if (args[i] == NULL) + goto fail; + + /* Allocate a new expression. */ + newp = (struct expression *) malloc (sizeof (*newp)); + if (newp != NULL) + { + newp->nargs = nargs; + newp->operation = op; + for (i = nargs - 1; i >= 0; i--) + newp->val.args[i] = args[i]; + return newp; + } + + fail: + for (i = nargs - 1; i >= 0; i--) + FREE_EXPRESSION (args[i]); + + return NULL; +} + +static inline struct expression * +new_exp_0 (enum operator op) +{ + return new_exp (0, op, NULL); +} + +static inline struct expression * +new_exp_1 (enum operator op, struct expression *right) +{ + struct expression *args[1]; + + args[0] = right; + return new_exp (1, op, args); +} + +static struct expression * +new_exp_2 (enum operator op, struct expression *left, struct expression *right) +{ + struct expression *args[2]; + + args[0] = left; + args[1] = right; + return new_exp (2, op, args); +} + +static inline struct expression * +new_exp_3 (enum operator op, struct expression *bexp, + struct expression *tbranch, struct expression *fbranch) +{ + struct expression *args[3]; + + args[0] = bexp; + args[1] = tbranch; + args[2] = fbranch; + return new_exp (3, op, args); +} + +%} + +/* This declares that all operators have the same associativity and the + precedence order as in C. See [Harbison, Steele: C, A Reference Manual]. + There is no unary minus and no bitwise operators. + Operators with the same syntactic behaviour have been merged into a single + token, to save space in the array generated by bison. */ +%right '?' /* ? */ +%left '|' /* || */ +%left '&' /* && */ +%left EQUOP2 /* == != */ +%left CMPOP2 /* < > <= >= */ +%left ADDOP2 /* + - */ +%left MULOP2 /* * / % */ +%right '!' /* ! */ + +%token EQUOP2 CMPOP2 ADDOP2 MULOP2 +%token NUMBER +%type exp + +%% + +start: exp + { + if ($1 == NULL) + YYABORT; + ((struct parse_args *) arg)->res = $1; + } + ; + +exp: exp '?' exp ':' exp + { + $$ = new_exp_3 (qmop, $1, $3, $5); + } + | exp '|' exp + { + $$ = new_exp_2 (lor, $1, $3); + } + | exp '&' exp + { + $$ = new_exp_2 (land, $1, $3); + } + | exp EQUOP2 exp + { + $$ = new_exp_2 ($2, $1, $3); + } + | exp CMPOP2 exp + { + $$ = new_exp_2 ($2, $1, $3); + } + | exp ADDOP2 exp + { + $$ = new_exp_2 ($2, $1, $3); + } + | exp MULOP2 exp + { + $$ = new_exp_2 ($2, $1, $3); + } + | '!' exp + { + $$ = new_exp_1 (lnot, $2); + } + | 'n' + { + $$ = new_exp_0 (var); + } + | NUMBER + { + if (($$ = new_exp_0 (num)) != NULL) + $$->val.num = $1; + } + | '(' exp ')' + { + $$ = $2; + } + ; + +%% + +void +internal_function +FREE_EXPRESSION (struct expression *exp) +{ + if (exp == NULL) + return; + + /* Handle the recursive case. */ + switch (exp->nargs) + { + case 3: + FREE_EXPRESSION (exp->val.args[2]); + /* FALLTHROUGH */ + case 2: + FREE_EXPRESSION (exp->val.args[1]); + /* FALLTHROUGH */ + case 1: + FREE_EXPRESSION (exp->val.args[0]); + /* FALLTHROUGH */ + default: + break; + } + + free (exp); +} + + +static int +yylex (YYSTYPE *lval, const char **pexp) +{ + const char *exp = *pexp; + int result; + + while (1) + { + if (exp[0] == '\0') + { + *pexp = exp; + return YYEOF; + } + + if (exp[0] != ' ' && exp[0] != '\t') + break; + + ++exp; + } + + result = *exp++; + switch (result) + { + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + { + unsigned long int n = result - '0'; + while (exp[0] >= '0' && exp[0] <= '9') + { + n *= 10; + n += exp[0] - '0'; + ++exp; + } + lval->num = n; + result = NUMBER; + } + break; + + case '=': + if (exp[0] == '=') + { + ++exp; + lval->op = equal; + result = EQUOP2; + } + else + result = YYERRCODE; + break; + + case '!': + if (exp[0] == '=') + { + ++exp; + lval->op = not_equal; + result = EQUOP2; + } + break; + + case '&': + case '|': + if (exp[0] == result) + ++exp; + else + result = YYERRCODE; + break; + + case '<': + if (exp[0] == '=') + { + ++exp; + lval->op = less_or_equal; + } + else + lval->op = less_than; + result = CMPOP2; + break; + + case '>': + if (exp[0] == '=') + { + ++exp; + lval->op = greater_or_equal; + } + else + lval->op = greater_than; + result = CMPOP2; + break; + + case '*': + lval->op = mult; + result = MULOP2; + break; + + case '/': + lval->op = divide; + result = MULOP2; + break; + + case '%': + lval->op = module; + result = MULOP2; + break; + + case '+': + lval->op = plus; + result = ADDOP2; + break; + + case '-': + lval->op = minus; + result = ADDOP2; + break; + + case 'n': + case '?': + case ':': + case '(': + case ')': + /* Nothing, just return the character. */ + break; + + case ';': + case '\n': + case '\0': + /* Be safe and let the user call this function again. */ + --exp; + result = YYEOF; + break; + + default: + result = YYERRCODE; +#if YYDEBUG != 0 + --exp; +#endif + break; + } + + *pexp = exp; + + return result; +} + + +static void +yyerror (const char *str) +{ + /* Do nothing. We don't print error messages here. */ +} diff --git a/intl/printf-args.c b/intl/printf-args.c new file mode 100644 index 0000000..f6f3219 --- /dev/null +++ b/intl/printf-args.c @@ -0,0 +1,119 @@ +/* Decomposed printf argument list. + Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +/* Specification. */ +#include "printf-args.h" + +#ifdef STATIC +STATIC +#endif +int +printf_fetchargs (va_list args, arguments *a) +{ + size_t i; + argument *ap; + + for (i = 0, ap = &a->arg[0]; i < a->count; i++, ap++) + switch (ap->type) + { + case TYPE_SCHAR: + ap->a.a_schar = va_arg (args, /*signed char*/ int); + break; + case TYPE_UCHAR: + ap->a.a_uchar = va_arg (args, /*unsigned char*/ int); + break; + case TYPE_SHORT: + ap->a.a_short = va_arg (args, /*short*/ int); + break; + case TYPE_USHORT: + ap->a.a_ushort = va_arg (args, /*unsigned short*/ int); + break; + case TYPE_INT: + ap->a.a_int = va_arg (args, int); + break; + case TYPE_UINT: + ap->a.a_uint = va_arg (args, unsigned int); + break; + case TYPE_LONGINT: + ap->a.a_longint = va_arg (args, long int); + break; + case TYPE_ULONGINT: + ap->a.a_ulongint = va_arg (args, unsigned long int); + break; +#ifdef HAVE_LONG_LONG + case TYPE_LONGLONGINT: + ap->a.a_longlongint = va_arg (args, long long int); + break; + case TYPE_ULONGLONGINT: + ap->a.a_ulonglongint = va_arg (args, unsigned long long int); + break; +#endif + case TYPE_DOUBLE: + ap->a.a_double = va_arg (args, double); + break; +#ifdef HAVE_LONG_DOUBLE + case TYPE_LONGDOUBLE: + ap->a.a_longdouble = va_arg (args, long double); + break; +#endif + case TYPE_CHAR: + ap->a.a_char = va_arg (args, int); + break; +#ifdef HAVE_WINT_T + case TYPE_WIDE_CHAR: + ap->a.a_wide_char = va_arg (args, wint_t); + break; +#endif + case TYPE_STRING: + ap->a.a_string = va_arg (args, const char *); + break; +#ifdef HAVE_WCHAR_T + case TYPE_WIDE_STRING: + ap->a.a_wide_string = va_arg (args, const wchar_t *); + break; +#endif + case TYPE_POINTER: + ap->a.a_pointer = va_arg (args, void *); + break; + case TYPE_COUNT_SCHAR_POINTER: + ap->a.a_count_schar_pointer = va_arg (args, signed char *); + break; + case TYPE_COUNT_SHORT_POINTER: + ap->a.a_count_short_pointer = va_arg (args, short *); + break; + case TYPE_COUNT_INT_POINTER: + ap->a.a_count_int_pointer = va_arg (args, int *); + break; + case TYPE_COUNT_LONGINT_POINTER: + ap->a.a_count_longint_pointer = va_arg (args, long int *); + break; +#ifdef HAVE_LONG_LONG + case TYPE_COUNT_LONGLONGINT_POINTER: + ap->a.a_count_longlongint_pointer = va_arg (args, long long int *); + break; +#endif + default: + /* Unknown type. */ + return -1; + } + return 0; +} diff --git a/intl/printf-args.h b/intl/printf-args.h new file mode 100644 index 0000000..f11e64c --- /dev/null +++ b/intl/printf-args.h @@ -0,0 +1,137 @@ +/* Decomposed printf argument list. + Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _PRINTF_ARGS_H +#define _PRINTF_ARGS_H + +/* Get size_t. */ +#include + +/* Get wchar_t. */ +#ifdef HAVE_WCHAR_T +# include +#endif + +/* Get wint_t. */ +#ifdef HAVE_WINT_T +# include +#endif + +/* Get va_list. */ +#include + + +/* Argument types */ +typedef enum +{ + TYPE_NONE, + TYPE_SCHAR, + TYPE_UCHAR, + TYPE_SHORT, + TYPE_USHORT, + TYPE_INT, + TYPE_UINT, + TYPE_LONGINT, + TYPE_ULONGINT, +#ifdef HAVE_LONG_LONG + TYPE_LONGLONGINT, + TYPE_ULONGLONGINT, +#endif + TYPE_DOUBLE, +#ifdef HAVE_LONG_DOUBLE + TYPE_LONGDOUBLE, +#endif + TYPE_CHAR, +#ifdef HAVE_WINT_T + TYPE_WIDE_CHAR, +#endif + TYPE_STRING, +#ifdef HAVE_WCHAR_T + TYPE_WIDE_STRING, +#endif + TYPE_POINTER, + TYPE_COUNT_SCHAR_POINTER, + TYPE_COUNT_SHORT_POINTER, + TYPE_COUNT_INT_POINTER, + TYPE_COUNT_LONGINT_POINTER +#ifdef HAVE_LONG_LONG +, TYPE_COUNT_LONGLONGINT_POINTER +#endif +} arg_type; + +/* Polymorphic argument */ +typedef struct +{ + arg_type type; + union + { + signed char a_schar; + unsigned char a_uchar; + short a_short; + unsigned short a_ushort; + int a_int; + unsigned int a_uint; + long int a_longint; + unsigned long int a_ulongint; +#ifdef HAVE_LONG_LONG + long long int a_longlongint; + unsigned long long int a_ulonglongint; +#endif + float a_float; + double a_double; +#ifdef HAVE_LONG_DOUBLE + long double a_longdouble; +#endif + int a_char; +#ifdef HAVE_WINT_T + wint_t a_wide_char; +#endif + const char* a_string; +#ifdef HAVE_WCHAR_T + const wchar_t* a_wide_string; +#endif + void* a_pointer; + signed char * a_count_schar_pointer; + short * a_count_short_pointer; + int * a_count_int_pointer; + long int * a_count_longint_pointer; +#ifdef HAVE_LONG_LONG + long long int * a_count_longlongint_pointer; +#endif + } + a; +} +argument; + +typedef struct +{ + size_t count; + argument *arg; +} +arguments; + + +/* Fetch the arguments, putting them into a. */ +#ifdef STATIC +STATIC +#else +extern +#endif +int printf_fetchargs (va_list args, arguments *a); + +#endif /* _PRINTF_ARGS_H */ diff --git a/intl/printf-parse.c b/intl/printf-parse.c new file mode 100644 index 0000000..d19f903 --- /dev/null +++ b/intl/printf-parse.c @@ -0,0 +1,537 @@ +/* Formatted output to strings. + Copyright (C) 1999-2000, 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +/* Specification. */ +#if WIDE_CHAR_VERSION +# include "wprintf-parse.h" +#else +# include "printf-parse.h" +#endif + +/* Get size_t, NULL. */ +#include + +/* Get intmax_t. */ +#if HAVE_STDINT_H_WITH_UINTMAX +# include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +# include +#endif + +/* malloc(), realloc(), free(). */ +#include + +/* Checked size_t computations. */ +#include "xsize.h" + +#if WIDE_CHAR_VERSION +# define PRINTF_PARSE wprintf_parse +# define CHAR_T wchar_t +# define DIRECTIVE wchar_t_directive +# define DIRECTIVES wchar_t_directives +#else +# define PRINTF_PARSE printf_parse +# define CHAR_T char +# define DIRECTIVE char_directive +# define DIRECTIVES char_directives +#endif + +#ifdef STATIC +STATIC +#endif +int +PRINTF_PARSE (const CHAR_T *format, DIRECTIVES *d, arguments *a) +{ + const CHAR_T *cp = format; /* pointer into format */ + size_t arg_posn = 0; /* number of regular arguments consumed */ + size_t d_allocated; /* allocated elements of d->dir */ + size_t a_allocated; /* allocated elements of a->arg */ + size_t max_width_length = 0; + size_t max_precision_length = 0; + + d->count = 0; + d_allocated = 1; + d->dir = malloc (d_allocated * sizeof (DIRECTIVE)); + if (d->dir == NULL) + /* Out of memory. */ + return -1; + + a->count = 0; + a_allocated = 0; + a->arg = NULL; + +#define REGISTER_ARG(_index_,_type_) \ + { \ + size_t n = (_index_); \ + if (n >= a_allocated) \ + { \ + size_t memory_size; \ + argument *memory; \ + \ + a_allocated = xtimes (a_allocated, 2); \ + if (a_allocated <= n) \ + a_allocated = xsum (n, 1); \ + memory_size = xtimes (a_allocated, sizeof (argument)); \ + if (size_overflow_p (memory_size)) \ + /* Overflow, would lead to out of memory. */ \ + goto error; \ + memory = (a->arg \ + ? realloc (a->arg, memory_size) \ + : malloc (memory_size)); \ + if (memory == NULL) \ + /* Out of memory. */ \ + goto error; \ + a->arg = memory; \ + } \ + while (a->count <= n) \ + a->arg[a->count++].type = TYPE_NONE; \ + if (a->arg[n].type == TYPE_NONE) \ + a->arg[n].type = (_type_); \ + else if (a->arg[n].type != (_type_)) \ + /* Ambiguous type for positional argument. */ \ + goto error; \ + } + + while (*cp != '\0') + { + CHAR_T c = *cp++; + if (c == '%') + { + size_t arg_index = ARG_NONE; + DIRECTIVE *dp = &d->dir[d->count];/* pointer to next directive */ + + /* Initialize the next directive. */ + dp->dir_start = cp - 1; + dp->flags = 0; + dp->width_start = NULL; + dp->width_end = NULL; + dp->width_arg_index = ARG_NONE; + dp->precision_start = NULL; + dp->precision_end = NULL; + dp->precision_arg_index = ARG_NONE; + dp->arg_index = ARG_NONE; + + /* Test for positional argument. */ + if (*cp >= '0' && *cp <= '9') + { + const CHAR_T *np; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + ; + if (*np == '$') + { + size_t n = 0; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + n = xsum (xtimes (n, 10), *np - '0'); + if (n == 0) + /* Positional argument 0. */ + goto error; + if (size_overflow_p (n)) + /* n too large, would lead to out of memory later. */ + goto error; + arg_index = n - 1; + cp = np + 1; + } + } + + /* Read the flags. */ + for (;;) + { + if (*cp == '\'') + { + dp->flags |= FLAG_GROUP; + cp++; + } + else if (*cp == '-') + { + dp->flags |= FLAG_LEFT; + cp++; + } + else if (*cp == '+') + { + dp->flags |= FLAG_SHOWSIGN; + cp++; + } + else if (*cp == ' ') + { + dp->flags |= FLAG_SPACE; + cp++; + } + else if (*cp == '#') + { + dp->flags |= FLAG_ALT; + cp++; + } + else if (*cp == '0') + { + dp->flags |= FLAG_ZERO; + cp++; + } + else + break; + } + + /* Parse the field width. */ + if (*cp == '*') + { + dp->width_start = cp; + cp++; + dp->width_end = cp; + if (max_width_length < 1) + max_width_length = 1; + + /* Test for positional argument. */ + if (*cp >= '0' && *cp <= '9') + { + const CHAR_T *np; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + ; + if (*np == '$') + { + size_t n = 0; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + n = xsum (xtimes (n, 10), *np - '0'); + if (n == 0) + /* Positional argument 0. */ + goto error; + if (size_overflow_p (n)) + /* n too large, would lead to out of memory later. */ + goto error; + dp->width_arg_index = n - 1; + cp = np + 1; + } + } + if (dp->width_arg_index == ARG_NONE) + { + dp->width_arg_index = arg_posn++; + if (dp->width_arg_index == ARG_NONE) + /* arg_posn wrapped around. */ + goto error; + } + REGISTER_ARG (dp->width_arg_index, TYPE_INT); + } + else if (*cp >= '0' && *cp <= '9') + { + size_t width_length; + + dp->width_start = cp; + for (; *cp >= '0' && *cp <= '9'; cp++) + ; + dp->width_end = cp; + width_length = dp->width_end - dp->width_start; + if (max_width_length < width_length) + max_width_length = width_length; + } + + /* Parse the precision. */ + if (*cp == '.') + { + cp++; + if (*cp == '*') + { + dp->precision_start = cp - 1; + cp++; + dp->precision_end = cp; + if (max_precision_length < 2) + max_precision_length = 2; + + /* Test for positional argument. */ + if (*cp >= '0' && *cp <= '9') + { + const CHAR_T *np; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + ; + if (*np == '$') + { + size_t n = 0; + + for (np = cp; *np >= '0' && *np <= '9'; np++) + n = xsum (xtimes (n, 10), *np - '0'); + if (n == 0) + /* Positional argument 0. */ + goto error; + if (size_overflow_p (n)) + /* n too large, would lead to out of memory + later. */ + goto error; + dp->precision_arg_index = n - 1; + cp = np + 1; + } + } + if (dp->precision_arg_index == ARG_NONE) + { + dp->precision_arg_index = arg_posn++; + if (dp->precision_arg_index == ARG_NONE) + /* arg_posn wrapped around. */ + goto error; + } + REGISTER_ARG (dp->precision_arg_index, TYPE_INT); + } + else + { + size_t precision_length; + + dp->precision_start = cp - 1; + for (; *cp >= '0' && *cp <= '9'; cp++) + ; + dp->precision_end = cp; + precision_length = dp->precision_end - dp->precision_start; + if (max_precision_length < precision_length) + max_precision_length = precision_length; + } + } + + { + arg_type type; + + /* Parse argument type/size specifiers. */ + { + int flags = 0; + + for (;;) + { + if (*cp == 'h') + { + flags |= (1 << (flags & 1)); + cp++; + } + else if (*cp == 'L') + { + flags |= 4; + cp++; + } + else if (*cp == 'l') + { + flags += 8; + cp++; + } +#ifdef HAVE_INTMAX_T + else if (*cp == 'j') + { + if (sizeof (intmax_t) > sizeof (long)) + { + /* intmax_t = long long */ + flags += 16; + } + else if (sizeof (intmax_t) > sizeof (int)) + { + /* intmax_t = long */ + flags += 8; + } + cp++; + } +#endif + else if (*cp == 'z' || *cp == 'Z') + { + /* 'z' is standardized in ISO C 99, but glibc uses 'Z' + because the warning facility in gcc-2.95.2 understands + only 'Z' (see gcc-2.95.2/gcc/c-common.c:1784). */ + if (sizeof (size_t) > sizeof (long)) + { + /* size_t = long long */ + flags += 16; + } + else if (sizeof (size_t) > sizeof (int)) + { + /* size_t = long */ + flags += 8; + } + cp++; + } + else if (*cp == 't') + { + if (sizeof (ptrdiff_t) > sizeof (long)) + { + /* ptrdiff_t = long long */ + flags += 16; + } + else if (sizeof (ptrdiff_t) > sizeof (int)) + { + /* ptrdiff_t = long */ + flags += 8; + } + cp++; + } + else + break; + } + + /* Read the conversion character. */ + c = *cp++; + switch (c) + { + case 'd': case 'i': +#ifdef HAVE_LONG_LONG + if (flags >= 16 || (flags & 4)) + type = TYPE_LONGLONGINT; + else +#endif + if (flags >= 8) + type = TYPE_LONGINT; + else if (flags & 2) + type = TYPE_SCHAR; + else if (flags & 1) + type = TYPE_SHORT; + else + type = TYPE_INT; + break; + case 'o': case 'u': case 'x': case 'X': +#ifdef HAVE_LONG_LONG + if (flags >= 16 || (flags & 4)) + type = TYPE_ULONGLONGINT; + else +#endif + if (flags >= 8) + type = TYPE_ULONGINT; + else if (flags & 2) + type = TYPE_UCHAR; + else if (flags & 1) + type = TYPE_USHORT; + else + type = TYPE_UINT; + break; + case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': + case 'a': case 'A': +#ifdef HAVE_LONG_DOUBLE + if (flags >= 16 || (flags & 4)) + type = TYPE_LONGDOUBLE; + else +#endif + type = TYPE_DOUBLE; + break; + case 'c': + if (flags >= 8) +#ifdef HAVE_WINT_T + type = TYPE_WIDE_CHAR; +#else + goto error; +#endif + else + type = TYPE_CHAR; + break; +#ifdef HAVE_WINT_T + case 'C': + type = TYPE_WIDE_CHAR; + c = 'c'; + break; +#endif + case 's': + if (flags >= 8) +#ifdef HAVE_WCHAR_T + type = TYPE_WIDE_STRING; +#else + goto error; +#endif + else + type = TYPE_STRING; + break; +#ifdef HAVE_WCHAR_T + case 'S': + type = TYPE_WIDE_STRING; + c = 's'; + break; +#endif + case 'p': + type = TYPE_POINTER; + break; + case 'n': +#ifdef HAVE_LONG_LONG + if (flags >= 16 || (flags & 4)) + type = TYPE_COUNT_LONGLONGINT_POINTER; + else +#endif + if (flags >= 8) + type = TYPE_COUNT_LONGINT_POINTER; + else if (flags & 2) + type = TYPE_COUNT_SCHAR_POINTER; + else if (flags & 1) + type = TYPE_COUNT_SHORT_POINTER; + else + type = TYPE_COUNT_INT_POINTER; + break; + case '%': + type = TYPE_NONE; + break; + default: + /* Unknown conversion character. */ + goto error; + } + } + + if (type != TYPE_NONE) + { + dp->arg_index = arg_index; + if (dp->arg_index == ARG_NONE) + { + dp->arg_index = arg_posn++; + if (dp->arg_index == ARG_NONE) + /* arg_posn wrapped around. */ + goto error; + } + REGISTER_ARG (dp->arg_index, type); + } + dp->conversion = c; + dp->dir_end = cp; + } + + d->count++; + if (d->count >= d_allocated) + { + size_t memory_size; + DIRECTIVE *memory; + + d_allocated = xtimes (d_allocated, 2); + memory_size = xtimes (d_allocated, sizeof (DIRECTIVE)); + if (size_overflow_p (memory_size)) + /* Overflow, would lead to out of memory. */ + goto error; + memory = realloc (d->dir, memory_size); + if (memory == NULL) + /* Out of memory. */ + goto error; + d->dir = memory; + } + } + } + d->dir[d->count].dir_start = cp; + + d->max_width_length = max_width_length; + d->max_precision_length = max_precision_length; + return 0; + +error: + if (a->arg) + free (a->arg); + if (d->dir) + free (d->dir); + return -1; +} + +#undef DIRECTIVES +#undef DIRECTIVE +#undef CHAR_T +#undef PRINTF_PARSE diff --git a/intl/printf-parse.h b/intl/printf-parse.h new file mode 100644 index 0000000..8aec50e --- /dev/null +++ b/intl/printf-parse.h @@ -0,0 +1,75 @@ +/* Parse printf format string. + Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _PRINTF_PARSE_H +#define _PRINTF_PARSE_H + +#include "printf-args.h" + + +/* Flags */ +#define FLAG_GROUP 1 /* ' flag */ +#define FLAG_LEFT 2 /* - flag */ +#define FLAG_SHOWSIGN 4 /* + flag */ +#define FLAG_SPACE 8 /* space flag */ +#define FLAG_ALT 16 /* # flag */ +#define FLAG_ZERO 32 + +/* arg_index value indicating that no argument is consumed. */ +#define ARG_NONE (~(size_t)0) + +/* A parsed directive. */ +typedef struct +{ + const char* dir_start; + const char* dir_end; + int flags; + const char* width_start; + const char* width_end; + size_t width_arg_index; + const char* precision_start; + const char* precision_end; + size_t precision_arg_index; + char conversion; /* d i o u x X f e E g G c s p n U % but not C S */ + size_t arg_index; +} +char_directive; + +/* A parsed format string. */ +typedef struct +{ + size_t count; + char_directive *dir; + size_t max_width_length; + size_t max_precision_length; +} +char_directives; + + +/* Parses the format string. Fills in the number N of directives, and fills + in directives[0], ..., directives[N-1], and sets directives[N].dir_start + to the end of the format string. Also fills in the arg_type fields of the + arguments and the needed count of arguments. */ +#ifdef STATIC +STATIC +#else +extern +#endif +int printf_parse (const char *format, char_directives *d, arguments *a); + +#endif /* _PRINTF_PARSE_H */ diff --git a/intl/printf.c b/intl/printf.c new file mode 100644 index 0000000..878646c --- /dev/null +++ b/intl/printf.c @@ -0,0 +1,371 @@ +/* Formatted output to strings, using POSIX/XSI format strings with positions. + Copyright (C) 2003 Free Software Foundation, Inc. + Written by Bruno Haible , 2003. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef __GNUC__ +# define alloca __builtin_alloca +# define HAVE_ALLOCA 1 +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if defined HAVE_ALLOCA_H || defined _LIBC +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +#include + +#if !HAVE_POSIX_PRINTF + +#include +#include + +/* When building a DLL, we must export some functions. Note that because + the functions are only defined for binary backward compatibility, we + don't need to use __declspec(dllimport) in any case. */ +#if defined _MSC_VER && BUILDING_DLL +# define DLL_EXPORTED __declspec(dllexport) +#else +# define DLL_EXPORTED +#endif + +#define STATIC static + +/* Define auxiliary functions declared in "printf-args.h". */ +#include "printf-args.c" + +/* Define auxiliary functions declared in "printf-parse.h". */ +#include "printf-parse.c" + +/* Define functions declared in "vasnprintf.h". */ +#define vasnprintf libintl_vasnprintf +#include "vasnprintf.c" +#if 0 /* not needed */ +#define asnprintf libintl_asnprintf +#include "asnprintf.c" +#endif + +DLL_EXPORTED +int +libintl_vfprintf (FILE *stream, const char *format, va_list args) +{ + if (strchr (format, '$') == NULL) + return vfprintf (stream, format, args); + else + { + size_t length; + char *result = libintl_vasnprintf (NULL, &length, format, args); + int retval = -1; + if (result != NULL) + { + if (fwrite (result, 1, length, stream) == length) + retval = length; + free (result); + } + return retval; + } +} + +DLL_EXPORTED +int +libintl_fprintf (FILE *stream, const char *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vfprintf (stream, format, args); + va_end (args); + return retval; +} + +DLL_EXPORTED +int +libintl_vprintf (const char *format, va_list args) +{ + return libintl_vfprintf (stdout, format, args); +} + +DLL_EXPORTED +int +libintl_printf (const char *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vprintf (format, args); + va_end (args); + return retval; +} + +DLL_EXPORTED +int +libintl_vsprintf (char *resultbuf, const char *format, va_list args) +{ + if (strchr (format, '$') == NULL) + return vsprintf (resultbuf, format, args); + else + { + size_t length = (size_t) ~0 / (4 * sizeof (char)); + char *result = libintl_vasnprintf (resultbuf, &length, format, args); + if (result != resultbuf) + { + free (result); + return -1; + } + else + return length; + } +} + +DLL_EXPORTED +int +libintl_sprintf (char *resultbuf, const char *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vsprintf (resultbuf, format, args); + va_end (args); + return retval; +} + +#if HAVE_SNPRINTF + +# if HAVE_DECL__SNPRINTF + /* Windows. */ +# define system_vsnprintf _vsnprintf +# else + /* Unix. */ +# define system_vsnprintf vsnprintf +# endif + +DLL_EXPORTED +int +libintl_vsnprintf (char *resultbuf, size_t length, const char *format, va_list args) +{ + if (strchr (format, '$') == NULL) + return system_vsnprintf (resultbuf, length, format, args); + else + { + size_t maxlength = length; + char *result = libintl_vasnprintf (resultbuf, &length, format, args); + if (result != resultbuf) + { + if (maxlength > 0) + { + if (length < maxlength) + abort (); + memcpy (resultbuf, result, maxlength - 1); + resultbuf[maxlength - 1] = '\0'; + } + free (result); + return -1; + } + else + return length; + } +} + +DLL_EXPORTED +int +libintl_snprintf (char *resultbuf, size_t length, const char *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vsnprintf (resultbuf, length, format, args); + va_end (args); + return retval; +} + +#endif + +#if HAVE_ASPRINTF + +DLL_EXPORTED +int +libintl_vasprintf (char **resultp, const char *format, va_list args) +{ + size_t length; + char *result = libintl_vasnprintf (NULL, &length, format, args); + if (result == NULL) + return -1; + *resultp = result; + return length; +} + +DLL_EXPORTED +int +libintl_asprintf (char **resultp, const char *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vasprintf (resultp, format, args); + va_end (args); + return retval; +} + +#endif + +#if HAVE_FWPRINTF + +#include + +#define WIDE_CHAR_VERSION 1 + +/* Define auxiliary functions declared in "wprintf-parse.h". */ +#include "printf-parse.c" + +/* Define functions declared in "vasnprintf.h". */ +#define vasnwprintf libintl_vasnwprintf +#include "vasnprintf.c" +#if 0 /* not needed */ +#define asnwprintf libintl_asnwprintf +#include "asnprintf.c" +#endif + +# if HAVE_DECL__SNWPRINTF + /* Windows. */ +# define system_vswprintf _vsnwprintf +# else + /* Unix. */ +# define system_vswprintf vswprintf +# endif + +DLL_EXPORTED +int +libintl_vfwprintf (FILE *stream, const wchar_t *format, va_list args) +{ + if (wcschr (format, '$') == NULL) + return vfwprintf (stream, format, args); + else + { + size_t length; + wchar_t *result = libintl_vasnwprintf (NULL, &length, format, args); + int retval = -1; + if (result != NULL) + { + size_t i; + for (i = 0; i < length; i++) + if (fputwc (result[i], stream) == WEOF) + break; + if (i == length) + retval = length; + free (result); + } + return retval; + } +} + +DLL_EXPORTED +int +libintl_fwprintf (FILE *stream, const wchar_t *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vfwprintf (stream, format, args); + va_end (args); + return retval; +} + +DLL_EXPORTED +int +libintl_vwprintf (const wchar_t *format, va_list args) +{ + return libintl_vfwprintf (stdout, format, args); +} + +DLL_EXPORTED +int +libintl_wprintf (const wchar_t *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vwprintf (format, args); + va_end (args); + return retval; +} + +DLL_EXPORTED +int +libintl_vswprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, va_list args) +{ + if (wcschr (format, '$') == NULL) + return system_vswprintf (resultbuf, length, format, args); + else + { + size_t maxlength = length; + wchar_t *result = libintl_vasnwprintf (resultbuf, &length, format, args); + if (result != resultbuf) + { + if (maxlength > 0) + { + if (length < maxlength) + abort (); + memcpy (resultbuf, result, (maxlength - 1) * sizeof (wchar_t)); + resultbuf[maxlength - 1] = 0; + } + free (result); + return -1; + } + else + return length; + } +} + +DLL_EXPORTED +int +libintl_swprintf (wchar_t *resultbuf, size_t length, const wchar_t *format, ...) +{ + va_list args; + int retval; + + va_start (args, format); + retval = libintl_vswprintf (resultbuf, length, format, args); + va_end (args); + return retval; +} + +#endif + +#endif diff --git a/intl/ref-add.sin b/intl/ref-add.sin new file mode 100644 index 0000000..167374e --- /dev/null +++ b/intl/ref-add.sin @@ -0,0 +1,31 @@ +# Add this package to a list of references stored in a text file. +# +# Copyright (C) 2000 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program 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 +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# USA. +# +# Written by Bruno Haible . +# +/^# Packages using this file: / { + s/# Packages using this file:// + ta + :a + s/ @PACKAGE@ / @PACKAGE@ / + tb + s/ $/ @PACKAGE@ / + :b + s/^/# Packages using this file:/ +} diff --git a/intl/ref-del.sin b/intl/ref-del.sin new file mode 100644 index 0000000..613cf37 --- /dev/null +++ b/intl/ref-del.sin @@ -0,0 +1,26 @@ +# Remove this package from a list of references stored in a text file. +# +# Copyright (C) 2000 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU Library General Public License as published +# by the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program 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 +# Library General Public License for more details. +# +# You should have received a copy of the GNU Library General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, +# USA. +# +# Written by Bruno Haible . +# +/^# Packages using this file: / { + s/# Packages using this file:// + s/ @PACKAGE@ / / + s/^/# Packages using this file:/ +} diff --git a/intl/relocatable.c b/intl/relocatable.c new file mode 100644 index 0000000..bf7c708 --- /dev/null +++ b/intl/relocatable.c @@ -0,0 +1,449 @@ +/* Provide relocatable packages. + Copyright (C) 2003 Free Software Foundation, Inc. + Written by Bruno Haible , 2003. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + + +/* Tell glibc's to provide a prototype for getline(). + This must come before because may include + , and once has been included, it's too late. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +/* Specification. */ +#include "relocatable.h" + +#if ENABLE_RELOCATABLE + +#include +#include +#include +#include + +#ifdef NO_XMALLOC +# define xmalloc malloc +#else +# include "xalloc.h" +#endif + +#if defined _WIN32 || defined __WIN32__ +# define WIN32_LEAN_AND_MEAN +# include +#endif + +#if DEPENDS_ON_LIBCHARSET +# include +#endif +#if DEPENDS_ON_LIBICONV && HAVE_ICONV +# include +#endif +#if DEPENDS_ON_LIBINTL && ENABLE_NLS +# include +#endif + +/* Faked cheap 'bool'. */ +#undef bool +#undef false +#undef true +#define bool int +#define false 0 +#define true 1 + +/* Pathname support. + ISSLASH(C) tests whether C is a directory separator character. + IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. + */ +#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ + /* Win32, OS/2, DOS */ +# define ISSLASH(C) ((C) == '/' || (C) == '\\') +# define HAS_DEVICE(P) \ + ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ + && (P)[1] == ':') +# define IS_PATH_WITH_DIR(P) \ + (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) +# define FILESYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) +#else + /* Unix */ +# define ISSLASH(C) ((C) == '/') +# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) +# define FILESYSTEM_PREFIX_LEN(P) 0 +#endif + +/* Original installation prefix. */ +static char *orig_prefix; +static size_t orig_prefix_len; +/* Current installation prefix. */ +static char *curr_prefix; +static size_t curr_prefix_len; +/* These prefixes do not end in a slash. Anything that will be concatenated + to them must start with a slash. */ + +/* Sets the original and the current installation prefix of this module. + Relocation simply replaces a pathname starting with the original prefix + by the corresponding pathname with the current prefix instead. Both + prefixes should be directory names without trailing slash (i.e. use "" + instead of "/"). */ +static void +set_this_relocation_prefix (const char *orig_prefix_arg, + const char *curr_prefix_arg) +{ + if (orig_prefix_arg != NULL && curr_prefix_arg != NULL + /* Optimization: if orig_prefix and curr_prefix are equal, the + relocation is a nop. */ + && strcmp (orig_prefix_arg, curr_prefix_arg) != 0) + { + /* Duplicate the argument strings. */ + char *memory; + + orig_prefix_len = strlen (orig_prefix_arg); + curr_prefix_len = strlen (curr_prefix_arg); + memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); +#ifdef NO_XMALLOC + if (memory != NULL) +#endif + { + memcpy (memory, orig_prefix_arg, orig_prefix_len + 1); + orig_prefix = memory; + memory += orig_prefix_len + 1; + memcpy (memory, curr_prefix_arg, curr_prefix_len + 1); + curr_prefix = memory; + return; + } + } + orig_prefix = NULL; + curr_prefix = NULL; + /* Don't worry about wasted memory here - this function is usually only + called once. */ +} + +/* Sets the original and the current installation prefix of the package. + Relocation simply replaces a pathname starting with the original prefix + by the corresponding pathname with the current prefix instead. Both + prefixes should be directory names without trailing slash (i.e. use "" + instead of "/"). */ +void +set_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg) +{ + set_this_relocation_prefix (orig_prefix_arg, curr_prefix_arg); + + /* Now notify all dependent libraries. */ +#if DEPENDS_ON_LIBCHARSET + libcharset_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); +#endif +#if DEPENDS_ON_LIBICONV && HAVE_ICONV && _LIBICONV_VERSION >= 0x0109 + libiconv_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); +#endif +#if DEPENDS_ON_LIBINTL && ENABLE_NLS && defined libintl_set_relocation_prefix + libintl_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); +#endif +} + +#if !defined IN_LIBRARY || (defined PIC && defined INSTALLDIR) + +/* Convenience function: + Computes the current installation prefix, based on the original + installation prefix, the original installation directory of a particular + file, and the current pathname of this file. Returns NULL upon failure. */ +#ifdef IN_LIBRARY +#define compute_curr_prefix local_compute_curr_prefix +static +#endif +const char * +compute_curr_prefix (const char *orig_installprefix, + const char *orig_installdir, + const char *curr_pathname) +{ + const char *curr_installdir; + const char *rel_installdir; + + if (curr_pathname == NULL) + return NULL; + + /* Determine the relative installation directory, relative to the prefix. + This is simply the difference between orig_installprefix and + orig_installdir. */ + if (strncmp (orig_installprefix, orig_installdir, strlen (orig_installprefix)) + != 0) + /* Shouldn't happen - nothing should be installed outside $(prefix). */ + return NULL; + rel_installdir = orig_installdir + strlen (orig_installprefix); + + /* Determine the current installation directory. */ + { + const char *p_base = curr_pathname + FILESYSTEM_PREFIX_LEN (curr_pathname); + const char *p = curr_pathname + strlen (curr_pathname); + char *q; + + while (p > p_base) + { + p--; + if (ISSLASH (*p)) + break; + } + + q = (char *) xmalloc (p - curr_pathname + 1); +#ifdef NO_XMALLOC + if (q == NULL) + return NULL; +#endif + memcpy (q, curr_pathname, p - curr_pathname); + q[p - curr_pathname] = '\0'; + curr_installdir = q; + } + + /* Compute the current installation prefix by removing the trailing + rel_installdir from it. */ + { + const char *rp = rel_installdir + strlen (rel_installdir); + const char *cp = curr_installdir + strlen (curr_installdir); + const char *cp_base = + curr_installdir + FILESYSTEM_PREFIX_LEN (curr_installdir); + + while (rp > rel_installdir && cp > cp_base) + { + bool same = false; + const char *rpi = rp; + const char *cpi = cp; + + while (rpi > rel_installdir && cpi > cp_base) + { + rpi--; + cpi--; + if (ISSLASH (*rpi) || ISSLASH (*cpi)) + { + if (ISSLASH (*rpi) && ISSLASH (*cpi)) + same = true; + break; + } +#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__ + /* Win32, OS/2, DOS - case insignificant filesystem */ + if ((*rpi >= 'a' && *rpi <= 'z' ? *rpi - 'a' + 'A' : *rpi) + != (*cpi >= 'a' && *cpi <= 'z' ? *cpi - 'a' + 'A' : *cpi)) + break; +#else + if (*rpi != *cpi) + break; +#endif + } + if (!same) + break; + /* The last pathname component was the same. opi and cpi now point + to the slash before it. */ + rp = rpi; + cp = cpi; + } + + if (rp > rel_installdir) + /* Unexpected: The curr_installdir does not end with rel_installdir. */ + return NULL; + + { + size_t curr_prefix_len = cp - curr_installdir; + char *curr_prefix; + + curr_prefix = (char *) xmalloc (curr_prefix_len + 1); +#ifdef NO_XMALLOC + if (curr_prefix == NULL) + return NULL; +#endif + memcpy (curr_prefix, curr_installdir, curr_prefix_len); + curr_prefix[curr_prefix_len] = '\0'; + + return curr_prefix; + } + } +} + +#endif /* !IN_LIBRARY || PIC */ + +#if defined PIC && defined INSTALLDIR + +/* Full pathname of shared library, or NULL. */ +static char *shared_library_fullname; + +#if defined _WIN32 || defined __WIN32__ + +/* Determine the full pathname of the shared library when it is loaded. */ + +BOOL WINAPI +DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved) +{ + (void) reserved; + + if (event == DLL_PROCESS_ATTACH) + { + /* The DLL is being loaded into an application's address range. */ + static char location[MAX_PATH]; + + if (!GetModuleFileName (module_handle, location, sizeof (location))) + /* Shouldn't happen. */ + return FALSE; + + if (!IS_PATH_WITH_DIR (location)) + /* Shouldn't happen. */ + return FALSE; + + shared_library_fullname = strdup (location); + } + + return TRUE; +} + +#else /* Unix */ + +static void +find_shared_library_fullname () +{ +#if defined __linux__ && __GLIBC__ >= 2 + /* Linux has /proc/self/maps. glibc 2 has the getline() function. */ + FILE *fp; + + /* Open the current process' maps file. It describes one VMA per line. */ + fp = fopen ("/proc/self/maps", "r"); + if (fp) + { + unsigned long address = (unsigned long) &find_shared_library_fullname; + for (;;) + { + unsigned long start, end; + int c; + + if (fscanf (fp, "%lx-%lx", &start, &end) != 2) + break; + if (address >= start && address <= end - 1) + { + /* Found it. Now see if this line contains a filename. */ + while (c = getc (fp), c != EOF && c != '\n' && c != '/') + continue; + if (c == '/') + { + size_t size; + int len; + + ungetc (c, fp); + shared_library_fullname = NULL; size = 0; + len = getline (&shared_library_fullname, &size, fp); + if (len >= 0) + { + /* Success: filled shared_library_fullname. */ + if (len > 0 && shared_library_fullname[len - 1] == '\n') + shared_library_fullname[len - 1] = '\0'; + } + } + break; + } + while (c = getc (fp), c != EOF && c != '\n') + continue; + } + fclose (fp); + } +#endif +} + +#endif /* WIN32 / Unix */ + +/* Return the full pathname of the current shared library. + Return NULL if unknown. + Guaranteed to work only on Linux and Woe32. */ +static char * +get_shared_library_fullname () +{ +#if !(defined _WIN32 || defined __WIN32__) + static bool tried_find_shared_library_fullname; + if (!tried_find_shared_library_fullname) + { + find_shared_library_fullname (); + tried_find_shared_library_fullname = true; + } +#endif + return shared_library_fullname; +} + +#endif /* PIC */ + +/* Returns the pathname, relocated according to the current installation + directory. */ +const char * +relocate (const char *pathname) +{ +#if defined PIC && defined INSTALLDIR + static int initialized; + + /* Initialization code for a shared library. */ + if (!initialized) + { + /* At this point, orig_prefix and curr_prefix likely have already been + set through the main program's set_program_name_and_installdir + function. This is sufficient in the case that the library has + initially been installed in the same orig_prefix. But we can do + better, to also cover the cases that 1. it has been installed + in a different prefix before being moved to orig_prefix and (later) + to curr_prefix, 2. unlike the program, it has not moved away from + orig_prefix. */ + const char *orig_installprefix = INSTALLPREFIX; + const char *orig_installdir = INSTALLDIR; + const char *curr_prefix_better; + + curr_prefix_better = + compute_curr_prefix (orig_installprefix, orig_installdir, + get_shared_library_fullname ()); + if (curr_prefix_better == NULL) + curr_prefix_better = curr_prefix; + + set_relocation_prefix (orig_installprefix, curr_prefix_better); + + initialized = 1; + } +#endif + + /* Note: It is not necessary to perform case insensitive comparison here, + even for DOS-like filesystems, because the pathname argument was + typically created from the same Makefile variable as orig_prefix came + from. */ + if (orig_prefix != NULL && curr_prefix != NULL + && strncmp (pathname, orig_prefix, orig_prefix_len) == 0) + { + if (pathname[orig_prefix_len] == '\0') + /* pathname equals orig_prefix. */ + return curr_prefix; + if (ISSLASH (pathname[orig_prefix_len])) + { + /* pathname starts with orig_prefix. */ + const char *pathname_tail = &pathname[orig_prefix_len]; + char *result = + (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1); + +#ifdef NO_XMALLOC + if (result != NULL) +#endif + { + memcpy (result, curr_prefix, curr_prefix_len); + strcpy (result + curr_prefix_len, pathname_tail); + return result; + } + } + } + /* Nothing to relocate. */ + return pathname; +} + +#endif diff --git a/intl/relocatable.h b/intl/relocatable.h new file mode 100644 index 0000000..48c5b71 --- /dev/null +++ b/intl/relocatable.h @@ -0,0 +1,77 @@ +/* Provide relocatable packages. + Copyright (C) 2003 Free Software Foundation, Inc. + Written by Bruno Haible , 2003. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _RELOCATABLE_H +#define _RELOCATABLE_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/* This can be enabled through the configure --enable-relocatable option. */ +#if ENABLE_RELOCATABLE + +/* When building a DLL, we must export some functions. Note that because + this is a private .h file, we don't need to use __declspec(dllimport) + in any case. */ +#if defined _MSC_VER && BUILDING_DLL +# define RELOCATABLE_DLL_EXPORTED __declspec(dllexport) +#else +# define RELOCATABLE_DLL_EXPORTED +#endif + +/* Sets the original and the current installation prefix of the package. + Relocation simply replaces a pathname starting with the original prefix + by the corresponding pathname with the current prefix instead. Both + prefixes should be directory names without trailing slash (i.e. use "" + instead of "/"). */ +extern RELOCATABLE_DLL_EXPORTED void + set_relocation_prefix (const char *orig_prefix, + const char *curr_prefix); + +/* Returns the pathname, relocated according to the current installation + directory. */ +extern const char * relocate (const char *pathname); + +/* Memory management: relocate() leaks memory, because it has to construct + a fresh pathname. If this is a problem because your program calls + relocate() frequently, think about caching the result. */ + +/* Convenience function: + Computes the current installation prefix, based on the original + installation prefix, the original installation directory of a particular + file, and the current pathname of this file. Returns NULL upon failure. */ +extern const char * compute_curr_prefix (const char *orig_installprefix, + const char *orig_installdir, + const char *curr_pathname); + +#else + +/* By default, we use the hardwired pathnames. */ +#define relocate(pathname) (pathname) + +#endif + + +#ifdef __cplusplus +} +#endif + +#endif /* _RELOCATABLE_H */ diff --git a/intl/textdomain.c b/intl/textdomain.c new file mode 100644 index 0000000..8745a84 --- /dev/null +++ b/intl/textdomain.c @@ -0,0 +1,141 @@ +/* Implementation of the textdomain(3) function. + Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifdef HAVE_CONFIG_H +# include +#endif + +#include +#include + +#ifdef _LIBC +# include +#else +# include "libgnuintl.h" +#endif +#include "gettextP.h" + +#ifdef _LIBC +/* We have to handle multi-threaded applications. */ +# include +#else +/* Provide dummy implementation if this is outside glibc. */ +# define __libc_rwlock_define(CLASS, NAME) +# define __libc_rwlock_wrlock(NAME) +# define __libc_rwlock_unlock(NAME) +#endif + +/* The internal variables in the standalone libintl.a must have different + names than the internal variables in GNU libc, otherwise programs + using libintl.a cannot be linked statically. */ +#if !defined _LIBC +# define _nl_default_default_domain libintl_nl_default_default_domain +# define _nl_current_default_domain libintl_nl_current_default_domain +#endif + +/* @@ end of prolog @@ */ + +/* Name of the default text domain. */ +extern const char _nl_default_default_domain[] attribute_hidden; + +/* Default text domain in which entries for gettext(3) are to be found. */ +extern const char *_nl_current_default_domain attribute_hidden; + + +/* Names for the libintl functions are a problem. They must not clash + with existing names and they should follow ANSI C. But this source + code is also used in GNU C Library where the names have a __ + prefix. So we have to make a difference here. */ +#ifdef _LIBC +# define TEXTDOMAIN __textdomain +# ifndef strdup +# define strdup(str) __strdup (str) +# endif +#else +# define TEXTDOMAIN libintl_textdomain +#endif + +/* Lock variable to protect the global data in the gettext implementation. */ +__libc_rwlock_define (extern, _nl_state_lock attribute_hidden) + +/* Set the current default message catalog to DOMAINNAME. + If DOMAINNAME is null, return the current default. + If DOMAINNAME is "", reset to the default of "messages". */ +char * +TEXTDOMAIN (const char *domainname) +{ + char *new_domain; + char *old_domain; + + /* A NULL pointer requests the current setting. */ + if (domainname == NULL) + return (char *) _nl_current_default_domain; + + __libc_rwlock_wrlock (_nl_state_lock); + + old_domain = (char *) _nl_current_default_domain; + + /* If domain name is the null string set to default domain "messages". */ + if (domainname[0] == '\0' + || strcmp (domainname, _nl_default_default_domain) == 0) + { + _nl_current_default_domain = _nl_default_default_domain; + new_domain = (char *) _nl_current_default_domain; + } + else if (strcmp (domainname, old_domain) == 0) + /* This can happen and people will use it to signal that some + environment variable changed. */ + new_domain = old_domain; + else + { + /* If the following malloc fails `_nl_current_default_domain' + will be NULL. This value will be returned and so signals we + are out of core. */ +#if defined _LIBC || defined HAVE_STRDUP + new_domain = strdup (domainname); +#else + size_t len = strlen (domainname) + 1; + new_domain = (char *) malloc (len); + if (new_domain != NULL) + memcpy (new_domain, domainname, len); +#endif + + if (new_domain != NULL) + _nl_current_default_domain = new_domain; + } + + /* We use this possibility to signal a change of the loaded catalogs + since this is most likely the case and there is no other easy we + to do it. Do it only when the call was successful. */ + if (new_domain != NULL) + { + ++_nl_msg_cat_cntr; + + if (old_domain != new_domain && old_domain != _nl_default_default_domain) + free (old_domain); + } + + __libc_rwlock_unlock (_nl_state_lock); + + return new_domain; +} + +#ifdef _LIBC +/* Alias for function name in GNU C Library. */ +weak_alias (__textdomain, textdomain); +#endif diff --git a/intl/vasnprintf.c b/intl/vasnprintf.c new file mode 100644 index 0000000..8a62282 --- /dev/null +++ b/intl/vasnprintf.c @@ -0,0 +1,887 @@ +/* vsprintf with automatic memory allocation. + Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +/* Tell glibc's to provide a prototype for snprintf(). + This must come before because may include + , and once has been included, it's too late. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif + +#ifdef HAVE_CONFIG_H +# include +#endif +#ifndef IN_LIBINTL +# include +#endif + +/* Specification. */ +#if WIDE_CHAR_VERSION +# include "vasnwprintf.h" +#else +# include "vasnprintf.h" +#endif + +#include /* snprintf(), sprintf() */ +#include /* abort(), malloc(), realloc(), free() */ +#include /* memcpy(), strlen() */ +#include /* errno */ +#include /* CHAR_BIT */ +#include /* DBL_MAX_EXP, LDBL_MAX_EXP */ +#if WIDE_CHAR_VERSION +# include "wprintf-parse.h" +#else +# include "printf-parse.h" +#endif + +/* Checked size_t computations. */ +#include "xsize.h" + +#ifdef HAVE_WCHAR_T +# ifdef HAVE_WCSLEN +# define local_wcslen wcslen +# else + /* Solaris 2.5.1 has wcslen() in a separate library libw.so. To avoid + a dependency towards this library, here is a local substitute. + Define this substitute only once, even if this file is included + twice in the same compilation unit. */ +# ifndef local_wcslen_defined +# define local_wcslen_defined 1 +static size_t +local_wcslen (const wchar_t *s) +{ + const wchar_t *ptr; + + for (ptr = s; *ptr != (wchar_t) 0; ptr++) + ; + return ptr - s; +} +# endif +# endif +#endif + +#if WIDE_CHAR_VERSION +# define VASNPRINTF vasnwprintf +# define CHAR_T wchar_t +# define DIRECTIVE wchar_t_directive +# define DIRECTIVES wchar_t_directives +# define PRINTF_PARSE wprintf_parse +# define USE_SNPRINTF 1 +# if HAVE_DECL__SNWPRINTF + /* On Windows, the function swprintf() has a different signature than + on Unix; we use the _snwprintf() function instead. */ +# define SNPRINTF _snwprintf +# else + /* Unix. */ +# define SNPRINTF swprintf +# endif +#else +# define VASNPRINTF vasnprintf +# define CHAR_T char +# define DIRECTIVE char_directive +# define DIRECTIVES char_directives +# define PRINTF_PARSE printf_parse +# define USE_SNPRINTF (HAVE_DECL__SNPRINTF || HAVE_SNPRINTF) +# if HAVE_DECL__SNPRINTF + /* Windows. */ +# define SNPRINTF _snprintf +# else + /* Unix. */ +# define SNPRINTF snprintf +# endif +#endif + +CHAR_T * +VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args) +{ + DIRECTIVES d; + arguments a; + + if (PRINTF_PARSE (format, &d, &a) < 0) + { + errno = EINVAL; + return NULL; + } + +#define CLEANUP() \ + free (d.dir); \ + if (a.arg) \ + free (a.arg); + + if (printf_fetchargs (args, &a) < 0) + { + CLEANUP (); + errno = EINVAL; + return NULL; + } + + { + size_t buf_neededlength; + CHAR_T *buf; + CHAR_T *buf_malloced; + const CHAR_T *cp; + size_t i; + DIRECTIVE *dp; + /* Output string accumulator. */ + CHAR_T *result; + size_t allocated; + size_t length; + + /* Allocate a small buffer that will hold a directive passed to + sprintf or snprintf. */ + buf_neededlength = + xsum4 (7, d.max_width_length, d.max_precision_length, 6); +#if HAVE_ALLOCA + if (buf_neededlength < 4000 / sizeof (CHAR_T)) + { + buf = (CHAR_T *) alloca (buf_neededlength * sizeof (CHAR_T)); + buf_malloced = NULL; + } + else +#endif + { + size_t buf_memsize = xtimes (buf_neededlength, sizeof (CHAR_T)); + if (size_overflow_p (buf_memsize)) + goto out_of_memory_1; + buf = (CHAR_T *) malloc (buf_memsize); + if (buf == NULL) + goto out_of_memory_1; + buf_malloced = buf; + } + + if (resultbuf != NULL) + { + result = resultbuf; + allocated = *lengthp; + } + else + { + result = NULL; + allocated = 0; + } + length = 0; + /* Invariants: + result is either == resultbuf or == NULL or malloc-allocated. + If length > 0, then result != NULL. */ + + /* Ensures that allocated >= needed. Aborts through a jump to + out_of_memory if needed is SIZE_MAX or otherwise too big. */ +#define ENSURE_ALLOCATION(needed) \ + if ((needed) > allocated) \ + { \ + size_t memory_size; \ + CHAR_T *memory; \ + \ + allocated = (allocated > 0 ? xtimes (allocated, 2) : 12); \ + if ((needed) > allocated) \ + allocated = (needed); \ + memory_size = xtimes (allocated, sizeof (CHAR_T)); \ + if (size_overflow_p (memory_size)) \ + goto out_of_memory; \ + if (result == resultbuf || result == NULL) \ + memory = (CHAR_T *) malloc (memory_size); \ + else \ + memory = (CHAR_T *) realloc (result, memory_size); \ + if (memory == NULL) \ + goto out_of_memory; \ + if (result == resultbuf && length > 0) \ + memcpy (memory, result, length * sizeof (CHAR_T)); \ + result = memory; \ + } + + for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) + { + if (cp != dp->dir_start) + { + size_t n = dp->dir_start - cp; + size_t augmented_length = xsum (length, n); + + ENSURE_ALLOCATION (augmented_length); + memcpy (result + length, cp, n * sizeof (CHAR_T)); + length = augmented_length; + } + if (i == d.count) + break; + + /* Execute a single directive. */ + if (dp->conversion == '%') + { + size_t augmented_length; + + if (!(dp->arg_index == ARG_NONE)) + abort (); + augmented_length = xsum (length, 1); + ENSURE_ALLOCATION (augmented_length); + result[length] = '%'; + length = augmented_length; + } + else + { + if (!(dp->arg_index != ARG_NONE)) + abort (); + + if (dp->conversion == 'n') + { + switch (a.arg[dp->arg_index].type) + { + case TYPE_COUNT_SCHAR_POINTER: + *a.arg[dp->arg_index].a.a_count_schar_pointer = length; + break; + case TYPE_COUNT_SHORT_POINTER: + *a.arg[dp->arg_index].a.a_count_short_pointer = length; + break; + case TYPE_COUNT_INT_POINTER: + *a.arg[dp->arg_index].a.a_count_int_pointer = length; + break; + case TYPE_COUNT_LONGINT_POINTER: + *a.arg[dp->arg_index].a.a_count_longint_pointer = length; + break; +#ifdef HAVE_LONG_LONG + case TYPE_COUNT_LONGLONGINT_POINTER: + *a.arg[dp->arg_index].a.a_count_longlongint_pointer = length; + break; +#endif + default: + abort (); + } + } + else + { + arg_type type = a.arg[dp->arg_index].type; + CHAR_T *p; + unsigned int prefix_count; + int prefixes[2]; +#if !USE_SNPRINTF + size_t tmp_length; + CHAR_T tmpbuf[700]; + CHAR_T *tmp; + + /* Allocate a temporary buffer of sufficient size for calling + sprintf. */ + { + size_t width; + size_t precision; + + width = 0; + if (dp->width_start != dp->width_end) + { + if (dp->width_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->width_arg_index].a.a_int; + width = (arg < 0 ? (unsigned int) (-arg) : arg); + } + else + { + const CHAR_T *digitp = dp->width_start; + + do + width = xsum (xtimes (width, 10), *digitp++ - '0'); + while (digitp != dp->width_end); + } + } + + precision = 6; + if (dp->precision_start != dp->precision_end) + { + if (dp->precision_arg_index != ARG_NONE) + { + int arg; + + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + arg = a.arg[dp->precision_arg_index].a.a_int; + precision = (arg < 0 ? 0 : arg); + } + else + { + const CHAR_T *digitp = dp->precision_start + 1; + + precision = 0; + do + precision = xsum (xtimes (precision, 10), *digitp++ - '0'); + while (digitp != dp->precision_end); + } + } + + switch (dp->conversion) + { + + case 'd': case 'i': case 'u': +# ifdef HAVE_LONG_LONG + if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long long) * CHAR_BIT + * 0.30103 /* binary -> decimal */ + * 2 /* estimate for FLAG_GROUP */ + ) + + 1 /* turn floor into ceil */ + + 1; /* account for leading sign */ + else +# endif + if (type == TYPE_LONGINT || type == TYPE_ULONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long) * CHAR_BIT + * 0.30103 /* binary -> decimal */ + * 2 /* estimate for FLAG_GROUP */ + ) + + 1 /* turn floor into ceil */ + + 1; /* account for leading sign */ + else + tmp_length = + (unsigned int) (sizeof (unsigned int) * CHAR_BIT + * 0.30103 /* binary -> decimal */ + * 2 /* estimate for FLAG_GROUP */ + ) + + 1 /* turn floor into ceil */ + + 1; /* account for leading sign */ + break; + + case 'o': +# ifdef HAVE_LONG_LONG + if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long long) * CHAR_BIT + * 0.333334 /* binary -> octal */ + ) + + 1 /* turn floor into ceil */ + + 1; /* account for leading sign */ + else +# endif + if (type == TYPE_LONGINT || type == TYPE_ULONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long) * CHAR_BIT + * 0.333334 /* binary -> octal */ + ) + + 1 /* turn floor into ceil */ + + 1; /* account for leading sign */ + else + tmp_length = + (unsigned int) (sizeof (unsigned int) * CHAR_BIT + * 0.333334 /* binary -> octal */ + ) + + 1 /* turn floor into ceil */ + + 1; /* account for leading sign */ + break; + + case 'x': case 'X': +# ifdef HAVE_LONG_LONG + if (type == TYPE_LONGLONGINT || type == TYPE_ULONGLONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long long) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1 /* turn floor into ceil */ + + 2; /* account for leading sign or alternate form */ + else +# endif + if (type == TYPE_LONGINT || type == TYPE_ULONGINT) + tmp_length = + (unsigned int) (sizeof (unsigned long) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1 /* turn floor into ceil */ + + 2; /* account for leading sign or alternate form */ + else + tmp_length = + (unsigned int) (sizeof (unsigned int) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1 /* turn floor into ceil */ + + 2; /* account for leading sign or alternate form */ + break; + + case 'f': case 'F': +# ifdef HAVE_LONG_DOUBLE + if (type == TYPE_LONGDOUBLE) + tmp_length = + (unsigned int) (LDBL_MAX_EXP + * 0.30103 /* binary -> decimal */ + * 2 /* estimate for FLAG_GROUP */ + ) + + 1 /* turn floor into ceil */ + + 10; /* sign, decimal point etc. */ + else +# endif + tmp_length = + (unsigned int) (DBL_MAX_EXP + * 0.30103 /* binary -> decimal */ + * 2 /* estimate for FLAG_GROUP */ + ) + + 1 /* turn floor into ceil */ + + 10; /* sign, decimal point etc. */ + tmp_length = xsum (tmp_length, precision); + break; + + case 'e': case 'E': case 'g': case 'G': + case 'a': case 'A': + tmp_length = + 12; /* sign, decimal point, exponent etc. */ + tmp_length = xsum (tmp_length, precision); + break; + + case 'c': +# if defined HAVE_WINT_T && !WIDE_CHAR_VERSION + if (type == TYPE_WIDE_CHAR) + tmp_length = MB_CUR_MAX; + else +# endif + tmp_length = 1; + break; + + case 's': +# ifdef HAVE_WCHAR_T + if (type == TYPE_WIDE_STRING) + { + tmp_length = + local_wcslen (a.arg[dp->arg_index].a.a_wide_string); + +# if !WIDE_CHAR_VERSION + tmp_length = xtimes (tmp_length, MB_CUR_MAX); +# endif + } + else +# endif + tmp_length = strlen (a.arg[dp->arg_index].a.a_string); + break; + + case 'p': + tmp_length = + (unsigned int) (sizeof (void *) * CHAR_BIT + * 0.25 /* binary -> hexadecimal */ + ) + + 1 /* turn floor into ceil */ + + 2; /* account for leading 0x */ + break; + + default: + abort (); + } + + if (tmp_length < width) + tmp_length = width; + + tmp_length = xsum (tmp_length, 1); /* account for trailing NUL */ + } + + if (tmp_length <= sizeof (tmpbuf) / sizeof (CHAR_T)) + tmp = tmpbuf; + else + { + size_t tmp_memsize = xtimes (tmp_length, sizeof (CHAR_T)); + + if (size_overflow_p (tmp_memsize)) + /* Overflow, would lead to out of memory. */ + goto out_of_memory; + tmp = (CHAR_T *) malloc (tmp_memsize); + if (tmp == NULL) + /* Out of memory. */ + goto out_of_memory; + } +#endif + + /* Construct the format string for calling snprintf or + sprintf. */ + p = buf; + *p++ = '%'; + if (dp->flags & FLAG_GROUP) + *p++ = '\''; + if (dp->flags & FLAG_LEFT) + *p++ = '-'; + if (dp->flags & FLAG_SHOWSIGN) + *p++ = '+'; + if (dp->flags & FLAG_SPACE) + *p++ = ' '; + if (dp->flags & FLAG_ALT) + *p++ = '#'; + if (dp->flags & FLAG_ZERO) + *p++ = '0'; + if (dp->width_start != dp->width_end) + { + size_t n = dp->width_end - dp->width_start; + memcpy (p, dp->width_start, n * sizeof (CHAR_T)); + p += n; + } + if (dp->precision_start != dp->precision_end) + { + size_t n = dp->precision_end - dp->precision_start; + memcpy (p, dp->precision_start, n * sizeof (CHAR_T)); + p += n; + } + + switch (type) + { +#ifdef HAVE_LONG_LONG + case TYPE_LONGLONGINT: + case TYPE_ULONGLONGINT: + *p++ = 'l'; + /*FALLTHROUGH*/ +#endif + case TYPE_LONGINT: + case TYPE_ULONGINT: +#ifdef HAVE_WINT_T + case TYPE_WIDE_CHAR: +#endif +#ifdef HAVE_WCHAR_T + case TYPE_WIDE_STRING: +#endif + *p++ = 'l'; + break; +#ifdef HAVE_LONG_DOUBLE + case TYPE_LONGDOUBLE: + *p++ = 'L'; + break; +#endif + default: + break; + } + *p = dp->conversion; +#if USE_SNPRINTF + p[1] = '%'; + p[2] = 'n'; + p[3] = '\0'; +#else + p[1] = '\0'; +#endif + + /* Construct the arguments for calling snprintf or sprintf. */ + prefix_count = 0; + if (dp->width_arg_index != ARG_NONE) + { + if (!(a.arg[dp->width_arg_index].type == TYPE_INT)) + abort (); + prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; + } + if (dp->precision_arg_index != ARG_NONE) + { + if (!(a.arg[dp->precision_arg_index].type == TYPE_INT)) + abort (); + prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; + } + +#if USE_SNPRINTF + /* Prepare checking whether snprintf returns the count + via %n. */ + ENSURE_ALLOCATION (xsum (length, 1)); + result[length] = '\0'; +#endif + + for (;;) + { + size_t maxlen; + int count; + int retcount; + + maxlen = allocated - length; + count = -1; + retcount = 0; + +#if USE_SNPRINTF +# define SNPRINTF_BUF(arg) \ + switch (prefix_count) \ + { \ + case 0: \ + retcount = SNPRINTF (result + length, maxlen, buf, \ + arg, &count); \ + break; \ + case 1: \ + retcount = SNPRINTF (result + length, maxlen, buf, \ + prefixes[0], arg, &count); \ + break; \ + case 2: \ + retcount = SNPRINTF (result + length, maxlen, buf, \ + prefixes[0], prefixes[1], arg, \ + &count); \ + break; \ + default: \ + abort (); \ + } +#else +# define SNPRINTF_BUF(arg) \ + switch (prefix_count) \ + { \ + case 0: \ + count = sprintf (tmp, buf, arg); \ + break; \ + case 1: \ + count = sprintf (tmp, buf, prefixes[0], arg); \ + break; \ + case 2: \ + count = sprintf (tmp, buf, prefixes[0], prefixes[1],\ + arg); \ + break; \ + default: \ + abort (); \ + } +#endif + + switch (type) + { + case TYPE_SCHAR: + { + int arg = a.arg[dp->arg_index].a.a_schar; + SNPRINTF_BUF (arg); + } + break; + case TYPE_UCHAR: + { + unsigned int arg = a.arg[dp->arg_index].a.a_uchar; + SNPRINTF_BUF (arg); + } + break; + case TYPE_SHORT: + { + int arg = a.arg[dp->arg_index].a.a_short; + SNPRINTF_BUF (arg); + } + break; + case TYPE_USHORT: + { + unsigned int arg = a.arg[dp->arg_index].a.a_ushort; + SNPRINTF_BUF (arg); + } + break; + case TYPE_INT: + { + int arg = a.arg[dp->arg_index].a.a_int; + SNPRINTF_BUF (arg); + } + break; + case TYPE_UINT: + { + unsigned int arg = a.arg[dp->arg_index].a.a_uint; + SNPRINTF_BUF (arg); + } + break; + case TYPE_LONGINT: + { + long int arg = a.arg[dp->arg_index].a.a_longint; + SNPRINTF_BUF (arg); + } + break; + case TYPE_ULONGINT: + { + unsigned long int arg = a.arg[dp->arg_index].a.a_ulongint; + SNPRINTF_BUF (arg); + } + break; +#ifdef HAVE_LONG_LONG + case TYPE_LONGLONGINT: + { + long long int arg = a.arg[dp->arg_index].a.a_longlongint; + SNPRINTF_BUF (arg); + } + break; + case TYPE_ULONGLONGINT: + { + unsigned long long int arg = a.arg[dp->arg_index].a.a_ulonglongint; + SNPRINTF_BUF (arg); + } + break; +#endif + case TYPE_DOUBLE: + { + double arg = a.arg[dp->arg_index].a.a_double; + SNPRINTF_BUF (arg); + } + break; +#ifdef HAVE_LONG_DOUBLE + case TYPE_LONGDOUBLE: + { + long double arg = a.arg[dp->arg_index].a.a_longdouble; + SNPRINTF_BUF (arg); + } + break; +#endif + case TYPE_CHAR: + { + int arg = a.arg[dp->arg_index].a.a_char; + SNPRINTF_BUF (arg); + } + break; +#ifdef HAVE_WINT_T + case TYPE_WIDE_CHAR: + { + wint_t arg = a.arg[dp->arg_index].a.a_wide_char; + SNPRINTF_BUF (arg); + } + break; +#endif + case TYPE_STRING: + { + const char *arg = a.arg[dp->arg_index].a.a_string; + SNPRINTF_BUF (arg); + } + break; +#ifdef HAVE_WCHAR_T + case TYPE_WIDE_STRING: + { + const wchar_t *arg = a.arg[dp->arg_index].a.a_wide_string; + SNPRINTF_BUF (arg); + } + break; +#endif + case TYPE_POINTER: + { + void *arg = a.arg[dp->arg_index].a.a_pointer; + SNPRINTF_BUF (arg); + } + break; + default: + abort (); + } + +#if USE_SNPRINTF + /* Portability: Not all implementations of snprintf() + are ISO C 99 compliant. Determine the number of + bytes that snprintf() has produced or would have + produced. */ + if (count >= 0) + { + /* Verify that snprintf() has NUL-terminated its + result. */ + if (count < maxlen && result[length + count] != '\0') + abort (); + /* Portability hack. */ + if (retcount > count) + count = retcount; + } + else + { + /* snprintf() doesn't understand the '%n' + directive. */ + if (p[1] != '\0') + { + /* Don't use the '%n' directive; instead, look + at the snprintf() return value. */ + p[1] = '\0'; + continue; + } + else + { + /* Look at the snprintf() return value. */ + if (retcount < 0) + { + /* HP-UX 10.20 snprintf() is doubly deficient: + It doesn't understand the '%n' directive, + *and* it returns -1 (rather than the length + that would have been required) when the + buffer is too small. */ + size_t bigger_need = + xsum (xtimes (allocated, 2), 12); + ENSURE_ALLOCATION (bigger_need); + continue; + } + else + count = retcount; + } + } +#endif + + /* Attempt to handle failure. */ + if (count < 0) + { + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + errno = EINVAL; + return NULL; + } + +#if !USE_SNPRINTF + if (count >= tmp_length) + /* tmp_length was incorrectly calculated - fix the + code above! */ + abort (); +#endif + + /* Make room for the result. */ + if (count >= maxlen) + { + /* Need at least count bytes. But allocate + proportionally, to avoid looping eternally if + snprintf() reports a too small count. */ + size_t n = + xmax (xsum (length, count), xtimes (allocated, 2)); + + ENSURE_ALLOCATION (n); +#if USE_SNPRINTF + continue; +#endif + } + +#if USE_SNPRINTF + /* The snprintf() result did fit. */ +#else + /* Append the sprintf() result. */ + memcpy (result + length, tmp, count * sizeof (CHAR_T)); + if (tmp != tmpbuf) + free (tmp); +#endif + + length += count; + break; + } + } + } + } + + /* Add the final NUL. */ + ENSURE_ALLOCATION (xsum (length, 1)); + result[length] = '\0'; + + if (result != resultbuf && length + 1 < allocated) + { + /* Shrink the allocated memory if possible. */ + CHAR_T *memory; + + memory = (CHAR_T *) realloc (result, (length + 1) * sizeof (CHAR_T)); + if (memory != NULL) + result = memory; + } + + if (buf_malloced != NULL) + free (buf_malloced); + CLEANUP (); + *lengthp = length; + return result; + + out_of_memory: + if (!(result == resultbuf || result == NULL)) + free (result); + if (buf_malloced != NULL) + free (buf_malloced); + out_of_memory_1: + CLEANUP (); + errno = ENOMEM; + return NULL; + } +} + +#undef SNPRINTF +#undef USE_SNPRINTF +#undef PRINTF_PARSE +#undef DIRECTIVES +#undef DIRECTIVE +#undef CHAR_T +#undef VASNPRINTF diff --git a/intl/vasnprintf.h b/intl/vasnprintf.h new file mode 100644 index 0000000..65f1bc1 --- /dev/null +++ b/intl/vasnprintf.h @@ -0,0 +1,61 @@ +/* vsprintf with automatic memory allocation. + Copyright (C) 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _VASNPRINTF_H +#define _VASNPRINTF_H + +/* Get va_list. */ +#include + +/* Get size_t. */ +#include + +#ifndef __attribute__ +/* This feature is available in gcc versions 2.5 and later. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ +# define __attribute__(Spec) /* empty */ +# endif +/* The __-protected variants of `format' and `printf' attributes + are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */ +# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) +# define __format__ format +# define __printf__ printf +# endif +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* Write formatted output to a string dynamically allocated with malloc(). + You can pass a preallocated buffer for the result in RESULTBUF and its + size in *LENGTHP; otherwise you pass RESULTBUF = NULL. + If successful, return the address of the string (this may be = RESULTBUF + if no dynamic memory allocation was necessary) and set *LENGTHP to the + number of resulting bytes, excluding the trailing NUL. Upon error, set + errno and return NULL. */ +extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) + __attribute__ ((__format__ (__printf__, 3, 4))); +extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args) + __attribute__ ((__format__ (__printf__, 3, 0))); + +#ifdef __cplusplus +} +#endif + +#endif /* _VASNPRINTF_H */ diff --git a/intl/vasnwprintf.h b/intl/vasnwprintf.h new file mode 100644 index 0000000..d3cef4c --- /dev/null +++ b/intl/vasnwprintf.h @@ -0,0 +1,46 @@ +/* vswprintf with automatic memory allocation. + Copyright (C) 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _VASNWPRINTF_H +#define _VASNWPRINTF_H + +/* Get va_list. */ +#include + +/* Get wchar_t, size_t. */ +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/* Write formatted output to a string dynamically allocated with malloc(). + You can pass a preallocated buffer for the result in RESULTBUF and its + size in *LENGTHP; otherwise you pass RESULTBUF = NULL. + If successful, return the address of the string (this may be = RESULTBUF + if no dynamic memory allocation was necessary) and set *LENGTHP to the + number of resulting bytes, excluding the trailing NUL. Upon error, set + errno and return NULL. */ +extern wchar_t * asnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, ...); +extern wchar_t * vasnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, va_list args); + +#ifdef __cplusplus +} +#endif + +#endif /* _VASNWPRINTF_H */ diff --git a/intl/wprintf-parse.h b/intl/wprintf-parse.h new file mode 100644 index 0000000..24a2cfc --- /dev/null +++ b/intl/wprintf-parse.h @@ -0,0 +1,75 @@ +/* Parse printf format string. + Copyright (C) 1999, 2002-2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _WPRINTF_PARSE_H +#define _WPRINTF_PARSE_H + +#include "printf-args.h" + + +/* Flags */ +#define FLAG_GROUP 1 /* ' flag */ +#define FLAG_LEFT 2 /* - flag */ +#define FLAG_SHOWSIGN 4 /* + flag */ +#define FLAG_SPACE 8 /* space flag */ +#define FLAG_ALT 16 /* # flag */ +#define FLAG_ZERO 32 + +/* arg_index value indicating that no argument is consumed. */ +#define ARG_NONE (~(size_t)0) + +/* A parsed directive. */ +typedef struct +{ + const wchar_t* dir_start; + const wchar_t* dir_end; + int flags; + const wchar_t* width_start; + const wchar_t* width_end; + size_t width_arg_index; + const wchar_t* precision_start; + const wchar_t* precision_end; + size_t precision_arg_index; + wchar_t conversion; /* d i o u x X f e E g G c s p n U % but not C S */ + size_t arg_index; +} +wchar_t_directive; + +/* A parsed format string. */ +typedef struct +{ + size_t count; + wchar_t_directive *dir; + size_t max_width_length; + size_t max_precision_length; +} +wchar_t_directives; + + +/* Parses the format string. Fills in the number N of directives, and fills + in directives[0], ..., directives[N-1], and sets directives[N].dir_start + to the end of the format string. Also fills in the arg_type fields of the + arguments and the needed count of arguments. */ +#ifdef STATIC +STATIC +#else +extern +#endif +int wprintf_parse (const wchar_t *format, wchar_t_directives *d, arguments *a); + +#endif /* _WPRINTF_PARSE_H */ diff --git a/intl/xsize.h b/intl/xsize.h new file mode 100644 index 0000000..362e24b --- /dev/null +++ b/intl/xsize.h @@ -0,0 +1,109 @@ +/* xsize.h -- Checked size_t computations. + + Copyright (C) 2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU Library General Public License as published + by the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, + USA. */ + +#ifndef _XSIZE_H +#define _XSIZE_H + +/* Get size_t. */ +#include + +/* Get SIZE_MAX. */ +#include +#if HAVE_STDINT_H +# include +#endif + +/* The size of memory objects is often computed through expressions of + type size_t. Example: + void* p = malloc (header_size + n * element_size). + These computations can lead to overflow. When this happens, malloc() + returns a piece of memory that is way too small, and the program then + crashes while attempting to fill the memory. + To avoid this, the functions and macros in this file check for overflow. + The convention is that SIZE_MAX represents overflow. + malloc (SIZE_MAX) is not guaranteed to fail -- think of a malloc + implementation that uses mmap --, it's recommended to use size_overflow_p() + or size_in_bounds_p() before invoking malloc(). + The example thus becomes: + size_t size = xsum (header_size, xtimes (n, element_size)); + void *p = (size_in_bounds_p (size) ? malloc (size) : NULL); +*/ + +/* Convert an arbitrary value >= 0 to type size_t. */ +#define xcast_size_t(N) \ + ((N) <= SIZE_MAX ? (size_t) (N) : SIZE_MAX) + +/* Sum of two sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xsum (size_t size1, size_t size2) +{ + size_t sum = size1 + size2; + return (sum >= size1 ? sum : SIZE_MAX); +} + +/* Sum of three sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xsum3 (size_t size1, size_t size2, size_t size3) +{ + return xsum (xsum (size1, size2), size3); +} + +/* Sum of four sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xsum4 (size_t size1, size_t size2, size_t size3, size_t size4) +{ + return xsum (xsum (xsum (size1, size2), size3), size4); +} + +/* Maximum of two sizes, with overflow check. */ +static inline size_t +#if __GNUC__ >= 3 +__attribute__ ((__pure__)) +#endif +xmax (size_t size1, size_t size2) +{ + /* No explicit check is needed here, because for any n: + max (SIZE_MAX, n) == SIZE_MAX and max (n, SIZE_MAX) == SIZE_MAX. */ + return (size1 >= size2 ? size1 : size2); +} + +/* Multiplication of a count with an element size, with overflow check. + The count must be >= 0 and the element size must be > 0. + This is a macro, not an inline function, so that it works correctly even + when N is of a wider tupe and N > SIZE_MAX. */ +#define xtimes(N, ELSIZE) \ + ((N) <= SIZE_MAX / (ELSIZE) ? (size_t) (N) * (ELSIZE) : SIZE_MAX) + +/* Check for overflow. */ +#define size_overflow_p(SIZE) \ + ((SIZE) == SIZE_MAX) +/* Check against overflow. */ +#define size_in_bounds_p(SIZE) \ + ((SIZE) != SIZE_MAX) + +#endif /* _XSIZE_H */ diff --git a/lbreakout2.desktop b/lbreakout2.desktop new file mode 100644 index 0000000..55e11c6 --- /dev/null +++ b/lbreakout2.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=LBreakout2 +Comment=A ball-and-paddle game with nice graphics. +Exec=lbreakout2 +Icon=/usr/share/games/icons/lbreakout48.gif +Type=Application +Categories=Game; diff --git a/lbreakout2.desktop.in b/lbreakout2.desktop.in new file mode 100644 index 0000000..ed851c6 --- /dev/null +++ b/lbreakout2.desktop.in @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=LBreakout2 +Comment=A ball-and-paddle game with nice graphics. +Exec=lbreakout2 +Icon= +Type=Application +Categories=Game; diff --git a/lbreakout2.spec b/lbreakout2.spec index 337b99a..bd47404 100644 --- a/lbreakout2.spec +++ b/lbreakout2.spec @@ -1,44 +1,47 @@ -%define name lbreakout2 -%define version 2.4.1 -%define release 1 - -Summary: A breakout-style arcade game for Linux -Name: %{name} -Version: %{version} -Release: %{release} -Group: Amusements/Games -Copyright: GPL -URL: http://www.xiph.org/ -Vendor: Michael Speck -Source: http://ftp.sourceforge.net/lgames/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-root - -%description -A breakout-style arcade game for Linux. I guess all of you know how -to play breakout basically. Ball bounces around --> paddle keeps ball -in game -> all bricks destroyed --> next level ;-D - -%prep -%setup -q -n %{name}-%{realversion} - -%build -%configure -make - -%install -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT -mkdir -p ${RPM_BUILD_ROOT}/var/lib/games -make DESTDIR=$RPM_BUILD_ROOT install - -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%doc AUTHORS COPYING NEWS README TODO -%doc %{_prefix}/doc/lbreakout2 -%attr(2555, root, games) %{_bindir}/lbreakout2 -%{_datadir}/games/lbreakout2 - -%defattr(664,games,games) -%config %{_localstatedir}/lib/games/lbreakout2.hscr +%define name lbreakout2 +%define version 2.6beta7 +%define release 1 + +Summary: A breakout-style arcade game for Linux +Name: %{name} +Version: %{version} +Release: %{release} +Group: Amusements/Games +License: GPL +URL: http://www.xiph.org/ +Vendor: Michael Speck +Source: http://ftp.sourceforge.net/lgames/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A breakout-style arcade game for Linux. I guess all of you know how +to play breakout basically. Ball bounces around --> paddle keeps ball +in game -> all bricks destroyed --> next level ;-D + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure +make + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +mkdir -p ${RPM_BUILD_ROOT}/var/lib/games +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS README TODO +%doc %{_prefix}/doc/lbreakout2 +%attr(2555, root, games) %{_bindir}/lbreakout2 +%attr(2555, root, games) %{_bindir}/lbreakout2server +%{_datadir}/lbreakout2 +%{_datadir}/locale/de/LC_MESSAGES/lbreakout2.mo +%{_datadir}/locale/fr/LC_MESSAGES/lbreakout2.mo + +%defattr(664,games,games) +%config %{_localstatedir}/games/lbreakout2.hscr diff --git a/m4/Makefile.am b/m4/Makefile.am new file mode 100644 index 0000000..f971283 --- /dev/null +++ b/m4/Makefile.am @@ -0,0 +1 @@ +EXTRA_DIST = codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 intmax.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 longdouble.m4 longlong.m4 nls.m4 po.m4 printf-posix.m4 progtest.m4 signed.m4 size_max.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 wchar_t.m4 wint_t.m4 xsize.m4 diff --git a/m4/Makefile.in b/m4/Makefile.in new file mode 100644 index 0000000..2168584 --- /dev/null +++ b/m4/Makefile.in @@ -0,0 +1,357 @@ +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = .. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +subdir = m4 +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SDL_CFLAGS = @SDL_CFLAGS@ +SDL_CONFIG = @SDL_CONFIG@ +SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +appname = @appname@ +arch_flag = @arch_flag@ +audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ +doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +hi_dir = @hi_dir@ +hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +inst_dir = @inst_dir@ +inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ +mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ +netdebug_flag = @netdebug_flag@ +network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sdlnet_flag = @sdlnet_flag@ +sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +warp_flag = @warp_flag@ +win32_deps = @win32_deps@ +win32_inst_script = @win32_inst_script@ +EXTRA_DIST = codeset.m4 gettext.m4 glibc21.m4 iconv.m4 intdiv0.m4 intmax.m4 inttypes.m4 inttypes_h.m4 inttypes-pri.m4 isc-posix.m4 lcmessage.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 longdouble.m4 longlong.m4 nls.m4 po.m4 printf-posix.m4 progtest.m4 signed.m4 size_max.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 wchar_t.m4 wint_t.m4 xsize.m4 +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu m4/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu m4/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: +tags: TAGS +TAGS: + +ctags: CTAGS +CTAGS: + + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am install-exec \ + install-exec-am install-info install-info-am install-man \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ + uninstall-info-am + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/m4/codeset.m4 b/m4/codeset.m4 new file mode 100644 index 0000000..59535eb --- /dev/null +++ b/m4/codeset.m4 @@ -0,0 +1,23 @@ +# codeset.m4 serial AM1 (gettext-0.10.40) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([AM_LANGINFO_CODESET], +[ + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, + [AC_TRY_LINK([#include ], + [char* cs = nl_langinfo(CODESET);], + am_cv_langinfo_codeset=yes, + am_cv_langinfo_codeset=no) + ]) + if test $am_cv_langinfo_codeset = yes; then + AC_DEFINE(HAVE_LANGINFO_CODESET, 1, + [Define if you have and nl_langinfo(CODESET).]) + fi +]) diff --git a/m4/gettext.m4 b/m4/gettext.m4 new file mode 100644 index 0000000..a374f03 --- /dev/null +++ b/m4/gettext.m4 @@ -0,0 +1,487 @@ +# gettext.m4 serial 28 (gettext-0.13) +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +dnl Macro to add for using GNU gettext. + +dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). +dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The +dnl default (if it is not specified or empty) is 'no-libtool'. +dnl INTLSYMBOL should be 'external' for packages with no intl directory, +dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. +dnl If INTLSYMBOL is 'use-libtool', then a libtool library +dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, +dnl depending on --{enable,disable}-{shared,static} and on the presence of +dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library +dnl $(top_builddir)/intl/libintl.a will be created. +dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext +dnl implementations (in libc or libintl) without the ngettext() function +dnl will be ignored. If NEEDSYMBOL is specified and is +dnl 'need-formatstring-macros', then GNU gettext implementations that don't +dnl support the ISO C 99 formatstring macros will be ignored. +dnl INTLDIR is used to find the intl libraries. If empty, +dnl the value `$(top_builddir)/intl/' is used. +dnl +dnl The result of the configuration is one of three cases: +dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled +dnl and used. +dnl Catalog format: GNU --> install in $(datadir) +dnl Catalog extension: .mo after installation, .gmo in source tree +dnl 2) GNU gettext has been found in the system's C library. +dnl Catalog format: GNU --> install in $(datadir) +dnl Catalog extension: .mo after installation, .gmo in source tree +dnl 3) No internationalization, always use English msgid. +dnl Catalog format: none +dnl Catalog extension: none +dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. +dnl The use of .gmo is historical (it was needed to avoid overwriting the +dnl GNU format catalogs when building on a platform with an X/Open gettext), +dnl but we keep it in order not to force irrelevant filename changes on the +dnl maintainers. +dnl +AC_DEFUN([AM_GNU_GETTEXT], +[ + dnl Argument checking. + ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , + [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT +])])])])]) + ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , + [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT +])])])]) + define(gt_included_intl, ifelse([$1], [external], [no], [yes])) + define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], [])) + + AC_REQUIRE([AM_PO_SUBDIRS])dnl + ifelse(gt_included_intl, yes, [ + AC_REQUIRE([AM_INTL_SUBDIR])dnl + ]) + + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + + dnl Sometimes libintl requires libiconv, so first search for libiconv. + dnl Ideally we would do this search only after the + dnl if test "$USE_NLS" = "yes"; then + dnl if test "$gt_cv_func_gnugettext_libc" != "yes"; then + dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT + dnl the configure script would need to contain the same shell code + dnl again, outside any 'if'. There are two solutions: + dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. + dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. + dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not + dnl documented, we avoid it. + ifelse(gt_included_intl, yes, , [ + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) + ]) + + dnl Set USE_NLS. + AM_NLS + + ifelse(gt_included_intl, yes, [ + BUILD_INCLUDED_LIBINTL=no + USE_INCLUDED_LIBINTL=no + ]) + LIBINTL= + LTLIBINTL= + POSUB= + + dnl If we use NLS figure out what method + if test "$USE_NLS" = "yes"; then + gt_use_preinstalled_gnugettext=no + ifelse(gt_included_intl, yes, [ + AC_MSG_CHECKING([whether included gettext is requested]) + AC_ARG_WITH(included-gettext, + [ --with-included-gettext use the GNU gettext library included here], + nls_cv_force_use_gnu_gettext=$withval, + nls_cv_force_use_gnu_gettext=no) + AC_MSG_RESULT($nls_cv_force_use_gnu_gettext) + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" + if test "$nls_cv_force_use_gnu_gettext" != "yes"; then + ]) + dnl User does not insist on using GNU NLS library. Figure out what + dnl to use. If GNU gettext is available we use this. Else we have + dnl to fall back to GNU NLS library. + + dnl Add a version number to the cache macros. + define([gt_api_version], ifelse([$2], [need-formatstring-macros], 3, ifelse([$2], [need-ngettext], 2, 1))) + define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc]) + define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl]) + + AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, + [AC_TRY_LINK([#include +]ifelse([$2], [need-formatstring-macros], +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +], [])[extern int _nl_msg_cat_cntr; +extern int *_nl_domain_bindings;], + [bindtextdomain ("", ""); +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], + gt_cv_func_gnugettext_libc=yes, + gt_cv_func_gnugettext_libc=no)]) + + if test "$gt_cv_func_gnugettext_libc" != "yes"; then + dnl Sometimes libintl requires libiconv, so first search for libiconv. + ifelse(gt_included_intl, yes, , [ + AM_ICONV_LINK + ]) + dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL + dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) + dnl because that would add "-liconv" to LIBINTL and LTLIBINTL + dnl even if libiconv doesn't exist. + AC_LIB_LINKFLAGS_BODY([intl]) + AC_CACHE_CHECK([for GNU gettext in libintl], + gt_cv_func_gnugettext_libintl, + [gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" + dnl Now see whether libintl exists and does not depend on libiconv. + AC_TRY_LINK([#include +]ifelse([$2], [need-formatstring-macros], +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +], [])[extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias ();], + [bindtextdomain ("", ""); +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], + gt_cv_func_gnugettext_libintl=yes, + gt_cv_func_gnugettext_libintl=no) + dnl Now see whether libintl exists and depends on libiconv. + if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + AC_TRY_LINK([#include +]ifelse([$2], [need-formatstring-macros], +[#ifndef __GNU_GETTEXT_SUPPORTED_REVISION +#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) +#endif +changequote(,)dnl +typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; +changequote([,])dnl +], [])[extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias ();], + [bindtextdomain ("", ""); +return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)], + [LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + gt_cv_func_gnugettext_libintl=yes + ]) + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS"]) + fi + + dnl If an already present or preinstalled GNU gettext() is found, + dnl use it. But if this macro is used in GNU gettext, and GNU + dnl gettext is already preinstalled in libintl, we update this + dnl libintl. (Cf. the install rule in intl/Makefile.in.) + if test "$gt_cv_func_gnugettext_libc" = "yes" \ + || { test "$gt_cv_func_gnugettext_libintl" = "yes" \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + dnl Reset the values set by searching for libintl. + LIBINTL= + LTLIBINTL= + INCINTL= + fi + + ifelse(gt_included_intl, yes, [ + if test "$gt_use_preinstalled_gnugettext" != "yes"; then + dnl GNU gettext is not found in the C library. + dnl Fall back on included GNU gettext library. + nls_cv_use_gnu_gettext=yes + fi + fi + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions used to generate GNU NLS library. + BUILD_INCLUDED_LIBINTL=yes + USE_INCLUDED_LIBINTL=yes + LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV" + LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV" + LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` + fi + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + dnl Mark actions to use GNU gettext tools. + CATOBJEXT=.gmo + fi + ]) + + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + AC_DEFINE(ENABLE_NLS, 1, + [Define to 1 if translation of program messages to the user's native language + is requested.]) + else + USE_NLS=no + fi + fi + + AC_MSG_CHECKING([whether to use NLS]) + AC_MSG_RESULT([$USE_NLS]) + if test "$USE_NLS" = "yes"; then + AC_MSG_CHECKING([where the gettext function comes from]) + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + AC_MSG_RESULT([$gt_source]) + fi + + if test "$USE_NLS" = "yes"; then + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if test "$gt_cv_func_gnugettext_libintl" = "yes"; then + AC_MSG_CHECKING([how to link with libintl]) + AC_MSG_RESULT([$LIBINTL]) + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) + fi + + dnl For backward compatibility. Some packages may be using this. + AC_DEFINE(HAVE_GETTEXT, 1, + [Define if the GNU gettext() function is already present or preinstalled.]) + AC_DEFINE(HAVE_DCGETTEXT, 1, + [Define if the GNU dcgettext() function is already present or preinstalled.]) + fi + + dnl We need to process the po/ directory. + POSUB=po + fi + + ifelse(gt_included_intl, yes, [ + dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL + dnl to 'yes' because some of the testsuite requires it. + if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then + BUILD_INCLUDED_LIBINTL=yes + fi + + dnl Make all variables we use known to autoconf. + AC_SUBST(BUILD_INCLUDED_LIBINTL) + AC_SUBST(USE_INCLUDED_LIBINTL) + AC_SUBST(CATOBJEXT) + + dnl For backward compatibility. Some configure.ins may be using this. + nls_cv_header_intl= + nls_cv_header_libgt= + + dnl For backward compatibility. Some Makefiles may be using this. + DATADIRNAME=share + AC_SUBST(DATADIRNAME) + + dnl For backward compatibility. Some Makefiles may be using this. + INSTOBJEXT=.mo + AC_SUBST(INSTOBJEXT) + + dnl For backward compatibility. Some Makefiles may be using this. + GENCAT=gencat + AC_SUBST(GENCAT) + + dnl For backward compatibility. Some Makefiles may be using this. + if test "$USE_INCLUDED_LIBINTL" = yes; then + INTLOBJS="\$(GETTOBJS)" + fi + AC_SUBST(INTLOBJS) + + dnl Enable libtool support if the surrounding package wishes it. + INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix + AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX) + ]) + + dnl For backward compatibility. Some Makefiles may be using this. + INTLLIBS="$LIBINTL" + AC_SUBST(INTLLIBS) + + dnl Make all documented variables known to autoconf. + AC_SUBST(LIBINTL) + AC_SUBST(LTLIBINTL) + AC_SUBST(POSUB) +]) + + +dnl Checks for all prerequisites of the intl subdirectory, +dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, +dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. +AC_DEFUN([AM_INTL_SUBDIR], +[ + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_MKINSTALLDIRS])dnl + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + AC_REQUIRE([AC_PROG_RANLIB])dnl + AC_REQUIRE([AC_ISC_POSIX])dnl + AC_REQUIRE([AC_HEADER_STDC])dnl + AC_REQUIRE([AC_C_CONST])dnl + AC_REQUIRE([bh_C_SIGNED])dnl + AC_REQUIRE([AC_C_INLINE])dnl + AC_REQUIRE([AC_TYPE_OFF_T])dnl + AC_REQUIRE([AC_TYPE_SIZE_T])dnl + AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl + AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl + AC_REQUIRE([gt_TYPE_WCHAR_T])dnl + AC_REQUIRE([gt_TYPE_WINT_T])dnl + AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([jm_AC_HEADER_STDINT_H]) + AC_REQUIRE([gt_TYPE_INTMAX_T]) + AC_REQUIRE([gt_PRINTF_POSIX]) + AC_REQUIRE([AC_FUNC_ALLOCA])dnl + AC_REQUIRE([AC_FUNC_MMAP])dnl + AC_REQUIRE([jm_GLIBC21])dnl + AC_REQUIRE([gt_INTDIV0])dnl + AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl + AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl + AC_REQUIRE([gt_INTTYPES_PRI])dnl + AC_REQUIRE([gl_XSIZE])dnl + + AC_CHECK_TYPE([ptrdiff_t], , + [AC_DEFINE([ptrdiff_t], [long], + [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) + ]) + AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ +stdlib.h string.h unistd.h sys/param.h]) + AC_CHECK_FUNCS([asprintf fwprintf getcwd getegid geteuid getgid getuid \ +mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \ +strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \ +__fsetlocking]) + + dnl Use the _snprintf function only if it is declared (because on NetBSD it + dnl is defined as a weak alias of snprintf; we prefer to use the latter). + gt_CHECK_DECL(_snprintf, [#include ]) + gt_CHECK_DECL(_snwprintf, [#include ]) + + dnl Use the *_unlocked functions only if they are declared. + dnl (because some of them were defined without being declared in Solaris + dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built + dnl on Solaris 2.5.1 to run on Solaris 2.6). + dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. + gt_CHECK_DECL(feof_unlocked, [#include ]) + gt_CHECK_DECL(fgets_unlocked, [#include ]) + gt_CHECK_DECL(getc_unlocked, [#include ]) + + case $gt_cv_func_printf_posix in + *yes) HAVE_POSIX_PRINTF=1 ;; + *) HAVE_POSIX_PRINTF=0 ;; + esac + AC_SUBST([HAVE_POSIX_PRINTF]) + if test "$ac_cv_func_asprintf" = yes; then + HAVE_ASPRINTF=1 + else + HAVE_ASPRINTF=0 + fi + AC_SUBST([HAVE_ASPRINTF]) + if test "$ac_cv_func_snprintf" = yes; then + HAVE_SNPRINTF=1 + else + HAVE_SNPRINTF=0 + fi + AC_SUBST([HAVE_SNPRINTF]) + if test "$ac_cv_func_wprintf" = yes; then + HAVE_WPRINTF=1 + else + HAVE_WPRINTF=0 + fi + AC_SUBST([HAVE_WPRINTF]) + + AM_ICONV + AM_LANGINFO_CODESET + if test $ac_cv_header_locale_h = yes; then + AM_LC_MESSAGES + fi + + dnl intl/plural.c is generated from intl/plural.y. It requires bison, + dnl because plural.y uses bison specific features. It requires at least + dnl bison-1.26 because earlier versions generate a plural.c that doesn't + dnl compile. + dnl bison is only needed for the maintainer (who touches plural.y). But in + dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put + dnl the rule in general Makefile. Now, some people carelessly touch the + dnl files or have a broken "make" program, hence the plural.c rule will + dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not + dnl present or too old. + AC_CHECK_PROGS([INTLBISON], [bison]) + if test -z "$INTLBISON"; then + ac_verc_fail=yes + else + dnl Found it, now check the version. + AC_MSG_CHECKING([version of bison]) +changequote(<<,>>)dnl + ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; + 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) +changequote([,])dnl + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + esac + AC_MSG_RESULT([$ac_prog_version]) + fi + if test $ac_verc_fail = yes; then + INTLBISON=: + fi +]) + + +dnl gt_CHECK_DECL(FUNC, INCLUDES) +dnl Check whether a function is declared. +AC_DEFUN([gt_CHECK_DECL], +[ + AC_CACHE_CHECK([whether $1 is declared], ac_cv_have_decl_$1, + [AC_TRY_COMPILE([$2], [ +#ifndef $1 + char *p = (char *) $1; +#endif +], ac_cv_have_decl_$1=yes, ac_cv_have_decl_$1=no)]) + if test $ac_cv_have_decl_$1 = yes; then + gt_value=1 + else + gt_value=0 + fi + AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], + [Define to 1 if you have the declaration of `$1', and to 0 if you don't.]) +]) + + +dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) +AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) diff --git a/m4/glibc21.m4 b/m4/glibc21.m4 new file mode 100644 index 0000000..9c9f3db --- /dev/null +++ b/m4/glibc21.m4 @@ -0,0 +1,32 @@ +# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +# Test for the GNU C Library, version 2.1 or newer. +# From Bruno Haible. + +AC_DEFUN([jm_GLIBC21], + [ + AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, + ac_cv_gnu_library_2_1, + [AC_EGREP_CPP([Lucky GNU user], + [ +#include +#ifdef __GNU_LIBRARY__ + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) + Lucky GNU user + #endif +#endif + ], + ac_cv_gnu_library_2_1=yes, + ac_cv_gnu_library_2_1=no) + ] + ) + AC_SUBST(GLIBC21) + GLIBC21="$ac_cv_gnu_library_2_1" + ] +) diff --git a/m4/iconv.m4 b/m4/iconv.m4 new file mode 100644 index 0000000..c5f3579 --- /dev/null +++ b/m4/iconv.m4 @@ -0,0 +1,103 @@ +# iconv.m4 serial AM4 (gettext-0.11.3) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], +[ + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([iconv]) +]) + +AC_DEFUN([AM_ICONV_LINK], +[ + dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and + dnl those with the standalone portable GNU libiconv installed). + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) + + dnl Add $INCICONV to CPPFLAGS before performing the following checks, + dnl because if the user has installed libiconv and not disabled its use + dnl via --without-libiconv-prefix, he wants to use it. The first + dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. + am_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) + + AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + AC_TRY_LINK([#include +#include ], + [iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);], + am_cv_func_iconv=yes) + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + AC_TRY_LINK([#include +#include ], + [iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);], + am_cv_lib_iconv=yes + am_cv_func_iconv=yes) + LIBS="$am_save_LIBS" + fi + ]) + if test "$am_cv_func_iconv" = yes; then + AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) + fi + if test "$am_cv_lib_iconv" = yes; then + AC_MSG_CHECKING([how to link with libiconv]) + AC_MSG_RESULT([$LIBICONV]) + else + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV + dnl either. + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + AC_SUBST(LIBICONV) + AC_SUBST(LTLIBICONV) +]) + +AC_DEFUN([AM_ICONV], +[ + AM_ICONV_LINK + if test "$am_cv_func_iconv" = yes; then + AC_MSG_CHECKING([for iconv declaration]) + AC_CACHE_VAL(am_cv_proto_iconv, [ + AC_TRY_COMPILE([ +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif +], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) + am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + AC_MSG_RESULT([$]{ac_t:- + }[$]am_cv_proto_iconv) + AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, + [Define as const if the declaration of iconv() needs const.]) + fi +]) diff --git a/m4/intdiv0.m4 b/m4/intdiv0.m4 new file mode 100644 index 0000000..55dddcf --- /dev/null +++ b/m4/intdiv0.m4 @@ -0,0 +1,72 @@ +# intdiv0.m4 serial 1 (gettext-0.11.3) +dnl Copyright (C) 2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([gt_INTDIV0], +[ + AC_REQUIRE([AC_PROG_CC])dnl + AC_REQUIRE([AC_CANONICAL_HOST])dnl + + AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], + gt_cv_int_divbyzero_sigfpe, + [ + AC_TRY_RUN([ +#include +#include + +static void +#ifdef __cplusplus +sigfpe_handler (int sig) +#else +sigfpe_handler (sig) int sig; +#endif +{ + /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ + exit (sig != SIGFPE); +} + +int x = 1; +int y = 0; +int z; +int nan; + +int main () +{ + signal (SIGFPE, sigfpe_handler); +/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ +#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) + signal (SIGTRAP, sigfpe_handler); +#endif +/* Linux/SPARC yields signal SIGILL. */ +#if defined (__sparc__) && defined (__linux__) + signal (SIGILL, sigfpe_handler); +#endif + + z = x / y; + nan = y / y; + exit (1); +} +], gt_cv_int_divbyzero_sigfpe=yes, gt_cv_int_divbyzero_sigfpe=no, + [ + # Guess based on the CPU. + case "$host_cpu" in + alpha* | i[34567]86 | m68k | s390*) + gt_cv_int_divbyzero_sigfpe="guessing yes";; + *) + gt_cv_int_divbyzero_sigfpe="guessing no";; + esac + ]) + ]) + case "$gt_cv_int_divbyzero_sigfpe" in + *yes) value=1;; + *) value=0;; + esac + AC_DEFINE_UNQUOTED(INTDIV0_RAISES_SIGFPE, $value, + [Define if integer division by zero raises signal SIGFPE.]) +]) diff --git a/m4/intmax.m4 b/m4/intmax.m4 new file mode 100644 index 0000000..dfb08cc --- /dev/null +++ b/m4/intmax.m4 @@ -0,0 +1,32 @@ +# intmax.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. +dnl Test whether the system has the 'intmax_t' type, but don't attempt to +dnl find a replacement if it is lacking. + +AC_DEFUN([gt_TYPE_INTMAX_T], +[ + AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([jm_AC_HEADER_STDINT_H]) + AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, + [AC_TRY_COMPILE([ +#include +#include +#if HAVE_STDINT_H_WITH_UINTMAX +#include +#endif +#if HAVE_INTTYPES_H_WITH_UINTMAX +#include +#endif +], [intmax_t x = -1;], gt_cv_c_intmax_t=yes, gt_cv_c_intmax_t=no)]) + if test $gt_cv_c_intmax_t = yes; then + AC_DEFINE(HAVE_INTMAX_T, 1, + [Define if you have the 'intmax_t' type in or .]) + fi +]) diff --git a/m4/inttypes-pri.m4 b/m4/inttypes-pri.m4 new file mode 100644 index 0000000..fd007c3 --- /dev/null +++ b/m4/inttypes-pri.m4 @@ -0,0 +1,32 @@ +# inttypes-pri.m4 serial 1 (gettext-0.11.4) +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +# Define PRI_MACROS_BROKEN if exists and defines the PRI* +# macros to non-string values. This is the case on AIX 4.3.3. + +AC_DEFUN([gt_INTTYPES_PRI], +[ + AC_REQUIRE([gt_HEADER_INTTYPES_H]) + if test $gt_cv_header_inttypes_h = yes; then + AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], + gt_cv_inttypes_pri_broken, + [ + AC_TRY_COMPILE([#include +#ifdef PRId32 +char *p = PRId32; +#endif +], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) + ]) + fi + if test "$gt_cv_inttypes_pri_broken" = yes; then + AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, + [Define if exists and defines unusable PRI* macros.]) + fi +]) diff --git a/m4/inttypes.m4 b/m4/inttypes.m4 new file mode 100644 index 0000000..ab370ff --- /dev/null +++ b/m4/inttypes.m4 @@ -0,0 +1,27 @@ +# inttypes.m4 serial 1 (gettext-0.11.4) +dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Paul Eggert. + +# Define HAVE_INTTYPES_H if exists and doesn't clash with +# . + +AC_DEFUN([gt_HEADER_INTTYPES_H], +[ + AC_CACHE_CHECK([for inttypes.h], gt_cv_header_inttypes_h, + [ + AC_TRY_COMPILE( + [#include +#include ], + [], gt_cv_header_inttypes_h=yes, gt_cv_header_inttypes_h=no) + ]) + if test $gt_cv_header_inttypes_h = yes; then + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H, 1, + [Define if exists and doesn't clash with .]) + fi +]) diff --git a/m4/inttypes_h.m4 b/m4/inttypes_h.m4 new file mode 100644 index 0000000..f342eba --- /dev/null +++ b/m4/inttypes_h.m4 @@ -0,0 +1,28 @@ +# inttypes_h.m4 serial 5 (gettext-0.12) +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Paul Eggert. + +# Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, +# doesn't clash with , and declares uintmax_t. + +AC_DEFUN([jm_AC_HEADER_INTTYPES_H], +[ + AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h, + [AC_TRY_COMPILE( + [#include +#include ], + [uintmax_t i = (uintmax_t) -1;], + jm_ac_cv_header_inttypes_h=yes, + jm_ac_cv_header_inttypes_h=no)]) + if test $jm_ac_cv_header_inttypes_h = yes; then + AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, + [Define if exists, doesn't clash with , + and declares uintmax_t. ]) + fi +]) diff --git a/m4/isc-posix.m4 b/m4/isc-posix.m4 new file mode 100644 index 0000000..1319dd1 --- /dev/null +++ b/m4/isc-posix.m4 @@ -0,0 +1,26 @@ +# isc-posix.m4 serial 2 (gettext-0.11.2) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +# This file is not needed with autoconf-2.53 and newer. Remove it in 2005. + +# This test replaces the one in autoconf. +# Currently this macro should have the same name as the autoconf macro +# because gettext's gettext.m4 (distributed in the automake package) +# still uses it. Otherwise, the use in gettext.m4 makes autoheader +# give these diagnostics: +# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX +# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX + +undefine([AC_ISC_POSIX]) + +AC_DEFUN([AC_ISC_POSIX], + [ + dnl This test replaces the obsolescent AC_ISC_POSIX kludge. + AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"]) + ] +) diff --git a/m4/lcmessage.m4 b/m4/lcmessage.m4 new file mode 100644 index 0000000..ffd4008 --- /dev/null +++ b/m4/lcmessage.m4 @@ -0,0 +1,32 @@ +# lcmessage.m4 serial 3 (gettext-0.11.3) +dnl Copyright (C) 1995-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995. + +# Check whether LC_MESSAGES is available in . + +AC_DEFUN([AM_LC_MESSAGES], +[ + AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, + [AC_TRY_LINK([#include ], [return LC_MESSAGES], + am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) + if test $am_cv_val_LC_MESSAGES = yes; then + AC_DEFINE(HAVE_LC_MESSAGES, 1, + [Define if your file defines LC_MESSAGES.]) + fi +]) diff --git a/m4/lib-ld.m4 b/m4/lib-ld.m4 new file mode 100644 index 0000000..38aeaec --- /dev/null +++ b/m4/lib-ld.m4 @@ -0,0 +1,112 @@ +# lib-ld.m4 serial 3 (gettext-0.13) +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl Subroutines of libtool.m4, +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision +dnl with libtool.m4. + +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. +AC_DEFUN([AC_LIB_PROG_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]* | [A-Za-z]:[\\/]*)] + [re_direlt='/[^/][^/]*/\.\./'] + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(acl_cv_path_LD, +[if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$acl_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_LIB_PROG_LD_GNU +]) diff --git a/m4/lib-link.m4 b/m4/lib-link.m4 new file mode 100644 index 0000000..eeb200d --- /dev/null +++ b/m4/lib-link.m4 @@ -0,0 +1,551 @@ +# lib-link.m4 serial 4 (gettext-0.12) +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and +dnl augments the CPPFLAGS variable. +AC_DEFUN([AC_LIB_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + ac_cv_lib[]Name[]_libs="$LIB[]NAME" + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" + ]) + LIB[]NAME="$ac_cv_lib[]Name[]_libs" + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the + dnl results of this search when this library appears as a dependency. + HAVE_LIB[]NAME=yes + undefine([Name]) + undefine([NAME]) +]) + +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) +dnl searches for libname and the libraries corresponding to explicit and +dnl implicit dependencies, together with the specified include files and +dnl the ability to compile and link the specified testcode. If found, it +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, + dnl because if the user has installed lib[]Name and not disabled its use + dnl via --without-lib[]Name-prefix, he wants to use it. + ac_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ + ac_save_LIBS="$LIBS" + LIBS="$LIBS $LIB[]NAME" + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) + LIBS="$ac_save_LIBS" + ]) + if test "$ac_cv_lib[]Name" = yes; then + HAVE_LIB[]NAME=yes + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) + AC_MSG_CHECKING([how to link with lib[]$1]) + AC_MSG_RESULT([$LIB[]NAME]) + else + HAVE_LIB[]NAME=no + dnl If $LIB[]NAME didn't lead to a usable library, we don't need + dnl $INC[]NAME either. + CPPFLAGS="$ac_save_CPPFLAGS" + LIB[]NAME= + LTLIB[]NAME= + fi + AC_SUBST([HAVE_LIB]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + undefine([Name]) + undefine([NAME]) +]) + +dnl Determine the platform dependent parameters needed to use rpath: +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, +dnl hardcode_direct, hardcode_minus_L. +AC_DEFUN([AC_LIB_RPATH], +[ + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + ]) + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + dnl Determine whether the user wants rpath handling at all. + AC_ARG_ENABLE(rpath, + [ --disable-rpath do not hardcode runtime library paths], + :, enable_rpath=yes) +]) + +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. +AC_DEFUN([AC_LIB_LINKFLAGS_BODY], +[ + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib$1-prefix], +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib + --without-lib$1-prefix don't search for lib$1 in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + dnl Search the library and its dependencies in $additional_libdir and + dnl $LDFLAGS. Using breadth-first-seach. + LIB[]NAME= + LTLIB[]NAME= + INC[]NAME= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='$1 $2' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS + dnl or AC_LIB_HAVE_LINKFLAGS call. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" + else + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined + dnl that this library doesn't exist. So just drop it. + : + fi + else + dnl Search the library lib$name in $additional_libdir and $LDFLAGS + dnl and the already constructed $LIBNAME/$LTLIBNAME. + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + dnl Found the library. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + dnl Linking with a shared library. We attempt to hardcode its + dnl directory into the executable's runpath, unless it's the + dnl standard /usr/lib. + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + dnl No hardcoding is needed. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + dnl The hardcoding into $LIBNAME is system dependent. + if test "$hardcode_direct" = yes; then + dnl Using DIR/libNAME.so during linking hardcodes DIR into the + dnl resulting binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + dnl Rely on "-L$found_dir". + dnl But don't add it if it's already contained in the LDFLAGS + dnl or the already constructed $LIBNAME + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH + dnl here, because this doesn't fit in flags passed to the + dnl compiler. So give up. No hardcoding. This affects only + dnl very old systems. + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + dnl Linking with a static library. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" + else + dnl We shouldn't come here, but anyway it's good to have a + dnl fallback. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" + fi + fi + dnl Assume the include files are nearby. + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + dnl Potentially add $additional_includedir to $INCNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's /usr/local/include and we are using GCC on Linux, + dnl 3. if it's already present in $CPPFLAGS or the already + dnl constructed $INCNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INC[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $INCNAME. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + dnl Look for dependencies. + if test -n "$found_la"; then + dnl Read the .la file. It defines the variables + dnl dlname, library_names, old_library, dependency_libs, current, + dnl age, revision, installed, dlopen, dlpreopen, libdir. + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + dnl We use only dependency_libs. + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, + dnl 3. if it's already present in $LDFLAGS or the already + dnl constructed $LIBNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LIBNAME. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LTLIBNAME. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + dnl Handle this in the next round. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + dnl Handle this in the next round. Throw away the .la's + dnl directory; it is already contained in a preceding -L + dnl option. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + dnl Most likely an immediate library name. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" + ;; + esac + done + fi + else + dnl Didn't find the library; assume it is in the system directories + dnl known to the linker and runtime loader. (All the system + dnl directories known to the linker should also be known to the + dnl runtime loader, otherwise the system is severely misconfigured.) + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user must + dnl pass all path elements in one option. We can arrange that for a + dnl single library, but not when more than one $LIBNAMEs are used. + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + else + dnl The -rpath options are cumulative. + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + dnl When using libtool, the option that works for both libraries and + dnl executables is -R. The -R options are cumulative. + for found_dir in $ltrpathdirs; do + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" + done + fi +]) + +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, +dnl unless already present in VAR. +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes +dnl contains two or three consecutive elements that belong together. +AC_DEFUN([AC_LIB_APPENDTOVAR], +[ + for element in [$2]; do + haveit= + for x in $[$1]; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + [$1]="${[$1]}${[$1]:+ }$element" + fi + done +]) diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4 new file mode 100644 index 0000000..8aff5a9 --- /dev/null +++ b/m4/lib-prefix.m4 @@ -0,0 +1,155 @@ +# lib-prefix.m4 serial 3 (gettext-0.13) +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't +dnl require excessive bracketing. +ifdef([AC_HELP_STRING], +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) + +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed +dnl to access previously installed libraries. The basic assumption is that +dnl a user will want packages to use other packages he previously installed +dnl with the same --prefix option. +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate +dnl libraries, but is otherwise very convenient. +AC_DEFUN([AC_LIB_PREFIX], +[ + AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib-prefix], +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib + --without-lib-prefix don't search for libraries in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + if test $use_additional = yes; then + dnl Potentially add $additional_includedir to $CPPFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's already present in $CPPFLAGS, + dnl 3. if it's /usr/local/include and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + for x in $CPPFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $CPPFLAGS. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" + fi + fi + fi + fi + dnl Potentially add $additional_libdir to $LDFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's already present in $LDFLAGS, + dnl 3. if it's /usr/local/lib and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + for x in $LDFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LDFLAGS. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" + fi + fi + fi + fi + fi +]) + +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, +dnl acl_final_exec_prefix, containing the values to which $prefix and +dnl $exec_prefix will expand at the end of the configure script. +AC_DEFUN([AC_LIB_PREPARE_PREFIX], +[ + dnl Unfortunately, prefix and exec_prefix get only finally determined + dnl at the end of configure. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" +]) + +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the +dnl variables prefix and exec_prefix bound to the values they will have +dnl at the end of the configure script. +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], +[ + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + $1 + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" +]) diff --git a/m4/longdouble.m4 b/m4/longdouble.m4 new file mode 100644 index 0000000..1333d2f --- /dev/null +++ b/m4/longdouble.m4 @@ -0,0 +1,30 @@ +# longdouble.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. +dnl Test whether the compiler supports the 'long double' type. +dnl Prerequisite: AC_PROG_CC + +AC_DEFUN([gt_TYPE_LONGDOUBLE], +[ + AC_CACHE_CHECK([for long double], gt_cv_c_long_double, + [if test "$GCC" = yes; then + gt_cv_c_long_double=yes + else + AC_TRY_COMPILE([ + /* The Stardent Vistra knows sizeof(long double), but does not support it. */ + long double foo = 0.0; + /* On Ultrix 4.3 cc, long double is 4 and double is 8. */ + int array [2*(sizeof(long double) >= sizeof(double)) - 1]; + ], , + gt_cv_c_long_double=yes, gt_cv_c_long_double=no) + fi]) + if test $gt_cv_c_long_double = yes; then + AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.]) + fi +]) diff --git a/m4/longlong.m4 b/m4/longlong.m4 new file mode 100644 index 0000000..d7d7350 --- /dev/null +++ b/m4/longlong.m4 @@ -0,0 +1,25 @@ +# longlong.m4 serial 4 +dnl Copyright (C) 1999-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Paul Eggert. + +# Define HAVE_LONG_LONG if 'long long' works. + +AC_DEFUN([jm_AC_TYPE_LONG_LONG], +[ + AC_CACHE_CHECK([for long long], ac_cv_type_long_long, + [AC_TRY_LINK([long long ll = 1LL; int i = 63;], + [long long llmax = (long long) -1; + return ll << i | ll >> i | llmax / ll | llmax % ll;], + ac_cv_type_long_long=yes, + ac_cv_type_long_long=no)]) + if test $ac_cv_type_long_long = yes; then + AC_DEFINE(HAVE_LONG_LONG, 1, + [Define if you have the 'long long' type.]) + fi +]) diff --git a/m4/nls.m4 b/m4/nls.m4 new file mode 100644 index 0000000..36bc493 --- /dev/null +++ b/m4/nls.m4 @@ -0,0 +1,49 @@ +# nls.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +AC_DEFUN([AM_NLS], +[ + AC_MSG_CHECKING([whether NLS is requested]) + dnl Default is enabled NLS + AC_ARG_ENABLE(nls, + [ --disable-nls do not use Native Language Support], + USE_NLS=$enableval, USE_NLS=yes) + AC_MSG_RESULT($USE_NLS) + AC_SUBST(USE_NLS) +]) + +AC_DEFUN([AM_MKINSTALLDIRS], +[ + dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly + dnl find the mkinstalldirs script in another subdir but $(top_srcdir). + dnl Try to locate it. + MKINSTALLDIRS= + if test -n "$ac_aux_dir"; then + case "$ac_aux_dir" in + /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; + *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; + esac + fi + if test -z "$MKINSTALLDIRS"; then + MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" + fi + AC_SUBST(MKINSTALLDIRS) +]) diff --git a/m4/po.m4 b/m4/po.m4 new file mode 100644 index 0000000..e161998 --- /dev/null +++ b/m4/po.m4 @@ -0,0 +1,426 @@ +# po.m4 serial 3 (gettext-0.14) +dnl Copyright (C) 1995-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1995-2000. +dnl Bruno Haible , 2000-2003. + +dnl Checks for all prerequisites of the po subdirectory. +AC_DEFUN([AM_PO_SUBDIRS], +[ + AC_REQUIRE([AC_PROG_MAKE_SET])dnl + AC_REQUIRE([AC_PROG_INSTALL])dnl + AC_REQUIRE([AM_MKINSTALLDIRS])dnl + AC_REQUIRE([AM_NLS])dnl + + dnl Perform the following tests also if --disable-nls has been given, + dnl because they are needed for "make dist" to work. + + dnl Search for GNU msgfmt in the PATH. + dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. + dnl The second test excludes FreeBSD msgfmt. + AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, + [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + :) + AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) + + dnl Search for GNU xgettext 0.12 or newer in the PATH. + dnl The first test excludes Solaris xgettext and early GNU xgettext versions. + dnl The second test excludes FreeBSD xgettext. + AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, + [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], + :) + dnl Remove leftover from FreeBSD xgettext call. + rm -f messages.po + + dnl Search for GNU msgmerge 0.11 or newer in the PATH. + AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, + [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :) + + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. + dnl Test whether we really found GNU msgfmt. + if test "$GMSGFMT" != ":"; then + dnl If it is no GNU msgfmt we define it as : so that the + dnl Makefiles still can work. + if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 && + (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'` + AC_MSG_RESULT( + [found $GMSGFMT program is not GNU msgfmt; ignore it]) + GMSGFMT=":" + fi + fi + + dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. + dnl Test whether we really found GNU xgettext. + if test "$XGETTEXT" != ":"; then + dnl If it is no GNU xgettext we define it as : so that the + dnl Makefiles still can work. + if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 && + (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then + : ; + else + AC_MSG_RESULT( + [found xgettext program is not GNU xgettext; ignore it]) + XGETTEXT=":" + fi + dnl Remove leftover from FreeBSD xgettext call. + rm -f messages.po + fi + + AC_OUTPUT_COMMANDS([ + for ac_file in $CONFIG_FILES; do + # Support "outfile[:infile[:infile...]]" + case "$ac_file" in + *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + esac + # PO directories have a Makefile.in generated from Makefile.in.in. + case "$ac_file" in */Makefile.in) + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then + rm -f "$ac_dir/POTFILES" + test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" + cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" + POMAKEFILEDEPS="POTFILES.in" + # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend + # on $ac_dir but don't depend on user-specified configuration + # parameters. + if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then + # The LINGUAS file contains the set of available languages. + if test -n "$OBSOLETE_ALL_LINGUAS"; then + test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" + fi + ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"` + # Hide the ALL_LINGUAS assigment from automake. + eval 'ALL_LINGUAS''=$ALL_LINGUAS_' + POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" + else + # The set of available languages was given in configure.in. + eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' + fi + # Compute POFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) + # Compute UPDATEPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) + # Compute DUMMYPOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) + # Compute GMOFILES + # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) + case "$ac_given_srcdir" in + .) srcdirpre= ;; + *) srcdirpre='$(srcdir)/' ;; + esac + POFILES= + UPDATEPOFILES= + DUMMYPOFILES= + GMOFILES= + for lang in $ALL_LINGUAS; do + POFILES="$POFILES $srcdirpre$lang.po" + UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" + DUMMYPOFILES="$DUMMYPOFILES $lang.nop" + GMOFILES="$GMOFILES $srcdirpre$lang.gmo" + done + # CATALOGS depends on both $ac_dir and the user's LINGUAS + # environment variable. + INST_LINGUAS= + if test -n "$ALL_LINGUAS"; then + for presentlang in $ALL_LINGUAS; do + useit=no + if test "%UNSET%" != "$LINGUAS"; then + desiredlanguages="$LINGUAS" + else + desiredlanguages="$ALL_LINGUAS" + fi + for desiredlang in $desiredlanguages; do + # Use the presentlang catalog if desiredlang is + # a. equal to presentlang, or + # b. a variant of presentlang (because in this case, + # presentlang can be used as a fallback for messages + # which are not translated in the desiredlang catalog). + case "$desiredlang" in + "$presentlang"*) useit=yes;; + esac + done + if test $useit = yes; then + INST_LINGUAS="$INST_LINGUAS $presentlang" + fi + done + fi + CATALOGS= + if test -n "$INST_LINGUAS"; then + for lang in $INST_LINGUAS; do + CATALOGS="$CATALOGS $lang.gmo" + done + fi + test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" + sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" + for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do + if test -f "$f"; then + case "$f" in + *.orig | *.bak | *~) ;; + *) cat "$f" >> "$ac_dir/Makefile" ;; + esac + fi + done + fi + ;; + esac + done], + [# Capture the value of obsolete ALL_LINGUAS because we need it to compute + # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it + # from automake. + eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="${LINGUAS-%UNSET%}" + ]) +]) + +dnl Postprocesses a Makefile in a directory containing PO files. +AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], +[ + # When this code is run, in config.status, two variables have already been + # set: + # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, + # - LINGUAS is the value of the environment variable LINGUAS at configure + # time. + +changequote(,)dnl + # Adjust a relative srcdir. + ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` + ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" + ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` + # In autoconf-2.13 it is called $ac_given_srcdir. + # In autoconf-2.50 it is called $srcdir. + test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" + case "$ac_given_srcdir" in + .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; + /*) top_srcdir="$ac_given_srcdir" ;; + *) top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + # Find a way to echo strings without interpreting backslash. + if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then + gt_echo='echo' + else + if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then + gt_echo='printf %s\n' + else + echo_func () { + cat < "$ac_file.tmp" + if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then + # Add dependencies that cannot be formulated as a simple suffix rule. + for lang in $ALL_LINGUAS; do + frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` + cat >> "$ac_file.tmp" < /dev/null; then + # Add dependencies that cannot be formulated as a simple suffix rule. + for lang in $ALL_LINGUAS; do + frobbedlang=`echo $lang | sed -e 's/_/-/g'` + cat >> "$ac_file.tmp" <> "$ac_file.tmp" < +#include +/* The string "%2$d %1$d", with dollar characters protected from the shell's + dollar expansion (possibly an autoconf bug). */ +static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; +static char buf[100]; +int main () +{ + sprintf (buf, format, 33, 55); + return (strcmp (buf, "55 33") != 0); +}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, + [ + AC_EGREP_CPP(notposix, [ +#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ + notposix +#endif + ], gt_cv_func_printf_posix="guessing no", + gt_cv_func_printf_posix="guessing yes") + ]) + ]) + case $gt_cv_func_printf_posix in + *yes) + AC_DEFINE(HAVE_POSIX_PRINTF, 1, + [Define if your printf() function supports format strings with positions.]) + ;; + esac +]) diff --git a/m4/progtest.m4 b/m4/progtest.m4 new file mode 100644 index 0000000..8fe527c --- /dev/null +++ b/m4/progtest.m4 @@ -0,0 +1,91 @@ +# progtest.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. +dnl +dnl This file can can be used in projects which are not available under +dnl the GNU General Public License or the GNU Library General Public +dnl License but which still want to provide support for the GNU gettext +dnl functionality. +dnl Please note that the actual code of the GNU gettext library is covered +dnl by the GNU Library General Public License, and the rest of the GNU +dnl gettext package package is covered by the GNU General Public License. +dnl They are *not* in the public domain. + +dnl Authors: +dnl Ulrich Drepper , 1996. + +# Search path for a program which passes the given test. + +dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, +dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) +AC_DEFUN([AM_PATH_PROG_WITH_TEST], +[ +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + +# Find out how to test for executable files. Don't use a zero-byte file, +# as systems may use methods other than mode bits to determine executability. +cat >conf$$.file <<_ASEOF +#! /bin/sh +exit 0 +_ASEOF +chmod +x conf$$.file +if test -x conf$$.file >/dev/null 2>&1; then + ac_executable_p="test -x" +else + ac_executable_p="test -f" +fi +rm -f conf$$.file + +# Extract the first word of "$2", so it can be a program name with args. +set dummy $2; ac_word=[$]2 +AC_MSG_CHECKING([for $ac_word]) +AC_CACHE_VAL(ac_cv_path_$1, +[case "[$]$1" in + [[\\/]]* | ?:[[\\/]]*) + ac_cv_path_$1="[$]$1" # Let the user override the test with a path. + ;; + *) + ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR + for ac_dir in ifelse([$5], , $PATH, [$5]); do + IFS="$ac_save_IFS" + test -z "$ac_dir" && ac_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then + if [$3]; then + ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" + break 2 + fi + fi + done + done + IFS="$ac_save_IFS" +dnl If no 4th arg is given, leave the cache variable unset, +dnl so AC_PATH_PROGS will keep looking. +ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" +])dnl + ;; +esac])dnl +$1="$ac_cv_path_$1" +if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then + AC_MSG_RESULT([$]$1) +else + AC_MSG_RESULT(no) +fi +AC_SUBST($1)dnl +]) diff --git a/m4/signed.m4 b/m4/signed.m4 new file mode 100644 index 0000000..dc1f54f --- /dev/null +++ b/m4/signed.m4 @@ -0,0 +1,19 @@ +# signed.m4 serial 1 (gettext-0.10.40) +dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([bh_C_SIGNED], +[ + AC_CACHE_CHECK([for signed], bh_cv_c_signed, + [AC_TRY_COMPILE(, [signed char x;], bh_cv_c_signed=yes, bh_cv_c_signed=no)]) + if test $bh_cv_c_signed = no; then + AC_DEFINE(signed, , + [Define to empty if the C compiler doesn't support this keyword.]) + fi +]) diff --git a/m4/size_max.m4 b/m4/size_max.m4 new file mode 100644 index 0000000..5762fc3 --- /dev/null +++ b/m4/size_max.m4 @@ -0,0 +1,61 @@ +# size_max.m4 serial 2 +dnl Copyright (C) 2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([gl_SIZE_MAX], +[ + AC_CHECK_HEADERS(stdint.h) + dnl First test whether the system already has SIZE_MAX. + AC_MSG_CHECKING([for SIZE_MAX]) + result= + AC_EGREP_CPP([Found it], [ +#include +#if HAVE_STDINT_H +#include +#endif +#ifdef SIZE_MAX +Found it +#endif +], result=yes) + if test -z "$result"; then + dnl Define it ourselves. Here we assume that the type 'size_t' is not wider + dnl than the type 'unsigned long'. + dnl The _AC_COMPUTE_INT macro works up to LONG_MAX, since it uses 'expr', + dnl which is guaranteed to work from LONG_MIN to LONG_MAX. + _AC_COMPUTE_INT([~(size_t)0 / 10], res_hi, + [#include ], result=?) + _AC_COMPUTE_INT([~(size_t)0 % 10], res_lo, + [#include ], result=?) + _AC_COMPUTE_INT([sizeof (size_t) <= sizeof (unsigned int)], fits_in_uint, + [#include ], result=?) + if test "$fits_in_uint" = 1; then + dnl Even though SIZE_MAX fits in an unsigned int, it must be of type + dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. + AC_TRY_COMPILE([#include + extern size_t foo; + extern unsigned long foo; + ], [], fits_in_uint=0) + fi + if test -z "$result"; then + if test "$fits_in_uint" = 1; then + result="$res_hi$res_lo"U + else + result="$res_hi$res_lo"UL + fi + else + dnl Shouldn't happen, but who knows... + result='~(size_t)0' + fi + fi + AC_MSG_RESULT([$result]) + if test "$result" != yes; then + AC_DEFINE_UNQUOTED([SIZE_MAX], [$result], + [Define as the maximum value of type 'size_t', if the system doesn't define it.]) + fi +]) diff --git a/m4/stdint_h.m4 b/m4/stdint_h.m4 new file mode 100644 index 0000000..32ba7ae --- /dev/null +++ b/m4/stdint_h.m4 @@ -0,0 +1,28 @@ +# stdint_h.m4 serial 3 (gettext-0.12) +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Paul Eggert. + +# Define HAVE_STDINT_H_WITH_UINTMAX if exists, +# doesn't clash with , and declares uintmax_t. + +AC_DEFUN([jm_AC_HEADER_STDINT_H], +[ + AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h, + [AC_TRY_COMPILE( + [#include +#include ], + [uintmax_t i = (uintmax_t) -1;], + jm_ac_cv_header_stdint_h=yes, + jm_ac_cv_header_stdint_h=no)]) + if test $jm_ac_cv_header_stdint_h = yes; then + AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, + [Define if exists, doesn't clash with , + and declares uintmax_t. ]) + fi +]) diff --git a/m4/uintmax_t.m4 b/m4/uintmax_t.m4 new file mode 100644 index 0000000..b5f28d4 --- /dev/null +++ b/m4/uintmax_t.m4 @@ -0,0 +1,32 @@ +# uintmax_t.m4 serial 7 (gettext-0.12) +dnl Copyright (C) 1997-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Paul Eggert. + +AC_PREREQ(2.13) + +# Define uintmax_t to 'unsigned long' or 'unsigned long long' +# if it is not already defined in or . + +AC_DEFUN([jm_AC_TYPE_UINTMAX_T], +[ + AC_REQUIRE([jm_AC_HEADER_INTTYPES_H]) + AC_REQUIRE([jm_AC_HEADER_STDINT_H]) + if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then + AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG]) + test $ac_cv_type_unsigned_long_long = yes \ + && ac_type='unsigned long long' \ + || ac_type='unsigned long' + AC_DEFINE_UNQUOTED(uintmax_t, $ac_type, + [Define to unsigned long or unsigned long long + if and don't define.]) + else + AC_DEFINE(HAVE_UINTMAX_T, 1, + [Define if you have the 'uintmax_t' type in or .]) + fi +]) diff --git a/m4/ulonglong.m4 b/m4/ulonglong.m4 new file mode 100644 index 0000000..1da8b80 --- /dev/null +++ b/m4/ulonglong.m4 @@ -0,0 +1,25 @@ +# ulonglong.m4 serial 3 +dnl Copyright (C) 1999-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Paul Eggert. + +# Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works. + +AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG], +[ + AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, + [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;], + [unsigned long long ullmax = (unsigned long long) -1; + return ull << i | ull >> i | ullmax / ull | ullmax % ull;], + ac_cv_type_unsigned_long_long=yes, + ac_cv_type_unsigned_long_long=no)]) + if test $ac_cv_type_unsigned_long_long = yes; then + AC_DEFINE(HAVE_UNSIGNED_LONG_LONG, 1, + [Define if you have the 'unsigned long long' type.]) + fi +]) diff --git a/m4/wchar_t.m4 b/m4/wchar_t.m4 new file mode 100644 index 0000000..d8fd1ec --- /dev/null +++ b/m4/wchar_t.m4 @@ -0,0 +1,22 @@ +# wchar_t.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. +dnl Test whether has the 'wchar_t' type. +dnl Prerequisite: AC_PROG_CC + +AC_DEFUN([gt_TYPE_WCHAR_T], +[ + AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, + [AC_TRY_COMPILE([#include + wchar_t foo = (wchar_t)'\0';], , + gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) + if test $gt_cv_c_wchar_t = yes; then + AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) + fi +]) diff --git a/m4/wint_t.m4 b/m4/wint_t.m4 new file mode 100644 index 0000000..3d8d215 --- /dev/null +++ b/m4/wint_t.m4 @@ -0,0 +1,22 @@ +# wint_t.m4 serial 1 (gettext-0.12) +dnl Copyright (C) 2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. +dnl Test whether has the 'wint_t' type. +dnl Prerequisite: AC_PROG_CC + +AC_DEFUN([gt_TYPE_WINT_T], +[ + AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, + [AC_TRY_COMPILE([#include + wint_t foo = (wchar_t)'\0';], , + gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) + if test $gt_cv_c_wint_t = yes; then + AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) + fi +]) diff --git a/m4/xsize.m4 b/m4/xsize.m4 new file mode 100644 index 0000000..9b7cf9b --- /dev/null +++ b/m4/xsize.m4 @@ -0,0 +1,14 @@ +# xsize.m4 serial 2 +dnl Copyright (C) 2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +AC_DEFUN([gl_XSIZE], +[ + dnl Prerequisites of lib/xsize.h. + AC_REQUIRE([gl_SIZE_MAX]) + AC_CHECK_HEADERS(stdint.h) +]) diff --git a/missing b/missing old file mode 100644 new file mode 100755 index cbe2b0e..e7ef83a 100755 --- a/missing +++ b/missing @@ -1,7 +1,11 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -# Copyright (C) 1996, 1997 Free Software Foundation, Inc. -# Franc,ois Pinard , 1996. + +scriptversion=2003-09-02.23 + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 +# Free Software Foundation, Inc. +# Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,11 +22,48 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi +run=: + +# In the cases where this matters, `missing' is being run in the +# srcdir already. +if test -f configure.ac; then + configure_ac=configure.ac +else + configure_ac=configure.in +fi + +msg="missing on your system" + +case "$1" in +--run) + # Try to run requested program, and just exit if it succeeds. + run= + shift + "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi + ;; +esac + +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. case "$1" in -h|--h|--he|--hel|--help) @@ -35,6 +76,7 @@ Options: -h, --help display this help and exit -v, --version output version information and exit + --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' @@ -43,13 +85,17 @@ automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c + help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file - yacc create \`y.tab.[ch]', if possible, from existing .[ch]" + tar try tar, gnutar, gtar, then tar without non-portable flags + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Send bug reports to ." ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing - GNU libit 0.0" + echo "missing $scriptversion (GNU Automake)" ;; -*) @@ -58,55 +104,105 @@ exit 1 ;; - aclocal) - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`acinclude.m4' or \`configure.in'. You might want + aclocal*) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`configure.in'. You might want to install the + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`acconfig.h' or \`configure.in'. You might want + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER([^):]*:\([^)]*\)).*/\1/p' configure.in` - if test -z "$files"; then - files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in` - test -z "$files" || files="$files.in" - else - files=`echo "$files" | sed -e 's/:/ /g'` - fi - test -z "$files" && files="config.h.in" - touch $files - ;; - - automake) - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if - you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'. + files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` + test -z "$files" && files="config.h" + touch_files= + for f in $files; do + case "$f" in + *:*) touch_files="$touch_files "`echo "$f" | + sed -e 's/^[^:]*://' -e 's/:.*//'`;; + *) touch_files="$touch_files $f.in";; + esac + done + touch $touch_files + ;; + + automake*) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." - find . -type f -name Makefile.am -print \ - | sed 's/^\(.*\).am$/touch \1.in/' \ - | sh + find . -type f -name Makefile.am -print | + sed 's/\.am$/.in/' | + while read f; do touch "$f"; done + ;; + + autom4te) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the + proper tools for further handling them. + You can get \`$1' as part of \`Autoconf' from any GNU + archive site." + + file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` + test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + if test -f "$file"; then + touch $file + else + test -z "$file" || exec >$file + echo "#! /bin/sh" + echo "# Created by GNU Automake missing as a replacement of" + echo "# $ $@" + echo "exit 0" + chmod +x $file + exit 1 + fi ;; bison|yacc) echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." @@ -136,7 +232,7 @@ lex|flex) echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." @@ -157,9 +253,39 @@ fi ;; + help2man) + if test -z "$run" && ($1 --version) > /dev/null 2>&1; then + # We have it, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if + you modified a dependency of a manual page. You may need the + \`Help2man' package in order for those modifications to take + effect. You can get \`Help2man' from any GNU archive site." + + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` + fi + if [ -f "$file" ]; then + touch $file + else + test -z "$file" || exec >$file + echo ".ab help2man is required to generate this page" + exit 1 + fi + ;; + makeinfo) - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if + if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then + # We have makeinfo, but it failed. + exit 1 + fi + + echo 1>&2 "\ +WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, @@ -173,12 +299,51 @@ touch $file ;; + tar) + shift + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + fi + + # We have already tried tar in the generic part. + # Look for gnutar/gtar before invocation to avoid ugly error + # messages. + if (gnutar --version > /dev/null 2>&1); then + gnutar "$@" && exit 0 + fi + if (gtar --version > /dev/null 2>&1); then + gtar "$@" && exit 0 + fi + firstarg="$1" + if shift; then + case "$firstarg" in + *o*) + firstarg=`echo "$firstarg" | sed s/o//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + case "$firstarg" in + *h*) + firstarg=`echo "$firstarg" | sed s/h//` + tar "$firstarg" "$@" && exit 0 + ;; + esac + fi + + echo 1>&2 "\ +WARNING: I can't seem to be able to run \`tar' with the given arguments. + You may want to install GNU tar or Free paxutils, or check the + command line arguments." + exit 1 + ;; + *) echo 1>&2 "\ -WARNING: \`$1' is needed, and you do not seem to have it handy on your - system. You might have modified some files without having the +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the proper tools for further handling them. Check the \`README' file, - it often tells you about the needed prerequirements for installing + it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 @@ -186,3 +351,10 @@ esac exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/mkinstalldirs b/mkinstalldirs index a01481b..6fbe5e1 100755 --- a/mkinstalldirs +++ b/mkinstalldirs @@ -1,40 +1,150 @@ #! /bin/sh # mkinstalldirs --- make directory hierarchy -# Author: Noah Friedman + +scriptversion=2004-02-15.20 + +# Original author: Noah Friedman # Created: 1993-05-16 -# Public domain - -# $Id: mkinstalldirs,v 1.10 1996/05/03 07:37:52 friedman Exp $ +# Public domain. +# +# This file is maintained in Automake, please report +# bugs to or send patches to +# . errstatus=0 +dirmode="" + +usage="\ +Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... + +Create each directory DIR (with mode MODE, if specified), including all +leading file name components. + +Report bugs to ." + +# process command line arguments +while test $# -gt 0 ; do + case $1 in + -h | --help | --h*) # -h for help + echo "$usage" + exit 0 + ;; + -m) # -m PERM arg + shift + test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } + dirmode=$1 + shift + ;; + --version) + echo "$0 $scriptversion" + exit 0 + ;; + --) # stop option processing + shift + break + ;; + -*) # unknown option + echo "$usage" 1>&2 + exit 1 + ;; + *) # first non-opt arg + break + ;; + esac +done for file do - set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` - shift + if test -d "$file"; then + shift + else + break + fi +done - pathcomp= - for d - do - pathcomp="$pathcomp$d" - case "$pathcomp" in - -* ) pathcomp=./$pathcomp ;; - esac +case $# in + 0) exit 0 ;; +esac - if test ! -d "$pathcomp"; then - echo "mkdir $pathcomp" 1>&2 +# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and +# mkdir -p a/c at the same time, both will detect that a is missing, +# one will create a, then the other will try to create a and die with +# a "File exists" error. This is a problem when calling mkinstalldirs +# from a parallel make. We use --version in the probe to restrict +# ourselves to GNU mkdir, which is thread-safe. +case $dirmode in + '') + if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + echo "mkdir -p -- $*" + exec mkdir -p -- "$@" + else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + test -d ./-p && rmdir ./-p + test -d ./--version && rmdir ./--version + fi + ;; + *) + if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && + test ! -d ./--version; then + echo "mkdir -m $dirmode -p -- $*" + exec mkdir -m "$dirmode" -p -- "$@" + else + # Clean up after NextStep and OpenStep mkdir. + for d in ./-m ./-p ./--version "./$dirmode"; + do + test -d $d && rmdir $d + done + fi + ;; +esac - mkdir "$pathcomp" || lasterr=$? +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift - if test ! -d "$pathcomp"; then - errstatus=$lasterr - fi - fi + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac - pathcomp="$pathcomp/" - done + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + else + if test ! -z "$dirmode"; then + echo "chmod $dirmode $pathcomp" + lasterr="" + chmod "$dirmode" "$pathcomp" || lasterr=$? + + if test ! -z "$lasterr"; then + errstatus=$lasterr + fi + fi + fi + fi + + pathcomp="$pathcomp/" + done done exit $errstatus -# mkinstalldirs ends here +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: diff --git a/po/LINGUAS b/po/LINGUAS new file mode 100644 index 0000000..a167713 --- /dev/null +++ b/po/LINGUAS @@ -0,0 +1 @@ +de fr tr diff --git a/po/Makefile.in.in b/po/Makefile.in.in new file mode 100644 index 0000000..6114ba0 --- /dev/null +++ b/po/Makefile.in.in @@ -0,0 +1,366 @@ +# Makefile for PO directory in any package using GNU gettext. +# Copyright (C) 1995-1997, 2000-2004 by Ulrich Drepper +# +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU General Public +# License but which still want to provide support for the GNU gettext +# functionality. +# Please note that the actual code of GNU gettext is covered by the GNU +# General Public License and is *not* in the public domain. +# +# Origin: gettext-0.14 + +PACKAGE = @PACKAGE@ +VERSION = @VERSION@ + +SHELL = /bin/sh +@SET_MAKE@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ + +prefix = @prefix@ +exec_prefix = @exec_prefix@ +datadir = @datadir@ +datarootdir = @datarootdir@ +localedir = $(datadir)/locale +gettextsrcdir = $(datadir)/gettext/po + +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + +GMSGFMT = @GMSGFMT@ +MSGFMT = @MSGFMT@ +XGETTEXT = @XGETTEXT@ +MSGMERGE = msgmerge +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter + +POFILES = @POFILES@ +GMOFILES = @GMOFILES@ +UPDATEPOFILES = @UPDATEPOFILES@ +DUMMYPOFILES = @DUMMYPOFILES@ +DISTFILES.common = Makefile.in.in remove-potcdate.sin \ +$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) +DISTFILES = $(DISTFILES.common) Makevars POTFILES.in $(DOMAIN).pot stamp-po \ +$(POFILES) $(GMOFILES) \ +$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) + +POTFILES = \ + +CATALOGS = @CATALOGS@ + +# Makevars gets inserted here. (Don't remove this line!) + +.SUFFIXES: +.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update + +.po.mo: + @echo "$(MSGFMT) -c -o $@ $<"; \ + $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ + +.po.gmo: + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \ + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo + +.sin.sed: + sed -e '/^#/d' $< > t-$@ + mv t-$@ $@ + + +all: all-@USE_NLS@ + +all-yes: stamp-po +all-no: + +# stamp-po is a timestamp denoting the last time at which the CATALOGS have +# been loosely updated. Its purpose is that when a developer or translator +# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, +# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent +# invocations of "make" will do nothing. This timestamp would not be necessary +# if updating the $(CATALOGS) would always touch them; however, the rule for +# $(POFILES) has been designed to not touch files that don't need to be +# changed. +stamp-po: $(srcdir)/$(DOMAIN).pot + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @echo "touch stamp-po" + @echo timestamp > stamp-poT + @mv stamp-poT stamp-po + +# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', +# otherwise packages like GCC can not be built if only parts of the source +# have been downloaded. + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address='$(MSGID_BUGS_ADDRESS)' + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot; \ + else \ + $(MAKE) $${lang}.po-create; \ + fi + + +install: install-exec install-data +install-exec: +install-data: install-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ + for file in $(DISTFILES.common) Makevars.template; do \ + $(INSTALL_DATA) $(srcdir)/$$file \ + $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + for file in Makevars; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +install-data-no: all +install-data-yes: all + $(mkinstalldirs) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkinstalldirs) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ + fi; \ + done; \ + done + +install-strip: install + +installdirs: installdirs-exec installdirs-data +installdirs-exec: +installdirs-data: installdirs-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ + else \ + : ; \ + fi +installdirs-data-no: +installdirs-data-yes: + $(mkinstalldirs) $(DESTDIR)$(datadir) + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkinstalldirs) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done + +# Define this as empty until I found a useful application. +installcheck: + +uninstall: uninstall-exec uninstall-data +uninstall-exec: +uninstall-data: uninstall-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + for file in $(DISTFILES.common) Makevars.template; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +uninstall-data-no: +uninstall-data-yes: + catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ + done + +check: all + +info dvi ps pdf html tags TAGS ctags CTAGS ID: + +mostlyclean: + rm -f remove-potcdate.sed + rm -f stamp-poT + rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po + rm -fr *.o + +clean: mostlyclean + +distclean: clean + rm -f Makefile Makefile.in POTFILES *.mo + +maintainer-clean: distclean + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + rm -f stamp-po $(GMOFILES) + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: + $(MAKE) update-po + @$(MAKE) dist2 +# This is a separate target because 'update-po' must be executed before. +dist2: $(DISTFILES) + dists="$(DISTFILES)"; \ + if test "$(PACKAGE)" = "gettext-tools"; then \ + dists="$$dists Makevars.template"; \ + fi; \ + if test -f $(srcdir)/ChangeLog; then \ + dists="$$dists ChangeLog"; \ + fi; \ + for i in 0 1 2 3 4 5 6 7 8 9; do \ + if test -f $(srcdir)/ChangeLog.$$i; then \ + dists="$$dists ChangeLog.$$i"; \ + fi; \ + done; \ + if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ + for file in $$dists; do \ + if test -f $$file; then \ + cp -p $$file $(distdir); \ + else \ + cp -p $(srcdir)/$$file $(distdir); \ + fi; \ + done + +update-po: Makefile + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ + cd $(srcdir); \ + if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: + +Makefile: Makefile.in.in $(top_builddir)/config.status @POMAKEFILEDEPS@ + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ + $(SHELL) ./config.status + +force: + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/po/Makevars b/po/Makevars new file mode 100644 index 0000000..86d7d7f --- /dev/null +++ b/po/Makevars @@ -0,0 +1,41 @@ +# Makefile variables for PO directory in any package using GNU gettext. + +# Usually the message domain is the same as the package name. +DOMAIN = $(PACKAGE) + +# These two variables depend on the location of this directory. +subdir = po +top_builddir = .. + +# These options get passed to xgettext. +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ + +# This is the copyright holder that gets inserted into the header of the +# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding +# package. (Note that the msgstr strings, extracted from the package's +# sources, belong to the copyright holder of the package.) Translators are +# expected to transfer the copyright for their translations to this person +# or entity, or to disclaim their copyright. The empty string stands for +# the public domain; in this case the translators are expected to disclaim +# their copyright. +COPYRIGHT_HOLDER = Michael Speck + +# This is the email address or URL to which the translators shall report +# bugs in the untranslated strings: +# - Strings which are not entire sentences, see the maintainer guidelines +# in the GNU gettext documentation, section 'Preparing Strings'. +# - Strings which use unclear terms or require additional context to be +# understood. +# - Strings which make invalid assumptions about notation of date, time or +# money. +# - Pluralisation problems. +# - Incorrect English spelling. +# - Incorrect formatting. +# It can be your email address, or a mailing list address where translators +# can write to without being subscribed, or the URL of a web page through +# which the translators can contact you. +MSGID_BUGS_ADDRESS = http://lgames.sf.net/contact.php + +# This is the list of locale categories, beyond LC_MESSAGES, for which the +# message catalogs shall be used. It is usually empty. +EXTRA_LOCALE_CATEGORIES = diff --git a/po/POTFILES.in b/po/POTFILES.in new file mode 100644 index 0000000..999de75 --- /dev/null +++ b/po/POTFILES.in @@ -0,0 +1,20 @@ +client/chart.c +client/client.c +client/client_data.c +client/client_handlers.c +client/client_recv.c +client/comm.c +client/config.c +client/editor.c +client/game.c +client/help.c +client/main.c +client/manager.c +client/theme.c +client/value.c +client/misc.c +common/net.c +game/game.c +game/levels.h +server/server.c +server/server_game.c diff --git a/po/Rules-quot b/po/Rules-quot new file mode 100644 index 0000000..9c2a995 --- /dev/null +++ b/po/Rules-quot @@ -0,0 +1,47 @@ +# Special Makefile rules for English message catalogs with quotation marks. + +DISTFILES.common.extra1 = quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot + +.SUFFIXES: .insert-header .po-update-en + +en@quot.po-create: + $(MAKE) en@quot.po-update +en@boldquot.po-create: + $(MAKE) en@boldquot.po-update + +en@quot.po-update: en@quot.po-update-en +en@boldquot.po-update: en@boldquot.po-update-en + +.insert-header.po-update-en: + @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \ + if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + ll=`echo $$lang | sed -e 's/@.*//'`; \ + LC_ALL=C; export LC_ALL; \ + cd $(srcdir); \ + if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$ll -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ + else \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "creation of $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ + fi; \ + else \ + echo "creation of $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi + +en@quot.insert-header: insert-header.sin + sed -e '/^#/d' -e 's/HEADER/en@quot.header/g' $(srcdir)/insert-header.sin > en@quot.insert-header + +en@boldquot.insert-header: insert-header.sin + sed -e '/^#/d' -e 's/HEADER/en@boldquot.header/g' $(srcdir)/insert-header.sin > en@boldquot.insert-header + +mostlyclean: mostlyclean-quot +mostlyclean-quot: + rm -f *.insert-header diff --git a/po/boldquot.sed b/po/boldquot.sed new file mode 100644 index 0000000..4b937aa --- /dev/null +++ b/po/boldquot.sed @@ -0,0 +1,10 @@ +s/"\([^"]*\)"/“\1â€/g +s/`\([^`']*\)'/‘\1’/g +s/ '\([^`']*\)' / ‘\1’ /g +s/ '\([^`']*\)'$/ ‘\1’/g +s/^'\([^`']*\)' /‘\1’ /g +s/“â€/""/g +s/“/“/g +s/â€/â€/g +s/‘/‘/g +s/’/’/g diff --git a/po/de.gmo b/po/de.gmo new file mode 100644 index 0000000..305a56e Binary files /dev/null and b/po/de.gmo differ diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..e458582 --- /dev/null +++ b/po/de.po @@ -0,0 +1,2557 @@ +# translation of de.po to +# German translations for lbreakout2 package +# German messages for lbreakout2. +# Copyright (C) 2005 Michael Speck +# This file is distributed under the same license as the lbreakout2 package. +# root , 2005. +# Ronny Standtke , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: de\n" +"Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n" +"POT-Creation-Date: 2009-10-26 16:50+0100\n" +"PO-Revision-Date: 2005-11-14 08:32+0100\n" +"Last-Translator: Ronny Standtke \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: KBabel 1.10.2\n" + +#: client/chart.c:159 +#, c-format +msgid "Converting highscore chart as format changed.\n" +msgstr "Wandle Bestenliste um, da Format geaendert.\n" + +#: client/chart.c:168 +#, c-format +msgid "Highscore chart doesn't exist in '%s'... creating new one.\n" +msgstr "Keine Bestenliste unter \"%s\"... erstelle neue.\n" + +#: client/chart.c:175 +#, c-format +msgid "Write permission for '%s' denied.\n" +msgstr "Keine Schreibberechtigung fuer \"%s\".\n" + +#: client/chart.c:206 +#, c-format +msgid "Unable to access highscore chart in '%s'.\n" +msgstr "Kann Bestenliste unter \"%s\" nicht oeffnen!\n" + +#: client/chart.c:207 +#, c-format +msgid "Trying to use config directory '%s'.\n" +msgstr "Versuche Einstellungsverzeichnis \"%s\" zu verwenden.\n" + +#: client/chart.c:209 +#, c-format +msgid "" +"Unable to access highscore chart in config directory... won't be able to " +"save any results. Sorry.\n" +msgstr "" +"Kann nicht auf Bestenliste im Einstellungsverzeichnis zugreifen... kann " +"keine Ergebnisse speichern. Tut mir leid.\n" + +#: client/chart.c:214 +#, c-format +msgid "Saving highscore chart in: %s\n" +msgstr "Speichere Bestenliste unter unter %s\n" + +#: client/chart.c:216 client/chart.c:346 +msgid "Name Level Score" +msgstr "Name Ebene Punkte" + +#: client/chart.c:222 +msgid "name.-----" +msgstr "Name.-----" + +#: client/chart.c:222 +msgid "Level" +msgstr "Ebene" + +#: client/chart.c:258 +#, c-format +msgid "??? Highscore chart loaded properly but cannot save? (%s)\n" +msgstr "??? Bestenliste geladen aber Speichern nicht moeglich? (%s)\n" + +#: client/chart.c:406 +#, c-format +msgid "First chart query for '%s'. Creating this chart.\n" +msgstr "Erste Abfrage nach \"%s\". Erzeuge diese Liste.\n" + +#: client/chart.c:419 +#, c-format +msgid "Chart index '%i' is out of range!\n" +msgstr "Listenindex \"%i\" ist nicht im gueltigen Bereich!\n" + +#: client/client.c:86 +msgid "" +"Specify the game server as address:port where the address can be a name or a " +"dotted IP.#If the connection fails have a look at the messages in the chat " +"window to see the reason." +msgstr "" +"Gib den Spielserver als Adresse:Port an, wobei die Adresse ein Name oder " +"eine IP-Adresse sein kann.#Wenn die Verbindung fehlschlaegt, werden die " +"Fehlermeldungen im Chat-Fenster angezeigt." + +#: client/client.c:264 +msgid "Server:" +msgstr "Server:" + +#: client/client.c:271 +msgid "Username:" +msgstr "Benutzername:" + +#: client/client.c:278 client/client.c:369 +msgid "Connect" +msgstr "Verbinden" + +#: client/client.c:281 client/client.c:301 client/client.c:395 +#: client/manager.c:767 +msgid "Cancel" +msgstr "Abbrechen" + +#: client/client.c:285 client/client.c:293 +msgid "no info" +msgstr "keine Information" + +#: client/client.c:289 client/client.c:407 client/client.c:420 +#: client/client.c:434 +msgid "Close" +msgstr "Schliessen" + +#: client/client.c:297 +msgid "OK" +msgstr "OK" + +#: client/client.c:314 +msgid "Send" +msgstr "Senden" + +#: client/client.c:316 +msgid "Whisper" +msgstr "Fluestern" + +#: client/client.c:324 server/server.c:1108 +msgid "MAIN" +msgstr "HAUPT" + +#: client/client.c:327 +msgid "C" +msgstr "K" + +#: client/client.c:334 +msgid "Levelsets" +msgstr "Ebenensammlungen" + +#: client/client.c:343 client/manager.c:685 +msgid "Difficulty:" +msgstr "Stufe:" + +#: client/client.c:348 +msgid "Rounds:" +msgstr "Runden:" + +#: client/client.c:353 +msgid "Frags:" +msgstr "Punkte:" + +#: client/client.c:358 client/manager.c:728 +msgid "Balls:" +msgstr "Baelle:" + +#: client/client.c:365 +msgid "Challenge" +msgstr "Herausfordern" + +#: client/client.c:373 client/manager.c:640 +msgid "Quit" +msgstr "Ende" + +#: client/client.c:377 +msgid "Help" +msgstr "Hilfe" + +#: client/client.c:384 +msgid "Channel:" +msgstr "Kanal:" + +#: client/client.c:392 +msgid "Enter" +msgstr "Betreten" + +#: client/client.c:399 +msgid "Statistics" +msgstr "Statistik" + +#: client/client.c:405 client/client_handlers.c:548 +msgid "Awaiting stats..." +msgstr "Warte auf Statistik..." + +#: client/client.c:424 +msgid "Network Quick Help" +msgstr "Netzwerk Schnellhilfe" + +#: client/client.c:459 +#, c-format +msgid "Client finalized\n" +msgstr "Client beendet\n" + +#: client/client.c:490 +msgid "Press 'Connect' to connect to a game server." +msgstr "" +"Druecke \"Verbinden\", um dich mit einem einem Spielserver zu verbinden." + +#: client/client_data.c:146 +msgid "Challenges" +msgstr "Herausforderungen" + +#: client/client_data.c:147 +msgid "Channels" +msgstr "Kanaele" + +#: client/client_data.c:148 +msgid "Console Commands" +msgstr "Konsolenbefehle" + +#: client/client_data.c:149 +msgid "Game Rules" +msgstr "Spielregeln" + +#: client/client_data.c:150 +msgid "Transfers" +msgstr "Transfer" + +#: client/client_data.c:152 +msgid "" +"To challenge a user you first have to select him/her in the upper right list " +"and the levelset you want to play from the list below. Then you adjust the " +"game settings to your likings and hit the 'Challenge' button which will send " +"your challenge to the other user who will either accept or decline. If (s)he " +"accepts a direct connection will be established and the game will start." +"##DIFFICULTY: This influences ball speed, paddle size and score as for " +"single player modus. (1 = Easy, 2 = Medium, 3 = Hard)##ROUNDS: This is the " +"number of rounds played per level. Winning a round scores one point and the " +"player with the most points wins the match.##FRAGS: In a pingpong level (no " +"bricks) a player gains a frag everytime the opponent looses a ball. 'frag' " +"is a bad name for this, should be pingpong winning score or something but " +"'frags' is simply shorter. The player who hits this limit first wins the " +"round.#In levels with bricks this option is ignored and the level is over " +"after all bricks were cleared.##BALLS: In a pingpong level (no bricks) each " +"player may fire multiple balls up to this number. If a player looses a ball " +"he may fire it again.#In normal levels (with bricks) this option is ignored " +"and a gets a new ball after five seconds penalty time." +msgstr "" +"Um einen Spieler herauszufordern, musst du ihn in der Liste oben rechts und " +"die Ebenensammlung, die du spielen willst, in der Liste darunter auswaehlen. " +"Dann kannst du die Spieleinstellungen nach Belieben anpassen und den " +"\"Herausfordern\"-Knopf druecken. Dies sendet deine Herausforderung an den " +"anderen Spieler, der entweder akzeptiert oder ablehnt. Wenn er akzeptiert, " +"wird eine direkte Verbindung aufgebaut und das Spiel startet.##STUFE: Dies " +"beeinflusst die Ballgeschwindigkeit, Schlaegergroesse und Punktevergabe wie " +"im Einzelspielermodus. (1 = Leicht, 2 = Mittel, 3 = Schwer)##RUNDEN: Das ist " +"die Anzahl der zu spielenden Runden per Ebene. Wer eine Runde gewinnt, " +"erhaelt einen Punkt. Der Spieler mit den meisten Punkten gewinnt das Spiel." +"##PUNKTE: In einer Pingpong-Ebene (keine Steine) erhaelt ein Spieler einen " +"Punkt, wenn der Gegner einen Ball verliert. Der Spieler, der die angegebene " +"Punktezahl zuerst erreicht, gewinnt das Spiel.#In Ebenen mit Steinen wird " +"diese Einstellung ignoriert. Diese Ebenen sind beendet, wenn alle Steine " +"abgeraeumt wurden.##BAELLE: In einer Pingpong-Ebene (keine Steine) kann " +"jeder Spieler mehrere Baelle bis zu dieser Anzahl abfeuern. Wenn ein Spieler " +"einen Ball verliert, kann er ihn wieder abfeuern.#In normalen Ebenen (mit " +"Steinen) wird diese Einstellung ignoriert. Ein Spieler bekommt einen neuen " +"Ball nach fuenf Sekunden Strafzeit." + +#: client/client_data.c:175 +msgid "" +"To switch a channel hit the 'C' button above the user list. You can enter " +"either an existing or a new channel. You can only talk to and challenge " +"users in the same channel." +msgstr "" +"Um den Kanal umzuschalten, klicke auf den \"K\"-Knopf ueber der " +"Benutzerliste. Du kannst entweder einen bestehenden oder einen neuen Kanal " +"betreten. Du kannst nur mit Spielern im gleichen Kanal chatten oder sie " +"herausfordern." + +#: client/client_data.c:179 +msgid "" +"User Console Commands:##/search #Search for a user in all channels.##/" +"version#Display version of transmission protocol.##/info#Display current " +"userlimit and frame rate.##Admin Console Commands:##/admin_says " +"#Broadcast a message to all chatting users.##/kick #Kick user by " +"that name.##/addbot #Add a paddle bot. The speed is defined in " +"pixels per second. 800 to 1000 is a good value.##/delbot #Delete " +"paddle bot.##/set #Set a variable to a new value:# userlimit: " +"is the number of users that may login. If decreased with too many users " +"online no one is kicked. This limit does not matter for admin login.# fps: " +"is how many times a second the server calls up the communication and sends/" +"receives packets. This should not be too high to prevent network flooding. " +"40 is a good value.# packetlimit: if not -1 this is the number of packets " +"parsed in one communication step. -1 which is the default means the queue is " +"parsed until empty##/addset #Load a new levelset that has been copied " +"to the levels directory and make it available to the users.##/halt#Halt " +"server after 5 seconds and inform all users, even the playing ones, about " +"this." +msgstr "" +"Konsolenbefehle fuer Spieler:##/suche #Suche nach einem Spieler in " +"allen Kanaelen.##/version#Zeige Version des Uebertragungsprotokolls.##/" +"info#Zeige aktuelle Spielergrenze und Bildrate an.##Konsolenbefehle fuer " +"Administratoren:##/admin_sagt #Nachricht an alle Spieler.##/raus " +"#Spieler mit diesem Namen rauswerfen.##/roboter_neu " +"#Fuegt einen Schlaeger-Roboter hinzu. Die Geschwindigkeit " +"wird in Bildpunkte pro Sekunde angegeben. 800 bis 1000 sind gute Werte.##/" +"roboter_entf #Schlaeger-Roboter loeschen.##/setze " +"#Setze eine Variable auf einen neuen Wert:# spieler: ist die Anzahl " +"der Spieler, die sich anmelden koennen. Wenn mit zu vielen Spielern " +"verringert, wird niemand rausgeworfen. Diese Grenze gilt nicht fuer die " +"Administrator-Anmeldung.# kps: wie oft pro Sekunde der Server die " +"Kommunikation aufruft und Datenpakete sendet und empfaengt. Dieser Wert " +"sollte nicht zu hoch sein, um das Netzwerk nicht zu ueberfluten. 40 ist ein " +"guter Wert.# pakete: wenn nicht \"-1\" ist das die Anzahl der Pakete, die in " +"einem Kommunikationsschritt ausgewertet werden. \"-1\" ist die " +"Voreinstellung und bedeutet, dass alle vorhandenen Pakete ausgewertet werden," +"##/sammlung #Lade eine neuen Ebenensammlung, die in das " +"Ebenenverzeichnis kopiert wurde, und stelle sie den Spielern zur Verfuegung." +"##/halt#Stoppe den Server in fuenf Sekunden und informiere alle Spieler " +"darueber, sogar die spielenden." + +#: client/client_data.c:208 +#, no-c-format +msgid "" +"Basically you play the game as in single player mode but their are some " +"special things you might find useful to know.##PINGPONG:#The point here is " +"to play it fast and to use all of your balls. Use the right and left mouse " +"button to fire the balls while moving the paddle. Your opponent will have " +"trouble to reflect all balls if you do it right. If you are not sure wether " +"you got balls left click anyway. Keep the button pressed for a while! The " +"fire rate is restricted to one ball every 500 milliseconds.##NORMAL:#Your " +"goal here is too gain more score than your opponent to win a round. " +"Basically you do this by clearing bricks and collecting extras but there are " +"some other ways as well:#1) To loose a ball means to loose 10% score. After " +"five seconds penalty a new ball is created and you can continue playing.#2) " +"Hitting your opponents paddle with the plasma weapon will give you 1000 " +"points while stealing him/her the same amount.#3) Bonus/malus magnet will " +"attract _all_ bonuses/maluses even those released by your opponent.##Note: " +"If you pause the game by pressing 'p' a chat will pop up and you can talk to " +"your opponent." +msgstr "" +"Im Grunde genommen spielst du das Spiel wie im Einzelspielermodus aber es " +"gibt ein paar spezielle Dinge, die du wissen solltest.##PINGPONG;#Das Ziel " +"ist hier, schnell zu spielen und alle deine Baelle zu benutzen. Benutze die " +"rechte und linke Maustaste, um die Baelle abzuschiessen, waehrend du den " +"Schlaeger bewegst. Wenn du es richtig machst, wird es deinem Gegner " +"schwerfallen, alle Baelle zurueckzuschiessen. Wenn du dir nicht sicher bist, " +"ob du noch Baelle hast, klicke trotzdem. Lass den Knopf fuer eine Weile " +"gedrueckt! Die Feuerrate ist auf zwei Baelle pro Sekunde beschraenkt." +"##NORMAL:#Dein Ziel ist hier, mehr Punkte als dein Gegner zu erreichen, um " +"die Runde zu gewinnen. Hauptsaechlich tust du das durch Abraeumen von " +"Steinen und Einsammeln von Extrapunkten. Es gibt aber noch andere Wege:#1) " +"Wenn du einen Ball verlierst, verlierst du 10% score. Nach fuenf " +"Strafsekunden wird ein neuer Ball erzeugt und du kannst weiterspielen.#2) " +"Wenn du den Schlaeger deines Gegners mit der Plasmawaffe triffst, bekommst " +"du 1000 Punkte und dein Gegner vierliert 1000 Punkte.#3) Der Bonus/Malus-" +"Magnet zieht _alle_ Bonusse/Malusse an, auch diejenigen, die von deinem " +"Gegner ausgeloest werden.##Hinweis: Wenn du das Spiel durch druecken der " +"Taste \"p\" anhaeltst, taucht ein Chat-Fenster auf und du kannst mit deinem " +"Gegner reden." + +#: client/client_data.c:231 +msgid "" +"You cannot offer someone your levelset unless this user wants to receive " +"your set which requires the following steps:#1) select the user to whom you " +"want to listen#2) press the 'L' button above the levelset list#3) wait for " +"offer or cancel 'listening'#The receiver is now ready and the sender has to:" +"#1) select the listening user#2) select the levelset (s)he wants to " +"transfer#3) hit the 'T' button above the levelset list#If the receiver has " +"this levelset already located in ~/.lgames/lbreakout2-levels and it is up-to-" +"date the transfer does not take place otherwise the receiver is asked to " +"confirm and if (s)he does so the set is transferred to the home directory " +"and directly available if intended for network. (starts with 'MP_')#NOTE: " +"Only the challenger is required to have the levelset so you don not have to " +"transfer sets to play with someone. However if your opponent likes your set " +"and wants to challenge others with it both can engage into a transfer." +msgstr "" +"Ein Spieler kann einem anderen Spieler seine Ebenensammlung anbieten. Dies " +"erfordert folgende Arbeitsschritte vom Empfaenger:#1) Auswahl des anderen " +"Spielers (Sender)#2) \"L\"-Knopf ueber der Liste der Ebenensammlungen " +"druecken#3) auf ein Angebot warten oder \"hoeren\" abbrechen#Der Empfaenger " +"ist jetzt bereit und der Sender muss:#1) Den Empfaenger auswaehlen#2) " +"Ebenensammlung zur Uebertragung auswaehlen#3) \"T\"-Knopf ueber der " +"Ebenensammlung druecken#Wenn beim Empfaenger dieser Ebenensatz unter ~/." +"lgames/lbreakout2-levels bereits vorhanden und aktuell ist, findet keine " +"Uebertragung statt. Ansonsten wird der Empfaenger um Bestaetigung gebeten. " +"Nach der Bestaetigung wird die Sammlung in sein persoenliches Verzeichnis " +"uebertragen. Die Sammlung wird direkt verfuebgar gemacht, wenn sie fuer " +"Netzwerkspiele vorgesehen ist (muss mit \"MP_\" anfangen)#HINWEIS: Nur der " +"Herausforderer muss die Ebenensammlung haben. Du musst Sammlungen nicht " +"uebertragen, um sie mit jemandem zu spielen. Wenn deine Sammlung deinem " +"Gegner gefaellt und er andere Spieler damit herausfordern will, koennt ihr " +"sie uebertragen." + +#: client/client_handlers.c:114 +#, c-format +msgid "disconnected from %s" +msgstr "von %s getrennt" + +#: client/client_handlers.c:151 +#, c-format +msgid "ERROR: address %s does not resolve" +msgstr "FEHLER: Unbekannter Rechner %s" + +#: client/client_handlers.c:165 +msgid "unused" +msgstr "nicht benutzt" + +#: client/client_handlers.c:170 +msgid "connecting" +msgstr "verbinde" + +#: client/client_handlers.c:170 +msgid "retry" +msgstr "versuche nochmal" + +#: client/client_handlers.c:188 +#, c-format +msgid "%s: connected!" +msgstr "%s: verbunden!" + +#: client/client_handlers.c:192 +#, c-format +msgid "ERROR: connection refused: %s" +msgstr "Fehler: Verbindung abgelehnt: %s" + +#: client/client_handlers.c:200 +msgid "ERROR: server does not respond" +msgstr "Fehler: Server antwortet nicht" + +#: client/client_handlers.c:322 +msgid "You must select a user to whisper!" +msgstr "Du musst einen Benutzer auswaehlen, um ihm etwas zuzufluestern!" + +#: client/client_handlers.c:408 +msgid "You must select a user for a challenge." +msgstr "Du musst einen Benutzer zum Herausfordern auswaehlen!" + +#: client/client_handlers.c:412 +msgid "You must select a levelset for a challenge." +msgstr "Du musst eine Ebenensammlung zur Herausforderung auswaehlen!" + +#: client/client_handlers.c:416 +msgid "You can't challenge yourself." +msgstr "Du kannst nicht dich selbst herausfordern!" + +#: client/client_handlers.c:439 +#, c-format +msgid "You have challenged %s. Let's see what (s)he says..." +msgstr "Du hast %s herausgefordert. Mal sehen was er (oder sie) sagt..." + +#: client/client_recv.c:128 +#, c-format +msgid "ERROR: %s" +msgstr "Fehler: %s" + +#: client/client_recv.c:135 +#, c-format +msgid "%s is busy at the moment." +msgstr "%s ist gerade beschaeftigt." + +#: client/client_recv.c:145 client/comm.c:212 +#, c-format +msgid "comm_delay set to %i\n" +msgstr "comm_delay auf %i gesetzt\n" + +#: client/client_recv.c:233 +#, c-format +msgid "" +" You have been challenged!## Challenger: %13s# Levelset: %13s# " +"Difficulty: %13s# Rounds: %13i# Frag Limit: %13i# Balls: %" +"13i" +msgstr "" +" Du wurdest herausgefordert!## Herausforderer: %13s# " +"Ebenensammlung: %13s# Stufe: %13s# Runden: %13i# Punkte: %" +"13i# Baelle: %13i" + +#: client/client_recv.c:249 +#, c-format +msgid "%s is too scared to accept your challenge." +msgstr "%s ist zu aengstlich, deine Herausforderung anzunehmen." + +#: client/client_recv.c:256 +#, c-format +msgid "%s got cold feet." +msgstr "%s hat kalte Fuesse bekommen." + +#: client/client_recv.c:313 +#, c-format +msgid "chat: state %i: invalid message %x: skipping %i bytes\n" +msgstr "chat: Status %i: ungueltige Nachricht %x: ueberspringe %i Bytes\n" + +#: client/comm.c:221 +msgid "You've been disconnected." +msgstr "Du wurdest getrennt." + +#: client/comm.c:245 +msgid "corrupted level data" +msgstr "beschaedigte Ebenendaten" + +#: client/comm.c:266 +msgid "Remote player has paused the game." +msgstr "Der entfernte Spieler hat das Spiel angehalten." + +#: client/comm.c:377 +#, c-format +msgid "game: state %i: invalid message %x: skipping %i bytes\n" +msgstr "Spiel: Status %i: ungueltige Nachricht %x: ueberspringe %i Bytes\n" + +#: client/config.c:71 +msgid "Mr.X" +msgstr "Anton" + +#: client/config.c:72 +msgid "Mr.Y" +msgstr "Berta" + +#: client/config.c:73 +msgid "Mr.Z" +msgstr "Ceasar" + +#: client/config.c:122 +msgid "player" +msgstr "Spieler" + +#: client/editor.c:266 +#, c-format +msgid "Location: %s" +msgstr "Ort: %s" + +#: client/editor.c:270 +#, c-format +msgid "Current Level: %i/%i (Free: %i)" +msgstr "Derzeitige Ebene: %i/%i (Frei: %i)" + +#: client/editor.c:276 +#, c-format +msgid "*** Level %i Marked For Swap ***" +msgstr "*** Ebene %i zum Tausch markiert ***" + +#: client/editor.c:281 +#, c-format +msgid "Version: %s " +msgstr "Version: %s " + +#: client/editor.c:286 +#, c-format +msgid "Title: %s" +msgstr "Titel: %s" + +#: client/editor.c:289 +#, c-format +msgid "Author: %s" +msgstr "Autor: %s" + +#: client/editor.c:400 +msgid "noname" +msgstr "kein Name" + +#: client/editor.c:400 +msgid "untitled" +msgstr "kein Titel" + +#: client/editor.c:484 +msgid "Discard All Changes? y/n" +msgstr "Alle Aenderungen verwerfen? j/n" + +#: client/editor.c:494 +msgid "Save Changes? y/n" +msgstr "Aenderungen abspeichern? j/n" + +#: client/editor.c:498 +msgid "Clear Level? y/n" +msgstr "Ebene leeren? j/n" + +#: client/editor.c:509 +msgid "Add Level? y/n" +msgstr "Ebene hinzufuegen? j/n" + +#: client/editor.c:516 +msgid "Insert Level? y/n" +msgstr "Ebene einfuegen? j/n" + +#: client/editor.c:526 +msgid "Delete Level? y/n" +msgstr "Ebene loeschen? j/n" + +#: client/editor.c:548 +msgid "Levelset Version:" +msgstr "Version der Ebenensammlung:" + +#: client/editor.c:641 +msgid "Author's Name:" +msgstr "Name des Autors:" + +#: client/editor.c:646 +msgid "Title:" +msgstr "Titel:" + +#: client/editor.c:785 +msgid "Quit Editor? y/n" +msgstr "Editor verlassen? j/n" + +#: client/game.c:314 +#, c-format +msgid "" +"%s, you hit %d Jumping Jacks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" +"%s, du hast %d Hampelmaenner getroffen!##Deine durchschnittliche " +"Trefferquote: %5d%%# Deine Punkte: %6d" + +#: client/game.c:319 +#, c-format +msgid "" +"%s, you stopped %d Outbreaks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" +"%s, du hast %d Ausbrueche verhindert!##Deine durchschnittliche Trefferquote: " +"%5d%%# Deine Punkte: %6d" + +#: client/game.c:324 +#, c-format +msgid "" +"%s, you broke through %d Barriers!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" +"%s, du hast %d Mauern durchbrochen!##Deine durchschnittliche Trefferquote: %" +"5d%%# Deine Punkte: %6d" + +#: client/game.c:329 +#, c-format +msgid "%s, you shot %d Sitting Ducks!##Your score: %6d" +msgstr "%s, du hast %d Enten getroffen!## Deine Punkte: %6d" + +#: client/game.c:334 +#, c-format +msgid "" +"%s, you hunted down %d bricks!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" +"%s, du hast %d Steine erjagt!##Deine durchschnittliche Trefferquote: %5d%%" +"# Deine Punkte: %6d" + +#: client/game.c:339 +#, c-format +msgid "" +"%s, you stopped %d waves#killing a total of %d invaders!##Your average " +"ratio: %5d%%# Your score: %6d" +msgstr "" +"%s, du hast %d Wellen gestoppt#und %d Eindringlinge erledigt!##Deine " +"durchschnittliche Trefferquote: %5d%%# Deine Punkte: %6d" + +#: client/game.c:540 +msgid "Pause" +msgstr "Pause" + +#: client/game.c:543 +msgid "You have paused the game." +msgstr "Du hast das Spiel angehalten." + +#: client/game.c:583 +msgid "" +"Quit Game? y/n#(If yes, this game may be resumed later.#No highscore entry " +"is created yet.)" +msgstr "" +"Spiel verlassen? j/n#(Wenn ja, kann dieses Spiel spaeter wieder aufgenommen " +"werden.#In der Bestenliste wurde noch kein Eintrag erzeugt.)" + +#: client/game.c:585 +msgid "Quit Game? y/n" +msgstr "Spiel verlassen? j/n" + +#: client/game.c:593 +msgid "Restart Level? y/n" +msgstr "Ebene neustarten? j/n" + +#: client/game.c:642 +msgid "Warp to next level? y/n" +msgstr "Zur naechsten Ebene springen? j/n" + +#: client/game.c:788 +#, c-format +msgid "" +"***** Round %i *****###You control the %s paddle in this level!#To fire a " +"ball keep the mouse button PRESSED.#Don't just click.###Press any key when " +"you are ready...###(You can pause the game with 'p' any time.)###NOTE: Due " +"to latency, bonuses on the server are closer than they appear! I'll try to " +"work on that." +msgstr "" +"***** Runde %i *****###Du bedienst den %s Schlaeger in dieser Ebene!#Um " +"einen Ball abzufeuern, halte den Mausknopf GEDRUECKT.#Nicht einfach nur " +"klicken.###Druecke irgendeine Taste, wenn du bereit bist...###(Du kannst das " +"Spiel mit \"p\" jederzeit anhalten.)###BEMERKUNG: Aufgrund der " +"Zeitverzoegerung sind Bonusse auf dem Server naeher als sie erscheinen. Ich " +"werden versuchen, daran zu arbeiten." + +#: client/game.c:793 +msgid "BOTTOM" +msgstr "UNTEN" + +#: client/game.c:793 +msgid "TOP" +msgstr "OBEN" + +#: client/game.c:800 +msgid "DRAW" +msgstr "UNENTSCHIEDEN" + +#: client/game.c:804 +msgid "You have won this round!" +msgstr "Du hast diese Runde gewonnen!" + +#: client/game.c:806 +msgid "You have lost this round." +msgstr "Du hast diese Runde verloren." + +#: client/game.c:829 +#, c-format +msgid "" +" Result: %s ## %12s %" +"12s##Wins: %12i %12i#Losses: %12i %" +"12i#Draws: %12i %12i##Total Score: %12i %12i##Balls " +"Kept: %11i%% %11i%%#Bricks Cleared: %11i%% %11i%%#Extras Collected: %" +"11i%% %11i%%##(Press SPACE to continue)" +msgstr "" +" Resultat: %s ## %12s %" +"12s##Gewonnen: %12i %12i#Verloren: %12i %" +"12i#Gleichstand: %12i %12i##Punkte: %12i %12i##Baelle " +"behalten: %11i%% %11i%%#Steine abgeraeumt: %11i%% %11i%%#Extras " +"gesammelt: %11i%% %11i%%##(Druecke Leertaste zum Weitermachen)" + +#: client/game.c:841 +msgid "VICTORY" +msgstr "SIEG" + +#: client/game.c:841 +msgid " DEFEAT" +msgstr " NIEDERLAGE" + +#: client/game.c:841 +msgid " DRAW" +msgstr " GLEICHSTAND" + +#: client/game.c:873 +#, c-format +msgid "ERROR: couldn't save game!\n" +msgstr "FEHLER: Konnte Spiel nicht speichern!\n" + +#: client/game.c:983 +msgid "nobody" +msgstr "niemand" + +#: client/game.c:1046 client/game.c:1261 +msgid "Receiving level data..." +msgstr "Empfange Ebenendaten..." + +#: client/game.c:1200 client/game.c:1258 client/game.c:1458 +msgid "Receiving final stats..." +msgstr "Empfange abschliessende Statistik..." + +#: client/game.c:1219 +#, c-format +msgid "Next Player: %s" +msgstr "Naechster Spieler: %s" + +#: client/game.c:1337 +msgid "You've cleared all levels...#Congratulations!!!" +msgstr "Du hast alle Ebenen durchgespielt...#Herzlichen Glueckwunsch!" + +#: client/game.c:1373 +#, c-format +msgid "" +"You've lost all lives...#Do you want to buy a continue#for 100%% of your " +"score? y/n" +msgstr "" +"Du hast alle Leben verloren...#Moechtest du fuer 100%% deiner#Punkte " +"weitermachen? j/n" + +#: client/game.c:1384 +msgid "Game Over!" +msgstr "Spiel vorbei!" + +#: client/game.c:1411 client/misc.c:149 +msgid "y" +msgstr "j" + +#: client/game.c:1411 client/misc.c:150 +msgid "n" +msgstr "n" + +#: client/game.c:1470 +#, c-format +msgid "warp penalty: -%d\n" +msgstr "Sprungstrafe: -%d\n" + +#: client/game.c:1507 +#, c-format +msgid "Time: %.2f, Frames: %i -> FPS: %.2f\n" +msgstr "Zeit: %.2f, Bilder: %i -> Bilder/s: %.2f\n" + +#: client/help.c:48 client/manager.c:623 +msgid "Quick Help" +msgstr "Schnellhilfe" + +#: client/help.c:63 +#, c-format +msgid ": Quit : Next Page : Previous Page" +msgstr "" +": Ende : Naechste Seite : Vorherige Seite" + +#: client/help.c:114 +msgid "Bonuses:" +msgstr "Bonusse:" + +#: client/help.c:115 +msgid "Expand paddle" +msgstr "Schlaeger groesser" + +#: client/help.c:116 +msgid "Extra life" +msgstr "Zusatzleben" + +#: client/help.c:117 +msgid "Sticky paddle" +msgstr "Klebschlaeger" + +#: client/help.c:118 +msgid "Plasma weapon" +msgstr "Plasmawaffe" + +#: client/help.c:119 +msgid "200 - 10,000 points extra score" +msgstr "200 bis 10.000 Zusatzpunkte" + +#: client/help.c:120 +msgid "Extra ball" +msgstr "Zusatzball" + +#: client/help.c:121 +msgid "Energy balls (penetrate bricks)" +msgstr "Energiebaelle (durchdringen Steine)" + +#: client/help.c:122 +msgid "Bonus floor" +msgstr "Bonusboden" + +#: client/help.c:123 +msgid "Deccelerate balls to minimum speed" +msgstr "Bremse Baelle auf Minimalgeschwindigkeit ab" + +#: client/help.c:124 +msgid "1,000 points extra score from bricks with no bonus" +msgstr "1.000 Zusatzpunkte von Steinen ohne Bonus" + +#: client/help.c:125 +msgid "Instantly collect all bonuses and destroy all maluses" +msgstr "Sofort alle Bonusse einsammeln und alle Malusse zerstoeren" + +#: client/help.c:126 +msgid "Explosive balls" +msgstr "Sprengbaelle" + +#: client/help.c:127 +msgid "Paddle attracts bonuses" +msgstr "Schlaeger zieht Bonusse an" + +#: client/help.c:131 +msgid "Maluses:" +msgstr "Malusse:" + +#: client/help.c:132 +msgid "Shrink paddle" +msgstr "Schlaeger kleiner" + +#: client/help.c:133 +msgid "Accelerate balls" +msgstr "Beschleunigung" + +#: client/help.c:134 +msgid "Freeze paddle" +msgstr "Einfrieren" + +#: client/help.c:135 +msgid "Random ball reflection at bricks" +msgstr "Zufaellige Ballreflektion an Steinen" + +#: client/help.c:136 +msgid "Darkness" +msgstr "Dunkelheit" + +#: client/help.c:137 +msgid "Paddle attracts maluses" +msgstr "Schlaeger zieht Malusse an" + +#: client/help.c:138 +msgid "Paddle disappears when not moving" +msgstr "Schlaeger verschwindet, wenn nicht bewegt" + +#: client/help.c:139 +#, no-c-format +msgid "40% chance that a ball doesn't damage brick" +msgstr "40% chance fuer Treffer ohne Schaden" + +#: client/help.c:169 +msgid "Hints:" +msgstr "Hinweise:" + +#: client/help.c:171 +msgid "<<'In Game'-Keys>>" +msgstr "<>" + +#: client/help.c:172 +msgid " p Pause game. (and enter chatroom in network game)" +msgstr " p Spielpause (und Betreten des Chatraums bei Netzwerkspielen)" + +#: client/help.c:173 +msgid " s Enable/Disable sound." +msgstr " s Tonausgabe (de)aktivieren" + +#: client/help.c:174 +msgid " a Change animation level (off/low/high)." +msgstr " a Animationseinstellung aendern (aus/wenig/hoch)" + +#: client/help.c:175 +msgid " f Switch fullscreen/windowed mode." +msgstr " f Zwischen Vollbild und Fenster umschalten" + +#: client/help.c:176 +msgid " NOTE: Changing resolution takes a while so this is done best" +msgstr " ANMERKUNG: Die Aufloesungsaenderung dauert eine Weile. Es ist" + +#: client/help.c:177 +msgid " when game's paused." +msgstr " also ratsam, dies in einer Spielpause zu tun." + +#: client/help.c:178 +msgid " r Restart level." +msgstr " r Ebene neustarten" + +#: client/help.c:179 +msgid " d Disintegrate single bricks. (AddOn's only)" +msgstr " d Einzelne Steine aufloesen (nur in Zusatzebenen)" + +#: client/help.c:180 +msgid "" +" w Warp to next level after enough bricks where cleared. (AddOn's only)" +msgstr "" +" w Naechste Ebene, wenn genug Steine abgeraeumt (nur in Zusatzebenen)" + +#: client/help.c:181 +msgid " Shift Shows highest score of set instead of your score as long as you" +msgstr " Shift Hoechste Punktzahl anstatt deiner Punkte anzeigen, solange du" + +#: client/help.c:182 +msgid " hold it down." +msgstr " die Taste gedrueckt haeltst" + +#: client/help.c:183 +msgid " Tab Take a screenshot." +msgstr " Tab Ein Bildschirmfoto machen" + +#: client/help.c:184 +msgid " Esc Quit game." +msgstr " Esc Das Spiel beenden" + +#: client/help.c:186 +msgid "Pressing the left or right mouse button will fire attached balls either" +msgstr "Die linke bzw. rechte Maustaste feuern den Ball entweder links oder" + +#: client/help.c:187 +msgid "" +"to the left or right direction if 'Ball Fire Angle' in 'Advanced Options'" +msgstr "rechts ab, wenn der \"Schusswinkel\" in \"Weitere Optionen\" nicht" + +#: client/help.c:188 +msgid "is not set to 'Random'." +msgstr "auf \"Zufall\" gestellt ist." + +#: client/help.c:209 +msgid "Neutral Power-Ups:" +msgstr "Neutrale Staerkungen" + +#: client/help.c:211 +msgid "Any of the listed bonuses/maluses." +msgstr "Irgendein Bonus oder Malus" + +#: client/help.c:212 +msgid "Resets all active bonuses and maluses." +msgstr "Alle aktiven Bonusse oder Malusse abschalten" + +#: client/help.c:213 +msgid "Adds 7 seconds to all active bonuses/maluses." +msgstr "Alle aktiven Bonusse oder Malusse um sieben Sekunden verlaengern" + +#: client/help.c:217 +msgid "Special Bricks:" +msgstr "Spezialsteine:" + +#: client/help.c:219 +msgid "Indestructible." +msgstr "Unzerstoerbar" + +#: client/help.c:220 +msgid "May only be destroyed by energy ball else it's indestructible." +msgstr "Kann nur durch Energiebaelle zerstoert werden, sonst unzerstoerbar" + +#: client/help.c:221 +msgid "As above and balls are reflected randomly at this brick." +msgstr "Wie oben und Baelle reflektieren zufaellig an diesem Stein" + +#: client/help.c:222 +msgid "Needs three hits to be destroyed." +msgstr "Muss zur Zerstoerung dreimal getroffen werden" + +#: client/help.c:223 +msgid "As above and regenerates durability every 4 seconds." +msgstr "Wie oben und regeneriert sich alle vier Sekunden" + +#: client/help.c:224 +msgid "Explodes and destroys all nearby bricks." +msgstr "Explodiert und zerstoert alle benachbarten Steine" + +#: client/help.c:225 +msgid "Creates up to 8 bricks on destruction." +msgstr "Erzeugt bei Zerstoerung bis zu acht neue Steine" + +#: client/help.c:249 +msgid "Troubleshooting:" +msgstr "Fehlersuche:" + +#: client/help.c:251 +msgid "" +"* In fullscreen mode the window keeps it size just adding a black frame?" +msgstr "* Im Vollbildmodus erscheint nur ein schwarzer Rahmen um das Fenster?" + +#: client/help.c:252 +msgid " - Maybe you do not have 640x480 as resolution available? Check your" +msgstr " - Vielleicht steht die Aufloesung 640x480 nicht zur Verfuegung?" + +#: client/help.c:253 +msgid " X configuration." +msgstr " Ueberpruefe deine X-Konfiguration." + +#: client/help.c:254 +msgid "* Sounds seem to be out of sync and are played with some delay?" +msgstr "* Die Tonausgabe scheint ausser Takt und verzoegert zu sein?" + +#: client/help.c:255 +msgid "" +" - Set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). If this results" +msgstr "" +" - Setze SDL_AUDIODRIVER auf dma (export SDL_AUDIODRIVER=dma). Wenn dies" + +#: client/help.c:256 +msgid " in a lot of errors killing artsd (or esd) may help." +msgstr " Fehler produziert, kann das Beenden von artsd (oder esd) helfen." + +#: client/help.c:257 +msgid "* LBreakout2 gets mute while playing when switching on/off sounds?" +msgstr "" +"* LBreakout2 wird im Spiel still wenn Tonausgabe an/ausgeschalten wird?" + +#: client/help.c:258 +msgid "" +" - SDL_mixer seems to mute active channels. You shouldn't enable/disable" +msgstr "" +" - SDL_mixer scheint aktive Kanaele stummzuschalten. Du solltest die Ton-" + +#: client/help.c:259 +msgid " sounds to often as you'll propably loose all channels then." +msgstr "" +" ausgabe nicht zu haeufig (de)aktivieren oder du verlierst alle Kanaele." + +#: client/help.c:263 +msgid "Manual:" +msgstr "Handbuch:" + +#: client/help.c:264 +msgid "" +"This is just a quick help with the most important facts about LBreakout2." +msgstr "" +"Dies ist nur eine Schnellhilfe mit den wichtigsten Daten zu LBreakout2." + +#: client/help.c:265 +msgid "" +"If you want more and better information check out the manual installed to" +msgstr "" +"Wenn du mehr und bessere Informationen moechtest, schau dir das Handbuch" + +#: client/help.c:266 +msgid "/usr/doc/lbreakout2 or the online version at http://lgames.sf.net." +msgstr "unter /usr/doc/lbreakout2 oder http://lgames.sf.net an." + +#: client/help.c:267 +msgid "" +"And if you have questions (not answered by the manual) or you found a bug" +msgstr "" +"Wenn du Fragen hast (die nicht durch das Handbuch beantwortet wurden) oder" + +#: client/help.c:268 +msgid "or you just want to drop a general note about LBreakout2 just mail to:" +msgstr "" +"eine Fehler gefunden hast oder eine Bemerkung hast, schreibe einfach an:" + +#: client/help.c:269 +msgid " kulkanie@gmx.net" +msgstr " kulkanie@gmx.net" + +#: client/help.c:270 +msgid " Enjoy the game!" +msgstr " Viel Spass beim Spielen!" + +#: client/help.c:271 +msgid " Michael Speck" +msgstr " Michael Speck" + +#: client/main.c:192 +msgid "Set Name:" +msgstr "Name der neuen Sammlung:" + +#: client/manager.c:58 +msgid "There's nasty work out there waiting for you... better stay here!" +msgstr "" +"Dort draussen wartet nur unangenehme Arbeit auf Dich... Bleib lieber hier!" + +#: client/manager.c:59 +msgid "" +"If you turn animations low there'll be less details which will speed up the " +"game a great deal." +msgstr "" +"Wenn du die Animationen auf \"Wenig\" stellst, werden weniger Einzelheiten " +"angezeigt. Das beschleunigt das Spiel erheblich." + +#: client/manager.c:60 +msgid "Enable/disable transparency of bonuses and animations." +msgstr "Transparenz der Bonusse und Animationen (de)aktivieren" + +#: client/manager.c:61 +msgid "" +"If you disable shadows it will speed up the game but won't look that " +"good. ;-)" +msgstr "" +"Wenn du die Schatten deaktivierst, wird das Spiel schneller aber nicht mehr " +"so gut aussehen. ;-)" + +#: client/manager.c:62 +msgid "" +"If this is enabled you'll see the time left for all bonuses and maluses at " +"the right side of the screen." +msgstr "" +"Wenn dies angeschaltet ist, siehst du auf der rechten Seite die verbleibende " +"Zeit fuer alle Bonusse und Malusse." + +#: client/manager.c:63 +msgid "" +"You may run LBreakout2 either fullscreen or windowed. This switch may be " +"done anywhere by pressing 'f'." +msgstr "" +"Du kannst LBreakout2 entweder als Vollbild oder im Fenster laufen lassen. " +"Diese Umschaltung kann jederzeit durch Druecken der Taste \"f\" erfolgen." + +#: client/manager.c:64 +msgid "" +"You you don't want LBreakout2 to consume all of your CPU (best performance) " +"limit the frame rate." +msgstr "" +"Wenn du nicht willst, dass LBreakout2 die gesamte Rechenkapazitaet deines " +"Prozessors verbraucht (beste Leistung), begrenze die Bildfrequenz." + +#: client/manager.c:65 +msgid "" +"As long as this option is enabled the paddle is treated as convex allowing " +"easy aiming. If you disable this option the real physics will show up and " +"you'll have to influence the ball by paddle movement and the hemispherical " +"ends. For cracks only!" +msgstr "" +"Wenn diese Option aktiviert ist, verhaelt sich der Schlaeger, als waere er " +"konvex (nach aussen gewoelbt). Dies macht einfaches Zielen moeglich. Wenn du " +"diese Option deaktivierst, zeigt sich die echte Physik und du musst die " +"Richtung des Balls durch Bewegungen des Schlaegers und dessen runden Enden " +"beeinflussen. Nur fuer Koenner!" + +#: client/manager.c:68 +msgid "" +"If you can't see the ball because of thousands of bonuses coming down set " +"this option to 'Above Bonuses'" +msgstr "" +"Wenn du den Ball nicht sehen kannst, weil tausende Bonusse herunterfallen, " +"setze diese Option auf \"Ueber Bonussen\"." + +#: client/manager.c:69 +msgid "" +"If you can't see the ball because of all the debris coming down set this " +"option to 'Below Balls'" +msgstr "" +"Wenn du den Ball wegen der herunterfallenden Truemmer nicht sehen kannst, " +"setze diese Option auf \"Unter Baellen\"." + +#: client/manager.c:70 +msgid "" +"Enable/disable these quick hints. See the manual for more information about " +"how to use LBreakout2!" +msgstr "" +"(De)aktiviere diese Schnelltipps. Schau in das Handbuch fuer weitere " +"Informationen zur Benutzung von LBreakout2!" + +#: client/manager.c:71 +msgid "Adjust the paddle speed for movement by keys. (pixels per second)" +msgstr "" +"Stelle die Schlaegergeschwindigkeit fuer die Bewegung per die Tastatur ein " +"(Pixel pro Sekunde)." + +#: client/manager.c:72 +msgid "" +"These are the number of players and their names. If one player looses a ball " +"or restarts the level it's the next player's turn." +msgstr "" +"Dies sind die Anzahl der Spieler und ihre Namen. Wenn ein Spieler einen Ball " +"verliert oder eine Ebene neu startet ist der naechste Spieler an der Reihe." + +#: client/manager.c:73 +msgid "" +"KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-" +"200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle " +"Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:" +"#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/" +"sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 " +"pixels/sec#Bonus: +30%" +msgstr "" +"KINDER:#Leben: 9 (max. 12)#Schlaegergroesse: 252 (max. 396)#Balltempo: 100-" +"200 Pixel/s#Bonus: -50% (Keine Malusse, keine boesen Worte)##LEICHT:#Leben: " +"6 (max. 9)#Schlaegergroesse: 72 (max. 180)#Balltempo: 240-400 Pixel/s#Bonus: " +"-20%##MEDIUM: #Leben: 5 (max. 7)#Schlaegergroesse: 54 (max. 144)#Balltempo: " +"270-430 Pixel/s##HARD:#Leben: 4 (max. 5)#Schlaegergroesse: 54 (max. 108)" +"#Balltempo: 300-450 Pixel/s#Bonus: +30%" + +#: client/manager.c:77 +msgid "Play the original LBreakout2 levelset." +msgstr "Spiele die originalen LBreakout2-Ebenen." + +#: client/manager.c:78 +msgid "Play the additional levelset selected below." +msgstr "Spiele die unten ausgewaehlten zusaetzlichen Ebenen." + +#: client/manager.c:79 +msgid "" +"This is the list of the levelsets found in ~/.lgames/lbreakout2-levels which " +"you may edit. If you choose and click on 'Edit Set' below " +"you'll be asked to enter a levelsetname and the new levelset will be saved " +"in a file by this name." +msgstr "" +"Das ist die Liste der Ebenensammlungen, die unter ~/.lgames/lbreakout2-" +"levels gefunden wurden und du bearbeiten kannst. Wenn du " +"anwaehlst und auf \"Sammlung bearbeiten\" klickst, wirst du nach einem Namen " +"fuer die Ebenensammlung gefragt. Die neue Ebenensammlung wird in einer Datei " +"mit diesem Namen gespeichert." + +#: client/manager.c:82 +msgid "" +"Click here to edit the levelset chosen above.##NOTE: To switch to the bonus " +"set you'll have to right-click on the brick set and vice versa!" +msgstr "" +"Klick hier, um die oben ausgewaehlte Ebenensammlung zu bearbeiten.##HINWEIS: " +"Um zu den Bonussteinen zu schalten, musst du mit der rechten Maustaste auf " +"die unten vorgegebenen Steine klicken. Zum Zurueckschalten ebenfalls." + +#: client/manager.c:83 +msgid "Click here to delete the chosen levelset (after confirmation)." +msgstr "" +"Klicke hier, um die ausgewaehlte Ebenensammlung zu loeschen (nach " +"Bestaetigung)." + +#: client/manager.c:84 +msgid "" +"If you use the keyboard for input these are the keys for moving the paddle " +"('Paddle Turbo' will double the speed while pressed.), firing balls/shots " +"and returning the ball to paddle after a timeout of ten seconds.##Note: If " +"balls are fired at a random angle (which has become the default) there is no " +"difference between the left or right fire key. A sticky paddle stops a ball " +"until any fire button is pressed but the movement angle is the one from the " +"normal reflection. To reset the movement angle to -50 or +50 degrees check " +"out 'Ball Fire Angle' in 'Advanced Options'.##While pressed, the 'Ball " +"Turbo' will bring all balls to the maximum speed defined in 'Advanced " +"Options'." +msgstr "" +"Wenn du die Tastatur zur Eingabe benutzt, sind das die Tasten zur Bewegung " +"des Schlaegers (\"Schlaeger-Turbo\" verdoppelt,wenn gedrueckt, die " +"Geschwindigkeit), zum Abfeuern der Baelle/Schuesse und zum Zurueckholen der " +"Baelle zum Schlaeger nach zehn Sekunden.##Bemerkung: Wenn Baelle in " +"zufaelligem Winkel abgefeuert werden (was die Voreinstellung ist), gibt es " +"keinen Unterschied zwischen der \"Feuer links\"- und \"Feuer rechts\"-Taste. " +"Ein Klebschlaeger stoppt den Ball bis eine der Feuer-Tasten gedrueckt wurde, " +"jedoch wird der normale Reflexionswinkel beibehalten. Um den Winkel auf -50 " +"oder +50 Grad zu setzen, verwende \"Schusswinkel\" unter \"Weitere Optionen" +"\".##Wenn die \"Ball-Turbo\"-Taste gedrueckt wird, werden alle Baelle auf " +"die Maximalgeschwindigkeit beschleunigt, die unter \"Weitere Optionen\" " +"eingestellt wurde." + +#: client/manager.c:89 +msgid "" +"This modifies the relative motion of the mouse. (percent) The higher this " +"value is the faster the mouse moves." +msgstr "" +"Dies stellt die relative Mausgeschwindigkeit ein (Prozent). Je hoeher dieser " +"Wert ist, desto schneller bewegt sich die Maus." + +#: client/manager.c:91 +msgid "" +"If for some reason your mouse movement is inverted you can fix it with this " +"option." +msgstr "" +"Wenn aus irgendeinem Grund deine Mausbewegungen umgekehrt sind, kannst du " +"dies mit dieser Option reparieren." + +#: client/manager.c:92 +msgid "" +"If a ball does not damage a brick within ten seconds it is allowed to return " +"to the paddle. If this option is set to 'Auto' it will automatically return " +"and if this option is set to 'By Click' you'll have to press the middle " +"mousebutton or the 'back'-key (default is Backspace)." +msgstr "" +"Wenn ein Ball zehn Sekunden lang keinen Stein zerstoert, darf er zum " +"Schlaeger zurueckkehren. Wenn diese Option auf \"Auto\" gestellt ist, wird " +"der Ball automatisch zurueckkehren. Wenn sie auf \"Klick\" gestellt ist, " +"musst du die mittlere Maustaste oder die Rueckkehr-Taste (Voreinstellung ist " +"Backspace) druecken." + +#: client/manager.c:95 +msgid "" +"Click here to apply the theme you selected above. Please check the manual at " +"lgames.sf.net for information on how to create a theme." +msgstr "" +"Klicke hier, um das oben ausgewaehlte Thema zu verwenden. Fuer " +"Informationen, wie man ein Thema erstellt, schau bitte in das Handbuch unter " +"lgames.sf.net." + +#: client/manager.c:97 +msgid "" +"IP address of the game server as xxx.xxx.xxx.xxx.#DO NOT use 'localhost' if " +"you run the server on your computer. You won't be able to challenge others. " +"Use your IP queried by /sbin/ifconfig instead." +msgstr "" +"IP-Adresse der Spielservers als xxx.xxx.xxx.xxx.#VERWENDE NICHT \"localhost" +"\", wenn du den Server auf deinem Rechner laufen laesst, sondern deine IP " +"(Abfrage mit \"/sbin/ifconfig\"). Sonst kannst du keine anderen Spieler " +"herausfordern." + +#: client/manager.c:98 +msgid "Port the game server is bound to." +msgstr "Port, an den der Spielserver gebunden ist" + +#: client/manager.c:99 +msgid "" +"If you're successfully connected to the game server this is your nickname " +"there." +msgstr "" +"Wenn du erfolgreich mit dem Spielserver verbunden bist, ist dies dein " +"dortiger Spitzname" + +#: client/manager.c:100 +msgid "Connect to game server." +msgstr "Mit dem Spielserver verbinden" + +#: client/manager.c:101 +msgid "A local game with up to 4 alternating players." +msgstr "Ein lokales Spiel mit bis zu vier abwechselnden Spielern" + +#: client/manager.c:102 +msgid "A two-player or deathmatch game via Internet or LAN." +msgstr "Ein Spiel ueber Internet oder das lokale Netzwerk" + +#: client/manager.c:105 +msgid "" +"This is the levelset you actually want to play. Note, that each levelset got " +"it's own highscore chart (left/right-click on the chart on the right). A " +"levelset is either load from ~/.lgames/lbreakout2-levels or the installation " +"directory." +msgstr "" +"Das ist die Ebenensammlung, die du spielen moechtest. Beachte, dass jede " +"Ebenensammlung ihre eigene Bestenliste hat (auf der rechten Liste rechts/" +"links klicken). Eine Ebenensammlung wird entweder aus ~/.lgames/lbreakout2-" +"levels oder dem Installationsverzeichnis geladen." + +#: client/manager.c:108 +msgid "" +"This is the list of available themes. Choose any theme and click 'Apply' to " +"select it" +msgstr "Dies ist die Liste der verfuegbaren Themen." + +#: client/manager.c:109 +msgid "" +"After you destroyed this percentage of bricks you MAY warp to the next level " +"by pressing 'w'. That is indicated by a small icon at the bottom right-hand " +"side of the screen.#If you set this option to 0 you may instantly warp " +"whereas 100 means you have to destroy all bricks.##Note, that this option " +"does not apply for the levelsets 'Original' and 'LBreakout1'!" +msgstr "" +"Nachdem du diesen Prozentsatz Steine zerstoert hast, KANNST du durch " +"druecken von \"w\" zur naechsten Ebene springen. Dies wird durch ein kleines " +"Symbol auf der rechten Seite angezeigt.#Wenn du diese Option auf 0 setzt, " +"kannst du sofort springen, 100 bedeutet, dass du alle Steine zerstoeren " +"musst.##Beachte, dass diese Option in den Ebenensammlungen \"Original\" und " +"\"LBreakout1\" nicht funktioniert!" + +#: client/manager.c:111 +msgid "" +"In this menu you can change the appearance of LBreakout. Included to the " +"release are the three winning themes from the Linux Game Tome contest " +"'absoluteB','Oz' and 'Moiree' along with the old graphics as theme 'Classic'." +"#For more themes check out http://lgames.sf.net." +msgstr "" +"In diesem Menue kannst du das Aussehen von LBreakout veraendern. In dieser " +"Ausgabe sind die drei besten Themen des Linux Game Tome Wettbewerbes " +"\"absoluteB\", \"Oz\", und \"Moiree\" und die alten Grafiken als Thema " +"\"Classic\" enthalten.#Fuer mehr Themen, schau unter http://lgames.sf.net " +"nach." + +#: client/manager.c:112 +msgid "" +"Linear:#++ There is no chance for balls to get infinitely stuck in a brick " +"bounce combo.#-- It is quite hard for balls to enter narrow passages." +"##Spherical:#++ Feels better and balls can easily pass through small gaps." +"#-- There is a chance for balls to get infinitely stuck within a series of " +"indestructible brick reflections if the level is too wrinkled. However, with " +"the auto return option this is no problem so 'Spherical' is the default." +msgstr "" +"Linear:#++ Es gibt keine Moeglichkeit fuer Baelle, unendlich in einer " +"Reflexionsrunde gefangen zu sein.#-- Es ist fuer die Baelle ziemlich " +"schwierig, in schmale Korridore zu kommen.##Rund:#++ Fuehlt sich besser an " +"und Baelle kommen besser durch schmale Luecken.#-- Es kann passieren, dass " +"Baelle unendlich in eine Reflexionserie an unzerstoerbaren Steinen geraten, " +"wenn die Ebene zu verwinkelt ist. Mit der Option der automatischen " +"Rueckkehr, ist dies kein Problem. Deswegen ist \"Rund\" die Voreinstellung." + +#: client/manager.c:118 +msgid "" +"Network communication is handled by a single UDP socket which will be bound " +"to this port number." +msgstr "" +"Die Netzwerkkommunikation wird ueber ein einziges UDP-Socket durchgefuehrt, " +"das auf diese Portnummer gebunden wird." + +#: client/manager.c:120 +msgid "" +"If '50' the ball is shot at an angle of 50 degrees to the left or right, " +"depending on which fire button has been pressed. If it is set to 'random' " +"the ball is fired at a random angle. In this case a sticky paddle simply " +"halts the normal reflection until any fire button has been pressed." +msgstr "" +"Bei \"50\" wird der Ball in einem Winkel von 50 Grad, je nachdem welcher " +"Feuerknopf gedrueckt wurde, nach links oder rechts geschossen. Wenn auf " +"\"Zufall\" gestellt, wird der Ball mit einem zufaelligen Winkel " +"abgeschossen. In diesem Fall haelt ein Klebschlaeger die normale Reflexion " +"so lange an, bis wieder ein Feuerknopf gedrueckt wurde." + +#: client/manager.c:124 +msgid "" +"While you keep the middle mouse button pressed (or the acceleration key) all " +"balls will go this velocity. (in pixels per second)" +msgstr "" +"Wenn du die mittlere Maustaste gedrueckt haeltst (oder die " +"Beschleunigungstaste) fliegen alle Baelle mit dieser Geschwindigkeit (Pixel " +"pro Sekunde)." + +#: client/manager.c:126 +msgid "" +"If on, normal levelsets will have a random bonus level every four normal " +"levels.##Note: You can skip a bonus level any time by loosing the ball. This " +"will not loose a life but bring you directly to the next level." +msgstr "" +"Wenn angeschaltet, haben normale Ebenensammlungen alle vier normalen Ebenen " +"eine zufaellige Bonusebene.##Hinweis: Du kannst eine Bonusebene jederzeit " +"ueberspringen, indem du den Ball verlierst. Du verlierst dabei kein Leben " +"sondern kommst direkt zur naechsten Ebene." + +#: client/manager.c:129 +msgid "Play *ALL* available levels in a random order." +msgstr "Spiele *ALLE* Ebenen in zufaelliger Reihenfolge." + +#: client/manager.c:130 +msgid "The complete levelset of LBreakout1 with just minor modifications." +msgstr "Alle Ebenen aus LBreakout1 mit kleinen Aenderungen" + +#: client/manager.c:131 +msgid "" +"There is only one brick with a limited lifetime. Your task is to hit it " +"before it vanishes. If you succeed, the brick is reset somewhere else with " +"less lifetime. If you don't, the game is over. The faster you hit a brick, " +"the more score you will gain. How much seconds a brick is still there, you " +"can see at the lower right-hand side of the screen.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Es gibt nur einen Stein mit begrenzter Lebensdauer. Deine Aufgabe ist es, " +"diesen Stein zu treffen, bevor er verschwindet. Wenn du es schaffst, wird " +"der Stein woanders mit kuerzerer Lebensdauer hingesetzt. Wenn nicht, ist das " +"Spiel vorbei. Je schneller du den Stein triffst, desto mehr Punkt erhaeltsts " +"du. Unten rechts siehst du, wieviele Sekunden der Stein noch da ist.##Wenn " +"du deinen Ball verlierst, ist das Spiel vorbei.##SETZE UNTER \"Weitere " +"Optionen\" DIE \"Beschl. Ballgesch.\" AUF 900 UND NUTZE DIE MITTLERE " +"MAUSTASTE SO OFT ES GEHT! Ansonsten hast du keine Chance, da diese Ebenen " +"eine Menge Geschick erfordern!" + +#: client/manager.c:140 +msgid "" +"Your task is to prevent an outbreak by clearing all bricks. Every few " +"seconds a new one will appear somewhere, forcing you to act quickly. If you " +"succeed in clearing a level, it is reset to five bricks, but this time new " +"ones will spring into existence faster. You loose, if you cannot manage to " +"clear the screen before 50 bricks were created (which does not mean 50 " +"bricks are on the screen!). How far you are away from that limit you can see " +"in the lower right-hand side of the screen. Score is only gained for a " +"complete clearance, not for destroying single bricks! The farther you are " +"way from the 50 bricks limit the more it will be.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Deine Aufgabe ist es, durch Abraeumen aller Steine einen Ausbruch zu " +"verhindern. Alle paar Sekunden wird ein neuer Stein erscheinen und dich " +"zwingen, schnell zu handeln. Wenn du es schaffst, eine Ebene abzuraeumen, " +"wird sie wieder mit fuenf Steinen aufgefuellt. Die neuen Steine werden " +"jedoch jedesmal schneller erscheinen. Du verlierst, wenn du es nicht " +"schaffst, die Ebene abzuraeumen bevor 50 neue Steine erzeugt wurden (was " +"nicht bedeutet, dass 50 Steine auf dem Schirm sind!). Unten rechts siehst " +"du, wie weit du von dieser Grenze weg bist. Punkte gibt es nur fuer das " +"komplette Abraeumen einer Ebene, nicht fuer einzelne Steine. Je weiter du " +"beim Abraeumen von der 50-Steine-Grenze entfernt bist, desto mehr Punkte " +"bekommst du.##Wenn du deinen Ball verlierst, ist das Spiel vorbei.##SETZE " +"UNTER \"Weitere Optionen\" DIE \"Beschl. Ballgesch.\" AUF 900 UND NUTZE DIE " +"MITTLERE MAUSTASTE SO OFT ES GEHT! Ansonsten hast du keine Chance, da diese " +"Ebenen eine Menge Geschick erfordern!" + +#: client/manager.c:153 +msgid "" +"This time you have to crush through a wall and hit some bricks behind it. If " +"you succeed the wall is reset and one line bigger next time. The earlier you " +"manage to break through, the more score you'll get. No surprise, is it? What " +"makes this fun, is the fact that the wall is moving towards you. If it " +"reaches your paddle, you are out. Whenever you successfully broke through, " +"the ball will return the paddle and get attached. You then have to fire it " +"again. The wall cannot grow bigger than 12 lines. How many lines the barrier " +"is away from your paddle, is shown in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" +"Diesmal musst du durch eine Mauer brechen und ein paar Steine dahinter " +"treffen. Wenn du das schaffst, wird die Mauer zurueckgesetzt und um eine " +"Linie vergroessert. Je eher du es schaffst durchzubrechen, desto mehr Punkte " +"bekommst du. Ueberrascht? Spassig daran ist, dass dir die Mauer " +"entgegenkommt. Wenn sie deinen Schlaeger erreicht, hast du verloren. Immer " +"wenn du eine Mauer durchbrichst, wird der Ball wieder zum Schlaeger " +"zurueckgeholt. Du musst ihn dann wieder abfeuern. Die Mauer kann nicht " +"dicker als 12 Linien werden. Unten rechts siehst du, wie viele Linien die " +"Mauer von deinem Schlaeger entfernt ist.##Wenn du deinen Ball verlierst, ist " +"das Spiel vorbei.##SETZE UNTER \"Weitere Optionen\" DIE \"Beschl. Ballgesch." +"\" AUF 900 UND NUTZE DIE MITTLERE MAUSTASTE SO OFT ES GEHT! Ansonsten hast " +"du keine Chance, da diese Ebenen eine Menge Geschick erfordern!" + +#: client/manager.c:165 +msgid "" +"There are eight bricks and the ball is attached in the middle at the " +"ceiling. When it is released, one brick is highlighted and your task is to " +"hit this brick. If you manage to do so, you'll get some score and the " +"situation is reset. If you do not hit the highlighted brick AS THE VERY " +"FIRST THING, it will be destroyed until all bricks are gone. The more bricks " +"you hit in a row, the more score you will get for the next one. The score's " +"worth of the next brick you can see in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level." +msgstr "" +"Es gibt acht Steine und der Ball ist an der Deckenmitte angebracht. Wenn er " +"gestartet wird, wird ein Stein hervorgehoben. Deine Aufgabe ist es, diesen " +"Stein zu treffen. Wenn du es schaffst, bekommst du ein paar Punkte und alles " +"wird auf Ausgangsposition gebracht. Wenn du den hervorgehobenen Stein nicht " +"ALS ALLERERSTES triffst, wird er zerstoert. Das geht solange, bis alle " +"Steine zerstoert wurden. Je mehr Steine du hintereinander triffst, desto " +"mehr Punkte erhaeltst Du. Unten rechts wir der Punktwert fuer den naechsten " +"Stein angezeigt.##Wenn du deinen Ball verlierst, ist das Spiel vorbei." + +#: client/manager.c:174 +msgid "" +"Your task is to hunt down bricks by moving a chaos brick indirectly. " +"Therefore each side of the playing field has a brick color and you can hit " +"small pads bearing these colors. When you hit one, the chaos brick will move " +"toward the appropiate side. You must not hit the bordering bricks and you " +"must get to the brick within a time limit, as always displayed in the lower " +"right-hand side of the screen. The faster you are, the more score you'll " +"gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" +"Deine Aufgabe ist es, Steine zu jagen. Das tust du, indem du indirekt einen " +"Chaos-Stein bewegst. Jede Seite des Spielfeldes hat eine bestimmte Farbe. Du " +"musst kleine Felder mit diesen Farben treffen, um den Chaos-Stein in die " +"entsprechende Richtung zu bewegen. Der Chaos-Stein darf nicht den Rand des " +"Spielfeldes treffen und du musst die Zeitbegrenzung einhalten. Diese wird " +"unten rechts angezeigt. Je eher du den Stein triffst, desto mehr Punkte " +"bekommst du.##Wenn du deinen Ball verlierst, ist das Spiel vorbei.##SETZE " +"UNTER \"Weitere Optionen\" DIE \"Beschl. Ballgesch.\" AUF 900 UND NUTZE DIE " +"MITTLERE MAUSTASTE SO OFT ES GEHT! Ansonsten hast du keine Chance, da diese " +"Ebenen eine Menge Geschick erfordern!" + +#: client/manager.c:184 +msgid "" +"Stop the invading brick waves! Each waves consists of 50 bricks which will " +"get faster and faster. Each brick will give you some score. If you clear the " +"screen completely, the wave will also be over and you will receive some " +"extra score depending on the number of remaining wave bricks. One way or the " +"other, if a wave is over, the next one will start with higher speed and more " +"score until you let a brick come down to paddle level.##Loosing your ball " +"means going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN " +"'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! " +"Otherwise you won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Halte die eindringenden Steinwellen auf! Jede Welle besteht aus 50 Steinen, " +"die immer schneller werden. Jeder abgeraeumte Stein bringt ein paar Punkte. " +"Wenn du den Bildschirm komplett abraeumst, ist die Welle vorbei und du " +"bekommst je nach Anzahl der verbleibenden Wellensteine ein paar Extrapunkte. " +"Wenn eine Welle vorueber ist, startet die naechste mit hoeherer " +"Geschwindigkeit und mehr Punkten, bis du einen Stein auf die Schlaegerebene " +"herunterkommen laesst.##Wenn du deinen Ball verlierst, ist das Spiel vorbei." +"##SETZE UNTER \"Weitere Optionen\" DIE \"Beschl. Ballgesch.\" AUF 900 UND " +"NUTZE DIE MITTLERE MAUSTASTE SO OFT ES GEHT! Ansonsten hast du keine Chance, " +"da diese Ebenen eine Menge Geschick erfordern!" + +#: client/manager.c:242 client/manager.c:434 +msgid "!JUMPING_JACK!" +msgstr "!HAMPELMANN!" + +#: client/manager.c:243 client/manager.c:437 +msgid "!OUTBREAK!" +msgstr "!AUSBRUCH!" + +#: client/manager.c:244 client/manager.c:440 +msgid "!BARRIER!" +msgstr "!SPERRE!" + +#: client/manager.c:245 client/manager.c:443 +msgid "!SITTING_DUCKS!" +msgstr "!ENTENJAGD!" + +#: client/manager.c:246 client/manager.c:446 +msgid "!HUNTER!" +msgstr "!JAEGER!" + +#: client/manager.c:247 client/manager.c:449 +msgid "!INVADERS!" +msgstr "!EINDRINGLINE!" + +#: client/manager.c:376 +#, c-format +msgid "You cannot delete '%s'!\n" +msgstr "Du kannst \"%s\" nicht loeschen!\n" + +#: client/manager.c:456 +#, c-format +msgid "%s v%i.%02i#Author: %s" +msgstr "%s v%i.%02i#Autor: %s" + +#: client/manager.c:463 +#, c-format +msgid "No info available." +msgstr "Keine Information verfuegbar." + +#: client/manager.c:506 +msgid "No Limit" +msgstr "Keine Grenze" + +#: client/manager.c:506 +msgid "100 FPS" +msgstr "100 Bilder/s" + +#: client/manager.c:507 client/manager.c:652 client/manager.c:655 +#: client/manager.c:664 client/manager.c:718 client/manager.c:722 +#: client/manager.c:731 client/manager.c:739 +msgid "Off" +msgstr "Aus" + +#: client/manager.c:507 +msgid "Low" +msgstr "Wenig" + +#: client/manager.c:507 client/manager.c:508 +msgid "Medium" +msgstr "Mittel" + +#: client/manager.c:507 +msgid "High" +msgstr "Hoch" + +#: client/manager.c:508 +msgid "Kids" +msgstr "Kinder" + +#: client/manager.c:508 +msgid "Easy" +msgstr "Leicht" + +#: client/manager.c:508 +msgid "Hard" +msgstr "Schwer" + +#: client/manager.c:603 +msgid "Menu" +msgstr "Menue" + +#: client/manager.c:605 client/manager.c:627 +msgid "Options" +msgstr "Optionen" + +#: client/manager.c:607 client/manager.c:630 client/manager.c:644 +msgid "Graphics" +msgstr "Grafik" + +#: client/manager.c:608 client/manager.c:619 +msgid "Local Game" +msgstr "Lokales Spiel" + +#: client/manager.c:609 client/manager.c:629 client/manager.c:643 +msgid "Controls" +msgstr "Bedienung" + +#: client/manager.c:610 client/manager.c:636 +msgid "Advanced Options" +msgstr "Weitere Optionen" + +#: client/manager.c:612 client/manager.c:632 client/manager.c:634 +#: client/manager.c:645 client/manager.c:646 +msgid "Audio" +msgstr "Tonausgabe" + +#: client/manager.c:614 client/manager.c:638 +msgid "Editor" +msgstr "Editor" + +#: client/manager.c:615 client/manager.c:750 +msgid "Delete Set" +msgstr "Sammlung loeschen" + +#: client/manager.c:616 client/manager.c:671 +msgid "Select Theme" +msgstr "Thema auswaehlen" + +#: client/manager.c:621 +msgid "Network Game" +msgstr "Netzwerkspiel" + +#: client/manager.c:648 client/manager.c:660 client/manager.c:673 +#: client/manager.c:693 client/manager.c:720 client/manager.c:741 +#: client/manager.c:752 +msgid "Back" +msgstr "Zurueck" + +#: client/manager.c:652 +msgid "Sound:" +msgstr "Tonausgabe:" + +#: client/manager.c:652 client/manager.c:655 client/manager.c:664 +#: client/manager.c:718 client/manager.c:722 client/manager.c:731 +#: client/manager.c:739 +msgid "On" +msgstr "An" + +#: client/manager.c:655 +msgid "Speech:" +msgstr "Sprache:" + +#: client/manager.c:656 +msgid "Volume:" +msgstr "Lautstaerke:" + +#: client/manager.c:663 +msgid "Animations:" +msgstr "Animationen:" + +#: client/manager.c:664 +msgid "Bonus Info:" +msgstr "Bonusinfo:" + +#: client/manager.c:666 +msgid "Display:" +msgstr "Anzeige:" + +#: client/manager.c:666 +msgid "Window" +msgstr "Fenster" + +#: client/manager.c:666 +msgid "Fullscreen" +msgstr "Vollbild" + +#: client/manager.c:669 +msgid "Frame Rate:" +msgstr "Bildrate:" + +#: client/manager.c:675 +msgid "Resume Last Game" +msgstr "Lade Altes Spiel" + +#: client/manager.c:678 +msgid "Start Original Set" +msgstr "Starte Originalebenen" + +#: client/manager.c:679 +msgid "Start AddOn" +msgstr "Starte Zusatzebenen" + +#: client/manager.c:681 +msgid "AddOn:" +msgstr "Zusatz:" + +#: client/manager.c:687 +msgid "Players:" +msgstr "Spieler:" + +#: client/manager.c:688 +msgid "1st:" +msgstr "Erster:" + +#: client/manager.c:689 +msgid "2nd:" +msgstr "Zweiter:" + +#: client/manager.c:690 +msgid "3rd:" +msgstr "Dritter:" + +#: client/manager.c:691 +msgid "4th:" +msgstr "Vierter:" + +#: client/manager.c:695 +msgid "Left:" +msgstr "Links:" + +#: client/manager.c:696 +msgid "Right:" +msgstr "Rechts:" + +#: client/manager.c:697 +msgid "Left Fire:" +msgstr "Feuer links:" + +#: client/manager.c:698 +msgid "Right Fire:" +msgstr "Feuer rechts:" + +#: client/manager.c:699 +msgid "Paddle Turbo:" +msgstr "Schlaeger-Turbo:" + +#: client/manager.c:700 +msgid "Ball Turbo:" +msgstr "Ball-Turbo:" + +#: client/manager.c:701 +msgid "Return:" +msgstr "Rueckkehr:" + +#: client/manager.c:712 +msgid "Key Speed:" +msgstr "Tastentempo:" + +#: client/manager.c:715 +msgid "Motion Modifier:" +msgstr "Mausbewegung:" + +#: client/manager.c:718 +msgid "Invert Motion:" +msgstr "Bewegungsumkehr:" + +#: client/manager.c:722 +msgid "Convex Paddle:" +msgstr "Konvexschlaeger:" + +#: client/manager.c:725 +msgid "Ball Fire Angle:" +msgstr "Schusswinkel:" + +#: client/manager.c:727 +msgid "Random" +msgstr "Zufall" + +#: client/manager.c:728 +msgid "Below Bonuses" +msgstr "Unter Bonussen" + +#: client/manager.c:728 +msgid "Above Bonuses" +msgstr "Ueber Bonussen" + +#: client/manager.c:729 +msgid "Debris:" +msgstr "Truemmer:" + +#: client/manager.c:729 +msgid "Below Balls" +msgstr "Unter Baellen" + +#: client/manager.c:729 +msgid "Above Balls" +msgstr "Ueber Baellen" + +#: client/manager.c:730 +msgid "Return Balls:" +msgstr "Baelle zurueck:" + +#: client/manager.c:730 +msgid "Auto" +msgstr "Auto" + +#: client/manager.c:730 +msgid "By Click" +msgstr "Klick" + +#: client/manager.c:731 +msgid "Use Hints:" +msgstr "Hinweise anzeigen:" + +#: client/manager.c:734 +msgid "Warp Limit:" +msgstr "Sprunggrenze:" + +#: client/manager.c:735 +msgid "Local UDP Port:" +msgstr "Lokaler UDP-Port:" + +#: client/manager.c:736 +msgid "Acc. Ball Speed:" +msgstr "Beschl. Ballgesch.:" + +#: client/manager.c:739 +msgid "Add Bonus Levels:" +msgstr "Bonusebenen:" + +#: client/manager.c:744 +msgid "Set:" +msgstr "Sammlung:" + +#: client/manager.c:749 +msgid "Edit Set" +msgstr "Sammlung bearbeiten" + +#: client/manager.c:754 +msgid "Yes" +msgstr "Ja" + +#: client/manager.c:757 +msgid "No" +msgstr "Nein" + +#: client/manager.c:759 +msgid "Theme:" +msgstr "Thema:" + +#: client/manager.c:764 +msgid "Apply" +msgstr "Anwenden" + +#: client/theme.c:703 +msgid "NO INFO AVAILABLE" +msgstr "KEINE INFORMATION" + +#: client/value.c:40 +msgid "Space" +msgstr "Leertaste" + +#: client/value.c:41 +msgid "Left" +msgstr "Links" + +#: client/value.c:42 +msgid "Right" +msgstr "Rechts" + +#: client/value.c:43 +msgid "Up" +msgstr "Hoch" + +#: client/value.c:44 +msgid "Down" +msgstr "Runter" + +#: client/value.c:45 +msgid "Right Shift" +msgstr "Shift rechts" + +#: client/value.c:46 +msgid "Left Shift" +msgstr "Shift links" + +#: client/value.c:47 +msgid "Right Ctrl" +msgstr "Strg rechts" + +#: client/value.c:48 +msgid "Left Ctrl" +msgstr "Strg links" + +#: client/value.c:49 +msgid "Right Alt" +msgstr "Alt Gr" + +#: client/value.c:50 +msgid "Left Alt" +msgstr "Alt" + +#: client/value.c:51 +msgid "BackSpace" +msgstr "BackSpace" + +#: client/misc.c:212 +msgid "Waiting for remote answer..." +msgstr "Warten auf Remote-Antwort..." + +#: client/misc.c:231 +#, no-c-format +msgid "remote player cancelled the game\n" +msgstr "Der entfernte Spieler hat das Spiel angehalten.\n" + +#: client/misc.c:418 +#, c-format +msgid "Plane Of Inner Stability entered (Score: %i)" +msgstr "Ebene der Inneren Stabilitaet betreten (Punkte: %i)" + +#: client/misc.c:436 +#, no-c-format +msgid "Disintegrate Brick? (Costs 5% of your score.) y/n" +msgstr "Stein aufloesen? (Kostet 5% deiner Punkte.) j/n" + +#: common/net.c:68 +#, c-format +msgid "unable to resolve %s: %s\n" +msgstr "Konnte %s nicht aufloesen: %s\n" + +#: common/net.c:172 +#, c-format +msgid "UDP socket bound to %s:%i\n" +msgstr "UDP-Socket an %s:%i gebunden\n" + +#: game/game.c:67 +#, c-format +msgid "Jumping Jack" +msgstr "Hampelmann" + +#: game/game.c:68 game/game.c:72 game/game.c:76 game/game.c:80 game/game.c:84 +#: game/game.c:88 +#, c-format +msgid "Bonus Level" +msgstr "Bonusebene" + +#: game/game.c:71 +#, c-format +msgid "Outbreak" +msgstr "Ausbruch" + +#: game/game.c:75 +#, c-format +msgid "Barrier" +msgstr "Grenze" + +#: game/game.c:79 +#, c-format +msgid "Sitting Ducks" +msgstr "Entenjagd" + +#: game/game.c:83 +#, c-format +msgid "Hunter" +msgstr "Jaeger" + +#: game/game.c:87 +#, c-format +msgid "Defender" +msgstr "Verteidiger" + +#: game/game.c:91 +#, c-format +msgid "Unknown Level Type" +msgstr "Unbekannter Ebenentyp" + +#: game/levels.h:23 +msgid "" +msgstr "" + +#: game/levels.h:24 +msgid "!FREAKOUT!" +msgstr "!FREAKOUT!" + +#: server/server.c:76 +#, c-format +msgid "server is going down...\n" +msgstr "Server schaltet ab...\n" + +#: server/server.c:80 +#, c-format +msgid "SERVER IS GOING DOWN!!!" +msgstr "SERVER SCHALTET AB!" + +#: server/server.c:111 +#, c-format +msgid "channel added: %s\n" +msgstr "Kanal hinzugefuegt: %s\n" + +#: server/server.c:120 +#, c-format +msgid "channel deleted: %s (%i users)\n" +msgstr "Kanal geloescht: %s (%i Spieler)\n" + +#: server/server.c:208 +#, c-format +msgid "user added: %s (%i) from %s\n" +msgstr "Spieler hinzugefuegt: %s (%i) von %s\n" + +#: server/server.c:238 +#, c-format +msgid "user removed: %s (%i)\n" +msgstr "Spieler entfernt: %s (%i)\n" + +#: server/server.c:275 +#, c-format +msgid "You have been kicked! Reason: %s" +msgstr "Du wurdest herausgeworfen! Grund: %s" + +#: server/server.c:281 +#, c-format +msgid "user kicked (%s): %s (%i)\n" +msgstr "Spieler herausgeworfen (%s): %s (%i)\n" + +#: server/server.c:316 +#, c-format +msgid "you have entered a new channel: %s" +msgstr "Du bist einem neuen Kanal beigetreten: %s" + +#: server/server.c:455 +#, c-format +msgid "Login data corrupted, please retry." +msgstr "Anmeldedaten unbrauchbar, bitte noch einmal versuchen." + +#: server/server.c:460 +msgid "Your username may only contain letters, digits and underscores.\n" +msgstr "" +"Dein Nutzername darf nur Buchstaben, Ziffern und Unterstriche enthalten.\n" + +#: server/server.c:473 +#, c-format +msgid "Your protocol is out of date, please update." +msgstr "Dein Protokoll ist veraltet, bitte aktualisieren." + +#: server/server.c:475 +#, c-format +msgid "Server uses an older protocol (%i), sorry." +msgstr "Der Server verwendet ein aelteres Protokoll (%i), tut mir leid." + +#: server/server.c:480 +#, c-format +msgid "Server is full!" +msgstr "Der Server ist voll!" + +#: server/server.c:484 +#, c-format +msgid "Please enter a name!" +msgstr "Bitte gib einen Namen ein!" + +#: server/server.c:488 +#, c-format +msgid "Your name must not contain blanks! (But can have underscores.)" +msgstr "Dein Name darf keine Leerzeichen (aber Unterstriche) enthalten!" + +#: server/server.c:491 server/server.c:503 +msgid "admin" +msgstr "admin" + +#: server/server.c:492 +#, c-format +msgid "This name is already in use. Please choose another one." +msgstr "Dieser Name wird bereits verwendet. Bitte waehle einen anderen." + +#: server/server.c:527 +msgid "1 user online" +msgstr "ein Benutzer angemeldet" + +#: server/server.c:529 +#, c-format +msgid "%i users online" +msgstr "%i Benutzer angemeldet" + +#: server/server.c:586 +msgid "search" +msgstr "suchen" + +#: server/server.c:588 +msgid "search: specify a user name!" +msgstr "suchen: Gib einen Spielernamen an!" + +#: server/server.c:592 +msgid "search: user is not online." +msgstr "suchen: Spieler ist nicht angemeldet." + +#: server/server.c:594 +#, c-format +msgid "search: %s: in channel %s: %s" +msgstr "suchen: %s: im Kanal %s: %s" + +#: server/server.c:596 +msgid "playing" +msgstr "spielen" + +#: server/server.c:596 +msgid "chatting" +msgstr "chatten" + +#: server/server.c:600 +msgid "version" +msgstr "version" + +#: server/server.c:601 +#, c-format +msgid "transmission protocol: %i" +msgstr "Uebertragungsprotokoll: %i" + +#: server/server.c:604 +msgid "info" +msgstr "info" + +#: server/server.c:605 +#, c-format +msgid "user limit: %i#frame rate: %i#packet limit: %i" +msgstr "Spielergrenze: %i#Bildrate: %i#Paketgrenze: %i" + +#: server/server.c:609 +msgid "addset" +msgstr "sammlung" + +#: server/server.c:611 +msgid "addset: name missing" +msgstr "sammlung: kein Name" + +#: server/server.c:627 +#, c-format +msgid "addset: file %s corrupted" +msgstr "sammlung: Datei %s beschaedigt" + +#: server/server.c:630 +#, c-format +msgid "addset: file %s not found" +msgstr "sammlung: Datei %s nicht gefunden" + +#: server/server.c:632 +msgid "addbot" +msgstr "roboter_neu" + +#: server/server.c:634 +msgid "addbot: name missing" +msgstr "roboter_neu: kein Name" + +#: server/server.c:638 +#, c-format +msgid "addbot: bot '%s' exists" +msgstr "roboter_neu: roboter '%s' schon vorhanden" + +#: server/server.c:642 +msgid "addbot: strength missing" +msgstr "roboter_neu: keine Geschwindigkeit" + +#: server/server.c:648 +msgid "delbot" +msgstr "roboter_entf" + +#: server/server.c:650 +msgid "delbot: name missing" +msgstr "roboter_entf: kein Name" + +#: server/server.c:654 +#, c-format +msgid "delbot: bot '%s' not found" +msgstr "roboter_entf: roboter '%s' nicht gefunden" + +#: server/server.c:659 +msgid "set" +msgstr "setze" + +#: server/server.c:661 +msgid "set: variable missing" +msgstr "setze: keine Variable" + +#: server/server.c:665 +msgid "set: value missing" +msgstr "setze: kein Wert" + +#: server/server.c:669 +msgid "userlimit" +msgstr "spieler" + +#: server/server.c:671 +#, c-format +msgid "userlimit: set to %i" +msgstr "spieler: auf %i gesetzt" + +#: server/server.c:674 +msgid "packetlimit" +msgstr "pakete" + +#: server/server.c:676 +#, c-format +msgid "packetlimit: set to %i" +msgstr "pakete: auf %i gesetzt" + +#: server/server.c:679 +msgid "fps" +msgstr "kps" + +#: server/server.c:682 +#, c-format +msgid "fps: set to %i" +msgstr "kps: auf %i gesetzt" + +#: server/server.c:691 +msgid "kick" +msgstr "raus" + +#: server/server.c:693 +msgid "kick: specify a user name!" +msgstr "raus: Spielername angeben" + +#: server/server.c:697 +msgid "kick: user is not online." +msgstr "raus: Spieler ist nicht angemeldet" + +#: server/server.c:706 +#, c-format +msgid "Sorry, but your opponent has been kicked!" +msgstr "Tut mir leid, dein Gegner wurde rausgeworfen!" + +#: server/server.c:714 +#, c-format +msgid "ADMIN has kicked %s." +msgstr "ADMIN hat %s rausgeworfen." + +#: server/server.c:716 +msgid "admin kick" +msgstr "admin raus" + +#: server/server.c:720 +msgid "admin_says" +msgstr "admin_sagt" + +#: server/server.c:722 +msgid "info: a message is required!" +msgstr "info: eine Nachricht ist erforderlich!" + +#: server/server.c:729 +#, c-format +msgid "ADMIN says: %s" +msgstr "ADMIN sagt: %s" + +#: server/server.c:732 +msgid "halt" +msgstr "halt" + +#: server/server.c:736 +#, c-format +msgid "unknown command: %s" +msgstr "unbekannter Befehl: %s" + +#: server/server.c:771 server/server_game.c:397 +#, c-format +msgid "%s (%i) disconnected\n" +msgstr "%s (%i) getrennt\n" + +#: server/server.c:802 +#, c-format +msgid "There is no user by that name." +msgstr "Diesen Spieler gibt es nicht." + +#: server/server.c:821 +#, c-format +msgid "Channel name must not contain blanks!" +msgstr "Der Kanalname darf keine Leerzeichen enthalten!" + +#: server/server.c:841 +#, c-format +msgid "OpenGame message corrupted!" +msgstr "Die Eroeffnungsnachricht des Spiels ist beschaedigt!" + +#: server/server.c:843 +#, c-format +msgid "User with id %i does not exist!" +msgstr "Den Spieler mit ID %i gibt es nicht!" + +#: server/server.c:850 +#, c-format +msgid "channel %i: %s: invalid message %x: skipping %i bytes\n" +msgstr "Kanal %i: %s: ungueltige Nachricht %x: ueberspringe %i Bytes\n" + +#: server/server.c:913 +msgid "Remote player has disconnected!" +msgstr "Der entfernte Spieler hat die Verbindung abgebrochen!" + +#: server/server.c:916 +msgid "zombie" +msgstr "Zombie" + +#: server/server.c:981 +#, c-format +msgid "couldn't open directory %s!\n" +msgstr "Konnte das Verzeichnis %s nicht oeffnen!\n" + +#: server/server.c:990 +#, c-format +msgid "loaded %i levelsets from directory %s\n" +msgstr "%i Ebenensammlungen aus dem Verzeichnis %s geladen\n" + +#: server/server.c:1000 +#, c-format +msgid "" +"Usage:\n" +" lbreakout2server\n" +msgstr "" +"Aufruf:\n" +" lbreakout2server\n" + +#: server/server.c:1001 +#, c-format +msgid " [-p ] Bind server to this port (Default: %i).\n" +msgstr "" +" [-p ] Binde Server an diesen Port (Voreinstellung: %" +"i).\n" + +#: server/server.c:1002 +#, c-format +msgid "" +" [-l ] Maximum number of users that can login to " +"server.\n" +msgstr "" +" [-l ] Maximale Anzahl der Spieler, die sich an diesem " +"Server anmelden koennen.\n" + +#: server/server.c:1003 +#, c-format +msgid "" +" [-m ] The text in this file is send to new users on " +"login.\n" +msgstr "" +" [-m ] Der Text in dieser Datei wird an neue Spieler " +"bei der Anmeldung gesendet.\n" + +#: server/server.c:1004 +#, c-format +msgid "" +" [-a ] The user logging in as will become\n" +msgstr "" +" [-a ] Der Benutzer, der sich als anmeldet, " +"wird\n" + +#: server/server.c:1005 +#, c-format +msgid " the administrator named 'admin'.\n" +msgstr " der Administrator genannt 'admin'.\n" + +#: server/server.c:1009 +#, c-format +msgid "" +" [-f ] Number of send/recv handlings in a second.\n" +msgstr "" +" [-f ] Anzahl der Sendungen/Empfaenge pro Sekunde.\n" + +#: server/server.c:1010 +#, c-format +msgid " (Default: 33)\n" +msgstr " (Voreinstellung: 33)\n" + +#: server/server.c:1011 +#, c-format +msgid "" +" [-b ] Number of paddle bots with 800 and 1000 " +"strength\n" +msgstr "" +" [-b ] Anzahl der Schlaeger-Roboter mit Staerke 800 " +"und 1000\n" + +#: server/server.c:1012 +#, c-format +msgid " each. (Default: 0)\n" +msgstr " (Voreinstellung: 0)\n" + +#: server/server.c:1044 +#, c-format +msgid "greetings file not found, setting directly: %s\n" +msgstr "Grussdatei nicht gefunden, setze direkt: %s\n" + +#: server/server.c:1051 +#, c-format +msgid "greetings loaded: %s\n" +msgstr "Gruesse geladen: %s\n" + +#: server/server.c:1084 +#, c-format +msgid "server halted\n" +msgstr "Server angehalten\n" + +#: server/server.c:1105 +#, c-format +msgid "Welcome to LBreakout2 online!" +msgstr "Willkommen zu LBreakout2-Online!" + +#: server/server.c:1125 +#, c-format +msgid "user limit is %i\n" +msgstr "Spielergrenze ist %i\n" + +#: server/server.c:1126 +#, c-format +msgid "FPS: %i (delay: %i ms)\n" +msgstr "FPS: %i (Verzoegerung: %i ms)\n" + +#: server/server.c:1134 +#, c-format +msgid "BOT%i-800" +msgstr "BOT%i-800" + +#: server/server.c:1139 +#, c-format +msgid "BOT%i-1000" +msgstr "BOT%i-1000" + +#: server/server.c:1189 +#, c-format +msgid "LBreakout2 has been compiled without network support.\n" +msgstr "LBreakout2 wurde ohne Netzwerkunterstuetzung uebersetzt.\n" + +#: server/server_game.c:301 +#, c-format +msgid "game added: %s (%i): %i rounds: %s vs. %s\n" +msgstr "Spiel hinzugefuegt: %s (%i): %i Runden: %s gegen %s\n" + +#: server/server_game.c:312 +#, c-format +msgid "game deleted: %s (%i)\n" +msgstr "Spiel geloescht: %s (%i)\n" + +#: server/server_game.c:394 +msgid "Remote player has disconnected..." +msgstr "Der entfernte Spieler hat die Verbindung getrennt..." + +#: server/server_game.c:406 +msgid "Remote player has left the game..." +msgstr "Der entfernte Spieler hat das Spiel verlassen..." + +#: server/server_game.c:533 +#, c-format +msgid "game %i: %s: state %i: invalid message %x: skipping %i bytes\n" +msgstr "" +"Spiel %i: %s: Status %i: ungueltige Nachricht %x: ueberspringe %i Bytes\n" diff --git a/po/en@boldquot.header b/po/en@boldquot.header new file mode 100644 index 0000000..fedb6a0 --- /dev/null +++ b/po/en@boldquot.header @@ -0,0 +1,25 @@ +# All this catalog "translates" are quotation characters. +# The msgids must be ASCII and therefore cannot contain real quotation +# characters, only substitutes like grave accent (0x60), apostrophe (0x27) +# and double quote (0x22). These substitutes look strange; see +# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html +# +# This catalog translates grave accent (0x60) and apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019). +# It also translates pairs of apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019) +# and pairs of quotation mark (0x22) to +# left double quotation mark (U+201C) and right double quotation mark (U+201D). +# +# When output to an UTF-8 terminal, the quotation characters appear perfectly. +# When output to an ISO-8859-1 terminal, the single quotation marks are +# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to +# grave/acute accent (by libiconv), and the double quotation marks are +# transliterated to 0x22. +# When output to an ASCII terminal, the single quotation marks are +# transliterated to apostrophes, and the double quotation marks are +# transliterated to 0x22. +# +# This catalog furthermore displays the text between the quotation marks in +# bold face, assuming the VT100/XTerm escape sequences. +# diff --git a/po/en@quot.header b/po/en@quot.header new file mode 100644 index 0000000..a9647fc --- /dev/null +++ b/po/en@quot.header @@ -0,0 +1,22 @@ +# All this catalog "translates" are quotation characters. +# The msgids must be ASCII and therefore cannot contain real quotation +# characters, only substitutes like grave accent (0x60), apostrophe (0x27) +# and double quote (0x22). These substitutes look strange; see +# http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html +# +# This catalog translates grave accent (0x60) and apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019). +# It also translates pairs of apostrophe (0x27) to +# left single quotation mark (U+2018) and right single quotation mark (U+2019) +# and pairs of quotation mark (0x22) to +# left double quotation mark (U+201C) and right double quotation mark (U+201D). +# +# When output to an UTF-8 terminal, the quotation characters appear perfectly. +# When output to an ISO-8859-1 terminal, the single quotation marks are +# transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to +# grave/acute accent (by libiconv), and the double quotation marks are +# transliterated to 0x22. +# When output to an ASCII terminal, the single quotation marks are +# transliterated to apostrophes, and the double quotation marks are +# transliterated to 0x22. +# diff --git a/po/fr.gmo b/po/fr.gmo new file mode 100644 index 0000000..d49362d Binary files /dev/null and b/po/fr.gmo differ diff --git a/po/fr.po b/po/fr.po new file mode 100644 index 0000000..efd2a29 --- /dev/null +++ b/po/fr.po @@ -0,0 +1,2568 @@ +# translation of fr.po to +# French translations for lbreakout2 package +# French messages for lbreakout2. +# Copyright (C) 2005 Michael Speck +# This file is distributed under the same license as the lbreakout2 package. +# root , 2005. +# Ronny Standtke , 2005. +# Marc Poiroud , 2006. +# Kin Calvin , 2006. +# Jose Jorge , 2008. +# translation of fr.po to +# French translations for lbreakout2 package +# French messages for lbreakout2. +# Copyright (C) 2005 Michael Speck +# This file is distributed under the same license as the lbreakout2 package. +msgid "" +msgstr "" +"Project-Id-Version: fr\n" +"Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n" +"POT-Creation-Date: 2009-10-26 16:50+0100\n" +"PO-Revision-Date: 2008-08-08 23:36+0200\n" +"Last-Translator: Jose Jorge \n" +"Language-Team: português \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: KBabel 1.11.4\n" + +#: client/chart.c:159 +#, c-format +msgid "Converting highscore chart as format changed.\n" +msgstr "En train de modifier le tableau des scores.\n" + +#: client/chart.c:168 +#, c-format +msgid "Highscore chart doesn't exist in '%s'... creating new one.\n" +msgstr "" +"Le tableau des scores n'existe pas dans '%s'... creation d'un nouveau en " +"cours.\n" + +#: client/chart.c:175 +#, c-format +msgid "Write permission for '%s' denied.\n" +msgstr "Vous n'avez pas la permission d'ecrire dans '%s'.\n" + +#: client/chart.c:206 +#, c-format +msgid "Unable to access highscore chart in '%s'.\n" +msgstr "Impossible d'acceder au tableau des scores dans '%s'.\n" + +#: client/chart.c:207 +#, c-format +msgid "Trying to use config directory '%s'.\n" +msgstr "Tentative d'acces au repertoire de configuration '%s'.\n" + +#: client/chart.c:209 +#, c-format +msgid "" +"Unable to access highscore chart in config directory... won't be able to " +"save any results. Sorry.\n" +msgstr "" +"Impossible d'acceder au tableau des scores du repertoire de configuration ..." +"vous ne pouvez pas sauvegarder vos resultats. Desole.\n" + +#: client/chart.c:214 +#, c-format +msgid "Saving highscore chart in: %s\n" +msgstr "Sauvegarde du tableau des scores dans : %s\n" + +#: client/chart.c:216 client/chart.c:346 +msgid "Name Level Score" +msgstr "Nom Niveau Score" + +#: client/chart.c:222 +msgid "name.-----" +msgstr "nom.-----" + +#: client/chart.c:222 +msgid "Level" +msgstr "Niveau" + +#: client/chart.c:258 +#, c-format +msgid "??? Highscore chart loaded properly but cannot save? (%s)\n" +msgstr "" +"??? Le tableau des scores est charge mais il ne peut pas etre sauvegarde ? (%" +"s)\n" + +#: client/chart.c:406 +#, c-format +msgid "First chart query for '%s'. Creating this chart.\n" +msgstr "Premiere entree du tableau pour '%s'. Creation du tableau.\n" + +#: client/chart.c:419 +#, c-format +msgid "Chart index '%i' is out of range!\n" +msgstr "L'index des scores '%i' est inaccessible !\n" + +#: client/client.c:86 +msgid "" +"Specify the game server as address:port where the address can be a name or a " +"dotted IP.#If the connection fails have a look at the messages in the chat " +"window to see the reason." +msgstr "" +"Veuillez indiquer un serveur de jeu sous la forme adresse:port. L'adresse " +"peut etre un nom ou une IP. Si la connexion echoue, allez voir les messages " +"dans la fenetre de chat pour en connaitre la raison." + +#: client/client.c:264 +msgid "Server:" +msgstr "Serveur:" + +#: client/client.c:271 +msgid "Username:" +msgstr "Joueur:" + +#: client/client.c:278 client/client.c:369 +msgid "Connect" +msgstr "Connexion" + +#: client/client.c:281 client/client.c:301 client/client.c:395 +#: client/manager.c:767 +msgid "Cancel" +msgstr "Annuler" + +#: client/client.c:285 client/client.c:293 +msgid "no info" +msgstr "Pas d'informations" + +#: client/client.c:289 client/client.c:407 client/client.c:420 +#: client/client.c:434 +msgid "Close" +msgstr "Fermer" + +#: client/client.c:297 +msgid "OK" +msgstr "OK" + +#: client/client.c:314 +msgid "Send" +msgstr "Envoyer" + +#: client/client.c:316 +msgid "Whisper" +msgstr "Chuchoter" + +#: client/client.c:324 server/server.c:1108 +msgid "MAIN" +msgstr "Principal" + +#: client/client.c:327 +msgid "C" +msgstr "C" + +#: client/client.c:334 +msgid "Levelsets" +msgstr "Niveaux" + +#: client/client.c:343 client/manager.c:685 +msgid "Difficulty:" +msgstr "Difficulte :" + +#: client/client.c:348 +msgid "Rounds:" +msgstr "Manches :" + +#: client/client.c:353 +msgid "Frags:" +msgstr "Tirs :" + +#: client/client.c:358 client/manager.c:728 +msgid "Balls:" +msgstr "Balles :" + +#: client/client.c:365 +msgid "Challenge" +msgstr "Defi :" + +#: client/client.c:373 client/manager.c:640 +msgid "Quit" +msgstr "Quitter" + +#: client/client.c:377 +msgid "Help" +msgstr "Aide" + +#: client/client.c:384 +msgid "Channel:" +msgstr "Canaux :" + +#: client/client.c:392 +msgid "Enter" +msgstr "Entree" + +#: client/client.c:399 +msgid "Statistics" +msgstr "Statistiques" + +#: client/client.c:405 client/client_handlers.c:548 +msgid "Awaiting stats..." +msgstr "Attente des stats ..." + +#: client/client.c:424 +msgid "Network Quick Help" +msgstr "Aide sommaire en ligne" + +#: client/client.c:459 +#, c-format +msgid "Client finalized\n" +msgstr "Client trouve\n" + +#: client/client.c:490 +msgid "Press 'Connect' to connect to a game server." +msgstr "Appuyer sur 'Connexion' pour rejoindre un serveur de jeu." + +#: client/client_data.c:146 +msgid "Challenges" +msgstr "Defis" + +#: client/client_data.c:147 +msgid "Channels" +msgstr "Canaux" + +#: client/client_data.c:148 +msgid "Console Commands" +msgstr "Console de commandes" + +#: client/client_data.c:149 +msgid "Game Rules" +msgstr "Regle du jeu" + +#: client/client_data.c:150 +msgid "Transfers" +msgstr "Transferts" + +#: client/client_data.c:152 +msgid "" +"To challenge a user you first have to select him/her in the upper right list " +"and the levelset you want to play from the list below. Then you adjust the " +"game settings to your likings and hit the 'Challenge' button which will send " +"your challenge to the other user who will either accept or decline. If (s)he " +"accepts a direct connection will be established and the game will start." +"##DIFFICULTY: This influences ball speed, paddle size and score as for " +"single player modus. (1 = Easy, 2 = Medium, 3 = Hard)##ROUNDS: This is the " +"number of rounds played per level. Winning a round scores one point and the " +"player with the most points wins the match.##FRAGS: In a pingpong level (no " +"bricks) a player gains a frag everytime the opponent looses a ball. 'frag' " +"is a bad name for this, should be pingpong winning score or something but " +"'frags' is simply shorter. The player who hits this limit first wins the " +"round.#In levels with bricks this option is ignored and the level is over " +"after all bricks were cleared.##BALLS: In a pingpong level (no bricks) each " +"player may fire multiple balls up to this number. If a player looses a ball " +"he may fire it again.#In normal levels (with bricks) this option is ignored " +"and a gets a new ball after five seconds penalty time." +msgstr "" +"Pour defier un utilisateur vous devez tout d'abord le selectionner dans la " +"liste se trouvant en haut a droite, le niveau de difficulte est quand a lui " +"ajustable par le biais de la liste du dessous. Ensuite, ajustez les " +"preferences du jeu et cliquez sur 'Defier' afin de commencer une partie. " +"Sachez que l'utilisateur peut choisir d'accepter le defi ou de le refuser, " +"si l'utilisateur accepte, une connexion sera etabli et le jeu commencera." +"##DIDDICULTY: Cela influence la rapidite de la balle, la largeur de la " +"pallette ainsi que le score. Les niveaux de difficultes sont 1 = Facile, 2 = " +"Standard, 3 = Difficile.##MANCHES: Cela est le nombre de manches joues par " +"niveau. Gagner une manche permet le gain d'un point et le joueur ayant le " +"plus de point gagne la partie.##FRAGS: Dans un niveau pingpong (sans " +"briques) un joueur gagne un tire a chaque fois que l'adversaire perd une " +"balle. Le joueur qui arrive le premier au meilleur score gagne la manche." +"#Dans les niveaux avec les briques, cette option est ignoree et le niveau se " +"termine apres que toutes les briques soient detruites.##BALLS: Dans un " +"niveau pingpong (sans briques) chaques joueurs a la possibilite de tirer de " +"multiples balles. Si un joueur perd une balle, il peut encore tirer. Dans " +"les niveaux normales (avec briques) cette option est ignore et, en cas de " +"balle perdu, une nouvelle balle arrive apres 5 secondes de penalite. " + +#: client/client_data.c:175 +msgid "" +"To switch a channel hit the 'C' button above the user list. You can enter " +"either an existing or a new channel. You can only talk to and challenge " +"users in the same channel." +msgstr "" +"Pour changer de canal, cliquez sur le bouton 'C' se trouvant au dessus de la " +"liste des utilisateurs. Vous pouvez ainsi entrer dans un canal deja existant " +"ou nouveau. Sachez que vous ne pouvez uniquement parler et defier les " +"utilisateurs se trouvant le meme canal que le votre." + +#: client/client_data.c:179 +msgid "" +"User Console Commands:##/search #Search for a user in all channels.##/" +"version#Display version of transmission protocol.##/info#Display current " +"userlimit and frame rate.##Admin Console Commands:##/admin_says " +"#Broadcast a message to all chatting users.##/kick #Kick user by " +"that name.##/addbot #Add a paddle bot. The speed is defined in " +"pixels per second. 800 to 1000 is a good value.##/delbot #Delete " +"paddle bot.##/set #Set a variable to a new value:# userlimit: " +"is the number of users that may login. If decreased with too many users " +"online no one is kicked. This limit does not matter for admin login.# fps: " +"is how many times a second the server calls up the communication and sends/" +"receives packets. This should not be too high to prevent network flooding. " +"40 is a good value.# packetlimit: if not -1 this is the number of packets " +"parsed in one communication step. -1 which is the default means the queue is " +"parsed until empty##/addset #Load a new levelset that has been copied " +"to the levels directory and make it available to the users.##/halt#Halt " +"server after 5 seconds and inform all users, even the playing ones, about " +"this." +msgstr "" +"Commande de la console utilisateur:##/search #Cherche un utilisateur " +"dans tout les canaux. ##/version#Donne la version du protocole de " +"transmission.##/info#Donne la limite utilisateur (userlimit) et le nombre " +"d'images a la seconde (frame rate).##Commandes de la console admin:##/" +"admin_says #Envoit un message a tous les utilisateurs du canal.##/kick " +"#Kick revoque un utilisateur du canal.##/addbot #Ajoute " +"un bot. La rapidite est definit en pixel par seconde. Les valeurs allant de " +"800 a 1000 sont correctes.##/delbot Supprime le bot portant ce nom.##/" +"set #Assigne une valeur a une variable:# userlimit: est le " +"nombre d'utisateurs qui peuvent se connecter. Si cette valeur est diminue " +"lorsque beaucoup d'utilisateurs sont connectes, personne n'est revoque. " +"Cette limite ne tient pas en compte les admins. # fps: est le nom de fois " +"par seconde que le serveur appelle la communication et envoie/recoit des " +"paquets. Celui ci ne devrait pas etre tres eleve afin d'eviter tout flood " +"sur le reseau. 40 est une bonne valeur.# packetlimit: si la valeur n'est pas " +"egal a -1, il s'agit alors du nombre de paquets qui est analyse lors d'une " +"etape de communication. -1 qui est la valeur par defaut, signifie que la " +"file d'attende estanalyse jusqu'a ce qu'il soit vide##/addset #charge " +"un nouveau niveau qui a ete copie dans le repertoire des niveaux et le rend " +"accessible aux autres utilisateurs.##/halt#Arrete serveur apres 5 secondes " +"et en informe tout les utilisateurs, meme ceux en cour de partie. " + +#: client/client_data.c:208 +#, no-c-format +msgid "" +"Basically you play the game as in single player mode but their are some " +"special things you might find useful to know.##PINGPONG:#The point here is " +"to play it fast and to use all of your balls. Use the right and left mouse " +"button to fire the balls while moving the paddle. Your opponent will have " +"trouble to reflect all balls if you do it right. If you are not sure wether " +"you got balls left click anyway. Keep the button pressed for a while! The " +"fire rate is restricted to one ball every 500 milliseconds.##NORMAL:#Your " +"goal here is too gain more score than your opponent to win a round. " +"Basically you do this by clearing bricks and collecting extras but there are " +"some other ways as well:#1) To loose a ball means to loose 10% score. After " +"five seconds penalty a new ball is created and you can continue playing.#2) " +"Hitting your opponents paddle with the plasma weapon will give you 1000 " +"points while stealing him/her the same amount.#3) Bonus/malus magnet will " +"attract _all_ bonuses/maluses even those released by your opponent.##Note: " +"If you pause the game by pressing 'p' a chat will pop up and you can talk to " +"your opponent." +msgstr "" +"Vous avez l'habitude de jouer en mode solo mais il y a certainement des " +"chosesque vous allez trouver interressant a savoir.##PINGPONG:#Le but est de " +"jouer rapidement et d'utiliser toutes vos balles. Utilisez la touche gauche " +"et droite de votre souris pour tirer les balles pendant que vous manipulez " +"votre palette. Ainsi, votre adversaire aura plus de mal pour vous renvoyez " +"la balle. Meme si vous n'etes pas sur qu'il vous reste des balles, continuez " +"a appuyer sur la touche de tire. Maintenez la touche appuye pendant un " +"moment ! La cadence de tire est limitee a une balle pour chaque 500 " +"millisecondes.##NORMAL: Votre but est d'avoir plus de score que votre " +"adversaire pour gagner la manche. Cela ce fait simplement en detruisant des " +"briques et en collectant des bonus mais il y a aussi d'autres solutions:#1)" +"Perdre une balle empute votre score de 10% son total. Une nouvelle balle " +"arrive apres cinq secondes de penalite et vous permet ainsi que continuer " +"votre partie.#2) Touchez la palette de votre adversaire avec une arme plasma " +"vous donnera 1000 points qui seront directement preleve sur son score.#3) " +"Les aimants bonus/malus attireront _tous_ les bonus/malus, meme ceux liberes " +"par votre adversaire.##Note: Si vous mettez le jeux en pause en appuyant sur " +"la touche 'p', une fenetre de chat s'affichera sur votre ecran vous donnant " +"ainsi la possibilite de parler avec votre adversaire. " + +#: client/client_data.c:231 +msgid "" +"You cannot offer someone your levelset unless this user wants to receive " +"your set which requires the following steps:#1) select the user to whom you " +"want to listen#2) press the 'L' button above the levelset list#3) wait for " +"offer or cancel 'listening'#The receiver is now ready and the sender has to:" +"#1) select the listening user#2) select the levelset (s)he wants to " +"transfer#3) hit the 'T' button above the levelset list#If the receiver has " +"this levelset already located in ~/.lgames/lbreakout2-levels and it is up-to-" +"date the transfer does not take place otherwise the receiver is asked to " +"confirm and if (s)he does so the set is transferred to the home directory " +"and directly available if intended for network. (starts with 'MP_')#NOTE: " +"Only the challenger is required to have the levelset so you don not have to " +"transfer sets to play with someone. However if your opponent likes your set " +"and wants to challenge others with it both can engage into a transfer." +msgstr "" +"Vous avez la possibilite d'envoyer des niveaux a des joueurs si ceux-ci " +"desir les recevoir. Cela necessite les etapes suivantes: #1)Selectionnez " +"l'utilisateur de votre choix.#2)Appuyez sur le bouton 'L' se trouvant au " +"dessus de la liste des niveaux.#3)Veuillez patientez en l'attente d'un refus " +"ou d'une autorisation#Si le receveur accepte, l'envoyeur doit: #1) " +"Selectionner l'utilisateur#2) Selectionner le niveau a transferer #3)Appuyer " +"sur la touche 'T' se trouvant au dessus de la liste des niveaux #Si le " +"receveur possede deja le niveau dans son repertoire ~/.lgames/lbreakout2-" +"levels et que celui ci est a jour, le transfert n'aura pas lieu. Dans le cas " +"contraire, le receveur est ammene a confirmer et le nouveau niveau sera " +"transfere dans son repertoire personnel (home). Celui ci sera alors " +"directement utilisable si prevu sur le reseau (le fichier commence par un " +"'MP_')#NOTE: Lors d'une partie, seul le challengeur a besoin de posseder les " +"niveaux, si bien qu'il n'est pas necessaire de transferer des niveaux pour " +"faire une partie avec un joueur. Neanmoins, si votre adversaire aime vos " +"niveaux et voudrait les utiliser pour challenger d'autres joueurs, vous " +"pouvez le lui les transferer. " + +#: client/client_handlers.c:114 +#, c-format +msgid "disconnected from %s" +msgstr "Deconnecte de %s" + +#: client/client_handlers.c:151 +#, c-format +msgid "ERROR: address %s does not resolve" +msgstr "ERREUR: adresse %s non trouve" + +#: client/client_handlers.c:165 +msgid "unused" +msgstr "inutilise" + +#: client/client_handlers.c:170 +msgid "connecting" +msgstr "connexion" + +#: client/client_handlers.c:170 +msgid "retry" +msgstr "reessayer" + +#: client/client_handlers.c:188 +#, c-format +msgid "%s: connected!" +msgstr "%s: connecte !" + +#: client/client_handlers.c:192 +#, c-format +msgid "ERROR: connection refused: %s" +msgstr "ERREUR: Connection refuse: %s" + +#: client/client_handlers.c:200 +msgid "ERROR: server does not respond" +msgstr "ERREUR: le serveur ne repond pas" + +#: client/client_handlers.c:322 +msgid "You must select a user to whisper!" +msgstr "Vous devez selectionner un joueur avec qui chuchoter !" + +#: client/client_handlers.c:408 +msgid "You must select a user for a challenge." +msgstr "Vous devez choisir un joueur pour le defi." + +#: client/client_handlers.c:412 +msgid "You must select a levelset for a challenge." +msgstr "Vous devez choisir un niveau pour le defi." + +#: client/client_handlers.c:416 +msgid "You can't challenge yourself." +msgstr "Vous ne pouvez pas vous defier vous meme." + +#: client/client_handlers.c:439 +#, c-format +msgid "You have challenged %s. Let's see what (s)he says..." +msgstr "Vous defiez %s. Allons voir ce qu'il(elle) dit ..." + +#: client/client_recv.c:128 +#, c-format +msgid "ERROR: %s" +msgstr "ERREUR: %s" + +#: client/client_recv.c:135 +#, c-format +msgid "%s is busy at the moment." +msgstr "%s est occupe(e) pour le moment." + +#: client/client_recv.c:145 client/comm.c:212 +#, c-format +msgid "comm_delay set to %i\n" +msgstr "Delai de communication avec %i\n" + +#: client/client_recv.c:233 +#, c-format +msgid "" +" You have been challenged!## Challenger: %13s# Levelset: %13s# " +"Difficulty: %13s# Rounds: %13i# Frag Limit: %13i# Balls: %" +"13i" +msgstr "" +" Vous avez ete defie !## Adversaire: %13s# Niveaux: %13s# " +"Difficulte: %13s# Manches: %13i# Frag Limite: %13i# " +"Balles: %13i" + +#: client/client_recv.c:249 +#, c-format +msgid "%s is too scared to accept your challenge." +msgstr "%s a trop peur pour relever votre defi." + +#: client/client_recv.c:256 +#, c-format +msgid "%s got cold feet." +msgstr "%s a la tete froide." + +#: client/client_recv.c:313 +#, c-format +msgid "chat: state %i: invalid message %x: skipping %i bytes\n" +msgstr "chat: etat %i: message invalide %x: passe %i caracteres\n" + +#: client/comm.c:221 +msgid "You've been disconnected." +msgstr "Vous avez ete deconnecte." + +#: client/comm.c:245 +msgid "corrupted level data" +msgstr "Donnees du niveau erronees" + +#: client/comm.c:266 +msgid "Remote player has paused the game." +msgstr "Le joueur adverse a fait une pause." + +#: client/comm.c:377 +#, c-format +msgid "game: state %i: invalid message %x: skipping %i bytes\n" +msgstr "Jeu : etat %i: message invalide %x: passe %i caracteres\n" + +#: client/config.c:71 +msgid "Mr.X" +msgstr "M. X" + +#: client/config.c:72 +msgid "Mr.Y" +msgstr "M. Y" + +#: client/config.c:73 +msgid "Mr.Z" +msgstr "M. Z" + +#: client/config.c:122 +msgid "player" +msgstr "joueur" + +#: client/editor.c:266 +#, c-format +msgid "Location: %s" +msgstr "Lieu: %s" + +#: client/editor.c:270 +#, c-format +msgid "Current Level: %i/%i (Free: %i)" +msgstr "Niveau en cour: %i/%i (Libre: %i)" + +#: client/editor.c:276 +#, c-format +msgid "*** Level %i Marked For Swap ***" +msgstr "*** Niveau %i marque pour echange ***" + +#: client/editor.c:281 +#, c-format +msgid "Version: %s " +msgstr "Version : %s " + +#: client/editor.c:286 +#, c-format +msgid "Title: %s" +msgstr "Titre: %s" + +#: client/editor.c:289 +#, c-format +msgid "Author: %s" +msgstr "Auteur: %s" + +#: client/editor.c:400 +msgid "noname" +msgstr "sans nom" + +#: client/editor.c:400 +msgid "untitled" +msgstr "sans titre" + +#: client/editor.c:484 +msgid "Discard All Changes? y/n" +msgstr "Effacer tout les changements ? o/n" + +#: client/editor.c:494 +msgid "Save Changes? y/n" +msgstr "Sauvegarder ? o/n" + +#: client/editor.c:498 +msgid "Clear Level? y/n" +msgstr "Effacer le niveau ? o/n" + +#: client/editor.c:509 +msgid "Add Level? y/n" +msgstr "Ajouter le niveau ? o/n" + +#: client/editor.c:516 +msgid "Insert Level? y/n" +msgstr "Inserer le niveau ? o/n" + +#: client/editor.c:526 +msgid "Delete Level? y/n" +msgstr "Supprimer le niveau ? o/n" + +#: client/editor.c:548 +msgid "Levelset Version:" +msgstr "Niveaux version:" + +#: client/editor.c:641 +msgid "Author's Name:" +msgstr "Nom de l'auteur:" + +#: client/editor.c:646 +msgid "Title:" +msgstr "Titre" + +#: client/editor.c:785 +msgid "Quit Editor? y/n" +msgstr "Quitter l'editeur ? o/n" + +#: client/game.c:314 +#, c-format +msgid "" +"%s, you hit %d Jumping Jacks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" +"%s, vous avez eu %d Pantins ! ## Votre reussite est de : %5d%%# Votre " +"score : %6d" + +#: client/game.c:319 +#, c-format +msgid "" +"%s, you stopped %d Outbreaks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" +"%s, vous avez arretez %d manifestations ! ##Votre reussite est de : %5d%%" +"#Votre score : %6d" + +#: client/game.c:324 +#, c-format +msgid "" +"%s, you broke through %d Barriers!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" +"%s, vous avez casse %d barrieres !##Votre score est de : %5d%%# " +"Votrescore : %6d" + +#: client/game.c:329 +#, c-format +msgid "%s, you shot %d Sitting Ducks!##Your score: %6d" +msgstr "%s, vous avez eu %d canards !##Votre score : %6d" + +#: client/game.c:334 +#, c-format +msgid "" +"%s, you hunted down %d bricks!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" +"%s, vous avez eu %d briques !##Votre score : %5d%%# Votrescore: %6d" + +#: client/game.c:339 +#, c-format +msgid "" +"%s, you stopped %d waves#killing a total of %d invaders!##Your average " +"ratio: %5d%%# Your score: %6d" +msgstr "" +"%s, vous avez arrete %d vagues#tuer un total de %d envahisseurs !" +"##Votreratio: %5d%%# Votre score: %6d" + +#: client/game.c:540 +msgid "Pause" +msgstr "Pause" + +#: client/game.c:543 +msgid "You have paused the game." +msgstr "Vous avez mis en veille le jeu." + +#: client/game.c:583 +msgid "" +"Quit Game? y/n#(If yes, this game may be resumed later.#No highscore entry " +"is created yet.)" +msgstr "" +"Quitter le jeu ? o/n#(Si oui, la partie pourra etre reprise plus tard.#Aucun " +"score ne sera cree pour l'instant.)" + +#: client/game.c:585 +msgid "Quit Game? y/n" +msgstr "Quitter le jeu ? o/n" + +#: client/game.c:593 +msgid "Restart Level? y/n" +msgstr "Redemarrer le niveau ? o/n" + +#: client/game.c:642 +msgid "Warp to next level? y/n" +msgstr "Passer au niveau suivant ? o/n" + +#: client/game.c:788 +#, c-format +msgid "" +"***** Round %i *****###You control the %s paddle in this level!#To fire a " +"ball keep the mouse button PRESSED.#Don't just click.###Press any key when " +"you are ready...###(You can pause the game with 'p' any time.)###NOTE: Due " +"to latency, bonuses on the server are closer than they appear! I'll try to " +"work on that." +msgstr "" +"***** Round %i *****###Vous controlez dans ce niveau la palette %s !#Pour " +"tirer une balle, MAINTENEZ en continu le bouton de la souris.#Ne faites pas " +"juste de cliquer.###Appuyez sur n'importe qu'elle touche pour commencer...###" +"(Vous pouvez mettre le jeu en pause avec 'p')###NOTE: En raison du delais de " +"latence, il est possible que les bonus sur le serveur arrive plus rapidement " +"que vous ne les voyez ! Je vais esssayer de regler ce probleme." + +#: client/game.c:793 +msgid "BOTTOM" +msgstr "BAS" + +#: client/game.c:793 +msgid "TOP" +msgstr "HAUT" + +#: client/game.c:800 +msgid "DRAW" +msgstr "ASPIRATION" + +#: client/game.c:804 +msgid "You have won this round!" +msgstr "Vous avez gagne cette manche !" + +#: client/game.c:806 +msgid "You have lost this round." +msgstr "Vous avez perdu cette manche." + +#: client/game.c:829 +#, c-format +msgid "" +" Result: %s ## %12s %" +"12s##Wins: %12i %12i#Losses: %12i %" +"12i#Draws: %12i %12i##Total Score: %12i %12i##Balls " +"Kept: %11i%% %11i%%#Bricks Cleared: %11i%% %11i%%#Extras Collected: %" +"11i%% %11i%%##(Press SPACE to continue)" +msgstr "" +" Resultats: %s ## %12s %" +"12s##Victoires: %12i %12i#Defaites: %12i %" +"12i#Draws: %12i %12i##Total Score: %12i %12i##Balles " +"Kept: %11i%% %11i%%#Briques Cassees: %11i%% %11i%%#Extras Collecte: %" +"11i%% %11i%%##(Pressez ESPACE pour continuer)" + +#: client/game.c:841 +msgid "VICTORY" +msgstr "VICTOIRE" + +#: client/game.c:841 +msgid " DEFEAT" +msgstr "DEFAITE" + +#: client/game.c:841 +msgid " DRAW" +msgstr " ASPIRATION" + +#: client/game.c:873 +#, c-format +msgid "ERROR: couldn't save game!\n" +msgstr "ERREUR: impossible de sauvegarder !\n" + +#: client/game.c:983 +msgid "nobody" +msgstr "personne" + +#: client/game.c:1046 client/game.c:1261 +msgid "Receiving level data..." +msgstr "Reception des donnees du niveau ..." + +#: client/game.c:1200 client/game.c:1258 client/game.c:1458 +msgid "Receiving final stats..." +msgstr "Reception des stats finals ..." + +#: client/game.c:1219 +#, c-format +msgid "Next Player: %s" +msgstr "Prochain Joueur : %s" + +#: client/game.c:1337 +msgid "You've cleared all levels...#Congratulations!!!" +msgstr "Vous avec fini tous les niveaux ...#Felicitations !!!" + +#: client/game.c:1373 +#, c-format +msgid "" +"You've lost all lives...#Do you want to buy a continue#for 100%% of your " +"score? y/n" +msgstr "" +"Vous avez perdu toutes vos vies ...#Voulez-vous continuer la partie#pour 100%" +"% de votre score ? o/n" + +#: client/game.c:1384 +msgid "Game Over!" +msgstr "Jeu termine !" + +#: client/game.c:1411 client/misc.c:149 +msgid "y" +msgstr "o" + +#: client/game.c:1411 client/misc.c:150 +msgid "n" +msgstr "n" + +#: client/game.c:1470 +#, c-format +msgid "warp penalty: -%d\n" +msgstr "penalite de saut : -%d\n" + +#: client/game.c:1507 +#, c-format +msgid "Time: %.2f, Frames: %i -> FPS: %.2f\n" +msgstr "Temps: %.2f, Champs: %i -> FPS: %.2f\n" + +#: client/help.c:48 client/manager.c:623 +msgid "Quick Help" +msgstr "Aide rapide" + +#: client/help.c:63 +#, c-format +msgid ": Quit : Next Page : Previous Page" +msgstr ": Quitter " + +#: client/help.c:114 +msgid "Bonuses:" +msgstr "Bonus:" + +#: client/help.c:115 +msgid "Expand paddle" +msgstr "Augmentez la barre" + +#: client/help.c:116 +msgid "Extra life" +msgstr "Vie supplementaire" + +#: client/help.c:117 +msgid "Sticky paddle" +msgstr "Barre collante" + +#: client/help.c:118 +msgid "Plasma weapon" +msgstr "Arme au plasma" + +#: client/help.c:119 +msgid "200 - 10,000 points extra score" +msgstr "200 - 10 000 points bonus" + +#: client/help.c:120 +msgid "Extra ball" +msgstr "Extra balle" + +#: client/help.c:121 +msgid "Energy balls (penetrate bricks)" +msgstr "Balles d'Energie (traverse les briques)" + +#: client/help.c:122 +msgid "Bonus floor" +msgstr "Sol bonus" + +#: client/help.c:123 +msgid "Deccelerate balls to minimum speed" +msgstr "Ralenti la balle au minimum" + +#: client/help.c:124 +msgid "1,000 points extra score from bricks with no bonus" +msgstr "1 000 points bonus des briques sans extra" + +#: client/help.c:125 +msgid "Instantly collect all bonuses and destroy all maluses" +msgstr "Collecte tous les bonus et detruit les malus" + +#: client/help.c:126 +msgid "Explosive balls" +msgstr "Balles explosives" + +#: client/help.c:127 +msgid "Paddle attracts bonuses" +msgstr "Attire les bonus" + +#: client/help.c:131 +msgid "Maluses:" +msgstr "Malus:" + +#: client/help.c:132 +msgid "Shrink paddle" +msgstr "Reduit la barre" + +#: client/help.c:133 +msgid "Accelerate balls" +msgstr "Accelerer balles" + +#: client/help.c:134 +msgid "Freeze paddle" +msgstr "Fige la barre" + +#: client/help.c:135 +msgid "Random ball reflection at bricks" +msgstr "Rebonds aleatoires sur les briques" + +#: client/help.c:136 +msgid "Darkness" +msgstr "Nuit" + +#: client/help.c:137 +msgid "Paddle attracts maluses" +msgstr "Attire les malus" + +#: client/help.c:138 +msgid "Paddle disappears when not moving" +msgstr "la barre disparait si immobile" + +#: client/help.c:139 +#, no-c-format +msgid "40% chance that a ball doesn't damage brick" +msgstr "60% de chances qu'une balle casse les briques" + +#: client/help.c:169 +msgid "Hints:" +msgstr "Conseils:" + +#: client/help.c:171 +msgid "<<'In Game'-Keys>>" +msgstr "<>" + +#: client/help.c:172 +msgid " p Pause game. (and enter chatroom in network game)" +msgstr "" +" p Pause. (et entre dans le salon de discussion lors du jeu en reseau)" + +#: client/help.c:173 +msgid " s Enable/Disable sound." +msgstr " s Active/Desactive le son." + +#: client/help.c:174 +msgid " a Change animation level (off/low/high)." +msgstr " a Change le niveau d'animation (eteint/bas/haut)." + +#: client/help.c:175 +msgid " f Switch fullscreen/windowed mode." +msgstr " f Bascule en mode plein ecran / fenetre." + +#: client/help.c:176 +msgid " NOTE: Changing resolution takes a while so this is done best" +msgstr " NOTE: Changer la resolution prends un certains temps, il est" + +#: client/help.c:177 +msgid " when game's paused." +msgstr " preferable de le faire lors de pause." + +#: client/help.c:178 +msgid " r Restart level." +msgstr " r Redemarre le niveau." + +#: client/help.c:179 +msgid " d Disintegrate single bricks. (AddOn's only)" +msgstr " d Detruit les briques seules. (Extras seulement)" + +#: client/help.c:180 +msgid "" +" w Warp to next level after enough bricks where cleared. (AddOn's only)" +msgstr "" +" w Change de niveau en atteignant le quota de briques.(Extras seulement)" + +#: client/help.c:181 +msgid " Shift Shows highest score of set instead of your score as long as you" +msgstr " Maj Affiche le meilleur score tant que vous " + +#: client/help.c:182 +msgid " hold it down." +msgstr " maintenez la touche appuyee." + +#: client/help.c:183 +msgid " Tab Take a screenshot." +msgstr " Tab Faire un imprime ecran." + +#: client/help.c:184 +msgid " Esc Quit game." +msgstr " Esc Quitter le jeu." + +#: client/help.c:186 +msgid "Pressing the left or right mouse button will fire attached balls either" +msgstr "" +"Appuyer sur le bouton gauche ou droit de la souris fera tirer les balles" + +#: client/help.c:187 +msgid "" +"to the left or right direction if 'Ball Fire Angle' in 'Advanced Options'" +msgstr "vers la gauche ou la droite si 'Angle de Tir' dans 'Options Avancees'" + +#: client/help.c:188 +msgid "is not set to 'Random'." +msgstr "n'est pas en 'Aleatoire'." + +#: client/help.c:209 +msgid "Neutral Power-Ups:" +msgstr "Neutralise Power-Ups" + +#: client/help.c:211 +msgid "Any of the listed bonuses/maluses." +msgstr "N'importe quel bonus/malus." + +#: client/help.c:212 +msgid "Resets all active bonuses and maluses." +msgstr "Supprime tous les bonus et malus en utilisation." + +#: client/help.c:213 +msgid "Adds 7 seconds to all active bonuses/maluses." +msgstr "Ajoute 7 secondes a tous les bonus et malus en utilisation" + +#: client/help.c:217 +msgid "Special Bricks:" +msgstr "Briques speciales" + +#: client/help.c:219 +msgid "Indestructible." +msgstr "Indestrucible" + +#: client/help.c:220 +msgid "May only be destroyed by energy ball else it's indestructible." +msgstr "Ne peut etre supprime que par le biais de balles d'energie." + +#: client/help.c:221 +msgid "As above and balls are reflected randomly at this brick." +msgstr "Comme ci-dessus et les rebonds sont aleatoires sur cette brique." + +#: client/help.c:222 +msgid "Needs three hits to be destroyed." +msgstr "Necessite trois tires afin d'etre detruit." + +#: client/help.c:223 +msgid "As above and regenerates durability every 4 seconds." +msgstr "Comme ci-dessus et regenere la longevite toutes les 4 secondes ." + +#: client/help.c:224 +msgid "Explodes and destroys all nearby bricks." +msgstr "Explose et detruit tous les briques aux alentours." + +#: client/help.c:225 +msgid "Creates up to 8 bricks on destruction." +msgstr "Cree jusqu'a 8 briques lors d'une destruction." + +#: client/help.c:249 +msgid "Troubleshooting:" +msgstr "Depannage:" + +#: client/help.c:251 +msgid "" +"* In fullscreen mode the window keeps it size just adding a black frame?" +msgstr "" +"* En mode plein ecran la fenetre garde sa taille en laissant une marge?" + +#: client/help.c:252 +msgid " - Maybe you do not have 640x480 as resolution available? Check your" +msgstr "" +" - Peut etre ne pouvez-vous pas avoir une resolution 640x480 ? Verifiez la" + +#: client/help.c:253 +msgid " X configuration." +msgstr " configuration de X." + +#: client/help.c:254 +msgid "* Sounds seem to be out of sync and are played with some delay?" +msgstr "* Le son ne semble pas etre synchonise, est-il joue avec decallage ?" + +#: client/help.c:255 +msgid "" +" - Set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). If this results" +msgstr "" +" - Activez SDL_AUDIODRIVER dma (export SDL_AUDIODRIVER=dma). Si ca marche" + +#: client/help.c:256 +msgid " in a lot of errors killing artsd (or esd) may help." +msgstr " avec beaucoup d'erreurs, arreter artsd (ou esd) peut aider." + +#: client/help.c:257 +msgid "* LBreakout2 gets mute while playing when switching on/off sounds?" +msgstr "* LBreakout2 devient muet lorsque vous activez le son?" + +#: client/help.c:258 +msgid "" +" - SDL_mixer seems to mute active channels. You shouldn't enable/disable" +msgstr "" +"SDL mixer semble rendre muet les canals actifs. Vous ne devriez pas toucher" + +#: client/help.c:259 +msgid " sounds to often as you'll propably loose all channels then." +msgstr "les sons car cela risque de vous faire utiliser tous les canaux." + +#: client/help.c:263 +msgid "Manual:" +msgstr "Manuel:" + +#: client/help.c:264 +msgid "" +"This is just a quick help with the most important facts about LBreakout2." +msgstr "" +"Ceci est un guide pour vous eclairer sur les points importants de LBreakout2." + +#: client/help.c:265 +msgid "" +"If you want more and better information check out the manual installed to" +msgstr "" +"Si vous desirez avoir plus d'informations, veuillez consulter le manuel dans" + +#: client/help.c:266 +msgid "/usr/doc/lbreakout2 or the online version at http://lgames.sf.net." +msgstr "/usr/doc/lbreakout2 ou la version internet sur http://lgames.sf.net." + +#: client/help.c:267 +msgid "" +"And if you have questions (not answered by the manual) or you found a bug" +msgstr "" +"Et si vous avez des questions (non traitees par le manuel) ou avez trouve un " +"bug" + +#: client/help.c:268 +msgid "or you just want to drop a general note about LBreakout2 just mail to:" +msgstr "" +"ou si voulez juste laisser un commentaire sur LBreakout2, envoyez un " +"courriel a:" + +#: client/help.c:269 +msgid " kulkanie@gmx.net" +msgstr " kulkanie@gmk.net" + +#: client/help.c:270 +msgid " Enjoy the game!" +msgstr " Profitez du jeu !" + +#: client/help.c:271 +msgid " Michael Speck" +msgstr " Michael Speck" + +#: client/main.c:192 +msgid "Set Name:" +msgstr "Votre nom:" + +#: client/manager.c:58 +msgid "There's nasty work out there waiting for you... better stay here!" +msgstr "" +"Il y a beaucoup de travail qui vous attend... Vous feriez mieux de rester " +"ici !" + +#: client/manager.c:59 +msgid "" +"If you turn animations low there'll be less details which will speed up the " +"game a great deal." +msgstr "" +"Vous accelererez la rapidite du jeu en diminuant la qualite des animations." + +#: client/manager.c:60 +msgid "Enable/disable transparency of bonuses and animations." +msgstr "Activer ou pas la transparence des bonus et des animations" + +#: client/manager.c:61 +msgid "" +"If you disable shadows it will speed up the game but won't look that " +"good. ;-)" +msgstr "" +"Si vous enlevez les ombres, le jeu sera plus rapide en depit de " +"l'esthetique ;-)" + +#: client/manager.c:62 +msgid "" +"If this is enabled you'll see the time left for all bonuses and maluses at " +"the right side of the screen." +msgstr "" +"Si cela est active, vous pourrez voir le temps restant pour chaque bonus et " +"malus, a droite de votre ecran" + +#: client/manager.c:63 +msgid "" +"You may run LBreakout2 either fullscreen or windowed. This switch may be " +"done anywhere by pressing 'f'." +msgstr "" +"Vous pouvez lancer LBreakout 2 en mode plein ecran ou dans une fenetre. Il " +"est possible de passer d'un mode a l'autre en appuyant surla touche 'f'." + +#: client/manager.c:64 +msgid "" +"You you don't want LBreakout2 to consume all of your CPU (best performance) " +"limit the frame rate." +msgstr "" +"Si vous ne voulez pas que LBreakout utilise la totalite de votre processeur " +"(meilleures performances) limitez les images par seconde." + +#: client/manager.c:65 +msgid "" +"As long as this option is enabled the paddle is treated as convex allowing " +"easy aiming. If you disable this option the real physics will show up and " +"you'll have to influence the ball by paddle movement and the hemispherical " +"ends. For cracks only!" +msgstr "" +"Aussi longtemps que cette option est activee, la palette est consideree " +"comme etant un corps convexe afin de pouvoir viser sans mal. Si vous " +"desactivez cette option, des phenomenes physiques auront lieu, si bien que " +"l'angle du rebond de la balle sur la palette dependra de sa position sur " +"celle-ci lors de sa chute. Reserve aux pros !" + +#: client/manager.c:68 +msgid "" +"If you can't see the ball because of thousands of bonuses coming down set " +"this option to 'Above Bonuses'" +msgstr "" +"Si vous ne pouvez pas voir la balle lorsque beaucoup de bonus descendent, " +"veuillez mettre cette option a 'Sur les Bonus'" + +#: client/manager.c:69 +msgid "" +"If you can't see the ball because of all the debris coming down set this " +"option to 'Below Balls'" +msgstr "" +"Si vous ne pouvez pas voir la balle a cause de tous les debris qui " +"descendent, veuillez mettre l'option a 'Sous les Balles' " + +#: client/manager.c:70 +msgid "" +"Enable/disable these quick hints. See the manual for more information about " +"how to use LBreakout2!" +msgstr "" +"Affiche ou pas ces conseils. Consultez le manuel pour davantage " +"d'informations concernant l'utilisation de LBreakout2!" + +#: client/manager.c:71 +msgid "Adjust the paddle speed for movement by keys. (pixels per second)" +msgstr "Ajustez la rapidite de la palette (pixel par seconde)" + +#: client/manager.c:72 +msgid "" +"These are the number of players and their names. If one player looses a ball " +"or restarts the level it's the next player's turn." +msgstr "" +"Ceux sont le nombre de joueurs et leurs noms. Si un joueur perde la balle ou " +"recommence le niveau, c'est a l'autre joueur de commencer " + +#: client/manager.c:73 +msgid "" +"KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-" +"200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle " +"Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:" +"#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/" +"sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 " +"pixels/sec#Bonus: +30%" +msgstr "" +"ENFANT:#Vies: 9 (max. 12)#Largeur palette: 252 (max. 396)#Rapidite balle: " +"100- 200#Bonus: -50% (pas de malus)##SIMPLE:#Vie: 6 (max. 9)#Largeur " +"palette: 72 (max. 180)#Rapidite balle: 240-400 pixels/sec#Bonus: -20%" +"##STANDARD: #Vie: 5 (max. 7)#Largeur palette: 54 (max. 144)#Rapidite balle: " +"270-430 pixels/ sec##DIFFICILE:#Vies: 4 (max. 5)#Largeur palette: 54 (max. " +"108)#Rapidite balle: 300-450 pixels/sec#Bonus: +30% " + +#: client/manager.c:77 +msgid "Play the original LBreakout2 levelset." +msgstr "Jouer en mode classique " + +#: client/manager.c:78 +msgid "Play the additional levelset selected below." +msgstr "Jouer a un autre type de mode, a partir de la selection ci-dessous " + +#: client/manager.c:79 +msgid "" +"This is the list of the levelsets found in ~/.lgames/lbreakout2-levels which " +"you may edit. If you choose and click on 'Edit Set' below " +"you'll be asked to enter a levelsetname and the new levelset will be saved " +"in a file by this name." +msgstr "" +"Ceci est la liste des niveaux se trouvant dans le repertoire~/.lgames/" +"lbreakout2-levels que vous pouvez modifier. Si vous selectionnez et cliquez sur 'Editer Niveau', vous serez ammenez a entrerle nom du " +"niveau et celui ci sera enregistrer dans un fichier portant cenom." + +#: client/manager.c:82 +msgid "" +"Click here to edit the levelset chosen above.##NOTE: To switch to the bonus " +"set you'll have to right-click on the brick set and vice versa!" +msgstr "" +"Cliquez ici pour editer le niveau choisi si dessus. ##NOTE: Pour passer a un " +"niveau bonus, vous devez faire un clique droit sur le niveau a brique et " +"vice versa !" + +#: client/manager.c:83 +msgid "Click here to delete the chosen levelset (after confirmation)." +msgstr "" +"Cliquez ici pour supprimer le niveau selectionner (apres confirmation)." + +#: client/manager.c:84 +msgid "" +"If you use the keyboard for input these are the keys for moving the paddle " +"('Paddle Turbo' will double the speed while pressed.), firing balls/shots " +"and returning the ball to paddle after a timeout of ten seconds.##Note: If " +"balls are fired at a random angle (which has become the default) there is no " +"difference between the left or right fire key. A sticky paddle stops a ball " +"until any fire button is pressed but the movement angle is the one from the " +"normal reflection. To reset the movement angle to -50 or +50 degrees check " +"out 'Ball Fire Angle' in 'Advanced Options'.##While pressed, the 'Ball " +"Turbo' will bring all balls to the maximum speed defined in 'Advanced " +"Options'." +msgstr "" +"Si vous jouez avec votre clavier, voici les touches a utiliser('Palette " +"Turbo' doublera la rapidite de la balle.), envoye de balles/tireset la " +"retourner sur la palette apres un delai de dix secondes/##Note: Si les " +"balles sont tirees dans un angle aleatoire, il n'y a pas de difference entre " +"la touche de tire de gauche et de droite. Une palette collante arrete la " +"ballejusqu'a ce que celle ci soit envoye par le bais d'une des touches de " +"tire,l'angle de la balle sera celle de sa reflexion sur la palette. Pour que " +"sonangle soit de -50 a +50 degres, modifiez 'Angle de tir' qui se trouve " +"dans 'Options Avancees'.##Lorsque appuye, la 'Ball Turbo' donneraaux balles " +"leurs vitesses optimales etablient dans 'Options Avancees." + +#: client/manager.c:89 +msgid "" +"This modifies the relative motion of the mouse. (percent) The higher this " +"value is the faster the mouse moves." +msgstr "" +"Cela modifie la sensibilite de votre souris. Plus cette valeur (en " +"pourcentage)est grande et plus votre curseur se deplacera rapidement." + +#: client/manager.c:91 +msgid "" +"If for some reason your mouse movement is inverted you can fix it with this " +"option." +msgstr "" +"Si le curseur de la souris fait le mouvement inverse de lasouris, vous " +"pouvez regler ce probleme avec cette option." + +#: client/manager.c:92 +msgid "" +"If a ball does not damage a brick within ten seconds it is allowed to return " +"to the paddle. If this option is set to 'Auto' it will automatically return " +"and if this option is set to 'By Click' you'll have to press the middle " +"mousebutton or the 'back'-key (default is Backspace)." +msgstr "" +"Si la balle ne fait aucun dommage aux briques durant 10 seconde, il est " +"autorise de revenir sur la palette. Si cette option est a 'auto' cela " +"retournera automatiquement, et si cette option est a 'Clic', vous devriez " +"appuyer sur le bouton du milieu de votre souris ou sur la touche arriere de " +"votre clavier. " + +#: client/manager.c:95 +msgid "" +"Click here to apply the theme you selected above. Please check the manual at " +"lgames.sf.net for information on how to create a theme." +msgstr "" +"Cliquez ici pour appliquer le theme selectionne plus haut.Veuillez consulter " +"le manuel sur lgames.sf.net pour savoir comment creerun theme." + +#: client/manager.c:97 +msgid "" +"IP address of the game server as xxx.xxx.xxx.xxx.#DO NOT use 'localhost' if " +"you run the server on your computer. You won't be able to challenge others. " +"Use your IP queried by /sbin/ifconfig instead." +msgstr "" +"Adresse IP du serveur de jeu comme xxx.xxx.xxx.xxx.#NE PAS utiliser " +"'localhost' si vous hebergez un serveur sur votre ordinateur. Vous serez " +"dans l'incapacite de defier les utilisateurs. Utilisez a la place votre IP " +"questionne par /sbin/ifconfig. " + +#: client/manager.c:98 +msgid "Port the game server is bound to." +msgstr "Le port du serveur de jeu est limite pour." + +#: client/manager.c:99 +msgid "" +"If you're successfully connected to the game server this is your nickname " +"there." +msgstr "" +"Si vous avez pu vous connecter au serveur de jeu, cela est votre speudonyme." + +#: client/manager.c:100 +msgid "Connect to game server." +msgstr "Se connecter au serveur de jeu" + +#: client/manager.c:101 +msgid "A local game with up to 4 alternating players." +msgstr "Un jeu local avec plus de 4 joueurs" + +#: client/manager.c:102 +msgid "A two-player or deathmatch game via Internet or LAN." +msgstr "Un jeu a deux ou match a mort via Internet ou reseau local." + +#: client/manager.c:105 +msgid "" +"This is the levelset you actually want to play. Note, that each levelset got " +"it's own highscore chart (left/right-click on the chart on the right). A " +"levelset is either load from ~/.lgames/lbreakout2-levels or the installation " +"directory." +msgstr "" +"C'est le niveau auquel vous voulez jouer. Notez que chaque niveau a son " +"propre tableau de score (clique droit sur le tableau a droite). Un niveau " +"peut etre charge a partir de ~/.lgames/lbreakout2-levels ou du repertoire " +"d'installation." + +#: client/manager.c:108 +msgid "" +"This is the list of available themes. Choose any theme and click 'Apply' to " +"select it" +msgstr "" +"C'est la liste des themes disponibles. Choisissez un theme et cliquez sur " +"'Appliquer' pour l'activer. " + +#: client/manager.c:109 +msgid "" +"After you destroyed this percentage of bricks you MAY warp to the next level " +"by pressing 'w'. That is indicated by a small icon at the bottom right-hand " +"side of the screen.#If you set this option to 0 you may instantly warp " +"whereas 100 means you have to destroy all bricks.##Note, that this option " +"does not apply for the levelsets 'Original' and 'LBreakout1'!" +msgstr "" +"Apres avoir detruit ce pourcentage de briques, vous POURREZ passer au niveau " +"suivant en appuyant sur 'w'. Cela est indique par une petite icone en bas a " +"droite de votre ecran.#If vous fixez cette option a 0, vous pourrez passer " +"au niveau suivant quand vous le souhaitez. En revanche, 100 indique que vous " +"devez detruire toutes les briques.##Note, cette option ne s'applique pas " +"pour les parties 'Original' et 'LBreakout1' ! " + +#: client/manager.c:111 +msgid "" +"In this menu you can change the appearance of LBreakout. Included to the " +"release are the three winning themes from the Linux Game Tome contest " +"'absoluteB','Oz' and 'Moiree' along with the old graphics as theme 'Classic'." +"#For more themes check out http://lgames.sf.net." +msgstr "" +"Vous pouvez changer l'apparence de LBreakout a partir de ce menu. Celui " +"ciinclu les 3 themes gagnants du Linux Game Tome contest, a savoir " +"'absoluteB','Oz' et 'Moiree' accompagne de l'ancien theme 'Classic'.#Vous " +"pouvez trouver d'autres themes sur http://lgames.sf.net." + +#: client/manager.c:112 +msgid "" +"Linear:#++ There is no chance for balls to get infinitely stuck in a brick " +"bounce combo.#-- It is quite hard for balls to enter narrow passages." +"##Spherical:#++ Feels better and balls can easily pass through small gaps." +"#-- There is a chance for balls to get infinitely stuck within a series of " +"indestructible brick reflections if the level is too wrinkled. However, with " +"the auto return option this is no problem so 'Spherical' is the default." +msgstr "" +"Lineaire:#++ Il n'y a aucune chance pour une balle de rester " +"indefinimantcoince dans une brique bounce combo.#-- Il est assez dur pour " +"des balles d'entrer dans des passages etroits.#Spherique:#++ Les balles " +"passe facilement dans les petits espaces.#--Il est possible que des balles " +"restent indefinimant coincees dansune serie de indestructible briques " +"reflechissantes si le niveau est trop froisse.Neanmois, il n'y a pas de " +"problemes avec l'option auto return, donc 'Spherique'est selectionne par " +"defaut." + +#: client/manager.c:118 +msgid "" +"Network communication is handled by a single UDP socket which will be bound " +"to this port number." +msgstr "" +"La communication reseau est maintenu par un socket UDP qui peut etre limite " +"a ce numero de port. " + +#: client/manager.c:120 +msgid "" +"If '50' the ball is shot at an angle of 50 degrees to the left or right, " +"depending on which fire button has been pressed. If it is set to 'random' " +"the ball is fired at a random angle. In this case a sticky paddle simply " +"halts the normal reflection until any fire button has been pressed." +msgstr "" +"Si '50' la balle est tire dans un angle de 50 degres vers la gauche ou la " +"droite. Cela depend sur la touche de tire qui a ete utilise. Si cela est " +"place a 'Aleatoire', la balle est tire a un angle aleatoire. Dans le cas ou " +"la palette est collante, la reflexion se fait normalement apres avoir appuye " +"sur la touche de tire " + +#: client/manager.c:124 +msgid "" +"While you keep the middle mouse button pressed (or the acceleration key) all " +"balls will go this velocity. (in pixels per second)" +msgstr "" +"Pendant que vous maintenez le bouton du millieu de votre souris(ou la touche " +"d'acceleration), toutes les balles iront a cette vitesse.(en pixels par " +"seconde)" + +#: client/manager.c:126 +msgid "" +"If on, normal levelsets will have a random bonus level every four normal " +"levels.##Note: You can skip a bonus level any time by loosing the ball. This " +"will not loose a life but bring you directly to the next level." +msgstr "" +"Si active, la partie aura un nouveau niveau bonus tous les 4 niveaux normaux." +"##Note : Vous pouvez sauter les niveaux bonus en perdant la balle. Cela ne " +"vous fera pas perdre de vie et vous amenera au niveau suivant." + +#: client/manager.c:129 +msgid "Play *ALL* available levels in a random order." +msgstr "Jouer a *TOUS* les niveaux dans un ordre aleatoire" + +#: client/manager.c:130 +msgid "The complete levelset of LBreakout1 with just minor modifications." +msgstr "Une partie complete de LBreakout1 avec quelques modifications mineurs." + +#: client/manager.c:131 +msgid "" +"There is only one brick with a limited lifetime. Your task is to hit it " +"before it vanishes. If you succeed, the brick is reset somewhere else with " +"less lifetime. If you don't, the game is over. The faster you hit a brick, " +"the more score you will gain. How much seconds a brick is still there, you " +"can see at the lower right-hand side of the screen.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Il n'y a qu'une brique dont l'esperance de vie est limite. Vous devez la " +"detruire avant qu'elle disparaisse. Si vous y parvenez, la brique " +"reapparaitradans un autre endroit avec une esperance de vie encore plus " +"courte, necessitantainsi plus de rapidite de votre part pour la detruire. Si " +"vous n'y parvenez pas,la jeu sera termine. Vous pouvez connaitre le temps de " +"vie restant de la briqueen bas a droite de votre ecran.##Manquer une balle " +"aura pour consequence de vous envoyer au niveau suivant.##AYEZ 'Acc. " +"Rapidite' ETABLIE A 900 DANS 'OPTIONS AVANCEES' ET UTILISEZ LE PLUS SOUVENT " +"POSSIBLE LE BOUTTON DU MILIEU DE VOTRE SOURIS ! Sinon vous n'aurez aucune " +"chance dans ces niveaux qui necessitent beaucoup de competence !" + +#: client/manager.c:140 +msgid "" +"Your task is to prevent an outbreak by clearing all bricks. Every few " +"seconds a new one will appear somewhere, forcing you to act quickly. If you " +"succeed in clearing a level, it is reset to five bricks, but this time new " +"ones will spring into existence faster. You loose, if you cannot manage to " +"clear the screen before 50 bricks were created (which does not mean 50 " +"bricks are on the screen!). How far you are away from that limit you can see " +"in the lower right-hand side of the screen. Score is only gained for a " +"complete clearance, not for destroying single bricks! The farther you are " +"way from the 50 bricks limit the more it will be.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Votre objectif est d'eviter tout debordement en detruisant toutes les " +"briques. Une nouvelle brique apparaitra regulierement, vous forcant ainsi a " +"reagir rapidement. Si vous detruisez toutes les briques, on recommence avec " +"cinq briques et d'autres apparaitront encore plus vite. Vous perdez si on " +"decompte cinquante briques sur votre ecran. Vous pouvez savoir si vous vous " +"approchez de cette limite en observant l'indicateur se trouvant en bas a " +"droite de votre ecran.Les points sont ajoutes a votre score uniquement " +"lorsque votre ecran est debarasse de toutes les briques, pas en n'en " +"detruisant que quelques unes! Le moins vous avez de briques et le mieux cela " +"sera.##Perdre votre balle aura pour consequence de vous faire passer au " +"niveau suivant.##AYEZ 'Acc. Rapidite' ETABLIE A 900 DANS 'OPTIONS AVANCEES' " +"ET UTILISEZ LE BOUTON DU MILIEU DE VOTRE SOURIS !Sinon vous n'aurez aucune " +"chance dans ces niveaux qui sont extremes!" + +#: client/manager.c:153 +msgid "" +"This time you have to crush through a wall and hit some bricks behind it. If " +"you succeed the wall is reset and one line bigger next time. The earlier you " +"manage to break through, the more score you'll get. No surprise, is it? What " +"makes this fun, is the fact that the wall is moving towards you. If it " +"reaches your paddle, you are out. Whenever you successfully broke through, " +"the ball will return the paddle and get attached. You then have to fire it " +"again. The wall cannot grow bigger than 12 lines. How many lines the barrier " +"is away from your paddle, is shown in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" +"Cette fois ci, vous serez en confrontation avec un mur et vous allez devoir " +"detruire les briques se trouvant derriere lui. Si vous y parvenez, le mur " +"disparait pour donner place a un nouveau plus grand. Le plus rapidementvous " +"detruirez les briques et le plus de score vous gagnerez. Pas de mauvaises " +"suprises ? Pensez-vous ? Ce qui rend le niveau original, c'estle fait que le " +"mur bouge vers votre direction. S'il parvient a atteindrevotre palette, vous " +"perdez. Lorsque toute les briques sont detruitent,la balle revient sur votre " +"palette. Vous n'avez cas appuyer sur la touchede tire pour l'envoyer. Le mur " +"ne peut pas etre plus grand que 12 lignes.Ca longueur est indique en bas a " +"droite de votre ecran.##Perdre la balleaura pour concequence de vous faire " +"passer au niveau suivant.##AYEZ 'Acc. Rapidite' ETABLIE A 900 DANS 'OPTIONS " +"AVANCEES' ET UTILISEZ LE PLUS SOUVENT POSSIBLE LE BOUTTON DU MILIEU DE VOTRE " +"SOURIS !Sinon vous n'aurez aucune chance dans ces niveaux qui necessitent " +"beaucoup de competence !" + +#: client/manager.c:165 +msgid "" +"There are eight bricks and the ball is attached in the middle at the " +"ceiling. When it is released, one brick is highlighted and your task is to " +"hit this brick. If you manage to do so, you'll get some score and the " +"situation is reset. If you do not hit the highlighted brick AS THE VERY " +"FIRST THING, it will be destroyed until all bricks are gone. The more bricks " +"you hit in a row, the more score you will get for the next one. The score's " +"worth of the next brick you can see in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level." +msgstr "" +"Il y a huit briques et la balle est attachee au milieu du plafond. Quand " +"celle ci est libere, une brique sera mise en evidence et votre objectif est " +"de la detruire. Si vous y parvenez, vous gagnerez des points sur votre score " +"et le niveau recommence. Si vous ne detruisez pas la brique qui a ete mise " +"en evidence DES LE DEBUT, celle ci sera detruite et l'une des septs briques " +"restantes sera mise en evidence. Le plus de briques vous detruisez et le " +"plus de poins pour votre score vous gagnez. La valeurs en points pouvant " +"etre gagne si la brique suivant est detruite est indique en bas a droite de " +"votre ecran.##Perdre la balle a pour concequence de vous faire passer au " +"niveau suivant." + +#: client/manager.c:174 +msgid "" +"Your task is to hunt down bricks by moving a chaos brick indirectly. " +"Therefore each side of the playing field has a brick color and you can hit " +"small pads bearing these colors. When you hit one, the chaos brick will move " +"toward the appropiate side. You must not hit the bordering bricks and you " +"must get to the brick within a time limit, as always displayed in the lower " +"right-hand side of the screen. The faster you are, the more score you'll " +"gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" +"Votre but est de detruire les briques en manipulant indirectement la brique " +"de destruction. En effet, les cotes de l'air de jeu possedent une couleur " +"particuliere et vous devez envoyer la balle vers une de ces couleurs afin de " +"deplacerla brique de destruction vers la brique a detruire. La brique de " +"destructionne doit pas toucher les briques de l'air de jeu et vous devez " +"detruire la brique dans un temps imparti qui est indique en bas a droite de " +"votre ecran. Vous gagnerez plus ou moins de point en fonction de temps que " +"vous avez pris pour detruire la brique.##Perdre une balle aura pour " +"consequence de vous faire passer au niveau suivant.##AYEZ 'ACC. RAPIDITE " +"BALLE' ETABLIE A 900 DANS 'OPTIONS AVANCEES' ET UTILISEZ LE PLUS SOUVENT " +"POSSIBLE LE BOUTTON DU MILIEU DE VOTRE SOURIS ! Sinon vous n'aurez aucune " +"chance dans ces niveaux qui necessitent beaucoup de competence ! " + +#: client/manager.c:184 +msgid "" +"Stop the invading brick waves! Each waves consists of 50 bricks which will " +"get faster and faster. Each brick will give you some score. If you clear the " +"screen completely, the wave will also be over and you will receive some " +"extra score depending on the number of remaining wave bricks. One way or the " +"other, if a wave is over, the next one will start with higher speed and more " +"score until you let a brick come down to paddle level.##Loosing your ball " +"means going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN " +"'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! " +"Otherwise you won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Arretez les envahissantes vagues de briques! Chaque vague est composee de " +"50briques qui seront de plus en plus rapides. Chaques briques vous donne du " +"score.Si vous nettoyez completement l'ecran, la vague sera detruite et vous " +"recevrez despoints sur votre score en fonction du nombre de briques " +"restantes. Ensuite,une autre vague plus rapide verra le jour juqu'a ce que " +"ce qu'une des briques atteint votre palette.##Perdre une balle aura pour " +"concequence de vous faire passer au niveau suivant.##AYEZ 'Acc. Rapidite' " +"ETABLIE A 900 DANS 'OPTIONS AVANCEES' ET UTILISEZ LE PLUS SOUVENT POSSIBLE " +"LE BOUTTON DU MILIEU DE VOTRE SOURIS !Sinon vous n'aurez aucune chance dans " +"ces niveaux qui necessitent beaucoup de competence!" + +#: client/manager.c:242 client/manager.c:434 +msgid "!JUMPING_JACK!" +msgstr "!PANTINS!" + +#: client/manager.c:243 client/manager.c:437 +msgid "!OUTBREAK!" +msgstr "!DEBORDEMENT!" + +#: client/manager.c:244 client/manager.c:440 +msgid "!BARRIER!" +msgstr "!BARRIERE!" + +#: client/manager.c:245 client/manager.c:443 +msgid "!SITTING_DUCKS!" +msgstr "!CANARD_REPOSE!" + +#: client/manager.c:246 client/manager.c:446 +msgid "!HUNTER!" +msgstr "!CHASSEUR!" + +#: client/manager.c:247 client/manager.c:449 +msgid "!INVADERS!" +msgstr "!ENVAHISSEURS!" + +#: client/manager.c:376 +#, c-format +msgid "You cannot delete '%s'!\n" +msgstr "Vous ne pouvez pas supprimer '%s'!\n" + +#: client/manager.c:456 +#, c-format +msgid "%s v%i.%02i#Author: %s" +msgstr "%s v%i.%02i#Auteur: %s" + +#: client/manager.c:463 +#, c-format +msgid "No info available." +msgstr "Pas d'informations" + +#: client/manager.c:506 +msgid "No Limit" +msgstr "Illimite" + +#: client/manager.c:506 +msgid "100 FPS" +msgstr "100" + +#: client/manager.c:507 client/manager.c:652 client/manager.c:655 +#: client/manager.c:664 client/manager.c:718 client/manager.c:722 +#: client/manager.c:731 client/manager.c:739 +msgid "Off" +msgstr "Non" + +#: client/manager.c:507 +msgid "Low" +msgstr "Peu" + +#: client/manager.c:507 client/manager.c:508 +msgid "Medium" +msgstr "Moyen" + +#: client/manager.c:507 +msgid "High" +msgstr "Maximum" + +#: client/manager.c:508 +msgid "Kids" +msgstr "Enfant" + +#: client/manager.c:508 +msgid "Easy" +msgstr "Simple" + +#: client/manager.c:508 +msgid "Hard" +msgstr "Difficile" + +#: client/manager.c:603 +msgid "Menu" +msgstr "Menu" + +#: client/manager.c:605 client/manager.c:627 +msgid "Options" +msgstr "Options" + +#: client/manager.c:607 client/manager.c:630 client/manager.c:644 +msgid "Graphics" +msgstr "Graphismes" + +#: client/manager.c:608 client/manager.c:619 +msgid "Local Game" +msgstr "Jeu local" + +#: client/manager.c:609 client/manager.c:629 client/manager.c:643 +msgid "Controls" +msgstr "Controles" + +#: client/manager.c:610 client/manager.c:636 +msgid "Advanced Options" +msgstr "Options Avancees" + +#: client/manager.c:612 client/manager.c:632 client/manager.c:634 +#: client/manager.c:645 client/manager.c:646 +msgid "Audio" +msgstr "Audio" + +#: client/manager.c:614 client/manager.c:638 +msgid "Editor" +msgstr "Editeur" + +#: client/manager.c:615 client/manager.c:750 +msgid "Delete Set" +msgstr "Supprimer niveau" + +#: client/manager.c:616 client/manager.c:671 +msgid "Select Theme" +msgstr "Selectionner Theme" + +#: client/manager.c:621 +msgid "Network Game" +msgstr "Jeu Reseau" + +#: client/manager.c:648 client/manager.c:660 client/manager.c:673 +#: client/manager.c:693 client/manager.c:720 client/manager.c:741 +#: client/manager.c:752 +msgid "Back" +msgstr "Sortir" + +#: client/manager.c:652 +msgid "Sound:" +msgstr "Son:" + +#: client/manager.c:652 client/manager.c:655 client/manager.c:664 +#: client/manager.c:718 client/manager.c:722 client/manager.c:731 +#: client/manager.c:739 +msgid "On" +msgstr "Oui" + +#: client/manager.c:655 +msgid "Speech:" +msgstr "Voix:" + +#: client/manager.c:656 +msgid "Volume:" +msgstr "Volume:" + +#: client/manager.c:663 +msgid "Animations:" +msgstr "Animations:" + +#: client/manager.c:664 +msgid "Bonus Info:" +msgstr "Info Bonus:" + +#: client/manager.c:666 +msgid "Display:" +msgstr "Affichage:" + +#: client/manager.c:666 +msgid "Window" +msgstr "Fenetre" + +#: client/manager.c:666 +msgid "Fullscreen" +msgstr "Plein Ecran" + +#: client/manager.c:669 +msgid "Frame Rate:" +msgstr "Images/seconde:" + +#: client/manager.c:675 +msgid "Resume Last Game" +msgstr "Reprendre la Partie" + +#: client/manager.c:678 +msgid "Start Original Set" +msgstr "Nouvelle Partie" + +#: client/manager.c:679 +msgid "Start AddOn" +msgstr "Parties Extra" + +#: client/manager.c:681 +msgid "AddOn:" +msgstr "Extras:" + +#: client/manager.c:687 +msgid "Players:" +msgstr "Joueurs:" + +#: client/manager.c:688 +msgid "1st:" +msgstr "1er" + +#: client/manager.c:689 +msgid "2nd:" +msgstr "2eme" + +#: client/manager.c:690 +msgid "3rd:" +msgstr "3eme" + +#: client/manager.c:691 +msgid "4th:" +msgstr "4eme" + +#: client/manager.c:695 +msgid "Left:" +msgstr "Gauche" + +#: client/manager.c:696 +msgid "Right:" +msgstr "Droite:" + +#: client/manager.c:697 +msgid "Left Fire:" +msgstr "Tire Gauche:" + +#: client/manager.c:698 +msgid "Right Fire:" +msgstr "Tire Droit:" + +#: client/manager.c:699 +msgid "Paddle Turbo:" +msgstr "Palette Turbo:" + +#: client/manager.c:700 +msgid "Ball Turbo:" +msgstr "Ball Turbo:" + +#: client/manager.c:701 +msgid "Return:" +msgstr "Retour" + +#: client/manager.c:712 +msgid "Key Speed:" +msgstr "Key Speed:" + +#: client/manager.c:715 +msgid "Motion Modifier:" +msgstr "Modifier le mouvement" + +#: client/manager.c:718 +msgid "Invert Motion:" +msgstr "Inverser le mouvement" + +#: client/manager.c:722 +msgid "Convex Paddle:" +msgstr "Palette convexe:" + +#: client/manager.c:725 +msgid "Ball Fire Angle:" +msgstr "Angle de tir:" + +#: client/manager.c:727 +msgid "Random" +msgstr "Aleatoire" + +#: client/manager.c:728 +msgid "Below Bonuses" +msgstr "Sous les Bonus" + +#: client/manager.c:728 +msgid "Above Bonuses" +msgstr "Sur les Bonus" + +#: client/manager.c:729 +msgid "Debris:" +msgstr "Debris:" + +#: client/manager.c:729 +msgid "Below Balls" +msgstr "Sous les Balles" + +#: client/manager.c:729 +msgid "Above Balls" +msgstr "Sur les Balles" + +#: client/manager.c:730 +msgid "Return Balls:" +msgstr "Retourner Balle:" + +#: client/manager.c:730 +msgid "Auto" +msgstr "Auto" + +#: client/manager.c:730 +msgid "By Click" +msgstr "Clic" + +#: client/manager.c:731 +msgid "Use Hints:" +msgstr "Conseils:" + +#: client/manager.c:734 +msgid "Warp Limit:" +msgstr "arp Limit:" + +#: client/manager.c:735 +msgid "Local UDP Port:" +msgstr "Port UDP local:" + +#: client/manager.c:736 +msgid "Acc. Ball Speed:" +msgstr "Acc. Rapidite:" + +#: client/manager.c:739 +msgid "Add Bonus Levels:" +msgstr "Niveaux Bonus:" + +#: client/manager.c:744 +msgid "Set:" +msgstr "Niveau:" + +#: client/manager.c:749 +msgid "Edit Set" +msgstr "Editer Niveau" + +#: client/manager.c:754 +msgid "Yes" +msgstr "Oui" + +#: client/manager.c:757 +msgid "No" +msgstr "fNon" + +#: client/manager.c:759 +msgid "Theme:" +msgstr "Theme:" + +#: client/manager.c:764 +msgid "Apply" +msgstr "Appliquer" + +#: client/theme.c:703 +msgid "NO INFO AVAILABLE" +msgstr "PAS D'INFORMATIONS" + +#: client/value.c:40 +msgid "Space" +msgstr "Espace" + +#: client/value.c:41 +msgid "Left" +msgstr "Gauche" + +#: client/value.c:42 +msgid "Right" +msgstr "Droite" + +#: client/value.c:43 +msgid "Up" +msgstr "Haut" + +#: client/value.c:44 +msgid "Down" +msgstr "Bas" + +#: client/value.c:45 +msgid "Right Shift" +msgstr "Maj Droite" + +#: client/value.c:46 +msgid "Left Shift" +msgstr "Maj Gauche" + +#: client/value.c:47 +msgid "Right Ctrl" +msgstr "Ctrl Droit" + +#: client/value.c:48 +msgid "Left Ctrl" +msgstr "Ctrl Gauche" + +#: client/value.c:49 +msgid "Right Alt" +msgstr "Alt Droit" + +#: client/value.c:50 +msgid "Left Alt" +msgstr "Alt Gauche" + +#: client/value.c:51 +msgid "BackSpace" +msgstr "Retour arriere" + +#: client/misc.c:212 +msgid "Waiting for remote answer..." +msgstr "En attente de la reponse..." + +#: client/misc.c:231 +#, no-c-format +msgid "remote player cancelled the game\n" +msgstr "Le joueur vient d'annuler la partie\n" + +#: client/misc.c:418 +#, c-format +msgid "Plane Of Inner Stability entered (Score: %i)" +msgstr "Zone de stabilite (Score: %i)" + +#: client/misc.c:436 +#, no-c-format +msgid "Disintegrate Brick? (Costs 5% of your score.) y/n" +msgstr "Desintegrer la brique? (cela coute 5% de votre score) o/n" + +#: common/net.c:68 +#, c-format +msgid "unable to resolve %s: %s\n" +msgstr "impossible de resoudre %s: %s\n" + +#: common/net.c:172 +#, c-format +msgid "UDP socket bound to %s:%i\n" +msgstr "UDP socket bound to %s:%i\n" + +#: game/game.c:67 +#, c-format +msgid "Jumping Jack" +msgstr "Pantin" + +#: game/game.c:68 game/game.c:72 game/game.c:76 game/game.c:80 game/game.c:84 +#: game/game.c:88 +#, c-format +msgid "Bonus Level" +msgstr "Niveau Bonus" + +#: game/game.c:71 +#, c-format +msgid "Outbreak" +msgstr "Outbreak" + +#: game/game.c:75 +#, c-format +msgid "Barrier" +msgstr "Barriere" + +#: game/game.c:79 +#, c-format +msgid "Sitting Ducks" +msgstr "Canard reposant" + +#: game/game.c:83 +#, c-format +msgid "Hunter" +msgstr "Chasseur" + +#: game/game.c:87 +#, c-format +msgid "Defender" +msgstr "Defence" + +#: game/game.c:91 +#, c-format +msgid "Unknown Level Type" +msgstr "Type de niveau inconnu" + +#: game/levels.h:23 +msgid "" +msgstr "" + +#: game/levels.h:24 +msgid "!FREAKOUT!" +msgstr "!BALLE_PERDUE!" + +#: server/server.c:76 +#, c-format +msgid "server is going down...\n" +msgstr "arret du serveur en cour...\n" + +#: server/server.c:80 +#, c-format +msgid "SERVER IS GOING DOWN!!!" +msgstr "LE SERVEUR VA S'ARRETER !!!" + +#: server/server.c:111 +#, c-format +msgid "channel added: %s\n" +msgstr "canal ajoute: %s\n" + +#: server/server.c:120 +#, c-format +msgid "channel deleted: %s (%i users)\n" +msgstr "canal supprime: %s (%i utilisateurs)\n" + +#: server/server.c:208 +#, c-format +msgid "user added: %s (%i) from %s\n" +msgstr "utilisateur ajoute: %s (%i) de %s\n" + +#: server/server.c:238 +#, c-format +msgid "user removed: %s (%i)\n" +msgstr "utilisateur revoque: %s (%i)\n" + +#: server/server.c:275 +#, c-format +msgid "You have been kicked! Reason: %s" +msgstr "Vous avez ete revoque ! Raisons: %s" + +#: server/server.c:281 +#, c-format +msgid "user kicked (%s): %s (%i)\n" +msgstr "utilisateur revoque (%s): %s (%i)\n" + +#: server/server.c:316 +#, c-format +msgid "you have entered a new channel: %s" +msgstr "Vous venez d'entrer dans un nouveau canal: %s" + +#: server/server.c:455 +#, c-format +msgid "Login data corrupted, please retry." +msgstr "Donnees de session corrompu, Veuillez reessayer." + +#: server/server.c:460 +msgid "Your username may only contain letters, digits and underscores.\n" +msgstr "" +"Votre nom d'utilisateur ne peut contenir que des chiffres, des lettres, et " +"des tirets.\n" + +#: server/server.c:473 +#, c-format +msgid "Your protocol is out of date, please update." +msgstr "Votre protocole est depasse, veuillez mettre a jour." + +#: server/server.c:475 +#, c-format +msgid "Server uses an older protocol (%i), sorry." +msgstr "Le serveur utilise un protocole plus ancien (%i); desole." + +#: server/server.c:480 +#, c-format +msgid "Server is full!" +msgstr "Le serveur est plein a craquer !" + +#: server/server.c:484 +#, c-format +msgid "Please enter a name!" +msgstr "Veuillez entrer un nom !" + +#: server/server.c:488 +#, c-format +msgid "Your name must not contain blanks! (But can have underscores.)" +msgstr "Votre nom ne peut contenir d'espaces ! (mais peut avoir des tirets) " + +#: server/server.c:491 server/server.c:503 +msgid "admin" +msgstr "admin" + +#: server/server.c:492 +#, c-format +msgid "This name is already in use. Please choose another one." +msgstr "Ce nom est deja utilise. Veuillez en selectionner un autre." + +#: server/server.c:527 +msgid "1 user online" +msgstr "1 utilisateur connecte" + +#: server/server.c:529 +#, c-format +msgid "%i users online" +msgstr "%i utilisateurs connectes" + +#: server/server.c:586 +msgid "search" +msgstr "search" + +#: server/server.c:588 +msgid "search: specify a user name!" +msgstr "search: specifiez un nom d'utilisateur !" + +#: server/server.c:592 +msgid "search: user is not online." +msgstr "search: l'utilisateur n'est pas en ligne" + +#: server/server.c:594 +#, c-format +msgid "search: %s: in channel %s: %s" +msgstr "search: %s: dans canal %s: %s" + +#: server/server.c:596 +msgid "playing" +msgstr "en train de jouer" + +#: server/server.c:596 +msgid "chatting" +msgstr "en train de chatter" + +#: server/server.c:600 +msgid "version" +msgstr "version" + +#: server/server.c:601 +#, c-format +msgid "transmission protocol: %i" +msgstr "protocole de transmition: %i" + +#: server/server.c:604 +msgid "info" +msgstr "info" + +#: server/server.c:605 +#, c-format +msgid "user limit: %i#frame rate: %i#packet limit: %i" +msgstr "user limit: %i#frame rate: %i#packet limit: %i" + +#: server/server.c:609 +msgid "addset" +msgstr "addset" + +#: server/server.c:611 +msgid "addset: name missing" +msgstr "addset: nom manquant" + +#: server/server.c:627 +#, c-format +msgid "addset: file %s corrupted" +msgstr "addset: fichier %s corrompu" + +#: server/server.c:630 +#, c-format +msgid "addset: file %s not found" +msgstr "addset: fichier %s non trouve" + +#: server/server.c:632 +msgid "addbot" +msgstr "addbot" + +#: server/server.c:634 +msgid "addbot: name missing" +msgstr "addbot: nom manquant" + +#: server/server.c:638 +#, c-format +msgid "addbot: bot '%s' exists" +msgstr "addbot: bot '%s' existe deja" + +#: server/server.c:642 +msgid "addbot: strength missing" +msgstr "addbot: strength missing" + +#: server/server.c:648 +msgid "delbot" +msgstr "delbot" + +#: server/server.c:650 +msgid "delbot: name missing" +msgstr "delbot: nom manquant" + +#: server/server.c:654 +#, c-format +msgid "delbot: bot '%s' not found" +msgstr "delbot: bot '%s' non trouve" + +#: server/server.c:659 +msgid "set" +msgstr "set" + +#: server/server.c:661 +msgid "set: variable missing" +msgstr "set: variable manquante" + +#: server/server.c:665 +msgid "set: value missing" +msgstr "set: valeur manquante" + +#: server/server.c:669 +msgid "userlimit" +msgstr "userlimit" + +#: server/server.c:671 +#, c-format +msgid "userlimit: set to %i" +msgstr "userlimit: etabli a %i" + +#: server/server.c:674 +msgid "packetlimit" +msgstr "packetlimit" + +#: server/server.c:676 +#, c-format +msgid "packetlimit: set to %i" +msgstr "packetlimit: etabli a %i" + +#: server/server.c:679 +msgid "fps" +msgstr "fps" + +#: server/server.c:682 +#, c-format +msgid "fps: set to %i" +msgstr "fps: etabli a %i" + +#: server/server.c:691 +msgid "kick" +msgstr "revoque" + +#: server/server.c:693 +msgid "kick: specify a user name!" +msgstr "kick: specifiez un nom !" + +#: server/server.c:697 +msgid "kick: user is not online." +msgstr "kick: l'utilisateur n'est pas present." + +#: server/server.c:706 +#, c-format +msgid "Sorry, but your opponent has been kicked!" +msgstr "Desole, votre adversaire a ete revoque !" + +#: server/server.c:714 +#, c-format +msgid "ADMIN has kicked %s." +msgstr "l'ADMIN a revoque %s." + +#: server/server.c:716 +msgid "admin kick" +msgstr "admin kick" + +#: server/server.c:720 +msgid "admin_says" +msgstr "admin_dit" + +#: server/server.c:722 +msgid "info: a message is required!" +msgstr "info: un message est necessaire !" + +#: server/server.c:729 +#, c-format +msgid "ADMIN says: %s" +msgstr "l'ADMIN dit: %s" + +#: server/server.c:732 +msgid "halt" +msgstr "arret" + +#: server/server.c:736 +#, c-format +msgid "unknown command: %s" +msgstr "commande inconnu: %s" + +#: server/server.c:771 server/server_game.c:397 +#, c-format +msgid "%s (%i) disconnected\n" +msgstr "%s (%i) s'est deconnecte\n" + +#: server/server.c:802 +#, c-format +msgid "There is no user by that name." +msgstr "Aucun utilisateur possede ce nom." + +#: server/server.c:821 +#, c-format +msgid "Channel name must not contain blanks!" +msgstr "Le nom du canal ne peut pas contenir d'espace !" + +#: server/server.c:841 +#, c-format +msgid "OpenGame message corrupted!" +msgstr "message OpenGame corrompu !" + +#: server/server.c:843 +#, c-format +msgid "User with id %i does not exist!" +msgstr "L'utilisateur avec l'id %i n'existe pas !" + +#: server/server.c:850 +#, c-format +msgid "channel %i: %s: invalid message %x: skipping %i bytes\n" +msgstr "canal %i: %s: message invalide %x: annule %i bytes\n" + +#: server/server.c:913 +msgid "Remote player has disconnected!" +msgstr "Le joueur vient de se deconnecter !" + +#: server/server.c:916 +msgid "zombie" +msgstr "zombie" + +#: server/server.c:981 +#, c-format +msgid "couldn't open directory %s!\n" +msgstr "N'a pas pu ouvrir le repertoire %s!\n" + +#: server/server.c:990 +#, c-format +msgid "loaded %i levelsets from directory %s\n" +msgstr "%i niveaux sont charges du repertoire %s\n" + +#: server/server.c:1000 +#, c-format +msgid "" +"Usage:\n" +" lbreakout2server\n" +msgstr "" +"Usage:\n" +" lbreakout2server\n" + +#: server/server.c:1001 +#, c-format +msgid " [-p ] Bind server to this port (Default: %i).\n" +msgstr " [-p ] Bind serveur a ce port (Default: %i).\n" + +#: server/server.c:1002 +#, c-format +msgid "" +" [-l ] Maximum number of users that can login to " +"server.\n" +msgstr "" +" [-l ] Le nombre maximum d'utilisateurs qui peuvent se " +"connecter a server.\n" + +#: server/server.c:1003 +#, c-format +msgid "" +" [-m ] The text in this file is send to new users on " +"login.\n" +msgstr "" +" [-m ] Le texte present dans ce fichier est envoye aux " +"nouveaux utilisateur a login.\n" + +#: server/server.c:1004 +#, c-format +msgid "" +" [-a ] The user logging in as will become\n" +msgstr "" +" [-a ] L'utilisateur logging en tant que " +"deviendra\n" + +#: server/server.c:1005 +#, c-format +msgid " the administrator named 'admin'.\n" +msgstr " L'administrateur est nomme 'admin'.\n" + +#: server/server.c:1009 +#, c-format +msgid "" +" [-f ] Number of send/recv handlings in a second.\n" +msgstr "" +" [-f ] Nombre de handlings recus/envoye en une " +"seconde.\n" + +#: server/server.c:1010 +#, c-format +msgid " (Default: 33)\n" +msgstr " (Default: 33)\n" + +#: server/server.c:1011 +#, c-format +msgid "" +" [-b ] Number of paddle bots with 800 and 1000 " +"strength\n" +msgstr "" +" [-b ] Nombre de palettes robots avec 800 et 1000 " +"strength\n" + +#: server/server.c:1012 +#, c-format +msgid " each. (Default: 0)\n" +msgstr " chaque. (Default: 0)\n" + +#: server/server.c:1044 +#, c-format +msgid "greetings file not found, setting directly: %s\n" +msgstr "greetings file not found, setting directly: %s\n" + +#: server/server.c:1051 +#, c-format +msgid "greetings loaded: %s\n" +msgstr "salutations chargees : %s\n" + +#: server/server.c:1084 +#, c-format +msgid "server halted\n" +msgstr "serveur stoppe\n" + +#: server/server.c:1105 +#, c-format +msgid "Welcome to LBreakout2 online!" +msgstr "Bienvenue a LBreakout2 Online !" + +#: server/server.c:1125 +#, c-format +msgid "user limit is %i\n" +msgstr "La limite d'utilisateurs est %i\n" + +#: server/server.c:1126 +#, c-format +msgid "FPS: %i (delay: %i ms)\n" +msgstr "FPS: %i (delais: %i ms)\n" + +#: server/server.c:1134 +#, c-format +msgid "BOT%i-800" +msgstr "BOT%i-800" + +#: server/server.c:1139 +#, c-format +msgid "BOT%i-1000" +msgstr "BOT%i-1000" + +#: server/server.c:1189 +#, c-format +msgid "LBreakout2 has been compiled without network support.\n" +msgstr "LBreakout2 a ete compile sans le support reseau.\n" + +#: server/server_game.c:301 +#, c-format +msgid "game added: %s (%i): %i rounds: %s vs. %s\n" +msgstr "Jeu ajoute: %s (%i): %i manches: %s vs. %s\n" + +#: server/server_game.c:312 +#, c-format +msgid "game deleted: %s (%i)\n" +msgstr "Jeu supprime: %s (%i)\n" + +#: server/server_game.c:394 +msgid "Remote player has disconnected..." +msgstr "Le joueur s'est deconnecte..." + +#: server/server_game.c:406 +msgid "Remote player has left the game..." +msgstr "Le joueur a quitte la partie..." + +#: server/server_game.c:533 +#, c-format +msgid "game %i: %s: state %i: invalid message %x: skipping %i bytes\n" +msgstr "jeu %i: %s: etat %i: Message invalide %x: Annule %i bytes\n" diff --git a/po/insert-header.sin b/po/insert-header.sin new file mode 100644 index 0000000..b26de01 --- /dev/null +++ b/po/insert-header.sin @@ -0,0 +1,23 @@ +# Sed script that inserts the file called HEADER before the header entry. +# +# At each occurrence of a line starting with "msgid ", we execute the following +# commands. At the first occurrence, insert the file. At the following +# occurrences, do nothing. The distinction between the first and the following +# occurrences is achieved by looking at the hold space. +/^msgid /{ +x +# Test if the hold space is empty. +s/m/m/ +ta +# Yes it was empty. First occurrence. Read the file. +r HEADER +# Output the file's contents by reading the next line. But don't lose the +# current line while doing this. +g +N +bb +:a +# The hold space was nonempty. Following occurrences. Do nothing. +x +:b +} diff --git a/po/lbreakout2.pot b/po/lbreakout2.pot new file mode 100644 index 0000000..a48a8fa --- /dev/null +++ b/po/lbreakout2.pot @@ -0,0 +1,2244 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR Michael Speck +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n" +"POT-Creation-Date: 2009-10-26 16:50+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: client/chart.c:159 +#, c-format +msgid "Converting highscore chart as format changed.\n" +msgstr "" + +#: client/chart.c:168 +#, c-format +msgid "Highscore chart doesn't exist in '%s'... creating new one.\n" +msgstr "" + +#: client/chart.c:175 +#, c-format +msgid "Write permission for '%s' denied.\n" +msgstr "" + +#: client/chart.c:206 +#, c-format +msgid "Unable to access highscore chart in '%s'.\n" +msgstr "" + +#: client/chart.c:207 +#, c-format +msgid "Trying to use config directory '%s'.\n" +msgstr "" + +#: client/chart.c:209 +#, c-format +msgid "" +"Unable to access highscore chart in config directory... won't be able to " +"save any results. Sorry.\n" +msgstr "" + +#: client/chart.c:214 +#, c-format +msgid "Saving highscore chart in: %s\n" +msgstr "" + +#: client/chart.c:216 client/chart.c:346 +msgid "Name Level Score" +msgstr "" + +#: client/chart.c:222 +msgid "name.-----" +msgstr "" + +#: client/chart.c:222 +msgid "Level" +msgstr "" + +#: client/chart.c:258 +#, c-format +msgid "??? Highscore chart loaded properly but cannot save? (%s)\n" +msgstr "" + +#: client/chart.c:406 +#, c-format +msgid "First chart query for '%s'. Creating this chart.\n" +msgstr "" + +#: client/chart.c:419 +#, c-format +msgid "Chart index '%i' is out of range!\n" +msgstr "" + +#: client/client.c:86 +msgid "" +"Specify the game server as address:port where the address can be a name or a " +"dotted IP.#If the connection fails have a look at the messages in the chat " +"window to see the reason." +msgstr "" + +#: client/client.c:264 +msgid "Server:" +msgstr "" + +#: client/client.c:271 +msgid "Username:" +msgstr "" + +#: client/client.c:278 client/client.c:369 +msgid "Connect" +msgstr "" + +#: client/client.c:281 client/client.c:301 client/client.c:395 +#: client/manager.c:767 +msgid "Cancel" +msgstr "" + +#: client/client.c:285 client/client.c:293 +msgid "no info" +msgstr "" + +#: client/client.c:289 client/client.c:407 client/client.c:420 +#: client/client.c:434 +msgid "Close" +msgstr "" + +#: client/client.c:297 +msgid "OK" +msgstr "" + +#: client/client.c:314 +msgid "Send" +msgstr "" + +#: client/client.c:316 +msgid "Whisper" +msgstr "" + +#: client/client.c:324 server/server.c:1108 +msgid "MAIN" +msgstr "" + +#: client/client.c:327 +msgid "C" +msgstr "" + +#: client/client.c:334 +msgid "Levelsets" +msgstr "" + +#: client/client.c:343 client/manager.c:685 +msgid "Difficulty:" +msgstr "" + +#: client/client.c:348 +msgid "Rounds:" +msgstr "" + +#: client/client.c:353 +msgid "Frags:" +msgstr "" + +#: client/client.c:358 client/manager.c:728 +msgid "Balls:" +msgstr "" + +#: client/client.c:365 +msgid "Challenge" +msgstr "" + +#: client/client.c:373 client/manager.c:640 +msgid "Quit" +msgstr "" + +#: client/client.c:377 +msgid "Help" +msgstr "" + +#: client/client.c:384 +msgid "Channel:" +msgstr "" + +#: client/client.c:392 +msgid "Enter" +msgstr "" + +#: client/client.c:399 +msgid "Statistics" +msgstr "" + +#: client/client.c:405 client/client_handlers.c:548 +msgid "Awaiting stats..." +msgstr "" + +#: client/client.c:424 +msgid "Network Quick Help" +msgstr "" + +#: client/client.c:459 +#, c-format +msgid "Client finalized\n" +msgstr "" + +#: client/client.c:490 +msgid "Press 'Connect' to connect to a game server." +msgstr "" + +#: client/client_data.c:146 +msgid "Challenges" +msgstr "" + +#: client/client_data.c:147 +msgid "Channels" +msgstr "" + +#: client/client_data.c:148 +msgid "Console Commands" +msgstr "" + +#: client/client_data.c:149 +msgid "Game Rules" +msgstr "" + +#: client/client_data.c:150 +msgid "Transfers" +msgstr "" + +#: client/client_data.c:152 +msgid "" +"To challenge a user you first have to select him/her in the upper right list " +"and the levelset you want to play from the list below. Then you adjust the " +"game settings to your likings and hit the 'Challenge' button which will send " +"your challenge to the other user who will either accept or decline. If (s)he " +"accepts a direct connection will be established and the game will start." +"##DIFFICULTY: This influences ball speed, paddle size and score as for " +"single player modus. (1 = Easy, 2 = Medium, 3 = Hard)##ROUNDS: This is the " +"number of rounds played per level. Winning a round scores one point and the " +"player with the most points wins the match.##FRAGS: In a pingpong level (no " +"bricks) a player gains a frag everytime the opponent looses a ball. 'frag' " +"is a bad name for this, should be pingpong winning score or something but " +"'frags' is simply shorter. The player who hits this limit first wins the " +"round.#In levels with bricks this option is ignored and the level is over " +"after all bricks were cleared.##BALLS: In a pingpong level (no bricks) each " +"player may fire multiple balls up to this number. If a player looses a ball " +"he may fire it again.#In normal levels (with bricks) this option is ignored " +"and a gets a new ball after five seconds penalty time." +msgstr "" + +#: client/client_data.c:175 +msgid "" +"To switch a channel hit the 'C' button above the user list. You can enter " +"either an existing or a new channel. You can only talk to and challenge " +"users in the same channel." +msgstr "" + +#: client/client_data.c:179 +msgid "" +"User Console Commands:##/search #Search for a user in all channels.##/" +"version#Display version of transmission protocol.##/info#Display current " +"userlimit and frame rate.##Admin Console Commands:##/admin_says " +"#Broadcast a message to all chatting users.##/kick #Kick user by " +"that name.##/addbot #Add a paddle bot. The speed is defined in " +"pixels per second. 800 to 1000 is a good value.##/delbot #Delete " +"paddle bot.##/set #Set a variable to a new value:# userlimit: " +"is the number of users that may login. If decreased with too many users " +"online no one is kicked. This limit does not matter for admin login.# fps: " +"is how many times a second the server calls up the communication and sends/" +"receives packets. This should not be too high to prevent network flooding. " +"40 is a good value.# packetlimit: if not -1 this is the number of packets " +"parsed in one communication step. -1 which is the default means the queue is " +"parsed until empty##/addset #Load a new levelset that has been copied " +"to the levels directory and make it available to the users.##/halt#Halt " +"server after 5 seconds and inform all users, even the playing ones, about " +"this." +msgstr "" + +#: client/client_data.c:208 +#, no-c-format +msgid "" +"Basically you play the game as in single player mode but their are some " +"special things you might find useful to know.##PINGPONG:#The point here is " +"to play it fast and to use all of your balls. Use the right and left mouse " +"button to fire the balls while moving the paddle. Your opponent will have " +"trouble to reflect all balls if you do it right. If you are not sure wether " +"you got balls left click anyway. Keep the button pressed for a while! The " +"fire rate is restricted to one ball every 500 milliseconds.##NORMAL:#Your " +"goal here is too gain more score than your opponent to win a round. " +"Basically you do this by clearing bricks and collecting extras but there are " +"some other ways as well:#1) To loose a ball means to loose 10% score. After " +"five seconds penalty a new ball is created and you can continue playing.#2) " +"Hitting your opponents paddle with the plasma weapon will give you 1000 " +"points while stealing him/her the same amount.#3) Bonus/malus magnet will " +"attract _all_ bonuses/maluses even those released by your opponent.##Note: " +"If you pause the game by pressing 'p' a chat will pop up and you can talk to " +"your opponent." +msgstr "" + +#: client/client_data.c:231 +msgid "" +"You cannot offer someone your levelset unless this user wants to receive " +"your set which requires the following steps:#1) select the user to whom you " +"want to listen#2) press the 'L' button above the levelset list#3) wait for " +"offer or cancel 'listening'#The receiver is now ready and the sender has to:" +"#1) select the listening user#2) select the levelset (s)he wants to " +"transfer#3) hit the 'T' button above the levelset list#If the receiver has " +"this levelset already located in ~/.lgames/lbreakout2-levels and it is up-to-" +"date the transfer does not take place otherwise the receiver is asked to " +"confirm and if (s)he does so the set is transferred to the home directory " +"and directly available if intended for network. (starts with 'MP_')#NOTE: " +"Only the challenger is required to have the levelset so you don not have to " +"transfer sets to play with someone. However if your opponent likes your set " +"and wants to challenge others with it both can engage into a transfer." +msgstr "" + +#: client/client_handlers.c:114 +#, c-format +msgid "disconnected from %s" +msgstr "" + +#: client/client_handlers.c:151 +#, c-format +msgid "ERROR: address %s does not resolve" +msgstr "" + +#: client/client_handlers.c:165 +msgid "unused" +msgstr "" + +#: client/client_handlers.c:170 +msgid "connecting" +msgstr "" + +#: client/client_handlers.c:170 +msgid "retry" +msgstr "" + +#: client/client_handlers.c:188 +#, c-format +msgid "%s: connected!" +msgstr "" + +#: client/client_handlers.c:192 +#, c-format +msgid "ERROR: connection refused: %s" +msgstr "" + +#: client/client_handlers.c:200 +msgid "ERROR: server does not respond" +msgstr "" + +#: client/client_handlers.c:322 +msgid "You must select a user to whisper!" +msgstr "" + +#: client/client_handlers.c:408 +msgid "You must select a user for a challenge." +msgstr "" + +#: client/client_handlers.c:412 +msgid "You must select a levelset for a challenge." +msgstr "" + +#: client/client_handlers.c:416 +msgid "You can't challenge yourself." +msgstr "" + +#: client/client_handlers.c:439 +#, c-format +msgid "You have challenged %s. Let's see what (s)he says..." +msgstr "" + +#: client/client_recv.c:128 +#, c-format +msgid "ERROR: %s" +msgstr "" + +#: client/client_recv.c:135 +#, c-format +msgid "%s is busy at the moment." +msgstr "" + +#: client/client_recv.c:145 client/comm.c:212 +#, c-format +msgid "comm_delay set to %i\n" +msgstr "" + +#: client/client_recv.c:233 +#, c-format +msgid "" +" You have been challenged!## Challenger: %13s# Levelset: %13s# " +"Difficulty: %13s# Rounds: %13i# Frag Limit: %13i# Balls: %" +"13i" +msgstr "" + +#: client/client_recv.c:249 +#, c-format +msgid "%s is too scared to accept your challenge." +msgstr "" + +#: client/client_recv.c:256 +#, c-format +msgid "%s got cold feet." +msgstr "" + +#: client/client_recv.c:313 +#, c-format +msgid "chat: state %i: invalid message %x: skipping %i bytes\n" +msgstr "" + +#: client/comm.c:221 +msgid "You've been disconnected." +msgstr "" + +#: client/comm.c:245 +msgid "corrupted level data" +msgstr "" + +#: client/comm.c:266 +msgid "Remote player has paused the game." +msgstr "" + +#: client/comm.c:377 +#, c-format +msgid "game: state %i: invalid message %x: skipping %i bytes\n" +msgstr "" + +#: client/config.c:71 +msgid "Mr.X" +msgstr "" + +#: client/config.c:72 +msgid "Mr.Y" +msgstr "" + +#: client/config.c:73 +msgid "Mr.Z" +msgstr "" + +#: client/config.c:122 +msgid "player" +msgstr "" + +#: client/editor.c:266 +#, c-format +msgid "Location: %s" +msgstr "" + +#: client/editor.c:270 +#, c-format +msgid "Current Level: %i/%i (Free: %i)" +msgstr "" + +#: client/editor.c:276 +#, c-format +msgid "*** Level %i Marked For Swap ***" +msgstr "" + +#: client/editor.c:281 +#, c-format +msgid "Version: %s " +msgstr "" + +#: client/editor.c:286 +#, c-format +msgid "Title: %s" +msgstr "" + +#: client/editor.c:289 +#, c-format +msgid "Author: %s" +msgstr "" + +#: client/editor.c:400 +msgid "noname" +msgstr "" + +#: client/editor.c:400 +msgid "untitled" +msgstr "" + +#: client/editor.c:484 +msgid "Discard All Changes? y/n" +msgstr "" + +#: client/editor.c:494 +msgid "Save Changes? y/n" +msgstr "" + +#: client/editor.c:498 +msgid "Clear Level? y/n" +msgstr "" + +#: client/editor.c:509 +msgid "Add Level? y/n" +msgstr "" + +#: client/editor.c:516 +msgid "Insert Level? y/n" +msgstr "" + +#: client/editor.c:526 +msgid "Delete Level? y/n" +msgstr "" + +#: client/editor.c:548 +msgid "Levelset Version:" +msgstr "" + +#: client/editor.c:641 +msgid "Author's Name:" +msgstr "" + +#: client/editor.c:646 +msgid "Title:" +msgstr "" + +#: client/editor.c:785 +msgid "Quit Editor? y/n" +msgstr "" + +#: client/game.c:314 +#, c-format +msgid "" +"%s, you hit %d Jumping Jacks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" + +#: client/game.c:319 +#, c-format +msgid "" +"%s, you stopped %d Outbreaks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" + +#: client/game.c:324 +#, c-format +msgid "" +"%s, you broke through %d Barriers!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" + +#: client/game.c:329 +#, c-format +msgid "%s, you shot %d Sitting Ducks!##Your score: %6d" +msgstr "" + +#: client/game.c:334 +#, c-format +msgid "" +"%s, you hunted down %d bricks!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" + +#: client/game.c:339 +#, c-format +msgid "" +"%s, you stopped %d waves#killing a total of %d invaders!##Your average " +"ratio: %5d%%# Your score: %6d" +msgstr "" + +#: client/game.c:540 +msgid "Pause" +msgstr "" + +#: client/game.c:543 +msgid "You have paused the game." +msgstr "" + +#: client/game.c:583 +msgid "" +"Quit Game? y/n#(If yes, this game may be resumed later.#No highscore entry " +"is created yet.)" +msgstr "" + +#: client/game.c:585 +msgid "Quit Game? y/n" +msgstr "" + +#: client/game.c:593 +msgid "Restart Level? y/n" +msgstr "" + +#: client/game.c:642 +msgid "Warp to next level? y/n" +msgstr "" + +#: client/game.c:788 +#, c-format +msgid "" +"***** Round %i *****###You control the %s paddle in this level!#To fire a " +"ball keep the mouse button PRESSED.#Don't just click.###Press any key when " +"you are ready...###(You can pause the game with 'p' any time.)###NOTE: Due " +"to latency, bonuses on the server are closer than they appear! I'll try to " +"work on that." +msgstr "" + +#: client/game.c:793 +msgid "BOTTOM" +msgstr "" + +#: client/game.c:793 +msgid "TOP" +msgstr "" + +#: client/game.c:800 +msgid "DRAW" +msgstr "" + +#: client/game.c:804 +msgid "You have won this round!" +msgstr "" + +#: client/game.c:806 +msgid "You have lost this round." +msgstr "" + +#: client/game.c:829 +#, c-format +msgid "" +" Result: %s ## %12s %" +"12s##Wins: %12i %12i#Losses: %12i %" +"12i#Draws: %12i %12i##Total Score: %12i %12i##Balls " +"Kept: %11i%% %11i%%#Bricks Cleared: %11i%% %11i%%#Extras Collected: %" +"11i%% %11i%%##(Press SPACE to continue)" +msgstr "" + +#: client/game.c:841 +msgid "VICTORY" +msgstr "" + +#: client/game.c:841 +msgid " DEFEAT" +msgstr "" + +#: client/game.c:841 +msgid " DRAW" +msgstr "" + +#: client/game.c:873 +#, c-format +msgid "ERROR: couldn't save game!\n" +msgstr "" + +#: client/game.c:983 +msgid "nobody" +msgstr "" + +#: client/game.c:1046 client/game.c:1261 +msgid "Receiving level data..." +msgstr "" + +#: client/game.c:1200 client/game.c:1258 client/game.c:1458 +msgid "Receiving final stats..." +msgstr "" + +#: client/game.c:1219 +#, c-format +msgid "Next Player: %s" +msgstr "" + +#: client/game.c:1337 +msgid "You've cleared all levels...#Congratulations!!!" +msgstr "" + +#: client/game.c:1373 +#, c-format +msgid "" +"You've lost all lives...#Do you want to buy a continue#for 100%% of your " +"score? y/n" +msgstr "" + +#: client/game.c:1384 +msgid "Game Over!" +msgstr "" + +#: client/game.c:1411 client/misc.c:149 +msgid "y" +msgstr "" + +#: client/game.c:1411 client/misc.c:150 +msgid "n" +msgstr "" + +#: client/game.c:1470 +#, c-format +msgid "warp penalty: -%d\n" +msgstr "" + +#: client/game.c:1507 +#, c-format +msgid "Time: %.2f, Frames: %i -> FPS: %.2f\n" +msgstr "" + +#: client/help.c:48 client/manager.c:623 +msgid "Quick Help" +msgstr "" + +#: client/help.c:63 +#, c-format +msgid ": Quit : Next Page : Previous Page" +msgstr "" + +#: client/help.c:114 +msgid "Bonuses:" +msgstr "" + +#: client/help.c:115 +msgid "Expand paddle" +msgstr "" + +#: client/help.c:116 +msgid "Extra life" +msgstr "" + +#: client/help.c:117 +msgid "Sticky paddle" +msgstr "" + +#: client/help.c:118 +msgid "Plasma weapon" +msgstr "" + +#: client/help.c:119 +msgid "200 - 10,000 points extra score" +msgstr "" + +#: client/help.c:120 +msgid "Extra ball" +msgstr "" + +#: client/help.c:121 +msgid "Energy balls (penetrate bricks)" +msgstr "" + +#: client/help.c:122 +msgid "Bonus floor" +msgstr "" + +#: client/help.c:123 +msgid "Deccelerate balls to minimum speed" +msgstr "" + +#: client/help.c:124 +msgid "1,000 points extra score from bricks with no bonus" +msgstr "" + +#: client/help.c:125 +msgid "Instantly collect all bonuses and destroy all maluses" +msgstr "" + +#: client/help.c:126 +msgid "Explosive balls" +msgstr "" + +#: client/help.c:127 +msgid "Paddle attracts bonuses" +msgstr "" + +#: client/help.c:131 +msgid "Maluses:" +msgstr "" + +#: client/help.c:132 +msgid "Shrink paddle" +msgstr "" + +#: client/help.c:133 +msgid "Accelerate balls" +msgstr "" + +#: client/help.c:134 +msgid "Freeze paddle" +msgstr "" + +#: client/help.c:135 +msgid "Random ball reflection at bricks" +msgstr "" + +#: client/help.c:136 +msgid "Darkness" +msgstr "" + +#: client/help.c:137 +msgid "Paddle attracts maluses" +msgstr "" + +#: client/help.c:138 +msgid "Paddle disappears when not moving" +msgstr "" + +#: client/help.c:139 +#, no-c-format +msgid "40% chance that a ball doesn't damage brick" +msgstr "" + +#: client/help.c:169 +msgid "Hints:" +msgstr "" + +#: client/help.c:171 +msgid "<<'In Game'-Keys>>" +msgstr "" + +#: client/help.c:172 +msgid " p Pause game. (and enter chatroom in network game)" +msgstr "" + +#: client/help.c:173 +msgid " s Enable/Disable sound." +msgstr "" + +#: client/help.c:174 +msgid " a Change animation level (off/low/high)." +msgstr "" + +#: client/help.c:175 +msgid " f Switch fullscreen/windowed mode." +msgstr "" + +#: client/help.c:176 +msgid " NOTE: Changing resolution takes a while so this is done best" +msgstr "" + +#: client/help.c:177 +msgid " when game's paused." +msgstr "" + +#: client/help.c:178 +msgid " r Restart level." +msgstr "" + +#: client/help.c:179 +msgid " d Disintegrate single bricks. (AddOn's only)" +msgstr "" + +#: client/help.c:180 +msgid "" +" w Warp to next level after enough bricks where cleared. (AddOn's only)" +msgstr "" + +#: client/help.c:181 +msgid " Shift Shows highest score of set instead of your score as long as you" +msgstr "" + +#: client/help.c:182 +msgid " hold it down." +msgstr "" + +#: client/help.c:183 +msgid " Tab Take a screenshot." +msgstr "" + +#: client/help.c:184 +msgid " Esc Quit game." +msgstr "" + +#: client/help.c:186 +msgid "Pressing the left or right mouse button will fire attached balls either" +msgstr "" + +#: client/help.c:187 +msgid "" +"to the left or right direction if 'Ball Fire Angle' in 'Advanced Options'" +msgstr "" + +#: client/help.c:188 +msgid "is not set to 'Random'." +msgstr "" + +#: client/help.c:209 +msgid "Neutral Power-Ups:" +msgstr "" + +#: client/help.c:211 +msgid "Any of the listed bonuses/maluses." +msgstr "" + +#: client/help.c:212 +msgid "Resets all active bonuses and maluses." +msgstr "" + +#: client/help.c:213 +msgid "Adds 7 seconds to all active bonuses/maluses." +msgstr "" + +#: client/help.c:217 +msgid "Special Bricks:" +msgstr "" + +#: client/help.c:219 +msgid "Indestructible." +msgstr "" + +#: client/help.c:220 +msgid "May only be destroyed by energy ball else it's indestructible." +msgstr "" + +#: client/help.c:221 +msgid "As above and balls are reflected randomly at this brick." +msgstr "" + +#: client/help.c:222 +msgid "Needs three hits to be destroyed." +msgstr "" + +#: client/help.c:223 +msgid "As above and regenerates durability every 4 seconds." +msgstr "" + +#: client/help.c:224 +msgid "Explodes and destroys all nearby bricks." +msgstr "" + +#: client/help.c:225 +msgid "Creates up to 8 bricks on destruction." +msgstr "" + +#: client/help.c:249 +msgid "Troubleshooting:" +msgstr "" + +#: client/help.c:251 +msgid "" +"* In fullscreen mode the window keeps it size just adding a black frame?" +msgstr "" + +#: client/help.c:252 +msgid " - Maybe you do not have 640x480 as resolution available? Check your" +msgstr "" + +#: client/help.c:253 +msgid " X configuration." +msgstr "" + +#: client/help.c:254 +msgid "* Sounds seem to be out of sync and are played with some delay?" +msgstr "" + +#: client/help.c:255 +msgid "" +" - Set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). If this results" +msgstr "" + +#: client/help.c:256 +msgid " in a lot of errors killing artsd (or esd) may help." +msgstr "" + +#: client/help.c:257 +msgid "* LBreakout2 gets mute while playing when switching on/off sounds?" +msgstr "" + +#: client/help.c:258 +msgid "" +" - SDL_mixer seems to mute active channels. You shouldn't enable/disable" +msgstr "" + +#: client/help.c:259 +msgid " sounds to often as you'll propably loose all channels then." +msgstr "" + +#: client/help.c:263 +msgid "Manual:" +msgstr "" + +#: client/help.c:264 +msgid "" +"This is just a quick help with the most important facts about LBreakout2." +msgstr "" + +#: client/help.c:265 +msgid "" +"If you want more and better information check out the manual installed to" +msgstr "" + +#: client/help.c:266 +msgid "/usr/doc/lbreakout2 or the online version at http://lgames.sf.net." +msgstr "" + +#: client/help.c:267 +msgid "" +"And if you have questions (not answered by the manual) or you found a bug" +msgstr "" + +#: client/help.c:268 +msgid "or you just want to drop a general note about LBreakout2 just mail to:" +msgstr "" + +#: client/help.c:269 +msgid " kulkanie@gmx.net" +msgstr "" + +#: client/help.c:270 +msgid " Enjoy the game!" +msgstr "" + +#: client/help.c:271 +msgid " Michael Speck" +msgstr "" + +#: client/main.c:192 +msgid "Set Name:" +msgstr "" + +#: client/manager.c:58 +msgid "There's nasty work out there waiting for you... better stay here!" +msgstr "" + +#: client/manager.c:59 +msgid "" +"If you turn animations low there'll be less details which will speed up the " +"game a great deal." +msgstr "" + +#: client/manager.c:60 +msgid "Enable/disable transparency of bonuses and animations." +msgstr "" + +#: client/manager.c:61 +msgid "" +"If you disable shadows it will speed up the game but won't look that " +"good. ;-)" +msgstr "" + +#: client/manager.c:62 +msgid "" +"If this is enabled you'll see the time left for all bonuses and maluses at " +"the right side of the screen." +msgstr "" + +#: client/manager.c:63 +msgid "" +"You may run LBreakout2 either fullscreen or windowed. This switch may be " +"done anywhere by pressing 'f'." +msgstr "" + +#: client/manager.c:64 +msgid "" +"You you don't want LBreakout2 to consume all of your CPU (best performance) " +"limit the frame rate." +msgstr "" + +#: client/manager.c:65 +msgid "" +"As long as this option is enabled the paddle is treated as convex allowing " +"easy aiming. If you disable this option the real physics will show up and " +"you'll have to influence the ball by paddle movement and the hemispherical " +"ends. For cracks only!" +msgstr "" + +#: client/manager.c:68 +msgid "" +"If you can't see the ball because of thousands of bonuses coming down set " +"this option to 'Above Bonuses'" +msgstr "" + +#: client/manager.c:69 +msgid "" +"If you can't see the ball because of all the debris coming down set this " +"option to 'Below Balls'" +msgstr "" + +#: client/manager.c:70 +msgid "" +"Enable/disable these quick hints. See the manual for more information about " +"how to use LBreakout2!" +msgstr "" + +#: client/manager.c:71 +msgid "Adjust the paddle speed for movement by keys. (pixels per second)" +msgstr "" + +#: client/manager.c:72 +msgid "" +"These are the number of players and their names. If one player looses a ball " +"or restarts the level it's the next player's turn." +msgstr "" + +#: client/manager.c:73 +msgid "" +"KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-" +"200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle " +"Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:" +"#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/" +"sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 " +"pixels/sec#Bonus: +30%" +msgstr "" + +#: client/manager.c:77 +msgid "Play the original LBreakout2 levelset." +msgstr "" + +#: client/manager.c:78 +msgid "Play the additional levelset selected below." +msgstr "" + +#: client/manager.c:79 +msgid "" +"This is the list of the levelsets found in ~/.lgames/lbreakout2-levels which " +"you may edit. If you choose and click on 'Edit Set' below " +"you'll be asked to enter a levelsetname and the new levelset will be saved " +"in a file by this name." +msgstr "" + +#: client/manager.c:82 +msgid "" +"Click here to edit the levelset chosen above.##NOTE: To switch to the bonus " +"set you'll have to right-click on the brick set and vice versa!" +msgstr "" + +#: client/manager.c:83 +msgid "Click here to delete the chosen levelset (after confirmation)." +msgstr "" + +#: client/manager.c:84 +msgid "" +"If you use the keyboard for input these are the keys for moving the paddle " +"('Paddle Turbo' will double the speed while pressed.), firing balls/shots " +"and returning the ball to paddle after a timeout of ten seconds.##Note: If " +"balls are fired at a random angle (which has become the default) there is no " +"difference between the left or right fire key. A sticky paddle stops a ball " +"until any fire button is pressed but the movement angle is the one from the " +"normal reflection. To reset the movement angle to -50 or +50 degrees check " +"out 'Ball Fire Angle' in 'Advanced Options'.##While pressed, the 'Ball " +"Turbo' will bring all balls to the maximum speed defined in 'Advanced " +"Options'." +msgstr "" + +#: client/manager.c:89 +msgid "" +"This modifies the relative motion of the mouse. (percent) The higher this " +"value is the faster the mouse moves." +msgstr "" + +#: client/manager.c:91 +msgid "" +"If for some reason your mouse movement is inverted you can fix it with this " +"option." +msgstr "" + +#: client/manager.c:92 +msgid "" +"If a ball does not damage a brick within ten seconds it is allowed to return " +"to the paddle. If this option is set to 'Auto' it will automatically return " +"and if this option is set to 'By Click' you'll have to press the middle " +"mousebutton or the 'back'-key (default is Backspace)." +msgstr "" + +#: client/manager.c:95 +msgid "" +"Click here to apply the theme you selected above. Please check the manual at " +"lgames.sf.net for information on how to create a theme." +msgstr "" + +#: client/manager.c:97 +msgid "" +"IP address of the game server as xxx.xxx.xxx.xxx.#DO NOT use 'localhost' if " +"you run the server on your computer. You won't be able to challenge others. " +"Use your IP queried by /sbin/ifconfig instead." +msgstr "" + +#: client/manager.c:98 +msgid "Port the game server is bound to." +msgstr "" + +#: client/manager.c:99 +msgid "" +"If you're successfully connected to the game server this is your nickname " +"there." +msgstr "" + +#: client/manager.c:100 +msgid "Connect to game server." +msgstr "" + +#: client/manager.c:101 +msgid "A local game with up to 4 alternating players." +msgstr "" + +#: client/manager.c:102 +msgid "A two-player or deathmatch game via Internet or LAN." +msgstr "" + +#: client/manager.c:105 +msgid "" +"This is the levelset you actually want to play. Note, that each levelset got " +"it's own highscore chart (left/right-click on the chart on the right). A " +"levelset is either load from ~/.lgames/lbreakout2-levels or the installation " +"directory." +msgstr "" + +#: client/manager.c:108 +msgid "" +"This is the list of available themes. Choose any theme and click 'Apply' to " +"select it" +msgstr "" + +#: client/manager.c:109 +msgid "" +"After you destroyed this percentage of bricks you MAY warp to the next level " +"by pressing 'w'. That is indicated by a small icon at the bottom right-hand " +"side of the screen.#If you set this option to 0 you may instantly warp " +"whereas 100 means you have to destroy all bricks.##Note, that this option " +"does not apply for the levelsets 'Original' and 'LBreakout1'!" +msgstr "" + +#: client/manager.c:111 +msgid "" +"In this menu you can change the appearance of LBreakout. Included to the " +"release are the three winning themes from the Linux Game Tome contest " +"'absoluteB','Oz' and 'Moiree' along with the old graphics as theme 'Classic'." +"#For more themes check out http://lgames.sf.net." +msgstr "" + +#: client/manager.c:112 +msgid "" +"Linear:#++ There is no chance for balls to get infinitely stuck in a brick " +"bounce combo.#-- It is quite hard for balls to enter narrow passages." +"##Spherical:#++ Feels better and balls can easily pass through small gaps." +"#-- There is a chance for balls to get infinitely stuck within a series of " +"indestructible brick reflections if the level is too wrinkled. However, with " +"the auto return option this is no problem so 'Spherical' is the default." +msgstr "" + +#: client/manager.c:118 +msgid "" +"Network communication is handled by a single UDP socket which will be bound " +"to this port number." +msgstr "" + +#: client/manager.c:120 +msgid "" +"If '50' the ball is shot at an angle of 50 degrees to the left or right, " +"depending on which fire button has been pressed. If it is set to 'random' " +"the ball is fired at a random angle. In this case a sticky paddle simply " +"halts the normal reflection until any fire button has been pressed." +msgstr "" + +#: client/manager.c:124 +msgid "" +"While you keep the middle mouse button pressed (or the acceleration key) all " +"balls will go this velocity. (in pixels per second)" +msgstr "" + +#: client/manager.c:126 +msgid "" +"If on, normal levelsets will have a random bonus level every four normal " +"levels.##Note: You can skip a bonus level any time by loosing the ball. This " +"will not loose a life but bring you directly to the next level." +msgstr "" + +#: client/manager.c:129 +msgid "Play *ALL* available levels in a random order." +msgstr "" + +#: client/manager.c:130 +msgid "The complete levelset of LBreakout1 with just minor modifications." +msgstr "" + +#: client/manager.c:131 +msgid "" +"There is only one brick with a limited lifetime. Your task is to hit it " +"before it vanishes. If you succeed, the brick is reset somewhere else with " +"less lifetime. If you don't, the game is over. The faster you hit a brick, " +"the more score you will gain. How much seconds a brick is still there, you " +"can see at the lower right-hand side of the screen.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" + +#: client/manager.c:140 +msgid "" +"Your task is to prevent an outbreak by clearing all bricks. Every few " +"seconds a new one will appear somewhere, forcing you to act quickly. If you " +"succeed in clearing a level, it is reset to five bricks, but this time new " +"ones will spring into existence faster. You loose, if you cannot manage to " +"clear the screen before 50 bricks were created (which does not mean 50 " +"bricks are on the screen!). How far you are away from that limit you can see " +"in the lower right-hand side of the screen. Score is only gained for a " +"complete clearance, not for destroying single bricks! The farther you are " +"way from the 50 bricks limit the more it will be.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" + +#: client/manager.c:153 +msgid "" +"This time you have to crush through a wall and hit some bricks behind it. If " +"you succeed the wall is reset and one line bigger next time. The earlier you " +"manage to break through, the more score you'll get. No surprise, is it? What " +"makes this fun, is the fact that the wall is moving towards you. If it " +"reaches your paddle, you are out. Whenever you successfully broke through, " +"the ball will return the paddle and get attached. You then have to fire it " +"again. The wall cannot grow bigger than 12 lines. How many lines the barrier " +"is away from your paddle, is shown in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" + +#: client/manager.c:165 +msgid "" +"There are eight bricks and the ball is attached in the middle at the " +"ceiling. When it is released, one brick is highlighted and your task is to " +"hit this brick. If you manage to do so, you'll get some score and the " +"situation is reset. If you do not hit the highlighted brick AS THE VERY " +"FIRST THING, it will be destroyed until all bricks are gone. The more bricks " +"you hit in a row, the more score you will get for the next one. The score's " +"worth of the next brick you can see in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level." +msgstr "" + +#: client/manager.c:174 +msgid "" +"Your task is to hunt down bricks by moving a chaos brick indirectly. " +"Therefore each side of the playing field has a brick color and you can hit " +"small pads bearing these colors. When you hit one, the chaos brick will move " +"toward the appropiate side. You must not hit the bordering bricks and you " +"must get to the brick within a time limit, as always displayed in the lower " +"right-hand side of the screen. The faster you are, the more score you'll " +"gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" + +#: client/manager.c:184 +msgid "" +"Stop the invading brick waves! Each waves consists of 50 bricks which will " +"get faster and faster. Each brick will give you some score. If you clear the " +"screen completely, the wave will also be over and you will receive some " +"extra score depending on the number of remaining wave bricks. One way or the " +"other, if a wave is over, the next one will start with higher speed and more " +"score until you let a brick come down to paddle level.##Loosing your ball " +"means going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN " +"'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! " +"Otherwise you won't stand a chance as these levels require a lot of skill!" +msgstr "" + +#: client/manager.c:242 client/manager.c:434 +msgid "!JUMPING_JACK!" +msgstr "" + +#: client/manager.c:243 client/manager.c:437 +msgid "!OUTBREAK!" +msgstr "" + +#: client/manager.c:244 client/manager.c:440 +msgid "!BARRIER!" +msgstr "" + +#: client/manager.c:245 client/manager.c:443 +msgid "!SITTING_DUCKS!" +msgstr "" + +#: client/manager.c:246 client/manager.c:446 +msgid "!HUNTER!" +msgstr "" + +#: client/manager.c:247 client/manager.c:449 +msgid "!INVADERS!" +msgstr "" + +#: client/manager.c:376 +#, c-format +msgid "You cannot delete '%s'!\n" +msgstr "" + +#: client/manager.c:456 +#, c-format +msgid "%s v%i.%02i#Author: %s" +msgstr "" + +#: client/manager.c:463 +#, c-format +msgid "No info available." +msgstr "" + +#: client/manager.c:506 +msgid "No Limit" +msgstr "" + +#: client/manager.c:506 +msgid "100 FPS" +msgstr "" + +#: client/manager.c:507 client/manager.c:652 client/manager.c:655 +#: client/manager.c:664 client/manager.c:718 client/manager.c:722 +#: client/manager.c:731 client/manager.c:739 +msgid "Off" +msgstr "" + +#: client/manager.c:507 +msgid "Low" +msgstr "" + +#: client/manager.c:507 client/manager.c:508 +msgid "Medium" +msgstr "" + +#: client/manager.c:507 +msgid "High" +msgstr "" + +#: client/manager.c:508 +msgid "Kids" +msgstr "" + +#: client/manager.c:508 +msgid "Easy" +msgstr "" + +#: client/manager.c:508 +msgid "Hard" +msgstr "" + +#: client/manager.c:603 +msgid "Menu" +msgstr "" + +#: client/manager.c:605 client/manager.c:627 +msgid "Options" +msgstr "" + +#: client/manager.c:607 client/manager.c:630 client/manager.c:644 +msgid "Graphics" +msgstr "" + +#: client/manager.c:608 client/manager.c:619 +msgid "Local Game" +msgstr "" + +#: client/manager.c:609 client/manager.c:629 client/manager.c:643 +msgid "Controls" +msgstr "" + +#: client/manager.c:610 client/manager.c:636 +msgid "Advanced Options" +msgstr "" + +#: client/manager.c:612 client/manager.c:632 client/manager.c:634 +#: client/manager.c:645 client/manager.c:646 +msgid "Audio" +msgstr "" + +#: client/manager.c:614 client/manager.c:638 +msgid "Editor" +msgstr "" + +#: client/manager.c:615 client/manager.c:750 +msgid "Delete Set" +msgstr "" + +#: client/manager.c:616 client/manager.c:671 +msgid "Select Theme" +msgstr "" + +#: client/manager.c:621 +msgid "Network Game" +msgstr "" + +#: client/manager.c:648 client/manager.c:660 client/manager.c:673 +#: client/manager.c:693 client/manager.c:720 client/manager.c:741 +#: client/manager.c:752 +msgid "Back" +msgstr "" + +#: client/manager.c:652 +msgid "Sound:" +msgstr "" + +#: client/manager.c:652 client/manager.c:655 client/manager.c:664 +#: client/manager.c:718 client/manager.c:722 client/manager.c:731 +#: client/manager.c:739 +msgid "On" +msgstr "" + +#: client/manager.c:655 +msgid "Speech:" +msgstr "" + +#: client/manager.c:656 +msgid "Volume:" +msgstr "" + +#: client/manager.c:663 +msgid "Animations:" +msgstr "" + +#: client/manager.c:664 +msgid "Bonus Info:" +msgstr "" + +#: client/manager.c:666 +msgid "Display:" +msgstr "" + +#: client/manager.c:666 +msgid "Window" +msgstr "" + +#: client/manager.c:666 +msgid "Fullscreen" +msgstr "" + +#: client/manager.c:669 +msgid "Frame Rate:" +msgstr "" + +#: client/manager.c:675 +msgid "Resume Last Game" +msgstr "" + +#: client/manager.c:678 +msgid "Start Original Set" +msgstr "" + +#: client/manager.c:679 +msgid "Start AddOn" +msgstr "" + +#: client/manager.c:681 +msgid "AddOn:" +msgstr "" + +#: client/manager.c:687 +msgid "Players:" +msgstr "" + +#: client/manager.c:688 +msgid "1st:" +msgstr "" + +#: client/manager.c:689 +msgid "2nd:" +msgstr "" + +#: client/manager.c:690 +msgid "3rd:" +msgstr "" + +#: client/manager.c:691 +msgid "4th:" +msgstr "" + +#: client/manager.c:695 +msgid "Left:" +msgstr "" + +#: client/manager.c:696 +msgid "Right:" +msgstr "" + +#: client/manager.c:697 +msgid "Left Fire:" +msgstr "" + +#: client/manager.c:698 +msgid "Right Fire:" +msgstr "" + +#: client/manager.c:699 +msgid "Paddle Turbo:" +msgstr "" + +#: client/manager.c:700 +msgid "Ball Turbo:" +msgstr "" + +#: client/manager.c:701 +msgid "Return:" +msgstr "" + +#: client/manager.c:712 +msgid "Key Speed:" +msgstr "" + +#: client/manager.c:715 +msgid "Motion Modifier:" +msgstr "" + +#: client/manager.c:718 +msgid "Invert Motion:" +msgstr "" + +#: client/manager.c:722 +msgid "Convex Paddle:" +msgstr "" + +#: client/manager.c:725 +msgid "Ball Fire Angle:" +msgstr "" + +#: client/manager.c:727 +msgid "Random" +msgstr "" + +#: client/manager.c:728 +msgid "Below Bonuses" +msgstr "" + +#: client/manager.c:728 +msgid "Above Bonuses" +msgstr "" + +#: client/manager.c:729 +msgid "Debris:" +msgstr "" + +#: client/manager.c:729 +msgid "Below Balls" +msgstr "" + +#: client/manager.c:729 +msgid "Above Balls" +msgstr "" + +#: client/manager.c:730 +msgid "Return Balls:" +msgstr "" + +#: client/manager.c:730 +msgid "Auto" +msgstr "" + +#: client/manager.c:730 +msgid "By Click" +msgstr "" + +#: client/manager.c:731 +msgid "Use Hints:" +msgstr "" + +#: client/manager.c:734 +msgid "Warp Limit:" +msgstr "" + +#: client/manager.c:735 +msgid "Local UDP Port:" +msgstr "" + +#: client/manager.c:736 +msgid "Acc. Ball Speed:" +msgstr "" + +#: client/manager.c:739 +msgid "Add Bonus Levels:" +msgstr "" + +#: client/manager.c:744 +msgid "Set:" +msgstr "" + +#: client/manager.c:749 +msgid "Edit Set" +msgstr "" + +#: client/manager.c:754 +msgid "Yes" +msgstr "" + +#: client/manager.c:757 +msgid "No" +msgstr "" + +#: client/manager.c:759 +msgid "Theme:" +msgstr "" + +#: client/manager.c:764 +msgid "Apply" +msgstr "" + +#: client/theme.c:703 +msgid "NO INFO AVAILABLE" +msgstr "" + +#: client/value.c:40 +msgid "Space" +msgstr "" + +#: client/value.c:41 +msgid "Left" +msgstr "" + +#: client/value.c:42 +msgid "Right" +msgstr "" + +#: client/value.c:43 +msgid "Up" +msgstr "" + +#: client/value.c:44 +msgid "Down" +msgstr "" + +#: client/value.c:45 +msgid "Right Shift" +msgstr "" + +#: client/value.c:46 +msgid "Left Shift" +msgstr "" + +#: client/value.c:47 +msgid "Right Ctrl" +msgstr "" + +#: client/value.c:48 +msgid "Left Ctrl" +msgstr "" + +#: client/value.c:49 +msgid "Right Alt" +msgstr "" + +#: client/value.c:50 +msgid "Left Alt" +msgstr "" + +#: client/value.c:51 +msgid "BackSpace" +msgstr "" + +#: client/misc.c:212 +msgid "Waiting for remote answer..." +msgstr "" + +#: client/misc.c:231 +#, no-c-format +msgid "remote player cancelled the game\n" +msgstr "" + +#: client/misc.c:418 +#, c-format +msgid "Plane Of Inner Stability entered (Score: %i)" +msgstr "" + +#: client/misc.c:436 +#, no-c-format +msgid "Disintegrate Brick? (Costs 5% of your score.) y/n" +msgstr "" + +#: common/net.c:68 +#, c-format +msgid "unable to resolve %s: %s\n" +msgstr "" + +#: common/net.c:172 +#, c-format +msgid "UDP socket bound to %s:%i\n" +msgstr "" + +#: game/game.c:67 +#, c-format +msgid "Jumping Jack" +msgstr "" + +#: game/game.c:68 game/game.c:72 game/game.c:76 game/game.c:80 game/game.c:84 +#: game/game.c:88 +#, c-format +msgid "Bonus Level" +msgstr "" + +#: game/game.c:71 +#, c-format +msgid "Outbreak" +msgstr "" + +#: game/game.c:75 +#, c-format +msgid "Barrier" +msgstr "" + +#: game/game.c:79 +#, c-format +msgid "Sitting Ducks" +msgstr "" + +#: game/game.c:83 +#, c-format +msgid "Hunter" +msgstr "" + +#: game/game.c:87 +#, c-format +msgid "Defender" +msgstr "" + +#: game/game.c:91 +#, c-format +msgid "Unknown Level Type" +msgstr "" + +#: game/levels.h:23 +msgid "" +msgstr "" + +#: game/levels.h:24 +msgid "!FREAKOUT!" +msgstr "" + +#: server/server.c:76 +#, c-format +msgid "server is going down...\n" +msgstr "" + +#: server/server.c:80 +#, c-format +msgid "SERVER IS GOING DOWN!!!" +msgstr "" + +#: server/server.c:111 +#, c-format +msgid "channel added: %s\n" +msgstr "" + +#: server/server.c:120 +#, c-format +msgid "channel deleted: %s (%i users)\n" +msgstr "" + +#: server/server.c:208 +#, c-format +msgid "user added: %s (%i) from %s\n" +msgstr "" + +#: server/server.c:238 +#, c-format +msgid "user removed: %s (%i)\n" +msgstr "" + +#: server/server.c:275 +#, c-format +msgid "You have been kicked! Reason: %s" +msgstr "" + +#: server/server.c:281 +#, c-format +msgid "user kicked (%s): %s (%i)\n" +msgstr "" + +#: server/server.c:316 +#, c-format +msgid "you have entered a new channel: %s" +msgstr "" + +#: server/server.c:455 +#, c-format +msgid "Login data corrupted, please retry." +msgstr "" + +#: server/server.c:460 +msgid "Your username may only contain letters, digits and underscores.\n" +msgstr "" + +#: server/server.c:473 +#, c-format +msgid "Your protocol is out of date, please update." +msgstr "" + +#: server/server.c:475 +#, c-format +msgid "Server uses an older protocol (%i), sorry." +msgstr "" + +#: server/server.c:480 +#, c-format +msgid "Server is full!" +msgstr "" + +#: server/server.c:484 +#, c-format +msgid "Please enter a name!" +msgstr "" + +#: server/server.c:488 +#, c-format +msgid "Your name must not contain blanks! (But can have underscores.)" +msgstr "" + +#: server/server.c:491 server/server.c:503 +msgid "admin" +msgstr "" + +#: server/server.c:492 +#, c-format +msgid "This name is already in use. Please choose another one." +msgstr "" + +#: server/server.c:527 +msgid "1 user online" +msgstr "" + +#: server/server.c:529 +#, c-format +msgid "%i users online" +msgstr "" + +#: server/server.c:586 +msgid "search" +msgstr "" + +#: server/server.c:588 +msgid "search: specify a user name!" +msgstr "" + +#: server/server.c:592 +msgid "search: user is not online." +msgstr "" + +#: server/server.c:594 +#, c-format +msgid "search: %s: in channel %s: %s" +msgstr "" + +#: server/server.c:596 +msgid "playing" +msgstr "" + +#: server/server.c:596 +msgid "chatting" +msgstr "" + +#: server/server.c:600 +msgid "version" +msgstr "" + +#: server/server.c:601 +#, c-format +msgid "transmission protocol: %i" +msgstr "" + +#: server/server.c:604 +msgid "info" +msgstr "" + +#: server/server.c:605 +#, c-format +msgid "user limit: %i#frame rate: %i#packet limit: %i" +msgstr "" + +#: server/server.c:609 +msgid "addset" +msgstr "" + +#: server/server.c:611 +msgid "addset: name missing" +msgstr "" + +#: server/server.c:627 +#, c-format +msgid "addset: file %s corrupted" +msgstr "" + +#: server/server.c:630 +#, c-format +msgid "addset: file %s not found" +msgstr "" + +#: server/server.c:632 +msgid "addbot" +msgstr "" + +#: server/server.c:634 +msgid "addbot: name missing" +msgstr "" + +#: server/server.c:638 +#, c-format +msgid "addbot: bot '%s' exists" +msgstr "" + +#: server/server.c:642 +msgid "addbot: strength missing" +msgstr "" + +#: server/server.c:648 +msgid "delbot" +msgstr "" + +#: server/server.c:650 +msgid "delbot: name missing" +msgstr "" + +#: server/server.c:654 +#, c-format +msgid "delbot: bot '%s' not found" +msgstr "" + +#: server/server.c:659 +msgid "set" +msgstr "" + +#: server/server.c:661 +msgid "set: variable missing" +msgstr "" + +#: server/server.c:665 +msgid "set: value missing" +msgstr "" + +#: server/server.c:669 +msgid "userlimit" +msgstr "" + +#: server/server.c:671 +#, c-format +msgid "userlimit: set to %i" +msgstr "" + +#: server/server.c:674 +msgid "packetlimit" +msgstr "" + +#: server/server.c:676 +#, c-format +msgid "packetlimit: set to %i" +msgstr "" + +#: server/server.c:679 +msgid "fps" +msgstr "" + +#: server/server.c:682 +#, c-format +msgid "fps: set to %i" +msgstr "" + +#: server/server.c:691 +msgid "kick" +msgstr "" + +#: server/server.c:693 +msgid "kick: specify a user name!" +msgstr "" + +#: server/server.c:697 +msgid "kick: user is not online." +msgstr "" + +#: server/server.c:706 +#, c-format +msgid "Sorry, but your opponent has been kicked!" +msgstr "" + +#: server/server.c:714 +#, c-format +msgid "ADMIN has kicked %s." +msgstr "" + +#: server/server.c:716 +msgid "admin kick" +msgstr "" + +#: server/server.c:720 +msgid "admin_says" +msgstr "" + +#: server/server.c:722 +msgid "info: a message is required!" +msgstr "" + +#: server/server.c:729 +#, c-format +msgid "ADMIN says: %s" +msgstr "" + +#: server/server.c:732 +msgid "halt" +msgstr "" + +#: server/server.c:736 +#, c-format +msgid "unknown command: %s" +msgstr "" + +#: server/server.c:771 server/server_game.c:397 +#, c-format +msgid "%s (%i) disconnected\n" +msgstr "" + +#: server/server.c:802 +#, c-format +msgid "There is no user by that name." +msgstr "" + +#: server/server.c:821 +#, c-format +msgid "Channel name must not contain blanks!" +msgstr "" + +#: server/server.c:841 +#, c-format +msgid "OpenGame message corrupted!" +msgstr "" + +#: server/server.c:843 +#, c-format +msgid "User with id %i does not exist!" +msgstr "" + +#: server/server.c:850 +#, c-format +msgid "channel %i: %s: invalid message %x: skipping %i bytes\n" +msgstr "" + +#: server/server.c:913 +msgid "Remote player has disconnected!" +msgstr "" + +#: server/server.c:916 +msgid "zombie" +msgstr "" + +#: server/server.c:981 +#, c-format +msgid "couldn't open directory %s!\n" +msgstr "" + +#: server/server.c:990 +#, c-format +msgid "loaded %i levelsets from directory %s\n" +msgstr "" + +#: server/server.c:1000 +#, c-format +msgid "" +"Usage:\n" +" lbreakout2server\n" +msgstr "" + +#: server/server.c:1001 +#, c-format +msgid " [-p ] Bind server to this port (Default: %i).\n" +msgstr "" + +#: server/server.c:1002 +#, c-format +msgid "" +" [-l ] Maximum number of users that can login to " +"server.\n" +msgstr "" + +#: server/server.c:1003 +#, c-format +msgid "" +" [-m ] The text in this file is send to new users on " +"login.\n" +msgstr "" + +#: server/server.c:1004 +#, c-format +msgid "" +" [-a ] The user logging in as will become\n" +msgstr "" + +#: server/server.c:1005 +#, c-format +msgid " the administrator named 'admin'.\n" +msgstr "" + +#: server/server.c:1009 +#, c-format +msgid "" +" [-f ] Number of send/recv handlings in a second.\n" +msgstr "" + +#: server/server.c:1010 +#, c-format +msgid " (Default: 33)\n" +msgstr "" + +#: server/server.c:1011 +#, c-format +msgid "" +" [-b ] Number of paddle bots with 800 and 1000 " +"strength\n" +msgstr "" + +#: server/server.c:1012 +#, c-format +msgid " each. (Default: 0)\n" +msgstr "" + +#: server/server.c:1044 +#, c-format +msgid "greetings file not found, setting directly: %s\n" +msgstr "" + +#: server/server.c:1051 +#, c-format +msgid "greetings loaded: %s\n" +msgstr "" + +#: server/server.c:1084 +#, c-format +msgid "server halted\n" +msgstr "" + +#: server/server.c:1105 +#, c-format +msgid "Welcome to LBreakout2 online!" +msgstr "" + +#: server/server.c:1125 +#, c-format +msgid "user limit is %i\n" +msgstr "" + +#: server/server.c:1126 +#, c-format +msgid "FPS: %i (delay: %i ms)\n" +msgstr "" + +#: server/server.c:1134 +#, c-format +msgid "BOT%i-800" +msgstr "" + +#: server/server.c:1139 +#, c-format +msgid "BOT%i-1000" +msgstr "" + +#: server/server.c:1189 +#, c-format +msgid "LBreakout2 has been compiled without network support.\n" +msgstr "" + +#: server/server_game.c:301 +#, c-format +msgid "game added: %s (%i): %i rounds: %s vs. %s\n" +msgstr "" + +#: server/server_game.c:312 +#, c-format +msgid "game deleted: %s (%i)\n" +msgstr "" + +#: server/server_game.c:394 +msgid "Remote player has disconnected..." +msgstr "" + +#: server/server_game.c:406 +msgid "Remote player has left the game..." +msgstr "" + +#: server/server_game.c:533 +#, c-format +msgid "game %i: %s: state %i: invalid message %x: skipping %i bytes\n" +msgstr "" diff --git a/po/quot.sed b/po/quot.sed new file mode 100644 index 0000000..0122c46 --- /dev/null +++ b/po/quot.sed @@ -0,0 +1,6 @@ +s/"\([^"]*\)"/“\1â€/g +s/`\([^`']*\)'/‘\1’/g +s/ '\([^`']*\)' / ‘\1’ /g +s/ '\([^`']*\)'$/ ‘\1’/g +s/^'\([^`']*\)' /‘\1’ /g +s/“â€/""/g diff --git a/po/remove-potcdate.sin b/po/remove-potcdate.sin new file mode 100644 index 0000000..2436c49 --- /dev/null +++ b/po/remove-potcdate.sin @@ -0,0 +1,19 @@ +# Sed script that remove the POT-Creation-Date line in the header entry +# from a POT file. +# +# The distinction between the first and the following occurrences of the +# pattern is achieved by looking at the hold space. +/^"POT-Creation-Date: .*"$/{ +x +# Test if the hold space is empty. +s/P/P/ +ta +# Yes it was empty. First occurrence. Remove the line. +g +d +bb +:a +# The hold space was nonempty. Following occurrences. Do nothing. +x +:b +} diff --git a/po/stamp-po b/po/stamp-po new file mode 100644 index 0000000..9788f70 --- /dev/null +++ b/po/stamp-po @@ -0,0 +1 @@ +timestamp diff --git a/po/tr.gmo b/po/tr.gmo new file mode 100644 index 0000000..c1e3503 Binary files /dev/null and b/po/tr.gmo differ diff --git a/po/tr.po b/po/tr.po new file mode 100644 index 0000000..8af5597 --- /dev/null +++ b/po/tr.po @@ -0,0 +1,2537 @@ +# translation of lbreakout.po to Turkish +# Muhammet Kara , 2006. +msgid "" +msgstr "" +"Project-Id-Version: lbreakout\n" +"Report-Msgid-Bugs-To: http://lgames.sf.net/contact.php\n" +"POT-Creation-Date: 2009-10-26 16:50+0100\n" +"PO-Revision-Date: 2006-10-31 10:12+0200\n" +"Last-Translator: Muhammet Kara \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Turkish\n" +"X-Generator: KBabel 1.11.4\n" + +#: client/chart.c:159 +#, c-format +msgid "Converting highscore chart as format changed.\n" +msgstr "Biçim deÄŸiÅŸtiÄŸi için yüksek puanlar tablosu dönüştürülüyor.\n" + +#: client/chart.c:168 +#, c-format +msgid "Highscore chart doesn't exist in '%s'... creating new one.\n" +msgstr "'%s''de yüksek puanlar tablosu yok... yeni bir tane oluÅŸturuluyor.\n" + +#: client/chart.c:175 +#, c-format +msgid "Write permission for '%s' denied.\n" +msgstr "'%s' için yazma izni reddedildi.\n" + +#: client/chart.c:206 +#, c-format +msgid "Unable to access highscore chart in '%s'.\n" +msgstr "'%s'deki yüksek puanlar tablosuna eriÅŸilemiyor.\n" + +#: client/chart.c:207 +#, c-format +msgid "Trying to use config directory '%s'.\n" +msgstr "Yapılandırma dizini '%s' kullanılmaya çalışılıyor.\n" + +#: client/chart.c:209 +#, c-format +msgid "" +"Unable to access highscore chart in config directory... won't be able to " +"save any results. Sorry.\n" +msgstr "" +"Yapılandırma dizinindeki yüksek puanlar tablosuna eriÅŸilemedi... sonuçlar " +"kaydedilemeyecek. Ãœzgünüm.\n" + +#: client/chart.c:214 +#, c-format +msgid "Saving highscore chart in: %s\n" +msgstr "Yüksek puanlar tablosunun kaydedildiÄŸi yer: %s\n" + +#: client/chart.c:216 client/chart.c:346 +msgid "Name Level Score" +msgstr "Ad Seviye Puan" + +#: client/chart.c:222 +msgid "name.-----" +msgstr "ad.-----" + +#: client/chart.c:222 +msgid "Level" +msgstr "Seviye" + +#: client/chart.c:258 +#, c-format +msgid "??? Highscore chart loaded properly but cannot save? (%s)\n" +msgstr "" +"Yüksek puanlar tablosu düzgün olarak yüklendi ama kaydedilemiyor mu? (%s)\n" + +#: client/chart.c:406 +#, c-format +msgid "First chart query for '%s'. Creating this chart.\n" +msgstr "'%s' için ilk tablo sorgusu. Tablo oluÅŸturuluyor.\n" + +#: client/chart.c:419 +#, c-format +msgid "Chart index '%i' is out of range!\n" +msgstr "Tablo dizini '%i' kapsamdışı!\n" + +#: client/client.c:86 +msgid "" +"Specify the game server as address:port where the address can be a name or a " +"dotted IP.#If the connection fails have a look at the messages in the chat " +"window to see the reason." +msgstr "" +"Oyun sunucusunu adres:post ÅŸeklinde belirtin. Adres bir isim ya da noktalı " +"bir IP olabilir.#EÄŸer baÄŸlantı baÅŸarısız olursa sebebini görmek için sohbet " +"penceresindeki mesajlara bir bakın." + +#: client/client.c:264 +msgid "Server:" +msgstr "Sunucu:" + +#: client/client.c:271 +msgid "Username:" +msgstr "Kullanıcı Adı:" + +#: client/client.c:278 client/client.c:369 +msgid "Connect" +msgstr "BaÄŸlan" + +#: client/client.c:281 client/client.c:301 client/client.c:395 +#: client/manager.c:767 +msgid "Cancel" +msgstr "Vazgeç" + +#: client/client.c:285 client/client.c:293 +msgid "no info" +msgstr "bilgi yok" + +#: client/client.c:289 client/client.c:407 client/client.c:420 +#: client/client.c:434 +msgid "Close" +msgstr "Kapat" + +#: client/client.c:297 +msgid "OK" +msgstr "TAMAM" + +#: client/client.c:314 +msgid "Send" +msgstr "Gönder" + +#: client/client.c:316 +msgid "Whisper" +msgstr "Fısılda" + +#: client/client.c:324 server/server.c:1108 +msgid "MAIN" +msgstr "ANA" + +#: client/client.c:327 +msgid "C" +msgstr "C" + +#: client/client.c:334 +msgid "Levelsets" +msgstr "Düzey kümeleri" + +#: client/client.c:343 client/manager.c:685 +msgid "Difficulty:" +msgstr "Zorluk:" + +#: client/client.c:348 +msgid "Rounds:" +msgstr "Raundlar:" + +#: client/client.c:353 +msgid "Frags:" +msgstr "Ölümler:" + +#: client/client.c:358 client/manager.c:728 +msgid "Balls:" +msgstr "Toplar:" + +#: client/client.c:365 +msgid "Challenge" +msgstr "Meydanokuma" + +#: client/client.c:373 client/manager.c:640 +msgid "Quit" +msgstr "Çıkış" + +#: client/client.c:377 +msgid "Help" +msgstr "Yardım" + +#: client/client.c:384 +msgid "Channel:" +msgstr "Kanal:" + +#: client/client.c:392 +msgid "Enter" +msgstr "Gir" + +#: client/client.c:399 +msgid "Statistics" +msgstr "Ä°statistikler" + +#: client/client.c:405 client/client_handlers.c:548 +msgid "Awaiting stats..." +msgstr "Ä°statistikler bekleniyor..." + +#: client/client.c:424 +msgid "Network Quick Help" +msgstr "AÄŸ Hızlı Yardımı" + +#: client/client.c:459 +#, c-format +msgid "Client finalized\n" +msgstr "Ä°stemci sonlandırıldı\n" + +#: client/client.c:490 +msgid "Press 'Connect' to connect to a game server." +msgstr "Bir oyun sunucusuna baÄŸlanmak için 'BaÄŸlan'a basınız." + +#: client/client_data.c:146 +msgid "Challenges" +msgstr "Meydan okumalar" + +#: client/client_data.c:147 +msgid "Channels" +msgstr "Kanallar" + +#: client/client_data.c:148 +msgid "Console Commands" +msgstr "Uçbirim (Konsol) Komutları" + +#: client/client_data.c:149 +msgid "Game Rules" +msgstr "Oyun Kuralları" + +#: client/client_data.c:150 +msgid "Transfers" +msgstr "Transferler" + +#: client/client_data.c:152 +msgid "" +"To challenge a user you first have to select him/her in the upper right list " +"and the levelset you want to play from the list below. Then you adjust the " +"game settings to your likings and hit the 'Challenge' button which will send " +"your challenge to the other user who will either accept or decline. If (s)he " +"accepts a direct connection will be established and the game will start." +"##DIFFICULTY: This influences ball speed, paddle size and score as for " +"single player modus. (1 = Easy, 2 = Medium, 3 = Hard)##ROUNDS: This is the " +"number of rounds played per level. Winning a round scores one point and the " +"player with the most points wins the match.##FRAGS: In a pingpong level (no " +"bricks) a player gains a frag everytime the opponent looses a ball. 'frag' " +"is a bad name for this, should be pingpong winning score or something but " +"'frags' is simply shorter. The player who hits this limit first wins the " +"round.#In levels with bricks this option is ignored and the level is over " +"after all bricks were cleared.##BALLS: In a pingpong level (no bricks) each " +"player may fire multiple balls up to this number. If a player looses a ball " +"he may fire it again.#In normal levels (with bricks) this option is ignored " +"and a gets a new ball after five seconds penalty time." +msgstr "" +"Bir kullanıcıya meydan okumak için öncelikle saÄŸ üstteki listeden " +"kullanıcıyı ve aÅŸağıdaki listeden de oynamak istediÄŸiniz düzey kümesini " +"seçmelisiniz. Daha sonra oyun ayarlarını isteÄŸinize göre ayarlar ve 'Meydan " +"Oku' düğmesine basarak diÄŸer oyuncuya meydan okursunuz. DiÄŸer kullanıcı bu " +"meydan okumayı kabul eder ya da reddeder. EÄŸer rakibiniz meydan okumanıza " +"olumlu cevap verirse aranızda doÄŸrudan bir baÄŸlantı kurulacak ve oyun " +"baÅŸlayacaktır.##ZORLUK: Bu, tekil oyuncu kipindeki gibi top hızını, raket " +"boyutunu ve skoru etkiler. (1 = Kolay, 2 = Orta, 3 = Zor)##Raundlar: Bu, " +"düzey başına oynanacak raund sayısıdır. Bir raundu kazanmak bir puan getirir " +"ve en çok puanı toplayan oyuncu maçı kazanır.##ÖLÃœMLER: Bir pinpon düzeyinde " +"(tuÄŸlasız) bir oyuncu, rakibin her top kaybediÅŸinde bir ölüm kazanır. 'ölüm' " +"bunun için kötü bir isim; pinpon kazanma skoru veya baÅŸka birÅŸey olmalı ama " +"'ölümler' basitçe daha kısa. Bu sınıra ilk ulaÅŸan oyuncu o raundu kazanır." +"#TuÄŸlalı düzeylerde bu seçenek yoksayılır ve tüm tuÄŸlalar temizlendiÄŸi zaman " +"düzey sona erer.##TOPLAR: Bir pinpon düzeyinde (tuÄŸlasız) her oyuncu bu " +"sayıya kadar çoklu top atabilir. EÄŸer bir oyuncu bir top kaybederse, o topu " +"tekrar atabilir.#Normal düzeylerde (tuÄŸlalı) bu seçenek yoksayılır ve bir " +"oyuncu 5 dakikalık ceza süresi sonrasında yeni bir top alır." + +#: client/client_data.c:175 +msgid "" +"To switch a channel hit the 'C' button above the user list. You can enter " +"either an existing or a new channel. You can only talk to and challenge " +"users in the same channel." +msgstr "" +"Bir kanalı deÄŸiÅŸtirmek için kullanıcı listesinin üstündeki 'C' düğmesine " +"basın. Varolan bir kanala girebilir ya da yeni bir tane oluÅŸturabilirsiniz. " +"Sadece aynı kanaldaki kullanıcılarla konuÅŸabilir ve onlara meydan " +"okuyabilirsiniz." + +#: client/client_data.c:179 +msgid "" +"User Console Commands:##/search #Search for a user in all channels.##/" +"version#Display version of transmission protocol.##/info#Display current " +"userlimit and frame rate.##Admin Console Commands:##/admin_says " +"#Broadcast a message to all chatting users.##/kick #Kick user by " +"that name.##/addbot #Add a paddle bot. The speed is defined in " +"pixels per second. 800 to 1000 is a good value.##/delbot #Delete " +"paddle bot.##/set #Set a variable to a new value:# userlimit: " +"is the number of users that may login. If decreased with too many users " +"online no one is kicked. This limit does not matter for admin login.# fps: " +"is how many times a second the server calls up the communication and sends/" +"receives packets. This should not be too high to prevent network flooding. " +"40 is a good value.# packetlimit: if not -1 this is the number of packets " +"parsed in one communication step. -1 which is the default means the queue is " +"parsed until empty##/addset #Load a new levelset that has been copied " +"to the levels directory and make it available to the users.##/halt#Halt " +"server after 5 seconds and inform all users, even the playing ones, about " +"this." +msgstr "" +"Kullanıcı Uçbirim Komutları:##/search #Bir kullanıcıyı tüm " +"kanallarda ara.##/version#Dosya iletiÅŸim kuralı sürümünü göster.##/info#Åžu " +"anki kullanıcı limitini ve çerçeve hızını göster.##Yönetici Uçbirim " +"Komutları:##/admin_says #Bir mesajı sohbet eden tüm kullanıcılara " +"gönder.##/kick #Adı geçen kullanıcıyı dışarı at.##/addbot " +"#Bir raket botu ekle. Hız, saniyedeki benek sayısı cinsinden " +"belirtilir. 800 ile 1000 arasında bir deÄŸer iyi olur.##/delbot #Raket " +"botunu sil.##/set #Bir deÄŸiÅŸkeni yeni bir deÄŸere ayarla:# " +"userlimit: giriÅŸ yapabilecek kullanıcı sayısıdır. EÄŸer çok fazla kullanıcı " +"baÄŸlıyken bu deÄŸer düşürülürse hiç kimse dışarı atılmayacaktır. Bu limit " +"yönetici giriÅŸini etkilemez.# fps: bir saniyede sunucunun kaç kez iletiÅŸim " +"isteÄŸinde bulunduÄŸu ve paket gönderip/aldığıdır. Bu deÄŸer aÄŸ taÅŸmasını " +"önlemek için çok yüksek olmamalıdır. 40 iyi bir deÄŸer olacaktır.# " +"packetlimit: eÄŸer -1 deÄŸilse bu, bir haberleÅŸme basamağında ayrıştırılan " +"paketlerin sayısıdır. -1 (öntanımlı deÄŸer), kuyruk boÅŸalana kadar " +"ayrıştırmaya devam edileceÄŸini gösterir.##/addset #Düzeyler dizinine " +"kopyalanan yeni bir düzey kümesini yükle ve kullanıcılara aç.##/" +"halt#Sunucuyu 5 saniye sonra durdur ve oyunda olanlar dahil olmak üzere tüm " +"kullanıcıları bu konuda bilgilendir." + +#: client/client_data.c:208 +#, no-c-format +msgid "" +"Basically you play the game as in single player mode but their are some " +"special things you might find useful to know.##PINGPONG:#The point here is " +"to play it fast and to use all of your balls. Use the right and left mouse " +"button to fire the balls while moving the paddle. Your opponent will have " +"trouble to reflect all balls if you do it right. If you are not sure wether " +"you got balls left click anyway. Keep the button pressed for a while! The " +"fire rate is restricted to one ball every 500 milliseconds.##NORMAL:#Your " +"goal here is too gain more score than your opponent to win a round. " +"Basically you do this by clearing bricks and collecting extras but there are " +"some other ways as well:#1) To loose a ball means to loose 10% score. After " +"five seconds penalty a new ball is created and you can continue playing.#2) " +"Hitting your opponents paddle with the plasma weapon will give you 1000 " +"points while stealing him/her the same amount.#3) Bonus/malus magnet will " +"attract _all_ bonuses/maluses even those released by your opponent.##Note: " +"If you pause the game by pressing 'p' a chat will pop up and you can talk to " +"your opponent." +msgstr "" +"Temelde oyunu tekil oyuncu kipindeymiÅŸ gibi oynarsınız ama birkaç özel ÅŸeyi " +"bilmenizde fayda var.##PÄ°NPON:#Burada amaç oyunu hızlı oynamak ve tüm " +"toplarınızı kullanmaktır. Raketi hareket ettirirken topları fırlatmak için " +"saÄŸ ve sol fare tuÅŸlarını kullanın. EÄŸer bunu doÄŸru yapabilirseniz rakibiniz " +"tüm topları yansıtmakta güçlük çekecektir. Topunuz olup olmadığından emin " +"deÄŸilseniz bile sol tıklayın. Düğmeyi bir süreliÄŸine basılı tutun! Atış hızı " +"her 500 milisaniyede 1 topla sınırlıdır.##NORMAL:#Burada amaç raundu " +"kazanmak için rakibinizden daha fazla puan toplamaktır. Temelde bunu " +"tuÄŸlaları temizleyerek ve ekstraları toplayarak yaparsınız ama bunun için " +"baÅŸka yollar da var:#1) Bir top kaybetmek skorun %10'unu kaybetmek anlamına " +"gelir. 5 saniyelik bir ceza süresinden sonra yeni bir top verilir ve oyuna " +"devam edebilirsiniz.#2) Rakibinizin raketini plazma silahıyla vurmak " +"rakibinizden 1000 puan alıp sizin hanenize ekleyecektir.#3) Ä°kramiye/zararlı " +"mıknatısı tüm ikramiyeleri/zararlıları çeker.##Not: EÄŸer 'p' tuÅŸuna basarak " +"oyunu duraklatırsanız bir sohbet penceresi açılır ve böylece rakibinizle " +"konuÅŸabilirsiniz." + +#: client/client_data.c:231 +msgid "" +"You cannot offer someone your levelset unless this user wants to receive " +"your set which requires the following steps:#1) select the user to whom you " +"want to listen#2) press the 'L' button above the levelset list#3) wait for " +"offer or cancel 'listening'#The receiver is now ready and the sender has to:" +"#1) select the listening user#2) select the levelset (s)he wants to " +"transfer#3) hit the 'T' button above the levelset list#If the receiver has " +"this levelset already located in ~/.lgames/lbreakout2-levels and it is up-to-" +"date the transfer does not take place otherwise the receiver is asked to " +"confirm and if (s)he does so the set is transferred to the home directory " +"and directly available if intended for network. (starts with 'MP_')#NOTE: " +"Only the challenger is required to have the levelset so you don not have to " +"transfer sets to play with someone. However if your opponent likes your set " +"and wants to challenge others with it both can engage into a transfer." +msgstr "" +"Bir kullanıcı sizin düzey kümelerinizi almak istemediÄŸi sürece o oyuncuya " +"kendi düzey kümenizi teklif edemezsiniz; almak isterse izlenecek basamaklar:" +"#1) dinlemek istediÄŸiniz kullanıcıyı seçin#2) düzey kümesi listesinin " +"üstündeki 'L' düğmesine basın#3) teklif için bekleyin ya da 'dinleme'kten " +"vazgeçin#Alıcı artık hazır ve göndericinin:#1) dinleyen kullanıcıyı " +"seçmesi#2) aktarmak istediÄŸi düzey kümesini seçmesi#3) düzey kümesi " +"listesinin üstündeki 'T' düğmesine basması gerekir#EÄŸer alıcı ~/.lgames/" +"lbreakout2-levels içinde bu düzey kümesine zaten sahipse ve güncelse bir " +"aktarım gerçekleÅŸmez, aksi halde alıcıdan onay istenir ve onaylarsa küme ev " +"dizinine aktarılır ve aÄŸ için doÄŸrudan kullanılabilir hal gelir. ('MP_' ile " +"baÅŸlar)#NOT: Sadece meydan okuyanın düzey kümesine sahip olması ÅŸarttır yani " +"biriyle oynayabilmek için düzey kümelerini aktarmanız gerekmez. Ancak " +"rakibiniz sizin kümenizden hoÅŸlanır ve baÅŸkalarına bu kümeyle meydan okumak " +"isterse bir aktarıma girebilirsiniz." + +#: client/client_handlers.c:114 +#, c-format +msgid "disconnected from %s" +msgstr "%s ile baÄŸlantı kesildi" + +#: client/client_handlers.c:151 +#, c-format +msgid "ERROR: address %s does not resolve" +msgstr "HATA: %s adresi çözümlenemiyor" + +#: client/client_handlers.c:165 +msgid "unused" +msgstr "kullanılmamış" + +#: client/client_handlers.c:170 +msgid "connecting" +msgstr "baÄŸlanıyor" + +#: client/client_handlers.c:170 +msgid "retry" +msgstr "tekrar dene" + +#: client/client_handlers.c:188 +#, c-format +msgid "%s: connected!" +msgstr "%s: baÄŸlandı!" + +#: client/client_handlers.c:192 +#, c-format +msgid "ERROR: connection refused: %s" +msgstr "HATA: baÄŸlantı reddedildi: %s" + +#: client/client_handlers.c:200 +msgid "ERROR: server does not respond" +msgstr "HATA: sunucu cevap vermiyor" + +#: client/client_handlers.c:322 +msgid "You must select a user to whisper!" +msgstr "Fısıldamak için bir oyuncu seçmelisiniz!" + +#: client/client_handlers.c:408 +msgid "You must select a user for a challenge." +msgstr "Meydan okumak için bir kullanıcı seçmelisiniz." + +#: client/client_handlers.c:412 +msgid "You must select a levelset for a challenge." +msgstr "Meydan okuma için bir düzey kümesi seçmelisiniz." + +#: client/client_handlers.c:416 +msgid "You can't challenge yourself." +msgstr "Kendi kendinize meydan okuyamazsınız." + +#: client/client_handlers.c:439 +#, c-format +msgid "You have challenged %s. Let's see what (s)he says..." +msgstr "%s'e meydan okudunuz. Bakalım buna ne diyecek..." + +#: client/client_recv.c:128 +#, c-format +msgid "ERROR: %s" +msgstr "HATA: %s" + +#: client/client_recv.c:135 +#, c-format +msgid "%s is busy at the moment." +msgstr "%s ÅŸu anda meÅŸgul." + +#: client/client_recv.c:145 client/comm.c:212 +#, c-format +msgid "comm_delay set to %i\n" +msgstr "comm_delay %i olarak ayarlandı\n" + +#: client/client_recv.c:233 +#, c-format +msgid "" +" You have been challenged!## Challenger: %13s# Levelset: %13s# " +"Difficulty: %13s# Rounds: %13i# Frag Limit: %13i# Balls: %" +"13i" +msgstr "" +" Size meydan okundu!## Meydan okuyan: %13s# Düzey kümesi: %" +"13s# Zorluk: %13s# Roundlar: %13i# Ölüm Sınırı: %13i# " +"Toplar: %13i" + +#: client/client_recv.c:249 +#, c-format +msgid "%s is too scared to accept your challenge." +msgstr "%s, meydan okumanızı kabul edemeyecek kadar korkak." + +#: client/client_recv.c:256 +#, c-format +msgid "%s got cold feet." +msgstr "" + +#: client/client_recv.c:313 +#, c-format +msgid "chat: state %i: invalid message %x: skipping %i bytes\n" +msgstr "sohbet: durum %i: geçersiz mesaj %x: %i byte atlanıyor\n" + +#: client/comm.c:221 +msgid "You've been disconnected." +msgstr "BaÄŸlantınız kesildi." + +#: client/comm.c:245 +msgid "corrupted level data" +msgstr "düzey bilgisi bozuk" + +#: client/comm.c:266 +msgid "Remote player has paused the game." +msgstr "Uzaktaki oyuncu oyunu duraklattı." + +#: client/comm.c:377 +#, c-format +msgid "game: state %i: invalid message %x: skipping %i bytes\n" +msgstr "oyun: durum %i: geçersiz mesaj %x: %i byte atlanıyor\n" + +#: client/config.c:71 +msgid "Mr.X" +msgstr "Bay.X" + +#: client/config.c:72 +msgid "Mr.Y" +msgstr "Bay.Y" + +#: client/config.c:73 +msgid "Mr.Z" +msgstr "Bay.Z" + +#: client/config.c:122 +msgid "player" +msgstr "oyuncu" + +#: client/editor.c:266 +#, c-format +msgid "Location: %s" +msgstr "Konum: %s" + +#: client/editor.c:270 +#, c-format +msgid "Current Level: %i/%i (Free: %i)" +msgstr "Åžu anki Düzey: %i/%i (Serbest: %i)" + +#: client/editor.c:276 +#, c-format +msgid "*** Level %i Marked For Swap ***" +msgstr "*** Düzey %i Takas İçin Ä°ÅŸaretlendi ***" + +#: client/editor.c:281 +#, c-format +msgid "Version: %s " +msgstr "Sürüm: %s" + +#: client/editor.c:286 +#, c-format +msgid "Title: %s" +msgstr "BaÅŸlık: %s" + +#: client/editor.c:289 +#, c-format +msgid "Author: %s" +msgstr "Yazar: %s" + +#: client/editor.c:400 +msgid "noname" +msgstr "adsız" + +#: client/editor.c:400 +msgid "untitled" +msgstr "adsız" + +#: client/editor.c:484 +msgid "Discard All Changes? y/n" +msgstr "Tüm DeÄŸiÅŸiklikler Ä°ptal Edilsin mi? e/h" + +#: client/editor.c:494 +msgid "Save Changes? y/n" +msgstr "DeÄŸiÅŸiklikler Kaydedilsin mi? e/h" + +#: client/editor.c:498 +msgid "Clear Level? y/n" +msgstr "Düzey Temizlensin mi? e/h" + +#: client/editor.c:509 +msgid "Add Level? y/n" +msgstr "Düzey Eklensin mi? e/h" + +#: client/editor.c:516 +msgid "Insert Level? y/n" +msgstr "Düzey Eklensin mi? e/h" + +#: client/editor.c:526 +msgid "Delete Level? y/n" +msgstr "Düzey Silinsin mi? e/h" + +#: client/editor.c:548 +msgid "Levelset Version:" +msgstr "Düzey Kümesi Sürümü:" + +#: client/editor.c:641 +msgid "Author's Name:" +msgstr "Yazarın Adı:" + +#: client/editor.c:646 +msgid "Title:" +msgstr "BaÅŸlık:" + +#: client/editor.c:785 +msgid "Quit Editor? y/n" +msgstr "Düzenleyici Kapatılsın mı? e/h" + +#: client/game.c:314 +#, c-format +msgid "" +"%s, you hit %d Jumping Jacks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" +"%s, %d Zıplayan Kriko vurdunuz!##Ortalama oranınız: %5d%%# Skorunuz: %" +"6d" + +#: client/game.c:319 +#, c-format +msgid "" +"%s, you stopped %d Outbreaks!##Your average ratio: %5d%%# Your score: " +"%6d" +msgstr "" +"%s, %d Patlama durdurdunuz!##Ortalama oranınız: %5d%%# Skorunuz: %6d" + +#: client/game.c:324 +#, c-format +msgid "" +"%s, you broke through %d Barriers!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" +"%s, %d Engeli kırıp geçtiniz!##Ortalama oranınız: %5d%%# Skorunuz: %6d" + +#: client/game.c:329 +#, c-format +msgid "%s, you shot %d Sitting Ducks!##Your score: %6d" +msgstr "%s, %d Oturan Ördek vurdunuz!##Skorunuz: %6d" + +#: client/game.c:334 +#, c-format +msgid "" +"%s, you hunted down %d bricks!##Your average ratio: %5d%%# Your " +"score: %6d" +msgstr "" +"%s, %d tuÄŸla avladınız!##Ortalama oranınız: %5d%%# Skorunuz: %6d" + +#: client/game.c:339 +#, c-format +msgid "" +"%s, you stopped %d waves#killing a total of %d invaders!##Your average " +"ratio: %5d%%# Your score: %6d" +msgstr "" +"%s, %d dalgayı durdurdunuz#toplamda %d iÅŸgalci öldürdünüz!##Ortalama " +"oranınız: %5d%%# Skorunuz: %6d" + +#: client/game.c:540 +msgid "Pause" +msgstr "Duraklat" + +#: client/game.c:543 +msgid "You have paused the game." +msgstr "Oyunu duraklattınız." + +#: client/game.c:583 +msgid "" +"Quit Game? y/n#(If yes, this game may be resumed later.#No highscore entry " +"is created yet.)" +msgstr "" +"Oyundan Çık? e/h#(Evet derseniz bu oyuna daha sonra devam edebilirsiniz." +"#Henüz bir yüksek puan girdisi oluÅŸturulmadı.)" + +#: client/game.c:585 +msgid "Quit Game? y/n" +msgstr "Oyundan Çık? e/h" + +#: client/game.c:593 +msgid "Restart Level? y/n" +msgstr "Seviyeye Yeniden BaÅŸla? e/h" + +#: client/game.c:642 +msgid "Warp to next level? y/n" +msgstr "Sonraki düzeye sıçra? e/h" + +#: client/game.c:788 +#, c-format +msgid "" +"***** Round %i *****###You control the %s paddle in this level!#To fire a " +"ball keep the mouse button PRESSED.#Don't just click.###Press any key when " +"you are ready...###(You can pause the game with 'p' any time.)###NOTE: Due " +"to latency, bonuses on the server are closer than they appear! I'll try to " +"work on that." +msgstr "" +"***** Raund %i *****###Bu düzeyde %s raket kontrol ediyorsunuz!#Bir top " +"fırlatmak için fare tuÅŸunu BASILI tutun.#Sadece tıklamak yetmez.###Hazır " +"olduÄŸunuzda herhangi bir tuÅŸa basın...###(Oyunu istediÄŸiniz zaman 'p' ile " +"duraklatabilirsiniz.)###NOT: Gecikmeye baÄŸlı olarak, sunucuda ikramiyeler " +"göründüklerinden daha yakındırlar! Bu konu üzerinde çalışmayı deneyeceÄŸim." + +#: client/game.c:793 +msgid "BOTTOM" +msgstr "ALT" + +#: client/game.c:793 +msgid "TOP" +msgstr "ÃœST" + +#: client/game.c:800 +msgid "DRAW" +msgstr "BERABERLÄ°K" + +#: client/game.c:804 +msgid "You have won this round!" +msgstr "Bu raundu kazandınız!" + +#: client/game.c:806 +msgid "You have lost this round." +msgstr "Bu raundu kaybettiniz." + +#: client/game.c:829 +#, c-format +msgid "" +" Result: %s ## %12s %" +"12s##Wins: %12i %12i#Losses: %12i %" +"12i#Draws: %12i %12i##Total Score: %12i %12i##Balls " +"Kept: %11i%% %11i%%#Bricks Cleared: %11i%% %11i%%#Extras Collected: %" +"11i%% %11i%%##(Press SPACE to continue)" +msgstr "" +" Sonuçlar: %s ## %12s %" +"12s##Galibiyetler: %12i %12i#MaÄŸlubiyetler: %12i %" +"12i#Beraberlikler: %12i %12i##Toplam Skor: %12i %" +"12i##Tutulan Toplar: %11i%% %11i%%#Temizlenen TuÄŸlalar: %11i%% %11i%%" +"#Toplanan Ekstralar: %11i%% %11i%%##(Devam etmek için BOÅžLUK tuÅŸuna basın)" + +#: client/game.c:841 +msgid "VICTORY" +msgstr "ZAFER" + +#: client/game.c:841 +msgid " DEFEAT" +msgstr " YENÄ°LGÄ°" + +#: client/game.c:841 +msgid " DRAW" +msgstr "BERABERLÄ°K" + +#: client/game.c:873 +#, c-format +msgid "ERROR: couldn't save game!\n" +msgstr "HATA: oyun kaydedilemedi!\n" + +#: client/game.c:983 +msgid "nobody" +msgstr "hiçkimse" + +#: client/game.c:1046 client/game.c:1261 +msgid "Receiving level data..." +msgstr "Seviye bilgisi alınıyor..." + +#: client/game.c:1200 client/game.c:1258 client/game.c:1458 +msgid "Receiving final stats..." +msgstr "Son istatistikler alınıyor..." + +#: client/game.c:1219 +#, c-format +msgid "Next Player: %s" +msgstr "Sonraki Oyuncu: %s" + +#: client/game.c:1337 +msgid "You've cleared all levels...#Congratulations!!!" +msgstr "Tüm düzeyleri temizlediniz...#Tebrikler!!!" + +#: client/game.c:1373 +#, c-format +msgid "" +"You've lost all lives...#Do you want to buy a continue#for 100%% of your " +"score? y/n" +msgstr "" +"Tüm yaÅŸamlarınızı kaybettiniz...#Puanınızın %%100'ü karşılığında#bir devam " +"hakkı almak ister misiniz? e/h" + +#: client/game.c:1384 +msgid "Game Over!" +msgstr "Oyun Bitti!" + +#: client/game.c:1411 client/misc.c:149 +msgid "y" +msgstr "e" + +#: client/game.c:1411 client/misc.c:150 +msgid "n" +msgstr "h" + +#: client/game.c:1470 +#, c-format +msgid "warp penalty: -%d\n" +msgstr "sıçrama cezası: -%d\n" + +#: client/game.c:1507 +#, c-format +msgid "Time: %.2f, Frames: %i -> FPS: %.2f\n" +msgstr "Zaman: %.2f, Çerçeveler: %i -> FPS: %.2f\n" + +#: client/help.c:48 client/manager.c:623 +msgid "Quick Help" +msgstr "Hızlı Yardım" + +#: client/help.c:63 +#, c-format +msgid ": Quit : Next Page : Previous Page" +msgstr "" +": Kapat : Sonraki Sayfa : Önceki Sayfa" + +#: client/help.c:114 +msgid "Bonuses:" +msgstr "Ä°kramiyeler:" + +#: client/help.c:115 +msgid "Expand paddle" +msgstr "Raketi geniÅŸlet" + +#: client/help.c:116 +msgid "Extra life" +msgstr "Ek yaÅŸam" + +#: client/help.c:117 +msgid "Sticky paddle" +msgstr "Yapışkan raket" + +#: client/help.c:118 +msgid "Plasma weapon" +msgstr "Plazma silahı" + +#: client/help.c:119 +msgid "200 - 10,000 points extra score" +msgstr "200 - 10.000 puan fazladan skor" + +#: client/help.c:120 +msgid "Extra ball" +msgstr "Ek top" + +#: client/help.c:121 +msgid "Energy balls (penetrate bricks)" +msgstr "Enerji topları (tuÄŸlaları deler)" + +#: client/help.c:122 +msgid "Bonus floor" +msgstr "Ä°kramiye kat" + +#: client/help.c:123 +msgid "Deccelerate balls to minimum speed" +msgstr "Topları en düşük hıza düşür" + +#: client/help.c:124 +msgid "1,000 points extra score from bricks with no bonus" +msgstr "Ä°kramiyesiz tuÄŸlalardan 10.000 puan fazladan skor" + +#: client/help.c:125 +msgid "Instantly collect all bonuses and destroy all maluses" +msgstr "Anında tüm ikramiyeleri topla ve tüm zararlıları yoket" + +#: client/help.c:126 +msgid "Explosive balls" +msgstr "Patlayıcı toplar" + +#: client/help.c:127 +msgid "Paddle attracts bonuses" +msgstr "Raket ikramiyeleri çeker" + +#: client/help.c:131 +msgid "Maluses:" +msgstr "Zararlılar:" + +#: client/help.c:132 +msgid "Shrink paddle" +msgstr "Raketi küçült" + +#: client/help.c:133 +msgid "Accelerate balls" +msgstr "Topları hızlandır" + +#: client/help.c:134 +msgid "Freeze paddle" +msgstr "Raketi dondur" + +#: client/help.c:135 +msgid "Random ball reflection at bricks" +msgstr "TuÄŸlalarda rasgele top yansıması" + +#: client/help.c:136 +msgid "Darkness" +msgstr "Karanlık" + +#: client/help.c:137 +msgid "Paddle attracts maluses" +msgstr "Raket zararlıları çeker" + +#: client/help.c:138 +msgid "Paddle disappears when not moving" +msgstr "Raket hareket etmediÄŸi zaman gözden kaybolur" + +#: client/help.c:139 +#, no-c-format +msgid "40% chance that a ball doesn't damage brick" +msgstr "bir topun tuÄŸlaya zarar vermemesi ihtimali %40" + +#: client/help.c:169 +msgid "Hints:" +msgstr "Ä°puçları:" + +#: client/help.c:171 +msgid "<<'In Game'-Keys>>" +msgstr "<<'Oyun İçi'-TuÅŸlar>>" + +#: client/help.c:172 +msgid " p Pause game. (and enter chatroom in network game)" +msgstr " p Oyunu duraklat. (ve aÄŸ oyununda sohbet odasına gir)" + +#: client/help.c:173 +msgid " s Enable/Disable sound." +msgstr " s Sesi Aç/Kapat." + +#: client/help.c:174 +msgid " a Change animation level (off/low/high)." +msgstr " a Hareketlendirme düzeyini deÄŸiÅŸtir (kapalı/düşük/yüksek)." + +#: client/help.c:175 +msgid " f Switch fullscreen/windowed mode." +msgstr " f Tam ekran/pencere kipleri arasında geçiÅŸ yap." + +#: client/help.c:176 +msgid " NOTE: Changing resolution takes a while so this is done best" +msgstr " NOT: Çözünürlüğün deÄŸiÅŸtirilmesi biraz zaman alır" + +#: client/help.c:177 +msgid " when game's paused." +msgstr " oyun duraklatıldığı zaman." + +#: client/help.c:178 +msgid " r Restart level." +msgstr " r Seviyeye yeniden baÅŸla." + +#: client/help.c:179 +msgid " d Disintegrate single bricks. (AddOn's only)" +msgstr " d Tekil tuÄŸlaları parçala. (Sadece ilaveninki)" + +#: client/help.c:180 +msgid "" +" w Warp to next level after enough bricks where cleared. (AddOn's only)" +msgstr "" +" w Yeterince tuÄŸla temizlendikten sonra sonraki düzeye sıçra. (sadece " +"ilaveninki)" + +#: client/help.c:181 +msgid " Shift Shows highest score of set instead of your score as long as you" +msgstr "" +" Shift Kendi skorunuz yerine kümenin en yüksek skorunu gösterir bu tuÅŸu " +"basılı" + +#: client/help.c:182 +msgid " hold it down." +msgstr " tuttuÄŸunuz sürece." + +#: client/help.c:183 +msgid " Tab Take a screenshot." +msgstr " Tab Bir ekran görüntüsü al." + +#: client/help.c:184 +msgid " Esc Quit game." +msgstr " Esc Oyundan çık." + +#: client/help.c:186 +msgid "Pressing the left or right mouse button will fire attached balls either" +msgstr "Sol ya da saÄŸ fare tuÅŸuna basmak tutturulmuÅŸ topları fırlatacaktır" + +#: client/help.c:187 +msgid "" +"to the left or right direction if 'Ball Fire Angle' in 'Advanced Options'" +msgstr "sola ya da saÄŸa eÄŸer 'GeliÅŸmiÅŸ Seçenekler'deki 'Top Atış Açısı'" + +#: client/help.c:188 +msgid "is not set to 'Random'." +msgstr "'Rasgele' olarak ayarlanmadı." + +#: client/help.c:209 +msgid "Neutral Power-Ups:" +msgstr "Tarafsız Güçlendirmeler:" + +#: client/help.c:211 +msgid "Any of the listed bonuses/maluses." +msgstr "Listelenen ikramiyelerden/zararlılardan herhangi biri." + +#: client/help.c:212 +msgid "Resets all active bonuses and maluses." +msgstr "Tüm aktif ikramiyeleri ve zararlıları sıfırlar." + +#: client/help.c:213 +msgid "Adds 7 seconds to all active bonuses/maluses." +msgstr "Tüm aktif ikramiyelere/zararlılara 7 saniye ekler." + +#: client/help.c:217 +msgid "Special Bricks:" +msgstr "Özel TuÄŸlalar:" + +#: client/help.c:219 +msgid "Indestructible." +msgstr "Yıkılmaz." + +#: client/help.c:220 +msgid "May only be destroyed by energy ball else it's indestructible." +msgstr "Sadece enerji topuyla yokedilebilir bunun dışında yokedilemezdir." + +#: client/help.c:221 +msgid "As above and balls are reflected randomly at this brick." +msgstr "Yukarıdaki gibi ve toplar bu tuÄŸladan rasgele yansır." + +#: client/help.c:222 +msgid "Needs three hits to be destroyed." +msgstr "Yokedilebilmesi için 3 vuruÅŸ gereklidir." + +#: client/help.c:223 +msgid "As above and regenerates durability every 4 seconds." +msgstr "Yukarıdaki gibi ve her 4 saniyede dayanımı artar." + +#: client/help.c:224 +msgid "Explodes and destroys all nearby bricks." +msgstr "Patlar ve yakındaki tüm tuÄŸlaları yokeder." + +#: client/help.c:225 +msgid "Creates up to 8 bricks on destruction." +msgstr "Yokolma anında 8 taneye kadar tuÄŸla oluÅŸturur." + +#: client/help.c:249 +msgid "Troubleshooting:" +msgstr "Hata ayıklama:" + +#: client/help.c:251 +msgid "" +"* In fullscreen mode the window keeps it size just adding a black frame?" +msgstr "" +"* Tam ekran kipindeyken pencere sadece bir siyah çerçeve ekleyerek boyutunu " +"koruyor mu?" + +#: client/help.c:252 +msgid " - Maybe you do not have 640x480 as resolution available? Check your" +msgstr "" +" - Belki de kullanılabilir çözünürlükleriniz arasında 640*480 yoktur? " +"Konbtrol edin:" + +#: client/help.c:253 +msgid " X configuration." +msgstr " X yapılandırması." + +#: client/help.c:254 +msgid "* Sounds seem to be out of sync and are played with some delay?" +msgstr "" +"* Sesler eÅŸzamanlı deÄŸil gibi görünüyorlar ve gecikmeli olarak mı çalıyorlar?" + +#: client/help.c:255 +msgid "" +" - Set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). If this results" +msgstr "" +" - SDL_AUDIODRIVER'i dma olarak ayarlayın (export SDL_AUDIODRIVER=dma). " +"EÄŸer bu iÅŸlem çok fazla hata" + +#: client/help.c:256 +msgid " in a lot of errors killing artsd (or esd) may help." +msgstr " ile sonuçlanırsa artsd (ya da esd)'i kapatmayı deneyebilirsiniz." + +#: client/help.c:257 +msgid "* LBreakout2 gets mute while playing when switching on/off sounds?" +msgstr "" +"* LBreakout2 sesleri kapatıp açtığınız zaman oynarken sessizleÅŸiyor mu?" + +#: client/help.c:258 +msgid "" +" - SDL_mixer seems to mute active channels. You shouldn't enable/disable" +msgstr "" +" - SDL_mixer etkin kanalların sesini kapatıyor gibi görünüyor. Sesleri çok " +"sık açıp kapatmamalısınız" + +#: client/help.c:259 +msgid " sounds to often as you'll propably loose all channels then." +msgstr " yoksa büyük ihtimalle tüm kanalları kaybedersiniz." + +#: client/help.c:263 +msgid "Manual:" +msgstr "El ile:" + +#: client/help.c:264 +msgid "" +"This is just a quick help with the most important facts about LBreakout2." +msgstr "" +"Bu, sadece LBreakout2 hakkındaki önemli bilgileri içeren bir hızlı yardımdır." + +#: client/help.c:265 +msgid "" +"If you want more and better information check out the manual installed to" +msgstr "EÄŸer daha fazla ve daha iyi bilgi isterseniz kurulan elkitabıan bakın" + +#: client/help.c:266 +msgid "/usr/doc/lbreakout2 or the online version at http://lgames.sf.net." +msgstr "/usr/doc/lbreakout2 veya online sürümü http://lgames.sf.net. adresinde" + +#: client/help.c:267 +msgid "" +"And if you have questions (not answered by the manual) or you found a bug" +msgstr "" +"Ve eÄŸer (elkitabınca cevaplanmayan) sorularınız varsa veya bir yazılım " +"hatası bulduysanız" + +#: client/help.c:268 +msgid "or you just want to drop a general note about LBreakout2 just mail to:" +msgstr "" +"ya da sadece LBreakout2 hakkında genel bir not bırakmak isterseniz ÅŸu adrese " +"bir mektup gönderin:" + +#: client/help.c:269 +msgid " kulkanie@gmx.net" +msgstr " kulkanie@gmx.net" + +#: client/help.c:270 +msgid " Enjoy the game!" +msgstr " Oyunun tadını çıkarın!" + +#: client/help.c:271 +msgid " Michael Speck" +msgstr " Michael Speck" + +#: client/main.c:192 +msgid "Set Name:" +msgstr "Küme Adı:" + +#: client/manager.c:58 +msgid "There's nasty work out there waiting for you... better stay here!" +msgstr "Dışarda seni bekleyen pis iÅŸler var... burda kalsan daha iyi olur!" + +#: client/manager.c:59 +msgid "" +"If you turn animations low there'll be less details which will speed up the " +"game a great deal." +msgstr "" +"EÄŸer hareketlendirmeleri azaltırsanız oyund daha az ayrıntı olur ama " +"karşılığında daha hızlı bir oyun elde edersiniz." + +#: client/manager.c:60 +msgid "Enable/disable transparency of bonuses and animations." +msgstr "Ä°kramiyelerin saydamlığını ve hareketlendirmeleri aç/kapat." + +#: client/manager.c:61 +msgid "" +"If you disable shadows it will speed up the game but won't look that " +"good. ;-)" +msgstr "" +"EÄŸer gölgeleri kapatırsanız bu, oyunu hızlandıracaktır ama pek hoÅŸ " +"görünmeyecektir. ;-)" + +#: client/manager.c:62 +msgid "" +"If this is enabled you'll see the time left for all bonuses and maluses at " +"the right side of the screen." +msgstr "" +"EÄŸer bu özellik etkinse, ekranın saÄŸ tarafında tüm ikramiyeler ve zararlılar " +"için kalan zamanı görürsünüz." + +#: client/manager.c:63 +msgid "" +"You may run LBreakout2 either fullscreen or windowed. This switch may be " +"done anywhere by pressing 'f'." +msgstr "" +"LBreakout2'yi tam ekran olarak ya da pencere ÅŸeklinde çalıştırabilirsiniz. " +"Bu geçiÅŸ, herhangi bir yerdeyken 'f' tuÅŸuna basılarak yapılabilir." + +#: client/manager.c:64 +msgid "" +"You you don't want LBreakout2 to consume all of your CPU (best performance) " +"limit the frame rate." +msgstr "" +"EÄŸer LBreakout2'nin, iÅŸlemcinizin tüm gücünü tüketmesini istemiyorsanız (en " +"iyi performans), çerçeve hızını sınırlayın." + +#: client/manager.c:65 +msgid "" +"As long as this option is enabled the paddle is treated as convex allowing " +"easy aiming. If you disable this option the real physics will show up and " +"you'll have to influence the ball by paddle movement and the hemispherical " +"ends. For cracks only!" +msgstr "" +"Bu seçenek etkin olduÄŸu sürece raket dışbükey olarak deÄŸerlendirilir, bu da " +"kolay niÅŸan almayı saÄŸlar. EÄŸer bu seçeneÄŸi kapatırsanız, gerçek fizik " +"ortaya çıkacak ve topu raket hareketleriyle ve yarımküre ÅŸeklindeki uçlarla " +"etkilemeniz gerekecek. Sadece çatlaklar için!" + +#: client/manager.c:68 +msgid "" +"If you can't see the ball because of thousands of bonuses coming down set " +"this option to 'Above Bonuses'" +msgstr "" +"EÄŸer aÅŸağı düşen binlerce ikramiye nedeniyle topu göremiyorsanız bu seçeneÄŸi " +"'Ä°kramiyelerin Ãœstünde' olarak ayarlayın" + +#: client/manager.c:69 +msgid "" +"If you can't see the ball because of all the debris coming down set this " +"option to 'Below Balls'" +msgstr "" +"EÄŸer aÅŸağı gelen tuÄŸlalar yüzünden topu göremiyorsanız bu seçeneÄŸi 'Topların " +"Altında' olarak ayarlayın" + +#: client/manager.c:70 +msgid "" +"Enable/disable these quick hints. See the manual for more information about " +"how to use LBreakout2!" +msgstr "" +"Bu hızlı ipuçlarını aç/kapat. LBreakout2'nin nasıl kullanılacağı hakkında " +"daha ayrıntılı bilgi için elkitabına bakın!" + +#: client/manager.c:71 +msgid "Adjust the paddle speed for movement by keys. (pixels per second)" +msgstr "" +"TuÅŸlarla hareket için raket hızını ayarlayın. (saniyedeki benek sayısı)" + +#: client/manager.c:72 +msgid "" +"These are the number of players and their names. If one player looses a ball " +"or restarts the level it's the next player's turn." +msgstr "" +"Bunlar oyuncuların sayısı ve adlarıdır. EÄŸer bir oyuncu bir top kaybeder ya " +"da düzeye yeniden baÅŸlarsa sıra sonraki oyuncuya geçer." + +#: client/manager.c:73 +msgid "" +"KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-" +"200#Bonus: -50% (no maluses, no bad speech)##EASY:#Lives: 6 (max. 9)#Paddle " +"Size: 72 (max. 180)#Ball Speed: 240-400 pixels/sec#Bonus: -20%##MEDIUM:" +"#Lives: 5 (max. 7)#Paddle Size: 54 (max. 144)#Ball Speed: 270-430 pixels/" +"sec##HARD:#Lives: 4 (max. 5)#Paddle Size: 54 (max. 108)#Ball Speed: 300-450 " +"pixels/sec#Bonus: +30%" +msgstr "" +"ÇOCUK:#YaÅŸamlar: 9 (en fazla 12)#Raket Boyutu: 252 (en fazla 396)#Top Hızı: " +"100-200#Ä°kramiye: -50% (zararlılar yok, küfür yok)##KOLAY:#YaÅŸamlar: 6 (en " +"fazla 9)#Raket Boyutu: 72 (en fazla 180)#Top Hızı: 240-400 benek/" +"saniye#Ä°kramiye: -20%##ORTA:#YaÅŸamlar: 5 (en fazla 7)#Raket Boyutu: 54 (en " +"fazla 144)#Top Hızı: 270-430 benek/saniye##ZOR:#YaÅŸamlar: 4 (en fazla 5)" +"#Raket Boyutu: 54 (en fazla 108)#Top Hızı: 300-450 benek/saniye#Ä°kramiye: " +"+30%" + +#: client/manager.c:77 +msgid "Play the original LBreakout2 levelset." +msgstr "Özgün LBreakOut2 düzey kümesini oyna." + +#: client/manager.c:78 +msgid "Play the additional levelset selected below." +msgstr "AÅŸağıda seçilen ek düzey kümesini oyna." + +#: client/manager.c:79 +msgid "" +"This is the list of the levelsets found in ~/.lgames/lbreakout2-levels which " +"you may edit. If you choose and click on 'Edit Set' below " +"you'll be asked to enter a levelsetname and the new levelset will be saved " +"in a file by this name." +msgstr "" +"Bu, ~/.lgames/lbreakout2-levels içinde bulunan ve düzenleyebileceÄŸiniz düzey " +"kümelerinin listesidir. If you choose EÄŸer 'u seçer ve " +"aÅŸağıdan 'Kümeyi Düzenle'ye tıklatırsanız, sizden bir düzey kümesi adı " +"girmeniz istenecek ve yeni düzey kümeniz bu adı taşıyan bir dosyaya " +"kaydedilecektir." + +#: client/manager.c:82 +msgid "" +"Click here to edit the levelset chosen above.##NOTE: To switch to the bonus " +"set you'll have to right-click on the brick set and vice versa!" +msgstr "" +"Yukarda seçilen düzey kümesini düzenlemek için buraya tıklayın.##NOT: " +"Ä°kramiye kümesiyle tuÄŸla kümesi arasında geçiÅŸ yapmak için küme üzerine saÄŸ " +"tıklayın!" + +#: client/manager.c:83 +msgid "Click here to delete the chosen levelset (after confirmation)." +msgstr "Seçilen düzey kümesini silmek için (onaydan sonra) buraya tıklayın." + +#: client/manager.c:84 +msgid "" +"If you use the keyboard for input these are the keys for moving the paddle " +"('Paddle Turbo' will double the speed while pressed.), firing balls/shots " +"and returning the ball to paddle after a timeout of ten seconds.##Note: If " +"balls are fired at a random angle (which has become the default) there is no " +"difference between the left or right fire key. A sticky paddle stops a ball " +"until any fire button is pressed but the movement angle is the one from the " +"normal reflection. To reset the movement angle to -50 or +50 degrees check " +"out 'Ball Fire Angle' in 'Advanced Options'.##While pressed, the 'Ball " +"Turbo' will bring all balls to the maximum speed defined in 'Advanced " +"Options'." +msgstr "" +"EÄŸer giriÅŸ için klavyeyi kullanırsanız bunlar raketi hareket ettirmek " +"('Süper Raket' basılıyken hızı ikiye katlayacaktır.), topları fırlatmak ve " +"topu 10 saniyeli kbir zamanaşımından sonra rakete geri döndürmek için " +"kullanacağınız tuÅŸlardır.##Not: EÄŸer toplar rasgele bir açıyla fırlatılırsa " +"(öntanımlı deÄŸer budur) sol ve saÄŸ ateÅŸ tuÅŸları arasında bir fark yoktur. " +"Yapışkan bir raket herhangi bir fırlatma tuÅŸuna basılana kadar bir topu " +"durdurur ama hareket açısı normal yansımadan gelen açıdır. Hareket açısını -" +"50 ya da +50 dereceye sıfırlamak için 'GeliÅŸmiÅŸ Seçenekler' içindeki 'Top " +"Fırlatma Açısı'na bakın.##'Süper Top' basılıyken tüm topları 'GeliÅŸmiÅŸ " +"Seçenekler'de belirtilen en yüksek hıza getirir." + +#: client/manager.c:89 +msgid "" +"This modifies the relative motion of the mouse. (percent) The higher this " +"value is the faster the mouse moves." +msgstr "" +"Bu, farenin göreli hareketini belirler. (yüzde) Bu deÄŸer yükseldikçe fare " +"daha hızlı hareket eder." + +#: client/manager.c:91 +msgid "" +"If for some reason your mouse movement is inverted you can fix it with this " +"option." +msgstr "EÄŸer fare hareketiniz tersine dönmüşse bu seçenekle düzeltebilirsiniz." + +#: client/manager.c:92 +msgid "" +"If a ball does not damage a brick within ten seconds it is allowed to return " +"to the paddle. If this option is set to 'Auto' it will automatically return " +"and if this option is set to 'By Click' you'll have to press the middle " +"mousebutton or the 'back'-key (default is Backspace)." +msgstr "" +"EÄŸer bir top bir tuÄŸlaya on saniye içinde zarar vermezse rakete geri " +"dönmesine izin verilir. EÄŸer bu seçenek 'Oto' olarak ayarlanırsa top " +"otomatik olarak geri dönecektir ve eÄŸer bu seçenek 'Tıklama Ä°le'ye " +"ayarlanırsa farenin orta düğmesine ya da 'geri' tuÅŸuna (öntanımlı GeriAl) " +"basmanız gerekir." + +#: client/manager.c:95 +msgid "" +"Click here to apply the theme you selected above. Please check the manual at " +"lgames.sf.net for information on how to create a theme." +msgstr "" +"Yukarıda seçtiÄŸiniz temayı uygulamak için buraya tıklayın. Bir temanın nasıl " +"yapılacağı hakkında bilgi almak için lütfen lgames.sf.net adresindeki " +"elkitabına bakınız." + +#: client/manager.c:97 +msgid "" +"IP address of the game server as xxx.xxx.xxx.xxx.#DO NOT use 'localhost' if " +"you run the server on your computer. You won't be able to challenge others. " +"Use your IP queried by /sbin/ifconfig instead." +msgstr "" +"Oyun sunucusunun IP adresi (xxx.xxx.xxx.xxx ÅŸeklinde).#EÄŸer sunucuyu kendi " +"bilgisayarınızda çalıştırıyorsanız 'localhost' KULLANMAYIN. DiÄŸerlerine " +"meydan okuyamazsınız. Onun yerine /sbin/ifconfig tarafından sorgulanan " +"IP'nizi kullanın." + +#: client/manager.c:98 +msgid "Port the game server is bound to." +msgstr "Oyun sunucusunun baÄŸlandığı geçit (port)." + +#: client/manager.c:99 +msgid "" +"If you're successfully connected to the game server this is your nickname " +"there." +msgstr "" +"EÄŸer oyun sunucusuna baÅŸarıyla baÄŸlanırsanız, bu oradaki takma adınız " +"olacaktır." + +#: client/manager.c:100 +msgid "Connect to game server." +msgstr "Oyun sunucusuna baÄŸlan." + +#: client/manager.c:101 +msgid "A local game with up to 4 alternating players." +msgstr "4 oyuncuya kadar seçimli bir yerel oyun." + +#: client/manager.c:102 +msgid "A two-player or deathmatch game via Internet or LAN." +msgstr "Ä°nternet ya da yerel aÄŸ üzerinde iki oyunculu ölümüne bir maç." + +#: client/manager.c:105 +msgid "" +"This is the levelset you actually want to play. Note, that each levelset got " +"it's own highscore chart (left/right-click on the chart on the right). A " +"levelset is either load from ~/.lgames/lbreakout2-levels or the installation " +"directory." +msgstr "" +"Bu, aslında oynamak istediÄŸiniz düzey kümesidir. Unutmayın ki her düzey " +"kümesinin kendine ait bir yüksek puanlar tablosu vardır (saÄŸdaki tablo " +"üzerinde saÄŸ/sol tıklayın). Bir düzey kümesi ~/.lgames/lbreakout2-levels " +"adresinden ya da kurulum dizininden yüklenebilir." + +#: client/manager.c:108 +msgid "" +"This is the list of available themes. Choose any theme and click 'Apply' to " +"select it" +msgstr "" +"Bu, kullanılabilir temaların listesidir. Bir tema seçin ve 'Uygula'ya basın" + +#: client/manager.c:109 +msgid "" +"After you destroyed this percentage of bricks you MAY warp to the next level " +"by pressing 'w'. That is indicated by a small icon at the bottom right-hand " +"side of the screen.#If you set this option to 0 you may instantly warp " +"whereas 100 means you have to destroy all bricks.##Note, that this option " +"does not apply for the levelsets 'Original' and 'LBreakout1'!" +msgstr "" +"Yüzde bu kadar tuÄŸlayı yokettikten sonra 'w' tuÅŸuna basarak sonrakı düzeye " +"sıçrayabilirsiniz. Bu durum ekranın saÄŸ alt köşesindeki bir simgeyle " +"belirtilir.#EÄŸer bu seçeneÄŸi 0'a ayarlarsanız istediÄŸiniz anda sıçrama " +"yapabilirsiniz, tabi 100 olarak ayarlamanız da tüm tuÄŸlaları yok etmeden " +"sıçrama yapamayacağınız anlamına gelir.##Bu seçeneÄŸin 'Özgün' ve " +"'LBreakout1' düzeylerini etkilemeyeceÄŸini unutmayın!" + +#: client/manager.c:111 +msgid "" +"In this menu you can change the appearance of LBreakout. Included to the " +"release are the three winning themes from the Linux Game Tome contest " +"'absoluteB','Oz' and 'Moiree' along with the old graphics as theme 'Classic'." +"#For more themes check out http://lgames.sf.net." +msgstr "" +"Bu menüde LBreakout'un görünümünü deÄŸiÅŸtirebilirsiniz. Bu sürümde, 'Klasik' " +"adıyla eski görünümün yanında Linux Oyun Kitabı yarışmasını kazanan üç tema " +"bulunmaktadır: 'absoluteB','Oz' ve 'Moiree'.#Daha fazla tema için http://" +"lgames.sf.net'e bakınız." + +#: client/manager.c:112 +msgid "" +"Linear:#++ There is no chance for balls to get infinitely stuck in a brick " +"bounce combo.#-- It is quite hard for balls to enter narrow passages." +"##Spherical:#++ Feels better and balls can easily pass through small gaps." +"#-- There is a chance for balls to get infinitely stuck within a series of " +"indestructible brick reflections if the level is too wrinkled. However, with " +"the auto return option this is no problem so 'Spherical' is the default." +msgstr "" +"DoÄŸrusal:#++ Topların sonsuz bir tuÄŸla zıplama kombosu içinde sıkışıp kalmak " +"gibi bir ÅŸansları yoktur.#-- Topların dar geçitlere girmesi oldukça zordur." +"##Küresel:#++ Daha iyi gibidir ve toplar küçük açıklıklardan kolayca " +"geçebilir.#-- EÄŸer düzey çok karmaşıksa toplar bir kırılamaz tuÄŸlalar " +"serisinde sonsuza dek sıkışabilir. Ancak, otomatik geri dönüş seçeneÄŸiyle bu " +"bir sorun olmaktan çıkar bu yüzden 'Küresel' öntanımlıdır." + +#: client/manager.c:118 +msgid "" +"Network communication is handled by a single UDP socket which will be bound " +"to this port number." +msgstr "" +"AÄŸ haberleÅŸmesi, bu geçit numarasına baÄŸlanacak olan bir UDP yuvası " +"tarafından iÅŸlenecektir." + +#: client/manager.c:120 +msgid "" +"If '50' the ball is shot at an angle of 50 degrees to the left or right, " +"depending on which fire button has been pressed. If it is set to 'random' " +"the ball is fired at a random angle. In this case a sticky paddle simply " +"halts the normal reflection until any fire button has been pressed." +msgstr "" +"EÄŸer '50' ise top hangi atış tuÅŸuna basıldığına baÄŸlı olarak saÄŸa ya da sola " +"doÄŸru 50 derecelik bir açıyla fırlatılır. EÄŸer 'rasgele' olarak ayarlanırsa " +"top rasgele bir açıyla fırlatılır. Bu durumda yapışkan bir raket sadece " +"normal yansımayı herhangi bir atış tuÅŸuna basılana kadar durdurur." + +#: client/manager.c:124 +msgid "" +"While you keep the middle mouse button pressed (or the acceleration key) all " +"balls will go this velocity. (in pixels per second)" +msgstr "" +"Farenin orta düğmesini (ya da hızlanma tuÅŸunu) basılı tuttuÄŸunuz sürece tüm " +"toplar bu hızda yol alacaktır. (saniyedeki benek sayısı cinsinden)" + +#: client/manager.c:126 +msgid "" +"If on, normal levelsets will have a random bonus level every four normal " +"levels.##Note: You can skip a bonus level any time by loosing the ball. This " +"will not loose a life but bring you directly to the next level." +msgstr "" +"EÄŸer etkinse, normal düzey kümelerinde her 4 normal düzeyde bir rasgele " +"ikramiye düzeyi olacaktır.##Not: Bir ikramiye düzeyi herhangi bir anda topu " +"kaybederek atlayabilirsiniz. Bu sizden bir yaÅŸam hakkı götürmeyecek ama " +"doÄŸrudan sonraki düzeye geçmenizi saÄŸlayacaktır." + +#: client/manager.c:129 +msgid "Play *ALL* available levels in a random order." +msgstr "Mümkün olan *TÃœM* düzeyleri rasgele bir sırada oyna." + +#: client/manager.c:130 +msgid "The complete levelset of LBreakout1 with just minor modifications." +msgstr "Sadece küçük deÄŸiÅŸikliklerle LBreakout1'in tüm düzey kümesi." + +#: client/manager.c:131 +msgid "" +"There is only one brick with a limited lifetime. Your task is to hit it " +"before it vanishes. If you succeed, the brick is reset somewhere else with " +"less lifetime. If you don't, the game is over. The faster you hit a brick, " +"the more score you will gain. How much seconds a brick is still there, you " +"can see at the lower right-hand side of the screen.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Sınırlı bir yaÅŸam süresiyle yalnızca bir tane tuÄŸla bulunuyor. Göreviniz " +"kaybolmadan önce bu tuÄŸlayı vurmak. EÄŸer baÅŸarırsanız, tuÄŸla baÅŸka bir yerde " +"daha ksıa bir yaÅŸam süresiyle sıfırlanacaktır. EÄŸer baÅŸaramazsanız oyun " +"biter. Bir tuÄŸlayı daha hızlı vurdukça daha fazla puan alırsınız. Bir " +"tuÄŸlanın kaybolmasına kaç saniye kaldığını ekranın saÄŸ alt kısmında " +"görebilirsiniz.##Topu kaybetmeniz sonraki düzeye geçmeniz anlamına gelir." +"##'GELÄ°ÅžMÄ°Åž SEÇENEKLER'deki 'Ä°VM. TOP HIZI'nı 900'e AYARLAYIN VE FARENÄ°ZÄ°N " +"ORTA TUÅžUNU YOÄžUN OLARAK KULLANIN! Aksi halde, çok fazla yetenek gerektiren " +"bu düzeylerde ayakta kalma ÅŸansınız olmaz!" + +#: client/manager.c:140 +msgid "" +"Your task is to prevent an outbreak by clearing all bricks. Every few " +"seconds a new one will appear somewhere, forcing you to act quickly. If you " +"succeed in clearing a level, it is reset to five bricks, but this time new " +"ones will spring into existence faster. You loose, if you cannot manage to " +"clear the screen before 50 bricks were created (which does not mean 50 " +"bricks are on the screen!). How far you are away from that limit you can see " +"in the lower right-hand side of the screen. Score is only gained for a " +"complete clearance, not for destroying single bricks! The farther you are " +"way from the 50 bricks limit the more it will be.##Loosing your ball means " +"going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN 'ADVANCED " +"OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! Otherwise you " +"won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Göreviniz tüm tuÄŸlaları temizleyerek bir patlamayı önlemek. Her geçen saniye " +"bir yerlerde yeni bir tanesi belirecek ve bu da sizi hızlı hareket etmeye " +"zorlayacaktır. EÄŸer bir düzeyi temizlemede baÅŸarılı olursanız, tuÄŸlalar 5 " +"taneye sıfırlanacak, ama bu kez yeni tuÄŸlalar daha hızlı çıkmaya " +"baÅŸlayacaktır. EÄŸer ekranda 50 tuÄŸla oluÅŸmadan temizlemeyi baÅŸaramazsanız " +"kaybedersiniz (50 tuÄŸlanın aynı anda ekranda olması gerekmez, önemli olan " +"ortaya çıkan toplam tuÄŸla sayısıdır!). Sınıra ne kadar yaklaÅŸtığınızı " +"ekranın saÄŸ alt kısmında görebilirsiniz. Tekil tuÄŸlaları parçalamak deÄŸil " +"yalnızca bir düzeyin tamamını temizlemek size puan getirir! 50 tuÄŸla " +"limitinden daha hızlı uzaklaÅŸtıkça alacağınız puan da artacaktır.##Topu " +"kaybetmeniz sizi sonraki düzeye götürecektir.##'GELÄ°ÅžMÄ°Åž SEÇENEKLER'deki " +"'Ä°VM. TOP HIZI'nı 900'e AYARLAYIN VE FARENÄ°ZÄ°N ORTA TUÅžUNU YOÄžUN OLARAK " +"KULLANIN! Aksi halde, çok fazla yetenek gerektiren bu düzeylerde ayakta " +"kalma ÅŸansınız olmaz!" + +#: client/manager.c:153 +msgid "" +"This time you have to crush through a wall and hit some bricks behind it. If " +"you succeed the wall is reset and one line bigger next time. The earlier you " +"manage to break through, the more score you'll get. No surprise, is it? What " +"makes this fun, is the fact that the wall is moving towards you. If it " +"reaches your paddle, you are out. Whenever you successfully broke through, " +"the ball will return the paddle and get attached. You then have to fire it " +"again. The wall cannot grow bigger than 12 lines. How many lines the barrier " +"is away from your paddle, is shown in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" +"Bu kez bir duvarı yıkmanız ve arkasındaki tuÄŸlaları vurmanız gerekiyor. EÄŸer " +"baÅŸarırsanız duvar sıfırlanır ve bir satır daha kalın olarak gelir. Daha " +"erken kırmayı baÅŸarırsanız daha fazla puan alırsınız. Sürpriz yok, deÄŸil mi? " +"Bu iÅŸi eÄŸlenceli yapan ÅŸey, duvarın size doÄŸru hareket ediyor olmasıdır. " +"EÄŸer raketinize ulaşırsa iÅŸiniz biter. BaÅŸarıyla her kırışınızda, top rakete " +"dönecek ve yapışacaktır. Devam etmek için topu yeniden fırlatmanız " +"gerekiyor. Duvar 12 satırdan daha kalın olamaz. Duvarın raketinizden kaç " +"satır uzakta olduÄŸunu ekranın saÄŸ alt kısmında görebilirsiniz.##Topu " +"kaybetmeniz sizi sonraki düzeye götürür.##'GELÄ°ÅžMÄ°Åž SEÇENEKLER'deki 'Ä°VM. " +"TOP HIZI'nı 900'e AYARLAYIN VE FARENÄ°ZÄ°N ORTA TUÅžUNU YOÄžUN OLARAK KULLANIN! " +"Aksi halde, çok fazla yetenek gerektiren bu düzeylerde ayakta kalma ÅŸansınız " +"olmaz!" + +#: client/manager.c:165 +msgid "" +"There are eight bricks and the ball is attached in the middle at the " +"ceiling. When it is released, one brick is highlighted and your task is to " +"hit this brick. If you manage to do so, you'll get some score and the " +"situation is reset. If you do not hit the highlighted brick AS THE VERY " +"FIRST THING, it will be destroyed until all bricks are gone. The more bricks " +"you hit in a row, the more score you will get for the next one. The score's " +"worth of the next brick you can see in the lower right-hand side of the " +"screen.##Loosing your ball means going to the next level." +msgstr "" +"8 tuÄŸla bulunuyor ve top tavanın ortasında yapışık duruyor. Serbest " +"kaldığında, bir tuÄŸla seçili hale gelir ve göreviniz de iÅŸte bu tuÄŸlayı " +"vurmaktır. EÄŸer bunu yapmayı baÅŸarabilirseniz, biraz puan alırsınız ve topun " +"durumu sıfırlanır. EÄŸer Ä°LK OLARAK renkli tuÄŸlayı vurmazsanız bu tuÄŸla diÄŸer " +"tüm tuÄŸlalar yokedilene kadar ortadan kaybolur. Bir sıradaki tuÄŸlalardan " +"daha fazla sayıda vurdukça sonraki tuÄŸla için alacağınız puan da artacaktır. " +"Sıradaki tuÄŸlanın puan deÄŸerini ekranın saÄŸ alt kısmında görebilirsiniz." +"##Topu kaybetmeniz sizi sonraki düzeye götürür." + +#: client/manager.c:174 +msgid "" +"Your task is to hunt down bricks by moving a chaos brick indirectly. " +"Therefore each side of the playing field has a brick color and you can hit " +"small pads bearing these colors. When you hit one, the chaos brick will move " +"toward the appropiate side. You must not hit the bordering bricks and you " +"must get to the brick within a time limit, as always displayed in the lower " +"right-hand side of the screen. The faster you are, the more score you'll " +"gain.##Loosing your ball means going to the next level.##HAVE 'ACC. BALL " +"SPEED' SET TO 900 IN 'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE " +"MOUSE BUTTON! Otherwise you won't stand a chance as these levels require a " +"lot of skill!" +msgstr "" +"Göreviniz bir kaos tuÄŸlasını dolaylı olarak hareket ettirip diÄŸer duÄŸlaları " +"avlamaktır. Bu yüzden oyun alanının her bir tarafının bir tuÄŸla rengi var ve " +"bu renkleri gösteren küçük yastıkları vurabilirsiniz. Birini vurduÄŸunuzda, " +"kaos tuÄŸlası o tarafa doÄŸru hareket edecektir. Sınırdaki tuÄŸlaları " +"vurmamalısınız ve tuÄŸlaya belli bir zaman sınırı içinde ulaÅŸmalısınız. Bu " +"zaman sınırını her zamanki gibi ekranın saÄŸ alt kısmında görebilirsiniz. " +"Hızlandıkça daha fazla puan alırsınız.##Topu kaybetmeniz sizi sonraki düzeye " +"götürür.##'GELÄ°ÅžMÄ°Åž SEÇENEKLER'deki 'Ä°VM. TOP HIZI'nı 900'e AYARLAYIN VE " +"FARENÄ°ZÄ°N ORTA TUÅžUNU YOÄžUN OLARAK KULLANIN! Aksi halde, çok fazla yetenek " +"gerektiren bu düzeylerde ayakta kalma ÅŸansınız olmaz!" + +#: client/manager.c:184 +msgid "" +"Stop the invading brick waves! Each waves consists of 50 bricks which will " +"get faster and faster. Each brick will give you some score. If you clear the " +"screen completely, the wave will also be over and you will receive some " +"extra score depending on the number of remaining wave bricks. One way or the " +"other, if a wave is over, the next one will start with higher speed and more " +"score until you let a brick come down to paddle level.##Loosing your ball " +"means going to the next level.##HAVE 'ACC. BALL SPEED' SET TO 900 IN " +"'ADVANCED OPTIONS AND MAKE EXCESSIVE USE OF YOUR MIDDLE MOUSE BUTTON! " +"Otherwise you won't stand a chance as these levels require a lot of skill!" +msgstr "" +"Ä°ÅŸgalci tuÄŸla dalgalarını durdurun! Her dalga gittikçe daha da hızlanacak " +"olan 50 tuÄŸladan oluÅŸur. Her tuÄŸla size bir miktar puan kazandıracaktır. " +"EÄŸer ekranı tamamen temizleyebilirseniz, dalga da sona erecek ve kalan dalga " +"tuÄŸlalarının sayısına baÄŸlı olarak fazladan puan alacaksınız. Her iki " +"durumda da eÄŸer bir dalga sona ererse bir sonraki daha hızlı ve daha fazla " +"puan verecek ÅŸekilde baÅŸlayacak ve bu durum herhangi bir tuÄŸla raketinizin " +"seviyesine ulaÅŸana kadar devam edecektir.##Topu kaybetmeniz sizi sonraki " +"düzeye götürür.##'GELÄ°ÅžMÄ°Åž SEÇENEKLER'deki 'Ä°VM. TOP HIZI'nı 900'e AYARLAYIN " +"VE FARENÄ°ZÄ°N ORTA TUÅžUNU YOÄžUN OLARAK KULLANIN! Aksi halde, çok fazla " +"yetenek gerektiren bu düzeylerde ayakta kalma ÅŸansınız olmaz!" + +#: client/manager.c:242 client/manager.c:434 +msgid "!JUMPING_JACK!" +msgstr "!ZIPLAYAN_KRÄ°KO!" + +#: client/manager.c:243 client/manager.c:437 +msgid "!OUTBREAK!" +msgstr "!PATLAMA!" + +#: client/manager.c:244 client/manager.c:440 +msgid "!BARRIER!" +msgstr "!ENGEL!" + +#: client/manager.c:245 client/manager.c:443 +msgid "!SITTING_DUCKS!" +msgstr "!OTURAN_ÖRDEKLER!" + +#: client/manager.c:246 client/manager.c:446 +msgid "!HUNTER!" +msgstr "!AVCI!" + +#: client/manager.c:247 client/manager.c:449 +msgid "!INVADERS!" +msgstr "!Ä°ÅžGALCÄ°LER!" + +#: client/manager.c:376 +#, c-format +msgid "You cannot delete '%s'!\n" +msgstr "'%s'i silemezsiniz!\n" + +#: client/manager.c:456 +#, c-format +msgid "%s v%i.%02i#Author: %s" +msgstr "%s v%i.%02i#Yazar: %s" + +#: client/manager.c:463 +#, c-format +msgid "No info available." +msgstr "Bilgi yok." + +#: client/manager.c:506 +msgid "No Limit" +msgstr "Sınırsız" + +#: client/manager.c:506 +msgid "100 FPS" +msgstr "100 FPS" + +#: client/manager.c:507 client/manager.c:652 client/manager.c:655 +#: client/manager.c:664 client/manager.c:718 client/manager.c:722 +#: client/manager.c:731 client/manager.c:739 +msgid "Off" +msgstr "Kapalı" + +#: client/manager.c:507 +msgid "Low" +msgstr "Düşük" + +#: client/manager.c:507 client/manager.c:508 +msgid "Medium" +msgstr "Orta" + +#: client/manager.c:507 +msgid "High" +msgstr "Yüksek" + +#: client/manager.c:508 +msgid "Kids" +msgstr "Çocuklar" + +#: client/manager.c:508 +msgid "Easy" +msgstr "Kolay" + +#: client/manager.c:508 +msgid "Hard" +msgstr "Zor" + +#: client/manager.c:603 +msgid "Menu" +msgstr "Menü" + +#: client/manager.c:605 client/manager.c:627 +msgid "Options" +msgstr "Seçenekler" + +#: client/manager.c:607 client/manager.c:630 client/manager.c:644 +msgid "Graphics" +msgstr "Çizgeleme" + +#: client/manager.c:608 client/manager.c:619 +msgid "Local Game" +msgstr "Yerel Oyun" + +#: client/manager.c:609 client/manager.c:629 client/manager.c:643 +msgid "Controls" +msgstr "Kontroller" + +#: client/manager.c:610 client/manager.c:636 +msgid "Advanced Options" +msgstr "GeliÅŸmiÅŸ Seçenekler" + +#: client/manager.c:612 client/manager.c:632 client/manager.c:634 +#: client/manager.c:645 client/manager.c:646 +msgid "Audio" +msgstr "Ses" + +#: client/manager.c:614 client/manager.c:638 +msgid "Editor" +msgstr "Düzenleyici" + +#: client/manager.c:615 client/manager.c:750 +msgid "Delete Set" +msgstr "Kümeyi Sil" + +#: client/manager.c:616 client/manager.c:671 +msgid "Select Theme" +msgstr "Tema Seç" + +#: client/manager.c:621 +msgid "Network Game" +msgstr "AÄŸ Oyunu" + +#: client/manager.c:648 client/manager.c:660 client/manager.c:673 +#: client/manager.c:693 client/manager.c:720 client/manager.c:741 +#: client/manager.c:752 +msgid "Back" +msgstr "Geri" + +#: client/manager.c:652 +msgid "Sound:" +msgstr "Ses:" + +#: client/manager.c:652 client/manager.c:655 client/manager.c:664 +#: client/manager.c:718 client/manager.c:722 client/manager.c:731 +#: client/manager.c:739 +msgid "On" +msgstr "Açık" + +#: client/manager.c:655 +msgid "Speech:" +msgstr "KonuÅŸma:" + +#: client/manager.c:656 +msgid "Volume:" +msgstr "Åžiddet:" + +#: client/manager.c:663 +msgid "Animations:" +msgstr "Canlandırmalar:" + +#: client/manager.c:664 +msgid "Bonus Info:" +msgstr "Ä°kramiye Bilgisi:" + +#: client/manager.c:666 +msgid "Display:" +msgstr "Görüntü:" + +#: client/manager.c:666 +msgid "Window" +msgstr "Pencere" + +#: client/manager.c:666 +msgid "Fullscreen" +msgstr "Tam Ekran" + +#: client/manager.c:669 +msgid "Frame Rate:" +msgstr "Çerçeve Hızı:" + +#: client/manager.c:675 +msgid "Resume Last Game" +msgstr "Son Oyuna Devam Et" + +#: client/manager.c:678 +msgid "Start Original Set" +msgstr "Özgün Kümeyi BaÅŸlat" + +#: client/manager.c:679 +msgid "Start AddOn" +msgstr "Ä°laveyi BaÅŸlat" + +#: client/manager.c:681 +msgid "AddOn:" +msgstr "Ä°lave:" + +#: client/manager.c:687 +msgid "Players:" +msgstr "Oyuncular:" + +#: client/manager.c:688 +msgid "1st:" +msgstr "1inci:" + +#: client/manager.c:689 +msgid "2nd:" +msgstr "2nci:" + +#: client/manager.c:690 +msgid "3rd:" +msgstr "3üncü:" + +#: client/manager.c:691 +msgid "4th:" +msgstr "4üncü:" + +#: client/manager.c:695 +msgid "Left:" +msgstr "Sol:" + +#: client/manager.c:696 +msgid "Right:" +msgstr "SaÄŸ:" + +#: client/manager.c:697 +msgid "Left Fire:" +msgstr "Sol AteÅŸ:" + +#: client/manager.c:698 +msgid "Right Fire:" +msgstr "SaÄŸ AteÅŸ:" + +#: client/manager.c:699 +msgid "Paddle Turbo:" +msgstr "Süper Raket:" + +#: client/manager.c:700 +msgid "Ball Turbo:" +msgstr "Süper Top:" + +#: client/manager.c:701 +msgid "Return:" +msgstr "Geri Dönüş:" + +#: client/manager.c:712 +msgid "Key Speed:" +msgstr "TuÅŸ Hızı:" + +#: client/manager.c:715 +msgid "Motion Modifier:" +msgstr "Hareket Niteleyici:" + +#: client/manager.c:718 +msgid "Invert Motion:" +msgstr "Tersine Hareket:" + +#: client/manager.c:722 +msgid "Convex Paddle:" +msgstr "Dışbükey Raket:" + +#: client/manager.c:725 +msgid "Ball Fire Angle:" +msgstr "Top AteÅŸ Açısı:" + +#: client/manager.c:727 +msgid "Random" +msgstr "Rastgele" + +#: client/manager.c:728 +msgid "Below Bonuses" +msgstr "Ä°kramiyelerin Altında" + +#: client/manager.c:728 +msgid "Above Bonuses" +msgstr "Ä°kramiyelerin Ãœstünde" + +#: client/manager.c:729 +msgid "Debris:" +msgstr "Enkaz:" + +#: client/manager.c:729 +msgid "Below Balls" +msgstr "AÅŸağı Toplar" + +#: client/manager.c:729 +msgid "Above Balls" +msgstr "Yukarı Toplar" + +#: client/manager.c:730 +msgid "Return Balls:" +msgstr "Topları Geri Döndür:" + +#: client/manager.c:730 +msgid "Auto" +msgstr "Otomatik" + +#: client/manager.c:730 +msgid "By Click" +msgstr "Tıklayarak" + +#: client/manager.c:731 +msgid "Use Hints:" +msgstr "Ä°puçlarını Kullan:" + +#: client/manager.c:734 +msgid "Warp Limit:" +msgstr "Sıçrama Limiti:" + +#: client/manager.c:735 +msgid "Local UDP Port:" +msgstr "Local UDP Geçidi (Port):" + +#: client/manager.c:736 +msgid "Acc. Ball Speed:" +msgstr "Ä°vm. Top Hızı:" + +#: client/manager.c:739 +msgid "Add Bonus Levels:" +msgstr "Ä°kramiye Düzeyler Ekle:" + +#: client/manager.c:744 +msgid "Set:" +msgstr "Küme:" + +#: client/manager.c:749 +msgid "Edit Set" +msgstr "Kümeyi Düzenle" + +#: client/manager.c:754 +msgid "Yes" +msgstr "Evet" + +#: client/manager.c:757 +msgid "No" +msgstr "Hayır" + +#: client/manager.c:759 +msgid "Theme:" +msgstr "Tema:" + +#: client/manager.c:764 +msgid "Apply" +msgstr "Uygula" + +#: client/theme.c:703 +msgid "NO INFO AVAILABLE" +msgstr "BÄ°LGÄ° YOK" + +#: client/value.c:40 +msgid "Space" +msgstr "BoÅŸluk" + +#: client/value.c:41 +msgid "Left" +msgstr "Sol" + +#: client/value.c:42 +msgid "Right" +msgstr "SaÄŸ" + +#: client/value.c:43 +msgid "Up" +msgstr "Yukarı" + +#: client/value.c:44 +msgid "Down" +msgstr "AÅŸağı" + +#: client/value.c:45 +msgid "Right Shift" +msgstr "SaÄŸ Ãœst Karekter" + +#: client/value.c:46 +msgid "Left Shift" +msgstr "Sol Ãœst Karekter" + +#: client/value.c:47 +msgid "Right Ctrl" +msgstr "SaÄŸ Ctrl" + +#: client/value.c:48 +msgid "Left Ctrl" +msgstr "Sol Ctrl" + +#: client/value.c:49 +msgid "Right Alt" +msgstr "SaÄŸ Alt" + +#: client/value.c:50 +msgid "Left Alt" +msgstr "Sol Alt" + +#: client/value.c:51 +msgid "BackSpace" +msgstr "GeriAl" + +#: client/misc.c:212 +msgid "Waiting for remote answer..." +msgstr "Uzaktan cevap bekleniyor..." + +#: client/misc.c:231 +#, no-c-format +msgid "remote player cancelled the game\n" +msgstr "uzaktaki oyunu iptal etti\n" + +#: client/misc.c:418 +#, c-format +msgid "Plane Of Inner Stability entered (Score: %i)" +msgstr "İç Kararlılık Düzlemine girildi (Skor: %i)" + +#: client/misc.c:436 +#, no-c-format +msgid "Disintegrate Brick? (Costs 5% of your score.) y/n" +msgstr "TuÄŸlayı Parçala? (Skorunuzun 5%'ine malolur.) e/h" + +#: common/net.c:68 +#, c-format +msgid "unable to resolve %s: %s\n" +msgstr "%s çözümlenemedi: %s\n" + +#: common/net.c:172 +#, c-format +msgid "UDP socket bound to %s:%i\n" +msgstr "UDP yuvası %s:%i 'e baÄŸlandı\n" + +#: game/game.c:67 +#, c-format +msgid "Jumping Jack" +msgstr "Zıplayan TavÅŸan" + +#: game/game.c:68 game/game.c:72 game/game.c:76 game/game.c:80 game/game.c:84 +#: game/game.c:88 +#, c-format +msgid "Bonus Level" +msgstr "Ä°kramiye Düzey" + +#: game/game.c:71 +#, c-format +msgid "Outbreak" +msgstr "Patlama" + +#: game/game.c:75 +#, c-format +msgid "Barrier" +msgstr "Engel" + +#: game/game.c:79 +#, c-format +msgid "Sitting Ducks" +msgstr "Oturan Ördekler" + +#: game/game.c:83 +#, c-format +msgid "Hunter" +msgstr "Avcı" + +#: game/game.c:87 +#, c-format +msgid "Defender" +msgstr "Savunan" + +#: game/game.c:91 +#, c-format +msgid "Unknown Level Type" +msgstr "Bilinmeyen Düzey Türü" + +#: game/levels.h:23 +msgid "" +msgstr "" + +#: game/levels.h:24 +msgid "!FREAKOUT!" +msgstr "!TIRS!" + +#: server/server.c:76 +#, c-format +msgid "server is going down...\n" +msgstr "sunucu kapanıyor...\n" + +#: server/server.c:80 +#, c-format +msgid "SERVER IS GOING DOWN!!!" +msgstr "SUNUCU KAPANIYOR!!!" + +#: server/server.c:111 +#, c-format +msgid "channel added: %s\n" +msgstr "kanal eklendi: %s\n" + +#: server/server.c:120 +#, c-format +msgid "channel deleted: %s (%i users)\n" +msgstr "kanal silindi: %s (%i kullanıcı)\n" + +#: server/server.c:208 +#, c-format +msgid "user added: %s (%i) from %s\n" +msgstr "kullanıcı eklendi: %s (%i), %s'den\n" + +#: server/server.c:238 +#, c-format +msgid "user removed: %s (%i)\n" +msgstr "kullanıcı silindi: %s (%i)\n" + +#: server/server.c:275 +#, c-format +msgid "You have been kicked! Reason: %s" +msgstr "Atıldınız! Neden: %s" + +#: server/server.c:281 +#, c-format +msgid "user kicked (%s): %s (%i)\n" +msgstr "kullanıcı (%s)'i attı: %s (%i)\n" + +#: server/server.c:316 +#, c-format +msgid "you have entered a new channel: %s" +msgstr "yeni bir kanala girdiniz: %s" + +#: server/server.c:455 +#, c-format +msgid "Login data corrupted, please retry." +msgstr "GiriÅŸ verisi bozulmuÅŸ, lütfen tekrar deneyin." + +#: server/server.c:460 +msgid "Your username may only contain letters, digits and underscores.\n" +msgstr "" +"Kullanıcı adınız sadece harfler, rakamlar ve alt çizgilerden oluÅŸabilir.\n" + +#: server/server.c:473 +#, c-format +msgid "Your protocol is out of date, please update." +msgstr "Tutanağınızın tarihi geçmiÅŸ, lütfen güncelleyin." + +#: server/server.c:475 +#, c-format +msgid "Server uses an older protocol (%i), sorry." +msgstr "Sunucu daha eski bir tutanak kullanıyor (%i), üzgünüm." + +#: server/server.c:480 +#, c-format +msgid "Server is full!" +msgstr "Sunucu dolu!" + +#: server/server.c:484 +#, c-format +msgid "Please enter a name!" +msgstr "Lütfen bir ad girin!" + +#: server/server.c:488 +#, c-format +msgid "Your name must not contain blanks! (But can have underscores.)" +msgstr "Adınız boÅŸluk içermemelidir! (Ama alt çizgi olabilir.)" + +#: server/server.c:491 server/server.c:503 +msgid "admin" +msgstr "yönetici" + +#: server/server.c:492 +#, c-format +msgid "This name is already in use. Please choose another one." +msgstr "Bu isim zaten kullanımda. Lütfen baÅŸka bir isim seçiniz." + +#: server/server.c:527 +msgid "1 user online" +msgstr "1 kullanıcı online" + +#: server/server.c:529 +#, c-format +msgid "%i users online" +msgstr "%i kullanıcı online" + +#: server/server.c:586 +msgid "search" +msgstr "ara" + +#: server/server.c:588 +msgid "search: specify a user name!" +msgstr "ara: bir kullanıcı adı belirtin!" + +#: server/server.c:592 +msgid "search: user is not online." +msgstr "ara: kullanıcı online deÄŸil." + +#: server/server.c:594 +#, c-format +msgid "search: %s: in channel %s: %s" +msgstr "ara: %s: ÅŸu kanalda: %s: %s" + +#: server/server.c:596 +msgid "playing" +msgstr "oynuyor" + +#: server/server.c:596 +msgid "chatting" +msgstr "sohbet ediyor" + +#: server/server.c:600 +msgid "version" +msgstr "sürüm" + +#: server/server.c:601 +#, c-format +msgid "transmission protocol: %i" +msgstr "dosya iletim kuralı: %i" + +#: server/server.c:604 +msgid "info" +msgstr "bilgi" + +#: server/server.c:605 +#, c-format +msgid "user limit: %i#frame rate: %i#packet limit: %i" +msgstr "kullanıcı sınırı: %i#çerçeve hızı: %i#paket sınırı: %i" + +#: server/server.c:609 +msgid "addset" +msgstr "addset" + +#: server/server.c:611 +msgid "addset: name missing" +msgstr "addset: ad eksik" + +#: server/server.c:627 +#, c-format +msgid "addset: file %s corrupted" +msgstr "addset: %s dosyası bozulmuÅŸ" + +#: server/server.c:630 +#, c-format +msgid "addset: file %s not found" +msgstr "addset: %s dosyası bulunamıyor" + +#: server/server.c:632 +msgid "addbot" +msgstr "addbot" + +#: server/server.c:634 +msgid "addbot: name missing" +msgstr "addbot: ad eksik" + +#: server/server.c:638 +#, c-format +msgid "addbot: bot '%s' exists" +msgstr "addbot: '%s' botu zaten var" + +#: server/server.c:642 +msgid "addbot: strength missing" +msgstr "addbot: güç eksik" + +#: server/server.c:648 +msgid "delbot" +msgstr "delbot" + +#: server/server.c:650 +msgid "delbot: name missing" +msgstr "delbot: ad eksik" + +#: server/server.c:654 +#, c-format +msgid "delbot: bot '%s' not found" +msgstr "delbot: '%s' botu bulunamıyor" + +#: server/server.c:659 +msgid "set" +msgstr "set" + +#: server/server.c:661 +msgid "set: variable missing" +msgstr "set: deÄŸiÅŸken eksik" + +#: server/server.c:665 +msgid "set: value missing" +msgstr "set: deÄŸer eksik" + +#: server/server.c:669 +msgid "userlimit" +msgstr "kullanıcı sınırı" + +#: server/server.c:671 +#, c-format +msgid "userlimit: set to %i" +msgstr "Kullanıcı sınırı: %i'e ayarlı" + +#: server/server.c:674 +msgid "packetlimit" +msgstr "packetlimit" + +#: server/server.c:676 +#, c-format +msgid "packetlimit: set to %i" +msgstr "packetlimit: %i'e ayarlı" + +#: server/server.c:679 +msgid "fps" +msgstr "fps" + +#: server/server.c:682 +#, c-format +msgid "fps: set to %i" +msgstr "fps: %i'e ayarlı" + +#: server/server.c:691 +msgid "kick" +msgstr "kick" + +#: server/server.c:693 +msgid "kick: specify a user name!" +msgstr "bir kullanıcı adı belirtin!" + +#: server/server.c:697 +msgid "kick: user is not online." +msgstr "kullanıcı çevrimiçi deÄŸil." + +#: server/server.c:706 +#, c-format +msgid "Sorry, but your opponent has been kicked!" +msgstr "Ãœzgünüm ama rakibiniz atıldı!" + +#: server/server.c:714 +#, c-format +msgid "ADMIN has kicked %s." +msgstr "YÖNETÄ°CÄ°, %s'i attı." + +#: server/server.c:716 +msgid "admin kick" +msgstr "admin kick" + +#: server/server.c:720 +msgid "admin_says" +msgstr "admin_says" + +#: server/server.c:722 +msgid "info: a message is required!" +msgstr "bilgi: bir mesaj gerekli!" + +#: server/server.c:729 +#, c-format +msgid "ADMIN says: %s" +msgstr "YÖNETÄ°CÄ° diyor ki: %s" + +#: server/server.c:732 +msgid "halt" +msgstr "durdur" + +#: server/server.c:736 +#, c-format +msgid "unknown command: %s" +msgstr "bilinmeyen komut: %s" + +#: server/server.c:771 server/server_game.c:397 +#, c-format +msgid "%s (%i) disconnected\n" +msgstr "%s (%i) baÄŸlantıyı kesti\n" + +#: server/server.c:802 +#, c-format +msgid "There is no user by that name." +msgstr "Bu isimde bir kullanıcı yok." + +#: server/server.c:821 +#, c-format +msgid "Channel name must not contain blanks!" +msgstr "Kanal adı boÅŸluk içermemelidir!" + +#: server/server.c:841 +#, c-format +msgid "OpenGame message corrupted!" +msgstr "OyunAç mesajı bozuk!" + +#: server/server.c:843 +#, c-format +msgid "User with id %i does not exist!" +msgstr "%i adlı bir oyuncu yok!" + +#: server/server.c:850 +#, c-format +msgid "channel %i: %s: invalid message %x: skipping %i bytes\n" +msgstr "kanal %i: %s: geçersiz mesaj %x: %i byte atlanıyor\n" + +#: server/server.c:913 +msgid "Remote player has disconnected!" +msgstr "Uzaktaki oyuncu baÄŸlantıyı kesti." + +#: server/server.c:916 +msgid "zombie" +msgstr "zombi" + +#: server/server.c:981 +#, c-format +msgid "couldn't open directory %s!\n" +msgstr "%s dizini açılamadı!\n" + +#: server/server.c:990 +#, c-format +msgid "loaded %i levelsets from directory %s\n" +msgstr "%i düzey kümesi %s dizininden yüklendi\n" + +#: server/server.c:1000 +#, c-format +msgid "" +"Usage:\n" +" lbreakout2server\n" +msgstr "" +"Kullanım:\n" +" lbreakout2server\n" + +#: server/server.c:1001 +#, c-format +msgid " [-p ] Bind server to this port (Default: %i).\n" +msgstr "" +" [-p ] Sunucuyu bu geçide (porta) baÄŸla (Öntanımlı: %" +"i).\n" + +#: server/server.c:1002 +#, c-format +msgid "" +" [-l ] Maximum number of users that can login to " +"server.\n" +msgstr "" +" [-l ] Sunucuya baÄŸlanabilecek en fazla oyuncu " +"sayısı.\n" + +#: server/server.c:1003 +#, c-format +msgid "" +" [-m ] The text in this file is send to new users on " +"login.\n" +msgstr "" +" [-m ] Bu dosyadaki metin yeni kullanıcılara " +"girÅŸite yollanır.\n" + +#: server/server.c:1004 +#, c-format +msgid "" +" [-a ] The user logging in as will become\n" +msgstr "" +" [-a ] ile giriÅŸ yapan " +"kullanıcı\n" + +#: server/server.c:1005 +#, c-format +msgid " the administrator named 'admin'.\n" +msgstr " 'admin' adlı yönetici olacaktır.\n" + +#: server/server.c:1009 +#, c-format +msgid "" +" [-f ] Number of send/recv handlings in a second.\n" +msgstr "" +" [-f <ÇERÇEVEHIZI>] Bir saniyede gönderilen/alınan iÅŸlenimlerin " +"sayısı.\n" + +#: server/server.c:1010 +#, c-format +msgid " (Default: 33)\n" +msgstr " (Öntanımlı: 33)\n" + +#: server/server.c:1011 +#, c-format +msgid "" +" [-b ] Number of paddle bots with 800 and 1000 " +"strength\n" +msgstr "" +" [-b ] 800 ve 1000 gücündeki raket botlarının sayısı\n" + +#: server/server.c:1012 +#, c-format +msgid " each. (Default: 0)\n" +msgstr " her biri. (Öntanımlı: 0)\n" + +#: server/server.c:1044 +#, fuzzy, c-format +msgid "greetings file not found, setting directly: %s\n" +msgstr "tebrikler bulunamadı: %s\n" + +#: server/server.c:1051 +#, c-format +msgid "greetings loaded: %s\n" +msgstr "tebrikler yüklendi: %s\n" + +#: server/server.c:1084 +#, c-format +msgid "server halted\n" +msgstr "sunucu durduruldu\n" + +#: server/server.c:1105 +#, c-format +msgid "Welcome to LBreakout2 online!" +msgstr "LBreakout2 Online'a HoÅŸ Geldiniz!" + +#: server/server.c:1125 +#, c-format +msgid "user limit is %i\n" +msgstr "kullanıcı limiti %i'dir\n" + +#: server/server.c:1126 +#, c-format +msgid "FPS: %i (delay: %i ms)\n" +msgstr "FPS: %i (gecikme: %i ms)\n" + +#: server/server.c:1134 +#, c-format +msgid "BOT%i-800" +msgstr "BOT%i-800" + +#: server/server.c:1139 +#, c-format +msgid "BOT%i-1000" +msgstr "BOT%i-1000" + +#: server/server.c:1189 +#, c-format +msgid "LBreakout2 has been compiled without network support.\n" +msgstr "LBreakout2 aÄŸ desteÄŸi olmaksızın derlendi.\n" + +#: server/server_game.c:301 +#, c-format +msgid "game added: %s (%i): %i rounds: %s vs. %s\n" +msgstr "oyun eklendi: %s (%i): %i raund: %s 'e karşı %s\n" + +#: server/server_game.c:312 +#, c-format +msgid "game deleted: %s (%i)\n" +msgstr "oyun silindi: %s (%i)\n" + +#: server/server_game.c:394 +msgid "Remote player has disconnected..." +msgstr "Uzaktaki oyuncu baÄŸlantıyı kesti..." + +#: server/server_game.c:406 +msgid "Remote player has left the game..." +msgstr "Uzaktaki oyuncu oyunu terketti..." + +#: server/server_game.c:533 +#, c-format +msgid "game %i: %s: state %i: invalid message %x: skipping %i bytes\n" +msgstr "oyun %i: %s: durum %i: geçersiz mesaj %x: %i bayt atlanıyor\n" diff --git a/server/Makefile.am b/server/Makefile.am index ba74f8e..7aebd79 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -1,4 +1,4 @@ -DEFS = @DEFS@ @network_flag@ @sdlnet_flag@ @inst_flag@ +DEFS = @DEFS@ @network_flag@ @sdlnet_flag@ @inst_flag@ @locdir_flag@ bin_PROGRAMS = lbreakout2server diff --git a/server/Makefile.in b/server/Makefile.in index 980f956..e80dfcd 100644 --- a/server/Makefile.in +++ b/server/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,181 +12,309 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = .. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +bin_PROGRAMS = lbreakout2server$(EXEEXT) +subdir = server +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +am__installdirs = "$(DESTDIR)$(bindir)" +binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) +PROGRAMS = $(bin_PROGRAMS) +am_lbreakout2server_OBJECTS = server.$(OBJEXT) server_game.$(OBJEXT) +lbreakout2server_OBJECTS = $(am_lbreakout2server_OBJECTS) +lbreakout2server_DEPENDENCIES = ../common/libcommon.a \ + ../game/libgame.a +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(lbreakout2server_SOURCES) +DIST_SOURCES = $(lbreakout2server_SOURCES) +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ + html-recursive info-recursive install-data-recursive \ + install-exec-recursive install-info-recursive \ + install-recursive installcheck-recursive installdirs-recursive \ + pdf-recursive ps-recursive uninstall-info-recursive \ + uninstall-recursive +ETAGS = etags +CTAGS = ctags +DIST_SUBDIRS = $(SUBDIRS) +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ @network_flag@ @sdlnet_flag@ @inst_flag@ @locdir_flag@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - -DEFS = @DEFS@ @network_flag@ @sdlnet_flag@ @inst_flag@ - -bin_PROGRAMS = lbreakout2server - -lbreakout2server_SOURCES = server.c server_game.c - +lbreakout2server_SOURCES = \ + server.c server_game.c EXTRA_DIST = server.h server_game.h - lbreakout2server_LDADD = ../common/libcommon.a ../game/libgame.a @sdlnet_lib_flag@ - SUBDIRS = levels -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../config.h -CONFIG_CLEAN_FILES = -bin_PROGRAMS = lbreakout2server$(EXEEXT) -PROGRAMS = $(bin_PROGRAMS) - -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -LIBS = @LIBS@ -lbreakout2server_OBJECTS = server.o server_game.o -lbreakout2server_DEPENDENCIES = ../common/libcommon.a ../game/libgame.a -lbreakout2server_LDFLAGS = -CFLAGS = @CFLAGS@ -COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -CCLD = $(CC) -LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -SOURCES = $(lbreakout2server_SOURCES) -OBJECTS = $(lbreakout2server_OBJECTS) - -all: all-redirect +all: all-recursive + .SUFFIXES: -.SUFFIXES: .S .c .o .s -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps server/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - - -mostlyclean-binPROGRAMS: +.SUFFIXES: .c .o .obj +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu server/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu server/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ + if test -f $$p \ + ; then \ + f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ + $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ + echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ + rm -f "$(DESTDIR)$(bindir)/$$f"; \ + done clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) - -distclean-binPROGRAMS: - -maintainer-clean-binPROGRAMS: - -install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(bindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ - echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ - $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -uninstall-binPROGRAMS: - @$(NORMAL_UNINSTALL) - list='$(bin_PROGRAMS)'; for p in $$list; do \ - rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - done - -.c.o: - $(COMPILE) -c $< - -.s.o: - $(COMPILE) -c $< - -.S.o: - $(COMPILE) -c $< +lbreakout2server$(EXEEXT): $(lbreakout2server_OBJECTS) $(lbreakout2server_DEPENDENCIES) + @rm -f lbreakout2server$(EXEEXT) + $(LINK) $(lbreakout2server_LDFLAGS) $(lbreakout2server_OBJECTS) $(lbreakout2server_LDADD) $(LIBS) mostlyclean-compile: - -rm -f *.o core *.core - -clean-compile: + -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c -maintainer-clean-compile: - -lbreakout2server$(EXEEXT): $(lbreakout2server_OBJECTS) $(lbreakout2server_DEPENDENCIES) - @rm -f lbreakout2server$(EXEEXT) - $(LINK) $(lbreakout2server_LDFLAGS) $(lbreakout2server_OBJECTS) $(lbreakout2server_LDADD) $(LIBS) +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/server_game.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. @@ -192,13 +322,14 @@ # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. - -@SET_MAKE@ - -all-recursive install-data-recursive install-exec-recursive \ -installdirs-recursive install-recursive uninstall-recursive \ -check-recursive installcheck-recursive info-recursive dvi-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ +$(RECURSIVE_TARGETS): + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -210,7 +341,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -218,13 +349,24 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $(MAKEFLAGS); amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ - rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ - rev="$$subdir $$rev"; \ - test "$$subdir" = "." && dot_seen=yes; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + rev=''; for subdir in $$list; do \ + if test "$$subdir" = "."; then :; else \ + rev="$$subdir $$rev"; \ + fi; \ done; \ - test "$$dot_seen" = "no" && rev=". $$rev"; \ + rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ @@ -234,176 +376,216 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done - +ctags-recursive: + list='$(SUBDIRS)'; for subdir in $$list; do \ + test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ + done + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique tags: TAGS -ID: $(HEADERS) $(SOURCES) $(LISP) - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - here=`pwd` && cd $(srcdir) \ - && mkid -f$$here/ID $$unique $(LISP) - -TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) +TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ - if test "$$subdir" = .; then :; else \ - test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ - fi; \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ done; \ - list='$(SOURCES) $(HEADERS)'; \ - unique=`for i in $$list; do echo $$i; done | \ - awk ' { files[$$0] = 1; } \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ - || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) - -mostlyclean-tags: - -clean-tags: + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here distclean-tags: - -rm -f TAGS ID - -maintainer-clean-tags: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = server + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ - fi; \ - done - for subdir in $(SUBDIRS); do \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ - test -d $(distdir)/$$subdir \ - || mkdir $(distdir)/$$subdir \ + test -d "$(distdir)/$$subdir" \ + || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ - chmod 777 $(distdir)/$$subdir; \ - (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ + distdir=`$(am__cd) $(distdir) && pwd`; \ + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ + (cd $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$top_distdir" \ + distdir="$$distdir/$$subdir" \ + distdir) \ || exit 1; \ fi; \ done -main.o: main.c ../config.h ../common/net.h ../common/messages.h \ - ../common/list.h ../common/tools.h ../common/parser.h server.h -net.o: net.c net.h -server.o: server.c server.h ../config.h ../common/tools.h \ - ../common/net.h ../common/messages.h ../common/list.h \ - ../common/parser.h ../game/game.h ../game/../client/lbreakout.h \ - ../game/../client/../gui/stk.h \ - ../game/../client/../common/tools.h \ - ../game/../client/../common/list.h \ - ../game/../client/../common/net.h \ - ../game/../client/../common/messages.h \ - ../game/../client/../game/gamedefs.h ../game/../client/misc.h \ - ../game/mathfuncs.h ../game/levels.h ../game/extras.h \ - ../game/balls.h ../game/shots.h ../game/bricks.h \ - ../game/paddle.h ../game/comm.h server_game.h -server_game.o: server_game.c server.h ../config.h ../common/tools.h \ - ../common/net.h ../common/messages.h ../common/list.h \ - ../common/parser.h ../game/game.h ../game/../client/lbreakout.h \ - ../game/../client/../gui/stk.h \ - ../game/../client/../common/tools.h \ - ../game/../client/../common/list.h \ - ../game/../client/../common/net.h \ - ../game/../client/../common/messages.h \ - ../game/../client/../game/gamedefs.h ../game/../client/misc.h \ - ../game/mathfuncs.h ../game/levels.h ../game/extras.h \ - ../game/balls.h ../game/shots.h ../game/bricks.h \ - ../game/paddle.h ../game/comm.h - -info-am: -info: info-recursive -dvi-am: -dvi: dvi-recursive check-am: all-am check: check-recursive -installcheck-am: -installcheck: installcheck-recursive -install-exec-am: install-binPROGRAMS +all-am: Makefile $(PROGRAMS) +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(bindir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done +install: install-recursive install-exec: install-exec-recursive - -install-data-am: install-data: install-data-recursive +uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-recursive -uninstall-am: uninstall-binPROGRAMS -uninstall: uninstall-recursive -all-am: Makefile $(PROGRAMS) -all-redirect: all-recursive + +installcheck: installcheck-recursive install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: installdirs-recursive -installdirs-am: - $(mkinstalldirs) $(DESTDIR)$(bindir) - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ - mostlyclean-tags mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-binPROGRAMS clean-generic mostlyclean-am + +distclean: distclean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +info: info-recursive + +info-am: + +install-data-am: + +install-exec-am: install-binPROGRAMS + +install-info: install-info-recursive + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive -clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \ - mostlyclean-am - -clean: clean-recursive - -distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ - distclean-generic clean-am - -distclean: distclean-recursive - -maintainer-clean-am: maintainer-clean-binPROGRAMS \ - maintainer-clean-compile maintainer-clean-tags \ - maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-recursive - -.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ -maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ -mostlyclean-compile distclean-compile clean-compile \ -maintainer-clean-compile install-data-recursive \ -uninstall-data-recursive install-exec-recursive \ -uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ -all-recursive check-recursive installcheck-recursive info-recursive \ -dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ -maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ -install-exec install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs-am \ -installdirs mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean - +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-binPROGRAMS uninstall-info-am + +uninstall-info: uninstall-info-recursive + +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ + clean clean-binPROGRAMS clean-generic clean-recursive ctags \ + ctags-recursive distclean distclean-compile distclean-generic \ + distclean-recursive distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-binPROGRAMS \ + install-data install-data-am install-exec install-exec-am \ + install-info install-info-am install-man install-strip \ + installcheck installcheck-am installdirs installdirs-am \ + maintainer-clean maintainer-clean-generic \ + maintainer-clean-recursive mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-recursive pdf pdf-am ps ps-am \ + tags tags-recursive uninstall uninstall-am \ + uninstall-binPROGRAMS uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/server/levels/Makefile.in b/server/levels/Makefile.in index bd4989b..99cfcf1 100644 --- a/server/levels/Makefile.in +++ b/server/levels/Makefile.in @@ -1,6 +1,8 @@ -# Makefile.in generated automatically by automake 1.4-p4 from Makefile.am - -# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# Makefile.in generated by automake 1.9.6 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -10,183 +12,345 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. - -SHELL = @SHELL@ - +@SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -sbindir = @sbindir@ -libexecdir = @libexecdir@ -datadir = @datadir@ -sysconfdir = @sysconfdir@ -sharedstatedir = @sharedstatedir@ -localstatedir = @localstatedir@ -libdir = @libdir@ -infodir = @infodir@ -mandir = @mandir@ -includedir = @includedir@ -oldincludedir = /usr/include - -DESTDIR = - pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ - top_builddir = ../.. - -ACLOCAL = @ACLOCAL@ -AUTOCONF = @AUTOCONF@ -AUTOMAKE = @AUTOMAKE@ -AUTOHEADER = @AUTOHEADER@ - +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -transform = @program_transform_name@ - +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -host_alias = @host_alias@ +build_triplet = @build@ host_triplet = @host@ +target_triplet = @target@ +subdir = server/levels +DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/codeset.m4 \ + $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/glibc21.m4 \ + $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intdiv0.m4 \ + $(top_srcdir)/m4/intmax.m4 $(top_srcdir)/m4/inttypes-pri.m4 \ + $(top_srcdir)/m4/inttypes.m4 $(top_srcdir)/m4/inttypes_h.m4 \ + $(top_srcdir)/m4/isc-posix.m4 $(top_srcdir)/m4/lcmessage.m4 \ + $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \ + $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/longdouble.m4 \ + $(top_srcdir)/m4/longlong.m4 $(top_srcdir)/m4/nls.m4 \ + $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/printf-posix.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/signed.m4 \ + $(top_srcdir)/m4/size_max.m4 $(top_srcdir)/m4/stdint_h.m4 \ + $(top_srcdir)/m4/uintmax_t.m4 $(top_srcdir)/m4/ulonglong.m4 \ + $(top_srcdir)/m4/wchar_t.m4 $(top_srcdir)/m4/wint_t.m4 \ + $(top_srcdir)/m4/xsize.m4 $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.in +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +SOURCES = +DIST_SOURCES = +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ +BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ +CATOBJEXT = @CATOBJEXT@ CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DATADIRNAME = @DATADIRNAME@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ EXEEXT = @EXEEXT@ -ISCC = @ISCC@ +GENCAT = @GENCAT@ +GLIBC21 = @GLIBC21@ +GMSGFMT = @GMSGFMT@ +GREP = @GREP@ +HAVE_ASPRINTF = @HAVE_ASPRINTF@ +HAVE_POSIX_PRINTF = @HAVE_POSIX_PRINTF@ +HAVE_SNPRINTF = @HAVE_SNPRINTF@ +HAVE_WPRINTF = @HAVE_WPRINTF@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INSTOBJEXT = @INSTOBJEXT@ +INTLBISON = @INTLBISON@ +INTLLIBS = @INTLLIBS@ +INTLOBJS = @INTLOBJS@ +INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ +MKINSTALLDIRS = @MKINSTALLDIRS@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ STRIP = @STRIP@ +USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ +USE_NLS = @USE_NLS@ VERSION = @VERSION@ -ZIP = @ZIP@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ appname = @appname@ arch_flag = @arch_flag@ audio_flag = @audio_flag@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +datarootdir = @datarootdir@ doc_dir = @doc_dir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ hi_dir = @hi_dir@ hi_inst_flag = @hi_inst_flag@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ inst_dir = @inst_dir@ inst_flag = @inst_flag@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +locdir_flag = @locdir_flag@ +mandir = @mandir@ mixer_flag = @mixer_flag@ +mkdir_p = @mkdir_p@ netdebug_flag = @netdebug_flag@ network_flag = @network_flag@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ sdlnet_flag = @sdlnet_flag@ sdlnet_lib_flag = @sdlnet_lib_flag@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ warp_flag = @warp_flag@ win32_deps = @win32_deps@ win32_inst_script = @win32_inst_script@ - EXTRA_DIST = N_Arenas N_Snapshots -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs -CONFIG_HEADER = ../../config.h -CONFIG_CLEAN_FILES = -DIST_COMMON = Makefile.am Makefile.in - - -DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) - -TAR = tar -GZIP_ENV = --best -all: all-redirect +all: all-am + .SUFFIXES: -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) - cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps server/levels/Makefile - -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status - +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu server/levels/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu server/levels/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +uninstall-info-am: tags: TAGS TAGS: - -distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) - -subdir = server/levels +ctags: CTAGS +CTAGS: + distdir: $(DISTFILES) - @for file in $(DISTFILES); do \ - d=$(srcdir); \ + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ fi; \ done -info-am: -info: info-am -dvi-am: -dvi: dvi-am check-am: all-am check: check-am -installcheck-am: -installcheck: installcheck-am -install-exec-am: +all-am: Makefile +installdirs: +install: install-am install-exec: install-exec-am - -install-data-am: install-data-local install-data: install-data-am +uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -install: install-am -uninstall-am: -uninstall: uninstall-am -all-am: Makefile -all-redirect: all-am + +installcheck: installcheck-am install-strip: - $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -installdirs: - - + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -rm -f config.cache config.log stamp-h stamp-h[0-9]* + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: -mostlyclean-am: mostlyclean-generic + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am -clean-am: clean-generic mostlyclean-am - -clean: clean-am - -distclean-am: distclean-generic clean-am - -distclean: distclean-am - -maintainer-clean-am: maintainer-clean-generic distclean-am - @echo "This command is intended for maintainers to use;" - @echo "it deletes files that may require special tools to rebuild." - -maintainer-clean: maintainer-clean-am - -.PHONY: tags distdir info-am info dvi-am dvi check check-am \ -installcheck-am installcheck install-exec-am install-exec \ -install-data-local install-data-am install-data install-am install \ -uninstall-am uninstall all-redirect all-am all installdirs \ -mostlyclean-generic distclean-generic clean-generic \ -maintainer-clean-generic clean mostlyclean distclean maintainer-clean +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: all all-am check check-am clean clean-generic distclean \ + distclean-generic distdir dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-local install-exec install-exec-am install-info \ + install-info-am install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am uninstall uninstall-am uninstall-info-am install-data-local: @@ -199,7 +363,6 @@ @for file in $(EXTRA_DIST); do \ echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\levels\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ done - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/server/server.c b/server/server.c index c5be17f..928594b 100644 --- a/server/server.c +++ b/server/server.c @@ -39,25 +39,25 @@ /***** LOCAL VARIABLES *****************************************************/ int server_port = 8000; /* server is listening at this port */ -List *channels = 0; /* chat channels */ -List *games = 0; /* running games */ -List *levelsets = 0; /* loaded levelsets */ +List *channels = 0; /* chat channels */ +List *games = 0; /* running games */ +List *levelsets = 0; /* loaded levelsets */ int global_id = 1; /* global id counter increased each type an object - (user,channel,game) is added (id:1 is channel MAIN) */ + (user,channel,game) is added (id:1 is channel MAIN) */ int server_halt = 0; /* when set, server will go down after some seconds */ int server_halt_since = 0; /* global time (in secs) passed since halt command */ -char errbuf[128]; /* used to compile error messages */ -char msgbuf[MAX_MSG_SIZE]; /* used to compile messages */ +char errbuf[128]; /* used to compile error messages */ +char msgbuf[MAX_MSG_SIZE]; /* used to compile messages */ int msglen = 0; -int user_limit = 50; /* maximum number of users that may be logged in (0: unlimited)*/ -int user_count = 0; /* number of logged in users */ -char greetings[256] = "Welcome to LBreakout2 online!"; /* welcome message send to user on login */ +int user_limit = 50; /* maximum number of users that may be logged in (0: unlimited)*/ +int user_count = 0; /* number of logged in users */ +char greetings[256]; /* welcome message send to user on login */ char admin_pwd[20] = ""; /* admin password (if any) */ char datadir[128] = SRC_DIR; /* levels are loaded from here */ -int server_fps = 20; /* communication frame rate */ +int server_fps = 20; /* communication frame rate */ int server_frame_delay = 50; /* delay between server frames */ int server_recv_limit = -1; /* number of packets parsed in one go (-1 == unlimited) */ -int server_def_bot_num = 0; /* number of 800's and 1000's bots to be +int server_def_bot_num = 1; /* number of 800's and 1000's bots to be created on startup */ /* these default channels are known by the client and the only @@ -65,9 +65,7 @@ * by 1 with each step */ ServerChannel *main_channel = 0; /* pointer to MAIN */ int default_channel_count = 1; -char *default_channels[] = { - "MAIN" -}; +char *default_channels[1]; /***** LOCAL FUNCTIONS *****************************************************/ @@ -75,26 +73,26 @@ static void server_init_halt() { - printf( "server is going down...\n" ); - server_halt_since = time(0); - server_halt = 1; - errbuf[0] = MSG_ERROR; - sprintf( errbuf+1, "SERVER IS GOING DOWN!!!" ); - broadcast_all( 2+strlen(errbuf+1), errbuf ); + printf( _("server is going down...\n") ); + server_halt_since = time(0); + server_halt = 1; + errbuf[0] = MSG_ERROR; + sprintf( errbuf+1, _("SERVER IS GOING DOWN!!!") ); + broadcast_all( 2+strlen(errbuf+1), errbuf ); } void send_info( ServerUser *user, int type, char *format, ... ) { - va_list args; - - if ( user->no_comm ) return; - - va_start( args, format ); - vsnprintf( msgbuf+1, MAX_MSG_SIZE-1, format, args ); - va_end( args ); - msgbuf[0] = type; - - socket_transmit( &user->socket, CODE_BLUE, 2+strlen(msgbuf+1), msgbuf ); + va_list args; + + if ( user->no_comm ) return; + + va_start( args, format ); + vsnprintf( msgbuf+1, MAX_MSG_SIZE-1, format, args ); + va_end( args ); + msgbuf[0] = type; + + socket_transmit( &user->socket, CODE_BLUE, 2+strlen(msgbuf+1), msgbuf ); } /* channel_add/delete don't require client updates as the only @@ -104,118 +102,118 @@ */ static ServerChannel* channel_add( char *name ) { - ServerChannel *channel = salloc( 1, sizeof( ServerChannel ) ); - - strncpy(channel->name,name,20); - channel->id = global_id++; - channel->users = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); - - printf( "channel added: %s\n", channel->name ); - list_add( channels, channel ); - - return channel; + ServerChannel *channel = salloc( 1, sizeof( ServerChannel ) ); + + strncpy(channel->name,name,20); + channel->id = global_id++; + channel->users = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + + printf( _("channel added: %s\n"), channel->name ); + list_add( channels, channel ); + + return channel; } static void channel_delete( void *ptr ) { - ServerChannel *channel = (ServerChannel*)ptr; - if ( channel ) { - printf( "channel deleted: %s (%i users)\n", channel->name, channel->users->count ); - if ( channel->users ) - list_delete( channel->users ); - free( channel ); - } + ServerChannel *channel = (ServerChannel*)ptr; + if ( channel ) { + printf( _("channel deleted: %s (%i users)\n"), channel->name, channel->users->count ); + if ( channel->users ) + list_delete( channel->users ); + free( channel ); + } } ServerChannel *channel_find_by_name( char *name ) { - ServerChannel *channel = 0; - list_reset( channels ); - while ( ( channel = list_next( channels ) ) ) - if ( !strcmp( channel->name, name ) ) - return channel; - return 0; + ServerChannel *channel = 0; + list_reset( channels ); + while ( ( channel = list_next( channels ) ) ) + if ( !strcmp( channel->name, name ) ) + return channel; + return 0; } static void channel_add_user( ServerChannel *channel, ServerUser *user ); static void channel_add_bot( ServerChannel *channel, char *name, int level ) { - NetAddr addr; - ServerUser *user = salloc( 1, sizeof( ServerUser) ); - - /* add a bot user to channel which can be challenged - * but does nothing else */ + NetAddr addr; + ServerUser *user = salloc( 1, sizeof( ServerUser) ); + + /* add a bot user to channel which can be challenged + * but does nothing else */ strncpy(user->name,name,16); - user->id = global_id++; + user->id = global_id++; user->no_comm = 1; - user->bot = 1; + user->bot = 1; user->bot_level = level; /* playing level */ - net_build_addr( &addr, "localhost", 8000 ); - socket_init( &user->socket, &addr ); - channel_add_user( channel, user ); + net_build_addr( &addr, "localhost", 8000 ); + socket_init( &user->socket, &addr ); + channel_add_user( channel, user ); } static void create_default_channels() { - int i = 0; - - for ( i = 0; i < default_channel_count; i++ ) - channel_add( default_channels[i] ); - main_channel = (ServerChannel*)list_first( channels ); + int i = 0; + + for ( i = 0; i < default_channel_count; i++ ) + channel_add( default_channels[i] ); + main_channel = (ServerChannel*)list_first( channels ); } static int is_default_channel( ServerChannel *channel ) { - int i = 0; - - for ( i = 0; i < default_channel_count; i++ ) - if ( !strcmp( default_channels[i], channel->name ) ) return 1; - return 0; + int i = 0; + + for ( i = 0; i < default_channel_count; i++ ) + if ( !strcmp( default_channels[i], channel->name ) ) return 1; + return 0; } static void channel_broadcast( ServerChannel *channel, int len, char *data ) { - int urgent = 0; - ServerUser *user; - - /* urgent messages are always sent even to hidden users */ - if ( data[0] == MSG_ERROR || - data[0] == MSG_ADD_USER || data[0] == MSG_REMOVE_USER || - data[0] == MSG_SET_COMM_DELAY ) - urgent = 1; - - /* deliver it */ - list_reset( channel->users ); - while ( ( user = list_next( channel->users ) ) ) - if ( !user->no_comm ) - if ( urgent || !user->hidden ) - socket_transmit( &user->socket, CODE_BLUE, len, data ); + int urgent = 0; + ServerUser *user; + + /* urgent messages are always sent even to hidden users */ + if ( data[0] == MSG_ERROR || + data[0] == MSG_ADD_USER || data[0] == MSG_REMOVE_USER || + data[0] == MSG_SET_COMM_DELAY ) + urgent = 1; + + /* deliver it */ + list_reset( channel->users ); + while ( ( user = list_next( channel->users ) ) ) + if ( !user->no_comm ) + if ( urgent || !user->hidden ) + socket_transmit( &user->socket, CODE_BLUE, len, data ); } /* broadcast message to all users in all channels even the hidden ones */ static void broadcast_all( int len, char *data ) { - ServerChannel *channel; - - list_reset( channels ); - while ( ( channel = list_next( channels ) ) ) - channel_broadcast( channel, len, data ); + ServerChannel *channel; + + list_reset( channels ); + while ( ( channel = list_next( channels ) ) ) + channel_broadcast( channel, len, data ); } static void channel_add_user( ServerChannel *channel, ServerUser *user ) { - if ( channel == 0 ) return; - if ( user == 0 ) return; - - list_add( channel->users, user ); - printf( "user added: %s (%i) from %s\n", - user->name, user->id, net_addr_to_string( &user->socket.remote_addr ) ); - - /* inform all users in channel (including this one if not hidden) */ - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_ADD_USER ); - msg_write_int32( user->id ); - msg_write_string( user->name ); - channel_broadcast( channel, msglen, msgbuf ); + if ( channel == 0 ) return; + if ( user == 0 ) return; + + list_add( channel->users, user ); + printf( _("user added: %s (%i) from %s\n"), + user->name, user->id, net_addr_to_string( &user->socket.remote_addr ) ); + + /* inform all users in channel (including this one if not hidden) */ + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_ADD_USER ); + msg_write_int32( user->id ); + msg_write_string( user->name ); + channel_broadcast( channel, msglen, msgbuf ); /* don't count dummies */ if ( !user->bot ) user_count++; @@ -223,106 +221,106 @@ void channel_remove_user( ServerChannel *channel, ServerUser *user ) { - if ( channel == 0 ) return; - if ( user == 0 ) return; - - user->hidden = 1; /* this user does not require the following update */ - - /* inform all users in channel */ - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_REMOVE_USER ); - msg_write_int32( user->id ); - channel_broadcast( channel, msglen, msgbuf ); + if ( channel == 0 ) return; + if ( user == 0 ) return; + + user->hidden = 1; /* this user does not require the following update */ + + /* inform all users in channel */ + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_REMOVE_USER ); + msg_write_int32( user->id ); + channel_broadcast( channel, msglen, msgbuf ); /* don't count dummies */ if ( !user->bot ) user_count--; - /* remove */ - printf( "user removed: %s (%i)\n", user->name, user->id ); - list_delete_item( channel->users, user ); - - /* if empty channel and not default channel delete it */ - if ( channel->users->count == 0 && !is_default_channel( channel ) ) - list_delete_item( channels, channel ); + /* remove */ + printf( _("user removed: %s (%i)\n"), user->name, user->id ); + list_delete_item( channel->users, user ); + + /* if empty channel and not default channel delete it */ + if ( channel->users->count == 0 && !is_default_channel( channel ) ) + list_delete_item( channels, channel ); } void channel_hide_user( ServerChannel *channel, ServerUser *user, int hide ) { - if ( channel == 0 ) return; - if ( user == 0 ) return; - if ( user->hidden == hide ) return; /* nothing changes */ - - - /* broadcast update to all users in channel */ - if ( hide ) { - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_REMOVE_USER ); - msg_write_int32( user->id ); - channel_broadcast( channel, msglen, msgbuf ); - user->hidden = hide; - } else { - user->hidden = hide; - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_ADD_USER ); - msg_write_int32( user->id ); - msg_write_string( user->name ); - channel_broadcast( channel, msglen, msgbuf ); - } + if ( channel == 0 ) return; + if ( user == 0 ) return; + if ( user->hidden == hide ) return; /* nothing changes */ + + + /* broadcast update to all users in channel */ + if ( hide ) { + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_REMOVE_USER ); + msg_write_int32( user->id ); + channel_broadcast( channel, msglen, msgbuf ); + user->hidden = hide; + } else { + user->hidden = hide; + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_ADD_USER ); + msg_write_int32( user->id ); + msg_write_string( user->name ); + channel_broadcast( channel, msglen, msgbuf ); + } } static void channel_kick_user( ServerChannel *channel, ServerUser *user, char *reason ) { - if ( channel == 0 ) return; - if ( user == 0 ) return; - - snprintf( errbuf, 128, "You have been kicked! Reason: %s", reason ); - send_info( user, MSG_ERROR, errbuf ); - - errbuf[0] = MSG_DISCONNECT; - socket_transmit( &user->socket, CODE_BLUE, 1, errbuf ); - - printf( "user kicked (%s): %s (%i)\n", reason, user->name, user->id ); - channel_remove_user( channel, user ); + if ( channel == 0 ) return; + if ( user == 0 ) return; + + snprintf( errbuf, 128, _("You have been kicked! Reason: %s"), reason ); + send_info( user, MSG_ERROR, errbuf ); + + errbuf[0] = MSG_DISCONNECT; + socket_transmit( &user->socket, CODE_BLUE, 1, errbuf ); + + printf( _("user kicked (%s): %s (%i)\n"), reason, user->name, user->id ); + channel_remove_user( channel, user ); } /* transfer user to new channel and send nescessary updates */ void send_full_update( ServerUser *user, ServerChannel *channel ); void channel_transfer_user( ServerChannel *old, ServerChannel *new, ServerUser *user ) { - /* same channel? */ - if ( old == new ) return; - - /* mute user as he will receive a complete update - after the transfer */ - user->hidden = 1; - - /* transfer */ - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_REMOVE_USER ); - msg_write_int32( user->id ); - channel_broadcast( old, msglen, msgbuf ); - - list_transfer( old->users, new->users, user ); - - if ( old->users->count == 0 && !is_default_channel( old ) ) - list_delete_item( channels, old ); - - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_ADD_USER ); - msg_write_int32( user->id ); - channel_broadcast( new, msglen, msgbuf ); - - /* update */ - user->hidden = 0; - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_SERVER_INFO ); - msg_printf( "you have entered a new channel: %s", new->name ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_SET_CHANNEL ); - msg_write_string( new->name ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - - send_full_update( user, new ); + /* same channel? */ + if ( old == new ) return; + + /* mute user as he will receive a complete update + after the transfer */ + user->hidden = 1; + + /* transfer */ + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_REMOVE_USER ); + msg_write_int32( user->id ); + channel_broadcast( old, msglen, msgbuf ); + + list_transfer( old->users, new->users, user ); + + if ( old->users->count == 0 && !is_default_channel( old ) ) + list_delete_item( channels, old ); + + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_ADD_USER ); + msg_write_int32( user->id ); + channel_broadcast( new, msglen, msgbuf ); + + /* update */ + user->hidden = 0; + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_SERVER_INFO ); + msg_printf( _("you have entered a new channel: %s"), new->name ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_SET_CHANNEL ); + msg_write_string( new->name ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + + send_full_update( user, new ); } /* Send a list of all users in user's channel including itself. @@ -331,105 +329,105 @@ */ void send_full_update( ServerUser *user, ServerChannel *channel ) { - ServerUser *u; - - msgbuf[0] = MSG_PREPARE_FULL_UPDATE; - socket_transmit( &user->socket, CODE_BLUE, 1, msgbuf ); - - /* users */ - list_reset( channel->users ); - while ( ( u = list_next( channel->users ) ) ) { - msg_begin_writing( msgbuf, &msglen, 32 ); - msg_write_int8( MSG_ADD_USER ); - msg_write_int32( u->id ); - msg_write_string( u->name ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - } -} - + ServerUser *u; + + msgbuf[0] = MSG_PREPARE_FULL_UPDATE; + socket_transmit( &user->socket, CODE_BLUE, 1, msgbuf ); + + /* users */ + list_reset( channel->users ); + while ( ( u = list_next( channel->users ) ) ) { + msg_begin_writing( msgbuf, &msglen, 32 ); + msg_write_int8( MSG_ADD_USER ); + msg_write_int32( u->id ); + msg_write_string( u->name ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + } +} + /* ServerUser *find_user_by_name - * IN char *name + * IN char *name * * Search all channels for a user by that name. */ static ServerUser* find_user_by_name( char *name ) { - ServerUser *user; - ServerChannel *channel; - - list_reset( channels ); - while ( ( channel = list_next( channels ) ) ) { - list_reset( channel->users ); - while ( ( user = list_next( channel->users ) ) ) - if ( !strcmp( user->name, name ) ) - return user; - } - - return 0; + ServerUser *user; + ServerChannel *channel; + + list_reset( channels ); + while ( ( channel = list_next( channels ) ) ) { + list_reset( channel->users ); + while ( ( user = list_next( channel->users ) ) ) + if ( !strcmp( user->name, name ) ) + return user; + } + + return 0; } /* ServerUser *search_user - * IN char *name + * IN char *name * * Search all channels for a user by that name and return * the channel as well. */ static ServerUser* search_user( char *name, ServerChannel **channel ) { - ServerUser *user; - - list_reset( channels ); - while ( ( *channel = list_next( channels ) ) ) { - list_reset( (*channel)->users ); - while ( ( user = list_next( (*channel)->users ) ) ) - if ( !strcmp( user->name, name ) ) - return user; - } - - return 0; + ServerUser *user; + + list_reset( channels ); + while ( ( *channel = list_next( channels ) ) ) { + list_reset( (*channel)->users ); + while ( ( user = list_next( (*channel)->users ) ) ) + if ( !strcmp( user->name, name ) ) + return user; + } + + return 0; } /* ServerUser *find_user_by_id - * IN int id + * IN int id * * Search all channels for a user by that id. */ static ServerUser* find_user_by_id( int id ) { - ServerUser *user; - ServerChannel *channel; - - list_reset( channels ); - while ( ( channel = list_next( channels ) ) ) { - list_reset( channel->users ); - while ( ( user = list_next( channel->users ) ) ) - if ( user->id == id ) - return user; - } - - return 0; + ServerUser *user; + ServerChannel *channel; + + list_reset( channels ); + while ( ( channel = list_next( channels ) ) ) { + list_reset( channel->users ); + while ( ( user = list_next( channel->users ) ) ) + if ( user->id == id ) + return user; + } + + return 0; } /* ServerUser *find_user_by_addr - * IN NetAddr *addr + * IN NetAddr *addr * * Search wether a user already uses this net address. */ static ServerUser* find_user_by_addr( NetAddr *addr ) { - ServerUser *user; - ServerChannel *channel; - - list_reset( channels ); - while ( ( channel = list_next( channels ) ) ) { - list_reset( channel->users ); - while ( ( user = list_next( channel->users ) ) ) - if ( net_compare_addr( addr, &user->socket.remote_addr ) ) - return user; - } - - return 0; + ServerUser *user; + ServerChannel *channel; + + list_reset( channels ); + while ( ( channel = list_next( channels ) ) ) { + list_reset( channel->users ); + while ( ( user = list_next( channel->users ) ) ) + if ( net_compare_addr( addr, &user->socket.remote_addr ) ) + return user; + } + + return 0; } /* void handle_connectionless_packet @@ -441,307 +439,307 @@ */ static void handle_connectionless_packet( void ) { - char name[20], pwd[20], buf[128]; - int protocol; - ServerUser *user = 0; - int i; - - msg_begin_connectionless_reading(); - - if ( msg_read_int8() != MSG_CONNECT ) return; - - protocol = msg_read_int8(); + char name[20], pwd[20], buf[128]; + int protocol; + ServerUser *user = 0; + int i; + + msg_begin_connectionless_reading(); + + if ( msg_read_int8() != MSG_CONNECT ) return; + + protocol = msg_read_int8(); strncpy(name,msg_read_string(),20); name[19] = 0; strncpy(pwd,msg_read_string(),20); pwd[19] = 0; - if ( msg_read_failed() ) { - sprintf( errbuf+1, "Login data corrupted, please retry." ); - goto failure; - } + if ( msg_read_failed() ) { + sprintf( errbuf+1, _("Login data corrupted, please retry.") ); + goto failure; + } if ( !is_alphanum(name) ) { strcpy(errbuf+1, - "Your username may only contain letters, digits and underscores.\n" ); + _("Your username may only contain letters, digits and underscores.\n") ); goto failure; } - - /* check wether this user already exists. if so the LOGIN_OKAY - * message was dropped. */ - if ( (user = find_user_by_addr( &net_sender_addr )) ) - if ( strcmp( user->name, name ) ) - user = 0; /* somebody else though same box */ - - /* check data for validity */ - if ( protocol != PROTOCOL ) { - if ( protocol < PROTOCOL ) - sprintf( errbuf+1, "Your protocol is out of date, please update." ); - else - sprintf( errbuf+1, "Server uses an older protocol (%i), sorry.", - PROTOCOL ); - goto failure; - } - if ( user_count >= user_limit && user == 0/*else user exists already but wasn't informed*/ ) { - sprintf( errbuf+1, "Server is full!" ); - goto failure; - } - if ( name[0] == 0 ) { - sprintf( errbuf+1, "Please enter a name!" ); - goto failure; - } - if ( strchr( name, ' ' ) ) { - sprintf( errbuf+1, "Your name must not contain blanks! (But can have underscores.)" ); - goto failure; - } - if ( (user==0 && find_user_by_name( name )) || !strcmp( name, "admin" ) ) { - sprintf( errbuf+1, "This name is already in use. Please choose another one." ); - goto failure; - } - /* password is currently unused */ - - /* data successfully extracted and checked. if this is not a - * user whos LOGIN_OKAY was dropped, create a new one. */ - if ( user == 0 ) { - user = salloc( 1, sizeof( ServerUser ) ); - user->id = global_id++; - if ( admin_pwd[0] != 0 && !strcmp( admin_pwd, name ) ) { - strncpy(user->name,"admin",20); - user->admin = 1; - } - else + + /* check wether this user already exists. if so the LOGIN_OKAY + * message was dropped. */ + if ( (user = find_user_by_addr( &net_sender_addr )) ) + if ( strcmp( user->name, name ) ) + user = 0; /* somebody else though same box */ + + /* check data for validity */ + if ( protocol != PROTOCOL ) { + if ( protocol < PROTOCOL ) + sprintf( errbuf+1, _("Your protocol is out of date, please update.") ); + else + sprintf( errbuf+1, _("Server uses an older protocol (%i), sorry."), + PROTOCOL ); + goto failure; + } + if ( user_count >= user_limit && user == 0/*else user exists already but wasn't informed*/ ) { + sprintf( errbuf+1, _("Server is full!") ); + goto failure; + } + if ( name[0] == 0 ) { + sprintf( errbuf+1, _("Please enter a name!") ); + goto failure; + } + if ( strchr( name, ' ' ) ) { + sprintf( errbuf+1, _("Your name must not contain blanks! (But can have underscores.)") ); + goto failure; + } + if ( (user==0 && find_user_by_name( name )) || !strcmp( name, _("admin") ) ) { + sprintf( errbuf+1, _("This name is already in use. Please choose another one.") ); + goto failure; + } + /* password is currently unused */ + + /* data successfully extracted and checked. if this is not a + * user whos LOGIN_OKAY was dropped, create a new one. */ + if ( user == 0 ) { + user = salloc( 1, sizeof( ServerUser ) ); + user->id = global_id++; + if ( admin_pwd[0] != 0 && !strcmp( admin_pwd, name ) ) { + strncpy(user->name,_("admin"),20); + user->admin = 1; + } + else strncpy(user->name,name,20); - socket_init( &user->socket, &net_sender_addr ); - user->hidden = 1; /* don't get the ADD_USER message */ - channel_add_user( main_channel, user ); - user->hidden = 0; - } - - /* tell user that it is accepted */ - msg_begin_writing( msgbuf, &msglen, 32 ); - msg_write_int8( MSG_LOGIN_OKAY ); - msg_write_int32( user->id ); - msg_write_string( user->name ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - msg_begin_writing( msgbuf, &msglen, 2+strlen(greetings) ); - msg_write_int8( MSG_SERVER_INFO ); - msg_write_string( greetings ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + socket_init( &user->socket, &net_sender_addr ); + user->hidden = 1; /* don't get the ADD_USER message */ + channel_add_user( main_channel, user ); + user->hidden = 0; + } + + /* tell user that it is accepted */ + msg_begin_writing( msgbuf, &msglen, 32 ); + msg_write_int8( MSG_LOGIN_OKAY ); + msg_write_int32( user->id ); + msg_write_string( user->name ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + msg_begin_writing( msgbuf, &msglen, 2+strlen(greetings) ); + msg_write_int8( MSG_SERVER_INFO ); + msg_write_string( greetings ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); msg_begin_writing( msgbuf, &msglen, 128 ); msg_write_int8( MSG_SERVER_INFO ); if ( user_count == 1 ) - strcpy ( buf , "1 user online" ); + strcpy ( buf , _("1 user online") ); else - snprintf( buf, 128, "%i users online", user_count ); + snprintf( buf, 128, _("%i users online"), user_count ); msg_write_string( buf ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - msg_begin_writing( msgbuf, &msglen, 4 ); - msg_write_int8( MSG_SET_COMM_DELAY ); - msg_write_int16( server_frame_delay ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - - /* send default channels */ - msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); - msg_write_int8( MSG_CHANNEL_LIST ); - msg_write_int8( default_channel_count ); - for ( i = 0; i < default_channel_count; i++ ) - msg_write_string( default_channels[i] ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - - /* send levelset names */ - msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); - msg_write_int8( MSG_LEVELSET_LIST ); - msg_write_int8( levelsets->count ); - list_reset( levelsets ); - for ( i = 0; i < levelsets->count; i++ ) - msg_write_string( list_next( levelsets ) ); - socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); - - send_full_update( user, main_channel ); - - return; + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + msg_begin_writing( msgbuf, &msglen, 4 ); + msg_write_int8( MSG_SET_COMM_DELAY ); + msg_write_int16( server_frame_delay ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + + /* send default channels */ + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_CHANNEL_LIST ); + msg_write_int8( default_channel_count ); + for ( i = 0; i < default_channel_count; i++ ) + msg_write_string( default_channels[i] ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + + /* send levelset names */ + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_LEVELSET_LIST ); + msg_write_int8( levelsets->count ); + list_reset( levelsets ); + for ( i = 0; i < levelsets->count; i++ ) + msg_write_string( list_next( levelsets ) ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); + + send_full_update( user, main_channel ); + + return; failure: - /* send error message as connectionless one as we have no - * connection so far */ - errbuf[0] = MSG_ERROR; - net_transmit_connectionless( &net_sender_addr, 2+strlen(errbuf+1), errbuf ); + /* send error message as connectionless one as we have no + * connection so far */ + errbuf[0] = MSG_ERROR; + net_transmit_connectionless( &net_sender_addr, 2+strlen(errbuf+1), errbuf ); } /* void handle_command - * IN ServerUser *user - * IN char *cmd_line + * IN ServerUser *user + * IN char *cmd_line * * Handle command send by the user. The admin has more commands available * the a normal user. */ static void handle_command( ServerUser *user, ServerChannel *channel, char *cmd_line ) { - List *args = parser_explode_string( cmd_line, ' ' ); - char *cmd = list_first( args ); - char *name, *limit, *text; - int val; - ServerUser *target, *remote; - ServerChannel *target_channel; - LevelSet *lset; - char buf[128]; - FILE *file; - - if ( cmd == 0 ) return; - - if ( !strcmp( cmd, "search" ) ) { - if ( (name = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "search: specify a user name!" ); - return; - } - if ( (target = search_user( name, &target_channel )) == 0 ) - send_info( user, MSG_SERVER_INFO, "search: user is not online." ); - else { - sprintf( buf, "search: %s: in channel %s: %s", - target->name, target_channel->name, - user->game?"playing":"chatting" ); - send_info( user, MSG_SERVER_INFO, buf ); - } - } else - if ( !strcmp( cmd, "version" ) ) { - sprintf( buf, "transmission protocol: %i", PROTOCOL ); - send_info( user, MSG_SERVER_INFO, buf ); - } else - if ( !strcmp( cmd, "info" ) ) { - sprintf( buf, "user limit: %i#frame rate: %i#packet limit: %i", - user_limit, server_fps, server_recv_limit ); - send_info( user, MSG_SERVER_INFO, buf ); - } else - if ( !strcmp( cmd, "addset" ) && user->admin ) { - if ( (name = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "addset: name missing" ); - return; - } - /* can find levelset? */ - if ( (file = levelset_open( name, "r" )) ) { - fclose( file ); - lset = levelset_load( name ); - if ( lset ) { - list_add( levelsets, lset ); - msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); - msg_write_int8( MSG_ADD_LEVELSET ); - msg_write_string( name ); - if ( !msg_write_failed() ) - broadcast_all( msglen, msgbuf ); - } - else - send_info( user, MSG_SERVER_INFO, "addset: file %s corrupted", name ); - } - else - send_info( user, MSG_SERVER_INFO, "addset: file %s not found", name ); - } else - if ( !strcmp( cmd, "addbot" ) && user->admin ) { - if ( (name = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "addbot: name missing" ); - return; - } - if ( (target = find_user_by_name( name )) ) { - send_info( user, MSG_SERVER_INFO, "addbot: bot '%s' exists", name ); - return; - } - if ( (limit = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "addbot: strength missing" ); - return; - } - channel_add_bot( channel, name, atoi(limit) ); - - } else - if ( !strcmp( cmd, "delbot" ) && user->admin ) { - if ( (name = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "delbot: name missing" ); - return; - } - if ( (target = find_user_by_name( name )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "delbot: bot '%s' not found", name ); - return; - } - channel_remove_user( channel, target ); - } else - if ( !strcmp( cmd, "set" ) && user->admin ) { - if ( (name = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "set: variable missing" ); - return; - } - if ( (limit = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "set: value missing" ); - return; - } - val = atoi( limit ); - if ( !strcmp( name, "userlimit" ) ) { - user_limit = val; - sprintf( buf, "userlimit: set to %i", user_limit ); - } - else - if ( !strcmp( name, "packetlimit" ) ) { - server_recv_limit = val; - sprintf( buf, "packetlimit: set to %i", server_recv_limit ); - } - else - if ( !strcmp( name, "fps" ) ) { - server_fps = val; - server_frame_delay = 1000/val; - sprintf( buf, "fps: set to %i", server_fps ); - - msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); - msg_write_int8( MSG_SET_COMM_DELAY ); - msg_write_int16( server_frame_delay ); - broadcast_all( msglen, msgbuf ); - } - send_info( user, MSG_SERVER_INFO, buf ); - } else - if ( !strcmp( cmd, "kick" ) && user->admin ) { - if ( (name = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "kick: specify a user name!" ); - return; - } - if ( (target = search_user( name, &target_channel )) == 0 ) - send_info( user, MSG_SERVER_INFO, "kick: user is not online." ); - else { - if ( target->game ) { - /* bring em out of the game and tell the remote - * that the game is killed*/ - remote = ((ServerGame*)target->game)->users[0]; - if ( remote == target ) - remote = ((ServerGame*)target->game)->users[1]; - errbuf[0] = MSG_ERROR; - sprintf( errbuf+1, "Sorry, but your opponent has been kicked!" ); - socket_transmit( - &remote->socket, CODE_BLUE, - 2+strlen(errbuf+1), errbuf ); - server_game_remove( (ServerGame*)target->game ); - } - msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); - msg_write_int8( MSG_SERVER_INFO ); - msg_printf( "ADMIN has kicked %s.", target->name ); - broadcast_all( msglen, msgbuf ); - channel_kick_user( target_channel, target, "admin kick" ); - } - - } else - if ( !strcmp( cmd, "admin_says" ) && user->admin ) { - if ( (text = list_next( args )) == 0 ) { - send_info( user, MSG_SERVER_INFO, "info: a message is required!" ); - return; - } - /* don't show just the first word */ - if ( (text = strchr( cmd_line, ' ' )) == 0 ) return; /* will never happen */ - msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); - msg_write_int8( MSG_SERVER_INFO ); - msg_printf( "ADMIN says: %s", text+1 /*don't double the space*/ ); - broadcast_all( msglen, msgbuf ); - } else - if ( !strcmp( cmd, "halt" ) && user->admin ) { - server_init_halt(); - } - else { - send_info( user, MSG_SERVER_INFO, "unknown command: %s", cmd ); - } + List *args = parser_explode_string( cmd_line, ' ' ); + char *cmd = list_first( args ); + char *name, *limit, *text; + int val; + ServerUser *target, *remote; + ServerChannel *target_channel; + LevelSet *lset; + char buf[128]; + FILE *file; + + if ( cmd == 0 ) return; + + if ( !strcmp( cmd, _("search") ) ) { + if ( (name = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("search: specify a user name!") ); + return; + } + if ( (target = search_user( name, &target_channel )) == 0 ) + send_info( user, MSG_SERVER_INFO, _("search: user is not online.") ); + else { + sprintf( buf, _("search: %s: in channel %s: %s"), + target->name, target_channel->name, + user->game?_("playing"):_("chatting") ); + send_info( user, MSG_SERVER_INFO, buf ); + } + } else + if ( !strcmp( cmd, _("version") ) ) { + sprintf( buf, _("transmission protocol: %i"), PROTOCOL ); + send_info( user, MSG_SERVER_INFO, buf ); + } else + if ( !strcmp( cmd, _("info") ) ) { + sprintf( buf, _("user limit: %i#frame rate: %i#packet limit: %i"), + user_limit, server_fps, server_recv_limit ); + send_info( user, MSG_SERVER_INFO, buf ); + } else + if ( !strcmp( cmd, _("addset") ) && user->admin ) { + if ( (name = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("addset: name missing") ); + return; + } + /* can find levelset? */ + if ( (file = levelset_open( name, "r" )) ) { + fclose( file ); + lset = levelset_load( name, 0 ); + if ( lset ) { + list_add( levelsets, lset ); + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_ADD_LEVELSET ); + msg_write_string( name ); + if ( !msg_write_failed() ) + broadcast_all( msglen, msgbuf ); + } + else + send_info( user, MSG_SERVER_INFO, _("addset: file %s corrupted"), name ); + } + else + send_info( user, MSG_SERVER_INFO, _("addset: file %s not found"), name ); + } else + if ( !strcmp( cmd, _("addbot") ) && user->admin ) { + if ( (name = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("addbot: name missing") ); + return; + } + if ( (target = find_user_by_name( name )) ) { + send_info( user, MSG_SERVER_INFO, _("addbot: bot '%s' exists"), name ); + return; + } + if ( (limit = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("addbot: strength missing") ); + return; + } + channel_add_bot( channel, name, atoi(limit) ); + + } else + if ( !strcmp( cmd, _("delbot") ) && user->admin ) { + if ( (name = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("delbot: name missing") ); + return; + } + if ( (target = find_user_by_name( name )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("delbot: bot '%s' not found"), name ); + return; + } + channel_remove_user( channel, target ); + } else + if ( !strcmp( cmd, _("set") ) && user->admin ) { + if ( (name = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("set: variable missing") ); + return; + } + if ( (limit = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("set: value missing") ); + return; + } + val = atoi( limit ); + if ( !strcmp( name, _("userlimit") ) ) { + user_limit = val; + sprintf( buf, _("userlimit: set to %i"), user_limit ); + } + else + if ( !strcmp( name, _("packetlimit") ) ) { + server_recv_limit = val; + sprintf( buf, _("packetlimit: set to %i"), server_recv_limit ); + } + else + if ( !strcmp( name, _("fps") ) ) { + server_fps = val; + server_frame_delay = 1000/val; + sprintf( buf, _("fps: set to %i"), server_fps ); + + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_SET_COMM_DELAY ); + msg_write_int16( server_frame_delay ); + broadcast_all( msglen, msgbuf ); + } + send_info( user, MSG_SERVER_INFO, buf ); + } else + if ( !strcmp( cmd, _("kick") ) && user->admin ) { + if ( (name = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("kick: specify a user name!") ); + return; + } + if ( (target = search_user( name, &target_channel )) == 0 ) + send_info( user, MSG_SERVER_INFO, _("kick: user is not online.") ); + else { + if ( target->game ) { + /* bring em out of the game and tell the remote + * that the game is killed*/ + remote = ((ServerGame*)target->game)->users[0]; + if ( remote == target ) + remote = ((ServerGame*)target->game)->users[1]; + errbuf[0] = MSG_ERROR; + sprintf( errbuf+1, _("Sorry, but your opponent has been kicked!") ); + socket_transmit( + &remote->socket, CODE_BLUE, + 2+strlen(errbuf+1), errbuf ); + server_game_remove( (ServerGame*)target->game ); + } + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_SERVER_INFO ); + msg_printf( _("ADMIN has kicked %s."), target->name ); + broadcast_all( msglen, msgbuf ); + channel_kick_user( target_channel, target, _("admin kick") ); + } + + } else + if ( !strcmp( cmd, _("admin_says") ) && user->admin ) { + if ( (text = list_next( args )) == 0 ) { + send_info( user, MSG_SERVER_INFO, _("info: a message is required!") ); + return; + } + /* don't show just the first word */ + if ( (text = strchr( cmd_line, ' ' )) == 0 ) return; /* will never happen */ + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_SERVER_INFO ); + msg_printf( _("ADMIN says: %s"), text+1 /*don't double the space*/ ); + broadcast_all( msglen, msgbuf ); + } else + if ( !strcmp( cmd, _("halt") ) && user->admin ) { + server_init_halt(); + } + else { + send_info( user, MSG_SERVER_INFO, _("unknown command: %s"), cmd ); + } } /* void parse_packet_channel - * IN ServerChannel *channel - * IN ServerUser *user + * IN ServerChannel *channel + * IN ServerUser *user * * Check all messages in packet from user who is located in channel and * not playing. The header has been successfully processed and the read @@ -751,117 +749,117 @@ */ static void parse_packet_channel( ServerUser *user, ServerChannel *channel ) { - int id; - unsigned char type; - char name[16]; - ServerUser *recv; - ServerGameCtx ctx; - ServerChannel *newchannel; - - while ( 1 ) { - type = (unsigned)msg_read_int8(); - - if ( msg_read_failed() ) break; /* no more messages */ - - switch ( type ) { - case MSG_HEARTBEAT: - /* updates the socket information automatically - * so connection is not closed */ - break; - case MSG_DISCONNECT: - user->no_comm = 1; /* receive no more messages */ - printf( "%s (%i) disconnected\n", user->name, user->id ); - channel_remove_user( channel, user ); - break; - case MSG_QUIT_GAME: - /* if player looks at error message and breaks up - * game (e.g. waiting for stats) it will send this - * message which is simply ignored */ - break; - case MSG_COMMAND: - handle_command( user, channel, msg_read_string() ); - break; - case MSG_UNHIDE: - if ( user->hidden ) - channel_hide_user( channel, user, 0 ); - break; - case MSG_CHATTER: - /* if UNHIDE was dropped user can become visible - * again by simply chatting */ - if ( user->hidden ) - channel_hide_user( channel, user, 0 ); - - msg_begin_writing( msgbuf, &msglen, 128 ); - msg_write_int8( MSG_CHATTER ); - msg_printf( "<%s> %s", user->name, msg_read_string() ); - if ( !msg_write_failed() ) - channel_broadcast( channel, msglen, msgbuf ); - break; - case MSG_WHISPER: - id = msg_read_int32(); - recv = find_user_by_id( id ); /* all channels */ - if ( recv == 0 ) { - sprintf( errbuf, "There is no user by that name." ); - send_info( user, MSG_ERROR, errbuf ); - } else { - msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); - msg_write_int8( MSG_CHATTER ); - msg_printf( "<%s> %s", user->name, msg_read_string() ); - if ( !msg_write_failed() ) { - socket_transmit( - &recv->socket, - CODE_BLUE, msglen, msgbuf ); - socket_transmit( - &user->socket, - CODE_BLUE, msglen, msgbuf ); - } - } - break; - case MSG_ENTER_CHANNEL: + int id; + unsigned char type; + char name[16]; + ServerUser *recv; + ServerGameCtx ctx; + ServerChannel *newchannel; + + while ( 1 ) { + type = (unsigned)msg_read_int8(); + + if ( msg_read_failed() ) break; /* no more messages */ + + switch ( type ) { + case MSG_HEARTBEAT: + /* updates the socket information automatically + * so connection is not closed */ + break; + case MSG_DISCONNECT: + user->no_comm = 1; /* receive no more messages */ + printf( _("%s (%i) disconnected\n"), user->name, user->id ); + channel_remove_user( channel, user ); + break; + case MSG_QUIT_GAME: + /* if player looks at error message and breaks up + * game (e.g. waiting for stats) it will send this + * message which is simply ignored */ + break; + case MSG_COMMAND: + handle_command( user, channel, msg_read_string() ); + break; + case MSG_UNHIDE: + if ( user->hidden ) + channel_hide_user( channel, user, 0 ); + break; + case MSG_CHATTER: + /* if UNHIDE was dropped user can become visible + * again by simply chatting */ + if ( user->hidden ) + channel_hide_user( channel, user, 0 ); + + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_CHATTER ); + msg_printf( "<%s> %s", user->name, msg_read_string() ); + if ( !msg_write_failed() ) + channel_broadcast( channel, msglen, msgbuf ); + break; + case MSG_WHISPER: + id = msg_read_int32(); + recv = find_user_by_id( id ); /* all channels */ + if ( recv == 0 ) { + sprintf( errbuf, _("There is no user by that name.") ); + send_info( user, MSG_ERROR, errbuf ); + } else { + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_CHATTER ); + msg_printf( "<%s> %s", user->name, msg_read_string() ); + if ( !msg_write_failed() ) { + socket_transmit( + &recv->socket, + CODE_BLUE, msglen, msgbuf ); + socket_transmit( + &user->socket, + CODE_BLUE, msglen, msgbuf ); + } + } + break; + case MSG_ENTER_CHANNEL: strncpy(name,msg_read_string(),16); - if ( strchr( name, ' ' ) ) { - sprintf( errbuf, "Channel name must not contain blanks!" ); - send_info( user, MSG_ERROR, errbuf ); - break; - } - newchannel = channel_find_by_name( name ); - if ( newchannel == 0 ) newchannel = channel_add( name ); - channel_transfer_user( channel, newchannel, user ); - break; - case MSG_OPEN_GAME: - ctx.challenger = user; - id = msg_read_int32(); - ctx.challenged = find_user_by_id( id ); - strncpy(ctx.name,msg_read_string(),20); - ctx.name[19] = 0; - ctx.diff = msg_read_int8(); - ctx.rounds = msg_read_int8(); - ctx.frags = msg_read_int8(); - ctx.balls = msg_read_int8(); - errbuf[0] = 0; - if ( msg_read_failed() ) - sprintf( errbuf, "OpenGame message corrupted!" ); - if ( ctx.challenged == 0 ) - sprintf( errbuf, "User with id %i does not exist!", id ); - if ( errbuf[0] != 0 ) - send_info( user, MSG_ERROR, errbuf ); - else - server_game_add( channel, &ctx ); - break; - default: - printf( "channel %i: %s: invalid message %x: skipping %i bytes\n", - channel->id, - net_addr_to_string( &user->socket.remote_addr), type, - net_buffer_cur_size - msg_read_pos ); - msg_read_pos = net_buffer_cur_size; - break; - - } - } + if ( strchr( name, ' ' ) ) { + sprintf( errbuf, _("Channel name must not contain blanks!") ); + send_info( user, MSG_ERROR, errbuf ); + break; + } + newchannel = channel_find_by_name( name ); + if ( newchannel == 0 ) newchannel = channel_add( name ); + channel_transfer_user( channel, newchannel, user ); + break; + case MSG_OPEN_GAME: + ctx.challenger = user; + id = msg_read_int32(); + ctx.challenged = find_user_by_id( id ); + strncpy(ctx.name,msg_read_string(),20); + ctx.name[19] = 0; + ctx.diff = msg_read_int8(); + ctx.rounds = msg_read_int8(); + ctx.frags = msg_read_int8(); + ctx.balls = msg_read_int8(); + errbuf[0] = 0; + if ( msg_read_failed() ) + sprintf( errbuf, _("OpenGame message corrupted!") ); + if ( ctx.challenged == 0 ) + sprintf( errbuf, _("User with id %i does not exist!"), id ); + if ( errbuf[0] != 0 ) + send_info( user, MSG_ERROR, errbuf ); + else + server_game_add( channel, &ctx ); + break; + default: + printf( _("channel %i: %s: invalid message %x: skipping %i bytes\n"), + channel->id, + net_addr_to_string( &user->socket.remote_addr), type, + net_buffer_cur_size - msg_read_pos ); + msg_read_pos = net_buffer_cur_size; + break; + + } + } } /* void find_send_user - * OUT ServerUser **user + * OUT ServerUser **user * * Check all channels and games for the user who's socket address equals * net_sender_addr and return a pointer to it or set '*user' 0 else. @@ -870,21 +868,21 @@ */ static void find_send_user( ServerUser **user, ServerChannel **channel, ServerGame **game ) { - *user = 0; - *channel = 0; - *game = 0; - - list_reset( channels ); - while ( ( *channel = list_next( channels ) ) ) { - list_reset( (*channel)->users ); - while ( ( *user = list_next( (*channel)->users ) ) ) - if ( net_compare_addr( &net_sender_addr, &(*user)->socket.remote_addr ) ) { - /* we have found the user. check if it is playing a game */ - if ( (*user)->game ) - *game = (ServerGame*)(*user)->game; /* is a void pointer */ - return; - } - } + *user = 0; + *channel = 0; + *game = 0; + + list_reset( channels ); + while ( ( *channel = list_next( channels ) ) ) { + list_reset( (*channel)->users ); + while ( ( *user = list_next( (*channel)->users ) ) ) + if ( net_compare_addr( &net_sender_addr, &(*user)->socket.remote_addr ) ) { + /* we have found the user. check if it is playing a game */ + if ( (*user)->game ) + *game = (ServerGame*)(*user)->game; /* is a void pointer */ + return; + } + } } /* void remove_zombies @@ -893,36 +891,36 @@ */ static void remove_zombies( void ) { - ServerUser *user, *peer; - ServerChannel *channel; - int cur_time = time(0); - - list_reset( channels ); - while ( ( channel = list_next( channels ) ) ) { - list_reset( channel->users ); - while ( ( user = list_next( channel->users ) ) ) { - if ( user->bot ) continue; /* are never removed */ - if ( user->socket.fatal_error || - cur_time >= user->socket.idle_since + 60 ) { - /* either the code red buffer overflowed or the - * user did not send the heartbeat: a zombie! */ - /* bring users to channel if playing */ - if ( user->game ) { - peer = user->player_id==0? - ((ServerGame*)user->game)->users[1]: - ((ServerGame*)user->game)->users[0]; - send_info( peer, MSG_ERROR, - "Remote player has disconnected!" ); - server_game_remove( (ServerGame*)user->game ); - } - channel_kick_user( channel, user, "zombie" ); - } - } - } + ServerUser *user, *peer; + ServerChannel *channel; + int cur_time = time(0); + + list_reset( channels ); + while ( ( channel = list_next( channels ) ) ) { + list_reset( channel->users ); + while ( ( user = list_next( channel->users ) ) ) { + if ( user->bot ) continue; /* are never removed */ + if ( user->socket.fatal_error || + cur_time >= user->socket.idle_since + 60 ) { + /* either the code red buffer overflowed or the + * user did not send the heartbeat: a zombie! */ + /* bring users to channel if playing */ + if ( user->game ) { + peer = user->player_id==0? + ((ServerGame*)user->game)->users[1]: + ((ServerGame*)user->game)->users[0]; + send_info( peer, MSG_ERROR, + _("Remote player has disconnected!") ); + server_game_remove( (ServerGame*)user->game ); + } + channel_kick_user( channel, user, _("zombie") ); + } + } + } } /* void handle - * IN int ms milliseconds passed since last call + * IN int ms milliseconds passed since last call * * Receive all packets at the single UDP socket and check wether it is * connectionless (connection requests) or belongs to a connection (socket). @@ -934,206 +932,226 @@ */ static void handle( int ms ) { - int recv_limit; - ServerUser *user = 0; - ServerChannel *channel = 0; - ServerGame *game = 0; - - recv_limit = server_recv_limit; /* limited number of packets if not -1 */ - while ( net_recv_packet() && ( recv_limit==-1 || recv_limit > 0) ) { - /* handle connectionless packets (login requests) */ - if ( msg_is_connectionless() ) { - handle_connectionless_packet(); - continue; - } - - /* find the sending user and its channel by comparing - * net_sender_addr. */ - find_send_user( &user, &channel, &game ); - if ( user == 0 ) continue; - - /* check if this is a valid packet and update the socket */ - if ( !socket_process_header( &user->socket ) ) continue; - - /* extract the messages */ - if ( game ) - parse_packet_game( game, user ); - else - if ( channel ) - parse_packet_channel( user, channel ); - - if ( recv_limit != -1 ) recv_limit--; - } - - remove_zombies(); - - update_games( ms ); + int recv_limit; + ServerUser *user = 0; + ServerChannel *channel = 0; + ServerGame *game = 0; + + recv_limit = server_recv_limit; /* limited number of packets if not -1 */ + while ( net_recv_packet() && ( recv_limit==-1 || recv_limit > 0) ) { + /* handle connectionless packets (login requests) */ + if ( msg_is_connectionless() ) { + handle_connectionless_packet(); + continue; + } + + /* find the sending user and its channel by comparing + * net_sender_addr. */ + find_send_user( &user, &channel, &game ); + if ( user == 0 ) continue; + + /* check if this is a valid packet and update the socket */ + if ( !socket_process_header( &user->socket ) ) continue; + + /* extract the messages */ + if ( game ) + parse_packet_game( game, user ); + else + if ( channel ) + parse_packet_channel( user, channel ); + + if ( recv_limit != -1 ) recv_limit--; + } + + remove_zombies(); + + update_games( ms ); } /* (re)load all levelsets from the datadir */ static int load_levelsets( void ) { - DIR *hdir; - struct dirent *dirent; - - list_clear( levelsets ); - - hdir = opendir( SRC_DIR "/levels" ); - if ( hdir == 0 ) { - printf( "couldn't open directory %s!\n", SRC_DIR "/levels" ); - return 0; - } - - while ( (dirent = readdir( hdir )) ) { - if ( dirent->d_name[0] == '.' ) continue; - if ( dirent->d_name[0] != 'N' || dirent->d_name[1] != '_' ) continue; - list_add( levelsets, levelset_load( dirent->d_name ) ); - } - printf( "loaded %i levelsets from directory %s\n", - levelsets->count, SRC_DIR "/levels" ); - - closedir( hdir ); - return 1; + DIR *hdir; + struct dirent *dirent; + + list_clear( levelsets ); + + hdir = opendir( SRC_DIR "/levels" ); + if ( hdir == 0 ) { + printf( _("couldn't open directory %s!\n"), SRC_DIR "/levels" ); + return 0; + } + + while ( (dirent = readdir( hdir )) ) { + if ( dirent->d_name[0] == '.' ) continue; + if ( dirent->d_name[0] != 'N' || dirent->d_name[1] != '_' ) continue; + list_add( levelsets, levelset_load( dirent->d_name, 0 ) ); + } + printf( _("loaded %i levelsets from directory %s\n"), + levelsets->count, SRC_DIR "/levels" ); + + closedir( hdir ); + return 1; } /* display help of command line options */ static void display_help() { - printf( "Usage:\n lbreakout2server\n" ); - printf( " [-p ] Bind server to this port (Default: %i).\n", server_port ); - printf( " [-l ] Maximum number of users that can login to server.\n" ); - printf( " [-m ] The text in this file is send to new users on login.\n" ); - printf( " [-a ] The user logging in as will become\n" ); - printf( " the administrator named 'admin'.\n" ); -/* printf( " [-D ] In this directory the network levelsets are located.\n" ); - printf( " Note: To upload levelsets as admin the directory\n" ); - printf( " must be writeable.\n" );*/ - printf( " [-f ] Number of send/recv handlings in a second.\n" ); - printf( " (Default: 33)\n" ); - printf( " [-b ] Number of paddle bots with 800 and 1000 strength\n"); - printf( " each. (Default: 0)\n" ); - exit( 0 ); + printf( _("Usage:\n lbreakout2server\n") ); + printf( _(" [-p ] Bind server to this port (Default: %i).\n"), server_port ); + printf( _(" [-l ] Maximum number of users that can login to server.\n") ); + printf( _(" [-m ] The text in this file is send to new users on login.\n") ); + printf( _(" [-a ] The user logging in as will become\n") ); + printf( _(" the administrator named 'admin'.\n") ); +/* printf( _(" [-D ] In this directory the network levelsets are located.\n") ); + printf( _(" Note: To upload levelsets as admin the directory\n") ); + printf( _(" must be writeable.\n") );*/ + printf( _(" [-f ] Number of send/recv handlings in a second.\n") ); + printf( _(" (Default: 33)\n") ); + printf( _(" [-b ] Number of paddle bots with 800 and 1000 strength\n")); + printf( _(" each. (Default: 0)\n") ); + exit( 0 ); } /* Parse the command line. */ static void parse_args( int argc, char **argv ) { - int i, len; - FILE *file; - - for ( i = 0; i < argc; i++ ) { - if ( !strcmp( "-p", argv[i] ) ) - if ( argv[i + 1] ) - server_port = atoi( argv[i + 1] ); - if ( !strcmp( "-l", argv[i] ) ) - if ( argv[i + 1] ) - user_limit = atoi( argv[i + 1] ); - if ( !strcmp( "-f", argv[i] ) ) - if ( argv[i + 1] ) { - server_fps = atoi(argv[i + 1]); - server_frame_delay = 1000/server_fps; - } - if ( !strcmp( "-D", argv[i] ) ) - if ( argv[i + 1] ) - strncpy(datadir,argv[i + 1],128); - if ( !strcmp( "-h", argv[i] ) || !strcmp( "--help", argv[i] ) ) - display_help(); - if ( !strcmp( "-m", argv[i] ) ) - if ( argv[i + 1] ) { - file = fopen( argv[i+1], "r" ); - if ( file == 0 ) - printf( "greetings not found: %s\n", argv[i+1] ); - else { - len = fread( greetings, 1, 255, file ); - greetings[len] = 0; - fclose( file ); - printf( "greetings loaded: %s\n", argv[i+1] ); - } - } - if ( !strcmp( "-a", argv[i] ) ) - if ( argv[i + 1] ) - strncpy(admin_pwd,argv[i + 1],15); + int i, len; + FILE *file; + + for ( i = 0; i < argc; i++ ) { + if ( !strcmp( "-p", argv[i] ) ) + if ( argv[i + 1] ) + server_port = atoi( argv[i + 1] ); + if ( !strcmp( "-l", argv[i] ) ) + if ( argv[i + 1] ) + user_limit = atoi( argv[i + 1] ); + if ( !strcmp( "-f", argv[i] ) ) + if ( argv[i + 1] ) { + server_fps = atoi(argv[i + 1]); + server_frame_delay = 1000/server_fps; + } + if ( !strcmp( "-D", argv[i] ) ) + if ( argv[i + 1] ) + strncpy(datadir,argv[i + 1],128); + if ( !strcmp( "-h", argv[i] ) || !strcmp( "--help", argv[i] ) ) + display_help(); + if ( !strcmp( "-m", argv[i] ) ) + if ( argv[i + 1] ) { + file = fopen( argv[i+1], "r" ); + if ( file == 0 ) + { + printf( _("greetings file not found, setting directly: %s\n"), argv[i+1] ); + snprintf(greetings,256,"%s",argv[i+1]); + } + else { + len = fread( greetings, 1, 255, file ); + greetings[len] = 0; + fclose( file ); + printf( _("greetings loaded: %s\n"), argv[i+1] ); + } + } + if ( !strcmp( "-a", argv[i] ) ) + if ( argv[i + 1] ) + strncpy(admin_pwd,argv[i + 1],15); if ( !strcmp( "-b", argv[i] ) ) if ( argv[i + 1] ) server_def_bot_num = atoi(argv[i + 1]); - } + } } /* Initiate network connection and lists. */ static void finalize() { - /* disconnect all users */ - errbuf[0] = MSG_DISCONNECT; - broadcast_all( 1, errbuf ); - - /* free lists */ - if ( channels ) - list_delete( channels ); - if ( games ) - list_delete( games ); - if ( levelsets ) - list_delete( levelsets ); - - /* close server socket */ - net_shutdown(); - - printf( "server halted\n" ); + /* disconnect all users */ + errbuf[0] = MSG_DISCONNECT; + broadcast_all( 1, errbuf ); + + /* free lists */ + if ( channels ) + list_delete( channels ); + if ( games ) + list_delete( games ); + if ( levelsets ) + list_delete( levelsets ); + + /* close server socket */ + net_shutdown(); + + /* free default channel title */ + free(default_channels[0]); + + printf( _("server halted\n") ); } static void init( int argc, char **argv ) { char name[16]; int id = 1, j; - /* initiate sdl timer */ - SDL_Init( SDL_INIT_TIMER ); - - /* set signal handler to cleanly shutdown by CTRL-C */ - signal( SIGINT, signal_handler ); - - /* parse command line options */ - parse_args( argc, argv ); - - /* open single UDP socket */ - if ( !net_init( server_port ) ) exit(1); - - /* create empty lists */ - channels = list_create( LIST_AUTO_DELETE, channel_delete ); - games = list_create( LIST_AUTO_DELETE, server_game_delete ); - levelsets= list_create( LIST_AUTO_DELETE, levelset_list_delete ); - if ( channels == 0 || games == 0 || levelsets == 0 ) exit(1); - - /* load levelset names */ - load_levelsets(); - - printf( "user limit is %i\n", user_limit ); - printf( "FPS: %i (delay: %i ms)\n", 1000/server_frame_delay, server_frame_delay ); - - /* add default channels */ - create_default_channels(); + + /* i18n */ +#ifdef ENABLE_NLS + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); +#endif + + /* initiate sdl timer */ + SDL_Init( SDL_INIT_TIMER ); + + /* set signal handler to cleanly shutdown by CTRL-C */ + signal( SIGINT, signal_handler ); + + /* welcome message */ + snprintf(greetings,256,_("Welcome to LBreakout2 online!")); + + /* default channel */ + default_channels[0] = strdup(_("MAIN")); + + /* parse command line options */ + parse_args( argc, argv ); + + /* open single UDP socket */ + if ( !net_init( server_port ) ) exit(1); + + /* create empty lists */ + channels = list_create( LIST_AUTO_DELETE, channel_delete ); + games = list_create( LIST_AUTO_DELETE, server_game_delete ); + levelsets= list_create( LIST_AUTO_DELETE, levelset_list_delete ); + if ( channels == 0 || games == 0 || levelsets == 0 ) exit(1); + + /* load levelset names */ + load_levelsets(); + + printf( _("user limit is %i\n"), user_limit ); + printf( _("FPS: %i (delay: %i ms)\n"), 1000/server_frame_delay, server_frame_delay ); + + /* add default channels */ + create_default_channels(); /* add default bots */ for ( j = 0; j < server_def_bot_num; j++,id++ ) { - snprintf( name, 16, "BOT%i-800", id ); + snprintf( name, 16, _("BOT%i-800"), id ); channel_add_bot( main_channel, name, 800 ); } for ( j = 0; j < server_def_bot_num; j++,id++ ) { - snprintf( name, 16, "BOT%i-1000", id ); + snprintf( name, 16, _("BOT%i-1000"), id ); channel_add_bot( main_channel, name, 1000 ); } - /* build angle table */ - init_angles(); + /* build angle table */ + init_angles(); } static void signal_handler( int signal ) { - switch ( signal ) { - case SIGINT: - if ( server_halt ) break; - server_init_halt(); - break; - } + switch ( signal ) { + case SIGINT: + if ( server_halt ) break; + server_init_halt(); + break; + } } #endif @@ -1143,34 +1161,33 @@ int main( int argc, char **argv ) { #ifdef NETWORK_ENABLED - int last_ticks, cur_ticks; - int ms = 0; - - set_random_seed(); /* set random seed */ - init( argc, argv ); - - /* loop and handle messages until shutdown */ - last_ticks = cur_ticks = SDL_GetTicks(); - while ( 1 ) { - last_ticks = cur_ticks; cur_ticks = SDL_GetTicks(); - ms += cur_ticks - last_ticks; - - if ( ms > server_frame_delay ) { - handle( ms ); - ms -= server_frame_delay; - } - - if ( server_halt && time( 0 ) > server_halt_since + 5 ) - break; - - SDL_Delay( 5 ); - } - - finalize(); + int last_ticks, cur_ticks; + int ms = 0; + + set_random_seed(); /* set random seed */ + init( argc, argv ); + + /* loop and handle messages until shutdown */ + last_ticks = cur_ticks = SDL_GetTicks(); + while ( 1 ) { + last_ticks = cur_ticks; cur_ticks = SDL_GetTicks(); + ms += cur_ticks - last_ticks; + + if ( ms > server_frame_delay ) { + handle( ms ); + ms -= server_frame_delay; + } + + if ( server_halt && time( 0 ) > server_halt_since + 5 ) + break; + + SDL_Delay( 5 ); + } + + finalize(); #else - printf( "LBreakout2 has been compiled without network support.\n" ); + printf( _("LBreakout2 has been compiled without network support.\n") ); #endif - return 0; -} - + return 0; +} diff --git a/server/server.h b/server/server.h index 72e0ff4..e03d648 100644 --- a/server/server.h +++ b/server/server.h @@ -35,6 +35,14 @@ #include "../common/list.h" #include "../common/parser.h" #include "../game/game.h" + +/* i18n */ +#include "../common/gettext.h" +#if ENABLE_NLS +#define _(str) gettext (str) +#else +#define _(str) (str) +#endif /***** TYPE DEFINITIONS ****************************************************/ @@ -111,4 +119,3 @@ /***** PUBLIC FUNCTIONS ****************************************************/ #endif - diff --git a/server/server_game.c b/server/server_game.c index 5c25883..4627d1a 100644 --- a/server/server_game.c +++ b/server/server_game.c @@ -298,7 +298,7 @@ } list_add( games, game ); - printf( "game added: %s (%i): %i rounds: %s vs. %s\n", + printf( _("game added: %s (%i): %i rounds: %s vs. %s\n"), game->set->name, game->id, game->rounds, game->users[0]->name, game->users[1]->name ); } @@ -309,7 +309,7 @@ ServerGame *game = (ServerGame*)ptr; if ( game ) { - printf( "game deleted: %s (%i)\n", game->set->name, game->id ); + printf( _("game deleted: %s (%i)\n"), game->set->name, game->id ); if ( game->game ) game_delete( &game->game ); @@ -391,10 +391,10 @@ peer = game->users[1]; else peer = game->users[0]; - send_info( peer, MSG_ERROR, "Remote player has disconnected..." ); + send_info( peer, MSG_ERROR, _("Remote player has disconnected...") ); server_game_remove( game ); - printf( "%s (%i) disconnected\n", user->name, user->id ); + printf( _("%s (%i) disconnected\n"), user->name, user->id ); channel_remove_user( game->channel, user ); handled = 1; break; @@ -403,7 +403,7 @@ peer = game->users[1]; else peer = game->users[0]; - send_info( peer, MSG_ERROR, "Remote player has left the game..." ); + send_info( peer, MSG_ERROR, _("Remote player has left the game...") ); /* update stats and finalize context */ game->game->winner = -1; /* count unfinished level as draw */ @@ -530,7 +530,7 @@ } if ( !handled ) { - printf( "game %i: %s: state %i: invalid message %x: skipping %i bytes\n", + printf( _("game %i: %s: state %i: invalid message %x: skipping %i bytes\n"), game->id, net_addr_to_string( &user->socket.remote_addr ), game->state, type, net_buffer_cur_size - msg_read_pos ); msg_read_pos = net_buffer_cur_size; diff --git a/stamp-h.in b/stamp-h.in deleted file mode 100644 index 9788f70..0000000 --- a/stamp-h.in +++ /dev/null @@ -1 +0,0 @@ -timestamp