diff --git a/project/jni/application/lbreakout2/ABOUT-NLS b/project/jni/application/lbreakout2/ABOUT-NLS new file mode 100644 index 000000000..2f50c6693 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/AUTHORS b/project/jni/application/lbreakout2/AUTHORS new file mode 100644 index 000000000..687fcbbc3 --- /dev/null +++ b/project/jni/application/lbreakout2/AUTHORS @@ -0,0 +1,38 @@ +Michael Speck + +**** Contributions **** + +Patch to add a very easy difficulty level for kids. - Zooko + +Patch to fix the insane speedup of balls after a SLOW/FAST +bonus expired that came up in 2.5beta. - Mark Tomich + +Patch to load all themes from installation path. - Michal Cihar + +Fixes to make LBreakout run on FreeBSD. - Sammy Mannaert + +Option for playing with balls above debris and +explosions. - Jochen Striepe + +Fix for input bug in Win32, a better installation +system and blinking cursor for editable menu items. - Lee Read + +Modifications to make LBreakout2 compileable on +Win32 with MinGW. - Claudio Chimera + +Fix for the bug where the bonus floor disappeared to slow +on fast machines. - Trevor Spiteri + +New explosions, various backgrounds, ideas and graphics for +extras and bricks: +TIME_ADD, DISABLE, EXPLOSIVE_BALL, BONUS/MALUS MAGNET, +WEAK BALL, CHAOS BRICK, REGENERATIVE BRICK. - Dante + +Fix for a bug where balls where attached to the wall +instead of the paddle when paddle and brick where hit +in the same programme cycle. - Patrick Hohmeyer + +**** + +Also thanks to all guys that made suggestions to +improve LBreakout2!!! diff --git a/project/jni/application/lbreakout2/AndroidAppSettings.cfg b/project/jni/application/lbreakout2/AndroidAppSettings.cfg new file mode 100644 index 000000000..e5dc91d0e --- /dev/null +++ b/project/jni/application/lbreakout2/AndroidAppSettings.cfg @@ -0,0 +1,24 @@ +# The application settings for Android libSDL port +AppSettingVersion=7 +LibSdlVersion=1.2 +AppName="LBreakout2" +AppFullName=net.sourceforge.lgames.lbreakout2 +ScreenOrientation=h +AppDataDownloadUrl="App data size is 5 Mb|https://sourceforge.net/projects/libsdl-android/files/LBreakout2/lbreakout2-2.6.1-data.zip/download|http://sites.google.com/site/xpelyax/Home/lbreakout2-2.6.1-data.zip?attredirects=0&d=1|http://sitesproxy.goapk.com/site/xpelyax/Home/lbreakout2-2.6.1-data.zip" +SdlVideoResize=y +NeedDepthBuffer=n +AppUsesMouse=y +AppNeedsArrowKeys=n +AppUsesJoystick=n +AppUsesMultitouch=n +RedefinedKeys="RETURN SPACE PAGEUP PAGEDOWN" +AppTouchscreenKeyboardKeysAmount=0 +AppTouchscreenKeyboardKeysAmountAutoFire=0 +MultiABI=n +AppVersionCode=26101 +AppVersionName="2.6.1.01" +CompiledLibraries="sdl_mixer sdl_image sdl_net intl" +AppCflags='-DHAVE_CONFIG_H -finline-functions -O2' +AppLdflags='' +AppSubdirsBuild='src/dummy' +ReadmeText='^You may press "Home" now - the data will be downloaded in background' diff --git a/project/jni/application/lbreakout2/AndroidBuild.sh b/project/jni/application/lbreakout2/AndroidBuild.sh new file mode 100755 index 000000000..7e523847d --- /dev/null +++ b/project/jni/application/lbreakout2/AndroidBuild.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +if [ \! -f Makefile ] ; then + ../launchConfigure.sh --disable-install --enable-sdl-net LIBS=-lintl +fi + +make +mv -f client/lbreakout2 libapplication.so diff --git a/project/jni/application/lbreakout2/COPYING b/project/jni/application/lbreakout2/COPYING new file mode 100644 index 000000000..c7aea1896 --- /dev/null +++ b/project/jni/application/lbreakout2/COPYING @@ -0,0 +1,280 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS diff --git a/project/jni/application/lbreakout2/ChangeLog b/project/jni/application/lbreakout2/ChangeLog new file mode 100644 index 000000000..736133a0f --- /dev/null +++ b/project/jni/application/lbreakout2/ChangeLog @@ -0,0 +1,665 @@ +2.6.1: +- fixed missing font transparency in help screen (24/12/09 MS) +- fixed bug in menus's level set list that prevented first few entries + to show up (24/12/09 MS) +- fixed odd sound sample rates (all are 22050 now) (24/12/09 AM) +- fixed english translation issues (23/12/09 CT) + +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.) +- bugfix: acceleration of balls by middle mouse button now works in + the testing mode of the editor (previously the balls got stuck in + mid-air) (05/01/13 M.S.) +- the game will be paused if the input focus is lost or the + application is iconfied (05/01/13 M.S.) +- when the 'sticky' bonus runs out, all attached balls will be + detached (05/01/13 M.S.) +- when pressing either left or right shift, the name and score of + the first chart entry of this set will be displayed at the upper + right-hand side display of the frame instead of your name and + score (05/01/12 M.S.) +- if a paddle is frozen and the mouse is moved, the paddle will no + longer jump after thawing (05/01/12 M.S.) +- when a paddle turns invisible due to the 'ghost paddle'-malus, all + attached balls will be detached (05/01/12 M.S.) +- re-implemented explosion animation for bricks directly hit by an + explosive ball (05/01/12 M.S.) + +2.5.1: +- only levelsets from the install directory are used for + Freakout (04/06/25 M.S.) +- order of Freakout levels is saved (04/09/22 M.S.) +- bugfix: balls will not start in next level with max speed when + the middle mouse button was pressed while clearing the last + brick of a level (04/09/22 M.S.) +- bonus floor uses proper brick image (blue energy wall instead + of normal wall) (04/09/22 M.S.) +- replaced chaos bricks in level 7 of N_Snapshots with normal + wall bricks (04/09/22 M.S.) +- to continue when viewing final network stats only SPACE is + allowed (04/09/22 M.S.) +- re-added continue option for single player mode, however + with 100% score loss this time (04/09/22 M.S.) + +2.5: +- added additional network support via SDL_net for portability + (04/08/07 M.S.) +- bug fixed: game crashed when quitting testing mode in the + editor (04/08/06 M.S.) +- removed 5000 points bonus for completing a level. instead + the score of the remaining destructible bricks is substracted + as a penalty when warping to the next level (04/08/06 M.S.) +- generation of bug message is disabled (04/06/24 M.S.) +- sounds are played stereo in a local game and partially stereo + in a network game (04/06/24 Greg, M.S.) + +2.5beta-8: +- admin bot commands are documented in the help (04/06/19 M.S.) +- number of online users is displayed when logging in to server + (04/06/19 M.S.) +- the number of bricks to be cleared for warp is not re-computed + when a ball is lost but always based on the initial number + of normal bricks (04/06/17 M.S.) +- saved game is removed when game is over (either all lives lost + or all levels completed) (04/06/17 M.S.) +- game cannot be quit by 'q' or ESCAPE when all lives are lost + (the player would get an extra life this way) (04/06/17 M.S.) +- new server option to add some paddle bots (04/06/17 M.S.) +- message about continue is not displayed in network game + (04/06/16 M.S.) +- network bot with variable paddle speed (04/06/16 M.S.) +- missing include added to gui.c (04/06/15 M.S.) + +2.5beta-7: +- configure option --with-hiscore-path has been replaced with + autoconf option --localstatedir (04/06/14 M.S.) +- data files will be installed to $datadir/lbreakout2 instead + of $datadir/games/lbreakout2 (04/06/14 M.S.) +- renamed configure option --with-doc-path to --with-docdir + (04/06/14 M.S.) +- bugfix: test mode of editor crashed when trying to get the total + number of levels; there were none at all (04/06/14 M.S.) + +2.5beta-6: +- network usernames must be alphanumerical (04/06/12 M.S.) +- fixed the 'snprintf'-bug that made the server exploitable to + formatted shellcode (04/06/12 M.S.) +- credits show total number of levels (04/06/12 M.S.) +- animations are now built directly from the brick graphics, using + their color key, and not from the screen; thus animations are now + transparent where the bricks are transparent, e.g. in theme + 'Aquarium' (04/06/12 M.S.) + +2.5beta-5: +- changed URL from www.lgames.org to lgames.sf.net in the README + (04/05/15 M.S.) +- if a game has been quit before it was over, it can now be resumed + (04/05/15 M.S.) +- default key 'd' is now blocked instead of normal key 'c' + (04/05/14 M.S.) +- pressing the middle mouse button or the speedup key will + accelerate all balls to maximum velocity until button/key + is released again (04/05/13 M.S.) +- a 5000 points bonus is added if a level was completely + cleared (not finished by warp) (04/05/13 M.S.) +- warp option is disabled in network game (04/05/13 M.S.) +- added hint on how to switch between the bricks/bonus set when + starting the editor (04/05/13 M.S.) + +2.5beta-4: +- changed URL from www.lgames.org to lgames.sf.net (04/01/31 M.S.) + +2.5beta-3: +- updated the quick hint of menu option 'Difficulty' (03/06/28 M.S.) +- added a VERY easy difficulty level for young kids (03/06/28 Zooko) +- invisible bricks do not vanish after being hit if the player + dies then (03/06/27 M.S.) +- speedup_level initiated correctly (03/06/27 M.T.) + +2.5beta-2: +- fixed a bug in masking of ball speed vector which had the balls + stopped in midair not moving any further (03/06/18 M.S.) +- minimum keyboard input speed is now 100 (03/06/16 M.S.) +- missing inclusion for FreeBSD added (03/06/16 S.M.) + +2.5beta: +- complete rewrite of network code (03/05/.. M.S.) +- added 8 new levels to 'Original' for a total of 25 levels and + renamed it to 'LBreakout2' (03/05/25 M.S.) +- correct size of temporary string buffer in write_text_with_cursor() + which fixes crash while editing author/title in the level editor + (03/05/25 M.S.) +- 'warp' and 'disintegrate' do not apply for the levelsets + 'Original' and 'LBreakout1' (03/05/22 M.S.) +- separated levelset 'Original' from the other sets (03/05/22 M.S.) +- added the levelset of LBreakout1 as first add-on (03/05/22 M.S.) +- melted 'Original', 'AddOn-1', 'AddOn-2' into a tighter levelset + 'Original' (03/05/22 M.S.) +- the option of buying a continue has been removed (03/05/20 M.S.) +- paddle can drop to 'middle size' 0 (03/05/20 M.S.) +- paddle size in medium difficulty decreased by one (03/05/20 M.S.) +- plasma weapon can fire permanently at a slower fire rate + (03/05/20 M.S.) +- modified bonus times to reflect the original values (03/05/20 M.S.) +- close button of window manager works in level editor (03/05/18 M.S.) +- reduced multiplayer ball respawn time to 5 seconds (03/05/17 M.S.) +- backgrounds have no colorkey (03/05/17 M.S.) +- multiplayer score table is also displayed if only one player remains + or the game is broken up (03/04/27 M.S.) +- on entering editor effects of extras are reset (03/04/27 M.S.) +- menu option 'key speed' is now in pixels per seconds and has moved + to the submenu 'controls' (03/04/23 M.S.) +- input is always grabbed and relative mouse motion is always used, + therefore their menu options were removed (03/04/23 M.S.) +- simplified internal handling of paddle fire buttons (03/04/23 M.S.) +- after 10 seconds penalty a player gets a new ball in a non-pingpong + multiplayer level when it has lost its (03/04/23 M.S.) +- balls no longer 'sink' into the sticky paddle (03/04/23 M.S.) +- description of menu options removed from documentation as each + has a context-sensitive helpbox at runtime (03/04/23 M.S.) +- simplified input handling by dropping all the stupid stuff and + sticking directly to SDL's functions (03/04/23 M.S.) +- added a 'loading' graphic at the beginning (03/04/08 M.S.) + +2.4.1: +- unlimited number of backgrounds for themes (03/03/08 M.S.) +- if a levelset is selected its highscore chart is shown (03/02/27 M.S.) +- the warp icon gets static after it blinked four times (03/02/27 M.S.) +- the official levelsets 'Original', 'AddOn-1' and 'AddOn-2' became the + first entries in the levelset list (03/02/27 M.S.) +- default warp limit is now 80% of bricks (03/02/27 M.S.) +- scores are displayed while player changes (03/02/23 M.S.) +- loading themes from installation path no longer restricted to the + default ones (03/02/23 M.C.) +- added an explanation of the 'Warp' feature to the documenation + (03/02/07 M.S.) + +2.4: +- fixed a bug were balls could get caught within the paddle if the + 'bonus floor' was active and the paddle wasn't moved (02/12/16 M.S.) +- extra balls of upper paddle (multiplayer) are created at proper position + (02/12/16 M.S.) +- shadows of extras are clipped to the playing field (02/12/15 M.S.) +- lost/gained lives are refreshed correctly (02/12/15 M.S.) +- decreased corner sensitivity and improved corner reflection (no longer + reflected at 45° but at the real perpendicular which makes it much + easier for balls to enter narrow passages) (02/12/14 M.S.) +- simplified range check for ball velocity vector (02/12/14 M.S.) +- the frame's shadow is not drawn twice (thus darker) when a brick close to + the frame is removed (02/12/13 M.S.) +- difficulty 'Hard' gives 30% score bonus (02/12/13 M.S.) +- increased ball speed for 'Medium' and 'Hard' (02/12/13 M.S.) +- added a missing check concering the reset position of reflected balls + to the target computation (without this they could get into bricks which + resulted in a corrupted next target) (02/12/13 M.S.) +- extra balls (random initial direction) can no longer move straight up + (when they did so they simply left the screen as no target could be computed + for them) (02/12/13 M.S.) +- reduced number of get_target() calls for balls and shots (02/12/11 M.S.) +- improved handling of scrollbars (02/12/11 M.S.) +- fixed color key bugs occuring at depth >=24 (02/12/10 M.S.) +- when bricks regenerate they are refreshed correctly (02/12/08 M.S.) +- player can disintegrate single bricks by pressing 'd' and spending + 5% of his/her score (02/12/08 M.S.) + +2.4beta-3: +- continues always cost 50% of the current score but fully restore the + initial amount of lives (02/12/07 M.S.) +- fixed a bug in the 'restart' code that could accidently cause the + game to quit if you hadn't paid the continue cost twice (02/12/07 M.S.) +- updated Jurgen De Backers theme AbsoluteB (02/12/07 M.S.) +- shadow creation for surfaces with no color key now works correctly + (02/12/07 M.S.) + +2.4beta-2: +- fixed security holes created by improper use of sprintf (02/11/24 D.B.) + +2.4beta: +- added a quick help for network game (02/11/03 M.S.) +- optimized drawing of balls/extras/shots/shrapnells (02/11/01 M.S.) +- removed config option shadow (is always enabled) (02/11/01 M.S.) +- 'paddle.png' may provide an additional paddle set for a different + upper paddle (02/11/01 M.S.) +- audio buffer size became config option (02/11/01 M.S.) +- network statistics are sent in one go after game is finished + (02/10/30 M.S.) +- code clean-ups in establishing direct connection (02/10/30 M.S.) +- in the highscore chart the level index is no longer 0 after + completing a levelset (02/10/29 M.S.) +- levelset transfer improved (02/10/27 M.S.) +- fading time decreased (02/10/26 M.S.) +- SDL >= 1.1.5 is now required (02/10/25 M.S.) +- invalid users are properly removed from server (02/10/25 M.S.) +- code clean-ups and performance enhancements (02/10/21 M.S.) +- improved chatroom GUI (02/10/19 M.S.) +- fixed a network leak that caused 500% more latency in 'Deathmatch' + and 900% more latency in 'Normal Multiplayer' (02/10/08 M.S.) + +2.3.5: +- added pseudo levelset !FREAKOUT! that lets you play all levels (~600) + in a random order (02/09/21 M.S.) +- moved 'Select Theme' option from 'Advanced Options' to 'Graphics' + (02/09/21 M.S.) +- bonus stack is cleared at beginning of new level (02/09/21 M.S.) +- replaced 'wontgiveup.wav' with 'verygood.wav' (02/09/20 M.S.) +- implemented 'warp' option to switch to next level before all bricks + where cleared (02/09/19 M.S.) +- bricks/bonuses/maluses may have transparency (02/09/17 M.S.) +- optional bonus floor graphic (02/09/17 M.S.) + +2.3.4: +- fixed a crash in 'Classic' theme (02/09/12 M.S.) + +2.3.3: +- added winning themes AbsoluteB, Oz, Moiree from theming contest and + the previous default theme has been renamed to Classic (02/09/10 M.S.) +- fixed a bug that crashed LBreakout when there where two alternating + players left in the last level and one finished it (02/09/05 M.S.) +- modifications to make LBreakout run on FreeBSD (02/09/05 S.M.) +- option to display balls above debris and explosions (02/09/05 J.S.) +- input bug fixes for win32 (02/09/05 L.R.) +- blinking cursor for editable menu items to distinguish them from + switches (02/09/05 L.R.) + +2.3.2: +- added all existing levelsets (27 sets, ~440 levels) (02/08/16 L.R.) +- quick help can be opened in game by pressing F1 or 'h' (02/08/16 M.S.) +- the 'select theme' hint bubble will show information on a theme (author, + version, description) if it provides an ABOUT file (02/08/16 M.S.) +- menu graphics and sounds are now themeable (02/08/16 M.S.) +- added information about version and author of levelset to the hint + bubble in the menu (02/08/16 M.S.) +- menu item added to modify challengers game port (02/08/16 M.S.) +- ip buffers resized to cover AF_INET6 addresses (02/08/16 M.S.) +- bugfix in net talk (02/08/15 M.S.) +- levelsets MP_Arenas and MP_Snapshots now have the correct contents + (02/08/14 M.S.) + +2.3.1: +- multiplayer levelsets MP_Arenas and MP_Snapshots are now installed + correctly (02/08/14 M.S.) +- configure option --disable-network now works correctly (02/08/14 M.S.) +- if your challenge is invalid an error message is displayed + (02/08/14 M.S.) + +2.3: +- no warnings when loading a theme (02/08/13 M.S.) +- two network levelsets MP_Arenas (deathmatch) and MP_Snapshots (normal) + added (02/08/13 M.S.) +- added version for levelsets (02/08/13 M.S.) +- added commands '/version', '/idletime' and '/userlimit (02/08/12 M.S.) +- 'turbo' key that temporarily doubles the paddle speed added + (02/08/10 D.B.) +- command '/transfer' implemented (02/08/10 M.S.) +- bonus info displayed at the right side of the screen is now optional + (02/08/10 M.S.) +- chatroom commands implemented (02/08/09 M.S.) +- chatroom channels implemented (02/08/08 M.S.) +- added configure option --disable-network (02/08/06 M.S.) +- network statistics implemented (02/08/06 M.S.) +- bugfix for networked weapon fire (02/08/06 M.S.) +- PNG loading routine updated (02/08/06 M.S.) +- fixed an aweful lot of bugs in normal network game (02/08/05 M.S.) +- implemented info about running games to chatroom (02/08/05 M.S.) +- users are properly unlinked after playing a network game (02/08/05 M.S.) +- pause chatroom implemented (02/08/04 M.S.) +- normal networking implemented /02/08/04 M.S.) +- network bugfixes (02/08/03 M.S.) +- screen is grayed for paused games (02/08/02 M.S.) +- deathmatch networking implemented (02/08/02 M.S.) +- bugfix for shooting bricks (02/08/02 M.S.) +- welcome message when entering chatroom and the user name is colored white + (02/08/02 M.S.) +- score modification for difficulty level is directly added (02/07/31 M.S.) +- each level gets a background assigned instead of simply changing + the background when the player changes (02/07/31 M.S.) +- plain text config (02/07/31 M.S.) +- restored compatibility with old layout (02/07/31 M.S.) +- for win32: (02/07/18 L.R.) + - edit bug fixed + - installation details added to README + - muched improved installation system + - files are always opened in binary mode +- added missing screen.jpg in the docs (02/07/18 L.R.) +- implemented network enviroment with chatroom +- implemented second fire key +- added check for libz to configure as this is required for PNG +- option to modify audio buffer size to fix sound problems + +2.2.2: +-LBreakout2 is now compileable with MinGW for Win32 +(thanks to Claudio Chimera) +-if a ball has an invalid target it returns to the paddle +(instead of exiting the program) +-own graphics and sounds my be used as theme +-autoreturn of balls is now optional +-updated trouble-shooting +-fixed a bug where the bonus floor didn't disappear after the bonus +expired (thanks to Trevor Spiteri) + +2.2.1: +-added another animation level +-if a ball didn't hit a destructible brick or the paddle within +ten seconds it moves back to the paddle to prevent 'endless +loops' +-changed the ball's size to 12x12 which is supposed to fix most +of the remaining reflection bugs (thanks to Linus Gasser) +-moved the level 'Be Smart!' from second to tenth position in +levelset AddOn-2 +-corrected a check up in line_intersect() (thanks to Linus Gasser) +-when a level is completed it's the next player's turn +(thanks to Linus Gasser) + +2.2: +-added some icons +-grown bricks are not removed when reinitating level +-all highlighted chart entries are cleared before adding players to chart +-new levelset AddOn-2 using the new extras (10 levels) +-new animations +-new extras (thanks to Dante): + -TIME_ADD: adds 7 seconds to the duration of all active bonuses/maluses + -DISABLE: disables all active bonuses/maluses + -EXPLOSIVE BALL: if ball touches a brick it explodes and destroys it's + neighbors + -BONUS/MALUS MAGNET: either bonuses or maluses are attracted by the paddle + -WEAK BALL: if active there is a 40% chance that a brick isn't damaged +-new bricks: + -CHAOS BRICK: chaotic reflection of balls (thanks to Dante) + -REGENERATIVE BRICKS: this brick will restore one point duration + within 4 seconds if not hit again (thanks to Dante) + -SHIELDED BRICK: indestructible even for energy balls +-new beautiful explosions (thanks to Dante) +-added quick hint system +-lbreakout2-level directory is created properly +-highscore is not overwritten when updating +-/var/lib/games is created when not existing + +2.1.2: +-disabled double-click for confirmation +-increased sensitivity of the reflection check-up introduced in 2.1.1 +-fixed a bug that caused reflection on an already removed brick (and +propably some crashes) +-added a grid to the editor for easier editing +-added advanced option 'Key Speed' to modify speed of keyboard input +-energy balls pulsate faster +-'exploding brick' list cleared when initiating next level +-using new backgrounds from the Arianne project (thanks to Dante) + +2.1.1: +-added an important check up for ball reflection to fix a bug that +caused a crash when using a 'bonus floor' or a 'growing brick' + +2.1: +-new levelset with 15 levels +-fixed a nasty reflection bug where the ball got stuck at the bottom +of the screen making a loud noise +-fixed a bug where the ball was attached to the wall instead of the +paddle (Thanks to Patrick Hohmeyer!) +-invisible bricks +-explosive bricks +-fixed a bug in the menu +-added a 'quick help' +-modified bonus times +-manual updated +-'blue' balls are fading in and out +-two more colored bricks (gray, white) +-added three new maluses: + -'Lights Out!': total darkness (except ball, paddle and bonuses) + -'Ghostly Paddle': paddle disappears when not moving + (won't reflect balls) + -'Chaos': balls are reflected randomly at bricks +-attached balls keep contact with paddle while resizing +-each levelset got it's own highscore chart +-jumping of paddle after smooth resize fixed + +2.0.1: +-new optimized reflection algorithm (supposed to fix all +remaining bugs) + +2.0: +-reflection bug fixes: + -stated another (less) important break condition for + multiball reflection + -range tolerance for edge reflection increased + -additional checkup for 'neighbored bricks' + reflection + +2.0-pre2: +-player scores modified correctly in the end of the game +-fixed bonus floor deadlock +-fixed a reflection bug +-you may also quit a running game by 'q' now +-faster paddle movement when keys are used +-added dummy array to config file so no corruptions will +occur when new options are initiated + +2.0-pre1: +-ball is drawn correctly when moving up/left +-modified paddle reflection conditions +-normed the perpendicular vector of brick edges +-balls are properly reset when destroying a brick +with the 'metal' bonus (and no reflection occurs) +-highscore chart saved directly after game over +-new advanced option: ball below/above bonuses +-fullscreen/windowed switch by 'f' now allowed everywhere +-added a spec file for RPMs (thanks to Dennis Bjorklund) +-added some very important range checks for reflection + +2.0beta: +-smooth paddle resize +-bonus shadows drawed correctly (doesn't overlap other bonuses) +-modified brick reflection and hopefully fixed +the 'through walls like a ghost' bug +-fixed the wrong color key of frame (thanks to Andre Trindade) +-restart is allowed even with no life left if you got enough points to +buy a continue +-added a missing include in config.c and fixed some newline warnings + +2.0alpha-2: +-bit depth is adjusted to the settings of your desktop (instead of 16bit +hardcoded) +-correct color key for paddle and balls at bit depth > 16 + +2.0alpha: +-major code redesign and clean-ups + -C++ -> C + -structured source +-resolution changed from 512x288 to 640x480 (no black frame in fullscreen) +-up to 4 players (alternate) +-fading improved +-score counting improved +-optional constant frame rate (to prevent LBreakout from +consuming 100% CPU time) +-event handling improved: + -paddle does not slow down if framerate drops + -moving paddle and firing weapon at the same time now works for Linux + (problems with Mac and BeOS - therefore added an --enable-warp + option - see the README for more) + -usage of 'invert mouse' and 'motion modifier' improved +-shadow added +-graphics improved +-ball velocity specified by difficulty instead of level +-added a grab option to keep mouse in window (thanks to Mark Rowe) +-time of a bonus (if any limit) is added to current time (instead of +setting it) +-new bonuses: + 'End Of The Rainbow': while this is active each brick without + a bonus will release 1000 points + 'Joker': destroys all malus' and collects all bonus on screen + doubling time limit and score (if any) +-added and changed sounds +-new menu +-fixed a bug in shot handling (wrong bricks removed) +-the global highscore path is no longer hard-coded in the configure +script (option: --with-highscore-path) +-improved the paddle: + -works perfect! (balls won't go through the paddle) + -real convex behaviour +-improved the brick reflection (though edges need a better reflection +behaviour) +-in the menu ESCAPE takes back to the previous menu instead of +leaving the game +-integrated feature-packed level editor +-PNG is used for graphics (to beat the 1MB limit of the SDL competition) +-new documentation + +010315: +-when a blue metal ball destroys a wall its score is no longer +uninitialized (No chance anymore to get a BILLION points within minutes! ;) +-twinkling of bricks is disabled when animations are turned off +-fixed a bug occuring when loading own levels +-score is counted faster +-better example of own level in the manual (added as single +file 'test.lbr' as well) +-two charts: 'Highest Scores' and 'Highest Levels' +(thanks to Jean-Philippe Martin) + +001104: +-added 5 new levels +-remaining time of a bonus is displayed (optional) +-added speed-up/speed-down bonuses +-a blue ball now goes through indestructible walls as well +-freeze duration now is one second instead of two seconds +-changed the logo (thanks to marko kjellgren) + +001022: +-when paused resume game only if 'p' is pressed +-mouse invert option +-random starting angle (-60 to 60 degree) of a ball (optional) +-if starting angle is not random press left mouse button to fire the ball +to the left (right button to fire to the right) +-paddle can shrink below its original size (absolute minimum of 30 pixels) +-changed the indestructible bricks from level 03 to destructible ones +-moved option 'Paddle' from menu 'Controls' to 'Game' + +001018: +-fixed some bugs +-$(DESTDIR) now is used in Makefile.am (thanks to daniel burrows and lauri korts-parn) +-spec file improved +-highscore path changed to /var/lib/games + +001014: +-selecting fullscreen via menu works again +-added a spec file for redhat linux (thanks to lauri korts-parn) +-paddle works much better +-'shrink paddle' and 'expand paddle' bonuses can be distinguished better +-you can choose between a 'flat surface' and a 'convex surface' paddle +behaviour +-position of a ball will be reset when it is attached + +001006: +-fixed various bugs +-checks for SDL and pthread libs now +-timer improved +-removed some more egcs 2.91.66 problems +-sound is default (configure) +-added --disable-install option (configure) +-if SDL 1.1.5 is found -DSDL_1_1_5 is defined automatically (configure) +-if the paddle is resized attached balls will keep contact +-levels changed (25 now) +-weapon fires continuously while 'Fire' is pressed +-mouse pointer hidden when playing in fullscreen mode +-resolution no longer changed everytime entering a new level (in fullscreen +mode) +-you can enable/disable sound and transparancy, set the +animation level and turn on/off 'Fullscreen' while playing +-if a ball hits two bricks at the same time both will be removed +-paddle works better + +001002: +-works with egcs 2.91.66 now +-mouse pointer hidden when only keyboard is used + +000930-2: +-high score chart installed correctly +-no request for SDL_INIT_AUDIO if -DSOUND undefined + +000930: +-improved the installation process + +000929: +-works with SDL version 1.1.5 (or better), too + +000928: +-fixed the 'infinite loop' bug +-added a fullscreen option +-source path correctly set now +-changed some levels + +000924: +-initial public release diff --git a/project/jni/application/lbreakout2/INSTALL b/project/jni/application/lbreakout2/INSTALL new file mode 100644 index 000000000..02a4a0740 --- /dev/null +++ b/project/jni/application/lbreakout2/INSTALL @@ -0,0 +1,167 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, a file +`config.cache' that saves the results of its tests to speed up +reconfiguring, and a file `config.log' containing compiler output +(useful mainly for debugging `configure'). + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If at some point `config.cache' +contains results you don't want to keep, you may remove or edit it. + + The file `configure.in' is used to create `configure' by a program +called `autoconf'. You only need `configure.in' if you want to change +it or regenerate `configure' using a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes a while. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Type `make install' to install the programs and any data files and + documentation. + + 4. You can remove the program binaries and object files from the + source code directory by typing `make clean'. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. You can give `configure' +initial values for variables by setting them in the environment. Using +a Bourne-compatible shell, you can do that on the command line like +this: + CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure + +Or on systems that have the `env' program, you can do it like this: + env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not supports the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' can not figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it can not guess the host type, give it the +`--host=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name with three fields: + CPU-COMPANY-SYSTEM + +See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are building compiler tools for cross-compiling, you can also +use the `--target=TYPE' option to select the type of system they will +produce code for and the `--build=TYPE' option to select the type of +system on which you are compiling the package. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Operation Controls +================== + + `configure' recognizes the following options to control how it +operates. + +`--cache-file=FILE' + Use and save the results of the tests in FILE instead of + `./config.cache'. Set FILE to `/dev/null' to disable caching, for + debugging `configure'. + +`--help' + Print a summary of the options to `configure', and exit. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--version' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`configure' also accepts some other, not widely useful, options. + diff --git a/project/jni/application/lbreakout2/Makefile.am b/project/jni/application/lbreakout2/Makefile.am new file mode 100644 index 000000000..0872f2fba --- /dev/null +++ b/project/jni/application/lbreakout2/Makefile.am @@ -0,0 +1,74 @@ +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 + +# 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 + @-rm -rf ./win32text + @mkdir ./win32text + @for textfile in $(WIN32_TEXT); do \ + $(AWK) '{printf "%s\r\n",$$0}' $$textfile > ./win32text/$$textfile ; \ + done + +win32-installer-script: @win32_inst_script@ + +@win32_inst_script@: win32text + @echo Generating win32 installer script + @echo "[Setup]" > $@ + @echo "AppName=@appname@" >> $@ + @echo "AppVerName=@appname@ $(VERSION)" >> $@ + @echo "AppPublisher=Michael Speck" >> $@ + @echo "AppPublisherURL=http://lgames.sourceforge.net/index.php?project=LBreakout2" >> $@ + @echo "AppSupportURL=http://lgames.sourceforge.net/index.php?project=LBreakout2" >> $@ + @echo "AppUpdatesURL=http://lgames.sourceforge.net/index.php?project=LBreakout2" >> $@ + @echo "DefaultDirName={pf}\\$(PACKAGE)" >> $@ + @echo "DefaultGroupName=@appname@" >> $@ + @echo "OutputDir=." >> $@ + @echo "Uninstallable=yes" >> $@ + @echo "AlwaysCreateUninstallIcon=yes" >> $@ + @echo "AdminPrivilegesRequired=1" >> $@ + @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) + @echo "Source: \"win32text\\*.*\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; + @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\"" >> $@ + @echo "Name: \"{userdesktop}\\@appname@\"; Filename: \"{app}\\$(PACKAGE)$(EXEEXT)\"; WorkingDir: \"{app}\"; Tasks: \"desktopicon\"" >> $@ + @echo "[Run]" >> $@ + @echo "Filename: \"{app}\\$(PACKAGE)$(EXEEXT)\"; Description: \"Launch @appname@\"; Flags: nowait postinstall skipifsilent" >> $@ + + @$(AWK) '{printf "%s\r\n",$$0}' $@ > installer.iss.w32 + @mv installer.iss.w32 $@ + +win32-installer: win32-installer-script + $(ISCC) @win32_inst_script@ + @mv setup.exe $(PACKAGE)-$(VERSION)-win32.exe + @-rm -rf win32text + @echo "Installer created: $(PACKAGE)-$(VERSION)-win32.exe" + +ACLOCAL_AMFLAGS = -I m4 diff --git a/project/jni/application/lbreakout2/Makefile.in b/project/jni/application/lbreakout2/Makefile.in new file mode 100644 index 000000000..cbffcf9fd --- /dev/null +++ b/project/jni/application/lbreakout2/Makefile.in @@ -0,0 +1,781 @@ +# 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@ +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@ +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@ +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_AMFLAGS = -I m4 +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +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 + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ + else :; fi + +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) + rm -f stamp-h1 + touch $@ + +distclean-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. +# To change the values of `make' variables: instead of editing Makefiles, +# (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. +$(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 \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + 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; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || 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 + +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 $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + 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; }'`; \ + 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 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 + 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) 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 +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: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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-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 + +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 + @-rm -rf ./win32text + @mkdir ./win32text + @for textfile in $(WIN32_TEXT); do \ + $(AWK) '{printf "%s\r\n",$$0}' $$textfile > ./win32text/$$textfile ; \ + done + +win32-installer-script: @win32_inst_script@ + +@win32_inst_script@: win32text + @echo Generating win32 installer script + @echo "[Setup]" > $@ + @echo "AppName=@appname@" >> $@ + @echo "AppVerName=@appname@ $(VERSION)" >> $@ + @echo "AppPublisher=Michael Speck" >> $@ + @echo "AppPublisherURL=http://lgames.sourceforge.net/index.php?project=LBreakout2" >> $@ + @echo "AppSupportURL=http://lgames.sourceforge.net/index.php?project=LBreakout2" >> $@ + @echo "AppUpdatesURL=http://lgames.sourceforge.net/index.php?project=LBreakout2" >> $@ + @echo "DefaultDirName={pf}\\$(PACKAGE)" >> $@ + @echo "DefaultGroupName=@appname@" >> $@ + @echo "OutputDir=." >> $@ + @echo "Uninstallable=yes" >> $@ + @echo "AlwaysCreateUninstallIcon=yes" >> $@ + @echo "AdminPrivilegesRequired=1" >> $@ + @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) + @echo "Source: \"win32text\\*.*\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> $@; + @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\"" >> $@ + @echo "Name: \"{userdesktop}\\@appname@\"; Filename: \"{app}\\$(PACKAGE)$(EXEEXT)\"; WorkingDir: \"{app}\"; Tasks: \"desktopicon\"" >> $@ + @echo "[Run]" >> $@ + @echo "Filename: \"{app}\\$(PACKAGE)$(EXEEXT)\"; Description: \"Launch @appname@\"; Flags: nowait postinstall skipifsilent" >> $@ + + @$(AWK) '{printf "%s\r\n",$$0}' $@ > installer.iss.w32 + @mv installer.iss.w32 $@ + +win32-installer: win32-installer-script + $(ISCC) @win32_inst_script@ + @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/project/jni/application/lbreakout2/NEWS b/project/jni/application/lbreakout2/NEWS new file mode 100644 index 000000000..e69de29bb diff --git a/project/jni/application/lbreakout2/README b/project/jni/application/lbreakout2/README new file mode 100644 index 000000000..f59ad0829 --- /dev/null +++ b/project/jni/application/lbreakout2/README @@ -0,0 +1,235 @@ + + LBreakout2 + + a breakout-style arcade game for Linux + by Michael Speck + +******************** +I. Requirements +II. Installation +III. Network Server +IV. Documentation +V. Troubleshooting +VI. Localization +VII. Resources +VIII. Feedback +******************** + +******************** +I. Requirements +******************** +LBreakout runs in X and uses SDL (any version though >= 1.1.4 +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 in a distro. If not check out +http://www.libpng.org/pub/png/libpng.html. + +******************** +II. Installation +******************** +Enter your favorite shell and type in the following stuff (in the +directory you extracted the LBreakout source) +> ./configure [--disable-audio] [--disable-install] [--enable-warp] + [--with-docdir=DOCDIR] [--disable-network] + [--enable-sdl-net] [--localstatedir=HIDIR] + --disable-audio: no sound + --disable-install: no installation; play from source directory + --enable-warp: nescessary for non-Unices to use relative + mouse motion for inverting or modify mouse + speed + --with-docdir: install documentation to $DOCDIR/lbreakout2 + DEFAULT: /usr/doc + --disable-network: compile LBreakout2 without any network + support + --enable-sdl-net: use SDL_net for networking (required if + platform is not Unix-like) + --localstatedir: install global highscores to this directory + 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. +> 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 +----------------- +There might be an easier way to get things to work but at least +the following worked for me. Simplifications are welcome. + +1) Get MinGW, Msys, MsysDTK from http://mingw.sf.net + The following uses michael as the Msys home directory, naturally + you'll have to substitute your windows user name for this. +2) Get SDL, SDL_mixer, SDL_net from http://libsdl.org as tar.gz's + and put them to c:\msys\1.0\home\michael (or whereever you + installed Msys to) +3) Get libpng and zlib from http://libpng.org and put them to the + same directory as above. +4) Same with the latest and greatest LBreakout2 package, which you + already have, I assume. :) +5) Start Msys and enter the commands + tar -xzf *.tar.gz (extract the above archives) + cd SDL-1.2.7; (your version might differ, of course) + configure; make; make install; + cd .. + [do the same with SDL_net, SDL_mixer, zlib] + ln -s libpng-1.2.5 libpng (your version might differ, of course) + ln -s zlib-1.1.3 zlib (your version might differ, of course) + cd libpng-1.2.5 + cp scripts/makefile.gcc Makefile; make + cp png.h pngconf.h /usr/local/include + cp libpng.a /usr/local/lib (manual install as the linux makefile + caused problems) + cd .. + cd lbreakout2-2.5 + export LDFLAGS="-L/usr/local/lib" + export CFLAGS="-I/usr/local/include" + echo '' > depcomp (why this is required is again a mystery to me) + configure --disable-install --enable-sdl-net + win32_mancomp (this is a hack required for unknown reasons here. + make works but it just states the gcc commands but does + not execute them, in this little script they work however, + dunno why... a fix for this would be most welcome. if you + change any configure or install settings the hardcoded + compile command in win32_mancomp will probably not work so + you should check it for such a case) + make +6) Get the dll's of SDL, SDL_mixer, SDL_net, libpng, zlib and put + them to c:\msys\1.0\home\michael\lbreakout2-2.5\win32dlls as well + as msvcrt.dll (freely available from Microsoft) +7) run win32_preparchive (this will copy all required files to + the directory lbreakout2) +8) copy c:\msys\1.0\home\michael\lbreakout2-2.5\lbreakout2 to + c:\games or whereever you want to and run the game from there. +NOTE: The server does not open any display and in windows a message +overwrites all old messages in stdout.txt. Also the command line options +do not work, at least it seems so. All I managed was to run the server +without any options but at least I could connect to it successfully. + +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 +******************** +To run a server start lbreakout2server with any of the following +options: +-p server port (default 2002) +-l maximum number of users that may connect to the server + (default is 30) +-i a user will be kicked if he didn't communicate with the + server for this amount of seconds (default is 1200) +-n this message is displayed to welcome a user +-a a user that logs in with this name will become + administrator named admin (default is no admin) +-b number of bots with strength 800 and 1000 (paddle speed + in pixels, default is none) +After that you'll have to query your IP (e.g. with +/sbin/ifconfig) and pass it to your friends as there is no permanent +internet server yet. Note, that you shouldn't use localhost as you +won't be able to challenge others then. +Check the online documentation at http://lgames.sf.net +for information on how to play. +When updating this README the last time, petersdtp.net:8000 has been +the current internet test server. + +******************** +IV. Documentation +******************** +If you have any questions about options, game play or editor +please check the documentation and see if you +can find an answer there. I will not respond to any eMails concerning +questions easily answered by the manual (/usr/doc/lbreakout2). +However, if you have any other problems or suggestions or you found a +bug please contact me: kulkanie@gmx.net + +******************** +V. Troubleshooting +******************** +The solution for relative mouse motion (nescessary when inverting or +slowing down mouse by motion modifier) works fine for Linux and +Win32 but fails for other non-Unices. Current solution is to warp the +mouse (by using configure option --enable-warp). Unfortunately, this +will handicap events when trying to fire weapon or release balls AND +move the paddle at the same time. This means it may happen that a weapon +is not fired or doesn't stop fire, balls keep being attached and so +on... +--- +Disabling sound while playing seems to result in loosing various +sound channels when some sounds were actually mixed. +--- +Someone reported that he had problems with PNG (configure script +didn't find it) if it was installed to /usr/local/lib. +Setting a link in /usr/lib fixes this. +--- +If you have SDL_mixer installed but configure tells you that it can't +find it, remember that you have to install the development package +for compiling! +--- +If you can't compile because LBreakout2' timestamps are slightly in +the future run 'touchall' (found in the configure directory). +--- +If 'fullscreen' just adds a black frame around the game but does +not change the solution make sure that you have 640x480 available +as resolution in your Xconfig. +--- +If the SDL sound seems to be out of sync first try +to modify the audio buffer size in ~/.lgames/lbreakout2.conf. +If this fails set SDL_AUDIODRIVER to dma (export SDL_AUDIODRIVER=dma). + +******************** +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: +Backgrounds: http://www.grsites.com/textures +Sounds: "Web Clip Empire 50.000", NovaMedia Verlag, Germany +Thanks to all of these guys for there free stuff! + +******************** +VIII. Feedback +******************** +LGames URL: http://www.lgames.sf.net +e-Mail: kulkanie@gmx.net diff --git a/project/jni/application/lbreakout2/README-SDL.txt b/project/jni/application/lbreakout2/README-SDL.txt new file mode 100644 index 000000000..4d36ca9dc --- /dev/null +++ b/project/jni/application/lbreakout2/README-SDL.txt @@ -0,0 +1,13 @@ + +Please distribute this file with the SDL runtime environment: + +The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library +designed to make it easy to write multi-media software, such as games and +emulators. + +The Simple DirectMedia Layer library source code is available from: +http://www.libsdl.org/ + +This library is distributed under the terms of the GNU LGPL license: +http://www.gnu.org/copyleft/lesser.html + diff --git a/project/jni/application/lbreakout2/TODO b/project/jni/application/lbreakout2/TODO new file mode 100644 index 000000000..10fb6335c --- /dev/null +++ b/project/jni/application/lbreakout2/TODO @@ -0,0 +1,11 @@ +- 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 + of the paddle +- improve pre-calculation of networked ball movement (dummy reflect) +- joystick as input +- shadow surface for zoom diff --git a/project/jni/application/lbreakout2/acinclude.m4 b/project/jni/application/lbreakout2/acinclude.m4 new file mode 100644 index 000000000..ada3a4165 --- /dev/null +++ b/project/jni/application/lbreakout2/acinclude.m4 @@ -0,0 +1,175 @@ +# 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 + 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 + fi + + 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="" + if test "$SDL_CONFIG" = "no" ; then + no_sdl=yes + 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); + } + 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 + { + 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; + } +} + +],, no_sdl=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) + CFLAGS="$ac_save_CFLAGS" + LIBS="$ac_save_LIBS" + fi + 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" + +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" + 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 +]) diff --git a/project/jni/application/lbreakout2/aclocal.m4 b/project/jni/application/lbreakout2/aclocal.m4 new file mode 100644 index 000000000..1a16f2b38 --- /dev/null +++ b/project/jni/application/lbreakout2/aclocal.m4 @@ -0,0 +1,891 @@ +# 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 + 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 + # 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 + 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 + mkdir_p='$(install_sh) -d' + fi +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 > 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 conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + 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". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# 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/project/jni/application/lbreakout2/client/Makefile.am b/project/jni/application/lbreakout2/client/Makefile.am new file mode 100644 index 000000000..0709fd62e --- /dev/null +++ b/project/jni/application/lbreakout2/client/Makefile.am @@ -0,0 +1,68 @@ +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 + @echo "FILEVERSION `echo $(VERSION) | $(AWK) 'ORS=""; { subs = gsub(/\./,","); print $0; for (ndx=subs; ndx < 3; ndx++) print ",0"; }'`" >> $(PACKAGE).rc + @echo "PRODUCTVERSION `echo $(VERSION) | $(AWK) 'ORS=""; { subs = gsub(/\./,","); print $0; for (ndx=subs; ndx < 3; ndx++) print ",0"; }'`" >> $(PACKAGE).rc + @echo "FILEFLAGSMASK 0" >> $(PACKAGE).rc + @echo "FILEOS 0x40000" >> $(PACKAGE).rc + @echo "FILETYPE 1" >> $(PACKAGE).rc + @echo "{" >> $(PACKAGE).rc + @echo " BLOCK \"StringFileInfo\"" >> $(PACKAGE).rc + @echo " {" >> $(PACKAGE).rc + @echo " BLOCK \"040904E4\"" >> $(PACKAGE).rc + @echo " {" >> $(PACKAGE).rc + @echo " VALUE \"CompanyName\", \"LGames - Michael Speck\"" >> $(PACKAGE).rc + @echo " VALUE \"FileDescription\", \"@appname@\"" >> $(PACKAGE).rc + @echo " VALUE \"FileVersion\", \"$(VERSION)\"" >> $(PACKAGE).rc + @echo " VALUE \"InternalName\", \"$(PACKAGE)\"" >> $(PACKAGE).rc + @echo " VALUE \"LegalCopyright\", \"GNU Public License\"" >> $(PACKAGE).rc + @echo " VALUE \"OriginalFilename\", \"$(PACKAGE)$(EXEEXT)\"" >> $(PACKAGE).rc + @echo " VALUE \"ProductName\", \"@appname@\"" >> $(PACKAGE).rc + @echo " VALUE \"ProductVersion\", \"$(VERSION)\"" >> $(PACKAGE).rc + @echo " }" >> $(PACKAGE).rc + @echo " }" >> $(PACKAGE).rc + @echo "}" >> $(PACKAGE).rc + @echo "0 ICON win32.ico" >> $(PACKAGE).rc + @windres -o $@ -i $(PACKAGE).rc + +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_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 + +SUBDIRS = gfx sounds levels gui_theme + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir) + $(mkinstalldirs) $(DESTDIR)$(hi_dir) + if ! test -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr; then \ + $(INSTALL_DATA) -m 666 empty.hscr $(DESTDIR)$(hi_dir)/lbreakout2.hscr; \ + fi; + +uninstall-local: + rm -rf $(DESTDIR)$(inst_dir) + rm -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr + rm -rf $(DESTDIR)$(doc_dir)/lbreakout2 + +win32-install-script: + @$(STRIP) $(PACKAGE)$(EXEEXT) + @echo "Source: \"`pwd -W`\\$(PACKAGE)$(EXEEXT)\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@ + @list='$(SUBDIRS)'; for subdir in $$list; do \ + (cd $$subdir \ + && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); \ + done diff --git a/project/jni/application/lbreakout2/client/Makefile.in b/project/jni/application/lbreakout2/client/Makefile.in new file mode 100644 index 000000000..76a6b04e5 --- /dev/null +++ b/project/jni/application/lbreakout2/client/Makefile.in @@ -0,0 +1,689 @@ +# 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@ +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@ +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@ +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 + +SUBDIRS = gfx sounds levels gui_theme +all: all-recursive + +.SUFFIXES: +.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) --foreign client/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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) +lbreakout2$(EXEEXT): $(lbreakout2_OBJECTS) $(lbreakout2_DEPENDENCIES) + @rm -f lbreakout2$(EXEEXT) + $(LINK) $(lbreakout2_LDFLAGS) $(lbreakout2_OBJECTS) $(lbreakout2_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@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. +# To change the values of `make' variables: instead of editing Makefiles, +# (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. +$(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 \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + 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; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || 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 + +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 $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + 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; }'`; \ + 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 GTAGS GRTAGS GSYMS GPATH tags + +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 + 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 +check-am: all-am +check: check-recursive +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: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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-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 + +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 + @echo "1 VERSIONINFO" > $(PACKAGE).rc + @echo "FILEVERSION `echo $(VERSION) | $(AWK) 'ORS=""; { subs = gsub(/\./,","); print $0; for (ndx=subs; ndx < 3; ndx++) print ",0"; }'`" >> $(PACKAGE).rc + @echo "PRODUCTVERSION `echo $(VERSION) | $(AWK) 'ORS=""; { subs = gsub(/\./,","); print $0; for (ndx=subs; ndx < 3; ndx++) print ",0"; }'`" >> $(PACKAGE).rc + @echo "FILEFLAGSMASK 0" >> $(PACKAGE).rc + @echo "FILEOS 0x40000" >> $(PACKAGE).rc + @echo "FILETYPE 1" >> $(PACKAGE).rc + @echo "{" >> $(PACKAGE).rc + @echo " BLOCK \"StringFileInfo\"" >> $(PACKAGE).rc + @echo " {" >> $(PACKAGE).rc + @echo " BLOCK \"040904E4\"" >> $(PACKAGE).rc + @echo " {" >> $(PACKAGE).rc + @echo " VALUE \"CompanyName\", \"LGames - Michael Speck\"" >> $(PACKAGE).rc + @echo " VALUE \"FileDescription\", \"@appname@\"" >> $(PACKAGE).rc + @echo " VALUE \"FileVersion\", \"$(VERSION)\"" >> $(PACKAGE).rc + @echo " VALUE \"InternalName\", \"$(PACKAGE)\"" >> $(PACKAGE).rc + @echo " VALUE \"LegalCopyright\", \"GNU Public License\"" >> $(PACKAGE).rc + @echo " VALUE \"OriginalFilename\", \"$(PACKAGE)$(EXEEXT)\"" >> $(PACKAGE).rc + @echo " VALUE \"ProductName\", \"@appname@\"" >> $(PACKAGE).rc + @echo " VALUE \"ProductVersion\", \"$(VERSION)\"" >> $(PACKAGE).rc + @echo " }" >> $(PACKAGE).rc + @echo " }" >> $(PACKAGE).rc + @echo "}" >> $(PACKAGE).rc + @echo "0 ICON win32.ico" >> $(PACKAGE).rc + @windres -o $@ -i $(PACKAGE).rc + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir) + $(mkinstalldirs) $(DESTDIR)$(hi_dir) + if ! test -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr; then \ + $(INSTALL_DATA) -m 666 empty.hscr $(DESTDIR)$(hi_dir)/lbreakout2.hscr; \ + fi; + +uninstall-local: + rm -rf $(DESTDIR)$(inst_dir) + rm -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr + rm -rf $(DESTDIR)$(doc_dir)/lbreakout2 + +win32-install-script: + @$(STRIP) $(PACKAGE)$(EXEEXT) + @echo "Source: \"`pwd -W`\\$(PACKAGE)$(EXEEXT)\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@ + @list='$(SUBDIRS)'; for subdir in $$list; do \ + (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/project/jni/application/lbreakout2/client/balls.c b/project/jni/application/lbreakout2/client/balls.c new file mode 100644 index 000000000..89a41df3b --- /dev/null +++ b/project/jni/application/lbreakout2/client/balls.c @@ -0,0 +1,252 @@ +/*************************************************************************** + balls.c - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "../game/game.h" +#include "bricks.h" + +extern SDL_Surface *ball_pic; /* ball pictures */ +extern SDL_Surface *ball_shadow; +int ball_pic_x_offset = 0; /* display ball at this position */ +extern int ball_w, ball_h; +float ball_metal_alpha_change = 1.2; /* pulse factor */ +float ball_metal_alpha = 0; /* alpha of ball when blue */ +extern SDL_Surface *offscreen; +extern SDL_Surface *stk_display; +extern int shadow_size; +extern Game *game; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Show/hide all balls +==================================================================== +*/ +void balls_hide() +{ + ListEntry *entry = game->balls->head->next; + Ball *ball; + int bx, by, bw, bh; + while ( entry != game->balls->tail ) { + ball = (Ball*)entry->item; + entry = entry->next; + /* balls position; add paddle pos if attached */ + bx = ball->x; by = ball->y; + bw = ball_w + shadow_size; + bh = ball_h + shadow_size; + if (ball->attached) { + bx += ball->paddle->x; + by += ball->paddle->y; + } + /* blit background */ + stk_surface_blit( offscreen, + bx, by, bw,bh, + stk_display, bx, by ); + stk_display_store_drect(); + } +} +void balls_show_shadow() +{ + ListEntry *entry = game->balls->head->next; + int bx, by; + int mx, my; + Ball *ball; + if ( game->extra_active[EX_DARKNESS] ) return; + while ( entry != game->balls->tail ) { + ball = entry->item; + entry = entry->next; + /* balls position; add paddle pos if attached */ + bx = ball->x; + by = ball->y; + if (ball->attached) { + bx += ball->paddle->x; + by += ball->paddle->y; + } + /* show ball -- no shadow if darkness -- no shadow if going back home */ + if ( !ball->moving_back ) { + stk_surface_clip( stk_display, 0, 0, stk_display->w - BRICK_WIDTH, stk_display->h ); + stk_surface_alpha_blit( ball_shadow, 0, 0, ball_w, ball_h, + stk_display, bx + shadow_size, by + shadow_size, + (game->extra_active[EX_METAL])?(((int)ball_metal_alpha)>>1):SHADOW_ALPHA ); + stk_display_store_drect(); + /* redraw nearby bricks */ + stk_surface_clip( stk_display, bx + shadow_size, by + shadow_size, ball_w, ball_h ); + /* check the three outer ocrners of the shadow if there's a brick */ + mx = ( bx + shadow_size + ball_w ) / BRICK_WIDTH; + my = ( by + shadow_size ) / BRICK_HEIGHT; + if ( my < MAP_HEIGHT - 1 ) + if ( mx < MAP_WIDTH - 1 && game->bricks[mx][my].type != MAP_EMPTY ) + brick_draw( stk_display, mx, my, 0 ); + mx = ( bx + shadow_size + ball_w ) / BRICK_WIDTH; + my = ( by + shadow_size + ball_h ) / BRICK_HEIGHT; + if ( my < MAP_HEIGHT - 1 ) + if ( mx < MAP_WIDTH - 1 && game->bricks[mx][my].type != MAP_EMPTY ) + brick_draw( stk_display, mx, my, 0 ); + mx = ( bx + shadow_size ) / BRICK_WIDTH; + my = ( by + shadow_size + ball_h ) / BRICK_HEIGHT; + if ( my < MAP_HEIGHT - 1 ) + if ( mx < MAP_WIDTH - 1 && game->bricks[mx][my].type != MAP_EMPTY ) + brick_draw( stk_display, mx, my, 0 ); + stk_surface_clip( stk_display, 0, 0, 0, 0 ); + } + } +} +void balls_show() +{ + ListEntry *entry = game->balls->head->next; + Ball *ball; + int bx, by; + while ( entry != game->balls->tail ) { + ball = entry->item; + entry = entry->next; + /* balls position; add paddle pos if attached */ + bx = ball->x; + by = ball->y; + if (ball->attached) { + bx += ball->paddle->x; + by += ball->paddle->y; + } + if ( game->extra_active[EX_METAL] ) + stk_surface_alpha_blit( ball_pic, ball_pic_x_offset, 0, + ball_w, ball_h, stk_display, bx, by, + ball_metal_alpha ); + else + stk_surface_blit( ball_pic, ball_pic_x_offset, 0, + ball_w, ball_h, stk_display, bx, by ); + stk_display_store_drect(); + } +} +void balls_alphashow( int alpha ) +{ + ListEntry *entry = game->balls->head->next; + Ball *b; + int bx, by; + while ( entry != game->balls->tail ) { + b = entry->item; + /* balls position; add paddle pos if attached */ + bx = b->x; + by = b->y; + if (b->attached) { + bx += b->paddle->x; + by += b->paddle->y; + } + /* show ball */ + stk_surface_alpha_blit( ball_pic, ball_pic_x_offset, 0, + ball_w, ball_h, stk_display, bx, by, alpha ); + entry = entry->next; + } +} + +/* reflect ball at brick but destroy nothing */ +void client_brick_reflect( Ball *b ) +{ + float old_vx; + Vector n; + int reflect; + int chaos_reflect; + + /* time left? */ + if (b->target.cur_tm < b->target.time) return; + + /* will reflect? */ + reflect = 1; + if ( game->extra_active[EX_METAL] ) + if ( game->bricks[b->target.mx][b->target.my].type != MAP_WALL ) + reflect = 0; + + /* will reflect chaotic? */ + chaos_reflect = 0; + if ( game->extra_active[EX_CHAOS] || + game->bricks[b->target.mx][b->target.my].type == MAP_BRICK_CHAOS ) + chaos_reflect = 1; + + /* we have a target and so we have a reset position and even if the ball's + not reflected the position must be reset */ + b->cur.x = b->target.x; b->x = (int)b->cur.x; + b->cur.y = b->target.y; b->y = (int)b->cur.y; + + if ( reflect ) { + game->mod.paddle_reflected_ball_count++; + old_vx = b->vel.x; + if ( !chaos_reflect ) { + /* normal reflection */ + n.x = (1-2*b->target.perp_vector.x*b->target.perp_vector.x)*b->vel.x + + ( -2*b->target.perp_vector.x*b->target.perp_vector.y)*b->vel.y; + n.y = ( -2*b->target.perp_vector.x*b->target.perp_vector.y)*b->vel.x + + (1-2*b->target.perp_vector.y*b->target.perp_vector.y)*b->vel.y; + b->vel.x = n.x; + b->vel.y = n.y; + } + else { + b->vel.x = ((float)RANDOM( -10000, 10000 )) / 10000; + b->vel.y = (float)(RANDOM( -10000, 10000 )) / 10000; + } + /* only use 2 degree steps */ + b->angle = vec2angle( &b->vel ); + angle2vec( b->angle, &b->vel ); + if ( b->target.side >= CORNER_UPPER_LEFT && !chaos_reflect ) + ball_mask_vel( b, old_vx, BALL_ADD_ENTROPY ); + else + ball_mask_vel( b, old_vx, BALL_NO_ENTROPY ); + } + + /* 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. */ + b->target.exists = 0; +} + +/* update energy ball animation */ +void client_balls_update( int ms ) +{ + Vector old; /* old position of ball before update */ + Ball *ball; + + /* modify alpha when metal */ + if ( game->extra_active[EX_METAL] ) { + ball_metal_alpha += ball_metal_alpha_change * ms; + if ( ball_metal_alpha >= 255 || ball_metal_alpha <= 0 ) { + ball_metal_alpha_change = -ball_metal_alpha_change; + if ( ball_metal_alpha < 0 ) ball_metal_alpha = 0; + if ( ball_metal_alpha > 255 ) ball_metal_alpha = 255; + } + } + + /* new position if NOT attached. the communicator has set the velocity + * 0 if a ball is inanimated */ + if ( game->game_type == GT_NETWORK ) { + list_reset( game->balls ); + while ( (ball = list_next( game->balls )) ) { + if ( ball->attached ) continue; + if ( ball->vel.x == 0 && ball->vel.y == 0 ) continue; + + old.x = ball->cur.x; + old.y = ball->cur.y; + + ball->cur.x += ball->vel.x * ms; + ball->cur.y += ball->vel.y * ms; + ball->x = (int)ball->cur.x; + ball->y = (int)ball->cur.y; + } + } +} + diff --git a/project/jni/application/lbreakout2/client/balls.h b/project/jni/application/lbreakout2/client/balls.h new file mode 100644 index 000000000..8ec14ee19 --- /dev/null +++ b/project/jni/application/lbreakout2/client/balls.h @@ -0,0 +1,30 @@ +/*************************************************************************** + balls.h - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Show/hide all balls +==================================================================== +*/ +void balls_hide(); +void balls_show_shadow(); +void balls_show(); +void balls_alphashow( int alpha ); + +/* update energy ball animation */ +void client_balls_update( int ms ); + diff --git a/project/jni/application/lbreakout2/client/bricks.c b/project/jni/application/lbreakout2/client/bricks.c new file mode 100644 index 000000000..ccb909ada --- /dev/null +++ b/project/jni/application/lbreakout2/client/bricks.c @@ -0,0 +1,342 @@ +/*************************************************************************** + bricks.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "../game/game.h" +#include "lbreakout.h" +#include "shrapnells.h" +#include "bricks.h" + +extern SDL_Surface *stk_display; +extern SDL_Surface *offscreen; /* offscreen with bricks, background, frame */ +extern SDL_Surface *bkgnd; /* background picture (includes frame) */ +extern SDL_Surface *warp_pic; +extern SDL_Surface *brick_pic; /* brick graphics in a horizontal order */ +extern int shadow_size; +extern SDL_Surface *brick_shadow; /* shadow mask */ +extern int shine_x, shine_y, shine_recreate; +#ifdef AUDIO_ENABLED +extern StkSound *wav_boom; +#endif +extern Game *game; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* 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, int no_sound ) +{ + int px, py, w, h, i, j, shadow, anim_brick_id; + int dir; + + /* add explosion animation */ + if ( type == SHR_BY_EXPL_WITH_EXPL ) { + 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 */ + } + + /* decrease brick count if no indestructible brick was destroyed */ + if ( game->bricks[mx][my].dur != -1 ) + game->bricks_left--; + + /* before removing the brick, store the brick id for animation */ + anim_brick_id = game->bricks[mx][my].id; + + /* remove brick from map */ + game->bricks[mx][my].brick_c = ' '; + game->bricks[mx][my].id = -1; + game->bricks[mx][my].dur = -1; + game->bricks[mx][my].exp_time = -1; + game->bricks[mx][my].heal_time = -1; + game->bricks[mx][my].type = MAP_EMPTY; + + /* get screen position */ + px = mx * BRICK_WIDTH; + py = my * BRICK_HEIGHT; + + /* release extra if one exists. in opposite to the server the goldshower + * 1000P is not released here but in the hit handle function if the gold_shower + * 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 ) ); + } + game->bricks[mx][my].extra = EX_NONE; + game->bricks[mx][my].extra_c = ' '; + + /* 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; + } + + shrapnells_create( brick_pic, anim_brick_id * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + px, py, type, imp ); + /* recreate shine if needed */ + if (px == shine_x && py == shine_y) shine_recreate = 1; + /* clear offscreen */ + w = BRICK_WIDTH + shadow_size; h = BRICK_HEIGHT + shadow_size; + if ( px + w > stk_display->w - BRICK_WIDTH ) + w = stk_display->w - BRICK_WIDTH - px; + stk_surface_clip( offscreen, px, py, w, h ); + stk_surface_blit( bkgnd, px, py, w, h, offscreen, px, py ); + /* if shadow redraw close bricks */ + for ( i = mx - 1; i <= mx + 1; i++ ) + for ( j = my - 1; j <= my + 1; j++ ) { + if ( i > 0 && j > 0 && i < MAP_WIDTH - 1 ) { + if ( game->bricks[i][j].type != MAP_EMPTY ) { + if ( i <= mx && j <= my ) shadow = 1; else shadow = 0; + brick_draw( offscreen, i, j, shadow ); + } + } + } + stk_surface_clip( offscreen, 0, 0, 0, 0 ); + /* update screen */ + stk_surface_blit( offscreen, px, py, w, h, stk_display, px, py ); + stk_display_store_drect(); +#ifdef AUDIO_ENABLED + if (!no_sound) + stk_sound_play_x( px, wav_boom ); +#endif +} + +static void client_brick_heal( int x, int y ) +{ + game->bricks[x][y].dur++; + game->bricks[x][y].id++; + if ( !game->extra_active[EX_DARKNESS] ) { + brick_draw( offscreen, x, y, 0 ); + brick_draw( stk_display, x, y, 0 ); + stk_display_store_drect(); + } +} + +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 = id; + brick->brick_c = brick_get_char( brick->id ); + brick->type = MAP_BRICK; + brick->score = game->diff->score_mod * BRICK_SCORE / 10; + brick->dur = 1; + /* keep the extra that is already assigned to this position */ + brick->exp_time = -1; + brick->heal_time = -1; + if (!isReplace) game->bricks_left++; + + if ( !game->extra_active[EX_DARKNESS] ) { + px = x * BRICK_WIDTH; + py = y * BRICK_HEIGHT; + 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, + stk_display, px, py ); + stk_display_store_drect(); + } +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Draw all bricks to offscreen surface. +==================================================================== +*/ +void bricks_draw() +{ + int i, j; + if ( offscreen == 0 ) return; + stk_surface_clip( offscreen, 0, 0, stk_display->w - BRICK_WIDTH, stk_display->h ); + for ( j = 1; j < MAP_HEIGHT - 1; j++ ) + for ( i = 1; i < MAP_WIDTH - 1; i++ ) + if ( game->bricks[i][j].id >= 0 ) + brick_draw( offscreen, i, j, 1 ); + stk_surface_clip( offscreen, 0,0,0,0 ); +} +/* +==================================================================== +Draw brick to passed surface +==================================================================== +*/ +void brick_draw( SDL_Surface *surf, int map_x, int map_y, int shadow ) +{ + int x = map_x * BRICK_WIDTH, y = map_y * BRICK_HEIGHT; + /* dont draw invisible bricks */ + if ( game->bricks[map_x][map_y].id == INVIS_BRICK_ID ) return; + /* add shadow */ + if ( shadow ) { + stk_surface_alpha_blit( brick_shadow, + game->bricks[map_x][map_y].id * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + surf, x + shadow_size, y + shadow_size, SHADOW_ALPHA ); + } + /* brick if not frame brick */ + if ( map_x == 0 || map_y == 0 || map_x == MAP_WIDTH - 1 ) return; + stk_surface_blit( brick_pic, + game->bricks[map_x][map_y].id * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, surf, x,y ); +} +/* +==================================================================== +Add brick with clipped shadow to offscreen. To draw a brick without +shadow check use brick_draw(). +==================================================================== +*/ +void brick_draw_complex( int mx, int my, int px, int py ) +{ + brick_draw( offscreen, mx, my, 1 ); + /* redraw surrounding bricks */ + stk_surface_clip( offscreen, px + shadow_size, py + shadow_size, BRICK_WIDTH, BRICK_HEIGHT ); + if ( mx + 1 == MAP_WIDTH - 1 ) { + /* right frame part */ + stk_surface_blit( bkgnd, px + BRICK_WIDTH, py, + BRICK_WIDTH, ( BRICK_HEIGHT << 1 ), + offscreen, px + BRICK_WIDTH, py ); + } + else { + brick_draw( offscreen, mx + 1, my, 0 ); + brick_draw( offscreen, mx + 1, my + 1, 0 ); + } + if ( game->bricks[mx][my + 1].type != MAP_EMPTY ) + brick_draw( offscreen, mx, my + 1, 0 ); + stk_surface_clip( offscreen, 0, 0, 0, 0 ); +} +/* +==================================================================== +Make brick at mx,my loose 'points' duration. It must have been +previously checked that this operation is completely valid. +It does not update net_bricks or the player's duration reference. +==================================================================== +*/ +void client_brick_loose_dur( int mx, int my, int points ) +{ + int px, py; + int refresh_h, refresh_w; + while ( points-- > 0 ) { + game->bricks[mx][my].dur--; + game->bricks[mx][my].id--; + /* adjust brick character: + * a,b,c - multiple hits + * v - invisible */ + if ( game->bricks[mx][my].brick_c == 'v' ) + game->bricks[mx][my].brick_c = 'c'; + else + game->bricks[mx][my].brick_c--; /* successive order */ + if ( !game->extra_active[EX_DARKNESS]) { + px = mx * BRICK_WIDTH; + py = my * BRICK_HEIGHT; + refresh_w = BRICK_WIDTH+shadow_size; + refresh_h = BRICK_HEIGHT+shadow_size; + /* copy background as old brick may have different transparency + do this in three parts to save computation */ + stk_surface_blit( bkgnd, px, py, + shadow_size, BRICK_HEIGHT, + offscreen, px, py ); + stk_surface_blit( bkgnd, px + shadow_size, py, + BRICK_WIDTH - shadow_size, BRICK_HEIGHT + shadow_size, + offscreen, px + shadow_size, py ); + stk_surface_blit( bkgnd, px + BRICK_WIDTH, py + shadow_size, + shadow_size, BRICK_HEIGHT, + offscreen, px + BRICK_WIDTH, py + shadow_size ); + /* draw brick + surrounding */ + brick_draw_complex( mx, my, px, py ); + /* udpate screen */ + stk_surface_blit( offscreen, px, py, + refresh_w, refresh_h, stk_display, px, py ); + stk_display_store_drect(); + } + } +} + +/* handle a received brick action */ +void client_handle_brick_hit( BrickHit *hit ) +{ + Paddle *paddle; + Vector imp; + + paddle = (hit->paddle==PADDLE_BOTTOM)?game->paddles[PADDLE_BOTTOM]:game->paddles[PADDLE_TOP]; + angle2vec( hit->degrees, &imp ); + + switch ( hit->type ) + { + case HT_HIT: + client_brick_loose_dur( hit->x, hit->y, 1 ); + break; + 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, hit->no_sound ); + /* gold shower extra */ + if ( hit->gold_shower ) + list_add( game->extras, + extra_create( EX_SCORE1000, + hit->x*BRICK_WIDTH, hit->y*BRICK_HEIGHT, + (hit->paddle==PADDLE_TOP)?-1:1 ) ); + break; + case HT_HEAL: + client_brick_heal( hit->x, hit->y ); + break; + case HT_GROW: + 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/project/jni/application/lbreakout2/client/bricks.h b/project/jni/application/lbreakout2/client/bricks.h new file mode 100644 index 000000000..e90dd955b --- /dev/null +++ b/project/jni/application/lbreakout2/client/bricks.h @@ -0,0 +1,42 @@ +/*************************************************************************** + bricks.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Draw all bricks to offscreen surface. +==================================================================== +*/ +void bricks_draw(); +/* +==================================================================== +Add brick with clipped shadow to offscreen. To draw a brick without +shadow check use brick_draw(). +==================================================================== +*/ +void brick_draw_complex( int mx, int my, int px, int py ); +/* +==================================================================== +Draw brick to passed surface +==================================================================== +*/ +void brick_draw( SDL_Surface *surf, int map_x, int map_y, int shadow ); + +/* handle a received brick action */ +void client_handle_brick_hit( BrickHit *hit ); + +/* redraw all bricks */ +void client_redraw_all_bricks(); diff --git a/project/jni/application/lbreakout2/client/chart.c b/project/jni/application/lbreakout2/client/chart.c new file mode 100644 index 000000000..0d3e2a87f --- /dev/null +++ b/project/jni/application/lbreakout2/client/chart.c @@ -0,0 +1,423 @@ +/*************************************************************************** + chart.c - description + ------------------- + begin : Mon Sep 24 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "config.h" +#include "chart.h" + +#define CHART_FILE_NAME "lbreakout2.hscr" + +List *charts = 0; /* list of all loaded level set charts */ + +char chart_path[512]; /* path charts where actually loaded/created from */ +int chart_loaded = 0; /* true if highscore succesfully loaded */ +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) */ +extern SDL_Surface *stk_display; +extern Config config; +extern StkFont *cfont, *chfont, *ccfont; /* normal, highlight and caption font */ +extern FILE *hi_dir_chart_file; + +/* +==================================================================== +Local +==================================================================== +*/ + +/* +==================================================================== +Reset charts +==================================================================== +*/ +void chart_reset( Set_Chart *chart ) +{ + int i; + memset( chart->entries, 0, sizeof( Chart_Entry ) * CHART_ENTRY_COUNT ); + for ( i = 0; i < CHART_ENTRY_COUNT; i++ ) + chart_add( chart, "............", i + 1, 10000 * ( i + 1 ) ); + chart->entries[0].score = 300000; + chart->entries[1].score = 200000; + chart->entries[2].score = 150000; + chart->entries[3].score = 100000; + chart->entries[4].score = 70000; + for ( i = 0; i < CHART_ENTRY_COUNT; i++ ) + chart->entries[i].new_entry = 0; +} + +/* +==================================================================== +Create/delete set chart. +==================================================================== +*/ +Set_Chart* chart_set_create( char *name ) +{ + Set_Chart *chart = calloc( 1, sizeof( Set_Chart ) ); + chart->name = strdup( name ); + chart_reset( chart ); + return chart; +} +void chart_set_delete( void *ptr ) +{ + Set_Chart *chart = (Set_Chart*)ptr; + if ( !chart ) return; + if ( chart->name ) free( chart->name ); + free( chart ); +} + +/* +==================================================================== +Read entries of a chart from file position. +==================================================================== +*/ +void chart_read_entries( FILE *file, char *file_name, Set_Chart *chart ) +{ + char buffer[128]; + int i; + + for ( i = 0; i < CHART_ENTRY_COUNT; i++ ) { + if ( feof( file ) ) { + fprintf( stderr, "Unexpected EOF in '%s' in entry %i... reading of highscore aborted.\n", + file_name, i ); + break; + } + fgets( buffer, 128, file ); buffer[strlen(buffer) - 1] = 0; /* remove newline */ + strcpy( chart->entries[i].name, buffer ); + fgets( buffer, 128, file ); buffer[strlen(buffer) - 1] = 0; /* remove newline */ + chart->entries[i].level = atoi( buffer ); + fgets( buffer, 128, file ); buffer[strlen(buffer) - 1] = 0; /* remove newline */ + chart->entries[i].score = atoi( buffer ); + } +} + +/* +==================================================================== +Load all highscores from path. If not found create chart with +one set 'Original'. +ReturnValue: True if successful +==================================================================== +*/ +int chart_load_from_path( char *path ) +{ + FILE *file = 0; + char file_name[512]; + char setname[1024]; + char aux[4]; + Set_Chart *chart = 0; + /* full file name */ + sprintf( file_name, "%s/%s", path, CHART_FILE_NAME ); + /* clear chart list */ + list_clear( charts ); + + 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; + fseek( file, 0, SEEK_SET ); + if ( strequal( ">>>", aux ) ) { + /* new format: load all set charts */ + while( !feof( file ) ) { + /* check if next sign is an '>' else skip reading */ + aux[0] = 0; + fread( aux, sizeof( char ), 1, file ); + fseek( file, -1, SEEK_CUR ); + if ( aux[0] != '>' ) break; + chart = calloc( 1, sizeof( Set_Chart ) ); + /* get name: >>>name */ + fscanf( file, ">>>%1023s\n", setname ); + chart->name = strdup( setname ); + /* entries */ + chart_read_entries( file, file_name, chart ); + /* add */ + list_add( charts, chart ); + } + } + else { + /* old format: load single chart as 'Original' */ + 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 ); + } + if (file != hi_dir_chart_file) + fclose( file ); + } + else { + fprintf( stderr, _("Highscore chart doesn't exist in '%s'... creating new one.\n"), path ); + chart = chart_set_create( "LBreakout2" ); + list_add( charts, chart ); + } + 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; +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Load highscore. If it doesn't exist try to create it in HI_DIR if +this fails fall back to ~/.lbreakout and create highscore there. +==================================================================== +*/ +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 ); + 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") ); + return; + } + } + 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 */ +} +/* +==================================================================== +Delete resources +==================================================================== +*/ +void chart_delete() +{ + if ( charts ) list_delete( charts ); charts = 0; +} +/* +==================================================================== +Save chart in directory it was loaded from. +==================================================================== +*/ +void chart_save() +{ + char file_name[512]; + int i; + Set_Chart *chart = 0; + FILE *file = 0; + if ( !chart_loaded ) return; + /* full file name */ + sprintf( file_name, "%s/%s", chart_path, CHART_FILE_NAME ); + + 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 ); + return; + } + /* save all charts */ + list_reset( charts ); + while ( ( chart = list_next( charts ) ) != 0 ) { + fprintf( file, ">>>%s\n", chart->name ); + 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 ); + } + + if (file != hi_dir_chart_file) + fclose( file ); +} +/* +==================================================================== +Check if this player entered the highscore chart and update it. +==================================================================== +*/ +void chart_add( Set_Chart *chart, char *name, int level, int score ) +{ + /* add new entry at blind end of chart */ + strcpy( chart->entries[CHART_ENTRY_COUNT].name, name ); + chart->entries[CHART_ENTRY_COUNT].level = level; + chart->entries[CHART_ENTRY_COUNT].score = score; + chart->entries[CHART_ENTRY_COUNT].new_entry = 1; + /* sort algorithm is stable so first sort levels then score */ + chart_sort( chart, SORT_BY_LEVEL ); + chart_sort( chart, SORT_BY_SCORE ); +} +/* +==================================================================== +Sort chart with stable algorithm (bubble sort's ok) by wanted +value. +==================================================================== +*/ +void chart_swap( Chart_Entry *entry1, Chart_Entry *entry2 ) +{ + Chart_Entry dummy; + dummy = *entry1; + *entry1 = *entry2; + *entry2 = dummy; +} +void chart_sort( Set_Chart *chart, int type ) +{ + int j; + int changed = 0; + /* use entry dummy as well so count is CHART_ENTRY_COUNT + 1 */ + do { + changed = 0; + for ( j = 0; j < CHART_ENTRY_COUNT; j++ ) + switch ( type ) { + case SORT_BY_LEVEL: + if ( chart->entries[j].level < chart->entries[j + 1].level ) { + chart_swap( &chart->entries[j], &chart->entries[j + 1] ); + changed = 1; + } + break; + case SORT_BY_SCORE: + if ( chart->entries[j].score < chart->entries[j + 1].score ) { + chart_swap( &chart->entries[j], &chart->entries[j + 1] ); + changed = 1; + } + break; + } + } while ( changed ); +} +/* +==================================================================== +Draw highscores centered in regio x,y,w,h +==================================================================== +*/ +void chart_show( Set_Chart *chart, int x, int y, int w, int h ) +{ + char number_buffer[24]; + int entry_offset; /* y offset of entries */ + StkFont *font; + int i; + /* adjust x,y so it's centered */ + chart_pos.x = x + ( w - chart_pos.w ) / 2; + chart_pos.y = y + ( h - chart_pos.h ) / 2; + /* title = name of levelset */ + ccfont->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_TOP; + stk_font_write( ccfont, stk_display, + chart_pos.x + ( chart_pos.w >> 1 ), chart_pos.y, -1, + 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 ); + /* get entry offset */ + entry_offset = ( ccfont->height + chart_gap ) * 2 + chart_pos.y; + /* entries */ + for ( i = 0; i < CHART_ENTRY_COUNT; i++ ) { + font = cfont; + if ( chart->entries[i].new_entry ) font = chfont; + /* name */ + font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; + stk_font_write( font, stk_display, + chart_pos.x, entry_offset, -1, chart->entries[i].name ); + /* level */ + font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_TOP; + sprintf( number_buffer, "%i", chart->entries[i].level ); + stk_font_write( font, stk_display, + chart_pos.x + chart_level_offset, entry_offset, -1, number_buffer ); + /* score */ + font->align = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_TOP; + sprintf( number_buffer, "%i", chart->entries[i].score ); + stk_font_write( font, stk_display, + chart_pos.x + chart_pos.w, entry_offset, -1, number_buffer ); + /* change offset */ + entry_offset += font->height; + } + stk_display_store_rect( &chart_pos ); +} +/* +==================================================================== +Clear all new_entry flags (done before new players are added +to chart when game over). +==================================================================== +*/ +void chart_clear_new_entries() +{ + int i; + Set_Chart *chart; + list_reset( charts ); + while ( ( chart = list_next( charts ) ) != 0 ) { + chart->entries[CHART_ENTRY_COUNT].score = chart->entries[CHART_ENTRY_COUNT].level = 0; + for ( i = 0; i < CHART_ENTRY_COUNT + 1; i++ ) + chart->entries[i].new_entry = 0; + } +} +/* +==================================================================== +Query set chart by this name or if not found create a new one +by this name. +==================================================================== +*/ +Set_Chart* chart_set_query( char *name ) +{ + Set_Chart *chart = 0; + list_reset( charts ); + while ( ( chart = list_next( charts ) ) != 0 ) + if ( strequal( name, chart->name ) ) + return chart; + /* not found so create it */ + fprintf( stderr, _("First chart query for '%s'. Creating this chart.\n"), name ); + chart = chart_set_create( name ); + list_add( charts, chart ); + return chart; +} +/* +==================================================================== +Query chart by id. If id is invalid return 0. +==================================================================== +*/ +Set_Chart* chart_set_query_id( int id ) +{ + if ( id >= charts->count ) { + fprintf( stderr, _("Chart index '%i' is out of range!\n"), id ); + return 0; + } + return (Set_Chart*)list_get( charts, id ); +} diff --git a/project/jni/application/lbreakout2/client/chart.h b/project/jni/application/lbreakout2/client/chart.h new file mode 100644 index 000000000..93fae7124 --- /dev/null +++ b/project/jni/application/lbreakout2/client/chart.h @@ -0,0 +1,98 @@ +/*************************************************************************** + chart.h - description + ------------------- + begin : Mon Sep 24 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Highscore chart entry +==================================================================== +*/ +typedef struct { + char name[32]; + int level; + int score; + int new_entry; /* newly entered the highscore */ +} Chart_Entry; +/* +==================================================================== +Levelset highscore chart. +==================================================================== +*/ +enum { CHART_ENTRY_COUNT = 10 }; +typedef struct { + Chart_Entry entries[CHART_ENTRY_COUNT + 1]; /* last entry is space holder for new entry */ + char *name; +} Set_Chart; + +/* +==================================================================== +Load highscore. If it doesn't exist try to create it in HI_DIR if +this fails fall back to ~/.lbreakout and create highscore there. +==================================================================== +*/ +void chart_load(); +/* +==================================================================== +Delete resources +==================================================================== +*/ +void chart_delete(); +/* +==================================================================== +Save chart in directory it was loaded from. +==================================================================== +*/ +void chart_save(); +/* +==================================================================== +Check if this player entered the highscore chart and update it. +==================================================================== +*/ +void chart_add( Set_Chart *chart, char *name, int level, int score ); +/* +==================================================================== +Sort chart with stable algorithm (bubble sort's ok) by wanted +value. +==================================================================== +*/ +enum { SORT_BY_LEVEL = 0, SORT_BY_SCORE }; +void chart_sort( Set_Chart *chart, int type ); +/* +==================================================================== +Draw highscores centered in regio x,y,w,h +==================================================================== +*/ +void chart_show( Set_Chart *chart, int x, int y, int w, int h ); +/* +==================================================================== +Clear all new_entry flags (done before new players are added +to chart when game over). +==================================================================== +*/ +void chart_clear_new_entries(); +/* +==================================================================== +Query set chart by this name or if not found create a new one +by this name. +==================================================================== +*/ +Set_Chart* chart_set_query( char *name ); +/* +==================================================================== +Query chart by id. If id is invalid return 0. +==================================================================== +*/ +Set_Chart* chart_set_query_id( int id ); diff --git a/project/jni/application/lbreakout2/client/client.c b/project/jni/application/lbreakout2/client/client.c new file mode 100644 index 000000000..a1a393ad0 --- /dev/null +++ b/project/jni/application/lbreakout2/client/client.c @@ -0,0 +1,510 @@ +/*************************************************************************** + client.c - description + ------------------- + begin : Sun Oct 20 12:02:57 CEST 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "config.h" +#include "event.h" +#include "../gui/gui.h" +#include "client_data.h" +#include "client_handlers.h" +#include "client.h" + +/* +==================================================================== +Externals +==================================================================== +*/ +extern SDL_Surface *cr_wallpaper; +extern Config config; +extern SDL_Surface **bkgnds; +extern StkFont *chat_font_error; +extern StkFont *chat_font_name; +extern StkFont *chat_font_normal; +extern char chatter[CHAT_LINE_COUNT][CHAT_LINE_WIDTH]; +extern char pause_chatter[CHAT_LINE_COUNT][CHAT_LINE_WIDTH]; +extern List *client_levelsets; +extern List *client_users; +extern List *client_games; +extern List *client_channels; +extern void client_recv_packet( GuiWidget *widget, GuiEvent *event ); +extern int client_id; +extern int client_topic_count; +extern char *client_topics[]; +extern Text *client_help_text; +extern NetSocket client; +extern int client_is_connected; +extern int client_state; +extern int client_recv_limit; +extern int (*sys_printf)(const char *format, ...); + +/* +==================================================================== +Client GUI +==================================================================== +*/ +GuiWidget *dlg_connect = 0; +GuiWidget *dlg_info = 0; +GuiWidget *dlg_confirm = 0; +GuiWidget *dlg_chatroom = 0; +GuiWidget *dlg_channels = 0; +GuiWidget *dlg_stats = 0; +GuiWidget *dlg_pauseroom = 0; +GuiWidget *dlg_help = 0; +/* important children */ +GuiWidget *label_channel; +GuiWidget *label_info; +GuiWidget *label_confirm; +GuiWidget *label_winner; +GuiWidget *label_stats; +GuiWidget *edit_server; +GuiWidget *edit_username; +GuiWidget *list_chatter; +GuiWidget *edit_chatter; +GuiWidget *list_levels; +GuiWidget *list_users; +GuiWidget *list_channels; +GuiWidget *edit_channel; +GuiWidget *list_pausechatter; +GuiWidget *edit_pausechatter; +GuiWidget *list_topic; +GuiWidget *list_help; + +#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.") + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +#ifdef NETWORK_ENABLED +/* +==================================================================== +Render help topic. +==================================================================== +*/ +static int client_render_help( + int x, int y, SDL_Surface *buffer ) +{ + if ( !client_help_text ) return 0; + if ( y >= client_help_text->count ) return 0; + chat_font_normal->align = STK_FONT_ALIGN_LEFT; + stk_font_write( chat_font_normal, + buffer, 2,0, STK_OPAQUE, + client_help_text->lines[y] ); + return 1; +} +/* +==================================================================== +Render help topic. +==================================================================== +*/ +static int client_render_topic( + int x, int y, SDL_Surface *buffer ) +{ + if ( y >= client_topic_count ) return 0; + chat_font_normal->align = STK_FONT_ALIGN_LEFT; + stk_font_write( chat_font_normal, + buffer, 2,0, STK_OPAQUE, + client_topics[y] ); + return 1; +} +/* +==================================================================== +Render chat line. +==================================================================== +*/ +static int client_render_chatter( + int x, int y, SDL_Surface *buffer ) +{ + char *ptr = 0, *name_end = 0; + StkFont *font = 0; + if ( y < 0 || y >= CHAT_LINE_COUNT ) return 0; + if ( chatter[y][0] == '!' ) { + font = chat_font_error; + ptr = chatter[y] + 1; + } + else { + ptr = chatter[y]; + font = chat_font_normal; + } + font->align = STK_FONT_ALIGN_LEFT; + stk_font_write( font, buffer, 2,0, STK_OPAQUE, ptr ); + if ( chatter[y][0] == '<' ) + if ( ( name_end = strchr( chatter[y], '>' ) ) ) { + name_end[1] = 0; + stk_font_write( + chat_font_name, buffer, 2,0, STK_OPAQUE, chatter[y] ); + name_end[1] = ' '; + } + return 1; +} +static int client_render_pause_chatter( + int x, int y, SDL_Surface *buffer ) +{ + char *ptr = 0, *name_end = 0; + StkFont *font = 0; + if ( y < 0 || y >= CHAT_LINE_COUNT ) return 0; + if ( pause_chatter[y][0] == '!' ) { + font = chat_font_error; + ptr = pause_chatter[y] + 1; + } + else { + ptr = pause_chatter[y]; + font = chat_font_normal; + } + font->align = STK_FONT_ALIGN_LEFT; + stk_font_write( font, buffer, 2,0, STK_OPAQUE, ptr ); + if ( pause_chatter[y][0] == '<' ) + if ( ( name_end = strchr( pause_chatter[y], '>' ) ) ) { + name_end[1] = 0; + stk_font_write( + chat_font_name, buffer, 2,0, STK_OPAQUE, pause_chatter[y] ); + name_end[1] = ' '; + } + return 1; +} +/* +==================================================================== +Render levelsets. +==================================================================== +*/ +static int client_render_levelset( + int x, int y, SDL_Surface *buffer ) +{ + if ( y >= client_levelsets->count ) return 0; + chat_font_normal->align = STK_FONT_ALIGN_LEFT; + stk_font_write( chat_font_normal, + buffer, 2,0, STK_OPAQUE, + list_get( client_levelsets, y ) ); + return 1; +} +/* +==================================================================== +Render user +==================================================================== +*/ +static int client_render_user( + int x, int y, SDL_Surface *buffer ) +{ + ClientUser *user; + StkFont *font; + if ( y >= client_users->count ) return 0; + if ( ( user = list_get( client_users, y ) ) == 0 ) return 0; + if ( user->id == client_id ) + font = chat_font_name; + else + font = chat_font_normal; + font->align = STK_FONT_ALIGN_LEFT; + stk_font_write( font, buffer, 2,0, STK_OPAQUE, user->name ); + return 1; +} +/* +==================================================================== +Render channel. +==================================================================== +*/ +static int client_render_channel( + int x, int y, SDL_Surface *buffer ) +{ + if ( y >= client_channels->count ) return 0; + chat_font_normal->align = STK_FONT_ALIGN_LEFT; + stk_font_write( chat_font_normal, + buffer, 2,0, STK_OPAQUE, + (char*)list_get( client_channels, y ) ); + return 1; +} +#endif + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Build the GUI and everything nescessary for the client chatroom. +client_create() installs client_delete() as exit function. +==================================================================== +*/ +void client_create( void ) +{ +#ifdef NETWORK_ENABLED + GuiWidget *parent; + SDL_Surface *surface; + /* users, channels, games */ + client_data_create(); + /* CONNECT WINDOW */ + dlg_connect = gui_box_create( 0, -1,-1, 400, 224, 0, 0 ); + parent = dlg_connect; + /* hint label */ + gui_label_create( + parent, 10, 10, parent->width - 20, 100, 1, + 0, 4, 0, STK_FONT_ALIGN_LEFT, HINT_CONNECT ); + /* server edit */ + gui_label_create( + parent, 10, 120, 180, 20, 0, + 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:") ); + 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") ); + gui_button_create( + parent, parent->width/2 +20, 180, + 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") ); + gui_button_create( dlg_info, + -1, dlg_info->height - 34, + 100, 24, client_close_info, 0,0,0,0,0, + _("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") ); + gui_button_create( dlg_confirm, + dlg_confirm->width/2-110, dlg_confirm->height - 30, + 100, 20, client_confirm, 0,0,0,0,0, + _("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") ); + /* CHATROOM */ + dlg_chatroom = gui_box_create( 0, 0,0,640,480, + client_recv_packet, 1 ); + gui_widget_enable_event( dlg_chatroom, GUI_TIME_PASSED ); + surface = gui_widget_get_surface( dlg_chatroom ); + stk_surface_apply_wallpaper( + surface, 0,0,-1,-1, cr_wallpaper, STK_OPAQUE ); + /* chat window */ + 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,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 ); + gui_widget_set_default_key_widget( dlg_chatroom, edit_chatter ); + /* 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") ); + gui_button_create( dlg_chatroom, 616,0,18,18, + client_select_channel, + 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") ); + list_levels = gui_list_create( dlg_chatroom, + 474,184,160,120, client_handle_levelset_list, + 1, 1, 14, 20, client_render_levelset, + GUI_LIST_SINGLE_SELECT ); + /* box with level settings */ + 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:") ); + 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:") ); + 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:") ); + 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:") ); + 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") ); + gui_button_create( dlg_chatroom, + 474,dlg_chatroom->height-44,160,20, + client_open_connect_window, + 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") ); + gui_button_create( dlg_chatroom, + 474,dlg_chatroom->height-20,50,20, + client_popup_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:") ); + edit_channel = gui_edit_create( dlg_channels, + -1,180, 176,20, NULL, + 2, 0, 12, "" ); + gui_widget_set_default_key_widget( dlg_channels, edit_channel ); + 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") ); + gui_button_create( dlg_channels, + dlg_channels->width/2+10,210,80,20, + 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") ); + 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...") ); + gui_button_create( dlg_stats, -1,220,160,20, + 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( + dlg_pauseroom, 0,0,470,300, NULL, + 0, 1, 14, 20, client_render_pause_chatter, + GUI_LIST_NO_SELECT ); + edit_pausechatter = gui_edit_create( + dlg_pauseroom, 0,303,470,24, + client_send_pausechatter, 2, 0, MAX_CHATTER_SIZE, "" ); + 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") ); + /* 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") ); + list_topic = gui_list_create( + dlg_help, 10,40,160,270, client_handle_topic_list, + 0, 1, 14, 20, client_render_topic, + GUI_LIST_SINGLE_SELECT ); + list_help = gui_list_create( + dlg_help, 180,40,350,300, NULL, + 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") ); + /* INITS */ + /* empty chatter */ + memset( chatter, 0, sizeof( chatter ) ); + /* update chatboxes */ + gui_list_update( list_chatter, CHAT_LINE_COUNT ); + gui_list_update( list_pausechatter, CHAT_LINE_COUNT ); + gui_list_goto( list_chatter, -1 ); + gui_list_goto( list_pausechatter, -1 ); + /* set help topics */ + gui_list_update( list_topic, client_topic_count ); + /* call client_delete at exit */ + atexit( client_delete ); +#endif +} + +/* +==================================================================== +Free memory allocated by client_create( void ) +==================================================================== +*/ +void client_delete( void ) +{ +#ifdef NETWORK_ENABLED + client_data_delete(); + printf( _("Client finalized\n") ); +#endif +} + +/* +==================================================================== +Run the connect dialogue & chatroom until user closes the connect +dialogue. +==================================================================== +*/ +#ifdef NETWORK_ENABLED +static int client_printf_info( const char *format, ... ) +{ + va_list args; + char string[MAX_CHATTER_SIZE]; + + va_start( args, format ); + vsnprintf( string, MAX_CHATTER_SIZE, format, args ); + va_end( args ); + + client_add_chatter( string, 1 ); + return strlen(string); +} +#endif +void client_run( void ) +{ +#ifdef NETWORK_ENABLED + /* init UDP socket */ + 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_state = CLIENT_NONE; + client_recv_limit = config.recv_limit; + + gui_enable_event_filter(); + gui_widget_show( dlg_chatroom ); + stk_display_fade( STK_FADE_IN, STK_FADE_DEFAULT_TIME ); + gui_run( dlg_chatroom ); + stk_display_fade( STK_FADE_OUT, STK_FADE_DEFAULT_TIME ); + gui_disable_event_filter(); + + if ( client_is_connected ) { + /* tell server we are off */ + client_disconnect(); + /* finalize UDP socket */ + socket_print_stats( &client ); + } + net_shutdown(); +#endif +} diff --git a/project/jni/application/lbreakout2/client/client.h b/project/jni/application/lbreakout2/client/client.h new file mode 100644 index 000000000..720884973 --- /dev/null +++ b/project/jni/application/lbreakout2/client/client.h @@ -0,0 +1,51 @@ +/*************************************************************************** + client.h - description + ------------------- + begin : Sun Oct 20 12:02:57 CEST 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __CLIENT_H +#define __CLIENT_H + +/* +==================================================================== +This module provides the client GUI (connect dialogue & chatroom) +which is run by calling client_run() +==================================================================== +*/ + +/* +==================================================================== +Build the GUI and everything nescessary for the client chatroom. +client_create() installs client_delete() as exit function. +==================================================================== +*/ +void client_create( void ); + +/* +==================================================================== +Free memory allocated by client_create( void ) +==================================================================== +*/ +void client_delete( void ); + +/* +==================================================================== +Run the connect dialogue & chatroom until user closes the connect +dialogue. +==================================================================== +*/ +void client_run( void ); + +#endif diff --git a/project/jni/application/lbreakout2/client/client_data.c b/project/jni/application/lbreakout2/client/client_data.c new file mode 100644 index 000000000..41692e6b6 --- /dev/null +++ b/project/jni/application/lbreakout2/client/client_data.c @@ -0,0 +1,357 @@ +/*************************************************************************** + client_data.c - description + ------------------- + begin : Sat Oct 26 12:02:57 CEST 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "client_data.h" +#include "lbreakout.h" +#include "../gui/gui.h" + +/* +==================================================================== +Externals +==================================================================== +*/ +extern GuiWidget *list_levels; +extern GuiWidget *list_chatter; +extern GuiWidget *list_games; +extern GuiWidget *list_users; +extern GuiWidget *list_channels; +extern GuiWidget *list_pausechatter; + +List *client_users = 0; /* users of channel known to client */ +List *client_channels = 0; /* list of default channels (strings) */ +List *client_levelsets = 0; /* list of MP set names */ + +ClientUser *client_user = 0; /* selected user */ +char *client_levelset = 0; /* selected levelset */ +char chatter[CHAT_LINE_COUNT][CHAT_LINE_WIDTH]; +char pause_chatter[CHAT_LINE_COUNT][CHAT_LINE_WIDTH]; +extern NetSocket client; +extern int client_is_connected; + +#define MAX_CLIENT_TOPIC_COUNT 5 +int client_topic_count = 4; +char *client_topics[MAX_CLIENT_TOPIC_COUNT]; +char *client_helps[MAX_CLIENT_TOPIC_COUNT]; +Text *client_help_text = 0; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +static void client_add_chatter_intern( + GuiWidget *list, char *string, int info ) +{ + int i, j; + static Text *text; + /* build new text */ + text = create_text( string, 52 ); + /* move old lines up */ + for ( i = 0; i < CHAT_LINE_COUNT - text->count; i++ ) + strcpy( chatter[i], chatter[i + text->count] ); + /* copy new lines */ + for ( j = 0, i = CHAT_LINE_COUNT - text->count; + i < CHAT_LINE_COUNT; i++, j++ ) { + if ( info ) { + strcpy( chatter[i] + 1, text->lines[j] ); + chatter[i][0] = '!'; + } + else if ( j > 0 ) { + strcpy( chatter[i] + 3 + info, text->lines[j] ); + chatter[i][0] = ' '; + chatter[i][1] = ' '; + chatter[i][2] = ' '; + } + else + strcpy( chatter[i], text->lines[j] ); + } + /* free memory */ + delete_text( text ); + /* update gui */ + gui_list_update( list, CHAT_LINE_COUNT ); +} +static void client_add_pause_chatter_intern( + GuiWidget *list, char *string, int info ) +{ + int i, j; + static Text *text; + /* build new text */ + text = create_text( string, 52 ); + /* move old lines up */ + for ( i = 0; i < CHAT_LINE_COUNT - text->count; i++ ) + strcpy( pause_chatter[i], pause_chatter[i + text->count] ); + /* copy new lines */ + for ( j = 0, i = CHAT_LINE_COUNT - text->count; + i < CHAT_LINE_COUNT; i++, j++ ) { + if ( info ) { + strcpy( pause_chatter[i] + 1, text->lines[j] ); + pause_chatter[i][0] = '!'; + } + else if ( j > 0 ) { + strcpy( pause_chatter[i] + 3 + info, text->lines[j] ); + pause_chatter[i][0] = ' '; + pause_chatter[i][1] = ' '; + pause_chatter[i][2] = ' '; + } + else + strcpy( pause_chatter[i], text->lines[j] ); + } + /* free memory */ + delete_text( text ); + /* update gui */ + gui_list_update( list, CHAT_LINE_COUNT ); +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* transmit via client's socket if client_is_connected is True */ +void client_transmit( int type, int len, char *data ) +{ +#ifdef NETWORK_ENABLED + if ( client_is_connected ) + socket_transmit( &client, type, len, data ); +#endif +} + +/* +==================================================================== +Create/delete client's data structs. +==================================================================== +*/ +void client_data_create( void ) +{ + 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/penalty magnet will attract _all_ bonuses/penalties 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 ); + client_users = 0; + if ( client_levelsets ) list_delete( client_levelsets ); + client_levelsets = 0; + if ( client_help_text ) delete_text( client_help_text ); + client_help_text = 0; + for (i=0;iname, name, 12 ); + user->id = id; + list_add( client_users, user ); + } +} +void client_remove_user( int id ) +{ + ClientUser *entry = 0; + if ( ( entry = client_find_user( id ) ) ) { + if ( entry == client_user ) + client_user = 0; + list_delete_item( client_users, entry ); + } +} +ClientUser* client_find_user( int id ) +{ + ClientUser *entry; + list_reset( client_users ); + while ( ( entry = list_next( client_users ) ) ) + if ( entry->id == id ) + return entry; + return 0; +} + +/* +==================================================================== +Add chatter to chat window. If 'info' is true the text is +displayed red and without indention. +==================================================================== +*/ +void client_add_chatter( char *string, int info ) +{ + client_add_chatter_intern( list_chatter, string, info ); +} + +/* +==================================================================== +Add chatter to chat window. If 'info' is true the text is +displayed red and without indention. +==================================================================== +*/ +void client_printf_chatter( int info, char *format, ... ) +{ + va_list args; + char string[MAX_CHATTER_SIZE]; + + va_start( args, format ); + vsnprintf( string, MAX_CHATTER_SIZE, format, args ); + va_end( args ); + + client_add_chatter_intern( list_chatter, string, info ); +} +/* +==================================================================== +Add chatter to pause chat window. If 'info' is true the text is +displayed red and without indention. +==================================================================== +*/ +void client_add_pausechatter( char *string, int info ) +{ + client_add_pause_chatter_intern( list_pausechatter, string, info ); +} diff --git a/project/jni/application/lbreakout2/client/client_data.h b/project/jni/application/lbreakout2/client/client_data.h new file mode 100644 index 000000000..c85070f2b --- /dev/null +++ b/project/jni/application/lbreakout2/client/client_data.h @@ -0,0 +1,118 @@ +/*************************************************************************** + client_data.h - description + ------------------- + begin : Sat Oct 26 12:02:57 CEST 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __CLIENT_DATA_H +#define __CLIENT_DATA_H + +/* +==================================================================== +Client states +==================================================================== +*/ +enum { + CLIENT_NONE = 0, + + /* ingame stats lie in between */ + + CLIENT_INFO = 1000, /* not open to any challenges/transfers */ + CLIENT_AWAIT_ANSWER, /* wait for answer to a challenge */ + CLIENT_ANSWER, /* answer to a challenge */ + CLIENT_CONFIRM_TRANSFER, /* say yes or no to transfer */ + CLIENT_AWAIT_TRANSFER_CONFIRMATION, /* wait for answer on + transfer offer */ + CLIENT_RECEIVE, /* receive level data */ + CLIENT_LISTEN, /* listen to user for a levelset */ + CLIENT_SELECT_CHANNEL, /* selecting a channel */ + CLIENT_STATS, /* looking at game stats */ + CLIENT_PLAY, /* playing game */ + CLIENT_HELP /* looking at help */ +}; + +/* +==================================================================== +Chatter definitions. +==================================================================== +*/ +enum { + CHAT_LINE_COUNT = 200, + CHAT_LINE_WIDTH = 64, /* includes \0 */ + MAX_CHATTER_SIZE = 100 + +}; + +/* +==================================================================== +Client data structs +==================================================================== +*/ +typedef struct { + int id; + char name[16]; +} ClientUser; + +/* transmit via client's socket if client_is_connected is True */ +void client_transmit( int type, int len, char *data ); + +/* +==================================================================== +Create/delete client's data structs. +==================================================================== +*/ +void client_data_create( void ); +void client_data_delete( void ); + +/* +==================================================================== +Clear all data structs +==================================================================== +*/ +void client_data_clear( void ); + +/* +==================================================================== +Add/remove/find users/games/channels. Do not update the GUI. +==================================================================== +*/ +void client_add_user( int id, char *name ); +void client_remove_user( int id ); +ClientUser* client_find_user( int id ); + +/* +==================================================================== +Add chatter to chat window. If 'info' is true the text is +displayed red and without indention. +==================================================================== +*/ +void client_add_chatter( char *string, int info ); + +/* +==================================================================== +Add chatter to chat window. If 'info' is true the text is +displayed red and without indention. +==================================================================== +*/ +void client_printf_chatter( int info, char *format, ... ); + +/* +==================================================================== +Add chatter to pause chat window. If 'info' is true the text is +displayed red and without indention. +==================================================================== +*/ +void client_add_pausechatter( char *string, int info ); + +#endif diff --git a/project/jni/application/lbreakout2/client/client_handlers.c b/project/jni/application/lbreakout2/client/client_handlers.c new file mode 100644 index 000000000..7463979f3 --- /dev/null +++ b/project/jni/application/lbreakout2/client/client_handlers.c @@ -0,0 +1,626 @@ +/*************************************************************************** + client_handlers.c - description + ------------------- + begin : Sat Oct 26 12:02:57 CEST 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "config.h" +#include "../gui/gui.h" +#include "client_data.h" +#include "client_handlers.h" +#include "comm.h" +#include "game.h" + +/* +==================================================================== +Externals +==================================================================== +*/ +extern Config config; +extern List *client_users; +extern List *client_games; +extern List *client_channels; +extern List *client_levelsets; +extern char *client_levelset; +extern ClientUser *client_user; +extern char chatter[CHAT_LINE_COUNT][CHAT_LINE_WIDTH]; +extern GuiWidget *dlg_connect; +extern GuiWidget *dlg_info; +extern GuiWidget *dlg_confirm; +extern GuiWidget *dlg_chatroom; +extern GuiWidget *dlg_channels; +extern GuiWidget *dlg_stats; +extern GuiWidget *dlg_pauseroom; +extern GuiWidget *dlg_help; +extern GuiWidget *label_info; +extern GuiWidget *label_stats; +extern GuiWidget *label_winner; +extern GuiWidget *label_channel; +extern GuiWidget *edit_server; +extern GuiWidget *edit_username; +extern GuiWidget *list_chatter; +extern GuiWidget *edit_chatter; +extern GuiWidget *list_levels; +extern GuiWidget *list_users; +extern GuiWidget *list_channels; +extern GuiWidget *edit_channel; +extern GuiWidget *edit_pausechatter; +extern GuiWidget *list_help; +extern int levelset_version, levelset_update; +extern List *levels; +extern void client_popup_info( char *format, ... ); +extern void client_run_game( int challenger ); +extern int client_topic_count; +extern char *client_helps[]; +extern Text *client_help_text; + +/* +==================================================================== +Client +==================================================================== +*/ +#ifdef NETWORK_ENABLED +NetSocket client; /* client socket to the game server */ +#endif +int client_is_connected; /* wether 'client' is a valid uplink */ +char client_error[128]; /* error message */ +int client_id; /* id assigned by server */ +char client_name[16]; /* our local username */ +int client_state = CLIENT_NONE; +int client_recv_limit; + +/* +==================================================================== +Challenge data +==================================================================== +*/ +char *mp_diff_names[] = { "Easy", "Medium", "Hard" }; +char mp_levelset[16]; /* name of levelset we play */ +int mp_peer_id; +char mp_peer_name[16]; /* remote player we want to play with */ +int mp_levelset_version; +int mp_levelset_update; /* version of levelset */ +int mp_level_count; /* number of levels in set */ +int mp_diff, mp_rounds, mp_frags, mp_balls; /* game configuration */ + +extern void close_pause_chat( void ); + +/* +==================================================================== +Disconnect from current server if any. +==================================================================== +*/ +void client_disconnect() +{ +#ifdef NETWORK_ENABLED + char buf[128]; + + if ( !client_is_connected ) return; + + /* disconnect */ + socket_print_stats( &client ); + sprintf( buf, _("disconnected from %s"), + net_addr_to_string(&client.remote_addr) ); + client_add_chatter( buf, 1 ); + buf[0] = MSG_DISCONNECT; + client_transmit( CODE_BLUE, 1, buf ); + client_is_connected = 0; + client_data_clear(); + gui_label_set_text( label_channel, "MAIN" ); +#endif +} + +/* +==================================================================== +Try to connect to a game server. Retry twice every second +or quit then. +==================================================================== +*/ +void client_connect( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + NetAddr newaddr; + int attempt = 0; + int type; + char server[128]; + + if ( event->type != GUI_CLICKED ) return; + + /* close the connect window */ + gui_widget_hide( dlg_connect ); + + /* disconnect from current server */ + client_disconnect(); + + /* extract ip and port and build a new socket out of it */ + gui_edit_get_text( edit_server, server, 128, 0, -1 ); + snprintf( config.server, 64, "%s", server ); + if ( !net_build_addr( &newaddr, server, 0 ) ) { + client_printf_chatter( 1, _("ERROR: address %s does not resolve"), config.server ); + return; + } + socket_init( &client, &newaddr ); + + /* get username */ + gui_edit_get_text( edit_username, + config.username, 16, 0,-1 ); + + /* build connect message */ + msg_begin_writing( msgbuf, &msglen, 64 ); + msg_write_int8( MSG_CONNECT ); + msg_write_int8( PROTOCOL ); + msg_write_string( config.username ); + msg_write_string( _("unused") ); /* passwd */ + + while ( attempt < 3 ) { + client_printf_chatter( 1, "%s: %s...", + config.server, + attempt==0?_("connecting"):_("retry") ); + stk_display_update( STK_UPDATE_ALL ); + net_transmit_connectionless( &newaddr, msglen, msgbuf ); + + SDL_Delay( 1000 ); + + while ( net_recv_packet() ) { + if ( msg_is_connectionless() ) + msg_begin_connectionless_reading(); + else + if ( !socket_process_header( &client ) ) + continue; + + type = msg_read_int8(); + switch ( type ) { + case MSG_LOGIN_OKAY: + client_id = msg_read_int32(); + strcpy( client_name, msg_read_string() ); + client_printf_chatter( 1, _("%s: connected!"), config.server ); + client_is_connected = 1; + return; + case MSG_ERROR: + client_printf_chatter( 1, _("ERROR: connection refused: %s"), + msg_read_string() ); + return; + } + } + + attempt++; + } + client_add_chatter( _("ERROR: server does not respond"), 1 ); +#endif +} + +/* +==================================================================== +Open/close the connection window. +==================================================================== +*/ +void client_open_connect_window( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_CLICKED ) + gui_widget_show( dlg_connect ); +} +void client_close_connect_window( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_CLICKED ) + gui_widget_hide( dlg_connect ); +} + +/* +==================================================================== +Close chatroom and return to LBreakout's menu. +==================================================================== +*/ +void client_quit( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_CLICKED ) + gui_widget_hide( dlg_chatroom ); + /* disconnect is handled in client_run to cover + * stk_quit_requests as well */ +} + +/* +==================================================================== +Close the info window and clear state. +==================================================================== +*/ +void client_close_info( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + if ( event->type == GUI_CLICKED ) { + gui_widget_hide( dlg_info ); + msg_begin_writing( msgbuf, &msglen, 128 ); + switch ( client_state ) { + case CLIENT_AWAIT_ANSWER: + msg_write_int8( MSG_CANCEL_GAME ); + break; + } + client_transmit( CODE_BLUE, msglen, msgbuf ); + client_state = CLIENT_NONE; + } +#endif +} + +/* +==================================================================== +Send chatter this function is either called by the send button +or by the edit. +==================================================================== +*/ +void client_send_chatter( + GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + char buf[MAX_CHATTER_SIZE + 1]; + if ( ( widget->type == GUI_EDIT && + event->type == GUI_KEY_RELEASED && + event->key.keysym == SDLK_RETURN ) || + ( widget->type == GUI_BUTTON && + event->type == GUI_CLICKED ) ) { + /* get message */ + gui_edit_get_text( edit_chatter, + buf, MAX_CHATTER_SIZE + 1, 0,-1 ); + /* clear chat edit */ + gui_edit_set_text( edit_chatter, "" ); + + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + /* a prepended '/' means this is a command */ + if ( buf[0] == '/' ) { + msg_write_int8( MSG_COMMAND ); + msg_write_string( buf+1 ); + } + else { + msg_write_int8( MSG_CHATTER ); + msg_write_string( buf ); + } + client_transmit( CODE_BLUE, msglen, msgbuf ); + } +#endif +} +/* +==================================================================== +Whisper chatter if a user is selected. +==================================================================== +*/ +void client_whisper_chatter( + GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + char buf[MAX_CHATTER_SIZE + 1]; + + if ( event->type != GUI_CLICKED ) return; + + /* get message */ + gui_edit_get_text( edit_chatter, + buf, MAX_CHATTER_SIZE + 1, 0,-1 ); + + /* send to selected user */ + if ( client_user ) { + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_WHISPER ); + msg_write_int32( client_user->id ); + msg_write_string( buf ); + client_transmit( CODE_BLUE, msglen, msgbuf ); + + /* clear chat edit */ + gui_edit_set_text( edit_chatter, "" ); + } + else + client_add_chatter( _("You must select a user to whisper!"), 1 ); +#endif +} + +/* +==================================================================== +Update selected peer and levelset. +==================================================================== +*/ +void client_handle_user_list( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_ITEM_SELECTED ) + client_user = list_get( client_users, event->item.y ); + else + if ( event->type == GUI_ITEM_UNSELECTED ) + client_user = 0; +} +void client_handle_levelset_list( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_ITEM_SELECTED ) + client_levelset = list_get( client_levelsets, + event->item.y ); + else + if ( event->type == GUI_ITEM_UNSELECTED ) + client_levelset = 0; +} + +/* +==================================================================== +Handle confirmation/cancelling of confirmation dialogue. +==================================================================== +*/ +void client_confirm( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + if ( event->type != GUI_CLICKED ) return; + gui_widget_hide( dlg_confirm ); + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + switch ( client_state ) { + case CLIENT_ANSWER: + msg_write_int8( MSG_ACCEPT_CHALLENGE ); + client_transmit( CODE_BLUE, msglen, msgbuf ); + + /* play */ + gui_disable_event_filter(); + if ( client_game_init_network( mp_peer_name, mp_diff ) ) + client_game_run(); + client_game_finalize(); + gui_enable_event_filter(); + + gui_widget_draw( dlg_chatroom ); + stk_display_fade( STK_FADE_IN, STK_FADE_DEFAULT_TIME ); + break; + } +#endif +} +void client_cancel( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + if ( event->type != GUI_CLICKED ) return; + gui_widget_hide( dlg_confirm ); + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + switch ( client_state ) { + case CLIENT_ANSWER: + msg_write_int8( MSG_REJECT_CHALLENGE ); + break; + } + client_transmit( CODE_BLUE, msglen, msgbuf ); + client_state = CLIENT_NONE; +#endif +} + +/* +==================================================================== +Challenge selected user. +==================================================================== +*/ +void client_challenge( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + if ( event->type != GUI_CLICKED ) return; + + /* everything valid? */ + if ( client_user == 0 ) { + client_popup_info( _("You must select a user for a challenge.") ); + return; + } + if ( client_levelset == 0 ) { + client_popup_info( _("You must select a levelset for a challenge.") ); + return; + } + if ( client_user->id == client_id ) { + client_popup_info( _("You can't challenge yourself.") ); + return; + } + + strcpy( mp_peer_name, client_user->name ); + mp_peer_id = client_user->id; + strcpy( mp_levelset, client_levelset ); + mp_diff = config.mp_diff; + mp_rounds = config.mp_rounds; + mp_balls = config.mp_balls; + mp_frags = config.mp_frags; + + /* challenger, challenged, levelset, diff, rounds, frags, balls */ + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_OPEN_GAME ); + msg_write_int32( mp_peer_id ); + msg_write_string( mp_levelset ); + msg_write_int8( mp_diff ); + msg_write_int8( mp_rounds ); + msg_write_int8( mp_frags ); + 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_state = CLIENT_AWAIT_ANSWER; +#endif +} + +/* +==================================================================== +Update multiplayer network configuration. +==================================================================== +*/ +void client_update_difficulty( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CHANGED ) return; + gui_spinbutton_get_value( widget, &config.mp_diff ); + config.mp_diff--; +} +void client_update_rounds( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CHANGED ) return; + gui_spinbutton_get_value( widget, &config.mp_rounds ); +} +void client_update_frags( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CHANGED ) return; + gui_spinbutton_get_value( widget, &config.mp_frags ); +} +void client_update_balls( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CHANGED ) return; + gui_spinbutton_get_value( widget, &config.mp_balls ); +} + +/* +==================================================================== +Open channel selector +==================================================================== +*/ +void client_select_channel( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CLICKED ) return; + /* select first channel (we always have MAIN) */ + gui_list_update( list_channels, client_channels->count ); + if ( client_channels->count > 0 ) { + gui_edit_set_text( edit_channel, list_first( client_channels ) ); + gui_list_select( list_channels, 0,0, 1 ); + } + gui_widget_show( dlg_channels ); + client_state = CLIENT_SELECT_CHANNEL; +} +/* +==================================================================== +Handle channel (un)selection. +==================================================================== +*/ +void client_handle_channel_list( + GuiWidget *widget, GuiEvent *event ) +{ + char *name; + /* if a channel is selected the name is copied into the edit. + unselecting does not change anything. the channel by the + caption in the edit is opened on enter_channel() */ + if ( event->type == GUI_ITEM_SELECTED ) { + name = list_get( client_channels, event->item.y ); + if ( name ) gui_edit_set_text( edit_channel, name ); + } +} +/* +==================================================================== +Close channel selector or enter new channel. +==================================================================== +*/ +void client_enter_channel( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + char buf[16]; + + if ( event->type != GUI_CLICKED ) return; + + gui_widget_hide( dlg_channels ); + client_state = CLIENT_NONE; + + /* retreive name of channel we want to enter */ + buf[0] = 0; + gui_edit_get_text( edit_channel, buf, 16, 0,-1 ); + + /* send it */ + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_ENTER_CHANNEL ); + msg_write_string( buf ); + client_transmit( CODE_BLUE, msglen, msgbuf ); +#endif +} +void client_cancel_channel( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CLICKED ) return; + gui_widget_hide( dlg_channels ); + client_state = CLIENT_NONE; +} + +/* +==================================================================== +Close statistics +==================================================================== +*/ +void client_close_stats( GuiWidget *widget, GuiEvent *event ) +{ + 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_winner, "..." ); +} + +/* +==================================================================== +Send chatter to gamepeer in pauseroom when ENTER was pressed. +==================================================================== +*/ +void client_send_pausechatter( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + char buf[MAX_CHATTER_SIZE + 1]; + if ( widget->type == GUI_EDIT && + event->type == GUI_KEY_RELEASED && + event->key.keysym == SDLK_RETURN ) { + /* get message */ + sprintf( buf, "<%s> ", client_name ); + gui_edit_get_text( edit_pausechatter, + buf+strlen(buf), MAX_CHATTER_SIZE + 1, 0,-1 ); + /* clear chat edit */ + gui_edit_set_text( edit_pausechatter, "" ); + /* deliver message to remote ... */ + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_CHATTER ); + msg_write_string( buf ); + client_transmit( CODE_BLUE, msglen, msgbuf ); + client_add_pausechatter( buf, 0 ); + } +#endif +} + +/* +==================================================================== +Close pauseroom. +==================================================================== +*/ +void client_close_pauseroom( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CLICKED ) return; + close_pause_chat(); + comm_send_short( MSG_UNPAUSE ); +} + +/* +==================================================================== +Popup help dialogue. +==================================================================== +*/ +void client_popup_help( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CLICKED ) return; + gui_widget_show( dlg_help ); + client_state = CLIENT_HELP; +} +/* +==================================================================== +Close help dialogue. +==================================================================== +*/ +void client_close_help( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_CLICKED ) return; + gui_widget_hide( dlg_help ); +} +/* +==================================================================== +Select topic and display help text. +==================================================================== +*/ +void client_handle_topic_list( GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type != GUI_ITEM_SELECTED ) return; + if ( event->item.y >= client_topic_count ) return; + gui_list_goto( list_help, 0 ); + if ( client_help_text ) delete_text( client_help_text ); + client_help_text = create_text( client_helps[event->item.y], 41 ); + gui_list_update( list_help, client_help_text->count ); +} diff --git a/project/jni/application/lbreakout2/client/client_handlers.h b/project/jni/application/lbreakout2/client/client_handlers.h new file mode 100644 index 000000000..a9eeda999 --- /dev/null +++ b/project/jni/application/lbreakout2/client/client_handlers.h @@ -0,0 +1,186 @@ +/*************************************************************************** + client_handlers.h - description + ------------------- + begin : Sat Oct 26 12:02:57 CEST 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __CLIENT_HANDLERS_H +#define __CLIENT_HANDLERS_H + +/* +==================================================================== +Disconnect from current server if any. +==================================================================== +*/ +void client_disconnect(); + +/* +==================================================================== +Try to connect to a game server. Retry twice every three seconds +or quit then. +==================================================================== +*/ +void client_connect( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Open/close the connection window. +==================================================================== +*/ +void client_open_connect_window( GuiWidget *widget, GuiEvent *event ); +void client_close_connect_window( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Close chatroom and return to LBreakout's menu. +==================================================================== +*/ +void client_quit( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Close the info window and clear state. +==================================================================== +*/ +void client_close_info( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Send chatter this function is either called by the send button +or by the edit. +==================================================================== +*/ +void client_send_chatter( + GuiWidget *widget, GuiEvent *event ); +/* +==================================================================== +Whisper chatter if a user is selected. +==================================================================== +*/ +void client_whisper_chatter( + GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Update selected peer and levelset. +==================================================================== +*/ +void client_handle_user_list( + GuiWidget *widget, GuiEvent *event ); +void client_handle_levelset_list( + GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Handle confirmation/cancelling of confirmation dialogue. +==================================================================== +*/ +void client_confirm( GuiWidget *widget, GuiEvent *event ); +void client_cancel( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Challenge selected user. +==================================================================== +*/ +void client_challenge( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Update multiplayer network configuration. +==================================================================== +*/ +void client_update_difficulty( GuiWidget *widget, GuiEvent *event ); +void client_update_rounds( GuiWidget *widget, GuiEvent *event ); +void client_update_frags( GuiWidget *widget, GuiEvent *event ); +void client_update_balls( GuiWidget *widget, GuiEvent *event ); +void client_update_port( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Allow user to transfer a levelset. +==================================================================== +*/ +void client_listen( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Initiate levelset transfer. +==================================================================== +*/ +void client_transfer( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Open channel selector +==================================================================== +*/ +void client_select_channel( GuiWidget *widget, GuiEvent *event ); +/* +==================================================================== +Handle channel (un)selection. +==================================================================== +*/ +void client_handle_channel_list( + GuiWidget *widget, GuiEvent *event ); +/* +==================================================================== +Close channel selector or enter new channel. +==================================================================== +*/ +void client_enter_channel( GuiWidget *widget, GuiEvent *event ); +void client_cancel_channel( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Close statistics +==================================================================== +*/ +void client_close_stats( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Send chatter to gamepeer in pauseroom when ENTER was pressed. +==================================================================== +*/ +void client_send_pausechatter( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Close pauseroom. +==================================================================== +*/ +void client_close_pauseroom( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Popup help dialogue. +==================================================================== +*/ +void client_popup_help( GuiWidget *widget, GuiEvent *event ); +/* +==================================================================== +Close help dialogue. +==================================================================== +*/ +void client_close_help( GuiWidget *widget, GuiEvent *event ); +/* +==================================================================== +Select topic and display help text. +==================================================================== +*/ +void client_handle_topic_list( GuiWidget *widget, GuiEvent *event ); + +#endif + diff --git a/project/jni/application/lbreakout2/client/client_recv.c b/project/jni/application/lbreakout2/client/client_recv.c new file mode 100644 index 000000000..e7b02e304 --- /dev/null +++ b/project/jni/application/lbreakout2/client/client_recv.c @@ -0,0 +1,357 @@ +/*************************************************************************** + client_recv.c - description + ------------------- + begin : Sat Oct 26 12:02:57 CEST 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "lbreakout.h" +#include "client_data.h" +#include "game.h" +#include "../game/game.h" +#include "../gui/gui.h" + +/* +==================================================================== +Externals +==================================================================== +*/ +#ifdef NETWORK_ENABLED +extern NetSocket client; +extern int client_is_connected; +#endif +extern GuiWidget *dlg_info; +extern GuiWidget *dlg_confirm; +extern GuiWidget *dlg_chatroom; +extern GuiWidget *label_channel; +extern GuiWidget *label_info; +extern GuiWidget *label_confirm; +extern GuiWidget *label_stats; +extern GuiWidget *label_winner; +extern GuiWidget *list_chatter; +extern GuiWidget *list_levels; +extern GuiWidget *list_users; +extern GuiWidget *list_games; +extern List *client_users; +extern List *client_channels; +extern List *client_levelsets; +extern int client_state; +extern List *levels; +extern int net_buffer_cur_size, msg_read_pos; +extern char net_buffer[MAX_MSG_SIZE + PACKET_HEADER_SIZE]; +/* CHALLENGE */ +extern char client_name[16]; +extern int client_recv_limit; +extern char *mp_diff_names[]; +extern char mp_levelset[16]; +extern int mp_peer_id; +extern char mp_peer_name[16]; +extern int mp_levelset_version; +extern int mp_levelset_update; +extern int mp_level_count; +extern int levelset_version, levelset_update; +extern int mp_diff, mp_rounds, mp_frags, mp_balls; +extern ClientUser *client_user; +extern void client_run_game( int challenger ); +extern void client_disconnect(); /* from client.c */ +extern int client_comm_delay; + +/* +==================================================================== +Popup info dialogue and set status to INFO. +==================================================================== +*/ +void client_popup_info( char *format, ... ) +{ + char buffer[256]; + va_list args; + va_start( args, format ); + vsnprintf( buffer, 256, format, args ); + va_end( args ); + gui_label_set_text( label_info, buffer ); + gui_widget_show( dlg_info ); + client_state = CLIENT_INFO; +} +/* +==================================================================== +Popup confirm dialogue and _keep_ status. +==================================================================== +*/ +void client_popup_confirm( char *format, ... ) +{ + char buffer[256]; + va_list args; + va_start( args, format ); + vsnprintf( buffer, 256, format, args ); + va_end( args ); + gui_label_set_text( label_confirm, buffer ); + gui_widget_show( dlg_confirm ); +} + +/* +==================================================================== +Parse all messages in net_packet. +==================================================================== +*/ +#ifdef NETWORK_ENABLED +static void client_parse_packet() +{ + int i, num; + char name[16]; + unsigned char type; + int handled; + + while ( 1 ) { + type = (unsigned)msg_read_int8(); handled = 0; + + if ( msg_read_failed() ) break; /* no more messages */ + + switch ( type ) { + case MSG_PREPARE_FULL_UPDATE: + /* do only clear users as channels and + * levelsets are fixed */ + list_clear( client_users ); client_user = 0; + handled = 1; + break; + case MSG_ERROR: + 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."), + mp_peer_name ); + handled = 1; + break; + case MSG_DISCONNECT: + client_disconnect(); + handled = 1; + break; + case MSG_SET_COMM_DELAY: + client_comm_delay = msg_read_int16(); + printf( _("comm_delay set to %i\n"), client_comm_delay ); + handled = 1; + break; + /* chatter */ + case MSG_SERVER_INFO: + client_add_chatter( msg_read_string(), 1 ); + handled = 1; + break; + case MSG_CHATTER: + client_add_chatter( msg_read_string(), 0 ); + handled = 1; + break; + /* users */ + case MSG_ADD_USER: + num = msg_read_int32(); + snprintf( name, 16, "%s", msg_read_string() ); name[15] = 0; + if ( msg_read_failed() ) break; + client_add_user( num, name ); + gui_list_update( + list_users, + client_users->count ); + /* re-select current entry */ + if ( client_user ) { + num = list_check( client_users, client_user ); + if ( num != -1 ) + gui_list_select( list_users, 0, num, 1 ); + } + handled = 1; + break; + case MSG_REMOVE_USER: + num = msg_read_int32(); + if ( msg_read_failed() ) break; + client_remove_user( num ); + gui_list_update( + list_users, + client_users->count ); + /* re-select current entry */ + if ( client_user ) { + num = list_check( client_users, client_user ); + if ( num != -1 ) + gui_list_select( list_users, 0, num, 1 ); + } + handled = 1; + break; + case MSG_CHANNEL_LIST: + list_clear( client_channels ); + num = msg_read_int8(); + for ( i = 0; i < num; i++ ) + list_add( client_channels, strdup(msg_read_string()) ); + handled = 1; + break; + case MSG_LEVELSET_LIST: + list_clear( client_levelsets ); + num = msg_read_int8(); + for ( i = 0; i < num; i++ ) + list_add( client_levelsets, strdup(msg_read_string()) ); + gui_list_update( list_levels, client_levelsets->count ); + handled = 1; + break; + case MSG_ADD_LEVELSET: + list_add( client_levelsets, strdup(msg_read_string()) ); + gui_list_update( list_levels, client_levelsets->count ); + handled = 1; + break; + case MSG_SET_CHANNEL: + /* we only need to update the name */ + gui_label_set_text( label_channel, msg_read_string() ); + handled = 1; + break; + /* challenge */ + case MSG_CHALLENGE: + /* the user may only be challenged if client state is NONE + because otherwise he is doing something that shouldn't be + interrupted */ + if ( client_state != CLIENT_NONE ) { + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_BUSY ); + msg_write_int32( msg_read_int32() ); + client_transmit( CODE_BLUE, msglen, msgbuf ); + break; + } + snprintf( mp_peer_name, 15, "%s", msg_read_string() ); + snprintf( mp_levelset, 16, "%s", msg_read_string() ); + mp_diff = msg_read_int8(); + mp_rounds = msg_read_int8(); + mp_frags = msg_read_int8(); + mp_balls = msg_read_int8(); + if ( msg_read_failed() ) break; + client_popup_confirm( _(" You have been challenged!##"\ + " Challenger: %13s#"\ + " Levelset: %13s#"\ + " Difficulty: %13s#"\ + " Rounds: %13i#"\ + " Frag Limit: %13i#"\ + " Balls: %13i"), + mp_peer_name, mp_levelset, mp_diff_names[mp_diff], + mp_rounds, mp_frags, mp_balls ); + client_state = CLIENT_ANSWER; + handled = 1; + break; + case MSG_REJECT_CHALLENGE: + handled = 1; + if ( client_state != CLIENT_AWAIT_ANSWER ) break; + client_popup_info( + _("%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 ); + break; + case MSG_ACCEPT_CHALLENGE: + handled = 1; + if ( client_state != CLIENT_AWAIT_ANSWER ) break; + gui_widget_hide( dlg_info ); + + /* play */ + gui_disable_event_filter(); + if ( client_game_init_network( mp_peer_name, mp_diff ) ) + client_game_run(); + client_game_finalize(); + gui_enable_event_filter(); + + gui_widget_draw( dlg_chatroom ); + stk_display_fade( STK_FADE_IN, STK_FADE_DEFAULT_TIME ); + break; + + /* dummy parse game packets that may arrive after the QUIT_GAME + * message was sent because ADD_USER commands may be in the + * package and these we should get. */ + case MSG_PADDLE_STATE: + comm_unpack_paddle_dummy( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_SHOT_POSITIONS: + comm_unpack_shots_dummy( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_BALL_POSITIONS: + comm_unpack_balls_dummy( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_SCORES: + comm_unpack_scores_dummy( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_BRICK_HITS: + comm_unpack_brick_hits_dummy( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_NEW_EXTRAS: + comm_unpack_collected_extras_dummy( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_ROUND_OVER: + i = msg_read_int8(); + handled = 1; + break; + case MSG_LAST_ROUND_OVER: + i = msg_read_int8(); + handled = 1; + break; + + } + + if ( !handled ) { + 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; + } + } +} +#endif + +/* +==================================================================== +Receive packets from server. Use the TIME_PASSED event therefore. +Send a heartbeat every three seconds as well. +==================================================================== +*/ +void client_recv_packet( GuiWidget *widget, GuiEvent *event ) +{ +#ifdef NETWORK_ENABLED + int recv_limit; + static int last_heartbeat = 0; + + if ( !client_is_connected ) return; + if ( event->type != GUI_TIME_PASSED ) return; + + /* heartbeat? */ + if ( time(0) >= last_heartbeat + 10 ) { + last_heartbeat = time(0); + msgbuf[0] = MSG_HEARTBEAT; + client_transmit( CODE_BLUE, 1, msgbuf ); + } + + recv_limit = client_recv_limit; /* limited number of packets if not -1 */ + while ( net_recv_packet() && ( recv_limit==-1 || recv_limit > 0) ) { + + /* check if this is a valid packet and update the socket */ + if ( msg_is_connectionless() ) + msg_begin_connectionless_reading(); + else + if ( !socket_process_header( &client ) ) + continue; + client_parse_packet(); + + if ( recv_limit != -1 ) recv_limit--; + } +#endif +} diff --git a/project/jni/application/lbreakout2/client/comm.c b/project/jni/application/lbreakout2/client/comm.c new file mode 100644 index 000000000..1aef45b6f --- /dev/null +++ b/project/jni/application/lbreakout2/client/comm.c @@ -0,0 +1,462 @@ +/*************************************************************************** + comm.c - description + ------------------- + begin : Fri Aug 2 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "../gui/gui.h" +#include "../game/game.h" +#include "game.h" +#include "client_data.h" +#include "bricks.h" +#include "extras.h" +#include "comm.h" + +extern char net_buffer[MAX_MSG_SIZE + PACKET_HEADER_SIZE]; +extern int net_buffer_cur_size; +extern int msg_read_pos; +extern char msgbuf[MAX_MSG_SIZE]; +extern int msglen; +extern NetSocket client; +extern StkFont *chat_font_error; +extern int client_is_connected; +extern int client_state; +extern Game *game, *local_game; +extern Player *cur_player; +extern Paddle *r_paddle; +#ifdef AUDIO_ENABLED +extern StkSound *wav_shot, *wav_reflect_paddle, *wav_reflect_brick, *wav_attach; +#endif +extern int game_stats[2][7]; +extern int game_over; +extern int client_comm_delay; +extern int stats_received; +extern GuiWidget *dlg_pauseroom; +extern List *client_levelsets; +extern int client_recv_limit; + +extern void set_state( int newstate ); +extern void init_next_round( void ); +extern void display_final_stats( void ); +extern void open_pause_chat( char *text ); +extern void close_pause_chat( void); + +extern int last_ball_brick_reflect_x; /* HACK: used to play local sound */ +extern int last_ball_paddle_reflect_x; /* HACK: used to play local sound */ +extern int last_ball_attach_x; /* HACK: used to play local sound */ +extern int last_shot_fire_x; /* HACK: used to play local sound */ + +/* handle modifications game::mod_* which were either copied + * from local_game or received via network, apply the changes to + * game and clear these entries. the current game entry must've + * been set to 'game'. Ball and shot updates have already been + * applied to the game context. */ +#ifdef NETWORK_ENABLED +static void handle_mods() +{ + BrickHit *brickhits; + int *extras, count; + int i, j; + +#ifdef AUDIO_ENABLED + /* play sounds for attached, reflected balls or fired shots */ + /* HACK: in a local game use externals from game/balls.c + * last_ball_*_x to play sound stereo. this cannot be used for + * network games */ + if ( local_game == 0 ) + { + if ( game_get_fired_shot_count() ) + stk_sound_play( wav_shot ); + if ( game_get_brick_reflected_ball_count() ) + stk_sound_play( wav_reflect_brick ); + if ( game_get_paddle_reflected_ball_count() ) + stk_sound_play( wav_reflect_paddle ); + if ( game_get_attached_ball_count() ) + stk_sound_play( wav_attach ); + } + else + { + if ( last_ball_brick_reflect_x != -1 ) + stk_sound_play_x( last_ball_brick_reflect_x, wav_reflect_brick ); + if ( last_ball_paddle_reflect_x != -1 ) + stk_sound_play_x( last_ball_paddle_reflect_x, wav_reflect_paddle ); + if ( last_ball_attach_x != -1 ) + stk_sound_play_x( last_ball_attach_x, wav_attach ); + if ( last_shot_fire_x != -1 ) + stk_sound_play_x( last_shot_fire_x, wav_shot ); + last_ball_brick_reflect_x = -1; + last_ball_paddle_reflect_x = -1; + last_ball_attach_x = -1; + last_shot_fire_x = -1; + } +#endif + /* handle brick hits and create new extras. the extras + * are moved independently by the client and destroyed on + * collection but DO NOT TAKE EFFECT */ + brickhits = game_get_brick_hits( &count ); + for ( i = 0; i < count; i++ ) + client_handle_brick_hit( &brickhits[i] ); + + /* these collected extras take effect */ + for ( i = 0; i < game->paddle_count; i++ ) { + extras = game_get_collected_extras( i, &count ); + for ( j = 0; j < count; j++ ) + client_handle_collected_extra( game->paddles[i], extras[j] ); + } + + game_reset_mods(); +} +#endif + +#ifdef NETWORK_ENABLED +/* copy stuff from local_game to game */ +static void comm_recv_local( void ) +{ + Ball *ball, *ballcopy; + Shot *shot, *shotcopy; + + /* copy balls */ + list_clear( game->balls ); + list_reset( local_game->balls ); + while ( (ball = list_next(local_game->balls)) ) { + ballcopy = salloc( 1, sizeof(Ball) ); + ballcopy->x = ball->x; + ballcopy->y = ball->y; + ballcopy->attached = ball->attached; + if ( ball->attached ) { + if ( ball->paddle == local_game->paddles[0] ) + ballcopy->paddle = game->paddles[0]; + else + ballcopy->paddle = game->paddles[1]; + } + list_add( game->balls, ballcopy ); + } + + /* copy shots */ + list_clear( game->shots ); + list_reset( local_game->shots ); + while ( (shot = list_next(local_game->shots)) ) { + shotcopy = salloc( 1, sizeof(Shot) ); + shotcopy->x = shot->x; + shotcopy->y = shot->y; + list_add( game->shots, shotcopy ); + } + + /* copy score */ + game->paddles[0]->score = local_game->paddles[0]->score; + + /* copy level_over */ + game->level_over = local_game->level_over; + game->winner = local_game->winner; + + /* modifications are transferred to game::mod + * and handled by the same function that does this + * for net updates below. while handle_mods() + * resets the mods in the game struct, the + * local_game mods must be cleared as well */ + game->mod = local_game->mod; + 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; +} + +/* parse incoming packets and handle them according to the client's + * state */ +static void comm_parse_packet() +{ + BrickHit *brickhits; + unsigned char type; + int *extras, count; + int i, j; + char name[16]; + int handled; + + /* the list of shots is reset before as shot_positions + * will not be send when no shots are available */ + list_clear( game->shots ); + + while ( 1 ) { + type = (unsigned)msg_read_int8(); handled = 0; + + if ( msg_read_failed() ) break; /* no more messages */ + + msglen = 0; /* game unpack functions require a position pointer which + is always 0 at the moment */ + + switch ( type ) { + case MSG_SET_COMM_DELAY: + client_comm_delay = msg_read_int16(); + printf( _("comm_delay set to %i\n"), client_comm_delay ); + handled = 1; + break; + case MSG_DISCONNECT: + /* close the pause chatroom window if open */ + if ( client_state == CS_PAUSE ) + close_pause_chat(); + + set_state( CS_FATAL_ERROR ); + display_text( chat_font_error, _("You've been disconnected.") ); + client_data_clear(); + client_is_connected = 0; + handled = 1; + break; + case MSG_ERROR: + /* close the pause chatroom window if open */ + if ( client_state == CS_PAUSE ) + close_pause_chat(); + /* break up game but wait for the stats */ + set_state( CS_FATAL_ERROR ); + display_text( chat_font_error, msg_read_string() ); + handled = 1; + break; + case MSG_LEVEL_DATA: + cur_player->next_paddle_id = msg_read_int8(); /* top or bottom? */ + msg_read( 536, msgbuf ); + if ( !msg_read_failed() ) { + comm_unpack_level( &cur_player->snapshot, msgbuf, &msglen ); + cur_player->next_level_received = 1; + handled = 1; + } + else { + set_state( CS_FATAL_ERROR ); + display_text( chat_font_error, _("corrupted level data") ); + } + break; + case MSG_ADD_USER: + i = msg_read_int32(); + snprintf( name, 16, "%s", msg_read_string() ); name[15] = 0; + if ( msg_read_failed() ) break; + client_add_user( i, name ); + handled = 1; + break; + case MSG_REMOVE_USER: + i = msg_read_int32(); + if ( msg_read_failed() ) break; + client_remove_user( i ); + handled = 1; + break; + case MSG_ADD_LEVELSET: + list_add( client_levelsets, strdup(msg_read_string()) ); + handled = 1; + break; + case MSG_PAUSE: + open_pause_chat( _("Remote player has paused the game.") ); + handled = 1; + break; + case MSG_UNPAUSE: + close_pause_chat(); + handled = 1; + break; + case MSG_CHATTER: + client_add_pausechatter( msg_read_string(), 0 ); + handled = 1; + break; + } + + /* game_only packets but received any time */ + //if ( client_state == CS_PLAY ) + switch ( type ) { + case MSG_PADDLE_STATE: + comm_unpack_paddle( r_paddle, net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_SHOT_POSITIONS: + comm_unpack_shots( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_BALL_POSITIONS: + comm_unpack_balls( net_buffer, &msg_read_pos ); + +#ifdef AUDIO_ENABLED + /* play sounds for attached, reflected balls or fired shots */ + if ( game_get_fired_shot_count() ) + stk_sound_play( wav_shot ); + if ( game_get_brick_reflected_ball_count() ) + stk_sound_play( wav_reflect_brick ); + if ( game_get_paddle_reflected_ball_count() ) + stk_sound_play( wav_reflect_paddle ); + if ( game_get_attached_ball_count() ) + stk_sound_play( wav_attach ); + game->mod.fired_shot_count = 0; + game->mod.attached_ball_count = 0; + game->mod.brick_reflected_ball_count = 0; + game->mod.paddle_reflected_ball_count = 0; +#endif + handled = 1; + break; + case MSG_SCORES: + comm_unpack_scores( net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_BRICK_HITS: + comm_unpack_brick_hits( net_buffer, &msg_read_pos ); + + /* handle brick hits and create new extras. the extras + * are moved independently by the client and destroyed on + * collection but DO NOT TAKE EFFECT */ + brickhits = game_get_brick_hits( &count ); + for ( i = 0; i < count; i++ ) + client_handle_brick_hit( &brickhits[i] ); + game->mod.brick_hit_count = 0; + handled = 1; + break; + case MSG_NEW_EXTRAS: + comm_unpack_collected_extras( net_buffer, &msg_read_pos ); + + /* these collected extras take effect */ + for ( i = 0; i < game->paddle_count; i++ ) { + extras = game_get_collected_extras( i, &count ); + for ( j = 0; j < count; j++ ) + client_handle_collected_extra( + game->paddles[i], extras[j] ); + } + game->mod.collected_extra_count[0] = 0; + game->mod.collected_extra_count[1] = 0; + handled = 1; + break; + case MSG_ROUND_OVER: + game->level_over = 1; + game->winner = msg_read_int8(); + handled = 1; + break; + case MSG_LAST_ROUND_OVER: + game->level_over = 1; + game->winner = msg_read_int8(); + game_over = 1; + handled = 1; + break; + } + + /* stats may arrive anywhere */ + switch ( type ) { + case MSG_GAME_STATS: + memset( game_stats, 0, sizeof( game_stats ) ); + game_stats[0][0] = msg_read_int8(); + game_stats[1][0] = msg_read_int8(); + game_stats[0][1] = msg_read_int8(); + game_stats[1][1] = msg_read_int8(); + game_stats[0][2] = msg_read_int8(); + game_stats[1][2] = msg_read_int8(); + game_stats[0][3] = msg_read_int32(); + game_stats[1][3] = msg_read_int32(); + game_stats[0][4] = msg_read_int8(); + game_stats[1][4] = msg_read_int8(); + game_stats[0][5] = msg_read_int8(); + game_stats[1][5] = msg_read_int8(); + game_stats[0][6] = msg_read_int8(); + game_stats[1][6] = msg_read_int8(); + stats_received = 1; + handled = 1; + break; + } + + if ( !handled ) { + 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; + } + } +} +#endif + +/* send state of local paddle */ +void comm_send_paddle( Paddle *paddle ) +{ + if ( game->game_type == GT_LOCAL ) { + /* simply copy the data */ + if ( local_game->paddles[PADDLE_BOTTOM]->x != paddle->x ) + local_game->paddles[PADDLE_BOTTOM]->invis_delay = PADDLE_INVIS_DELAY; + local_game->paddles[PADDLE_BOTTOM]->x = paddle->x; + local_game->paddles[PADDLE_BOTTOM]->fire_left = paddle->fire_left; + local_game->paddles[PADDLE_BOTTOM]->fire_right = paddle->fire_right; + local_game->paddles[PADDLE_BOTTOM]->ball_return_key_pressed = + paddle->ball_return_key_pressed; + local_game->paddles[PADDLE_BOTTOM]->maxballspeed_request = + paddle->maxballspeed_request; + local_game->paddles[PADDLE_BOTTOM]->maxballspeed_request_old = + paddle->maxballspeed_request_old; + return; + } + + msgbuf[0] = MSG_PADDLE_STATE; msglen = 1; + comm_pack_paddle( paddle, msgbuf, &msglen ); + client_transmit( CODE_BLUE, msglen, msgbuf ); +} + +void comm_send_short( int msg ) +{ + if ( game->game_type == GT_LOCAL ) return; + + /* send these messages as code blue. if they are dropped + * the player and server will notice as nothing happens */ + msgbuf[0] = msg; + client_transmit( CODE_BLUE, 1, msgbuf ); +} + +/* receive any data but only handle such messages valid + * in the current state. */ +void comm_recv( void ) +{ +#ifdef NETWORK_ENABLED + int recv_limit; + + /* fake communication in local game */ + if ( game->game_type == GT_LOCAL ) { + comm_recv_local(); + return; + } + + if ( !client_is_connected ) return; + + recv_limit = client_recv_limit; /* limited number of packets if not -1 */ + while ( net_recv_packet() && ( recv_limit==-1 || recv_limit > 0) ) { + /* check if this is a valid packet and update the socket */ + if ( msg_is_connectionless() ) + msg_begin_connectionless_reading(); + else + if ( !socket_process_header( &client ) ) + continue; + comm_parse_packet(); + + if ( recv_limit != -1 ) recv_limit--; + } +#endif +} + +/* send a heartbeat every 2 seconds except in the actual game as we + * send paddle updates there */ +void comm_send_heartbeat( void ) +{ + static int last_heartbeat = 0; + + if ( client_state != CS_PLAY ) + if ( time(0) >= last_heartbeat + 3 ) { + last_heartbeat = time(0); + msgbuf[0] = MSG_HEARTBEAT; + client_transmit( CODE_BLUE, 1, msgbuf ); + } + +} diff --git a/project/jni/application/lbreakout2/client/comm.h b/project/jni/application/lbreakout2/client/comm.h new file mode 100644 index 000000000..123f4ed39 --- /dev/null +++ b/project/jni/application/lbreakout2/client/comm.h @@ -0,0 +1,32 @@ +/*************************************************************************** + comm.h - description + ------------------- + begin : Fri Aug 2 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __COMM_CLIENT_H +#define __COMM_CLIENT_H + +void comm_send_paddle( Paddle *paddle ); +void comm_send_short( int msg ); /* single byte messages */ + +/* receive any data but only handle such messages valid + * in the current state */ +void comm_recv( void ); + +/* send a heartbeat every 2 seconds except in the actual game as we + * send paddle updates there */ +void comm_send_heartbeat( void ); + +#endif diff --git a/project/jni/application/lbreakout2/client/config.c b/project/jni/application/lbreakout2/client/config.c new file mode 100644 index 000000000..fe4520815 --- /dev/null +++ b/project/jni/application/lbreakout2/client/config.c @@ -0,0 +1,273 @@ +/*************************************************************************** + config.c - description + ------------------- + begin : Tue Feb 13 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" + +#include +#include +#include + +#include "config.h" +#include "../common/parser.h" + +#ifdef _WIN32 + #define MKDIR(d, p) mkdir(d) +#else + #define MKDIR mkdir +#endif + +Config config; + +#define CONFIG_FILE_NAME "lbreakout2.conf" + +/* check if config directory exists; if not create it and set config_dir */ +void config_check_dir() +{ + char level_dir[512]; + snprintf( config.dir_name, sizeof(config.dir_name)-1, "%s/%s", (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME ); + /* test and create .lgames */ + if ( opendir( config.dir_name ) == 0 ) { + fprintf( stderr, "couldn't find/open config directory '%s'\n", config.dir_name ); + fprintf( stderr, "attempting to create it... " ); + MKDIR( config.dir_name, S_IRWXU ); + if ( opendir( config.dir_name ) == 0 ) + fprintf( stderr, "failed\n" ); + else + fprintf( stderr, "ok\n" ); + } + /* create levels directory */ + sprintf( level_dir, "%s/lbreakout2-levels", config.dir_name ); + MKDIR( level_dir, S_IRWXU ); + /* create themes directory */ + sprintf( level_dir, "%s/lbreakout2-themes", config.dir_name ); + MKDIR( level_dir, S_IRWXU ); +} + +/* set config to default */ +void config_reset() +{ + /* levels */ + config.levelset_id_local = 0; + config.levelset_count_local = 0; + config.levelset_id_home = 0; + config.levelset_count_home = 0; + /* 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") ); + /* 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; + config.k_rfire = SDLK_SPACE; + config.k_lfire = SDLK_y; + config.k_return = SDLK_BACKSPACE; + config.k_turbo = SDLK_x; + config.k_warp = SDLK_w; + config.k_maxballspeed = SDLK_c; + config.grab = 1; + config.rel_motion = 1; + config.i_motion_mod = 120; + config.motion_mod = 1.2; + config.convex = 1; + config.linear_corner = 0; + config.invert = 0; + config.i_key_speed = 500; + config.key_speed = 0.5; + config.random_angle = 1; + 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; + config.fullscreen = 0; + config.fade = 1; + config.bonus_info = 1; + config.fps = 0; + config.ball_level = BALL_BELOW_BONUS; + config.debris_level = DEBRIS_ABOVE_BALL; + /* various */ + config.use_hints = 1; + config.return_on_click = 0; + config.theme_id = 0; + config.theme_count = 4; + /* multiplayer */ + strcpy( config.server, "217.160.141.22:8000" ); + strcpy( config.local_port, "8001" ); + strcpy( config.username, _("player") ); + config.mp_diff = 1; + config.mp_rounds = 1; + config.mp_balls = 3; + config.mp_frags = 10; + config.recv_limit = 500; +} + +/* load config */ +void config_load( ) +{ + char *str; + char file_name[512]; + PData *pd; + /* set to defaults */ + config_check_dir(); + config_reset(); + /* load config */ + sprintf( file_name, "%s/%s", config.dir_name, CONFIG_FILE_NAME ); + if ( ( pd = parser_read_file( "config", file_name ) ) == 0 ) { + fprintf( stderr, "%s\n", parser_get_error() ); + return; + } + /* assign */ + parser_get_int( pd, "set_id_local", &config.levelset_id_local ); + parser_get_int( pd, "set_count_local", &config.levelset_count_local ); + parser_get_int( pd, "set_id_home", &config.levelset_id_home ); + parser_get_int( pd, "set_count_home", &config.levelset_count_home ); + parser_get_int( pd, "player_count", &config.player_count ); + if ( parser_get_value( pd, "player0", &str, 0 ) ) + strcpy_lt( config.player_names[0], str, 31 ); + if ( parser_get_value( pd, "player1", &str, 0 ) ) + strcpy_lt( config.player_names[1], str, 31 ); + if ( parser_get_value( pd, "player2", &str, 0 ) ) + strcpy_lt( config.player_names[2], str, 31 ); + if ( parser_get_value( pd, "player3", &str, 0 ) ) + strcpy_lt( config.player_names[3], str, 31 ); + 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 ); + 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, "rel_motion", &config.rel_motion ); + parser_get_int( pd, "grab", &config.grab ); + parser_get_int( pd, "motion_mod", &config.i_motion_mod ); + config.motion_mod = 0.01 * config.i_motion_mod; + parser_get_int( pd, "convex", &config.convex ); + parser_get_int( pd, "linear_corner", &config.linear_corner ); + parser_get_int( pd, "random_angle", &config.random_angle ); + parser_get_int( pd, "maxballspeed", &config.maxballspeed_int1000 ); + config.maxballspeed_float = (float)config.maxballspeed_int1000 / 1000; + parser_get_int( pd, "invert", &config.invert ); + 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 ); + parser_get_int( pd, "fade", &config.fade ); + parser_get_int( pd, "bonus_info", &config.bonus_info ); + parser_get_int( pd, "fps", &config.fps ); + parser_get_int( pd, "ball_level", &config.ball_level ); + parser_get_int( pd, "debris_level", &config.debris_level ); + parser_get_int( pd, "i_key_speed", &config.i_key_speed ); + config.key_speed = 0.001 * config.i_key_speed; + parser_get_int( pd, "use_hints", &config.use_hints ); + parser_get_int( pd, "return_on_click", &config.return_on_click ); + parser_get_int( pd, "theme_id", &config.theme_id ); + parser_get_int( pd, "theme_count", &config.theme_count ); + if ( parser_get_value( pd, "server", &str, 0 ) ) + strcpy_lt( config.server, str, 64 ); + if ( parser_get_value( pd, "local_port", &str, 0 ) ) + strcpy_lt( config.local_port, str, 6 ); + if ( parser_get_value( pd, "username", &str, 0 ) ) + strcpy_lt( config.username, str, 15 ); + parser_get_int( pd, "mp_diff", &config.mp_diff ); + parser_get_int( pd, "mp_rounds", &config.mp_rounds ); + parser_get_int( pd, "mp_frags", &config.mp_frags ); + parser_get_int( pd, "mp_balls", &config.mp_balls ); + parser_free( &pd ); +} + +/* save config */ +void config_save( ) +{ + FILE *file = 0; + char file_name[512]; + + sprintf( file_name, "%s/%s", config.dir_name, CONFIG_FILE_NAME ); + if ( ( file = fopen( file_name, "w" ) ) == 0 ) + fprintf( stderr, "Cannot access config file '%s' to save settings\n", file_name ); + else { + fprintf( file, "@\n" ); + fprintf( file, "set_id_local»%i\n", config.levelset_id_local ); + fprintf( file, "set_count_local»%i\n", config.levelset_count_local ); + fprintf( file, "set_id_home»%i\n", config.levelset_id_home ); + fprintf( file, "set_count_home»%i\n", config.levelset_count_home ); + fprintf( file, "player_count»%i\n", config.player_count ); + fprintf( file, "player0»%s\n", config.player_names[0] ); + fprintf( file, "player1»%s\n", config.player_names[1] ); + fprintf( file, "player2»%s\n", config.player_names[2] ); + fprintf( file, "player3»%s\n", config.player_names[3] ); + 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 ); + 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, "rel_motion»%i\n", config.rel_motion ); + fprintf( file, "grab»%i\n", config.grab ); + fprintf( file, "motion_mod»%i\n", config.i_motion_mod); + fprintf( file, "convex»%i\n", config.convex ); + fprintf( file, "linear_corner»%i\n", config.linear_corner ); + fprintf( file, "random_angle»%i\n", config.random_angle ); + fprintf( file, "maxballspeed»%i\n", config.maxballspeed_int1000 ); + fprintf( file, "invert»%i\n", config.invert ); + 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 ); + fprintf( file, "fade»%i\n", config.fade ); + fprintf( file, "bonus_info»%i\n", config.bonus_info ); + fprintf( file, "fps»%i\n", config.fps ); + fprintf( file, "ball_level»%i\n", config.ball_level ); + fprintf( file, "debris_level»%i\n", config.debris_level ); + fprintf( file, "i_key_speed»%i\n", config.i_key_speed ); + fprintf( file, "use_hints»%i\n", config.use_hints ); + fprintf( file, "return_on_click»%i\n", config.return_on_click ); + fprintf( file, "theme_id»%i\n", config.theme_id ); + fprintf( file, "theme_count»%i\n", config.theme_count ); + fprintf( file, "server»%s\n", config.server ); + fprintf( file, "local_port»%s\n", config.local_port ); + fprintf( file, "username»%s\n", config.username ); + fprintf( file, "mp_diff»%i\n", config.mp_diff ); + fprintf( file, "mp_rounds»%i\n", config.mp_rounds ); + fprintf( file, "mp_frags»%i\n", config.mp_frags ); + fprintf( file, "mp_balls»%i\n", config.mp_balls ); + } +} diff --git a/project/jni/application/lbreakout2/client/config.h b/project/jni/application/lbreakout2/client/config.h new file mode 100644 index 000000000..306e7c54b --- /dev/null +++ b/project/jni/application/lbreakout2/client/config.h @@ -0,0 +1,103 @@ +/*************************************************************************** + config.h - description + ------------------- + begin : Tue Feb 13 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __CONFIG_H +#define __CONFIG_H + +/* configure struct */ +enum { BALL_BELOW_BONUS = 0, BALL_ABOVE_BONUS }; +enum { DEBRIS_BELOW_BALL = 0, DEBRIS_ABOVE_BALL }; +typedef struct { + /* directory to save config and saved games */ + char dir_name[512]; + /* levels */ + int levelset_id_local; + int levelset_count_local; /* save number of local game levelsets + for safety (to reset id if count changed) */ + int levelset_id_home; + int levelset_count_home; /* save number of levelsets for safety + (to reset id if count changed) */ + /* players */ + int player_count; + char player_names[4][32]; + /* game */ + int diff; /* diffculty */ + 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; + int k_lfire; + int k_rfire; + int k_return; /* return ball on click on this key */ + int k_turbo; /* double paddle speed while this key is pressed */ + int k_warp; /* warp to next level */ + int k_maxballspeed; /* go to maximum ball speed (while pressed) */ + int rel_motion; /* use relative mouse motion; motion_mod and invert need this enabled */ + int grab; /* keep mouse in window */ + int i_motion_mod; /* motion_mod * 100 used to modify in the menu */ + double motion_mod; /* multiplied with relative motion */ + int convex; + int invert; + double key_speed; /* move with key_speed pix per sec when keys are used */ + int linear_corner; /* assume a 45° line for corner? */ + int random_angle; + int maxballspeed_int1000; /* max ball speed in pixels/second */ + float maxballspeed_float; /* per millisecond */ + /* sound */ + int sound; + int volume; /* 1 - 8 */ + int speech; /* enable speech? */ + int badspeech; /* if speech allowed, allow swearing? */ + int audio_buffer_size; + /* graphics */ + int anim; + int fullscreen; + int fade; + int bonus_info; + int fps; /* frames per second: 0 - no limit, 1 - 50, 2 - 100, 3 - 200 */ + int ball_level; + int debris_level; + int i_key_speed; /* integer value that is devided by 100 to get real key_speed */ + /* various */ + int use_hints; + int return_on_click; /* autoreturn on click if true else automatically */ + int theme_id; /* 0 == default theme */ + int theme_count; /* to check and properly reset id if number of themes changed */ + /* multiplayer */ + char server[64]; /* ip:port */ + char local_port[8]; /* where to bind local UDP socket */ + char username[16]; /* username at server */ + int mp_diff; /* difficulty */ + int mp_rounds; /* rounds per level in a levelset */ + int mp_frags; /* points a player needs to win a round */ + int mp_balls; /* maximum number of balls a player may fire */ + int recv_limit; /* number of packets parsed in one go */ +} Config; + +/* set config to default */ +void config_reset(); + +/* load config */ +void config_load( ); + +/* save config */ +void config_save( ); + +#endif diff --git a/project/jni/application/lbreakout2/client/credit.c b/project/jni/application/lbreakout2/client/credit.c new file mode 100644 index 000000000..b158d24bd --- /dev/null +++ b/project/jni/application/lbreakout2/client/credit.c @@ -0,0 +1,124 @@ +/*************************************************************************** + credit.c - description + ------------------- + begin : Thu Sep 13 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "credit.h" + +extern SDL_Surface *stk_display; +extern StkFont *font; +extern SDL_Surface *offscreen; + +SDL_Surface *credit_bkgnd = 0; +float credit_alpha; +float credit_pms = 0.5; +int credit_cur; +int credit_time = 2000; +int credit_x, credit_y, credit_w, credit_h; +char credit_str[64]; +int credit_status; + +/* +==================================================================== +Initiate credit. +==================================================================== +*/ +void credit_init( char *name, char *author, int level, int level_count ) +{ + credit_cur = 0; credit_alpha = 0; credit_status = 0; + + /* string */ + if ( level_count > 0 ) + sprintf( credit_str, "%s (%i/%i) - %s", name, + level + 1, level_count, author ); + else + sprintf( credit_str, "%s (%i) - %s", name, level + 1, author ); + + /* position */ + credit_w = stk_font_string_width( font, credit_str ) + 4; + credit_h = font->height + 4; + credit_x = (stk_display->w - credit_w) / 2; + credit_y = (stk_display->h - credit_h) / 2; + + /* background */ + if ( credit_bkgnd ) SDL_FreeSurface( credit_bkgnd ); + credit_bkgnd = stk_surface_create( SDL_SWSURFACE, credit_w, credit_h ); + SDL_SetColorKey( credit_bkgnd, 0, 0 ); + stk_surface_fill( credit_bkgnd, 0,0,-1,-1, 0x0 ); +} +void credit_clear() +{ + stk_surface_free( &credit_bkgnd ); +} +/* +==================================================================== +Show/Hide credits +==================================================================== +*/ +void credit_hide() +{ + if (credit_status == 3) return; + stk_surface_blit( offscreen, + credit_x, credit_y, credit_w, credit_h, + stk_display, credit_x, credit_y ); + stk_display_store_drect(); +} +void credit_show( ) +{ + if (credit_status == 3) return; + if ( credit_bkgnd ) + stk_surface_alpha_blit( credit_bkgnd, 0, 0, + credit_w, credit_h, stk_display, + credit_x, credit_y, credit_alpha / 2 ); + font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; + stk_font_write(font, stk_display, credit_x + 2, credit_y + 2, + (int)credit_alpha, credit_str ); + font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_CENTER_Y; +} +void credit_alphashow( int alpha ) +{ + if (credit_status == 3) return; + font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; + stk_font_write(font, stk_display, credit_x + 2, credit_y + 2, + (int)alpha, credit_str ); + font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_CENTER_Y; +} +void credit_update( int ms ) +{ + /* appearing */ + if (credit_status == 0) { + credit_alpha += credit_pms * ms; + if (credit_alpha >= 255 ) { + credit_status = 1; + credit_alpha = 255; + } + } + else + /* visible */ + if (credit_status == 1) { + credit_cur += ms; + if (credit_cur > credit_time) + credit_status = 2; + } + else + /* disappearing */ + if (credit_status == 2) { + credit_alpha -= credit_pms * ms; + if (credit_alpha <= 0) + credit_status = 3; + } + /* credit_status == 3 means credit disappeared */ +} diff --git a/project/jni/application/lbreakout2/client/credit.h b/project/jni/application/lbreakout2/client/credit.h new file mode 100644 index 000000000..55d049a09 --- /dev/null +++ b/project/jni/application/lbreakout2/client/credit.h @@ -0,0 +1,33 @@ +/*************************************************************************** + credit.h - description + ------------------- + begin : Thu Sep 13 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Initiate credit. +==================================================================== +*/ +void credit_init( char *name, char *author, int level, int level_count ); +void credit_clear(); +/* +==================================================================== +Show/Hide credits +==================================================================== +*/ +void credit_hide(); +void credit_show(); +void credit_alphashow( int alpha ); +void credit_update( int ms ); diff --git a/project/jni/application/lbreakout2/client/display.c b/project/jni/application/lbreakout2/client/display.c new file mode 100644 index 000000000..261877d16 --- /dev/null +++ b/project/jni/application/lbreakout2/client/display.c @@ -0,0 +1,194 @@ +/*************************************************************************** + display.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "display.h" + +extern SDL_Surface *offscreen; +extern SDL_Surface *stk_display; +extern StkFont *display_font; +extern StkFont *display_highlight_font; + +List *displays = 0; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Delete a display +==================================================================== +*/ +void display_delete( void *ptr ) +{ + Display *display = ptr; + if ( display ) { + stk_surface_free( &display->surf ); + free( display ); + } +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Add a display. The display is cleared by displays_clear() so +the returned display is just a pointer. +The contents of the display is 'text'+'value'. Both may be changed +with the display_set_text/value() functions. +'digits' is the maxium size of 'value' +==================================================================== +*/ +Display* displays_add( int x, int y, int w, int h, char *text, int value, int digits ) +{ + Display *display = 0; + if ( displays == 0 ) + displays = list_create( LIST_AUTO_DELETE, display_delete ); + display = calloc( 1, sizeof( Display ) ); + if ( display == 0 ) return 0; + if ( ( display->surf = stk_surface_create( SDL_SWSURFACE,w,h ) ) == 0 ) { + free( display ); + return 0; + } + SDL_SetColorKey( display->surf, 0, 0 ); + display->use_alpha = 1; + display->x = x; + display->y = y; + display->w = w; + display->h = h; + display->digits = digits; + strcpy( display->text, text ); + display->value = value; + display->cur_value = value; + list_add( displays, display ); + return display; +} +/* +==================================================================== +Remove all displays +==================================================================== +*/ +void displays_clear() +{ + if ( displays ) { + list_delete( displays ); + displays = 0; + } +} + +/* +==================================================================== +Draw displays +==================================================================== +*/ +void displays_hide() +{ + Display *display; + if ( displays == 0 ) return; + list_reset( displays ); + while ( ( display = list_next( displays ) ) ) { + stk_surface_blit(offscreen, display->x, display->y, + display->w, display->h, + stk_display, display->x, display->y ); + stk_display_store_drect(); + } +} +void displays_show() +{ + int i; + char str[64], numstr[10]; + StkFont *font; + Display *display; + if ( displays == 0 ) return; + list_reset( displays ); + display_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; + display_highlight_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_TOP; + while ( ( display = list_next( displays ) ) ) { + if (display->is_highlighted) + font = display_highlight_font; + else + font = display_font; + strcpy( str, display->text ); + if ( display->digits > 0 ) { + sprintf( numstr, "%i", (int)display->cur_value ); + for ( i = 0; i < display->digits - strlen( numstr ); i++ ) + strcat( str, " " ); + strcat( str, numstr ); + } + if ( display->use_alpha ) { + stk_surface_alpha_blit( display->surf, 0,0, + display->w, display->h, + stk_display, display->x, display->y, 128 ); + } + stk_font_write( font, stk_display, + display->x + 2, display->y + 1, -1, str ); + } +} + +/* +==================================================================== +Update displays +==================================================================== +*/ +void displays_update( int ms ) +{ + float change; + Display *display; + if ( displays == 0 ) return; + list_reset( displays ); + while ( ( display = list_next( displays ) ) ) { + if ( (int)display->cur_value == display->value ) continue; + /* change relative as for big display->cur_values we must count faster */ + change = ( display->value - display->cur_value ) / 200; + if ( change > 0 && change < 0.6 ) change = 0.6; + if ( change < 0 && change > -0.6 ) change = -0.6; + display->cur_value += change * ms; + if ( change > 0 && display->cur_value > display->value ) + display->cur_value = display->value; + if ( change < 0 && display->cur_value < display->value ) + display->cur_value = display->value; + } +} +/* +==================================================================== +Modify display +==================================================================== +*/ +void display_set_text( Display *display, char *text ) +{ + strcpy( display->text, text ); +} +void display_set_value( Display *display, int value ) +{ + display->value = value; +} +void display_set_value_directly( Display *display, int value ) +{ + display->cur_value = value; /* no smooth approaching of the dest value */ + display->value = value; +} +void display_set_highlight( Display *display, int on ) +{ + display->is_highlighted = on; +} diff --git a/project/jni/application/lbreakout2/client/display.h b/project/jni/application/lbreakout2/client/display.h new file mode 100644 index 000000000..ac3cee716 --- /dev/null +++ b/project/jni/application/lbreakout2/client/display.h @@ -0,0 +1,75 @@ +/*************************************************************************** + display.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __DISPLAY_H +#define __DISPLAY_H + +typedef struct { + SDL_Surface *surf; + int x, y, w, h; + char text[32]; + int digits; + int value; + float cur_value; /* smoothly approximates destination 'value' */ + int use_alpha; /* if true we darken the background a bit. this + is true by default */ + int is_highlighted; /* use highlight font */ +} Display; + +/* +==================================================================== +Add a display. The display is cleared by displays_clear() so +the returned display is just a pointer. +The contents of the display is 'text'+'value'. Both may be changed +with the display_set_text/value() functions. +'digits' is the maxium size of 'value' +==================================================================== +*/ +Display* displays_add( int x, int y, int w, int h, char *text, int value, int digits ); +/* +==================================================================== +Remove all displays +==================================================================== +*/ +void displays_clear(); + +/* +==================================================================== +Draw displays +==================================================================== +*/ +void displays_hide(); +void displays_show(); + +/* +==================================================================== +Update displays +==================================================================== +*/ +void displays_update( int ms ); + +/* +==================================================================== +Modify display +==================================================================== +*/ +void display_set_text( Display *display, char *text ); +void display_set_value( Display *display, int value ); +void display_set_value_directly( Display *display, int value ); +void display_set_highlight( Display *display, int on ); + +#endif diff --git a/project/jni/application/lbreakout2/client/editor.c b/project/jni/application/lbreakout2/client/editor.c new file mode 100644 index 000000000..8f76482e9 --- /dev/null +++ b/project/jni/application/lbreakout2/client/editor.c @@ -0,0 +1,822 @@ +/*************************************************************************** + editor.c - description + ------------------- + begin : Fri Oct 12 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "../game/game.h" +#include "game.h" +#include "config.h" +#include "bricks.h" +#include "frame.h" +#include "editor.h" + +SDL_Surface *sel_frame = 0, *buttons = 0; +SDL_Surface *editor_bkgnd = 0; /* background (black with frame) of editor */ +char edit_file_name[512]; /* full path of edited file */ +Level *edit_levels[MAX_LEVELS]; /* editor levels */ +char edit_version[16]; /* version of edited set */ +int edit_level_count; /* how many levels currently used? */ +int edit_cur_level_id; +Level *edit_cur_level; /* current level modified */ +enum { EDITOR_BRICK, EDITOR_EXTRA }; +int edit_sel_type; /* type of selected tile */ +int edit_sel_id; /* brick or extra id */ +int edit_sel_x, edit_sel_y; /* position in map of selected tile */ +int edit_tile_x = 1, edit_tile_y = 20, edit_tile_w = MAP_WIDTH - 2, edit_tile_h = 3; /* part where either bricks ro bonuses + are displayed */ +int extra_vis; /* extras currently shown? blinks. */ +int first_swap_level = -1; /* if not -1 this and the current level will be swapped + next time the button is pressed */ +enum { + /* tiles */ + BUTTON_NONE = 0, + BUTTON_FIRST_BRICK, + BUTTON_LAST_BRICK = BUTTON_FIRST_BRICK + ( BRICK_COUNT ), + BUTTON_FIRST_EXTRA, + BUTTON_LAST_EXTRA = BUTTON_FIRST_EXTRA + ( EX_NUMBER -1 ), + BUTTON_EDIT, + BUTTON_EDIT_AUTHOR, + BUTTON_EDIT_NAME, + /* buttons */ + BUTTON_FIRST, + BUTTON_NEXT, + BUTTON_PREV, + BUTTON_CLEAR, + BUTTON_SWAP, + BUTTON_ADD, + BUTTON_INSERT, + BUTTON_DELETE, + BUTTON_VERSION, + BUTTON_LOAD, + BUTTON_SAVE, + BUTTON_PLAY +}; +int edit_buttons[MAP_WIDTH][MAP_HEIGHT]; /* an action is assigned to each map tile */ +/* externals */ +extern SDL_Surface *stk_display; +extern SDL_Surface *frame; +extern SDL_Surface *extra_pic; +extern SDL_Surface *brick_pic; +extern StkFont *mfont; /* use menu's font to draw status */ +extern StkFont *font; /* use game's font to confirm */ +extern Config config; +extern int stk_quit_request; + +/* extra conversion table may be found in bricks.c */ +extern Extra_Conv extra_conv_table[EX_NUMBER]; +extern Brick_Conv brick_conv_table[BRICK_COUNT]; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +We had a right click into the tile region so check and change the +bricks displayed there. We select the first new tile and set +edit_sel_id, edit_sel_x, edit_sel_y. The full update is initated +by editor_handle_click(). +==================================================================== +*/ +void editor_switch_tiles() +{ + int x_off = 2, y_off = 20, len = MAP_WIDTH - x_off * 2; /* offset in map of tiles, len is the number of tiles in one line */ + int i, j; + /* clear edit buttons */ + for ( i = edit_tile_x; i < edit_tile_x + edit_tile_w; i++ ) + for ( j = edit_tile_y; j < edit_tile_y + edit_tile_h; j++ ) + edit_buttons[i][j] = BUTTON_NONE; + /* clear this part of the editor bkjgnd */ + stk_surface_fill( editor_bkgnd, + edit_tile_x * BRICK_WIDTH, edit_tile_y * BRICK_HEIGHT, + edit_tile_w * BRICK_WIDTH, edit_tile_h * BRICK_HEIGHT, 0x0 ); + /* switch */ + if ( edit_sel_type == EDITOR_BRICK ) { + /* flag */ + edit_sel_type = EDITOR_EXTRA; + /* button map & background */ + i = 0; j = 0; + while ( i + j * len < EX_NUMBER ) { + edit_buttons[x_off + i][y_off + j] = BUTTON_FIRST_EXTRA + i + j * len; + stk_surface_blit( extra_pic, ( i + j * len ) * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + editor_bkgnd, ( i + x_off ) * BRICK_WIDTH, ( j + y_off ) * BRICK_HEIGHT ); + i++; + if ( i == len ) { + i = 0; + j++; + } + } + /* select first tile */ + edit_sel_id = 0; + edit_sel_x = x_off; + edit_sel_y = y_off; + } + else { + /* flag */ + edit_sel_type = EDITOR_BRICK; + /* button map & background */ + i = 0; j = 0; + while ( i + j * len < BRICK_COUNT ) { + edit_buttons[x_off + i][y_off + j] = BUTTON_FIRST_BRICK + i + j * len; + stk_surface_blit( brick_pic, ( i + j * len ) * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + editor_bkgnd, ( i + x_off ) * BRICK_WIDTH, ( j + y_off ) * BRICK_HEIGHT ); + i++; + if ( i == len ) { + i = 0; + j++; + } + } + /* select first tile */ + edit_sel_id = 0; + edit_sel_x = x_off; + edit_sel_y = y_off; + } +} + +/* +==================================================================== +Draw a helping grid. +==================================================================== +*/ +void editor_draw_grid() +{ + SDL_Surface *buffer; + int i, alpha; + buffer = stk_surface_create( SDL_SWSURFACE, EDIT_WIDTH * BRICK_WIDTH, 1 ); + stk_surface_fill( buffer, 0,0,-1,-1, 0xffffff ); + stk_surface_blit( buffer, 0,0,-1,-1, editor_bkgnd, BRICK_WIDTH, BRICK_HEIGHT ); + stk_surface_blit( buffer, 0,0,-1,-1, editor_bkgnd, BRICK_WIDTH, + ( EDIT_HEIGHT + 1 ) * BRICK_HEIGHT - 1 ); + for ( i = 0; i < EDIT_HEIGHT - 1; i++ ) { + if ( i == EDIT_HEIGHT / 2 - 1 ) + alpha = 192; + else + if ( i % (EDIT_HEIGHT/4) == 0 ) + alpha = 128; + else + alpha = 64; + stk_surface_alpha_blit( buffer, 0,0,-1,-1, editor_bkgnd, + BRICK_WIDTH, ( i + 1 ) * BRICK_HEIGHT + BRICK_HEIGHT - 1, + alpha ); + } + SDL_FreeSurface( buffer ); + buffer = stk_surface_create( SDL_SWSURFACE, 1, EDIT_HEIGHT * BRICK_HEIGHT ); + stk_surface_fill( buffer, 0,0,-1,-1, 0xffffff ); + stk_surface_blit( buffer, 0,0,-1,-1, editor_bkgnd, BRICK_WIDTH, BRICK_HEIGHT ); + stk_surface_blit( buffer, 0,0,-1,-1, editor_bkgnd, + ( EDIT_WIDTH + 1 ) * BRICK_WIDTH - 1, BRICK_HEIGHT ); + for ( i = 0; i < EDIT_WIDTH - 1; i++ ) { + if ( i == EDIT_WIDTH / 2 - 1 ) + alpha = 192; + else + if ( i % (EDIT_WIDTH/4) == 0 ) + alpha = 128; + else + alpha = 64; + stk_surface_alpha_blit( buffer, 0,0,-1,-1, editor_bkgnd, + ( i + 1 ) * BRICK_WIDTH + BRICK_WIDTH- 1, BRICK_HEIGHT, + alpha ); + } + SDL_FreeSurface( buffer ); +} + +/* +==================================================================== +Translate the saved character strings into extra and brick indices +for the editor. +==================================================================== +*/ +enum { INDICES_2_CHAR, CHAR_2_INDICES }; +void editor_translate_level( Level *level, int type ) +{ + int i, j, k; + if ( type == CHAR_2_INDICES ) { + for ( i = 0; i < EDIT_WIDTH; i++ ) + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + /* bricks */ + for ( k = 0; k < BRICK_COUNT; k++ ) + if ( brick_conv_table[k].c == level->bricks[i][j] ) { + level->bricks[i][j] = brick_conv_table[k].id; + break; + } + if ( k == BRICK_COUNT ) level->bricks[i][j] = -1; + /* extras */ + for ( k = 0; k < EX_NUMBER; k++ ) + if ( extra_conv_table[k].c == level->extras[i][j] ) { + level->extras[i][j] = extra_conv_table[k].type; + break; + } + if ( k == EX_NUMBER ) level->extras[i][j] = EX_NONE; + } + } + else { + /* indices to characters */ + for ( i = 0; i < EDIT_WIDTH; i++ ) + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + /* bricks */ + if ( level->bricks[i][j] == -1 ) + level->bricks[i][j] = '.'; + else + for ( k = 0; k < BRICK_COUNT; k++ ) + if ( level->bricks[i][j] == brick_conv_table[k].id ) { + level->bricks[i][j] = brick_conv_table[k].c; + break; + } + /* extras */ + if ( level->extras[i][j] == EX_NONE ) + level->extras[i][j] = '.'; + else + for ( k = 0; k < EX_NUMBER; k++ ) + if ( level->extras[i][j] == extra_conv_table[k].type ) { + level->extras[i][j] = extra_conv_table[k].c; + break; + } + } + } +} +/* +==================================================================== +Draw name of set file, current level, current count, remaining +levels, and other info stuff. +==================================================================== +*/ +void editor_draw_status() +{ + char str[512]; + int x = BRICK_WIDTH, y = ( MAP_HEIGHT - 1 ) * BRICK_HEIGHT - 2; + int height = 10; + /* locartion */ + 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 ); + 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 ); + stk_font_write( mfont, stk_display, stk_display->w - BRICK_WIDTH, y + height, STK_OPAQUE, str ); + } + else { + /* 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 ); + 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 ); + stk_font_write( mfont, stk_display, stk_display->w - BRICK_WIDTH - 2, ( MAP_HEIGHT - 5 ) * BRICK_HEIGHT + 5, STK_OPAQUE, str ); +} +/* +==================================================================== +Draw brick and extra (if any) from screen map pos +so it fits the editable field (no frame, no bottom). +==================================================================== +*/ +void editor_draw_brick( int edit_map_x, int edit_map_y ) +{ + /* brick */ + if ( edit_cur_level->bricks[edit_map_x][edit_map_y] != -1 ) { + if ( edit_cur_level->bricks[edit_map_x][edit_map_y] != INVIS_BRICK_ID ) + stk_surface_blit( brick_pic, + edit_cur_level->bricks[edit_map_x][edit_map_y] * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, (edit_map_x + 1) * BRICK_WIDTH, (edit_map_y + 1) * BRICK_HEIGHT ); + else + stk_surface_fill( stk_display, + (edit_map_x + 1) * BRICK_WIDTH, (edit_map_y + 1) * BRICK_HEIGHT, + BRICK_WIDTH, BRICK_HEIGHT, 0x777777 ); + } + else { + stk_surface_blit( editor_bkgnd, + (edit_map_x + 1) * BRICK_WIDTH, (edit_map_y + 1) * BRICK_HEIGHT, + BRICK_WIDTH, BRICK_HEIGHT, stk_display, + (edit_map_x + 1) * BRICK_WIDTH, (edit_map_y + 1) * BRICK_HEIGHT ); + } + /* extra */ + if ( ( extra_vis || edit_sel_type == EDITOR_EXTRA ) && edit_cur_level->extras[edit_map_x][edit_map_y] != EX_NONE) { + stk_surface_blit( extra_pic, + ( edit_cur_level->extras[edit_map_x][edit_map_y] ) * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, (edit_map_x + 1) * BRICK_WIDTH, (edit_map_y + 1) * BRICK_HEIGHT ); + } + stk_display_store_drect(); +} +/* +==================================================================== +Redraw and refresh full screen +==================================================================== +*/ +void editor_full_update() +{ + int i, j; + /* background */ + stk_surface_blit( editor_bkgnd, 0,0,-1,-1, stk_display, 0,0 ); + /* bricks&extras */ + for ( i = 0; i < EDIT_WIDTH; i++ ) + for ( j = 0; j < EDIT_HEIGHT; j++ ) + editor_draw_brick( i, j ); + /* selection frame */ + stk_surface_blit( sel_frame, 0,0,-1,-1, + stk_display, edit_sel_x * BRICK_WIDTH, edit_sel_y * BRICK_HEIGHT ); + /* status */ + editor_draw_status(); + /* refresh */ + stk_display_update( STK_UPDATE_ALL ); +} +/* +==================================================================== +Do only redraw and refresh those bricks with an extra +==================================================================== +*/ +void editor_update_extra_bricks() +{ + int i, j; + for ( i = 0; i < EDIT_WIDTH; i++ ) + for ( j = 0; j < EDIT_HEIGHT; j++ ) + if ( edit_cur_level->extras[i][j] != EX_NONE ) + editor_draw_brick( i, j ); + stk_display_update( STK_UPDATE_RECTS ); +} +/* +==================================================================== +Free all editor levels +==================================================================== +*/ +void editor_clear_levels() +{ + int i; + for ( i = 0; i < MAX_LEVELS; i++ ) + if ( edit_levels[i] ) level_delete( edit_levels[i] ); + memset( edit_levels, 0, sizeof( Level* ) * MAX_LEVELS ); + edit_level_count = 0; +} +/* +==================================================================== +Save/load levels to/from editor file. +==================================================================== +*/ +void editor_load_levels() +{ + int i, version, update; + Level *level; + FILE *file = 0; + /* clear levels first */ + editor_clear_levels(); + /* read levels while there are some in it */ + edit_level_count = 0; + if ( ( file = fopen( edit_file_name, "rb" ) ) != 0 ) { + levelset_get_version( file, &version, &update ); + sprintf( edit_version, "%i.%02i", version, update ); + while ( ( level = level_load( file ) ) != 0 ) + edit_levels[edit_level_count++] = level; + fclose( file ); + } + /* 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") ); + } + /* translate the character strings to editor info */ + for ( i = 0; i < edit_level_count; i++ ) + editor_translate_level( edit_levels[i], CHAR_2_INDICES ); +} +void editor_save_levels() +{ + FILE *file = 0; + int i, j, k; + Level *level = 0; + /* convert */ + for ( i = 0; i < edit_level_count; i++ ) + editor_translate_level( edit_levels[i], INDICES_2_CHAR ); + /* save */ + if ( ( file = fopen( edit_file_name, "w" ) ) != 0 ) { + fprintf( file, "Version: %s\n", edit_version ); + for ( i = 0; i < edit_level_count; i++ ) { + level = edit_levels[i]; + /* save level */ + fprintf( file, "Level:\n%s\n%s\nBricks:\n", level->author, level->name ); + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + for ( k = 0; k < EDIT_WIDTH; k++ ) + fprintf( file, "%c", level->bricks[k][j] ); + fprintf( file, "\n" ); + } + fprintf( file, "Bonus:\n" ); + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + for ( k = 0; k < EDIT_WIDTH; k++ ) + fprintf( file, "%c", level->extras[k][j] ); + fprintf( file, "\n" ); + } + } + fclose( file ); + } + /* convert back */ + for ( i = 0; i < edit_level_count; i++ ) + editor_translate_level( edit_levels[i], CHAR_2_INDICES ); +} +/* +==================================================================== +Handle button action +==================================================================== +*/ +void editor_handle_button( int type, int *full_update ) { + Level *dummy_ptr; + int old_pos; + int version, update; + char *name, *author; + int i; + switch ( type ) { + case BUTTON_FIRST: + edit_cur_level_id = 0; + edit_cur_level = edit_levels[0]; + *full_update = 1; + break; + case BUTTON_NEXT: + edit_cur_level_id++; + if ( edit_cur_level_id == edit_level_count ) edit_cur_level_id = 0; + edit_cur_level = edit_levels[edit_cur_level_id]; + *full_update = 1; + break; + case BUTTON_PREV: + edit_cur_level_id--; + if ( edit_cur_level_id == -1 ) edit_cur_level_id = edit_level_count - 1; + edit_cur_level = edit_levels[edit_cur_level_id]; + *full_update = 1; + break; + case BUTTON_SWAP: + if ( first_swap_level == -1 ) { + first_swap_level = edit_cur_level_id; + *full_update = 1; + } + else { + /* swap current and marked level */ + dummy_ptr = edit_levels[first_swap_level]; + edit_levels[first_swap_level] = edit_levels[edit_cur_level_id]; + edit_levels[edit_cur_level_id] = dummy_ptr; + edit_cur_level = edit_levels[edit_cur_level_id]; + first_swap_level = -1; + *full_update = 1; + } + break; + case BUTTON_LOAD: + 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(); + if ( old_pos >= edit_level_count ) edit_cur_level_id = 0; + edit_cur_level = edit_levels[edit_cur_level_id]; + first_swap_level = -1; + *full_update = 1; + break; + case BUTTON_SAVE: + 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; + author = strdup( edit_cur_level->author ); + name = strdup( edit_cur_level->name ); + level_delete( edit_levels[edit_cur_level_id] ); + edit_levels[edit_cur_level_id] = level_create_empty( author, name ); + edit_cur_level = edit_levels[edit_cur_level_id]; + free( name ); free( author ); + *full_update = 1; + break; + case BUTTON_ADD: + if ( edit_level_count == MAX_LEVELS ) 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; + for ( i = edit_level_count; i > edit_cur_level_id; i-- ) + edit_levels[i] = edit_levels[i - 1]; + edit_level_count++; + edit_levels[edit_cur_level_id] = level_create_empty( edit_cur_level->author, edit_cur_level->name ); + edit_cur_level = edit_levels[edit_cur_level_id]; + *full_update = 1; + 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; + 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]; + edit_levels[i] = 0; + edit_level_count--; + if ( edit_cur_level_id >= edit_level_count ) + edit_cur_level_id = edit_level_count - 1; + edit_cur_level = edit_levels[edit_cur_level_id]; + *full_update = 1; + break; + case BUTTON_PLAY: + stk_display_fade( STK_FADE_OUT, STK_FADE_DEFAULT_TIME ); + /* translate */ + editor_translate_level( edit_cur_level, INDICES_2_CHAR ); + /* run */ + client_game_test_level( edit_cur_level ); + /* translate back */ + editor_translate_level( edit_cur_level, CHAR_2_INDICES ); + *full_update = 1; + break; + case BUTTON_VERSION: + 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; + } + break; + } +} +/* +==================================================================== +Handle a click on a map tile. +If set is False a remove action was requested (only for +editing) +==================================================================== +*/ +int near_grow_brick( int x, int y ) { + int i, j; + for ( i = x - 1; i <= x + 1; i++ ) + for ( j = y - 1; j <= y + 1; j++ ) + if ( i != x || j != y ) + if ( i >= 0 && j >= 0 && i < EDIT_WIDTH && j < EDIT_HEIGHT ) + if ( edit_cur_level->bricks[i][j] == GROW_BRICK_ID ) + return 1; + return 0; +} +void editor_handle_click( int x, int y, int set, int *full_update ) +{ + int sel = 0; + int edit_x, edit_y; + char str[32]; + /* if !set and within the tile field we perform a switch */ + if ( !set ) { + if ( x >= edit_tile_x && y >= edit_tile_y && x < edit_tile_x + edit_tile_w && y < edit_tile_y + edit_tile_h ) { + editor_switch_tiles(); + *full_update = 1; + return; + } + } + /* the remaining stuff requires a tile at the position */ + if ( edit_buttons[x][y] == BUTTON_NONE ) return; /* no action */ + /* bricks */ + if ( edit_buttons[x][y] >= BUTTON_FIRST_BRICK && edit_buttons[x][y] <= BUTTON_LAST_BRICK ) { + sel = 1; + edit_sel_type = EDITOR_BRICK; + edit_sel_id = edit_buttons[x][y] - BUTTON_FIRST_BRICK; + } + /* extras */ + if ( edit_buttons[x][y] >= BUTTON_FIRST_EXTRA && edit_buttons[x][y] <= BUTTON_LAST_EXTRA ) { + sel = 1; + edit_sel_type = EDITOR_EXTRA; + edit_sel_id = edit_buttons[x][y] - BUTTON_FIRST_EXTRA; + } + /* edit field */ + if ( edit_buttons[x][y] == BUTTON_EDIT ) { + edit_x = x - 1; + edit_y = y - 1; + if ( edit_sel_type == EDITOR_BRICK ) { + if ( set ) { + /* set brick */ + edit_cur_level->bricks[edit_x][edit_y] = edit_sel_id; + *full_update = 1; + } + else { + /* remove brick and extra if any */ + if ( edit_cur_level->bricks[edit_x][edit_y] != -1 ) { + edit_cur_level->bricks[edit_x][edit_y] = -1; + edit_cur_level->extras[edit_x][edit_y] = EX_NONE; + *full_update = 1; + } + } + } + else { + if ( set ) { + /* set extra - must be on a brick or beside a grow brick */ + if ( edit_cur_level->bricks[edit_x][edit_y] != -1 || near_grow_brick( edit_x, edit_y ) ) { + edit_cur_level->extras[edit_x][edit_y] = edit_sel_id; + *full_update = 1; + } + } + else { + /* remove extra */ + if ( edit_cur_level->extras[edit_x][edit_y] != EX_NONE ) { + edit_cur_level->extras[edit_x][edit_y] = EX_NONE; + *full_update = 1; + } + } + } + } + /* buttons */ + editor_handle_button( edit_buttons[x][y], full_update ); + /* name&author */ + strcpy( str, "" ); + if ( edit_buttons[x][y] == BUTTON_EDIT_AUTHOR ) + 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 ) ) { + snprintf( edit_cur_level->name, 31, "%s", str ); + *full_update = 1; + } + /* sel frame tile position */ + if ( sel ) { + edit_sel_x = x; + edit_sel_y = y; + *full_update = 1; + } +} + +/* +==================================================================== +Publics +==================================================================== +*/ +/* +==================================================================== +Create/delete editor resources +==================================================================== +*/ +void editor_create() +{ + int i, j; + /* clear all level pointers */ + memset( edit_levels, 0, sizeof( Level* ) * MAX_LEVELS ); + /* load sel frame */ + sel_frame = stk_surface_load( SDL_SWSURFACE, "sel_frame.png" ); + /* load buttons */ + buttons = stk_surface_load( SDL_SWSURFACE, "buttons.png" ); + /* background is black + frame */ + editor_bkgnd = stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + SDL_SetColorKey( editor_bkgnd, 0, 0 ); + stk_surface_fill( editor_bkgnd, 0,0,-1,-1, 0x0 ); + /* add helping grid */ + editor_draw_grid(); + /* set actions */ + /* editable part */ + for ( i = 0; i < EDIT_WIDTH; i++ ) + for ( j = 0; j < EDIT_HEIGHT; j++ ) + edit_buttons[i + 1][j + 1] = BUTTON_EDIT; + /* buttons */ + for ( i = 0; i < 11; i++ ) + edit_buttons[0][MAP_HEIGHT - 11 + i] = BUTTON_FIRST + i; + edit_buttons[MAP_WIDTH - 1][MAP_HEIGHT - 1] = BUTTON_PLAY; + /* name&author */ + for ( i = 1; i < MAP_WIDTH / 2; i++ ) + edit_buttons[i][MAP_HEIGHT - 5] = BUTTON_EDIT_NAME; + for ( i = MAP_WIDTH / 2; i < MAP_WIDTH - 1; i++ ) + edit_buttons[i][MAP_HEIGHT - 5] = BUTTON_EDIT_AUTHOR; + /* draw buttons */ + for ( i = 0; i < 11; i++ ) { + stk_surface_blit( buttons, i * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + editor_bkgnd, 0, ( MAP_HEIGHT - 11 + i ) * BRICK_HEIGHT ); + } + stk_surface_blit( buttons, 11 * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + editor_bkgnd, + ( MAP_WIDTH - 1 ) * BRICK_WIDTH, + ( MAP_HEIGHT - 1 ) * BRICK_HEIGHT ); +} +void editor_delete() +{ + stk_surface_free( &editor_bkgnd ); + stk_surface_free( &sel_frame ); + stk_surface_free( &buttons ); +} +/* +==================================================================== +Initiate and clear stuff for each editor call. +file_name is the name of the edited file in home directory. +==================================================================== +*/ +int editor_init( char *file_name ) +{ + FILE *file = 0; + /* set full file name */ + snprintf( edit_file_name, sizeof(edit_file_name)-1, "%s/%s/lbreakout2-levels/%s", (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME, file_name ); + /* test this file for write access. use append to keep contents */ + if ( ( file = fopen( edit_file_name, "a" ) ) == 0 ) { + fprintf( stderr, "Permission to write to file '%s' denied.\n", edit_file_name ); + return 0; + } + else + fclose( file ); + /* load levels */ + editor_load_levels(); + /* select first level */ + edit_cur_level_id = 0; + edit_cur_level = edit_levels[0]; + /* select first brick */ + edit_sel_type = EDITOR_EXTRA; + editor_switch_tiles(); + /* clear other flags */ + extra_vis = 0; + first_swap_level = -1; + return 1; +} +void editor_clear() +{ + /* free all levels */ + editor_clear_levels(); +} +/* +==================================================================== +Run the editor +==================================================================== +*/ +void editor_run() +{ + SDL_Event event; + int leave = 0; + int ms; + int last_switch_time = 0; + int full_update = 0, set; + int x, y, xoff,yoff; + Uint8 buttonstate; + + /* reset any alpha keys */ + SDL_SetAlpha( extra_pic, 0,0 ); + /* draw first time */ + editor_full_update(); + /* main loop */ + stk_timer_reset(); + while ( !leave && !stk_quit_request ) { + if ( SDL_PollEvent( &event ) ) { + switch ( event.type ) { + case SDL_QUIT: leave = 1; stk_quit_request = 1; break; + case SDL_MOUSEBUTTONDOWN: + editor_handle_click( event.button.x / BRICK_WIDTH, + event.button.y / BRICK_HEIGHT, + (event.button.button == STK_BUTTON_LEFT), + &full_update ); + break; + case SDL_KEYDOWN: + switch ( event.key.keysym.sym ) { + case SDLK_ESCAPE: + 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; + case SDLK_UP: editor_handle_button( BUTTON_FIRST, &full_update ); break; + case SDLK_f: + config.fullscreen = !config.fullscreen; + stk_display_apply_fullscreen( config.fullscreen ); + full_update = 1; + break; + default: break; + } + break; + default: break; + } + } + /* mouse motion is handled directly */ + buttonstate = SDL_GetRelativeMouseState( &xoff, &yoff ); + if ( (xoff || yoff) && buttonstate ) { + buttonstate = SDL_GetMouseState( &x, &y ); + set = 0; if ( buttonstate & SDL_BUTTON(1) ) set = 1; + editor_handle_click( x / BRICK_WIDTH, y / BRICK_HEIGHT, set, &full_update ); + } + ms = stk_timer_get_time(); + if ( ( last_switch_time -= ms ) <= 0 ) { + extra_vis = !extra_vis; + last_switch_time = 500; + editor_update_extra_bricks(); + } + /* full update? */ + if ( full_update ) { + editor_full_update(); + full_update = 0; + } + /* don't consume all CPU time */ + SDL_Delay( 5 ); + } +} diff --git a/project/jni/application/lbreakout2/client/editor.h b/project/jni/application/lbreakout2/client/editor.h new file mode 100644 index 000000000..b2c4283f0 --- /dev/null +++ b/project/jni/application/lbreakout2/client/editor.h @@ -0,0 +1,38 @@ +/*************************************************************************** + editor.h - description + ------------------- + begin : Fri Oct 12 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Create/delete editor resources +==================================================================== +*/ +void editor_create(); +void editor_delete(); +/* +==================================================================== +Initiate and clear stuff for each editor call. +file_name is the name of the edited file in home directory. +==================================================================== +*/ +int editor_init( char *file_name ); +void editor_clear(); +/* +==================================================================== +Run the editor +==================================================================== +*/ +void editor_run(); diff --git a/project/jni/application/lbreakout2/client/empty.hscr b/project/jni/application/lbreakout2/client/empty.hscr new file mode 100644 index 000000000..7bce630c2 --- /dev/null +++ b/project/jni/application/lbreakout2/client/empty.hscr @@ -0,0 +1,31 @@ +>>>LBreakout2 +............ +10 +300000 +............ +9 +200000 +............ +8 +150000 +............ +7 +100000 +............ +6 +70000 +............ +5 +50000 +............ +4 +40000 +............ +3 +30000 +............ +2 +20000 +............ +1 +10000 diff --git a/project/jni/application/lbreakout2/client/event.c b/project/jni/application/lbreakout2/client/event.c new file mode 100644 index 000000000..331b80391 --- /dev/null +++ b/project/jni/application/lbreakout2/client/event.c @@ -0,0 +1,60 @@ +/*************************************************************************** + event.c - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "event.h" + +extern int stk_quit_request; + +/* +==================================================================== +Event filter that blocks all events. Used to clear the SDL +event queue. +==================================================================== +*/ +static int all_filter( const SDL_Event *event ) { return 0; } + +/* +==================================================================== +Handle SDL_QUIT events directly and kill all motion events. +==================================================================== +*/ +int event_filter( const SDL_Event *event ) +{ + if ( event->type == SDL_QUIT ) { + stk_quit_request = 1; + return 0; + } + if ( event->type == SDL_MOUSEMOTION ) + return 0; + return 1; +} + +/* +==================================================================== +Clear the SDL event key (keydown events) +==================================================================== +*/ +void event_clear_sdl_queue() +{ + SDL_EventFilter old_filter; + SDL_Event event; + old_filter = SDL_GetEventFilter(); + SDL_SetEventFilter( all_filter ); + while ( SDL_PollEvent( &event ) ); + SDL_SetEventFilter( old_filter ); +} diff --git a/project/jni/application/lbreakout2/client/event.h b/project/jni/application/lbreakout2/client/event.h new file mode 100644 index 000000000..9248e8d76 --- /dev/null +++ b/project/jni/application/lbreakout2/client/event.h @@ -0,0 +1,56 @@ +/*************************************************************************** + event.h - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Event filter used to get motion x. +==================================================================== +*/ +int event_filter( const SDL_Event *event ); +/* +==================================================================== +Reset event states +==================================================================== +*/ +void event_reset(); +/* +==================================================================== +Grab or release input. Hide cursor if events are kept in window. +Use relative mouse motion and grab if config tells so. +==================================================================== +*/ +void event_grab_input(); +void event_ungrab_input(); +/* +==================================================================== +Poll next event and set key and mousestate. +Return Value: True if event occured +==================================================================== +*/ +int event_poll( SDL_Event *event ); +/* +==================================================================== +Block/unblock motion event +==================================================================== +*/ +void event_block_motion( int block ); +/* +==================================================================== +Clear the SDL event key (keydown events) +==================================================================== +*/ +void event_clear_sdl_queue(); diff --git a/project/jni/application/lbreakout2/client/extras.c b/project/jni/application/lbreakout2/client/extras.c new file mode 100644 index 000000000..209d60f0b --- /dev/null +++ b/project/jni/application/lbreakout2/client/extras.c @@ -0,0 +1,635 @@ +/*************************************************************************** + extras.c - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "../game/game.h" +#include "bricks.h" +#include "shrapnells.h" +#include "player.h" +#include "paddle.h" +#include "frame.h" + +extern Player *cur_player; +extern SDL_Surface *stk_display; +extern SDL_Rect stk_drect; +extern SDL_Surface *offscreen; +extern SDL_Surface *bkgnd; /* background + frame */ +extern SDL_Surface *offscreen_backup; +extern int ball_w, ball_dia; +extern SDL_Surface *brick_pic; +extern Brick bricks[MAP_WIDTH][MAP_HEIGHT]; +extern SDL_Surface *extra_pic; /* graphics */ +extern SDL_Surface *extra_shadow; +extern SDL_Surface *paddle_pic, *weapon_pic; +extern SDL_Surface *ball_pic; +extern SDL_Surface *shot_pic; +extern StkFont *display_font; +extern SDL_Surface *wall_pic; +extern int shadow_size; +#ifdef AUDIO_ENABLED +extern StkSound *wav_score, *wav_metal, *wav_std, *wav_wall, *wav_joker; +extern StkSound *wav_goldshower, *wav_life_up; +extern StkSound *wav_speedup, *wav_speeddown; +extern StkSound *wav_chaos, *wav_darkness, *wav_ghost; +extern StkSound *wav_timeadd, *wav_expl_ball, *wav_weak_ball; +extern StkSound *wav_bonus_magnet, *wav_malus_magnet, *wav_disable; +extern StkSound *wav_attach; /* handled by balls.c */ +extern StkSound *wav_expand, *wav_shrink, *wav_frozen; +#endif +extern Game *game; /* client game context */ +extern int paddle_ch; +extern int ball_pic_x_offset; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Public +==================================================================== +*/ + +/* Play sounds and handle graphical effects. */ +void client_handle_collected_extra( Paddle *paddle, int extra_type ) +{ + int i, j; +#ifdef AUDIO_ENABLED + int px = paddle->x+(paddle->w>>1); +#endif + Extra *ex; + + switch (extra_type) { + case EX_JOKER: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_joker ); +#endif + list_reset( game->extras ); + while ( ( ex = list_next( game->extras ) ) ) { + stk_display_store_rect( &ex->update_rect ); + list_delete_current( game->extras ); + } + break; + case EX_SCORE200: + case EX_SCORE500: + case EX_SCORE1000: + case EX_SCORE2000: + case EX_SCORE5000: + case EX_SCORE10000: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_score ); +#endif + break; + case EX_GOLDSHOWER: + paddle->extra_time[EX_GOLDSHOWER] += TIME_GOLDSHOWER; + paddle->extra_active[EX_GOLDSHOWER] = 1; +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_goldshower ); +#endif + break; + case EX_LIFE: + if ( game->game_type == GT_LOCAL ) { + if ( paddle->player->lives < game->diff->max_lives ) { + paddle->player->lives++; + frame_add_life(); + } + } + break; + case EX_SHORTEN: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_shrink ); +#endif + paddle_init_resize( paddle, -1); + break; + case EX_LENGTHEN: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_expand ); +#endif + paddle_init_resize( paddle, 1); + break; + case EX_BALL: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_std ); +#endif + break; + case EX_WALL: + paddle->extra_time[EX_WALL] += TIME_WALL; + if ( paddle->extra_active[EX_WALL] ) { +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_std ); +#endif + break; + } + paddle->extra_active[extra_type] = 1; + paddle->wall_alpha = 0; +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_wall ); +#endif + break; + case EX_METAL: + game->extra_time[EX_METAL] += TIME_METAL; + game->extra_active[extra_type] = 1; + ball_pic_x_offset = ball_w; +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_metal ); +#endif + /* other ball extras are disabled */ + if ( game->extra_active[EX_EXPL_BALL] ) { + game->extra_active[EX_EXPL_BALL] = 0; + game->extra_time[EX_EXPL_BALL] = 0; + } + if ( game->extra_active[EX_WEAK_BALL] ) { + game->extra_active[EX_WEAK_BALL] = 0; + game->extra_time[EX_WEAK_BALL] = 0; + } + break; + case EX_FROZEN: + paddle->extra_time[EX_FROZEN] = TIME_FROZEN; + paddle->extra_active[extra_type] = 1; + paddle->pic_y_offset = paddle_ch*2; + paddle->frozen = 1; /* the server sided paddle is blocked + so does the same with the local copy */ +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_frozen ); +#endif + break; + case EX_WEAPON: + paddle->extra_time[EX_WEAPON] += TIME_WEAPON; + paddle->extra_active[extra_type] = 1; + weapon_install( paddle, 1 ); +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_std ); +#endif + break; + case EX_SLIME: + paddle->extra_time[EX_SLIME] += TIME_SLIME; + paddle->extra_active[extra_type] = 1; + if ( !paddle->frozen ) + paddle->pic_y_offset = paddle_ch; +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_attach ); +#endif + break; + case EX_FAST: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_speedup ); +#endif + if ( game->extra_active[EX_SLOW] ) { + game->extra_time[EX_SLOW] = 0; + game->extra_active[EX_SLOW] = 0; + } + game->extra_time[EX_FAST] += TIME_FAST; + game->extra_active[extra_type] = 1; + break; + case EX_SLOW: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_speeddown ); +#endif + if ( game->extra_active[EX_FAST] ) { + game->extra_time[EX_FAST] = 0; + game->extra_active[EX_FAST] = 0; + } + game->extra_time[EX_SLOW] += TIME_SLOW; + game->extra_active[extra_type] = 1; + break; + case EX_CHAOS: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_chaos ); +#endif + game->extra_time[EX_CHAOS] += TIME_CHAOS; + game->extra_active[extra_type] = 1; + break; + case EX_DARKNESS: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_darkness ); +#endif + game->extra_time[EX_DARKNESS] += TIME_DARKNESS; + if ( game->extra_active[EX_DARKNESS] ) break; + /* backup offscreen and turn it black */ + stk_surface_fill( offscreen, 0,0,-1,-1, 0x0 ); + stk_surface_fill( stk_display, 0,0,-1,-1, 0x0 ); + stk_display_store_rect( 0 ); + /* set alpha keys to 128 */ + SDL_SetAlpha( paddle_pic, SDL_SRCALPHA, 128 ); + SDL_SetAlpha( weapon_pic, SDL_SRCALPHA, 128 ); + SDL_SetAlpha( extra_pic, SDL_SRCALPHA, 128 ); + SDL_SetAlpha( ball_pic, SDL_SRCALPHA, 128 ); + SDL_SetAlpha( shot_pic, SDL_SRCALPHA, 128 ); + SDL_SetAlpha( display_font->surface, SDL_SRCALPHA, 128 ); + /* use dark explosions */ + exps_set_dark( 1 ); + game->extra_active[extra_type] = 1; + break; + case EX_GHOST_PADDLE: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_ghost ); +#endif + paddle->extra_time[EX_GHOST_PADDLE] += TIME_GHOST_PADDLE; + paddle->extra_active[extra_type] = 1; + paddle_set_invis( paddle, 1 ); + break; + case EX_TIME_ADD: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_timeadd ); +#endif + for ( i = 0; i < EX_NUMBER; i++ ) + if ( game->extra_time[i] ) + game->extra_time[i] += 7000; + for ( i = 0; i < EX_NUMBER; i++ ) { + for ( j = 0; j < game->paddle_count; j++ ) + if ( game->paddles[j]->extra_time[i] ) + game->paddles[j]->extra_time[i] += 7000; + } + break; + case EX_EXPL_BALL: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_expl_ball ); +#endif + ball_pic_x_offset = ball_w*2; + game->extra_time[EX_EXPL_BALL] += TIME_EXPL_BALL; + game->extra_active[extra_type] = 1; + /* other ball extras are disabled */ + if ( game->extra_active[EX_METAL] ) { + game->extra_active[EX_METAL] = 0; + game->extra_time[EX_METAL] = 0; + } + if ( game->extra_active[EX_WEAK_BALL] ) { + game->extra_active[EX_WEAK_BALL] = 0; + game->extra_time[EX_WEAK_BALL] = 0; + } + break; + case EX_WEAK_BALL: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_weak_ball ); +#endif + ball_pic_x_offset = ball_w*3; + game->extra_time[EX_WEAK_BALL] += TIME_WEAK_BALL; + game->extra_active[extra_type] = 1; + /* other ball extras are disabled */ + if ( game->extra_active[EX_METAL] ) { + game->extra_active[EX_METAL] = 0; + game->extra_time[EX_METAL] = 0; + } + if ( game->extra_active[EX_EXPL_BALL] ) { + game->extra_active[EX_EXPL_BALL] = 0; + game->extra_time[EX_EXPL_BALL] = 0; + } + break; + case EX_BONUS_MAGNET: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_bonus_magnet ); +#endif + paddle_set_attract( paddle, ATTRACT_BONUS ); + paddle->extra_time[EX_BONUS_MAGNET] += TIME_BONUS_MAGNET; + paddle->extra_active[extra_type] = 1; + if ( paddle->extra_active[EX_MALUS_MAGNET] ) { + paddle->extra_active[EX_MALUS_MAGNET] = 0; + paddle->extra_time[EX_MALUS_MAGNET] = 0; + } + break; + case EX_MALUS_MAGNET: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_malus_magnet ); +#endif + paddle_set_attract( paddle, ATTRACT_MALUS ); + paddle->extra_time[EX_MALUS_MAGNET] += TIME_MALUS_MAGNET; + paddle->extra_active[extra_type] = 1; + if ( paddle->extra_active[EX_BONUS_MAGNET] ) { + paddle->extra_active[EX_BONUS_MAGNET] = 0; + paddle->extra_time[EX_BONUS_MAGNET] = 0; + } + break; + case EX_DISABLE: +#ifdef AUDIO_ENABLED + stk_sound_play_x( px, wav_disable ); +#endif + /* set all active extra times to 1 so they will expire next + prog cycle */ + for ( i = 0; i < EX_NUMBER; i++ ) + if ( game->extra_time[i] ) + game->extra_time[i] = 1; + for ( i = 0; i < EX_NUMBER; i++ ) { + for ( j = 0; j < game->paddle_count; j++ ) + if ( game->paddles[j]->extra_time[i] ) + game->paddles[j]->extra_time[i] = 1; + } + break; + } +} +/* +==================================================================== +Show, hide extras +==================================================================== +*/ +void extras_hide() +{ + ListEntry *entry = game->extras->head->next; + Extra *ex; + while ( entry != game->extras->tail ) { + ex = entry->item; + entry = entry->next; + stk_surface_blit( offscreen, + (int)ex->x, (int)ex->y, + BRICK_WIDTH + shadow_size, BRICK_HEIGHT + shadow_size, + stk_display, (int)ex->x, (int)ex->y ); + ex->update_rect = stk_drect; + stk_display_store_rect( &ex->update_rect ); + } +} +void extras_show_shadow() +{ + ListEntry *entry = game->extras->head->next; + Extra *extra; + while ( entry != game->extras->tail ) { + extra = entry->item; + stk_surface_clip( stk_display, 0,0, + stk_display->w - BRICK_WIDTH, stk_display->h ); + stk_surface_alpha_blit( + extra_shadow, extra->type * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, (int)extra->x + shadow_size, (int)extra->y + shadow_size, + ((int)extra->alpha)>>1 ); + stk_surface_clip( stk_display, 0,0,-1,-1 ); + entry = entry->next; + } +} +void extras_show() +{ + ListEntry *entry = game->extras->head->next; + Extra *ex; + int x, y; + while ( entry != game->extras->tail ) { + ex = entry->item; + entry = entry->next; + x = (int)ex->x; y = (int)ex->y; + stk_surface_alpha_blit( extra_pic, ex->offset, 0, + BRICK_WIDTH, BRICK_HEIGHT, stk_display, x, y, ex->alpha ); +#if 0 + if ( x < ex->update_rect.x ) { + /* movement to left */ + ex->update_rect.w += ex->update_rect.x - x; + ex->update_rect.x = x; + } + else + /* movement to right */ + ex->update_rect.w += x - ex->update_rect.x; + if ( ex->dir == -1 ) { + /* movement up */ + ex->update_rect.h += ex->update_rect.y - y; + ex->update_rect.y = y; + if ( ex->update_rect.y < 0 ) { + ex->update_rect.h += ex->update_rect.y; + ex->update_rect.y = 0; + } + } + else { + /* movement down */ + ex->update_rect.h += y - ex->update_rect.y; + if ( ex->update_rect.y + ex->update_rect.h >= stk_display->h ) + ex->update_rect.h = stk_display->h - ex->update_rect.y; + } + stk_display_store_rect( &ex->update_rect ); +#endif + ex->update_rect.x = x; + ex->update_rect.y = y; + ex->update_rect.w = BRICK_WIDTH + shadow_size; + ex->update_rect.h = BRICK_HEIGHT + shadow_size; + stk_display_store_rect( &ex->update_rect ); + } +} +void extras_alphashow( int alpha ) +{ + ListEntry *entry = game->extras->head->next; + Extra *ex; + int x, y; + while ( entry != game->extras->tail ) { + ex = entry->item; + x = (int)ex->x; + y = (int)ex->y; + stk_surface_alpha_blit( extra_pic, ex->type * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, stk_display, x, y, alpha ); + stk_display_store_rect( &ex->update_rect ); + entry = entry->next; + } +} + +/* move the extras as in extras_update but do not collect them */ +void client_extras_update( int ms ) +{ + Extra *ex; + int i, j; + int magnets; + Paddle *magnet; + + /* check extra_time of limited extras */ + /* general extras */ + for ( i = 0; i < EX_NUMBER; i++ ) + if ( game->extra_time[i] ) { + if ( (game->extra_time[i] -= ms) <= 0 ) { + game->extra_time[i] = 0; + /* expired */ + switch ( i ) { + case EX_EXPL_BALL: + case EX_WEAK_BALL: + case EX_METAL: + ball_pic_x_offset = 0; + break; + case EX_DARKNESS: + /* restore offscreen */ + stk_surface_blit( bkgnd, 0,0,-1,-1, offscreen, 0,0 ); + bricks_draw(); + if ( game->game_type == GT_LOCAL ) + frame_draw_lives( cur_player->lives, + game->diff->max_lives ); + /* back to screen */ + stk_surface_blit( + offscreen, 0,0,-1,-1, + stk_display, 0,0 ); + stk_display_store_rect( 0 ); + /* set alpha keys to OPAQUE */ + SDL_SetAlpha( paddle_pic, 0,0 ); + SDL_SetAlpha( extra_pic, 0,0 ); + SDL_SetAlpha( ball_pic, 0,0 ); + SDL_SetAlpha( shot_pic, 0,0 ); + SDL_SetAlpha( display_font->surface, 0,0 ); + /* use bright explosions */ + exps_set_dark( 0 ); + break; + } + /* set deactivated */ + game->extra_active[i] = 0; + } + } + /* paddlized extras */ + for ( j = 0; j < game->paddle_count; j++ ) + for ( i = 0; i < EX_NUMBER; i++ ) + /* extra_time of wall is updated in client_walls_update() */ + if ( game->paddles[j]->extra_time[i] && i != EX_WALL ) + if ( (game->paddles[j]->extra_time[i] -= ms) <= 0 ) { + game->paddles[j]->extra_time[i] = 0; + /* expired */ + switch ( i ) { + case EX_FROZEN: + case EX_SLIME: + if ( game->paddles[j]->extra_time[EX_SLIME] > 0 ) + game->paddles[j]->pic_y_offset = paddle_ch; + else + game->paddles[j]->pic_y_offset = 0; + game->paddles[j]->frozen = 0; + break; + case EX_WEAPON: + weapon_install( game->paddles[j], 0 ); + break; + case EX_GHOST_PADDLE: + paddle_set_invis( game->paddles[j], 0 ); + break; + case EX_BONUS_MAGNET: + case EX_MALUS_MAGNET: + paddle_set_attract( game->paddles[j], ATTRACT_NONE ); + break; + } + /* set deactivated */ + game->paddles[j]->extra_active[i] = 0; /* wall is handled in wall_...() */ + } + + /* move extras and check if paddle was hit */ + list_reset( game->extras ); + while ( ( ex = list_next( game->extras ) ) ) { + /* if only one paddle has a magnet active all extras will + * be attracted by this paddle else the extras 'dir' is used + */ + magnets = 0; magnet = 0; + for ( i = 0; i < game->paddle_count; i++ ) + if ( paddle_check_attract( game->paddles[i], ex->type ) ) { + magnets++; + magnet = game->paddles[i]; /* last magnet */ + } + if ( magnets != 1 ) { + /* either no or more than one magnet so use default */ + if ( ex->dir > 0 ) + ex->y += 0.05 * ms; + else + ex->y -= 0.05 * ms; + } + else { + /* 'magnet' is the paddle that will attract this extra */ + if ( magnet->type == PADDLE_TOP ) + ex->y -= 0.05 * ms; + else + ex->y += 0.05 * ms; + if ( ex->x + ( BRICK_WIDTH >> 1 ) < magnet->x + ( magnet->w >> 1 ) ) { + ex->x += 0.05 * ms; + if ( ex->x + ( BRICK_WIDTH >> 1 ) > magnet->x + ( magnet->w >> 1 ) ) + ex->x = magnet->x + ( magnet->w >> 1 ) - ( BRICK_WIDTH >> 1 ); + } + else { + ex->x -= 0.05 * ms; + if ( ex->x + ( BRICK_WIDTH >> 1 ) < magnet->x + ( magnet->w >> 1 ) ) + ex->x = magnet->x + ( magnet->w >> 1 ) - ( BRICK_WIDTH >> 1 ); + } + } + if ( !game->extra_active[EX_DARKNESS] ) { + if ( ex->alpha < 255 ) { + ex->alpha += 0.25 * ms; + if (ex->alpha > 255) + ex->alpha = 255; + } + } + else { + if ( ex->alpha < 128 ) { + ex->alpha += 0.25 * ms; + if (ex->alpha > 128) + ex->alpha = 128; + } + } + /* if out of screen forget this extra */ + if ( ex->y >= stk_display->h || ex->y + BRICK_HEIGHT < 0 ) { + stk_display_store_rect( &ex->update_rect ); + list_delete_current( game->extras ); + continue; + } + for ( j = 0; j < game->paddle_count; j++ ) { + /* contact with paddle core ? */ + if ( paddle_solid( game->paddles[j] ) ) + if ( ex->x + BRICK_WIDTH > game->paddles[j]->x ) + if ( ex->x < game->paddles[j]->x + game->paddles[j]->w - 1 ) + if ( ex->y + BRICK_HEIGHT > game->paddles[j]->y ) + if ( ex->y < game->paddles[j]->y + game->paddles[j]->h ) { + /* remove extra but don't handle it */ + stk_display_store_rect( &ex->update_rect ); + list_delete_current( game->extras ); + } + } + } +} + +/* wall */ +void walls_hide() +{ + int j; + for ( j = 0; j < game->paddle_count; j++ ) + if ( game->paddles[j]->extra_active[EX_WALL] ) { + stk_surface_blit( offscreen, BRICK_WIDTH, game->paddles[j]->wall_y, + wall_pic->w, wall_pic->h, + stk_display, BRICK_WIDTH, game->paddles[j]->wall_y ); + stk_display_store_drect(); + } +} +void walls_show() +{ + int j; + for ( j = 0; j < game->paddle_count; j++ ) + if ( game->paddles[j]->extra_active[EX_WALL] ) + stk_surface_alpha_blit( wall_pic, 0,0, + wall_pic->w, wall_pic->h, + stk_display, BRICK_WIDTH, game->paddles[j]->wall_y, + (int)game->paddles[j]->wall_alpha ); +} +void walls_alphashow( int alpha ) +{ + int j; + for ( j = 0; j < game->paddle_count; j++ ) + if ( game->paddles[j]->extra_active[EX_WALL] ) + stk_surface_alpha_blit( wall_pic, 0,0, + wall_pic->w, wall_pic->h, + stk_display, BRICK_WIDTH, game->paddles[j]->wall_y, + alpha ); +} +void client_walls_update( int ms ) +{ + int j; + + for ( j = 0; j < game->paddle_count; j++ ) + if ( game->paddles[j]->extra_active[EX_WALL] ) { + if ( game->paddles[j]->extra_time[EX_WALL] > 0 ) { + if ( (game->paddles[j]->extra_time[EX_WALL] -= ms) < 0 ) + game->paddles[j]->extra_time[EX_WALL] = 0; + /* still appearing? */ + if (game->paddles[j]->wall_alpha < 255) + if ( (game->paddles[j]->wall_alpha += 0.25 * ms) > 255 ) + game->paddles[j]->wall_alpha = 255; + } + else + if ( (game->paddles[j]->wall_alpha -= 0.25 * ms) < 0 ) { + game->paddles[j]->wall_alpha = 0; + game->paddles[j]->extra_active[EX_WALL] = 0; + } + } +} + diff --git a/project/jni/application/lbreakout2/client/extras.h b/project/jni/application/lbreakout2/client/extras.h new file mode 100644 index 000000000..c1d21d336 --- /dev/null +++ b/project/jni/application/lbreakout2/client/extras.h @@ -0,0 +1,42 @@ +/*************************************************************************** + extras.h - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* Play sounds and handle graphical effects. */ +void client_handle_collected_extra( Paddle *paddle, int extra_type ); + +/* move the extras as in extras_update but do not collect them */ +void client_extras_update( int ms ); + +/* +==================================================================== +Show, hide extras +==================================================================== +*/ +void extras_hide(); +void extras_show_shadow(); +void extras_show(); +void extras_alphashow( int alpha ); +/* +==================================================================== +Wall +==================================================================== +*/ +void walls_hide(); +void walls_show(); +void walls_alphashow( int alpha ); +void client_walls_update( int ms ); + diff --git a/project/jni/application/lbreakout2/client/file.c b/project/jni/application/lbreakout2/client/file.c new file mode 100644 index 000000000..29fabe951 --- /dev/null +++ b/project/jni/application/lbreakout2/client/file.c @@ -0,0 +1,530 @@ + +/*************************************************************************** + file.c - description + ------------------- + begin : Thu Jan 18 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include +#include +#include + +#include "../common/list.h" +#include "../common/tools.h" +#include "file.h" + +//#define FILE_DEBUG + +/* +==================================================================== +Test file in path as mode. +Return Value: True if sucessful +==================================================================== +*/ +int file_check( char *path, char *fname, char *mode ) +{ + char *full_path; + FILE *file = 0; + int ok = 0; + + full_path = calloc( strlen( path ) + strlen( fname ) + 2, sizeof( char ) ); + sprintf( full_path, "%s/%s", path, fname ); + + if ( ( file = fopen( full_path, mode ) ) != 0 ) { + fclose( file ); + ok = 1; + } + free( full_path ); + return ok; +} +/* +==================================================================== +Open file in path according to type (write, read, append) +Return Value: File handle if successful else Null +==================================================================== +*/ +FILE *file_open( char *path, char *fname, int type ) +{ + FILE *file = 0; + char *full_path; + char mode[3] = "a"; + + full_path = calloc( strlen( path ) + strlen( fname ) + 2, sizeof( char ) ); + sprintf( full_path, "%s/%s", path, fname ); + + switch ( type ) { + case FILE_READ: + if ( ( file = fopen( full_path, "rb" ) ) == 0 ) + fprintf( stderr, "file_open: cannot open file '%s' for reading: permission denied or non-existent\n", full_path ); + break; + case FILE_WRITE: + sprintf( mode, "w" ); + case FILE_APPEND: + if ( ( file = fopen( full_path, mode ) ) == 0 ) + fprintf( stderr, "file_open: cannot open file '%s': permission denied\n", full_path ); + break; + } + return file; +} + +/* +==================================================================== +Read all lines from file pointer and return as static array. +Resets the file pointer. Should only be used when reading a whole +file. +==================================================================== +*/ +char** file_read_lines( FILE *file, int *count ) +{ + int nl_count = 0; + char c; + char **lines; + char buffer[1024]; + + if ( !file ) return 0; + + /* count new_lines */ + fseek( file, 0, SEEK_SET ); + while ( !feof( file ) ) { + fread( &c, sizeof( char ), 1, file ); + if ( c == 10 ) nl_count++; + } + fseek( file, 0, SEEK_SET ); + nl_count++; /* maybe last lines wasn't terminated */ + + /* get mem */ + lines = calloc( nl_count, sizeof( char* ) ); + + /* read lines */ + *count = 0; + while( !feof( file ) ) { + if ( !fgets( buffer, 1023, file ) ) break; + if ( buffer[0] == 10 ) continue; /* empty line */ + buffer[strlen( buffer ) - 1] = 0; /* cancel newline */ + lines[*count] = strdup( buffer ); + (*count)++; + } + + return lines; +} + +/* check consistence of file (all brackets/comments closed). +will reset the file pos to the very beginning */ +int check_file_cons( FILE *file ) +{ + int brac = 0, comm = 0; + char c; + int ok = 1; + + fseek( file, 0, SEEK_SET ); + + while ( !feof( file ) ) { + + fread( &c, 1, 1, file ); + switch ( c ) { + + case '(': brac++; break; + case ')': brac--; break; + case '#': comm++; break; + + } + + } + + fseek( file, 0, SEEK_SET ); + + if ( brac != 0 || ( comm % 2) != 0 ) { + +#ifdef FILE_DEBUG + if ( brac != 0 ) + printf("the number of opening and closing brackets does not fit!...\n"); + else + printf("the number of opening and closing comment hashes does not fit!...\n"); +#endif + ok = 0; + + } + + return ok; +} + +/* return line number; keeps current file pos */ +int get_line_number( FILE *file ) { + int count = 0; + char c; + int pos = ftell( file ); + + fseek( file, 0, SEEK_SET ); + while ( ftell( file ) < pos - 1 ) { + fread( &c, sizeof( char ), 1, file ); + if ( c == 10 ) count++; + } + fseek( file, pos, SEEK_SET ); + return count + 1; +} + +/* ignore all blanks and jump to next none-blank */ +void ignore_blanks( FILE *file ) +{ + char c; + do { + fread( &c, sizeof( char ), 1, file ); + } while ( c <= 32 && !feof( file ) ); + if ( !feof( file ) ) + fseek( file, -1, SEEK_CUR ); /* restore last none-blank */ +} + +/* add character to token and check max length; return true if below max length */ +int add_char( char *token, int c ) +{ + int length = strlen( token ); + /* check token length */ + if ( length == MAX_TOKEN_LENGTH - 1 ) { + fprintf( stderr, + "read_token: token '%s' reached maximum length of %i, reading skipped\n", + token, length ); + return 0; + } + token[length++] = c; + token[length] = 0; + return 1; +} +/* read token from current file position; ignore spaces; +tokes are: + ( + ) + = + # comment # + " string " + normal_token +save token in token and check that MAX_TOKEN_LENGTH is not exceeded +return true if not end of file */ +int read_token( FILE *file, char *token ) +{ + int length = 0; /* token length */ + char c; + int read_str = 0; /* if this is set token is a string "..." */ + int i; + + /* clear token */ + token[0] = 0; + + /* ignore all blanks before token */ + ignore_blanks( file ); + + while( !feof( file ) ) { + fread( &c, sizeof( char ), 1, file ); + /* treat new_lines as blanks */ + if ( c == 10 ) c = 32; + /* check if this is a comment; if so ignore all characters in between */ + if ( c == '#' && !read_str ) { + /* read all characters until '#' occurs */ + do { + fread( &c, sizeof( char ), 1, file ); + } while ( c != '#' ); + /* ignore all blanks after comment */ + ignore_blanks( file ); + continue; /* start reading again */ + } + /* add char */ + if ( !add_char( token, c ) ) { + /* in this case restore last char as it belongs to next token */ + fseek( file, -1, SEEK_CUR ); + break; + } + else + length++; + /* check if token ends with a special single-character assignment token */ + if ( !read_str ) + if ( c == '(' || c == ')' || c == '=' ) { + /* if this wasn't the first character it already belongs to a new token, so skip it */ + if ( length > 1 ) { + fseek( file, -1, SEEK_CUR ); + token[--length] = 0; + } + break; + } + /* check if this char is a blank */ + if ( c <= 32 && !read_str ) { + /* remvoe this blank from token */ + token[--length] = 0; + break; + } + /* check if this is a long string embraced by "..." */ + if ( c == '"' ) { + if ( length > 1 ) { + if ( read_str ) + /* termination of string; stop reading */ + break; + else { + /* token read and this " belongs to next token */ + /* in this case restore last char */ + fseek( file, -1, SEEK_CUR ); + token[--length] = 0; + break; + } + } + else + read_str = 1; + } + } + if ( read_str ) { + /* delete brackets from token */ + for ( i = 1; i < strlen( token ); i++ ) + token[i - 1] = token[i]; + token[strlen( token ) - 2] = 0; + } + if ( feof( file ) ) return 0; + return 1; +} + +/* find a string in the file and set file stream to this position */ +int find_token( FILE *file, char *name, int type, int warning ) +{ + char token[MAX_TOKEN_LENGTH]; + + if ( type == RESET_FILE_POS ) + fseek( file, 0, SEEK_SET ); + while( read_token( file, token ) ) + if ( strequal( name, token ) ) { + /* adjust position this token must be read */ + fseek( file, -strlen( token ) -1, SEEK_CUR ); + return 1; + } + if ( warning == WARNING ) + fprintf( stderr, "find_token: warning: token '%s' not found\n", name ); + return 0; +} + +/* read argument string of a single assignment */ +char* get_arg( FILE *file, char *name, int type ) +{ + char token[MAX_TOKEN_LENGTH]; + char *arg = 0; + + /* search entry_name */ + if ( !find_token( file, name, type, WARNING ) ) return 0; + + /* token was found so read it */ + read_token( file, token ); + /* next token must be an equation */ + read_token( file, token ); + if ( token[0] != '=' ) { + fprintf( stderr, + "get_arg: line %i: '=' expected after token '%s' but found '%s' instead\n", get_line_number( file ), name, token ); + return 0; + } + /* get argument */ + read_token( file, token ); + if ( token[0] == 0 ) + fprintf( stderr, "get_arg: line %i: warning: argument for '%s' is empty\n", get_line_number( file ), name ); + arg = strdup( token ); +#ifdef FILE_DEBUG + printf( "get_arg: %s = %s\n", name, arg ); +#endif + return arg; +} + +/* read a cluster of arguments and return as static list */ +char** get_arg_cluster( FILE *file, char *name, int *count, int type, int warning ) +{ + List *args; + char token[MAX_TOKEN_LENGTH]; + char **arg_list = 0; + int i; + + *count = 0; + + /* search entry_name */ + if ( !find_token( file, name, type, warning ) ) return 0; + + /* init list */ + args = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + + /* read entry_name */ + read_token( file, token ); + /* next token must be an '(' */ + read_token( file, token ); + if ( token[0] != '(' ) { + fprintf( stderr, "get_arg_cluster: line %i: '(' expected after token '%s' but found '%s' instead\n", get_line_number( file ), name, token ); + return 0; + } + + /* read tokens and add to dynamic list until ')' occurs; if an '=' or '(' is read instead something + gone wrong */ + while ( 1 ) { + read_token( file, token ); + if ( token[0] == ')' ) break; + if ( token[0] == '(' || token[0] == '=' ) { + fprintf( stderr, "get_arg_cluster: line %i: ')' expected to terminate argument list of entry '%s' but found '%c' instead\n", get_line_number( file ), name, token[0] ); + list_clear( args ); + return 0; + } + /* everything's ok; add to list */ + list_add( args, strdup( token ) ); + } + + /* static argument list */ + arg_list = calloc( args->count, sizeof( char* ) ); + for ( i = 0; i < args->count; i++ ) + arg_list[i] = strdup( (char*)list_get( args, i ) ); + *count = args->count; + + list_delete( args ); + + return arg_list; +} + +/* free arg cluster */ +void delete_arg_cluster( char **cluster, int count ) +{ + int i; + if ( cluster ) { + for ( i = 0; i < count; i++ ) + if ( cluster[i] ) + FREE( cluster[i] ); + FREE( cluster ); + } +} + +/* count number of entries */ +int count_arg( FILE *file, char *name ) +{ + char token[MAX_TOKEN_LENGTH]; + int count = 0; + + fseek( file, 0, SEEK_SET ); + while ( read_token( file, token ) ) { + if ( strequal( name, token ) ) + count++; + } + return count; +} + +/* +==================================================================== +Swap these two pointers. +==================================================================== +*/ +void swap( char **str1, char **str2 ) +{ + char *dummy; + dummy = *str1; + *str1 = *str2; + *str2 = dummy; +} + +/* +==================================================================== +Return a list with all accessible files and directories in path +with the extension ext (if != 0). Don't show hidden files. +Root is the name of the parent directory that can't be left. If this +is next directory up '..' is not added. +==================================================================== +*/ +Text* get_file_list( char *path, char *ext, char *root ) +{ + Text *text = 0; + int i, j; + DIR *dir; + DIR *test_dir; + struct dirent *dirent = 0; + List *list = 0; + struct stat fstat; + char file_name[512]; + FILE *file; + int len; + + /* open this directory */ + if ( ( dir = opendir( path ) ) == 0 ) { + fprintf( stderr, "get_file_list: can't open parent directory '%s'\n", path ); + return 0; + } + + text = calloc( 1, sizeof( Text ) ); + + /* use dynamic list to gather all valid entries */ + list = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + /* read each entry and check if its a valid entry, then add it to the dynamic list */ + while ( ( dirent = readdir( dir ) ) != 0 ) { + /* hiden stuff is not displayed */ + if ( dirent->d_name[0] == '.' && dirent->d_name[1] != '.' ) continue; + /* check if it's the root directory */ + if ( root ) + if ( dirent->d_name[0] == '.' ) + if ( strlen( path ) > strlen( root ) ) + if ( !strncmp( path + strlen( path ) - strlen( root ), root, strlen( root ) ) ) + continue; + /* get stats */ + sprintf( file_name, "%s/%s", path, dirent->d_name ); + if ( stat( file_name, &fstat ) == -1 ) continue; + /* check directory */ + if ( S_ISDIR( fstat.st_mode ) ) { + if ( ( test_dir = opendir( file_name ) ) == 0 ) continue; + closedir( test_dir ); + sprintf( file_name, "*%s", dirent->d_name ); + list_add( list, strdup( file_name ) ); + } + else + /* check regular file */ + if ( S_ISREG( fstat.st_mode ) ) { + /* test it */ + if ( ( file = fopen( file_name, "r" ) ) == 0 ) continue; + fclose( file ); + /* check if this file has the proper extension */ + if ( ext ) + if ( !strequal( dirent->d_name + ( strlen( dirent->d_name ) - strlen( ext ) ), ext ) ) + continue; + list_add( list, strdup( dirent->d_name ) ); + } + } + /* close dir */ + closedir( dir ); + + /* convert to static list */ + text->count = list->count; + text->lines = calloc( list->count, sizeof( char* )); + for ( i = 0; i < text->count; i++ ) + text->lines[i] = strdup( (char*)list_get( list, i ) ); + list_delete( list ); + + /* sort this list: directories at top and everything in alphabetical order */ + if ( text->count > 0 ) + for ( i = 0; i < text->count - 1; i++ ) + for ( j = i + 1; j < text->count; j++ ) { + /* directory comes first */ + if ( text->lines[j][0] == '*' ) { + if ( text->lines[i][0] != '*' ) + swap( &text->lines[i], &text->lines[j] ); + else { + /* do not exceed buffer size of smaller buffer */ + len = strlen( text->lines[i] ); + if ( strlen( text->lines[j] ) < len ) len = strlen( text->lines[j] ); + if ( strncmp( text->lines[j], text->lines[i], len ) < 0 ) + swap( &text->lines[i], &text->lines[j] ); + } + } + else { + /* do not exceed buffer size of smaller buffer */ + len = strlen( text->lines[i] ); + if ( strlen( text->lines[j] ) < len ) len = strlen( text->lines[j] ); + if ( strncmp( text->lines[j], text->lines[i], len ) < 0 ) + swap( &text->lines[i], &text->lines[j] ); + } + } + + return text; +} diff --git a/project/jni/application/lbreakout2/client/file.h b/project/jni/application/lbreakout2/client/file.h new file mode 100644 index 000000000..5363a5d8c --- /dev/null +++ b/project/jni/application/lbreakout2/client/file.h @@ -0,0 +1,107 @@ +/*************************************************************************** + file.h - description + ------------------- + begin : Thu Jan 18 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + + +#ifndef __FILE_H +#define __FILE_H + +/* +this file contains function to work with files like +open,close,read/write binary/ascii data... +*/ + +/* maximum length of a token */ +enum { + MAX_TOKEN_LENGTH = 1024 +}; + +/* shall find_arg reset to beginning of file or use current position? */ +enum { + RESET_FILE_POS = 0, + FROM_CURRENT_FILE_POS +}; + +/* shall read_file_token go to next token or stay at end of current one */ +enum { + GO_TO_NEXT_TOKEN = 0, + STAY_AT_TOKEN +}; + +/* display warning if find_arg failed */ +enum { + NO_WARNING = 0, + WARNING +}; + +/* +==================================================================== +Test file in path as mode. +Return Value: True if sucessful +==================================================================== +*/ +int file_check( char *path, char *file, char *mode ); +/* +==================================================================== +Open file in path according to type (write, read, append) +Return Value: File handle if successful else Null +==================================================================== +*/ +enum { + FILE_WRITE, + FILE_READ, + FILE_APPEND +}; +FILE *file_open( char *path, char *fname, int type ); +/* +==================================================================== +Read all lines from file pointer and return as static array. +Resets the file pointer. Should only be used when reading a whole +file. +==================================================================== +*/ +char** file_read_lines( FILE *file, int *count ); + +/* check consistence of file (all brackets/comments closed). +will reset the file pos to the very beginning */ +int check_file_cons( FILE *file ); + +/* find a string in the file and set file stream to this position */ +int find_token( FILE *file, char *name, int type, int warning ); + +/* read argument string of a single assignment */ +char* get_arg( FILE *file, char *name, int type ); + +/* read a cluster of arguments and return as static list */ +char** get_arg_cluster( FILE *file, char *name, int *count, int type, int warning ); + +/* free arg cluster */ +void delete_arg_cluster( char **cluster, int count ); + +/* count number of entries */ +int count_arg( FILE *file, char*name ); + +/* +==================================================================== +Return a list with all accessible files and directories in path +with the extension ext (if != 0). Don't show hidden files. +Root is the name of the parent directory that can't be left. If this +is next directory up '..' is not added. +==================================================================== +*/ +Text* get_file_list( char *path, char *ext, char *root ); + +#endif diff --git a/project/jni/application/lbreakout2/client/frame.c b/project/jni/application/lbreakout2/client/frame.c new file mode 100644 index 000000000..65cc70457 --- /dev/null +++ b/project/jni/application/lbreakout2/client/frame.c @@ -0,0 +1,363 @@ +/*************************************************************************** + frame.c - description + ------------------- + begin : Fri Sep 7 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "config.h" +#include "player.h" +#include "display.h" +#include "frame.h" + +extern SDL_Surface *stk_display; +extern SDL_Surface *offscreen; +extern SDL_Surface *bkgnd; /* background + frame */ +extern SDL_Surface *brick_pic; /* brick graphics in a horizontal order */ +/* parts of the frame: left, top, right */ +extern SDL_Surface *frame_left, *frame_top, *frame_right; +extern SDL_Surface *frame_left_shadow, *frame_top_shadow, *frame_right_shadow; +extern SDL_Surface *frame_mp_left, *frame_mp_right; +extern SDL_Surface *frame_mp_left_shadow, *frame_mp_right_shadow; +extern SDL_Surface *lamps; /* life lamps */ +float score = 0; /* current score */ +int dest_score; /* final score */ +int score_x_offset = 54; /* display score at this position (right align)*/ +int score_x, score_y = BRICK_HEIGHT / 2 - 2; /* center position where to write score */ +int new_life_y; /* if new life lamp is drawn do this at this y position */ +int name_x = 404, name_y = BRICK_HEIGHT / 2 - 2; /* offset (right side of screen) */ +extern int shadow_size; +extern Config config; +int info_x; +int info_y; /* absolute position is info_y + info_offset */ +int info_offsets[EX_NUMBER]; /* offset at which extra info is displayed */ +int paddle_info_y[4]; +int paddle_info_offsets[EX_NUMBER]; /* specialized extras */ +extern SDL_Surface *extra_pic; +#ifdef AUDIO_ENABLED +extern StkSound *wav_life_up, *wav_life_down; +#endif +extern StkFont *display_font; +int warp_blink; +Delay warp_delay; +int warp_x, warp_y; +int warp_blinks; +extern SDL_Surface *warp_pic; +extern Game *game; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Create frame by loading and assembling all graphics and loading +additional graphics. +==================================================================== +*/ +void frame_create() +{ + delay_set( &warp_delay, 500 ); + warp_x = stk_display->w - BRICK_WIDTH + ( BRICK_WIDTH - warp_pic->w ) / 2; + warp_y = stk_display->h - warp_pic->h; + warp_blink = 0; +} + +/* +==================================================================== +Inititate the frame to the according game type. +Set the position of the extras displayed, enable life lamps etc. +==================================================================== +*/ +void frame_init() +{ + /* setup position of extra info */ + info_x = stk_display->w - BRICK_WIDTH; + if ( game->game_type == GT_NETWORK ) { + /* general */ + info_y = 178; + info_offsets[EX_METAL] = 26; + info_offsets[EX_WEAK_BALL] = 26; + info_offsets[EX_EXPL_BALL] = 26; + info_offsets[EX_FAST] = 52; + info_offsets[EX_SLOW] = 52; + info_offsets[EX_CHAOS] = 78; + /* paddles */ + paddle_info_y[0] = 271; + paddle_info_y[1] = 7; + paddle_info_offsets[EX_SLIME] = 26; + paddle_info_offsets[EX_WEAPON] = 52; + paddle_info_offsets[EX_WALL] = 78; + paddle_info_offsets[EX_GOLDSHOWER] = 104; + paddle_info_offsets[EX_GHOST_PADDLE] = 130; + paddle_info_offsets[EX_BONUS_MAGNET] = 156; + paddle_info_offsets[EX_MALUS_MAGNET] = 156; + } + else { + /* in single player we ignore the second paddle + and model general and paddle0 extras so that + they result in the old layout */ + info_y = 48; paddle_info_y[0] = 48; + paddle_info_offsets[EX_GOLDSHOWER] = 30; + paddle_info_offsets[EX_SLIME] = 60; + info_offsets[EX_METAL] = 90; + info_offsets[EX_WEAK_BALL] = 90; + info_offsets[EX_EXPL_BALL] = 90; + paddle_info_offsets[EX_WALL] = 120; + paddle_info_offsets[EX_WEAPON] = 150; + info_offsets[EX_FAST] = 180; + info_offsets[EX_SLOW] = 180; + info_offsets[EX_CHAOS] = 210; + paddle_info_offsets[EX_GHOST_PADDLE] = 240; + paddle_info_offsets[EX_BONUS_MAGNET] = 270; + paddle_info_offsets[EX_MALUS_MAGNET] = 270; + } +} + +/* +==================================================================== +Free all resources created by frame_create() +==================================================================== +*/ +void frame_delete() +{ +} +/* +==================================================================== +Draw frame to offscreen and to bkgnd as frame won't change while +playing. +==================================================================== +*/ +void frame_draw() +{ + SDL_Surface *fr_left = (game->game_type==GT_LOCAL)?frame_left:frame_mp_left; + SDL_Surface *fr_right = (game->game_type==GT_LOCAL)?frame_right:frame_mp_right; + SDL_Surface *fr_left_shadow = + (game->game_type==GT_LOCAL)?frame_left_shadow:frame_mp_left_shadow; + SDL_Surface *fr_right_shadow = + (game->game_type==GT_LOCAL)?frame_right_shadow:frame_mp_right_shadow; + /* left and right part are always drawn */ + /* left part */ + stk_surface_alpha_blit( fr_left_shadow, 0,0,-1,-1, + offscreen, shadow_size, shadow_size, SHADOW_ALPHA ); + stk_surface_blit( fr_left, 0,0,-1,-1, offscreen, 0,0 ); + stk_surface_alpha_blit( fr_left_shadow, 0,0,-1,-1, + bkgnd, shadow_size, shadow_size, SHADOW_ALPHA ); + stk_surface_blit( fr_left, 0,0,-1,-1, bkgnd, 0,0 ); + if ( game->game_type == GT_LOCAL ) { + /* add top */ + stk_surface_alpha_blit( frame_top_shadow, 0,0,-1,-1, + offscreen, fr_left->w + shadow_size, shadow_size, SHADOW_ALPHA ); + stk_surface_blit( + frame_top, 0,0,-1,-1, offscreen, fr_left->w,0 ); + stk_surface_alpha_blit( frame_top_shadow, 0,0,-1,-1, + bkgnd, fr_left->w + shadow_size, shadow_size, SHADOW_ALPHA ); + stk_surface_blit( + frame_top, 0,0,-1,-1, bkgnd, fr_left->w,0 ); + } + /* right part */ + stk_surface_alpha_blit( fr_right_shadow, 0,0,-1,-1, + offscreen, stk_display->w - fr_right_shadow->w + shadow_size, + shadow_size, SHADOW_ALPHA ); + stk_surface_blit( fr_right, 0,0,-1,-1, offscreen, + stk_display->w - fr_right->w,0 ); + stk_surface_alpha_blit( fr_right_shadow, 0,0,-1,-1, + bkgnd, stk_display->w - fr_right_shadow->w + shadow_size, + shadow_size, SHADOW_ALPHA ); + stk_surface_blit( fr_right, 0,0,-1,-1, bkgnd, + stk_display->w - fr_right->w,0 ); +} +/* +==================================================================== +Add life lamps at left side of frame in offscreen +==================================================================== +*/ +void frame_draw_lives( int lives, int max_lives ) +{ + int i,y; + /* substract one life to have the same result like in old LBreakout */ + /* at maximum ten lamps may be displayed */ + for ( i = 0; i < 10; i++ ) { + if ( i < lives - 1 ) + y = BRICK_HEIGHT; + else + if ( i < max_lives - 1 ) + y = 0; + else + y = BRICK_HEIGHT * 2; + stk_surface_blit( lamps, 0,y, BRICK_WIDTH, BRICK_HEIGHT, + offscreen, 0, ( MAP_HEIGHT - i - 1 ) * BRICK_HEIGHT ); + } + /* get position of next lamp */ + new_life_y = stk_display->h - lives * BRICK_HEIGHT; +} +/* +==================================================================== +Add one new life at offscreen and screen (as this will happen in +game ) +==================================================================== +*/ +void frame_add_life() +{ + if ( !game->extra_active[EX_DARKNESS] ) { + stk_surface_blit( lamps, 0, BRICK_HEIGHT, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, 0, new_life_y ); + stk_display_store_drect(); + } + new_life_y -= BRICK_HEIGHT; +#ifdef AUDIO_ENABLED + stk_sound_play_x( 20, wav_life_up ); +#endif +} +/* +==================================================================== +Switch of a life lamp +==================================================================== +*/ +void frame_remove_life() +{ + new_life_y += BRICK_HEIGHT; + if ( new_life_y >= stk_display->h ) return; + if ( !game->extra_active[EX_DARKNESS] ) { + stk_surface_blit( lamps, 0, 0, BRICK_WIDTH, BRICK_HEIGHT, + stk_display, 0, new_life_y ); + stk_display_store_drect(); + } +#ifdef AUDIO_ENABLED + stk_sound_play_x( 20, wav_life_down ); +#endif +} +/* +==================================================================== +Display extra information on right side of screen. +==================================================================== +*/ +void frame_info_hide() +{ + int i, j; + if ( !config.bonus_info ) return; + for ( i = 0; i < EX_NUMBER; i++ ) + if ( info_offsets[i] > 0 && game->extra_active[i] ) { + stk_surface_blit( offscreen, info_x, info_y + info_offsets[i], + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, info_x, info_y + info_offsets[i] ); + stk_display_store_drect(); + } + for ( i = 0; i < EX_NUMBER; i++ ) + for ( j = 0; j < game->paddle_count; j++ ) + if ( paddle_info_offsets[i] > 0 && game->paddles[j]->extra_active[i] ) { + stk_surface_blit( offscreen, info_x, + paddle_info_y[j] + paddle_info_offsets[i], + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, info_x, paddle_info_y[j] + paddle_info_offsets[i] ); + stk_display_store_drect(); + } +} +void frame_info_show() +{ + char str[12]; + int i, j; + if ( !config.bonus_info ) return; + display_font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_CENTER_Y; + for ( i = 0; i < EX_NUMBER; i++ ) { + if ( info_offsets[i] > 0 && game->extra_active[i] ) { + /* picture */ + stk_surface_fill( + stk_display, info_x, info_y + info_offsets[i], + BRICK_WIDTH, BRICK_HEIGHT, 0x0 ); + stk_surface_alpha_blit( extra_pic, i * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, info_x, info_y + info_offsets[i], 128 ); + /* remaining extra_time */ + sprintf(str, "%i", (game->extra_time[i] / 1000) + 1); + /* write text */ + stk_font_write( display_font, stk_display, + info_x + ( BRICK_WIDTH >> 1 ), info_y + info_offsets[i] + ( BRICK_HEIGHT >> 1 ), + -1, str ); + } + } + for ( i = 0; i < EX_NUMBER; i++ ) + for ( j = 0; j < game->paddle_count; j++ ) + if ( paddle_info_offsets[i] > 0 && game->paddles[j]->extra_active[i] ) { + if ( i == EX_WALL && game->paddles[j]->extra_time[i] <= 0 ) continue; + /* picture */ + stk_surface_fill( + stk_display, info_x, paddle_info_y[j] + paddle_info_offsets[i], + BRICK_WIDTH, BRICK_HEIGHT, 0x0 ); + stk_surface_alpha_blit( extra_pic, i * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, info_x, paddle_info_y[j] + paddle_info_offsets[i], 128 ); + /* remaining extra_time */ + sprintf(str, "%i", (game->paddles[j]->extra_time[i] / 1000) + 1); + /* write text */ + stk_font_write( display_font, stk_display, + info_x + ( BRICK_WIDTH >> 1 ), + paddle_info_y[j] + paddle_info_offsets[i] + ( BRICK_HEIGHT >> 1 ), + -1, str ); + } +} + +/* +==================================================================== +Blink the warp icon. +==================================================================== +*/ +void frame_warp_icon_hide() +{ + if ( game->game_type != GT_LOCAL ) 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 ); + stk_display_store_drect(); +} +void frame_warp_icon_show() +{ + if ( game->game_type != GT_LOCAL ) 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; + if ( !game->extra_active[EX_DARKNESS] ) + stk_surface_blit( warp_pic, 0,0,-1,-1, + stk_display, warp_x, warp_y ); + else + stk_surface_alpha_blit( warp_pic, 0,0,-1,-1, + stk_display, warp_x, warp_y, 128 ); +} +void frame_warp_icon_update( int ms ) +{ + //printf( "%i > %i\n", game->bricks_left, game->warp_limit ); + if ( game->game_type != GT_LOCAL ) return; + if ( game->level_type == LT_PINGPONG ) return; + if ( game->bricks_left > game->warp_limit ) return; + if ( warp_blinks == 0 ) { + warp_blink = 1; + return; + } + if ( delay_timed_out( &warp_delay, ms ) ) { + warp_blink = !warp_blink; + if ( warp_blink ) + warp_blinks--; + } +} diff --git a/project/jni/application/lbreakout2/client/frame.h b/project/jni/application/lbreakout2/client/frame.h new file mode 100644 index 000000000..c596bf950 --- /dev/null +++ b/project/jni/application/lbreakout2/client/frame.h @@ -0,0 +1,85 @@ +/*************************************************************************** + frame.h - description + ------------------- + begin : Fri Sep 7 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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 file handles all the graphical stuff concering the frame +including drawing of score, lifes and bonus info. +==================================================================== +*/ + +/* +==================================================================== +Create frame by loading and assembling all graphics and loading +additional graphics. +==================================================================== +*/ +void frame_create(); +/* +==================================================================== +Inititate the frame to the according game type. +Set the position of the extras displayed, enable life lamps etc. +==================================================================== +*/ +void frame_init(); +/* +==================================================================== +Free all resources created by frame_create() +==================================================================== +*/ +void frame_delete(); +/* +==================================================================== +Draw frame to offscreen. +==================================================================== +*/ +void frame_draw(); +/* +==================================================================== +Add life lamps at left side of frame in offscreen +==================================================================== +*/ +void frame_draw_lives( int lives, int max_lives ); +/* +==================================================================== +Add one new life at offscreen and screen (as this will happen in +game ) +==================================================================== +*/ +void frame_add_life(); +/* +==================================================================== +Switch of a life lamp +==================================================================== +*/ +void frame_remove_life(); +/* +==================================================================== +Display extra information on right side of screen. +==================================================================== +*/ +void frame_info_hide(); +void frame_info_show(); + +/* +==================================================================== +Blink the warp icon. +==================================================================== +*/ +void frame_warp_icon_hide(); +void frame_warp_icon_show(); +void frame_warp_icon_update( int ms ); diff --git a/project/jni/application/lbreakout2/client/game.c b/project/jni/application/lbreakout2/client/game.c new file mode 100644 index 000000000..03234dfbf --- /dev/null +++ b/project/jni/application/lbreakout2/client/game.c @@ -0,0 +1,1531 @@ +/*************************************************************************** + local_game.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "../game/game.h" +#include "../gui/gui.h" +#include "client_data.h" +#include "event.h" +#include "config.h" +#include "shrapnells.h" +#include "player.h" +#include "display.h" +#include "paddle.h" +#include "chart.h" +#include "shine.h" +#include "credit.h" +#include "bricks.h" +#include "shots.h" +#include "frame.h" +#include "balls.h" +#include "extras.h" +#include "help.h" +#include "game.h" +#include "comm.h" +#include "slot.h" +#include "manager.h" + +SDL_Surface *bkgnd = 0; /* current background picture */ +extern SDL_Surface *nuke_bkgnd; /* nuke background */ +SDL_Surface *offscreen = 0; /* buffer with frame, background and bricks */ +extern StkFont *font; /* standard font */ +extern Config config; /* lbreakout config struct */ +extern int stk_quit_request; /* terminate game */ +extern SDL_Surface *stk_display; +extern SDL_Surface *brick_pic; +extern int player_count; +extern Player players[MAX_PLAYERS]; /* player infos */ +#ifdef AUDIO_ENABLED +extern StkSound *wav_click; +extern StkSound *wav_damn, *wav_dammit, *wav_wontgiveup, *wav_excellent, *wav_verygood; +#endif +extern int ball_pic_x_offset; +extern int paddle_cw; +extern List *client_users; +extern ClientUser *client_user; +extern GuiWidget *list_users; +extern char pause_chatter[CHAT_LINE_COUNT][CHAT_LINE_WIDTH]; +extern GuiWidget *gui_key_widget; +extern GuiWidget *gui_clicked_widget; +extern GuiWidget *gui_focused_widget; +extern GuiWidget *dlg_pauseroom, *dlg_chatroom; + +extern List *levelset_names; +Player *cur_player = 0; /* current player */ +Paddle *l_paddle = 0; /* locally controlled paddle */ +Paddle *r_paddle = 0; /* remotely controlled paddle */ +LevelSet *game_set; /* set that is played */ +Game *local_game = 0; /* in a local game the remote side is faked in this + game context to have just one main loop for both game + types */ +Game *game = 0; /* local/network game context */ +int game_round; /* id of current round in network game */ +int game_stats[2][7]; /* network game stats */ +int stats_received = 0; +int game_over = 0; /* network game is over */ +int allow_disintegrate = 1; /* wether Plane of Inner Stability may be entered */ +char best_name[32]; +int best_score; /* result of first place in chart of local set */ +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; +extern StkFont *display_font; +extern int bkgnd_count; +int bkgnd_ids[MAX_LEVELS]; /* random background ids changed everytime a game is started */ +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 gameSeed = 0; /* last used seed for freakout game */ + +extern int current_player; +extern Item *item_resume_0; + +extern void select_chart( char *name, int update ); + +/* +==================================================================== +Locals +==================================================================== +*/ + + +/* initiate the level of the game context by using the player's + * snapshot. the snapshot must've been previously set either by + * net update or locally. 'l_pos' is either PADDLE_BOTTOM or TOP + * indicating which paddle client controls in network game. + */ +static int init_level( Player *player, int l_pos ) +{ + int length; + char str[32]; + + /* init level by replacing with the players snapshot. this will + * screw the total brick count thus stats are useless for local + * game but they are not used anyway as the remote/local game + * context contains the real stats */ + if ( game->game_type == GT_LOCAL ) + game_init( local_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(); + + /* create offscreen */ + offscreen = stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + SDL_SetColorKey( offscreen, 0, 0 ); + + /* add&create background */ + if ( game->game_type == GT_LOCAL ) + bkgnd_draw( bkgnd, bkgnd_ids[player->level_id] ); + else + bkgnd_draw( bkgnd, -1 ); + /* add frame */ + frame_draw(); + /* add bricks */ + bricks_draw(); + /* draw lives */ + if ( game->game_type == GT_LOCAL ) + frame_draw_lives( player->lives, game->diff->max_lives ); + + /* determine what is the local and what is the remote paddle and + * connect the proper players with each paddle */ + if ( game->game_type == GT_LOCAL ) { + l_paddle = game->paddles[PADDLE_BOTTOM]; + l_paddle->player = player; + r_paddle = 0; + } else { + if ( l_pos == PADDLE_BOTTOM ) { + l_paddle = game->paddles[PADDLE_BOTTOM]; + r_paddle = game->paddles[PADDLE_TOP]; + } else { + l_paddle = game->paddles[PADDLE_TOP]; + r_paddle = game->paddles[PADDLE_BOTTOM]; + } + /* player 0 is always the local player */ + l_paddle->player = &players[0]; + r_paddle->player = &players[1]; + + /* let top paddle use alternative graphics if any */ + if ( paddle_pic->w > 3*paddle_cw ) + game->paddles[PADDLE_TOP]->pic_x_offset = 3*paddle_cw; + } + player->paddle_id = l_pos; + + /* displays */ + if ( game->game_type == GT_LOCAL ) { + /* we put these displays to the old positions + at the top of the frame */ + sprintf( str, "%s", player->name ); + length = strlen(best_name); + if (strlen(player->name)>length ) + length = strlen(player->name); + length *= 8; + display_player[0] = displays_add( 402, 0, + length + 4, 16, str, player->lives, 0 ); + display_score[0] = displays_add( stk_display->w - 52 - 76, 0, + 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", + game->paddles[0]->player->name, + game->paddles[0]->player->stats.wins ); + length = strlen( str ) * 8; + display_player[0] = displays_add( + BRICK_WIDTH + 20, ( MAP_HEIGHT - 1 ) * BRICK_HEIGHT + 2, + length + 4, 16, str, 0, 0 ); + sprintf( str, "%s ~x%i", + game->paddles[1]->player->name, + game->paddles[1]->player->stats.wins ); + length = strlen( str ) * 8; + display_player[1] = displays_add( + BRICK_WIDTH + 20, 2, length + 4, 16, str, 0, 0 ); + /* scores */ + display_score[0] = displays_add( + stk_display->w - BRICK_WIDTH - 20 - 76, + ( MAP_HEIGHT - 1 ) * BRICK_HEIGHT + 2, + 76, 16, "", game->paddles[0]->score, 9 ); + display_score[1] = displays_add( + stk_display->w - BRICK_WIDTH - 20 - 76, 2, + 76, 16, "", game->paddles[1]->score, 9 ); + } + + /* initiate credit */ + if ( game->game_type == GT_LOCAL && game_set ) + credit_init( game->title, game->author, + player->level_id, game_set->count ); + else + credit_init( game->title, game->author, + player->level_id, 0/*don't display info*/ ); + + /* show offscreen */ + stk_surface_blit( offscreen, 0,0,-1,-1, stk_display, 0,0 ); + + /* no refresh rect as we want to use dim effect */ + return 1; +} + +static void finalize_level( void ) +{ + /* set alpha keys to OPAQUE */ + SDL_SetAlpha( paddle_pic, 0,0 ); + SDL_SetAlpha( weapon_pic, 0,0 ); + SDL_SetAlpha( extra_pic, 0,0 ); + SDL_SetAlpha( ball_pic, 0,0 ); + SDL_SetAlpha( shot_pic, 0,0 ); + SDL_SetAlpha( display_font->surface, 0,0 ); + + /* reset ball graphic */ + ball_pic_x_offset = 0; + + /* reset shrapnells */ + shrapnells_reset(); + /* reset shine */ + shine_reset(); + /* reset explosions */ + exps_clear(); + exps_set_dark( 0 ); + + /* delete offscreen */ + stk_surface_free( &offscreen ); + + /* clear credits */ + credit_clear(); + + /* clear displays */ + displays_clear(); + + /* clear game contexts */ + if ( game->game_type == GT_LOCAL ) + game_finalize( local_game ); + game_finalize( game ); +} + +/* display formatted info + score table if multiple players */ +static void display_score_table( char *format, ... ) +{ + va_list args; + int i; + char info[256], buf[32]; + + va_start( args, format ); + vsnprintf( info, 64, format, args ); + va_end( args ); + + if ( player_count > 1 ) { + strcat( info, "##" ); + for ( i = 0; i < player_count; i++ ) { + /* add player and score */ + sprintf( buf, "#%12s %10i", " ", + players[i].stats.total_score ); + strcpy( buf + 1, players[i].name ); + buf[strlen(players[i].name)+1] = 32; + strcat( info, buf ); + } + } + + 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 */ +static void begin_frame( void ) +{ + int i; + + displays_hide(); + frame_info_hide(); + extras_hide(); + for ( i = 0; i < game->paddle_count; i++ ) { + paddle_hide( game->paddles[i] ); + paddle_ammo_hide( game->paddles[i] ); + } + balls_hide(); + shots_hide(); + shrapnells_hide(); + walls_hide(); + frame_warp_icon_hide(); + shine_hide(); + exps_hide(); + credit_hide(); +} + +/* end frame by drawing all objects and updating the screen */ +static void end_frame( void ) +{ + int i; + + /* show -- some things will be missing if darkness is enabled */ + balls_show_shadow(); + extras_show_shadow(); + for ( i = 0; i < game->paddle_count; i++ ) + paddle_show_shadow( game->paddles[i] ); + shots_show(); + if ( config.debris_level == DEBRIS_BELOW_BALL ) { + exps_show(); + if ( !game->extra_active[EX_DARKNESS] ) { + shrapnells_show(); + frame_info_show(); + } + } + if ( config.ball_level == BALL_ABOVE_BONUS ) + extras_show(); + balls_show(); + if ( config.ball_level == BALL_BELOW_BONUS ) + extras_show(); + for ( i = 0; i < game->paddle_count; i++ ) + paddle_show( game->paddles[i] ); + if ( !game->extra_active[EX_DARKNESS] ) walls_show(); + shine_show(); + if ( config.debris_level == DEBRIS_ABOVE_BALL ) { + exps_show(); + if ( !game->extra_active[EX_DARKNESS] ) { + shrapnells_show(); + frame_info_show(); + } + } + frame_warp_icon_show(); + displays_show(); + for ( i = 0; i < game->paddle_count; i++ ) + paddle_ammo_show( game->paddles[i] ); + credit_show(); +} + +/* grab/ungrab input of actual game */ +static void grab_input( int grab ) +{ + if ( grab ) { + SDL_ShowCursor(0); + SDL_WM_GrabInput( SDL_GRAB_ON ); + SDL_GetRelativeMouseState(0,0); + } else { + SDL_ShowCursor(1); + SDL_WM_GrabInput( SDL_GRAB_OFF ); + } +} + +/* switch client to new state */ +void set_state( int newstate ) +{ + if ( client_state == newstate ) return; + + if ( newstate == CS_PLAY ) + grab_input( 1 ); + if ( client_state == CS_PLAY ) + grab_input( 0 ); + if ( client_state == CS_CONFIRM_WARP || + client_state == CS_CONFIRM_RESTART || + client_state == CS_CONFIRM_QUIT || + client_state == CS_CONFIRM_CONTINUE || + 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 || + client_state == CS_FATAL_ERROR ) { + /* show offscreen */ + if ( offscreen ) { + stk_surface_blit( offscreen, 0,0,-1,-1, stk_display, 0,0 ); + end_frame(); + } + /* do not refresh when coming from RECV_LEVEL as a GET_READY + * will follow */ + if ( client_state != CS_RECV_LEVEL ) + if ( client_state != CS_ROUND_RESULT ) + if ( client_state != CS_RECV_STATS ); + stk_display_update( STK_UPDATE_ALL ); + } + + client_state = newstate; + stk_timer_reset(); +} + +/* Fade all animations until they disappear */ +static void fade_anims() +{ + float alpha = 255.0; + int ms, i; + stk_timer_reset(); + if ( game->game_type == GT_LOCAL && game->winner != PADDLE_BOTTOM ) + frame_remove_life(); + while ( alpha > 0 ) { + displays_hide(); + for ( i = 0; i < game->paddle_count; i++ ) + paddle_hide( game->paddles[i] ); + balls_hide(); + extras_hide(); + shrapnells_hide(); + shots_hide(); + walls_hide(); + credit_hide(); + ms = stk_timer_get_time(); + alpha -= 0.3 * ms; + if ( alpha < 0 ) alpha = 0; + shrapnells_update( ms ); + for ( i = 0; i < game->paddle_count; i++ ) + paddle_alphashow( game->paddles[i], alpha ); + balls_alphashow( alpha ); + extras_alphashow( alpha ); + shots_alphashow( alpha ); + shrapnells_show(); + walls_alphashow( alpha ); + displays_show(); + credit_alphashow( alpha ); + stk_display_update( STK_UPDATE_RECTS ); + } +} + +void open_pause_chat( char *text ) +{ + set_state( CS_PAUSE ); + + /* clear pause_chatter */ + memset( pause_chatter, 0, sizeof( pause_chatter ) ); + /* clear global gui widgets */ + gui_focused_widget = 0; + gui_clicked_widget = 0; + gui_key_widget = 0; + /* use 'text' as initial chatter */ + client_add_pausechatter( text, 1 ); + /* gray screen */ + stk_surface_gray( stk_display, 0,0,-1,-1, 1 ); + /* show pauseroom */ + gui_widget_show( dlg_pauseroom ); + stk_display_update( STK_UPDATE_ALL ); + + /* disable event filter */ + SDL_SetEventFilter( 0 ); + /* disable client_recv which is called as time event */ + gui_widget_disable_event( dlg_chatroom, GUI_TIME_PASSED ); +} + +void close_pause_chat( void ) +{ + gui_widget_hide( dlg_pauseroom ); + set_state( CS_PLAY ); + + /* enable event filter */ + SDL_SetEventFilter( event_filter ); + gui_widget_enable_event( dlg_chatroom, GUI_TIME_PASSED ); +} + +/* Pause/unpause a local/network game. */ +static void client_set_pause( int pause ) +{ + if (game_set==0) return; /* test level */ + if (pause&&client_state==CS_PLAY) + { + /* in local game simply darken the screen, in + * network game enter the pausechatroom */ + if ( game->game_type == GT_LOCAL ) { + set_state(CS_PAUSE); + display_text( font, _("Pause") ); + } + else { + open_pause_chat( _("You have paused the game.") ); + comm_send_short( MSG_PAUSE ); + } + } + else if (!pause&&client_state==CS_PAUSE) + { + /* unpause (local game only)*/ + if ( game->game_type == GT_LOCAL ) + set_state(CS_PLAY); + } +} + +/* modify the client and its state according to the key pressed */ +static int handle_default_key( int key, int *abort ) +{ + SDL_Surface *buffer; + + switch ( key ) { + case SDLK_F1: + case SDLK_h: + if ( client_state != CS_PLAY ) break; + if ( game->game_type == GT_NETWORK ) break; /* only for single player */ + grab_input(0); + help_run(); + grab_input(1); + return 1; + case SDLK_q: + case SDLK_ESCAPE: + /* recv_stats or final_stats means we already broke up + * the game so ESC will directly quit */ + if ( client_state == CS_RECV_STATS || client_state == CS_FINAL_STATS ) { + *abort = 1; + break; + } + + if ( client_state == CS_CONFIRM_QUIT ) break; + if ( client_state == CS_PAUSE ) break; + 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.)") ); + else + display_text( font, _("Quit Game? y/n") ); + return 1; + case SDLK_r: + if ( client_state != CS_PLAY ) break; + if ( game->game_type == GT_NETWORK ) break; /* only for single player */ + 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") ); + 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); + return 1; + case SDLK_f: + buffer = stk_surface_create( SDL_SWSURFACE, 640, 480 ); + SDL_BlitSurface( stk_display, 0, buffer, 0 ); + config.fullscreen = !config.fullscreen; + stk_display_apply_fullscreen( config.fullscreen ); + SDL_BlitSurface( buffer, 0, stk_display, 0 ); + stk_display_update( STK_UPDATE_ALL); + SDL_FreeSurface( buffer ); + return 1; + case SDLK_s: +#ifdef AUDIO_ENABLED + config.sound = !config.sound; + stk_audio_enable_sound( config.sound ); +#endif + return 1; + case SDLK_a: + config.anim++; + if ( config.anim >= 4 ) config.anim = 0; + return 1; + case SDLK_TAB: + stk_display_take_screenshot(); + return 1; + case SDLK_t: + return 0; + case SDLK_p: + if ( client_state == CS_PLAY ) + client_set_pause(1); + else if (client_state==CS_PAUSE) + client_set_pause(0); + return 1; + default: + if ( client_state != CS_PLAY ) break; + 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") ); + return 1; + } + break; + } + + 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 ) +{ + int i; + + /* run the fake server game */ + if ( game->game_type == GT_LOCAL ) { + game_set_current( local_game ); + game_update( ms ); + game_set_current( game ); + } + + /* local animations and movements */ + for ( i = 0; i < game->paddle_count; i++ ) + client_paddle_update( game->paddles[i], ms ); + client_shots_update( ms ); + client_balls_update( ms ); + client_extras_update( ms ); + client_walls_update( ms ); + shrapnells_update( ms ); + frame_warp_icon_update( ms ); + shine_update( ms ); + exps_update( ms ); + displays_update( ms ); + credit_update( ms ); + + /* communicate */ + if ( (no_comm_since+=ms) >= client_comm_delay ) { + no_comm_since -= client_comm_delay; + + /* send paddle state */ + comm_send_paddle( l_paddle ); + + /* receive game data from local or remote server and + * apply it to the game context. */ + comm_recv(); + + /* update score displays */ + if (!showing_best) + display_set_value( + display_score[0], + game->paddles[0]->player->stats.total_score + + game->paddles[0]->score ); + if ( game->game_type == GT_NETWORK ) + display_set_value( + 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(); + } +} + +/* give us a damn or excellent depending on the outcome of the level. + * the result for network game must've been received already so that + * game::level_over and game::winner are valid entries. */ +static void play_speech( void ) +{ +#ifdef AUDIO_ENABLED + if ( !config.speech ) + return; + if ( game->winner == -1 ) + return; /* draw */ + + if ( game->paddles[game->winner] == l_paddle ) { + if ( rand() % 2 ) + stk_sound_play( wav_excellent ); + else + stk_sound_play( wav_verygood ); + } else { + if (!config.badspeech) /* no swearing! */ + return; + if ( rand() % 2 ) + stk_sound_play( wav_damn ); + else + stk_sound_play( wav_dammit ); + } +#endif +} + +/* check players of local game wether they entered a highscore */ +static void check_highscores( void ) +{ + int i; + + chart_clear_new_entries(); + for ( i = 0; i < config.player_count; i++ ) + chart_add( + chart_set_query(game_set->name), + players[i].name, + players[i].level_id + 1, + players[i].stats.total_score ); + chart_save(); +} + +/* init next network game round by displaying a message and switching + * to GET_READY. */ +void init_next_round( void ) +{ + game_round++; + 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!#" + "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") ); +} + +/* display a message about the winner */ +void finalize_round( void ) +{ + if ( (char)game->winner == -1 ) + 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!") ); + else + display_text( font, _("You have lost this round.") ); + } + finalize_level(); + set_state( CS_ROUND_RESULT ); +} + +/* display the final statistics. the first player is always this client + * and the second is the remote. */ +void display_final_stats( void ) +{ + int win; + + /* won this match? */ + if ( game_stats[0][0] > game_stats[1][0] ) + win = 1; + else + if ( game_stats[0][0] == game_stats[1][0] ) + win = -1; + else + win = 0; + + /* build stats string */ + display_text( font, + _(" 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)"), + 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], + game_stats[0][2], game_stats[1][2], + game_stats[0][3], game_stats[1][3], + game_stats[0][4], game_stats[1][4], + game_stats[0][5], game_stats[1][5], + game_stats[0][6], game_stats[1][6] ); +} + +/* save data from local and local_game variables and update + * the menu hint. */ +void save_local_game( int slot_id ) +{ + GameSlot gs; + int i; + + memset( &gs, 0, sizeof(GameSlot) ); + strcpy( gs.setname, game_set->name ); + gs.diff = config.diff; + gs.player_count = config.player_count; + gs.cur_player = current_player; + for ( i = 0; i < MAX_PLAYERS; i++ ) + { + strcpy( gs.player_names[i], config.player_names[i] ); + gs.player_cur_level_id[i] = players[i].level_id; + gs.player_lives[i] = players[i].lives; + gs.player_scores[i] = players[i].stats.total_score; + } + gs.gameSeed = gameSeed; + if ( !slot_save( slot_id, &gs ) ) + fprintf( stderr, _("ERROR: couldn't save game!\n") ); + slot_update_hint( slot_id, item_resume_0->hint ); +} + +/* check whether Shift is pressed to switch between own and highest score */ +void handle_display_switch() +{ + int modstate = 0; + modstate = SDL_GetModState(); + if (!showing_best) + { + if (modstate&KMOD_RSHIFT||modstate&KMOD_LSHIFT) + { + display_set_text( display_player[0], best_name ); + display_set_value_directly( display_score[0], best_score ); + display_set_highlight( display_player[0], 1 ); + display_set_highlight( display_score[0], 1 ); + showing_best = 1; + } + } + else + { + if (!(modstate&KMOD_RSHIFT||modstate&KMOD_LSHIFT)) + { + display_set_text( display_player[0], cur_player->name ); + display_set_value_directly( display_score[0], + game->paddles[0]->player->stats.total_score + + game->paddles[0]->score ); + display_set_highlight( display_player[0], 0 ); + display_set_highlight( display_score[0], 0 ); + showing_best = 0; + } + } +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* create various resources like shrapnells */ +void client_game_create() +{ + frame_create(); + shrapnells_init(); + shine_load(); + init_angles(); + + /* background */ + bkgnd = stk_surface_create( SDL_SWSURFACE, + stk_display->w, stk_display->h ); + SDL_SetColorKey( bkgnd, 0, 0 ); + stk_surface_fill( bkgnd, 0,0,-1,-1, 0x0 ); + +} +void client_game_delete() +{ + stk_surface_free( &bkgnd ); + + displays_clear(); + frame_delete(); + shrapnells_delete(); + shine_delete(); +} + +/* create network/local game context and initiate game state: + * network needs to receive the level data and a local game + * has to load the next level */ +int client_game_init_local( char *setname ) +{ + Set_Chart *chart; + int i, warp_limit; + + warp_limit = config.rel_warp_limit; + allow_disintegrate = 1; + + /* the original levelsets do not need these workarounds */ + if ( STRCMP( setname, "LBreakout2" ) || STRCMP( setname, "LBreakout1" ) ) { + warp_limit = 100; + allow_disintegrate = 0; + } + + /* the approach for a local game is to use the same + * settings as a network game. the receiving of packets + * is simply faked by a local_game context that + * runs the game locally. but to use only one game loop + * we do not use it directly but apply its modificiations + * to game which is visualized */ + local_game = game_create( GT_LOCAL, config.diff, warp_limit ); + game_set_current( local_game ); + 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 ); + local_game->localServerGame = 1; + + /* load levels: + * only required for local games. in network both players + * just require a single level that can store the incoming + * data that is send by the server via the net. + */ + if ( !strcmp( setname, TOURNAMENT ) ) + game_set = levelset_load_all( levelset_names, gameSeed, config.addBonusLevels ); + else + 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; + if (chart) + { + strcpy(best_name,chart->entries[0].name); + best_score = chart->entries[0].score; + } + + /* create client game context */ + game = game_create( GT_LOCAL, config.diff, warp_limit ); + game_set_current( game ); + + /* a local game is not limited in its communication */ + client_comm_delay = 0; + no_comm_since = 0; + + /* prepare warp icon at frame */ + warp_blinks = 4; warp_blink = 1; + + /* set list of level background ids */ + for ( i = 0; i < MAX_LEVELS; i++ ) + bkgnd_ids[i] = rand() % bkgnd_count; + + /* initiate players */ + players_clear(); + for ( i = 0; i < config.player_count; i++ ) + player_add( config.player_names[i], + game->diff->lives, + levelset_get_first( game_set ) ); + cur_player = players_get_first(); + + /* init first level */ + init_level( cur_player, PADDLE_BOTTOM ); + + /* if only one player don't show score table */ + client_state = CS_NONE; + if ( player_count > 1 ) + set_state( CS_SCORE_TABLE ); + else + set_state( CS_PLAY ); /* one player starts immediately */ + return 1; +} +int client_game_init_network( char *opponent_name, int diff ) +{ + /* create an empty one level levelset. the server will send + * the data into the level everytime we play. */ + game_set = levelset_create_empty( 1, "empty", "empty" ); + + /* create client game context */ + game = game_create( GT_NETWORK, diff, 100 ); + game_set_current( game ); + game_round = 0; /* will be increased by init_next_round() */ + game_over = 0; + + /* a network game communicates every 25 ms by default */ + client_comm_delay = 25; + no_comm_since = 0; + + /* initiate players */ + players_clear(); + player_add( client_name, game->diff->lives, levelset_get_first( game_set ) ); + player_add( opponent_name, game->diff->lives, levelset_get_first( game_set ) ); + cur_player = players_get_first(); + + display_text( font, _("Receiving level data...") ); + set_state( CS_RECV_LEVEL ); + return 1; +} + +/* create local game context and initiate game state + * as given from slot 'slot_id'. */ +int client_game_resume_local( int slot_id ) +{ + int i; + GameSlot gs; + + /* load saved game */ + if ( !slot_load( slot_id, &gs ) ) return 0; + + /* FIXME: config settings are overwritten for this */ + config.diff = gs.diff; + config.player_count = gs.player_count; + for ( i = 0; i < config.player_count; i++ ) + strcpy( config.player_names[i], gs.player_names[i] ); + gameSeed = gs.gameSeed; + + /* create local game where all players have full lives */ + if ( !client_game_init_local( gs.setname ) ) return 0; + + /* re-initiate players */ + players_clear(); + for ( i = 0; i < config.player_count; i++ ) + { + /* name + lives */ + player_add( config.player_names[i], + gs.player_lives[i], + levelset_get_first( game_set ) ); + /* level */ + player_init_level( &players[i], + game_set->levels[gs.player_cur_level_id[i]], + gs.player_cur_level_id[i] ); + /* score */ + players[i].stats.total_score = gs.player_scores[i]; + } + cur_player = players_set_current( gs.cur_player ); + + /* init first level */ + init_level( cur_player, PADDLE_BOTTOM ); + + return 1; +} + +/* create a one level game context for testing a level */ +int client_game_init_testing( Level *level ) +{ + local_game = game_create( GT_LOCAL, config.diff, 100 ); + game_set_current( local_game ); + 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 ); + local_game->localServerGame = 1; + + game = game_create( GT_LOCAL, config.diff, 100 ); + game_set_current( game ); + + players_clear(); + player_add( config.player_names[0], game->diff->lives, level ); + cur_player = players_get_first(); + + bkgnd_ids[0] = 0; + + init_level( cur_player, PADDLE_BOTTOM ); + + client_state = CS_NONE; + set_state( CS_PLAY ); + + return 1; +} + +/* finalize a game and free anything allocated by init process */ +void client_game_finalize() +{ + players_clear(); + + if ( game && game->game_type == GT_LOCAL ) { + game_delete( &local_game ); + levelset_delete( &game_set ); + } + game_delete( &game ); +} + +/* run the state driven loop until game is broken up or finished */ +void client_game_run( void ) +{ + int ms, frame_delay = config.fps?10:1; + int button_clicked, key_pressed; + SDL_Event event; + int abort = 0, i, j, penalty; + /* frame rate */ + int frames = 0; + int frame_time = SDL_GetTicks(); + + event_clear_sdl_queue(); + + stk_display_fade( STK_FADE_IN, STK_FADE_DEFAULT_TIME ); + + stats_received = 0; + stk_timer_reset(); ms = 1; + while ( !abort && !stk_quit_request ) { + /* check wether an event occured */ + button_clicked = key_pressed = 0; + if ( SDL_PollEvent( &event ) ) { + if ( client_state == CS_PAUSE && game->game_type == GT_NETWORK ) + gui_dispatch_event( &event, ms ); + else + if ( event.type == SDL_MOUSEBUTTONDOWN ) + button_clicked = event.button.button; + else + if ( event.type == SDL_KEYDOWN ) { + key_pressed = event.key.keysym.sym; + if ( handle_default_key( key_pressed, &abort ) ) + key_pressed = 0; + } + else + if (event.type == SDL_ACTIVEEVENT) + { + if (event.active.state == SDL_APPINPUTFOCUS || + event.active.state == SDL_APPACTIVE ) + if (event.active.gain == 0 ) + client_set_pause(1); + } + } + else if ( client_state == CS_PAUSE && game->game_type == GT_NETWORK ) + gui_dispatch_event( 0, ms ); + + /* check whether Shift is pressed to switch between own and highest score */ + if (game->game_type == GT_LOCAL) + handle_display_switch(); + + /* let server know we're still alive except + * in CS_PLAY as we send paddle updates there */ + if ( game->game_type == GT_NETWORK ) + comm_send_heartbeat(); + + /* handle client */ + switch ( client_state ) { + + case CS_FINAL_STATS: + if ( key_pressed==SDLK_SPACE ) abort = 1; + break; + + case CS_FATAL_ERROR: + /* after game was violently broken up the server + * may still send the stats of the game so far */ + if ( button_clicked || key_pressed ) { + SDL_Delay(250); /* give time to release button */ + set_state( CS_RECV_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 */ + slot_delete( 0 ); + slot_update_hint( 0, item_resume_0->hint ); + /* quit local game */ + abort = 1; + } + break; + + case CS_SCORE_TABLE: + /* show who's next player and scores in local game */ + 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 ) { + SDL_Delay(250); /* give time to release button */ + set_state( CS_NEXT_PLAYER ); + } + break; + + case CS_RECV_LEVEL: + comm_recv(); + if ( cur_player->next_level_received ) { + cur_player->next_level_received = 0; + cur_player->paddle_id = cur_player->next_paddle_id; + init_next_round(); + } + break; + + case CS_RECV_STATS: + comm_recv(); + if ( stats_received ) { + set_state( CS_FINAL_STATS ); + display_final_stats(); + } + break; + + case CS_ROUND_RESULT: + if ( button_clicked || key_pressed ) { + SDL_Delay(250); /* give time to release button */ + if ( game_over ) { + set_state( CS_RECV_STATS ); + display_text( font, _("Receiving final stats...") ); + } else { + set_state( CS_RECV_LEVEL ); + display_text( font, _("Receiving level data...") ); + } + } + break; + + case CS_GET_READY: + if ( button_clicked || key_pressed ) { + 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; + + case CS_PAUSE: + if ( game->game_type == GT_LOCAL ) break; + + /* check wether pause chatroom has been closed + * either by client or remote */ + comm_recv(); + break; + + case CS_PLAY: + /* hide objects */ + begin_frame(); + + /* apply events to local paddle */ + paddle_handle_events( l_paddle, ms ); + + /* update local objects and communicate if + * comm_delay ms have passed */ + update_game( ms ); + + /* show objects */ + end_frame(); + + /* handle local level over */ + if ( game->level_over ) { + if ( game->game_type == GT_LOCAL ) { + if ( game_set == 0 ) { + abort = 1; /* was a test level */ + grab_input(0); + break; + } + if ( game->winner == PADDLE_BOTTOM ) + { + if (local_game->isBonusLevel) + set_state( CS_BONUS_LEVEL_SCORE ); + else + set_state( CS_NEXT_LEVEL ); + } + else + set_state( CS_LOOSE_LIFE ); + } else { + finalize_round(); + } + } + break; + + case CS_NEXT_LEVEL: + /* apply paddle stats to player */ + game_set_current( local_game ); + game_update_stats( PADDLE_BOTTOM, &cur_player->stats ); + game_set_current( game ); + /* init next level for player in local game */ + cur_player->level_id++; + if ( cur_player->level_id >= game_set->count ) { + /* deactivate player */ + cur_player->lives = 0; + display_text( font, + _("You've cleared all levels...#Congratulations!!!") ); + set_state( CS_FINAL_PLAYER_INFO ); + break; + } + /* get snapshot for next init */ + cur_player->snapshot = *game_set->levels[cur_player->level_id]; + /* cycle players */ + set_state( CS_NEXT_PLAYER ); + break; + + case CS_RESTART_LEVEL: + /* apply paddle stats to player */ + game_set_current( local_game ); + game_update_stats( PADDLE_BOTTOM, &cur_player->stats ); + game_set_current( game ); + /* reset level for next turn */ + cur_player->snapshot = *game_set->levels[cur_player->level_id]; + /* decrease lives (is checked that this wasn't the last one) */ + cur_player->lives--; + /* cycle players */ + set_state( CS_NEXT_PLAYER ); + break; + + case CS_LOOSE_LIFE: + /* apply paddle stats to player */ + game_set_current( local_game ); + game_update_stats( PADDLE_BOTTOM, &cur_player->stats ); + game_set_current( game ); + + /* remember level for next turn */ + game_get_level_snapshot( &cur_player->snapshot ); + + /* decrease lives */ + 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") ); + set_state( CS_CONFIRM_CONTINUE ); + //set_state( CS_FINAL_PLAYER_INFO ); + break; + } + set_state( CS_NEXT_PLAYER ); + break; + + case CS_NEXT_PLAYER: + /* game over? */ + if ( players_count() == 0 ) { + display_score_table( _("Game Over!") ); + set_state( CS_FINAL_TABLE ); + break; + } + /* speak and fade */ + play_speech(); + fade_anims(); + /* finalize current game context */ + finalize_level(); + /* set next player */ + cur_player = players_get_next(); + init_level( cur_player, PADDLE_BOTTOM ); + if ( player_count > 1 ) + set_state( CS_SCORE_TABLE ); + else { + set_state( CS_PLAY ); /* one player starts immediately */ + stk_display_update( STK_UPDATE_ALL ); + } + break; + + case CS_CONFIRM_CONTINUE: + case CS_CONFIRM_QUIT: + case CS_CONFIRM_WARP: + case CS_CONFIRM_RESTART: + 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_QUIT: + comm_send_short( MSG_QUIT_GAME ); + if ( game->game_type == GT_LOCAL ) { + /* apply paddle stats to player */ + 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 */ + /* 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; + } + else { + /* await game stats */ + set_state( CS_RECV_STATS ); + display_text( font, _("Receiving final stats...") ); + } + break; + case CS_CONFIRM_WARP: + game->winner = -1; /* no speech */ + local_game->winner = -1; /* not counted as win */ + /* substract doubled score of remaining bricks */ + penalty = 0; + for ( i = 0; i < MAP_WIDTH; i++ ) + 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 ); + local_game->paddles[0]->score -= penalty; + set_state( CS_NEXT_LEVEL ); + break; + case CS_CONFIRM_RESTART: + game->winner = -1; /* no speech */ + local_game->winner = -1; /* not counted as win */ + local_game->level_over = 1; + set_state( CS_RESTART_LEVEL ); + break; + } + break; + + } + + /* update anything that was changed */ + stk_display_update( STK_UPDATE_RECTS ); + + /* get time since last call and delay if below frame_delay */ + ms = stk_timer_get_time(); + if ( ms < frame_delay ) { + SDL_Delay( frame_delay - ms ); + ms += stk_timer_get_time(); + } + frames++; + } + finalize_level(); + client_state = CLIENT_NONE; + + stk_display_fade( STK_FADE_OUT, STK_FADE_DEFAULT_TIME ); + if ( stk_quit_request ) + comm_send_short( MSG_DISCONNECT ); + else + comm_send_short( MSG_UNHIDE ); + + /* frame rate */ + frame_time = SDL_GetTicks() - frame_time; + printf( _("Time: %.2f, Frames: %i -> FPS: %.2f\n"), + (double)frame_time / 1000, frames, 1000.0*frames/frame_time ); + + event_clear_sdl_queue(); + + /* update the selected user and the user list in network as + * we received ADD/REMOVE_USER messages */ + gui_list_update( list_users, client_users->count ); + /* re-select current entry */ + if ( client_user ) { + i = list_check( client_users, client_user ); + if ( i != -1 ) + gui_list_select( list_users, 0, i, 1 ); + } +} + +/* test a level until all balls got lost */ +void client_game_test_level( Level *level ) +{ + stk_display_fade( STK_FADE_IN, STK_FADE_DEFAULT_TIME ); + client_game_init_testing( level ); + client_game_run(); + client_game_finalize(); + stk_display_fade( STK_FADE_OUT, STK_FADE_DEFAULT_TIME ); +} diff --git a/project/jni/application/lbreakout2/client/game.h b/project/jni/application/lbreakout2/client/game.h new file mode 100644 index 000000000..3247c94c7 --- /dev/null +++ b/project/jni/application/lbreakout2/client/game.h @@ -0,0 +1,67 @@ +/*************************************************************************** + local_game.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* in game client states */ +enum { + CS_NONE = 0, + CS_RECV_LEVEL, /* wait for level data from server */ + CS_SCORE_TABLE, /* score table in local game */ + CS_FINAL_TABLE, /* final score table in local game */ + CS_FINAL_PLAYER_INFO, /* info that player cleared all levels */ + CS_RECV_STATS, /* wait for server to send stats */ + CS_FINAL_STATS, /* looking at final network player stats */ + CS_GET_READY, /* await click from user */ + CS_PLAY, /* render frame */ + CS_NEXT_PLAYER, /* cycle to next player in local game */ + CS_NEXT_LEVEL, /* init next level for player in local game */ + CS_RESTART_LEVEL, /* player begins at reset level next time */ + 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_QUIT, + CS_CONFIRM_RESTART, + CS_CONFIRM_CONTINUE, + CS_FATAL_ERROR, /* display error and quit game after it */ + 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 */ +void client_game_create(); +void client_game_delete(); + +/* create network/local game context and initiate game state: + * network needs to receive the level data and a local game + * has to load the next level */ +int client_game_init_local( char *setname ); +int client_game_init_network( char *opponent_name, int diff ); + +/* create local game context and initiate game state + * as given from slot 'slot_id'. */ +int client_game_resume_local( int slot_id ); + +/* finalize a game and free anything allocated by init process */ +void client_game_finalize(); + +/* run the state driven loop until game is broken up or finished */ +void client_game_run( void ); + +/* test a level until all balls got lost */ +void client_game_test_level( Level *level ); + diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/ABOUT b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/ABOUT new file mode 100644 index 000000000..673da2aa0 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/ABOUT @@ -0,0 +1,6 @@ +absolute B v0.8 +by Jurgen De Backer + annejurgen@pandora.be + +New version of the theme, well, it has changed a lot since the previous version, +and looks more consistent now. diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/Makefile.am b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/Makefile.am new file mode 100644 index 000000000..bec31dbe1 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/Makefile.am @@ -0,0 +1,15 @@ +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 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/AbsoluteB + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/AbsoluteB/$$file;\ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\AbsoluteB\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/Makefile.in b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/Makefile.in new file mode 100644 index 000000000..94c050c35 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/Makefile.in @@ -0,0 +1,372 @@ +# 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 = 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@ +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 = 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: $(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) --foreign client/gfx/AbsoluteB/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/AbsoluteB + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/AbsoluteB/$$file;\ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/client/gfx/AbsoluteB/README b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/README new file mode 100644 index 000000000..6bca133b2 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/README @@ -0,0 +1,13 @@ + +* Title : absolute B theme for LBreakout 2 by Jurgen De Backer + +* Version number 0.8 created on 6th December 2002 + +* Email-address : annejurgen@pandora.be + +* Description + +New version of the theme, well, it has changed a lot since the previous version, +and looks more consistent now. +The menu background, the in-game frame, the bricks , paddles, weapons, backgrounds and extras have been customized. +As you will notice , I modified some of the original backgrounds a bit, and created new ones, all using the Gimp. Hopefully you'll enjoy this theme. diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back0.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back0.png new file mode 100644 index 000000000..0b45d4590 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back0.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back1.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back1.png new file mode 100644 index 000000000..85f6386ca Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back1.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back2.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back2.png new file mode 100644 index 000000000..5be6d0d0f Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back2.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back3.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back3.png new file mode 100644 index 000000000..86bc2eb3c Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back3.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back4.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back4.png new file mode 100644 index 000000000..f786a9360 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back4.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back5.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back5.png new file mode 100644 index 000000000..52f346a21 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/back5.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/bricks.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/bricks.png new file mode 100644 index 000000000..c2dcbf432 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/bricks.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/extras.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/extras.png new file mode 100644 index 000000000..18d60d160 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/extras.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_left.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_left.png new file mode 100644 index 000000000..837aa1f2d Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_left.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_right.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_right.png new file mode 100644 index 000000000..c7b209f7c Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_right.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_top.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_top.png new file mode 100644 index 000000000..e3adfea45 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/fr_top.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/life.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/life.png new file mode 100644 index 000000000..b66180e0b Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/life.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/menuback.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/menuback.png new file mode 100644 index 000000000..abdffad33 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/menuback.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/paddle.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/paddle.png new file mode 100644 index 000000000..30793a7cd Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/paddle.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/shot.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/shot.png new file mode 100644 index 000000000..96a47c021 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/shot.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/AbsoluteB/weapon.png b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/weapon.png new file mode 100644 index 000000000..cc0ce5ae0 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/AbsoluteB/weapon.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Classic/ABOUT b/project/jni/application/lbreakout2/client/gfx/Classic/ABOUT new file mode 100644 index 000000000..eaa1754d7 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Classic/ABOUT @@ -0,0 +1,4 @@ +Classic v1.00 +Author: Michael Speck + +Original theme of LBreakout2 diff --git a/project/jni/application/lbreakout2/client/gfx/Classic/Makefile.am b/project/jni/application/lbreakout2/client/gfx/Classic/Makefile.am new file mode 100644 index 000000000..5a1a8d8fc --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Classic/Makefile.am @@ -0,0 +1,12 @@ +EXTRA_DIST = ABOUT + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/Classic + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/Classic/$$file;\ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\Classic\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done diff --git a/project/jni/application/lbreakout2/client/gfx/Classic/Makefile.in b/project/jni/application/lbreakout2/client/gfx/Classic/Makefile.in new file mode 100644 index 000000000..a29f1e7f9 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Classic/Makefile.in @@ -0,0 +1,368 @@ +# 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 = 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@ +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 = ABOUT +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) --foreign client/gfx/Classic/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/Classic + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/Classic/$$file;\ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/client/gfx/Makefile.am b/project/jni/application/lbreakout2/client/gfx/Makefile.am new file mode 100644 index 000000000..236358bd1 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Makefile.am @@ -0,0 +1,32 @@ +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 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/$$file;\ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done + @list='$(SUBDIRS)'; for subdir in $$list; do \ + (cd $$subdir \ + && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); \ + done diff --git a/project/jni/application/lbreakout2/client/gfx/Makefile.in b/project/jni/application/lbreakout2/client/gfx/Makefile.in new file mode 100644 index 000000000..20d8d44ec --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Makefile.in @@ -0,0 +1,545 @@ +# 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 = 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@ +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 = 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 +all: all-recursive + +.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) --foreign client/gfx/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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. +# To change the values of `make' variables: instead of editing Makefiles, +# (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. +$(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 \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + 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; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || 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 + +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 $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + 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; }'`; \ + 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 GTAGS GRTAGS GSYMS GPATH tags + +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 + 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 +check-am: all-am +check: check-recursive +all-am: Makefile +installdirs: installdirs-recursive +installdirs-am: +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/$$file;\ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done + @list='$(SUBDIRS)'; for subdir in $$list; do \ + (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/project/jni/application/lbreakout2/client/gfx/Moiree/ABOUT b/project/jni/application/lbreakout2/client/gfx/Moiree/ABOUT new file mode 100644 index 000000000..6f90b016f --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Moiree/ABOUT @@ -0,0 +1,6 @@ +Theme: moiree +Version: 1.0 +Author: Astrid +Email: astrid-peters@t-online.de +Description: If you like ascii quake, you will like this one too. + diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/Makefile.am b/project/jni/application/lbreakout2/client/gfx/Moiree/Makefile.am new file mode 100644 index 000000000..46e5366a3 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Moiree/Makefile.am @@ -0,0 +1,16 @@ +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 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/Moiree + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/Moiree/$$file;\ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\Moiree\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/Makefile.in b/project/jni/application/lbreakout2/client/gfx/Moiree/Makefile.in new file mode 100644 index 000000000..56e8d0c8c --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Moiree/Makefile.in @@ -0,0 +1,373 @@ +# 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 = 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@ +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 = 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: $(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) --foreign client/gfx/Moiree/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/Moiree + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/Moiree/$$file;\ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/client/gfx/Moiree/back0.png b/project/jni/application/lbreakout2/client/gfx/Moiree/back0.png new file mode 100644 index 000000000..e80d93b90 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/back0.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/back1.png b/project/jni/application/lbreakout2/client/gfx/Moiree/back1.png new file mode 100644 index 000000000..a106601de Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/back1.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/back2.png b/project/jni/application/lbreakout2/client/gfx/Moiree/back2.png new file mode 100644 index 000000000..b45f14aaf Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/back2.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/back3.png b/project/jni/application/lbreakout2/client/gfx/Moiree/back3.png new file mode 100644 index 000000000..b2ed969fe Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/back3.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/back4.png b/project/jni/application/lbreakout2/client/gfx/Moiree/back4.png new file mode 100644 index 000000000..47c000bf6 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/back4.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/back5.png b/project/jni/application/lbreakout2/client/gfx/Moiree/back5.png new file mode 100644 index 000000000..9c1a33617 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/back5.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/bricks.png b/project/jni/application/lbreakout2/client/gfx/Moiree/bricks.png new file mode 100644 index 000000000..26ece7892 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/bricks.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/extras.png b/project/jni/application/lbreakout2/client/gfx/Moiree/extras.png new file mode 100644 index 000000000..31978b9aa Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/extras.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/fr_left.png b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_left.png new file mode 100644 index 000000000..2ea4e2359 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_left.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/fr_mp_left.png b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_mp_left.png new file mode 100644 index 000000000..f5f67b95c Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_mp_left.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/fr_mp_right.png b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_mp_right.png new file mode 100644 index 000000000..3ef33b82e Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_mp_right.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/fr_right.png b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_right.png new file mode 100644 index 000000000..9c961150f Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_right.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/fr_top.png b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_top.png new file mode 100644 index 000000000..0da84e2a3 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/fr_top.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/life.png b/project/jni/application/lbreakout2/client/gfx/Moiree/life.png new file mode 100644 index 000000000..6dff15ef7 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/life.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Moiree/paddle.png b/project/jni/application/lbreakout2/client/gfx/Moiree/paddle.png new file mode 100644 index 000000000..f810b54c8 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Moiree/paddle.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/Makefile.am b/project/jni/application/lbreakout2/client/gfx/Oz/Makefile.am new file mode 100644 index 000000000..2b4a9e99b --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Oz/Makefile.am @@ -0,0 +1,15 @@ +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 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/Oz + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/Oz/$$file;\ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gfx\\Oz\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/Makefile.in b/project/jni/application/lbreakout2/client/gfx/Oz/Makefile.in new file mode 100644 index 000000000..bbd0bdcff --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Oz/Makefile.in @@ -0,0 +1,372 @@ +# 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 = 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@ +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 = 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: $(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) --foreign client/gfx/Oz/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gfx/Oz + @for file in $(EXTRA_DIST); do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gfx/Oz/$$file;\ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/client/gfx/Oz/README b/project/jni/application/lbreakout2/client/gfx/Oz/README new file mode 100644 index 000000000..c7adb90fa --- /dev/null +++ b/project/jni/application/lbreakout2/client/gfx/Oz/README @@ -0,0 +1,8 @@ +Title: Oz +Version: 1.0 +Author: Austin Henry +Email: ahenry@alumni.uvic.ca +Description: These graphics were all produced from photos taken on a trip to Australia. + Primarily from photos of interesting sand and rock formations. I + left the backgrounds other than the black ones, because they went + so well with the colour scheme. diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/back0.png b/project/jni/application/lbreakout2/client/gfx/Oz/back0.png new file mode 100644 index 000000000..9b34f5fad Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/back0.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/back1.png b/project/jni/application/lbreakout2/client/gfx/Oz/back1.png new file mode 100644 index 000000000..cd592e0d1 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/back1.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/back2.png b/project/jni/application/lbreakout2/client/gfx/Oz/back2.png new file mode 100644 index 000000000..27571a8b2 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/back2.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/back3.png b/project/jni/application/lbreakout2/client/gfx/Oz/back3.png new file mode 100644 index 000000000..25804cce3 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/back3.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/back4.png b/project/jni/application/lbreakout2/client/gfx/Oz/back4.png new file mode 100644 index 000000000..f84f0c751 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/back4.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/bricks.png b/project/jni/application/lbreakout2/client/gfx/Oz/bricks.png new file mode 100644 index 000000000..63dfaf390 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/bricks.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/fr_left.png b/project/jni/application/lbreakout2/client/gfx/Oz/fr_left.png new file mode 100644 index 000000000..b911d820b Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/fr_left.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/fr_right.png b/project/jni/application/lbreakout2/client/gfx/Oz/fr_right.png new file mode 100644 index 000000000..507e82965 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/fr_right.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/fr_top.png b/project/jni/application/lbreakout2/client/gfx/Oz/fr_top.png new file mode 100644 index 000000000..bc971ddfe Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/fr_top.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/life.png b/project/jni/application/lbreakout2/client/gfx/Oz/life.png new file mode 100644 index 000000000..5d81b530c Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/life.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/Oz/paddle.png b/project/jni/application/lbreakout2/client/gfx/Oz/paddle.png new file mode 100644 index 000000000..d57d89654 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/Oz/paddle.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/ammo.png b/project/jni/application/lbreakout2/client/gfx/ammo.png new file mode 100644 index 000000000..3b26cf3c8 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/ammo.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/back0.png b/project/jni/application/lbreakout2/client/gfx/back0.png new file mode 100644 index 000000000..f34321087 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/back0.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/back1.png b/project/jni/application/lbreakout2/client/gfx/back1.png new file mode 100644 index 000000000..cd592e0d1 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/back1.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/back2.png b/project/jni/application/lbreakout2/client/gfx/back2.png new file mode 100644 index 000000000..27571a8b2 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/back2.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/back3.png b/project/jni/application/lbreakout2/client/gfx/back3.png new file mode 100644 index 000000000..25804cce3 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/back3.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/back4.png b/project/jni/application/lbreakout2/client/gfx/back4.png new file mode 100644 index 000000000..f84f0c751 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/back4.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/back5.png b/project/jni/application/lbreakout2/client/gfx/back5.png new file mode 100644 index 000000000..1faf90fe9 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/back5.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/ball.png b/project/jni/application/lbreakout2/client/gfx/ball.png new file mode 100644 index 000000000..4a723fb84 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/ball.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/balloon.png b/project/jni/application/lbreakout2/client/gfx/balloon.png new file mode 100644 index 000000000..e6aa920b9 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/balloon.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/balloon_peek.png b/project/jni/application/lbreakout2/client/gfx/balloon_peek.png new file mode 100644 index 000000000..1d21bfede Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/balloon_peek.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/bricks.png b/project/jni/application/lbreakout2/client/gfx/bricks.png new file mode 100644 index 000000000..ae4f22c4b Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/bricks.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/buttons.png b/project/jni/application/lbreakout2/client/gfx/buttons.png new file mode 100644 index 000000000..735cdd986 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/buttons.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/confirm_buttons.png b/project/jni/application/lbreakout2/client/gfx/confirm_buttons.png new file mode 100644 index 000000000..055d6a902 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/confirm_buttons.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/cr_back.png b/project/jni/application/lbreakout2/client/gfx/cr_back.png new file mode 100644 index 000000000..5e9c6c67c Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/cr_back.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/explosions.png b/project/jni/application/lbreakout2/client/gfx/explosions.png new file mode 100644 index 000000000..a3b154ff8 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/explosions.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/explosions_dark.png b/project/jni/application/lbreakout2/client/gfx/explosions_dark.png new file mode 100644 index 000000000..63be0d794 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/explosions_dark.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/extras.png b/project/jni/application/lbreakout2/client/gfx/extras.png new file mode 100644 index 000000000..f9c0edfb6 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/extras.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_frame.png b/project/jni/application/lbreakout2/client/gfx/f_frame.png new file mode 100644 index 000000000..f0913984c Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_frame.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_game.png b/project/jni/application/lbreakout2/client/gfx/f_game.png new file mode 100644 index 000000000..280e2f563 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_game.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_small_red.png b/project/jni/application/lbreakout2/client/gfx/f_small_red.png new file mode 100644 index 000000000..6baeaaef7 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_small_red.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_small_white.png b/project/jni/application/lbreakout2/client/gfx/f_small_white.png new file mode 100644 index 000000000..e647e8915 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_small_white.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_small_yellow.png b/project/jni/application/lbreakout2/client/gfx/f_small_yellow.png new file mode 100644 index 000000000..c2b19cdc0 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_small_yellow.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_tiny_black.png b/project/jni/application/lbreakout2/client/gfx/f_tiny_black.png new file mode 100644 index 000000000..68ffc98f2 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_tiny_black.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_white.png b/project/jni/application/lbreakout2/client/gfx/f_white.png new file mode 100644 index 000000000..65ff880b6 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_white.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/f_yellow.png b/project/jni/application/lbreakout2/client/gfx/f_yellow.png new file mode 100644 index 000000000..9bf08d3e8 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/f_yellow.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_hori.png b/project/jni/application/lbreakout2/client/gfx/fr_hori.png new file mode 100644 index 000000000..0aa7e60ff Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_hori.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_left.png b/project/jni/application/lbreakout2/client/gfx/fr_left.png new file mode 100644 index 000000000..beb2ad112 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_left.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_llc.png b/project/jni/application/lbreakout2/client/gfx/fr_llc.png new file mode 100644 index 000000000..21a044c24 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_llc.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_luc.png b/project/jni/application/lbreakout2/client/gfx/fr_luc.png new file mode 100644 index 000000000..46c011d1c Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_luc.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_mp_left.png b/project/jni/application/lbreakout2/client/gfx/fr_mp_left.png new file mode 100644 index 000000000..8c786c357 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_mp_left.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_mp_right.png b/project/jni/application/lbreakout2/client/gfx/fr_mp_right.png new file mode 100644 index 000000000..4df2632b2 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_mp_right.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_right.png b/project/jni/application/lbreakout2/client/gfx/fr_right.png new file mode 100644 index 000000000..ecd1840b7 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_right.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_rlc.png b/project/jni/application/lbreakout2/client/gfx/fr_rlc.png new file mode 100644 index 000000000..85d15458d Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_rlc.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_ruc.png b/project/jni/application/lbreakout2/client/gfx/fr_ruc.png new file mode 100644 index 000000000..fc6c4f6d2 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_ruc.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_top.png b/project/jni/application/lbreakout2/client/gfx/fr_top.png new file mode 100644 index 000000000..235330cfc Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_top.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/fr_vert.png b/project/jni/application/lbreakout2/client/gfx/fr_vert.png new file mode 100644 index 000000000..1ec410bd1 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/fr_vert.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/life.png b/project/jni/application/lbreakout2/client/gfx/life.png new file mode 100644 index 000000000..a0477c03b Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/life.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/loading.png b/project/jni/application/lbreakout2/client/gfx/loading.png new file mode 100644 index 000000000..a8faff787 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/loading.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/menuback.png b/project/jni/application/lbreakout2/client/gfx/menuback.png new file mode 100644 index 000000000..cfb605c4e Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/menuback.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/nukeback.png b/project/jni/application/lbreakout2/client/gfx/nukeback.png new file mode 100644 index 000000000..0b45d4590 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/nukeback.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/paddle.png b/project/jni/application/lbreakout2/client/gfx/paddle.png new file mode 100644 index 000000000..021994fff Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/paddle.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/scroll_down.png b/project/jni/application/lbreakout2/client/gfx/scroll_down.png new file mode 100644 index 000000000..b07e170b4 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/scroll_down.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/scroll_track.png b/project/jni/application/lbreakout2/client/gfx/scroll_track.png new file mode 100644 index 000000000..96b25a999 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/scroll_track.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/scroll_up.png b/project/jni/application/lbreakout2/client/gfx/scroll_up.png new file mode 100644 index 000000000..a86d8e7a7 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/scroll_up.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/sel_frame.png b/project/jni/application/lbreakout2/client/gfx/sel_frame.png new file mode 100644 index 000000000..ac1a6a8ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/sel_frame.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/shine.png b/project/jni/application/lbreakout2/client/gfx/shine.png new file mode 100644 index 000000000..bbbeb6cc1 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/shine.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/shot.png b/project/jni/application/lbreakout2/client/gfx/shot.png new file mode 100644 index 000000000..129b34c2a Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/shot.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/warp.png b/project/jni/application/lbreakout2/client/gfx/warp.png new file mode 100644 index 000000000..4f019fbd9 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/warp.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/weapon.png b/project/jni/application/lbreakout2/client/gfx/weapon.png new file mode 100644 index 000000000..e8f10bdd4 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/weapon.png differ diff --git a/project/jni/application/lbreakout2/client/gfx/win_icon.png b/project/jni/application/lbreakout2/client/gfx/win_icon.png new file mode 100644 index 000000000..7b53fe2ac Binary files /dev/null and b/project/jni/application/lbreakout2/client/gfx/win_icon.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/Makefile.am b/project/jni/application/lbreakout2/client/gui_theme/Makefile.am new file mode 100644 index 000000000..aed400c90 --- /dev/null +++ b/project/jni/application/lbreakout2/client/gui_theme/Makefile.am @@ -0,0 +1,19 @@ +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 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gui_theme + @for file in $(EXTRA_DIST); do \ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gui_theme/$$file; \ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\gui_theme\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done + diff --git a/project/jni/application/lbreakout2/client/gui_theme/Makefile.in b/project/jni/application/lbreakout2/client/gui_theme/Makefile.in new file mode 100644 index 000000000..59e88f84a --- /dev/null +++ b/project/jni/application/lbreakout2/client/gui_theme/Makefile.in @@ -0,0 +1,375 @@ +# 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 = 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@ +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 = 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: $(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) --foreign client/gui_theme/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/gui_theme + @for file in $(EXTRA_DIST); do \ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/gui_theme/$$file; \ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/client/gui_theme/box_frame.png b/project/jni/application/lbreakout2/client/gui_theme/box_frame.png new file mode 100644 index 000000000..7f1405173 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/box_frame.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/box_wallpaper.png b/project/jni/application/lbreakout2/client/gui_theme/box_wallpaper.png new file mode 100644 index 000000000..c7f11e5ba Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/box_wallpaper.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/button_frame_clicked.png b/project/jni/application/lbreakout2/client/gui_theme/button_frame_clicked.png new file mode 100644 index 000000000..0813f1b41 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/button_frame_clicked.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/button_frame_normal.png b/project/jni/application/lbreakout2/client/gui_theme/button_frame_normal.png new file mode 100644 index 000000000..407e44ffd Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/button_frame_normal.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/button_wallpaper_focused.png b/project/jni/application/lbreakout2/client/gui_theme/button_wallpaper_focused.png new file mode 100644 index 000000000..976993de2 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/button_wallpaper_focused.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/button_wallpaper_normal.png b/project/jni/application/lbreakout2/client/gui_theme/button_wallpaper_normal.png new file mode 100644 index 000000000..7de4f3255 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/button_wallpaper_normal.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/checkbox.png b/project/jni/application/lbreakout2/client/gui_theme/checkbox.png new file mode 100644 index 000000000..495aab317 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/checkbox.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/click.wav b/project/jni/application/lbreakout2/client/gui_theme/click.wav new file mode 100644 index 000000000..26c46f84f Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/click.wav differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/edit.wav b/project/jni/application/lbreakout2/client/gui_theme/edit.wav new file mode 100644 index 000000000..fae0d77ba Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/edit.wav differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/font.png b/project/jni/application/lbreakout2/client/gui_theme/font.png new file mode 100644 index 000000000..3367eb28e Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/font.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/list_item_color.png b/project/jni/application/lbreakout2/client/gui_theme/list_item_color.png new file mode 100644 index 000000000..c9fd9e912 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/list_item_color.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/progress_high.png b/project/jni/application/lbreakout2/client/gui_theme/progress_high.png new file mode 100644 index 000000000..265f22410 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/progress_high.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/progress_low.png b/project/jni/application/lbreakout2/client/gui_theme/progress_low.png new file mode 100644 index 000000000..cb8667143 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/progress_low.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/progress_medium.png b/project/jni/application/lbreakout2/client/gui_theme/progress_medium.png new file mode 100644 index 000000000..bc00a5034 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/progress_medium.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/scrollbar_arrows.png b/project/jni/application/lbreakout2/client/gui_theme/scrollbar_arrows.png new file mode 100644 index 000000000..224fd6339 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/scrollbar_arrows.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/spinbutton_arrows.png b/project/jni/application/lbreakout2/client/gui_theme/spinbutton_arrows.png new file mode 100644 index 000000000..da5b4947d Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/spinbutton_arrows.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/widget_frame.png b/project/jni/application/lbreakout2/client/gui_theme/widget_frame.png new file mode 100644 index 000000000..cb5cc42b7 Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/widget_frame.png differ diff --git a/project/jni/application/lbreakout2/client/gui_theme/widget_wallpaper.png b/project/jni/application/lbreakout2/client/gui_theme/widget_wallpaper.png new file mode 100644 index 000000000..07ea5905b Binary files /dev/null and b/project/jni/application/lbreakout2/client/gui_theme/widget_wallpaper.png differ diff --git a/project/jni/application/lbreakout2/client/help.c b/project/jni/application/lbreakout2/client/help.c new file mode 100644 index 000000000..b0ca21346 --- /dev/null +++ b/project/jni/application/lbreakout2/client/help.c @@ -0,0 +1,388 @@ +/*************************************************************************** + help.c - description + ------------------- + begin : Sat Dec 15 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "config.h" +#include "event.h" + +StkFont *help_caption_font = 0; +StkFont *help_font = 0; +SDL_Surface *help_bkgnd = 0; +int side_count = 4; + +extern SDL_Surface *stk_display; +extern SDL_Surface *extra_pic; +extern SDL_Surface *brick_pic; +extern int stk_quit_request; +extern Config config; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Draw title. +==================================================================== +*/ +void draw_title( ) +{ + 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") ); +} +/* +==================================================================== +Add footnote. +==================================================================== +*/ +void draw_footnote( int side ) +{ + char buf[256]; + help_font->align = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_BOTTOM; + sprintf( buf, "%i / %i", side, side_count ); + 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") ); + stk_font_write( help_font, + stk_display, 2, stk_display->h - 2, STK_OPAQUE, buf ); +} + +/* +==================================================================== +Draw bonus info +==================================================================== +*/ +void draw_bonus_info( int x, int y, int id, char *text ) +{ + stk_surface_blit( + extra_pic, id * BRICK_WIDTH, 0, BRICK_WIDTH, BRICK_HEIGHT, + stk_display, x, y ); + help_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_CENTER_Y; + stk_font_write( help_font, stk_display, + x + BRICK_WIDTH + 10, y + BRICK_HEIGHT / 2, STK_OPAQUE, text ); +} + +/* +==================================================================== +Draw brick info +==================================================================== +*/ +void draw_brick_info( int x, int y, int id, char *text ) +{ + stk_surface_blit( + brick_pic, id * BRICK_WIDTH, 0, BRICK_WIDTH, BRICK_HEIGHT, + stk_display, x, y ); + help_font->align = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_CENTER_Y; + stk_font_write( help_font, stk_display, + x + BRICK_WIDTH + 10, y + BRICK_HEIGHT / 2, STK_OPAQUE, text ); +} + +/* +==================================================================== +Draw bonus info screen. +==================================================================== +*/ +void draw_bonus_screen() +{ + int bonus_x = 20, bonus_y = 80, bonus_w = 200, bonus_h = 30; + int malus_x = 20, malus_y = 330, malus_w = 200, malus_h = 30; + + stk_surface_blit( help_bkgnd, 0,0,-1,-1, stk_display, 0,0 ); + draw_title(); + + /* 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 penalties") ); + 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") ); + + /* penalties */ + stk_font_write( help_caption_font, stk_display, + malus_x, malus_y - 30, STK_OPAQUE, _("Penalties:") ); + 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 penalties") ); + 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 ); + + stk_display_update( STK_UPDATE_ALL ); +} +/* +==================================================================== +Draw hint +==================================================================== +*/ +void draw_hint( int x, int y, char *text ) +{ + stk_font_write( help_font, stk_display, + x, y, STK_OPAQUE, text ); +} +/* +==================================================================== +Draw hints +==================================================================== +*/ +void draw_hints_screen() +{ + int hint_x = 20, hint_y = 80, hint_h = 20; + + stk_surface_blit( help_bkgnd, 0,0,-1,-1, stk_display, 0,0 ); + draw_title(); + + 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'.") ); + + draw_footnote( 3 ); + + stk_display_update( STK_UPDATE_ALL ); +} +/* +==================================================================== +Draw ingame hints +==================================================================== +*/ +void draw_ingame_hints_screen() +{ + int brick_x = 20, brick_y = 210, brick_h = 30; + int extra_x = 20, extra_y = 80, extra_h = 30; + + stk_surface_blit( help_bkgnd, 0,0,-1,-1, stk_display, 0,0 ); + draw_title(); + + 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/penalties.") ); + draw_bonus_info( extra_x, extra_y + extra_h * 1, 23, _("Resets all active bonuses and penalties.") ); + draw_bonus_info( extra_x, extra_y + extra_h * 2, 24, _("Adds 7 seconds to all active bonuses/penalties.") ); + + 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.") ); + + draw_footnote( 2 ); + + stk_display_update( STK_UPDATE_ALL ); +} +/* +==================================================================== +Draw trouble shooting +==================================================================== +*/ +void draw_trouble( int x, int y, char *text ) +{ + draw_hint( x, y, text ); +} +void draw_trouble_screen() +{ + int trouble_x = 20, trouble_y = 90, trouble_h = 20; + int manual_x = 20, manual_y = 310, manual_h = 20; + stk_surface_blit( help_bkgnd, 0,0,-1,-1, stk_display, 0,0 ); + draw_title(); + + 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") ); + + draw_footnote( 4 ); + + stk_display_update( STK_UPDATE_ALL ); +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Load/delete help resources. +==================================================================== +*/ +void help_create() +{ + help_font = stk_font_load( SDL_SWSURFACE, "f_small_yellow.png" ); + SDL_SetColorKey( help_font->surface, SDL_SRCCOLORKEY, + stk_surface_get_pixel( help_font->surface, 0,0 ) ); + help_caption_font = stk_font_load( SDL_SWSURFACE, "f_yellow.png" ); + SDL_SetColorKey( help_caption_font->surface, SDL_SRCCOLORKEY, + stk_surface_get_pixel( help_caption_font->surface, 0,0 ) ); + /* background -- will be filled when running help */ + help_bkgnd = stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + SDL_SetColorKey( help_bkgnd, 0, 0 ); +} +void help_delete() +{ + stk_font_free( &help_font ); + stk_font_free( &help_caption_font ); + stk_surface_free( &help_bkgnd ); +} + +/* +==================================================================== +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; + SDL_Event event; + int cur_side = 0; + SDL_Surface *buffer = + stk_surface_create(SDL_SWSURFACE,stk_display->w, stk_display->h); + + /* buffer screen */ + stk_surface_blit( stk_display, 0,0,-1,-1, buffer, 0,0 ); + SDL_SetColorKey(buffer, 0, 0); + + /* gray screen and use as background */ + stk_surface_gray( stk_display, 0,0,-1,-1, 1 ); + stk_surface_blit( stk_display, 0,0,-1,-1, help_bkgnd, 0,0 ); + + draw_bonus_screen(); + 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; + case SDLK_LEFT: + case SDLK_RIGHT: + if ( event.key.keysym.sym == SDLK_RIGHT ) { + cur_side++; + if ( cur_side == side_count ) cur_side = 0; + } + else { + cur_side--; + if ( cur_side < 0 ) cur_side = side_count - 1; + } + 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; + case SDL_MOUSEBUTTONUP: + if ( event.button.button == STK_BUTTON_LEFT ) { + cur_side++; + if ( cur_side == side_count ) cur_side = 0; + } + else { + cur_side--; + if ( cur_side < 0 ) cur_side = side_count - 1; + } + help_draw_side(cur_side); + break; + default: break; + } + } + + /* redraw screen */ + stk_surface_blit( buffer, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_update( STK_UPDATE_ALL ); + SDL_FreeSurface( buffer ); + + /* reset the relative position so paddle wont jump */ + SDL_GetRelativeMouseState(0,0); +} diff --git a/project/jni/application/lbreakout2/client/help.h b/project/jni/application/lbreakout2/client/help.h new file mode 100644 index 000000000..29561b61d --- /dev/null +++ b/project/jni/application/lbreakout2/client/help.h @@ -0,0 +1,36 @@ +/*************************************************************************** + item.h - description + ------------------- + begin : Sat Dec 15 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __HELP_H +#define __HELP_H + +/* +==================================================================== +Load/delete help resources. +==================================================================== +*/ +void help_create(); +void help_delete(); + +/* +==================================================================== +Run help. +==================================================================== +*/ +void help_run(); + +#endif diff --git a/project/jni/application/lbreakout2/client/hint.c b/project/jni/application/lbreakout2/client/hint.c new file mode 100644 index 000000000..c2e5ed8a1 --- /dev/null +++ b/project/jni/application/lbreakout2/client/hint.c @@ -0,0 +1,277 @@ +/*************************************************************************** + hint.c - description + ------------------- + begin : Sun Jan 6 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "hint.h" +#include "config.h" + +SDL_Surface *hint_balloon = 0; +SDL_Surface *hint_bkgnd = 0; +SDL_Surface *balloon = 0; +SDL_Surface *balloon_peek = 0; +int balloon_peek_add_x = 9, balloon_peek_add_y = 9; /* added to actual balloon to display peek */ +int balloon_tile_size; +Hint *cur_hint = 0; +StkFont *hint_font = 0; +int hint_delay = 0; +float hint_alpha; +int hint_text_x = 10 + 9, hint_text_y = 10; /* text is drawn at this offset within balloon */ + +extern Config config; +extern SDL_Surface *stk_display; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Create actual hint picture displayed. +==================================================================== +*/ +void hint_create_pic( Hint *hint ) +{ + int x, y, px, py; + stk_surface_free( &hint_balloon ); + /* get screen size and position */ + hint->rect.w = 240 + balloon_peek_add_x; + hint->rect.h = balloon_tile_size * ( 2 + ( hint->text->count + 0 ) * hint_font->height / balloon_tile_size ) + balloon_peek_add_y; + hint_set_pos( hint, hint->peek_x, hint->peek_y ); + /* build surface */ + hint_balloon = stk_surface_create( SDL_SWSURFACE, cur_hint->rect.w, cur_hint->rect.h ); + for ( y = 0; y < cur_hint->rect.h - balloon_peek_add_y; y += balloon_tile_size ) + for ( x = 0; x < cur_hint->rect.w - balloon_peek_add_x; x += balloon_tile_size ) { + px = x + balloon_peek_add_x; py = y; + /* get proper tile */ + if ( y == 0 ) { + if ( x == 0 ) + stk_surface_blit( balloon, 0, 0, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + else + if ( x >= cur_hint->rect.w - balloon_peek_add_x - balloon_tile_size ) + stk_surface_blit( balloon, balloon_tile_size * 2, 0, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + else + stk_surface_blit( balloon, balloon_tile_size, 0, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + } + else + if ( y >= cur_hint->rect.h - balloon_peek_add_y - balloon_tile_size ) { + if ( x == 0 ) + stk_surface_blit( balloon, 0, balloon_tile_size * 2, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + else + if ( x >= cur_hint->rect.w - balloon_peek_add_x - balloon_tile_size ) + stk_surface_blit( balloon, + balloon_tile_size * 2, balloon_tile_size * 2, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + else + stk_surface_blit( balloon, + balloon_tile_size, balloon_tile_size * 2, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + } + else { + if ( x == 0 ) + stk_surface_blit( balloon, 0, balloon_tile_size, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + else + if ( x >= cur_hint->rect.w - balloon_peek_add_x - balloon_tile_size ) + stk_surface_blit( balloon, + balloon_tile_size * 2, balloon_tile_size, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + else + stk_surface_blit( balloon, + balloon_tile_size, balloon_tile_size, + balloon_tile_size, balloon_tile_size, + hint_balloon, px, py ); + } + } + /* peek */ + stk_surface_blit( balloon_peek, 0, 0, balloon_peek->w, balloon_peek->h, + hint_balloon, 0, cur_hint->rect.h - balloon_peek->h ); + /* text */ + for ( y = 0, x = 0; x < cur_hint->text->count; y += hint_font->height, x++ ) + stk_font_write( hint_font, + hint_balloon, hint_text_x, hint_text_y + y, + -1, cur_hint->text->lines[x] ); +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Load/delete hint resources. +==================================================================== +*/ +void hint_load_res() +{ + balloon = stk_surface_load( SDL_SWSURFACE, "balloon.png" ); + balloon_peek = stk_surface_load( SDL_SWSURFACE, "balloon_peek.png" ); + balloon_tile_size = balloon->w / 3; + hint_font = stk_font_load( SDL_SWSURFACE, "f_tiny_black.png" ); +} +void hint_delete_res() +{ + stk_surface_free( &balloon ); + stk_surface_free( &balloon_peek ); + stk_font_free( &hint_font ); + stk_surface_free( &hint_balloon ); +} + +/* +==================================================================== +Create a hint. The passed x,y position is where the end of the +Sprechblasenspitze is. Contents is converted to lines (duplicated). +==================================================================== +*/ +Hint* hint_create( int x, int y, char *contents ) +{ + Hint *hint = calloc( 1, sizeof( Hint ) ); + /* get text and position */ + hint->text = create_text( contents, 36 ); + hint->peek_x = x; + hint->peek_y = y; + return hint; +} +void hint_delete( Hint *hint ) +{ + if ( !hint ) + return; + free( hint ); +} + +/* +==================================================================== +Set the background on which the hints will be displayed. +==================================================================== +*/ +void hint_set_bkgnd( SDL_Surface *bkgnd ) +{ + hint_bkgnd = bkgnd; +} + +/* +==================================================================== +Set this hint as actual one. If NULL was passed no hint will be +handled. +==================================================================== +*/ +void hint_set( Hint *hint ) +{ + if ( config.use_hints ) + cur_hint = hint; + else + cur_hint = 0; + if ( cur_hint ) { + hint_alpha = 0; + hint_delay = 500; + hint_create_pic( hint ); + /* 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; + } +} + +/* +==================================================================== +Set hint to this position. +==================================================================== +*/ +void hint_set_pos( Hint *hint, int x, int y ) +{ + hint->peek_x = x; + hint->peek_y = y; + /* adjust screen position so that balloon's peek is at x,y */ + hint->rect.x = x; + hint->rect.y = y - hint->rect.h - balloon_peek->h / 2; +} + +/* +==================================================================== +Update the contents of a hint. +==================================================================== +*/ +void hint_set_contents( Hint *hint, char *contents ) +{ + delete_text( hint->text ); + hint->text = create_text( contents, 36 ); +} + +/* +==================================================================== +Show/hide/update _current_ hint. +==================================================================== +*/ +void hint_hide() +{ + if ( !cur_hint || hint_delay ) + return; + stk_surface_blit( hint_bkgnd, cur_hint->rect.x, cur_hint->rect.y, + cur_hint->rect.w, cur_hint->rect.h, + stk_display, cur_hint->rect.x, cur_hint->rect.y); + stk_display_store_drect(); + /* peek */ + stk_surface_blit( + hint_bkgnd, + cur_hint->rect.x + balloon_peek_add_x, + cur_hint->rect.y + cur_hint->rect.h + balloon_peek_add_y, + balloon_peek->w, balloon_peek->h, + stk_display, + cur_hint->rect.x + balloon_peek_add_x, + cur_hint->rect.y + cur_hint->rect.h + balloon_peek_add_y ); + stk_display_store_drect(); +} +void hint_show() +{ + if ( !cur_hint || hint_delay > 0 ) + return; + SDL_SetAlpha( hint_balloon, SDL_SRCALPHA, hint_alpha ); + stk_surface_blit( hint_balloon, 0, 0, + cur_hint->rect.w, cur_hint->rect.h, + stk_display, cur_hint->rect.x, cur_hint->rect.y ); + stk_display_store_drect(); +} +void hint_update( int ms ) +{ + /* delay */ + if ( hint_delay > 0 ) { + hint_delay -= ms; + if ( hint_delay <= 0 ) + hint_delay = 0; + } + /* if delay fade blend if if still alpha */ + if ( hint_delay == 0 && hint_alpha < 255 ) { + hint_alpha += 1.0 * ms; + if ( hint_alpha > 255 ) + hint_alpha = 255; + } +} diff --git a/project/jni/application/lbreakout2/client/hint.h b/project/jni/application/lbreakout2/client/hint.h new file mode 100644 index 000000000..91f4a0cb4 --- /dev/null +++ b/project/jni/application/lbreakout2/client/hint.h @@ -0,0 +1,83 @@ +/*************************************************************************** + hint.h - description + ------------------- + begin : Sun Jan 6 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __HINT_H +#define __HINT_H + +typedef struct { + Text *text; /* contents */ + int peek_x, peek_y; + /* screen geometry -- computed when displaying hint */ + SDL_Rect rect; +} Hint; + +/* +==================================================================== +Load/delete hint resources. +==================================================================== +*/ +void hint_load_res(); +void hint_delete_res(); + +/* +==================================================================== +Create a hint. The passed x,y position is where the end of the +Sprechblasenspitze is. Contents is converted to lines (duplicated). +==================================================================== +*/ +Hint* hint_create( int x, int y, char *contents ); +void hint_delete( Hint *hint ); + +/* +==================================================================== +Set the background on which the hints will be displayed. +==================================================================== +*/ +void hint_set_bkgnd( SDL_Surface *bkgnd ); + +/* +==================================================================== +Set this hint as actual one. If NULL was passed no hint will be +handled. +==================================================================== +*/ +void hint_set( Hint *hint ); + +/* +==================================================================== +Set hint to this position. +==================================================================== +*/ +void hint_set_pos( Hint *hint, int x, int y ); + +/* +==================================================================== +Update the contents of a hint. +==================================================================== +*/ +void hint_set_contents( Hint *hint, char *contents ); + +/* +==================================================================== +Show/hide/update _current_ hint. +==================================================================== +*/ +void hint_hide(); +void hint_show(); +void hint_update( int ms ); + +#endif diff --git a/project/jni/application/lbreakout2/client/item.c b/project/jni/application/lbreakout2/client/item.c new file mode 100644 index 000000000..1954dc865 --- /dev/null +++ b/project/jni/application/lbreakout2/client/item.c @@ -0,0 +1,241 @@ +/*************************************************************************** + item.c - description + ------------------- + begin : Thu Sep 20 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "manager.h" + +extern SDL_Surface *stk_display; +extern SDL_Surface *mbkgnd; +extern StkFont *mfont, *mhfont; + +/* +==================================================================== +Locals +==================================================================== +*/ + +float alpha_change = 0.4; + +/* +==================================================================== +Create a basic item. +==================================================================== +*/ +Item *item_create_basic( int type, char *name, char *hint ) +{ + Item *item = calloc( 1, sizeof( Item ) ); + /* name */ + item->name = strdup( name ); + /* id */ + item->item_id = -1; + /* alpha */ + item->halpha = 0; + item->alpha = 255; + /* type */ + item->type = type; + /* hint if astring was passed */ + if ( hint == 0 ) + item->hint = 0; + else + item->hint = hint_create( 0, 0, hint ); /* the position will be set when this item is adjusted in menu adjust */ + /* fonts */ + item->font = mfont; + item->hfont = mhfont; + /* background */ + item->bkgnd = mbkgnd; + return item; +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Create item. +Return Value: item +==================================================================== +*/ +Item *item_create_separator( char *name ) +{ + Item *item = item_create_basic( ITEM_SEPARATOR, name, 0 ); + return item; +} +Item *item_create_range( char *name, char *hint, int *val_int, int min, int max, int step ) +{ + Item *item = item_create_basic( ITEM_RANGE, name, hint ); + item->value = value_create_range_int( val_int, min, max, step ); + return item; +} +Item *item_create_switch( char *name, char *hint, int *val_int, char *str_off, char *str_on ) +{ + char **names = calloc( 2, sizeof( char* ) ); + Item *item = item_create_basic( ITEM_SWITCH, name, hint ); + names[0] = strdup( str_off ); + names[1] = strdup( str_on ); + item->value = value_create_range_str( val_int, names, 2 ); + free( names[0] ); free( names[1] ); free( names ); + return item; +} +Item *item_create_switch_x( char *name, char *hint, int *val_int, char **strings, int count ) +{ + Item *item = item_create_basic( ITEM_SWITCH_X, name, hint ); + item->value = value_create_range_str( val_int, strings, count ); + return item; +} +Item *item_create_key( char *name, char *hint, int *val_int, int *filter ) +{ + Item *item = item_create_basic( ITEM_KEY, name, hint ); + item->value = value_create_key( val_int, filter ); + return item; +} +Item *item_create_edit( char *name, char *hint, char *val_str, int limit ) +{ + Item *item = item_create_basic( ITEM_EDIT, name, hint ); + item->value = value_create_edit( val_str, limit ); + return item; +} +Item *item_create_link( char *name, char *hint, void *menu ) +{ + Item *item = item_create_basic( ITEM_LINK, name, hint ); + item->link = menu; + return item; +} +Item *item_create_action( char *name, char *hint, int item_id ) +{ + Item *item = item_create_basic( ITEM_ACTION, name, hint ); + item->item_id = item_id; + return item; +} +/* +==================================================================== +Delete item (void pointer for compatiblity when using with list) +==================================================================== +*/ +void item_delete( void *pitem ) +{ + Item *item = (Item*)pitem; + if ( !item ) return; + if ( item->name ) free( item->name ); + if ( item->value ) value_delete( item->value ); + if ( item->hint ) hint_delete( item->hint ); + free( item ); +} +/* +==================================================================== +Adjust alignment of name and value strings +==================================================================== +*/ +void item_adjust( Item *item ) +{ + /* alignment - name */ + item->nx = 0; item->ny = item->h / 2; item->nalign = STK_FONT_ALIGN_LEFT | STK_FONT_ALIGN_CENTER_Y; + if ( item->type == ITEM_LINK || item->type == ITEM_ACTION || item->type == ITEM_SEPARATOR ) { + item->nx = item->w / 2; + item->nalign = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_CENTER_Y; + } + item->vx = item->w - 1; item->vy = item->h / 2; item->valign = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_CENTER_Y; + /* hint position */ + if ( item->hint ) + hint_set_pos( item->hint, item->x + item->w * 0.6, item->y ); +} +/* +==================================================================== +Hide/Show item +==================================================================== +*/ +void item_hide( Item *item ) +{ + stk_surface_blit( item->bkgnd, + item->x, item->y, item->w, item->h, + stk_display, item->x, item->y ); + stk_display_store_drect(); +} +void item_show( Item *item ) +{ + /* name */ + item->font->align = item->nalign; + item->hfont->align = item->nalign; + stk_font_write( item->font, stk_display, + item->x + item->nx, item->y + item->ny, + item->alpha, item->name ); + if ( item->halpha > 0 ) + stk_font_write( item->hfont, stk_display, + item->x + item->nx, item->y + item->ny, + item->halpha, item->name ); + stk_display_store_drect(); + /* value string */ + if ( item->value ) { + item->font->align = item->valign; + item->hfont->align = item->valign; + /* Is this a selected edit item? */ + if (item->highlighted && (item->type == ITEM_EDIT)) + { + write_text_with_cursor( item->font, stk_display, + item->x + item->vx, item->y + item->vy, + item->value->val_str, item->alpha ); + if ( item->halpha > 0 ) + write_text_with_cursor( item->hfont, stk_display, + item->x + item->vx, item->y + item->vy, + item->value->val_str, item->halpha ); + } + else + { + stk_font_write( item->font, stk_display, + item->x + item->vx, item->y + item->vy, + item->alpha, item->value->val_str ); + if ( item->halpha > 0 ) + stk_font_write( item->hfont, stk_display, + item->x + item->vx, item->y + item->vy, + item->halpha, item->value->val_str ); + } + stk_display_store_drect(); + } +} +/* +==================================================================== +Update alpha of item +==================================================================== +*/ +void item_update_alpha( Item *item, int ms ) +{ + if ( item->highlighted ) { + item->halpha = 255; + item->alpha = 0; + } + else { + if ( item->halpha > 0 ) { + item->halpha -= alpha_change * ms; + if ( item->halpha < 0 ) item->halpha = 0; + } + if ( item->alpha < 255 ) { + item->alpha += alpha_change * ms; + if ( item->alpha > 255 ) item->alpha = 255; + } + } +} +/* +==================================================================== +Check if position's on item. +==================================================================== +*/ +int item_focus( Item *item, int x, int y ) +{ + if ( item->type == ITEM_SEPARATOR ) return 0; /* may never be focused */ + return ( x >= item->x && y >= item->y && x < item->x + item->w && y < item->y + item->h ); +} diff --git a/project/jni/application/lbreakout2/client/item.h b/project/jni/application/lbreakout2/client/item.h new file mode 100644 index 000000000..346b991d3 --- /dev/null +++ b/project/jni/application/lbreakout2/client/item.h @@ -0,0 +1,106 @@ +/*************************************************************************** + item.h - description + ------------------- + begin : Thu Sep 20 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __ITEM_H +#define __ITEM_H + +#include "hint.h" + +/* +==================================================================== +Item of menu +==================================================================== +*/ +enum { + ITEM_SEPARATOR = 0, + ITEM_SWITCH, + ITEM_SWITCH_X, + ITEM_RANGE, + ITEM_KEY, + ITEM_EDIT, + ITEM_LINK, + ITEM_ACTION +}; +typedef struct { + Value *value; /* value of item */ + int type; /* type as listed above */ + char *name; /* name of item -- duplicated */ + int item_id; /* id of item (returned as action if ITEM_ACTION) */ + int x, y, w, h; /* position and size in screen */ + int nx, ny; /* position where name is drawn */ + int nalign; /* align of name: either left-aligned + or centered (only if link to another menu) */ + int vx, vy; /* position where value string is drawn right-aligned */ + int valign; /* alignment of value string */ + float alpha; /* alpha of normal font (which vanishes when selected) */ + float halpha; /* alpha of highlight font */ + int highlighted; /* keep alpha at 0 (will raise to 255 if not set) */ + void (*callback)(); /* if value of item has been modified this functions is called */ + void *link; /* menu link */ + StkFont *font, *hfont; /* if set use these fonts instead of standard font */ + Hint *hint; /* if not NULL this hint is displayed when quick-help's enabled: + created by item itself */ + SDL_Surface *bkgnd; /* background surface for item */ +} Item; + +/* +==================================================================== +Create item. +Return Value: item +==================================================================== +*/ +Item *item_create_separator( char *name ); +Item *item_create_range( char *name, char *hint, int *val_int, int min, int max, int step ); +Item *item_create_switch( char *name, char *hint, int *val_int, char *str_off, char *str_on ); +Item *item_create_switch_x( char *name, char *hint, int *val_int, char **strings, int count ); +Item *item_create_key( char *name, char *hint, int *val_int, int *filter ); +Item *item_create_edit( char *name, char *hint, char *val_str, int limit ); +Item *item_create_link( char *name, char *hint, void *menu ); +Item *item_create_action( char *name, char *hint, int item_id ); +/* +==================================================================== +Delete item (void pointer for compatiblity when using with list) +==================================================================== +*/ +void item_delete( void *item ); +/* +==================================================================== +Adjust alignment of name and value strings +==================================================================== +*/ +void item_adjust( Item *item ); +/* +==================================================================== +Hide/Show item +==================================================================== +*/ +void item_hide( Item *item ); +void item_show( Item *item ); +/* +==================================================================== +Update alpha of item +==================================================================== +*/ +void item_update_alpha( Item *item, int ms ); +/* +==================================================================== +Check if position's on item. +==================================================================== +*/ +int item_focus( Item *item, int x, int y ); + +#endif diff --git a/project/jni/application/lbreakout2/client/lbreakout.h b/project/jni/application/lbreakout2/client/lbreakout.h new file mode 100644 index 000000000..6afcb1193 --- /dev/null +++ b/project/jni/application/lbreakout2/client/lbreakout.h @@ -0,0 +1,83 @@ +/*************************************************************************** + lbreakout.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __LBREAKOUT_H +#define __LBREAKOUT_H + +//#define WITH_BUG_REPORT +#define GAME_DEBUG + +/* +==================================================================== +Global definitions for LBreakout and general system includes. +==================================================================== +*/ + +#include +#include +#include +#include +#include +#include +#include "../gui/stk.h" +#include "../common/tools.h" +#include "../common/list.h" +#include "../common/net.h" +#include "../common/messages.h" +#include "../game/gamedefs.h" +#include "misc.h" + +#ifndef M_PI +#define M_PI 3.1415926535897932384626433832795f +#endif + +/* config directory name in home directory */ +#ifdef _WIN32 +#define CONFIG_DIR_NAME "lgames" +#else +#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 +==================================================================== +*/ +enum { SHADOW_ALPHA = 128 }; +/* +==================================================================== +Number of original backgrounds. +==================================================================== +*/ +enum { ORIG_BACK_COUNT = 6 }; + +/* used to compile net messages */ +extern char msgbuf[MAX_MSG_SIZE]; +extern int msglen; + +#endif diff --git a/project/jni/application/lbreakout2/client/levels/1010011010 b/project/jni/application/lbreakout2/client/levels/1010011010 new file mode 100644 index 000000000..9cb0e9cbc --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Abc b/project/jni/application/lbreakout2/client/levels/Abc new file mode 100644 index 000000000..c0da0c689 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Abc @@ -0,0 +1,1354 @@ +Version: 1.00 +Level: +Ademir +ABC For Fun +Bricks: +aaaaaaaaaaaaa. +a...aaaaaaaaa. +a.a.aaaaaaaaa. +a.a.a..aaaaaa. +a...a.a.aaaaa. +a.a.a.a.a...a. +a.a.a..aa.aaa. +a.a.a.a.a.aaa. +aaaaa.a.a.aaa. +aaaaa..aa.aaa. +caaaaaaaa.aaa. +.caaaaaaa...a. +..caacaaaaaaa. +...ca.caaaaaa. +....c..cacaaa. +........c.caa. +...........ca. +............c. +Bonus: +.............. +......2..0.... +...........1.. +.............. +j............. +.............. +....j......... +........+..... ++..........5.. +..0........... +....2.w.j..... +...b...1...... +..........}... +........m..... +...........s.. +.............. +.............. +.............. +Level: +Ademir +For Fun +Bricks: +jjjjjjjjjjjjjj +jaaajaaajaaajj +jajjjajajajajj +jajjjajajajajj +jaajjajajaaajj +jajjjajajaajjj +jajjjajajajajj +jajjjaaajajajj +jjjjjjjjjjjjjj +jajajajaajjaaa +jajajajajajajj +jajajajajajajj +jaajjajajajaaa +jajajajajajjja +jajajajajajjja +jajajajaajjaaa +jjjjjjjjjjjjjj +.............. +Bonus: +.............. +.............. +.j..5..51..... +.............. +...?..j....... +....+......... +........l...g. +..+...1....... +..........b... +.j....g.....j. +..1.5......... +.......?...... +..........s... +..}.b..b...j.. +.............. +....m.?....... +.w.......w.... +.............. +Level: +Ademir +Ade +Bricks: +hjhhhhhhhhhhjh +jh..........hj +hj.ffffffff.jh +jh.ffffffff.hj +hj.ffffffff.jh +jh.ff....ff.hj +hj.ff....ff.jh +jh.ff....ff.hj +hj.ff....ff.jh +jh.ffffffff.hj +hj.ffffffff.jh +jh.ffffffff.hj +hj.ff....ff.jh +jh.ff....ff.hj +hj.ff....ff.jh +jh.ff....ff.hj +hj..........jh +jhhhhhhhhhhhhj +Bonus: +.............. +.............. +......0....... +...5...?.l.... +.............. +.5............ +....0......... +.........0.... +...j.......... +.?..&...4.j... +.....+........ +......gw.&.... +...5}....s.... +.j............ +...bj....b.... +.............. +.............. +.............. +Level: +Ademir +Brasil +Bricks: +.............. +.!.jjjjjjjj.!. +...jggggjjj... +..jjgggggjjj.. +.jjjggjjggjjj. +..jjggjjjgjjjj +...jggjjjgjjj. +.!.jggjjggjj.. +...jggjggjj... +...jggggjjj..! +!..jggjggjjj.. +...jggjjggjjj. +.!.jggjjjgjjjj +...jggjjjgjjj. +..jjggjjggjj.. +.jjjgggggjj... +..jjggggjjj..! +...jjjjjjjj... +Bonus: +.............. +.............. +.....1..j..... +.............. +..2...+....... +....j.....<... +.....1.*...1.. +......?....... +.............. +....b......... +........&.>... +.......?...... +.....}........ +.......?...... +.....j1...*... +...2.......... +....*..w.b.... +.............. +Level: +Ademir +C... +Bricks: +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhh......hhhh +hhhh......hhhh +hhhh......hhhh +hhhh..hhhhhhhh +hhhh..hhhhhhhh +hhhh..hhhhhhhh +hhhh..hhhhhhhh +hhhh..hhhhhhhh +hhhh..hhhhhhhh +hhhh..hhhhhhhh +hhhh..hhhhhhhh +hhhh......hhhh +hhhh......hhhh +hhhh......hhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +Bonus: +.............. +.3...?......?. +.............. +...........5.. +.b?........... +...........j.. +.........3..3. +.j-........... +......5.b.l... +.............. +.5.3..>....... +........<..g3. +..g........... +}..........b.j +...b.......... +.............. +.m.....+..w.m. +..w........... +Level: +Ademir +D... +Bricks: +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +.aaiiiiiaaaaa. +.aaiiiiiiaaaa. +.aaiiiiiiiaaa. +.aaiiaaaiiiaa. +.aaiiaaaaiiaa. +.aaiiaaaaiiaa. +.aaiiaaaaiiaa. +.aaiiaaaaiiaa. +.aaiiaaaaiiaa. +.aaiiaaaaiiaa. +.aaiiaaaiiiaa. +.aaiiiiiiiaaa. +.aaiiiiiiaaaa. +.aaiiiiiaaaaa. +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +Bonus: +.............. +..0........... +....5..5..5... +...<.......... +..>....b...... +..........j... +.0...b..g..... +.0......g..... +..0.s......... +......?..<.*.. +.*.......<.... +.....>.....b.. +.....>.gj..... +..0?....js.... +...?..&...5.b. +..}...m&...... +...w&b..b.b... +.............. +Level: +Ademir +E... +Bricks: +jjbbbbbbbbbbjj +jbbbbbbbbbbbbj +jjbbjjjjjjbbjj +jbbbjjjjjjbbbj +jjbbjjjjjjbbjj +bbbbjjbbbbbbbb +jjbbjjbbbbbbjj +jbbbjjbbbbbbbj +jjbbjjjjbbbbjj +jbbbjjjjbbbbbj +jjbbjjjjbbbbjj +bbbbjjbbbbbbbb +jjbbjjbbbbbbjj +jbbbjjbbbbbbbj +jjbbjjjjjjbbjj +jbbbjjjjjjbbbj +jjbbjjjjjjbbjj +bbbbbbbbbbbbbb +Bonus: +.............. +.............. +.............. +.....>.5.....0 +j...3......... +.............. +....5......... +.............l +3...j......... +.....+*<...... +.............. +....}......... +.............. +....g......... +.*...*..-....0 +j......+...... +....b.&w&..... +.............. +Level: +Ademir +F... +Bricks: +b!b!b!b!b!b!b! +b!b!b!b!b!b!b! +!b!#eeeeee#b!b +!b!#eeeeee#b!b +b!b#eeeeee#!b! +b!b#ee#####!b! +!b!#ee#b!b!b!b +!b!#ee#b!b!b!b +b!b#ee###!b!b! +b!b#eeee#!b!b! +!b!#eeee#b!b!b +!b!#eeee#b!b!b +b!b#ee###!b!b! +b!b#ee#!b!b!b! +!b!#ee#b!b!b!b +!b!#ee#b!b!b!b +b!b####!b!b!b! +b!b!b!b!b!b!b! +Bonus: +.............. +.............. +.*..m.w.m..... +.w.....}...... +b.&..+......b. +....2.......&. +.....j........ +.*..?......*.. +.............. +.....b........ +.?..2.?....?.. +....2......... +b....j....b... +..&.........&. +....b......... +.*.......&.*.. +w.........w... +.............. +Level: +Ademir +Guilherme +Bricks: +.............. +.jjjjjjjjjjjj. +.jjddddddddjj. +.jjddddddddjj. +.jjddddddddjj. +.jjddjjjjjjjj. +.jjddjjjjjjjj. +.jjddjjjjjjjj. +.jjddjjjjjjjj. +.jjddjjddddjj. +.jjddjjddddjj. +.jjddjjddddjj. +.jjddjjjjddjj. +.jjddjjjjddjj. +.jjddddddddjj. +.jjddddddddjj. +.jjddddddddjj. +.jjjjjjjjjjjj. +Bonus: +.............. +.............. +......?...?... +.............. +........3j.... +...?.j.....<.. +.....3...1.... +.......+...... +..5.......f~.. +....s...&..... +......1...l... +.......-.>.<.. +..jf..g....... +....+..}.s.... +.....?..j..... +..5.&.m....... +..b........w.. +....w...b..... +Level: +Ademir +Lets Play +Bricks: +jjjjjjjjjjjjjj +j#jjjjjjjjjjjj +j#j##jjjjjjjjj +j#j#j###jjjjjj +j#j##j#j##jjjj +j###jj#j#jjjjj +jjj##j#j##jjjj +jjjjjj#jj#jjjj +j###jjjj##jjjj +j#j##jjjjjjjjj +j####j###jjjjj +j#jj#j#j##j#jj +j#jj#j######jj +jjjj###j#j#jjj +jjjjjj#j#j#jjj +jjjjjjjjjj#jjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...w.......... +.............. +..mbbbbbbm.... +.w........w... +Level: +Ademir +H... +Bricks: +xbbbbbbbbbbbbx +bxbbbbbbbbbbxb +xbbxxbbbbxxbbx +bxbxxbbbbxxbxb +xbbxxbbbbxxbbx +bxbxxbbbbxxbxb +xbbxxbbbbxxbbx +bxbxxxxxxxxbxb +xbbxxxxxxxxbbx +bxbxxxxxxxxbxb +xbbxxxxxxxxbbx +bxbxxbbbbxxbxb +xbbxxbbbbxxbbx +bxbxxbbbbxxbxb +xbbxxbbbbxxbbx +bxbxxbbbbxxbxb +xbbbbbbbbbbbbx +bbbbbbbbbbbbbb +Bonus: +.............. +.5.....*...... +...?.w........ +....b.....j... +.............. +.1.+..&...c... +.............1 +....b..>.b.... +...c.?*....&.. +........+j.... +....5......... +.1.p......}... +.............1 +...*w.&...*... +.............. +..&........... +..w........w.. +.............. +Level: +Ademir +I... +Bricks: +.....jjjj..... +....jj!!jj.... +...jjjjjjjj... +..jjjjaajjjj.. +.jjjjjaajjjjj. +jjjjjjaajjjjjj +jjjjjjaajjjjjj +jjjjjjaajjjjjj +jjjjjjaajjjjjj +jjjjjjaajjjjjj +jjjjjjaajjjjjj +jjjjjjaajjjjjj +jjjjjjaajjjjjj +.jjjjjaajjjjj. +..jjjjaajjjj.. +...jjjaajjj... +....jjaajj.... +.....jjjj..... +Bonus: +.............. +.............. +.............. +....?......... +.....j..1111.. +.............. +...3.......... +.....3333...l. +>.......&..... +...&...j..j&.. +..}.?.......s. +.............. +...?bbbbbb.... +.............. +...g.....m.... +.....w.w...... +.....dddd..... +.............. +Level: +Ademir +J... +Bricks: +.jjjjjjjjjgjg. +.jjjjjjjjjjgj. +.jjjjjggjjgjg. +.jjjjjggjjjgj. +.jjjjjggjjgjg. +.jjjjjggjjjgj. +.jjjjjggjjgjg. +.jjjjjggjjjgj. +.jjjjjggjjgjg. +.jjjjjggjjjgj. +.jjjjjggjjgjg. +.jjjjjggjjjgj. +.jjjjjggjjgjg. +.jjjjjggjjjgj. +.jjjjgggjjgjg. +.jjggggjjjjgj. +.jjgggjjjjgjg. +.jjjjjjjjjjgj. +Bonus: +.............. +.........?.... +.......b...... +...b4...*..5.. +.....j........ +.......d?.d... +....{......... +.....b...~.... +...b...b..c5.. +.............. +....}..gj..?.. +..w.b...j..... +..........b... +....b.4.b..... +.........*.... +...*...d...... +.....w..?w.... +.............. +Level: +Ademir +K... +Bricks: +.............. +.!!!!!!!!!!!!. +.!!aa!!!!!a!!. +.!!aa!!!!aa!!. +.!!aa!!!aaa!!. +.!!aa!!aaa!!!. +.!!aaaaaa!!!!. +.!!aaaaa!!!!!. +.!!aaaaa!!!!!. +.!!aaaaa!!!!!. +.!!aaaaa!!!!!. +.!!aaaaaa!!!!. +.!!aa!!aaa!!!. +.!!aa!!!aaa!!. +.!!aa!!!!aa!!. +.!!aa!!!!!a!!. +.!!!!!!!!!!!!. +.!!!!!!!!!!!!. +Bonus: +.............. +.............. +..}........... +.......1.3.... +..?........... +....b3.....s.. +..j...m..&.... +....?......... +....?.j.>..l.. +....13....?... +..}..g...b.... +...j...&.b.s.. +.............. +..m.b.>.j..... +.............. +.............. +..w..1.m.ww.m. +.............. +Level: +Ademir +L Breakout +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +ajjjaajjjjjjja +ajjjaajjjjjjja +ajjjaajjjjjjja +aajjaajjjjjjaa +jjjjaajjjjjjjj +ajjjaajjjjjjja +ajjjaajjjjjjja +ajjjaajjjjjjja +aajjaajjjjjjaa +jjjjaajjjjjjjj +ajjjaajjjjjjja +ajjjaaaaaajjja +ajjjaaaaaajjja +aajjaaaaaajjaa +jjjjjjjjjjjjjj +.............. +Bonus: +.......>...... +.0.*.....0.... +.0...dj.?..... +.d.........++. +....b.....&... +.0j...<.b..... +..........+... +..>.&b.j.>.... +.d...b..*?..0. +.dw.d...d..... +...<.g.}..b... +.............. +g..}b...j..... +..&....?...&d. +........j.*... +..*...w....d.. +.............. +.............. +Level: +Ademir +M... +Bricks: +.............. +aaaaaa..aaaaaa +a!!!aaaaaa!!!a +a!!!!aaaa!!!!a +a!!!!aaaa!!!!a +a!!!!!aa!!!!!a +a!!a!!aa!!a!!a +a!!aa!!!!aa!!a +a!!aa!!!!aa!!a +a!!aaa!!aaa!!a +a!!aaaaaaaa!!a +a!!aaaaaaaa!!a +a!!aaaaaaaa!!a +a!!aaaaaaaa!!a +a!!aaa..aaa!!a +a!!aa....aa!!a +aaaa......aaaa +.............. +Bonus: +.............. +d............. +...s........&. +..l...555..... +..........j?.. +.dj.}.s......1 +1............1 +1.........}.j1 +1..bbbbbb....1 +1.?.d......l.. +...j.g.g.j..s. +.d..........&& +...b.md}d.b... +.j..........m. +...?}w..w.d... +.............. +.&............ +.............. +Level: +Ademir +New York +Bricks: +yyyyyyyyyyyyyy +y............y +y.ddd.....dd.y +y.ddd.....dd.y +y.dddd....dd.y +y.dddd....dd.y +y.dd.dd...dd.y +y.dd.dd...dd.y +y.dd..dd..dd.y +y.dd..dd..dd.y +y.dd...dd.dd.y +y.dd...dd.dd.y +y.dd....dddd.y +y.dd....dddd.y +y.dd.....ddd.y +y.dd.....ddd.y +y............y +yyyyyyyyyyyyyy +Bonus: +.............. +.............. +.............. +..2*......l4.. +.............. +...4.}....j... +..2........2.. +..........*... +..&*..b....... +..........bb.. +.............. +..b&.......... +d.......g..b.. +..*}......j..d +.............. +.........b.s.. +.............. +.sw*.b.sb.w... +Level: +Ademir +O... +Bricks: +.............. +..aaaaaaaaaa.. +..aaaaaaaaaa.. +..aa******aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa*....*aa.. +..aa******aa.. +..aaaaaaaaaa.. +..aaaaaaaaaa.. +.............. +Bonus: +.............. +..5...55...5.. +.............. +.............. +.............. +..jd......dj.. +.............. +..........0... +...0.......... +..?........?.. +.............. +...&......&... +..0........... +.............. +..g.......pg.. +....d.}}.d.... +.............. +.............. +Level: +Ademir +P... +Bricks: +.............. +.............. +.##gggggggg##. +.##gggggggg##. +.##gggggggg##. +.##gg####gg##. +.##gg####gg##. +.##gggggggg##. +.##gggggggg##. +.##gggggggg##. +.##gg########. +.##gg########. +.##gg########. +.##gg########. +.##gg########. +.##gg########. +.############. +.............. +Bonus: +.............. +.............. +..........w... +.......m...... +....b....b.... +.............. +...5.....5.... +.............. +....?.j.5?.... +.............. +.............. +....1......... +.............. +...11......... +.............. +.............. +.............. +.............. +Level: +Ademir +Q... +Bricks: +.jjjjjjjjjjjj. +.jjjjjjjjjjjj. +.jjaaaaaaaajj. +.jjaaaaaaaajj. +.jjaaaaaaaajj. +.jjaajjjjaajj. +.jjaajjjjaajj. +.jjaajjjjaajj. +.jjaajjjjaajj. +.jjaajjjjaajj. +.jjaajjjjaajj. +.jjaajjjjaajj. +.jjaaaaaaaajj. +.jjaaaaaaaajj. +.jjaaaaaaaajj. +.jjjjjaajjjjj. +.jjjjaajjjjjj. +.jjjjjjjjjjjj. +Bonus: +.............. +.........j.... +..b.......j... +..b........... +..b.<..+...... +..b..j.....>.. +..b........... +..m...3.g..... +..........5... +.......+...... +....3....>&... +.w...w.4...... +...&.......... +......j...-s.. +.m.w.dj..d.... +........?..... +...?.......<.. +.............. +Level: +Ademir +R... +Bricks: +.............. +.............. +...bbbbbbbb... +...bbbbbbbb... +...bbbbbbbb... +...bb.....b... +...bb.....b... +...bbbbbbbb... +...bbbbbbbb... +...bbbbbbbb... +...bbbb....... +...bbbbb...... +...bb.bbb..... +...bb..bbb.... +...bb...bbb... +...bb....bb... +.............. +.............. +Bonus: +.............. +.............. +.............. +....b......... +.......5..b... +...5.......... +..........&... +....3.0....... +....?...j.*... +...&..j....... +....0?........ +...b.......... +.......5...... +....}....s.... +...*.......... +.............. +.............. +.............. +Level: +Ademir +S... +Bricks: +.............. +..yyyyyyyyyy.. +..yiiiiiiiiy.. +..yiiiiiiiiy.. +..yiiiiiiiiy.. +..yiiyyyyyyy.. +..yiiyyyyyyy.. +..yiiyyyyyyy.. +..yiiiiiiiiy.. +..yiiiiiiiiy.. +..yiiiiiiiiy.. +..yyyyyyyiiy.. +..yyyyyyyiiy.. +..yyyyyyyiiy.. +..yiiiiiiiiy.. +..yiiiiiiiiy.. +..yiiiiiiiiy.. +..yyyyyyyyyy.. +Bonus: +.............. +.............. +.............. +.....+.&...... +....b....j.... +....1......... +...d*&........ +.........+.... +...&1..b...... +....1.s.d..... +.........?l... +.............. +..........<... +...&.+........ +...*1....j.... +......?....... +....b..w.p.... +.............. +Level: +Ademir +Tiago +Bricks: +aaaaaaaaaaaaaa +a............a +a.!!!!!!!!!!.a +a.!!!!!!!!!!.a +a.!!!!!!!!!!.a +a.....!!.....a +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa.!!.aaaaa +aaaaa....aaaaa +aaaaaaaaaaaaaa +Bonus: +.............. +.............. +.............. +............+. +d............. +..}.....+..... +........d..... +.s........2.2. +.............. +..j2dd..d.j.s. +g.........+... +g..2.}........ +.....}...w.&&. +..&&.......... +.b..b...}.b.b. +..m........m.. +....}......... +......w....... +Level: +Ademir +U... +Bricks: +jcjcjcjcjcjcjc +cjcjcjcjcjcjcj +jcj##cjcj##cjc +cjc##jcjc##jcj +jcj##cjcj##cjc +cjc##jcjc##jcj +jcj##cjcj##cjc +cjc##jcjc##jcj +jcj##cjcj##cjc +cjc##jcjc##jcj +jcj##cjcj##cjc +cjc##jcjc##jcj +jcj##cjcj##cjc +cjc########jcj +jcj########cjc +cjc########jcj +jcjcjcjcjcjcjc +cjcjcjcjcjcjcj +Bonus: +.............. +..+..5.d...l5. +.............. +.j....2.2...+. +.............. +?.2...b.j..... +.....d..j...b. +.b............ +..2...&5...... +............}5 +.}....d<...... +........j..&.. +..?...5....... +.&...........b +}............. +.b............ +..m.........m. +.....w...w.... +Level: +Ademir +V... +Bricks: +dddddddddddddd +dddddddddddddd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhddddddhhdd +ddhhhddddhhhdd +dddhhhddhhhddd +ddddhhhhhhdddd +dddddhhhhddddd +ddddddhhdddddd +dddddddddddddd +Bonus: +.............. +....?......... +..?...g.j..2.. +...2.......... +.2s......db.s. +....2b.?...... +.?......?....2 +...2*......*.2 +.d....?2.j.... +s.j...?.p..... +..........4.s. +.+.bbbbbbb.... +...........&.. +..&.......d... +.b...?..+...2. +.......g...... +..*...p....*.. +....w....w.... +Level: +Ademir +W... +Bricks: +.............. +.............. +.............. +.bb........bb. +.bb........bb. +.bb........bb. +.bb........bb. +.bb........bb. +.bb........bb. +.bb........bb. +.bb...bb...bb. +.bb..bbbb..bb. +.bb.bbbbbb.bb. +.bbbbb..bbbbb. +..bbb....bbb.. +...b......b... +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +..p........p.. +.3..........3. +.............. +..j........1.. +.............. +.1?.........+. +......s....j.. +.3............ +..&...*g.?..s. +....&...b..... +..w......&.w.. +.............. +.............. +.............. +Level: +Ademir +X... +Bricks: +a............a +ba..........ab +aba........aba +.aba......aba. +..aba....aba.. +...abaaaaba... +....abbbba.... +.....aaaa..... +.....abba..... +....abaaba.... +...aba..aba... +..aba....aba.. +.aba......aba. +aba........aba +ba..........ab +a............a +.............. +.............. +Bonus: +.............. +.3..........b1 +.............. +..?........?.. +...dj.....<... +.......1.s.... +.....*5.d..... +.......s...... +.....b<....... +.....b.w+..... +....*....j.... +.........?.... +...3.......5.. +.b............ +.............. +.............. +.............. +.............. +Level: +Ademir +Y... +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jj##jjjjjj##jj +jj##jjjjjj##jj +jj###jjjj###jj +jj####jj####jj +jjj########jjj +jjjj######jjjj +jjjjj####jjjjj +jjjjjj##jjjjjj +jjjjjj##jjjjjj +jjjjjj##jjjjjj +jjjjjj##jjjjjj +jjjjjj##jjjjjj +jjjjjj##jjjjjj +jjjjjj##jjjjjj +jjjjjjjjjjjjjj +Bonus: +.............. +.............. +.....5555..... +1............1 +1............1 +.............. +d............d +d.s........s.d +.............. +....+....+.... +.............. +.jj..g..g..jj. +...&......&... +.....<..<..... +.bbb.}..}.bbb. +.............. +..m........m.. +....w....w.... +Level: +Ademir +Z... +Bricks: +.............. +..bbbbbbbbbb.. +..byyyyyyyyb.. +..byyyyyyyyb.. +..byyyyyyyyb.. +..bbbbbbyyyb.. +..bbbbbbyyyb.. +..bbbbbyyyyb.. +..bbbbyyyybb.. +..bbbyyyybbb.. +..bbyyyybbbb.. +..byyyybbbbb.. +..byyybbbbbb.. +..byyybbbbbb.. +..byyyyyyyyb.. +..byyyyyyyyb.. +..byyyyyyyyb.. +..bbbbbbbbbb.. +Bonus: +.............. +.............. +...*.0..0..... +....05.5...... +.........g.... +.............. +........?1b... +.............. +......0..w.... +.......*...... +.....1........ +...b.......... +....?......... +....?......... +...*.&........ +....b.w.+b.... +...w...b*.w... +.............. +Level: +Ademir +ABC For Fun +Bricks: +.............. +jjj.j.j.jjj... +.j..j.j.j..... +.j..jjj.jj.... +.j..j.j.j..... +.j..j.j.jjj... +.............. +jjj.j...j.jj.. +j...jj..j.j.j. +jj..j.j.j.j.j. +j...j..jj.j.j. +jjj.j...j.jj.. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..........b... +.............. +.............. +.............. +.b......b..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ademir +ABC For Fun +Bricks: +cccccc..!..aaa +###cccc..!..aa +c#cccccc..!..a +c###ccccc..!.. +c##ccccccc..!. +c##c#c#cccc..! +cc#c#c#ccccc.. +cc########ccc. +.ccc#c##c#cccc +..cc#c#####c#c +!..cccc#c##c#c +.!..ccc#c##c#c +..!..ccccc#c#c +a..!..cccc###c +aa..!..ccccccc +aaa..!..cccccc +aaaa..!..ccccc +.............. +Bonus: +.............. +.............. +....b......... +.......m...... +.............. +.............. +j............. +..........b... +.............. +..b........... +.....m........ +.............. +......j.+..... +.............. +.............. +.m.....ww..m.. +.............. +.............. +Level: +Ademir +ABC For Fun +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ademir +ABC For Fun +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Afl b/project/jni/application/lbreakout2/client/levels/Afl new file mode 100644 index 000000000..bc7053d50 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Afl @@ -0,0 +1,780 @@ +Level: +Latts +AFL +Bricks: +.............. +.............. +dddd.ggg!.j... +dddd.gEEg.j... +d..d.g....j... +d..d.!....j... +d..d.g.vv.j.vv +dccd.g....j... +dddd.ggg..j... +dddd.ggg..j... +d..d.gcc..j... +d..d.g....j... +d..d.g.vv.j!cc +d..!.g....jjjj +d..d.g....jjjj +.............. +fzfzfzfzfzfzfz +.............. +Bonus: +.............. +.............. +b..3.......... +.....0....0... +.............. +.............. +3..s.1.1....2. +...?......s... +*..+.......... +.10.......3... +.....~0....... +<....3....?... +.....>.2....0. +0............. +...<.-....0.>. +.............. +..s-f..>..+... +.............. +Level: +Latts +Adelaide Crows +Bricks: +hhggddhhg!ddhh +hh!g*dhhgg*dhh +hhggddhhggddhh +hhgEddhhEgddhh +hhggddhhggddhh +hhggddhhggddhh +hhggddhhggddhh +hhEgddhhgEddhh +hhggddhhggddhh +hhggddhh!gddhh +hhggddhhggd*hh +hhgEddhhEgddhh +hhggddhhggddhh +hh!gddhhggddhh +hhggddhhggddhh +hhEgddhhgEddhh +hhggddhhggddhh +hhggddhhggddhh +Bonus: +b...5.*......1 +...?.1j.&..... +2..3....1..2.. +......>....... +..0.1.2..j.?0. +.0....f2..2... +2wcW......>4.2 +....+.1&...... +0...0.....5.0f +p.d......3...1 +5..3..0..<.... +.{.....1.d!.?g +......0....0.. +~..2}........l +40f....?f....1 +....1...0..4.. +.......1.0.... +...1>.2.+..... +Level: +Latts +Brisbane Lions +Bricks: +hgggghgggggggh +hggghhhggggggh +hgghhhhggggggh +hgghhhgggggggh +hEEEhhhhhhheEh +iiiihhhhhiiiii +iiihhhhhhiiiii +iiihihihhhiiii +iiihihihiihiii +iiiihihhihiiii +#iiiiiiiiiiii# +i#iiiiiiiiii#i +ii##iiiiii##ii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +iiiiiiiiiiiiii +Bonus: +..........s>.. +.0.?..-.<.3.-. +....Wf........ +~.l3.....2&.g. +.......1...0.. +..+..4....0..~ +*1.-...2...... +...>...W.2.{.? +..2.{.j....... +w.2......2...1 +.0.....5..>.-. +...f.4...f.... +........~1.... +..01...... +......0....... +............g. +1.30..51...-0. +.0...........0 +..>..........- +.....j?...0.3. +.-..-......s.. +.....0....~... +..w<.1..-..... +.0.+..g....1.- +.....1...0.... +.............. +Level: +Latts +Collingwood Magpies +Bricks: +jj..jj..jj.vjj +jj..jj..jj..jj +jj.vjj..jj..jj +jj..jjv.jj..jj +jj..jj..jj..jj +jj..jj..jj..jj +jjv.jj.vjjv.jj +jj..jj..jj..jj +jj..jj..jj..jj +jj.vjjv.jj..jj +jj..jj..jj.vjj +jjv.jj.vjj..jj +jj..jj..jj..jj +jj..jj..jjv.jj +jj.vjj.vjj..jj +jj..jj..jjv.jj +jjv.jj..jj..jj +jj..jjv.jj.vjj +Bonus: +.....5........ +4............. +........2..... +s....?s.....+. +........+...4. +.4......>....0 +............m. ++-..0....-...> +.....c........ +1.....0....... +1...>...{...1. +.{......j..... +.............. +0.......b....0 +........-..... +.....2...1..-? +.............. +.>..+-........ +Level: +Latts +Essendon Bombers +Bricks: +............vd +............dd +.vv.......vddd +.vv.......dddd +.vv.....vddddd +.vv.....ddddd# +.vv...vddddd## +......ddddd### +....vddddd.vvv +vvv.dddddv.... +###ddddd...... +##dddddv...vv. +#ddddd.....vv. +dddddv.....vv. +dddd.......vv. +dddv.......vv. +dd............ +dv............ +Bonus: +.............j +.............. +..1.......5... +..>........p.0 +.1.......~.4.. +............l. +..1...c.0.1+.. +.......W..>... +....34.......g +.&...?1f-d.... +....0..d...... +...3..>3...b.. +....{+........ +...1........?. +-0.<.......... +..-........>.. +.............. +m............. +Level: +Latts +Fremantle Dockers +Bricks: +ffffffvvdddddd +ffffff..dddddd +ffffff..dddddd +ffffffvvdddddd +ffffff..dddddd +ffffff..dddddd +ffffffvvdddddd +ffffff..dddddd +...fff..ddd... +..ffffvvdddd.. +v..fff..ddd..v +.v.fff..ddd.v. +.iv..fvvd..vi. +ii.v.f..d.v.ii +iii.v....v.iii +iiiivvvvvviiii +iiiii....iiiii +iiiiii..iiiiii +Bonus: +......{...b... +........3..d.. +-.3......0..+- +.....<.-?..... +<...+....-.<.. +...d1....j..0. +.{....5....... +...-....2..... +....0.....>... +..1....s.1.... +....>...?0...< +.d.......d.... +..0...0....-.. +...1....0....> +0.p.4......1.. +...-.2+<-...3. +..>........... +.....?..w..... +Level: +Latts +Geelong Cats +Bricks: +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +EaaaaaaaaaaaaE +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +EEaaaaaaaaaaEE +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +EEEaaaaaaaaEEE +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +Bonus: +....s..W.....4 +?.-...0.~1.... +.W.3.....-.>.. +..........s..* +.0.f.g.>...{+. +..+.d.......0. +b....c...d0?sj +5p..1.41.....l +..-<...!...<.. +0.>2.....2..W. +.....W.....fm2 +d4.d.f.....d.. +...{..0.<..0.. +.f.+<.~..>f.d5 +....W...W..... +....2-...1dw.. +.1............ +f..<...3..-... +Level: +Latts +Hawthorn Hawks +Bricks: +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +@hh@hh@hh@hh@h +Bonus: +.......5...... +.0......&..+.. +....0>..s.-s.. +..>....0...2.. +..?....2.....+ +.3<..s.<}.>... +..c.1..w...-.0 +....b..>..w0.m +.1..0..0..}... +..c.W~..c.14.. +.lw.<..+...<.1 +.bj.-3..-..0.. +.-<.!s..<.g... +.0&.2...1..c.c +.....?.cW.>..? +..c.{......... +.+>.+>..1..... +....w-.~..b+.+ +Level: +Latts +Kangaroos +Bricks: +jjggjjggjjggjj +jjggjjggjjggjj +jjggjjggjjggjj +jjggjjggjjggjj +jjggjjggjjggjj +jjggjjggjjggjj +jjggjjEEjjggjj +jjggjj..jjggjj +jjggjvvgjjggjj +jjggv..gjjggjj +jjggjvvgjjggjj +jjggjjvvjjggjj +jjggjv..vjggjj +EEggggg..vggEE +ggggggvvvvgggg +gggggv.ggvgggg +gggg.vggg..vgg +.............. +Bonus: +00000000000000 +0..<.-..-.<..0 +0.{........{.0 +0...?....?...0 +0..+c>ff..>..0 +0}!...l+>...}0 +0>.j~.....g!.0 +0.......>....0 +0-..!.......-0 +0..?....!.?..0 +0...>......>+0 +0>.f....>.f..0 +0............0 +..-.>.w....-.. +~..<......<>.~ +.............. +.............. +.............. +Level: +Latts +Melbourne Demons +Bricks: +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +adddddddddddda +EEddddddddddEE +aaaddddddddaaa +aaaaddddddaaaa +EEEEEddddEEEEE +aaaaaaddaaaaaa +aaaaaaaaaaaaaa +EEEEEEEEEEEEEa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aEEEEEEEEEEEEE +Bonus: +4...4..-.40..4 +...1......fp.. +.W-.p.0.1...-. +..d.......W..0 +1..-.s-...-1d. +..?....f...... +..0<.2...s<.1. +.............. +.-.....d.-.... +1...f.2...0... +.............. +.p<.s......?...W..?.. +..-0..+..0..b. +........-..... +-.....?p...... +..+........-0. +......-..>.... +.b0.W........0 +........0.0... +.....>........ +......-....... +........-..... +.............. +.............. +......0....... +.............. +.............. +.............. +....0......... +Level: +Latts +Richmond Tigers +Bricks: +............hh +...........hhh +.vvv......hhhh +.v.......hhhhh +.v......hhhhhh +.......hhhhhhh +......hhhhhhh. +#####hhhhhhhv. +.vvvhhhhhhhvv. +.vvhhhhhhhvvv. +.vhhhhhhh##### +.hhhhhhh...... +hhhhhhh....... +hhhhhh......v. +hhhhh.......v. +hhhh......vvv. +hhh........... +hh............ +Bonus: +............m. +.............. +..p.......+.?. +.w.......<.w.. +........20...- +...........b.. +......+.?.-... +.....-.-.4.... +.<1...s.....c. +...g..3!j>.2.. +...p>...f..... +..s..-<....... +0.12.0........ ++f..Ws........ +4..>0......... +w0........c... +.<-........... +.............. +Level: +Latts +St Kilda Saints +Bricks: +dd*ddv..vdd*dd +ddddd....ddddd +dddddv..vddddd +ddddd....ddddd +dddddv..vddddd +ddddd....ddddd +dddddv##vddddd +v.v.v.##.v.v.v +....######.... +......##...... +.v.v.v##v.v.v. +jjjjjv..vjjjjj +jjjjj....jjjjj +jjjjjv..vjjjjj +jjjjj....jjjjj +jjjjjj..jjjjjj +jjjjjjvvjjjjjj +jjjjjjjjjjjjjj +Bonus: +*.........1... +.+.5.......... +.>......p.>3W. +.-............ +3.?..c...f.... +....1....0-..4 +W....4.....!.. +.............. +.............. +.............. +........4..... +..b01.......?1 +.4..>.....1... +w..d....>....+ +..1.......-... +f.W.....d....f +...3-......4.. +........+..... +Level: +Latts +Sydney Swans +Bricks: +djjjjjjjjjjjjd +ddjjjjjjjjjjdd +ddjjjjjjjjjjdd +ddjjjjjjjjjjdd +dddjjjjjjjjddd +dddjjjjjjjjdd* +ddddjjjjjjdddd +*dddjjjjjjdddd +jdddjjjjjjdddj +jddddjjjjddddj +jddddjjjjddddj +jjddddjjddddjj +jjddddddddddjj +jjjdjddjdjdjjj +jjjjddjddjjjjj +jjjjjjdjjdjjjj +jjjjdjd*jjjjjj +jjjjjjdjdjjjjj +Bonus: +f...4..w.5.... +.....f.....2.. +..-....4..>... +3.>.<...+..... +....2..f..-..f +{.0........}.. +....~.....<... +..<..0&.00..+. ++.....!...>2.. +&~fg......g... +.......0...... +......>...0f.. +-0...-.f....l- +.>.4..5.~.+... +<...........0< +.+3<.f+....... +...w.....s...3 +...........-.. +Level: +Latts +West Coast Eagles +Bricks: +ggggghhhhggggg +ggggghhhhggggg +gggghhhhhhgggg +gggghhhhhhgggg +ggghhhgghhhggg +ggghhhgghhhggg +gghhhhgghhhhgg +gghhhEEEEhhhgg +ghhhhgggghhhhg +hhhhgggggghhhh +hhhgggggggghhh +hhgggghEgggghh +hgggghEhgggggh +gggggEhhhggggg +ggggEhhhgggggg +gggggghghggggg +gggggggggggggg +gggggggggggggg +Bonus: +.....?1...4.+. +1.b....{2j?.0. +.....0.f...... +.1<.<.+..W..>5 +>..W...>..f1.. +5~..s...0....f +...?.4.l..>..- +-.3}......-... +.0.g...5..f5.3 +.>.~..<..{...0 +.f...0.2!.0... +5<.2+.s...~.1. +..W..f.d...... +.........-.<.. +.0.....f~.0.W. +...1>0........ +...f.<2......s +dd-d..?..+.2>. +Level: +Latts +Western Bulldogs +Bricks: +jjjjjjjjjjjjjj +dddddddddddddd +dddddddjjjdddd +dddddddjjjdddd +dddddjjjjjjddd +ddddjj@jjjjjdd +dddjj@@jjjjjjd +gggjjjjjjjjjjg +ggggggggggjjjg +ggggjjjjjggjjg +ggggjgjjjjgjjg +ggEgggggjjggjg +gEgggggggjgggg +EgggjggggjjEgg +ggggjgjgggjgEg +ggggjjjjgggggE +ggggggjjjggggg +gggggggggggggg +Bonus: ++.c.>.gd..W..s +.0......0..... +}..0-.4.?....- +...W......>W.4 +?......-.2.0.. +....2b.W...... +0.d.>...0d4... +.-....-.....j. +........{....? +...........<.. +....&...20d.0. +.~.2W.0..+...d +5..d.......f.. +..f..4...<..l. +....p.0......5 +.0.-.>....4... +.......W...... +...<.......... +Level: +Latts +MCG +Bricks: +.............. +....ffffff.... +...ffffffff... +..ffffgdffff.. +.gffxfgdfxffg. +ffgfyffffyfgff +jffgffffffgffj +fffgffffffgfff +jjfgfjjjjfgfjj +fffgfjddjfgfff +jjfgfjjjjfgfjj +fffgffffffgfff +jffgffffffgffj +ffgfyffffyfgff +.gffxfdgfxffg. +..ffffdgffff.. +...ffffffff... +....ffffff.... +Bonus: +.............. +....d.5W.d.... +......<....... +......2....... +........3..... +..?........... +.....j.......? +......0.0..... +....+...<.&.>. +4.{.1.bb.1...4 +.>fl.?....}s.. +.....0.0...... +.............. +.+..~.>....+.. +.......W...... +.............. +...3....2..... +....d.W..d.... +Level: +Latts +www.afl.com.au +Bricks: +vv...djjd...vv +v..dddddddd..v +..dddddddddd.. +.dhhhdhhhdhdd. +ddhdhdhdddhddd +ddhhhdhhhdhddd +ddhdhdhdddhhhd +dddddddddddddd +############## +dddddddddddddd +ddhhhdhhhdhdhd +ddhdddhdhdhhhd +ddhdddhdhdhdhd +hdhhhdhhhdhdhd +.dddddddddddd. +..dddddddddd.. +v..dddddddd..v +vv...dddd...vv +Bonus: +5............5 +.............. +.........1.... +..>.0...df.... +...f-..>...... +.0...1..5.-.0. +.0.0.12...2... +.4.d....0..{.. +WWWWWWWWWWWWWW +.....0.....d.> +4.{0...1...1.. +.....>0m2.>.4. +1.>0...-.f.... +.....5..0..0.. +...-..1.d.2... +.....2..4..... +...f...f...... +5.....0......5 + diff --git a/project/jni/application/lbreakout2/client/levels/Alex b/project/jni/application/lbreakout2/client/levels/Alex new file mode 100644 index 000000000..fe81a08b3 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Alex @@ -0,0 +1,329 @@ +Version: 1.00 +Level: +Daddy +Number 1 +Bricks: +**..........** +**......**..** +........**.... +..v...v....v.. +..v...v....v.* +..v...v....v.* +..v...v....v.* +..vvvvvvvvvv.* +..v..........* +..v........... +..v........... +..v........... +*.v..vvvvvvvvv +*.v..v........ +*.v..v.......* +*.v..v.......* +*.v..vvvvvvv.* +*.v..........* +Bonus: +ww..........ww +ww......ww..ww +........ww.... +..0...0....0.. +..0...0....0.+ +..0...0....m.+ +..0...m....0.+ +..0m000000b0.+ +..0..........+ +..0........... +..0........... +..0........... ++.0..1l11111m1 ++.0..1........ ++.0..m.......+ ++.0..1.......+ ++.b..1l111bb.+ ++.b..........+ +Level: +Daddy +Number 2 +Bricks: +vvvvvvvvvvvvvv +vxvvxvvxvvxvvx +vvvvvvvvvvvvvv +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +Bonus: +55555555555555 +5l55l55l55l55l +55555555555555 +.............. +44444444444444 +wwwwwwwwwwwwww +.............. +33333333333333 +++++++++++++++ +.dddddddddddd. +22222222222222 +wwwwwwwwwwwwww +bbddddddddddbb +11111111111111 +++++++++++++++ +bb.dddddddd*bb +00000000000000 +wwwwwwwwwwwwww +Level: +Daddy +Number 3 +Bricks: +####*####*#### +#.!#*#vv#*#!.# +#..#*#vv#*#..# +#..#*#vv#*#..# +#!.#*#vv#*#.!# +#..#*#vv#*#..# +#..#*#vv#*#..# +#.!#*#vv#*#!.# +#..#*#vv#*#..# +#..#*#vv#*#..# +#!.#*#vv#*#.!# +#..#*#vv#*#..# +#..#*#vv#*#..# +#.!#*#vv#*#!.# +#..#*#vv#*#..# +#..#*#vv#*#..# +#!.#*#vv#*#.!# +#..#*####*#..# +Bonus: +2222&2222&2222 +2}&2m2~~2m2&}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.2552.2&}2 +2}}2w2ll2w2}}2 +2{{2w2ll2w2{{2 +2&{2w2552w2{&2 +2{{2w2}}2w2{{2 +2}}2w2~~2w2}}2 +2}&2w2}}2w2&}2 +2}}2w2~~2w2}}2 +2bb2w2}}2w2bb2 +2&+2w2~~2w2+&2 +2++2d++++d2++2 +Level: +Daddy +Number 4 +Bricks: +iiivivviivivvi +ivivivvivvivvi +ivivivvivvivvi +ivivivvivvviiv +iiivivviivviiv +ivivivvivvviiv +ivivivvivvivvi +ivivivvivvivvi +iviviiviivivvi +vvvvvvvvvvvvvv +..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: +.............. +.............. +.............. +.............. +.............. +.............. +.l...l..l...l. +-------------- +g*g*gg*gg*g**g +wwgwwgwwgwwgww +..}..}..}..}.. ++.}..}..}..}.+ ++............+ ++.b..}..}..b.+ ++.b..}..}..b.+ ++.w..w..w..w.+ ++.w..w..w..w.+ ++.w..w..w..w.+ +Level: +Daddy +Number 5 +Bricks: +************** +************** +************** +************** +************** +*****....***** +*****.zz.***** +*****.zz.***** +*****.zz.***** +*****.zz.***** +*****.zz.***** +*****.zz.***** +*****....***** +************** +************** +************** +************** +************** +Bonus: +0bb00++++00bb0 +01111111111110 +0ll22222222ll0 +01233333333210 +01234444443210 +01234....43210 +01234.ll.43210 +01234.mm.43210 +01234.**.43210 +01234.mm.43210 +01234.**.43210 +01234.mm.43210 +01234....43210 +01234555543210 +01234555543210 +wwwwwwwwwwwwww +wwwwwwwwwwwwww ++++dddddddd+++ +Level: +Daddy +Number 6 +Bricks: +************** +*!!!!!!!!!!!!* +****!.......!* +EEE*!...!!!!!* +**E*!!!.****** +**E***!.!!!!!* +**EEE*!.....!* +****E*!!!...!* +*!!*E***!...!* +*!!*EEE*!...!* +*!!***E*!!!.!* +*!!!!*E***!.!* +*!..!*EEE*!.!* +*!..!***E*!!!* +*!..!!!*E***!* +*!!!!!!*EEE*!* +*****!!***E*!* +######!!!*E*!# +Bonus: +00000000000000 +0.....bbb....0 +ll00.........0 +...0.........0 +00.0.++.000000 +00.00s+.ll...0 +00...s.......0 +0000.sggg....0 +0pp0.ssmg....0 +0p.0...mg....0 +0p.00s.mggg..0 +0pbbbs.mmmg..0 +0p..+s...mg..0 +0p..+sss.mgg+0 +0p..+++w.mww+0 +0ppppp+w...w+0 +mmmmmp+www.w+0 +l5555l+++w.w+l +Level: +Daddy +Number 7 +Bricks: +hhhvhhhhhhvhhh +hihvhihhihvhih +hhhvhhhhhhvhhh +vfvvvfvvfvvvfv +vfv.vfvvfv.vfv +vfv.vfvvfv.vfv +vfv.vfvvfv.vfv +vfv.vfvvfv.vfv +vfvvvfvvfvvvfv +vvhhhvvvvhhhvv +.vhihv..vhihv. +.vhhhv..vhhhv. +.vvfvv..vvfvv. +..vfv....vfv.. +..vfv....vfv.. +*.vfv.**.vfv.* +*.vfv.**.vfv.* +*.vfv.**.vfv.* +Bonus: +&&&5&&&&&&5&&& +4*454*44*454*4 +44454444445444 +1w151w11w151w1 +1w1.1w11w1.1w1 +lw1.1wllw1.1wl +1w1.1w11w1.1w1 +1w1.1w11w1.1w1 +1w1b1w11w1b1w1 +134443ll344433 +.34*43..34*43. +.34443..34443. +.30w03..30w03. +..0w0....0w0.. +..0w+....+w+.. ++.+w+.++.+w+.+ ++.+w+.++.+w+.+ ++.+w+.++.+w+.+ +Level: +Daddy +Last One 8 +Bricks: +zzzvzvzvzzvvvv +vzvvzvzvzvvvvv +vzvvzzzvzzvvvv +vzvvzvzvzvvvvv +vzvvzvzvzzvvvv +vvvvvvvvvvvvvv +vvzzvzvvvzvzzz +vvzvvzzvvzvzvz +vvzzvzvzvzvzvz +vvzvvzvvzzvzvz +vvzzvzvvvzvzzz +vvvvvvvvvvvvvv +############## +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +Bonus: +m55.5.5.55...m +.5..5.5.5..+.. +.5..555.55..+. +.5..5.5.5..... +.5..5.5.55+.jj +..jj....jj.... +..55.5...5.555 ++.5..55..5.5.5 +..55.5.5.5.5.5 +..5..5..55.5.5 +.+55+5.+.5.555 +jj...jj...jj.. +&&&&&&&&&&&&&& +}lll}mm}lllll} +.............. +wwwff-WW-ffwww +++}+++++++}+++ +llbbbbbbbbbbll diff --git a/project/jni/application/lbreakout2/client/levels/Alexandre b/project/jni/application/lbreakout2/client/levels/Alexandre new file mode 100644 index 000000000..ac2ce7250 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/AllNighter b/project/jni/application/lbreakout2/client/levels/AllNighter new file mode 100644 index 000000000..688c73f55 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Arcade b/project/jni/application/lbreakout2/client/levels/Arcade new file mode 100644 index 000000000..8087e9663 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Arcade @@ -0,0 +1,534 @@ +Level: +elvis +In the beginning +Bricks: +.............. +.............. +....ccc....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +f.f.f.f.f.f.f. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +....222....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +elvis +when aliens attack +Bricks: +............i. +...........iii +............i. +.g.g.g.g.g.... +.............. +.f.f.f.f.f.... +.............. +.h.h.h.h.h.... +.............. +.e.e.e.e.e.... +.............. +.d.d.d.d.d.... +.............. +.............. +.............. +..aa..aa..aa.. +..bb..bb..bb.. +..cc..cc..cc.. +Bonus: +............5. +.............. +.............. +.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.... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +elvis +Command prompt +Bricks: +....i.......e. +....i.......e. +....i......h.. +.....d.....h.. +.....d....h... +.....d....c... +......e....... +......e....... +......e....... +.......h...... +.c.....h...... +.......h...... +.......c...... +.............. +.............. +g.....g.....g. +gg....gg....gg +gg.aa.gg.aa.gg +Bonus: +.............. +.............. +.............. +.............. +.............. +..........4... +.............. +.............. +.............. +.............. +.4............ +.............. +.......4...... +.............. +.............. +.............. +>.....f.....-. +.............. +Level: +elvis +Flying Ostrich? +Bricks: +.............. +.............. +.............. +.hhhhhh..c.... +..eeeee....c.. +....dd........ +.............. +.............. +.............. +.............. +.......f...... +hh....hhhhhhhh +e......eeeeeee +........ddd... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +..>.f....g.... +...........g.. +.............. +.............. +.............. +.............. +.............. +.............. +.........>.f>. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +elvis +Preparation A +Bricks: +.............. +...........ff. +.fff...f...ff. +.fff...f...ff. +.fffh......... +.fff.......... +.....h........ +.............. +......h....... +.............. +...f...c...... +...f.......... +.............. +........ff.... +........ff.... +........ff.... +.............. +.............. +Bonus: +.............. +...........11. +.000...2...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...2.......... +.............. +.............. +........11.... +.............. +.............. +.............. +.............. +Level: +elvis +Intruder Alert +Bricks: +.h..h......... +dh..hd........ +.h.dh......... +hh..hhhhh..h.. +...........h.. +...........h.. +..d........hd. +...........h.. +hhhhhh..h..hhh +.....h..h..... +.....h..h..... +........h..... +........h..... +........h..d.. +.....h..h..... +....dh..h..... +.....h..h..... +hhhhhh..hhhhhh +Bonus: +.............. +4....4........ +...4.......... +.............. +.............. +.............. +..3.........3. +.............. +.............. +.............. +.............. +.............. +.............. +...........2.. +.............. +....2......... +.............. +.............. +Level: +elvis +Freddy Fender +Bricks: +.............. +c............. +........c..... +........h..... +.............. +...f.......... +...ff.e.e.c... +..........h... +.............. +.............. +.............. +.............. +.............. +.............. +............gg +..ggggg...ggg. +gggh..ghgggh.. +g............. +Bonus: +.............. +4............. +........4..... +........f..... +.............. +.............. +..........4... +..........>... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...-...-...-.. +.............. +Level: +elvis +Temp, temper, ... +Bricks: +.............. +.f..........f. +.ff........ff. +.f.f......f.f. +.f..f....f..f. +.f...f..f...f. +.f...f..f...f. +.f..cf..f...f. +.f..ff..ff..f. +.f.f..ff..f.f. +.ff..f..f..ff. +.f...f..fc..f. +..f.f....f.f.. +..f.f....f.f.. +...f......f... +...f.cc...f... +....fcc..f.... +.....ffff..... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....3......... +.............. +.............. +.............. +.........3.... +.............. +.............. +.............. +.....44....... +.............. +.............. +Level: +elvis +Don Quixote +Bricks: +.d............ +.c............ +ded........... +.e.........g.. +ddd........e.. +d.d....ii..g.. +ccc....ii.gg.. +eeeccc.ii.g.g. +...eeeccc..... +......eeeccc.. +.........eee.. +.............. +....ii........ +....ii.....ccc +....ii..ccceee +.....ccceee... +..ccceee...... +..eee......... +Bonus: +.............. +.5............ +.............. +.............. +...........f.. +.............. +.......g...... +.............. +.............. +.............. +.............. +.............. +.............. +.....g........ +.............. +.............. +.............. +.............. +Level: +elvis +Sole Posession +Bricks: +gggggggggggggg +ggggggggggghhg +ggggggggggghhg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +ffffffffffffff +fff...ffffffff +ffff.....fffff +fffff.c...ffff +fffff.....ffff +fffff..c..ffff +ffff.......fff +ffff...c...fff +ffff.......fff +fff....c...fff +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......m....... +.............. +.......p...... +.............. +.......s...... +.............. +.......w...... +Level: +elvis +Troff +Bricks: +.............. +.hhhhhhhhhhhh. +.h..........h. +.h.hhhhhhhhhh. +.h.h.......... +.h.h.dddddddd. +.h.h.d......d. +.h.h.d......d. +.h.h.dddddd.d. +.h.h......d.d. +.h.hhh..ddd.d. +.h..........d. +.hhh........d. +...h........d. +...h........d. +..ch........d. +............d. +.cddddddddddd. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..4........... +.............. +.4............ +Level: +elvis +L*Bert +Bricks: +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaccaaaaaa +aaaaaaccaaaaaa +aaaaa....aaaaa +aaaaad..haaaaa +aaaaaddhhaaaaa +aaaaaddhhaaaaa +aaaa..dh..aaaa +aaa........aaa +aaad..hd..haaa +aaaddhhddhhaaa +aaaddhhddhhaaa +aa..dh..dh..aa +a............a +ad..hd..hd..ha +addhhddhhddhha +Bonus: +g............g +..........0.0. +.0..0......... +......44...... +..0...mm.0.... +...........0.. +.............. +.0.0.........0 +.............. +...........0.. +.............. +............0. +0............. +.............0 +.............. +.............. +.............. +w............w +Level: +elvis +pinball +Bricks: +####.....##### +###..........# +##h..........# +##h.......##.# +##h......###.# +##h..d...#e#.# +##h..d...#.#.# +###......#.#.# +###.d......#.# +##..d......#.# +##......gg.#.# +##.d....gg.#.# +##.d....gg.#.# +##.........#.# +##........##.# +###.......#..# +####.....##..# +####cbabc##..# +Bonus: +.............. +.............. +..4........... +..3........... +..2........... +..1.......5... +..0........... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. + diff --git a/project/jni/application/lbreakout2/client/levels/Arkanoid b/project/jni/application/lbreakout2/client/levels/Arkanoid new file mode 100644 index 000000000..d9a1aebdb --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Arkanoid @@ -0,0 +1,329 @@ +Version: 1.00 +Level: +Lelldorin +arkanoid +Bricks: +.............. +.............. +.............. +.............. +kkkkkkkkkkkkkk +dddddddddddddd +hhhhhhhhhhhhhh +gggggggggggggg +eeeeeeeeeeeeee +ffffffffffffff +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. ++...<......l.+ +..g..........0 +.+..>...2..... +3......&..-... +.............> +..1..-........ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +.............. +j............. +jh............ +jhi........... +jhif.......... +jhife......... +jhifeg........ +jhifegj....... +jhifegjh...... +jhifegjhi..... +jhifegjhif.... +jhifegjhife... +############ee +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +l............. +.............. +..-........... +.............. +&............. +.0...s........ +.............. +..&........... +s..s..0.-..... +.............. +4>...&....3... +............<. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +.............. +.............. +......kk...... +...gggkkfff... +..gggjjjjfff.. +.gggjjjjjjfff. +.gggjjjjjjfff. +.gggjjjjjjfff. +......kk...... +......kk...... +......kk...... +......kk...... +......kk...... +......kk...... +...cc.cc...... +...cc.cc...... +....ccc....... +.....c........ +Bonus: +.............. +.............. +......-+...... +....<...>..... +......p..0.>.. +...+.1....<.+. +.s0.-......... +...>.....5-... +.......-...... +.............. +.......0...... +......+....... +.............. +......<-...... +...>.......... +....+..s...... +.............. +.............. +Level: +noname +untitled +Bricks: +.............. +############## +hhhhhh##iiiiii +hhhihh##iidiii +hhiihh##iiddii +hiiiih##iddddi +iiiiih##iddddd +hiiiih##iddddi +hhiihh##iiddii +hhhihh##iidiii +hhhhhh##iiiiii +###i######d### +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +0....0..0+...0 +.............. +...>....l...wf +..f..W.....+.. +&+.w.....l...& +...+.l........ +l...........W. +.............> +0....4..4....0 +...s......s... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +.............. +.......hh..... +......ch...... +.....cc....gg. +.....cc...fg.. +.....cc...fg.. +....dcch..f... +....dcchh.f... +...d@cchhff... +...d@cchhff... +...ddcchh.f... +....dcch..f... +....dcchh.f... +.....cc...fg.. +.....cc...fg.. +.....cc....g.. +.......h....g. +.............. +Bonus: +.............. +.............. +.......<...... +.....0......0. +...........>.. +.....>1....w.. +..........0... +....+s........ +......->..&... +...>.&..0.<... +....+1.3...... +......w...+... +........-..... +.....>1...0s.. +.............. +......<....... +............-. +.............. +Level: +noname +untitled +Bricks: +.............. +.............. +.kgkgkddddddd. +.gkgkgjjjjjjj. +.kgkgkddddddd. +.gkgkgjjjjjjj. +.kgkgkddddddd. +.jjjjjjjjjjjj. +.dddddddddddd. +.jjjjjjjjjjjj. +.dddddddddddd. +.jjjjjjjjjjjj. +.dddddddddddd. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +..0..>........ +....p...{-.... +...+.-...<.0.. +..3.>..0...... +.....b.....>.. +.+.*......+... +.....-l.5.b... +...0.......}-. +........>..0.. +.>-...<.p..3.. +.......+...... +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +.............. +.............. +.............. +.....jjjj..... +.....jjjj..... +.....jjjj..... +....jjjjjj.... +....jgjjgj.... +...jggjjggj... +...gggggggg... +...gggggggg... +.gggggggggggg. +gggggggggggggg +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.....0.b...... +......pw...... +.............. +......d4...... +.....<.-<..... +....+......... +......0.f0.... +.............. +.-.f0.<..+.sf. +>...-.>.-...-> +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +.............. +...j......j... +...j......j... +....j....j.... +....j....j.... +...kkkkkkkk... +...kkkkkkkk... +..kkhkkkkhkk.. +..kkhkkkkhkk.. +.kkkkkkkkkkkk. +.kkkkkkkkkkkk. +.kkkkkkkkkkkk. +.k.kkkkkkkk.k. +.k.k......k.k. +.k.k......k.k. +.k.kkk..kkk.k. +....kk..kk.... +.............. +Bonus: +.............. +...+.......... +..........2... +.............. +.............. +....0.p....... +...0...j.+.... +.........b.... +..W.-.+l...... +...2?...s2.+.. +.......0...... +.2......-..... +....-.f-...... +.-.2........2. +.s........2.f. +.....+......-. +....f...-..... +.............. diff --git a/project/jni/application/lbreakout2/client/levels/BeOS-4ever b/project/jni/application/lbreakout2/client/levels/BeOS-4ever new file mode 100644 index 000000000..502b8894b --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/BeOS-4ever @@ -0,0 +1,410 @@ +Level: +neo +beos +Bricks: +.............. +ggg......d..d. +g.g.....d.dd.d +g.g.g...d.dd.. +g.gg.g..d.dd.. +gg.g.g..d.dddd +g.ggg...d.d..d +g.gg....d.d..d +g.gg.g..d.dd.d +ggg.g....d..d. +.............. +eeeeeeeeeeeeee +ffffffffffffff +iiiiiiiiiiiiii +hhhhhhhhhhhhhh +ccc..cccc..ccc +.............. +.............. +Bonus: +.............. +.............. +.............l +b...>......... +........-..s.. +5....5....5..5 +.............. ++............0 +.....<........ +.............. +.............. +5.......5..... +.s.0.........b +.............. +............-. +.+....>......5 +.............. +.............. +Level: +neo +rules +Bricks: +.............. +.fefefefefefe. +.efefefefefef. +.cccccccccccc. +.............. +.ff.g.gd.eekk. +.f.fg.gd.e.k.. +.f.fg.gd.eek.. +.ff.g.gd.e..k. +.f.fg.gd.e..k. +.f.f.g.ddeekk. +.............. +.cccccccccccc. +.gdgdgdgdgdgd. +.dgdgdgdgdgdg. +.gdgdgdgdgdgd. +.............. +.............. +Bonus: +.............. +....-......p.. +..f...l..-.... +......+....... +.............. +...........-.. +.............. +.......-..m... +.............. +.............. +.....f........ +.............. +......+....... +..-...b..f.... +.............. +..>...>...>... +.............. +.............. +Level: +neo +roots +Bricks: +.e..dd..gk.k.. +.eeed.dg.kk... +.e.edddg.k.k.. +.eeed.d.gk.k.. +.....f..h..... +....fffh.h.... +.....f.h.h.... +.....f..h..... +i.i.g..e..k.dd +ii.g.ge.ekkkd. +i..g.ge.e.k..d +i...g..e..k.dd +.............. +cccccccccccccc +.............. +.............. +.............. +.............. +Bonus: +.1......f..... +..........5... +.....>........ +..b........+.. +.............. +.....5...1.... +.............. +........>..... ++............s +..........0... +0............. +....f..5...... +.............. +.>...+..b...>. +.............. +.............. +.............. +.............. +Level: +neo +beos dano +Bricks: +.............. +.............. +.dd........... +.d.d.......... +.d.d.......... +.d.d.......... +.d.d.ggff..kk. +.d.dg.gf.fk.k. +.d.dg.gf.fk.k. +.dd.gggf.fkk.. +.............. +.eeeeeeeeeeee. +.............. +.............. +##..#c..c#..## +...#......#... +.............. +.............. +Bonus: +.............. +.............. +.-l........... +.............. +.............. +.+.1.......... +.....-..5...s. +.5............ +.......s..1.5. +....0......+.. +.............. +..>.5.+...<.-. +.............. +.............. +.....f..-..... +.............. +.............. +.............. +Level: +neo +next generation +Bricks: +.............. +.kk.....g..f.. +.k#k...g#gf#f. +.k#k.d.g#gf#.. +.kk.d#dg#gff.. +.k#kdddg#g.#f. +.k#kd#.g#g.#f. +.k#kd#dg#gf#f. +.kk..d..g..f.. +.............. +....ee..hh.... +....e#eh#..... +.jj.e#eh#h.jj. +....e#e.hh.... +.............. +#jjjjjjjjjjjj# +.............. +.............. +Bonus: +.............. +..-.....5..f.. +.>............ +.....g.j.<.... +..1........2.. +.....3...b.... +.5.....<....5. +.............. +.....>.....>.. +.............. +.....-..-..... +.............. +.>..........b. +........5..... +.............. +..-...-f...-.. +.............. +.............. +Level: +neo +r6 +Bricks: +.............. +.gggggggggggg. +.fdddffffddff. +.fdffdffdffdf. +.fdffdffdffff. +.fdffdffdffff. +.fdffdffddddf. +.fdddfffdffdf. +.fdfdfffdffdf. +.fdffdffdffdf. +.fdfffdffddff. +.gggggggggggg. +.............. +.ccbccbbccbcc. +.............. +.............. +.............. +.............. +Bonus: +.............. +...1.......5.. +...>......>... +.5..>......... +..-.......+... +....lw..0...<. +...........>.. +..c0.f.+..1... +.........5.-.. +.............. +..>.+..5..>... +.5............ +.............. +.>..-.>.....-. +.............. +.............. +.............. +.............. +Level: +neo +fine logo +Bricks: +.............. +.dddddddddddd. +.ddddjjjjdddd. +.dddjddddjddd. +.ddjddddddjdd. +.ddjddddddjdd. +.ddddjjjjdjdd. +.dddjddddjddd. +.dddjddddjddd. +.ddddjjjjdjdd. +.dddddddddjdd. +.dddddddddjdd. +.ddddddddjddd. +.ddddjddjdddd. +.ddddjddjdddd. +.dddddjjddddd. +.dddddddddddd. +.............. +Bonus: +.............. +...f.......... +.......j...... +..d.5......d5. +.............. +.5.l..>..+.... +....b...4..... +..<........1.. +.....f.d...<.. +.+............ +..1....5....5. +...d.....b.+.. +..5........... +........55.... +......f....d.. +.d.+5......... +.............. +.............. +Level: +neo +open beos +Bricks: +.............. +..g..d..k.ee.. +.gvgdvdkvkeve. +.gvgdvdkkkeve. +.gvgdvdkvveve. +.gvgdd.kvkeve. +..g.d...k.eve. +.............. +.ff..i..h..jj. +.fvfivihvhjvv. +.ffviiihvhvjv. +.fvfivvhvhvvj. +.fvfivihvhjvj. +.ff..i..h..j.. +.............. +.............. +.............. +.............. +Bonus: +.............. +..0........0.. +..+..l..b..-.. +..>........... +.....<...+.>.. +.............. +..5.5...5...5. +.............. +.............. +..p..>.....w.. +........b..... +..........-... +..b..+.....>.. +..5..5..5..5.. +.............. +.............. +.............. +.............. +Level: +neo +take me home +Bricks: +.............. +....e......... +...jje..ee..cv +v.ejjjeeee..cv +v.eejjjeee..cv +v.eeejjeee..cv +v.eeejjjee..cv +v.eeeejje...cv +v.eeeejje...cv +v.eeeeeje...cv +v.edeeeje...cv +v.djdeeje...cv +v.jajeejek..cv +v.jajeeeekk.cv +v.jaj.eekk..cv +v.fff..ek...cv +.............. +.............. +Bonus: +.............. +....b......... +.............. +.........+...> +.....l..2..... +-......>....+. +..-..........5 +...+.4......b. +p............. +......+.-....~ +5...w......... +...2........p. +......5+...... +-..>.......... +.......b.....- +>...........5. +.............. +.............. +Level: +neo +and the future +Bricks: +.............. +.............. +..........ddd. +.........dd.dd +vdvv.fvv.dv.vd +d....f.......d +d...ff......kd +dde.efe.eggkkd +d.e.efe.eg.k.d +d..eef.eeg..kd +............dd +...........dd. +...........d.. +...........d.. +.............. +...........d.. +vvv.v.v.v.v.vv +.............. +Bonus: +.............. +.............. +..........>+.. +.............. +b..5.swp....+l +>............. +.............. ++.2..>...5.3.> +....5.5....... +............s. +.............. +.............. +...........+.. +.............. +.............. +.............. +5pw.+.s.b.5.<+ +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Bertrand b/project/jni/application/lbreakout2/client/levels/Bertrand new file mode 100644 index 000000000..92c7b806a --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/BigBang b/project/jni/application/lbreakout2/client/levels/BigBang new file mode 100644 index 000000000..ec5a40a43 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Biolab428 b/project/jni/application/lbreakout2/client/levels/Biolab428 new file mode 100644 index 000000000..7cc9e0578 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Biolab428 @@ -0,0 +1,821 @@ +Version: 1.00 +Level: +n@body +muahaha +Bricks: +.............. +.............. +...E......E... +...EE....EE... +....E....E.... +....E....E.... +....E....E.... +....E....E.... +.************. +...**aaaa**... +....**aa**.... +.....****..... +......**...... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +slayer +seasons in the abyss +Bricks: +v.....vv.....v +......vv...... +..h..h..h..hh. +.h.h.hh.hh.h.. +.h.h.h..h...h. +.............. +....vvvvvv.... +....v....v.... +...hh....hh... +eeeeh....heeee +v*ve......ev*v +*v*e......e*v* +v*ve......ev*v +eeee......eeee +e............e +e............e +e............e +e............e +Bonus: +m.....pp.....* +......mm...... +..5..?..?..5*. +.*.*.**.55.5.. +.w.*.w..w...w. +.............. +.............. +.............. +...ww....ww... +&&bbw....wbb&& +...j......j... +...j......j... +...j......j... +jjjj......jjjj +j............j +j............j +j............j +j............j +Level: +cant swim +=-wave04!-= +Bricks: +............*. +.*.........*** +***.........*. +.*....gggg..*. +.*...ggggggg.. +....ggggggggg. +....gggg.*.gg. +...ggg...*..gg +...g...*****.g +..g...*..*...g +..g..***.*...g +......*..*...g +....*.*..*..gg +...***...*..gg +....*..*.*.ggg +....*.***ggggg +.......*gggggg +.......*gggggg +Bonus: +............2. +.2.........2l2 +2l2.........2. +.2....2222..2. +.2...2222222.. +....222222222. +....2222.2.22. +...222...2..22 +...2...22222.2 +..2...2..2...2 +..2..222.2...2 +......2..2...2 +....2.2..2..2b +...222...b..2b +....2..2.2.2b2 +....2.b2b22222 +.......222bb2b +.......bbbbbbb +Level: +1nfl2m3d +colony +Bricks: +************** +*****!!!!***** +*****!..!***** +****!!dd!!**** +***d..aa..d*** +**d...aa...d** +**....aa....** +**d...aa...d** +*d....dd....d* +*.....aa.....* +*d....aa....d* +d.....aa.....d +......aa...... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +......l~...... +.............. +......pp...... +......jj...... +......jj...... +......jj...... +......jj...... +......pp...... +......jj...... +......jj...... +......jj...... +......jj...... +.............. +.............. +.............. +.............. +.............. +Level: +doc +entering the laboratory +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvxxxxxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxevvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +vvvvvxvvvxvvvv +Bonus: +.......5...... +.1..........1. +101........101 +.1..........1. +.............. +.....&&&&&.... +.....&www&.... +....5&www&5... +bbbbb!www!bbbb +>>>>>>>>>>>>>> +pppppppppppppp +wwwwwwwwwwwwww +03333&&&&&3330 +03333bbbbb3330 +01111wwwww1110 +05555ww!ww5550 +00000w!!!w0000 +jjjjjwbbbwjjjj +Level: +doc +need some light +Bricks: +xxxxxxxxxxxxxx +x............x +x............x +x.........cccx +x.........cecx +x.........c.cx +x.........c.cx +x.........cccx +xxxxxxxxxxxxxx +@EEEE@@#EEE@@@ +@###EE@###E@@# +@@@##E@@##EE## +************** +************** +************** +aa**a*a*a**aaa +************** +aaaaaaaaaaaaaa +Bonus: +....llllll5555 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +.............. +.............. +.............. +m............m +.............. +.............. +dddddddddddddd +dddddddddddddd +dddddddddddddd +Level: +doc +teleport2mars +Bricks: +......vv....d. +......c....d*d +.....ccc....d. +...c.......... +..ccc...c..... +.......ccc.... +.............. +vvvvvvvvvvvvvv +############## +vvvvvvvvvvvvvv +.....x........ +....x......... +.g.xx*****.... +aaa.x......... +.a...x........ +.a............ +.a............ +.a............ +Bonus: +............5. +......g....555 +.....ggg....5. +...g.......... +..ggg...g..... +.......ggg.... +.............. +.............. +.............. +&&&&&&&&&&&&&& +.............. +.............. +.m............ +www........... +.w............ +.w............ +.w............ +.w............ +Level: +kern +danger! +Bricks: +a.a.aaa.aa..a. +aa..a...a.a.a. +aa..aa..aa..aa +a.a.a...a.a.aa +a.a.aaa.a.a.a. +************** +..*.*.*.*.*.*. +.!*!*!*!*!*!*! +.!.!.!.!.!.!.! +.!.!.!.!.!.!.! +.!.!.!.!.!.!.! +.!.!.!.!.!.!.! +*.*.*.*.*.*.*. +*.*.*.*.*.*.*. +*.*.*.*.*.*.*. +*.*.*.*.*.*.*. +*.*.*.*.*.*.*. +*.*.*.*.*.*.*. +Bonus: +.............. +.............. +.............. +.............. +l.l........... +{{bbbbbbbbbbbb +..2.2.4.4.2.2. +..2.2.4.4.2.2. +.............. +.p.p.p.p.p.p.p +.p.p.p.p.p.p.p +.g.g.g.....m.. +g.g.g.g.-.-.-. ++.+.+.+.-.-.-. +........-...-. +j.j.j.j....... +j.+.j.+...+... +j.j.j.j....... +Level: +{f(c)=0} +formula +Bricks: +Ev..vvvvvv..vE +EE#.vvvvvv.#EE +###vvv##vvv### +vvvvvvvvvvvvvv +EE..EEEEEE..EE +@E..........E@ +EE.@@.EE.@@.EE +ev..........vj +f############e +ev...#vv#...vd +d###.#vv#.###f +hv.#..**..#.vg +i#.#.*vv*.#.#h +f#.#..**..#.#k +g#..........#j +i############i +kh..******.ved +######**###### +Bonus: +.l..........l. +.............. +....ww..ww.... +wwwwbbbbbbwwww +.............. +.............. +.............. +.m..........m. +.............. +.m....bb....m. +......mm...... +.m..........m. +b.....55...... +b............b +b............b +w............b +wb..&wwww&.bbb +......ww...... +Level: +(S,T,d,K) +turing +Bricks: +aaa.aa.aaa.aaa +.a..a..a....a. +.a..a..a....a. +.a..a..a....a. +.a..aa.aaa..a. +.a..a....a..a. +.a..a....a..a. +.a..a....a..a. +.a..aa.aaa..a. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +mmm.mm.mmm.mmm +.m..m..m....m. +.m..m..m....m. +.m..m..m....m. +.m..mm.mmm..m. +.m..m....m..m. +.m..m....m..m. +.m..m....m..m. +.w..ww.www..w. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Congratiolations +clear +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +..vvvvvvvvvv.. +..v........v.. +vvvvvvvvvvvvvv +.vv........vv. +..v........v.. +.vvvvvvvvvvvv. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +aaaaaaaaaaaaaa +Bonus: +.............. +b............b +.............. +.............. +.............. +.b..........b. +.............. +....b1111b.... +.11111111111.. +.11111111111.. +.............. +.............. +*****5555***** +*****5335***** +*****5555***** +************** +************** +wwwwwwwwwwwwww +Level: +best friend +don't give up +Bricks: +************** +************** +......gd...... +......gg...... +aa..aa..xx..xx +aa..aa..xx..xx +..dd......gg.. +..dd......gg.. +aa..aa..xx..xx +aa..aa..xx..xx +..hh..zz..!!.. +..hh..zz..!!.. +aa..aa..xx..xx +aa..aa..xx..xx +..bb......yy.. +..bb......yy.. +aa..aa..xx..xx +aa..aa..xx..xx +Bonus: +55555555555555 +222222bb222222 +......bb...... +......bb...... +ww..........ww +.............. +..**......&&.. +..**......&&.. +.............. +.............. +..ww..bb..ww.. +..ww..bb..ww.. +.............. +.............. +.............. +.............. +.............. +ww..pp..pp..ww +Level: +(google brokenlinks) +secret found +Bricks: +vvvvvvv.v.**.. +vvvvvvv..v.**. +vvvvvvvv..v.** +vvvvvvv..vv.** +vvvvvv..vv.**. +vvvvv..vv.**.. +vvvvv.vv.**... +vvv...v.**.... +v....v.**..... +....v.**...... +..vv.**....... +.vv.**........ +vv.**......... +v.**.......... +.**........... +**............ +*............. +.............. +Bonus: +bbb.......ww.. +b.bb.c.....cw. +b...b.......sw +..c.b........j +...lb......{*. +bl.bb.....2*.. +blbbb.4..2*... +bwb...4.4<.... +w....4.4<..... +....?.4<...... +...?..<....... +..?.*b........ +.?.bb......... +...*.......... +.*b........... +}*............ +b............. +.............. +Level: +new +blackholes +Bricks: +.............. +.............. +.v.........v.. +.............. +...v..v....... +.............. +.............. +.............. +.............. +............v. +..v........... +.............. +.............. +.............. +.............. +.............. +.............. +aaaaaaaaaaaaaa +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +************** +Level: +<-> +Tiefighter +Bricks: +..cEcEc..cc..c +.c#EcEcc.cc.c# +.##Ev#v#.EE.#E +vvvvvvvvvvvvvv +vvvvvvv.v.vvvv +vvvvvvvvvvvvvv +d.d.d.d.d.d.d. +vdvdvdvdvdvdvd +vvvvvvvvvvvvvv +vgvgvgvgvgvgvg +gvgvgvgvgvgvgv +vvvvvvvvvvvvvv +avavavavavavav +vavavavavavavv +vvvvvvvvvvvvvv +vavavavavavava +avavavavavavav +.............. +Bonus: +..4.444..44..4 +.4444444.44.44 +...44.44.4..44 +22224242222222 +2222222.2.2222 +44444444444444 +4.4.4.4.4.4.4. +45454545422525 +44442222242222 +44442424242222 +343430000b2232 +00000000002202 +252525b52b2222 +525242b242b2bb +111141b1411111 +bmbm414141bmbm +0b0b0b0b0b0b0b +.............. +Level: +abstract +new universe +Bricks: +...!..!!..!... +.!..........!. +.............. +!............! +......**...... +....*....*.... +.............. +.............. +!..*..**..*..! +!..*..**..*..! +.............. +.............. +....*....*.... +......**...... +!............! +.............. +.!..........!. +...!..!!..!... +Bonus: +...?..??..?... +.?..........?. +.............. +?............? +.............. +.............. +.............. +.............. +w.....44.....w +w.....44.....w +.............. +.............. +.............. +.............. +w............w +.............. +.w..........w. +...w..ww..w... +Level: +journey +con tiempre +Bricks: +##.#.#.#..#..# +##.#.#.##.##.# +.............. +.............. +.............. +aa.aaa.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** +aa.aaa.aaa.aaa +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +!!.!!!.!3!.!44 +!2.!2!.!3!.!44 +!2.!2!.!3!.!44 +2!.!2!.!3!.!44 +2!.!2!.!3!.!44 +!!.!!!.!!!.!!! +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +_ +halfpipe +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +aaee......eeaa +aavz......zvaa +aavvz....zvvaa +aavvvz..zvvvaa +aavvvvzzvvvvaa +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..bb......bb.. +44bb......bb44 +44wwb....bww44 +..wwwb..bwww.. +..wwwwbbwwww.. +Level: +bio snakes +2k38 +Bricks: +.............. +.............. +.............. +.........zzzzz +.......zzzxxxx +......zzxxxyyx +......zxxyyyyx +zzzzzzxxyyzzyx +zyyyyzzzzyzzyx +zyxxxxxxzyzyyx +zyxyyyyxyy.yxx +yyxz..yxy..yyx +yyxz..yxy..zyx +xxxz..yxy..zyx +zzzz.yyxy..zyx +z....yxxy..zyx +z....yyyy..zyy +...........zzz +Bonus: +.............. +.............. +.............. +.........}}}}} +.......}}}}}}} +......}}}55555 +......}}}55555 +gggggggggggggg +gggggggggggggg +gppppppppppppp +wppppppppp.ppp +wwww..ppp..&&& +wwww..bbb..&&& +wwww..bbb..&&& +wwww.bbbb..bbb +}....}}}}..}}} +w....bbbb..bbb +...........bbb +Level: +enjoy it +dipheomorph +Bricks: +.............. +.............. +.............. +.............. +.............. +....dddggg.... +....dgdggg.... +....dgdggg.... +....ddddgg.... +....ggdddd.... +....ggddgd.... +....gggdgd.... +....gggddd.... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +....??????.... +....??????.... +....??????.... +....??55??.... +....??55??.... +....??????.... +....??????.... +....??????.... +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Blues b/project/jni/application/lbreakout2/client/levels/Blues new file mode 100644 index 000000000..9d1285541 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Bombs b/project/jni/application/lbreakout2/client/levels/Bombs new file mode 100644 index 000000000..c45a36be2 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Bombs @@ -0,0 +1,1025 @@ +Level: +noname +flamable +Bricks: +************** +******d******* +******d******* +******d******* +******dfffffff +******dfffffff +******dfffffff +*****vdfffffff +*****v*fffffff +*****v*v@@@@@@ +*****v*v****** +*****v*v*zzzzz +*****v*v*z**** +*****v*v*z**** +*****v*v*z**** +!!!!!!!v*z**** +*******v*z**** +............... +Bonus: +............... +............... +............... +............... +............... +........W...... +........W.{.... +........W.{.... +............... +............... +............... +.......*.....m. +............... +............... +............... +&............. +...}..5W....... +............... +Level: + + +Bricks: +*vv*******..v* +**v*******..v* +***v******..v* +***vv*****..v* +EEE*vv****..v* +...E*vvv***..v* +...E**vvv**..v* +...Ev*vvv**..v* +...Ev*v**v*..v* +@@Ev*v*vvv*vv* +v@vv**vvvv*vv* +v@vvi*vvvv*vv* +v@vvvivvvvvvv* +v@viiivvvvvvv* +v@ivvvvvvvvvv* +v@ii@v@vvv@vv* +vhiiivvvvvv*** +@h@vv@jj@***@* +Bonus: +..**........... +...*........... +....*.......... +....**......... +.....**........ +......**....... +.......**...... +........*...... +.........*..... +.........**.... +..........*.... +..........*.... +...........*... +...........*... +...........*... +............... +..m.**......... +..m.mm.mm...... +Level: + +july 4 +Bricks: +************** +*vvvvvvvvvvvv* +*v**********v* +*v*vvvvvvvv*v* +*v*v******v*v* +*v*v*vvvv*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*vvvv*v*v* +*v*v******v*v* +*v*vvvvvvvv*v* +*v**********v* +*vvvvvvvvvvvv* +************** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + +checkers +Bricks: +ggccgg**ggccgg +ccggcc**ccggcc +************** +*cfcfcfcfcfcf* +*fcfcfcfcfcfc* +*cfcfcfcfcfcf* +************** +kckckc**kckckc +ckckck**ckckck +************** +*!c!c!c!c!c!c* +*c!c!c!c!c!c!* +*!c!c!c!c!c!c* +************** +kckckc**kckckc +ckckck**ckckck +************** +............... +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +.......mm...... +............... +Level: + +brick +Bricks: +.....*bbbb*.... +...***aaaa***.. +!.*zzzzzzzz*.! +...*yyyyyyyy*.. +...*xxxxxxxx*.. +***cccccccc*** +*bbbbbbbbbbbb* +*aaaaaaaaaaaa* +*zzzzzzzzzzzz* +***yyyyyyyy*** +...*xxxxxxxx*.. +...*cccccccc*.. +!.*bbbbbbbb*.! +...***aaaa***.. +.....*zzzz*.... +.....*yyyy*.... +.....*xxxx*.... +.....******.... +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +..........mm... +..........m.... +..........m.... +..........m.... +......**mmm.... +Level: + +snow storm +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +..j.jjj..jjjj.. +.......j......j +j.j.....j..j.. +......j.......j +..j.j...j..j... +..............j +..j.j.j..j..... +...........j.j. +..j.j.j.j...... +...........j..j +...j..j..j..... +............... +............... +Bonus: +............... +............... +...W....*...... +...WW...*...... +....W...*...... +.....W......... +............... +............... +......*........ +............... +............... +......*........ +............... +....W...*...... +............... +...W..W..*..... +............... +............... +Level: + +the x +Bricks: +vv*vvv**vvv*vv +v*c*vv**vv*c*v +*zcb*v**v*bcz* +k*cba****abc*k +kk*bac**cab*kk +kkk*ac**ca*kkk +kkkk*c**c*kkkk +kkkkk****kkkkk +************** +************** +kkkkk****kkkkk +kkkk*c**c*kkkk +kkk*bc**cb*kkk +kk*abc**cba*kk +k*cab****bac*k +*zca*v**v*acz* +v*c*vv**vv*c*v +vv*vvv**vvv*vv +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +........5...... +............... +............... +............... +....5.......... +.......}....... +..5.*...j...... +.......W....... +Level: + + +Bricks: +vvvvvvvvvvvvvv +............... +............... +*vvvvvvvvvvvv* +v*..........*v +v.*........*.v +v..*vvvvvv*..v +v..v*.**.*v..v +v..v.*vv*.v..v +v**v.v**v.v**v +v**v.v**v.v**v +v**v.v**v.v**v +v..v.*vv*.v..v +v..v*.**.*v..v +v..*..**..*..v +v.*vvvvvvvv*.v +v*..........*v +*vvvvvvvvvvvv* +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +v.....vv.....v +vv....vv....vv +..vv...vv...vv. +...vv..vv..vv.. +....vv.vv.vv... +.....vvvvvv.... +......vvvv..... +.....vv..vv.... +....vv....vv... +...vv......vv.. +..vv........vv. +vv..........vv +vvv........vvv +...vv......vv.. +....vv....vv... +...vvvv..vvvv.. +..vv**vvvv**vv. +vv****vv****vv +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +.........m..... +Level: + + +Bricks: +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#c**c#cc#c**c# +#cccc#cc#cccc# +#cccc#cc#cccc# +#c**c#**#c**c# +#c**c#**#c**c# +************** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +.....W.....m... +Level: + + +Bricks: +........******* +*******cccccc* +*ccccccc****c* +*c*******cc*c* +*c*cccccccc*c* +*c*c******c*c* +*c*c*cccc*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*cccc*c*c* +*c*c******c*c* +*c*cccccccc*c* +*c*******cc*c* +*ccccccc****c* +*******cccccc* +........******* +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +...*...*v*...*v +....*.*vvv*.*vv +...*.*vvvvv*vvv +..*...*vvv*.*vv +*.....*v*...*v +..*.....*.....* +...*...*v*...*v +....*.*vvv*.*vv +...*.*vvvvv*vvv +..*...*vvv*.*vv +*.....*v*...*v +..*.....*.....* +...*...*v*...*v +....*.*vvv*.*vv +.....*vvvvv*vvv +....*.*vvv*.*vv +*.*...*v*...*v +..*.....*.....* +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +........j...... +............... +............... +............... +..............} +.....W..c...... +............... +&............. +........c...... +Level: + + +Bricks: +############## +**z*******z**# +*######z###### +**z*********** +#############* +**z*******z*** +*############# +**z*******z*** +#############* +**z*********** +*############# +**z*********** +#############* +**********z*** +*############# +**z****z****** +#############* +************** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............m.. +Level: + + +Bricks: +........*...... +........*...... +vvvvvvv*vvvvvv +v......*.....v +v.....***....v +v....*****...v +v...*******..v +v..*********.v +vc***********c +vc***********c +v..*********.v +v...*******..v +vvvvv*****vvvv +.......***..... +........*...... +fffffff*ffffff +*g*gggg*ggg*g* +************** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +z#z#z#zz#z#z#z +*#*#*#**#*#*#* +*#*#*#**#*#*#* +*#*#*#**#*#*#* +************** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +************** +***.**......** +***....vv..**. +*****.....***. +**vv********.. +*vvvv******.vv +*vvv*****..vvv +**vv*..**..vvv +**v*....***.vv +**v*.vvv..**.. +****.vvv...*** +*v*.vvvv...**v +**.vv....**.*v +**vv...**...*v +*.v..**.....*v +*..**.*.....*v +***...*******v +*.....*vvvvvvv +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +************** +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +************** +************** +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +*yiiyz**zyiiy* +************** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +...**......**.. +............... +Level: + + +Bricks: +*............* +..v..........v. +..*v........v*. +...*v......v*.. +....*v....v*... +.....*v..v*.... +......*vv*..... +.......vv...... +.......**...... +.......**...... +.......vv...... +......*vv*..... +.....*v..v*.... +....*v....v*... +...*v......v*.. +..*v........v*. +..v..........v. +*............* +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +vvvvvz**zvvvvv +*****z**z***** +vvvvvz**zvvvvv +*****z**z***** +vvvvvz**zvvvvv +*****z**z***** +vvvvvz**zvvvvv +*****z**z***** +zzzzzz**zzzzzz +************** +zzzzzz**zzzzzz +************** +.......**...... +.......**...... +.......**...... +.......**...... +.......**...... +.......**...... +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +************** +************** +************** +************** +************** +************** +************** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +*****cccc***** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +!.....cc.....! +!.....cc.....! +!.....cc.....! +!.....cc.....! +..!....cc....!. +...!...cc...!.. +....!..cc..!... +.....!.cc.!.... +......*cc*..... +cccccccccccccc +......*cc*..... +.....!.cc.!.... +....!..cc..!... +...!...cc...!.. +..!....cc....!. +!.....cc.....! +!.....cc.....! +!.....cc.....! +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +!.!........!.! +..!..........!. +!............! +..!..........!. +...!........!.. +....!......!... +.....!....!.... +......!..!..... +.......!!...... +.......!!...... +......!..!..... +.....!....!.... +....!......!... +...!........!.. +..!..........!. +!............! +..!..........!. +!.!........!.! +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +.......*....... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +************** +cbbbbbbbbbbbbc +ca.**.kk.**.ac +cavvvvkkvvvvac +ca.**.kk.**.ac +cavvvvkkvvvvac +ca.**.kk.**.ac +cavvvvkkvvvvac +ca.**.kk.**.ac +cavvvvkkvvvvac +ca.**.kk.**.ac +cavvvvkkvvvvac +ca.**.kk.**.ac +cavvvvkkvvvvac +ca.**.kk.**.ac +cavvvvkkvvvvac +cbbbbbbbbbbbbc +************** +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +v.v.v.v.v.v.v. +..............v +v............. +..............v +v............. +.....#.#####..v +v...#gg***#... +.....#ggzzz#..v +v...#gg***#... +.....#zzzzz#..v +v...#*****#... +.....#zzzzz#..v +v...#*****#... +.....#######..v +v............. +..............v +v............. +..v.v.v.v.v.v.v +Bonus: +............... +............... +............... +............... +............... +............... +......m........ +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +............... +Level: + + +Bricks: +!.!...cc...!.! +..!....cc....!. +!.....cc.....! +..!....cc....!. +...!...cc...!.. +....!..cc..!... +.....!.cc.!.... +......!cc!..... +cccccccccccccc +************** +......!**!..... +.....!.**.!.... +....!..**..!... +...!...**...!.. +..!....**....!. +!.....**.....! +..!....**....!. +!.!...**...!.! +Bonus: +............... +............... +............... +............... +............... +............... +............... +............... +............... +55555555555555 +.......55...... +.......55...... +.......55...... +.......55...... +.......55...... +.......55...... +.......55...... +.......55...... diff --git a/project/jni/application/lbreakout2/client/levels/CalendarFun b/project/jni/application/lbreakout2/client/levels/CalendarFun new file mode 100644 index 000000000..c8a76c900 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/CalendarFun @@ -0,0 +1,657 @@ +Version: 2.30 +Level: +Redito +Happy New Year! +Bricks: +j.jj...jjj.jjj +j..j...j.j.j.j +j..j.j.j.j.j.j +j.j....j.j.j.j +j.j..j.j.j.j.j +j.jj...jjj.jjj +@..@.@.@.@.@.@ +.............. +************** +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +************** +!!!!!!!!!!!!!! +************** +************** +.............. +.............. +Bonus: +~.W....W5~.~.W +f..f.......5.d +5..&.f.f.f...l +d.5....d.&.f.f +f....5.....d.5 +W.*~...~5W.W*. +.............. +.............. +.............. +f<.j.fwwf.j..*..... +.2..2..2...... +>.d.d.d....... +.{>.l.?Wc..W.. +...252~.202.0c +..d..W.?.d.>.W +..c.c.2.c2c.2. +...{0....*...1 +....d.W>.l.?W. +......1..5.... +.......W2.2d.. +.........c.c.. +........W0W... +.........d.... +.............. +Level: +Redito +Luck O' The Irish +Bricks: +.....ddd...... +....dxfxd..... +...dxaaaxd.... +...dfaccaxd... +..dxaciicaxd.. +..dfaciicafd.. +.dxaci..icaxd. +.dfaci..icafd. +@hhhhhh@.icaxd +@hhhhhh@.icaxd +@hhhhhh@.icafd +@hhhhhh@...... +@hhhhhh@...... +@hhhhhh@...... +@hhhhhh@...... +@hhhhhh@...... +.@hhhh@....... +..@@@@........ +Bonus: +.....{g....... +......m0{..... +...}.gb..g.... +...{?.f.}p.... +..g0.0?0.<0{.. +.......gf..g.. +.?m0f?....}... +.{0<+...0+.p.. +.5.55.5...f... +3}2..2}3.?.b.{ +.5.55.5...g0-. +.j2..2j....... +35.55.53...... +.-2ml2-....... +.5.55.5....... +3j5555j3...... +..-22-........ +...33......... +Level: +Redito +Spring Has Sprung! +Bricks: +!bb...EE...bb! +bb!b.!bb!.b!bb +.EEb!b!!b!bEE. +.............. +..dd......ii.. +.dddd....iiii. +d*dd*d..iiiiii +ddhhdd..iihhii +d*dd*d..iiiiii +.dddd....iiii. +..ff......ff.. +f.ff.f..f.ff.f +.ffff....ffff. +..ff......ff.. +@.ff.x@@x.ff.@ +xfxxffxxffxxfx +fxffxffffxffxf +.............. +Bonus: +0g..........g0 +..15.1gl1.g1.. +...g0.00g0.... +.............. +.............. +.?22?....c25c. +.............. +~.11.~..~.11.~ +.............. +.?{{?....c{{c. +.............. +>....p..p....> +..}}......}}.. +..w?......?w.. +..00.3..3.00.. +>.bb- +0f..1.++.1..f0 +.............. +Level: +Redito +Easter Egg Hunt +Bricks: +.....vjjv..... +....vj..jv.... +...vjvhhvjv... +..vEjffffjEv.. +.vEjvv@@vvjEv. +.vEjedededjEv. +.vEjdededejEv. +.vEjvv@@vvjEv. +.vEj!a!a!ajEv. +.vEja!a!a!jEv. +.vEjvv@@vvjEv. +.vEjdededejEv. +.vEjedededjEv. +.vEjvv@@vvjEv. +..vEjffffjEv.. +...vjvhhvjv... +....vj..jv.... +......jj...... +Bonus: +.....1gg1..... +....fW..Wf.... +...~..55..~... +..2.pmjjmp.2.. +.>..0....0l.>. +...s...2..s... +.b..2.?.?2..b. +.c.>......>.c. +.......1.f.... +.1.-f.1...-.1. +.>..........>. +...W2....2W... +.1..b.2.2b..1. +.f.d.0..0.d.f. +..~...ww...~.. +...>..11..>... +....cW..Wc.... +......<<...... +Level: +Redito +Call Your Mom! +Bricks: +Ev.vE......... +iaEaiv........ +aiaiav........ +ivaviEvvE..... +avivaiaaiv.... +ivEviaiiav.... +av.vai..iEv.vE +iv.via..aiaEai +av.vaivviaiaia +iv.via..aivavi +Ev.vEi..iaviva +....vaiiaivEvi +....viaaiav.va +.....EvvEiv.vi +........vav.va +........viv.vi +.........Ev.vE +.............. +Bonus: +.>.c.......... +5p.b5......... +d.*..f........ +.}.g..cp...... +2.5.24*&4..... +.>.<...?.f.... +~...dW..W.>.c. +.-.2.....5b.p5 +c...cl55l..*.d +4{.?4d..d.g.}. +.f.+.....2.5.2 +....f.?b..2.>. +.....4w*4....~ +......-+..W.-. +........fc...c +........24?.{4 +..........+.f. +.............. +Level: +Redito +Call Your Dad! +Bricks: +#v............ +akv........... +kva#.......... +avvkv......... +kvvav.#....... +avvkvvav...... +kvva#kvk#v.... +avvkav.va#v... +kva#kvvvkakv.. +akv.akakakva#. +#...kv#vkavvkv +....av.vakvvav +....kv.vkavvkv +....av.vakvvav +....#v.v#avvkv +.........kva#. +.........akv.. +.........#.... +Bonus: +.0............ +5~b........... +.1?........... +<...d......... +1!>+0......... +f...p0?0...... +1-0>..f..b.... +b...3...!.0... +.*d..1*1.5.l.. +2.0.1.w.1.1?.. +.....d.d.b...d +....s2.2s13>+. +.....-.-.f...c +....W...W1-0b. +.....>.>.<...* +..........~d.. +.........2.0.. +.............. +Level: +Redito +Ice Cream Summer Days +Bricks: +.!.!.j!jj.!.!. +c.c.jjjjdj.c.c +.!.jjdjjjj..!. +c..djjj!jjj..c +..jjj!djdjdj.. +!.jjdjjjjjjj.! +..j!jjj!jjjd.. +c.djjdjjjd!j.c +..jdjj!jjjjj.. +!.jj!jjjdjj..! +...jjjdjj!j... +...j@@@@@j.... +....@@@@@..... +....@@@@@..... +....@@@@@..... +.....@@@...... +.....@@@...... +.....@@@...... +Bonus: +.j...~fl2.m.j. +f.f....~?..f.f +.}..~2g..2..}. +>..?...f.~...> +..2~.f?.?.?... +f...?..~.2.2.f +...f.2&f...?.. +..?.~?...?f... +..2?..f~2..... +>...f...?.~..> +...~.5w5.f.... +...2..4..~.... +.............. +....4.4.4..... +.............. +.............. +......4....... +.............. +Level: +Redito +Oh, Canada! +Bricks: +jjjjjjdjjjjjjj +jjdjjdddjjdjjj +jjddjdddjddjjj +jjdddddddddjjj +jjdddddddddjjj +djjdddddddjjdj +ddjjdddddjjddj +dddjdddddjdddj +dddddddddddddj +jdddddddddddjj +jjdddddddddjjj +jjjdddddddjjjj +jjjdddddddjjjj +jjdddddddddjjj +jdddddddddddjj +jdddddddddddjj +jjjjjjdjjjjjjj +jjjjjjdjjjjjjj +Bonus: ++d.4.d*d.4.dc+ +..-...3...-... +W...-?.?-...W4 +..2.f0j0f.2... +c..{1~.~1{...c +?4..-.0.?..4?. +......*....... +f.~d.{l{.d~.fW +.2.1?0f0-1.2.0 +..{...2...{... +d.c1..*..1c.0d +.W..-.0.?..W.. +c4.2.~d~.2.4.c +..d...{...d..0 +..{.?...-.{.c. +--.>.f3f.>.-.- +.W.4.wWw.4..Ww +>+.W-+.+-.W.+> +Level: +Redito +America The Beautiful +Bricks: +a!a!a!dddddddd +!a!a!adddddddd +a!a!a!jjjjjjjj +!a!a!ajjjjjjjj +a!a!a!dddddddd +!a!a!adddddddd +a!a!a!jjjjjjjj +!a!a!ajjjjjjjj +dddddddddddddd +dddddddddddddd +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +dddddddddddddd +dddddddddddddd +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +dddddddddddddd +dddddddddddddd +Bonus: +f2f2<2*.?..{.* +2.2.2....{.... +.2f2.2....W.&. +2.2f2f.W.l..W. +f2f2.2~......~ +2.2f2...~?~... +.2.2.2.W..W... +2<2f2f.&.....& +-.?...{{...?.- +...~.-...-~... +W...W.&..W...W +..W..w..w..W.. +{.?...--...?.{ +....{..*.{.... +w....W..W....w +..W&.......W.. +?..-.~..~.-..? +-?.{..--..{.?- +Level: +Redito +Leaves are Falling +Bricks: +akakaka...ee@@ +kakaka..de@de@ +akaka..e@.e@d@ +kaka....@@.@.@ +akak....e@de@. +kak...@@d@@.@. +aka...e@.e@e@@ +ka.....e@d@.d@ +aa.....d@.@@.@ +k....e@.@ed@@@ +a......@@@ed@@ +......e.e@@.@@ +..e.d...@e@@@@ +d..........@@@ +ed...e..e...@@ +eeede..d....@@ +edeedee..e..@@ +deeeedeed..e@@ +Bonus: +mWf.d.f....w.5 +W3.W3W..*5.0lc +d.d.f......-{. +.f......5....5 +W........~5m.. +.d3...5-5-..5. +3W.........b.5 +.........w5.5- +W<.....*...-.. +.....c5.~.*.c5 +d......-.-b5-. +......~.5.5..c +..c.........~. +...........5.5 +c3......c..... +.~-.c.......5w +c..3..~....... +{-0.-.0-...0-5 +Level: +Redito +Trick or Treat! +Bricks: +......x....... +......x....... +.....xxx...... +....eeeee..... +...eeeeeee.... +..eeeeeeeee... +.eevveeevvee.. +.eevveeevvee.. +eeeeveeeveeee. +eeeeeeveeeeee. +eeeeeeveeeeee. +eeveeeeeeevee. +eevveeeeevvee. +.eevvevevvee.. +.eeevvvvveee.. +..eeeveveee... +...eeeeeee.... +....eeeee..... +Bonus: +......5....... +......5....... +......l....... +.....}*}...... +...b!.2.!b.... +..}c.f.{gdg{.>.*. +bWf5<.d.<5fWb. +!2dc.2f2.cd2!. +?.dd>~w~>dd.?. +.b~dd{d{dd~b.. +.>cfdddddfc>.. +..s?Wd0dW?s... +...>.f>f.>.... +....-0+0-..... +Level: +Redito +Lest We Forget +Bricks: +.....v@@@v.... +.....v@@@v.... +.....v@@@v.... +.....v@@@v.... +.vvvvv@d@vvvvv +.v@@@@ddd@@@@v +.v@@@ddxdd@@@v +.v@@@ddxdd@@@v +.v@@@@ddd@@@@v +.vvvvv@d@vvvvv +.....v@@@v.... +.j...v@@@v..j. +jjj..v@@@v.jjj +.j...v@@@v..j. +.j...v@@@v..j. +.j...v@@@v..j. +.j...v@@@v..j. +.....v@@@v.... +Bonus: +.....2?.?2.... +.......2...... +.....j.2.j.... +......?.?..... +.2.~.c.d.c.~.2 +..?.?..j..?.?. +.?.2...l...2.? +.j.2..?*?..2.j +..?.?..j..?.?. +.2.dm..d..md.2 +.....c.?.c.... +.............. +.4...~2?2~..4. +.............. +.d...c.?.c..d. +.............. +.~...j.?.j..~. +.....2...2.... +Level: +Redito +Baby It's Cold +Bricks: +jakcja#cjEkcja +cjakcjakcjakcj +kcjakcjakcjEkc +bkcjakcja#cjak +ja#cjakcjakcja +cjakcjakcjakcj +kcjakcjakcja#c +akcjakcjakcjak +#akcjakcjEkcja +cjakcjakcjakcj +kcja#cjakcjakc +akcjakc#akcjak +jakcjakcjakcja +cjakcjakcjakcj +kcjEkcjakcjEkc +a#cjakcjakcja# +jakcjakcjakcja +cjakcjakcjakcj +Bonus: +1f.dWf.dW..dWf +.........>.c +c.3.b.d.b.3... +.............. +...>......>... +..5.5....-.-.. +.?.j.?..5.j.5. +d.{.{....{.{.d +...?......g... +..f~f....f~f.. +d.2.>.22.>.2.d +2.?.2>dd>2.?.2 +.m.W.dbbd.W.!. +2...2....2...2 +{...{....{...{ +.............. +Level: +Redito +Merry Christmas! +Bricks: +f*f@..v...@f*f +**@..vhv...@** +**..vh!hv...** +f@...vhv....@f +@....xjx.....@ +....ff*ff..... +....xdedx..... +...ffj*jff.... +...x*e!e*x.... +..ff!f*f!ff... +..xdfe!efdx... +.ffgjf*fjgff.. +fxdjfe!efjdxf. +x*!d!d!d!d!*x. +xxxxxx@xxxxxx. +......@....... +!!.ff.@.dd.!!. +!!.ff.@.dd.!!. +Bonus: +5.5...f....5.5 +.....j5j...... +.5..05l50...5. +5....fmf.....5 +.....212...... +....1...1..... +.....f0f...... +.............. +...f.0!0.f.... +..1p2...2p1... +....W0?0W..... +.1f.1f.f1.f1.. +<.1..0.0..1.<. +d..w2.?.2w..d. +0W+>-<.<->+W0. +......5....... +.<..c...c..<.. +0..-.....-..0. diff --git a/project/jni/application/lbreakout2/client/levels/Celine b/project/jni/application/lbreakout2/client/levels/Celine new file mode 100644 index 000000000..5ce0c362f --- /dev/null +++ b/project/jni/application/lbreakout2/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.d...j.-c.. +.............. +.............. +-.<...f.-..... +Level: +Bjoern Ganslandt +Do not move! +Bricks: +.............. +..E.....d..... +..E........... +**E........... +*dE.........f. +eeE........... +hhE........... +ffE........... +ggE....g...... +EEE.........e. +.............. +.............. +..E........... +.............. +.............. +EE....EEEEEEEE +.............. +.............. +Bonus: +.............. +........1..... +.............. +.............. +............1. +.............. +.............. +.............. +.......1...... +............j. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Bjoern Ganslandt +Symmetry +Bricks: +!!!!!!@@!!!!!! +......@@...... +......@@...... +......@@...... +......@@...... +......@@...... +..cc..@@..cc.. +..cc..@@..cc.. +......@@...... +......@@...... +......@@...... +......@@...... +......@@...... +......@@...... +.....@@@@..... +.EEEEEEEEEEEE. +.EzzEzEEzEzzE. +.E..E....E..E. +Bonus: +000000..000000 +.............. +.............. +.............. +.............. +.............. +..+*......*+.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..c..f..f..c.. +.............. +Level: +Bjoern Ganslandt +Multiball +Bricks: +zzzzzzzzzzzzzz +yEyyyyyyyyyyEy +zEzzzzzzzzzzEz +xExxxxxxxxxxEx +zEzzzzzzzzzzEz +yEyyyyyyyyyyEy +zEzEEEEEEEEzEz +xExExxxxxxExEx +zEzEzzzzzzEzEz +!E!!!!!!!!!!E! +zEEEEEEEEEEEEz +!!!!!!!!!!!!!! +fccccccccccccf +fccccccccccccf +fccccccccccccf +fccccccccccccf +fccccccccccccf +ffffffffffffff +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +b00000000000bb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +&&&&&&&&&&&&&& +wwwwwwwwwwwwww + diff --git a/project/jni/application/lbreakout2/client/levels/Choices b/project/jni/application/lbreakout2/client/levels/Choices new file mode 100644 index 000000000..62a12598a --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Choices @@ -0,0 +1,658 @@ +Version: 1.10 +Level: +tfry +left is right +Bricks: +***z*zzzz*z*** +*z*z**zz**z*z* +*z*z*zzzz*z*z* +*z*z**zz**z*z* +*z*z*zzzz*z*z* +*z*z**zz**z*z* +*z*z*zzzz*z*z* +*z*z**zz**z*z* +*z*z*zzzz*z*z* +*z*z**zz**z*z* +*z***zzzz***z* +*@@@@@@@@@@@@* +*@zzzzzzzzzz** +*z**********z* +*EEEEEEEEEEEE* +cba........abc +zzzzzzzzzzzzzz +************** +Bonus: +l++++wjd~----~ +++++wjgfd~---- ++++wjgb-fd~--- +++wjgb&&-fd~-- ++wjgb&pW&-fd~- +wjgb&pm>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/project/jni/application/lbreakout2/client/levels/Circle b/project/jni/application/lbreakout2/client/levels/Circle new file mode 100644 index 000000000..0c03017fe --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Classique b/project/jni/application/lbreakout2/client/levels/Classique new file mode 100644 index 000000000..ae163f01e --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Color b/project/jni/application/lbreakout2/client/levels/Color new file mode 100644 index 000000000..790cab131 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Color @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +Ade +Colorful +Bricks: +.!.*.EEE###@@@ +*.!.*.EEE###@@ +.*.!.*.EEE###@ +..*.!.*.EEE### +k..*.!.*.EEE## +jk..*.!.*.EEE# +ijk..*.!.*.EEE +hijk..*.!.*.EE +ghijk..*.!.*.E +fghijk..*.!.*. +efghijk..*.!.* +defghijk..*.!. +adefghijk..*.! +badefghijk..*. +cbadefghijk..* +xcbadefghijk.. +yxcbadefghijk. +zyxcbadefghijk +Bonus: +}.{........... +.}.{.......... +..}.{......... +...}.{........ +}...}.{....... +{}...}.{...... +}{}...}.{..... +{}{}...}.{.... +}{}{}...}.{... +}}{}{}...}.{.. +{}}{}{}...}.{. +}5b}{}5}...}.{ +w}{}j{}{}...}. +{?}{}&{}?}...} +}{*}{}}*}{}... +{}{}+{}}{+{}.. +}{}{}}{}}{}{}. +}}{}{}}{}}{}{} +Level: +Ade +White +Bricks: +.............. +jjjjjjjjjjjjjj +jj....jj....jj +jjj...jj...jjj +j.jj..jj..jj.j +j..jj.jj.jj..j +j...jjjjjj...j +j....jjjj....j +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +j....jjjj....j +j...jjjjjj...j +j..jj.jj.jj..j +j.jj..jj..jj.j +jjj...jj...jjj +jj....jj....jj +jjjjjjjjjjjjjj +.............. +Bonus: +.............. +.....5555..... +.............. +.............. +......??...... +.............. +....l....l.... +.............. +.............. +......}}...... +.....b..b..... +.....pw&.p.... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Green +Bricks: +############## +###........### +##....ff....## +#ffffffffffff# +.f..ffffff..f. +.f..ffffff..f. +.fff#....#fff. +ffff.ffff.ffff +ffff.f##f.ffff +ffff.f##f.ffff +ffff.ffff.ffff +.fff#....#fff. +.f..ffffff..f. +.f..ffffff..f. +#ffffffffffff# +##....ff....## +###........### +####......#### +Bonus: +.............. +.............. +......}}...... +..}.}....}.}.. +......}}...... +.}..}....}..}. +.............. +}}.}.2..2.}.}} +...........m.. +.}..........}. +}..}.cgb}.}..} +.}..........}. +....?....?.... +.}....ss....}. +....+....<.... +.............. +.............. +.............. +Level: +Ade +Blue +Bricks: +EgEgEgEgEgEgEE +E.g.g.g.g.g.gE +Eg.g.g.g.g.ggE +E.g.g.g.g.gg.E +Eg.g.g.g.gg.gE +E.g.g.g.gg.ggE +Eg.g.g.gg.gg.E +E.g.g.gg.gg.gE +Eg.g.gg.gg.g.E +E.g.gg.gg.g.gE +Eg.gg.gg.g.g.E +E.gg.gg.g.g.gE +Egg.gg.g.g.g.E +Eg.gg.g.g.g.gE +E.gg.g.g.g.g.E +Egg.g.g.g.g.gE +Eg.g.g.g.g.g.E +E.g.g.g.g.g.gE +Bonus: +.............. +.............. +.........3..m. +....3......... +.............. +....>...>..... +.............. +..l...*...l... +.........c.?.. +..&.....c..... +.......c...... +......c....... +.....c........ +....c.....*... +.............. +.............. +.............. +......s....... +Level: +Ade +Yellow +Bricks: +...hhhhhhhhhhh +h...hhhhhhhhhh +hh...hhhhhhhhh +hhh...hhhhhhhh +hhhh.......... +hhhhh......... +hhhhhh..hhhhhh +hhhhhhh.hhhhhh +hhhhhhh.hhhhhh +hhhhhhh.hhhhhh +........hhhhhh +........hhhhhh +hhhhhh...hhhhh +hhhhhhh...hhhh +hhhhhhhh...hhh +hhhhhhhhh...hh +hhhhhhhhhh...h +hhhhhhhhhhh... +Bonus: +....j.j.j.j.j. +j....j.j.jdj.j +.j....j.j.j.j. +j1j....j.j.j.j +.j.j.......... +j.j.j......... +.j?j.j...j.m.j +j.j.j.j.j.j.j. +.-.1.c...j1j.j +j.j.j.j.j.j.j. +.........jdj>j +........j.j.j. +j.j.j....j.j.j +.j.j.j>...j.j. +j.<.m.j....j.j +.j.j.j.j....j. +j.j.j.1.j....j +.j.j.j.j.j.... +Level: +Ade +Pink +Bricks: +.............. +iii.i.i..i.i.i +i.i.i.ii.i.i.i +iii.i.iiii.ii. +i...i.i.ii.i.i +i...i.i..i.i.i +.............. +iii..iiiiiiiii +i..i.....iiiii +ii.i.iii....ii +i..i.i.ii.i... +i..i.i.iiiiii. +...iii.i.i.i.i +ii...iii.i.i.i +iiii.....i.i.i +iiiiiiii...ii. +iiiiiiiiii.... +iiiiiiiiiiiiii +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..........l..b +.............. +.............. +...4.j........ +b......g.4.... +.............. +.............. +..w........... +.-.+.......... +.....}........ +......s....... +Level: +Ade +Gray +Bricks: +.kkkkkkkkkkkk. +..kkkkkkkkkk.. +k..kkkkkkkk..k +kk..kkkkkk..kk +kkk..kkkk..kkk +kkkk..kk..kkkk +kkkkk....kkkkk +kkkkkk..kkkkkk +kkkkkk..kkkkkk +kkkkkk..kkkkkk +kkkkkk..kkkkkk +kkkkk....kkkkk +kkkk..kk..kkkk +kkk..kkkk..kkk +kk..kkkkkk..kk +k..kkkkkkkk..k +..kkkkkkkkkk.. +.kkkkkkkkkkkk. +Bonus: +.!&!&!&!&!&!&. +.............. +.......b...... +......*.l..... +.............. +.f............ +.............. +.............. +3.&f.......3.. +.............. +..........b..& +....b.....wb.. +..b*..><..*... +..w........... +.............. +......s.p..... +....W......... +.............. +Level: +Ade +Orange +Bricks: +......eeeeeeee +eeeee........e +e......eeeee.e +e.eeee.....e.e +e.e.....ee.e.e +e.e.eee..e.e.e +e.e.e....e.e.e +e.e.e.ee.e.e.e +e.e.e.e..e.e.e +e.e.e.e..e.e.e +e.e.e.ee.e.e.e +e.e.e....e.e.e +e.e.eee..e.e.e +e.e.....ee.e.e +e.eeee.....e.e +e......eeeee.e +eeeee........e +......eeeeeeee +Bonus: +.............. +.............. +.............. +.............. +.............5 +...........5.. +.............. +&.w.{....5.... +.............. +.............. +.........~.... +&..........!.. +.............. +.............c +...+.......... +.............. +.............. +.............. +Level: +Ade +Red +Bricks: +.ddd.dddd.ddd. +..dd.dddd.dd.. +d..d.dddd.d..d +.d...dddd...d. +..d..dddd..d.. +...d.dddd.d... +....d....d.... +dddd.d..d.dddd +dddd..dd..dddd +dddd..dd..dddd +dddd.d..d.dddd +....d....d.... +...d.dddd.d... +..d..dddd..d.. +.d...dddd...d. +d..d.dddd.d..d +..dd.dddd.dd.. +.ddd.dddd.ddd. +Bonus: +.{.{..{{..{.{. +...0.{..{.0... +{..{..{{..{..{ +.....{..{..... +..{...{*...{.. +.....{..{..... +....{....{.... +{..{......{..{ +.0{...{{...{0. +.0{...{{...{0. +{.&{......{&.{ +....{....{.... +.......d..b... +..b..{d.{..{.. +.....*{{*..... +{..{.{w&{.{..{ +..{{..{{..{{.. +.....{..{..... +Level: +Ade +Colored Stars +Bricks: +.............. +......!!...... +.....!!!!..... +....!!!!!!.... +...!!!..!!!... +..!!!....!!!.. +.!!!......!!!. +!!!........!!! +!!....!!....!! +!!!........!!! +.!!!......!!!. +..!!!....!!!.. +...!!!..!!!... +....!!!!!!.... +.....!!!!..... +......!!...... +.............. +.............. +Bonus: +.....jjjj..... +....jjp.jj.... +...jj....jj... +..jd...0..dj.. +.jj...jj.c.jj. +jj...j..j...jj +j.c.j....j...j +...j......j... +..5j......j5p. +.0.j......j... +....j....j..0. +.....jjjj..... +..&p..j<...... +...d......d... +......p....... +.............. +.............. +.............. +Level: +Ade +Red Hot (Chilli Peppers) +Bricks: +.*v*v****v***. +.***v*vv*vv*v. +.*v*v****vv*v. +.............. +.*vvvvvvvvvv*. +.*v********v*. +.*v*vvvvvv*v*. +.*v*v****v*v*. +.*v*v*vv*v*v*. +.*v*v*vv*v*v*. +.*v*v****v*v*. +.*v*vvvvvv*v*. +.*v********v*. +.*vvvvvvvvvv*. +.************. +vvvvvvvvvvvvvv +************** +.............. +Bonus: +..{.{....{.... +....{.{{.{{.{. +..{.{....{{.{. +.............. +..{{{{{{{{{{.. +..{........{.. +..{.{{{{{{.{.. +..{.{....{.{.. +..{.{.{{.{.{.. +..{.{.{{.{.{.. +..{.{....{.{.. +..{.{{{{{{.{.. +..{........{.. +..{{{{{{{{{{.. +.............. +{{{{{{{{{{{{{{ +.............. +.............. +Level: +Ade +Long Misty Days +Bricks: +.............. +.aa.aa..aa.aa. +..bbb....bbb.. +.cc.cc..cc.cc. +.............. +.cc.cc..cc.cc. +..bbb....bbb.. +.aa.aa..aa.aa. +.............. +.............. +.aa.aa..aa.aa. +..bbb....bbb.. +.cc.cc..cc.cc. +.............. +.cc.cc..cc.cc. +..bbb....bbb.. +.aa.aa..aa.aa. +.............. +Bonus: +.............. +....c......... +..f........... +...........2.. +.............. +....j....2.... +.............. +....}......... +.............. +.............. +..2......c.... +...........&.. +.............. +.............. +.&..*....*.... +.............. +.............. +.............. +Level: +Ade +GreenWall +Bricks: +############## +f##..####..##f +.f####..####f. +f.f########f.f +.f.f#....#f.f. +..f.f####f.f.. +...f.ffff.f... +....f....f.... +......xx...... +.....xvvx..... +......xx...... +...x......x... +..xvx....xvx.. +zffxffzzffxffz +yyfffyyyyfffyy +xxxfxxxxxxfxxx +yyfffyyyyfffyy +zfffffzzfffffz +Bonus: +.............. +}............} +.}..........}. +}.}........}.} +.}.}......}.}. +..}.}....}.}.. +...}.}}}}.}... +....}....}.... +......}}...... +.....}&&}..... +......}}...... +.............. +...m......m... +.............. +.............. +m0...0..0...0m +.............. +.............. +Level: +Ade +Stones +Bricks: +aa##EE@@EE##aa +kk##EEaaEE##kk +jj##Ea##aE##jj +jj##xx##xx##jj +kk#xx####xx#kk +aa##########aa +.............. +.............. +.............. +.............. +.............. +.............. +..#vvvvvvvv#.. +..#vvvvvvvv#.. +..#vvvvvvvv#.. +..#vvvvvvvv#.. +..#fghijked#.. +..##########.. +Bonus: +.............. +.............. +.............. +m............m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......ll...... +.............. +.....m&&m..... +.............. +....l....l.... +.............. +Level: +Ade +Flag +Bricks: +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +.............. +.............. +.............. +Bonus: +{{{{{{{{{{{{{{ +{j{j{j{{j{j{j{ +.............. +..d....j...d.. +....3.....3... +{{{{{{{{{{{{{{ +......d....... +.............. +.b.b.b.b.b.b.. +.............. +jjjjjjjjjjjjjj +....w..c..w... +.&&&......&&&. +..m........m.. +.............. +.............. +.............. +.............. +Level: +Ade +Flag +Bricks: +.............. +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffhhffffff +fffffhhhhfffff +ffffhhhhhhffff +fffhhhhhhhhfff +ffhhhhgghhhhff +ffhhhhgghhhhff +fffhhhhhhhhfff +ffffhhhhhhffff +fffffhhhhfffff +ffffffhhffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +.............. +Bonus: +.............. +}}}}}}}}}}}}}} +...........d.. +}}}l}}}}}}}}}} +.d....jj}..l.. +}}}}}j..j}}}}} +....j....j.... +.bb.bb....jbb. +..j........j.. +..j.d....44j.. +...j......j... +....j....j.... +..&.&j.+j.&.&. +......jj...... +...m...4...m.. +.............. +.............. +.............. +Level: +Ade +Darknes +Bricks: +.............. +......vv...... +.....vvvv..... +....vv..vv.... +...vv....vv... +..vv......vv.. +.vv........vv. +.v....vv....v. +.....vvvv..... +....vv..vv.... +...vv....vv... +..vv......vv.. +.vv........vv. +vv..........vv +v............v +aaaaaaaaaaaaaa +.............. +.............. +Bonus: +.............. +......dd...... +.....dddd..... +....dd..dd.... +...dd....dd... +..dd......dd.. +.dd........dd. +.d....dd....d. +.....dddd..... +....dd..dd.... +...dd....dd... +..dd......dd.. +.dd........dd. +dd..........dd +d............d +*d*d*d**d*d*d* +.............. +.............. +Level: +Ade +Hotter Than Hell +Bricks: +#.#.######.#.# +#.#.######.#.# +###...##...### +#.#...##...#.# +#.#...##...#.# +.....vvvv..... +....vvvvvv.... +...vvvvvvvv... +..vvvvvvvvvv.. +.vvvvvvvvvvvv. +vvvvvv..vvvvvv +vvvvv....vvvvv +vvvv......vvvv +vvv........vvv +vv..........vv +v............v +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.....{{{{..... +....{{{{{{.... +...{{{{{{{{... +..{{{{{{{{{{.. +.{{{{{**{{{{{. +{{{{{*..*{{{{{ +{{{{*....*{{{{ +{{{*......*{{{ +{{*........*{{ +{*..........*{ +*............* +.............. +.............. +Level: +Ade +Green Day +Bricks: +@@@@@@##@@@@@@ +@@@@@#..#@@@@@ +@@@@#....#@@@@ +@@@#......#@@@ +@@#........#@@ +@#...xxxx...#@ +#...xxxxxx...# +...xxxxxxxx... +..xxxxxxxxxx.. +.xxxxx..xxxxx. +xxxxx....xxxxx +xxxx......xxxx +xxx........xxx +xx..........xx +x............x +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.....}}}}..... +....}}}}}}.... +...}}}}}}}}... +..}}}}pp}}}}.. +.}}}}p..p}}}}. +}}}}p....p}}}} +}}}p......p}}} +}}p........p}} +}p..........p} +p............p +.............. +.............. +.............. +Level: +Ade +Rainbow +Bricks: +.............. +......dd...... +.....dddd..... +....ddeedd.... +...ddehhedd... +..ddehhhhedd.. +.ddehhffhhedd. +ddehhffffhhedd +dehhffggffhhed +dhhffggggffhhd +dhffgg..ggffhd +dhfgg....ggfhd +dhfg......gfhd +dhfg......gfhd +dhfg......gfhd +.............. +.............. +.............. +Bonus: +.............. +......gg...... +.....gggg..... +....gggggg.... +...gggggggg... +..gggggggggg.. +.gggggggggggg. +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggg..gggggg +ggggg....ggggg +g*gg......gg*g +gggg......gggg +gggg......gggg +.............. +.............. +.............. +Level: +Ade +Yellow Stars +Bricks: +.............. +......hh...... +..h..heeh..h.. +.heh.heeh.heh. +..h...hh...h.. +.............. +......hh...... +.h...heeh...h. +heh..heeh..heh +.h....hh....h. +...h......h... +..heh....heh.. +...h......h... +.h....hh....h. +heh..heeh..heh +.h...heeh...h. +......hh...... +.............. +Bonus: +.............. +......jj...... +..j..jjjj..j.. +.jjj.jjjj.jjj. +..j...jj...j.. +.............. +......jj...... +.j...jjjj...j. +jjj..jjjj..jjj +.j....jj....j. +...j......j... +..jjj....jjj.. +...j......j... +.j....jj....j. +jjj..jjjj..jjj +.j...jjjj...j. +......jj...... +.............. +Level: +Ade +Paddlers +Bricks: +.............. +.............. +.....j..j..... +....jj..jj.... +...jjj..jjj... +..jjjj..jjjj.. +.jjjjk..kjjjj. +jjjjkk##kkjjjj +jjjkka##akkjjj +jjkkba..abkkjj +jkkcb....bckkj +kkzc......czkk +kyz........zyk +xy..........yx +x............x +.............. +.............. +.............. +Bonus: +.............. +.............. +.....!..!..... +....!b..b!.... +...!b!..!b!... +..!b!b..b!b!.. +.!b!b!..!b!b!. +!b!b!>..>!b!b! +b!b!>b..b>!b!b +!b!>bw..wb>!b! +b!>bw....wb>!b +!>bw......wb>! +>bw........wb> +bw..........wb +w............w +.............. +.............. +.............. +Level: +Ade +Why? +Bricks: +.............. +......d....... +.....ddd...... +....ddddd..... +...ddd.ddd.... +...dd...ddd... +...d.....dd... +.........dd... +.........dd... +........ddd... +.......ddd.... +......ddd..... +.....ddd...... +.....dd....... +.....dd....... +.....dd....... +.............. +.....dd....... +Bonus: +.............. +......?....... +.....???...... +....?????..... +...???.???.... +...??...???... +...?.....??... +.........??... +.........??... +........???... +.......???.... +......???..... +.....???...... +.....??....... +.....??....... +.....??....... +.............. +.....??....... +Level: +Ade +Slow Motion +Bricks: +!!!!.......... +ggg!.......... +g!!!!......... +gggg!......... +!!gg!!!!!!.... +gggg!!ggg!.... +!!!g!!g!g!!.!! +..!gggg!gg!.!g +..!!!!g!gg!.!g +.....!gggg!!!g +.....!!!!g!g!g +........!gg!gg +........!!!!!! +.............. +.............. +.............. +.............. +.............. +Bonus: +<<<<.......... +<<<<<......... +<<<<<<........ +<<<<<<<<<<.... +<<<<<<<<<<<... +<<<<<>>>>>>>>>>>>> +WWWWWWWWWWWWWW +bbbbbbbbbbbbbb +************** +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +bWbWbWbbWbWbWb +WbWbWbWWbWbWbW +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +.............. +.............. +Level: +Ade +The Dark Side +Bricks: +##jjjjjjjjjjjj +#.#jjjjjjjjjjj +#.####jjjjjjjj +#.##v#jjjjjjjj +##j######jjjjj +jjj#j##v#jjjjj +jjj#j#####j#jj +jjjjjj##v#j#jj +jjjjjj#j###jjj +jjjjjjjjj#j#jj +jjjjjjjjj#j#jj +kkkkkkkkkkkkkk +kjjkjjkjjkkjjk +kkjkkjkkkkkkkk +kjjkjjkjjkkjkj +kjjkkkkjjkkjjk +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +Bonus: +..mmmddddddddd +...mmddddddddd +......dddddddd +......dddddddd +..d......ddddd +ddd.d....ddddd +ddd.d.....d.dd +dddddd....d.dd +dddddd.d...ddd +ddddddddd.d.dd +ddddddddd.d.dd +dddddddddddddd +dddddddddddddd +dbbddbbdbddbbd +wwwwddwdddwwwd +dddddddddddddd +dddddddddddddd +dddddddddddddd +Level: +Ade +Some Colors +Bricks: +...E##E@@EE##@ +....E##E@@EE## +.....E##E@@EE# +aaa...E##E@@EE +a......E##E@@E +a..aaa........ +a..a.a........ +a..a.aa....... +aaaa.aa....... +*x*a.aa.aaa... +chcaaaa.a.a... +jijijia.a.aaaa +egegegaaa.aa.a +!d!d!d!!a.aaaa +hjhjhjhhaaaaa. +kfkfkfkkfkfa.a +gjgjgjggjgja.a +!i!i!i!!i!i!i! +Bonus: +.............. +.............. +.............. +.............. +.............. +4............. +.............. +.............. +.............. +........4..... +l1...1........ +.............. +...bl.....4... +&?...*........ +...b.j........ +*.w........... +...}...*}..... +.....s........ +Level: +Ade +XXX +Bricks: +a...a....a...a +.a.a......a.a. +..a........a.. +.a.a......a.a. +a...a....a...a +.............. +...d*dddd*d... +..ddd*dd*ddd.. +.ddddd**ddddd. +.ddddd**ddddd. +..ddd*dd*ddd.. +...d*dddd*d... +.............. +a...a....a...a +.a.a......a.a. +..a........a.. +.a.a......a.a. +a...a....a...a +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Dont Worry +Bricks: +.............. +.............. +..vv..vvvvvv.. +..vv..vvvvvv.. +..vv..vv...... +..vv..vv...... +..vv..vv...... +..vv..vv...... +..vvvvvvvvvv.. +..vvvvvvvvvv.. +......vv..vv.. +......vv..vv.. +......vv..vv.. +......vv..vv.. +..vvvvvv..vv.. +..vvvvvv..vv.. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......m....... +.......m...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Flamengo +Bricks: +.!!!ddddddddd. +.!!!ddddddddd. +.!!!ddddddddd. +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +.dddddddddddd. +.dddddddddddd. +.dddddddddddd. +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +..dddddddddd.. +..dddddddddd.. +...dddddddd... +....aaaaaa.... +.....aaaa..... +......aa...... +Bonus: +.............. +.........0.3.. +...0..d.+..... +.....m........ +...0...l...... +.&...3....b... +.............. +...b....?..... +....s......d.. +.........+.}.. +......b....... +...?3......... +.........&.... +.....}.s...... +.............. +......m....... +.............. +.............. +Level: +Ade +Pink & Blue +Bricks: +gggggggggggggg +......gg...... +.iiii.gg.iiii. +.i..i.gg.i..i. +.ii.i.gg.i.ii. +..i.i....i.i.. +iii.iiiiii.iii +i............i +iiiiii..iiiiii +.....i..i..... +g....i..i....g +g.iiii..iiii.g +g.i........i.g +g.iii.gg.iii.g +g...i.gg.i...g +ggg.i.gg.i.ggg +....i.gg.i.... +iiiii.gg.iiiii +Bonus: +jjjjjjjjjjjjjj +......{{...... +.{}{}.55.}{}{. +.}..{.55.{..}. +.{}.}.ll.}.}{. +..{.{....{.{.. +}{}.}{}}{}.}{} +{............{ +bb{}{}..}{}{bb +.....{..{..... +{....{..{....{ +}.}{{}..}{{}.} +{.{........{.{ +}.}{}.{{.}{}.} +{...{.}}.{...{ +}{}.}.{{.}.}{} +....{.}}.{.... +}}}}}.{{.}}}}} +Level: +Ade +GreenHeart +Bricks: +.............. +.....f..f..... +....ffffff.... +...ffffffff... +..f#f.ff.f#f.. +.fff......fff. +fff........fff +#f..........f# +ff..........ff +#f..........f# +f#f........f#f +.f#f......f#f. +..f#f....f#f.. +...f#f..f#f... +....ff..ff.... +....#f..f#.... +xxxxxf..fxxxxx +yyyy......yyyy +Bonus: +.............. +.....}..}..... +....}.33.}.... +...}.5...5}... +..}...bb...}.. +.}.&......&.}. +}............} +.............. +}b..........b} +.............. +}............} +.}..........}. +..}.+....+.}.. +...}......}... +....}....}.... +.............. +.............. +.............. +Level: +Ade +NoIdea +Bricks: +......jj...... +!....jjjj....! +i!..jjjjjj..!i +!g!........!g! +.!d!......!d!. +..!f!....!f!.. +k..!h!..!h!..k +kk..!i!!i!..kk +kkk..!aa!..kkk +kkk..!aa!..kkk +kk..!i!!i!..kk +k..!h!..!h!..k +..!f!....!f!.. +.!d!......!d!. +!g!........!g! +i!..jjjjjj..!i +!....jjjj....! +......jj...... +Bonus: +.............. +......<.f..... +.............. +..f.........d. +.............. +...?.......... +.....+...d...b +.!.....*...... +?.......!...w. +.5.....b.....5 +.......+...... +.........c.... +....?......... +...*......*... +.b..........?. +......ss...... +.............. +.............. +Level: +Ade +Oxygen +Bricks: +.............. +..gggggggggggg +.ggggggggggggg +g.ggaaaggggggg +.ggaagaagggggg +g.gagggagggggg +.ggagggagggagg +g.gagggaggagag +.ggagggagaggga +g.gagggaggggga +.ggaagaaggggag +g.ggaaaggggagg +.gggggggggaggg +g.gggggggaaaaa +.ggggggggggggg +..gggggggggggg +.............. +.............. +Bonus: +.............. +.............. +......c.&?.0.. +...sj......... +........j.b.c. +......m....... +...?..0....... +.....>...2.... +...b.........? +......j.<.&s.. +.............. +....0....m.... +...w.......... +....&.2....... +...b....<.b.0. +.............. +.............. +.............. +Level: +Ade +Tchau +Bricks: +defghijk*!defg +aaa..........h +!a...........i +*aaa.........j +kaa..........k +jaa.a.a......d +i.a.a.a......e +h.aaaaaaaa...* +g...a.aa.a...! +f...a.aaaaa.af +e......a.aa.ag +d......a.aa.ah +k.........a.ai +j.........aaaj +i............k +!............d +*............e +fghijk*!xyzabc +Bonus: +{}{}{}{}..}{}{ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Composers b/project/jni/application/lbreakout2/client/levels/Composers new file mode 100644 index 000000000..cc44d0837 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Composers @@ -0,0 +1,494 @@ +Version: 1.00 +Level: +gmaestro +Bach +Bricks: +############## +hh###c#####x#x +hhh#ccc#i!#x#x +h#h#c#c!ggix#x +h#h#c#ci###x#x +h#h#c#cg###x#x +hhh#aaci###xzx +hh##aaag###xzx +h#h#a#ai###x#x +h#h#a#ag###x#x +h#h#a#ai###x#x +h#h#a#a!ggix#x +hhh#a#a#i!#x#x +************** +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +..4...4...4..4 +....m......... +.............. +.............. +b............. +.............. +.............. +w............m +.............. +.g..g.g.g....g +55555555555555 +.............. +.............. +.............. +.............. +Level: +gmaestro +Mozart +Bricks: +############## +######hh###### +@vvv@hhhh@@!@@ +@vvv@hEEh@@@@@ +@vvv@hEEh@@@@@ +@vvv@hEEh@!@!@ +@vvv@hggh@v@v@ +@vvv@hggh@vvv@ +@v@v@hvvh@vvv@ +@!@!@hvvh@vvv@ +@@@@@hvvh@vvv@ +@@@@@hvvh@vvv@ +@@!@@hvvh@vvv@ +.**...**...**. +.............. +.............. +.............. +.............. +Bonus: +53234555543235 +.............. +l...........f. +.............. +.............. +........m..... +.....g..g..... +..W........... +......44...... +......43...... +......33...... +......11...... +.f...g00g....l +.............. +.............. +.............. +.............. +.............. +Level: +gmaestro +Schoenberg +Bricks: +zzzzzzzzzzzzzz +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 +zzzzzzzzzzzzzz +v.v...vv...v.v +.............. +Bonus: +l.....m......l +.............. +.............. +.............. +b....bbbb....b +b....bbbb....b +b....bbbb....b +b............b +b............b +b............b +b............b +.............. +.............. +.&&&&&&&&&&&&. +.............. +.w.w.w**w.w.w. +p............p +.............. +Level: +gmaestro +Beethoven +Bricks: +#*#*#*#*#*#*#* +*gvivvvvikkkv# +#gvivvvvikkkk* +*gvivvvvikvvk# +#gvivvvvikvvk* +*gvivvvvikvvk# +#gviivviikkkk* +*gvvivvivkkkv# +#gvvivvivkkkk* +*gvvivvivkvvk# +#gvviiiivkvvk* +*gvvviivvkkkk# +#ggggiivvkkkv* +ededededededed +dedededededede +.............. +.............. +.............. +Bonus: +555555l5555555 +4444444444444l +l3333333333333 +.2222222222222 +11111m11111111 +.0000000000000 +.............. +..........s... +.............. +.............. +.............. +...b......b... +...p......p... +.......w...... +.w...*...*..w. +.............. +.............. +.............. +Level: +gmaestro +Cage +Bricks: +E.yyyh.h#cc.eh +k#bvvd.gv..ee. +h..ky@jjve.aah +.g#*y.a.e.k#k. +dbh..yaE.d.g!c +...fdj...dh.vv +ihcf.efhx.!j#! +.#.!he.g.a..c. +hd!vvfh@vi.*.v +...xx...v.d.ev +@iyg#f.hhf.!.! +avyg..*fg#k.i. +.v.j.j.!b.i!.h +.fcax.f.#E..d. +d.c..@.b.!xvv. +kh..j@eef..ih! +..hiva...yki.. +....v.ki.vv..k +Bonus: +...?.j.d..5..? +0...m......4.. +....5..&.p.f.! +.l.-.......gm. +p.f..d!....... +...{m......+.. +..w....~..}..? +.w.......l.... +d...d?..>>>>>>>>>>>>> +bwbwbwbwbwbwbw +wbwbwbwbwbwbwb +Level: +gmaestro +Symphonie Fantastique +Bricks: +v@@@@@@@@@@@@v +v@@@@@@@@@@@@v +v@@kkkkkkkk@@v +v@@kkkkkkkk@@v +v@@kkkkkkkk@@v +v@@kkkkkkkk@@v +v@@kkkkkkkk@@v +v@@kkkkkkkk@@v +v@@dkkkkkkk@@v +v@@ddkkkkkk@@v +v@@.ddkkkkk@@v +v@@..ddkkkk@@v +v@@...ddkkk@@v +v@@...vddkk@@v +v@@.....ddk@@v +v@@......dd@@v +v@@.......d@@v +v@@........@@v +Bonus: +.5l5l5.5l5l5.. +..5.5.5.5.5.5. +.....>!m>..... +...&.......... +....>...>..... +.............? +...W.?.W.w.... +.............. +.............. +...~......W... +....-......... +.....>!....... +......w....... +......gw...... +........>..... +.........-.... +..........~... +...........&.. +Level: +gmaestro +Smetana +Bricks: +gggggg@@yyxxxx +ggggggg@@yxxxx +gggggggg@yxxxx +ggggEggg@@yxxx +ggggggggg@yxxx +@@ggggggg@yxxx +x@ggggggg@@yxx +x@@@gggggg@yxx +xyy@gggggg@yyx +xyy@gggggg@zyx +xxy@gggEgg@zyx +xxy@gggggg@@yy +xxx@@gggggg@zy +xxxy@@ggggg@zy +xxxy@@ggggg@zy +xxxxy@@ggggg@z +xxxxyy@ggggg@@ +xxxxxy@gggggg@ +Bonus: +......33...... +s.?....33..... +....m...3..... +........33.... +....+....3.... +33.......3.... +.3.w.....3l... +.333.pf}..2... +...3..{...2... +...3...+..2... +...3......2... +...3...m.?22.. +...l2.....w2.. +....25.....2.. +....22.....2.. +.~*..22.~...1. +......1..>..11 +.w.w..1-w.w.-1 +Level: +gmaestro +Wagner +Bricks: +.............. +.............. +......##...... +j.....##.....j +jjj..####..jjj +.jj..#kk#..jj. +.jjj##kk##jjj. +.jjj#kkkk#jjj. +.jj#kkkkkk#jj. +.jj#kkkkkk#jj. +...#kkkkkk#... +..#kkkkkkkk#.. +..#kkkkkkkk#.. +..#k#k##k#k#.. +..#kkkkkkkk#.. +..#kkkkkkkk#.. +..#kkkkkkkk#.. +..##########.. +Bonus: +.............. +.............. +......+....... +m............m +.............. +......<>...... +.............. +...b......b... +....s....s.... +.............. +.............. +.............. +....-.~~.-.... +.............. +......ll...... +.............. +...*......*... +..5d......d5.. +Level: +gmaestro +Varese +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjj**jjjjjj +jjjjj*ff*jjjjj +jjjj*ffff*jjjj +jjjj*ffff*jjjj +jjjj*fjjf*jjjj +jjj*ffjjff*jjj +jjj*fjjjjf*jjj +jj*ffjjjjff*jj +jj*fjjjjjjf*jj +jj*fjjjjjjf*jj +jj*fjjjjjjf*jj +jj*fjjjjjjf*jj +j*fjjjjjjjjf*j +**fjjjjjjjjf** +ffjjjjjjjjjjff +Bonus: +.............. +.............. +......~>...... +.....>gg~..... +....~5..5>.... +...>g.++.g~... +...~5....5>... +...fg.++.g~... +..>g......g>.. +..~5......5~.. +.>g........g>. +.~5........5~. +.>g........g>. +.~5........5~. +.>g........g>. +~5..........5~ +gg..........gg +-............- +Level: +gmaestro +Paganini +Bricks: +vv@@@akka@@@vv +v@@@@akka@@@@v +@@@@@akka@@@@@ +@@@@@akka@@@@@ +@@@@@akka@@@@@ +@@@@@@kk@@@@@@ +@@@##@kk@##@@@ +@@@#@@kk@@#@@@ +v@###@kk@###@v +@@@#@@kk@@#@@@ +@@@#@@kk@@#@@@ +@@@#@@kk@@#@@@ +@@##@@kk@@##@@ +@@@@@@kk@@@@@@ +@@@@@@kk@@@@@@ +@@@@@aaaa@@@@@ +v@@@@aaaa@@@@v +vv@@@@aa@@@@vv +Bonus: +.....m..m..... +.............. +.......p...... +.............. +.............. +.............. +...55....55... +...5......5... +..555.w..555.. +...5......5... +...5......5... +...5...l..5... +..55......55.. +.............. +.......&...... +......++...... +.............. +......w....... + diff --git a/project/jni/application/lbreakout2/client/levels/Crossing b/project/jni/application/lbreakout2/client/levels/Crossing new file mode 100644 index 000000000..f74bafffb --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/D2K b/project/jni/application/lbreakout2/client/levels/D2K new file mode 100644 index 000000000..7119905e4 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Daves b/project/jni/application/lbreakout2/client/levels/Daves new file mode 100644 index 000000000..fcb070546 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Demons b/project/jni/application/lbreakout2/client/levels/Demons new file mode 100644 index 000000000..c86bb44aa --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Demons @@ -0,0 +1,492 @@ +Level: +Misty +Not So Dangerous +Bricks: +.............. +.....aaaa..... +....aaaaaa.... +...aaaaaaaa... +...addaadda... +...addaadda... +...aaakkaaa... +...aaakkaaa... +....aaaaaa.... +....aeeeea.... +....aaeeaa.... +.j...aaaa...j. +jjj...aa...jjj +jjj...aa...jjj +.j..........j. +.............. +.............. +.............. +Bonus: +.............. +......11...... +.....0..0..... +...?...&..?... +..........}... +.............. +...~.1....1... +......b..c.... +....-......... +.............. +....<..+.-.... +............f. +0......?.....0 +..{...+......~ +.b............ +.............. +.............. +.............. +Level: +Misty +Vampire Teeth +Bricks: +jjjjddddddjjjj +djjjdd##ddjjjd +djjjd####djjjd +..jj......jj.. +.djj......jjd. +.d.j......j.d. +d.d.j....j.d.d +..ddd....d.d.. +.....d##d.d... +.............. +#####hhhh##### +hhhiiicciiihhh +*cc........cc* +ccc........ccc +ccc........ccc +.cc........cc. +..c........c.. +...c......c... +Bonus: +....222222...g +~.......f..{.. +.............. +...}.......... +.............. +.............. +.............! +.............. +.............. +.............. +.......m?..... +.?.W..>..W.... +1...........c1 +.+............ +-f.........+.- +...........>.. +.............. +...>.......... +Level: +Misty +Zombie Attack +Bricks: +.............. +..bb......cc.. +.bbbb....cccc. +b....b..c....c +b*..*b..ch..hc +b....b..c....c +b.vv.b..c.vv.c +.b..b....c..c. +.c##b....c@@c. +.b##b....c@@c. +..bb......cc.. +..bb......cc.. +..ee......ee.. +.ffff....zzzz. +ffffff..zzzzzz +f....f..z....z +.............. +.............. +Bonus: +.............. +..ll.......d.. +.w.*.......... +j.......&....{ ++....+.......~ +.....w........ +..j2....W..!.. +.m............ +....+......... +.0..1....{..>. +...1......-f.. +.............. +..w........... +.*.1.......-c. +0b..<+..>.f..d +?....?..?....? +.............. +.............. +Level: +Misty +Mr Hyde +Bricks: +#...kkkkk....# +#...kkkkk....# +#...kkkkk....# +#...kkkkk....# +#.kkkkkkkkk..# +#...e....e...# +#...e!..!e...# +#...e....e...# +#...e....e...# +#....edde....# +#....e..e....# +#.....ee.....# +h.....vv.....h +hi...vvvv...ih +hi.vvvvvvvv.ih +hivvvvvvvvvvih +hivvvvvvvvvvih +hiffffffffffih +Bonus: +.............. +....2......... +.......2...... +.............. +.............. +.........1.... +.............. +....}......... +.........w.... +.....1.j...... +........*..... +.............. +.......2.....! +1...........*. +*&...p1.....0p +.............. +.0.s........c0 +W.>.?.?>.?.... +Level: +Misty +The Elements Demons +Bricks: +#####....@@@@@ +jjjj#***.@ffff +jjjj#*...@ffff +jjjj#**..@ffff +jjjj#*...@ffff +jjjj#***.@ffff +jjjj#!.!.@ffff +jjjj#!.!.@ffff +.....!!!...... +ggggE!.!.Edddd +ggggEzzz.Edddd +ggggEz...Edddd +ggggEzz..Edddd +ggggEz...Edddd +ggggEc.c.Edddd +ggggEc.c.Edddd +EEEEEccc.EEEEE +.....c.c...... +Bonus: +............3. +5....m.......5 +..?l......l... +.....W+.....?. +3.{.......!j.. +.......}...... +...3...d...... +.....-........ +......g....... +.............. +..g..c.m..-... +c....s.....{d* +.}f?.-p....... +.....c....c*.. +f..&...+...... +5.{..s.b...?.5 +.....b.+...... +.............. +Level: +Misty +Fire Walk With Me +Bricks: +.............. +.............. +.....dd....... +....de....dd.. +....d....dd.dd +...ded..dde.d. +...ded..de.de. +..deeddddedeee +.deeeddeeeeeee +deeeedeeeheeeh +hehhdeeehhehhh +dhjhhdhhhhhhhj +ehhjdjdjjjhjjh +ejjjdjj@jjhjjj +@@@@@@**@@@@@@ +.............. +.............. +.............. +Bonus: +.............. +.............. +.....c........ +....2......!.. +.............. +....*......... +.....~........ +...1..s.W.s... +....c.....+... +...c....1.c..3 +&0..W..~...... +..>.....-...{. +.{...{-...{.+. +....>...>-.... +.............. +.............. +.............. +.............. +Level: +Misty +Tengel The Evil +Bricks: +jjjjjeeeejjjjj +xx@@@@xx@@@@xx +xx@hh@xx@hh@xx +yy@hh@yy@hh@yy +zz@@@@zz@@@@zz +zzzzzzeezzzzzz +kkkkkkeekkkkkk +kkkkkkeekkkkkk +kkkkkkeekkkkkk +kkkkkeeeekkkkk +kkkkkkeekkkkkk +kkkkkevvekkkkk +ggggddddddgggg +gggdd****ddggg +gggdd****ddggg +ggggddddddgggg +..EEEEEEEEEE.. +...EEEEEEEE... +Bonus: +..ll&d.2.*.&.. +2......d...... +ws.55..b.55.b2 +...55.*..55.c. +p......2.....m +.c.W>...w>.>.. +*..f.1..4...{. +....<.-...1..~ +..m........j.. +1j..1..c..*... +}4.........-.. +......??.+...g +&...-......... +.+.....4..1... +....+4......m. +?.....??.....? +.............. +.............. +Level: +Misty +Scary Dungeon +Bricks: +.#aaa****aaa#. +#.aaaa**aaaa.# +!.aaaaaaaaaav! +h.#.a....a.#.h +i#..a....a..#i +f!v.h.hh.h.v!f +dh...h..h...hd +gi.#hvhhvh#.ig +.f#........#f. +.d!v......v!d. +.gh........hg. +..i.#....#.i.. +..f#......#f.. +..d!v.vv.v!d.. +..gh......hg.. +...i.****.i... +...f######f... +...dggggggd... +Bonus: +...*.j..5.*... +.......5...... +....}.......c. +p............. +.............. +&.c....l...c.& +.............. +&....-mm-b...& +.............. +..wc......cw.. +...........p.. +.............. +.............. +....c.dd.c.... +.............. +...b..mm..<... +.............. +.....d.<...... +Level: +Misty +Demonic Little Idiot +Bricks: +@@@h!!hh!!h@@@ +############## +************** +************** +************** +*############# +************** +************** +#############* +************** +************** +*############# +************** +************** +#############* +************** +************** +*############# +Bonus: +.............. +.............. +..m........... +.............> +.............. +.............. +.>............ +.............. +............m. +.............. +.............. +.............. +.............. +...........>.. +......5....... +.............. +.............. +.............. +Level: +Misty +The Eye +Bricks: +.............. +j............j +.h..........h. +..e..jjjj..e.. +....jhhhhj.... +...jheeeehj... +..jheddddehj.. +..hed####dehj. +jhed######dehj +jhed######dehj +.jhed####dehj. +..jheddddehj.. +...jheeeehj... +....jhhhhj.... +..e..jjjj..e.. +.h..........h. +j............j +.............. +Bonus: +.............. +j............. +.............. +.....m..b..... +....?...{..... +.............. +.............. +.....5555..... +.b..543345.... +&...543345.... +.....5555..... +...>.......... +........?..... +.............. +.............. +............+. +.............. +.............. +Level: +Misty +Frozen Queen +Bricks: +############## +..##########.. +#...######...# +.##..####..##. +...#..##..#... +.ccc..##..ccc. +caajc.##.caajc +c!ajc....c!ajc +.ccc......ccc. +#............# +.##........### +..##......##.. +.....dddd..... +....dddddd.... +....djjddd.... +.....djdd..... +......dd...... +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +.............. +.............. +.............. +.lp.......m.p. +3...b......... +..j.......j..3 +.&.}.......... +.............. +.............. +.............. +.....>.?...... +....?....?.... +......?.>..... +.............. +.............. +ffffffffffffff +Level: +Misty +The Devil +Bricks: +.......#####.. +......#dd#ff#. +.....#ddd#fff# +#...##ddd#fff# +.###.#ddd#fff# +.....#ddd#fff# +.....#ddd#fff# +d...d#d#####f# +.ddd.##gg#hh## +.....#ggg#hhh# +.....#ggg#hhh# +g...g#ggg#hhh# +.ggg.#ggg#hhh# +.....#g#####h# +.....##.....## +#...##.......# +.###.......... +.....vvvvvvvvv +Bonus: +.......55555.. +......5..5**5. +.....5...5...5 +5...55.g.5..35 +.555.5...5.m.5 +.....5...5...5 +.....5...5...5 +....3555555555 +.+.&.55-.5..55 +.....5...5...5 +.....5...5..-5 +.....5...5...5 +..3..5...5...5 +.....555555555 +.....55.....55 +5...55.......5 +.555.......... +.....+..wm..wm diff --git a/project/jni/application/lbreakout2/client/levels/Family b/project/jni/application/lbreakout2/client/levels/Family new file mode 100644 index 000000000..b11d0fd02 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Family @@ -0,0 +1,821 @@ +Version: 1.00 +Level: +Daddy +Family +Bricks: +vvvvvv@vvvvvvv +v.v.v.v@.v.v.v +E!.!E!EE!E!E!E +E...E.EE.E.E.E +EEE!EEEEEE!EEE +zzzzzzzzzzzzzz +.......kik.... +k#.*.#kikik..* +ik###kik.kik## +kik.kik###kik. +.kikik..*..kik +..kik...###.ki +zzzzzzzzzzzzzz +##kik###kik### +.kikik.kikik.k +kik.kikik.kiki +ik###kik###kik +zzzzzzzzzzzzzz +Bonus: +333333.l3mmm33 +>>>>>>l.>>>>>> +.>.>.>..>.>... +.5.5.5..5.5.5. +...>......>... +2222222222222j +.......?f>.... +?..&..>Wpf?..& +W>...?Wf.pf>.. +fW>.>Wf...pf?. +.fWWWf..&..p.. +..fff......... +.wbwbwjw.wbwbw +..<><....W.... +.<>p><.~WpW..~ +.><.<><...<><...~W~ +wbwbwdwdwdwbwb +Level: +Daddy +Snow Storm +Bricks: +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +jvjvjvjjvjvjvj +jvjvjvjjvjvjvj +jjjjjjjjjjjjjj +Bonus: +bW.W.WwwW.W.Wb +.4.4.4..4.4.4. +.W.W.W..W.W.W. +.3.3.3..3.3.3. +.W.W.WwwW.W.W. +.3.3.3..3.3.3. +bW.W.W..W.W.Wb +.1.1.1..1.1.1. +.W.W.WwwW.W.W. +.1.1.1..1.1.1. +bW.W.W..W.W.Wb +.0.0.0ww0.0.0. +mW.WmW..WmW.Wm +W0W0W0WW0W0W0W +.W.W.W..W.W.W. +W0W0W0WW0W0W0W +b0m0m0ww0m0m0b +WgWgWgWWgWgWgW +Level: +Daddy +Boom +Bricks: +************** +*............* +*.**********.* +*.*........*.* +*.*.******.*.* +*.*.*....*.*.* +*.*.*.**.*.*.* +*.*.*.**.*.*.* +*.*.*.**.*.*.* +*.*.*.**.*.*.* +*.*.*.**.*.*.* +*.*.*.**.*.*.* +*.*.*....*.*.* +*.*.******.*.* +*.*........*.* +*.**********.* +*............* +************** +Bonus: +11111111111111 +1............1 +1.1111111111.1 +1.1........1.1 +1.1.222222.1.1 +1.1.2....2.1.1 +1.1.2.44.2.1.1 +1.1.2.44.2.1.1 +1.1.2.44.2.1.1 +1.1.2.44.2.1.1 +1.1.2.44.2.1.1 +1.1.2.44.2.1.1 +1.1.2....2.1.1 +1.1.222222.1.1 +1.1........1.1 +1.1111111111.1 +1............1 +11111111111111 +Level: +Daddy +Oh boy +Bricks: +vfv#vfv#vfv#** +hvh#hvh#hvh#** +v#v#v#v#v#v##* +f#f#f#f#f#f#** +v#v#v#v#v#v#** +h#h#h#h#h#h#*# +v#v#v#v#v#v#** +f#f#f#f#f#f#** +v#v#v#v#v#v##* +h#h#h#h#h#h#.. +v#v#v#v#v#v#.. +f#f#f#f#f#*#*# +v#v#v#v#v#*#** +h#h#h#h#h#*#** +v#v#v#v#v#*##* +f#fvf#fvf#**** +v#vhv#vhv#**** +h############# +Bonus: +bwb.bwb.0w0.ll +wbw.wbw.w0w.ll +0.0.0.0.0.0..l +0.0.0.0.0.0.ll +0.0.0.0.0.0.ll +0.0.0.0.0.0.5. +0.0.0.0.0.0.55 +0.0.0.0.0.0.55 +b.w.w.w.w.w..5 +w.0.0.0.0.0... +b.0.0.0.0.0... +w.0.0.0.0.4.5. +b.0.0.0.0.4.54 +w.0.0.0.0.4.44 +b.0.0.0.0.4..4 +w.bwb.bwb.4444 +b.wbw.wbw.4444 +w............. +Level: +Daddy +Fancy work +Bricks: +vvvvvvvvvvvvvv +xcvvvvvvvvvvcx +xcvvvvvvvvvvcx +evvvvvvvvvvvve +xcvvvvvvvvvvcx +xcvvvvvvvvvvcx +eevvvvvvvvvvee +ycvvvvvvvvvvcy +yccvvvvvvvvccy +eeevvvvvvvveee +yccvvvvvvvvccy +ycccvvvvvvcccy +eeeevvvvvveeee +zcccvvvvvvcccz +zccccvvvvccccz +eeeeevvvveeeee +eccceeeeeeccce +ecceccccccecce +Bonus: +**...f??f...** +++..f?--?f..++ +w..f?-WW-?f..w +.*f?-WddW-?f*. +g.?-Wd~~dW-?.g +g.-Wd~{{~dW-.g +..Wd~{..{~dW.. +..W~{....{~W.. +w..{......{..w +..g........g.. +.............. +....<....<.... +...g>....>g... +....<....<.... +w............w +.....*..*..... +....++++++.... +...g......g... +Level: +Daddy +Expand +Bricks: +@@@@@@@@@@@@@@ +@............. +@!..!..!..!..! +@............. +@............. +@!..!..!..!..! +@............. +@............. +@!..!..!..!..! +@............. +@............. +@!..!..!..!..! +@............. +@............. +@!..!..!..!..! +@............. +@............. +@!..!..!..!..! +Bonus: +.............. +.............. +.............. +...........}g. +.b..>.>.>.>.>.>. +.............. +.............. +.............. +&.&.&.&.&.&.&. +.............. ++s+..+s+...+s+ +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +Level: +Daddy +Whew +Bricks: +**xxxxxxxxxxxx +**yyyyyyyyyyyy +*Exxxxxxxxxxxx +*Eyyyyyyyyyyyy +*Exxxxxxxxxxxx +*Eyyyyyyyyyyyy +*Exxxxxxxxxxxx +*Eyyyyyyyyyyyy +*Exxxxxxxxxxxx +*Eyyyyyyyyyyyy +*Exxxxxxxxxxxx +*Eyyyyyyyyyyyy +*Exxxxxxxxxxxx +*Eyyyyyyyyyyyy +*Exxxxxxxxxxxx +*Eyyyyyyyyyyyy +*Exxxxxxxxxxxx +*EEEEEEEEEEEEE +Bonus: +bbggggggggggbb +bbggggggggggdd +b.ww........bb +b.dddddddddddd +b...........bb +b...........dd +b.ww........bb +b.dddddddddddd +b...........bb +b...........dd +b.ww........bb +b.dddddddddddd +b...........bb +b...........dd +w.ww........bb +w.dddddddddddd +w...........bb +w............. +Level: +Daddy +Alex +Bricks: +gggvgvvggvgvvg +gvgvgvvgvvvggv +gggvgvvggvvggv +gvgvgvvgvvgvvg +gvgvggvggvvvvv +vvvvvvvvvvvvvv +!!!!!!!!!!!!!! +***!***!***!*! +*!*!*!*!*!*!*! +*!*!*!*!*!*!*! +*!*!*!*!*!*!*! +*!*!*!*!*!*!*! +*!*!*!*!*!*!*! +*!*!*!*!*!*!*! +*!*!*!*!*!*!*! +*!*!*!*!*!*!*! +*!***!***!***! +*############# +Bonus: +333.3l.33.3..3 +3.3.3..3...33. +333.3..33..33. +3.3.3..3..3..3 +3+3+33+33+.+.+ +gbgbgbggbgbgbg +ppp........ppp +000.000.000.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.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+0. +0+000+000+000+ +0............. +Level: +Daddy +Michael +Bricks: +ivvvvgvvgvvvvi +ivvvvvggvvvvvi +i#gg#vggv#gg#i +i#gg#gvvg#gg#i +i####iiii####i +iiiivvvvvviiii +ivvvvvvvvvvvvi +igvgv@gg@vgvgi +ivgvv@gg@vvgvi +igvgv@gg@vgvgi +iiiii@@@@iiiii +.............. +!!!!!!!!!!!!!! +!@@@@@@@@@@@@! +!!!!!!!!!!!!!! +************** +*EEEEEEEEEEEE* +************** +Bonus: +w..w..**..w..w +.............. +..55......55.. +..55..**..55.. +.............. +....w.**.w.... +......**...... +.g.g..55..g.g. +WWWWW.55.WWWWW +WWWWw.l..wWWWW +ccccc....ccccc +ffffffffffffff +ffffffffffffff +f............f +-------------- +wb>>>wbw>>>>bw +3............3 +33333333333333 +Level: +Daddy +Mommy +Bricks: +...dddddddv... +.!.dddddddv.!. +...dddddddv... +..vd@@d@@dv... +!zz@vv.vv@zz!. +.zv@vg.gv@vz.. +.zv@vg.gv@vz.. +!zv@vvgvv@vz!. +.zz@gvvvg@zz.. +...@vgggv@.... +!..!@@@@@!..!. +.............. +vvvv.!..!.vvvv +..vv.#..#.vv.. +!....#.!#....! +*.!.!#..#!.!.* +*****#..#***** +######!.###### +Bonus: +...0112110.... +...0112110.... +...0112110.... +bbb0..2..0bbbb +....33.33..... +..w.33.33.w... +..w.44.44.w... +..w.44444.w... +b...55555...b. +....55l55..... +.............. +WWWWW~><~WWWWW +b{{{~.<>.~{{{b +{{{{{.><.{{{{{ +......<>...... +bWWWW.><.WWWWb +bbbbb.<>.bbbbb +......><...... +Level: +Daddy +Daddy +Bricks: +vvvvvvvvvvvvvv +.............. +.............. +.vvvvvvvvvvvv. +.v..........v. +.v..........v. +.v.v.vvvv.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.vvvvvvvv... +yyyyyyyyyyyyyy +zzzzzzzzzzzzzz +Bonus: +bbbbbbbbbbbbbb +.............. +.............. +.bbbbbbbbbbbb. +.b..........b. +.b..........b. +.b.4.5555.4.b. +.b.4.5..5.4.b. +.b.4.5..5.4.b. +.b.4.5..5.4.b. +.b.4.5..5.4.b. +.b.4.5..5.4.b. +.b.4.5..5.4.b. +.b.4.5..5.4.b. +.b.4......4.b. +.b.44444444... +}}...}}}....}} +++++++++++++++ +Level: +Daddy +What to do +Bricks: +###g######g### +#i#.#iiii#.#i# +###.######.### +.............. +..#...#...#... +.#i#.#i#.#i#.. +..#...#...#... +g............g +##...####...## +#i#.#iiii#.#i# +##...####...## +.............. +..#...#...#g.. +.#i#.#i#.#i#.. +..#...#...#... +.............. +g#...#...#...# +#i#.#i#.#i#.#i +Bonus: +111m111111m111 +1m1.155551.1m1 +111.111111.111 +.............. +..1...1...1... +.151.151.151.. +..1...1...1... +m............m +11...1111...11 +151.155551.151 +11...1111...11 +.............. +..1...1...1m.. +.1b1.1b1.1b1.. +..1...1...1... +.............. +m1...1...1...1 +1+1.1+1.1+1.1+ +Level: +Daddy +Just 6 to go +Bricks: +hhhxhxhxhxhxhh +hhhhhhhhhhhhhx +hhxhhh######hh +hhhh##hhhhhhhx +hh##hhhhxhhhxh +hhhhhxhxhxhxhx +hh##hhhhxhxhxh +hhhh##hhhxhxhx +hhxhhh##hhhhxh +xhhhxhhh##hhhx +hhxhhhxhhh##hh +hhhhxhhhxhhhhh +hhxhhhxhhh##hh +hhhhxhhh##hhhx +hhxhhh##hhxhxh +xhhh##hhhxhxhx +hh##hhxhxhxhxh +#hhhhhhhhhhhhx +Bonus: +ww..........w+ +...~+~.f.f.gfw +w...~.......w< +.......+....<> +....b...w..<>+ +g.lfb.~wbw~.-> +~~..b..~w~.->- +w+......~.-.-> +~.w.pp..ff-<>- +w...ppp...-~<> +f.w.p+pf.-..{{ +..f.ppp..-fl.g +.-...f.f-...{{ +..~...f-...~bw +-....-......wb +...-........bw +.-..W.wW.W.Wwb +..gW>WWW.. +.~..........?. +....>.....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/project/jni/application/lbreakout2/client/levels/FatalDoomsday b/project/jni/application/lbreakout2/client/levels/FatalDoomsday new file mode 100644 index 000000000..c1b3eaa1d --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/FatalDoomsday @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +Nethippy +Hard Walls +Bricks: +.............. +.............. +.............. +.............. +.............. +cccccccccccccc +dddddddddddddd +cccccccccccccc +.............. +cccccccccccccc +jjjjjjjjjjjjjj +cccccccccccccc +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +l....*..<..... +.............. +...?.b........ +.............. +b............. +........s..... +...<.?........ +.............. +.............. +.............. +.............. +.............. +.............. +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 +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: +Nethippy +Tricky +Bricks: +.............. +.............. +.............. +gggggggggggggg +EjjjjjjjjjjjjE +dddddddddddddd +.............. +gggggggggggggg +EjjjjjjjjjjjjE +dddddddddddddd +.............. +gggggggggggggg +EjjjjjjjjjjjjE +dddddddddddddd +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +55555555555555 +......ll...... +b............b +.............. +b............b +.............. +.............. +.............. +.............. +.............. +p.....>>.....p +.............. +.............. +.............. +.............. +Level: +Nethippy +Arrrgh! +Bricks: +iiiiiiiiiiiiii +.............. +iiEEEEEEEEEEEE +.............E +gggggggggggggg +E............. +EEEEEEEEEEEEgg +E............. +hhhhhhhhhhhhhh +.............E +hhEEEEEEEEEEEE +.............. +dddddddddddddd +E............. +EEEEEEEEEEEEdd +.............. +.............. +.............. +Bonus: +.............. +.............. +b............. +.............. +l5555555555555 +.............. +.............b +.............. +4444444444444> +.............. +b............. +.............. +>............. +.............. +.............. +.............. +.............. +.............. +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: +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 +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: +Nethippy +Bricks Ahoy! +Bricks: +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +Bonus: +.............. +5.5.5.5.5.5.5. +.............. +.5.5.5.5.5.5.5 +.............. +?............. +.............. +.............? +.............. +>.>.>.>.>.>.>. +.............. +.>.>.>.>.>.>.> +.............. +l...........l. +.............. +.............. +.............. +.............. +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 +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 +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 +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: +Nethippy +Pot-O-Gold +Bricks: +.............. +.............. +.............. +.cccc......... +EhhhhE........ +EggggE........ +EddddE........ +EeeeeE........ +.EEEE......... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.5555......... +.5555......... +.5555......... +.5555......... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +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: +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: +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: +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: +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: +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 +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 +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 +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: +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: +Nethippy +In Reverse +Bricks: +.............. +.............. +.............. +.E..........E. +.E..........E. +.E..........E. +.EggggggggggE. +.EhhhhhhhhhhE. +.EiiiiiiiiiiE. +.EddddddddddE. +.E..........E. +.E..........E. +.EEEEEEEEEEEE. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +..>>>>>>>>>>.. +..3333333333.. +..4444444444.. +..5555555555.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +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 +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 +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 +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: +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: +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: +Nethippy +Channels +Bricks: +.dE.gEhhEg.Ed. +.dE.gEhhEg.Ed. +.dE.gEhhEg.Ed. +.dE.gEhhEg.Ed. +.dE.gEhhEg.Ed. +.dE.EE..EE.Ed. +.EE.E....E.EE. +.E..E....E..E. +.E.iE.EE.Ei.E. +.E.EE.EE.EE.E. +.E.E..EE..E.E. +.E.E..EE..E.E. +.E.E..EE..E.E. +.E.E..EE..E.E. +.E.E.EiiE.E.E. +.E.E.E..E.E.E. +.E.E......E.E. +.E..........E. +Bonus: +.3..4.ll.4..3. +.3..4.55.4..3. +.3..4.55.4..3. +.3..4.55.4..3. +.3..4.55.4..3. +.3..........3. +.............. +.............. +...>......>... +.............. +.............. +.............. +.............. +.............. +......>>...... +.............. +.............. +.............. +Level: +Nethippy +Graybar +Bricks: +v............v +.............. +.............. +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +zzzzzzzzzzzzzz +vvvvvvvvvvvvvv +cccccccccccccc +bbbbbbbbbbbbbb +aaaaaaaaaaaaaa +.............. +.............. +.............. +.............. +.............. +Bonus: +l............l +.............. +.............. +.............. +55555555555555 +.............. +?............? +.............. +55555555555555 +>>>>>>>>>>>>>> +f............f +ff..........ff +>>>>>>>>>>>>>> +.............. +.............. +.............. +.............. +.............. +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 +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: +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: +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: +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: +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 +The 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. +.............. +.............. +~...~...~...~. +..~...~...~... +.............. +>>>>>>>>>>>>>> diff --git a/project/jni/application/lbreakout2/client/levels/FatalDoomsday2 b/project/jni/application/lbreakout2/client/levels/FatalDoomsday2 new file mode 100644 index 000000000..ad824d984 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Flower b/project/jni/application/lbreakout2/client/levels/Flower new file mode 100644 index 000000000..6dda8442d --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Flower @@ -0,0 +1,206 @@ +Version: 0.10 +Level: +B&Z +Rose for you +Bricks: +......i....... +..iii.iii..... +.i..ii.ii..... +.i..ii.ii..... +.iiiii.iii.... +i.iii.iiii.... +ii...iiii..fff +.iiiiiii..ff.f +.ii.iii.f.f.ff +....ii.ff.fff. +........ff.... +........f..... +...fff..f.ff.. +....fff.fff... +.....ff.f..... +.......f...... +.......f...... +......f....... +Bonus: +.............. +.............. +.f......f..... +....!......... +...+....<..... +......>0p..... +.0...b.......? +..c...1}..j-.b +.-...?......f. +........<..... +.............. +.............. +...fw...+..... +..........1... +.....<-.0..... +.............. +.............. +.............. +Level: +B&Z +Tulip +Bricks: +...iiii....... +..i....i...... +..i.ii.i.i.... +.iii..ii.ii... +.iii.iii.iii.. +iiiii.i.iiii.. +iiiii..iiiii.. +iiii.iiiiiii.. +iii.iiiiiiii.. +.ii.iiiiiiii.. +..iiiiiiiii... +f..i.iiiii.... +.f....f......f +.fff...f...fff +.f.ff..f..ffff +.ff.ff.f.ffff. +..ff.f.f.fff.. +...ffffff..... +Bonus: +....?......... +.............. +.....-.f...... +..0........... +......j..>.... +.~+c......W... +..}.....*+f... +0->...&2..0... +.......+.~.... +.?..~-..-.c... +..f...>..?.... +.............. +.............. +.-W.........{. +...+...!...>.. +..2.~....~f-.. +...f...0...... +.....>........ +Level: +B&Z +Red Rose +Bricks: +.......ddd.... +......ddddd... +....ddd.ddd... +...d..dd.d.dd. +..d...ddd.dddd +..dddd.dd.dddd +..ddddddd.dddd +..dddddddd.ddd +.d.dddddd.dd.. +ddd.ddd..dddd. +ddd....dddd..f +.dddddddddddf. +..dddd.ddddff. +...dd...ffff.f +.......f.fff.. +......f.f.fff. +.......f...fff +............ff +Bonus: +.............. +........>..... +....3.!..g&... +...........b.. +.......p-...?. +..~.......->.0 +...~s..s....~. +...<*b>.3..... +....3..w...... +0-...?....j... +..>........... +.~.....>&!<... +...?-...~?..0. +..........-... +..........&>.. +......c....... +............w. +.............. +Level: +B&Z +Vine Leaf +Bricks: +.fff.f..f..... +.f.fff.fff..f. +.ff.ff.fff.f.. +ffff.f.fff.... +.ffffffff..ff. +.....ffffffff. +.fffff.ffffff. +fffff.fff..... +ffff.fffffff.. +.ff.ff.ff.ff.. +ff.fff.fff.f.. +ffffff.fffff.. +fff.f....fff.. +......ff.....f +.....f..f...f. +.....f......f. +......f...ff.. +.......fff.... +Bonus: +.0......W..... +...>.+.>f...-. +.-..~..}5c.... +...f.1.+-..... +.?g.c.j....&<. +.....w.>s.?+.. +... +.s.....1...f.. +....sf..>c.... +0-<4c....b}-.. +.w..>......... +.............. +.....>..-..... +.............. +...........+.. +.......+.>.... +Level: +B&Z +Margarite +Bricks: +.............. +......f....... +f......f...... +ff.....f...... +.ff.hhh.f..... +...hhhhh.hhh.. +...hhhhh.hhhh. +.hh.hhhhhhhhh. +hhhhh....hhhh. +hhhh..ee..h... +hhhh.e..e.hhh. +.hhh.e..e.hhhh +...h..ee..hhhh +.hhhh....hhhhh +.hhhhhhhhh.hh. +.hhhh.hhhhh... +..hhh.hhhhh... +.......hhh.... +Bonus: +.............. +......p....... +?............. +.-............ +....3...-..... +...<.!g..>.+.. +.....0cb..0... +.0..+>......f.... +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Fly b/project/jni/application/lbreakout2/client/levels/Fly new file mode 100644 index 000000000..11d41733c --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Fly @@ -0,0 +1,821 @@ +Version: 0.50 +Level: +B&Z +R. Labyrinth +Bricks: +dddddddddddddd +dddddddddddddd +d###d######### +d#d#d#ddddddd# +d#d#d#ddddddd# +d#d#d#ddddddd# +d#d#d#d#ddddd# +d#d#d#d#ddddd# +d#d#d#d#dd#### +d#d#d#d#dd#ddd +d#d###d#dd#ddd +d#ddddd#dd#ddd +d#ddddd#dd#ddd +d#######dd##dd +dddddddddddddd +.............. +.............. +.............. +Bonus: +wbb?bwbbbb?b+b +bbbb+bb+bbbbbb +b100b1311b1131 +b1b0b1bbbbbbb1 +b1b0b1bwbb-bb1 +b1b0b1bbbwbbw1 +w1b0+1b0bbbbb1 +b1b0b1b0b?bbb1 +b1-0b1b0bb1111 +b1b0b1b0bb1bbb +b1b000b0b+3b?b +b1bmwmb0-b0bbb +-1bmmmb0bb0-+b +w1111111ww00ww +fww0-+w0+0w-00 +.............. +.............. +.............. +Level: +B&Z +R. Labyrinth2 +Bricks: +dEEEEEdddddddE +dEdddEdddddddE +dEdddEdEEEEEdE +dEdEdEdEdddEdE +dEdEdEdEdddEdE +dEdEdEdEEEdEdE +dEdEdEdddEdEdE +dEdEdEdddEdEdE +dEdEdEEEEEdEdE +dEdEdEdddddddE +dEdEdEdddddddE +dEdEdEdEdEEEEE +dEdEdEdEdEdddd +dEdEdddEdEdddd +dEdEdddEdEdddd +dEEEEEEEdEdddd +.............. +.............. +Bonus: +0.......bbb.~. +0.bbb.w~bbbfw. +..bbb.w.....w. +......m.bbb.!. +..~.w.m.bbb.f. +....w.....b... +..m...f~..b.m. +..m.b.....b.b. +..m.b.....b.m. +..f.b.bbwbbbb. +......mbmbmbm. +........w..... +..!...!.b..... +..b.m...w..00. +..b.mf..m..00. +........w..... +.............. +.............. +Level: +B&Z +The Trap +Bricks: +.............. +.............. +.EEEE@@@@EEEE. +.EigigegegigE. +.EgigegegigiE. +.EigigegegigE. +.Egkg@**@kgkE. +.Ekgk@eg@gkgE. +.@gkg@ge@kgk@. +.Ekgk@@@@gkgE. +.EgjgdgdgjgjE. +.EjgjgdgdgjgE. +.EgjgdgdgjgjE. +.EjgjgdgdgjgE. +.EEEE@..@EEEE. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +..bbbW..?bbb.. +..bbb.?..bjb.. +..bbb...!bbb.. +..bbb....bbb.. +..bbb.mm.bbb.. +..bbb.mm.bbb.. +..bfb....bfb.. +..bbb...}bbb.. +..bbb{4.>b+b.. +..bbbwp.wbbb.. +..bbbwwwwbbb.. +.............. +.............. +.............. +.............. +Level: +B&Z +Bucket +Bricks: +......@EEEEEEE +.......E@..... +.......E...... +.......E...... +.EEEE..E....E. +.E@gEggEggggE. +.EggEggEggggE. +.EggEggEggggE. +.EggEggEggggE. +.EgggggEggggE. +.EgggggEggggE. +.EggggggggggE. +.EggggggggggE. +.EggggggggggE. +.Eggggggggg@E. +.Eggg@@gggggE. +.E@gg@@gggggE. +.EEEEEEEEEEEE. +Bonus: +.............. +.............. +.............. +.............. +.............. +...........w.. +...-.?b.bb.... +..?b..b..bbb.. +..bb.>b.?.b?.. +..bbb.b.-bbb.. +..bfbbb.bbbb.. +..bc.b.bb.bb.. +..b..gbb.>bb.. +..b.>.?.c.b... +..bbbbbb.bb... +..-bb..bbbbf.. +...w...m.?bb.. +.............. +Level: +B&Z +Visualization +Bricks: +############## +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +#f##e#dd#e##f# +######dd###### +fffee#ddeeefff +fffee#ddeeefff +fffee#ddeeefff +###########... +.............. +Bonus: +.............. +.b..b.bb.b..b. +.b..b.bb.b..b. +.b..b.bb.b..b. +.b..b.bb.b..b. +.b..b.bb.b..b. +.b..b.mm.b..b. +.b..b.bb.b..b. +.b..b.bb.b..b. +.b..b.bb.b..b. +.b..b.bb.b..b. +.b..b.bb.b..b. +......bb...... +bWlbb.cjbwW..w +!bb&p.b+b.bwb. +bfbbb.bb~.w..w +.............. +.............. +Level: +B&Z +Temple +Bricks: +......aa...... +......aa...... +......EE...... +......gg...... +.....EEEE..... +....gggggg.... +....EEEEEE.... +...gggggggg... +...EEEEEEEE... +..gggggggggg.. +..EEEEEEEEEE.. +.gggggggggggg. +.EEEEEEEEEEEE. +gggggggggggggg +############## +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +Bonus: +.............. +.............. +.............. +......wf...... +.............. +....bbbbbb.... +.............. +...bbwb-bbb... +.............. +..bbbbjbbbbb.. +.............. +.bbb+bbbwbbbb. +.............. +bbfbbbbbbbbbbb +0000000>000000 +bbcbbbwbbbbbbb +bmbmbmbmbmbmbm +wbbwbbwbwbbbbw +Level: +B&Z +Cross +Bricks: +a.a.a.aa.a.a.a +.@.E.@aa@.E.@. +a.a.a.aa.a.a.a +......@#...... +......#@...... +EEEE..E#..EEEE +......#E...... +..a...@#...a.. +.aca.a#@a.aca. +acacacE#cacaca +.aca.a#Ea.aca. +..a...@#...a.. +......#@...... +......E#...... +zzzzzz#Ezzzzzz +zzzzzz@#zzzzzz +......#@...... +......E#...... +Bonus: +b.b.b.bb.b.b.b +......bb...... +b.b.b.bb.b.b.b +......5....... +......&5...... +.......&...... +......+....... +..m...c+...m.. +.bbb.b+cb.bbb. +mbbbmb.+bmbbbm +.wbb.b>.b.bbw. +..w...>>...w.. +......>>...... +.......>...... +bbbbbb155bbbbb +wmpmpj11mmpmpw +......11...... +.......1...... +Level: +B&Z +Therm +Bricks: +aaaaaaaaaaaaaa +aEEEaEEEEaEEEa +aEdEaEEdEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEdEEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEEdEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEddEaEdEa +aEdEaEdEEaEdEa +Bonus: +bbbbbbbbbbbbbb +b...b....b...b +b.b.1..p.1.b.b +b.b.1....1.b.b +b.b.f.p..1.b.b +b.b...>}.?.b.b +b.b.?.?..+.b.b +b.b....m...b.b +m.b.}....c.b.? +?.b.>....>.b.m +1.b.p.l..1.b.+ ++.b.p....1.b.f +f.b.+..?.m.b.? +?.b.m....?.b.1 +1.b.1.?c.p.b.1 +w.b.?..>.p.b.w +w.b.}.mm...b.w +w.b...m..}.b.w +Level: +B&Z +Random +Bricks: +Exekgkgxekejxg +*Ejfejkgj*ik*! +h*Ehi!h!hddhd* +gkkEdjfgeh*gdh +!gjdEd*kfg!xfa +fjkikEai*iaga* +ieEkjkEejaiaf* +*feEdgeEkfg*ha +Eei*EdfxEd*ddg +jE*c!EeixEe*j* +x*Ei*dExg*Ekkd +g!fdj!eEdxdE*k +dh!hxhf!Edg*Ek +f*gejEjgeEkeEj +i*dh!iEe*i*iEa +hfj*gkfEkegaEg +*j*iajgaEfafEa +.............. +Bonus: +...mw..wwm.?bb +..g.bbbbbbbbbb +-....bmww....b +-bg..-bm.b.wb. +.bw....b?b..b- +.b.m...bbb.-b. +wb..w...gbm.b. +bb...cc..bm.b- +bbmw........b. +b..w..c.....bb +b..m.........b +wg*.wmm......b +b4.b..m..c...b +bw.bb..mm.w..b +b.w4b...m..m.b +bb4.bbb..wmm.b +wb.wbwwb...m.. +.............. +Level: +B&Z +Bobble Bobble +Bricks: +fzzzzzzzzzzzzf +fEzzzzzzzzzzEf +fEzzzzzzzzzzEf +fEzEzzzzzzEzEf +fEzzzzzzzzzzEf +fEzzzzzzzzzzEf +fEzEzzzzzzEzEf +fEzzzzzzzzzzEf +fEzzzzzzzzzzEf +fEzEzzzzzzEzEf +fezzzzzzzzzzef +fezzzzzzzzzzef +feEEEEEEEEEEef +feeeeeeeeeeeef +feeeeeeeeeeeef +EEEaaaaaaaaEEE +fffaaaaaaaafff +fffaaaaaaaafff +Bonus: +-c-ccc?ccc?ccc +....-...&..f.. +f.......f....f +....4bbbb4.... +...-4bbbb4.}.m +&.g.4bbbb-.... +....4bbbb4...f +f.}.fbbbb4.m.. +.....bbbbf...g +..0..bbbb....c +..&.-.&.&0.0.. +&..0...f..s..c +.g............ +mmmmmmmmmmmmmm +bbbbbbbbbbbbbb +...>>>>>>>>... +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +Level: +B&Z +Fly invisibly +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +...........<.. +...~.......... +.............. +.f.....f...... +...c......c.~. +.....}..<..... +...........}.. +.<............ +bbbbbbbcbbbbbb +bbbb~bbbb~bbbb +bbbbbbbbbbbbbb +bbb}b&bbb}bfbb +bfbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +www.4....g4.ww +Level: +B&Z +FLy BoOom +Bricks: +ajdjjjjjdjajdj +a*ddjaajjdja*d +ddajdjjajdjaaj +jdaajdjjajjjaj +ajdajjdjajdjja +ajjdajjdjaadja +dajjdajddjajdj +ddajjjajjdjadd +j*jajdaajddj*d +jjdajjdjajddaa +ajjdajjjajjdda +aajjaajdjjjjda +aajjjajjdjajdd +daajjdaadjjajj +d*aajjdaaddj*j +dddaajddaaddja +jddjjjjdjjjjdd +jjjddjjjjjjjjj +Bonus: +.......f...... +...0.<........ +...........~.. +...!.....b.... +.<...f.~..w.b. +..~........... +.......b....>. +...b.{...1.... +....w...!..... +&...s.....s... +.............. +p.s.d.....b.!. +....>..b...... +...s..f....... +.............. +.............. +*.*..*.*.*..*. +.....w........ +Level: +B&Z +Fly architect +Bricks: +@@@EEEE@@@@... +@@@E@eE@@..... +EEEEeeE@@..... +EeeeeeE@@..... +EeeeeeEEE..EE. +EeeeeeEeeeeeE. +EeeeeeEeeeeeE. +EeeeeeEeeeeeE. +EeeeeeeeeeeeE. +EeeeeeeeeeeeE. +EeeeeEEEeeeeE. +E@eeeE.EeeeeE. +EEeeEE.EeeeeE. +#eee#..EeeeeE. +#eee#..EeeeeE. +#eee#..EeeeeE. +#eee#..EeeeeE. +#####..EEEEEE. +Bonus: +.............. +.....5........ +.............. +.............. +.............. +.?..?....wwb.. +...m.....bbb.. +.......>.wwb.. +....?....bb>.. +..?m.g.>.wwb.. +.........bbb.. +.........bbb.. +.........bbb.. +.............. +.............. +.............. +.............. +.............. +Level: +B&Z +Fly +Bricks: +..aaaaaaaaaa.. +..aEaaaaaaEa.. +..EdEaaaaEdE.. +..EdEEaaEEdE.. +..EeEdEEdEeE.. +..EeEdEEdEeE.. +..EeeeEEeeeE.. +..EeeeEEeeeE.. +..EeeeEEeeeE.. +..EaaaEEaaaE.. +..EaaaEEaaaE.. +..EaEaEEaEaE.. +..EeeeEEeeeE.. +..EeeeEEeeeE.. +.............. +.............. +.............. +.............. +Bonus: +..bbbb000bbb.. +..b.b..w>w... +...bbb..www... +.............. +.............. +.............. +.............. +Level: +B&Z +ButterFly +Bricks: +.............. +vvvvvvvvvvvvvv +eev#vvvvvv#vee +veev#vvvv#veev +vehev#vv#vehev +ve!ievEEvei!ev +vehfieEEeifhev +vveifdEEdfievv +vvveidEEdievvv +vvvefhEEhfevvv +vvefidEEdifevv +vehi!eEEe!ihev +veheevEEveehev +veevvvvvvvveev +evvvvvvvvvvvve +vvvvvvvvvvvvvv +.............. +.............. +Bonus: +.............. +.............. +?............? +.............. +..?0..lg..0?.. +...0......0... +..?..W..W..?.. +.....5..5..... +...~......~... +w...b>b>b>b>b>b+ +wbwbwbwbwbwbwb +.............. +.............. +Level: +B&Z +Snake +Bricks: +EEEEEEEEEEEEEE +E!EfdfEEdfdE!E +EdEdfdEEfdfEfE +EfEfEfEEdEdEdE +EdEdEdEEfEfEfE +EfEfEfEEdEdEdE +EdEdEdEEfEfEfE +EfEfEfEEdEdEdE +EdEdEdEEfEfEfE +EfEfEfEEdEdEdE +EdEdEdEEfEfEfE +EfEfEfdfdEdEdE +EdEdEdfdfEfEfE +EfEfEfdfdEdEdE +EdEdEdfdfEfEfE +EfdfEfdfdEdfdE +EdfdEdfdfEfdfE +EEEEEfdfdEEEEE +Bonus: +.............. +.............. +..........~... +.....?..>..... +...}.......... +.?...>......?. +........~.j... +.>.j....g...>. +..........>... +...f....?..... +.l..........}. +.....bbbb.f... +...>.bbbb..... +.....wbwb..... +.....bwbw..... +.....wbwb..... +.cm..bwbw..mc. +.....wbwb..... +Level: +B&Z +Sad Clown +Bricks: +EeeeeeeeeeeeeE +EEeeEEeeEEeeEE +e@ee@eeee@ee@e +e@**@eeee@**@e +e@gg@eeee@gg@e +e@**@eeee@**@e +e@@@@e@@e@@@@e +eeeeee@@eeeeee +eeaeee@@eeeaee +eeeeeeeeeeeeee +eeae@dddd@eaee +eeee@****@eeee +eeae@dddd@eaee +eeee@****@eeee +eeee@@@@@@eeee +.............. +.............. +.............. +Bonus: +.bbbb.??.bbbb. +.............. +b............b +b............b +b.mm..cc..mm.b +b....wwww....b +b....w..w....b +b..b......b..b +b.db-....-bd.b +bj.b......b.jb +b.}b......bc.b +b..b......b..b +b.Wb......b!.b +b..b......b..b +wwww......wwww +.............. +.............. +.............. +Level: +B&Z +Barbarian +Bricks: +eeeedxxxxdeeee +eddEdxxxxdEdde +eddEdxxxxdEdde +eddEdxxxxdEdde +eEEEdxxxxdEEEe +dddddEEEEddddd +xxxxxEddExxxxx +xxxxxEddExxxxx +xxxxxEddExxxxx +xxxxggggggxxxx +xEEEgeggegEEEx +xEddgeeeegddEx +xEddgeeeegddEx +xEddgeeeegddEx +xEddgEEEEgddEx +.............. +.............. +.............. +Bonus: +w.....ww.....w +.............. +.............. +.............. +.............. +..w........w.. +bbbbb....bbbbb +b...b....b...b +b...b....b...b +bbbbb....bbbbb +b...b....b...b +b.bbb....bbb.b +b.bbb....bbb.b +b.bbb....bbb.b +w.bwb....bwb.w +.............. +.............. +.............. +Level: +B&Z +Barbarian2 +Bricks: +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aEEEEEEEEEEEEa +aEddddEEddddEa +aEddddEEddddEa +aEiiidEEdiiiEa +aEidEEEEEEdiEa +aEddEdEEdEddEa +aEdeeeEEeeedEa +aEdegeEEegedEa +aEdeeeEEeeedEa +aEddddEEddddEa +aEEEEddddEEEEa +aaaaddddddaaaa +aaaaEEEEEEaaaa +aaaadeiiedaaaa +aaaaEEEEEEaaaa +aaaaaddddaaaaa +Bonus: +b..c+....c...b +......j....... +b............b +.............. +b...+........b ++....m..m..... +b............b +.............c +b.........c..b +...+.........+ +b........c.+.. +..c..........b +b............. +cb.b.b.b.b.b.b +b.bc......b.b. +.b.b.b.b.bcb.b +bcb.......b.b. +wbwbwbwbwbwbwb +Level: +B&Z +Invisible2 +Bricks: +EEE@@@@@@@@EEE +EEEvvvvvvvvEEE +EEvvvvvvvvvvEE +EEvvEE@@EEvvEE +EvvvvvvvvvvvvE +EvvvEvvvvEvvvE +vvvEEvEEvEEvvv +vvEEvvvvvvEEvv +@vEvv@vv@vvEv@ +@vEvv@vv@vvEv@ +vvEEvvvvvvEEvv +vvvEEvEEvEEvvv +EvvvEvvvvEvvvE +EvvvvvvvvvvvvE +EEvvEE@@EEvvEE +EEvvvvvvvvvvEE +EEEvvvvvvvvEEE +EEEvE@@@@EvEEE +Bonus: +.............. +......cc...... +.............. +.............. +..f........f.. +.............. +c............c +c............c +......>>...... +......>>...... +bb..bbbbbb..bb +bbb..b..b..bbb +.bbb.bbbb.bbb. +.mmbbbbbbbbmm. +..mm......mm.. +..bbbbbbbbbb.. +...wwbbbbww... +...w......w... diff --git a/project/jni/application/lbreakout2/client/levels/Freek b/project/jni/application/lbreakout2/client/levels/Freek new file mode 100644 index 000000000..1aea762f7 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Freek @@ -0,0 +1,1599 @@ +Level: +Corrado +Corrado[2] +Bricks: +....dddddddd.. +...d..ddd..d.. +..d....d....d. +..d....d....d. +..d.........d. +..d.........d. +..d.........d. +...d.......dd. +...d.......d.. +...d.......d.. +...d.......d.. +....d.....dd.. +....d.....dd.. +.....d....d... +.....d....d... +.....dd..d.... +......dd.d.... +.......dd..... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Corrado +Corrado[2] +Bricks: +...f#y....#x.. +...f#yd...#x.. +v.gf#y....#xd. +v.gf#yd...#xd. +vigf#y#.a.#xde +.igf#yd.a.#xde +.igf#*d.a.#xde +.igf#.d.a.#xde +.igf#.d.a.#xde +.igf#...a.#xde +.ig.#...a.#*de +.ig.#.....#vde +.i..#.....#.ve +.i..#.!.!.#.*e +....#..!..#..v +.............. +.............. +.............. +Bonus: +...{.......... +...b.b........ +..f..p........ +.....b........ +...m.......w.. +.............. +............>m +..bb.......... +.{bb..-.l..<<. +........-....p +........-....p +.bg........d+. +.............. +.+....4.4..... +.......4.....+ +.............. +.............. +.............. +Level: +Freek +Corrado[1] +Bricks: +bbbbbb........ +bbbbb...a..... +bbbb...aaa.... +iii.....a..... +ii..........dd +i..ddd....!aaa +..jjjd...!@@@@ +.hhhjd..!@@@@@ +...hjd..@@@@@@ +....jd.....ggi +aax..d.....ggi +*####......ggi +#####......ggi +......v..v.ggi +...........ggi +.............. +.............. +.............. +Bonus: +d.55.......... +.mg.....?..... +.......???.... +pp......?..... +.............d +.....l.....??. +.............. +....m......... +.....>........ +.............w +W..........*.. +.............. +............?. +......>..f...< +...........l.. +.............. +.............. +.............. +Level: +Freek +Corrado[3] +Bricks: +ffff........e. +.ffff....dddee +..ffff....ddee +..aaaaa...ddee +...aaa....ddee +!..##.....d..e +.!............ +..!......!@@@@ +....aaaaa..d*. +.....bbbbbzd.. +###*..yyyyz@.. +!#...**...z@.* +*#.vEEEE!vz@.. +.#..........*. +.............. +.............. +.............. +.............. +Bonus: +.g.b........*. +..w.?....b.w.. +....??........ +..mm......f... +.............. +.............m +.............. +..p........... +....c..j...... +.....++.l..... +.........W.... +..........!... +.........!w... +............-. +.............. +.............. +.............. +.............. +Level: +Freek +untitled +Bricks: +fffff....fffff +dddd*...g..... +dddd...g..z.z. +dddd..g...zzz* +.....g......*. +....g......... +...kkkk*!!.... +..bbbbbbb!!... +aaaaaaaaaa!!.. +.............. +......dddd.... +@@@j.xxxxxx.j. +...jjjjjjjjjj. +.............. +.............. +....v....hh.h. +.............. +.............. +Bonus: +p.p......&&b.. +.w>>.......... +..>>...d....d. +mcc........... +.....b........ +.............. +...2233445.... +..11.-j.jb.... +00-..j.g-..... +.............. +.............. +.....f..~.f... +....l..}....~. +.............. +.............. +....<....+.... +.............. +.............. +Level: +Corrado +Corrado[4] +Bricks: +jjjjj......... +j***.yyyxx**.. +jjjj.yxxxx.... +jjfffyyyyycccc +jjfz.###..!!!c +hhh.dddd..cccc +hhhh..zd.ccccc +hhhhh.....eee. +hvvv.......ze. +hhh.EEEEEE.... +..........ii.. +...bbbbb.iii.. +....bbbb..zi.. +.........**i.. +a.....dddd*... +**aa.....**... +.............. +.............. +Bonus: +m...*......... +.....?b.3b.j.. +.?3........... +....+.dl..b.m. +?.!W.........1 +...........1.. +pm.+.......... +...........--. +...........-.. +m.m........... +...........w.. +.....f.!..?... +....}.w....... +...........s.. +......<..+.... +..}......+.... +.............. +.............. +Level: +Freek +untitled +Bricks: +ffffffffffffff +gggggggggggggg +hhhhhhhhhhhhhh +#####.*####### +....#vd#...... +ccc!#..#xxxxxx +!ccc#..#xxEE.. +ccc.#dv#...... +ccc.#..#...... +....#.d#!!.... +kkkk....yyyyyy +kkkk.v..yyyyyy +....aaaa...... +ee.xxxxxx.dddd +.............. +.............. +.............. +.............. +Bonus: +.m...??..m...b +...........m.. +*}.!.g..f.b... +.............. +......p....... +j+pb.....+.-.p +j4.d.......... +.44..?........ +d............. +......?....... +.-.~....f.c.>> +..{.....c..-.. +.............. +-..<<...s...w. +.............. +.............. +.............. +.............. +Level: +Freek +untitled +Bricks: +!v.!.....!kkdd +....vkkkkkkkdd +ycc..kkkkkkkdd +ggigggggkkkkdd +fhiiiiiiikkkdd +fhhhhhhhikkkdd +fffffffhhhkkdd +ffffffffhhkkdd +aaaaaaffhhkkdd +aaaaaafffffkdd +aaaaaafffffkdd +aaaavyyyfffkdd +aaa...!.fffkdd +##...@@@kkkk## +.............. +.............. +.............. +.............. +Bonus: +...........-~. +....2.+....... +m......?.?..m. +.~.d.f..p.+..4 +2...?.p..2.l4. +..p.........+. +-4.-.b~+2.?... +...W.......b.p ++..c<..d.f<.W. +.W...2.W.4.... +.4b........-.c +...?.....c.... +..<.....-..... +..........w... +.............. +.............. +.............. +.............. +Level: +Freek +untitled +Bricks: +*!*hhggv!..... +e!*hhgg*!..... +e!*hhgg*!..... +@@@@@@@@@@vvvv +kkkkkkkkkkkkkk +yyykkkkkkkkkkk +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +*........*kkkk +*!..!zzkkkkkkk +EEiiizzz....EE +iiizziiiiiiiii +iiiiiiiiiiiiii +jjjjjjjjjjjjjj +jjj........jjj +.............. +.............. +Bonus: +.-.m.......... +.....-........ +.............. +.............. +....f......... +.m.5........f. +...55.-.22.-.> +..*..*...2...> +.............. +............m. +.........l.... +..jj.ddd...... +.??...>g<.l.<. +..?........... +bb..p.-WW}..++ +bbw........Wbb +.............. +.............. +Level: +Freek +untitled +Bricks: +.............. +.............. +...!.a...aa... +aa...#a..##... +##....#....... +...a....a..... +..a#a.!.#a.... +ii#.#....#a... +iiiiii....#eee +iiiiii.ieeeeee +gggggiiieeeeee +gggggii.eeeeee +gggggii....**e +*gggg.!v!.*... +g*ggg......... +ggggg......... +.............. +.............. +Bonus: +.............. +.............. +.....f...W~... +f>....>....... +.............. +...~....W..... +..~.>....f.... +.-........c... +?p.?2-........ +.-..2.......m. +555.2l1.0000.. +......1.j..... +..w.?.1....... +.............. +......... +.......>...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Freek +untitled +Bricks: +**.**..**.**.. +*..*.*.*..*... +**.**..**.**.. +*..**..*..*... +*..*.*.**.**.. +.............. +**********.*.* +.........*.*.* +.........*.**. +.........*.*.* +***.*..*.*.*.* +*...**.*.*.... +***.**.*.***** +*...*.**...... +***.*.**.***.. +.........*..*. +.........*..*. +.........***.. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +ggg.g..g...... +g...gg.g...... +ggg.gg.g...... +g...g.gg...... +ggg.g.gg.ggg.. +.........g..g. +.........g..g. +.........ggg.. +Level: +Freek + +Bricks: +czczczczczczcz +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjffjhfjih +hijfhjjjjhfjih +hijfhhhhhhfjih +hijffffffffjih +hijjjjjjjjjjih +hiiiiiiiiiiiih +hhhhhhhhhhhhhh +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbmbbdmdbbmbbb ++w+w+w+w+w+w+w +g}g5g}g5g}g5g} +bbbdbbbmbbbdbb ++d+w+d+w+d+w+d +w+w+w+w+w+w+w+ +Level: +Freek + +Bricks: +.............. +.............. +.............. +************** +************** +.............. +.............. +vvvvvv.vvvvvvv +.............. +.............. +.............. +vvvvv.vvvvvvvv +.............. +.............. +.............. +vvvvvvv.vvvvvv +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +?????.???????? +.............. +.............. +.............. ++<+>+>+.+>+s<< +.............. +.............. +Level: +Freek + +Bricks: +.............j +.............j +.............j +.............j +.............j +g............j +g............j +g...b........j +g...b........j +g...b......... +aaaab..ccc.... +....b..g...... +....b..g...... +....baag...... +.......g...... +.......g...... +.............. +.............. +Bonus: +.............* +.............* +.............* +.............* +.............* +*............* +*............W +*...*........W +*...*........W +*...*......... +WWWW*..WWW.... +....*..W...... +....*..W...... +....WWWW...... +.......W...... +.......W...... +.............. +.............. +Level: +Freek + +Bricks: +.............. +.............. +...i......i... +..iji....iji.. +.ijjji..ijjji. +.ij.jjiijj.ji. +.ij..jiij..ji. +.ij...jj...ji. +.ij........ji. +..ij......ji.. +..ij......ji.. +..ij......ji.. +..iij....jii.. +...ijj..jji... +....ijjjji.... +.....ijji..... +.....iiii..... +......ii...... +Bonus: +.............. +.............. +...w......w... +..jjj....jjj.. +.>ssss..ssss>. +.>?.??????.?>. +.>0..0000..0>. +.++...00...++. +.!!........!!. +..&&......&&.. +..~~......~~.. +..cc......cc.. +..>ll....ll>.. +...000..000... +....------.... +.....bbbb..... +.....gggg..... +......++...... +Level: +Freek + +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +*a*a*a*a*a*a*a +E*E*E*E*E*E*E* +cccccccccccccc +cccccccccccccc +cccccccccccccc +aaaaaaaaaaaaaa +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.-.~.-.~.-.~.- +!>!>!>!>!>!>!> +.!.!.!.!.!.!.! +.............. +.............. +.............. +wbwbwbwbwbwbwb +Level: +Freek + +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......v....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Freek + +Bricks: +.............. +...eeeeee..... +..eeeeeeeee... +.ee....eeeee.. +ee........eee. +...........ee. +...........ee. +...........e.. +..........ee.. +......eeeee... +......eeee.... +......ee...... +......e....... +.............. +.............. +......e....... +.....eee...... +.....eee...... +Bonus: +.............. +...??????..... +..?????????... +.??....?????.. +??........???. +...........??. +...........??. +...........?.. +..........??.. +......?????... +......????.... +......??...... +......?....... +.............. +.............. +......?....... +.....???...... +.....???...... +Level: + + +Bricks: +........j..d.. +.............. +.j............ +..d........... +.............. +..g..........g +..........j... +........d..... +g........g.... +...j..j.g....g +j.........j... +..d........... +..........g... +.............. +.....j.....j.g +.........j...g +...d.......... +.............. +Bonus: +........d..*.. +.............. +.d............ +..*........... +.............. +..d..........* +..........d... +........d..... +*........d.... +...*..d.d....* +d.........*... +..d........... +..........*... +.............. +.....d.....d.d +.........d...* +...*.......... +.............. +Level: + + +Bricks: +..j.d.jj.d.j.. +.............. +.d..j.dd.j..d. +.d..j.dd.j..d. +.............. +.............. +jj.dd.jj.dd.jj +jj.dd.jj.dd.jj +.............. +.............. +dd.jj.dd.jj.dd +dd.jj.dd.jj.dd +dd.jj.dd.jj.dd +.............. +.............. +.............. +.............. +.............. +Bonus: +..<.~....W.j.. +.............. +......+f...... +......f+...... +.............. +.............. +s.....s.....s. +.l.....l.....l +.............. +.............. +.............. +>-.>-.>-.>-.>- +.............. +.............. +.............. +.............. +.............. +.............. +Level: + + +Bricks: +#E##cbabcbabc@ +#EEExyyzyyxxyj +.............. +.............. +************** +kkkkkkkkkkkkkk +.e.e.e.e.e.e.e +.............. +..........kkkk +..........kkkk +..........kkkk +..........kkkk +.E#@zh....kkkk +.E#@zh........ +.............. +.............. +.............. +.............. +Bonus: +....+...+...+. +.......+.....+ +.............. +.............. +!j.!.f.!.f.!.j +.............. +.............. +.............. +..........pwpw +..........!!!! +..........ppwp +..........wppw +..........pwpp +.............. +.............. +.............. +.............. +.............. +Level: + + +Bricks: +.............. +.............. +.............. +...jk......... +..jkjkjkjk...k +kjk..jkjkjk.kj +jk........jkj. +...........j.. +.............. +.............. +.............. +...........*e* +*e*......e*e*e +e*e*...*e*e... +...e*e*e*..... +....e*e....... +.............. +.............. +Bonus: +.............. +.............. +.............. +...gw......... +..*b*b*b*w...w ++g+..g+g+g+.+g +*w........*b*. +...........g.. +.............. +.............. +.............. +...........fdf +fdf......df>~- +>~-f...fdf>~..... +....-~-....... +.............. +.............. +Level: + + +Bricks: +.*.***.***.*** +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.*.*.*.*.*.*.* +.***.***.***.* +Bonus: +...-........>. +.............. +.>...>...>...> +.............. +...>.......-.. +.......-...... +...........>.. +.-...-........ +.............. +.............> +.......-...-.. +.............. +...-.....-...- +.>.>.>.-.....> +.......>...... +.........>.... +.............. +..........>... +Level: + + +Bricks: +************** +.............. +dddddddddddddd +.............. +@.@.@.@.@.@.@. +.............. +************** +.............. +dddddddddddddd +dddddddddddddd +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +5.5.5.5.5.5.5. +.............. +.............. +.............. +-l.-l.-l.-l.-l +.............. +bf.bf.bf.bf.bf +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: + + +Bricks: +.............. +h.e.h.e.h.e.h. +vhvhvhvhvhvhvh +e.h.e.h.e.h.e. +.............. +.............. +.............. +.............. +dddddddddddddd +************** +igigigigigigig +gigigigigigigi +.............. +.............. +************** +zzzzzzzzzzzzzz +jjjjjjjjjjjjjj +.............. +Bonus: +.............. +..f...<...d... +.............. +w...>...g...b. +.............. +.............. +.............. +.............. +-..-..-..-..-. +.............. +.............. +.............. +.............. +.............. +.............. +...+.....+.... ++.....+.....+. +.............. +Level: + + +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.ccc.....aaaaa +c*c*c....a*a*a +c*c*c....a*a*a +ccccc....aaaaa +cc*ccc....a*a. +*ccc*c...aaaaa +c*c*cc..aa***a +cc*cc...a*aaa* +.ccc....aaa.aa +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.000.....5.5.5 +0w0b0.....s.f. +0+0+0....5-5-5 +00000.....5.5. +00+000.....-.. ++000+0....5.5. +0b0p00...5f~s5 +00+00...5-5.5- +.000.....5...5 +.............. +.............. +.............. +Level: + + +Bricks: +.............. +.............. +........hhh... +........h*h... +........h*h... +.........*.... +.....eee.*.... +.....e*e.*.... +.ggg.e*e.*.... +.g*g..*..*.iii +.g*g..*....i*i +..*...*....i*i +..*...*.....*. +..*.........*. +..*.........*. +..*.........*. +.............. +.............. +Bonus: +.............. +.............. +........fff... +........flf... +........fff... +.............. +.....~~~...... +.....~l~...... +.---.~~~...... +.-l-.......jjj +.---.......jlj +...........jjj +.............. +.............. +.............. +.............. +.............. +.............. +Level: + + +Bricks: +dddddddddddddd +dddddddddddddd +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +.............. +.............. +.............. +.............. +.............. +Bonus: +>>>>>>>>>>>>>> +!!!!!!!!!!!!!! +-------------- +wwwwwwwwwwwwww +++++++++++++++ +llllllllllllll +wwwwwwwwwwwwww +++++++++++++++ +pppppppppppppp +mmmmmmmmmmmmmm +llllllllllllll +++++++++++++++ +++++++++++++++ +.............. +.............. +.............. +.............. +.............. +Level: + + +Bricks: +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +jfkfyf..fjfkfj +jfkfjf..fyfkfj +######..###### +Bonus: +..m.*>.....m.s +p..b....>*.... +.5............ +.c........bm.. +....*...w*..cs +p..b....>...c. +..m..>....b... +.c..*w.....m5s +pw......>..... +.....>...*b.5. +..mb........5. +pw..*.......5s +...b......bmw. +.5...>......w. +p.mb.w...*b.c. +....*........s +.....>..>..... +.............. +Level: + + +Bricks: +.............. +.............. +.............. +.************. +.*iiiiiiiiii*. +.*ihhhhhhhhi*. +.*ihiiiiiihi*. +.*i!!hh!!!hi*. +.*ihi!iih!hi*. +.*ih!hii!ihi*. +.*i!!!hh!ihi*. +.*ihiiiiiihi*. +.*ihhhhhhhhi*. +.*iiiiiiiiii*. +.************. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.344141444434. +.240330020030. +.42?..?..?.42. +.43.?..?..?42. +.41........34. +.41?..?..?.21. +.31........34. +.03..?..?..34. +.34......?.33. +.03.?..?..?01. +.141144414101. +.040004000001. +.............. +.............. +.............. +Level: + + +Bricks: +############## +############## +############## +############## +##j.j.jk.k.k## +##j.j.jk.k.k## +##.j.jkjk.k.## +##.j.jkjk.k.## +##j.j.jk.k.k## +##j.j.jk.k.k## +##.j.jkjk.k.## +##.j.jkjk.k.## +##j.j.jk.k.k## +##j.j.jk.k.k## +##..........## +##..........## +##..........## +##..........## +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +..........-... +.............. +....+.j....j.. +..>........<.. +.......>...... +.....-........ +..j...<....... +.........+.... +.............. +.............. +.............. +.............. +Level: + + +Bricks: +.............. +zzzzzzzzzzzzzz +z************z +z*yyyyyyyyyy*z +z*yyyyyyyyyy*z +z*yy******yy*z +z*yy*xxxx*yy*z +z*yy*xxxx*yy*z +z*yy*x**x*yy*z +z*yy*x**x*yy*z +z*yy*xxxx*yy*z +z*yy*xxxx*yy*z +z*yy******yy*z +z*yyyyyyyyyy*z +z*yyyyyyyyyy*z +z************z +zzzzzzzzzzzzzz +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.l.}......?... +.............. +......l....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/FunCity b/project/jni/application/lbreakout2/client/levels/FunCity new file mode 100644 index 000000000..d74869bce --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Gatinha b/project/jni/application/lbreakout2/client/levels/Gatinha new file mode 100644 index 000000000..dffe5511a --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Gatinha @@ -0,0 +1,2912 @@ +Version: 1.00 +Level: +Vivian +Gatinha 01 +Bricks: +************** +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +.............. +************** +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +?*b?l.?b.?bj?m +..bm......b..b +?mbj.bm.*.?.?b +..?.?..?.?...w +b..b*?.m..*b.* +.?w.....w...?. +>>*?.b?.j.?>>> +w****.jbbbbb.w +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +*v*v*v**v*v*v* +vv.v.v..v.v.vv +*..v.v..v.v..* +vvvv.v..v.vvvv +*....v..v....* +vvvvvv..vvvvvv +.............. +vvvvv....vvvvv +*...v.vv.v...* +vvv.v.**.v.vvv +..v.v.**.v.v.. +*.v.v.vv.v.v.* +..v.v....v.v.. +vvv.v....v.vvv +*...v....v...* +vvvvv....vvvvv +.............. +.............. +Bonus: +m.bw.wllw.wb.m +.............. +*............* +...c......c... +c............c +.....c..c..... +.............. +....c....c.... +b............b +..c...bb...c.. +......bb...... +j............j +.............. +..c........c.. +w............w +c...c....c...c +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +z*z!jz**zj!z*z +z*zj!z**z!jz*z +zcz!jz**zj!zcz +z*zj!zccz!jz*z +z*z!jz**zj!z*z +z*zj!z**z!jz*z +zcz!jz**zj!zcz +z*zj!z**z!jz*z +z*z!jzcczj!z*z +z*zj!z**z!jz*z +zcz!jz**zj!zcz +z*zj!z**z!jz*z +z*z!jz**zj!z*z +v@vvvv@@vvvv@v +zzzjjzzzzjjzzz +.............. +.............. +.............. +Bonus: +...>p....>m... +....b....b.... +...*......*... +....>....>.... +...w......w... +....b....b.... +...j......j... +....c....c.... +...l......l... +....w....w.... +..m..m..m..m.. +.............. +.............. +.............. +...w+....+w... +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +z!z!z!z!z!z!z! +!z!z!z!z!z!z!z +z!zzz!zzz!z!z! +!z!z!z!z!z!z!z +z!zzz!zzz!z!z! +!z!z!z!z!z!z!z +z!zzz!zzz!zzz! +!!!!!!!!!!!!!! +############## +************** +************** +jjjjjj**jjjjjj +zzzzzzzzzzzzzz +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +lmlmlmjmjmlmlm +......jj...... +wbwbwbwbwbwbwb +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +@@@.......kkkk +@@........k..k +@............k +@...j..j.....k +....j..j.....k +...jjjjjj..kkk +...jgjgjj.kkkk +..jjjjjjj.kkkk +..jjj!jjjkkkkk +..jjjjjjjkkkkk +...jjdjjkkkkkk +...jjdjjkkkkkk +...jjjjjkkkkkk +....kkkkkkkkkk +....kkkkk..k.k +....kkkkk..k.k +.@@kk@@kk@kk@k +.kkkk@kkk@kk@k +Bonus: +..........>bbb +..........*..b +.............b +....w..w...... +.............. +.............. +....w.w....... +...........+.. +.....m....+..j +...p...p.+..j. +.....*.......p +.....*....+... +.........+.... +......b.+...b. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +jjjjjjjjjjjjjj +.............. +.@##########@. +.#j........j#. +.#.@######@.#. +.#.#j....j#.#. +.#.#.@##@.#.#. +.#.#.#..#.#.#. +.#.#.#..#.#.#. +.#.#.#..#.#.#. +.#.#.#.*#.#.#. +.#.#.#.@@.#.#. +.#.#.#j..j#.#. +.#.#.@####@.#. +.#.#j......j#. +.#.@########@. +.#j..........j +.############# +Bonus: +bbbwmbwmbwmjmb +.............. +.............. +..b........b.. +.............. +....b....b.... +.............. +.............. +.............. +.............. +.............. +.............. +......b..b.... +.............. +....b......b.. +.............. +..b..........b +.............. +Level: +Vivian +Gatinha 01 +Bricks: +*....***....*c +*.....v.....*c +!!....v....!!c +*!....v....!*c +j!....v....!jc +j*....v....*jc +j!....v....!jc +j!....v....!jc +*!*!..v..!*!*c +***!..*..!***c +jjj!..!..!jjjc +jjj!..!..!jjjc +jj*!*!!!*!*jjc +jj****v****jjc +jjjj!vvv!jjj*c +jjjj!vvv!jjj*c +****@vvv@****c +.............. +Bonus: +l.....j.....l? +.............. +md.........dm? +.b.........b.. +w>.........>w? +w...........w. +b...........b? +b...........b. +.mbp..g..pbm.? +.............. +->>c..l..c>>-? +-...........-. +*..m.....m..*? +......*....... +WW+s.....+Ws.? +>w>>.....>>w.w +.............. +.............. +Level: +vivian +Nao_sei +Bricks: +E#************ +jj***#******** +j@**j!j******* +#.*c*.#c****** +..Ec*.@cE***** +*j*.....#***** +..E#@.*.#c**** +#..j#j..#cE*** +#@..j##.@*#*** +jz*..E@...!#** +jz#@.*E*#*#E** +jz*..*..@cE**j +#@..E*.*#c***# +..***@.@E***E* +..Ejj#.##c*E** +.####...##E*#* +.............. +.............. +Bonus: +.............. +.....b........ +.c...m........ +..&........... +....b......... +mbm.....b..... +......*....... +....b...b..... +......j....... +.m*.......mb.. +.*cc.m........ +.m*........... +.............b +.............. +...p....&.l... +.pwc&...wc..w. +.............. +.............. +Level: +vivian +Nao_sei +Bricks: +.hh.**.....jj. +.hh...*...jjjj +.hh...**..jjjj +.......*...jj. +.......@...... +.......@...... +......kkk..... +......k!k..... +......kkk..... +...jjjjjjjjj.. +...jjcjcjcj... +....jjjjjjj... +ggggjjjjjjgggg +agaggggggggggg +gaggggggaggaag +ggggggagaggggg +ggggaggggagaga +gEEgEEEgEEEgEE +Bonus: +.p..j......bl. +.............. +..........*... +............b. +.............. +.............. +.............. +.......m...... +.............. +...b.......+.. +.....b.b.b.... +.............. +&b..+jjjjj.... +...>......s..> +......b....... +.b-.b.......b. +...*.*...*...* +w..w...w...w.. +Level: +Vivian +Gatinha 01 +Bricks: +************** +@!!!!!!!!!!!!@ +!cczzzzzzzzcc! +!c*zzzzzzzz*c! +!z!zzE##Ezz!z! +!zczz#**#zzcz! +!z!zz!**!zz!z! +!zczz#**#zzcz! +!z!zz#**#zz!z! +!zczz!**!zzcz! +!z!zz#**#zz!z! +!zczz#**#zzcz! +!z!zzE##Ezz!z! +!zczzzzzzzzcz! +!z!zzzzzzzz!z! +.............. +.............. +.............. +Bonus: +w.b.b.b.b.b..w +.............. +b.?Wp.m..pWb.b +c...........Wc +bb.m......m..b +*...s.ll....w* +b?..b>bb>bb..b +**.w..bw.....* +b...b.bb.bs.?b +*W..b.wb.b..** +b..b.jbbj....b +**.>..jm..b.?* +b..s}.......>b +*?>jbffffb>.j* +bwj?bjb+jb?jwb +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +****c!c!c!c*** +****cvcvcvc*** +****c.c.c.c*** +****c.c.c.c*** +****c.c.c.EE** +**EEE.E.E..E** +**E...E.E..E** +**E...E.EE.@E* +**E.@EE..E..E* +EE@.E....E..E* +E...E....E@.EE +E...E.....E... +E..EE.....EE.. +E..E.......E.. +EjjEjjjjjjjEEj +EjjEjjjjjjjjEj +EjjEjjjjjjjjEj +jjjjjjjjjjjjjj +Bonus: +jjjj.m.m.m.jjj +jjjj.w.w.w.jjj +jjjj.......jjj +jjjj*.*.*.*jjj +jjjjp.p.p...jj +jj..........jj +jj..........jj +jj...........j +jj...........j +.............j +.............. +.............. +.............. +.............. +.bb.bbbbbbb..b +.c..c.c.c.c..c +.............. +w...w...w...w. +Level: +Vivian +Gatinha 01 +Bricks: +@!..........!@ +!!.zzz..zzz.!! +...z!z..z!z... +...zzz..zzz... +......!!...... +!!....!!....!! +@!....!!....!@ +!!.zzz..zzz.!! +...z!z..z!z... +...zzz..zzz... +.............. +!!..........!! +@!..........!@ +!!..........!! +.............. +.............. +.............. +.............. +Bonus: +.f..........f. +ff.*bw..wb*.ff +...?m>..>m?... +...!cj..jc!... +......bb...... +ff....bb....ff +.f....bb....f. +ff.wb*..*bw.ff +...?m>..>m?... +...fff..fff... +.............. +ff..........ff +.f..........f. +ff..........ff +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +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*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: +m.m.m.m.m.m.m. +j!}jsj.jpjm!b! +?}?s?.?p?m?b?* +.............. +.............. +.............. +...........!.. +.............. +.p-!-b-*-w-b-. +.!m!b!*!w!*!*. +.m-b-*-w-?-b-. +.>b>*>w>?>*>*. +.bm*mwm?m?mbm. +.!*!w!?!?!*!*. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +@............@ +!.*z*z**z*z*.! +!.E@E@EE@E@E.! +!............! +@............@ +!............! +!.y*y*yy*y*y.! +!.@#@#@@#@#@.! +!............! +@............@ +c............c +c.*x*x**x*x*.c +c.cccccccccc.c +E............E +.............. +.............. +.............. +.............. +Bonus: +.............. +j..b.bmmb.b..* +m............p +*............m +.............. +.............j +......!f...... +.............. +p............. +.............. +.............. +...s.w..w.s... +..>~>~>~>~>~.. +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +.............. +.@!@..@!@..@!@ +.!*!..!*!..!*! +.!*!..@!@..!*! +.@!@..vvv..!*! +..vv..@!!@.!*! +..@!@.!**!.!*! +..!*!.!**!.@!@ +..!*!.!**!.vvv +..!*!.@!!@.@!@ +..@!@..vvv.!*! +..vvv..@!@.!*! +..vvv..!*!.@!@ +.@!!@..!*!.vvv +.!**!..@!@.@!@ +.!**!......!*! +.@!!@......!*! +...........@!@ +Bonus: +.............. +..>....>....>. +..--..w*w...*. +.w-w...?....l. +..?.........b. +.......>>...b. +...>...gm..wbw +...bm.w}sw..?. +..wbw..-b..... +...b...??...>. +...?........*. +........>..w-w +........c...?. +..>>....>..... +........?...>. +..ww........w* +..??........w. +............?. +Level: +Vivian +Gatinha 01 +Bricks: +jabcxy**yxcbaj +jabcxyzzyxcbaj +kjabcxyyxcbajk +kjabcxyyxcbajk +#kjabcxxcbajk# +#kjabcxxcbajk# +#.kjabccbajk.# +@.kjabccbajk.@ +@..kjabbajk..@ +@*.kjabbajk.*@ +@@..kjaajk..@@ +@@*.kjaajk.*@@ +@@@..kjjk..@@@ +@@@*.kjjk.*@@@ +@@@@..kk..@@@@ +@@@@@.kk.@@@@@ +.............. +.............. +Bonus: +m***b*ll*b***m +ms.!b*mm*b!.sm +m>...b**b...>m +m>?..b**b..?>m +..w..cbbc..w.. +...?.cbbc.?... +...w..jj..w... +....?....?.... +....w....w.... +.>...?..?...>. +.....w..w..... +..>...??...>.. +......ww...... +...>......>... +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +@..czz!!zzc..@ +*..#zczccz#..* +@..#zcczcz#..@ +*..c!!zc!!c..* +@..#zcczcz#..@ +*..czczcczc..* +@..#zz!!zz#..@ +*..c##zz##c..* +@..vvvvvvvv..@ +*..vvvvvvvv..* +@..vvvvvvvv..@ +*..vvvvvvvv..* +@..vvvvvvvv..@ +.............. +.............. +.............. +.............. +.............. +Bonus: +...*bcmmcb*... +*...b....b...* +....b....b.... +b..*p....p*..w +....l....l.... +w..*mj..jm*..b +....ww..ww.... +b..b......b..w +...>??<... +w..&W-W!-W&..b +...sl....!}... +b..g......5..w +...>...>..>... +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +ffffffffffffff +ffffffhhffffff +fffffhhhhfffff +ffffhggghfffff +fffhggggghffff +ffhhgjjjghhfff +ffhhjjgjjhhhff +fhhhjgggghhhhf +ffhhggggghhhff +ffhhggjgghhfff +fffhhggghhffff +ffffhhghhfffff +fffffhhhffffff +ffffffffffffff +@............@ +.............. +.............. +.............. +Bonus: +mgbgbgbgbgbg!m +!pWWmWmWmWWmp! +!pm>f????f>Wp* +*pW>f&mm&f*Wp! +!jW>f?c!?f>WWb +jm0>fjc!jf>0W! +mW0>f?c!?f>0Wm +!m0*f{{j{f*0*! +bb0>f{j{{f>0Wj +!b0*fwwwwf>0W! +*b0>>>>*>>>0** +!-+-bbbbbbb-+! +!+j+mmmmmm-j-+ +m-+-+-+-+-+-+m +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +!***a********! +!............! +zazzzazazaazze +a..........zze +a.zzazzzzz..za +a.z.......z*ae +a.z.zz***.z.ze +a.z.z.***.a*ze +a.z.z.***.z.ae +a.z.z...*.z.ze +a.z.zzzz*.z*ae +a.z....zzzz.ze +a.zzzz......ze +a.zzzzzzzzzzza +z.zzzazzzzzzze +.............. +.............. +.............. +Bonus: +m....mmmmm...* +m............* +?w.b.+5w+ww?p. +b............. +>..>wj5p....bw +w.j.......>.ww +p.j.}jj&..}.>. +w.p.>..mb.!... +w.j.*.5*5.b.wc +w.>.......{.>. +d.{.>.5*..>.ww +j.?....&d4p.d. +j.j&p........c +j.fd.b.df>.bfw +w.*smmmsmmms** +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +E*fhjde@djhf*E +*gfhjde!djhfg* +igEhjdezdjhf#i +igfhjde!djhfgi +igfhEdezdj#fgi +igfhjde!djhfgi +igfhjdez#jhfgi +@gfhjde!djhfg@ +igfhjd#zEjhfgi +igfhjde!djhfgi +igfh#dezdjEfgi +igfhjde!djhf*i +ig#hjdezdjhfEi +*gfhjde!djhfgi +#gfhjdezdjhfgi +.............. +.............. +.............. +Bonus: +...!d.....!... +.m&......d.&m. +...c.g.b...c.. +....p.....p... +w.W~...b.~...w +...>.ss.?..... +*2.....b.d>W.* +....b~?.?..... +s.W....b....&. +.5.~?j...d?5.} +}4.>.wwb...4.. +w3..m.~..dm3.. +.2..m..>..m2.w +.1-.mff.ffm1-. +.0+~m..>..m0+. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +dddddddddddddd +dffffffffffffd +d######fffff#d +d#ffff#f###f#d +d#ffff#f#g#f#d +d#f##f#f#g#f#d +d#f#hf#f#g#f#d +d#f#hf#f#g#f#d +d#f##f#f#g#f#d +d#f#hf#f#g#f#d +d#f#hf#f#g#f#d +d#f####f#g#f#d +d#ffffff#g#f#d +d#ffffff#g#f#d +d########g###d +.............. +.............. +.............. +Bonus: +s......s.c.... +..*........*.p +p............w +.............. +w...c....m...m +.............m +....j........m +....m..s.m.... ++....c...m.*.w +m...m....m.... +m...m..g.m.... +W............W +m.*........... +w.....g......+ +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +daadaaadaaaaaa +daadadadaaaada +daadaaadaadaaa +daadadadaadada +ddadadadaddada +adddadaaddaada +addaadaaddaada +addaadaaddaada +addaadaaddaada +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +lf.l..fl..5..f +j..j.j.j.W..j. +*W.p..5b..*..W +.....*bc...... +b?.?W?bm..?.b. +5.}..}b.g..b}5 +.g&..gb...4... +..m...b.g&..&4 +.g.4.gb4.p..m. +b+.m+mmm+m+mmm +w.smw.s.w..s.w +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +eeeeeeeEeeeee@ +@*eeeeeeeeeeee +.ceeeeeeeeeeee +..@eeeeeeeeeee +...c*eeeeeeeee +....@eeeeeeeee +.....ceeeeeeee +......@*eeeeee +.......ceeeeee +........@eeeeE +.........ceeee +..........@*ee +...........cee +............@e +.............. +.............. +.............. +.............. +Bonus: +.mm.m.c....... +..mm.......... +.wfm.j.p.l..b. +...mwwwwwww... +...w.bbbbb.c.. +.....mmbbbbm.< +.....wfmm..... +........ml.... +.......wmmmm.. +...........m.. +.........wfmm. +............m* +...........w+w +.............+ +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +jjjjejjjejjjjj +jjjjzjjjzjjjjj +jjjejeeejejjjj +jjejjjjjjejjjj +jjejEjjEjejjjj +jjejgjjjgejjjj +jjejjg*gjejjjj +jjjegjjjgejjjj +jjjejdddjejjjj +jjjejjdjejjjjj +jjjjejjjejjjjj +jjjjjeeejjjjjj +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +????.???.????? +!W.wgdWdgd...! +..1.W...wb.5.W +f1mb....bb...f +.}m..cc..b.{.. +d}m..&&&.b...d +.}m1.sms.b5{W! +>w3..5...b...> +!.b..jjj...{.f +f3b...j..m.... +..<.pbbbpm..<5 +c*c*.www.m*cc* +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +************** +************** +*vvvvvvvvvvvv* +*v**********v* +*v**********v* +*v*vvvvvvvv*v* +*v*v******v*v* +*v*v*vvvv*v*v* +*v*v*!****v*v* +*v*v*vvv**v*v* +*v*v***vvvv*v* +*v*v********v* +*v*vvvvvvvvvv* +*v*vvvvvvvvvv* +vv************ +.vvvvvvvvvvvvv +.............. +.............. +Bonus: +mmmmmmmmmmmmmm +b.b.b.b.b.b..* +.............. +w.}..+..+..+.. +.............. +w............* +.....l.....j.. +w.p........... +....lm.c.c.... +w............* +..p..l........ +w...jjjjjjjj.. +.............. +w.p..........* +...w.w.w.w.*.. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +@hhhhh@@hhhhh@ +g!#ffffffff#!g +giiiiiiiiiiiig +gEdEdE**EdEdEg +gdjdjdjdjdjdjg +gjdjdjdjdjdjdg +ge#e@e##e@e#eg +@xyzxyzzyxzyx@ +cacacacacacaca +bbbbbbbbbbbbbb +acacacacacacac +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.f---f..f---f. +pg.!~~&&~~!.gp +?5>5>5>5>5>5>? +?.c.c.mm.c.c.? +?012345543210? +?012345543210? +p}.{.}..{.}.{p +.W*bW*bb*Wb*W. +w!w!w!w!w!w!w! +m>m>m>m>m>m>m> ++-+-+-+-+-+-+- +?+w-cmwwmc-w+? +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +!@!@!@!@!@!@!@ +c*c*c*c*c*c*c* +cfcgchcicjckce +cfcgchcicjckce +cfcgchcicjckce +cfcgchcicjckce +cfcgchcicjckce +cfcgchcicjckce +cfcgchcicjckce +cfcgchcicjckce +cfcgchcicjckce +xxxxxxxxxxxxxx +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +>.>.>.>.>.>.>. +-.-.-.-.-.-.-. +-&-&-&-&-&-&-& +sbsbsbsbsbsbsb +jmjmjmjmjmjmjm +{g{g{g{g{g{g{g +?p?p?p?p?p?p?p +dbdbdbdbdbdbdb +!c!c!c!c!c!c!c +f*f*f*f*f*f*f* +?}?}?}?}?}?}?} +wmwmwmwmwmwmwm +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +EggggggggggggE +@ggg......ggg@ +Egg..cccc..ggE +Eg...cddc...gE +@g...cddc...g@ +Eg...cddc...gE +Eg...cEEc...gE +@g...chhc...g@ +Eg...chhc...gE +Eg...chhc...gE +@g...cEEc...g@ +Eg...cffc...gE +Eg...cffc...gE +@g...cffc...g@ +gg...cccc...gg +......##...... +......##...... +.............. +Bonus: +.pmmmmllmmmmp. +.wg{......{gw. +.!?..&jj&..?!. +.5...-55-...5. +.>...dbbd...>. +.>...>mW>...>. +.f...s..s...f. +.w...>55>...w. +.m...dbbd...!. +.~...cWmc...~. +.-...<..<...-. +.?...d55d...?. +.+...*bb*...+. +.w...?mW?...w. +ww...w!!w...ww +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +jjjjjjjjjjjajj +jjajajjjjjajaj +jjajajjjjjjjja +jjaaajjjjjjjja +jahahajaaaajja +jaa@aaaaaaajaj +jjadaaaaaaajaj +jjjajaaaaaaajj +jjjjjaaaaaaajj +jjjjjaaaaaaajj +jjjaaajjaaaajj +jjaajjjjjaajjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +.............. +.............. +.............. +.............. +Bonus: ++ffffffffffff- ++>*b*llllb.b.- ++>wbwW&wcbbbb- ++>wbwW&jcw!..- ++>.m.W&jcw!s.- +}>...W-jcw!s.? +}>...W-jcw!s.? +}>{.gW-.cw!sb? +}>..gW-..w..b? +}>{.gW++++++b? +?>{..W......b? +?>{..Wwww...b? +?>ww{{{{{mmmm? +?------------? +.............. +.............. +.............. +.............. +Level: +Vivian +Gatinha 01 +Bricks: +gggggggggggggg +gggggggggggggg +ggghhghhgggggg +ggghhghhghhggg +ggghhgggghhggg +ggggghhhghhggg +gggghhhhhggggg +gggghhhhhggggg +gggghhhhhggggg +ggghhhhhhggggg +ggghhhhhhggggg +ggghhhhhgggggg +gggggggggggggg +************** +************** +************** +************** +************** +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +mmmmmmmmmmmmmm +dddddddddddddd +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +00000000000000 +Level: +vivian +untitled +Bricks: +.............. +.............. +.!.!......!.!. +..*........*.. +.!.!......!@!. +..@........@.x +..@..xxxx..@xx +..@.xx..xxxxxy +yy@xx!.!.xx!.. +xxxx..*...!!!. +...x.!@!.!!*!! +.!.xx.@...!!!. +!*!.x.@....!.. +.!..xy@....@.. +.@...xxx...@.. +.@.xxxyyxxx@.. +y@yxy.....xxx. +xxxyy.....yyxx +Bonus: +.............. +.............. +.f.f......f.f. +..b........b.. +.f.f......f.f. +.............. +.....bbb...... +.....p..mm.... +.p...-.-...!.. +bbb*..b...d?!. +...*.-.-.!!m~! +.!.*......{Wd. +!*!........!.. +.!............ +.............. +...www........ +.............. +...w.......... +Level: +vivian +untitled +Bricks: +x*xj*j*jj*j*j* +x*x#*#*#@*@*@j +x*x#*#*#@*@*** +x*x#*#*#@*@@@j +x*x#*#*#@***** +x*x#*#*#@@@@@j +x*x#*#*#*!*!*! +x*x#*#*#!!*!*! +x*x#*#*#***!*! +####*#*#!!!!*! +*****#*#*****! +######*#!!!!!! +*******#zzzzzz +########cccccc +.............. +.............. +.............. +.............. +Bonus: +.b.......m.m.b +.b............ +.b...........b +.b............ +mb...........b +mb............ +wb.......m...m +wb......jw...w +wbj..........j +.............. +.............. +.............. +.............. +........w..... +.............. +.............. +.............. +.............. +Level: +vivian +untitled +Bricks: +gggfgggggggggg +ggfffghhggjjjg +gjfffghhgjjjjj +gjfffghhggjjjj +ggfffggggggggg +ggfffggggggggg +ggg@gggggggggg +eeeeeeeeeeeeee +eeejjeeeeeeeee +eeejjeeeeejeee +jjjjjjjjjjjjjj +gjjjjjjjjjjjgj +ggjjggggjjjggj +gggggggggjgggj +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +Bonus: +mmwbbwpbbb.5ms +.mbmbmpp.bsm.m +wjbm5pw.pbmm.. +.wbmpms.mmm5j. +wbbbbw5ppbb?sm +w?bbb5m.spm..s +wmbpb+mp+bp5+m +bppmwppmmbp+++ +pwpbmb++mpm.s+ +bbpj+mb+bmj+5s +bbbjpmbppmmm++ +pbbbbbppbjpm.b +.wwbwwbbmmmm.b +m.m.mmjmm..... +bbbbbbjbmmmbbb +jjjjjjjbbbbbmm +ppppppjppppppp +wwwwwwjwwwwwww +Level: +noname +fff +Bricks: +*#*#*#*#*#*#*# +*#*#*#*#*#*#*# +*#*#*#*#*#*#*# +!@!@!@!@!@!@!# +.............. +.............. +j!j!j!j!j!j!j! +@*@*@*@*@*@*@* +#*#*#*#*#*#*#* +@*@*@*@*@*@*@* +.............. +j!j!j!j!j!j!j! +@*@*@*@*@*@*@* +#*#*#*#*#*#*#* +@*@*@*@*@*@*@* +jvjvjvjvjvjvjv +.............. +.............. +Bonus: +.............. +.............. +.............. +p.*.m.m.m.*.p. +.............. +.............. +.b.j.+.}.c.b.b +.............. +.............. +.>.>.>.>.>.>.. +.............. +.w.w.w.w.w.w.w +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +fff +Bricks: +.............. +!************* +.............* +jjjjjjjjjjjj.* +#E#E#E#E#E#@.* +jjjjjjjjjjjj.* +.............* +************** +*............. +*.jjjjjjjjjjjj +*.@#E#E#E#E#E# +*.jjjjjjjjjjjj +*............. +*............. +************** +.............. +.............. +zzzzzzzzzzzzzz +Bonus: +.............. +mbbbbbbbbbbbbb +.............b +.............b +.............b +.............b +.............b +bbbbbbbbbbbbbb +b............. +b............. +b............. +b............. +b............. +b............. +bbbbbbbbbbbbbb +.............. +.............. +>>bbbwwwbbb>>> +Level: +noname +Glabi +Bricks: +!jhhhhhhhhhhz! +zjvv*vvv*vvv.z +.j*v*v*v*v*v.* +.jvv*vvv*vvv.* +..fffffffffffj +..vvv*vvv*vvvj +*.v*v*v*v*v*vj +..vvv*vvv*vvvj +..gggggggggggj +..jvvv*vvv.vvv +.*jv*v*v*v.v*v +..jvvv*vvv.vvv +..dddddddddddj +..vvv*vvv*vvvj +*.v*v*v*v*v*vj +..vvv*vvv*vvvj +.............. +E............E +Bonus: +m............m +.bbb.bbb.bbb.. +.............. +.???.???.???.. +.............. +..***.***.***. +.............. +..???.???..... +.............. +...b>W.jjj.sss +.............. +.......???.... +.............. +..>>>.lll.???. +.............. +..+w+.+w+.+w+. +.............. +.............. +Level: +noname +Glabi +Bricks: +************** +************** +************** +************** +************** +*****!!!****** +*****!!!****** +*****!*!****** +*****!*!****** +*****!!!****** +*****!!!****** +************** +************** +************** +************** +************** +zzzzzzzzzzzzzz +vvvvvvvvvvvvvv +Bonus: +************** +mmmmmmmmmmmmmm +pppppppppppppp +************** +mmmmmmmmmmmmmm +bbbbbgggbbbbbb +bbbbbgggbbbbbb +bbbbbgjgbbbbbb +fjfjfgjgfjfjff +fffffgggffffff +fjfjfgggfjfjff +ffffffffffffff +*j*j*f*f*j*j*f +fbfbfbfbfbfbfb +>f>f>f>f>f>f>f +fcfcfcfcfcfcfc +jjjjjjwjjjjjjj +bbbbbbbbbbbbbb +Level: +noname +r +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 +Bonus: +m.......m.w.m. +.......b...b.w +b............. +.w............ +.............. +.............. +......p....... +.....p........ +....p......... +.............. +.............. +...........*.. +..........*... +.........*.b.. +........*.b.w. +.......*.b.w.. +......*.b.w... +.....*.b.w.... +Level: +noname +Glabi +Bricks: +!...!.vk.j.k.j +.*.*..vk.j.k.j +..!.!.vk.j.k.j +!...!.vk.j.k.j +.*.*..vk.j.k.j +..!.!.vk.j.k.j +.*.*..vk.j.k.j +!...!.cccccccc +.*.*...bbbbbbb +..!.!...aaaaaa +.*.*.....ccccc +!...!.....bbbb +.*.*.......aaa +..!.!.....bbbb +.*.*.....ccccc +!...!...aaaaaa +.*.*...bbbbbbb +..!.!.cccccccc +Bonus: +j.....pW.f.m.m +......W*.f.f.W +....j.WW.f.f.p +......WW.*.f.l +......&*.f.w.l +..g...&W.f.f.l +.*....WW.f.f.W +j.....p.wbbbb> +...w.....wdddd +..g.j...bbbbbb +...........>cc +..........&&&m +...........{{{ +..*.......fffw +..........wWWW +*.......>>>g>> +.w......*.>>.* +......ffffffff +Level: +noname +Glabi +Bricks: +zzzzzzzzzzzzzz +z************z +z*cccccccccc*z +z*czzzzzzzzc*z +z*cz******zc*z +z*cz*zzzz*zc*z +z*cz*#!!#*zc*z +z*cz*#!!#*zc*z +z*cz*!!!!*zc*z +z*cz*#!!#*zc*z +z*cz*#**#*zc*z +z*cz*####*zc*z +z*cz*zzzz*zc*z +z*cz******zc*z +z*czzzzzzzzc*z +z*cccccccccc*z +z************z +zzzzzzzzzzzzzz +Bonus: +bbbbbbbbbbbbbb +ffffffffffffff +ffffffffffffff +fffbbbbbbbbfff +ffff......ffff +ffff.bbbb.ffff +ffff..!!..ffff +ffff..m*..ffff +ffff.!pl!.ffff +ffff..ws..ffff +ffff......ffff +ffff......ffff +ffff.!jj!.ffff +ffff......ffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +wwwwwwwwwwwwww +Level: +noname +Glabi +Bricks: +z************z +*############* +*#z********z#* +*#*########*#* +*#*#z****z#*#* +*#*#*####*#*#* +z#z#z#zz#z#z#z +*#*#*#yy#*#*#* +*#*#*#xx#*#*#* +*#*#*#zz#*#*#* +z#z#z#yy#z#z#z +*#*#*#xx#*#*#* +*#*#*#zz#*#*#* +*#*#*#yy#*#*#* +*#*#*#xx#*#*#* +*#*#*#vv#*#*#* +c@c@c@cc@c@c@c +vvvvvvvvvvvvvv +Bonus: +*?00?>ww>?00?* +0m..........m0 +0b*0?llll?0*b0 +0b0b......b0b0 +0b0b*?pp?*b0b0 +wb0b0b..b0b0bw +bbbbbbmmbbbbbb +0b?b0bjjb!b0b0 ++b+b+bggb+b+b+ +0b0b0b*jb0b0b0 +>*>*>bggb>*>*> +!b0b0bj*b0b0b! +0bdb0bggb0bdb0 +0b0b0b*jb0b0b0 +bbbbbbggbbbbbb +0b0b0bjjb0b0b0 +0b0b0bggb0b0b0 +w>w>w>wfw>w>w> +Level: +noname +untitled +Bricks: +.j**********j. +.@E#E#..#E#E@. +.E****!!****E. +.#*!!!!!!!!*#. +.E*!******!*E. +.#*!*!!!!*!*#. +.E*!*!**!*!*E. +.@!!!!**!!!!@. +.E*!*!!!!*!*E. +.#*!******!*#. +.E*!!!!!!!!*E. +.#**********#. +.E#E#E##E#E#E. +.@kkkkkkkkkk@. +.@jjjjjjjjjj@. +..kkkkkkkkkk.. +...jjjjjjjj... +.............. +Bonus: +.m..........m. +.jjjjj..jjjjj. +.j*...++....j. +.j.bbb++bbb.j. +.j.p......p.j. +.j.p......p.j. +.j..........j. +.j...?..?...j. +.jwwwwwwwwwwj. +.jbbbbbbbbbbj. +.jmmmmmmmmmmj. +.jppppppppppj. +.jpppppjppppj. +.>>>??????c>>. +.>bbbbbbbbbb>. +..bbbbwwbbbb.. +...bbbbbbbb... +.............. +Level: +i +untitled +Bricks: +*********.zzzz +@@@.###**.zzzz +@!!!!!#**..##z +@!@@@!#****##z +@!@!@!.*****#z +@!@@@!#*****#z +@!!!!!#v.***#z +#######v.**##z +vvvvvv.v.**##z +.......v.**##z +******.v.*###z +******.v.####z +******.v#####z +.......######z +vvvvv########z +......******.. +************** +************** +Bonus: +..........m*p. +..........m*p. +.mmmmm........ +.m...m........ +.m.m.m........ +.m...m........ +.mmmmm.b...... +.......b...... +bbbbbb.b...... +.......b...ccc +.......b..**** +.......b.ppppp +.......bbbbbbb +.......wwwwwww +wwwwwmmmmmmmm. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +************** +vvvvvvvvvvvvvv +**!!!!!!!!!!** +zzzzzzzzzzzzzz +************** +vv!!!!!!!!!!vv +************** +vv!!!!!!!!!!vv +************** +vv!!!!!!!!!!vv +************** +vv!!!!!!!!!!vv +************** +vvvvvvvvvvvvvv +v*vvv*vv*vvv*v +vvvvvvvvvvvvvv +************** +zzzzzzzzzzzzzz +Bonus: +m.m.b.b.p.p..m +.............. +.............m +.............. +.........j...m +.............. +.............m +.............. +...*.........m +.............. +.............m +.............. +.............b +bbbbbbbbbbbbbb +bwbbbbbbwbbbbb +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +.*.*.*.*.*.*.. +Level: +noname +untitled +Bricks: +*E*#*#******** +#@##E#EE#E##@* +************** +*@##E#EE#E##@# +************** +#@##E#EE#E##@* +************** +*@##E#EE#E##@# +************** +#@##E#EE#E##@* +************** +*@##E#EE#E##@# +************** +#@##E#EE#E##@* +************** +*@##E#EE#E##@# +*************z +#@##E#EE#E###z +Bonus: +j.mmmwwmmmmjjj +.............j +gggggggg>jjjjj +}............. +bbbbbbwbbbbbbb +.............> +ppppppwppppppp +}............. +------w------- +.............} +>bbbbbwbbbbbbb +b............. +******w******* +.............} +++++++w+++++>+ +}............. +l>llllwlllllll +.............w +Level: +noname +untitled +Bricks: +************** +*zzzzzzzzzzzz* +!!!!!!!!!!!!!! +*zzzzzzzzzzzz* +************** +*zzzzzzzzzzzz* +!!!!!!!!!!!!!! +*zzzzzzzzzzzz* +************** +*zzzzzzzzzzzz* +!!!!!!!!!!!!!! +*zzzzzzzzzzzz* +************** +*zzzzzzzzzzzz* +!!!!!!!!!!!!!! +*zzzzzzzzzzzz* +************** +zzzzzzzzzzzzzz +Bonus: +bbbbbbjmbbbbbb +.mmmmmmmmmmmm. +bbbbbb.jbbbbbb +.mmmmmmmmmmmm. +bbbbbbj.bbbbbb +.!d!d!d!d!d!d. +.......j...... +.d!d!d!d!d!d!. +bbbbbb..bbbbbb +.ffffffffffff. +.......j...... +.ffffffffffff. +bbbb.bj.bbbbbb +.ffffffffffff. +.......j...... +.ffffffffffff. +bbbbbbjbbbbbbb +.............. +Level: +noname +untitled +Bricks: +************** +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +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 +zzzzzzzzzzzzzz +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: +jjjjjjjjjjjjjj +************** +.............. +bbbbbb........ +......jbbbbbbb +.............. +bbbbbb........ +......jbbbbbbb +.............. +bbbbbb........ +......jbbbbbbb +.............. +bbbbbb........ +......jbbbbbbb +.............. +bbbbbbj....... +.......bbbbbbb +.............. +Level: +noname +untitled +Bricks: +gggggggggggggg +g*aaaaaaaaaa*g +gaggggggggggag +gag*aaaaaa*gag +gagaggggggagag +gagagzzzzgagag +gagagz!!zgagag +gagagzzzzgagag +gagaggggggagag +gag*aaaaaa*gag +gaggggggggggag +g*aaaaaaaaaa*g +gggggggggggggg +zzzzzzzzzzzzzz +************** +zzzzzzzzzzzzzz +************** +zzzzzzzzzzzzzz +Bonus: +b...b..b.b...b +.............. +b.b........b.b +..b........b.. +*.b........b.* +..b..*ppm..b.. +.cb..bllb.cb.. +..b..mww*..b.. +w.b........b.w +..b...j....b.. +..b........b.. +....wbwbwbw... +.............. +f*c*f*c*f*c*f* +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +Bonus: +m333333333333m +l3l3l3l3l3l3l3 +>>>>>>>>>>>>>> +>>>>>>j>>>>>>> +llllllllllllll +llllll*lllllll +bbblgbbbbbbbb* +*3>3g3g3g3>3*3 +3*3g3gWg3g3g3g +b}b}b}*}b}b}b} +}}}}}}}}}}}}}} +-p-p-{-{-{-{-{ +p-p-p-{-{-{-{- +f+f+f+f+f+f+f+ +sWsWsWsWsWsWsW +gsgsgsgsgsgsgs +{}{}{}{}{}{}{} +-------------- +Level: +noname +untitled +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 +czzzzzzzzzzzzc +Bonus: +>jjjjjjjjjjjj> +l************l +>bbbbbbjbbbbb> +.............. +>bbbbbjbbbbbb> +.............. +>bbbbbbjbbbbb> +.............. +>bbbbbjbbbbbb> +.............. +>bbbbbbjbbbbb> +.............. +>bbbbbjbbbbbb> +.............. +>bbbbbbjbbbbb> +.............. +>bbbbbjbbbbbb> +.............. +Level: +noname +untitled +Bricks: +*j*j*j**j*j*j* +j.j.j.jj.j.j.j +j!.!.!..!.!.!j +j*j*j*jj*j*j*j +j............j +*j*j*j**j*j*j* +j............j +j.*.*.**.*.*.j +jc!c!c!!c!c!cj +j.c.c.cc.c.c.j +j............j +j.*.*.**.*.*.j +j.j.j.jj.j.j.j +.............. +.............. +.............. +.............. +.............. +Bonus: +*b?.?.j?.?.?b* +.............. +.....b..b..... +.?.?.?..?.?.?. +.............. +?.?.?.c?.?.?.? +.............. +w.?.w.??.w.?.w +*..b.*...b*... +.............* +*............* +w.?.?.??.?.?.w +..>.>....>.>.. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +*!..........!* +!!.********.!! +.............. +@..********..@ +.............. +zzEEEEEEEEEEzz +vvv********vvv +!!!!!!!!!!!!!! +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +mb..........bm +bb.jjjjcjjj.bb +.............. +...jjjcjjjj... +.............. +ww..........ww +.*..........*. +....&.*.*..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +j..kkkkkkkkkkk +.j............ +!.j....j...j!! +*..j....j...j* +j@..j....j..Ej +E...@j....j..@ +!!j..Ej....j!! +*j....@j....j* +jE.....Ej....j +@....j.v@j.... +....jE.vvEj... +...j@v..vv@j.. +!!jEvv...vvEj* +*j@vv.....vv@j +jEvv.......vvE +@vv.........vv +vv............ +.............. +Bonus: +*..bwb*bwb*bwm +.............. +.......b...>.. +............>m +>........b...l +.............. +...........b.. +.......w.....m +*............. +.....c........ +.............. +.............. +..w........... +.j...........m +p............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +*..*..*..*.*.* +*.....*......* +EEEEEEEEEE#..* +#.........*..* +*.*.*.*.*.*..* +*.........*..# +*..#EEEEEEEEE# +*..*......*..# +*..*......*..# +#..*.*..*.*..* +#E.*......#..* +#EEEEEEEEE#..* +......*......* +......*.*.*..* +......*......# +.cccc##EEEEEEE +.............. +.............. +Bonus: +l..m..m..m.m.j +l.....w......j +.............* +*.........j..b +w.m.m.m.m.b..> +j.........*..* +b............. +b..*......w..b +b..j......w..b +w..w.m..m.*..s +s..s......s..b +.............b +......w......b +......w.m.m..b +......w......> +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +************** +************** +************** +************** +****#***#***** +***#!#*#!#**** +****#***#***** +************** +******a******* +******a******* +*****aaa****** +************** +************** +************** +****aaaaa***** +************** +************** +************** +Bonus: +mmmmmmmmmmmmmm +wwwwwwwwwwwwww +bbbbbbbbbbbbbb +.............. +.............. +....l...l..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....jjjjj..... +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +.kkkkk..kkkkk. +k............k +..!!!....!!!.. +..!*!....!*!.. +..!*!....!*!.. +..!!!.ee.!!!.. +......ee...... +......ee...... +.....eeee..... +.....eeee..... +.....ehhe..... +.............. +.............. +..d.dddddd.d.. +...djjjjjjd... +....dddddd.... +.............. +.............. +Bonus: +....bb..bb.... +.............. +.............. +...m......*... +.............. +......p....... +.............. +.............. +.............. +.............. +......jj...... +.............. +.............. +.............. +....ww..ww.... +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +!************! +!............! +!............! +vzzzzzzzzzzzzv +!vvvvvvvvvvvv! +!............! +vzzzzzzzzzzzzv +!............! +!vvvvvvvvvvvv! +vzzzzzzzzzzzzv +!............! +vccccccccccccv +!............! +vzzzzzzzzzzzzv +.............. +.............. +.............. +.............. +Bonus: +bmbmbmjmbmbmbb +p............p +b............b +w.....p......w +.c..b...m..b.. +.............. +.............. +.............. +.....***....c. +b............b +.............. +.............. +.............. +.wwww.....www. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +*v!.*.!.*.!v*v +v!.*.!.*.!.*v! +!.*.!.*.!.*.!v +.*.!.*.!.*.!.* +*.!.*.!.*.*.!. +.!.*.!.*.!.*.! +!.*.!.*.*.!.*. +.*.!.*.!.*.!.* +*.!.*.!.!.*.!. +.!.*.!.*.!.*.! +!.*.!.*.*.!.*. +.*.!.*#.#*.!.* +*.!.*##.##*.!. +.!.*##...##*.! +!.*##.....##*. +.*##.......##* +*##.........## +@............@ +Bonus: +mjb...*...wjcm +jb...*.p....j. +b...*.......wj +.......b...... +.............. +.......l.....w +.............. +.......p...... +.............. +.......b...... +c............. +.....w!.!w.... +....w!!.!!w... +....!!...!!..* +...!!.....!!.. +..!!.......!!. +.!!.........!! +!............! +Level: +noname +untitled +Bricks: +!v#z@#**#@z#v! +!v#z@!**!@z#v! +!v#z@#EE#@z#v! +!v#z@@@@@@z#v! +!v#zzzzzzzz#v! +!v##########v! +!vvvvvvvvvvvv! +!!!!!!!!!!!!!! +.............. +@............@ +*............* +@............@ +*............* +@............@ +*............* +@............@ +.............. +.............. +Bonus: +f>.b..ll..b.>f +f>.b..ll..b.>f +f..b......b..f +f..m......m..f +f..mmwjjwmm..f +f............f +f............f +ffffffffffffff +.............. +.............. +m............m +.............. +b............b +.............. +w............w +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +#*#*@...c.c*** +#*#*#...c.c*** +#*#*#...c.c*** +#*#*#..@###### +#.#.#..c.c.*** +#c#c#..c.c.*** +#c#c#..c.c.*** +#c#c#..c.c.*** +#c@c#..@###### +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.m.m....b.b>>m +.>.>....*.w>>> +.w.w....w.b>>> +.p.p.......... +.......b.b.>>m +.b.*...*.*.>>> +.w.w...b.w.>>> +.*.b...w.b.>>> +.w.w.......... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +!.!.!.!.!.!.!. +.*.*.*.*.*.*.* +!.!.!.!.!.!.!. +.............. +.!...!..!...!. +!*!.!*!!*!.!*! +.!...!..!...!. +...*......*... +.............. +!!!.!!!!!!.!!! +v*v.v*vv*v.v*v +vvv.vvvvvv.vvv +ccc.cccccc.ccc +.............. +.............. +.............. +.............. +.............. +Bonus: +*...b.m...b.*. +.............. +....w...l.w... +.............. +.............. +b.....j......b +.............. +.............. +.............. +&............& +.............. +.............s +.w.....>...... +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +......!!...... +*...*.**.*...* +.!.!..!!..!.!. +..*...**...*.. +.!.!..!!..!.!. +*...*.**.*...* +......!!...... +......**...... +cccccccccccccc +*!*!*!*!*!*!*! +zczczczzczczcz +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +......bb...... +.............. +.m..........m. +.............. +...*......*... +.............. +......jj...... +.............. +wsp..w..w...sw +.............. +b>b>bwbbwb>b>b +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +****..##..**** +***@z....z@*** +***@!....!@*** +***@!....!@*** +***@!....!@*** +***@!....!@*** +z@@@!....!@*** +!!!!!....!@*** +!!!!!....!@*** +!!!!!....!@*** +!!!!!....!@@@@ +!!!!!....!!!!! +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +bbbb.......bwm +www........bwm +mmm.>....f.bwm +jjj.>....f.bwm +....>....f.bwm +....>....f.bwm +....c....f.bwm +m**mc....f.bwm +wwwwc....f.bwm +bb.......f...j +.........f.... +.........fffff +.............. +.............. +.............. +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +*yzvzy**yzvzy* +yyzvzyyyyzvzyy +zzzvzzzzzzvzzz +vvvvvvvvvvvvvv +vvv@vvvvvv@vvv +vvvv*vvvv*vvvv +zzzv!*vv*!vzzz +yyzvv!**!vvzyy +*yzvvv!!vvvzy* +yyzvv!**!vvzyy +zzzv!*vv*!vzzz +vvvv*vvvv*vvvv +***@vvvvvv@*** +***#jjjjjj#*** +####jjjjjj#### +.............. +.............. +.............. +Bonus: +l..*..ll..*..l +.*.*.*..*.*.*. +..b*b....b*b.. +****??????**** +m??.jjjjjj.??m +fff-cffffc-fff +..b-..!!..-b.. +.*.-?....?-.*. +l..-?j..j?-..l +.*.-?.>>.?-.*. +..b-..cc..-b.. +!!!-*>>>>*-!!! ++sw.ffffff.+sw +jjj..b.b.b.jjj +....w.w.w..... +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +........@..... +!!!!!!!....... +!*****!...!!!. +!*!!!*!...!*!. +!*!*!*!...!!!. +!*!!!*!....... +!*****!....... +!!!!!!!......@ +.............. +@............. +.......!!!!!!! +.......!*****! +.!!!...!*!!!*! +.!*!...!*!*!*! +.!!!...!*!!!*! +.......!*****! +.......!!!!!!! +.............. +Bonus: +.............. +*b....b....... +..........b.m. +..bbb......l.. +...l......fff. +.............. +.............. +ffffff*....... +.............. +.............. +.......*b....* +.............b +..*b.....www.. +..l.......l... +.fff...w.....w +.......w.....w +.......fffffff +.............. +Level: +noname +untitled +Bricks: +jjjjjjjjjjjjjj +************** +jjjjjjjjjjjjjj +************** +!!!!!!!!!!!!!! +************** +!!!!!!!!!!!!!! +************** +!!!!!!!!!!!!!! +************** +!!!!!!!!!!!!!! +************** +!!!!!!!!!!!!!! +************** +!!!!!!!!!!!!!! +zzzzzzzzzzzzzz +.............. +.............. +Bonus: +bwbmbmbjbwbwbw +.............. +ffffffffffffff +b............. +.............. +.............b +.............. +b............. +.............. +.............b +.............. +b............. +.............. +.............b +......w....... +.............. +.............. +.............. +Level: +noname +untitled +Bricks: +f.*.j..d.i.**. +.f.j*.d!..i..g +*.f..d..*..ig. +.j.fd.*!*.*gi. +j..df.*!..g..i +j.d..f.!.g..i. +.d.**!f.g..i.. +d.j.*!!f..i.!* +!d.j.!g.fi!.!* +!.d.jg..if*.!* +*..dgj.i.!f.!* +*..gd.i.**.f.. +.*g!.i.j..*.f. +.g.!i.d.j....f +g*.i...d.j..f. +..i!***!d.jf.. +.i..***!.dfj.. +i........fd.j. +Bonus: +b...*......... +.b.*.......... +..b.........*. +.*.b.......... +*...b......... +.....b......b. +......w....... +.....*.w..b... +...m....w..... +*....m...w.... +.......m..w.*. +....w.b....... +.*...b........ +.............. +............*. +..f.......f... +.f.........f.. +f...........f. +Level: +vivian +untitled +Bricks: +gggggggggggggg +gggggggggggggg +ggghhghhgggggg +ggghhghhghhggg +ggghhgggghhggg +ggggghhhghhggg +gggghhhhhggggg +gggghhhhhggggg +gggghhhhhggggg +ggghhhhhhggggg +ggghhhhhhggggg +ggghhhhhgggggg +gggggggggggggg +************** +************** +************** +************** +************** +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +mmmmmmmmmmmmmm +dddddddddddddd +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +00000000000000 +Level: +vivian +untitled +Bricks: +.............. +.............. +.!.!......!.!. +..*........*.. +.!.!......!@!. +..@........@.x +..@..xxxx..@xx +..@.xx..xxxxxy +yy@xx!.!.xx!.. +xxxx..*...!!!. +...x.!@!.!!*!! +.!.xx.@...!!!. +!*!.x.@....!.. +.!..xy@....@.. +.@...xxx...@.. +.@.xxxyyxxx@.. +y@yxy.....xxx. +xxxyy.....yyxx +Bonus: +.............. +.............. +.f.f......f.f. +..b........b.. +.f.f......f.f. +.............. +.....bbb...... +.....p..mm.... +.p...-.-...!.. +bbb*..b...d?!. +...*.-.-.!!m~! +.!.*......{Wd. +!*!........!.. +.!............ +.............. +...www........ +.............. +...w.......... +Level: +vivian +untitled +Bricks: +x*xj*j*jj*j*j* +x*x#*#*#@*@*@j +x*x#*#*#@*@*** +x*x#*#*#@*@@@j +x*x#*#*#@***** +x*x#*#*#@@@@@j +x*x#*#*#*!*!*! +x*x#*#*#!!*!*! +x*x#*#*#***!*! +####*#*#!!!!*! +*****#*#*****! +######*#!!!!!! +*******#zzzzzz +########cccccc +.............. +.............. +.............. +.............. +Bonus: +.b.......m.m.b +.b............ +.b...........b +.b............ +mb...........b +mb............ +wb.......m...m +wb......jw...w +wbj..........j +.............. +.............. +.............. +.............. +........w..... +.............. +.............. +.............. +.............. +Level: +vivian +untitled +Bricks: +gggfgggggggggg +ggfffghhggjjjg +gjfffghhgjjjjj +gjfffghhggjjjj +ggfffggggggggg +ggfffggggggggg +ggg@gggggggggg +eeeeeeeeeeeeee +eeejjeeeeeeeee +eeejjeeeeejeee +jjjjjjjjjjjjjj +gjjjjjjjjjjjgj +ggjjggggjjjggj +gggggggggjgggj +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +Bonus: +mmwbbwpbbb.5ms +.mbmbmpp.bsm.m +wjbm5pw.pbmm.. +.wbmpms.mmm5j. +wbbbbw5ppbb?sm +w?bbb5m.spm..s +wmbpb+mp+bp5+m +bppmwppmmbp+++ +pwpbmb++mpm.s+ +bbpj+mb+bmj+5s +bbbjpmbppmmm++ +pbbbbbppbjpm.b +.wwbwwbbmmmm.b +m.m.mmjmm..... +bbbbbbjbmmmbbb +jjjjjjjbbbbbmm +ppppppjppppppp +wwwwwwjwwwwwww diff --git a/project/jni/application/lbreakout2/client/levels/GreenWall b/project/jni/application/lbreakout2/client/levels/GreenWall new file mode 100644 index 000000000..2ae8d63f3 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/GreenWall @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +Ade +Green Wall +Bricks: +ffcfffcfffcfcf +fccfcfcfcccfcf +ffcfffcfffccfc +fccfcfcccfccfc +ffcfcfcfffccfc +cccccccccccccc +############## +xxxxxxxxxxxxxx +yyyyyyyyyyyyyy +zfzfzfzzfzfzfz +fzfzfzffzfzfzf +zfzfzfzzfzfzfz +fzfzfzffzfzfzf +zfzfzfzzfzfzfz +yyyyyyyyyyyyyy +xxxxxxxxxxxxxx +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....&.44.&.... +.............. +.............. +.............. +......&&...... +.&..........&. +.............. +.....m..m..... +.............. +.............. +Level: +Ade +Dont Lose The Ball +Bricks: +.............. +.............. +.............. +.....#ff#..... +.....####..... +......aa...... +......##...... +xaxax.aa.xaxax +a###a.##.a###a +x#f#x.aa.x#f#x +a###a.##.a###a +xa#ax.aa.xa#ax +ax#xa.##.ax#xa +xa#ax.aa.xa#ax +ax#xa.##.ax#xa +xa#ax.aa.xa#ax +axxxa.##.axxxa +.............. +Bonus: +.............. +.............. +.............. +......mm...... +.............. +.............. +.............. +.............. +.............. +..&........&.. +.............. +......&b..&... +.............. +.............. +...4......4... +.............. +.............. +.............. +Level: +Ade +No Name +Bricks: +############## +############## +.............. +....xxxxxx.... +...yyyyyyyy... +##zzzzzzzzzz## +abc.......cba# +abc#######cba# +abc#fffff#cba# +abc#fffff#cba# +abc#fffff#cba# +abc#fffff#cba# +abc#######cba# +abc.......cba# +##zzzzzzzzzz## +...yyyyyyyy... +....xxxxxx.... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.....m..m..... +.............. +.............. +.&..........&. +.....4..4..... +.....l..l..... +.............. +.............. +.............. +.....m..m..... +.............. +.............. +.............. +Level: +Ade +Stairway to Heaven +Bricks: +.............. +f............f +#f..........f# +f#f........f#f +.f#f......f#f. +..f#f....f#f.. +...f#f..f#f... +....f#ff#f.... +.....f##f..... +.....f##f..... +....f#ff#f.... +...f#f..f#f... +..f#f....f#f.. +.f#f......f#f. +f#f........f#f +#f..........f# +f............f +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....m..m..... +......44...... +.....l..l..... +.............. +......m....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +One Way +Bricks: +.............. +.............. +.............. +..a........a.. +.aba......aba. +a###a....a###a +c#f#c.vv.c#f#c +b#f#b####b#f#b +c#f#c#ff#c#f#c +c#f#c#ff#c#f#c +b#f#b####b#f#b +c#f#c....c#f#c +a###a.aa.a###a +.aba.a..a.aba. +..a.a....a.a.. +...a......a... +..a........a.. +.a..........a. +Bonus: +.............. +.............. +.............. +.............. +..b........b.. +.............. +..b...m4...b.. +.............. +.............. +.............. +.............. +..&........&.. +......**...... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Many Chances +Bricks: +.............. +############## +#aaaaaccaaaaa# +#a##########a# +#acacaaaacaca# +#a#a######a#a# +#a#a#ffff#a#a# +#aca#f##f#aca# +#aca#f##f#aca# +#a#a#ffff#a#a# +#a#a##xx##a#a# +#acaaaaaaaaca# +#a###xxxx###a# +#aaacaccacaaa# +####xxxxxx#### +.............. +.............. +.............. +Bonus: +.............. +.............. +.b...s.&l...b. +.............. +.............. +.............. +.....b..b..... +.............. +...+......+... +......mm...... +.............. +.............. +.............. +.&..........&. +.......*...... +.............. +.............. +.............. +Level: +Ade +Use R to Restart +Bricks: +jcba......abcj +cba........abc +ba....##....ab +a....#aa#....a +....#f##f#.... +...#f#ff#f#... +..#f#f##f#f#.. +.#f#f#ff#f#f#. +#a#f#f##f#f#a# +#a#f#f##f#f#a# +.#f#f#ff#f#f#. +..#f#fxxf#f#.. +...#fxffxf#... +....#fxxf#.... +a....#zz#....a +ba..........ab +cba........abc +jcba......abcj +Bonus: +.............. +.............. +.............. +.............. +.............. +....b....b.... +.............. +.............. +.............. +.............. +..&...m4...&.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Lifeless, Take Some... +Bricks: +.............. +.............. +.............. +#####xxxx##### +#fff#ffff#fff# +#fff#ffff#fff# +#####ffff##### +.afff....fffa. +.afff.ff.fffa. +.afff.ff.fffa. +.afff....fffa. +#####ffff##### +#fff#ffff#fff# +#fff#ffff#fff# +#####xxxx##### +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +......&&...... +......&m...... +..l........l.. +......44...... +.............. +..l........l.. +......m....... +.............. +..&........&.. +.............. +.............. +.............. +.............. +Level: +Ade +Dont Worry +Bricks: +......##...... +......##...... +.....#aa#..... +.....#aa#..... +....#aaaa#.... +....#abba#.... +...#abccba#... +...#abccba#... +..#f#abba#f#.. +..#f#aaaa#f#.. +.#f#f#aa#f#f#. +.#f#f#aa#f#f#. +#f#f#f##f#f#f# +#f#f#f##f#f#f# +f#f#f#ff#f#f#f +f#f#f#ff#f#f#f +.............. +.............. +Bonus: +.............. +.............. +......ss...... +.............. +.............. +......b&...... +.............. +.............. +.............. +......m....... +.............. +.............. +.............. +.&.b......b.&. +......m4...... +.............. +.............. +.............. +Level: +Ade +Twins +Bricks: +jzyx......xyzj +zyx...##...xyz +yx...#cc#...xy +x...#bbbb#...x +...#aaaaaa#... +...#aaaaaa#... +x...#bbbb#...x +yx...#cc#...xy +zyx...##...xyz +zyx...##...xyz +yx...#cc#...xy +x...#bbbb#...x +...#aaaaaa#... +...#aaaaaa#... +x...#bbbb#...x +yx...#cc#...xy +zyx...##...xyz +jzyx......xyzj +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +m............m +......44...... +....&.mm.&.... +......ll...... +.............. +.............. +p............p +Level: +Ade +By The Way +Bricks: +......aa...... +....aa##aa.... +..aa##ff##aa.. +aa##ffffff##aa +##ffffffffff## +aa##ffffff##aa +..aa##ff##aa.. +....aa##aa.... +......ff...... +....xx##xx.... +..xx##ff##xx.. +xx##ffffff##xx +##ffffffffff## +xx##ffffff##xx +..xx##ff##xx.. +....xx##xx.... +......xx...... +.............. +Bonus: +.............. +.............. +.............. +.............. +..b...ll...b.. +.............. +.............. +....&....&.... +......bb...... +.............. +.............. +......44...... +..&...44..b&.. +.............. +...m.......... +.............. +.............. +.............. +Level: +Ade +U2 +Bricks: +.############. +.#cccccccccc#. +.#bbbbbbbbbb#. +.#aaaa##aaaa#. +.#fff#..#fff#. +.#ff#....#ff#. +.#f#......#f#. +.##........##. +.............. +ccbbffxxffbbcc +ccbbffxxffbbcc +ccbbffxxffbbcc +######..###### +zzyyffxxffyyzz +zzyyffxxffyyzz +zzyyffxxffyyzz +.............. +.............. +Bonus: +.............. +.............. +.............. +...&......&... +....b....b.... +.............. +.............. +.............. +.............. +.....4..4..... +.............. +...s..mm..s... +.............. +.....+..+..... +.............. +.............. +.............. +.............. +Level: +Ade +Close To The Edge +Bricks: +.............. +...cbbbbbbc... +...cbaaaabc... +...cba##abc... +...cbaffabc... +ccccba##abcccc +bbbbbaaaabbbbb +baaaa####aaaab +ba##a#ff#a##ab +baffa#ff#affab +ba##a#ff#a##ab +baaaa####aaaab +bbbbbaaaabbbbb +ccccba##abcccc +...cbaffabc... +...cba##abc... +...cbaaaabc... +...cbbbbbbc... +Bonus: +.............. +.............. +.............. +.............. +......b&...... +.............. +.............. +.............. +.............. +...&......&... +.............. +.............. +.m....44....m. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Almost +Bricks: +.............. +......cc...... +.....cbbc..... +....cbaabc.... +...cbabbabc... +..cbabccbabc.. +.cbabc##cbabc. +cbabc#ff#cbabc +babc#f##f#cbab +abc#f#ff#f#cba +yxyz#f##f#zyxy +zyxyz#ff#zyxyz +.zyxyz##zyxyz. +..zyxyzzyxyz.. +...zyxyyxyz... +....zyxxyz.... +.....zyyz..... +......zz...... +Bonus: +.............. +.............. +.............. +.............. +.............. +....m.b4.m.... +.............. +.............. +.............. +....&.bb.&.... +.............. +.............. +.............. +....m.ll.m.... +.............. +.............. +.............. +.............. +Level: +Ade +Learning to Fly +Bricks: +.....xxxx..... +.....xaax..... +.....xaax..... +.xxxxxyyxxxxx. +.xyyyyzzyyyyx. +.xyzzzaazzzyx. +.xyzaaccaazyx. +xxyza####azyxx +xyzac#ff#cazyx +xyzac#ff#cazyx +xxyza####azyxx +.xyzaaccaazyx. +.xyzzzaazzzyx. +.xyyyyzzyyyyx. +.xxxxxyyxxxxx. +.....xaax..... +.....xaax..... +.....xxxx..... +Bonus: +.............. +.............. +......b&...... +.............. +.............. +.............. +......bl...... +.............. +......44...... +......44...... +...&......&... +.....&..&..... +.............. +.m..........m. +.............. +.............. +.............. +.............. +Level: +Ade +Where is the Ball? +Bricks: +zzzzzzzzzzzzzz +xxxxzxxzzzxxxx +xzzxzxzxzzxzzz +xzzxzxzzxzxzzz +xzzxzxzzxzxzzz +xzzxzxzzxzxzzz +xxxxzxzzxzxxxz +xzzxzxzzxzxzzz +xzzxzxzzxzxzzz +xzzxzxzzxzxzzz +xzzxzxzxzzxzzz +xzzxzxxzzzxxxx +zzzzzzzzzzzzzz +yyyyyyyyyyyyyy +xxxxxxxxxxxxxx +yyyyyyyyyyyyyy +zzzzzzzzzzzzzz +.............. +Bonus: +.............. +..*........*.. +.............. +.............. +.............. +.............. +..*........*.. +.............. +....&....&.... +....*....*.... +.............. +.*.........*.. +.............. +.............. +..&........&.. +.............. +...*......*... +.............. +Level: +Ade +RIP +Bricks: +.....####..... +.....#ff#..... +.....#ff#..... +.....#ff#..... +.....#ff#..... +.#####ff#####. +.#####ff#####. +.#ffffffffff#. +.#####ff#####. +.#####ff#####. +.....#ff#..... +..x..#ff#..x.. +.xxx.#ff#.xxx. +..x..#ff#..x.. +..x..#ff#..x.. +..x..#ff#..x.. +..x..#ff#..x.. +.....####..... +Bonus: +.............. +.............. +.............. +.............. +.............. +......bb...... +.............. +....&.ll.&.... +.............. +.............. +.............. +.............. +..m........4.. +..4........4.. +.............. +......&....... +.............. +.............. +Level: +Ade +Stars +Bricks: +.............. +...xyzjjzyx... +...xyz!!zyx... +.xxxyzjjzyxxx. +.xyyyz!!zyyyx. +.xyzzzjjzzzyx. +xxyz!j!!j!zyxx +yyyzj!jj!jzyyy +zzzz!ffff!zzzz +jjjjjfaafjjjjj +zzzz!ffff!zzzz +yyyzj!jj!jzyyy +xxyz!j!!j!zyxx +.xyzzzjjzzzyx. +.xyyyz!!zyyyx. +.xxxyzjjzyxxx. +...xyz!!zyx... +...xyzjjzyx... +Bonus: +.............. +.............. +.............. +.............. +.............. +.....*..*..... +..&........&.. +..*........*.. +......**...... +.....l44l..... +......**...... +..*........*.. +.............. +.....s**s..... +.............. +.............. +.............. +......ww...... +Level: +Ade +Love to See You Cry +Bricks: +#f..########## +#!f..##f###### +#f!f..##f##### +fjf!f..##f#### +#fjf!f..##f### +#!fjf!f..##f## +#f!fjf!f..##f# +fjf!fjf!f..### +#fjf!fjf!f.#f# +#jf!fjf!f..### +#f!fjf!f..##f# +f!fjf!f..##f## +#fjf!f..##f### +fjf!f..##f#### +#f!f..##f##### +#!f..##f###### +#f..########## +.............. +Bonus: +.............. +.............. +........b..... +..m........... +.............. +.............. +............&. +..4.l......... +.............. +.............. +...4.......... +m............. +.............. +.........&.... +.............. +.............. +.............. +.............. +Level: +Ade +Dogs +Bricks: +ff#ffffffff#ff +ff#jffffffj#ff +f##jjffffjj##f +f#jjjjffjjjj#f +##jaajjjjaaj## +#ajjjjjjjjjja# +##jffffffffj## +.#jjffffffjj#. +.##jjffffjj##. +..#jjjffjjj#.. +..##jjjjjj##.. +...#jjaajj#... +...##jaaj##... +....#jjjj#.... +....##jj##.... +.....#jj#..... +######jj###### +.............. +Bonus: +.............. +.............. +.............. +m...&....&...m +...m......m... +.4..........4. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....*..l..... +.............. +.............. +.............. +.............. +Level: +Ade +Demons +Bricks: +.#....##....#. +.#....ff....#. +.############. +......ff...... +xffff.##.ffffx +fxccc.##.cccxf +fcxbb.##.bbxcf +fcbxa.##.axbcf +fcbax.ff.xabcf +fcbaf.##.fabcf +fcbaf.##.fabcf +fcbaf.##.fabcf +fcbaf.##.fabcf +fcbax.ff.xabcf +fcbxa.##.axbcf +fcxbb.##.bbxcf +fxccc.##.cccxf +xffff.##.ffffx +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +m.....ll.....m +..&........&.. +...*......*... +...*......*... +.............. +......44...... +.............. +.............. +.............. +.............. +Level: +Ade +I dont know +Bricks: +.............. +aaa!bbbbbb!aaa +aa!!######!!aa +a!!#ffffff#!!a +!!#ff####ff#!! +!#ff#ffff#ff#! +#ff#ff##ff#ff# +#f#ff#!!#ff#f# +#f#f#!!!!#f#f# +#f#f#!!!!#f#f# +#f#ff#!!#ff#f# +#ff#ff##ff#ff# +!#ff#ffff#ff#! +!!#ff####ff#!! +x!!#ffffff#!!x +xx!!######!!xx +xxxzzzzzzzzxxx +.............. +Bonus: +.............. +..m........m.. +.............. +.............. +.............. +.....4..4..... +.....4..4..... +.............. +.............. +...&......&... +.............. +.............. +......bl...... +.............. +m............m +.............. +.............. +.............. +Level: +Ade +Robot +Bricks: +.....#..#..... +....######.... +....#ffff#.... +...##dffd##... +...##ffff##... +....#ffff#.... +....######.... +.....####..... +.....####..... +.....####..... +..##########.. +..#ffffffff#.. +.##ffffffff##. +.##ffffffff##. +..#ffffffff#.. +..##########.. +...###vv###... +...###vv###... +Bonus: +.............. +.............. +.............. +.............. +.............. +.....mbbm..... +.............. +.............. +.............. +.............. +.............. +.....4ll4..... +.............. +...&......&... +.............. +.............. +.............. +......mm...... +Level: +Ade +Its Raining Again +Bricks: +############## +######ff###### +#####f##f##### +###f##ff##f### +###f######f### +###ff####fff## +###ff####fff## +##ffff##fffff# +##fxff##ffxff# +#ffyffffffyfff +#fxzxffffxzxff +ffyjyffffyjyff +fxz.zxffxz.zxf +fyj.jyffyj.jyf +xz...zxxz...zx +yj...jyyj...jy +z.....zz.....z +j.....jj.....j +Bonus: +.............. +.............. +.............. +...m..&b..m... +.............. +.............. +.............. +.....l..l..... +.............. +......44...... +.............. +.............. +......&&...... +.............. +.............. +.*..........*. +.............. +.............. +Level: +Ade +Simply Green +Bricks: +.......ffxffxf +......ffxffxff +.....ffxffxffx +....ffxffxffxf +...ffxffxffxff +..ffxffxffxffx +.ffxffxffxffxf +ffxffxffxffxff +fxffxffxffxffx +xffxffxffxffxf +ffxffxffxffxff +fxffxffxffxff. +xffxffxffxff.. +ffxffxffxff... +fxffxffxff.... +xffxffxff..... +ffxffxff...... +fxffxff....... +Bonus: +........w.wb.. +.......b.wbbb. +.........b.bb. +.......ww..b.w +....4.b..4...w +....l....l.... +...........p.. +.............. +.............. +.............. +...p...p...... +.........b.... +.b..b......... +p............. +.............. +..p..p........ +.............. +..p........... +Level: +Ade +Lightining +Bricks: +......ff...... +.....j##j..... +....z#ff#z.... +...c#jffj#c... +..bczj##jzcb.. +.ab#z#ff#z#ba. +.a#c#jffj#c#a. +.#bczj##jzcb#. +.ab#z#ff#z#ba. +.a#c#jffj#c#a. +.#bczj##jzcb#. +.ab#z#ff#z#ba. +.a#c#j..j#c#a. +.#bcz....zcb#. +.ab#......#ba. +.a#........#a. +.#..........#. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.m.&......&.m. +.............. +......44...... +......bl...... +.....&..b..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Early In The Morning +Bricks: +xfjfjfjjfjfjfx +yxfjfjffjfjfxy +zyxfjfjjfjfxyz +.zyxfjffjfxyz. +..zyxfjjfxyz.. +...zyx..xyz... +#...zy..yz...# +f#...z..z...#f +ff#........#ff +ff#........#ff +f#...z..z...#f +#...zy..yz...# +...zyx..xyz... +..zyxfjjfxyz.. +.zyxfjffjfxyz. +zyxfjfjjfjfxyz +yxfjfjffjfjfxy +xfjfjfjjfjfjfx +Bonus: +.............. +.............. +..m.m....m.m.. +.............. +..4........4.. +.............. +.............. +.............. +.............. +.............. +m............m +.............. +.............. +.............. +......**...... +.............. +.............. +.............. +Level: +Ade +North Sea +Bricks: +fff#ff.ff#ffff +f#ffff.ffff#ff +fffff#.#fffff# +#ff#ff.ff#ff#g +.#ffff.ffff#gg +..#ff#.#ff#gg. +g..#ff.ff#gg.. +gg..#f.f#gg..g +ggg....ggg..gg +ggg....ggg..gg +gg..#f.f#gg..g +g..#ff.ff#gg.. +..#ffx.xff#gg. +.#ffff.ffff#gg +#ffxff.ffxff#g +fffffx.xfffff# +fxffff.ffffxff +fffxff.ffxffff +Bonus: +.............. +.............. +.............. +.&l.......l&.. +..4.......4... +.............. +.............. +.............. +&m..........m& +.............. +.............. +....?...?..... +....?...?..... +....?...?..... +.............. +bbbbb......... +....w......... +....w......... +Level: +Ade +Who knows +Bricks: +.....j##j..... +....fjjjjf.... +...fjjffjjf... +..fj#jffj#jf.. +.fj#fjffjf#jf. +fj#jfjffjfj#jf +j#fjfjffjfjf#j +#jfjfjffjfjfj# +fjfj.x..x.jfjf +fjfj.x..x.jfjf +fjf#x.xx.x#fjf +fjf#x.xx.x#fjf +fj#x.xffx.x#jf +fj#x.xffx.x#jf +f#x.x.xx.x.x#f +f#x.x.xx.x.x#f +#x.x.x..x.x.x# +#x.x.x..x.x.x# +Bonus: +.............. +.............. +.............. +..*........*.. +....w....w.... +.............. +.............. +.b.....*....b. +4b..........b4 +.bww......wwb. +.&*........*&. +.b..........b. +.b..........b. +.b..........b. +.............. +l.....bb.....l +.............. +.....w..w..... +Level: +Ade +Whos The Next +Bricks: +ffff#jkkj#ffff +ffff#jkkj#ffff +ffff#jjjj#ffff +ffffabffbaffff +f###abffba###f +f#jjjjjjjjjj#f +f#jkkkkkkkkj#f +f##jkkkkkkj##f +fbajjjkkjjjabf +fba###kk###abf +kkkkk#kk#kkkkk +fffkk#kk#kkfff +kkk###kk###kkk +kfbafjkkjfabfk +kfbafjkkjfabfk +kkk###kk###kkk +fffkfxyyxfkfff +fffkfxyyxfkfff +Bonus: +.............. +.............. +......l....... +.............. +.............. +...&*....*&... +.............. +.............. +....44..44.... +.............. +.............. +.............. +..*........*.. +.....bbbb..... +.....bbbb..... +......ww...... +....+....+.... +.............. +Level: +Ade +Challenger +Bricks: +ffffffffffffff +############## +.............. +.............. +xxxxxx..xxxxxx +yyyyyy..yyyyyy +zzzzzz..zzzzzz +jjjjjj..jjjjjj +!!!!!!..!!!!!! +.............. +.............. +.............. +!!!!!!..!!!!!! +jjjjjj..jjjjjj +zzzzzz..zzzzzz +yyyyyy..yyyyyy +xxxxxx..xxxxxx +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.b..b....b..b. +.....b..b..... +.............. +.............. +.............. +.............. +m............m +.............. +.............. +.............. +.b...w..w...b. +.............. +.............. +Level: +Ade +Hungry +Bricks: +.............. +...k......k... +...#......#... +..kfk....kfk.. +..#f#....#f#.. +.kfifk..kfifk. +.#fif#..#fif#. +kfiiifkkfiiifk +#figif##figif# +iiigiiiiiigiii +#figif##figif# +xfiiifxxfiiifx +.#fif#..#fif#. +.xfifx..xfifx. +..#f#....#f#.. +..xfx....xfx.. +...#......#... +...x......x... +Bonus: +.............. +.............. +.............. +.............. +.............. +..&.........&. +.............. +.....b44b..... +.............. +......l....... +.....&..&..... +.m...*..*...m. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Why Not +Bricks: +#####fffffffff +#xxxxf.f.f.f.f +#xyyyfffffffff +#xyzzfffffffff +#xyzjf.f.f.f.f +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +f.f.f.f.fjzyx# +fffffffffzzyx# +fffffffffyyyx# +f.f.f.f.fxxxx# +fffffffff##### +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.***.......... +.............. +.............. +.........***** +.............. +.............. +..l4.......... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Yes +Bricks: +j!j!j!j!j!j!j! +!j!j!j!j!j!j!j +f!j!f!j!j!j!j! +fj!jfj!j!j!j!j +f!j!fffff!j!j! +!f!f!f!j!j!j!j +j!f!jfj!jffff! +!jfj!f!j!f!j!j +j!f!jfj!jfj!j! +zjfjzfffzfzjzj +jzfzjfjzjfjzjz +zjfjzfzjzffffj +jzfzjfjzjzjzfz +zjzjzfzjzjzjfj +jzjzjffffzjzfz +zjzjzjzjzjzjfj +jzjzjzjzjffffz +zjzjzjzjzjzjzj +Bonus: +..b...l.....b. +.*.m.......... +..b.....*...b. +.*...4.....4.. +..&........... +.............* +?...*......... +.......?...... +.............. +.............? +....*...l..... +.?............ +......4...4... +.............* +.............. +.*.......*.... +..b.w.b....... +.............. +Level: +Ade +Electra +Bricks: +!#!!!!!!!!!!#! +f#ffffffffff#f +!#!!!!!!!!!!#! +##ffffffffff## +.............. +a#..........#a +ax#........#xa +axb#......#bxa +axby#....#ybxa +axbyc#..#cybxa +axbycz..zcybxa +axbycz..zcybxa +axbycz..zcybxa +axbyc#..#cybxa +axby#....#ybxa +axb#......#bxa +ax#........#xa +a#..........#a +Bonus: +.............. +m.m.m....m.m.m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.l4........4l. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Well, Well.. +Bricks: +f###ccffcc###f +##c#cfkkfc#c## +#cc#ccffcc#cc# +kcc##a##a##cck +kcccabccbaccck +#ccabcjjcbacc# +#cabcjffjcbac# +#abcjfkkfjcba# +abcjfkffkfjcba +abcjfkffkfjcba +#abcjfkkfjcba# +#cabcjffjcbac# +#ccabcjjcbacc# +kcccabccbaccck +kcc##abba##cck +#cc#......#cc# +#cc#......#cc# +####......#### +Bonus: +.............. +.....m..m..... +.............. +&............& +.............. +.............. +.............. +.l..........l. +.4..........4. +.4..........4. +.l..........l. +.....b.&b..... +....bwbbwb.... +....&s++s&.... +.............. +.............. +.............. +.............. +Level: +Ade +Chips +Bricks: +ffffffffffffff +f............f +f............f +f.!..!..!..!.f +f............f +f............f +f.!..!..!..!.f +f............f +f............j +f.!..!..!...jz +f..........jzy +f.........jzyx +j.!..!...jzyxy +cj......jzyxyz +bcj....jzyxyzj +abcj.!.zyxyzje +babc...yxyzjee +cbab...xyzjeee +Bonus: +m............m +.............. +.............. +.b..4....4..b. +.............. +.............. +.............. +.b..........b. +.............. +.............. +............m. +.......+...... +..........m... +.............. +........m..... +.............. +.............. +.............. +Level: +Ade +Apolo +Bricks: +hfhfh....hfhfh +fgfgf....fgfgf +hfhfh#..#hfhfh +fgfgfa..afgfgf +hfhfh#..#hfhfh +fgfgfa..afgfgf +hfhfh#..#hfhfh +fgfgfa..afgfgf +hfhfh#..#hfhfh +fgfgfa..afgfgf +hfhfh#..#hfhfh +fgfgfa..afgfgf +a#a#a#..#a#a#a +.............. +.............. +zjzjzjzjzjzjzj +ykykykykykykyk +xfxfxfxfxfxfxf +Bonus: +.............. +.............. +..*........*.. +.....*..*..... +.............. +.............* +.............. +..*........*.. +.............. +....s...ss.... +.............. +....s*..*s.... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +April +Bricks: +abcxyz!!zyxcba +abcxyzjjzyxcba +abcxyz!!zyxcba +abcxyzjjzyxcba +abcxyz!!zyxcba +abcxyzjjzyxcba +abcxyz!!zyxcba +abcxyzjjzyxcba +abcxyz!!zyxcba +abcxyzjjzyxcba +abcxyz..zyxcba +abcxy....yxcba +abcx......xcba +ab#........#ba +a#..........#a +#............# +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..m...mm....m. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.&..........&. +.............. +.............. +.............. +.............. +Level: +Ade +April +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/GreenWall2 b/project/jni/application/lbreakout2/client/levels/GreenWall2 new file mode 100644 index 000000000..d765d3b0e --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/GreenWall2 @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +Ade +Back To The Bricks +Bricks: +######xx###### +#.....xx.....# +#....xyyx....# +#...xyzzyx...# +#..xyzjjzyx..# +#.xyzj##jzyx.# +#xyzj#ff#jzyx# +#xyzj#ff#jzyx# +#.xyzj##jzyx.# +#..xyzjjzyx..# +#...xyzzyx...# +#....xyyx....# +#.....xx.....# +######xx###### +..jzyx..xyzj.. +..zyx....xyz.. +..yE......xy.. +..x........x.. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +.............. +....&....&.... +.............. +......mm...... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Show No Mercy +Bricks: +@@@E@@EE@@E@@@ +@@E@@E##E@@E@@ +@E@@E#ff#E@@E@ +E@@E#fxxf#E@@E +@@E#fxffxf#E@@ +@E#fxfxxfxf#E@ +E#fxfxffxfxf#E +EfxfxfxxfxfxfE +EfxfxfxxfxfxfE +E#fxfxffxfxf#E +@E#fxfxxfxf#E@ +@@E#fxffxf#E@@ +EEE##fxxf##EEE +#f####xx####f# +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +.............. +.............. +.............. +.m....44....s. +.............. +.............. +.............. +.............. +Level: +Ade +Manhattan-Kaboul +Bricks: +ffff#...xyz... +fff#...xyz...a +ff#...xyz...ab +f#...xyz...abc +#...xyz...abc. +...xyz...abc.. +..xyz...abc... +.xyz...abc.... +xyz...abc..... +xyz...abc..... +.xyz...abc.... +..xyz...abc... +...xyz...abc.. +#...xyz...abc. +f#...xyz...abc +ff#...xyz...ab +fff#...xyz...a +ffff#...xyz... +Bonus: +.............. +.............. +mm............ +.............. +.............. +.............. +.............. +.............. +.m......m..... +.m......m..... +.............. +.............. +.............. +.....l........ +......l....... +.......4...... +........4..... +.............. +Level: +Ade +Doors +Bricks: +ffffff##ffffff +f....#aa#....f +f...#abba#...f +f..#abccba#..f +f.#abcjjcba#.f +f#abcj##jcba#f +fabcj#xx#jcbaf +fbcj#xyyx#jcbf +!!!!#yzzy#!!!! +!!!!#yzzy#!!!! +fbcj#xyyx#jcbf +fabcj#xx#jcbaf +f#abcj##jcba#f +f.#abcjjcba#.f +f..#abccba#..f +f...#abba#...f +f....#aa#....f +ffffff##ffffff +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......44...... +......mm...... +......mm...... +m.....44.....m +.............. +.............. +.............. +....&b..b&.... +.............. +.............. +.............. +Level: +Ade +Windows +Bricks: +......xx...... +......xx...... +......ff...... +.###..ff..###. +.#f#..xx..#f#. +.###..xx..###. +......ff...... +......ff...... +.xxxffxxffxxx. +.xxxffxxffxxx. +......ff...... +......ff...... +.###..xx..###. +.#f#..xx..#f#. +.###..ff..###. +......ff...... +......xx...... +......xx...... +Bonus: +.............. +.............. +.............. +.............. +..4........4.. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +......l4...... +.............. +..&........&.. +.............. +.............. +.............. +.............. +Level: +Ade +Here We Go +Bricks: +.............. +.#x........x#. +.#yx......xy#. +.#zyx....xyz#. +.#jzyx..xyzj#. +.#!jzyxxyzj!#. +.............. +####f####f#### +#ff#f#ff#f#ff# +#ff#f#ff#f#ff# +####f####f#### +.............. +.#!jzyxxyzj!#. +.#jzyx..xyzj#. +.#zyx....xyz#. +.#yx......xy#. +.#x........x#. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +.l&.m.mm.m.&l. +.............. +.............. +.....4**4..... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Trinitro Tolueno +Bricks: +.............. +.............. +.**...**...**. +#xx#.#xx#.#xx# +#xx#.#xx#.#xx# +####.####.#### +.............. +xxxxxxxxxxxxxx +*x*x*x**x*x*x* +*x*x*x**x*x*x* +xxxxxxxxxxxxxx +.............. +####.####.#### +#xx#.#xx#.#xx# +#xx#.#xx#.#xx# +.xx...xx...xx. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.mm...mm...mm. +.............. +.............. +*............. +.............. +.............. +*............. +.............. +.............. +......mm...... +......44...... +.............. +.............. +.............. +Level: +Ade +Stars +Bricks: +......!!...... +.....!!!!..... +....!!!!!!.... +.....!!!!..... +..####!!####.. +..#xxxxxxxx#.. +..#xyyyyyyx#.. +.!#xyz!!zyx#!. +!!!xy!!!!yx!!! +!!!xy!!!!yx!!! +.!#xyz!!zyx#!. +..#xyyyyyyx#.. +..#xxxxxxxx#.. +..####!!####.. +.....!!!!..... +....!!!!!!.... +.....!!!!..... +......!!...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....l44l..... +.............. +.............. +.............. +.*..........*. +.............. +....mmmmmm.... +.............. +.............. +.............. +.............. +......**...... +Level: +Ade +Boss +Bricks: +########...... +.x#....x#..... +.xa#...xa#.... +.xay#..xay#... +.xayb#.xayb#.. +.xaybz#xaybz#. +.xaybzcxaybzc. +.xaybzcxaybzc. +.xaybzcxaybzc. +.xaybzcxaybzc. +.xaybzcxaybzc. +.xaybzcxaybzc. +.xaybz#xaybz#. +.xayb#.xayb#.. +.xay#..xay#... +.xa#...xa#.... +.x#....x#..... +########...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +............m. +............m. +............m. +............m. +.............. +.............. +.............. +.&&&...&&&.... +.44....44..... +.l.....l...... +.............. +Level: +Ade +Tetris +Bricks: +......zz...... +......zz...... +......z....... +.............. +.............. +.............. +...j......b... +.f.j..x...b.k. +.f.j.ax.e.bik. +.f.jgax.e.bik. +.fhjgaxde.bik. +.fhjgaxdezbik. +.fhjgaxdezbik. +.fhjgaxdezbik. +.############. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.*.*........*. +.............. +........*..... +.............. +.......*...... +......**...... +...&4.**.4&... +.............. +.............. +.............. +.............. +Level: +Ade +Clown +Bricks: +ff#aaaaaaaa#ff +ff#jaaaaaaj#ff +ff#jjaaaajj#ff +f#jjjjaajjjj#f +f#jjjjjjjjjj#f +f#jjjjjjjjjj#f +#jjggjjjjggjj# +#jj!!jjjj!!jj# +#jjggjjjjggjj# +f#jjjjeejjjj#f +f#jjjjeejjjj#f +f#jjjjeejjjj#f +ff#jjjjjjjj#ff +ff#jjddddjj#ff +ff#jjjddjjj#ff +fff#jjjjjj#fff +fff#jjjjjj#fff +#####jjjj##### +Bonus: +.............. +.............. +.m..........m. +.............. +......mm...... +m............m +.............. +.............. +.............. +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +......**...... +......ww...... +Level: +Ade +Mirror +Bricks: +#............. +j#............ +zj#........... +yzj#.......... +xyzj#......... +#xyzj#........ +a#xyzj#....... +ba#xyzj#...... +cba#xyzj#..... +jcba#xyzj#.... +#jcba#xyzj#... +.#jcba#xyzj#.. +..#jcba#xyzj#. +...#jcba#xyzj# +.............. +...#jcba#xyzj# +..#jcba#xyzj#. +.#jcba#xyzj#.. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....4.m4.&mb&. +.............. +....mm44...... +.............. +.............. +Level: +Ade +Whiskey Time +Bricks: +.jcba.#......# +.cba.#......#. +.ba.#.x....#.x +.a.#.xx...#.xx +..#.xxx..#.xxx +.#.xxxx.#.xxxx +#.ccccc#.ccccc +.bbbbbb.bbbbbb +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +.bbbbbb.bbbbbb +#.ccccc#.ccccc +.#.xxxx.#.xxxx +..#.xxx..#.xxx +.a.#.xx...#.xx +.ba.#.x....#.x +.cba.#......#. +.jcba.#......# +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.m.m.m.m.m.m.. +.............. +.............. +.............. +.............. +......4....... +......4....... +.............. +.............. +Level: +Ade +Twins +Bricks: +.############. +.f.xxxxxxxx.f. +.ff.yyyyyy.ff. +.#ff.zzzz.ff#. +.#.ff.jj.ff.#. +.#a.ff..ff.a#. +.#ab.ffff.ba#. +.#abc.ff.cba#. +.#abc.##.cba#. +.#abc.##.cba#. +.#abc.ff.cba#. +.#ab.ffff.ba#. +.#a.ff..ff.a#. +.#.ff.jj.ff.#. +.#ff.zzzz.ff#. +.ff.yyyyyy.ff. +.f.xxxxxxxx.f. +.############. +Bonus: +.............. +.............. +..m........m.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......ll...... +.............. +..m........m.. +...&.&44&.&... +.............. +Level: +Ade +Inner +Bricks: +.jzyx#..#xyzj. +jzyx#....#xyzj +zyx#......#xyz +yx#...!!...#xy +x#...!!!!...#x +#...!!!!!!...# +x#...!!!!...#x +yx#...!!...#xy +zyx#......#xyz +jzyx#....#xyzj +.jzyx#..#xyzj. +..jzyx##xyzj.. +...jzyxxyzj... +....jzyyzj.... +.....jzzj..... +......jj...... +.............. +.............. +Bonus: +.............. +.............. +.............. +.&..........&. +m............m +.............. +.............. +m.....l......m +.....&44&..... +.............. +.............. +.............. +......mm...... +.............. +.............. +......**...... +.............. +.............. +Level: +Ade +The Wall +Bricks: +.............. +.............. +xx##ff##ff##xx +xx##ff##ff##xx +##xx##ff##xx## +##xx##ff##xx## +xx##xx##xx##xx +xx##xx##xx##xx +ffxxffxxffxxff +ffxxffxxffxxff +xx##xx##xx##xx +xx##xx##xx##xx +##xx##ff##xx## +##xx##ff##xx## +xx##ff##ff##xx +xx##ff##ff##xx +.............. +.............. +Bonus: +.............. +.............. +.............. +....&m..m&.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..4l..&&..l4.. +.m..m...m...m. +.............. +.............. +.............. +Level: +Ade +Sabotage +Bricks: +x##........##x +##....##....## +#....#xx#....# +....#xxxx#.... +...#xx##xx#... +..#xx#..#xx#.. +.#xx#....#xx#. +.xx#......#xx. +......ff...... +......ff...... +.xx#......#xx. +.#xx#....#xx#. +..#xx#..#xx#.. +...#xx##xx#... +....#xxxx#.... +.....#xx#..... +......##...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +.............. +.............. +.............. +.............. +......44...... +.............. +.............. +Level: +Ade +Cry Baby +Bricks: +.#..........#. +x.#........#f. +ax.#......#f!. +xax.#....#f!f. +axax.#..#f!f!. +xaxax.#.f!f!f. +axaxax.#!f!f!. +xaxaxax.f!f!f. +axaxaxa.!f!f!. +xaxaxax.f!f!f. +axaxax.#!f!f!. +xaxax.#.f!f!f. +axax.#..#f!f!. +xax.#....#f!f. +ax.#......#f!. +x.#........#f. +.#..........#. +#............. +Bonus: +.............. +.............. +.............. +............*. +.............. +.............. +.............. +............*. +......m..*.... +.....l........ +....4......... +...m.......... +..b........... +.4..........*. +m............. +.............. +.............. +.............. +Level: +Ade +AW +Bricks: +.fff######fff. +.fff######fff. +.fff#ffff#fff. +.fff#ffff#fff. +.fff######fff. +.fff######fff. +.f#f#ffff#f#f. +.f#f#ffff#f#f. +.f#f#ffff#f#f. +.f#ffffffff#f. +.f#fff##fff#f. +.f#ff####ff#f. +.f##f####f##f. +.ff###ff###ff. +.fff#ffff#fff. +.ffffffffffff. +.............. +.............. +Bonus: +.............. +.............. +.............. +.....m..m..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....m....m.... +.............. +.bbb.bbbb.bbb. +.wwwwwwwwwwww. +.............. +.............. +Level: +Ade +Half Time +Bricks: +#############. +......#######. +.....#abc!!!!. +....#abcjjjjj. +...#abczzzzzz. +..#abcyyyyyyy. +.#abcxxxxxxxx. +#abcj########. +#bcj#ffffffff. +#bcj#ffffffff. +#abcj########. +.#abcxxxxxxxx. +..#abcyyyyyyy. +...#abczzzzzz. +....#abcjjjjj. +.....#abc!!!!. +......#######. +#############. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....&........ +.............. +.m...m..*.*.*. +.m...m..*.*.*. +.............. +.....&........ +.............. +.............. +.............. +......44l..... +.............. +.............. +Level: +Ade +Active +Bricks: +.......#f!f!f! +.!!!!!..#f!f!f +.!jjjj!..#f!f! +.!jzzzj!..#f!f +.!jzyyzj!..#f! +.!jzyx.zj!..#f +.!jzy...zj!..# +.!jz..#..zj!.. +.!j..#f#..zj!. +.!jz..#f#..j!. +..!jz..#..zj!. +#..!jz...yzj!. +##..!jz.xyzj!. +###..!jzyyzj!. +####..!jzzzj!. +#####..!jjjj!. +######..!!!!!. +#######....... +Bonus: +.............. +.............. +..........m... +.............. +............m. +....mm........ +.............. +.............. +......m....... +.......m...... +.............. +.............. +........m..... +......4....... +.......l...... +.............. +.............. +.............. +Level: +Ade +ET +Bricks: +ff###ffff###ff +f#jjj#ff#jjj#f +fggjggffggjggf +f#jej#ff#jej#f +f#jej#ff#jej#f +f#djd#ff#djd#f +ff#d#ffff#d#ff +fff#ffffff#fff +ff###ffff###ff +f#f#f#ff#f#f#f +fff#ffffff#fff +fff#ffffff#fff +fff#ffffff#fff +ff#f#ffff#f#ff +f#fff#ff#fff#f +#fffff##fffff# +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +...m......m... +.............. +.............. +......44...... +.............. +.............. +..&........&.. +...m......m... +.............. +.............. +.............. +.............. +Level: +Ade +Sleepless +Bricks: +.............. +......xx...... +....#x##x#.... +....x#ff#x.... +..#x#f##f#x#.. +..x#f#ff#f#x.. +#x#f#f##f#f#x# +x#f#f#xx#f#f#x +#f#f#xffx#f#f# +#f#f#xffx#f#f# +x#f#f#xx#f#f#x +#x#f#f##f#f#x# +..x#f#ff#f#x.. +..#x#f##f#x#.. +....x#ff#x.... +....#x##x#.... +......xx...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +.m..........m. +.............. +.....4..4..... +......lb...... +.............. +.............. +.............. +Level: +Ade +High Density +Bricks: +.............. +.!..........!. +!!!...##...!!! +.!...#xx#...!. +....#xyyx#.... +...#xy!!yx#... +....#xyyx#.... +..x..#xx#..x.. +.xxx..##..xxx. +xx!xx....xx!xx +.xxx..##..xxx. +..x..#xx#..x.. +....#xyyx#.... +...#xy!!yx#... +....#xyyx#.... +.....#xx#..... +......##...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +......mm...... +.............. +.............. +.............. +..m........m.. +.............. +.............. +.............. +......mm...... +........l..... +......44...... +.............. +.............. +Level: +Ade +Fox Glacier +Bricks: +.............. +.xxx.####.xxx. +.xfx.#ff#.xfx. +.xxx.####.xxx. +..x..xxxx..x.. +.xxx.####.xxx. +.xfx.#ff#.xfx. +.xxx.####.xxx. +..x..xxxx..x.. +.xxx.####.xxx. +.xfx.#ff#.xfx. +.xxx.####.xxx. +..x..xxxx..x.. +.xxx.####.xxx. +.xfx.#ff#.xfx. +.xxx.####.xxx. +.............. +.............. +Bonus: +.............. +.............. +..m........m.. +.............. +.............. +.............. +..4........4.. +.............. +.............. +.............. +..m...mm...m.. +.............. +.............. +.............. +..&........&.. +.............. +.............. +.............. +Level: +Ade +The Dark Side +Bricks: +xfxfxfxxfxfxfx +fxfxfx..xfxfxf +xfxfx....xfxfx +fxfx..aa..xfxf +xfx..abba..xfx +fx..abccba..xf +x..abcjjcba..x +..abcj##jcba.. +.abcj#ff#jcba. +.abcj#ff#jcba. +..abcj##jcba.. +x..abcjjcba..x +fx..abccba..xf +xfx..abba..xfx +fxfx..aa..xfxf +xfxfx....xfxfx +fxfxfx..xfxfxf +xfxfxfxxfxfxfx +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +....b.mm.b.... +....w4..4w.... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +All The Things You Say +Bricks: +.....#jcbaxyzj +....#.#jcbaxyz +...#...#jcbaxy +..#.xx..#jcbax +.#..yyy..#jcba +#...zzzz..#jcb +....aaaaa..#jc +....abbbba..#j +....abccba...# +#...abccba.... +j#..abbbba.... +cj#..aaaaa.... +bcj#..zzzz...# +abcj#..yyy..#. +xabcj#..xx.#.. +yxabcj#...#... +zyxabcj#.#.... +jzyxabcj#..... +Bonus: +.............. +.............. +.............. +.........m.... +.............. +.............. +............m. +.............. +......m.m..... +.............. +.............. +.............. +.............. +.......&ll.... +m.......44.... +.............. +.............. +.............. +Level: +Ade +Back To Life +Bricks: +xx..xxx.xx.x.x +x.x.x.x.x..x.x +xx..xxx.x..xx. +x.x.x.x.x..x.x +xx..x.x.xx.x.x +.............. +...xxx..xxx... +....x...x.x... +....x...x.x... +....x...x.x... +....x...xxx... +.............. +..x..x.xx.xx.. +..x..x.x..x... +..x..x.xx.xx.. +..x..x.x..x... +vvxxvxvxvvxxvv +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..b..b.bb.bb.. +..b..b.b..b... +..b..b.bb.bb.. +..b..b.b..b... +wwwwwwwwwwwwww +.............. +Level: + +Electra +Bricks: +ffffffffffffff +############## +.............. +.............. +.............. +.............. +xaxaxaaaaxaxax +axaxab##baxaxa +xaxaxccccxaxax +axaxaccccaxaxa +xaxaxccccxaxax +axaxaccccaxaxa +xaxaxb##bxaxax +axaxaaaaaaxaxa +xaxa#....#axax +axa#......#axa +xa#........#ax +a#..........#a +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +.............. +.............. +.............. +&m4ml....lm4m& +.............. +.............. +.............. +.............. +Level: +Ade +30 +Bricks: +ffffffffffffff +f####fff#####f +f#####ff#####f +ffff##ff#fff#f +ffff##ff#fff#f +ff###fff#fff#f +ff###fff#fff#f +ffff##ff#fff#f +ffff##ff#fff#f +f#####ff#####f +f####fff#####f +ffffffffffffff +xxxxxxxxxxxxxx +ffffffffffffff +xxxxxxxxxxxxxx +ffffffffffffff +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..........l... +......mm..&... +..........4... +...&.....m4m.. +.............. +.............. +.............. +.............. +.............. +.............. +..*...**...*.. +.............. +.............. +Level: +Ade +Songs From The Wood +Bricks: +.############. +.#f##f##f##f#. +.############. +.a....xx....a. +.ab..yxxy..ba. +.abczyxxyzcba. +.abczyxxyzcba. +.abczyxxyzcba. +.abczyxxyzcba. +.abczyxxyzcba. +.ab..yxxy..ba. +.a....xx....a. +.############. +.#f##f##f##f#. +.############. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +...m......m... +.............. +.*..........*. +.............. +...m......m... +.............. +......44...... +.............. +..m..m..m..m.. +.............. +.............. +.............. +.............. +Level: +Ade +Long Distance +Bricks: +.............. +.............. +#xyzj....jzyx# +x#xyzj..jzyx#x +yx#xyzjjzyx#xy +zyx#xyzzyx#xyz +jzyx#xyyx#xyzj +.jzyx#xx#xyzj. +..jzyx##xyzj.. +..jzyx##xyzj.. +.jzyx#xx#xyzj. +jzyx#xyyx#xyzj +zyx#xyzzyx#xyz +yx#xyzjjzyx#xy +x#xyzj..jzyx#x +#xyzj....jzyx# +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......ll...... +......44...... +.............. +...m......m... +......mm...... +.............. +.............. +.&....*.....&. +.............. +.............. +.............. +.............. +Level: +Ade +Prinz +Bricks: +.x....##....x. +..x...ff...x.. +#..x..##..x..# +a#..x....x..#a +xa#..x..x..#ax +bxa#..xx..#axb +ybxa#....#axby +cybxa.##.axbyc +jcybx.ff.xbycj +jcybx.ff.xbycj +cybxa.##.axbyc +ybxa#....#axby +bxa#..xx..#axb +xa#..x..x..#ax +a#..x....x..#a +#..x..##..x..# +..x...ff...x.. +.x....##....x. +Bonus: +.............. +......mm...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...&......&... +..m........m.. +.m..........m. +.............. +.............. +......44...... +.............. +Level: +Ade +Money For Nothing +Bricks: +......##...... +.....#xx#..... +....#xxxx#.... +...#xxxxxx#... +..#xxx!!xxx#.. +.#xxx!zz!xxx#. +.xxx!zffz!xxx. +.xx!zf##fz!xx. +.x!zf#xx#fz!x. +.x!zf#xx#fz!x. +.xx!zf##fz!xx. +.xxx!zffz!xxx. +.#xxx!zz!xxx#. +..#xxx!!xxx#.. +...#xxxxxx#... +....#xxxx#.... +.....#xx#..... +......##...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.*....lb....b. +.*..........b. +.*..........b. +.*..&.mm.&..b. +.*..........b. +.*....44....b. +.............. +......mm...... +.............. +.............. +.............. +.............. +Level: +Ade +Time To Drink Water +Bricks: +ff#xaxaaxax#ff +f#xaxaxxaxax#f +#xaxaxaaxaxax# +xaxaxaxxaxaxax +axaxa#aa#axaxa +xaxa#affa#axax +axaxafaafaxaxa +xa#afaxxafa#ax +axafaxaaxafaxa +#afaxaxxaxafa# +#xafaxaaxafax# +#axafaxxafaxa# +#x#x#faaf#x#x# +xaxax#ff#xaxax +axaxa#aa#axaxa +xaxaxaxxaxaxax +.............. +.............. +Bonus: +.m..........m. +.............. +......&l...... +m...m.44.m...m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbbbb.ww.bbbbb +bwbwbwbbwbwbwb +.............. +.............. +Level: +Ade +Dead Fish +Bricks: +!!!*!!!#xxxxxx +!jjjjjj.#yyyyx +*jccccc..#zzyx +!jcbbbb...jzyx +!jcbaaa...#zyx +*jcba......#yx +!jcba.......#x +!jcba........# +!jcba......... +.........abcj! +#........abcj! +x#.......abcj* +xy#....aaabcj! +xyz#...bbbbcj! +xyzj...cccccj* +xyzz#..jjjjjj! +xyyyy#.!!!*!!! +xxxxxx#....... +Bonus: +........m..... +.........&.... +.............. +..........m... +...........m.. +............m. +.............& +.............. +....*......... +.............. +.........b.... +.........l.... +.........4.... +.........p.... +...m...*...... +.............. +.............. +.............. +Level: +Ade +Chance Master +Bricks: +.............. +.............. +.............. +.............. +xxxxxxxxxxxxxx +#xxxxxxxxxxxx# +#x*x*xffx*x*x# +#fxfxffffxfxf# +#fxfxfxxfxfxf# +#fxfxfxxfxfxf# +#fxfxffffxfxf# +#x*x*xffx*x*x# +#x#x#x##x#x#x# +xxxxxxxxxxxxxx +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +..m.m....m.m.. +.............. +.............. +.............. +.............. +.............. +.............. +......44...... +.p.p.p..p.p.p. +.....w..w..... +.............. +.............. +.............. +.............. +Level: +Ade +One More Beer +Bricks: +xjjjjj...##### +xyzzzzz...#fff +xyzyyyyy...#ff +xyzjxxxxx...#f +xyzjc........# +.yzjcb.####### +..zjcba....... +...jcbaa...... +....cbaab..... +.....baabc.... +......aabcj... +.......abcjz.. +#######.bcjzy. +#........cjzyx +f#...xxxxxjzyx +ff#...yyyyyzyx +fff#...zzzzzyx +#####...jjjjjx +Bonus: +.............. +...........m.. +.....*........ +.*.....m.....m +.............. +...*.......... +.............. +.....*........ +.............. +.............. +.......*..*... +.............. +.............. +.............. +m............. +.............. +..m.....*....* +.............. +Level: +Ade +Cast Away +Bricks: +......ff...... +.....ffff..... +....ffzzff.... +...ffzxxzff... +..ffzxaaxzff.. +.ffzxaxxaxzff. +ffzxaxzzxaxzff +fzxaxzxxzxaxzf +zxaxzxaaxzxaxz +zxaxzxaaxzxaxz +fzxaxzxxzxaazf +ffzxaxzzxaxzff +.ffzxaxxaxzff. +..ffzxaaxzff.. +...ffzxxzff... +....ffzzff.... +.....ffff..... +......ff...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +*............* +......mm...... +......mm...... +*............* +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Cast Away +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/GreenWall3 b/project/jni/application/lbreakout2/client/levels/GreenWall3 new file mode 100644 index 000000000..f34b487f0 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/GreenWall3 @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +Ade +Back To The Hell +Bricks: +xx#xx#xx#xx#xx +xxfxxfxxfxxfxx +xx#xx#xx#xx#xx +..f..f..f..f.. +xx#xx#xx#xx#xx +xxfxxfxxfxxfxx +xx#xx#xx#xx#xx +..f..f..f..f.. +xx#xx#xx#xx#xx +xxfxxfxxfxxfxx +xx#xx#xx#xx#xx +..f..f..f..f.. +xx#xx#xx#xx#xx +xxfxxfxxfxxfxx +xx#xx#xx#xx#xx +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.....&..&..... +.............. +..m..m..m..m.. +.............. +.............. +.............. +..m..m..m..m.. +.............. +.....4..4..... +.............. +.............. +p.....pp.....p +.............. +.............. +.............. +Level: +Ade +Another Day In Paradise +Bricks: +.z..#ffff#..z. +.yz..#ff#..zy. +.xyz..##..zyx. +.#xyz....zyx#. +.x#xyz..zyx#x. +.yx#xyzzyx#xy. +.zyx#xyyx#xyz. +..zyx#xx#xyz.. +...zyx**xyz... +...zyx**xyz... +..zyx#xx#xyz.. +.zyx#xyyx#xyz. +.yx#xyzzyx#xy. +.x#xyz..zyx#x. +.#xyz....zyx#. +.xyz..##..zyx. +.yz..#ff#..zy. +.z..#ffff#..z. +Bonus: +.............. +......mm...... +.............. +.............. +.............. +.............. +.............. +......ll...... +.....m..m..... +.....m..m..... +....&.44.&.... +.............. +.............. +.............. +.............. +.............. +......**...... +.....****..... +Level: +Ade +The Million Show +Bricks: +jjjjjjjj#..... +jzzzzzz#...#.. +jzyyyy#...xf.. +jzyxx#...#f#.. +jzyx#...xf#f.. +jzy#...#f#f#.. +jz#...xf#f#f.. +j#...#f#f#fx.. +#...xf#f#f#... +...#f#f#fx...# +..xf#f#f#...#j +..f#f#fx...#zj +..#f#f#...#yzj +..f#fx...#xyzj +..#f#...#xxyzj +..fx...#yyyyzj +..#...#zzzzzzj +.....#jjjjjjjj +Bonus: +.............. +.............. +.............. +.............. +.............. +..m........... +.m............ +m.......m..... +.............. +......&..4.... +.....m........ +.......l.....m +...&.......... +..*..4........ +.............. +...l.......... +.............. +.............* +Level: +Ade +Made In Heaven +Bricks: +.............. +.............. +#..#!#..#!#..# +f##!x!##!x!##f +f##!x!##!x!##f +#..#!#..#!#..# +.............. +#..x!x..x!x..# +f##!x!##!x!##f +f##!x!##!x!##f +#..x!x..x!x..# +.............. +#..#!#..#!#..# +f##!x!##!x!##f +f##!x!##!x!##f +#..#!#..#!#..# +.............. +.............. +Bonus: +.............. +.............. +.............. +....m....m.... +.............. +.............. +.............. +.............. +.............. +....m....m.... +....l....l.... +.............. +.............. +m..***..***..m +m..*4*..*4*..m +....*....*.... +.............. +.............. +Level: +Ade +Monsters +Bricks: +x............x +#x....xx....x# +a#x..xaax..x#a +xa#xxaxxaxx#ax +axa#axaaxa#axa +#axaxa..axaxa# +x#axa.vv.axa#x +.x#a..##..a#x. +..x..#ff#..x.. +..x..#ff#..x.. +.x#a..##..a#x. +x#axa.vv.axa#x +#axaxa..axaxa# +axa#axaaxa#axa +xa#xxaxxaxx#ax +a#x..xaax..x#a +#x....xx....x# +x............x +Bonus: +.............. +.............. +.............. +......ll...... +......44...... +.............. +......mm...... +.............. +......mm...... +..m...mm...m.. +.............. +.............. +.............. +.............. +.............. +......pp...... +......pp...... +.............. +Level: +Ade +Stars +Bricks: +.y..........y. +y!y...cc...y!y +.y...czzc...y. +....cz!!zc.... +.a...czzc...a. +a!a...cc...a!a +.a..y....y..a. +...yby..yby... +..yb!byyb!by.. +..yb!byyb!by.. +...yby..yby... +.a..y....y..a. +a!a...cc...a!a +.a...czzc...a. +....cz!!zc.... +.y...czzc...y. +y!y...cc...y!y +.y..........y. +Bonus: +.............. +.............. +......&&...... +.............. +.............. +.m..........m. +.............. +.............. +......mm...... +......mm...... +.............. +.............. +.p....44....p. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Another Day +Bricks: +a###az**za###a +ab#baxzzxab#ba +vbcbvxaaxvbcbv +#vcv#zaaz#vcv# +a#v#a*zz*a#v#a +ab#bax**xab#ba +vbcbvxaaxvbcbv +#vcv#zaaz#vcv# +a#v#a*zz*a#v#a +ab#bax**xab#ba +vbcbvxaaxvbcbv +#vcv#zaaz#vcv# +.#v#..zz..#v#. +..#........#.. +.............. +.............. +.............. +.............. +Bonus: +.....m..m..... +.............. +.............. +.............. +......44...... +.....p..p..... +.............. +.............. +......ll...... +m............m +.............. +..m........m.. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Show Me The Money +Bricks: +.zzzz#zz#zzzz. +.z##########z. +.z##########z. +.z#zz#zz#zzzz. +.z#zz#zz#zzzz. +.z#zz#zz#zzzz. +.z#zz#zz#zzzz. +.z#zz#zz#zzzz. +.z##########z. +.z##########z. +.zzzz#zz#zz#z. +.zzzz#zz#zz#z. +.zzzz#zz#zz#z. +.zzzz#zz#zz#z. +.zzzz#zz#zz#z. +.z##########z. +.z##########z. +.zzzz#zz#zzzz. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.*.......m..*. +.............. +.............. +......44...... +.*..........*. +.............. +.............. +....m.mm.mm... +.............. +.............. +.*..........*. +Level: +Ade +Bloody Sunday +Bricks: +j...#ffff#...j +zj...#ff#...jz +yzj...##...jzy +xyzj......jzyx +yxyzj....jzyxy +zyxyz....zyxyz +jzyxy.jj.yxyzj +.jzyx.zz.xyzj. +..jzy.yy.yzj.. +...jz.xx.zj... +#...j.yy.j...# +f#....zz....#f +ff#...jj...#ff +fff#......#fff +ffff#....#ffff +######..###### +.............. +.............. +Bonus: +.............. +......mm...... +.............. +.............. +.............. +.............. +.............. +.............. +......ll...... +......mm...... +......44...... +.............. +.............. +.............. +.m.&......&.m. +.............. +.............. +.............. +Level: +Ade +Twenty +Bricks: +...xyzjjzyx... +...xyzzzzyx... +...xyyyyyyx... +...xxxxxxxx... +.............. +xxxx......xxxx +yyyx......xyyy +zzyx.xxxx.xyzz +jzyx.xffx.xyzj +jzyx.xffx.xyzj +zzyx.xxxx.xyzz +yyyx......xyyy +xxxx......xxxx +.............. +...xxxxxxxx... +...xyyyyyyx... +...xyzzzzyx... +...xyzjjzyx... +Bonus: +......mm...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +4.....mm.....4 +m.....mm.....m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Chocolate +Bricks: +.............. +.............. +.............. +aaaaaaaaaaaaaa +aaa#aaaaaa#aaa +aa#x#aaaa#x#aa +a#x.x#aa#x.x#a +#x...x##x...x# +x.....xx.....x +x.....xx.....x +#x...x##x...x# +a#x.x#aa#x.x#a +aa#x#aaaa#x#aa +aaa#aaaaaa#aaa +aaaaaaaaaaaaaa +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +..m.&.mm.&.m.. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +MicroHard +Bricks: +a.....#....... +za....a#...... +aza...xa#..... +yaza..axa#.... +ayaza.#axa#... +xayaza##axa#.. +axayaza##axa#. +#axayaza##axa# +##axayaza##axa +##axayaza##axa +#axayaza##axa# +axayaza##axa#. +xayaza##axa#.. +ayaza.#axa#... +yaza..axa#.... +aza...xa#..... +za....a#...... +a.....#....... +Bonus: +.............. +.............. +.............. +.............. +.............. +m.......m..... +m........m.... +..........m... +........m..... +........m..... +.............. +.............. +ll44*......... +.............. +..*........... +......*....... +*............. +.............. +Level: +Ade +Enigma +Bricks: +....#f!f!fx... +...xf!f!f#.... +..#f!f!fx....# +.xf!f!f#....xf +#f!f!fx....#f! +f!f!f#....xf!f +!f!fx....#f!f! +f!f#....xf!f!f +!fx....#f!f!f# +f#....xf!f!fx. +x....#f!f!f#.. +....xf!f!fx... +...#f!f!f#.... +..xf!f!fx..... +.#f!f!f#...... +xf!f!fx....... +f!f!f#........ +####x......... +Bonus: +.............. +........m..... +.............. +...4..m....... +.............. +....m......... +...4.......... +..m........... +.............. +m............. +.............. +.........*.... +........*..... +.......*...... +......*....... +.....*........ +....*......... +.............. +Level: +Ade +GT +Bricks: +xxxxxxx....... +xaaaaaa....... +xaxxxxx....... +xax........... +xax..xxxxxxxxx +xax..aaaaaaaaa +xax..xxxxaxxxx +xax.....xax... +xax.xax.xax... +xax.xax.xax... +xax..ax.xax... +xaxxxax.xax... +xaaaaax.xax... +xxxxxxx.xax... +........xax... +........xax... +........xax... +.............. +Bonus: +.............. +..*...*....... +.............. +.............. +*............. +..l......*.... +..l........... +.............. +..*......4.... +*........4.... +.............. +..*........... +.........*.... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +The Final Cut +Bricks: +vvvvvvvv...### +vxxxxxxv...#f# +vxvvvvvv...### +vxv........... +vxv........... +vxv.vvvvvv.... +vxv.v####v.... +vxv.v#xx#v.... +vxv.v#xx#v.vvv +vvv.v####v.vxv +....vvvvvv.vxv +...........vxv +...........vxv +###...vvvvvvxv +#f#...vxxxxxxv +###...vvvvvvvv +.............. +.............. +Bonus: +.............. +.m..........m. +.............. +.............. +.............. +......**...... +.............. +......mm...... +......mm...... +*.*........... +......44...... +.............. +.............. +.............. +.m..........*. +.............. +.............. +.............. +Level: +Ade +Too Old To Rock +Bricks: +.............. +....######.... +...x#!!!!#x... +..y##!##!##y.. +.z#x#!##!#x#z. +j#yx#!!!!#xy#j +jz#x######x#zj +jzy##ffff##yzj +jzyx#f##f#xyzj +jzyx#f##f#xyzj +jzy##ffff##yzj +jz#x######x#zj +j#yx#!!!!#xy#j +.z#x#!##!#x#z. +..y##!##!##y.. +...x#!!!!#x... +....######.... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +m............m +.............. +.............. +.............. +.............. +.....m..m..... +...l......l... +..m........m.. +...4......4... +.............. +.............. +.............. +.............. +Level: +Ade +Too Young To Die +Bricks: +.###.####.###. +.#v#.#ff#.#v#. +.###.####.###. +.............. +.xxx.xxxx.xxx. +.xvx.xffx.xvx. +.xxx.xxxx.xxx. +.............. +.###.####.###. +.#v#.#ff#.#v#. +.###.####.###. +.............. +.xxx.xxxx.xxx. +.xvx.xffx.xvx. +.xxx.xxxx.xxx. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..m...mm...m.. +.............. +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Hole In The Sky +Bricks: +.............. +vvvvvvffvvvvvv +v############v +v#xxxxxxxxxx#v +v#x########x#v +v#x#vvvvvv#x#v +v#x#vvvvvv#x#v +v#x#vvvvvv#x#v +f#x#vv##vv#x#f +f#x#vv##vv#x#f +v#x#vvvvvv#x#v +v#x#vvvvvv#x#v +v#x#vvvvvv#x#v +v#x########x#v +v#xxxxxxxxxx#v +v############v +vvvvvvffvvvvvv +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....4..4..... +m............m +.............. +.............. +....lm&&ml.... +.............. +..m........m.. +.............. +......**...... +.............. +Level: +Ade +Machine Messiah +Bricks: +xxxxxxxxx..... +##.......x.... +.xx.......x... +..##.......x.. +...xx.......x. +....#########. +....a......### +############aa +xxxxxxxxxx#a.. +xxxxxxxxxx#a.. +############aa +....a......### +....#########. +...xx.......x. +..##.......x.. +.xx.......x... +##.......x.... +xxxxxxxxx..... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +....m......... +.............. +.............. +.m.4m..m.4.m.. +.............. +....m......... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +20 +Bricks: +zzzzzzzzzzzzzz +zzz##zzzz###zz +zz####zz#####z +z##zz##z#zzz#z +z#zzzz#z#zzz#z +z#zzzz#z#zzz#z +zzzzzz#z#zzz#z +zzzzz##z#zzz#z +zzzz##zz#zzz#z +zzz##zzz#zzz#z +zz##zzzz#zzz#z +z##zzz#z#zzz#z +z######z#####z +z######zz###zz +zzzzzzzzzzzzzz +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +m............m +.............. +.............. +.............. +.............. +....&.....&... +...l4l.4.m&m.. +.............. +.............. +*....*..*....* +.............. +.............. +.............. +Level: +Ade +You Never Be Alone +Bricks: +..######....## +.#jzyx#....#xy +#jzyx#....#xyz +jzyx#....#xyzj +zyx#....#xyzj. +yx#....#xyzj.. +x#....#####... +#............. +.............. +.............. +#............. +x#....#####... +yx#....#xyzj.. +zyx#....#xyzj. +jzyx#....#xyzj +#jzyx#....#xyz +.#jzyx#....#xy +..######....## +Bonus: +.............. +.............. +....m......... +.............m +.............. +.m............ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...4.......... +.m..m......m.. +..&4........4. +.............. +Level: +Ade +Always On My Mind +Bricks: +#.....##.....# +f#...#zz#...#f +ff###zaaz###ff +f#xxx#zz#xxx#f +#xaaax##xaaax# +xazzzaxxazzzax +#xaaax##xaaax# +f#xxx#zz#xxx#f +ff###zaaz###ff +f#xxx#zz#xxx#f +#xaaax##xaaax# +xazzzaxxazzzax +#xaaax##xaaax# +f#xxx#zz#xxx#f +ff###zaaz###ff +f#vvv#zz#vvv#f +#v...v##v...v# +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +m...4lmml4...m +.............. +.............. +.m..........m. +...m......m... +.............. +.............. +Level: +Ade +Sin +Bricks: +......##...... +.....xxxx..... +....##..##.... +....x....x.... +...xx.aa.xx... +..##.a!!a.##.. +..x.a!zz!a.x.. +.xxa!zaaz!axx. +##a!za!!az!a## +.xxa!zaaz!axx. +..x.a!zz!a.x.. +..##.a!!a.##.. +...xx.aa.xx... +....x....x.... +....##..##.... +.....xxxx..... +......##...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...m......m... +....&....&.... +.....m..m..... +......44...... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Empty Spaces +Bricks: +..v...##...v.. +fvvvf#..#fvvvf +..v..v##v..v.. +..v...vv...v.. +..v...vv...v.. +..v..v##v..v.. +fvvvf#..#fvvvf +..v..v##v..v.. +..v...vv...v.. +..v...vv...v.. +..v..v##v..v.. +fvvvf#..#fvvvf +..v..v##v..v.. +..v...vv...v.. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +......**...... +.............. +*.*.*....*.*.* +.............. +.............. +.............. +.............. +l...4....4...l +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Waiting For You +Bricks: +##..........## +ax#........#xa +.ay#......#ya. +..az#....#za.. +...aj....ja... +....a....a.... +.............. +##.##.##.##.## +xx.xx.xx.xx.xx +xx.xx.xx.xx.xx +##.##.##.##.## +.............. +....a....a.... +...aj....ja... +..az#....#za.. +.ay#......#ya. +ax#........#xa +##..........## +Bonus: +.............. +m............m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +.............. +.............. +mm..........mm +.............. +Level: +Ade +Endless +Bricks: +v###v####v###v +.#x#.#xx#.#x#. +.###.####.###. +.#x#.#xx#.#x#. +.###.####.###. +.#x#.#xx#.#x#. +.###.####.###. +.#x#.#xx#.#x#. +.............. +.............. +.#x#.#xx#.#x#. +.###.####.###. +.#x#.#xx#.#x#. +.###.####.###. +.#x#.#xx#.#x#. +.###.####.###. +.#x#.#xx#.#x#. +.###.####.###. +Bonus: +m...m....m...m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......ll...... +.............. +..m...44...m.. +.............. +Level: +Ade +Deep Purple +Bricks: +...#aaxxaa#... +..#aax..xaa#.. +.#aax....xaa#. +#aax..xx..xaa# +aax..x!!x..xaa +ax..x!!!!x..xa +x..x!!xx!!x..x +a.x!!x##x!!x.a +ax!!x#zz#x!!xa +ax!!x#zz#x!!xa +a.x!!x##x!!x.a +x..x!!xx!!x..x +ax..x!!!!x..xa +aax..x!!x..xaa +#aax..xx..xaa# +.#aax....xaa#. +..#aax..xaa#.. +...#aaxxaa#... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.m..m....m..m. +......mm...... +.............. +.............. +.............. +.............. +...4......4... +.............. +.............. +.....*..*..... +Level: +Ade +Yesterday +Bricks: +.............. +.............. +vvvv.####.vvvv +v##v.#vv#.v##v +vvvv.####.vvvv +.............. +vvvv.####.vvvv +v##v.#vv#.v##v +......**...... +......**...... +v##v.#vv#.v##v +vvvv.####.vvvv +.............. +vvvv.####.vvvv +v##v.#vv#.v##v +vvvv.####.vvvv +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +****......**** +......mm...... +.............. +.............. +......mm...... +.............. +.............. +.............. +......44...... +****......**** +.............. +.............. +Level: +Ade +Today +Bricks: +.............. +.vvvvvxxvvvvv. +#............# +.vvvvvxxvvvvv. +.v#........#v. +.v.vvvxxvvv.v. +.v.v#....#v.v. +.v.v.vvvv.v.v. +.x.x.vxxv.x.x. +.x.x.vxxv.x.x. +.v.v.vvvv.v.v. +.v.v#....#v.v. +.v.vvvxxvvv.v. +.v#........#v. +.vvvvvxxvvvvv. +#............# +.vvvvvxxvvvvv. +.............. +Bonus: +.............. +.............. +.............. +.*..........*. +.............. +......**...... +.............. +.............. +.............. +.*.*..**..*.*. +.............. +.............. +......ll...... +.............. +.*....44....*. +.............. +......**...... +.............. +Level: +Ade +Tomorrow +Bricks: +.............. +.............. +xxxx.xxxx.xxxx +xvvx.xvvx.xvvx +xvvx.xvvx.xvvx +xxxx.xxxx.xxxx +.............. +xxxx.xxxx.xxxx +xvvx.xvvx.xvvx +xvvx.xvvx.xvvx +xxxx.xxxx.xxxx +.............. +xxxx.xxxx.xxxx +xvvx.xvvx.xvvx +xvvx.xvvx.xvvx +xxxx.xxxx.xxxx +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.**...**...**. +.**...**...**. +.............. +.............. +...p.4..4.p... +.............. +.............. +p..p.p..p.p..p +.............. +.............. +Level: +Ade +Back To Back +Bricks: +xxv.xxx.xx.xvx +xvx.xvx.xv.xvx +xxv.xxx.xv.xxv +xvx.xvx.xv.xvx +xxv.xvx.xx.xvx +.............. +...xxx.xxx.... +...vxv.xvx.... +...vxv.xvx.... +...vxv.xxx.... +.............. +xx..xxx.xx.x.x +x.x.x.x.x..x.x +xx..xxx.x..xx. +x.x.x.x.x..x.x +xxvvxvxvxxvxvx +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +bb..b.b..b.b.b +.............. +...b.b........ +.............. +.............. +.............. +.............. +.b....b.bb.... +..b...b.b..... +....bbb.b..... +..b.b.b.b..b.b +wbwbwww.www.ww +.............. +.............. +Level: +Ade +Terminator +Bricks: +xx..........xx +.xx........xx. +..xx......xx.. +x..xx*##*xx..x +xx..xx##xx..xx +.xx..xxxx..xx. +..xx..xx..xx.. +x..xx*##*xx..x +xx..xx##xx..xx +.xx..xxxx..xx. +..xx..xx..xx.. +x..xx*##*xx... +xx..xx##xx..xx +.xx..xxxx..xx. +..xx..xx..xx.. +...xx*##*xx... +....xx##xx.... +.....xxxx..... +Bonus: +bb..........bb +.bb........bb. +..b*......*b.. +w..**....**..w +.w..**..**..w. +.....*..*..... +......**...... +....*....*.... +....*....*.... +.............. +......**...... +.............. +....*....*.... +.............. +......44...... +.............. +.............. +.....pppp..... +Level: +Ade +Killing Time +Bricks: +!############# +f!....czf!fz.. +zf!....czf!fz. +fzf!....czf!fz +!fzf!....czf!f +f!fzf!....czf! +zf!fzf!....czf +czf!fzf!....cz +.czf!fzf!....c +.czf!fzf!....c +czf!fzf!....cz +zf!fzf!....czf +f!fzf!....czf! +!fzf!....czf!f +fzf!....czf!fz +zf!....czf!fz. +f!....czf!fz.. +!############# +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.......4...... +.............. +m.m.m....m.m.m +....4......... +.............. +.............. +.............. +Level: +Ade +Dib Lib +Bricks: +#####zaaz##### +#cbazabbazabc# +#bazabccbazab# +#azabcjjcbaza# +#zabcjffjcbaz# +zabcjffffjcbaz +abcjffffffjcba +abcjffffffjcba +zabcjffffjcbaz +#zabcjffjcbaz# +#azabcffcbaza# +#bazabffbazab# +#cbazaffazabc# +######ff###### +......ff...... +......ff...... +......ff...... +......ff...... +Bonus: +......mm...... +.............. +.............. +.............. +.............. +.............. +.............. +.....lppl..... +.m..........m. +.............. +.............. +.............. +...m......m... +.............. +......pp...... +......pp...... +......pp...... +.............. +Level: +Ade +Gol +Bricks: +############## +#xxxxxxxxxxxx# +#xaaaaaaaaaax# +#xazzzzzzzzax# +#xazaaaaaazax# +#xazaxxxxazax# +#xazax..xazax# +#xazax..xazax# +#xazax..xazax# +#xaza....azax# +#xaz......zax# +#xa..x..x..ax# +#x..ax..xa..x# +#..zax..xaz..# +..azax..xaza.. +.xazax..xazax. +.############. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +..m..m..m..m.. +.............. +.............. +.....4..4..... +.............. +.............. +.............. +.............. +.............. +.............. +....mm..mm.... +.............. +.............. +Level: +Ade +Dead Fish +Bricks: +......zz...... +....#zaaz#.... +...#zazzaz#... +..#zazaazaz#.. +.#zazazzazaz#. +.zazazaazazaz. +zazazazzazazaz +.............. +.............. +.............. +.............. +zazazazzazazaz +.zazazaazazaz. +.#zazazzazaz#. +..#zazaazaz#.. +...#zazzaz#... +....#zaaz#.... +......zz...... +Bonus: +.............. +.............. +.............. +.............. +...m.m..m.m... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...m.m..m.m... +......44...... +.............. +.............. +.............. +Level: +Ade +Freedom +Bricks: +xxxaaaaaazazaz +xaaaaaaaaazaza +xaaxxxaaaaazaz +xxaxaxaaaaaaza +xaaxaxaxxxaaaz +xaaxxaaxaaaaaa +xaaxxaaxaaaxxx +aaaxaxaxxaaxaa +zaaxaxaxaaaxaa +azaaaaaxaaaxxa +zazaaaaxxxaxaa +azazaaaaaaaxaa +zazazaaaaaaxxx +azazazaaaaaaaa +z#z#z#zz#z#z#z +.............. +.............. +.............. +Bonus: +.............. +.............. +.***......***. +.............. +....*...*..... +.............. +.............. +..*...*...*... +.............. +.............. +.*...*.*...*.. +.............. +.............. +.............. +..p...pp...p.. +.............. +.............. +.............. +Level: +Ade +Day By Day +Bricks: +......zz...... +.....z!!z..... +....z!zz!z.... +...z!z..z!z... +..z!z....z!z.. +.z!z..zz..z!z. +z!z..z!!z..z!z +!z..z!zz!z..z! +z..z!z..z!z..z +..z!z.##.z!z.. +.z!z.#xx#.z!z. +z!z.#x!!x#.z!z +.z!z.#xx#.z!z. +..z!z.##.z!z.. +...z!z..z!z... +....z!zz!z.... +.....z!!z..... +......zz...... +Bonus: +.............. +......mm...... +.............. +....m....m.... +.............. +..m........m.. +.............. +.............. +.............. +.............. +.............. +......mm...... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +The End +Bricks: +.#.v..##..v.#. +.#.v..##..v.#. +#x#v##xx##v#x# +#x#v##xx##v#x# +.#.v..##..v.#. +v#vvvv##vvvv#v +.............. +.............. +.#....##....#. +.#....##....#. +#x#.##xx##.#x# +#x#.##xx##.#x# +.#....##....#. +.#....##....#. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +...m......m... +.............. +.............. +.............. +.............. +.............. +.............. +.m....mm....m. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +The End +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/GreenWall4 b/project/jni/application/lbreakout2/client/levels/GreenWall4 new file mode 100644 index 000000000..026e6f58f --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/GreenWall4 @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +Ade +Welcome Back To GW4 +Bricks: +#####..##...## +#####..##...## +##.....##...## +##.....##...## +##.##..##...## +##.##..##.#.## +##..#..##.#.## +#####..####### +#####..###.### +.......v...... +.......#...... +......##...... +.....#.#...... +....#..#...... +ff..######..ff +.......#...... +.......#...... +.......#...... +Bonus: +mmmmm..mm...mm +mmmmm..mm...mm +mm.....mm...mm +mm.....mm...mm +mm.mm..mm...mm +mm.mm..mm.m.mm +mm..m..mm.m.mm +mmmmm..mmmmmmm +mmmmm..mmm.mmm +.......m...... +.......m...... +......mm...... +.....m.m...... +....m..m...... +m...mmmmmm.... +.......m...... +.......m...... +.......m...... +Level: +Ade +New Bricks +Bricks: +@@@...xx...@@@ +ExE...xx...ExE +@@@.######.@@@ +....#xEEx#.... +@@@.######.@@@ +ExE...ff...ExE +@@@.######.@@@ +....#xEEx#.... +@@@.######.@@@ +ExE...xx...ExE +@@@...xx...@@@ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +......mm...... +.m....mm....m. +.............. +.............. +.............. +.m....mm....m. +.............. +.............. +.............. +.m....44....m. +......ll...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +More Fun +Bricks: +.............. +.............. +...@#@##@#@... +...#......#... +...@.EEEE.@... +...#.@xx@.#... +...@.#ff#.@... +.*.#.@xx@.#.*. +.*.@.#ff#.@.*. +.@.#.@xx@.#.@. +.#.@.#ff#.@.#. +.@.*.@xx@.*.@. +.#.*.#ff#.*.#. +.@...@xx@...@. +.#EEE#ff#EEE#. +.@#@#@xx@#@#@. +.....EEEE..... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +......mm...... +.............. +.l....mm....l. +.............. +.............. +.............. +.............. +...m......m... +......mm...... +.............. +......mm...... +.............. +.............. +Level: +Ade +OK +Bricks: +xx@xx@xx@xx@xx +@@@@@@@@@@@@@@ +xxxxxx@@xx@@@x +xxxxxx@@xx@@xx +xx@@xx@@xx@xx@ +xx@@xx@@xxxx@@ +xx@@xx@@xxx@@@ +xx@@xx@@xx@@@@ +xx@@xx@@xxx@@@ +xx@@xx@@xxxx@@ +xx@@xx@@xx@xx@ +xxxxxx@@xx@@xx +xxxxxx@@xx@@@x +@@@@@@@@@@@@@@ +xx@EE@xx@EE@xx +ff#ff#ff#ff#ff +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +mmmmmm..mm...m +.............. +......mm...... +......44...... +.............. +.............. +Level: +Ade +Some Ants +Bricks: +@@f@@f@@f@@f@@ +.............. +.............. +..E..E..E..E.. +..E..E..E..E.. +.............. +.xxx.xxxx.xxx. +fx#xfx##xfx#xf +.xxx.xxxx.xxx. +.............. +..E..E..E..E.. +..E..E..E..E.. +.............. +.............. +@@f@@f@@f@@f@@ +.............. +.............. +.............. +Bonus: +..m..m..m..m.. +.............. +.............. +.............. +.............. +.............. +.............. +4.m.l.mm.l.m.4 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Jonestown +Bricks: +.............. +......@@...... +......@@...... +...@@@@@@@@... +...@@@@@@@@... +......@@...... +......@@...... +..@...@@...@.. +.@f@..@@..@f@. +@fff@.@@.@fff@ +.@f@..@@..@f@. +.@f@..@@..@f@. +.@f@..@@..@f@. +.@f@..@@..@f@. +.@f@..@@..@f@. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..m........m.. +..4........4.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Snood +Bricks: +xxx...##...xxx +xx#..#zz#..#xx +x##.#zzzz#.##x +...#zzzzzz#... +..#zEEzzEEz#.. +..#zzzzzzzz#.. +..#zzzEEzzz#.. +..#zzzEEzzz#.. +..#zzz##zzz#.. +...#zEEEEz#... +...#zzEEzz#... +....#zzzz#.... +x@#.#zzzz#.#@x +xx#..#zz#..#xx +xxx...##...xxx +.@#........#@. +.............. +.............. +Bonus: +.............. +m.....mm.....m +......mm...... +......mm...... +......mm...... +......mm...... +.............. +.............. +.............. +.............. +.............. +.....mmmm..... +.....4..4..... +m.....ll.....m +.............. +.............. +.............. +.............. +Level: +Ade +Drops +Bricks: +......ff...... +......@@...... +.....@@@@..... +.EEE@@@@@@EEE. +.E##########E. +.E#xxxxxxxx#E. +.E#xyyyyyyx#E. +.@#xyzzzzyx#@. +f@#xyzjjzyx#@f +f@#xyzjjzyx#@f +.@#xyzzzzyx#@. +.E#xyyyyyyx#E. +.E#xxxxxxxx#E. +.E##########E. +.EEE@@@@@@EEE. +.....@@@@..... +......@@...... +......ff...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +m............m +.............. +.............. +...m.m.m.m.... +......ll...... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Birds +Bricks: +.............. +.............. +........E..... +........@E.... +###......@E... +xx@##.....@E.. +ffxx@##...@@E. +zzffxx@#..@E@E +EEzzffxx#*@EE@ +EEEEzzffxx@EEE +EEzzffxx#*@EE@ +zzffxx@#..@E@E +ffxx@###..@@E. +xx@###....@E.. +####.....@E... +........@E.... +........E..... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +mm............ +.............. +.........m.... +......m....... +....m......... +..m........... +m............. +.............. +.............. +.............. +.............. +Level: +Ade +617 +Bricks: +xxxxxxxxxxxxxx +vvvvvvvvvvvvvv +vEEvvvEEvEEEE. +vEEvvvEEvEEEE. +vEEvvvEEvEEEE. +vEEvvvEEvvvEE. +vEEvvvEEvvvEE. +vEEvvvEEvvvEE. +vEEEEvEEvvEEEE +vEEEEvEEvvEEEE +vE..EvEEvvvEEv +vE..EvEEvvvEEv +vEEEEvEEvvvEEv +vEEEEvEEvvvEEv +vvvvvvvvvvvvvv +xxxxxxxxxxxxxx +.............. +.............. +Bonus: +mmmmmmmmmmmmmm +.............. +.............. +.............. +.............. +.............. +..........4... +...l4.....l... +.............. +.............. +.............. +.............. +.............. +.............. +************** +.............. +.............. +.............. +Level: +Ade +Daisy +Bricks: +.............. +.............. +......jj...... +.....jhhj..... +....jhhhhj.... +...jhhzzhhj... +..jhhyyyyhhj.. +..jhxxxxxxhj.. +..jhEEEEEEhj.. +..jhEEEEEEhj.. +.............. +xxxx......xxxx +f##f@@@@@@f##f +f##f@@@@@@f##f +xxxx......xxxx +.............. +.............. +.............. +Bonus: +.............. +.............. +......mm...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...4......4... +.mm........mm. +.mm........mm. +.............. +.............. +.............. +.............. +Level: +Ade +Never +Bricks: +.............. +@.f.@.ff.@.f.@ +@.f.@.ff.@.f.@ +.............. +..##########.. +..#xxxxxxxx#.. +..#xyyyyyyx#.. +..#xyzzzzyx#.. +..#xyzjjzyx#.. +..#xyzjjzyx#.. +..#xyzzzzyx#.. +..#xyyyyyyx#.. +..#xxxxxxxx#.. +..##########.. +.............. +@.f.@.ff.@.f.@ +@.f.@.ff.@.f.@ +.............. +Bonus: +.............. +......mm...... +......mm...... +.............. +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +.............. +...4m....m4... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Always +Bricks: +@...EEEEE.#xx# +.@...@@@@.x@@x +..@...@@@.x..x +a..@...@@.#..# +ba..@...@.#..# +cba..@....#..# +jcba..@...f@@f +.jcba..@..f@@f +..jcba..@.#..# +..jcba..@.#..# +.jcba..@..f@@f +jcba..@...f@@f +cba..@....#..# +ba..@...@.#..# +a..@...@@.#..# +..@...@@@.x..x +.@...@@@@.x@@x +@...EEEEE.#xx# +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +..........m..m +..........m..m +.............. +.............. +..........m..m +..........m..m +.4............ +4l............ +l............. +.............. +.............. +.............. +Level: +Ade +Trash +Bricks: +......EE...... +.....E..E..... +....E.vv.E.... +...E.vvvv.E... +..E.vv@@vv.E.. +#E.vv@vv@vv.E# +.Evv@vvvv@vvE. +.vv@vvvvvv@vv. +.vv@vvxxvv@vv. +.vv@vvxxvv@vv. +.vv@vvvvvv@vv. +.Evv@vvvv@vvE. +.E.vv@vv@vv.E. +..E.vv@@vv.E.. +...E.vvvv.E... +....E.vv.E.... +.....E..E..... +......EE...... +Bonus: +.............. +.............. +.............. +......mm...... +.............. +......mm...... +..*...mm...*.. +..*...mm...*.. +.**...mm...**. +..*...mm...*.. +..*...mm...*.. +..*...mm...*.. +......mm...... +.............. +......mm...... +......44...... +.............. +.............. +Level: +Ade +Dummies +Bricks: +EEE@@@@@@@@EEE +E............E +E.....xj.....E +E....xyzj....E +E...xyzyzj...E +E..xyzjxyzj..E +@.xyzj..xyzj.@ +@xyzj....xyzj@ +@xyzj....xyzj@ +@.xyzj..xyzj.@ +E..xyzjxyzj..@ +E...xyzyzj...E +E@@..xyzj..@@E +E..@..xj..@..E +E...@....@...E +EEEEE@..@EEEEE +.....@..@..... +EEEEE@..@EEEEE +Bonus: +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.....m..m..... +....m....m.... +....m....m.... +.............. +.............. +.............. +.....l..l..... +......44...... +.............. +.............. +.............. +.............. +Level: +Ade +Pigeon +Bricks: +.............. +.............. +..xxx....xxx.. +x#@@@EEEE@@@#x +xc!!cccccc!!cx +xc!!cccccc!!cx +xccc!!cc!!cccx +@ccc!!cc!!ccc@ +@ccccc!!ccccc@ +@ccccc!!ccccc@ +@ccc!!cc!!ccc@ +xccc!!cc!!cccx +xc!!cccccc!!cx +xc!!cccccc!!cx +x#@@@EEEE@@@#x +..xxx....xxx.. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.*....mm....*. +.*....mm....*. +.*....mm....*. +.*....mm....*. +.*....mm....*. +.*....mm....*. +.*....mm....*. +.*....mm....*. +.*....mm....*. +.*...4mm4...*. +.............. +.............. +.............. +.............. +Level: +Ade +Crack +Bricks: +@@zzzzzzzzzzzz +@zzzzzzzz*zzzz +@z@@@zzz*z*zzz +@z@z@zzzz*zz*z +@@@@@@@@zzz*z* +zz@@z@z@zzzz*z +zz@z@@@@@@zzzz +z*zzz@z@@zzzzz +*z*zz@z@@z@z@z +z*zzzzzz@z@z@* +zzzzzzzz@@@@zz +zz*zzz*zzz@z@* +z*z*z*z*zz@z@z +zz*zzz*zzzzzzz +zzzzzzzzzzzzzz +.............. +.............. +.............. +Bonus: +.............. +.............. +.........m.... +...m.......... +............m. +....m.m....... +.............. +.............. +.*............ +.............. +.............* +.............* +..*...*....... +.....4..4..... +.....l..l..... +.............. +.............. +.............. +Level: +Ade +Ugly +Bricks: +......xx...... +.....x!!x..... +....xfxxfx.... +...x!x!!x!x... +..x@xfxxfx@x.. +.x!*!x!!x!*!x. +x#x@xfxxfx@x#x +!x!*!x!!x!*!x! +x#x@xExxEx@x#x +x#x@xExxEx@x#x +!x!*!x!!x!*!x! +x#x@xfxxfx@x#x +.x!*!x!!x!*!x. +..x@xfxxfx@x.. +...x!x!!x!x... +....xfxxfx.... +.....x!!x..... +......xx...... +Bonus: +......**...... +......**...... +....*....*.... +.............. +..*........*.. +.............. +*............* +.............. +......**...... +......**...... +.............. +*............* +.............. +..*........*.. +.............. +....*.44.*.... +.............. +.............. +Level: +Ade +Nice +Bricks: +.............. +.............. +.@@@......@@@. +.@v@.xxxx.@v@. +.@@@.xffx.@@@. +.....xxxx..... +.............. +.###.EEEE.###. +.#f#.E..E.#f#. +.#f#.E..E.#f#. +.###.EEEE.###. +.............. +.....xxxx..... +.@@@.xffx.@@@. +.@v@.xxxx.@v@. +.@@@......@@@. +.............. +.............. +Bonus: +.............. +.............. +.............. +......mm...... +.............. +......mm...... +.............. +.............. +..m........m.. +..m........m.. +.............. +.............. +......l4...... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +We Will Rock You +Bricks: +..#xyzjjzyx#.. +..#xyzzzzyx#.. +..#xyyyyyyx#.. +..#xxxxxxxx#.. +..##########.. +.............. +.............. +.............. +.............. +..@..@@@@..@.. +..@..@ff@..@.. +..@..@ff@..@.. +..@........@.. +..@...ff...@.. +..@...ff...@.. +..@@@@@@@@@@.. +.............. +.............. +Bonus: +.............. +.............. +.............. +...mmmmmmmm... +.............. +.............. +.............. +.............. +.............. +.............. +......ll...... +......mm...... +.............. +......mm...... +.............. +......44...... +.............. +.............. +Level: +Ade +After Six Beers +Bricks: +......@@...... +.....@@@@..... +....@eeee@.... +...@eeeeee@... +@@@e##ee##e@@@ +@eee##ee##eee@ +EeeeeeeeeeeeeE +EeeeeeddeeeeeE +EeeeeeddeeeeeE +EeeeeeddeeeeeE +.eeeeeeeeeeee. +..eeEEEEEEee.. +..eeeEEEEeee.. +...eeeEEeee... +...eeeeeeee... +.....eeee..... +......ee...... +.............. +Bonus: +.............. +.............. +.............. +.....m..m..... +.............. +.............. +.............. +.............. +.............. +.....*..*..... +....**44**.... +.............. +....*....*.... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Cognitive Distortion +Bricks: +####.#........ +#..#.#........ +#..#.#......@a +#..#.#......aE +#ff#.#....@aEa +#..#.#....aEa. +#..#.#....Ea@. +#..#.#....@... +####.......... +..........#### +.....@..#.#..# +...@aE..#.#..# +...aEa..#.#..# +.@aEa@..#.#ff# +.aEa....#.#..# +aEa@....#.#..# +Ea......#.#..# +a@......#.#### +Bonus: +.............. +.............. +.............m +.............. +.mm........... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...4.......... +..4........mm. +.............. +m............. +.............. +.............. +Level: +Ade +Ace +Bricks: +###..xxxx..### +#x#..@ff@..#x# +###..xxxx..### +f*ffffffffff*f +@@@..xxxx..@@@ +@x@..@xx@..@x@ +@@@..xxxx..@@@ +f*ffffffffff*f +xxx..xxxx..xxx +x#x..@xx@..x#x +xxx..xxxx..xxx +f*ffffffffff*f +EEE..xxxx..EEE +E#E..@ff@..E#E +EEE..xxxx..EEE +.............. +.............. +.............. +Bonus: +.............. +.m....mm....m. +.............. +.............. +.............. +.m....**....m. +.............. +.............. +.*..........*. +......**...... +.*..........*. +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +Level: +Ade +Changes +Bricks: +@.xxxxxxxxxx.@ +@.x.@....@.x.@ +@.x.@.##.@.x.@ +@.x.@.ff.@.x.@ +@.x.@*ff*@.x.@ +@.x.@*ff*@.x.@ +@.x...ff...x.@ +@.x.@.##.@.x.@ +@.x.@....@.x.@ +@.x........x.@ +@.x.@....@.x.@ +@.x.@....@.x.@ +@*x*@....@*x*@ +@...@....@...@ +@@@@@....@@@@@ +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +......44...... +......ll...... +.............. +.............. +.............. +.............. +..m........m.. +..m........m.. +.mm........mm. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Stargate +Bricks: +......@@...... +.....@!!@..... +....@.!!.@.... +......@@...... +.....@..@..... +...f@x..x@f... +...@.x@@x.@... +...f.@xx@.f... +..ff@.xx.@ff.. +..f@x.@@.x@f.. +..@.x@..@x.@.. +..f.@....@.f.. +.ff@......@ff. +.f@........@f. +.@..........@. +.............. +.............. +.............. +Bonus: +.............. +......mm...... +......mm...... +.............. +.............. +.............. +.............. +...b..mm..b... +..wb..mm..bw.. +..w.b....b.w.. +....4....4.... +.............. +.wb........bw. +.w..........w. +.............. +.............. +.............. +.............. +Level: +Ade +Brain Damage +Bricks: +.............. +.............. +.............. +@@@@@@@@@@@@@@ +@.jjjjjjjjjj.@ +@.!zzzzzzzz!.@ +..j!yyyyyy!j.. +..jz!xxxx!zj.. +..jzy!!!!yzj.. +..jzyx!!xyzj.. +..jzy!!!!yzj.. +..jz!xxxx!zj.. +..j!yyyyyy!j.. +.@!zzzzzzzz!@. +.@jjjjjjjjjj@. +.@@@@@@@@@@@@. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.bb........bb. +.bb........bb. +..w........w.. +..w........w.. +..w..****..w.. +..b...bb...b.. +..w..****..w.. +..w........w.. +.bw........wb. +..b........b.. +..b..4ll4..b.. +.............. +.............. +.............. +Level: +Ade +Innocent Victim +Bricks: +@@@abcjjcba@@@ +@@@abc..cba@@@ +@@@ab....ba@@@ +@@@a..jj..a@@@ +@@...zjjz...@@ +@...yzjjzy...@ +#..xyzjjzyx..# +#@.xyzjjzyx.@# +#@.xyzjjzyx.@# +##.xyzjjzyx.## +##@.yzjjzy.@## +##@..zjjz..@## +###a..jj..a### +###ab....ba### +###abc..cba### +###abcjjcba### +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +......**...... +......**...... +......**...... +.............. +.............. +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +FreeCell +Bricks: +#a@yE@cx@#Eba@ +#a@yE@cx@#Eba@ +#a@yE@cx@#Eba@ +#a@.E.c.@.Eba@ +#a@.E.c...E.a. +.a@........... +.a............ +.......x.....@ +#...E..x.#..a@ +#.@.E..x@#E.a@ +#a@.E.cx@#E.a@ +#a@.E.cx@#Eba@ +#a@yE@cx@#Eba@ +#a@yE@cx@#Eba@ +#a@yE@cx@#Eba@ +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +...........*.. +......*.....*. +.*............ +.*............ +.............. +.............. +.............. +.*....**....*. +.4....ll...4.. +.............. +.b.b..bb...bb. +.w.w..ww...ww. +.............. +.............. +.............. +Level: +Ade +Cube +Bricks: +.............. +.............. +.............. +...xxbb@@cc... +...xxbb@@cc... +...cc##aa**... +...cc##aa**... +...@@bbyyzz... +...@@bbyyzz... +...aa**jjbb... +...aa**jjbb... +...xxbb@@EE... +...xxbb@@EE... +...ccyybbzz... +...ccyybbzz... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.........**... +.........**... +.............. +.............. +.....**....... +.....**....... +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +Level: +Ade +Colorfull +Bricks: +.....aaaa..... +....iiiiii.... +...dggggggd... +..dEzzyyzzEd.. +.dEzaa!!aazEd. +dEz!ffffff!zEd +dzafhhhhhhfazd +x!fh******hf!x +afh*eeeeee*hfa +fh*ExExxExE*hf +h*ex@.@@.@xe*h +*Ex........xE* +ex@........@xe +x............x +@............@ +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.....mmmm..... +....mm..mm.... +.............. +...m......m... +.............. +.............. +......44...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Crazy +Bricks: +@@@@@....@@@@@ +@aaaa.EE.aaaa@ +@abbb.EE.bbba@ +@abcc....ccba@ +@abcxxxxxxcba@ +@abcxyyyyxcba@ +@abcxyzzyxcba@ +@abcxyzzyxcba@ +@abcxyzzyxcba@ +@abcxyzzyxcba@ +@abcxyyyyxcba@ +@abcxxxxxxcba@ +@abcc....ccba@ +@abbb.EE.bbba@ +@aaaa.EE.aaaa@ +@@@@@....@@@@@ +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.***......***. +.............. +.............. +.bbb..**..bbb. +......**...... +......ll...... +.............. +.***......***. +....4....4.... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Poison +Bricks: +.............. +.............. +.............. +..@@@@@@@@@@.. +..aaaaaaaaaa.. +..bbbbbbbbbb.. +..cccccccccc.. +..@@@@@@@@@@.. +..cccccccccc.. +..bbbbbbbbbb.. +..aaaaaaaaaa.. +..@@@@@@@@@@.. +.............. +.............. +.............. +.EEEEEEEEEEEEE +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +..bwbbbbbbwb.. +..bwmwbbwbwb.. +..bwbbbbbbwb.. +.............. +..bwbbbbbbwb.. +..bwmwbbwbwb.. +..bwbbbbbbwb.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +LazyClub +Bricks: +.............. +.............. +xxxxxxxxxxxxxx +aaaaaaaaaaaaaa +xxxxxxxxxxxxxx +@@@@@@@@@@@@@@ +xxxxxxxxxxxxxx +aaaaaaaaaaaaaa +xxxxxxxxxxxxxx +@@@@@@@@@@@@@@ +xxxxxxxxxxxxxx +aaaaaaaaaaaaaa +xxxxxxxxxxxxxx +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +mmmmmmmmmmmmmm +!!!!!!!!!!!!!! +************** +!!!!!!!!!!!!!! +mmmmmmmmmmmmmm +!!!!!!!!!!!!!! +bbbbbbbbbbbbbb +.............. +.............. +.............. +.............. +.............. +Level: +Ade +On The Frontier +Bricks: +.............. +x############x +b@bbbbbbbbbb@b +bb@bbbbbbbb@bb +bbb@bbbbbb@bbb +bbbb@bbbb@bbbb +baabbbaabbbaab +baabbbaabbbaab +bbbbbbbbbbbbbb +bbbb@bbbb@bbbb +bbb@bbbbbb@bbb +bb@bbbbbbbb@bb +b@bbbbbbbbbb@b +x############x +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +..b........... +.**........... +.**...mm...**. +.**...mm...**. +.**........... +..b........... +.............. +.............. +.....4ll4..... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +TNT +Bricks: +.@@@@@..@@@@@. +.@xxx@..@xxx@. +.@x*x@..@x*x@. +.@x*x@..@x*x@. +.@xxx@..@xxx@. +.aaaaxxxxaaaa. +.accax**xacca. +.accax**xacca. +.aaaaxxxxaaaa. +.@xxx@..@xxx@. +.@x*x@..@x*x@. +.@x*x@..@x*x@. +.@xxx@..@xxx@. +.@@@@@..@@@@@. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +..***....***.. +..***....***.. +.............. +.....wwww..... +.....bbbb..... +.....bbbb..... +.....wwww..... +.............. +...*......*... +...*......*... +...4......4... +.............. +.............. +.............. +.............. +.............. +Level: +Ade +Going To Bagdah +Bricks: +...EEEEEEEE... +....#....#.... +aaaa#.aa.#aaaa +.aaa@.aa.@aaa. +..aaaaaaaaaa.. +E..aaaaaaaa..E +E#@aaaaaaaa@#E +E..aaaaaaaa..E +E.ccaaccaacc.E +E.ccaaccaacc.E +E..aaaaaaaa..E +E#@aaaaaaaa@#E +E..aaaaaaaa..E +..aaaaaaaaaa.. +.aaa@.aa.@aaa. +aaaa#.aa.#aaaa +....#....#.... +...EEEEEEEE... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..mm..mm..mm.. +..mm..mm..mm.. +.............. +.............. +.............. +.............. +.............. +......44...... +.............. +.............. +Level: +Ade +Dead Fish +Bricks: +......xx...... +.....xccx..... +....xcxxcx.... +...xcx..xcx... +..xcx....xcx.. +.xcx......xcx. +xcx..@..@..xcx +cx..@cccc@..xc +x..@cccccc@..x +cx..@cccc@..xc +xcx..@..@..xcx +.xcx......xcx. +..xcx....xcx.. +...xcx..xcx... +....xcxxcx.... +.....xccx..... +......xx...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....bbbb..... +....bbmmbb.... +.............. +.............. +.............. +.............. +.............. +......ll...... +......44...... +.............. +.............. +Level: +Ade +38 +Bricks: +ffffffffffffff +f@@@@@ff@@@@@f +f@@@@@ff@@@@@f +f@@@@@ff@@f@@f +ffff@@ff@@f@@f +ffff@@ff@@f@@f +ff@@@@ff@@@@@f +ff@@@@ff@@@@@f +ff@@@@ff@@f@@f +ffff@@ff@@f@@f +ffff@@ff@@f@@f +f@@@@@ff@@@@@f +f@@@@@ff@@@@@f +f@@@@@ff@@@@@f +ffffffffffffff +.............. +.............. +.............. +Bonus: +.............. +.............. +......mm...... +......mm...... +.............. +.............. +.............. +.............. +......ll...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ade +www.death.com +Bricks: +.@@@@@..@@@@@. +.@.f.@..@.f.@. +.@.f.@..@.f.@. +.@.f.@..@.f.@. +.@.f.@..@.f.@. +...f......f... +...f......f... +.ffffffffffff. +.ffffffffffff. +.ffffffffffff. +...f......f... +...f......f... +.@.f.@..@.f.@. +.@.f.@..@.f.@. +.@.f.@..@.f.@. +.@.f.@..@.f.@. +.@@@@@..@@@@@. +.............. +Bonus: +.............. +.............. +.............. +...b......b... +.............. +.............. +.............. +...w......w... +.bb4bbbbbb4bb. +.............. +.............. +.............. +.............. +...b......b... +.............. +.............. +.............. +.............. +Level: +Ade +www.death.com +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Hans b/project/jni/application/lbreakout2/client/levels/Hans new file mode 100644 index 000000000..d61378679 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Hans @@ -0,0 +1,821 @@ +Version: 1.00 +Level: +Hans +easy +Bricks: +*!*!*!*!*!*!*! +cbbbbbbbbbbbbc +!*!*!*!*!*!*!* +cbaaaaaaaaaabc +*!*!*!*!*!*!*! +cbaaaaaaaaaabc +!*!*!*!*!*!*!* +cbaaaaaaaaaabc +*!*!*!*!*!*!*! +cbaaaaaaaaaabc +!*!*!*!*!*!*!* +cbaaaaaaaaaabc +*!*!*!*!*!*!*! +cbbbbbbbbbbbbc +!*!*!*!*!*!*!* +c!c!c!c!c!c!c! +!c!c!c!c!c!c!c +c!c!c!c!c!c!c! +Bonus: +b.b.b.b.b.b.b. +w************w +.............b +w*..........*w +b............. +w*..........*w +.............b +w*..........*w +b............. +w*..........*w +.............b +w*..........*w +b............. +w************w +wbwbwbwbwbwbwb +bwbwbwbwbwbwbw +wbwbwbwbwbwbwb +bwbwbwbwbwbwbw +Level: +Hans +looks hard +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!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!z!z!z!z!z!z +!z!z!z!z!z!z!z +!z!z!z!z!z!z!z +Bonus: +w5b5w5b5w5b5w5 +b5w5b5w5b5w5b5 +w5b5w5b5w5b5w5 +b5w5b5w5b5w5b5 +w5b5w5b5w5b5w5 +b5w5b5w5b5w5b5 +w5b5w5b5w5b5w5 +b5w5b5w5b5w5b5 +w5b5w5b5w5b5w5 +b5w5b5w5b5w5b5 +w5b*w5b*w5b*w5 +b5w*b5w*b5w*b5 +w5b*w5b*w5b*w5 +b5w*b5w*b5w*b5 +w5b*w5b*w5b*w5 +b5w*b5w*b5w*b5 +w*b*w*b*w*b*w* +b*w*b*w*b*w*b* +Level: +Hans +not hard +Bricks: +czczczczczczcz +z*zc*cz*zc*cz* +czczczczczczcz +zcz!!!!!!!!!zc +c*c!*!!*!!*!c* +zcz!!!!!!!!!zc +czc!!!!!!!!!cz +z*z!*!!*!!*!z* +czc!!!!!!!!!cz +zcz!!!!!!!!!zc +c*c!*!!*!!*!c* +zcz!!!!!!!!!zc +czc!!!!!!!!!cz +z*z!*!!*!!*!z* +czc!!!!!!!!!cz +zczczczczczczc +c*cz*zc*cz*zc* +zczczczczczczc +Bonus: +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +bwb555555555bw +w*w555555555w* +bwb555555555bw +wbw555555555wb +b*b555555555b* +wbw555555555wb +bwbwbwbwbwbwbw +w*wb*bw*wb*bw* +bwbwbwbwbwbwbw +Level: +Hans +find them +Bricks: +vvvvvvvvvvvvvv +v!*vvvvvvvv*!v +v*!*vvvvvv*!*v +vv*!*v**v*!*vv +vvv*!!!!!!*vvv +vvvv!!!!!!vvvv +vv*!!!!!!!!*vv +v*!!!!!!!!!!*v +*!!!!!!!!!!!!* +v*!!!!!!!!!!*v +vv*!!!!!!!!*vv +vvvv!!!!!!vvvv +vvv*!!!!!!*vvv +vv*!*v**v*!*vv +v*!*vvvvvv*!*v +v!*vvvvvvvv*!v +vvvvvvvvvvvvvv +ddeehhffggiikk +Bonus: +.............. +.5..........5. +..5........5.. +...5......5... +....555555.... +....555555.... +...55555555... +..5555555555.. +.555555555555. +..5555555555.. +...55555555... +....555555.... +.*..555555.*.* +*..5......5.*. +..5..*.*.*.5.* +*5..*.*.*.*.5. +.*.*.*.*.*.*.* +wbwbwbwbwbwbwb +Level: +Hans +score lots +Bricks: +vvvvvvvvvvvvvv +v!!!!!vv!!!!!v +v!zzz!vv!zzz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zfz!vv!zfz!v +v!zzz!vv!zzz!v +v!!!!!vv!!!!!v +*v*v*v*v*v*v*v +v*v*v*v*v*v*v* +Bonus: +55555555555555 +5.*.*.55.*.*.5 +5.....55.....5 +5*...*55*...*5 +5.....55.....5 +5.....55.....5 +5*...*55*...*5 +5.....55.....5 +5.....55.....5 +5*...*55*...*5 +5.....55.....5 +5.....55.....5 +5*...*55*...*5 +5.....55.....5 +5.....55.....5 +5*.*.*55*.*.*5 +bwbwbwbwbwbwbw +wbwbwbwbwbwbwb +Level: +Hans +tricky +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!*vvvvvvvvvv*! +!vccccccccccv! +!vc*bbbbbb*cv! +!vcbaaaaaabcv! +!vcba*!!*abcv! +!vcba!!!!abcv! +!vcba*!!*abcv! +!vcbaaaaaabcv! +!vc*bbbbbb*cv! +!vccccccccccv! +!*vvvvvvvvvv*! +!!!!!!!!!!!!!! +!!!!!!**!!!!!! +######vv###### +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +.5..........5. +.............. +...5......5... +.............. +.....5..5..... +.............. +.....5..5..... +.............. +...5......5... +.............. +.5..........5. +.............. +......55...... +......bb...... +*.*.*.**.*.*.* +w.w.w....w.w.w +Level: +Hans +find it +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.......v...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Hans +aim straight +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............z +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Hans +shoot! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +55555555555555 +jpjpjpjpjpjpjp +pjpjpjpjpjpjpj +55555555555555 +5j5j5j55j5j5j5 +55555555555555 +j5j5j5jj5j5j5j +5p5p5p55p5p5p5 +p5p5p5pp5p5p5p +.............. +jwjwjwjwjwjwjw +.............. +pppppppppppppp +.............. +wjwjwjwjwjwjwj +.............. +pppppppppppppp +.............. +Level: +Hans +gray +Bricks: +kkkkkkkkkkkkkk +kaaaaaaaaaaaak +kajjjjjjjjjjak +kajbbbbbbbbjak +kajbaaaaaabjak +kajbakkkkabjak +kajbakjjkabjak +kajbakbbkabjak +kajbakjjkabjak +kajbakbbkabjak +kajbakjjkabjak +kajbakbbkabjak +kajbakkkkabjak +kajbaaaaaabjak +kajbbbbbbbbjak +kajjjjjjjjjjak +kaaaaaaaaaaaak +kkkkkkkkkkkkkk +Bonus: +ll>jj{{{{jj>ll +>ll.}jjjj}.ll> +bw>>>>>>>>>>wb +wb>55555555>bw +bw>5ll>>ll5>wb +wb>5>llll>5>bw +bw>5jj55jj5>wb +wb>5{}55}{5>bw +bw>5{.55.{5>wb +wb>5{}55}{5>bw +bw>5{.55.{5>wb +wb>5{}55}{5>bw +bw>5>llll>5>wb +wb>5ll>>ll5>bw +bw>55555555>wb +wb>>>>>>>>>>bw +bwbwbwbbwbwbwb +wbwbwbwwbwbwbw +Level: +Hans +blow up +Bricks: +.....*dd*..... +.....d**d..... +.....*dd*..... +....*d**d*.... +....d*dd*d.... +....*d**d*.... +...*d*dd*d*... +...d*d**d*d... +...*d*dd*d*... +..*d*d**d*d*.. +..d*d*dd*d*d.. +..*d*d**d*d*.. +.*d*d*dd*d*d*. +.d*d*d**d*d*d. +.*d*d*dd*d*d*. +*d*d*d**d*d*d* +d*d*d*dd*d*d*d +*d*d*d**d*d*d* +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Hans +eye of ra +Bricks: +.....hhhh..... +......hh...... +.............. +.............. +......ee...... +......ee...... +.....eeee..... +.....eeee..... +....eeeeee.... +....eeeeee.... +...eeeeeeee... +...eeeeeeee... +..eeeeeeeeee.. +..eeeeeeeeee.. +.eeeeeeeeeeee. +.eeeeeeeeeeee. +eeeeeeeeeeeeee +e############e +Bonus: +.....mmmm..... +......mm...... +.............. +.............. +......55...... +......55...... +.....5jj5..... +.....5jj5..... +....5jjjj5.... +....5j..j5.... +...5j....j5... +...5j....j5... +..5j......j5.. +..5j......j5.. +.5j...ww...j5. +.5j..wwww..j5. ++jjjwwwwwwjjj+ ++............+ +Level: +Hans +id4 +Bricks: +zzzzffffffzzzz +zzzzzffffzzzzz +vzzzzzffzzzzzv +vvzzzz!!zzzzvv +vvvvvv!!vvvvvv +vvvvvv!!vvvvvv +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +......!!...... +Bonus: +*jww555555wwj* +**jww5555wwj** +>**jww55wwj**> +>>****++****>> +>>>>>>pp>>>>>> +>>>>>>pp>>>>>> +......jj...... +......pp...... +......pp...... +......++...... +......pp...... +......pp...... +......jj...... +......pp...... +......pp...... +......++...... +......pp...... +......pp...... +Level: +Hans +rainbow +Bricks: +dddddddddddddd +eeeeeeeeeeeeee +dddddddddddddd +eeeeeeeeeeeeee +hhhhhhhhhhhhhh +ffffffffffffff +hhhhhhhhhhhhhh +ffffffffffffff +gggggggggggggg +iiiiiiiiiiiiii +gggggggggggggg +iiiiiiiiiiiiii +dehfgijjigfhed +dehfgijjigfhed +dehfgijjigfhed +jjjjjjjjjjjjjj +kkkkkkkkkkkkkk +.............. +Bonus: +j...jj..jj...j ++..+..++..+..+ +gggggggggggggg +gggggggggggggg +j...jj..jj...j ++..+..++..+..+ +gggggggggggggg +gggggggggggggg +j...jj..jj...j ++..+..++..+..+ +gggggggggggggg +gggggggggggggg +......bb...... +.............. +......bb...... +.b.b.b..b.b.b. +wwwwwwwwwwwwww +.............. +Level: +Hans +tree +Bricks: +......zz...... +.....zzzz..... +....zzzzzz.... +...zzzzzzzz... +..zzzzzzzzzz.. +...zzz@@zzz... +....zz@@zz.... +.....z@@z..... +......@@...... +......@@...... +......@@...... +......@@...... +......@@...... +ccccc@@@@ccccc +cccccccccccccc +cccccccccccccc +.............. +.............. +Bonus: +......55...... +.....5..5..... +....5....5.... +...5......5... +..5........5.. +...5......5... +....5....5.... +.....5..5..... +.............. +.............. +.............. +.............. +.............. +m>m>l....l>m>m +mwmwmwmmwmwmwm ++>+>+>++>+>+>+ +.............. +.............. +Level: +Hans +we are da world +Bricks: +.............. +.vvvvvvvvvvvv. +.vzzzzzzzzzzv. +.vzzzzzzzzzzv. +.vzzffffffzzv. +.vzzffffffzzv. +.vzzff!*ffzzv. +.vzzff*!ffzzv. +.vzzff!*ffzzv. +.vzzff*!ffzzv. +.vzzff!*ffzzv. +.vzzff*!ffzzv. +.vzzff!*ffzzv. +.vzzffffffzzv. +.vzzffffffzzv. +.vzzzzzzzzzzv. +.vzzzzzzzzzzv. +hhhhhhhhhhhhhh +Bonus: +.............. +.5.b5.ww.5b.5. +..b........b.. +.w.*.*..*.*.w. +.5..........5. +.b..........b. +...*..5...*... +.5.....5....5. +.b....5.....b. +...*...5..*... +.5....5.....5. +.bb....5...bb. +...*..5...*... +.5..........5. +..b........b.. +.w.*.*..*.*.w. +.5b........b5. +5w*w*w++w*w*w5 +Level: +Hans +dominos +Bricks: +****cccccc**** +*bc*cc***c*cb* +*ba*aa***a*ab* +*ba*cc*c*c*ab* +*ba*bb*bbb*ab* +*ba*ac**ca*ab* +*ba*acb*ca*ab* +*ba*aca*ca*ab* +*ba*****ca*ab* +*babacccca*ab* +*babacaaca*ab* +********ca*ab* +cbabacc*ca*ab* +cbabbbb*bb*ab* +********cc*ab* +*baaaaaaaa*ab* +*bcccccccc*cb* +***********cc* +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Hans +dominos II +Bricks: +.............* +.............* +.############* +.#***cc****cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c*cc*cc*cc* +.#*c****cc**** +.############# +Bonus: +.............5 +.............5 +.............. +..5.5..5..5... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..5........... +..5.5..5..5..5 +.............. +Level: +Hans +dominos II +Bricks: +......**...... +......**...... +.#####**#####. +.#**********#. +.#*zzzzzzzz*#. +.#*zzzzzzzz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#*zz*zz*zz*#. +.#****zz****#. +.############. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Hans +domnios III +Bricks: +......**...... +......**...... +.EEEEE**EEEEE. +.E!!!!**!!!!E. +.E!*!!**!!*!E. +.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. +Bonus: +......**...... +......**...... +......bb...... +..bjjbbbbjjb.. +..5b55bb55b5.. +..5bb*bb*bb5.. +..bb*b**b*bb.. +..5b55**55b5.. +..5*b****b*5.. +..b**b**b**b.. +..b*555l55*b.. +..5*b*l5*b*5.. +..5w*b5lb*w5.. +..bw55l555wb.. +..jwb*ww*bwj.. +..jw*bwwb*wj.. +..bjjjjjjjjb.. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/HereWeGo b/project/jni/application/lbreakout2/client/levels/HereWeGo new file mode 100644 index 000000000..6317a0a25 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/HereWeGo @@ -0,0 +1,492 @@ +Level: +migs +automobile +Bricks: +............... +............... +............... +.....ffyff..... +....ffffgff.... +....ffffggf.... +....fyffggf.... +....ffffggf.... +..ffffffggffy.. +..fyffffffffff. +..ffffyffffyfh. +..@fffffyfffff. +..fffffffffff.. +....aaa..aaa... +....aja..aja... +....aaa..aaa... +...cc!cccc!cc.. +............... +Bonus: +............... +............... +............... +.....!.+.>..... +....1.2.0.}.... +.....<.?0...... +....+~p.0m+.... +.....2.-0...... +..}2...20.b1... +....b?W...2.?<. +..sw.-.>-c+.... +....2c.2.1.w.+. +..1b.?-.~...... +....<.s..<>.... +.....W.....d... +....-.d..{..... +...+..w.-+.?... +............... +Level: +migs +robot +Bricks: +............... +............... +......aEEa..... +......a**a..... +......a**a..... +......aaaa..... +......ahha..... +......ahha..... +......aaaa..... +......affa..... +......affa..... +......aEEa..... +.......aa...... +.......aa...... +.......aa...... +.......aa...... +.....@@@@@@.... +............... +Bonus: +............... +............... +......0..-..... +......+.-c..... +......0?....... +.........0..... +......0>.W..... +......b.f0..... +......0..b..... +......-5.0..... +......0<++..... +......W..0..... +.......s....... +.......dw...... +.......f....... +........>...... +............... +............... +Level: +migs +red-man +Bricks: +............... +......d*d...... +.....d*d*d..... +.....*d*d*..... +......*d*...... +.......*....... +.......d....... +.....*d*d*..... +.....d*d*d..... +.......*....... +.......d....... +.......*....... +.......d....... +......*.*...... +.....d...d..... +....*.....*.... +............... +............... +Bonus: +............... +......0.0...... +.....1.-.1..... +.....2c.c2..... +.......-....... +.......3....... +.......>....... +......d.d...... +.....~.>.~..... +............... +.......f....... +.......3....... +.......W....... +............... +.....<...<..... +............... +............... +............... +Level: +migs +sand lorry +Bricks: +............... +............... +...ddd......... +..ddddd..eee... +..dvvdd.eeeee.. +..dvvddeeeeeee. +..dvvddeeeeeee. +ddddddddddddd. +ddddddddddddd. +hd*dddddd*ddd. +hdddddddddddd. +ddddddddddddd. +..daaaddddaaad. +...aja....aja.. +...aja....aja.. +...aaa....aaa.. +............... +............... +Bonus: +............... +............... +............... +..}.W-l..+.s... +...~.1....w.-.. +....c+?s.d.d.?. +..~f5...b.-f... +*.1?.}d.-1.?-. +..?.!c.1&.g?.+. +-b..w+.4...}.. +...+&?.?..d....d.>.. +............... +............... +Level: +migs +dodge 'em +Bricks: +v............. +.....ddd*dd...v +....dddddddd... +...dd*ddddddd.. +..dddddddd*ddd. +d*dddddddddddd +djjjjjjjjjjjjd +djd*dj*j*jj*jd +djjjdjdjdjjjjd +*ddjdjdjdjjddd +djjjdjdjjjjddd +dddddddddddddd +..dddd*dddddd*. +...dddddddddd.. +....ddddd*dd... +.....dddddd.... +............... +............... +Bonus: +............... +.....j0!....... +....-!0!.>{0... +...4c.!03d01-.. +..}w+?{.w!.f.1. +{.!+.?+!.-?!>. +..!*d>c.bc.!3&- +?5~.!s.?.!g.!w +!p!c!4f!m0~0> +..<0{!g!0c{!c.. +...b?-!jd?.?+.. +....~0?w!.!.... +.....{wd-<0.... +............... +............... +Level: +migs +jet +Bricks: +............... +......v......@. +......k........ +......k...@.... +...@..k........ +......k......k. +......k......k. +......k......k. +...kkkkkkkkkkk. +..kckckckckckc. +...kkkkkkkkkkk. +......k......k. +......k......k. +......k......k. +..@...k........ +......k..@..... +......k........ +......v........ +Bonus: +............... +............... +......w........ +......!........ +......<........ +.............?. +......}........ +.............W. +...-b.?-*.>b-s. +..?0c1p2.2.1c0. +...+&~?+>.d&+.. +......~......W. +......{........ +.............?. +......<........ +......!........ +......w........ +............... +Level: +migs +choo-choo +Bricks: +.....j......... +....j...ddddd.. +...dd...dvvvd.. +...dd...dvvvd.. +...dd...ddddd.d +...dd...ddddd.d +..ddddddddddd.d +..ddddddddddd.d +..ddddddddddd.d +..ddddddddddd.d +..ddddddddddddd +ddaEadddaEad.d +...aaa...aaa... +...aja...aja... +...aaa...aaa... +...aaa...aaa... +..@##@#.#@#@@v. +............... +Bonus: +............... +....4...0.W.?.. +...?.....?W.0.. +...c!...fm4.... +...-0...f.2s..! +...2?....0.!W.0 +..->.<>0..2p..0 +..f00d.ss0Wd..0 +...?&+4?...0..f +..4cs.c.b?>.W.W +..!W>4W022.?cd1 +m0fdW---.5.0.+ +....2<...<0.... +...0}c.....b... +....W....0-.... +...w5+...j.0... +..f{gd0.4d{0.+. +............... +Level: +migs +chevron +Bricks: +............... +............... +............... +jjjjjjjjjjjjjj +h..hh..hh..hh. +...hh..hh..hh.. +..hh..hh..hh..h +hh..hh..hh..hh +h..hh..hh..hh. +...hh..hh..hh.. +..hh..hh..hh..h +hh..hh..hh..hh +h..hh..hh..hh. +jjjjjjjjjjjjjj +............... +............... +............... +............... +Bonus: +............... +............... +............... +w.?.f.bb.f.?.w +~..11..&...00. +...11......00.. +..11..?<..00..& +11...-..00..+. +1..?<..00..>?. +....-..00..+... +..?<..00..>?..2 +.....00......22 +*..00..}{..22. +c.j.>.WW.>.jmc +............... +............... +............... +............... +Level: +migs +all aboard!! +Bricks: +.......j@.....v +.......j@f..... +......jj@f..... +.....jjj@yf.... +.....jjj@yf.... +....jjjj@yyf... +...jjjjj@yyf... +...jjjjj@yyyf.. +..jjjjjj@fffff. +.......v@v..... +..eeeeeeeeeeee. +...eeeeeeeeeee. +....eeeeeeeee.. +.....eeeeeee... +...!..!ee!e.!.. +gggggggggggggg +gggggggggggggg +............... +Bonus: +.......0....... +........1?..... +.......?....... +.....!-.j0..... +.....0.1..W.... +......W.4}0.... +...01d<2pl.0... +....b.?0jm2?... +..?-.0.....1.0. +........1...... +..21*?.0.W0.2!. +....012w.0db... +.....!.1{?.&1.. +......0.W.0.... +...>...~..>.... +0&0?{+.<.?010? +f0.c0.>.0.!0.f +............... +Level: +migs +yello sub +Bricks: +....hh......... +...!vh..!..!g.. +EggghEgggEggEg +.....h......... +...y.h.....yy.. +@x..h....f..z. +z...h......... +....hhhhhhhhh.. +...hhhhhhhhhhh. +x.hhhhhhhhhhh. +...hhhhhhhhhhh. +...hhhhhhhhhhh. +...hhhhhhhhhhh. +...hhhhhhhhhhh. +....hhhhhhhhh.. +z.x........... +..y........y... +........@...... +Bonus: +............... +...<42..?..d... +..c<...<<....... +-.f........... +...........>... +........!...... +Level: +migs +traffic +Bricks: +............... +jjjjjjjjajajjj +.........g!g... +..ada....a.a... +............... +vjvjvjvjvjvjvj +....a.a.....a.a +....iii.....@@@ +....a.a.....a.a +cccccccccccccc +a.a........... +yyy.....afa... +a.a........... +vjvjajajvjvjvj +.....hhh..a.a.. +.....a.a..d*d.. +..........a.a.. +jjjjjjjjjjjjjj +Bonus: +............... +2.?w.c.&...-.2 +.........W..... +..Wl.......?... +............... +1-1?1.1.*.1w1. +......3........ +.....m......p.5 +....3.......... +!2.s&.j-.?c2&! +............... +?w+.....Ws.... +............... +..0+0.0.0.0+0?0 +.....Ws........ +..........+.... +............... +>.b.>.<.>.b.>. +Level: +migs +bridge o' troubled h2o +Bricks: +..............v +ddd.......ff.. +dddd..v...fff. +cccccccccccccc +a.ca.c..c.aca. +aaaaaaaaaaaaaa +ekkkkkvvkkkkke +ekkkk....kkkke +ekkk......kkke +ekk...v...vkke +ekk........kke +ek..........ke +ek....v..v..ke +ek.v........ke +ee..........ke +ee.........vee +eee.v......eee +eeeeeg!!ggeeee +Bonus: +..............j +?.*........p.. ++4.1..g...+.3. +..>.{.{!2~&w?.? +&..?......~W<. +..w.s.ff.}-.c.f +!-..?>.?4.1.2! +...-0-....b-&.. +..<........c{>1 +c.f...W...?... +..>.........~0m +1............. +..}....j..+..s~ +~..<........&1 +..{............ +?-.........b.? +...?.>......c-. +!0>0+0.?0<.W0! diff --git a/project/jni/application/lbreakout2/client/levels/Heroes b/project/jni/application/lbreakout2/client/levels/Heroes new file mode 100644 index 000000000..623e0dab3 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Heroes @@ -0,0 +1,616 @@ +Version: 0.90 +Level: +Eric Jacobson +Up Up And Away +Bricks: +ggggddddddgggg +gggddddddddggg +ggddddddddddgg +gddddhhhhddddg +dhddhhhhhdddhd +dhddhhhhhdddhd +dhddhhhhhhhhhd +dhdddhhhhhhhhd +dhhdddddddhhhd +dhhhdddddddhhd +dhhhhddddddhhd +dhhhhhhhhddhhd +gdhhddhhdddhdg +ggdhhddddhhdgg +gggddddddddggg +gggggggggggggg +vvvvvvvvvvvvvv +.............. +Bonus: +55lj.5555j.m55 +55b.444444.b55 +cf.33333333..c +..333j...333.. +..22....f222.. +f>22..ll.222>f +..22.wggw..... +f!111....>b.!p +W-~1111111..j. +.{..1111111... +..*..000000.b.00..000..> +..-..0000..-.. +.~.>..dd..>.~. +.............. ++.w..b..b..w.+ +.............. +Level: +Eric Jacobson +Signal In The Sky +Bricks: +haahhahhahhaah +hahhhahhahhhah +aahahaaaahahaa +aaaahaaaahaaaa +aaaahaaaahaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaahaaaahaaaa +aaaahaaaahaaaa +aahahhaahhahaa +hahhhhaahhhhah +haahhhhhhhhaah +hhhhhhhhhhhhhh +vbvbvbvbvbvbvb +bvbvbvbvbvbvbv +.............. +.............. +Bonus: +j55W?5jj5?W55j +W5f?-5W~5-?f5W +44?4-4444-4?44 +4444f4444f4444 +4444W4444W4444 +3j3333332222j2 +3j3333222222j2 +3j3332222222j2 +1111f1111f1111 +1111{1111~1111 +00~0-~00{-0f00 +c0{?f{00~?{c0c +W00W~W?cWf?00f +{?fc{?f?{c~W{d +.>.-.>.-.>.-.> +w.b.w.b.w.b.w. +.............. +.............. +Level: +Eric Jacobson +Lantern's Light +Bricks: +jjxxxxxxxxxxjj +jjxxxxxxxxxxjj +jjvvxxxxxxvvjj +jvvxxxxxxxxvvj +jvxxxvvvvxxxvj +jvxxvvvvvvxxvj +jvxxvvvvvvxxvj +jvxxvvvvvvxxvj +jvxxvvvvvvxxvj +jvxxvvvvvvxxvj +jvxxxvvvvxxxvj +jvvxxxxxxxxvvj +jjvvxxxxxxvvjj +jjxxxxxxxxxxjj +jjxxxxxxxxxxjj +jjjjjjjjjjjjjj +vvvvvvvvvvvvvv +.............. +Bonus: +5.0l455554l0.5 +..0044444400.. +.f.p000000p.f. +...00s**s00... +..00-1111-00.. +b.0-113311-0.b +.W0b134431b0W. +.p0b145541b0p. +>.0b134431b0.> +..0+113311+0.. +..00+1111+00.. +...00{~f>00... +g..W000000W..s +..0p000000p0.. +.f000>f00000f. +.............. +wwb-+-bb+-+bww +.............. +Level: +Eric Jacobson +Sonic Boom +Bricks: +dddddddhhhhhhe +dddddddhhhhhhe +ddddddhhhhhhed +dddddhhhhhhedd +ddddhhhhhheddd +ddddhhhhhedddd +dddhhhhheddddd +ddhhhhhhhhhhed +ddhhhhhhhhhedd +ddeeeeehhheddd +ddddddhhhedddd +dddddhhheddddd +ddddhhhedddddd +ddddhheddddddd +dddhhedddddddd +ddhheddddddddd +dhhedddddddddd +vvvvvvvvvvvvvv +Bonus: +b......555555> +......j444444> +......444444>. +..b..333333>.b +....333333>... +....22222>.b.. +...22222j..... +..1111111111f. +..111111111f.. +..ffffj000f... +......000f...b +b....000f..... +....>>>j...... +....>>f.b..b.. +...>>f........ +..>>f......... +.>>f.......... +wbwbwbwbwbwbwb +Level: +Eric Jacobson +Hoping For A Sequel... +Bricks: +@@@@eehheee@@@ +@@@eehjjh.ee@@ +@@eeehjjhv.ee@ +@eeeehjjh.vee@ +@eee.vhh.v.vee +eee.v.v.v.v.ee +eeev.v.hhv.vee +eev.v.hhh.v.ee +ee.v.hhhhv.vee +eev.vhhhh.v.ee +ee.v.hhhhv.vee +eev.vhhhh.v.ee +ee.v.hhhhv.eee +eev.vhhhheeee@ +@eev.hhhheeee@ +@ee.vhhhheee@@ +@@eeehhhhee@@@ +.............. +Bonus: +.....m44l..... +.....4554..... +.....4554<.... +.....4554.~... +.....*44.b.w.. +....+.d.-.{... +...W.W.44>.c.. +..~.<.444.g... +...p.3333j.f.. +..s.b3333.*... +...j.2222p.s.. +..}.c2222.d... +...g.1111+.... +..w.f1111..... +...>.0000..... +....-0000..... +.....0000..... +.............. +Level: +Eric Jacobson +Web Of Doom +Bricks: +vvddddvvddddvv +vvddvvddvvddvv +ddvvddddddvvdd +ddvvddvvddvvdd +dvddvvddvvddvd +vdddvvddvvdddv +vddvddvvddvddv +vddvddvvddvddv +vdddvvddvvdddv +dvddvvddvvddvd +ddvvddvvddvvdd +ddvvddddddvvdd +vvddvvddvvddvv +vvddddvvddddvv +ddvddddddddvdd +dddvddddddvddd +ddddvvvvvvdddd +.............. +Bonus: +l5....45....5l +40..44..44..04 +..04......40.. +..30..33..03.. +.3..03..30..3. +3...30..03...3 +2..2..55..2..2 +2..2..55..2..2 +2...20..02...2 +.1..01..10..1. +..10..11..01.. +..01......10.. +10..11..11..01 +00....00....00 +..0........0.. +...0......0... +....wbwbwb.... +.............. +Level: +Eric Jacobson +Eddie's Clubhouse +Bricks: +ggg.cgg..cg..g +gg.cggvvggc.gg +g.ccg..gg.ccg. +vccc..gg..cccv +.cjjcggvvcjjcg +gcjjcg..gcjjcg +gcjjjc.gcjjjc. +vcjjjccccjjjcv +.cjjjccccjjjcg +gcjjjcvvcjjjcg +gcjjjc.gcjjjcv +.cjjjcggcjjjc. +vcjjcggvvcjjcg +ggcjcg..gcjcgg +g.ccg..gg.ccg. +vvgcvvggvvcgvv +.gg..gg..gg..g +.............. +Bonus: +111.511..51..1 +11.51133115.11 +1...1..11...1. +3..?..11..?..3 +.?...1133...?1 +1.?.?1..1?.?.1 +1......1...... +3.?.?.??.?.?.3 +.?...gppg...?1 +1.?bj?33?jb?.1 +1..f>..1.>~..3 +.?.?.?11?.?.?. +3....1133....1 +11-.?1..1?.+11 +1.?+1..11.-?1. +33bw331133wb33 +.11..11..11..1 +.............. +Level: +Eric Jacobson +Coast To Coast +Bricks: +dddddvvvvddddd +dddd.vvvv.dddd +dddd..vv..dddd +ddd........ddd +ddd.cccccc.ddd +ddd..c..c..ddd +ddd........ddd +ddd........ddd +ddd........ddd +ddd........ddd +dd..........dd +h............h +.h..........h. +..h........h.. +...hvvvvvvh... +v.v.hvvvvh.v.v +.v.v.hvvh.v.v. +v.v.v.hh.v.v.v +Bonus: +l..b.4554.b..l +.....4554..... +..f...44...f.. +.............. +.p..3p33p3..p. +f....3..3....f +.............. +b.f........f.b +.............. +.p..........p. +.............. +-............- +.............. +.............. +...-..pp..-... +.............. +.............. +..w.b.pl.b.w.. +Level: +Eric Jacobson +The Cap'n +Bricks: +gggggggddddddd +ggcccggddddddd +gccgccgjjjjjjj +gcgggcgjjjjjjj +gcEEEcg@@@@@@@ +gcccccgddddddd +gcgggcgjjjjjjj +gcgggcgjjjjjjj +gggggggddddddd +@@@@@@@ddddddd +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +dddddddddddddd +ddddddd@@@@@@@ +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +dddddddddddddd +@@@@@@@ddddddd +Bonus: +5222222jw...?5 +5244422..>bc.5 +5442442.sg?..5 +542m242f...W.5 +54...42....... +5444442.b.*.w5 +5422242..~...5 +5422242.c.d..5 +5222222.w.>b.5 +.......!.sg.j5 +5j..W........5 +5..~.?..W..?.5 +5...*..b.....5 +5.w.c......... +5.?..d..~.W.cf +5W..s.>...g... +5........w.b?. +.............. +Level: +Eric Jacobson +Wonder Boy +Bricks: +EEEE@@@@@@EEEE +EEE@dddddd@EEE +hhhhhhhhhhh@EE +hhhhhhhhhhhh@E +@dddhhhddddhh@ +@dddhhddddddh@ +@ddhhddddddhh@ +@ddhhdddddhhd@ +@dhhhddddhhdd@ +@dhhdddhhhddd@ +@hhhddhhhdddd@ +@hhdddhhddddd@ +hhhdddhhhdddd@ +hhdddddhhhddd@ +hhddddddhhhd@E +hh@ddddddhhhEE +EEE@ddddddhhhE +EEEE@dddd@EhhE +Bonus: +55555555555555 +5555?+bws?5555 +44222222222555 +42222222222255 +5?.+222..?.225 +5.b.22.?.-.?25 +5ws22?.m.?.225 +5.j22..m..22?5 +5?222...?22..5 +5.22.?.222...5 +5222..222..?w5 +522?..22..-b.5 +222.+.222s.j.5 +22..-.?222.+?5 +42.s....222.55 +445.?.gp?22255 +5555..j..?2225 +55555.wb.55225 +Level: +Eric Jacobson +Green Men +Bricks: +ghhg.y.y.yghhg +hhhhy.y.y.hhhh +dhhd.y.y.yghhd +gdddd.y.yddddg +ggdddd.yddddgg +g.yddddddddy.g +.y.yddddddy.y. +y.y.yddddy.y.y +.y.yddddddy.y. +y.yddddddddy.y +.yddddy.ddddy. +yddddy.y.ddddy +ddddy.y.y.dddd +dddy.y.y.y.ddd +ddy.y.y.y.y.dd +dddddhhhhddddd +dddddhhhhddddd +dddddhhhhddddd +Bonus: +5....5.5.5...l +.s.j5.5.5.j.s. +...f.4.4.4W+.. +......4.4..... +...wg..4.gw... +..3.?.jj.?.3.. +.3.3..??..3.3. +3.3.3.+f.3.3.3 +.2.2.?-.?.2.2. +2.2.p....p.2.2 +.2.?c?1.?-?.2. +2s...1.1....s2 +..g.1.1.1..g.. ++>.0.0.0.0..>+ +..0.0.0.0.0... +Ww..b.+..b..wf +..?~..??..c?.. +?...?....?...? +Level: +Eric Jacobson +Titans, Go! +Bricks: +........hhhh.. +aaaaaaahvvvvh. +ccbccbchvvvvh. +aaaaaaahhvvhh. +EEEEEEEhhvvhh. +..aaa...hvvhe. +..EEE....hheee +..cbc....eaeee +..aaa.....aebe +..EEE.....Ecbe +..bcb.....acbe +..aaa....bacbe +..EEE....bacbE +..cbc....bEcba +ggaaaggggbacba +gxEEExxggxxxxx +gxxxxxxxgggggg +xxxxxxxxxggggg +Bonus: +........?m.... +554422b.3553.. +5544220.3333.. +l54422w>.11.?. +........?11... +.........11.>. +.........?.?.. +..?4?........s +.............? +...........?-. +..-4+......... +...........g.. +.........?..b. +..?4?......?.. +p.....?.s?...? +.?....w....... +?.?.b...-..~.. +..w.?.g..?...> +Level: +Eric Jacobson +Transform! +Bricks: +vvvvddddddvvvv +ddvdddvvdddvdd +ddvvdvvvvdvvdd +dvdvvdvvdvvdvd +ddvdvvddvvdvdd +dvddvvvvvvddvd +vdvdvdvvdvdvdv +vvddvvddvvddvv +dvvvvvddvvvvvd +dvvvdvddvdvvvd +ddvddvddvddvdd +ddvddvddvddvdd +ddvddvddvddvdd +ddvddvvvvddvdd +vdvddddddddvdv +vvvddvvvvddvvv +vvvdvvddvvdvvv +vvvvvddddvvvvv +Bonus: +....555555.... +33.555..555.33 +33..5....5..33 +3.3..3..3..3.3 +33.3..33..3.33 +2.22......22.2 +.2.2.2..2.2.2. +..22..22..22.. +w.....??.....w +?...?.bb.?...? +.?.?b.??.b?.?. +?..>?.ww.?>..? +.?.?..??..?.?. +?...?....?...? +.?.?.?..?.?.?. +....?....?.... +...?..bb..?... +.....>ww>..... +Level: +Eric Jacobson +Gen-X +Bricks: +@@@bbbbbbbbEEE +@@bbhhhhhhbbEE +@bbhhhhhhhhbbE +bbcchhhhhhccbb +bbccchhhhcccbb +bggccchhcccggb +bgggccccccgggb +bggggccccggggb +bgggggccgggggb +bggggccccggggb +bgggccccccgggb +bggccchhcccggb +bbccchhhhcccbb +bbcchhhhhhccbb +bbbhhhhhhhhbbb +Ebbhhhhhhhhbb@ +EEbbhhhhhhbb@@ +EEEbbbbbbbb@@@ +Bonus: +...11111111... +..11..f.?.11.. +.11?.?.b...11. +1133.....?3311 +11333.?..33311 +1..333..333..1 +1??.333333f?.1 +1...p3333*..?1 +1?b?..55...b.1 +0....2222?..?0 +0.?.222222...0 +0..222..222?.0 +00222..?.22200 +0022..m...2200 +000f?.-b.?.000 +.00...wd...00. +..00>.W?.>00.. +...00000000... +Level: +Eric Jacobson +Real Heroes +Bricks: +fffffff!.!.!.! +ffxxxff.!j!.!. +fxfffxf!j!j!.! +fxfffxf.jjj.!. +fxfffxf!j!jjj! +fxxxxxf.!.!j!. +fxfffxf!.!.jj! +fxfffxf.!.!j!. +fffffff!.!.!.! +gggggggddddddd +gcgggcgddhdhdd +gccggcgdhdhdhd +gcgcgcgdhdhdhd +gcggccgdhdhdhd +gcgggcgdhdddhd +gcgggcgdhdddhd +gcgggcgdhdddhd +gggggggddddddd +Bonus: +.............. +..555....5j... +.5.j.5..5.5... +.5...5..555... +.5...5..5.555. +.55555....j5.. +.5.j.5.....55. +.5...5.....5.. +......mm...... +.w.b.w...wbw.. +*5...5...5.5.* +.55..5..5.5.5. +.5.5.5..5.5.5. +.5.j55..5.5.5. +.5.b.5..5.b.5. +*5...5..5.j.5* +.5...5..5...5. +.w.b.w..w.b.w. diff --git a/project/jni/application/lbreakout2/client/levels/HighBall b/project/jni/application/lbreakout2/client/levels/HighBall new file mode 100644 index 000000000..53277a1e9 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/HighBall @@ -0,0 +1,287 @@ +Level: +elvis +Choose Your Weapon +Bricks: +.............. +.............. +.cccccccccccc. +.cbbbbbbbbbbc. +.cbgaaaaaa*bc. +.cbaaeeeeaabc. +.cbaeeeeeeabc. +.cbaeeeeeeabc. +.cbaaeeeeaabc. +.cbfaaaaaadbc. +.cbbbbbbbbbbc. +.cccccccccccc. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.bbbbbbbbbbbb. +.b..........b. +.b.m......*.b. +.b...2222...b. +.b..234432..b. +.b..234432..b. +.b...2222...b. +.b.p......w.b. +.b..........b. +.bbbbbbbbbbbb. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +elvis +Avarice and Greed +Bricks: +eeeeeeeeeeeeee +c#c#c#c#c#c#cc +cccccccccccccc +cc#c#c#c#c#c#c +cccccccccccccc +.............. +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +dgdgdgdgdgdgdg +.............. +.............. +.............. +.............. +.............. +Bonus: +55555555555555 +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +w.w.w.w.w.w.w. +.............. +.............. +.............. +.............. +.............. +Level: +elvis +untitled +Bricks: +.eeeeeeeeeeee. +.egeeegeeegee. +..############ +.iiiiiiiiiiii. +.iiiiiiiiiiii. +############.. +.ffffffffffff. +.ffffffffffff. +..############ +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +############.. +.kkkkkkkkkkkk. +.kkkkkkkkkkkk. +cccccccccccccc +cccccccccccccc +cccccccccccccc +dadadadadadada +Bonus: +.555555555555. +.5m555m555m55. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +w.w.w.w.w.w.w. +Level: +elvis +Over the Top +Bricks: +....gggggg.... +.ccc######ccc. +.ccc######ccc. +.ccc#eeee#ccc. +.ccc#eeee#ccc. +.ccc#eeee#ccc. +.ccc#eeee#ccc. +.ccc#eeee#ccc. +.ccc#eeee#ccc. +.ccc#eeee#ccc. +.ccc#eeee#ccc. +.ccc######ccc. +.############. +.............. +.............. +.............. +.............. +.............. +Bonus: +....mmmmmm.... +.bbb......bbb. +.bbb......bbb. +.bbb.5555.bbb. +.bbb.5555.bbb. +.bbb.5555.bbb. +.bbb.5555.bbb. +.bbb.5555.bbb. +.bbb.5555.bbb. +.bbb.5555.bbb. +.bbb.5555.bbb. +.bbb......bbb. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +elvis +Fetch the Ball +Bricks: +.............. +.............. +..#........... +.##ddddddddddd +.#cccccccccccc +.#cccccccccccc +.#cccccccccccc +.#cccccccccccc +.#cccccccccccc +.#cccccccccccc +.#cccccccccccc +.#cccccccccccc +.#cccccccccccc +.#c########### +.#ceeeeeeeeeee +.#ceeeeeeeeeee +.############# +.############# +Bonus: +.............. +.............. +.............. +...wwwwwwwwwww +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..bbbbbbbbbbbb +..b........... +..b55555555555 +..b55555555555 +.............. +.............. +Level: +elvis +Self Restraint +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 +############## +c.cgcfchcic.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 +d.d.d.d.d.d.d. +Bonus: +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +55.55.55.55.55 +.............. +b.bmbpb.b>. +.....1.1.1.1..< +....-.g.2.l.~.1 +....?1.1.1.1?<> +....+.2.j.2.+1. +.....1.1.1.1-.< +....?.m.2.p..>. +.....1.1.1.1>.1 +............... +............... +............... +............... +............... +Level: +Martin Moeller +2nd Day of X-Mas +Bricks: +hhh*cccccccccc +ggh#cccccccccc +hhhvc!cc!!cc!c +hgg#cccccccccc +hhhvcccccccccc +#c#*###*##*### +vvvvvvvvvvvvvv +v**vvvvvvvvvvv +vvvvvvvvvvvvvv +###**######### +bb#bb#bbbbbbbb +ffffffffffffff +eeeeeeeeeeeeee +............... +............... +............... +............... +............... +Bonus: +...sl...?.....? +..4.5j......... +......w..gp..m. +...45.........m +w...?.l.l.?.l. +..5...5.?.?.?.? +3+3-3+3-3+3-3+ +?2?2?2?2?2m2?2 +1~1c1>1d1>1c1~ +~.d.<.>.d.~.c. +............... +?....l...l...? +............... +............... +............... +............... +............... +............... +Level: +Martin Moeller +3rd Day of X-Mas +Bricks: +hhh#ff!eddiijk +ggh#!feeddiijk +ghhvff!eddiijk +gghv!feeddiijk +hhh#ff!eddiijk +####!feeddiijk +!f!fff!eddiijk +ffffffeeddiijk +e!e!e!eeddiijk +ddddddddddiijk +ddddddddddiijk +iiiiiiiiiiiijk +iiiiiiiiiiiijk +jjjjjjjjjjjjjk +************** +##v###vv###v## +............... +............... +Bonus: +l..5..?......g +....5>......... +.......>....... +....w?......... +....5..-..<.... +5555-......... ++.?...+....j.. +............... +..-.+.>........ +.........j..... +............... +.....<......... +cf............ +m~............ +..s.43....34.w. +...>...??...b.. +............... +............... +Level: +Martin Moeller +4th Day of X-Mas +Bricks: +hgh#!k!j!cbakj +hgh#f!k!jcbakj +hhh*!f!k!cbakj +ggh#e!f!kcbakj +ggh#!e!f!cbakj +#v##d!e!fcbakj +!j!i!d!e!cbakj +k!j!i!d!ecbakj +!k!j!i!d!cbakk +e!k!j!i!dcbaaa +!e!k!j!i!cbbbb +cccccccccccccc +............... +............... +............... +............... +............... +............... +Bonus: +.....4.4.?..... +......4.?..?... +..m..4.?.b...?. +......?.b...5.. +.....?.b.b....? +......?.b..?... +1.0.3.?.b...?. +..0.3.3.?...... +0.3.3.3.?..... +..0.3.3.?..?... +1.0.3.?.s....? +............... +............... +............... +............... +............... +............... +............... +Level: +Martin Moeller +5th Day of X-Mas +Bricks: +hhh#dddddddddd +hgg#eeeeeeeeee +hhhcf#ffffffff +gghcg##ggggg#g +hhh#hhhhhhh##h +####iiiiiiiiii +jjjjjjjjjjjjjj +kkkkkkkkkkkkkk +jjjjjjjjjjjjjj +iiiii##iiiiiii +hhhhhh#hhhhhhh +gg#ggggggggggg +f##fffffffffff +eeeeeeeee#eeee +dddddddd##dddd +vvvvvvvvvvvvvv +............... +............... +Bonus: +............... +......3..3..3.. +..?..?.b....... +............p.? +............... +......>........ +......1..1..1.. +............... +..c...m.?...d.. +............... +............... +..l.?.0..0..0.. +............... +......f..w.?... +............... +..~..<..+..-..? +............... +............... +Level: +Martin Moeller +6th Day of X-Mas +Bricks: +hhh#cccccccccc +hgg#bbbbbbbbbc +hhh#aaaaaaaabc +hgh#vvvvvvvabc +hhh#feijdkvabc +v###feijdkvabc +cbavfeijdkvabc +cbavfeijdkv##c +#bavfeijdkvabc +cbavvvvvvvvabc +cbaaaaaaaaaabc +*##**##**##**# +cccccccccccccc +............... +............... +............... +............... +............... +Bonus: +............... +......+.<>.+... +............... +..m............ +.............m. +.......?......g +.....f?d?...... +s...?~.c?-.... +..........?.... +............... +......j.......w +............... +............... +............... +............... +............... +............... +............... +Level: +Martin Moeller +7th Day of X-Mas +Bricks: +hhhjjjjjjkkkkk +gghjjjjjjkkkkk +gghj####jkkkkk +gghj#gg#j####j +gghj#gg#jiiiii +###j#gg#jiiiii +jjjj#gg#jjjjii +j####gg####j#i +j#eefeefee#j#i +j#eeeeeeee#j#i +j####dd####j#i +jjjjddddjjjjii +iiiiddddiiiiii +bbbb#dd#bbbbbb +cccc####cccccc +............... +............... +............... +Bonus: +.......m....... +..1........0.1. +0............. +....04m.4.....w +g............. +......j...1.0.f +..1..4.p4...... +-..........-.1 +p...s..<...... +1.+......+.... +-..........-.0 +............... +..b~.+..+.d..b. +..?........?... +............... +............... +............... +............... +Level: +Martin Moeller +8th Day of X-Mas +Bricks: +hhh#.......... +hgh!.......... +hhh#..#fffff#. +hgh!..#fffff#. +hhh#..#fffff#. +#!#!..#######. +.......jjj#iii. +.......jjj#iii. +.......jjj#iii. +####..#######. +#ddd..#eeeee#. +#ddd..#eeeee#. +#ddd..#eeeee#. +#ddd.......... +#ddd.......... +####.......... +............... +............... +Bonus: +............... +..l.+.......... +............... +..m.-...3.?.3.. +..........3.... +..-.+.......... +.......3.....3. +........?...?.. +.........3.3... +............... +..2.2...3...3.. +...?.....?3?... +..?4?.......... +...?........... +..2.2.......... +............... +............... +............... +Level: +Martin Moeller +9th Day of X-Mas +Bricks: +hhh!*......... +hgh!c......... +hhh!cj#jdddd.. +ggh!cj#jdddd.. +ggh!cj#jdddd.. +!!!!*j#jdddd.. +*cc*cj#jdddd.. +..ddddj#jdddd.. +..jjjjj#jjjjj.. +..###########.. +..jjjjj#jjjjj.. +..ddddj#jdddd.. +..ddddj#jdddd.. +..ddddj#jdddd.. +..ddddj#jdddd.. +..ddddj#jdddd.. +..ddddj#jdddd.. +............... +Bonus: +....+.......... +..m.-.......... +....>.......... +....<.......... +....b....1?1... +-+bp.......... +..........1?... +..1?1l...l..... +...j..4.4..j... +............... +...j..4.4..j... +.....l...l..... +...?1.....1?... +............... +...1?1...1?.... +...........1... +............... +............... +Level: +Martin Moeller +10th Day of X-Mas +Bricks: +ghgviiifffjjjj +hghviiifff#jjj +hhhviii#fff#jj +hghvii#fffff#j +hghvi#efffffff +vvvv#eeeffffff +iii#eeee#fffff +ii#eeeeee#ffff +i#eeeeeeee#fff +eeeeeeeeeee#ff +eeeeee#eeeeeff +eeeee#d#eeeeef +eeee#ddd#eeeee +eee#ddddd#eeee +ee#ddddddd#eee +e#ddddddddd#ee +#dddddddddddee +............... +Bonus: +........m...... +.............s. +..m......1....1 +...........0... +............1.. +.........0.j... +......4...1.0.. +............... +.......0....... +....4.j..0..... +...1........... +.......s...0..g +..4............ +1.....?.....1. +......+.+...... +m...-.-.-..... +............... +............... +Level: +Martin Moeller +11th Day of X-Mas +Bricks: +hhg........... +hgh........... +hhg..vvvvvvv.. +hgh..vdddddd.. +hhg..vjjjjjj.. +......viiiiii.. +......veeeeee.. +..#vvvvffffff.. +..#vddddddddd.. +..#vjjjjjjjjj.. +..#viiiiiiiii.. +..#veeeeeeeee.. +..#vfffffffff.. +############.. +............... +............... +............... +............... +Bonus: +...w........... +..m............ +...b..g-c.f-+.. +..s.....1...... +...+..+........ +......>.?.0?... +......-1....... +...+.~+..?..1.. +...>....0...... +...-.l.?.1?0... +............... +...c.?.1.0.?... +...-........j.. +............... +............... +............... +............... +............... +Level: +Martin Moeller +12th Day of X-Mas +Bricks: +ghg#dddddddddd +hgh#dddddddddd +hgg#########ee +hgh#kkkkkkf#ee +ghg#kkkkkkf#ee +########j####e +eed#ggh#jjf#ee +eed#ggh#jjf#ee +eed#ggh#jjffee +eed#gg##jjffee +e###g#h#####ee +eeddgghhj#ffee +eeddgghhj#ffee +eeddgg####f##e +............... +............... +............... +............... +Bonus: +5.j...?>0.c..? +..s...0..m..0.. +..+b..........1 +..p..5.0d.?...> +b.g.m..c0...c. +............... +...1.?.m...?.d. +cd....1.1.>.1. +..?...c...?...? +1.5.......1... +.....1.>.....>. +.....0..?..?..1 +...1.....0..... +............... +............... +............... +............... +............... +Level: +Martin Moeller +Happy New Year +Bricks: +hhhhhhhhhhhhhh +hh*hhh*hhh*hhh +*hhhhhhhhhhh*# +!*hh*hhh*hh*!* +*#*hhhhhhh*#*v +v*!*hh*hh*!*vj +dv*#*hhh*#*vjj +ddv*!*h*!*vjjj +dddv*#*#*vjj*j +d*ddv*!*vjjjjj +dddddv*vjj*jjj +ddd*ddvjjjjjjj +*dddddvjjjjjj* +vvvvvvvvvvvvvv +............... +............... +............... +............... +Bonus: +33333333333333 +22222222222222 +1111111111111. +00000000000000 +4.444444444.44 +33333333333333 +222.22222.2222 +11111111111111 +00000.0.000000 +55555555555555 +33333333333333 +22222222222222 +11111111111111 +00000000000000 +............... +............... +............... +............... +Level: +Martin Moeller +Easter +Bricks: +............... +..hhhkkhhkkhhh. +..h####..####h. +..h#ffffffff#h. +..k#ffdhhdff#k. +..k#fdjhhjdf#k. +..h.fjjjjjjfvh. +..h.ijjjjjjivh. +..h.ijjjjjjivh. +..h.ijjjjjjivh. +..h.ijjjjjjivh. +..h.fijjjjifvh. +..k#ffjjjjff#k. +..k#fffjjfff#k. +..h#ffffffff#h. +..h####vv####h. +..hhhkkhhkkhhh. +............... +Bonus: +............... +............... +............... +....f>.dd.>f... +....>......>... +......?..?..... +.....p?..... +....f>.--.>f... +............... +............... +............... +Level: +Martin Moeller +Grand Finale +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +j###jj#h#j###j +j#gg#j#h#j#ddj +j#gg#j#h#j#ddj +j#g#jj#h#j##dj +j#g#jjj#jj##dj +j#gg#jj#jj#ddj +j#gg#jj#jj#ddj +j###jjj#jj###j +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +##vv##..##vv## +............... +............... +............... +............... +Bonus: +..?.....?.....? +m...?...-.?.3. +..........+.... +?..3.......... +......+.....b.. +...3.3..l...... +...3.........3c +.......3..<.b.. +3..3....+..... +.....-j........ +...?....?...?.. +.....c...-p...g +...........c... +............... +............... +............... +............... +............... diff --git a/project/jni/application/lbreakout2/client/levels/Hommage b/project/jni/application/lbreakout2/client/levels/Hommage new file mode 100644 index 000000000..91924d8bb --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Hommage @@ -0,0 +1,820 @@ +Level: +anchois +shoot +Bricks: +hh............ +hh............ +.....ggg...... +...gggggg.g... +..gggjjjgggg.. +.ggjjkkkjjjggg +ggjkkjjjkkkjjg +gjkjjjajaajkkj +gjkjajjjjjajkj +jkajjjajjjjakj +gjkkkjjjkjkkjg +ggjjjkkkjkjjgg +gggggjjjgkgggg +.gggggggggggg. +.....gggggg... +.............. +.............. +.............. +Bonus: +55............ +55............ +.............. +.............. +.............. +......?....... +....?..g.?.... +......5.55.?.. +....5.....5.?. +.?5b..5b...5b. +..w?..wm...?w. +...s.?.?.?.... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +anchois +Loook out !!! +Bricks: +.............. +.....f.f...... +.....fff...... +.....feff..... +....f.e....dd. +......e...deed +gggghhehhhgggg +ggghhhehhhggag +ggghhhhhhggaag +ggggghhhgggggg +gggggggggggggg +#!!!#!!!!#!!!# +.***.****.***. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.....lwmb..... +....b.w....... +......w....55. +.?..44w444.... +.?.444w444..?. +...>4444>..??. +.....444...... +.+b-.-s.-..b+. +5...5....5...5 +.............. +.............. +.............. +.............. +.............. +.............. +Level: +anchois +I see dead people ... +Bricks: +...kkk......aa +a.kkjjk...a.aa +aakjjjkk.aacc. +..kvjvjkaaaac. +..kjjjjk.aacc. +..kjjjjk...... +..kjjjjk...... +..kjjjjjk..... +..kj..jjk..... +..k.dd.jk..... +..kjddjjk...bb +..kjjjjka..abb +.kkkkkkk.ab.bb +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +...........bb. +...d.d......m. +...........bb. +.............. +.............. +...00000...... +...0..00...... +..0.bb.0...... +..~~bb~~~...33 +..0d~0~0~...55 +.~~~0~~~..~.33 +.............. +.............. +.............. +.............. +.............. +Level: +anchois +Wind catcher +Bricks: +aaaaaaaaaaaaaa +a.aaaa.aaaaaaa +..aaa...aaa.aa +..aaa...aaa.aa +...aa...aa...a +...aa...aa.... +...a....a..... +........!..... +...!.......... +.............. +........!..... +...ggggggg.... +.ggvvvvvvvgg.. +gvvvvvvv!vvvg. +gvv!vvvvvvvvvg +.gvvvvvvvvvvg. +..ggvvvvvvvg.. +....ggggggg... +Bonus: +......m....... +b....b.....b.. +....>.....>... +.............. +.............. +.............. +.............. +........2..... +...2.......... +.............. +........2..... +.............. +.............. +........2..... +...2.......... +.............. +.............. +.............. +Level: +anchois +Rick Dangerous +Bricks: +aaaaaaaaaa#### +..aa.aa.a.#... +...a..a...#.hh +f.........#*hh +ff........aaaa +f*........a.aa +ffffffffe....a +effffffff..... +........e..... +e............f +........e...ff +e..........fff +..ffffffefffff +e.ffffffffffff +.............. +e............. +ffffffffffffff +efffffffffffff +Bonus: +.............. +.............. +...f..f.....11 +...........g11 +.............. +.............. +..b........... +.............. +.............. +.............. +.............. +............b. +..c...b....... +.............. +.............. +.............. +......-....-.. +w...+...-..... +Level: +anchois +Test Drive +Bricks: +...f...a..e... +..fef.aha.e... +...e..aka..... +...e.aahaa..f. +.....akkka.f.f +f.f..akhka..e. +.f..aakhkaa.e. +fef.akkkkka.e. +.e..akkhkka... +.e.aakkhkkaa.. +.e.akkkkkkka.. +...akkkhkkka.. +..aakkkhkkkaa. +..akkkkkkkkka. +..akkkkhkkkka. +..akkkkhkkkka. +.akkkkkkkkkkka +aakkkkkhkkkkka +Bonus: +.............. +..+.+..l...... +.............. +.......2...... +.......?...+.+ +.......2...... +.......2...... ++.+...>?g..... +......>2>..... +.w.....2...... +.............. +.......2...... +.......2...... +.............. +....b..2..b... +......-2.-.... +.......c...... +.....??2??.... +Level: +anchois +Invaders +Bricks: +.....!!!!..... +......**...... +.............. +d.d.d.d.d.d.d. +.g.g.g.g.g.g.g +f.f.f.f.f.f.f. +.h.h.h.h.h.h.h +d.d.d.d.d.d.d. +.g.g.g.g.g.g.g +f.f.f.f.f.f.f. +iiiiiiiiiiiiii +.............. +.............. +.............. +a...a..a..a..a +caaacaacaacaac +.............. +.............. +Bonus: +.....5555..... +.............. +.............. +p.p.p.p.p.p.p. +.............. +..3.........3. +.....3.m.3.... +....g.....g... +.3...........3 +?.?.?.?.?.?.?. +b..b..b..b..b. +.............. +.............. +.............. +.............. +.1++w++5++w++1 +.............. +.............. +Level: +anchois +Welcome into the Matrix +Bricks: +..hh.hhhh.hh.. +##gg#gggg#gg## +.g!*.*!!*.*!g. +..!*.*!!*.*!.. +.g!*.*!!*.*!g. +..!*.*!!*.*!.. +.g!*.*!!*.*!g. +..!*.*!!*.*!.. +.g!*.*!!*.*!g. +..!*.*!!*.*!.. +.g!*.*!!*.*!g. +..!*.*!!*.*!.. +c...*.**.*...c +c.....cc.....c +.cc........cc. +.............. +.............. +.............. +Bonus: +..11.1111.11.. +.............. +......lm...... +......j....... +.............. +.............. +.b..........b. +.............. +.............. +.............. +.......g...... +.............. +.............. +......??...... +.>f........>f. +.............. +.............. +.............. +Level: +anchois +Sonic +Bricks: +.cbbbbcc...... +cb.h.hbc...... +cb....bbc..... +b......bc..... +b.....hbc..... +bh.....bc..ggg +b.....bc..gg.. +cb....bc..gggg +cb..hbc...ggg. +.bh.ach.h..gj. +hcbbac......d. +aaabbbbbbbbbbb +.............. +##..........## +ffffffffffffff +.............. +.............. +.............. +Bonus: +....m......... +.b.2.2b....... +.............. +b......b...... +......2....... +.2.....b...>>> +b.........l>.. +.b........>>>> +....2bb...>>>. +.b2..b2.2..>b. +2bb.b......... +..>-b-b-->---- +.............. +.............. +00000000000000 +.............. +.............. +.............. +Level: +anchois +drop dead +Bricks: +.........h.hhh +..........h.hh +.aa........h.h +..a.......h..h +..a!........h. +.a............ +eaee.........h +eee........... +eee........... +eee........... +ee............ +ee............ +ee............ +e.a..g...a.g.. +e.aag..gaa.gg. +eggggggggggggg +eggggggggggggg +....ggg.gggg.. +Bonus: +.........5.5.5 +..........m.5. +...........5.. +..........w..5 +...g........5. +.............. +...l.........5 +.............. +..b........... +?b............ +.?............ +.............. +.c............ +.............. +.......>...>.. +.+.f?..?..?+?. +..?..?>.?....> +..........f... +Level: +anchois +I know what you did... +Bricks: +dddd.......ddd +ddd..ccc...ddd +dd..caaac...dd +dd.ca..ac...dd +dd.ca...ac...d +d.ca....aceeee +d.ca....acceee +d.cd....aaaeee +d..dd...ccceee +...dd.....eeee +d...dd.......d +d....dd......d +.d............ +......d......d +d............. +.............. +.d...........d +......d....... +Bonus: +11............ +1.....m.....1. +1....5w5...... +.1..b..b....1. +.1...........1 +1.........1... +...>.......1.1 +1...........1. +....c.......-. +...........-g- +1...+c........ +1.....>......1 +.............. +......1......1 +.............. +.............. +.............. +.............. +Level: +anchois +xenon II +Bricks: +e**edehhede**e +e..ede!!ede.be +eb.edehhede..e +e..#ddeedd#b.e +e..#.dddd.#..e +e.b#.dddd.#.be +e..#.d..d.#..e +e..#..d.d.#b.e +eb.#e..d..#..e +e...e.....e.be +e...e.....e..e +ee..e....ee..e +.e..e....e..ee +.e...e..ee..e. +.ee..e..e...e. +...e.......e.. +.............. +.............. +Bonus: +.....f44f..... +.....f55f...>. +.>...f44f..... +......ff...>.. +.............. +..c...bb....c. +.....-..-..... +......-.-..>.. +.>..b..-...... +..........b.>. +.............. +b........g.... +.+..+....+..+. +.....w........ +.............. +.............. +.............. +.............. +Level: +anchois +slow or fast ? +Bricks: +hhhhhcgggchhhh +h...cc...cc..h +hv..cgg.ggc.vh +h..cc.....cc.h +h..cgg...ggc.h +h.cc.......cch +h.cgg.!!!.ggch +hcc...***...cc +hcgg.......ggc +ccdddddddddddc +cgg.........gc +ceeeeeeeeeeeee +ggvvvvvvvvvvgg +.............. +gggggggggggggg +hhhhhhhhhhhhhh +.............. +ffffffffffffff +Bonus: +00000..w..0000 +....1.....1... +.m..1.....1.m. +....1.....1... +....<<...<<... +.............. +<...b.>>>.b.<< +......>>>..... +...........<<. +....w....w.... +.<<.........<< +..-+-+-.+-+-.. +<><>>>>><>>><> +11111111111111 +.............. +><><><><><><>< +Level: +anchois +aziz light !! +Bricks: +.............. +..h.h.h..h.... +...h.h.hh.h... +..h.hhhh.h.... +.#.h#hhhh....j +.jjhhh#hh.j#jf +.fffhhhhhfffff +ffff#hhhffffff +ffffffffffffff +cccccccccccccc +..........#... +#.#........... +gggggggggggggg +gggg*****gggg# +gggggggggggggg +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.5..5mm......1 +.11.ww5ww.151? +.???.....????? +????5...?????? +??w?fbfb5??w?? +dddg?dcd?gdddd +..........5... +5.5........... +dddddddddddddd +...ddddddj...5 +000+5w55w+0000 +.............. +.............. +.............. +Level: +anchois +You wanna play god ? +Bricks: +.............. +############## +#............# +#............# +#c.########..# +#..#c..hhh#..# +#..#...hhh#..# +#.c#...hhh#..# +#..#.c#hhh#..# +#..#..#hhh#..# +#c.#..#####..# +#..#c......... +#.c#.......... +#..########### +#c.....fffffff +#......fffffff +#######....... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.......111.... +.......111.... +.......m11.... +.......111.... +.......11m.... +......00000... +.............. +.............. +.......0000000 +.........b...b +........+..+.. +.............. +.............. +Level: +anchois +freeze !! +Bricks: +...hh......... +...hh...j..... +.......jj..... +.......jjj.... +......jjjj.... +..j...jjjjj... +.jjj..jjjjjj.j +jjjj.gjjjjjgjj +ggjjggggjggggj +gggggggggggggg +gggggggggggggg +.............. +.g#g..gg#g..g# +.............. +#gggg#ggggg#gg +gggggggggggggg +.............. +.............. +Bonus: +...55......... +...55...l..... +.............. +.............. +.............. +.............. +.2....22222..2 +ff22.2fffff2f2 +44ff2.44f44.4f +........2..... +.............. +.............. +.w.b..+f.f..b. +.............. +..f.f.f.f.f.f. +.f.f.f.f.f.f.f +.............. +.............. +Level: +anchois +Insane +Bricks: +......dd...... +.....deed..... +...a.deed.a... +..a..deed..a.. +..a..deed..a.. +.a...deed...a. +.a...deed...a. +a....deed....a +.a...deed...a. +.a....dd....a. +..a...dd...a.. +..a........a.. +...a..dd..a... +......dd...... +.............. +.............. +vvvvvvvvvvvvvv +kkkkkkkkkkkkkk +Bonus: +......md...... +.....>ll>..... +...+.>33>.+... +..?..>33>..d.. +..d..>33>..?.. +.-...>33>...-. +.-...>33>...-. +-....>33>....- +.-...b33b...-. +.-....--....-. +..-...--...-.. +..~........~.. +...~..~~..~... +......~~...... +.............. +.............. +b--b---b---b-b +>>>>>>>>>>>>>> +Level: +anchois +Insane II +Bricks: +.............. +.............. +...dd....dd... +..deed..deed.. +..deed..deed.. +..deed..deed.. +..deed..deed.. +..deed..deed.. +..deed..deed.. +...dd....dd... +.............. +...dd....dd... +...dd....dd... +.............. +.............. +.............. +vvvvvvvvvvvvvv +kkkkkkkkkkkkkk +Bonus: +.............. +.............. +...>>....>>... +..dddd..dddd.. +..dbbd..dbbd.. +..d??d..d~~d.. +..d??d..d~~d.. +..d??d..d~~d.. +..d??d..d~~d.. +...>>....>>... +.............. +...m>....m>... +...>>....>>... +.............. +.............. +.............. +dbd>>dbd>ddbdd +>>>>d>>>d>>d>> +Level: +anchois +Insane III +Bricks: +e..e..d....... +ee.e.d!d...... +e.ee.d!d...... +e..e.dd....... +e...........ee +......e..ddde. +.d.d.e!e.d.dee +.ddd.e!e.dd.e. +.d.d.ee..d..ee +.d............ +.............. +.............. +gggg.ggggg.ggg +g..g.g...g.g.. +cccccccccccccc +vvvvvvvvvvvvvv +kkkkkkkkkkkkkk +kvvkkvvkvkvvkv +Bonus: +>..~..~....... +>~.~.~l~...... +~.>>.~l~...... +~..~.~~....... +~...........33 +......3..~>>3. +.~.>.3l3.-.-33 +.>>-.3l3.>-.3. +.~.-.33..>..33 +.~............ +.............. +.............. +0000.00000.000 +0..0.0...0.0.. +>>>>>>>>>>>>>> +55cccccccccccc +ffff-ff-f-ffff +>>>c55c>>>>c>> +Level: +anchois +Final cut +Bricks: +.aaaaaaaaaaaa. +.aaaaaaaaaaaa. +.aacccaaaaaaa. +.aacacaaaacca. +.aacccaaaacaa. +.aacacacaccca. +.aacccaacacaa. +.aaaaaaacacca. +.aaaaaaacaaaa. +.############. +.#jaajaajaaja. +.#ajaajaajaaj. +.#jaajaajaaja. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.m.555........ +...5.5....55.. +...555....5... +...5.5.5.555.. +.m.555..5.5... +........5.55.. +........5..... +.............. +..-dd-dd-dd-d. +..d-dd-dd-dd-. +..b-db-db-dbd. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Impossibility b/project/jni/application/lbreakout2/client/levels/Impossibility new file mode 100644 index 000000000..5c3436d2c --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Impossibility @@ -0,0 +1,411 @@ +Version: 1.00 +Level: +Mike Quinn +Re-Greening +Bricks: +.............. +gggggggggggggg +gggggggggggggg +gggggggggggggg +gggggggggggggg +yEEEyyyyyyEEEy +yE*EyyyyyyE*Ey +yyyyyyyyyyyyyy +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +bcccacccbcccac +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +zzzzzzzzzzzzzz +zz*zzzzzzzz*zz +zzzzzzzzzzzzzz +Bonus: +.............. +g.0.-+........ +.b.+..c?-b-s.0 +..--+b......s. +-.w..jp.--s... +.222...+..222. +.232..b.?.232. +.W..+........0 +....b..b....0. +..+..+0+.b.s.! +&............. +..W0.?m.0.?... +?.......c..?.s +.0b.l..b+..b.. +.....f...+s.0. +.>-2{..w.+..0... +Level: +Mike Quinn +Trap +Bricks: +.............. +.#####..#####. +.kkkkkvvkkkkk. +.#####..#####. +.jjjjz..zjjjj. +.#####..#####. +.iiiiivviiiii. +.#####..#####. +.eeeec..ceeee. +.@@@@@..@@@@@. +.dddddvvddddd. +.#####..#####. +.hhhhz..zhhhh. +.EEEEE..EEEEE. +.gggggvvggggg. +.#####..#####. +.ffffz..zffff. +.#####..#####. +Bonus: +.............. +.............. +...5..11..5... +.............. +...4.+..w.4... +.............. +...3..>-..3... +.............. +...2.b..W.2... +.............. +...2........c...>. +..+...>....-.. +d..>.+..>.s.~. +......w....... +-.~.w<.c...f.> +.............. +.............. +.2.2.....2.2.. +.............. +.g.?.....+.?.. +..w.......l... +..4.......4... +1...?......... +..p......<.s.. +........w..... +.............. +.............. +.............. +Level: +Mike Quinn +Tight Squeeze +Bricks: +.............. +.@.@.@.@.@.@.@ +.@c@.@c@.@c@.c +.@@@.@@@.@@@.@ +.............. +.@.@.@.@.@.@.@ +.@c@.@c@.@c@.c +.@@@.@@@.@@@.@ +.............. +.@@@.@@@.@@@.@ +.@c...c@.@c@.b +.@@@.@@@.@.@.@ +.............. +.@@@.@@@.@.@.@ +..c@.@c..@c@.z +.@@@.@@@.@@@.@ +.............. +.............. +Bonus: +.............. +.............. +......s......2 +.............. +.............. +.............. +..........w... +.............. +.............. +.............. +..l........... +......-....... +.............. +.............. +..g.......+..3 +.............. +.............. +.............. +Level: +Mike Quinn +Checker +Bricks: +.c.c.c.c.c.c.c +.E.E.E.E.E.E.E +c.c.c.c.c.c.c. +E.E.E.E.E.E.E. +.c.c.c.c.c.c.c +.E.E.E.E.E.E.E +c.c.c.c.c.c.c. +E.E.E.E.E.E.E. +.z.c.z.c.z.c.z +.E.E.E.E.E.E.E +z.z.z.z.z.z.z. +E.E.E.E.E.E.E. +.z.z.z.z.z.z.z +.E.E.E.E.E.E.E +z.z.z.z.z.z.z. +E.E.E.E.E.E.E. +.z.z.z.z.z.z.z +.E.E.E.E.E.E.E +Bonus: +...p.b.....+.s +.............. +&.....-.b..... +.............. +.?.b.f...d.>.+ +.............. +..w...j....... +.............. +.3...2...3.-.2 +.............. +..+...p...+.b. +.............. +.*...W...<...l +.............. +..>...+.b.s... +.............. +.+.b.-...?...w +.............. +Level: +Mike Quinn +Crevices +Bricks: +.............. +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +@zEzEzEzEzEzEz +.............. +.............. +Bonus: +.............. +.............. +.3.<.l.g.l.b.3 +.............. +.<.d.W.c.>.w.l +.............. +.?.>.*.2.<.b.1 +.............. +.0.-.j.>.b.s.? +.............. +.p.+.+.b.c.d.+ +.............. +.s.~.&.w.?.&.- +.............. +.{.w.f.s.}.<.? +.............. +.............. +.............. +Level: +Mike Quinn +Pit +Bricks: +v.v.v.v.v.v.v. +.............. +.v.v.v.v.v.v.v +..@@@@..@@@@.. +v.@zzzzzzzz@v. +..@zzzzzzzz@.. +.v@zzzzzzzz@.v +..@zzzzzzzz@.. +v.@zzzzzzzz@v. +..@zzzzzzzz@.. +.v@zzzzzzzz@.v +..@zzzzzzzz@.. +v.@zzzzzzzz@v. +..@zzzzzzzz@.. +.v@zzzzzzzz@.v +..@zzzzzzzz@.. +v.@zzzzzzzz@v. +..@@@@@@@@@@.. +Bonus: +d.....b.....+. +.............. +...2.....c.... +.............. +p...b.<.&.s.~. +.............. +....f.?.j.1... +.............. +?...d.>.+.l.?. +.............. +....f.3.?.b..w +.............. +>...s.+.-.{.+. +.............. +....&.W.g.c... +.............. +w...l.b.?.w.-. +.............. +Level: +Mike Quinn +GreenAgain +Bricks: +..@@@@@@@@@@.. +.@@zzzzzzzz@@. +.@zzzzzzzzzz@. +.@zzzzzzzzzz@. +.@zzzzzzzzzz@. +@@zzzzzzzzzz@@ +@zzz@@@@@@zzz@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +@@@@@@zz@@@@@@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +@zzz@@@@@@zzz@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +Bonus: +.............. +......2....... +....fl..-<.2.. +...w.>.b...... +...?-.W.+.s... +.........>.... +...+.......0.. +..<..+.w.f.<.. +.0.>....W.s.+. +....<.<....... +.............. +......f>....>. +...b-s.<.b..s. +.-.......>b.. +....b..-....f. +.0-..f+.sw.>.. +...s..<....... +Level: +Mike Quinn +BeatThis +Bricks: +.zccccccccccz. +.@@@@@@@@@@@@. +.zzcczzzzcczz. +.@@@@@zz@@@@@. +.zzzcc@@cczzz. +.@@@@zzzz@@@@. +.zzzz@zz@zzzz. +.@@@cc@@cc@@@. +.zzz@zzzz@zzz. +.@@zz@zz@zz@@. +.zz@cc@@cc@zz. +.@zz@zzzz@zz@. +..@zz@zz@zz@.. +...@cc@@cc@... +....@zzzz@.... +.....@@@@..... +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Invisible b/project/jni/application/lbreakout2/client/levels/Invisible new file mode 100644 index 000000000..6904cf70a --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/IoriYagami b/project/jni/application/lbreakout2/client/levels/IoriYagami new file mode 100644 index 000000000..73ae33e4a --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/IoriYagami @@ -0,0 +1,575 @@ +Version: 1.00 +Level: +Ukog-Nos Takeuchi +Tengu +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +wwwwwwwwwwwwww +wwwwwjwwpwwwww +wwwwjwjpwpwwww +wwwjwwpjwwpwww +wwjwwpwwjwwpww +wjwwpwwwwjwwpw +wwjpwwwwwwjpww +wwpjwwwwwwpjww +wpwwjwwwwpwwjw +wwpwwjwwpwwjww +wwwpwwjpwwjwww +wwwwpwpjwjwwww +wwwwwpwwjwwwww +wwwwwwwwwwwwww +wwwwwwwwwwwwww +wwwwwwwwwwwwww +wwwwwwwwwwwwww +wwwwwwwwwwwwww +Level: +Ukog-Nos Takeuchi +Der Gouki +Bricks: +.............. +.zzzzzzzzzzzz. +.z!!v!!!v!!!z. +.z*!v!*!v!*!z. +.z!!!!!!!!!!z. +.zv!*!v!*!vvz. +.z!!!!!!!!!!z. +.z*!v!*!v!*!z. +.z!!!!!!!!!!z. +.zv!*!v!*!vvz. +.z!!!!!!!!!!z. +.z*!v!*!v!*!z. +.z!!!!!!!!!!z. +.zv!*!v!*!vvz. +.z!!!!!!!!!!z. +.z*!v!*!v!*!z. +.zzzzzzzzzzzz. +.............. +Bonus: +.............. +.............. +....*...*..... +....*...*..... +.............. +..*...*...**.. +.............. +....*...*..... +.............. +..*...*...**.. +.............. +....*...*..... +.............. +..*...*...**.. +.............. +....*...*..... +.............. +.............. +Level: +Ukog-Nos Takeuchi +BMX XXX +Bricks: +@@@@@@@@@@@@@@ +@*gggggggggg*@ +@g@@@@@@@@@@g@ +@g@*cccccc*@g@ +@g@c@@@@@@c@g@ +@g@c@*zz*@c@g@ +@g@c@z@@z@c@g@ +@g@c@z@@z@c@g@ +@g@c@z@@z@c@g@ +@g@c@z@@z@c@g@ +@g@c@z@@z@c@g@ +@g@c@z*@z@c@g@ +@g@c@@zz*@c@g@ +@g@c*@@@@@c@g@ +@g@@cccccc*@g@ +@g*@@@@@@@@@g@ +@@gggggggggg*@ +*@@@@@@@@@@@@@ +Bonus: +jmmmmmmmmmmmmj +mmmmmmmmmmmmmm +mmjmmmmmmmmjmm +mmmmmmmmmmmmmm +mmmmjmmmmjmmmm +mmmmmmmmmmmmmm +mmmmmmjjmmmmmm +mmmmmmmmmmmmmm +mmmmmmmmmmmmmm +mmmmmmmmmmmmmm +mmmmmmmmmmmmmm +mmmmmmjjmmmmmm +mmmmmmmmmmmmmm +mmmmjmmmmjmmmm +mmmmmmmmmmmmmm +mmjmmmmmmmmjmm +mmmmmmmmmmmmmm +mmmmmmmmmmmmmj +Level: +Ukog-Nos Takeuchi +GONGhead +Bricks: +.....d...dd... +....dd...dd... +...dd.d.ddd... +...d..d.d..d.. +....ddd.ddd... +...d.dd.d.dd.. +...dd.d.dddd.. +...dd.d.dd.d.. +.............. +......d....... +.....ddd...... +......d....... +.....ddd...... +......d.d..... +.......d...... +.....dd....... +....dd.dd..... +...dd....dd... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....??....... +....??.??..... +...??....??... +Level: +Ukog-Nos Takeuchi +Afrocalypse now! +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +Bonus: +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +>>>>>>>>>>>>>> +++++++++++++++ +Level: +Ukog-Nos Takeuchi +Suchst du was bestimmtes +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......v....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: + +DerPups@arschgas.de +Bricks: +@jjj.......... +jj@jjjj....... +.jj@j@jjj..... +..jjjjj@jjj... +......jjj@j... +.jjjjjjj@jj... +jj@@jj@jjj.... +j@jjjjjj...... +j@jjjj........ +jjj@@j.jjjjj.. +..jjjjjj@j@jj. +..jj@j@jjjj@j. +..j@jjjjj@@jj. +..j@jjj.jjjj.. +..jjj@jjjj.... +....jjjj@j.... +.......j@j.... +.......jjj.... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.......ggg.... +Level: +Ukog-Nos Takeuchi +Error Inside ____ 1+1=3? +Bricks: +.............. +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +.zzzzzzzzzzzzz +Bonus: +.............. +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +.????????????? +Level: +Ukog-Nos Takeuchi +It's hip to be a square +Bricks: +##defghijkd### +##defghijkd### +##kdefghije### +##kdefghije### +##jkdefghkf### +##jkdefghkf### +##ijkdefidg### +##ijkdefidg### +##hijk!gjeh### +##hijk!gjeh### +##ghijihkfi### +##ghijihkfi### +##fghgfedgj### +##fghgfedgj### +##efedkjihk### +##efedkjihk### +##dkjihgfed### +##dkjihgfed### +Bonus: +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +..555555555... +Level: +Ukog-Nos Takeuchi +Orega kowai no ka? +Bricks: +.............. +EEEEEEEEEEEEEE +@iEiEi.......E +@.E.EEE.E.EE.E +@.E.Ei..E.E..E +@.E.EEEEE.E.EE +@.E.......E.iE +@.E.EEE.EEEEEE +@.E.Ei.......E +@.E.EEE.EEEE.E +@.E..iE.Ei...E +@.EEEEE.@@@@@@ +@.Ei.........@ +@.EEEEE.@@@@.@ +@.Ei....@i...@ +E.EEEEEEEEEE.@ +E............@ +E.EEEEEEEEEEE@ +Bonus: +.............. +.............. +.l.l.l........ +.............. +.....l........ +.............. +............l. +.............. +.....l........ +.............. +.....l...l.... +.............. +...l.......... +.............. +...l.....l.... +.............. +.............. +.............. +Level: +Ukog-Nos Takeuchi +Sylvester-Stallone +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*EE*E.... +.....E**E..... +.....E**E..... +....E*EE*E.... +...E*EddE*E... +...E*EeeE*E... +..E*EhhhhE*E.. +.E*EffffffE*E. +E*EggggggggE*E +E*EiiiiiiiiE*E +*E..........E* +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Ukog-Nos Takeuchi +Die Gadouken +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +EEEEEEEEEEEEEv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vEEEEEEEEEEEEE +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +EEEEEEEEEEEEEv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vEEEEEEEEEEEEE +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +EEEEEEEEEEEEEv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vEEEEEEEEEEEEE +Bonus: +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +.............m +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +m............. +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +.............m +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +m............. +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +.............m +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +m............. +Level: +Ukog-Nos Takeuchi +Die Kohryuuken +Bricks: +vvvEvvvEvvvEvv +vvvEvvvEvvvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvEvEvEvEvEvv +vEvvvEvvvEvvvv +vEvvvEvvvEvvvv +vEEEEEEEEEEEEE +Bonus: +bmb.bmb.bmb.bb +bmb.bmb.bmb.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.b.b.b.b.b.bb +b.bmb.bmb.bmbb +b.bmb.bmb.bmbb +m............. +Level: +Ukog-Nos Takeuchi +DROGENKONSUM +Bricks: +************** +.............. +.************. +.............. +..**********.. +.............. +...********... +.............. +....******.... +.............. +.....****..... +.............. +......**...... +.............. +.....****..... +.............. +....******.... +.............. +Bonus: +f>c~Wf>c~Wf>c~ +.............. +.~Wf>c~Wf>c~W. +.............. +..~Wf>c~Wf>c.. +.............. +...f>c~Wf>c... +.............. +....Wf>c~W.... +.............. +.....f>c~..... +.............. +......~W...... +.............. +.....-f>c..... +.............. +....{{{{{{.... +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Iris b/project/jni/application/lbreakout2/client/levels/Iris new file mode 100644 index 000000000..15ec408d3 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Iris @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +John van Hooff +Surprise +Bricks: +....k....k.... +....k.jj.k.... +fdddk.##.k..df +@...k##*#...d@ +@...#.#....d.@ +......#...dd.. +.b....@....... +..bb..@..b.... +.i.b..#.b...i. +@i....#.....i@ +@i......b...i@ +.i..........i. +##ee.....eee## +....#####..... +.............. +.............. +.............. +.............. +Bonus: +....4......... +......5..m.... +5230.....c...4 +....3.......2. +...........g.. +..........2... +.p............ +..w........... +.2.2....*...2. +............3. +............j. +.3..........+. +..00.....00-.. +.............. +.............. +.............. +.............. +.............. +Level: +John van Hooff +CooL +Bricks: +.............. +!.*........*.! +.EE@E.ii.E@EE. +.............. +..##..@@..##.. +.............. +@.!........!.@ +@............@ +@............@ +@............@ +....!....!.... +.............. +vvvvv....vvvvv +..y........y.. +....k....k.... +..zz..@@..zz.. +.............. +.............. +Bonus: +5*..........m5 +.............. +2.....dc.....2 +.............. +.............. +..g........g.. +.1.0......0.1. +..1........1.. +.............. +.............. +...j2....2j... +.............. +fc-<>....<>+?f +.............. +.............. +..>+......->.. +.............. +.............. +Level: +John van Hooff +Santa Claus +Bricks: +.h........d... +hgh......ddd.. +.g.......jjdd. +g..dd....eejd. +EE.hd...egejd. +..dd...eeeejd. +..dd....eee..d +.ddd.f...edd.. +.ddd.fd.jjdd.. +####x.djddddd. +#za#x..dddd.df +#ah#x...dhd..f +#hb#x...d.d... +#hb#x...d.d... +#hh#x..dd.dd.. +#ee#x.dd...dd. +#ii#x.d.....d. +cccc.kk....kk. +Bonus: +.............. +m*W.......4... +.........&b2.. +5..0........&. +....0....54}c. +..&.....{<2.*. +..2s....2....p +.c.2.....4?4.. +.50}.2..lw.... +....p..4W!1!4. +.5..c....4..W2 +.0f.0...?.W..? +.-W.....{.1... +.?0.0.....c... +.......<1..+.. +..?...+>...~.. +............s. +Wjf...-....-f. +Level: +John van Hooff +Wild live +Bricks: +.........ff..! +....!...f.ef.. +..d....ffe.f## +.ddd..ff.e.ff. +.dd...f...e..f +.dd..fe..g...f +ddd.ff.eggg.ff +ddd..f..ghg.f. +.ddd.f.fgggff. +.ddd...egggf.@ +.ddd..f.eg.f.. +aaddae!.eeee.! +...d.e..eee... +....de...eee.. +c.!..e..eee... +.....e..eeee.. +bbaccffeeeeeee +ccabbff.eyyeee +Bonus: +.............. +...........?.. +.......5.}.... +.22&.......&4. +.<}...g....... +.........d.... +>.j..d..5.f.4. +.g...5...m..4. +..?..f....j.4. +.f33....5..g.. +.........w.... +.............. +........&50... +....<....>0... +d........?0... +.........s.0.. +-f+.....+..<+. +....f........f +Level: +John van Hooff +Like a Snake +Bricks: +.............. +.fffff...ffff. +feeeeef.eeeeef +feeeeef.eeeeef +fefffef.efffef +fef.fef.ef.fef +fef.fef.ef.fef +eee.fef.ef.fef +eee.feeeef..f. +eee..feeef.... +.d....fff..... +.d...........@ +.d...g....z..@ +d.d.g.g....g.@ +............g. +.............. +...vdyvyvc.... +iii.......iiii +Bonus: +.............. +.2.5.....5?... +4..g2...&..2.. +m.1?..2...g.j. +&1...s2..d.p.4 +....dlf.c....f +..j..12..3.?b4 +.~1.<.2.1..... +1...b1......<. +d3.....1.1.... +........~..... +.............. +.?...1........ +0.0...+....1.. +............?. +.............. +...<.-.f+..... +f>+.......-.f. +Level: +John van Hooff +Cold World +Bricks: +..jj......jj.. +!....*..*....! +.####....####. +gggggg!!gggggg +gggggggggggggg +.............. +kkkkkkkkkkkkkk +cccccccccccccc +EggggggggggggE +ggg!gggggg!ggg +j............j +!.jjjjjjjjjj.! +zzzzcccccczzzz +gggggggggggggg +gggggggggggggg +cccccccccccccc +!.!.!.!!.!.!.! +.............. +Bonus: +m.5........5.m +.............. +.............. +..4.......4... +*............* +.............. +..g...WW.g.... +.d.j000000j.d. +.f.f.f.f..f.f. +f.f.f.f.f..f.f +W............W +...~wl~~lw~... +p.2..2..2..2.p +f.f.f.f.f.f.f. +.f.f.f.f.f.f.f +b.+<>-...-><+b +.?.w.pw.p.w.?. +.............. +Level: +John van Hooff +Darkness +Bricks: +!............! +.v....vv....v. +..v...vv...v.. +...v..vv..v... +....v....v.... +.....v..v..... +......vv...... +......vv...... +......vv...... +.....v..v..... +....v....v.... +...v..vv..v... +..v...vv...v.. +.v....vv....v. +v.....vv.....v +.v..........v. +vvvvvvvvvvvvvv +jjjjjjjjjjjjjj +Bonus: +.............. +......55...... +.............. +...j......j... +.............. +.....d..d..... +.............. +......**...... +......22...... +.............. +....f....f.... +......}{...... +......dd...... +......ff...... +f............f +.+..........+. +dddddddddddddd +************** +Level: +John van Hooff +Wisdom +Bricks: +.....d..d..... +......dd...... +.....dhhd..... +.....dddd..... +.....d@@d..... +......dd...... +.....dddd..... +....vddddv.... +EEE.dddddd.EEE +...vddddddv... +...#dddddd#... +...#dddddd#... +...#dddddd#... +f...dddddd...f +.f...dddd...f. +..f...dd...f.. +...fffddfff... +cccczzzzzzcccc +Bonus: +.............. +.............. +.......l...... +......5.4..... +.............. +.............. +.............. +......1*...... +.....pW.3..... +...j3.1..3j... +.....*.3...... +....1...p..... +.....3.1W*.... +0............0 +.{...-1.-...}. +..0....3...0.. +.....+..+..... +.0.f1....1f.0. +Level: +John van Hooff +Christmas Tree +Bricks: +...@..e..@@... +......e....... +E#....f.....#E +i#...hfh....#i +i#....f.....#i +.#...f*f....#. +.#..hfffh...#. +.#...*#*....#. +....ff#ff..... +...hff#ffh.... +@...f*#*f....@ +...fffffff.... +..hfffffffh... +...f*fff*f.... +..fffffffff... +vhffffdffffhvv +.v.fvvdvvf.v.. +vv...ddd...vvv +Bonus: +.............. +......5....... +.............. +.....0l0...... +......f....... +.............. +....0.m.0..... +.............. +.....1.1...... +...0..?..0.... +.............. +...fwg.gwf.... +..0.d?j?d.0... +......2....... +...2..{..2.... +.0.+-...-+.0.. +.............. +........... +Level: +John van Hooff +Birthday Party +Bricks: +.............. +......hh...... +.h.h..ii..h.h. +.i.i..**..i.i. +.i.*..ii..*.i. +.i.i..ii..i.i. +.i.i..ii..i.i. +.i.i..ii..i.i. +.zzzzzzzzzzzz. +.c**********c. +.dddddddddddd. +.gggggggggggg. +.ff********ff. +.jjjjjjjjjjjj. +.eeeeeeeeeeee. +......v....... +vvvvvv.vvvvvvv +cccccc.ccccccc +Bonus: +.............. +......55...... +.0.0......0.0. +.............. +.s..........l. +......gj...... +.0.0..!m..0.0. +.............. +...d.....d.... +...{......{... +...~f~f~f~f... +.&1111111111&. +.............. +..f.0.0.0..f.. +...+.fpwf.+... +.............. +.ff*f!.!.f*ff. +><.+......+.<> +Level: +John van Hooff +Iridescene +Bricks: +@@#iiihiii#@@@ +cc#jih*hij#jjj +ii#jhggghj#iii +jj#hgzzzgh#bbb +EE###EEE###EEE +hhhhhhhhhhhhhh +hhhhhh**hhhhhh +iiiii*vv*iiiii +iiiii*vv*iiiii +jjjjj*vv*jjjjj +ggggg*vv*ggggg +ffffff**ffffff +ffffffffffffff +dddddddddddddd +dddddddddddddd +eeeeeeeeeeeeee +eeeeeeeeeeeeee +kkkkkkkkkkkkkk +Bonus: +.....555...... +.............. +....11111..... +.............. +.............. +.............. +.111.j..j..mm. +..g...ff....ff +-----.ff.gff.. +......ff.----- +.mm!..ff..!... +ff............ +..ffWWWWW000.. +.}{........{}. +....??????.... +.+++.0000.+++. +....bbbbbbbbbb +wwwwwwwwwwwwww +Level: +John van Hooff +Sand-glass +Bricks: +.............. +.............. +...EdddddddE.. +...EdddddddE.. +....EdddddE... +....EdddddE... +.....EdddE.... +.....EdddE.... +......@e@..... +......@e@..... +.....E*e*E.... +.....EhhhE.... +....EhhhhhE... +....EhhhhhE... +...EhhhhhhhE.. +...EhhhhhhhE.. +...*hhhhhhh*.. +..EE#######EE. +Bonus: +.............. +.............. +....m*.*.*m... +......1.1..... +......*m*..... +.....0c.c0.... +......f.f..... +.......0...... +.......m...... +.......1...... +.......1...... +.......!...... +.....+jmj+.... +......2*2..... +....*0.0.0*... +....0~0.0~0... +....mw555wm... +.............. +Level: +John van Hooff +Sphinx +Bricks: +....e......... +....ee........ +...eeee....... +...egee....... +..eeeee....... +..eeeee....... +...eee........ +...eee........ +....eeee...... +....eeeeeeee.. +....eeeeeeeee. +...eeeeeeeeeee +...eeeeeeeeeee +vveeeeeeeeeeee +vveeeeeeeeeeev +eeeeeeeeeeeeev +eeee......eeee +eee..vvvv...ee +Bonus: +.............. +....55........ +....j......... +.............. +....1~........ +..W.1.b....... +...~1......... +....1......... +....1*........ +....1..!4!.... +....1..l4m.3.. +....1...4..3.. +....1...4..3~. +...*1.c.4.*3c. +....1W..4..3W. +....1->+4w.3.. +...w......-3.. +>f+.........f> +Level: +John van Hooff +Pharaoh's Tomb +Bricks: +......#....... +......#....... +.....#j#...... +.....aia...... +.....#j#...... +....#jjj#..... +....#jgj#..... +....#jjg#..... +...#jejgj#.... +...#jggjd#.... +...#gjjjj#vvvv +..#jjgjjjj#... +..ajjjgggga... +..#jjgjjjj#... +.#hjgjjjjjj#.. +.#jgjjjjjjj#.. +#jjjjjjjjjjj#z +#############v +Bonus: +.............. +.............. +.............. +......*....... +......?....... +.....5.2...... +.......2...... +.............. +.....l........ +....~......... +.......5{..... +...5.....!.... +...m}?...m.... +......5..~.... +.......~?.l... +..........2... +.22?.W...W2... +.............. +Level: +John van Hooff +Buildings +Bricks: +......E...gg.. +...ii.E...gg.. +...*i.E...gg.. +...ii.E.!.gg.. +...*i.E.!.gg.. +...ii.E.!.ggjj +...*i.E.!.ggjj +###ii.E.!.ggjj +#*#*i.E.!.ggjj +#*#ii.E.!.d.jj +#*#*i.E..ddd.j +#*#ii.E.ddedd. +#E#*i.Edde.edd +#*#ii.Edeeeeed +#*#*i.E.e.eee. +#*#fi.E.e.e.e. +###fffE.e.eeef +ffffffff#####f +Bonus: +...........?.. +...m1.....?... +....1......?.. +...1....*.?... +....1...0.m?.. +...1....0.?.2. +....1...0..?2f +...1....0.?.2f +.l..j...0..?2l +.l.1d...0.d.2f +....1......?.* +...1....4.5.2. +....1......g.f +.l.1....?.*..! +....1.......2. +...f......2... +.....<....fmf. +.p.*.w>......c +Level: +John van Hooff +Light headed botles +Bricks: +..g.@@...@@.g. +@.g.........g. +@.g...i.i...g. +@.g...iii...g. +..g...iii...g. +.ggg..iii..ggg +.ggg..iii..ggg +.ggg..iii..ggg +.ggg..iii..ggg +.ggg..iii..ggg +.ggg..iii..ggg +.ggg..iii..ggg +.ggg..iii..ggg +.ggg...i...ggg +.ggg.@.i.@.ggg +.g.g.@.i.@.g.g +.....@.i.@.... +.......i...... +Bonus: +..l.........l. +..j.........g. +..m...c.c...m. +..j...cdc...g. +..j...cgc...g. +.gjg..cgc..jgj +.gjg..c?c..jgj +.gjg..c?c..jgj +.gjg..c?c..jgj +.gjg..c?c..jgj +.gjg..c?c..jgj +.gjg..cgc..jgj +.gjg..cgc..jgj +.gjg...g...jgj +.gjg...g...jgj +.g.g...g...j.j +.......>...... +.......l...... +Level: +John van Hooff +Bulb on Bulb off +Bricks: +......ee...... +......ee...... +.!....ee....!. +......ee...... +.....c**c..... +.....bhhb..... +....chhhhc.... +....bhhhhb.... +...chhhhhhc... +...bhhjjhhb... +...chjjjjhc... +...bhhjjhhb... +...chhjjhhc... +...bhhhhhhb... +...chhhhhhc... +....bhhhhb.... +.!...chhc...!. +......bb...... +Bonus: +......**...... +d!d...d!...d!d +!.!...!d...!.! +{!*...d!...*!{ +.....d..d..... +......22...... +....dl22ld.... +....p.22.p.... +....d!22!d.... +...d!dmmd!d... +...!d....d!... +...d!djjd!d... +...!d!pp!d!... +...d!d22d!d... +....d!22!d.... +*!}..d!!d..}!* +!.!..d22d..!.! +d!d........d!d +Level: +John van Hooff +Bad Jumbojet +Bricks: +j......jjj..jj +jj.jjj.jj..jjj +.jjjjjjj...... +.....j...E.... +........E....E +.......E....EE +......E.....E. +..EEEEEEaEEEE. +.Ea*E******EE. +@a**Ek*k*k*k*E +@a**E*******E. +.EE*EE****EE.. +...EEEEEaE.... +.......Ev..... +j.j.....E..... +.jjj.....E...j +jjjjj.....E.jj +jjjjjjj...jjj. +Bonus: +5.......5...p. +.j.5.l.?...3.& +...*..c....... +.....f........ +.............. +.............. +.............. +.............. +..!........... +.~...f.f.f.f.. +.............. +.............. +.............. +........l..... +5.5........... +.............. +0m.3........c+ +..w..W....4.-. +Level: +John van Hooff +Horse Power +Bricks: +.........e.... +........heh... +........eeee.. +.......heege.. +.......heeeee. +......hheeee.. +..he!!eeee.... +.hee!!eee..... +heee!!eee....@ +heee!!eee....d +heeeeeeee....@ +hee....eee..dd +.eee....ee..@@ +.e.e....e.e.dd +.e.e....e.e.@@ +.e..e...e..edd +fffbffbffbff@@ +fbffffffbffbfb +Bonus: +.............. +.........0.... +.............. +........0.d... +........m0.0.. +..........0... +......j0...... +..j.l.0.?..... +.0.0.0?......f +.*.....0.....f +0g0.0...p....f +............ff +........3...ff +.0.0....3.3.ff +........3...ff +........<...ff +....+.-!>+.... +.-......c..... +Level: +John van Hooff +Blue Planet +Bricks: +......gg...... +.!...gggg...!. +.....gggg..... +....gggggg.... +....gggggg.... +!..gggggggg..! +...gggggggg... +..gggggggggg.. +..ggggg*gggg.. +..gggg*ggggg.. +..gggggggggg.. +...gggggggg... +!..gggggggg..! +....gggggg.... +....gggggg.... +.....gggg..... +.....gggg..... +.!....gg....!. +Bonus: +5.....ff.....5 +.....ffff..... +.*...ffff...*. +.............. +....??????.... +...d.}}}}.w... +.....}}}}..... +......m*...... +..gggg~lgggg.. +..ggggl~gggg.. +......*m...... +*2...{{{{...2* +.2.w.{{{{.d.2. +<>..??????..>< +.............. +.....ffff..... ++1-..ffff..-1+ +*.1...ff...1.* +Level: +John van Hooff +Cobra +Bricks: +.......ff..... +......ffff.... +..j..ffff..... +.jjj..ff...... +.fjf...#.j.... +.jjj...#..j... +.jjj...#zz.j.. +.jdj...##zz.j. +.jjj..##zz..j. +..j...#.....j. +..j..k#..jjjj. +!vjvkv#vjjjjvv +vjjvk##vjvvvvv +vjvvkkk#jvvvvv +vjvvvvjjvvvvvf +vjvvvjv#vvvvff +vjjjjvv#ffffff +fffffff#ffffff +Bonus: +.......m...... +.......?...... +.....j........ +.0l0...g...... +..0......?.... +.000......0... +.0j?.....5.0.. +.0f0.....?..?. +.000.......... +..0........... +..........0.0. +..0.*....0.?.. +*00.?...0...*. +.?........f... +.0..f.00.....j +.?...0........ +.0000...?...?1 +..+.!.1..1!+.. +Level: +John van Hooff +Bonsai +Bricks: +......fff..... +.....ffff..... +....fffEff.... +..f..ffEf..f.. +.f#f..fE..ff.. +.f##...E.###f. +..ff##.E.#ff.. +.....##E.#.... +.......Ef#.... +..f...fE##.... +.ffff.EE....f. +ff####EE..ffff +.fff.#Ef..###f +......E####fff +......E....... +vv!vvvEEvvv!vv +zyzyzyEEyzyzyz +vvvvvv@@@vvvvv +Bonus: +......---..... +.....--m-..... +....--f.--.... +..-..--.j..-.. +.-.-..-...--.. +.-..........-. +..-*......*-.. +.............. +........*..... +..-...*....... +.----.......-. +{{........---{ +.---...*.....{ +...........--- +.............. +.{..{....{..{. +50<>55..55><05 +{+++++...++++{ +Level: +John van Hooff +Frosty Waterfalls +Bricks: +j...j##ffff### +jj..Ejjj##jjjj +#jjj.EjjjjjjjE +.#jj..EjjjjjE. +..Ejj.EjjjjjE. +..Ejj.EjjjjE.. +..Ejj.EjjjE..j +..Ejj..EjE..j# +...#jj.EjE.j#. +...#jj.EjE.j#. +j..#jj.Ej..j#. +#j..#j..j.jE.. +#j..#jj.j.jE.. +.#j.#jj...jE.. +.#j.#jj..j#... +.#j..Ej..j#... +..#j.Ejj.j#... +###jj.#j.j#### +Bonus: +5...f...ll.... +fl...2.....4.5 +.?f...mf..mfl. +..1....?4.!*.. +...f...4ffj2.. +...1j..f.?f... +...m!..*2p...f +....f.......m. +....&...f..&.. +....?1..?..f.. ++...pf..2..?.. +........f..... +.}...1{...+... +..2..?........ +..f..!f....... +..?...<..?.... +...2..>..f.... +...f...0...... +Level: +John van Hooff +Crump Clock +Bricks: +......*......v +.....d.d.....v +....*...*....v +....d.E.d....v +...d..E..d...v +..*...E...*..v +..d...E...d..v +..d...E...d..v +.d....E....d.v +.*....*EEE.*.v +..d.......d..v +..d.......d..v +..*.......*..v +...d.....d...v +....d...d....v +....*...*....v +vvv..d.d..vvvv +vvvv..*..vvvvv +Bonus: +.............2 +.....1.1.....2 +.............2 +....1...1....2 +...1.....1...! +.............m +..1.......1..1 +..d.......d..1 +.1.........1.1 +......d......j +..*.......*..1 +..1.......1..1 +.............1 +...1.....1...! +....*...*....m +.............0 +.w...1.1...w.0 +0+.0.....0-.+0 +Level: +John van Hooff +Like to Smoke ? +Bricks: +.............. +.............. +EEEEEEEEEEEEEE +.............. +hhhhhhhhh..... +hhhhhjjjjjjje. +hjjjjjjje..... +hhhhjjjjjjje.. +hhhhhhhhh..... +hhjjjjjjje.... +hjjjjjjje..... +hhhjjjjjjje... +hhhhhhhhh..... +.............. +EEEEEEEEEEEEEv +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +.............. +Bonus: +.............. +.............. +.............. +.............. +~~~~~~~~~..... +~~~~~......... +~w............ +~~~~.......... +~~m~~~~~*..... +~~............ +~w............ +~~~........... +~~~~~~~~~..... +.............. +.............. +>>>>>>>>>>>>>> +{{{{{{{{{{{{{{ +.............. +Level: +John van Hooff +High Noon +Bricks: +.k.........k.. +.kkkkkkkkkkkk. +..kkkkkkkkkkkd +..kkvvkv....d# +..kkvvkv...d#. +..kkkkvv..d#.. +.kkk.....d#... +.kkk....d#.... +.kkk..#*#vvvvv +vvvvv#*#..kkk. +....#d....kkk. +...#d.....kkk. +..#d..vvkkkk.. +.#d...vkvvkk.. +#d....vkvvkk.. +dkkkkkkkkkkk.. +.kkkkkkkkkkkk. +..k.........k. +Bonus: +.<............ +.....000.->+.. +....?...}{.fl~ +..33*.......~. +..33.3m....~.. +..33!.....~... +..Wj.....~.... +..?.....~..... +...g.......... +..........g... +.....~.....?.. +....~.....jW.. +...~.....!33.. +..~....m3.33.. +.~.......*33.. +~lf.{}...?.... +..+>-.000..... +............<. +Level: +John van Hooff +Penguin Adventure +Bricks: +.............. +...kk......k.. +..kkkk....kkk. +..hEEh....kEh. +..kkkk...kkkkk +..hhhh..hhkhhk +..khhk....hhhh +.kjjjjk..jkjkk +.kjjjjk..jkjkk +jkjjjjkj.jkjkk +jkjjjjkj.jkjkk +jkjjjjkj.jkjkk +jkjjjjkj.jkjkk +.kjjjjk..jkjkk +.kjjjjk..jkjkk +..jjjj....jjjk +..kkkk.....kj. +...kk.....kkj. +Bonus: +.............. +.............. +...11......1.. +...........1.. +...11......1.5 +...11......1.. +.............4 +.............. +..*ff.?..?.fp. +..lffc.....f.c +g..mfj.g..}fl* +...ff......fj. +..pffw.0.0.f.. +.s.ff}0..0.f.. +...ff+0..0.f.w +..-ff......f.+ +...........-s. +.............. +Level: +John van Hooff +Dragon +Bricks: +....g......... +.....gg....... +......g....... +f...gggg...... +.f....ggg..f.. +..ffffggg.fff. +..fkkkggfffkef +...ffgggkkkkff +....fkkkkffkf. +....fffff.ff.. +....f...f..... +...ff..ff..... +...f...f...... +..f...f......j +jvvvvvvvvvvvjj +kvvvvvvvvjjjjk +jjjkvvvjkjjkjj +jkjjjvjjjjkjjk +Bonus: +....5......... +.............. +.............. +.............. +.......?...... +..g...m....?.. +...222...!.2l. +...?....2222.. +....!2222?.2.. +.....fff..ff.. +........f..... +...ff......... +.............. +.............* +*........*.... +..?.........b. +.+...+..b..... +.............. +Level: +John van Hooff +Crazy +Bricks: +jjjjv!*!vvjjjj +j..jv!!!vvj..j +j..jv!!!vvj..j +j..jv!!!vvj..j +j..jv!!!vvj..j +j..jv!!!vvj..j +jjjjv...vvjjjj +vvvvv...vvjjjj +vvvvv...vvjjjj +vjjjv...vvjjjj +vj.jv...vvjjjj +vj.jvjjjvv..jj +vj.jvvvvvv..jj +vj.jvv.vvv..jj +jjjjjjdjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +Bonus: +0000......0005 +0..0..*...0..0 +j..0......j..0 +0..0......0..0 +0..0......0..0 +0..0......0..0 +wwww..?...0000 +..........000j +..........wwww +.111......0000 +.1.j......0000 +.1.1.111....00 +.1.1........00 +.1.1........00 +!b!b!b!b!b!b!b +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +Level: +John van Hooff +Save Blue +Bricks: +g#*#d#EE*#*##g +##*#*#EE*#*### +******EE****d# +*####*EE#*#### +**#*##EE#*#*** +*##*#*EE**##*# +******EE#****# +#*###*EE####** +###*#*EE**###* +#***#*EE#*#*#* +**#***EE#*#*#* +#*####EE##**** +#***##EE*#*#*# +###*##EE*#*#*# +******EE***#** +#####*EE*##### +vv****EE****vv +v#####EE#####v +Bonus: +....m...l..... +.............. +l...........m. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.s............ +.............+ +Level: +John van Hooff +Mondrian Art? +Bricks: +############## +#gg#dd#hhhhhh# +#gg#dd#hhhhhh# +#gg#dd#hhhhhh# +#gg#dd######## +#gg####jjjj#g# +#gg#jj#jjjj#g# +#gg#jj#jjjj#g# +#gg#jj#jjjj#g# +############## +#jj#hh#dddd#h# +#jj#hh#dddd#h# +#jj#hh#dddd#h# +#jj####dddd#h# +#jj#gg#dd##### +#jj#gg#dd#jjj# +#jj#gg#dd#jjj# +##k##k##k###k# +Bonus: +.............. +.0..33.m!0p.l. +....33.....W5. +.l0..3.0f.0... +....33........ +.0d........... +.W..11.W-.d.f. +..0.f1..+..... +.0p.11....j.c. +.............. +.11.?..>2.<... +.11.c?..2...*. +.j~.?...2.!... +.11....~2.m.0. +.f1.+...2..... +.11.-...2.111. +..1.Wg.f2.11>. +.............. +Level: +John van Hooff +Leaded Window +Bricks: +kkkkkkkkkkkkkk +kkeeeeek!!!kik +kfkeeeek!!kiik +kfkeeeek!!kiik +kffkkkkk!kiiik +kffk@@@kkiiikk +kfffk@@k*kikak +kfffk@@k*kkaak +kffk@@@k*kjkak +kffk@@@kkjjjkk +kkk@@@kkjjjjjk +kggkkkxkkjjjjk +kggkckxkhkjjjk +kgkcckxkhhkjkk +kkicckxkhhhkdk +kiikcckkhhkddk +kiikccckhhkddk +kkkkkkkkkkkkkk +Bonus: +00000000000000 +00.....0l..0W0 +0.0Wc.f0.j0..0 +0p0+...0..0.-0 +0..00000.0...0 +0.s0...00?*.00 +0j.?0..0.0.0.0 +0..?0..0.00..0 +0..0...0.0.0.0 +0f*0...00.w.00 +000...00W...c0 +0..000<00.f.+0 +0-.0w0.0j0.s.0 +0.0..0>0..0.00 +00?..0.0...0?0 +0..0+.00-.0..0 +0..0...0..0..0 +00000000000000 +Level: +John van Hooff +Flak of Snow +Bricks: +.............. +......!....... +!..!..!..!..!. +.!..!.!.!..!.. +..!..!!!..!... +...!..!..!.... +.!..!.!.!..!.. +..!..!!!..!... +...!..!..!.... +!!!!!!!!!!!!!. +...!..!..!.... +..!..!!!..!... +.!..!.!.!..!.. +...!..!..!.... +..!..!!!..!... +.!..!.!.!..!.. +!..!..!..!..!. +......!....... +Bonus: +.............. +...f.....f.... +.....l.l...... +*...........*. +....*...*..... +..f..>.>..f... +.............. +.*.p....p..*.. +000.?...?.000. +......m....... +..>.f...f.>... +.*.j.....j.*.. +..00.3.3.00... +.fc..+.+..cf.. +....*...*..... +*.wd.....dw.*. +.33.......33.. +.............. +Level: +John van Hooff +Humbacked Bridge +Bricks: +......ee...... +f...eee#e..... +gff..eee#e.... +jgjf...e#..ee. +fjjgf....#e#ee +fjgjjd....#ee. +.fjgddd....#.. +.fgddddd....#. +.fddggjddd.##. +.ddgjjgjddd#.. +.ddfgjjgjdd##. +ffffjggggfff#. +....fjggggfff. +.....fjgggjfff +.vvv..fjgggjjf +.vvv..fgjggggj +.vvv..fjggggjg +.......fgggggg +Bonus: +.......j...... +.............. +&......&.5.... +c..?.......!.. +..........m..? +.?.c*-.....lp. +..p.---....... +..cj----...... +..--.?.---.... +.--..c.*---... +.--......--... +?............. +....W...c.?.c. +......?....... +.><>..11111j11 +.f.<..11111111 +.>.+-..j.-+>. +000.0000000.00 +00...00000...0 +.0....fff....0 +.............. +.............. +0.0.0.0.0.0.0. +Level: +John van Hooff +Limousine +Bricks: +.jjj..vv..jjjj +jjjjjjvvjjjj.. +.jjjj.vvjjjjj. +..jj..vv.jjjjj +f.....vv...jjj +@f....vv....j. +@fvvvvvvvvvvv@ +ff.iiiii.....@ +f..ivivvi....@ +f.divivvvi.... +..iivivvvvi... +.iiiiiiiiiii.. +dii@iiiiii@iij +ii@@@iiii@@@ii +..@@@.ii.@@@.. +vv.@.vvvv.@.vv +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +Bonus: +.*....44...... +&.00?...?00l.. +...........*f. +......44.c...& +*............. +......44....-. +.............. +...1.......... +.............. +...+.*........ +.....1........ +.-j.?..1.?.*.. +!............d +.....}.w1..... +......lf...... +><...<>><...<> +00000000000000 +.............. +Level: +John van Hooff +Traffic Light +Bricks: +@.....@.....@. +.............. +.............. +.###v###v###.. +.#d#.#x#.#e#.. +.#d#.#x#.#e#.. +.#e#.#d#.#x#.. +.#e#v#d#v#x#.. +.#x#.#e#.#d#.. +.#x#.#e#.#d#.. +.###.###.###.. +vv#vvv#vvv#vvv +..#...#...#... +..#...#...#... +..#...#...#... +..#...#...#... +vv#vvv#vvv#vvv +k###k###k###kk +Bonus: +.............. +.............. +.............. +....p...w..... +......!....... +.............. +..........l... +....m...m..... +..l........... +..!.......!... +.............. +.?..?...?...?. +.............. +.............. +.............. +.............. +.0.0.0.0.0..0. +.............. +Level: +John van Hooff +A.T.B. +Bricks: +hhh........e.. +.j.......jj.e. +.jjjjjjjjj...e +.j.......j...e +.d......jj.e.e +.j.....j.j.ee. +.j....j..j.... +.jj..j...jj... +..j.j.....j... +..jj......jg.. +.jj........jj. +.kk...j....kk. +k.jk...j..kj.k +k.jjjjjjjjjj.k +k..k...j..k..k +k..k....j.k..k +.kk........kk. +zzzzzzzzzzzzzz +Bonus: +...........5.. +.5.......l.... +...?.?.?.0...p +.!.......0.... +.*......20.j.s +.0.....2.0..c. +.0....2..0.... +.0s..2...0.... +....j.....!... +..?2.......*.. +..2.........?. +.&~...}....~g. +...g...+...... +..ffffffffff.. +-..c...+.....- +........{..... +.............. +<><><>w><><><> +Level: +John van Hooff +Nerly Finish Up +Bricks: +#****@@*****kk +#****@@*****#k +d##*******###k +***#******#ffk +***#*****##ffk +**#******#kkkk +***#****###### +***#**###!!!!! +@**#**@!!!!!!! +@*#***@!!!!!!! +***#***##!!!!! +****#***#!!!!! +*********#!!!! +**aa******###! +*aaaddd****ddz +##aviii######! +...#####x...#. +..#.....##.##. +Bonus: +............fl +.............! +m............+ +...........l?j +...........!fl +..........lf~5 +.............. +.............. +.............. +............*. +.............. +.............. +.............. +.............. +...........-s+ +.............. +.............. +.............. +Level: + +All's Well That End Well +Bricks: +*.....vv.....* +.............. +@.!.E.@@.E.!.@ +@.....vv.....@ +@.....vv.....@ +@.....vv.....@ +@.!...vv...!.@ +......**...... +vvvvvvvvvvvvvv +e............e +@....vvvv....@ +......EE...... +xxxxxxxxxxxxxx +.............. +@.EE.@@@@.EE.@ +@............@ +@............@ +vvvvvvvvvvvvvv +Bonus: +......55...... +.222......222. +.2.2......2.2. +.222..33..222. +......mm...... +......33...... +......33...... +.............. +.?.?!?pp?!?.?. +.............. +.....gwwg..... +.............. +}+333jllj333+} +.............. +.............. +.............. +.............. +dd>dd diff --git a/project/jni/application/lbreakout2/client/levels/IrrenhausAh b/project/jni/application/lbreakout2/client/levels/IrrenhausAh new file mode 100644 index 000000000..2bde5d06d --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/IrrenhausAh @@ -0,0 +1,1600 @@ +Version: 1.00 +Level: +Spockl +Nerveous breakdown +Bricks: +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +z............. +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +z............. +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +z............. +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzjjj +EEEEEEEEEEEjjj +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.ggggg....gggg +.............. +bbbbbbbbbbbbbb +}}!}}}!}}!}}}} +j}}!}!}}!}}!.. +j............. +g!g!g!g.g.g!gg +b*b*b*b*b*!*b* +*b*b*!*b*b*b*b +wwwwwww!www}ww +...........www +Level: +Spockl +Welcome to juniper hill +Bricks: +EEEhhhhhEEEEEE +EEE.hhhEEEEEEE +EEEEhhh.EEEEEE +EEEEhhhhhhhEEE +EEEhhhhhhhhhhE +EEEhhhhhhhhhhE +EEEhhhh.EE...E +EEEE...EEEE.EE +EEEE...EEEE.EE +EEEi...iEEE.EE +EEEi...iEEE.EE +EEEE...EEEE.EE +EEEE...EEEE.EE +EEEE...EEEE.EE +EEEi...iEEE.EE +EEEi...iEEiiiE +EEEE...EEEiiiE +EEEE...EEEEEEE +Bonus: +....*l*l...... +.............. +......?....... +.......?...... +.....?.?....l. +.......?....l. +....gw>....... +.............. +.............. +...!...!...... +...w...w...... +.............. +.............. +.............. +...f...f...... +...w...w..555. +..........555. +.............. +Level: +Spockl +Rubbercell 1 +Bricks: +@@@@@@@@@@@@@@ +@jjjjjjjjjjjj@ +@j...!!!!...j@ +@j...!!!!...j@ +@j.@.jjjj.@.j@ +@j.@.j@@j.@.j@ +@j.@.j@@j.@.j@ +@j...j@@j...j@ +@jkkkjkkjkkkj@ +@jjjjkkkkjjjj@ +@j...j@@j...j@ +@j...j@@j...j@ +@j...j@@j...j@ +@j...jjjj...j@ +@j..........j@ +@j..........j@ +@j..........j@ +@j..........j@ +Bonus: +.............. +.5lll5555lll5. +.5...ffff...5. +.5..........5. +.5...>55>...5. +.5...>..>...5. +.5...>..>...5. +.5...5..5...5. +.5c--jccj--c5. +.>>>>cllc>>>5. +.5...+..+...5. +.5...+..+...5. +.5...>..>...5. +.5...+>>+...5. +.5..........5. +.5..........5. +.>..........>. +.>..........>. +Level: +Spockl +Try to escape +Bricks: +k....EkkEkkkkk +k.!!EckkEE!!kE +kE!!!!**!!!!kk +k.EE.ccc.cc*kk +k..gggkkggg*kk +.EEEEE***E**kk +k..kggkkggkkkk +k...EEEEEEEEEk +kk..ggabggz.Ek +kkk.ggkkgg.k.E +EEEEEEEEE..k.. +kkk...kkg..kkk +.kk........kkk +kkkgEggggg.hEk +kkkgEEEEEEEEEE +.kkeeegEeeekE. +E.keeeggeeek.. +******Eg...EE. +Bonus: +b.....ll.bbbbb +b.*j.bll..j.b. +w.f!!!bb!!!fbw +*....bbb.bbbb* +c..+55c-55+b*b +......bbb.bbb. +c..f4!-c!4fb*w +*............* +ww..3f*wf3w..w +wwb.22c-22.b.. +...........c.. +cw&...*w1..&ww +.wc........c*w +ww**bbwwbb.w.w +wgwf.......w.. +.g>w00+.00w>w. +..>w0+>>+0w>.. +wwwwww.+...... +Level: +Spockl +Rubbercell 2 +Bricks: +@@@EE@@@@EE@@@ +EiiiiiiiiiiiiE +EijjjjEEjjjjiE +Eij@@jjjj@@jiE +Eij@ijjjji@jiE +@i.@ij@@ji@.i@ +@i.@ij@@ji@.i@ +@i.Eij@@jiE.i@ +@i.Ei....iE.i@ +@i.Ei.cc.iE.i@ +@@.Ei....iE.@@ +@ijEij.@jiEji@ +@i.@ij@@ji@.i@ +@i.@ij@.ji@.i@ +@ij@ijjjji@ji@ +@i.@i....i@.i@ +@i.ii....ii.i@ +@i..E....E..i@ +Bonus: +.............. +.!b.ffffff.b!. +..llll..llll.. +.............. +.lc..WggW..cl. +.l...W..W...l. +.>...W..W...>. +.>..........>. +.>..........>. +.w..!.ll.!..w. +.............. +....5g..g5.... +....5>..>5.... +....5>..>5.... +....555555.... +.c..5....5..c. +.c.cc....cc.c. +.5..........5. +Level: +Spockl +Recreationcenter +Bricks: +ghh@@@hhhhhE@E +ghh...h...hhh@ +.h....h.....hE +@h....h.....hE +@h..hhhhh..hhh +@h...hhh..Eh.h +@h....h...Eh.h +@h........EE.h +@bbbbbbbbbEh.h +@bbbbbbbbbEh.h +@cccccccccEh.h +@cccccccccEh.h +@gggggggggEh.h +@gggggggggEh.E +@gggggggggEh.h +@h@@ggg@@hEh.h +@ggg*g*gggEh.h +EEEEEEEEEEEh.h +Bonus: +m.....44444... +m.....4...44&. +......4.....&. +......4.....&. +....44444..4&4 +.....444...w.w +......g....w.w +...........4.4 +.b0b0b0b0b.4.4 +.000!000!0.4.4 +.111111111.4.4 +.111111111.4.4 +.*22*22*22.4.4 +.222222222.4.4 +.lllljllll.w.w +...........w.w +.b..lll..b.w.w +...........w.w +Level: +Spockl +Drug-Locker +Bricks: +.*jjjjgjjjjj*@ +.cjjjcgcjjjcj. +.cjejcgcjejcj. +.cjejcgcjejcj. +.ceeecgceeecj. +.cjejcgcjejcj. +.cjejcgcjejcj. +.cjjjcgcjjjcj. +.cccccgcccccj. +.cccccgcccccj. +.gggggggggggg. +.............. +.............. +.........z.... +@.....@.....EE +h............. +EE............ +@z@z@........@ +Bonus: +....llmll..... +.g....b.....g. +......b....... +......b....... +.>.l.....l.>.. +.>.........>w. +.>.........>.. +.>.........>w. +...+++g+++.... +......g....... +.>&&&ggg&&&&>. +.............. +.............. +.........w.... +.............. +w............. +.............. +.............. +Level: +Spockl +Infusion +Bricks: +ggg..........@ +jggiiiiiiiii.. +ggg........i.. +ggg........i.. +jgg........i.@ +ggg...@EE..i.. +ggg...z....i.. +jgg...z....i.. +ggg...z....i.. +ggg...@z@.did. +jjg....Ez.cdc. +gggg@...z.c*c. +jjggE...z.ccc. +ggggz...@..c.. +jjggz......... +g**gz......... +g**gEfffffffff +EEEE@ffffffff@ +Bonus: +.............. +..>g>w>w>g>g.. +...........>.. +...........g.. +>>>........>.. +5g5........g.. +...........>.. +......w....g.. +.<.........>.. +..........5g5. +..........5*5. +........w.5g5. +..........555. +5555.......j.. +5555.......... +5555.......... +llll.000000000 +.....00000000. +Level: +Spockl +Nurses Restroom +Bricks: +!!!!!!EE!!!!!! +!!!!!!EE!!!!!! +!!!!!!EE!!!!!! +@.....@@.....@ +E............E +.............. +.............. +...d......d... +..d*d....d*d.. +.jjjjj..jjjjj. +jjjjjj..jjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +EjjjjjEEjjjjjE +.............. +Bonus: +ffflll..lllfff +.............. +...++d..d++... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..+++....+++.. +.ggggg..ggggg. +.ggggg..ggggg. +.............. +Level: +Spockl +Flatline +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +EE.EEEE.EEE.EE +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +hhhhhhhhhhhhhh +vvvvvvvvvvvvvv +vvvvv!vvvvvvvv +jEEEEjjjjEEEEj +j............j +EEEE......EEEE +jejE......Ejej +eee........eee +jej........jej +jjj........jjj +E............E +.............. +Bonus: ++m+m+m+m+m+m+m +lll55555555lll +ll5555555555ll +.............. +>>>>>>>.>>>>>> +.............. +.***......***. +......gg...... +>>>>>!gg!>>>>> +m....>->-....m +.............. +.............. +>>>........>11 +ww3........1p& +ww3........1p& +++3........1p. +.............. +.............. +Level: +Spockl +X-RAYs +Bricks: +@@@@@@@@@@@@@@ +@vvEhhhhhhEvv@ +@.vEhvvvvhEv.@ +@.vEvvvvvvEv.@ +@.vEvgvvgvEv.@ +@.vEvvvvvvEv.@ +@.vEvvvvvvEv.@ +@.vEvvvvvvEv.@ +@.vEvdvvdvEv.@ +E..EvvddvvE..E +@..EvvvvvvE..@ +@..EEvvvvEE..@ +@v....jj....v@ +@v...jjjj...v@ +@v..vvjjvv..v@ +@v..jjjjjj..v@ +@vvvvvjjvvvvv@ +@@..jjvvjj..@@ +Bonus: +.............. +.!!.llllll.!!. +....l5555l.... +..*...ww...p.. +.....bggb..... +.............. +.............. +.............. +..+..g!!g..+.. +....j&gg&j.... +....+wwww+.... +.....>>>>..... +.g....55....g. +.c...4444...c. +.c..333333..c. +.c..22w+22..c. +.c..111111..c. +....000000.... +Level: +Spockl +Deliriouse +Bricks: +vvvvvvvvvvvvvv +*vvvvvvvvvvvv* +*vvvvvvvvvvvv* +vvvvvvvvvvvvvv +vvvv!!!!!vvvvv +vvvvvvvvvvvvvv +vvvvEE*EEvvvvv +!vvvhhhhhvvvv! +!vvv.....vvvv! +!!vv.....vv!!v +!!vv.....vv!!v +!!vvh...hvv!!v +vvvv.....vvvvv +vvvv.....vvv!! +vvvvh...hvvvvv +vvvv.....vvvvv +vvvvh...hvvvvv +vvvv.....vvvvv +Bonus: +ll-l>l>l>l-lll +*!5!5!5!5!5!5* +*44>5>5>5>544* +-{{{{{{{{{{{{- +>{!>>>{>>>!{{> +{{1wwwwwww1{{{ +>>1w..>..w1>>> +{{1w.*.*.w1{{{ +{{1w.....w1{{{ +..1w.....w1..{ +..!w.....w!..{ +..1w*...*w1..{ +{{1w.....w1{{{ +{{1w.....w1{.. +gggw*...*wgggg +***w.....w**** +wwww*...*wwwww +wwww.....wwwww +Level: +Spockl +Stairways to doom +Bricks: +kkiiiiiii#EEE! +kkkiii!!!@!!#! +E#kkkk!!!@!!i# +kEEE#kkkk@iiik +k!!!EEE#kkkiik +k!!!@!!EEE#k*k +k!!!@!!!!!!!*h +kE!!@!!!!!!!*k +h!!!@!!!!!!kkk +k!!!@!!!kkkk#E +k!!!@kkkk#.EEk +k!!k@k#EEEEkkk +aa@#EEEEkkkkkk +kggggggggggggE +kkkggggggggggh +.#kkkkkkkkkkkk +#EE.#kkkkkkkkk +##EEEE@#kkkkkk +Bonus: +mmlllllll..... +mmmbbj....mm.. +..mbbj....mmm. +.....j....mmm. +.mmm.......mm. +.1mbb11.....b. +.1mbb11bb111b* +.1mbb11mb111b. +*1mb+11mb11ff. +g1mb1111.ff... +m1mb1........m +.1m........mm> +.1......+mm+mm +.0000-000bbb0. +ww.0>->00bpb0* +..w00-000bbb00 +.....-00wwwwww +........*++++* +Level: +Spockl +Pathologie +Bricks: +*ffff!fffff!f* +!ffff!!!!!!!f! +!ffffffffffff! +!ffffffgggfff! +!fffffgggggff! +!fffffgegegff! +!fffffgggggff! +!fffffggeggff! +EffEgffgggffgE +hhfEgffgggffgE +hhfEgffeeeffgE +hhfEgfffffffgE +..fEgggggggggE +!.fEgfffffffgE +!.fEgfffffffgE +!.fEgfffffffgE +!.fEfffffffffE +..fEvvvvvvvvvE +Bonus: +ll>>~{{{{{{{ll +5>>>~{55555{m5 +5>>>~{>>>>>{>5 +5..>~{>!!!>{>5 +5..>.c!...!c>5 +5..>.c!5.5!c>5 +5gg{{c!...!c>5 +5gg}.c!.5.!c>5 +.g!..c~...~cf. +&&g..c~...~cf. +&&!..c~{{{~cW. +ww+.fcccccccf. +..w.ff..f..ff. +*.+.W...j..... +..g.f......... +..+.f.......f. +..g..j.....j.. +..g.>>>>>>>>>. +Level: +Spockl +Virus-Labs +Bricks: +e!!v!!!!!!v!!e +!v....vv.v...! +!..v.vv.....v! +!.....vv.....! +!v...vv.v.v..! +!.....v.....vv +v.v...vv.....! +!!!!!!v..v.v.! +!vvvvvvvvvvvv! +!......v!!!!!! +!v.i...v.....v +!.iiiv.vviiv.! +!..i...v.....! +!......v.....! +v.v..v.vv..v.! +!iiviigviiiiii +vkkkkkkkkkkkkv +jjjjjjjjjjjjjj +Bonus: +l.??.?....?..l +.?....??.?.... +...>.!......?? +.......>...... +??...?!...>... +............!g +g.!....?...... +....?....?.?.? +.bWgbWbWbWbWb. +.......!?.?... +??.....?.....g +...?.?.!?.?!.. +.......?...... +.......!.....? +g.>..?.!?..?.. +.dd?dd.Wddd.dd +?>b>b>b>b>b>bW ++b>+>+++>+>b+> +Level: +Spockl +Assoziations +Bricks: +EEEEEE@@EEEEEE +@!!@ee@.ee@!!@ +g!!Eee.@eeE!!g +@E!iee@.eei!E@ +g!!iee.@eei!!g +@EEiee@.eeiEE@ +g!!ieeeeeei!!g +@E!ieeeeeei!E@ +@@.@@evve@.@@@ +gdddddvvdddddg +EEddddddddddEE +gddddddddddddg +EEddddddddddEE +gdddddE.dddddg +EEdddd.EddddEE +@@EdddE.dddE@@ +gggggg.Egggggg +@ffffgE.gffff@ +Bonus: +.............. +.ll.1l..l1.ll. +W00.11..11.00W +.00411..11400. +b>>>>>..>>>>>b +.00411..11400. +W00c115511c00W +.00411~~11400. +......55...... +b2.2f~55~f2.2b +.g2f22**22f2g. +{b2-222222-2b{ +.1*11{!!{11*1. +{1111p..p1111{ +.0<000..000s0. +...>>>..>>>... +{w00+0..0+00w{ +.w000W..W000w. +Level: +Spockl +Recreation 2 +Bricks: +!!!!!!!!!!!.dd +!!!!!!!!!!!Edd +!!!!!!!!..E.E. +!!!!!!!!...... +!!!!!!!!..hhh. +!!!!!!!!...... +!!EEE!!!E..... +gggEhhhhhE!!.E +gggEhhhhhE.... +ggEEhh*hEE..!! +gggEEh*hhE.... +ggg.hh*hEE!!.E +ggEEhh*hhE.... +gggEEh*hEEE.!! +ggEEhh*hhE.... +gggEEhhhEE!!.E +ggg.hhhhhE.... +EEEEEEEEE...!! +Bonus: +******wwww+.ll +.b....wgggg.ll +}b}.}.wg...... +>>>>>>>g...... +......wg..+++. +}b.}..wg...... +.b....wg...... +ggg.g...g.}}.. +www.bbbb>..... +....b}*}....ww +..w..}*}>..... +*>w.w}*}..*w.. +*>..w}*}>..... +*>*..}*}....*g +*>..b}*}>..... +.....}}}..j*.. +....bwww>..... +............ww +Level: +Spockl +Highsecuritycell +Bricks: +EEEiiiiiiiiiEE +Evvv######vvvE +Ev###vvvvvvvvE +Evvvvvvvv.#EvE +@vvg..Ev..#.v@ +EEvg#.vv..#.vE +@vvg#.vvE.#.vE +@#E##gggg.##vE +vv@#.gggg...vE +vvv..gggg...EE +vvvE##ggg..... +EvEE.gggEEEgEE +vvvEvvEE..EgEg +vvvEvEggggggEv +EvvEvEggggggEv +vvvEE@gg.EEEvv +vvvvvEgg@vvvvv +EggEEggggEgggg +Bonus: +...mllmlll.... +...0......0.*. +......gg...... +.....*gg*..... +...b.......... +..*b..ww...... +...b.......... +.....w>>w..... +.*...w++w...*. +.44..w>>w..... +.4w...**w..... +.w...www...&.. +.4*.44.....&.* +.44.4.ww}*.w.w +.w4.*.ww}*.w.5 +.55...ww....55 +.555*.ww.*555+ +.....wggw.00++ +Level: +Spockl +Paranoia open +Bricks: +ggggggcceeeeee +ggggggcceeeeee +ggEb@EEeeeeEee +ggEg.ggeeeeEee +gggE.ggeeeeEee +ggEg.gg.@EEEee +ggbg.ggee.eEee +*gEg.ggee.eEe* +ggEg.ggee.ebee +ggEEE@.ee.Eeee +ggEggggee.eEee +ggEggggee.eEee +gEEgggg.@EEEEe +zbEggggeeeeEbz +ggEgEggeeeeEee +EgE.EEEeeeEEe@ +.............. +.............. +Bonus: +!!llllbbllll!! +...f..bb..f.?. +.?..........?. +.?.}.55.....?. +.?g..5gg....?. +.?.*.55.....g. +&&.5.555f.{.>> +jw.5.55!5.5.sj +>>.*.5}55.5.>> +.......5f.5... +l..lllwll.5..l +gg.1111{5.!.gg +l..11w1......l +...11110000... +w+.11c100c0.-W +.+.....0000.-. +.............. +.............. +Level: +Spockl +Too much little helpers +Bricks: +vvvvvvvvvvvvvv +vvkkkvkkvkkkvv +vk*kkk**kkk*kv +vkk*k*kk*k*kkv +vkkg*kggk*gkkv +vk!!!!!!!!!!kv +vk!!!*!!!!!!kv +vk!!!!!!!*!!kv +v*.!!!*!*!!.*v +vk.*!!!**!!.kv +vk..........kv +vk!........!kv +vk!........!kv +vk!........!kv +vk!........!kv +vkkk......kkkv +vkk*......*kkv +vkkk......kkkv +Bonus: +l.....gg.....> +>>>>>>>>>>>>>> +*>>>>>>>>>>>>* +*>>>>>>>>>>>>* +>>.>..--..>.>> +>>>>>>..>>>>>> +>>..........>> +>>..g.......>> +>>.>..>5..>.>> +>>..g-5g-g-.>> +>>..........>> +>>>........>>> +>>>........>>> +>>>........>>> +>>..........>> +>>>>......+++> ++++>......>>>> +g>>g......g>>> +Level: +Spockl +Lemontree +Bricks: +@@gggggggggg@@ +@gggggghggggg@ +!!!!!.hdh.!!!! +!!!..hhhhh..!! +!!..hdh@dhh..! +!...hhh@hhdh.! +!..hhh@@hhh..! +!...hh@@hhh..! +!...dhh@@hhh.! +z..hhhh@hhh..z +z..hhh@*@dhh.z +..hhdh@*@hh..z +z....h@*@h.... +z.vv..@*@.vv.z +z.....@*@....z +.!....@*@...!@ +zffff@@*@fffff +@zfff@@*@fffzz +Bonus: +..l.>>>>>..l.. +..>.w..l..c.{. +5.....!4.....5 +5.....l.l....5 +5...-4..4....5 +g.......!.4-.g +>....+.......> +g....>...>...g +>...4.....>!.> +>..{.-..+....1 +1...!-.f.w.{.! +..{{w..b..{..1 +1....{.W.{.... +!.WW...w..WW.1 +1......w.....1 +.-.....g....s. +>0>00..w.0>>0> +>>00...>..00>g +Level: +Spockl +Nothing to meassure +Bricks: +gggggggggg!!!! +!......!!..!!! +!zzEEE.!!..@@@ +!!!!!E.!!EEz!! +@@@@!E!!!!Ez!! +gggggE!!!!Ez!! +!zzzEEzzzzzz!! +!..!!!!!!!!E!! +!..!@@@@@@!E!! +!..!gggggggE!! +!......EEEEE!! +!!!!!!!!!!!!!! +!!@@@!!!!!!!!! +!!gggg!!@@@@!! +!!!!EEE!ggggg! +@!..zzE...!!!! +@!..zzz...!!!! +g!..zzz...!@@! +Bonus: +l...>g>..l.... +...........{.l +.............. +..&>g......... +.......>>..... +w.....W..W...g +.............. +...}..{..*...> +>..f....j....g +g..g+..wf.+... +.............. +..{.-*.......+ +.f.....}-..{.. +g.>g>w.~....W~ +!-.....W>g>bW} +.W...........! +.>........!bbb +b+........+..w +Level: +Spockl +Changing bathes +Bricks: +E!!!!!!!!!!!!! +EEE!!!!!!!!!!! +EggEEiiEEEvvv! +.gggiiiEffvvE! +.gggiiiEEEevEE +.EEzEiiieeeeeE +!EE.EiiiieeeeE +!.E.EiiEzEeeeE +!.E.EiiE.EeeeE +!...EiiE.EeeeE +!...EiiE.EeeeE +!...EEz@.EeeeE +!@.....E.EeeeE +aE.......EeeeE +aaE......Eeee@ +bbbE.....@EzEE +bbbbE........g +c@cccE.......@ +Bonus: +.l.fg.ff.gfg.f +......g.g..... +.ff..ff....*.j +.00>-3l.>>.... +.>0>-!3...f... +...w.33>>+5>l. +.....33>>+!5>. +g....>>.w.555. +>....33...>>>. +g....33...555. +>....l3...555. +g.....w...5f5. +>.........555. +d.........555. +dd........l5+. +...........w.. +>>>>.........* +w.wdd......... +Level: +Spockl +Administration-Office +Bricks: +vvvvvvvvvvvvvv +vj..........jv +vj.@@@....@@jv +vj..........jv +vjjjjjj..jjjjv +@@@@@@@..@@@@@ +@vvvvvvvvvvvv@ +vvvvvvvvvvvvvv +v..v..v..v..v. +v..v..v..v..v. +v..v..v..v..v. +v..v..v..v..v. +vjjvjjvjjvjjvj +gjjgjjgjjgjjgj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +.............. +.............. +Bonus: +ll...g..g...ll +.?..........?. +.?..........?. +.?..........?. +.?>>>>?..>>>?. +.............. +.>>>g>>>>>g>>. +wW>w>jwj>w>>w> +p..+..b..s..<. +}..>..}..>..<. +>..>..>..>..}. +>..+..>..b..>. +g+-g+-g+-g+-g+ +w>{>{>w>{>{>w> +>{>>>>>>>{>{>{ +?!?!?!?!?!?!?! +.............. +.............. +Level: +Spockl +Finaly free and sane +Bricks: +iiiaiiaaiiiaia +iaaaiaiaiaaaia +iaaaiaiaiaaaia +iiiaiiaaiiiaia +iaaaiaiaiaaaia +iaaaiaiaiaaaia +iaaaiaiaiiiaia +vvvvvvvvvvvvvv +vvvvviiiivvvvv +!!*EEiiiiEE*!! +!*!!EiiiiE!!*! +!!!!@iiii@!!!! +*!!EiiiiiiE!!* +@@!EiiiiiiE!@@ +!!@@iiiiii@@!! +@!!!iiiiii!!!@ +!!!!ii..ii!!!! +@EEEii..iiEEE@ +Bonus: +>>>.>>>.>>>... +....-.-.-..... +....-.-.-..... +>>>.>>..>>>.>. +g...!.g.g..... +>...W.W.W...W. +c...w.{.w!>.>. +......gg...... +....+>>>>+.... +55...*WW*...55 +555..!!!!..555 +555..>>>>..555 +lll.>>>>>>.lll +.....+..+..... +.............. +.............. +....g....g.... +....ww..ww.... +Level: +Spockl +Depression again +Bricks: +@vvvvvvvvvvv@! +vvvvvvvvvvvvv! +vvvvvvvvvvvvv! +vvvvvvvvvvvvv! +vvvvvvvvvvvvv! +.............. +.............. +.vEvEEvEzz.... +.vEv!!vEgzvvv. +.vEv!!vEzzvvv. +.vE!EE!E...... +.............. +.............. +vv.vvvvvvvvvv. +vv.vvvvvvvvvv. +vv...vvvvvvv.. +vvvv.vvvvvvv.. +@vv...vvvvvv.. +Bonus: +.lllllllllll.. +55555555555fW. +............W. +.fffffffffffW. +.+>>>+>>>+wwW. +.............. +.............. +.>.{..j....... +.>.p}}p.m>{>>. +.>.*ww*.>.>>>. +.w............ +.............. +.............. +Wf.wf>>>>>---. +Wf.>>>f!!f-lW. +l>...>!!!!-g.. +----.------l.. +.g>...>>>>>g.. +Level: +Spockl +Yet back in madhouse +Bricks: +.EEE.E.E.E.E.E +.E.E.E.E.E.E.E +.E.E.E.E.E.E.E +.EEE.E.E.E.E.E +.E.E.EEE.EEE.E +.E.E.E.E.E.E.. +.E.E.E.E.E.E.. +.E.E.E.E.E.E.E +.............. +EEEEEEEEEEEEEE +Edvvvv..vvvvdE +EdvvveeeevvvdE +Eddddd..dddddE +Eddddd..dddddE +Eddddd..dddddE +Eddddd..dddddE +Eddddd..dddddE +Eddddd..dddddE +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.l...l..l...l. +.....g..g..... +.....0..0..... +.>>>>>..>>>>>. +.ffff0..0ffff. +.~~~~0..0~~~~. +.00000..00000. +.>w{>...>{>+>. +Level: +Spockl +A last, peace +Bricks: +gggggggggggggg +haaaaaaaaaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haa########aah +haaaggggggaaah +haa########aah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaa##aaaaah +haaaaaaaaaaaah +Bonus: +55555555555555 +.*j*....*..j*. +.*j*....*..j*. +.*j*....*..j*. +jjjjjj..jjjjjj +..j........j.. +..j5>55555>j.. +..j........j.. +..jjjj..jjjj.. +>>>>>j..j>>>>> +}}}}>j..j>}}}} +j...>j..j>...j +.j**>j..j>**j. +..j*>j..j>*j.. +...j>j..j>j... +....jj..jj.... +}....j..j....} +gggg.w..w.gggg +Level: +Spockl +The asscendation +Bricks: +ccccih!!hicccc +ccccihddhicccc +EchEihddhiEhcE +ccEEihddhiEEcc +EchEihddhiEhcE +ccEEihddhiEEcc +EchEihddhiEhcE +ccEEihhhhiEEcc +EchEiiiiiiEhcE +ccEEEiiiiEEEcc +EchhEEiiEEhhcE +ccEhhEiiEhhEcc +EcEEEEiiEEEEcE +cccccciicccccc +EcEEgEiiEgEEcE +cchhgEiiEghhcc +EcEhEEiiEEhEcE +EEEEiiiiiiEEEE +Bonus: +mmmmmmmmmmmmmm +....c....c.... +..}........}.. +gl..........lg +.lm........ml. +ml....>>....lm +.mm...>>...mm. +mm....>>....mm +.m}.c.bb.c.}m. +.m...mmmm...m. +.m.}......}.m. +mm..m.mm.m..mm +.}....mm....}. +mm.m.}..}.m.mm +.m....++....m. +wmmmm.++.mmmmw +.m.}..gg..}.m. +....5www55.... +Level: +Spockl +Is that heaven +Bricks: +gggggggggggggg +!eeeeeeeeeeeeg +!eggggggggggeg +!egeeeeeeeegeg +!egeggggggegeg +!egegeeeegegeg +!egegeggegegeg +!egegegdegegeg +!egegegdegegeg +dddddddddddddd +dddddddddddddd +!egegegdegegeg +!egegegdegegeg +!egegeggggegeg +!egegeeeeeegeg +!egeggggggggeg +!egeeeeeeeeeeg +!egggggggggggg +Bonus: +l5l5l5l5l5l5l5 +54444444444445 +54333333333345 +54344444444345 +54343333334345 +54343444434345 +54343433434345 +54343432434345 +54343432434345 +*4*4*4*2*3*3*5 +54343432434345 +54343432434345 +54343432434345 +54343433334345 +54343444444345 +54343333333345 +5434+444444+45 +54+wb}&cc&}bw+ +Level: +Spockl +Borne again +Bricks: +!.....!....... +...........!.. +.........!...! +.!..!......... +.............. +.........!.... +!.....!....... +..!.!......!.! +........!..... +.............. +!....!........ +.............. +..!.....!..!.. +.............. +.............. +ggg........... +ggg........... +ggg........... +Bonus: +g.....g....... +...........g.. +.........g...g +.g..g......... +.............. +.............. +......b....... +...........+.. +........b..... +.............. +.....+........ +.............. +.............. +.............. +.............. +b.b........... +ggg........... ++++........... +Level: +Spockl +Back in madhouse again +Bricks: +@@@@@@@@@@@@@@ +@@vvvvzzvvvv@@ +@vvzzv@@vzzvv@ +@vzz.@@@@.zzv@ +@vz........zv@ +@vz........zv@ +@vz..@hh@..zv@ +@vz..@hh@..zv@ +@vz..@hh@..zv@ +@vz..@hh@..zv@ +@vz..@hh@..zv@ +@vz..@gg@..zv@ +@vz..gggg..zv@ +@vzggggggggzv@ +@vzggggggggzv@ +@vzz......zzv@ +@vvz......zvv@ +@@@@......@@@@ +Bonus: +.....mmmm..... +.....-mm-..... +.....-..-..... +.............. +.............. +mb..........bm +mb....ww....bm +mb....}}....bm +mb....>>....bm +mb....>>....bm +mb....{{....bm +mb....gg....bm +.....bbbb..... +..*b>>>>>>b*.. +...b++ww++b... +.............. +.............. +.............. +Level: +Spockl +Trainee conzentration +Bricks: +!************d +!****.dz.**@.d +!jjjjE...jj..d +!jjjj...EjjE.d +..E......E...d +!............d +!............d +!***h.zd.**@.d +!hhhhE..Ehh..d +...E.....E...d +!............d +!..........*** +!.iii.dz.**@zz +!....E..E...zz +!.Eggg..gg!Edd +!........g!.** +!ggggE...g!E** +**E*E*...E*E** +Bonus: +.ffffffffffff{ +{{>>>.g>.j>... +!fllf....lf..> +*fllf....lf... +.............. +.............. +{............. +!...>.{g...... +*fff{....{f... +.............. +.............j +...........>>> +......gW.>>... +............ff +{..-+g..+f}.f! +!.........}.-- +*.f.>....W}.ww +--.-.-....-.>> +Level: +Spockl +Lets Party +Bricks: +zzzzzzzzzzzzzz +zzzzzzggggggg* +zzzzzz******** +zzzzzz*eeeeee* +zgggzz*eeeeee* +z**gzz*****E** +zgggzz*ddddEd* +zgggzz*ddddEd* +zgggzz*****E** +zgggzz*kkkkEk* +zgggzz*kkkkEk* +zgggzz*****E** +zgggzz*jjjjEj* +zzzzzz*jjjjEj* +zzzzzz*****E** +zzzzzzvvvvvEv* +zzzzzzvvvvvEv* +EEEEEEEEEEEEvv +Bonus: +.............. +5ll.lllllllll. +5bbbb5....!!!! +555.55bbbbbbb. +555.55bbbbbbb. +5bbbb5........ +555.55.>>>>... +555.55.!!!!... +5bbbb5........ +5ww.55..>>>.>. +5ww.ggggggg.g. +5}}}}}}}}}}.}} +5...ggggggg.g} +5...55.......} +5...wwwwwww.ww +5...5555555.>> +5...5555555.ww +............ww +Level: +Spockl +Tirejacket +Bricks: +@@@@@@@@@@@@@@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +@zzzzzzzzzzzz@ +...........zzz +.............z +zz.zzzzzzzzz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +zz.zzz.zz.zz.z +Bonus: +.............. +.llllllllllll. +.............. +.............. +.f..f..f...... +...........f.. +.............. +......f..f.... +.............. +.............. +.............. +.............. +.............. +.............. +ff.ffg.gf.ff.f +ff.>>g.g>.ff.f +gg.ggg.gg.gg.g +gg.ggg.gg.gg.g +Level: +Spockl +Madness arround +Bricks: +EEEEEEEjjjj*** +iiiiiiEjjjj*** +iiiiiiEjjhj*** +EiiiiiEjjhjE** +EiiEEEEjjhjE** +iiiiiiEjjhjE** +iiiiiEEEjjjEEE +Eddddddddddddd +Edddd****ddddd +Eddddddddddddd +EEeeEEgEEeeEEg +eeeeeEgEeeeeEg +eeeEEEgEEEeeEg +eeeEeEgeeEeeEg +eeEeeegeeEeeEg +eeeeeegEeEeeEg +eeeeeEgEeeeeEg +eEEEEEgEEEEEEg +Bonus: +.......4444444 +l4444*......55 +lj..w...W...55 +...g.W......5f +.f.....g.wg.ll +f.g......g..jl +.............. +..f.-!.!-!.f.. +...~......~.f. +.ff.!.f..f...f +.............. ++!.jf...f.j..+ +..f........... +>f+...f.f..*.} +!..!.gw}..!!.w +w>*..}>.-....> +>&..&.w...g&.w +w.....>......> +Level: +Spockl +Brain empty +Bricks: +***********E** +***********E** +***********E** +vvvvvvvvvEEE** +vvvvvvvvvvvE** +***********E** +@vvvvvvvvvvE** +@vvvvvvvvvvE** +@vvvvvvvvvvE** +vvvvvvvvvvvE** +***********E** +vvvvvvvvvvvE** +vvvvvvvvvvEE** +vvvvvvvvvvEE** +***********E** +************** +************** +vv**********vv +Bonus: +l.>>.....l...l +.g>>...>.gg.>> +dddd.g.ddddg>> +....}.}.....>> +............{{ +.>>>>dddd>>.>{ +.....d......dd +.....d......dd +.....l......dd +.....f......dd +>>>>>>>>>>>.>> +...g.......... +..w......w.... +dddd...ddddddd +.-g-d-c-W-5->- +++->->->->->-> +++>->->->->->- +.{-{-{-{-{-{-. +Level: +Spockl +The end +Bricks: +!!!!!!!!!!!!!! +!!!!!!gg!!!!!! +!!!!!g!!g!!!!! +!!!!!g!!g!!!!! +!!!!!!!!g!!!!! +!!!!!!!g!!!!!! +!!!!!!!g!!!!!! +!!!!!!g!!!!!!! +!!!!!!g!!!!!!! +!!!!!!!!!!!!!! +!!!!!!g!!!!!!! +!!!!!!g!!!!!!! +!!!gg!!!!!!!!! +!!!gg!!!!!!!!! +!!!gg!!!!!!!!! +!!!gg!!!!!!!!! +.............. +.............. +Bonus: +&>**********>& +&***.*ll*.***& +&....l..l....& +&....l..l....& +&.......l....& +&......l.....& +&......l.....& +&.....l......& +&***.*l.*..*.& +&............& +&&&&&&l&&&&&&& +..**..l..**... +<..++<.<.<><}< +<}}++<.<.<><}< +gggggggggggggg +...++W+W+W+... +.............. +.............. +Level: +Spockl +The real end +Bricks: +!!!!!!!!!!!!!! +!............! +!E!!!E!E!!!E!! +!E!EEE!EEE!E!! +!E!!!!!!!E!E!! +!E!!!!!!!E!E!! +!E!!!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!! +!vvvvvvvvvvvv! +!vvvvvvvvvvvv! +!vvvvvvvvvvvv! +!vvvvvvvvvvvv! +!!!!!!!!!!!!!! +Bonus: +!.l..l..l.l..! +.............. +!.!l.....!..!! +..........!... +!.!.........!! +..........!... +g.g.........!g +*.*..*.*..*..* +g.g..g.g..g.!g +.............. +{.{}.}.}....!. +..g..!.!..g.}} +*.**.{.}..*.!* +*............s +>W!!!!WWW!!!W> +g............g +!+>}+!!!+}{>+! +wwwwwwwwwwwwww diff --git a/project/jni/application/lbreakout2/client/levels/Izusiowe b/project/jni/application/lbreakout2/client/levels/Izusiowe new file mode 100644 index 000000000..1baa96b61 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/JediAdventure b/project/jni/application/lbreakout2/client/levels/JediAdventure new file mode 100644 index 000000000..18c2aadea --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Kazan-1 b/project/jni/application/lbreakout2/client/levels/Kazan-1 new file mode 100644 index 000000000..a67aa0d80 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Kazan-1 @@ -0,0 +1,617 @@ +Version: 1.00 +Level: +Derek "Kazan" Meek +Warmup +Bricks: +cbaaaaaaaaaabc +cbaaaaaaaaaabc +cbbbbbbbbbbbbc +cccccccccccccc +.f.f.f..f.f.f. +..f.f.ff.f.f.. +.f.*!h..h!*.f. +..f!*.hh.*.f.. +.h.e.*!!*!e.h. +.hh.h!**!h.hh. +.hh.h!**!h.hh. +.h.e.*!!*!e.h. +..f!*.hh.*.f.. +.f.*!h..h!*.f. +..f.f.ff.f.f.. +.f.f.f..f.f.f. +xxxxxxxxxxxxxx +.............. +Bonus: +32111111111123 +32111111111123 +32222222222223 +33333333333333 +.............. +..?....j...?.. +.....s........ +..<........>.. +.............. +.&..?....?..&. +.w..........p. +......-+...... +..+........-.. +.....>..<..... +....?....?.... +.m..........*. +?....?..?....? +.............. +Level: +Derek "Kazan" Meek +Jackpot +Bricks: +j*aaaaaaaaaa*j +j*aaaaaaaaaa*j +j*aaaaaaaaaa*j +j*@@@@@@@@@@*j +j*yyyyyyyyyy*j +j*yyyyyyyyyy*j +j************j +jjj*jjjjjj*jjj +kkj*jkkkkj*jkk +fkj*jkffkj*jkf +fkj*jkffkj*jkf +fkj*jkffkj*jkf +fkj*jkffkj*jkf +fkj*jkffkj*jkf +fkj*jkffkj*jkf +fkjjjkffkjjjkf +fkkkkkffkkkkkf +.............. +Bonus: +.....1111..... +....122221.... +...12332321... +..3333333333.. +...s..m&..p... +.............. +.............. +......jj...... +.....f..>..... +.............. +.............. +..j........j.. +.............. +.............. +.............. +g.....gg.....g +..w........w.. +.............. +Level: +Derek "Kazan" Meek +Explosive Peril +Bricks: +ijjjk....kjjji +i**!k....k!**i +i*cck....kcc*i +h****....****h +hhfff....fffhh +#####.zz.##### +hhhh.zaaz.hhhh +hhhh.z**z.hhhh +.ff...zz...ff. +.ff........ff. +.............. +.....z..z..... +.!..!*!!*!..!. +xxxxxzxxzxxxxx +xxxxxxxxxxxxxx +.............. +.............. +.............. +Bonus: +....b......... +.............. +....c....c.... +.............. +p.~........~.m +......55...... +3....}**{....3 +...W.{..}.W... +......44...... +.wf........fw. +.............. +.............. +.s..........s. +...b.......... +.............. +.............. +.............. +.............. +Level: +Derek "Kazan" Meek +Two Face +Bricks: +aabc..##..cbaa +abc.!.##.!.cba +bc.@..!!..@.cb +c....!..!....c +ayy.!....!.yya +#*y..!..!..y*# +#*y........y*# +#*y!..!!..!y*# +#*yxcb##bcxy*# +**yxcbaabcxy** +dxxxcbbbbcxxxd +dddxccccccxddd +dddxxxxxxxxddd +ddd##.##.##ddd +eee..!..!..eee +hhh.!.!!.!.hhh +ffff.f..f.ffff +.............. +Bonus: +?.....55.....? +..&...55...!.. +.<....??....>. +.............. +..?........?.. +l............l +5............5 +5?..........?5 +5..3!.55.&3..5 +c.....mm.....c +..*..?..?..w.. +.f..........>. +...j.>..<..... +.?.55.55.55.?. +.............. +.............j +.>.{.3..g.p.<. +.............. +Level: +Derek "Kazan" Meek +Narrow Places +Bricks: +cccccccccccccc +cccccccccccccc +cccccccccccccc +*bbbeeeeeebbb* +#bdbee##eebdb# +#bdbee##eebdb# +*bbbeeeeeebbb* +cccccceecccccc +cccccceecccccc +####cceecc#### +ddd#cceecc#ddd +eee#bceecb#eee +hhh#abzzba#hhh +fff###zz###fff +.............. +.............. +.............. +.............. +Bonus: +*..>.........* +.?.......l..?. +...&.......... +.444.?mm?>444. +.............. +....<.....b... +......??....f. +.jb.?....?..j. +.w.f.....&<.w. +.....s..s..... +*.?.>......?.* +.?...bj.....?. +....5....5.... +.&}........{w. +.............. +.............. +.............. +.............. +Level: +Derek "Kazan" Meek +Rock and a Hard Place +Bricks: +.............. +.............. +.............. +cccccccccccccc +caaaaaaaaaaaac +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccyyyyccccc +cyyycyyyycyyyc +cyfycyhhycyfyc +cyfycyhhycyfyc +cyyycyyyycyyyc +cccccyyyyccccc +cccccccccccccc +cccccccccccccc +caaaaaaaaaaaac +cccccccccccccc +Bonus: +.............. +.............. +.............. +.............. +.333333333333. +.............. +.b..........b. +......ll...... +...>......>... +.............. +..*...wm...*.. +..5...g>...5.. +&{c}......{c}& +.....<..<..... +.............. +......bb...... +.w~.fpggpf.~w. +.............. +Level: +Derek "Kazan" Meek +The All Seeing Eye +Bricks: +cccc......cccc +c*c..xxxx..c*c +cc..xxxxxx..cc +c..xxyyyyxx..c +..xxyyyyyyxx.. +.xxyyzzzzyyxx. +.xyyzz##zzyyx. +.xxyyzzzzyyxx. +..xxyyyyyyxx.. +c..xxyyyyxx..c +cc..xxxxxx..cc +c*c..xxxx..c*c +cccc......cccc +####......#### +fff#zzzzzz#fff +fffzzzzzzzzfff +...yyyyyyyy... +.............. +Bonus: +?............? +.4..........4. +.............. +.....m..m..... +.............. +.............. +....?.ll.?.... +.?..........?. +...?......?... +.....m..m..... +.............. +.4?........?4. +.............. +5555......5555 +.*.5?.??.?5.*. +*.*..?ww?..*.* +...?.w..w.?... +.............. +Level: +Derek "Kazan" Meek +Anger Rising +Bricks: +@.hhhhhhhhhh.@ +..ffffffffff.. +..ffffffffff.. +..gggggggggg.. +..gggggggggg.. +**EEEEEEEEEE** +.............. +.....yyyy..... +.#.#.yaay.#.#. +.b.b.yaay.b.b. +.b.b.yaay.b.b. +.#!#.yyyy.#!#. +.b.b......b.b. +.b.b!.!!.!b.b. +.#b#......#b#. +.###.!..!.###. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +...l..&*..l... +......44...... +......m&...... +.............. +.............. +.............. +..5........5.. +.............. +.............. +.............. +Level: +Derek "Kazan" Meek +Test Your Might +Bricks: +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +cccccccccccccc +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +.............. +gg.yyyyyyyy.gg +gg.yyyyyyyy.gg +gg.yyyyyyyy.gg +###yyyyyyyy### +cc#zzzzzzzz#cc +.............. +.............. +Bonus: +.............. +.?...?..?...?. +.............. +...?...j..?... +.*...........* +.....?..?..... +...?...*..?... +..-........-.. +.?..!.j..!..?. +.............. +.............. +.......>...... +...g......g..c +.....f..+..... +555........555 +*&5.p.ws.?.5&m +.............. +.............. +Level: +Derek "Kazan" Meek +Fient +Bricks: +ajggggggggggja +ajggggggggggja +aj**********ja +ajggff**ffggja +ajgg#h**h#ggja +ajgg#heeh#ggja +ajgg#heeh#ggja +ajgg######ggja +ajgg#hhhh#ggja +ajgg#h**h#ggja +ajgg#h**h#ggja +ajgg#h**h#ggja +ajgg#f**f#ggja +aj*g##**##g*ja +a#*ggg**ggg*#a +a#**********#a +a############a +yyyyyyyyyyyyyy +Bonus: +.m..........m. +.............. +.............. +?............? +..*.5....5.*.. +....5?..?5.... +....5....5.... +?...555555...? +...s544445s... +....54..45.... +....54..45.... +....54..45.... +m...54..55...m +....55..55.... +.5.444..444.5. +.3..........3. +.333333333333. +.g.w......w.g. +Level: +Derek "Kazan" Meek +Cahadhras +Bricks: +******!!****** +*#####..#####* +.#aaa#..#aaa#. +.#aca#!!#aca#. +.#aca#..#aca#. +!#aca#..#aca#! +.#aca*..*aca#. +.#aca#!!#aca#. +.#aca#..#aca#. +.#aca#..#aca#. +.#aca#..#aca#. +.#aca#..#aca#. +!#a###!!###a#! +.#a##a..a##a#. +z#aaaazzaaaa#z +y#####yy#####y +xxxxxxxxxxxxxx +.............. +Bonus: +.?..........?. +.....l..5..... +.............. +......?....... +...?......?... +.............. +.....m..}..?.. +.......?...... +.............. +..?........... +.............. +...*....s.s... +.............. +.............. +?.........?... +.............? +..w.?.b?...w.. +.............. +Level: +Derek "Kazan" Meek +The Mines +Bricks: +a************a +#a#cccccccc#a# +#a#cccccccc#a# +...bbbbbbbb... +...bbbbbbbb... +a#a#a#aa#a#a#a +b#b#b#bb#b#b#b +.............. +.............. +#b#b#b##b#b#b# +#c#c#c##c#c#c# +.............. +.............. +c#c#c#cc#c#c#c +y#y#y#yy#y#y#y +.............. +dddddddddddddd +dddddddddddddd +Bonus: +.............. +..l........l.. +..m........m.. +....}....{.... +.............. +-.?........?.+ +......??...... +.............. +.............. +.&3m..33..-3m. +..3..<33>..3.. +.............. +.............. +?...?....?...? +..>...f....<.. +.............. +.?...?..?...?. +...?...w..?... +Level: +Derek "Kazan" Meek +Into the Fray +Bricks: +.ggccccccccgg. +.ggccccccccgg. +.ggccccccccgg. +.gggggggggggg. +.gggggggggggg. +.............. +.............. +zzzzzzzzzzzzzz +******zz****** +#dd###jj###dd# +#jj###jj###jj# +yxjxyxjjxyxjxy +yxjxyxjjxyxjxy +z###z####z###z +z###z####z###z +.jjj.jjjj.jjj. +.jjj.jjjj.jjj. +.............. +Bonus: +.?..?....?..?. +......m5...... +.............. +...?......?... +.............. +.............. +.............. +..*...??...m.. +.............. +....3....3.... +..?.3....3.?.. +.............. +....?....?.... +..3...33...3.. +..3...33...3.. +.............. +..?..?..?..?.. +.............. +Level: +Derek "Kazan" Meek +Nautilus +Bricks: +***bbbbbbbb*** +aaaaaaaaaaaaaa +a....*aa*....a +a#...*aa*...#a +a##..abba..##a +a#c#.abba.#c#a +a#cc#abba#cc#a +a#cc#abba#cc#a +a#cc#....#cc#a +a#cc#....#cc#a +a#cc#.cc.#cc#a +a#cc#.cc.#cc#a +a#cc#.cc.#cc#a +a#cc#xccx#cc#a +aaaa#xccx#aaaa +aaaa#yccy#aaaa +#####yccy##### +zzzzzzzzzzzzzz +Bonus: +....?....?.... +.............. +.............. +m............m +.............. +..5...s....5.. +..44......44.. +?.33.&..-.33.? +..22......22.. +..11......11.. +..00..*?..00.. +?............? +.............. +......+....... +.?..........?. +...~......l... +......??...... +w..-......+..w +Level: +Derek "Kazan" Meek +ISU Is the Bomb +Bricks: +xxxxxxxxxxxxxx +************** +*###*z#z*#z*#* +**d**#b#*dz*d* +z*d*z#bb*dz*d* +z*d*zbab*dbbd* +z*d**bb#*dbbd* +**d**#b#*dbbd* +*###*z#z*d###* +************** +cccccccccccccc +cccccccccccccc +cccccccccccccc +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +##.##.##.##.## +.............. +Bonus: +.?.?..?.?.?... +.....?........ +..5......5..5. +......m....... +.............. +.............. +.............. +......m...**.. +..5........5.. +.............. +.............. +.....?..??.?.. +..?...?....... +.......?....?. +....?....?.... +.?w........g.. +......55...... +.............. + diff --git a/project/jni/application/lbreakout2/client/levels/Kevin b/project/jni/application/lbreakout2/client/levels/Kevin new file mode 100644 index 000000000..f6d6487d0 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Kevin @@ -0,0 +1,820 @@ +Level: +Kevin +Robot +Bricks: +.............. +jjjjjjjjjjjjjj +j.jjj.**.jjj.j +j............j +j............j +j..jjjjjjjj..j +j..jddddddj..j +j..jd!dd!dj..j +jjjjddddddjjjj +j..jddddddj..j +j..jhhhhhhj..j +jjjjh.ee.hjjjj +hhhhh.ee.hhhhh +!..!..ee..!..! +..**.**ee**.** +.......ee..... +.............. +.............. +Bonus: +.............. +.............. +...l........l. +.............. +.............. +......+..+.... +.....454454... +.....5.55.5... +.....454454... +.....555555... +.....gg..gg... +.............. +....m......m.. +.......++..... +g..p......p... +.............. +.............. +.............. +Level: +Kevin +Easy as it gets +Bricks: +.............. +iiiiiiiiiiiiii +.............. +hhhhhhhhhhhhhh +.............. +gggggggggggggg +.............. +ffffffffffffff +.............. +eeeeeeeeeeeeee +.............. +dddddddddddddd +.............. +jjjjjjjjjjjjjj +.............. +kkkkkkkkkkkkkk +.............. +.............. +Bonus: +.............. +.............. +.............. +..2m...2.22... +.............. +....2.3+3.3.b. +.............. +...2.+.....3b. +.............. +..2.+.......33 +.............. +..23+.l.....l. +.............. +..3.....222... +.............. +3.........2.w. +.............. +.............. +Level: +Kevin +# 3 +Bricks: +......chhc.... +......#hh#.... +......#hh#.... +......#hh#.... +.....######... +....#fcffcf#.. +...#ffccccff#. +..#ffggggggff# +ccfggggggggfcc +cjjjjjjjjjjjjc +jjjjjjjjjjjjjj +cjjjjjjjjjjjjc +ccfggggggggfcc +..#ffggggggff# +...#ffccccff#. +....#ccffcc#.. +.....######... +.............. +Bonus: +.......22m.... +.......33..... +.......44..... +.......55..... +.............. +.......55..... +.............. +.............. +.............. +.............. +g.3+..??..+3.g +.............. +...+........+. +.............. +.............. +.......ll..... +.............. +.............. +Level: +Kevin +Probe +Bricks: +.............. +.............. +.............. +.............. +.......gg..... +......g##g.... +.....ghheeg... +....g#hhee#g.. +...f##eehh##f. +..#.f#eehh#f.# +#...f####f...# +......f!!f.... +..####!ff!#### +......ffff.... +.....fbccbf... +.....bbbbbb... +..c..........c +.............. +Bonus: +.............. +.............. +.............. +.............. +.......ll..... +.............. +.............. +.............. +......5..5.... +......3443.... +.....m....m... +......b++b.... +.......22..... +.......11..... +.....p.++.p... +.....000000... +..g..........g +.............. +Level: +Kevin +Shaft +Bricks: +ccccchhccccccc +ccccchhccccccc +ccccchhccccccc +......hh...... +ccccchhccccccc +ccccchhccccccc +......hh...... +ccccchhccccccc +ccccchhccccccc +......hh...... +ccccchhccccccc +ccccchhccccccc +......hh...... +ccccchhccccccc +ccccchhccccccc +......hh...... +cccccccccccccc +cccccccccccccc +Bonus: +.......m...... +5..5..+..5.+5. +.....>..>..... +.............. +....?..+.5.... +..3....c...pm. +.............. +?.m...+....>.. +..p........4.. +.............. +...........?.. +..b.33c+.3.... +.............. +....>.....3m.. +..4-......p.-b +.............. +....+.w+...... +0.0.b...0..0.. +Level: +Kevin +Stary Night +Bricks: +....!.....!... +!.....!.....!. +.............. +...!.!...!.!.! +.......!...... +..!.!.....!.!. +......!.!..... +...!.......!.! +.....!.!.!.... +.............. +.............. +ffffffffffffff +ffffffffffffff +gggggggggggggg +####gggggg#### +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +Bonus: +.............. +.............. +........5..... +..5......5.... +.............. +............1. +......1....... +.............. +............5. +.............. +.............. +...+........3. +..1111..1111.. +bm.3.1....gm3. +......1...+... +..3g1..1....+1 +....+...1111.. +.....11....1.. +Level: +Kevin +Smiley +Bricks: +....vvvvvvvv.. +...vvhhhhhhvv. +..vvhh....hhvv +..vhh......hhv +vvh..h..h..hvv +vh...h..h...hv +vh..........hv +vh..........hv +vh..h....h..hv +vh..hh..hh..hv +vvh..hhhh..hvv +..vhh......hhv +..vvhh....hhvv +...vvhhhhhhvv. +....vvv..vvv.. +.............. +.............. +.............. +Bonus: +.............. +....5......5.. +.............. +..+........... +......5..5.... +......5..5...+ +.............. +.............g +..s........... +.....m....m... +..l........... +............s. +...g.......... +.............. +....4+p..p+4.. +.............. +.............. +.............. +Level: +Kevin +Night +Bricks: +..vvv...vvv... +v...vvv...vvv. +v...vvv...vvv. +v...vvv...vvv. +v...vvv...vvv. +..vvv...vvv... +..vvv...vvv... +..vvv...vvv... +..vvv...vvv... +v...vvv...vvv. +v...vvv...vvv. +v...vvv...vvv. +v...vvv...vvv. +..vvv...vvv... +..vvv...vvv... +..vvv...vvv... +..vvv...vvv... +.............. +Bonus: +..dm5...dd5... +d...dld...dld. +d...ddd...ddd. +d...ddd...d+d. +5...dd5...dd5. +..d+d...dld... +..ddd...ddd... +..ddd...ddd... +..dd5...dd5... +d...dmd...ddd. +d...ddd...dd+. +d...ddd...ddd. +5...dd5...5dd. +..ddd...dld... +..d+d...ddd... +..ddd...ddd... +..dd5...dd5... +.............. +Level: +Kevin +trao +Bricks: +.............. +.............. +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjj#v##jjjjj +fffff#ff#fffff +fffff#ff#fffff +fffff#ff#fffff +fffff##f#fffff +ggggg#gg#ggggg +ggggg#gg#ggggg +ggggg#gg#ggggg +ggggg#g##ggggg +hhhhh#hh#hhhhh +hhhhh#hh#hhhhh +hhhhh#hh#hhhhh +hhhhh##h#hhhhh +######..###### +Bonus: +.............. +.............. +g............g +.............. +1...g.m..g...1 +.....2....2... +.............. +.......+...... +2......c.....2 +.....4....4... +.............. +.......c+..... +4.....w......4 +.....5....5... +...b........b. +.......+...... +5......w.....5 +.............. +Level: +Kevin +Pedastal +Bricks: +.....vvvvvv... +.....vvvvvv... +.....j#ee#j... +.....j#ee#j... +.....j#ee#j... +.....j#gg#j... +.....j#gg#j... +.....j#gg#j... +.....j#gg#j... +.....j#ff#j... +.....j#ff#j... +.....j#ff#j... +..iiiiiiiiiii. +..iifhiiiihfi. +..ifhed##dehf. +..fhedccccdehf +fhedvvvvvvdehf +gggggggggggggg +Bonus: +.....5555m5... +.....555555... +......5445.... +......5445.... +......5445.... +......5335.... +......5335.... +.....+5335+... +......m335.... +......5445.... +......5445.... +......5445.... +..55555555555. +.....g.+.+g... +.......55..... +......5555.... +..gp........pg +....+..+..+... +Level: +Kevin +Got Blue Balls? +Bricks: +.......#h#.... +.......#e#.... +..!..!.#h#.!.! +.......#e#.... +.......#h#.... +..!..!.#e#.!.! +.......#h#.... +.......#e#.... +..!..!.#h#.!.! +.......#e#.... +.......#h#.... +..!..!.#e#.!.! +.......#h#.... +########e##### +.............. +.............. +.............. +.............. +Bonus: +........m..... +.............. +....5.......5. +.............. +.............. +..........5... +..5........... +.............. +............5. +.....5..l..... +.............. +........p.5... +..5........... +........+..... +.............. +.............. +.............. +.............. +Level: +Kevin +TNT +Bricks: +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +*!*!*!*!*!*!*! +!*!*!*!*!*!*!* +####*!*!*!*!*! +####!*!*!*!*!* +####*!*!*!*!*! +###.!*!*!*!*!* +##..*!*!*!*!*! +#...!*!*!*!*!* +....#*!*!*!*!* +...##!*!*!*!*! +..###*!*!*!*!* +...##!*!*!*!*! +....#*!*!*!*!* +....#!*!*!*!*! +....########## +Bonus: +55555351515355 +555545250b2545 +55555341>14345 +55554424042>45 +5555g3b14143b5 +.....4>2g0p234 +.....533131333 +.....432303234 +.....+3p1>1b32 +.....422202224 +.....+32121232 +.....412101214 +.....51b1w1131 +.....412101214 +.....>3j1g1w35 +.....452505254 +.....b3515153j +.............. +Level: +Kevin +Two Rooms +Bricks: +...#.......... +...#!*!*!*!*!! +...#.......... +...#!*!*!*!*!* +...*.......... +...*!*!*!*!*!* +...#.......... +...#!.!.!.!.!. +...########### +...#!.!.!.!.!. +...*.......... +...*!*!*!*!*!* +...#.......... +...#!*!*!*!*!* +...#.......... +...#!*!*!*!*!* +...#.......... +...########### +Bonus: +.....ggggg.... +.............. +......???..... +..........>... +....bw.44..... +...wbw.>...4.. +....bb4.4..... +....>...4..... +...........4.. +......?.?..... +....bw??4.444. +...wbw?.....4. +....bb..4..p.. +.....>.l..lp.. +......??w.4.j. +....>.wp??j... +........j..... +.............. +Level: +Kevin +Face +Bricks: +hhhhhh..hhhhhh +hhhhhh..hhhhhh +hhhhhh..hhhhhh +hh####vv####hh +###ggg..ggg### +ggggjg..gjgggg +ggggjg..gjgggg +ggggff..ffgggg +ffffff..ffffff +ffffff..ffffff +....fff..fff.. +.....df..fd... +.....dddddd... +......iddi.... +......iiii.... +.......ii..... +.......ii..... +.............. +Bonus: +.............. +............4. +.............. +m.5555ll5555.m +555........555 +.....4....4... +.....4....4... +.............. +..g........... +.............g +.............. +.............. +.............. +.............. +........l..... +.............. +.............. +.............. +Level: +Kevin +USA +Bricks: +.............. +.............. +..#.########## +..#gggggddddd# +..#gggggjjjjj# +..#gggggddddd# +..#gggggjjjjj# +..#gggggddddd# +..#gggggjjjjj# +..#dddddddddd# +..#jjjjjjjjjj# +..#dddddddddd# +..#jjjjjjjjjj# +..#dddddddddd# +..#jjjjjjjjjj# +..#dddddddddd# +..############ +.............. +Bonus: +.............. +.............. +.............. +...b.......... +.....g........ +.........+.... +....+..2...... +.........2.... +.....2....22.. +.............. +...1..11...... +.............. +.........1.... +......22+...m. +....1.2...1... +.............. +.............. +.............. +Level: +Kevin +Tiger +Bricks: +.............. +.............. +.............. +.............. +.....ee.ee.... +.....ee.ee.... +.....ee.ee.ee. +..ee.......ee. +..ee..eee..ee. +..ee.eeeee.... +....eeeeeee... +....eeeeeee... +....eeeeeee... +....eeeeee.... +.....eeee..... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +......l.4..... +.....54....... +.............. +...4........5. +...+.......... +.......g4..... +.....4........ +.........+.... +....b...4..... +........b..... +.............. +.............. +.............. +.............. +Level: +Kevin +easy +Bricks: +.............. +ggg.g.g.g.ggg. +..g..g.g.g.g.. +..g..ggg.g.ggg +..g..g.g.g...g +..g..g.g.g.ggg +.............. +......g.ggg... +......g.g..... +......g.ggg... +......g...g... +......g.ggg... +.............. +gg.ggg.ggg.g.g +g..g.g.g...g.g +gg.ggg.ggg.ggg +g..g.g...g..g. +gg.g.g.ggg..g. +Bonus: +.............. +.......p...... +..2........5.. +.....2.l.4..4. +..c........... +.............. +.............. +......l....... +........c..... +.........g2... +......4....... +.........2>... +.............. +l............. +.............. +..4..4>..2...5 +.............. +c...........w. +Level: +Kevin +U SUCK +Bricks: +.............. +..d.d.ddd.d.d. +..d#d.d.d.d.d. +..ddd.d#d.d#d. +...d..d.d.d.d. +...d..ddd.ddd. +.............. +.............. +...###.###.### +ddd.d.d.dd.d.d +d##.d.d.d..d.d +ddd.d.d.d..dd. +##d.d#d.d##dd. +...d.d.d.d..d. +ddd.ddd.dd.d.d +#######..##### +.............. +.............. +Bonus: +.............. +.............. +............3. +..5...5....... +.............. +........3..m.. +.............. +.............. +.............. +.............. ++............. +.........l.... +.............5 +.............. +.......+.5.... +......+....... +.............. +.............. +Level: +noname +Stairs +Bricks: +iiiiiiiiiiiiii +iiiiiiiiiiiiii +###*######*### +gggggggggggggg +gggggggggggggg +#####*##*##### +ffffffffffffff +ffffffffffffff +######**###### +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +#.##*####*##.# +eeeeeeeeeeeeee +eeeeeeeeeeeeee +##*########*## +dddddddddddddd +dddddddddddddd +..############ +Bonus: +5........3.... +...b...3....3. +.............. +5............4 +...3.......... +.............. +4.........3... +m.3........... +.............. +.....>........ +.....2+...b... +.............. +5.....3.....>m +3...g.....<..4 +.............. +...+.3....+... +3..b.+..j....w +.............. +Level: +Kevin +Rainbow +Bricks: +jkghifdedfihgj +jkghifdedfihgj +jkghifdedfihgj +jkghifdedfihgj +jkghifdedfihgj +jkghifdedfihgj +jkghif#e#fihgj +jkghif#e#fihgj +jkghif#e#fihgj +jkghi#...#ihgj +jkghi#...#ihgj +jkghi#...#ihgj +jkgh#.....#hgj +jkgh#.....#hgj +jkgh#.....#hgj +jkg#.......#gj +###.........## +.............. +Bonus: +.............. +.....?........ +......gggggg.. +....gggb5...g? +>.g.5+55ggg.g. +..5..5gg..5.g. +g5.5g....?..g. +g..g......55gg +5.5l.......... +...5b........g +55.........5m. +...g+........g +5554.......5.g +..5........... +5>...........g +5............g +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/KungFu b/project/jni/application/lbreakout2/client/levels/KungFu new file mode 100644 index 000000000..e34eb2972 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/LBreakout1 b/project/jni/application/lbreakout2/client/levels/LBreakout1 new file mode 100644 index 000000000..7e447eff1 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/LBreakout1 @@ -0,0 +1,1231 @@ +Version: 1.00 +Level: +Michael Speck +Wall +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +.dddddddddddd. +.dddddddddddd. +.eeeeeeeeeeee. +.ffffffffffff. +.ffffffffffff. +.eeeeeeeeeeee. +.dddddddddddd. +.dddddddddddd. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +..s..0.>..m... +..1...+....0.. +.<.-.1..-.l... +.?.0..-.0..w.. +...+..1.<.+... +..0..b..-..0.. +..-.f.+..0.... +..0+...b.>.p.. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Breakthrough +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +gggggggggggggg +gggggggggggggg +eeeeeeeeeeeeee +eeeeeeeeeeeeee +dddddd..dddddd +ddddd....ddddd +iiii......iiii +iii........iii +ff..........ff +f............f +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.0...1...-..m. +...b......2..0. +..0......+.?.. +1..+.......>+. +..b........w.. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Level 02 +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +..heggggggeh.. +...heeeeeeh... +....hhhhhh.... +hhh........hhh +eeeh......heee +gggeh....heggg +dddgeh..hegddd +dddgeh..hegddd +dddgeh..hegddd +gggeh....heggg +eeeh......heee +hhh........hhh +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +..1..l...+.0.. +....-...w..... +....f.b..-.... +.+.........p.. +b............. +.<..-.......0. +...1......1..> +.0..>...+..... +...+.f....<.b. +..1........0.. +.?........+... +..-.........1. +.............. +.............. +Level: +Michael Speck +U.F.O. +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +......bb...... +.....bkkb..... +....kkkkkk.... +...gkggggkg... +..kkkkkkkkkk.. +.cccccccccccc. +..kkkkkkkkkk.. +...gkggggkg... +....kkkkkk.... +.....bkkb..... +......bb...... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......l....... +.......-...... +....1..0...... +...-..+..>.... +..<.?...1..... +...b.1.<..+... +....-..w.0.... +....>...-.?... +.....+.0...... +.....0..+..... +......b....... +.............. +Level: +Michael Speck +Pyramid +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +.....eeee..... +.....ehhe..... +....ehhhhe.... +....eheehe.... +...ehheehhe... +...ehheehhe... +..bb######bb.. +..hhhhhhhhhh.. +..eeeehheeee.. +.hhhheeeehhhh. +.aaaaaaaaaaaa. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......-.f..... +.....1.b...... +.....-..1..... +........>..... +...1.<.?...... +...+......+... +.............. +..m...-...0... +....+...0.-<.. +..-.1.0.+..0.. +.0.+.>w.1.b... +.............. +Level: +Michael Speck +Bubbles +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.........gg... +..gg....gjgg.. +.gjgg...gggg.. +.gggg...gggg.. +.gggg....gg... +..gg.......... +......gg...... +.....gjgg..... +.....gggg..... +.gg..gggg..gg. +gjgg..gg..gjgg +gggg......gggg +gggg......gggg +.gg........gg. +Bonus: +.............. +.............. +.............. +.............. +.............. +...1....+.1... +..+......?.-.. +.>.p....0.<... +.-.......w.... +...0.......... +......f....... +........1..... +.....-.l...... +.s....+....... +..0....>....-. +.-........b.1. +........b... +..?.........-. +1..+......+.<. +.............. +.............. +.............. +....0.+.>0.... +....0-.f.0.... +....0..1.0.... +.............. +.............. +Level: +Michael Speck +Mushroom +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.....ddd...... +...ddddddd.... +..ddddddddd... +..ddddddddd... +..ddddddddd... +..dd.eee.dd... +.....eee...... +f....eee...... +.f..feeee.f.f. +.f.f.eeee..f.. +ffffffeeeeffff +ffffffeeeeffff +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +......1....... +...b..-.<..... +..-.....-..... +..+.f..<..b... +..1..l..1..... +...2..0..+.... +.......-...... +.....p........ +....>.+....... +.....-.1...... +.+..0.+..-..>. +...b.1.?..+... +.............. +Level: +Michael Speck +Level 08 +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +gggg#....#gggg +geeg#....#geeg +geeg#....#geeg +geeg#....#geeg +geeg#....#geeg +gggg#....#gggg +.............. +aaaabbbbbbaaaa +aaaabffffbaaaa +....bffffb.... +....######.... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. ++.2.........b. +...-......-... +1...........1. +..>........... +..+........0.. +.b.-........+. +.............. +.>.w.1...-..<. +..0...-.p..b.. +.....<.2.+.... +.............. +.............. +Level: +Michael Speck +Chest +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +.cccccccccccc. +.cddddddddddc. +.cdeeeeeeeedc. +.cdeffffffedc. +.cdefggggfedc. +.cdefggggfedc. +.cdeffffffedc. +.cdeeeeeeeedc. +.cddddddddddc. +.cccccccccccc. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.101010101010. +.0-..<.+...m1. +.1.p......-.0. +.0..+..>.?..1. +.1....-...>.0. +.0.l.....+..1. +.1....+...-.0. +.0.-.....w..1. +.1<..s...+..0. +.000101010101. +.............. +.............. +Level: +Michael Speck +Level 10 +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +..d#ffffff#d.. +..d#ffffff#d.. +.dd#ffffff#dd. +.dd#gggggg#dd. +ddd#gggggg#ddd +ddd#gggggg#ddd +.dd#gggggg#dd. +.dd#ffffff#dd. +..d#ffffff#d.. +..d#ffffff#d.. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +..<...1....... +......b..>.... +.-..-...+..... +.....0..1..-.. +..p...+......b +.+..f...?...+. +.....>.1.-.<.. +.1...-.....m.. +.......0...... +.....+..b..... +.............. +.............. +Level: +Michael Speck +Level 11 +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +cccc.cccc.cccc +ceec.cddc.ceec +ceec.cddc.ceec +ceec.cddc.ceec +cccc.cccc.cccc +.............. +cccc.bbbb.cccc +cddc.bffb.cddc +cddc.bffb.cddc +cddc.bffb.cddc +cccc.bbbb.cccc +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.0....+....m.. +........-..-.. +..+...0.>....+ +.<.........b.. +-.1...p...0... +.............. +.......-...<.. +..0..?..b...1. +l.....1.....b. +.+...s....-... +..>....+...... +.............. +Level: +Michael Speck +Egg +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +......gg...... +....gggggg.... +...ghhhhhhg... +..ghiiiiiihg.. +..ghiiiiiihg.. +.fhiiiiiiiihf. +.fhhhhhhhhhhf. +.ffffffffffff. +.ffffffffffff. +..eeeeeeeeee.. +..dddddddddd.. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......0....... +.....m..<.b... +....1.-..2.... +..0...1..-.... +...+.f..+..-.. +..1.-..2..p... +.+..>.+....>.. +..b....b.+.-.. +....?...2.<... +..-..0..w..+.. +.............. +Level: +Michael Speck +Web +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +b...b....b...b +.b...b..b...b. +..b...bb...b.. +...b..cc..b... +....cc..cc.... +bb..cd..dc..bb +..bcddddddcb.. +...cddddddc... +..bcddddddcb.. +bb..cddddc..bb +....ccddcc.... +...bb.cc.bb... +.bb........bb. +b............b +Bonus: +.............. +.............. +.............. +.............. +.............. +........-..... +..2....f...... +......+....... +....1....2.... +-...+...<...2. +...2.?...+.... +...<..-.1..... +....b.+..-.... +.-...p.l....>. +....+..-...... +...>..1..+.... +..b.........2. +.............. +Level: +Michael Speck +Level 14 +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.eeeeeeeeeeee. +..eeeeeeeeee.. +...gggggggg... +....gggggg.... +....iiiiii.... +...iiiiiiii... +..hhhhhhhhhh.. +.hhhhhhhhhhhh. +.............. +ffffffffffffff +#f#f#f#f#f#f#f +dddddddddddddd +dddddddddddddd +.............. +Bonus: +.............. +.............. +.............. +.............. +.>.-...+...2.. +....2.l..-.... +...+.....<.... +.....-.1.+.... +.............. +...b..2....... +......p.+.1... +.1..+.<..-.... +.............. +..-.s....-.2.. +.?.?.?.?.?.?.? +....+...b...-. +..b...>...+... +.............. +Level: +Michael Speck +Bowl +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +.c..........c. +.cggggggggggc. +.cggggggggggc. +.cddddddddddc. +.c#ffffffff#c. +..#ffffffff#.. +..##dddddd##.. +...##eeee##... +....##ee##.... +.....####..... +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..2.b.<+..1... +...+..s..b.... +....>.f.w.-... +...2..+.1-.... +....-.-..+.... +.....+..2..... +.....-.?...... +.............. +.............. +.............. +.............. +Level: +Michael Speck +Hill +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......hh...... +.....gggg..... +....ffffff.... +...eeeeeeee... +..dddddddddd.. +b############b +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.......+...... +.....b-.1..... +....b2<.-..... +...+..2m.>+... +...2.-b.1..b.. +4............4 +.............. +Level: +Michael Speck +Symmetry +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +..i.h.g.f.e.d. +.i.h.g.f.e.d.b +i.h.g.f.e.d.b. +.h.g.f.e.d.b.. +h.g.f.e.d.b... +.g.f.e.d.b..i. +g.f.e.d.b..d.i +.f.e.d.b..g.d. +f.e.d.b..f.g.d +.e.#.b..c.#.g. +e.#.b....c.#.g +.#.b......c.#. +#.b........c.# +.b..........c. +Bonus: +.............. +.............. +.............. +.............. +....l.....s... +.2.....2...<.. +....-...+...?. +.-.....f.s.... +w...b.....-... +.....-...2.... +..+.>...+..b.. +.2...f........ +..-........-.. +.....b..+...>. +....1....+.... +...<.......... +...........1.. +.2............ +Level: +Michael Speck +Rainbow +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +.........ddddd +.....ddddeeeee +..dddeeeehhhhh +ddeeehhhhfffff +eehhhffffiiiii +hhfffiiiiggggg +ffiiigggg..h.. +iiggg....h.... +gg..h..h...h.. +..h..h......h. +.h.....h.h.... +....h.......h. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +...........-.. +......<....... +...-....+..<.. +.w....f..-.+.. +..>.-..b....>. +.-...+...+.... +..?.m......2.. +.+..b....2.... +....2..4...2.. +..2..2......2. +.2.....2.2.... +....2.......2. +Level: +Michael Speck +House +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +....dddddd.... +...dddddddd... +..dddddddddd.. +.dddddddddddd. +.jjj#....#jjj. +.jjj#....#jjj. +.jjj#gege#jjj. +.jjj#egeg#jjj. +.jjj#gege#jjj. +.jjj#egeg#jjj. +.jjj#gege#jjj. +.jjj#egeg#jjj. +.ffffffffffff. +Bonus: +.............. +.............. +.............. +.............. +.............. +.....2.+...... +.....f...>.... +....1.<..-?... +..+...-..2..m. +.............. +...-........+. +......-.....2. +..-....>..-... +.s.2..l.....b. +.......2..w... +.b...+..f..+.. +...+.......... +..<...?...2... +Level: +Michael Speck +'Fat Boy' +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +....hhhhhh.... +..hhhhhhhhhh.. +.hhhheeeehhhh. +.hheeeeeeeehh. +.hheeeeeeeehh. +.hhhheeeehhhh. +..hhheeeehhh.. +....hheehh.... +.....heeh..... +.....heeh..... +.....heeh..... +...hheeeehh... +.hheeeeeeeehh. +Bonus: +.............. +.............. +.............. +.............. +.............. +.......s...... +...3.+..-..... +....p.2...>... +.?.-.2..<.-... +...<...+...+.. +..-..f...-.... +...+......2... +.....2..+..... +......>....... +........p..... +.....-........ +....2..w.+.... +...+..-..2.... +Level: +Michael Speck +Twins +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +......##...... +......##...... +......##...... +eeeeee##eeeeee +dddddd##dddddd +iiiiii##iiiiii +iiiiii##iiiiii +hhhhhh##hhhhhh +gggggg##gggggg +ffffff##ffffff +eeeeee##eeeeee +dddddd##dddddd +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..-......<.l.. +...2.....f...2 +3.p.......2.-. +.........m..>. ++.2.f.......f. +f...<...2..... +.>.f......+... +..b.2.......3. +.3.......2.f.. +.............. +.............. +Level: +Michael Speck +Crusher +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +ffffffffffffff +ffffffffffffff +ggggggffgggggg +cccccgffgccccc +....cgffgc.... +###.cgffgc.### +ddd.cgffgc.ddd +ddd.cgffgc.ddd +ddd.cgffgc.ddd +ddd.cgffgc.ddd +###.cggggc.### +....cccccc.... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.-...<..2...+. +....+.....p... +.f.2....-..2.. +..w..3..b.>+.. +......2....... +.....-..3..... +.......?...... +.+...+..2..<.. +......f.-..-.. +b...>.3......? +.......-...... +.....b........ +.............. +Level: +Michael Speck +Dead End +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +eeeeeeeeeeeeee +dddddddddddddd +ddd########ddd +...#gggggg#... +hhh#gggggg#hhh +eee#ffffff#eee +eee#ffffff#eee +...#......#... +ggg#ee..ee#ggg +ggg#dddddd#ggg +ggg#dddddd#ggg +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.+..b..-...+.. +..2..+.>.-..1. +.-...........- +....f..-...... +..<........+.. +-.....+.>..... +.2...2......2. +.............. +..-.....<...+. +......b....3.. +.+...2.f...+.. +.............. +Level: +Michael Speck +Level 24 +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +....gg.ff.dd.f +...gg.ff.dd.ff +..gg.ff.dd.ff. +.gg.ff.dd.ff.g +gg.ff.dd.ff.gg +g.ff.dd.ff.gg. +.ff.dd.ff.gg.e +ff.dd.ff.gg.ee +f.dd.ff.gg.ee. +.dd.ff.gg.ee.. +dd.ff.gg.ee... +b.b.b.b.b.b.b. +.b.b.b.b.b.b.b +b.b.b.b.b.b.b. +Bonus: +.............. +.............. +.............. +.............. +.......?...... +.........3.... +..2..-...+.... +....?..b...-.. +.p....-...2... +...+........f. +.-......b.+... +...b..+......s +.....l...2.... +.+..2.....-... +......f...w... +2............. +...>.....>.... +.............. +Level: +Michael Speck +Level 25 +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +.............. +aaaaa....aaaaa +eeeeaddddaeeee +hhhhaddddahhhh +eeeeabbbbaeeee +eeeea....aeeee +.............. +.............. +ffff#....#ffff +kkkk#eeee#kkkk +kkkk#eeee#kkkk +ffff#aaaa#ffff +#####....##### +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +2.s........-.. +......?.b...2. +.+.........m.. +-.>...+.....<. +2.b.........+. +.............. +.............. +.?........b.<- +2.+...l....2.. +-.>.....+...-. +..3...f....1.. +.............. +Level: +Michael Speck +Barrier +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.....#..#..... +.ddd.#ff#.ggg. +.dgd.#ff#.gdg. +.ddd......ggg. +.............. +####......#### +.............. +.bbbbb..bbbbb. +.bhhhb..bfffb. +.biiib..bhhhb. +.bhhhb..bfffb. +.bbbbb..bbbbb. +.............. +###aaaaaaaa### +Bonus: +.............. +.............. +.............. +.............. +.............. +.......?...... +..5...+....5.. +...-......<... +.............. +.............. +.............. +..+.2....+.>.. +.>..-.......+. +..-..+..p...2. +.2.-......1... +...w.....-.+.. +.............. +....f.f..f.... +Level: +Michael Speck +Butterfly +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.....i..i..... +.hh...ii...hh. +.hfhh.ii.hhfh. +.hfffh##hfffh. +.hfggf##fggfh. +.hfggf##fggfh. +..hfgf##fgfh.. +..hfgf##fgfh.. +..hfgf##fgfh.. +.hfggf##fggfh. +.hfggf##fggfh. +.hfffh##hfffh. +.hfhh.##.hhfh. +.hh........hh. +Bonus: +.............. +.............. +.............. +.............. +.............. +.2....-....... +..<....f...1.. +...+......-... +....2....2..>. +.+..-.....+... +...l....2..... +..s..3.....-.. +...+.....-.... +..2.......w... +....?...2...+. +.-.>.......<.. +.1.+.....b.... +.............. +Level: +Michael Speck +Chamber +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +..#........#.. +..#ffffffff#.. +..#dddddddd#.. +gg#gggggggg#gg +gg#gggggggg#gg +..#dddddddd#.. +..#........#.. +e.###cccc###.e +ee..........ee +.ee.iiiiii.ee. +..eeffffffee.. +...effffffe... +....iiiiii.... +.####....####. +Bonus: +.............. +.............. +.............. +.............. +.............. +...f..3....... +....-..>.3.... +.-...3..?..... +<.....f...>..+ +....>..-.f.... +.............. +.............. ++...........+. +.2..1.s..-.2.. +...+..<1.-f... +.....f.+..1... +.....2..b..... +.............. +Level: +Michael Speck +The Final +Bricks: +.............. +.............. +.............. +EEEEEEEEEEEEEE +.............. +eeeeeeeeeeeeee +cceeeeeeeeeecc +iccffffffffcci +iiccffffffccii +iiicccccccciii +iiiib....biiii +....b....b.... +ddddb....bdddd +ddddbggggbdddd +hhhaaggggaahhh +hhaaggggggaahh +haa........aah +##....##....## +Bonus: +.............. +.............. +.............. +.............. +.............. +..w.2....?.... +2....+.2..b.-. +..-..<...l...b +.b..p.f....2.. +..+..-..>.+... +2.>.-.......s. +.........-.... +...2.......?.. +.?...b...+...2 +..-..+.2...-.. +.+..2.>.f.>.3. +..b........+.. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/LBreakout2 b/project/jni/application/lbreakout2/client/levels/LBreakout2 new file mode 100644 index 000000000..045048469 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/LBreakout2 @@ -0,0 +1,1026 @@ +Version: 1.00 +Level: +Michael Speck +Late At Night +Bricks: +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +aaaaaaaaaaaaaa +affaaaaafafffa +aaafaaaffaaafa +aaafafaafaaafa +aafaaaaafaafaa +afaaafaafaafaa +afaaaaaafafaaa +afffaaaafafaaa +aaaaaaaaaaaaaa +bbbbbbbbbbbbbb +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +....>......... +..?..!.0.*.... +0.......w...b. +....d1.....-.. +.&.....p..?... +...+..b..~.... +1...?..s.1..0. +..W..-..c.}1+. +...0..f..-.... +.b.....{.....? +....+.......>. +.............. +.............. +.............. +Level: +Michael Speck +Enter +Bricks: +....f.gg.f.... +...f.g..g.f... +..f.g.ee.g.f.. +.f.g.e..e.g.f. +f.g.e.dd.e.g.f +.g.e.d..d.e.g. +g.e.dccccd.e.g +.e.d.chhc.d.e. +e.d.fchhcf.d.e +#d.f.chhc.f.d# +.#f.hhhhhh.f#. +..#h......h#.. +...#......#... +....#vvvv#.... +.............. +.............. +.............. +.............. +Bonus: +.............. +...~.......... +.......-.&.... +.w.1.0....?.l. +..d....1...... +........{.0... +....?........m +.!.j..+.b.+.1. +..0.}1.....-.. +.......c...... +......b.1..... +.............. +.............. +.....W+>?..... +.............. +.............. +.............. +.............. +Level: +Michael Speck +Fate +Bricks: +.............. +.....jjjj..... +....jjkkjj.... +...jjk..kjj... +..jjk....jjj.. +..jjk.....jk.. +..jk......jk.. +..........jk.. +.........jjk.. +........jjk... +.......jjk.... +......jjk..... +......jj...... +......jk...... +......jk...... +.............. +......jk...... +......jk...... +Bonus: +.............. +.....?.?...... +......?.?..... +....?....?.... +...?......?... +..?........?.. +...?......?... +...........?.. +..........?... +.........?.... +........?..... +.......?...... +......?....... +.......?...... +......?....... +.............. +.......?...... +......?....... +Level: +Michael Speck +Schielded Targets +Bricks: +.............. +.vvvvvvvvvvvv. +.v*vv*vv*vv*v. +.vvvvvvvvvvvv. +.............. +.vvvvvvvvvvvv. +.v*vv*vv*vv*v. +.vvvvvvvvvvvv. +.............. +.vvvvvvvvvvvv. +.v*vv*vv*vv*v. +.vvvvvvvvvvvv. +.............. +.vvvvvvvvvvvv. +.v*vv*vv*vv*v. +.vvvvvvvvvvvv. +.............. +.............. +Bonus: +.............. +..b...f...b... +..0..0..0..0.. +....W....?.... +.............. +......<....... +..0b.1..1>.0.. +.>..l..W....-. +.............. +.......f..<... +..0-.1..1..0.. +....b..?..W... +.............. +....f.+....... +..0..0..0..0.. +...W......+... +.............. +.............. +Level: +Michael Speck +Narrow Streets +Bricks: +.i.f.e..e.f.i. +.i.f.e..e.f.i. +di.f.e..e.f.id +.idf.e..e.fdi. +.i.fde..edf.i. +.i.f.edde.f.i. +.i.f.e..e.f.i. +hi.f.e..e.f.ih +.ihf.e..e.fhi. +.i.fhe..ehf.i. +.i.f.ehhe.f.i. +.i.f.e..e.f.i. +.............. +a#.#.#..#.#.#a +.#b#.#cc#.#b#. +.#.#c#..#c#.#. +.#.#.#..#.#.#. +.............. +Bonus: +.............. +.............. +1............1 +..1........1.. +....1....1.... +......22...... +.............. +?............? +..?........?.. +....?....?.... +.............. +...b.b..b.b... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Minefields +Bricks: +.............. +.............. +.jggggg*ggggj. +.kjg*ggggggjk. +.kijgggg*gj*k. +.ki*jg*ggjiik. +.*iiijggjiiik. +.kii*ijjiiiik. +.kiiiii*i*i*k. +.kiiiiiiiiiik. +.ki*iijjiiiik. +.k*ii*g*jiiik. +.kiijgggg*ii*. +.kijggggggjik. +.kjgg*ggggg*k. +.*gggggg*gggj. +.............. +.............. +Bonus: +.............. +.............. +.....<........ +..j........>.. +..?...-.s..0.. +..........+... +...w-..c-..... +......+...p... +..-..l.0.1.2.. +.+..~......-.. +...1..d..fb... +.>2..0.1...... +...+........1. +..........?... +...b...+...1<. +.1......b..... +.............. +.............. +Level: +Michael Speck +Spaceship +Bricks: +.............. +......jj...... +.....jkkj..... +....jkggkj.... +...jkkggkkj... +..jkkkggkkkj.. +.j####cc####j. +.j#.ffffff.#j. +.j#.ffffff.#j. +.j#.bbbbbb.#j. +.j#.******.#j. +..#.******.#.. +..##########.. +...hh#dd#hh... +.hhed#ed#dehh. +...###he###... +......he...... +.......h...... +Bonus: +.............. +.............. +......?....... +....-.0....... +.......w.c.... +..b..s........ +......ff....0. +.0.......?.... +.....<......+. +.>............ +....1.1.1..... +.....1.1.1.... +.............. +....b.m....... +..+.......-.>. +.......2...... +.............. +.............. +Level: +Michael Speck +Pointers +Bricks: +.............. +.............. +.............. +.............. +cccccc###ccccc +aaaeeee#ffffaa +affaeee#fffaee +afffaee#ffaeee +affffae#faeeee +afffffa#aeeeee +affffae#faeeee +afffaee#ffaeee +affaeee#fffaee +aaaeeee#ffffaa +cccccc###ccccc +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.2........+... +....<.1....... +..b........s.< +w....f..?..... +...-.....-..+. +.->...l....j.. +2...........1. +..+..1.....b.- +...?....p..... +-....+........ +...b......>.+. +.............. +.............. +.............. +Level: +Michael Speck +Linux Rocks! +Bricks: +....ee........ +d.....ee...... +d.e.....ee.... +d.ef......ee.. +d.eff.fg....ee +d.eff.fg.gh... +ddef.ffg.gh.h. +..ef.ffg.gh.h. +...f..fg.gh.h. +ee....fg.g.h.. +..ee....g.h.h. +....ee....h.h. +......ee..h.hd +........ee...d +cccaaacca.accd +c.ca.ac.aa.c.d +cc.a.ac.aa..c. +c.caaacca.accd +Bonus: +.............. +.......1...... +.............. +>.2.......j... +....<......... +...-..>-...... ++....w....+.?. +.......f.1.... +...b..+....... +.......1...<.. +........b...2. +.....f....b... +.............b +.............. +2-.?.......-.. +.........?.... +......1.+...>. +....+......... +Level: +Michael Speck +Diggin' +Bricks: +.............. +...........dee +.....ff...dgde +.....ff...dgde +......f.@@@gde +......ffff@gde +......ffgg@gde +.....#fg#dgdee +..eee#fg#edee. +.eede#gf#eee.. +eedgd#gf#..... +edg@ggff...... +edg@ffff...... +edg@@@.f...... +edgd...ff..... +edgd...ff..... +eed........... +.............. +Bonus: +.............. +.............l +......w.....1. +.....d.....?.. +............W. +......2..1.... +.......+.....2 +...........+.. +..?...!.....>. +...}......-... +.......1...... +.-..p......... +......?....... +.2............ +1.+.....>..... +.......b...... +.............. +.............. +Level: +Michael Speck +Death And Rebirth +Bricks: +.............. +.............. +.............. +.............. +...!..!!..!... +..*.*....*.*.. +.!...!**!...!. +..*.*....*.*.. +...!..!!..!... +..*.*....*.*.. +.!...!**!...!. +..*.*....*.*.. +...!..!!..!... +..*........*.. +.!..........!. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +......>...1... +....+......... +.......2c..... +...........+<. +.+.-.2..+.~... +..1..-........ +......s.-.w.3. +..b.d......... +.>.-.<..f.?.-. +......b....... +...1+..?..b... +.............. +.............. +.............. +.............. +Level: +Michael Speck +Modern Art +Bricks: +.............. +ggggggggggiiid +ggggggjjggggid +kkkkkgjjggg#id +keeeeg#jjjg#id +keddeg#jjjg#id +ke#dee#jjjg#id +ke#dee#jjfg#id +ke#dee#jffg#id +ke#deeefff##id +ke#dddffffiiid +kk##ddf#hhhiid +kjjdddf#hhhiid +jjjdddf#hhhhhd +jjjjdd##hhhhhd +##........###. +.............. +.............. +Bonus: +.............. +...........j.. +..<.0...-<.... +....-.1.....1. +.c........d... +...+.f.......b +....b...~+.... +0...........0. +.>..w...s1.... +-...3..?....-. +...l..p..+.... +.2..........>. +.....-..0..+.. +.+..?.....b..2 +...b.......... +.............. +.............. +.............. +Level: +Michael Speck +LePrechaun's Treasure +Bricks: +.....fff...... +....fffff..... +....fffff..... +....fffff..... +....fffff..... +....fffff..... +.fff.fff.fff.. +fffffffffffff. +fffffffffffff. +fffffffffffff. +fffffffffffff. +fffffffffffff. +.fff.fffffff.. +....ffffff.... +....fffff.f... +....fffff..f.. +....fffff..ff. +.....fff.....f +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......5....... +.............. +.............. +..g.......g... +.............. +.............. +.............. +......m....... +......g....... +Level: +Michael Speck +Trenches +Bricks: +...ddddddddd.. +..eeeeeeeeeee. +!.fffffffffff. +..gggkgggkggg. +..gggkgggkggg. +!..g.k.g.k.g.. +.....k...k.... +.....k...k.... +!............. +.......x...... +...***.x.***.. +!.#*#*#x#*#*#. +..#*#*#x#*#*#. +..#*#*#x#*#*#. +!.#*#*#x#*#*#. +..#*#z#x#z#*#. +###*###x###*## +.............. +Bonus: +...s.......*.. +.............. +.?..l......... +.............. +......>.>..... +.?.w...p...c.. +.............. +.....f...f.... +.?............ +.............. +...1.1...1.1.. +.?............ +...1.1...1.1.. +.............. +.?.1.1...1.1.. +.....b.+.b.... +...1...+...1.. +.............. +Level: +Michael Speck +Fortress +Bricks: +.............. +.EEEbbbbbbEEE. +.Edd......ddE. +.Ed!......!dE. +.E....!!....E. +.b..hh#ff@..b. +.b..hh#fff..b. +.b..hh#fff..b. +.b.!###fff..b. +.b..ggg###!.b. +.b..ggg#ee..b. +.b..ggg#ee..b. +.b..@gg#ee..b. +.E....!!....E. +.Ed!..zz..!dE. +.Edd.yyyy.ddE. +.EEExxxxxxEEE. +.............. +Bonus: +.............. +........-..... +..3........3.. +.....-..?..... +...........?.. +....<......... +.W......>..... +...+.j........ +.......-.w.... +.<...d........ +....>.....+.b. +.....b..m..... +......c..{.... +.............. +.............. +..3..+..s..3.. +.....W.f...... +.............. +Level: +Michael Speck +Knock Knock +Bricks: +.............. +.*............ +.............. +EEEEEEE.ffffff +......#.fddddf +......#.eeeeee +f....f#.eeeeee +fggggf#.fdzzdf +fddddf#.fdzzdf +fdzzdf.#fddddf +fdzzdf.#fggggf +eeeeee.#f....f +eeeeee.#...... +fddddf.#...... +ffffff.EEEEEEE +.............. +............*. +.............. +Bonus: +.............. +.5............ +.............. +........!c.... +...........{.. +........1.?.l. +........>....1 +...W.....*.m.. +.1...b......+. +w...-...1-.... +..m.........b. +.?..&......... +..}..1........ +1..+.......... +.....>........ +.............. +............5. +.............. +Level: +Michael Speck +Drill +Bricks: +.#............ +.e#h.......!.. +.ee#h.....!... +.eed#h........ +.eedd#h...#### +.eeddg#h..bakj +.eeddgg#h.bakj +.eeddggi#.bakj +.eeddggii.bakj +.eeddggii.bakj +.eeddggi#.bakj +.eeddgg#h.bakj +.eeddg#h..bakj +.eedd#h...#### +.eed#h........ +.ee#h.....!... +.e#h.......!.. +z#............ +Bonus: +.............. +...b.....b.... +.............. +..*........... +......!....... +.+............ +......1......1 +...1.+.....-.. +......w.?..... +..f.W...?.j... +.2...2.-....+. +....*...0..1.. +...-...0..c... +.b....>....... +....b0....d... +....0......... +...0.......... +g............. +Level: +Michael Speck +Against All Odds +Bricks: +.............. +.............. +.jkgi#........ +.jkgi#........ +.jkgi#........ +.jkgi#...!*!.. +.kkgi#...*!*.. +.gggi#...!*!.. +.iiii#........ +.#####........ +........#####. +........#dddd. +..!*!...#deee. +..*!*...#deff. +..!*!...#defj. +........#defj. +........#defj. +........#defj. +Bonus: +.............. +.............. +.d..>......... +.............. +.-.d....~.b.c. +.............. +..c........... +.............. +.>..f...~...c. +.............. +.............. +.c...~...f..>. +.............. +...........c.. +.............. +.c.b.~....d.-. +.............. +.........>..d. +Level: +Michael Speck +Insane In The Brain +Bricks: +.............. +.............. +.............. +....@@@@@@.... +....@kkkk@.... +...g@kkkk@g... +..@@@jjjj@@@.. +..@kjeeeejk@.. +..@kjeddejk@.. +..@kjeddejk@.. +..@kjeeeejk@.. +..@@@jjjj@@@.. +...g@....@g... +....@zzzz@.... +....@zzzz@.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +......s....... +...3...?..3... +.....&........ +........d..... +......~....... +....+..-..>... +....>.}....... +.....b..>..... +...3......3... +......1.1..... +.....+.W...... +.............. +.............. +.............. +Level: +Michael Speck +Alien +Bricks: +......gg...... +.d....gg....d. +.dd...gg...dd. +.ddd..gg..ddd. +.ddddggggdddd. +.####gggg####. +.#eegg!!ggee#. +.#eegg!!ggee#. +.#eeg*@@*gee#. +.#eeef@@feee#. +.#eeeffffeee#. +.#eeff..ffee#. +.fff.f..f.fff. +.....#..#..... +....#h..h#.... +...#h!..!h#... +..#h!....!h#.. +.#hh......hh#. +Bonus: +.......<...... +......?....... +...........1.. +..1....W...... +...*....w.s.-. +.....-........ +..b........... +....}.l..>.1.. +.....c..f.-... +...+.....2.... +..........j... +..<......?.... +...1.......+.. +.............. +........b..... +......>....... +....+....3.... +..2........... +Level: +Michael Speck +Tricky +Bricks: +.............. +.####....####. +.#dd#....#ff#. +.#dd#....#ff#. +.#dd#....#ff#. +.#dd#....#ff#. +.#dd#....#ff#. +.####....####. +.............. +.####....####. +.#ii#....#gg#. +.#ii#....#gg#. +.#ii#!..!#gg#. +.#ii#....#gg#. +.#ii#....#gg#. +.####....####. +.............. +.............. +Bonus: +.............. +.............. +.............. +..2........+.. +..........2... +...2.......... +..?........2.. +.............. +.............. +.............. +..?.......b... +...2.m..m..-.. +..+.......2... +.....m..m..... +..2........2.. +.............. +.............. +.............. +Level: +Michael Speck +Be Smart! +Bricks: +hh.zzzzzzzzzzz +hh.zzxzxzxzxzz +hh.zzxzxzxzxzz +hh.zzxzxzxzxzz +ee.zzxxxzxzxzz +ee.zzxzxzxzxzz +ee.zzxzxzxzzzz +dd.zzxzxzxzxzz +dd.zzzzzzzzzzz +.............. +###zzzzxzzzzzz +jj#zzzxzzzzzzz +kk#zzxxxxxxxzz +jj#zzzxzzzzzzz +vv#zzzzxzzzzzz +.............. +.............. +.............. +Bonus: +....1......... +.l.....?1.b... +4..>........&. +.....&...1.... +.4....c......1 +........~.&... +....&.......}. +4......p.?.... +.*...1..&....! +.............. +....{......... +**......1>.1.. +...1..&.....&. +....b.....+..1 +.....+........ +.............. +.............. +.............. +Level: +Michael Speck +Two Glasses +Bricks: +.............. +.............. +.............. +.............. +.............. +.#..#....#..#. +.#gg#....#gg#. +.#gg#....#gg#. +.#gg#....#gg#. +.#gg#....#gg#. +.#gg#....#gg#. +.#gg#....#gg#. +.#gg#....#gg#. +.#gg#....#gg#. +.#gg#....#gg#. +.@gg@....@gg@. +.@@@@....@@@@. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +..s1......1+.. +.............. +..1b......*1.. +.............. +..b2......>2.. +.............. +..1-......1?.. +.............. +..?5......-5.. +.............. +.............. +.............. +Level: +Michael Speck +Corners +Bricks: +.............. +#jj....#hh.... +#jj....#hh.... +#*j....#*h.... +@##....@##.... +....#ee....#ff +....#ee....#ff +....#*e....#*f +....@##....@## +.#dd....#gg... +.#dd....#gg... +.#*d....#*g... +.@##....@##... +.....#kk...... +.....#kk...#ii +.....#*k...#ii +.....@##...#*i +...........@## +Bonus: +.............. +.-......<..... +..>......?.... +.2......2..... +.............. +.....+......l. +......W......b +.....2......2. +.............. +..+........... +...c......<... +..2......2.... +.............. +......m....... +.......>...... +......2......- +............2. +.............. +Level: +Michael Speck +Magnet +Bricks: +....kkkkkk.... +...kkkkkkkk... +...kkkkkkkk... +..kkk....kkk.. +..kk......kk.. +..kk......kk.. +..kk......kk.. +..gg......dd.. +..gg......dd.. +..gg......dd.. +..gg......dd.. +..gg......dd.. +..gg.....@dd#. +.#gg......dd.# +.@gg#...#.ddE. +..gg@....Edd@. +.#gg.#....dd.. +.Egg......dd#. +Bonus: +....d..?...... +...>..~..>.... +.....{.b{..... +....!....W?... +...-.......w.. +..W.......>... +...>.......c.. +.............. +..?.......{... +...{.......W.. +..&........-.. +...b......?... +..+........... +...&......b... +...........+.. +..>........... +..........{... +...{.......>.. diff --git a/project/jni/application/lbreakout2/client/levels/Lapis b/project/jni/application/lbreakout2/client/levels/Lapis new file mode 100644 index 000000000..57e165cc7 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Lapis @@ -0,0 +1,369 @@ +Level: +Armish +M$ Ruins :] +Bricks: +.aaaaaaaaaa... +.aiiiafffa.a.. +.aiiiafffaa.a. +.aiiiafffa.a.. +.aiiiafffaa.a. +.aaaaaaaaa.a.. +.agggahhhaa.a. +.agggahhha.a.. +.agggahhhaa.a. +.agggahhha.a.. +.aaaaaaaaaa.a. +...........a.. +............a. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +Explosive +Bricks: +EEEEEEEEEEEEEE +cccccccccccccc +c************c +c*cccccccccc*c +c*c********c*c +c*c*cccccc*c*c +c*c******c*c*c +c*cccccccc*c*c +c**********c*c +cccccccccccc*c +EEEEEEEEEEEEcE +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +Wanna play basket? +Bricks: +.............. +.............. +.............. +....EghigE.... +....EghigE.... +....EghigE.... +....EghigE.... +....Eg**gE.... +....EghigE.... +....EghigE.... +....EghigE.... +....EghigE.... +....EEEEEE.... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +Time's important! +Bricks: +.............. +.....aaa...... +....afxfa..... +...affxffa.... +..afffxfffa... +..afffxfffa... +..agxxxffga... +..afffffffa... +..afffffffa... +...afffffa.... +....afgfa..... +.....aaa...... +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +TuRKiSH FLaG +Bricks: +.............. +.iiiiicciiiii. +.iiiicccciiii. +.iiicciiiiiii. +.iiiciiiiiiii. +.iicciiiiiiii. +.iicciiiiciii. +.iicciiicccii. +.iicciiiiciii. +.iicciiicicii. +.iiiciiiiiiii. +.iiicciiiiiii. +.iiiicccciiii. +.iiiiicciiiii. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +What the hell...? +Bricks: +.....vvvv..... +.....vvvv..... +.....vvvv..... +.....vvvv..... +.....v**v..... +.....v**v..... +.....vvvv..... +.....vvvv..... +.....vvvv..... +.....vvvv..... +.............. +.....vvvv..... +.....vvvv..... +.....vvvv..... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +Ready for football? +Bricks: +ffffffjfffffff +jjxfffjfxffjjj +ffjffjjjfffxff +#fjfjfjfjffjf# +zfjfxfjfjffjfz +*xjfjfjfjffjf* +*fjfjfxfjffjx* +zfjfjfjfjffjfz +#fjffjjjfffjf# +ffxfffjffffjff +jjjfxfjfxffxjj +ffffffjfffffff +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +Cigarette kills you... +Bricks: +........k.k.k. +.........k.kk. +..........kk.. +..........kk.. +...eejjjjj.k.. +...eejjjjj.... +...#.#.#.#.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Armish +www.linux-sevenler.de +Bricks: +************** +*............* +*..!!....!!..* +*..!!....!!..* +*............* +*.....!!.....* +*.!...!!...!.* +*.!!......!!.* +*..!!....!!..* +*...!!!!!!...* +*.......!!...* +*.......!!...* +*............* +************** +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Lattsville b/project/jni/application/lbreakout2/client/levels/Lattsville new file mode 100644 index 000000000..cc075bb09 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Lattsville @@ -0,0 +1,1641 @@ +Level: +Latts +LBreakout2 +Bricks: +v.v.v.v.v.v.v. +.v.v.v.v.v.v.v +v.v.v.v.v.v.v. +.............. +j....jjj...jj. +j....j..j.j..j +j....j..j....j +j....j..j....j +j....j..j...j. +j....jjjj...j. +j....j..j..j.. +j....j..j..j.. +j....j..j.j... +j....j..j.j... +jjjj.jjj..jjjj +.v.v.v.v.v.v.v +v.v.v.v.v.v.v. +.v.v.v.v.v.v.v +Bonus: +0.....+.....0. +...<.0.....p.. +..0.....W.0.l. +.............. +j....?......}. +..........0... +0....0..0..... +.....~........ +.............. +-.....+.-...-. +.....0.....!.. +........0..<.. +.............. +........~..... +-.0...W....0.. +.0.-.{...?.... +..W.....<.d.0. +...<.>.~.....d +Level: +Latts +Double Zero +Bricks: +hghghghghghghg +.............. +.............. +vvvvvv..vvvvvv +v....v..v....v +v....v..v....v +v....v..v....v +v....v..v....v +v....v..v....v +v...xv..vx...v +v...xv..vx...v +v...xv..vx...v +v@@@#v..v#@@@v +v....v..v....v +v....v..v....v +v....v..v....v +v....v..v....v +vvvvvv..vvvvvv +Bonus: +c...w.0l.f.p.. +.............. +.............. +s..0......b..0 +0....?........ +........0..... +.............+ +.............. +m............. +........0..... +....jc...?.... +.............. +0.0........0.. +.............s +<............. +.....+........ +........0..... +...f.......<.. +Level: +Latts +Expansion +Bricks: +!...!....!...! +!!..!!..!!..!! +@!!..!..!..!!@ +.@!..!!!!..!@. +..!...!!...!.. +..@!..!!..!@.. +..c!......!c.. +..c!......!c.. +..c!!....!!c.. +...@!!..!!@... +....@!..!@.... +.....!!!!..... +.....@!!@..... +......!!...... +......@@...... +.............. +.............. +.............. +Bonus: +....>....-.... +.s.......f.... +...........W0. +.....c>+...?.. +.0?...~.-.0&.. +...p.......!.. +..f00.....0f.. +...?......>... +..fW....c..f.. +....b0...s.... +.....>........ +.....f..f+.... +.......m0..... +......j....... +.............. +.............. +.............. +.............. +Level: +Latts +Rainbow Cross +Bricks: +.............. +...########... +.............. +.@gggggggggg@. +.g#dddddddd#g. +.gd#ffffff#dg. +#gdf#hhhh#fdg# +#gdfh#jj#hfdg# +#gdfhj##jhfdg# +#gdfhj##jhfdg# +#gdfh#jj#hfdg# +#gdf#hhhh#fdg# +.gd#ffffff#dg. +.g#dddddddd#g. +.@gggggggggg@. +.............. +...########... +.............. +Bonus: +.............. +.............. +.............. +...0..0....... +....W...>.0... +......b-...... +..b?.......?.. +.0..l..s....+. +....c......... +..0..m....~.~. +..-.>.0...0... +.......j..0... +.....?........ +.W..w...0>.... +...........s.. +.............. +.............. +.............. +Level: +Latts +Where Are They? +Bricks: +.....v....v... +.............. +v............. +.............v +.............. +.............. +........v..... +v............. +.............. +.............. +.............. +.............. +.............. +.............. +.v........v... +.............. +.............. +.............. +Bonus: +.....0....0... +.............. +0............. +.............0 +.............. +.............. +........0..... +0............. +.............. +.............. +.............. +.............. +.............. +.............. +.0........0... +.............. +.............. +.............. +Level: +Latts +Up & Down +Bricks: +dd..jE..Ej..dd +dd..E....E..dd +...E......E... +...E.jjjj.E... +..E..jjjj..E.. +..E..jjjj..E.. +.E...jjjj...E. +.....E..E..... +.....E..E..... +v...E....E...v +v...E....E...v +v..E......E..v +v..E......E..v +..E........E.. +..E........E.. +.E..........E. +E............E +E............E +Bonus: +....0....0...b +............w. +.............. +......??...... +.....bbbb..... +.............. +......ww...... +.............. +.............. ++............. +w............c +0............0 +0............0 +.............. +.............. +.............. +.............. +.............. +Level: +Latts +No Smoking +Bricks: +.kddddddddddd. +d.kd........dd +dk.........ddd +dkk.......dd.d +d.k......dd..d +dkk.....dd...d +dk.....dd....d +d.djjjjjjeeeed +d.djjjjjjeeeed +d.djjjjjjeeeed +d.....dd.....d +d....dd......d +d...dd.......d +d..dd........d +d.dd.........d +ddd..........d +dd...........d +.dddddddddddd. +Bonus: +...<.-0W..+.f. +b............. +.f............ +..........?..0 +.............0 +.........f.... +.?............ +W...?..~.0.W.. +0.{.....0..... +0..0f......?-. +......+....... +0....l........ +-....d........ +...>.........> +.............. +.0............ +.............0 +.d.<..f>.<.~.. +Level: +Latts +Meow +Bricks: +.jjjj####jjjj. +.jjj#....#jjj. +.jj#......#jj. +vj#........#jv +.#..aa..aa..#. +.#..aa..aa..#. +.#..........#. +.#..........#. +.#..........#. +.#....##....#. +.#....##....#. +.#....dd....#. +.#....dd....#. +v#..d.dd.d..#v +..#..dddd..#.. +...#......#... +....#....#.... +.....####..... +Bonus: +..0........0.. +.~..0....0..-. +..m0......0... +Ws..........?+ +.............. +.0...0...s..~. +.............. +.............. +.............. +......0....... +.?..........0. +......11...... +......b-...... +c0...........W +.......?0..... +..........-... +.............. +.............. +Level: +Latts +Shakin' +Bricks: +....j@@@@j.... +...j@....@j... +..j@......@j.. +.j@..cccc..@j. +.@...@@@@...@. +....@....@.... +...@......@... +..@..bbbb..@.. +.@...@@@@...@. +....@....@.... +...@......@... +..@..aaaa..@.. +.@...@@@@...@. +....@ffff@.... +...@iiiiii@... +..@........@.. +.@..........@. +.............. +Bonus: +....0..0.f.... +...c.......... +.............. +..f..>0b...... +............0. +.............. +...0......0... +......m<-..... +.............. +.............. +.............. +.....-.>c..... +.0............ +.....0.0...... +....f.wb.00... +.............. +.............. +.............. +Level: +Latts +Balls +Bricks: +vvvvvvvvvvvvvv +v............v +v............v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +v.....hh.....v +Bonus: +0W+W+WWWW+W+W0 +W............W +0............0 ++.....bb.....+ +<.....bb.....< +0.....bb.....0 +W.....WW.....W +0.....WW.....0 +W.....ww.....W +0.....>>.....W +W.....>>.....0 +<.....++.....< +0.....>>.....0 +W.....ww.....< +W.....ff.....W +0.....WW.....0 ++.....ff.....+ ++.....++.....+ +Level: +Latts +Beer +Bricks: +.............. +...jjjjjj..... +...jjjjjj..... +...cjjjjc..... +...cjjjjc..... +...ceeeeccc... +...ceeeec.c... +...ceeeec.c... +...ceeeec.c... +...ceeeec.c... +...ceeeec.c... +...ceeeec.c... +...ceeeec.c... +...ceeeeccc... +...ceeeec..... +...ceeeec..... +...cccccc..... +.............. +Bonus: +.............. +........+..... +...0...W...... +.....0.<0..... +....~......... +.............. +....-0..~..... +......<0...... +...0......p... +.....0..0..... +........l..... +.....W.0...... +...b....w..... +....s..!...... +....0......... +......0.0..... +.....0........ +.............. +Level: +Latts +Chaos +Bricks: +.g.###g.#..#.e +...#...ie.i.h. +#.g.i.j..#.#.# +i.j##.###hij#. +....h##f.#i.#. +e#i..d..i##did +..##.i.j...#.. +.jg.f###dg..j. +h.i#...#.j.#.h +.#h.hi...#d... +.d.#.dj.#..if# +gj#j#f.i.g.j.. +.#.i#.j.#.h#.. +#..#.he##....f +.gj###.i.di#.. +#.e.h#g.g.j.#e +#j##.....h.##e +....fd.jh.e... +Bonus: +....0........< +..........p.m. +....f......... +..........*... +.........00... +0.W..c..W...0< +.......d...... +....m0..0...c. +d.<........... +..0........... +......f.....+. +.-..*W.c.0.... +...d..-...l... +......0d0..... +.~.......~.... +..f.0d....0..c +.............. +....f...0..... +Level: +Latts +Hardball +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +hhhhhhhhhhhhhh +jjjjjjjjjjjjjj +Bonus: +W.W.W0.W.WW.W. +W>.W.W<....>.W +..W.W.W.W0W... +0WW0+WW.?WW.0 +0WW<..W.WW..WW +.0..W..0W.Wd0. +W.W.+WW.....-W +.W.WW..0WW.W.W +.+0?.0WW..+.0< +WW..W.<.-W0W.. +..WW.0.W.W..WW +bbbbbb.bbbbbbb +w.w.w.w.w.w.w. +Level: +Latts +The Cell +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +#.#.#.##.#.#.# +jjjjjjjjjjjjjj +Bonus: +*....0.......* +......~.<.0... +0............. +......&....0.. +.......0...... +.............. +0...0.~....0.. +d............. +.........0.... +......0....... +0............< +....~....0.... +...........~.. +.............0 +..-.-.d0...p.. +0............. +.............. +..0f.m-0f0.0.. +Level: +Latts +Dice +Bricks: +aaaaaa........ +aaaada........ +aaaada........ +aaaaaa........ +aaaaaa........ +aaaaaa........ +aaaaaa........ +adaaaa.aaaaaa. +adaaaa.adaada. +aaaaaa.adaada. +.......aaaaaa. +.......aaaaaa. +.......aaaaaa. +.......aaaaaa. +.......adaada. +.......adaada. +.......aaaaaa. +.............. +Bonus: +.....0........ +~-0?.......... +.............. +.dW*.......... +f0.0W......... +<.-........... +.{..Wd........ +...<0..~.0.... +.0f.f....{-... +.............. +.........f..0. +.......0?0.s.. +..........W... +.......W...... +.........f~... +.........0.Wf. +........p..... +0..-.......... +......f....... +.....0........ +.............. +......<0.d.0.l +......+...0.-. +......?.0~~... +.............. +.....~........ +.............. +.0.> +.............. +?............s +.............. +0............0 +............?. +.............. +....0......... +.............. +Level: +Latts +Get In There! +Bricks: +eeeeeeeeeeeeee +eeeeeeeeeeeeee +e@e@e@ee@e@e@e +.............. +.............. +############## +ffffffccgggggg +######..###### +ddddd....hhhhh +#####....##### +jjjj......iiii +####......#### +iii........jjj +###........### +hh..........dd +##..........## +g............f +#............# +Bonus: +0....0.....j.0 +......{..0.... +..0..0-..>.... +.............. +.............. +....-......... +0..m.>??d0..*0 +..-........... +...{.....0*.-. +.0............ +.+.b......d>0. +..*........... +.md........... +...........0.l +.<...........0 +0............. +c............. +.............. +Level: +Latts +Potion +Bricks: +........c..... +.............. +..EEEE..EEEE.. +.....Ec.E..... +....EE..EE.... +...E......E... +..E.c.c....E.. +.E......c.c.E. +.E..c.......E. +.Ec...c..c..E. +.EiiiiiiiiiiE. +.EiiiiiiiiiiE. +.EiiiiiiiiiiE. +.EiiiiiiiiiiE. +.EiiiiiiiiiiE. +..EiiiiiiiiE.. +...EiiiiiiE... +....EEEEEE.... +Bonus: +........s..... +.............. +.............. +......?....... +.............. +.............. +....?.?....... +........?.?... +....?......... +..-...0..?.... +...0....>.{... +...00.0.0..0.. +..pppppppppp.. +..b.>..s.f0... +..0..+0....0.. +...0{......... +.....f.0.-.... +.............. +Level: +Latts +Boomerang +Bricks: +....xx....xx.. +...xx....xx... +..xx....xx.... +.xx....xx..... +xx....xx...... +x....xx....... +....xx....v..v +...xx.....v..v +...xx.....v..v +...xx.....v..v +....xx....v..v +.....xx...v..v +x.....xx..vvvv +xx.....xx..... +.xx.....xx.... +..xx.....xx... +...xx.....xx.. +....xx.....xxx +Bonus: +....W.....bW.. +...l.....m.... +..b......0.... +.0.....*...... +{<.....W...... +.....w........ +.....d........ +....0.....0..0 +....-......... +....>.....0..0 +....?-.......0 +..........0..0 +0.....<....00. +W.......0..... +..w.....W..... +..{......0.... +...d.......-.. +.............. +Level: +Latts +Round The Corner +Bricks: +b.!....v...... +b.!....v...... +##kkkkkkkk##.. +##kkkkkkkk##.. +############.. +############.. +##jjjjjjjj##.. +##jjjjjjjj##.. +############.. +############.. +##dddddddd##.. +##dddddddd##.. +############.. +############.. +##gggggggg##.. +##gggggggg##.. +############.. +############.. +Bonus: +b.-....?...... +m......?...... +....W......>.. +..&..0........ +?...>W...0f... +.......0..0... +...0.......... +.0f..<0....... +!............. +.....c.0...... +..?......c.0.. +...*W......... +0.....~.-..... +.....>.0...... +.~.....0...... +..0...c....... +..........!... +...f....W..... +Level: +Latts +What The? +Bricks: +!.*..!.*@....! +...@.......*.. +.....*...!.... +*@*...!....... +!...!..*..*.!. +..!..*...@..@. +.......!.!.... +.!.*.@......*! +......*!@..!.. +*...!....*.... +@.*.......@..@ +...@.*.*.!.!.. +.!.!..@.....*. +....*..!@..... +*.*@.....*.*.. +.....!....@..! +!..!..*.!...@. +.*.....@...!.. +Bonus: +.c..........d. +dc..d{..{..d{{ +.......c.c{... +...ccd...{.c.. +......{d....d{ +{{.d.d..c.{d.. +.dcc...d..d... +c.....{.c.c... +.{c{.d{c.....c +...cd.c.{d.... +...{c......... +c...c...{c.c{. +{dc....{..{c.. +.{....c....... +d...{{.c...dd{ +..{.d...d..... +.dd.{.c..{.... +........{...{. +Level: +Latts +Compact +Bricks: +....EEEEEE.... +....EddddE.... +....EddddE.... +....EhhhhE.... +....jjjjjj.... +....kkiikk.... +....kkiikk.... +....kkiikk.... +....kkiikk.... +....kkiikk.... +....kkiikk.... +....kkiikk.... +....kkiikk.... +....jjjjjj.... +....EhhhhE.... +....EddddE.... +....EddddE.... +....EEEEEE.... +Bonus: +.............. +......0s...... +.....?..f..... +........0..... +.........+.... +.......W...... +........0..... +.....0.{...... +......f..W.... +.....b..0..... +....0..s...... +....0....-.... +......W~...... +....-...b0.... +.............. +.....+.f...... +.....f..-..... +.............. +Level: +Latts +Alcatraz +Bricks: +j@@@@@@@@@@@@@ +.@............ +.@..........@. +.@..........@. +.@..........@. +.@..........@. +.@..........@. +.@..........@. +.@...aaaa...@. +.@...vvvv...@. +.@...aaaa...@. +.@..........@. +.@..........@. +.@..........@. +.@..........@. +.@..........@. +............@. +@@@@@@@@@@@@@. +Bonus: +5............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....wwbb..... +.....0000..... +.....bbww..... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Latts +Round & Round +Bricks: +EEEEEEEEEEEEEE +E............E +E............E +EaEEEEEEEEEE.E +E.E........E.E +E.E........E.E +E.EaEEEEEE.E.E +E.E.Ev...E.E.E +E.E.Ev...E.E.E +E.E.EEEEaE.E.E +E.E......E.E.E +E.E......E.E.E +E.EEEEEEEEaE.E +E..........E.E +E..........E.E +EEEEEEEEEEEE.E +.............E +..EEEEEEEEEEEE +Bonus: +.............. +.............. +.............. +.b............ +.............. +.............. +...b.......... +.....2........ +.....2........ +........b..... +.............. +.............. +..........b... +.............. +.............. +.............. +.............. +.............. +Level: +Latts +X Games +Bricks: +.j..........j. +.hj........jh. +.#hj......jh#. +.d#hj....jh#d. +.gd#hj..jh#dg. +..gd#hjjh#dg.. +...gd#hh#dg... +....gd##dg.... +....gd##dg.... +....gd##dg.... +....gd##dg.... +...gd#hh#dg... +..gd#hjjh#dg.. +.gd#hj..jh#dg. +.d#hj....jh#d. +.#hj......jh#. +.hj........jh. +.j..........j. +Bonus: +............~. +..0........... +...........0.. +.f.cW.....>... +...0<.......0. +....!.0.m..... +.......c...... +.....p.?0..... +......0..0.... +....0-..!..... +.......0.d.... +...W.>.<.l.... +....f0........ +..0......-.s.. +...0+......0.. +.............. +.............. +.............. +Level: +Latts +Latts +Bricks: +.............. +.............. +.............. +d..ddddddddddd +d..d.d.d..d.d. +d..ddd.d..d.dd +d..d.d.d..d..d +dddd.d.d..d.dd +h..hhhhhhhhhhh +h..h.h.h..h.h. +h..hhh.h..h.hh +h..h.h.h..h..h +hhhh.h.h..h.hh +k..kkkkkkkkkkk +k..k.k.k..k.k. +k..kkk.k..k.kk +k..k.k.k..k..k +kkkk.k.k..k.kk +Bonus: +.............. +.............. +.............. +...W..0.f..0.. +0............. +...-.......... +...0...0..W..f +*d............ +.....0..s.0... +.............. +...0.........0 +f....~.?..~..0 +.....0........ +...f......0.0. +0......0...... +...{...<..d... +...0.........! +.......-..0... +Level: +Latts +Purple Star +Bricks: +@@@@@@ii@@@@@@ +f.....ii.....f +.g....ii....g. +EEd...ii...dEE +...x..ii..x... +....j.ii.j.... +.....eiie..... +.....h##h..... +iiiii####iiiii +iiiii####iiiii +@@@..h##h..@@@ +.....eiie..... +....j.ii.j.... +...x..ii..x... +..d...ii...d.. +.g....ii....g. +f.....ii.....f +......ii...... +Bonus: +......0....... +0............. +.......0....0. +.......>...>.. +......+...0... +....0......... +.......0...... +........c..... +0........?...0 +.?0>.0....0+.. +......0....... +.......f!..... +.............. +...f...0..0... +.............. +.0....0>...... +.............. +.............. +Level: +Latts +Playstation2 +Bricks: +.............. +.............. +.............. +aaaavaaaa.aaaa +a..ava.......a +a..ava.......a +a..ava.......a +a..ava.......a +a..ava.......a +aaaavaaaavaaaa +a.......ava... +a.......ava... +a.......ava... +a.......ava... +a....aaaavaaaa +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +..0..0>>>.0.-. +.............d +{...0........0 +-..>-........> +....0s.......{ +0....!........ +fff.~fff0.0fff +.........+.... +d.......{..... +0.......-.s... +.........0.... +.....fff.....0 +.............. +.............. +.............. +Level: +Latts +In Like Flynn +Bricks: +.............. +.EEEEEEEEEEEEE +.Eh.......!eeE +.Eh.@vcbaa...E +kEh@.v.......E +kE@..v.......E +.....v.......E +.Eg..v...i..!E +.Eg..vk..i...E +.....vk......E +kE@..v......!E +kEh@.v.......E +.Eh.@vcbaa...E +.Eh..........E +.Eh..........E +.Eh..........E +.Eh..iii..!eeE +.EEEEEEEEEEEEE +Bonus: +.............. +.............. +..0........0!. +.....m.0-b.... +w............. +.....0........ +............0. +..0..0...0.... +......b.....0. +.....-b....... +w....0.....0.. +.............. +..0..?.0.b.... +.............. +..W........... +..0......0.... +.....0.0..00p. +.............. +Level: +Latts +C'mon +Bricks: +@............. +@.@@@.@@@.@@@. +@.@g@.@g@.@g@. +@.@g@.@g@.@g@. +@.@g@.@g@.@g@. +@.@g@.@g@.@g@. +@.@g@.@g@.@g@. +@.@.@.@.@.@.@. +@.@.@.@.@.@.@. +@.@.@.@.@.@.@. +@.@.@.@.@.@.@. +@.@.@.@.@.@.@. +@g@.@g@.@g@.@. +@g@.@g@.@g@.@. +@g@.@g@.@g@.@. +@g@.@g@.@g@.@. +@g@.@g@.@g@.@. +@@@.@@@.@@@.@. +Bonus: +.............. +.............. +...0...0...0.. +.............. +...0...0...0.. +...b...b...b.. +...w...w...w.. +.............. +.............. +.............. +.............. +.............. +.w...w...w.... +.b...b...b.... +.0...0...0.... +.............. +.0...0...0.... +.............. +Level: +Latts +Mirror Image +Bricks: +......kk...... +...!..kk..!... +.EEEEEEEEEEEE. +.##jj#EE#jj##. +.##hj#EE#jh##. +.hhhj#EE#jhhh. +.giijjEEjjiig. +.gi#ejEEje#ig. +.gi##jEEj##ig. +.gi##jEEj##ig. +.gi##jEEj##ig. +.gi#ejEEje#ig. +.giijjEEjjiig. +.hhhj#EE#jhhh. +.##hj#EE#jh##. +.##jj#EE#jj##. +.EEEEEEEEEEEE. +.............. +Bonus: +...-...0...... +......m...j... +.............. +.........*.... +...0....0.f... +.0..~......... +........?!.0.. +....b......0.. +.{0l....c..... +.....0..0..W0. +.............. +.0..........~. +..0..&..0..... +..........>... +.0..c....0.... +....W......... +.............. +.............. +Level: +Latts +Spiral +Bricks: +cccccccccccccc +c............c +c.cccccccccc.c +c.c........c.c +c.c.cccccc.c.c +c.c.c....c.c.c +c.c.c.cc.c.c.c +c.c.c.cc.c.c.c +c.c.c.cc.c.c.c +c.c.c.c..c.c.c +c.c.c.c..c.c.c +c.c.c.cccc.c.c +c.c.c......c.c +c.c.cccccccc.c +c.c..........c +c.cccccccccccc +c............. +cccccccccccc.. +Bonus: +d.f....<..0-d. +.............. +0.....0....... +.............> +..0.?...d..... +W..........&.. +....+.j....... +..d......f.0.W +-.....b0...... +.........-.>.. +..>......?...~ +....{....W.d.. +.............. +..~....l.0...0 +&............. +.....0.d...... +.............. +..0f..<0...... +Level: +Latts +Tip Top +Bricks: +ivvvvvvvvvvvvi +i............i +i............i +@@@@......@@@@ +h............h +h.....dd.....h +h....dggd....h +@@@..d..d..@@@ +h....d..d....h +h...dg..gd...h +h...d....d...h +@@.dg....gd.@@ +i.vd......dv.i +i.dg......gd.i +i.d........d.i +.dg........gdi +dgg........ggd +@@@........@@@ +Bonus: ++..0.?.0p.0.b. +0............0 +.............. +.............. +0............. +-.....0<.....0 +~....?.......+ +.............. +........>..... +<...b0.......> +....0........0 +....-....+0... +f............~ +0.0>.........0 +...........~.. +..f..........0 +.0.........0.. +.............. +Level: +Latts +Pyramid +Bricks: +.............. +.............. +......EE...... +......ii...... +.....iiii..... +.....EEEE..... +.....kkkk..... +....kkkkkk.... +....EEEEEE.... +....vvvvvv.... +...vvvvvvvv... +...EEEEEEEE... +...gggggggg... +..gggggggggg.. +..EEEEEEEEEE.. +..hhhhhhhhhh.. +.hhhhhhhhhhhh. +.EEEEEEEEEEEE. +Bonus: +.............. +.............. +.............. +......00...... +.............. +.............. +.....?..?..... +.....0..0..... +.............. +.....0..0..... +....0....0.... +.............. +.............. +...0.bbbb.0... +.............. +...0.wwww.0... +..0........0.. +.............. +Level: +Latts +Solid +Bricks: +#############k +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +############## +######dd###### +vvvvvvvvvvvvvv +Bonus: +....cc.....m.. +cc....cc.c.... +..c..c..c.ccc. +cm..c...c.c.c. +..c.........c. +......c....... +cc+.c+.c.jc.cc +c..c..c.c...c. +....cc.c.c.c.c +c.c..........c +....c.....c.c. +c.+c...c.+c..c +.c.c.c..c....c +.....c........ +c...j.+..cc..c +c...c..m.....c +..cc......cc.. +m.....--..+... +Level: +Latts +This Won't Be Easy +Bricks: +.............. +#####.######## +kkkkk..kkkkkkk +######.####### +jjjjjj..jjjjjj +#######.###### +iiiiiii..iiiii +########.##### +hhhhhhhh..hhhh +#########.#### +ggggggggg..ggg +##########.### +ffffffffff..ff +###########.## +eeeeeeeeeee..e +############.# +dddddddddddd.. +#############. +Bonus: +.............. +.............. +0c..w..c.b.0.. +.............. +0...c0...?w*.0 +.............. +..m0......0f.. +...l.......... +..c..*.c..0.m. +.............. +..?.0.bw...b.. +.............. +0...0....... +.........j<... +...W.b2.{..b.. +.......+....5. +..2w<.....2..m +.>....lc.2p... +.....g...&.~.. +....?}.sW.>... +......+....... +>....b...2<... +...~.55..5!... +..f........... +.............. +.............. +.............. +.............. +Level: +mos19k-at-ecsis.net +Gentoo +Bricks: +......j....... +.....jjj...... +....jjjjj..... +...jjjjjjj.... +...jjjjjjj.... +..jjjjEjjjj... +..jjjEEEjjj... +..jjjjEjjjj... +...jjjjjjjj... +....jjjjjjj... +......jjjjj... +.....jjjjj.... +....jjjjj..... +....jjjj...... +...jjjj....... +..jjjj........ +..jjj......... +..jj.......... +Bonus: +......l....... +.....d........ +.....f........ +.............. +......3pm..... +.....5.5...... +..?.3...3.?... +.....5.5...... +......3....... +....b...&..... +......c...d... +.............. +.....!.j-..... +.............. +......{....... +.....+........ +.............. +...g.......... +Level: +mos19k-at-ecsis.net +Slackware1 +Bricks: +cc...cc....c.. +c.....c....c.c +cc.c.cc.cc.cc. +.c.c.cc.c..cc. +cc.c....c..c.c +...cc...cc.c.c +.............. +.c.c.c........ +.c.c.c........ +..c.c......... +..c.c.cc...... +EE.E.E.c...... +......cc.cc... +......cc.c..cc +.........c..cc +.........c..c. +............cc +.........E..EE +Bonus: +55...55....5.. +.............* +...l........&. +............?. ++.......c..... +...?.......... +.............. +.}.+.>........ +.............. +..p.+......... +.............. +.............. +......g{..?... +......-.....-. +.........-.... +.........f..!. +.............m +.............. +Level: +mos19k-at-ecsis.net +debian +Bricks: +.............. +......dd...... +.....dddd..... +....dd##dd.... +...dd###dd.... +...d#####dd... +..dd##d###d... +..dd#ddd##d... +..d##d#d##d... +..d##d###dd... +..d##dd##dd... +..dd##dddd.... +..dd###dd..... +...dd###...... +...ddd##...... +....ddd#...... +.....ddd...... +......dd...... +Bonus: +.............. +......11...... +.....1111..... +....11..12.... +...11...22.... +...1.....22... +..11..5...2... +..01.55l..2... +..0..5.l..2... +..0..d...32... +..0..44..33... +..00..m333.... +..00...33..... +...00......... +...000........ +....000....... +.....000...... +......0w...... +Level: +mos19k-at-ecsis.net +Mandrake1 +Bricks: +......aa...... +.....aaaa..... +....aaaaaa.... +...aajaajaa... +...ajEjjEja... +...ajjjjjja... +...aeeeeeea... +...aaeeeeaa... +....aeeeea.... +.....aeea..... +.....aaaa..... +....aaaaaa.... +....aajjaa.... +...aajjjjaa... +...ajjjjjja... +..aajjjjjjaa.. +..ajjjjjjjja.. +..ajjjjjjjja.. +Bonus: +.............. +......<....... +.........>.... +.....l..m.s... +....?.??.?.... +..........-... +...>445544p... +.........~.... +.............. +......j....... +.....Wb&+..... +....s......... +.....-........ +........w..... +......+...j... +.............. +....-..s.+b... +..fb.<.....c.. +Level: +mos19k-at-ecsis.net +Mandrake2 +Bricks: +........h..... +........h..... +.......hhh.... +.......hhh..@. +...b..hhhhh..@ +..bbhhhhhhhhh. +.bb..hhhhhhh.@ +.b.....hhh..@. +bb....hhhhh... +bb....hhhhh... +Eb...hhh.hhh.. +.b...hh...hh.. +.bb..h.bb..h.. +.Eb....bb..... +..bb..bb...... +..Ebbbb....... +....EE........ +.............. +Bonus: +........1..... +........1..... +.......5?5.... +.......555.... +...c..!...s... +....111111111. +.+...?.2.2d?.. +.......2s2.... +s.....12j21... +......12p21... +.....112.211.. +.....11...11.. +.f...1.+~..1.. +..-.....>..... +..d{..f-...... +...&>db....... +.............. +.............. +Level: +mos19k-at-ecsis.net +Caldera +Bricks: +......**.....@ +@....***g....@ +@...***ggg...@ +@..***ggggg..@ +@..**gggggg..@ +@.**gggggggg.@ +@.**gggggggg.@ +@***ggggggggg@ +@**gggggggggg@ +@**gggggggggg@ +@***ggggggggg@ +@.**gggggggg.@ +@.**gggggggg.@ +@..**gggggg..@ +@..***ggggg..@ +@...***ggg...@ +@....***g....@ +@.....**.....@ +Bonus: +......44...... +.....4..5..... +....4..d...... +...4..5j...... +...4.>...<.... +..4.5.?...+... +..4.c-..g..... +.4..5..~...... +.4.?>......?.. +.4.l>-.*.~.... +.4..W.+....... +..4.5.....d... +..4.>-..?..... +...4.5&....... +...4..f&...... +....4..5~..... +.....4..{..... +......44...... +Level: +mos19k-at-ecsis.net +Red Hat +Bricks: +.....aaaa..... +....aaaaaa.... +...aadddEaa... +..aadddddaaa.. +.aaadddddEaaa. +.aa##dddddaaa. +aad#ddddddaaaa +add####dddddaa +adddddddddddaa +aaajjddddddaaa +aaaajjjjjjaaaa +aaaajjjjjjaaaa +.aaaajjEjaaaa. +.ajjjjjjjajja. +.ajjjjjjjjjjj. +..jjjjjjjjjj.. +...jjjjjjjj... +.....jjjj..... +Bonus: +.............. +......f.3..... +....3......... +.....5...3.... +.w............ +...55....~.... +...5lm....d.5. +.?.5555?.....? +....s....W.... +b............w +..5........... +...>!..j...... +......f....... +.......>...... +...d......5.~. +......s....... +...b......b... +.....w..<..... +Level: +mos19k-at-ecsis.net +Slackware2 +Bricks: +......bbb..... +.....bbbbb.... +....bEEEEEb... +...bEEEEEEbb.. +...bEbbbbEbb.. +..bbEbbbbbbbb. +..bbEbbbbbbbb. +.bbbEEEEEbbbbb +.bbbbEEEEbbbbb +.bbbbbbbbEbbbb +.bbbbbbbbEbbbb +..bbbbbbbEbbb. +..b@EbbbbEbbb. +...@EEEEEbbb.. +...@zEEEEzbb.. +...@@@@@@@@... +.....bbbbb.... +......bbb..... +Bonus: +......ddd..... +.....?>l>?.... +.............. +...*.......*.. +.....55....... +.....55.f..... +.....5m....... +.............. +.{c.........c{ +.&.....}5....& +.+......5....+ +..g...f}5.f... +..+3....5...-. +...3.......... +...35....4.+.. +...33333333... +.....b>p>>2..... +Level: +mos19k-at-ecsis.net +Ximian +Bricks: +......xx...... +.....xhhx..... +....xhhhhx.... +...xhhhahhx... +..xhhahhahhx.. +.xhhahhhhahhx. +.xhahhaaaahhx. +xhhahaaaaaaahx +xhhhaaaaaaaahx +xhhhhahhahaahx +xhhhahahahhhhx +.xhahhahhahhx. +.xahhahhhhahx. +..xhahhhhhhx.. +...xhhhhhhx... +....xhhhhx.... +.....xhhx..... +......xx...... +Bonus: +......mw...... +.............. +.............. +......&4.+.... +.....g..4..b.. +.b..4.-!d4.... +...4..4444.... +...4.444445l.. +.-..44444455.. +.*.s.4.j4!55.. +{...4.4.4.-+.. +...4..4~.4.... +..4.pc....4... +....4....&.... +.............. +.....>........ +......w<...... +.............. +Level: +mos19k-at-ecsis.net +Use the Source +Bricks: +E.E##@@....ggg +E.E#.@.....g.. +E.E##@@....gg. +EEE.#@.....g.. +jjj##@@.##.ggg +j..EEE..#.hhh. +jjj.E@.@##h... +..j.E@@@#.h... +jjj.E@.@##h... +..fff@.@ddhhh. +..f.f...d.d... +..f.f...dd.... +..f.f...d.d... +..fffe.ed.d... +.....e.e...... +.....e.e...... +.....e.e...... +.....eee...... +Bonus: +...........555 +...........5.. +...........55. +...........5.. +555........555 +5.........555. +555.......5... +..5.......5... +555.......5... +..555...55555. +..5.5...5.5... +..5.5...55.... +..5.5...5.5... +..w555.55.w... +.....5.5...... +.....5.5...... +.....5.5...... +.....bwb...... +Level: +mos19k-at-ecsis.net +BSOD +Bricks: +vvggvvvggggg!* +vgvgvvvgggg!*! +vgvgvggggg!*!g +vvvgvvvgg!*!gg +vvggvvvg!*!ggg +vgvgggvg*!gggg +vgvgvvvggggggg +vvvgvvvggggggg +gggggggggggggg +gggggggggggggg +gggggggvvvgvvg +gggg!*gvgvgvgv +ggg!*!gvgvgvgv +gg!*!ggvgvgvgv +g!*!gggvgvgvgv +!*!ggggvgvgvgv +*!gggggvvvgvvg +gggggggggggggg +Bonus: +55<.555-...m.. +5?5+555....... +5?5.5Wc......j +55?w555....... +55p.555....... +5?5.??5f...... +5?5.555.g..+.. +555.555......} +...d..??..w-.. +.+....??...... +....jg.555!55< +.{.....5c5.5p5 +......>5?5.5?5 +w......5?5.5?5 +.......5?5.5?5 +....-..5?5+5?5 +......<555.55s +.............w +Level: +mos19k-at-ecsis.net +USA-fireworks +Bricks: +..!!!!!ddddd.. +..!!!!!ggggg.. +..!!!!!ddddd.. +..!!!!!ggggg.. +..!!!!!ddddd.. +..!!!!!ggggg.. +..dddddddddd.. +..gggggggggg.. +..dddddddddd.. +..gggggggggg.. +..dddddddddd.. +..gggggggggg.. +..dddddddddd.. +c..c.cccc..cc. +c..c.c....c..c +c..c.cccc.cccc +c..c....c.c..c +cccc.cccc.c..c +Bonus: +..j555j44444.. +..5555533333.. +..5555544444.. +..55j5533333.. +..5555544444.. +..j555j33333.. +..4444444444.. +..3333333333.. +..4444444444.. +..3333333333.. +..4444444444.. +..3333333333.. +..4444444444.. +*..*.*jj*..**. +w..w.w....w..w +>..>.>}}>.>bb> +j..j....}.j..j +wbbw.wbbw.w..w diff --git a/project/jni/application/lbreakout2/client/levels/Lord b/project/jni/application/lbreakout2/client/levels/Lord new file mode 100644 index 000000000..1f96e3966 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Lord @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +SpocklLord +Hol die Blaue +Bricks: +icc.bb..##dddd +c.cx....#####d +ccc.....#####d +.a.x....##ff#d +cccx....##ff#d +.x...bb.##ff#d +x.x.....##ff#d +........#####d +.....bb.###### +.E.E....###### +.dd...@....... +.dd........... +vddvvv.vvvvvvv +.............. +.............. +.............. +.............. +.............. +Bonus: +mww.........{} +...W.......... +WWW........... +.........b55b. +..b.......ww.. +......b......- +..........p..- +..........jj.p +.....b....bb.. +.............. +.............. +.............. +g..w.......w.g +.............. +.............. +.............. +.............. +.............. +Level: +Lord +BA BOOM +Bricks: +***...xxx..*** +***...xxx..*** +******xxx***** +***EEExxxEE*** +E*EE.ExxxE.E*E +E*E...EcE..E*E +E*E...EcE..E*E +E*E...EcE..E*E +E*E...EcE..E*E +E*E...EcE..E*E +E*E...EcE..E*E +EvE..!EkE!.EvE +.............. +.*..........*. +.............. +.............. +.............. +.............. +Bonus: ++......p.....+ +.......*...... +....-.....-... +.w..........w. +.............. +.......w...... +.............. +.............. +.............. +.......m...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Spockl +Hoehle +Bricks: +EeeeiEE@@gg### +E*EE*EEeeEg### +EeeE**eeeEE### +Eee@E@e*.eEeEE +Ee.e*e....eeEE +Ee.eEe.i...eeE +Ee.e*e.Ei*..e@ +Ee.eEe.EE.*.eE +Ee.eEe.EE*..EE +Ee.eEi.Ei.*EEE +Ee.vi..E.*..EE +Ee....EE..*.eE +Ee....EE.eeee@ +Ee.E.v.E.eEecc +Ee.E.*.E.eEEcc +Ev.E.v.i*eEEcc +E..EE....EEEcb +E..EE....EEEzz +Bonus: +.{{{m..55bfb5l +.f.....--.{b5l +..f...!df..j5l +.!db.bd..d.... +.c.df+....d!.. +...+.d.f...d!. +.!.dj!..f...b5 +.d.w.w....c.w. +.d.d.!...{.... +.d.g.f..f.w... +.j.>f......... +.g..........!. +.d.......{f{dd +.>...!...!.f.m +.d.......w..dm +.>...d.f.>...m +............!. +............d. +Level: +Lord +NO +Bricks: +.............. +.............. +.............. +......dd...... +.....d**d..... +...*d****d*... +ddddd****ddddd +E.E*Ed**dE*E.E +..vvvvddvvvv.. +......xx...... +.E.E..xx..E.E. +......xx...... +......xx...... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +......ww...... +.............. +...!......!... +...m......m... +.............. +.....!..!..... +......ff...... +......ff...... +......ff...... +......ff...... +.............. +.............. +.............. +.............. +.............. +Level: +Spockl +Karies +Bricks: +ijjjijjjijjjij +ij*jij*jij*jij +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +cccccccccccccc +cccccccccccccc +cccccccccccccc +eeeeeeeeeeeeee +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jj..jj..jj..jj +Bonus: +.blb.bbb.blb.l +.>.>.>.>.>.>.> +ffffffffffffff +f!f!f!f!f!f!f! +{!!{!{!{!{!{!{ +ffffffffffffff +{!??!!!!!!??!{ +!{!!++!!++!!{! +44}444}}33}333 +ssc{c{c{c{c{ss +bbffffggffffbb +{.ff.{..{.ff.{ +!!!!!!gg!!!!!! +!!!!!!!!!!!!!! +??!!*!!!!?!!?? +>>>>>>gg>>>>>> +w???w????w???w +??..??..??..?? +Level: +Spockl +Rock Me +Bricks: +i@@@j@@@j@@@ji +j.@..v@ggg@..@ +@....v..g...@@ +@@..#v.....k.@ +@..###...#...j +jvkv#vkv###vv@ +@....v...#..@@ +@@.k.vv......@ +@vvvvvvvvvvkvj +j....#..k....@ +@...###.....@@ +@@vvv#vvvvvvv@ +@....v...#...j +j.v.vvv.###..@ +@..k....h#h.@@ +@@....k......@ +@.cc.......c.j +jv..cba.bcc.v@ +Bonus: +m.......&....m +.......5.5.... +.....d........ +.............. +....m........! +!..fb.wf.l.f.. +.........b.... +...w..g....... +.~f.??!??dfg~! +!............. +....jl........ +..+-+.--W+{--. +.....!.......w +w.{.fwW..mj... +..........s... +......{....... +..>-.......>.. +.w..f-g.gff.w. +Level: +Lord +THE SKUL +Bricks: +bvvvvvvvvvvvbv +vb.........bvv +v*b.......b*vv +v*.bbbbbbb.*vv +v*..bbbbb..*vv +v*..b*b*b..*vv +v*..b*b*b..*vv +v*..b*b*b..*vv +v*..bbbbb..*vv +v*..bbbbb..*vv +v*.b.bbb.b.*vv +v*b..bbb..b*vv +vb...bbb...bvv +b...........bv +.............b +.............. +.............. +.............. +Bonus: +wmmmmmmmmmmmw. +.w.........w.. +..w.......w... +...wwwwwww.... +....fffff..... +....fffff..... +....f.f.f..... +m...f.f.f...mm +....fffff..... +....fffff..... +...f.fff.f.... +..f..fff..f... +.f...fff...f.. +f...........f. +.............f +.............. +.............. +.............. +Level: +Spockl +Grixprlm +Bricks: +iiiiiiiiiiiiii +id.##...###.di +i#ggg#.#dddd#i +.#ffg#v#eeed#i +.#jfg#vxe##d#. +.#jfg..#e#ed#. +i#jfg#v###e.#. +.#jfg#.#e#e#gi +.#jfg#v#e#ed#i +.#jfg#v#e#ed#i +i#jfg#.#e#ed#i +i#jfg#v#eeed#i +i#####v#.ddd#i +i.##########.i +.i..........i. +.v..v....v..v. +.............. +.............. +Bonus: +55c55555555c55 +5c..........c5 +5.!mf...bbmb.5 +..!!!.c.!!!!.* +......c!b..!.. +..b.....b.lb.. +*...f.c....... +............*5 +..b...c......5 +......*.+.++.5 +5............5 +5.m...c......5 +5.....b....m.5 +5............5 +.5..........5. +.w..w....w..w. +.............. +.............. +Level: +Spockl +Superbowl +Bricks: +############## +###@ciiic.@### +##.cii*iic..## +#.ciiv*viic..# +.ciidv*vdiic.. +ciiddv*vddiic. +civvvv*vvvvic. +iiiiiv*viiiiic +iijjicccijjiic +iigjjckcjjgiic +cigggcccgggic. +ciihhhjhhhiic. +.ciiddjddiic.. +..ciizjziic... +#..ciijiic...# +##...iii....## +.##@......@##. +.###......###. +Bonus: +ffffffffffffff +f{{&4l4l4.&{{f +f{.40jbj04..{f +f.400!m!004..f +.40{.!b!.{04.. +40}!s!m!s!}04. +4+++++b+++++4. +fj}}}!m!}}}jf? +&f...}b}...f&? +..f.d.m.d.f..? +->fff...fff>-. +{-5>>!w!>>5-{. +.{-5>!>!>5-{.. +..{-5g!g5-{... +w..{5!w!5{...w +.....>?>...... +.............. +.............. +Level: +Lord +Kugeln wo denn +Bricks: +*****gggg***** +*****g**g***** +*****g**g***** +****gg**gg**** +***ggg**ggg*** +***ggg**ggg*** +**g********g*. +.*gggg**gggg*. +.*.ggg**ggg.*. +.*.ggg**ggg.*. +.*..gg**gg..*. +.*..gg**gg..*. +.************. +......**...... +......**...... +......**...... +......**...... +gggg..**..gggg +Bonus: +bbbbb....bbbbb +bbbbb.bb.bbbbb +bbbbb.bb.bbbbb +bbbb..bb..bbbb +bbb...bb...bbb +bbb...bb...bbb +bb.bbbbbbbb.b. +.b....bb....j. +.b....bb....b. +.j....bb....b. +.b....bb....b. +.b....bbbb..b. +.bbbbbbbbbbbb. +......bb...... +......bb...... +......bb...... +......bb...... +......wj...... +Level: +Spockl +Ballterror +Bricks: +!!!Ei!!!E!!!!! +!!!!i!!!!!!!!@ +!!E!zE!!!!E!!! +!!!!!E!!!EEEE# +EE!EE#EEE###E# +!*EEE!***!**E# +!*!!*!!!*!!!E# +!!**!!**!!**E# +!*!!!!*!*!!Eg# +!**!*!***!*Eg# +E!!!!!!!!!!Eg# +E*!**!EEE!!EE# +*!!!*!*!!!*!E# +E*!**!*!*!*!E# +zjEEjjjjjjjEEz +yggggggggggggy +yggggggggggggy +xggggEEEEggggx +Bonus: +<+.+.+.+.+.+.> +>............> +>...g....g...> +Level: +Lord +Die Monsterschneke +Bricks: +.............. +.............. +..fff......... +..fff......... +..f*f......... +..f*f......... +..fff......... +...h.......... +...h.......... +.hhh.hhh...... +..hhhhhhhh.... +...hhhhhhhh... +...hhhhhhhh... +....hhhhhhhh.. +...hhhhhhhhh.. +...hhhhhhhhh.. +..hhhhhhhhhhhh +.hhhhhhhhhhhhh +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.....bbbbb.... +.....bpppb.... +.....bpbpb.... +.....bpppb.... +.....bbbbb.... +.............. +.w~~~{{---!!!! +Level: +Spockl +Stirb Pups +Bricks: +eeeeeee#eeeeee +e#g#gje#e####v +e#gggje#ee#eee +e.##g#e#ee#vev +e#g.g#e#ee#eee +e.##g#*#ee#*#x +e#g#g#e#ee#eex +e#g.g#e#ee#eex +e#g#g#e#ee#eex +e.##g#e#ee#eex +e#g#g###ee##ex +e#g#g#jjeeeee# +e#g#gijj##eeex +e####ijj####.x +e....#iiiiii#f +e...########.f +e#eeeeeeeeeeee +##avv########v +Bonus: +ffffffffbffff5 +.w.b.........m +..?.?...b..... +...b.....4...m +..w.....b..... +...b.....4.... +....p......... +.w......WW..W. +..w.w.c.cd.... +g.d.d......m4. +.............. +ddddddddmddddd +......d}...... +g.m...{j...... +.............w +.............w +333+++>+>+>+>. +.............w +Level: +Lord +Die Kaffetase +Bricks: +.............. +.............. +.............. +.............. +.....cEfEc.... +...cccEfEcf... +...c.cEfEcff.. +...c.cEfEcff*. +...c.cEfEcff.. +...c.cEfEcff.. +...c.cE*Ecff.. +...cccEEEcff.. +.....cccccf... +...eeeeeeeeee. +...eeeeeeeeee. +...ee......ee. +...ee......ee. +...ee......ee. +Bonus: +.............. +.............. +.............. +.............. +.......0...... +.......0...... +.......0...... +.......0....f. +.....m.0...... +.......0...... +...m.......... +.............. +.............. +.....bbbbbb... +.....ffffff... +.............. +.............. +...}s......s}. +Level: +Spockl +Umpf +Bricks: +#fffffff*fcfff +#xxxffffffcfff +#xxx#gvgvgcfff +#vvv#vgfggc!ff +#fff#gggfgc!ff +#fff####f#c#ff +#*ff##*#fcc##f +#fff#ccfcc##ff +#fff#cccf###ff +#fff#f##ff##ff +#fff#f!!!f##ff +#fff#fvvvf##ff +#####fffff#dff +aaaaafvf####*f +#f##!f!#####ff +#fff#f##dddfff +#ff###d#####ff +##ffffffffaaaf +Bonus: +.*..*.....j..m +.....00.....00 +.........g.... +.l.l..b...&... +.mmm.bbb.g..!. +.mmm....c..... +.mmm....c.&... +.mmm.*.......! +.mmm..&.c...s. +.mmm....c0..++ +.mmm.>...0..++ +.mlm.bwww0.... +.....>bbbs.www +.....>......j. +.{............ +.....{........ +.}............ +...}..>>...... +Level: +Lord +Die Bombe +Bricks: +x............x +xddddddddddddx +xd##########dx +xd#v******v#dx +xd#v##**##v#dx +xd#v#****#v#dx +xd#v#*vv*#v#dx +xd#v#*vv*#v#dx +xd#v#*vv*#v#dx +xd#v#*vv*#v#dx +xd#v#*vv*#v#dx +xd#v#*vv*#v#dx +xd#v######v#dx +xddv######vddx +......!!...... +......!!...... +.....!ee!..... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +...c......c... +.............. +.............. +.....?..?..... ++m.f......f.m+ ++............+ +......ff...... +-p.j....c.j.p- +-p..........l- +.............. +.............. +.....0000..... +.............. +Level: +Spockl +Urrga +Bricks: +EEE#ee**ee#EE. +!!E#eeeeee#EE. +.!E#e####e#d!. +.!E#eeeeee*d!E +.!E#eeeeee!!!E +*!E#ee#!#e*d!E +E!E#ee.!.e#d!E +*!E#ee#!#e.E!E +E!E#ee.!.e#E!E +*!E#ee#!#e.E!E +E!d#ee.!.e#E!E +.!d*ee#!#e.E!E +.!!!ee.!.e#E!E +EEd*eeeeee.E!E +EEd.eeeeee#EEa +####eedddeiiii +eeeeeeeeeeeeee +aaaaaaaaaaaaaa +Bonus: +....55..55.... +ml..5*55*5.... +.m.c5....*.dm. +.b..55>>>*.dl. +.b..f{>p>5..b. +.b..&w.d.wgdb. +.b..-}.p.-.db. +.W.c-wdddw..b. +.<..W-.c.-..<. +.W..Ww...w..m. +.wd.*-.c.-..<. +.l +4..1110001.c~4 +4..>!1{1{4ff>l +!.>1f!1<44.c~4 +4>1f!.1114f.>l +41fb..222244s4 +1fb........4>l +fb.**.......gc +b............j +.............. +!.!.!......... +55j.p......... +ffffff!w!www.. ++c+c+c+c---w.. +4444ffc+cffw.. +wwwwwwwwwwwwww +Level: +SpocklLord +Burgsau +Bricks: +@@@@@#!!!#@@@@ +@iijj#!#!#jij@ +@iijj#####jji@ +@jj*.#####ijj@ +@jj..#bbb#*..@ +@EEEE.@*@.EE.@ +@.....@x@...v@ +@....e@x@e..v@ +@....e@x@e..v@ +@.....xxx...v@ +@.....@x@...v@ +@.....@z@....@ +@c....xyx...c@ +.c....@x@...c. +.ggggg@z@gggg. +.eeee@@y@eeee. +.aaaa@@x@@aaa. +.aaaa@@v@@aaa. +Bonus: +.............. +.5555.f....f.. +..........s... +............m. +......mmm..... +.......f...... +.......b...... +.....b.b.b.... +.....b.-.b.... +......+-+..... +.......-...... +.............. +.}....+.+...W. +.......g...... +..c.c0...0.j.. +.f.>.....ffw.. +.w<....w..w.w. +.s.ww.....<... +Level: +Spockl +Vulkan uahhh +Bricks: +###..E....#### +.#...j*j...### +.....#*#....## +#...EEiE....## +#...E##E..a..f +##..EddEE.a..f +...EEdd##....f +...EddEEe...#. +...EddEEEe.... +..EEdgddEe...x +..hddggdEEe..x +..EdddgddEee.. +jEEggggggEee.. +jEEE**ddddEe.. +jEgg***dddEee. +jEgEEE#EEEEeee +eEEggEEggEEeee +eeeeeeeeeeeeee +Bonus: +b&f.......ffm> +.....m.m....&b +......m......m +m.....m......b +..........b..c +.....bb...b..> +.....bb0m....c +....5j..0..... +....>c...0.... +....55>5.0...f +..w!m55m..}..{ +...l?m.ml.f<.. +<..24b4b4.w-.. +>...p.}!b?.f.. +<.bbww2b4g.j.. +>.*mm.+....s}b +<..ww..ww..f.. +>*f..f}f.++..s +Level: +Spockl +Grummel +Bricks: +@@@@@@@@#d#@@@ +@eeeeeee#d#ee@ +@eicaaaa#d#ae@ +@ecccca#####e@ +@eaccca#####e@ +@ecccaad###ae@ +@@@aaaadd#dae@ +@eaaaaadd#dae@ +@e@.@*@@ddd@@@ +@eabbbbbdddae@ +@*abgggbdddae@ +@eabbcbb.aaae@ +@eaeeeeejaaae@ +@ea@@jeej@@ae@ +@eajjjjjjkkae@ +@eaggjggkkaaee +@eaaaaaavkeeee +@eavvvvv.v@@@e +Bonus: +mffffffbclcbff +f0f1f1f1clcfff +b0mfwfffwlwf2b +f0}{fff.sjs.2f +f0wfw{fc&.&c2{ +f0f*ffff.}.{}f +m0>ffffffpf>2b +{0wwff*ffcfW2{ +fff.f.ffffff}f +b0{gfjwg{ff>3f +b0ffwgwf{{fW3f ++wfgfwfg.wWW{b ++0{ff<0+5+0>..b ++.}}-fs+>w-{.} ++.w.-+-+-+-.w} +Level: +LordSpockl +Blumenzauber +Bricks: +############## +EEiiiiiiiiiii# +#iii!iiiEEEiiE +#ii!!!iii#iii# +#i!!*!!jiiijj# +#ji!!!jjii..j# +#jjj!.jjj..!jj +#jjjh.jj..!!!j +Ejjbh..j.!!*!! +..j.hb....!!!. +....h..EE..!.. +..EEE...#..h.. +#..#......bh#. +E..........hhb +E...........h. +E.E.....EE..E. +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +Bonus: +5mlbblbbblbbml +..???????????5 +m???4???...??. +5??4f4???m???5 +5?4.m.4??????5 +5?.4&4????..?5 +5???4.???..2?? +5???b.??..2m2? +.??b+..j.2wmw2 +..j.wj....2w2. +....b......2.. +........b..f.. +b..b......+>b. +...........wbb +............b. +.............. +?w??????????w? +cccccccccccccc +Level: +Spockl +Die Tonne +Bricks: +EEEEEEEjjEEEcE +Ejjjjjjjjjjjjc +Ejjjjjjjjjjjjj +E*##E@@E##*@jj +EE##EEEE##EEjj +EE##EEEE##E.jj +EE##EiiE##EEjj +EE##EiEE##EEjj +EE##EggE##@.jj +EE##EggE##EEjj +EE##EggE##EEjj +EE##EggE##EE.. +EE########EE.. +EE########EE.. +.cEEEEEEEEE... +.EEEEEEEEEE... +.............. +ggg...ggg..g.. +Bonus: +.......>l...c. +.c...~.....f.. +.l.c.....>.... +.mbj....jbm.w. +..b5....db.... +..b5....5b.... +..bd.ww.5b...w +..b5.w..5b.... +..b5.+-.5b..f. +..b5.><.5b.... +..b5.}{.5b..>~ +..b5.&*.5b.... +..b555l55b.... +..bg++++gb.... +.w............ +.............. +.............. +w......w...... +Level: +Spockl +Pinball +Bricks: +@@!!!ege###g@@ +@....gEg#g#.g@ +!.z..ege###..g +.zcz.........g +czizz.b.b..g.g +jczzE#....xxxE +jczE#..@@.g!g. +ec.#...@@.xxx. +jc...@.....g.. +ec....b....... +jc......b....! +ecf.b....@.c.. +jc@f......cf.! +jc@@f....cf@.. +*cE@@...cf@E.. +dd.EEE..cEEc.. +dd............ +zE.EEE...E..E. +Bonus: +..wff4.4blbb.m +........blb.>. +c....4>4+j+..f +..5..........> +b5m5..0.0..f.. +0.5..0........ +f{..0..--.{bf. +4..0...--..g.. +0}.........f.. +4.....s....... +f{......{....W +4.2........{.. +0}12......f2.j +0.012....f21.. +c..01...g21... +{>............ +fW............ +&............. +Level: +Lord +was ist das +Bricks: +.............. +.......e...... +......vvv..... +.....vvvvv.... +.....vvvvv.... +.....vvvvv.... +....ev*v*ve... +.....vvvvv.... +.....vvvvv.... +.....vvvvv.... +......vvv..... +......vvv..... +......vvv..... +.......e...... +.............. +.............. +...E.......... +.............. +Bonus: +.............. +.......j...... +.............. +.....b........ +.............. +.............. +....{....sm... +.......3...... +.............. +.....~........ +.......m...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Lord +Der Tempel +Bricks: +.............. +.............. +......**...... +.....yyyy..... +....zzzzzz.... +...zzzzzzzz... +*.zzzzzzzzzz.* +a.*.*.**.*.*.a +a.*.*.**.*.*.a +a.*.*.**.*.*.a +a.*.*.**.*.*.a +a.*.*.**.*.*.a +a.zzzzzzzzzz.a +a.z*a*aa*a*z.a +vvz*a*aa*a*zvv +vv**********vv +.............. +.............. +Bonus: +.............. +.............. +.............. +......55...... +......55...... +...55555555... +......55...... +b............b +b........s...b +b............b +b............b +b............b +b.....mm.....b +b..b+bbbb+b..b +..mbbbbbbbbm.. +**bbwbjjbbwb** +.............. +.............. +Level: +Spockl +Oh Mann !! +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +@@@j@@@@@@@@j@ +vvjjjjvjjjjjvv +vvjvvjvvjvvjjv +jvjvjjjjjvvjjv +j@@vj@@@@vvvj@ +jvjvvjvvvjjjjv +jjjvvjvjvjvvjj +vvvvjjjjvjjvvv +jjjvjvjvvvvvvv +vjvvvvjvvvjjjv +vjvj@@jj@@jvjv +j@@jvjjvjjvvjj +jvjjv@@vjvvvvj +jvjjjjvjjvvvvj +vvvjvvvjvvvjjj +vvvjvvvjvvvvvv +Bonus: +ld??!?dld??dl? +????!??dd?!dd? +d??d!d????!??? +????!?????!?d? +!!!!!!!!!!!!!! +???!??????!??? +???!??????!!?? +.?.!?.????.!.? +!!!!!!!!!!!!!! +????!!!.?!.?.. +?????????????? +..?.??.??!.?.? +???!??????.?.? +!!!??!!!!!!!!! +?????????????? +?????????????? +??..???.???.?? +..?.???..??... +Level: +Spockl +Spinner +Bricks: +E************E +*****#******** +*****#*#****** +***#i#i#i##*** +***#i#i#i##*** +*###iiiiii###* +***#iiiiii#*** +***#iiiiii#*** +*###iiiiii###* +***#iiiiii#*** +**E########E** +****#****#**** +****#****#**** +****#****#**** +aaaaaaaaaaaaaa +bbbbbbbbbbbbbb +.cccccccccccc. +..vvvvvvvvvv.. +Bonus: +!!!!!!!!!!!!!! +?????????????? +??!!!!!!!!!!?? +??!.!.!.!..!?? +!!!.!.!.!..!!! +???.!!ll!!.??? +???.!!ll!!.??? +???.!!ll!!.??? +!!!.!!ll!!.!!! +???.!!!!!!.??? +???........??? +???????j?????? +?????????????? +?????????????? +g????????????g +.............. +.............. +.............. +Level: +Spockl +Irrsinn +Bricks: +iiiiiiiiiiiiii +ii@#@iiic###ci +c@iiicEciii#ic +iiiii#i#iii#ii +!!@!!#!#!!!#!! +jj#j*#j#j#j#jc +jj#jj#j#j#*#j# +jj#jj#j#j#j#j# +@##jjcj#j#j#*# +gg#gggg#g#ggg# +gg#gggg#g#ggg# +gg###cg#gg###c +ggggggg#gggggg +gggggggcgggggg +#####cbbc##bbb +eeeeeeeeeee@ee +@eeeeeeeeee#eh +EjjEEhhEEhhhhE +Bonus: +l55l5555555l5l +55!.!555!...!5 +*!!!!!0!!!*!!* +w.fww.b.w....w +......b.!f!.!{ +!f....b.f.f.f. +w..f..!.w...f. +....w.f.....w. +...*!.*.w.*... +22.22ff.2.2!2. +ff.w+22.2.2+w. +22....{.!!.... +222f{22.!*!{22 +2222222.!!!2*2 +......*+...g+. +!w*!+!w.!w+.w! +....*.p......! +.............. +Level: +Spockl +Emporio +Bricks: +EEE*dcEggEjjjj +dddddcEggEjjjE +dddddcEEgEj*jj +EEEEdcEggEjjjj +ccccccEggEjjjj +iiiiiiiiiEiiEE +iiiiiiiiiiiiii +EEEEEiiiiiiiii +iiiiii@@iiiiii +eeeeeeee@eeEEE +........@eeeee +eeeeeee.ee...e +EEEEEEe...eeee +kkkkkkkkkkEEEE +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +EEEEEEEkkkkkkk +kkkkkkkkkEEEEE +Bonus: +.......55.?bll +ll?b...55.???. +???b....5....b +.......55..... +.......55..... +.............. +!!!!!!!!!!!!!! +.............. +c.c.c~..&&&~.. +ffffffgf.+c... +.........+ffff +w>gw>>>.ff.... +......>...>w.w +>>>>>w>g{>.... +!!~.!!!{g!w>!! +*>>*>......... +.......***>>>* +.......+g..... +Level: +Spockl +Durchgeknallt +Bricks: +@EjjgE!!ghhhh@ +vEjjgE!!gEEEhv +jvjjgEE!gvvEhg +j*jjgvv!g*hEhg +EEEjg!!!gEhvhg +vvvjg!!!gEhhhg +jjjjg!E!gE@hhg +ggggg!E!gEvhhg +jjEgg@E!gEhhEE +jjEg!!E!gvhhvv +ccEg!*E!ghhhgg +jjEg!!v!gh@hhg +jjvg!!!!gEEEhg +gggggggggvvvhg +hhhhEEEhhhhhhg +jjjjvvvjjjjjjj +@jjjjjjjjjjjjj +EEExxxxxxxxxx@ +Bonus: +..44b.!!b????. +l.44b.!!b...?l +4*44b..!b{{.?0 +4.44b**!b.?.?0 +...4.!!!..?{?0 +***4&!!!&.???0 +4444s!.!s..??0 ++p...!.!j.{??0 +44.....!..??.. +44..!!.!.{??{{ +44.+!..!+???.g +44.>!!}!>?.??> +44*w!!!!w...?w +!!.......!!!?0 +.......??????0 +d...wWbg.}.{.d +.....p.......0 +...W555555555. +Level: +Spockl +Bonusfinale +Bricks: +!!!!!!!!!!!!!! +!eeee###eeeee! +!fffffffffffe! +!!!!!!ggg***** +###hh!hhhh!!!* +!j!jj*****!!!* +!k!kk*****!!!* +!d!dd*****!!!! +###dd*****!!!! +!d!dd*****###! +!d!dd*****gfe! +!k!kk*****!!e! +!j!jj*****!!e! +!h!hh*****!!e! +!g!ggggggg!!e! +@f!fffffffffe! +@!!!!!!!!!!!!! +@###cccccc@@@@ +Bonus: +bbb5ll5g5g5gbb +>>>>>>>>>>>>>> +!+f+!+f+!+f!+! +55433333333455 +55432222223455 +554>5555555>55 +554>+jjjjj+>55 +554>+g555g+>55 +554>+55555+>55 +554>+5lll5+>55 +554>+w&&&w+>55 +lll>lwbbbwl>ll +l5>>2wjbjw3>5l +l54>2wwjww3>5l +l54>>>ggg>>>5l +l544444444445l +l555555555555l +l555......555l +Level: +Spockl +Absolute War +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! +EEE!EEE!EEE!E! +eeeeeeeeeeeeee +!!EE!!EEE!EEEE +!!*E!!!*E!!!*E +!!*E!!!*E!!!*E +!!*E!!!*E!!!*E +EEEE!EEEE!!EEE +gggggggggggggg +iiiEiiEEEi#iEE +EEEEdEE*ddEddd +#*!!!E**!!E!!! +@*!!!@#EE!E!!! +g*!EbbbbEbEbbb +EfEEbbbbEbEEEz +Bonus: +.b...b...b...l +.b...b...b...l +.b...b...b.... +.l...l...l.... +...w...w...w.w +.............. +.............. +..5....5....5. +..5....5....5. +..5....5....5. +.............. +>.>.>.>.>.>.>. +.............. +.............. +.w.....w...... +....g....g...g +.............. +.5............ +Level: +Lord +Inuyasha hoho +Bricks: +######EE###### +@***iiiiii***@ +@ddiiiiiiiidd@ +@ddiiiEEiiidd@ +E#diEEEEEEiddE +@ddiEEEEEEidd@ +@ddijgEEgjid#@ +@ddijaEEajidd@ +@ddijjEEjjidd@ +zddfffEEfffddz +zddffEEEEffddz +zddEffEEffEddz +#dddeeEEeedddz +zdddeeeeeedddz +zdd*ffEEff*ddz +zdddffEEffdddz +EEEEeeeeeeEzEE +@.....EE.....@ +Bonus: +.............. +.m!wffffffw!m. +.4.ffffffff.4. +l4.fff..fff.4l +.4.{555555{.4. +.4.{......{.4. +.4..!b..b!..4. +.4..!l..l!..4. +.4!&}&..&}&!4j +54...w..w...45 +54..........45 +54*..w..w..*45 +54..........45 +54....jg....45 +54w.g....g.w45 +54!........!45 +....{.gj.}.... +.............. +Level: +Spockl +No Chance! +Bricks: +@@@@@@@!.!.!zz +@ddd#g#.....ci +@ddd#g#...@.zi +@ddd#g#..@@.cz +@##d###.@@.jzz +if#d#jj.@!.jcz +@f#d#jj@@..jjj +#f###jj@!....e +#f#jjj@@...EEE +###jjj@!...ee@ +f##jj@@....ee@ +f##jj@!....ee@ +f#jj@!.....ee@ +f#j@@......@@@ +##@@!..!@...@@ +#@@!...@@!.... +@@!....@@@.... +@!.....@@@.... +Bonus: +.......*.&.+.4 +.3l3.l.......m +.3d3.d.......m +.3-3.-.......4 +..53.......1.4 +m453..1..s.... +.45g.1!....>>> +.45...1......g +.j.1.1.......+ +....1..s...ff. +5..1.......... +5..+1......ww. +5.11.......~~. +5.+........... +.............. +.............. +.............. +.............. +Level: +Spockl +Putputput +Bricks: +ceezeeeeezeeee +ceecEEeeeceeee +ceezEE***Eeeee +ceeEEE*E*Eeeee +ceeEEE*h*EEEcc +ceeEEE*E*EEccc +ccEEEE*h*Ecccc +cccccE*E*E!!!i +i!!!iE*!*Eiiii +iiiiiE*!*Eiiii +!!!!!Ee!eE!!!! +!!!!!Ee!eE!!!! +!!!!!EE*EE!!!! +!!!!!!EEE!!!!! +iiiiiiiEiiiiiE +!ggggggEggggg! +...E...!!..... +E........E...# +Bonus: +--w.!----!.w-- +......---.!--- +.>>!...g..--b- +.b!...-.-.-!-g +.>>...g!g..... +d>>...-.-..... +.......!..---- +-----.!...bg>b +b>b>......>>>b +fffff.....ffff +g!>g!.....b!!b +bb--b.l.l.>++> +b{bwb.....bwb{ +>>>>>>...>b>>> +-------.-----. +w------.-----w +.......wg..... +.............. +Level: +Spockl +F I N A L E +Bricks: +gggggggggggggg +gggggggggggggg +gggEEgaagEEggg +gggggEaaEggggg +ggEEEEaaEEEEgg +gEggggbbggggEg +ggggggbbgggggg +gEggggccggggEg +ggg!hEccEh!ggg +gEgEdEccEdEgEg +ggg!EvccvE!ggg +gEgEEg..gEEgEg +gEEggg..gggEEg +gh!Eg....gE!hg +ghEg......gEhg +g!Eg......gE!g +EEg........gEE +zEi......E.iEz +Bonus: +l5..g.}}.g..5l +.5.w.&&&&.w.5. +&5....gg....5& +&5*}}.&&.}}*5& +.b....*&....b. +w.&lww&&wwl&.w +.b&&lw&&wl&&b. +*.&&&lw&l&&&.* +.*+.+.}p.+.+*. +....?.p}.?.... +}b.&.5gg5.&.b} +.....5..5..... +...40+..s03... +.5..0....0..5. +w5.0......0.5w +w..0......0..w +..0........0.. +w.+........+.+ diff --git a/project/jni/application/lbreakout2/client/levels/Makefile.am b/project/jni/application/lbreakout2/client/levels/Makefile.am new file mode 100644 index 000000000..efd838e2e --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Makefile.am @@ -0,0 +1,123 @@ +# 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 + @for file in $(EXTRA_DIST); do \ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/levels/$$file; \ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\levels\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done + diff --git a/project/jni/application/lbreakout2/client/levels/Makefile.in b/project/jni/application/lbreakout2/client/levels/Makefile.in new file mode 100644 index 000000000..4362b4e25 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Makefile.in @@ -0,0 +1,480 @@ +# 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 = 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@ +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@ + +# 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: $(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) --foreign client/levels/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/levels + @for file in $(EXTRA_DIST); do \ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/levels/$$file; \ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/client/levels/Maze b/project/jni/application/lbreakout2/client/levels/Maze new file mode 100644 index 000000000..f29fe4a92 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Maze @@ -0,0 +1,370 @@ +Version: 1.00 +Level: +michael +hmmmmm????? +Bricks: +!EvEvEvEvEvE*E +**v!vv!v!v!v** +E*EvEvEvEvEvE* +**!!!!!!!!!!!* +*!xxxxxxxxxx** +*EyEyEyEyEyE*E +**zzzzzzzzzz** +!*aaaaaaaaaa!* +E*EbEbEbEbEbE* +**cccccccccc!* +*!dddddddddd** +*EeEeEeEeEeE*E +**kkkkkkkkkk** +!*jjjjjjjjjj!* +E*EiEiEiEiEiE* +**hhhhhhhhhh** +*EgEgEgEgEgE*E +*fffffffffff** +Bonus: +s.5.5.5.5.5.?. +??4b44b4b4b4?? +.?.2.2.2.2.2.? +??bbbbbbbbbbs? +?sbbbbbbbbbb?? +?.0.0.0.0.0.?. +??bbbbbbbbbb?? +p?wwwwwwwwwwp? +.?.w.w.w.w.w.? +??bwbwbwbwbw+? +?+jjjjjjjjjj?? +?.j.j.j.j.j.?. +??~~~~~~~~~~?? +*?dddddddddd*? +.?.c.c.c.c.c.? +??{{{{{{{{{{?? +?.}.}.}.}.}.?. +?wWfWfWfWfWw?? +Level: +michael +crazy!!!!! +Bricks: +@@@@@@@@@@@@@@ +@************@ +@*xxxj*jgxxx*@ +@*xkxi*igxkx*@ +@*xxxj*jgxxx*@ +@*xhg@@@ghgy*@ +@@ygh@v@hgyz@@ +@@zyg!v!gyzz@@ +@@zzy@@@yzzz@@ +@@!*!x***!*!@@ +@@*!***x!*!*@@ +@@!*!x***!*!@@ +@**!***x!*!**@ +@*!*!x***!*!*@ +@**!***x!*!**@ +@*!*!x***!*!*@ +@**!***x!*!**@ +@*@@@@*@@@@@*@ +Bonus: +.............. +.????????????. +.?wwww?wbwww?. +.?wbwb?bbwbw?. +.?wwww?wbwww?. +.?wbb...bbbw?. +..wbb.*.bbww.. +..wwb.*.bwww.. +..www...wwww.. +..?c?~ccc?c?.. +..c?ccc~?c?c.. +..?c?~ccc?c?.. +.cc?cc?~?c?cc. +.c?c?~?cc?c?c. +.cc?cc?~?c?cc. +.c?c?~?cc?c?c. +.cc?ccc~?c?cc. +.c....c.....c. +Level: +michael +sizes!!! +Bricks: +************** +*!###c!###c!#* +*#cccccE****#* +*#cEEEEE*EEE#* +*#cE*****E!!c* +*#cEEEEEEE!!!* +*#cE!!!!!!!E#* +*#cEEE!!!!!!#* +*#EE!!!!!!!!#* +*!vE!EEEEEEE#* +*cvEEEzzzzzz!* +*#vEEzzzzzzzc* +*#vEEzEEEEEE#* +*#vEEEE!vycx#* +*#vvvvEijkbz#* +*#vvvvEdefgh#* +*#####E!#####* +************** +Bonus: +bbbbbbbbbbbbbb +bb...w?...bb.b +b.?????.bbbb.b +b.?.....b....b +b.?.wwwww.--bb +b.?.......---b +b.?.-------..b +b.?...-wwwww.b +b....-------.b +w--.m........b +ww-...+++++++b +w.-..+++++++ww +w.-..+.......w +w.-....+++++.w +w.----.+++++.w +w.----.+++++.w +w......+.....w +wwwwwwwwwwwwww +Level: +michael +water +Bricks: +************** +*EEEEEEEEEEEE* +*EvEEEEEEEEvE* +*E.EaaEEaaEgE* +*EgE!!EE!!EgE* +*EgE!!EE!!EgE* +*EgE!!EE!!EgE* +*EgEggggggEgE* +*ggEEgggEEEgg* +*gggEcEcEcEgg* +*EEgbkbgbkbgE* +*EEgxgxgxgxgE* +*EgEEyEgEyEEE* +*EgEgEgggEgEE* +*EggggggggggE* +*EvggggggggvE* +*EEEEEggEEEEE* +************** +Bonus: +bbbbbbbbbbbbbb +b............b +b.w........w.b +b...pp..pp.m.b +b.m.pp..pp.m.b +b.m.pp..pp.m.b +b.m.pp..pp.m.b +b.m.mmmmmm.m.b +bmm..mmm...mmb +bmmm.?.?.?.mmb +b..m???m???m.b +b..m???m???m.b +b.m..?.m.?...b +b.m.m.mmm.m..b +b.mmmmmmmmmm.b +b.wmmmmmmmmw.b +b.....mm.....b +wwwwwwwwwwwwww +Level: +michael +BOOM +Bricks: +*!!!!********* +*############! +*#*!!!!*****#! +*#*########!#! +*#*#*!!!!*#!#! +*#*#*####*#!#* +*#*#*#vv#*#!#* +*#*#*#gf#*#*#* +*#*#*#ih#*#*#* +*#*#!#jk#*#*#* +*#*#!#ed#*#*#* +*#*#!#!##*#*#* +*#!#!#!!!*#*#* +*#!#!######*#* +*#!#***!!!!*#* +*#!##########* +*#*******!!!!* +*############# +Bonus: +bbbbbwwwwwwwwb +b............b +b.wbbbbbbbbb.b +b.w........w.b +b.w.{{****.w.b +b.w.{....*.w.b +b.w.{.??.*.w.b +b.w.{.??.*.w.w +b.w.{.??.*.w.w +b.w.{.??.*.w.w +b.w.{.??.*.w.w +b.w.{.*..*.w.w +w.w.{.****.w.w +w.w.g......w.w +w.w.bbbbbbbw.w +w.w..........w +w.bbbbbbbbbbbw +w............. +Level: +michael +BLIZZARD +Bricks: +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +E!!E!!E!!E!!E! +************** +*vvvvzEEzvvvv* +*vEEEzEEzEEEv* +*vEczzEEzzcEv* +*vEczzEEzzcEv* +*vEczzEEzzcEv* +*vEczzEEzzcEv* +*vEczzEEzzcEv* +*vEEEEEEEEEEE* +*EEEEEEEEEEEE* +Bonus: +ffffffffffffff +**ffff**ffff** +**ffff**ffff** +**ffff**ffff** +ffffffffffffff +ffffffffffffff +ffffffffffffff +.ff.ff.ff.ff.f +.............. +.WWWW!..!WWWW. +.W...!..!...W. +.W.**!..!**.W. +.W.**!..!**.W. +.W.**!..!**.W. +.W.**!..!**.W. +.W.*!!..!!*.W. +.W............ +.............. +Level: +michael +FUN +Bricks: +******EE****** +*EEEE*EE*EEEE* +*EddE*EE*EddE* +*EeeE*EE*EeeE* +*EkkE*EE*EkkE* +*ajjE*EE*Ejja* +*EiiE*EE*EiiE* +*EhhE*EE*EhhE* +*EggE*EE*EggE* +*EfEE*EE*EEfE* +*EE***EE***EE* +*EE*EEEEEE*EE* +*EE*EEEEEE*EE* +*EE*E****E**E* +*E**E*EE*EE*E* +*E*EE*EE*EE*E* +*E****EE****E* +*EEEEEEEEEEEE* +Bonus: +wwwwww..wwwwww +ww...w..w....w +w.bb.w..w.bb.w +w.bb.w..w.bb.w +w.bb.w..w.bb.w +wbbb.w..w.bbbw +w.bb.w..w.bb.w +w.bb.w..w.bb.w +w.bb.w..w.bb.w +w.b..w..w..b.w +w..bww..wwb..w +w..b......b..w +w..b......b..w +w..b.bbbb.bw.w +w.wb.w..w..w.w +w.w..w..w..w.w +w.wwww..wwww.w +w............w +Level: +michael +FUN +Bricks: +vv************ +!v*!!!****!!!* +!v*!*!****!*!* +!v*!!!****!!!* +!v************ +!vdddddzaaaaab +!vdddddzaaaaab +!!!g!!!z!!!bbb +!E!g!E!z!E!ccc +!E!g!E!z!E!c!! +!E!g!E!z!E!cxy +!!!g!!!z!!!cxy +eeegfffziiicxy +!E!g!!!zijjxxy +!E!g!EEzijkyyy +!!!g!!!zijkkkk +hhhgEE!zijjjjj +hhhg!!!ziiiiii +Bonus: +bbwwwwwwwwwwww +5bw***wwww***w +5bw*w*wwww*w*w +5bw***wwww***w +5bwwwwwwwwwwww +5b-----?ddddd~ +5b+++++?ddddd~ +555f444?333~~~ +5.5f4.4?3.3jjj +5.5f4.4?3.3j22 +5.5f4.4?3.3j{} +555f444?333j{} +WWWf&&&?>>>j{} +1.1f000?><<{{} +1.1f0..?><<<<< +!!!f000?>>>>>> +Level: +michael +FUN +Bricks: +dddddddddddddd +kk***kkkkkkkkk +EiEiEiEiEiE!Ei +EhEhEhEhEhEhEh +EgEgEgEgEgEgEg +EfEfEfEfEfEfEf +**E**jEjEjEjEj +EeEeEeEeEeEeEe +EcEcEcEcEcEcEc +Eb.b.b.b.b.b.b +aa*aaadada!a!a +@@*@@@d@d@!@!@ +##*###d#d#!#!# +EE*EEEdEdE!E!E +..*vvvdvdv!v!v +..*vvvdddv!v!v +.EEEEEEEEEEEEE +************** +Bonus: +--{{cc~~>>**pp +&&bbb&&&&&&&&& +...........*.. +.5.5.5.5.5.5.5 +.m.m.m.m.m.m.m +.}.}.}.}.}.}.} +bb.bbW.W.W.W.W +.j.j.j.j.j.j.j +.c.c.c.c.c.c.c +.............. +..b...l.l.g.g. +..b...l.l.g.g. +..b...l.l.g.g. +..b...l.l.g.g. +..b...l.l.g.g. +..b...lll.g.g. +.............. +wwwwwwwwwwwwww diff --git a/project/jni/application/lbreakout2/client/levels/Megadoomer b/project/jni/application/lbreakout2/client/levels/Megadoomer new file mode 100644 index 000000000..e97d0edd2 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Megadoomer @@ -0,0 +1,1641 @@ +Level: +Luke +madness +Bricks: +@@@@@@@@@@@@@@ +.gggggggggggg. +.gggggggggggg. +.gggggggggggg. +.gggggggggggg. +.gggggggggggg. +.gggggggggggg. +.gggggggggggg. +.@@@@@@@@@@@@. +.............. +.............. +##.........### +cc#.......#ccc +ccc###..##cccc +cccccccccccccc +cccc......cccc +ccc........ccc +cc..........cc +Bonus: +.............. +.bbb55m555bbb. +.bbb.5555mbbb. +.bbb..55..bbb. +.bbb......bbb. +.wbbbbbbbbbbw. +.wbbbbbbbbbbw. +.wwbbbbbbbbww. +.............. +.............. +.............. +.............. +??.........??? +???.......???? +?????????????? +????......???? +???........??? +??..........?? +Level: +luke +show me the money! +Bricks: +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +EEEEEE##EEEEEE +.............. +.............. +EE#EEEEEE#EEEE +.............. +.............. +#EEEEEEEEEEEE# +############## +cccccccccccccc +.h.h.h.h.h.h.h +h.h.h.h.h.h.h. +.h.h.h.h.h.h.h +gggggggggggggg +kkkkkkkkkkkkkk +Bonus: +22222222222222 +22222222222222 +22222222222222 +22222222222222 +......bb...... +.............. +.............. +..b......b.... +.............. +.............. +b............b +bbbbbbbbbbbbbb +mbmbbbmmbbbbbm +.0.0.0.0.0.0.0 +0.0.0.0.0.0.0. +.0.0.0.0.0.0.0 +bbbbbbbbbbbbbb +ww....w...bww. +Level: +luke +Fast break +Bricks: +#************* +#************* +#EEEEEEEEEEE** +#Ee.e.e.e.eE** +#E.e.e.e.e.E** +#Ee.e.e.e.eE** +#E.e.e.e.e.E** +#Ee.e.e.e.eE** +#E.e.e.e.e.E** +#Ee.e.e.e.eE** +#E.e.e.e.e.E** +#Ee.e.e.e.eE** +#E.e.e.e.e.e** +#Ee.e.e.e.e.** +#EEEEEEEEEEEEE +############## +iiiiiiiiiiiiii +gggggggggggggg +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +b.b..b.b..bb.b +.....m.....m.. +w...w......w.w +Level: +luke +smile +Bricks: +.............. +.............. +......hh...... +.....hhhh..... +....hhhhhh.... +...hhhhhhhh... +..hhvvhhvvhh.. +.hhhvvhhvvhhh. +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +..hhvhhhhvhh.. +...hhvhhvhh... +....hhvvhh.... +.....hhhh..... +......hh...... +.............. +.............. +Bonus: +.............. +.............. +......w....... +.......+...... +....-...?c.... +...s..c-..-... +..d.55..55.... +..+.5m.f25.s.. +.............. +.c-...-.l..+-. +..?+l.....cc.. +....2....2.... +...-.2..2.-... +......22...... +.......+...... +......lc...... +.............. +.............. +Level: +luke +cheaters don't win +Bricks: +#.hh......hh.# +..hh......hh.. +..hh!!!!!!hh.. +..hh!!!!!!hh.. +..hhjkjkjkhh.. +..##kjkjkj##.. +..##dddddd##.. +..##eeeeee##.. +..##gggggg##.. +..##iiiiii##.. +..##ffffff##.. +..##########.. +..##########.. +..##########.. +..##########.. +.............. +.............. +.............. +Bonus: +{.........m..{ +..+........+.. +....w.....g... +..m...+....... +.............. +..c?.....m??.. +..?f...l..-{.. +..{c..+...&c.. +..-c......{-.. +..?{.m..w.-f.. +..>d......~W.. +..W&W~->f{c?.. +..c~-{{c-?d-.. +..?-fd-?---?.. +..-{>c&-{?c?.. +.............. +.............. +.............. +Level: +luke +Nuke +Bricks: +d...j..j..jjjj +.d..jjjjjjjjjj +.dd..jjjj.jjjj +.ddd...j..jjjj +.#########..j. +deh*******#... +hde********#.. +ehh*********#. +deh*********#. +ehh********#.. +deh*******#... +.#########.... +.ddd...j..jj.j +.dd.....jjj.j. +.d....j.jjjjj. +d......jjjj... +........jjjj.. +.........jj... +Bonus: +............md +.>...>...+-... +.......*....s{ +..+........... +.ddddddddd..j. +-..dddddddd... +..5ddddddddd.. +5..dddddddddd. +...dddddddddd. +m.5ddddddddd.. +...dddddddd... +.ddddddddd.... +.>w........-.. +.........+.... +.+......>...+. +-.........}... +.........p.... +.............. +Level: +luke +Maze +Bricks: +...*******#gg# +...jjjjjjj#gg# +.#######..#gg# +.#fff#....#gg# +.#fff#....#gg# +.#...#..###gg# +j#...#........ +*#............ +j#........##.. +j#f#####..###. +*#f#***#...hhh +.#f#ff.#...hhh +.#####.####### +***........... +iii........... +#############. +.............. +.............. +Bonus: +...bbbbbb..... +...ww.wwbb.... +.............. +.............. +.............. +.............. +b............. +.............. +b............. +b............. +w..........555 +.....w.....555 +.............. +.............. +..w........... +.............. +.............. +.............. +Level: +luke +columns +Bricks: +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ff*gg*hh*ii*jj +ff*gg*hh*ii*jj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +ffEggEhhEiiEjj +.............. +.............. +Bonus: +....l........l +.........s.... +w..c.......... +......4+..+.+4 +*...*.......+. +.f.*...s..w..s +4...>..*...... +.*.+......4.&~ +&.....cj.><..- ++..s{..f..{.<. +.j..-....g-... +-d.w4.&.....+. +...!..}-.*.... +.+.....-.+&..w +s..++.......c. +.<............ +.............. +.............. +Level: +luke +krazy koulmns +Bricks: +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@ddeeeehh +ffggggdd****hh +ff****ddeeeehh +ffggggdd@@@@hh +ff@@@@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +ff@gg@dd@ee@hh +.............. +.............. +Bonus: +..?55?..?55?.. +..?55?.c?55?.. +.c?..?.+?..?+. +..?l.?-.?.-?.. +..?.+?.*?~l?.> +~!?>.?m.?.+?-. +..?.p?..?f.?!. +.-?.c?.c.....* ++.....c.....+. +.*~.......&... +......-.????.m +..????*+?.-?!. +m+?.w?!.?..?.. +..?f.?.w?p.?.+ ++.?-.?>-?.+?w. +.p?.*?.!?c~?.. +.............. +.............. +Level: +luke +what you can't see... +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 +.............. +vvvvvvvvvvvvvv +.............. +vvvvvvvvvvvvvv +.............. +.............. +vvvvvvvvvvvvvv +.............. +.............. +vvvvvvvvvvvvvv +.............. +.............. +Bonus: +!.5........... +.f.b.&.5.b.... +5.......?.3.3. +.W.w.3.*...W.b +-.3...3...3... +.3.{.5.3.5.... +.............. +.b.?....&.. +......m.5..... +..+-..m....c+. +...-.....d5-.. +.-.5.......-.. +..>c..jc...+f. +.+............ +.....+5.p...-. +....w....g.... +....-..+.w.... +.............. +.............. +.............. +Level: +luke +Box +Bricks: +.............. +.............. +.####.@@.####. +.#ddd....ddd#. +.#dkkkkkkkkd#. +.#dkc....ckd#. +.#dk.c..c.kd#. +.#dk..cc..kd#. +.#dkcccccckd#. +.#hk.c..c.kh#. +.#hkciiiickh#. +.#hkiiiiiikh#. +.#hkiiiiiikh#. +.#hkiiiiiikh#. +.#hkkkkkkkkh#. +.#hhhhhhhhhh#. +.############. +.............. +Bonus: +.............. +.............. +.............. +.............. +...*..c3+..... +....?.....c... +.....?........ +......3...3... +...+...c...... +..........>... +...>.c....?... +...3..>..>?3.. +..3.????c.?... +.....>??..3... +..cc.>..cc.... +.......+.3.... +.............. +.............. +Level: +luke +Lukcy 13 +Bricks: +ffffffffffffff +.@............ +fffff@ff!ff@ff +.!............ +ffffffffffff!f +..@..!..@..... +ffffffffffffff +@....@......@. +fffffffff@ffff +.!.....!...... +.............. +@.@.@.@.@.@.@. +.............. +.............. +.@.@.@.@.@.@.@ +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +luke +Not my cup o' tea +Bricks: +.............. +vvvvvvvvvvvvvv +vddddddddddddv +vdhhhhhhhhhhdv +vdhhhhhhhhhhdv +vdhhhhhhhhhhdv +vdhhhhhhhhhhdv +vdhhhhhhhhhhdv +vdhhhhhhhhhhdv +vjggggggggggjv +vjggggggggggjv +vjggggggggggjv +vjggggggggggjv +vjggggggggggjv +vjggggggggggjv +vjjjjjjjjjjjjv +vvvvvvvvvvvvvv +.............. +Bonus: +.............. +.....????..... +???.??..???... +..??......?... +..??.......?.. +.?..?......?.. +.?..?......??. +.?..........?. +??5555555555?. +?...........?. +???...??.....? +.??.??.?.....? +.????.?...?.?. +.??.???...?.?. +.......???.?.. +.............. +.............. +.............. +Level: +luke +blitz 1 +Bricks: +ffffffffffffff +************** +gggggggggggggg +.............. +.............. +.............. +jjjjjjjjjjjjjj +hhhhhhhhhhhhhh +eeeeeeeeeeeeee +dddddddddddddd +iiiiiiiiiiiiii +ffffffffffffff +gggggggggggggg +kkkkkkkkkkkkkk +aaaaaaaaaaaaaa +gggggggggggggg +************** +ffffffffffffff +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....?.....?... +.?............ +......?..?..?. +....?......... +...?.......... +.............. +.?.?.w.?..?.?. +.w............ +&&&&&&&&&&&&&& +>>>>>>>>>>>>>> +++++++++++++++ +Level: +luke +blitz2 +Bricks: +...!.......... +............!. +...!.......!.. +....!...!..... +.!.!.!...!.!.. +!.v.v.!.!.v.!. +.v.!.!.v.v.v.v +v.!.!.!.!.!.!. +.!.!.!.!.!.!.. +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!...!.!.!.!.! +!.!.!.!.!.!.!. +xxxxxxxxxxxxxx +gggggggggggggg +************** +ffffffffffffff +Bonus: +.............. +.............. +...&.......... +.............. +...l.......... +........c.&... +.............. +..c.d.&.l.d... +.&.......c.... +............&. +.d...d.c...c.. +..&...&.&.&... +.c...l.c...d.. +......c....... +.............. +&&&&&&&&&&&&&& +>>>>>>>>>>>>>> +++++++++++++++ +Level: +luke +blitz 3 +Bricks: +.............. +kkkkkkkkkkkkkk +.............. +kkkkkkkkkkkkkk +.............. +kkkkkkkkkkkkkk +.............. +kkkkkkkkkkkkkk +************** +kkk*#jjjj#kkkk +***#......#*** +kk#iiiiiiii#kk +*#..........#* +#hhhhhhhhhhhh# +.............. +gggggggggggggg +************** +ffffffffffffff +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +&&&&&&&&&&&&&& +>>>>>>>>>>>>>> +++++++++++++++ +Level: +luke +blitz 4 +Bricks: +************** +*vvvvvvvvvvvv* +*............* +*vvvvvvvvvvvv* +*............* +*vvvvvvvvvvvv* +*............* +*vvvvvvvvvvvv* +*............* +*vvvvvvvvvvvv* +*............* +*vvvvvvvvvvvv* +*............* +.vvvvvvvvvvvv. +************** +gggggggggggggg +************** +ffffffffffffff +Bonus: +.............. +.??........?.. +.............. +..???...???.?. +.............. +...????????.?. +.............. +.?.?.?.??.?.?. +.............. +...?..?..????. +.............. +.....?.???.... +.............. +.&&&&&&&&&&&&. +cccccccccccccc +&&&&&&&&&&&&&& +>>>>>>>>>>>>>> +++++++++++++++ +Level: +luke +blitz 5 +Bricks: +iiiiiiiiiiiiii +************** +!!!!!!!!!!!!!! +.............. +..##########.. +..k#**hh**#k.. +..k*#*hh*#*k.. +..kk#*hh*#kk.. +..kk#*hh*#kk.. +..kkk#**#kkk.. +..kkk#**#kkk.. +..kkk#**#kkk.. +..kk**##**kk.. +..##########.. +gggggggggggggg +************** +************** +ffffffffffffff +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +-------------- +&&&&&&&&&&&&&& +>>>>>>>>>>>>>> +++++++++++++++ +Level: +luke +CPU Test +Bricks: +xxxx#!!!#xxx#x +xxxx#!!##xxx#x +xx#x#!#x#x#x#x +x#xx##xx#x#x#x +x#xx#xxx#x#x#x +x#xx#xxx#x#x#x +x#xx#x#x#x#x#x +x#xx#x#x#xxxxx +x#xx#x#x#xxxxx +x#xx#x#x#xxxxx +x#xx#x#x#x#x#x +x#xx#x#x#x#x#x +x#xx#x#x#x#x#x +x#xx#x#x#x#x#x +x#xx#x#x#x#x#x +x#xxxx#xxx#x#x +x#xxxx#xxx#xxx +x############# +Bonus: +wbwb.....bbb.m +bwww.....bbb.b +bw.b...b.b.b.b +w.bw..bb.b.b.b +b.wb.bbb.b.b.b +w.bb.bbb.b.b.b +b.bb.b.b.b.b.b +w.bb.b.b.bwbwb +b.bb.b.b.bwbwb +w.bb.b.b.bwbwb +b.bb.b.b.b.b.b +w.bb.b.b.b.b.b +b.bb.b.b.b.b.b +w.bb.b.b.b.b.b +b.bb.b.b.b.b.b +w.bbbb.bbb.b.b +b.bbbb.bbb.bbb +w............. +Level: +luke +CPU Test +Bricks: +ExExxExxExxExE +xxxxxxxxxxxxxx +E#E##E##E##E#E +ccc*********** +ccc*********** +############** +************** +************** +**############ +************** +************** +############** +************** +************** +**############ +************** +************** +############** +Bonus: +.............. +.............. +.............. +bbbbbbbbbbbbbb +mbbbbbbbbbbbbb +............bb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bb............ +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +............bb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bb............ +bbbbbbwwwwwwww +bbbbbbwwwwwwww +............ww +Level: +luke +spiral +Bricks: +cccccccccccccc +cccccccccccccc +c###########cc +c#ccccccccc#cc +c#ccccccccc#cc +b#cc#####cc#cc +b#cc#ccc#cc#cc +b#cc#ccc#cc#cc +b#cc#c###cc#cc +b#cc#cccccc#cc +b#cc#cccccc#cc +a#cc#ccccc##cc +a#cc######!#cc +a#ccccccc#!#cc +a#cccccccc##cc +a#######cccccc +*******#cccccc +*******####### +Bonus: +bbbbbbb*bbbbbb +bbbbbbbbbbbbbb +b...........bb +b.bbbbbbbbb.bb +b.bbbbbbbbb.bb +b.bb.....bb.bb +b.bb.bbb.bb.bb +b.bb.bbm.bb.bb +b.bb.b...bb.bb +b.bb.bbbbbb.bb +b.bb.bbbbbb.bb +w.bb.bbbbb..bb +w.bb........bb +w.bbbbbbb...bb +w.bbbbbbbb..bb +w.......bbbbbb +bwwbwww.bbbbbb +bwwwwww....... +Level: +luke +columns 3 +Bricks: +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +f#g#h#i#j#k#de +.............. +.............. +.............. +.............. +.............. +Bonus: +m.m.m.m.m.m..m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +luke +Teeth o' Doom +Bricks: +dddddddddddddd +dddddddddddddd +dddddddddddddd +dddddddddddddd +kdjjkdjjkdjjkd +k.jjk.jjk.jjk. +k.jjk.jjk.jjk. +k.jjk.jjk.jjk. +j.jjk.jjk.jjk. +...j...j...j.. +.j...j...j...j +jjj.jjj.jjj.jj +kjj.kjj.kjj.kj +kjj.kjj.kjj.kj +kjj.kjj.kjj.kj +kjjdkjjdkjjdkj +dddddddddddddd +dddddddddddddd +Bonus: +.............. +.m-..--.&.*... +........+...p. +.-..........-. +...*..-...*... +.......>...... +..>........... +.......w...-.. +...+....+..... +.......>...... +.f...f...f...f +.............. +.............. +......<....... +..+..-..-+.... +.............. +<....+...-<... +..-..........- +Level: +luke +not happy anymore :( +Bricks: +.............. +.............. +....hhhhhh.... +...hhhhhhhh... +..hhhhhhhhhh.. +.hhhhhhhhhhhh. +.hhvhvhhvhvhh. +.hhvvvhhvvvhh. +.hhhvhhhhvhhh. +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +.hhhvhhhhvhhh. +.hhvhvhhvhvhh. +..hhhvvvvhhh.. +...hhhvvhhh... +....hhhhhh.... +.............. +.............. +Bonus: +.............. +.............. +.............. +.....>.-...... +.......>...... +..---......-.. +..-0.0..0.0... +...000..000.>. +.>..m..>.m.... +..>...>....>.. +...--....-->-. +....0-...0..-. +...0.0.>0.0... +...->0000..... +......00.-.... +.......>...... +.............. +.............. +Level: +luke +WHHHHHHHHHHYYYYYY +Bricks: +...kkkkkkkk... +....kkkkkk.... +....######.... +....jjjjjj.... +.....####..... +.....gggg..... +......##...... +.....ffff..... +.....####..... +....hhhhhh.... +....######.... +...iiiiiiii... +...########... +..eeeeeeeeee.. +..##########.. +.dddddddddddd. +.############. +.............. +Bonus: +...+b.-.b.c... +.....b........ +.............. +........c..... +.............. +.....cb....... +.............. +......+....... +.............. +.....-.b...... +.............. +...+.b....c... +.............. +...+.c.b.-.+.. +.............. +...b..w..-.+.. +.............. +.............. +Level: +luke +Invader +Bricks: +.............. +.....d..d..... +....d....d.... +...d......d... +...d......d... +...dddddddd... +..dd..dd..dd.. +..d.dd..dd.d.. +..d.dd..dd.d.. +..dd..dd..dd.. +...dddddddd... +....dddddd.... +....dddddd.... +.....dddd..... +.....dddd..... +.....dddd..... +......dd...... +......dd...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +luke +stairway from hell +Bricks: +cccccccccccccc +cccccccccccccc +####cccccccccc +cccc###ccccccc +ccccccc###cccc +cccccccccc###c +cccccccccccccc +cccccccccccccc +cccccccccc#### +ccccccc###cccc +cccc###ccccccc +c###cccccccccc +cccccccccccccc +.......ccccccc +####......cccc +cccc###....... +bbbbbbb###.... +aaaaaaaaaa###. +Bonus: +.............. +.............. +....m......... +.b............ +.bb........... +bwwbbb........ +.bbbb.bbb..... +.b.bwb.bwb.b.. +b.b.b.b....... +.bb.......bbb. +b.......bbb.bb +....b...bbbbbb +bbbbbbbbbbbb.. +.......bbbbbb. +..........bb.. +wwwb.......... +wbwwbww....... +wwwwwwwwww.... +Level: +luke +Tacco! +Bricks: +.............. +.............. +.............. +....f...f..... +....efeede.... +..eedfddffef.. +.fdfhhhhhhde.. +.efhhhhhhhhfef +.dhhhhhhhhhhde +.fhhhhhhhhhhf. +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +.hhhhhhhhhhhh. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +....?????..... +..?????.?..... +..?ccc*c?..... +..?mcc??cc.... +..?cc??cccc??. +.?cc???ccc.c?. +.?cc?w?c.c.c?. +.?ccccccc..?c. +.?.ccccccc??.. +.???cc..??.... +...??????..... +.............. +.............. +.............. +Level: +luke +stripe Search +Bricks: +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +gvivjvfvdvivev +g.i.j...d.i.e. +g.i.....d.i.e. +..i.....d.i.e. +........d...e. +............e. +Bonus: +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.?.?.?.?.?.?.? +.............. +.............. +.............. +.............. +.............. +Level: +luke +stairway from hell +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +luke +encyclopedia enthropia +Bricks: +............f. +hhfc.f.ffcf.fh +cc.c*cd*gc*h.h +.*fchc.dg.*h*f +c!.*..*dhg..cf +g!hcgc.hc.!**. +.c.c.*ffffg..h +.**ff...**fgf* +f.gcdh*c.!h!.. +..!h*d..g!*!.g +d!.!!dfg.f*ff. +h!*.fd.g*c..*! +h..g.cc..cgdc! +hccggd*hh!.*c! +.ff..f*d.*!d.h +...*g..gg.cdhh +*hcc!!g.....f. +!.ghh!g.ff.g.. +Bonus: +.............. +.............. +??.?.......... +?..???.??..... +?........????. +....??.?...... +.....??......? +........?????? +...????...?... +..??.......... +?..?..?...?... +??..?....?.... +.?....?.?..... +..?......?.... +..?..?........ +.....?....?.?. +...?.?........ +...??......... +Level: +luke +Purple Monkeis +Bricks: +j..jjjj.f....@ +jjjjjj.fff...@ +.jjjjjffiiff.@ +jjj.j.ff@i@@@@ +j.....ffiff..@ +....i..fif.i.@ +..ii....fi.i.@ +..i.i.....i..@ +.i.ii...ii.i.i +..ii.......i.i +...i..i...iii@ +i..i.i...i.ii@ +.iiii...i.ii.i +...i..i...i.ii +...i.i.i...ii@ +..i.i......i.@ +..i.i........@ +.ii.ii.......@ +Bonus: +.............. +.............. +.<.<.......... +.............. +.............. +.........<.... +.............. +.............. +.............. +.............. +...........<.. +...<.......... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +luke +monkey riding dishwasher +Bricks: +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +kkkkkkkkkkkkkk +........a....a +..i........a.. +.i.i.....a...a +i.i.j..a..a.a. +.ii.j....a.a.. +.i.ij.......aa +.ii.jjjjjaa... +.i..jjjjj.a.a. +.i..jjjjj..a.. +ii..jjjjja.j.a +i.i.jjjjj..j.. +i..ijjjjjaj... +.i..jjjjj.ja.. +..i.jjjjjj...a +.i..jjjjj..... +Bonus: +.............. +......<....... +.............. +.............. +.............. +.........<.... +.......<...... +...........0.. +.............. +.<.......<.... +............<. +.............. +.............. +......<....... +.............. +.............. +.............. +.............. +Level: +luke +Firecracker +Bricks: +***********#*# +*########*#*#* +#******#**##*# +*######*#*#*#* +#******#**##*# +#*########*##* +*##*******##*# +**###########* +*****#*****#*# +*###*#*######* +#****#******** +**############ +*#************ +***####@@@@@@. +###........... +***........... +***..#........ +####.######### +Bonus: +.............. +.............. +.............. +.............. +.2222222...... +.2............ +2..2222222.... +22............ +22222......... +2...2......... +.2222......... +22............ +2.222222222222 +222........... +.............. +222........... +222........... +.............. +Level: +luke +begenning of the end +Bricks: +.............. +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +iiiiiiiiiiiiii +iiiiiiiiiiiiii +dddddddddddddd +ddddd#dd#ddddd +hhhh#hhhh#hhhh +hhh#hhhhhh#hhh +gg#gggggggg#gg +gggggggggggggg +ffffffffffffff +ff#ffffffff#ff +#vv#......#vv# +....#....#.... +.....#vv#..... +.............. +.............. +Bonus: +.............. +.....-........ +.*......-.w.>. +..>c.>....>... +.....d.c.b.... +>>.-..&....p.. +.......>...-.. +..d........... +c.....>>>..d>. +.....c........ +.p...........c +...-.>.p.-.... +......+.}...>. +..>........... +.............. +.......+...... +.............. +.............. +Level: +luke +one last break +Bricks: +.............. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +!.!.!.!.!.!.!. +.!.!.!.!.!.!.! +.............. +.............. +Bonus: +.............. +...m.......m.. +.............. +.............. +.............. +.m.m...m...m.. +.............. +.m.......m.... +....m......... +.......m.....m +..m........... +...........m.. +......m....... +m............. +.............. +.....m.....m.. +.............. +.............. +Level: +luke +Die Die My Darling +Bricks: +..@@.......... +..@........... +..@kkkkkkkkk.. +@@@kkkkkkkkkk. +@@@jjjjjjjjjd. +..@jjjjjjjdd.. +..@........d.. +..@@.......d.. +........dddddd +gggggggdgddddg +ggggggdgdgdddd +#g#g#d#d#d#d#d +#g#g#g#g#d#d#d +gggggggddddddd +ggggggdggddgdd +.#.#.#.#d#d#d# +.#.#.#.#d#.#d# +.#.#.#.#.#.#d# +Bonus: +.............. +.............. +...>.......... +.............. +.....>........ +...>....!..... +.............. +.............. +.............. +..-......--... +>-!.-.!->..>-. +...>.......... +...........-.- +.-..>.....>... +>.-...-.--..-. +.............. +.............. +.............. +Level: +luke +Almost there... +Bricks: +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +.....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.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: +55>55555555555 +55555}5?}5>5>5 +555>5555555555 +.........l.... +....*......... +.l...?.-.}.... +..-.}.c.....-. +.....-.*.-.... +{.....f.....c. +.+.l...>...?.{ +......g.....+. +.?.*.{........ +..c.......+.*. +.{.}.f.f...... +..+...?...{.?. +...c.....c.... +..........+... +.............. +Level: +luke +MEGADOOMER +Bricks: +************** +!!!!!!!!!!!!!! +jjjjjjjjjjjjjj +jj@hhhhhhhh@jj +j@ghhhhhhhhg@j +@gghhhhhhhhgg@ +ggghhh##hhhggg +ggghh#ii#hhggg +gggh#iiii#hggg +ff#hiiiiiih#ff +ff#ihhhhhhi#ff +ff#i#hhhh#i#ff +ff#ii#hh#ii#ff +ff#iii##iii#ff +ff#iiiiiiii#ff +ff#iiiiiiii#ff +###iiiiiiii### +xxxxxxxxxxxxxx +Bonus: +5....-..5....5 +...5...f...f-. +5-.f.5..-~5.5. +....{.5...?..? +...?...W55.... +..?.5--.?5d... +.5.5s....~-.5. +..WWf..5...{.d +d-....W.>.f.-. +.5...>>~.5...W +W..{.5..5??.-- +--...p>5...... +.f.?..W...W..5 +.-.-.5...5..~5 +~..~..{5d.f... +....5?.f.-.... +.........?.... +.............. + diff --git a/project/jni/application/lbreakout2/client/levels/MontyHall b/project/jni/application/lbreakout2/client/levels/MontyHall new file mode 100644 index 000000000..2393930c7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/NES b/project/jni/application/lbreakout2/client/levels/NES new file mode 100644 index 000000000..0b70d933b --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/NES @@ -0,0 +1,411 @@ +Version: 1.00 +Level: +Nester +Mario +Bricks: +............hh +.....*****..hh +....*********h +....dddhhdh.dd +...dhdhhhdhhdd +...dhddhhhdhhh +...ddhhhhddddd +.....hhhhhhhd. +.ddddd*ddd*d.. +ddddddd*ddd*.. +hdddddd*****.d +hh.**d**h**h*d +h.d**********d +.ddd*********d +ddd*******.... +d..****....... +.............. +.............. +Bonus: +............22 +............22 +.............. +......>..-.... +.........?..-. +....+.&.....s. +..........w... +........}..... +.............. +.~..{......... +0............! +*0......1..1.. +0............c +.<...>........ +.........~.... +-............. +.............. +.............. +Level: +Nester +Luigi +Bricks: +aaa..aaaaa.... +hhhaafffffa... +hhaffffffffa.. +afaaahahhaaa.. +afhhhhahaahha. +afhhhahhaahha. +.aaaaaahhhaa.. +.afhhhhhhaa... +..afafffafffa. +aaaafffafffaaa +ffahaahaffahhh +fffaaaaaafahhh +affaaaaaaaaafa +affaaaaaaaafff +.aa...aaaaaaff +........aaa.aa +.............. +.............. +Bonus: +.............. +22.....l...... +22............ +......-..c.... +-.....?....g.. +.s............ +.............. +..b....W...... +....j....+.... +.............. +<..1..1....0*0 +............0. +.....+.>...~.. +.f.......{.... +.............. +............>. +.............. +.............. +Level: +Nester +Link +Bricks: +....ffffff.... +...ffffffff... +.e.fddddddf.e. +.e.dddddddd.e. +.eedefeefedee. +.eededeededee. +..eeeeeeeeeed. +..ffeeddeeffd. +.ddddeeeeffddd +ddedddfffffedd +deeededdffeeed +ddeddefddddeee +ddeddeddffffe. +ddeddefffff... +ddddde..ddd... +eeeeed........ +...ddd........ +.............. +Bonus: +.............. +.............. +.~.+........l. +......--..-... +.....+..+..... +.j...?..?...b. +...&......&... +......ff...... +..........W... +..0..!.....2.. +.0w0........*. +..0...s.<..2.2 +..0........... +~.0.~..+...... +.........>.... +.............. +....>......... +.............. +Level: +Nester +Dragon Warrior +Bricks: +j.j...gggg...j +j.jjjggggggjjj +j..jjgjjjjgjj. +j...gggggggg.. +j...gegeegeg.. +j.ggeegeegeegg +jggggeeeeeeggg +ggjggggeeggjjj +eejjggggggjggg +eej.jgjjjjjgeg +j...ggggggjgeg +....gjggggjggg +....jjggggjjjj +....eee.jjjj.. +....ggg.eeee.. +........gggg.. +.............. +.............. +Bonus: +*............. +..0..........0 +...f...wj...f. +.............. +......-..-.... +....+.?..?.+.. +.............. +............l. +.+<........... +....}.>!>b..4. +>...........4. +.......s...>.> +....-.......c. +.....~...<.... +........~..~.. +.............. +.............. +.............. +Level: +Nester +Megaman +Bricks: +.............. +.............. +......aaa..... +....aaa!!a.... +...aggga!!a... +..agggggaaaa.. +..aggggga!!ga. +.a!ggggggaaga. +.a!gghjjjggja. +.a!ghjjaahaja. +..aghjjaahaja. +..aghhjjjhjha. +...aghaaaahaa. +....ahhhhha... +.....aaaaa.... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.......W...... +.............. +....j..m..-... +.............. +.....+.....b.. +..c.......<... +.....f.22l.f.. +.....s.2?..... +..->......~.-. +........c..... +.....p.p.p.... +......>.+..... +.............. +.............. +.............. +Level: +Nester +Bomberman2 +Bricks: +...aaddddaa... +..adddddddda.. +.addeeeeeedda. +.adeeEeeEeeda. +.adeeEeeEeeda. +.adeeEeeEeeda. +.addeeeeeedda. +..adddddddda.. +addaeeeeeeadda +addaeeeeeeadda +eaaeeeeeeeeaae +eeEEEE**EEEEee +aaaeeeeeeeeaaa +..adddaaddda.. +..adddaaddda.. +..aaaaaaaaaa.. +.aaeeeaaeeeaa. +aaaaaaaaaaaaaa +Bonus: +.............. +.....2..2..... +...?......?.~. +......22...... +..>.2.gj.2.+.. +.~....22...... +..&........... +.....?..?..... +...-.......&.- +-.w.....&..... +....&0000..... +W.....**.....W +.....0000..... +...&..s....... +.......+...<.. +....>....>.... +..<...-.....f. +.f............ +Level: +Nester +Red Elf Is About To Die +Bricks: +..........aaa. +aaaaaa.aaaada. +daaddaaadaadaa +aaddddada.aada +addddaa@a..ada +.addaa@@a..ada +..ada@@@a.aad@ +..aaa@@aaa@@@@ +.adddaaaa@@ada +adaadddadaaada +aa@addaaa.aada +a@@@aa@da.adaa +.a@@@@@a..ada. +..aaaaaa..aaa. +.addadda...... +.addaada...... +.............. +.............. +Bonus: +.............. +.0.0.0.....b.. +4...c...l..p.. +.............. +..c........... +.....?......-. +...1........b. +.........&.... +............b. +.w..-.~.j...-. ++............. +.......{...p.. +...........b.. +.............. +....s.>....... +..>........... +.............. +.............. +Level: +Nester +Lolo +Bricks: +...aagggaa.... +.agjjjgjggga.. +agjjgggggggga. +aggggggggggga. +ggjjjgggjjjgga +gjjjjjgjjjjjga +gjjjvvgvvjjjga +ajjjvvgvvjjjaa +ajjjjjgjjjjjaj +aajjjgggjjjgaj +jagggggggggaja +jjaagggggaajja +aaaaaaaaaaaaa. +.ajjja.ajjja.. +.aaaaa.aaaaa.. +.............. +.............. +.............. +Bonus: +.............. +.....p.l...... +...b.......-.. +.............. +.-.0.c.-.0.... +..0.......0.c. +.0..22.22..0.. +w.0.2?{?2.0... +.0.0.....0...& +..0.0+.+0.0... +..-.......-... +b...~.s.W...b. +.............. +.....>f<... +.............. +.............. +.............. +.............. +Level: +Nester +Super Offroad +Bricks: +...jeea....... +....aeaaeeee.j +eejjeaeaeeeeej +aajjeaaeeeeeej +eeeeeeeeeaaeej +eaaeeeeaaaaavj +aaaaaaavaajavv +ajaavvvvvaavvv +vaavvvvvjavvvv +vvvvvviiijjvvv +vvvvvaiiijjaaa +vviiiaiaajijii +jiiiiiaaiiiiaa +jiiiiiiiiiiaaa +jiiiaaiiiiaaaj +jiiaaaaaaa..aa +..iaaja....... +....aa........ +Bonus: +...l.......... +..........{... +.+....m..s.... +..f&+c..+..+.w +j..c..s......b +..+.}....+..?. +..W&......2... +.2...?.>>.<-?> +.<.>?>-?..>.>? +>>-?.?.....?.> +?.?>>....&f... +>?....g.....+. +...+....c.{... +b.&.s......+W. +w..}.c.{.&...2 +..+.+........< +.....2........ +.....<........ +Level: +Nester +Tetris +Bricks: +############## +#..........c.. +#..........cjj +#..........cjj +#........jjcjj +#j.......jjc.. +#j.......ggccc +#j.......ggccc +#j.....g.ggcg. +#......ggggcgg +#......jgjjc.g +#.j.g.gjjjjccc +#.jggggjaggccc +#.jgjgaaaagcjj +#.jjjaajjagc.j +#.gjjagjaaac.j +#.gjjggjggac.j +#.ggjgjjjggccc +Bonus: +.............. +.............. +............bb +...........!bb +............bb +.w.......g.?.. +.2........j... +.2..........+. +.2.......c.+.. +.......}....ml +.........-.... +..W.......-!.? +...<.{..~..... +....W..&..&.-. +...f.+...{.W.. +..?.?.~.-.s..c +.....!.f.>.-.. +..+~.-.?.....p diff --git a/project/jni/application/lbreakout2/client/levels/N_Arenas b/project/jni/application/lbreakout2/client/levels/N_Arenas new file mode 100644 index 000000000..9825dab29 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/N_Arenas @@ -0,0 +1,247 @@ +Version: 1.00 +Level: +Michael Speck +Duell-1 +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-2 +Bricks: +.............. +.............. +.............. +.............. +..#..#..#..#.. +..#..#..#..#.. +..#..#..#..#.. +..@..@..@..@.. +..@..@..@..@.. +..@..@..@..@.. +..@..@..@..@.. +..#..#..#..#.. +..#..#..#..#.. +..#..#..#..#.. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-1 +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-3 +Bricks: +.............. +.............. +.............. +.............. +.............. +..#..#..#..#.. +.............. +#...@....@...# +.............. +.............. +#...@....@...# +.............. +..#..#..#..#.. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-1 +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-4 +Bricks: +.............. +.............. +.#...#..#...#. +.............. +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +.............. +.#...#..#...#. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/N_Snapshots b/project/jni/application/lbreakout2/client/levels/N_Snapshots new file mode 100644 index 000000000..437c16d40 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/N_Snapshots @@ -0,0 +1,411 @@ +Version: 1.00 +Level: +Michael Speck +Chinese +Bricks: +.............. +.............. +.............. +ffffffffffffff +ffffffffffffff +gggggggggggggg +gggggggggggggg +jbbbbbbbbbbbbj +jbjjjjjjjjjjbj +jbjjjjjjjjjjbj +jbbbbbbbbbbbbj +dddddddddddddd +dddddddddddddd +eeeeeeeeeeeeee +eeeeeeeeeeeeee +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +?......-.....? +....+.....>... +..p.....b..... +.....~.....+.. +...s....j.b.w. +.*1323232323.. +..3232323231*. +.w...j....s... +.......~...+.. +....b.....p... +..b...+.>..... +?...-........? +.............. +.............. +.............. +Level: +Michael Speck +Spearhead +Bricks: +.............. +.............. +.............. +jjjj.......... +kkkkkk........ +aaaaaaaa...... +kkkkkkkkkk.... +jjjjjjjjjjjj.. +#####....zzzzz +#####....zzzzz +kkkkkkkkkkkk.. +jjjjjjjjjj.... +aaaaaaaa...... +jjjjjj........ +kkkk.......... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.2.-.......... +.+............ +2.w2b..+...... +.-....2..~.... +.p.*.}..s..c.. +.........44444 +.........44444 +p..*...}s.~... +.2...2-..+.... +..b2w..d...... +.-.+.......... +2............. +.............. +.............. +.............. +Level: +Michael Speck +Fortress +Bricks: +.............. +.............. +.............. +.............. +.............. +..E##zzzz##E.. +.kE@..gg..@Ek. +kkE.iiiiii.Ekk +kkEgiggggigEkk +kkEgiggggigEkk +kkE.iiiiii.Ekk +.kE@..gg..@Ek. +..E##zzzz##E.. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.....f>.f..... +.p..........p. +?...3....3...+ +.b...34.3..... +.....3.43...b. ++...3....3...? +.p..........p. +.....f.>f..... +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Soccer Worldcup +Bricks: +.............. +.............. +ffffffffffffff +ffffffffffffff +ffffffffffffff +jjjffffffffjjj +ffjffffffffjff +ffjfffjjfffjff +jfjffjffjffjfj +jfjffjffjffjfj +ffjfffjjfffjff +ffjffffffffjff +jjjffffffffjjj +ffffffffffffff +ffffffffffffff +ffffffffffffff +.............. +.............. +Bonus: +.............. +.............. +>...+.bb.+...> +..b..-..-..b.. +.............. +11>........>11 +.f1..b..b..1.. +..1...33...1.. +?.1..3553..1.? +?.1..3553..1.? +..1...33...1.. +..1..b..b..1f. +11>........>11 +.............. +..b..-..-..b.. +>...+.bb.+...> +.............. +.............. +Level: +Michael Speck +Construction Time +Bricks: +.............. +.............. +.............. +..!..!kk!..!.. +.....*kk*..... +.gggggggggggg. +.ffhhhhhhhhff. +.*fh*dddd*hf*. +.@!h@!ee!@h!@. +.@!h@!ee!@h!@. +.*fh*dddd*hf*. +.ffhhhhhhhhff. +.gggggggggggg. +.....*kk*..... +..!..!kk!..!.. +.............. +.............. +.............. +Bonus: +.............. +.............. +..b..c..+..0+. +.0.0...3.3.... +..s........0.. +.............. +.............. +.....4..4.>... +..w..b.m...p.. +..p...g.b..w.. +.....4..4..... +.............. +.............. +..0>.......s.. +....3.3...0.0. +.+0..+..b..c.. +.............. +.............. +Level: +Michael Speck +Four Seasons +Bricks: +.............. +.............. +hhhh......eeee +hhhh......eeee +hhhh......eeee +hhhh......eeee +hhhh......eeee +hhhh......eeee +.............. +.............. +ffff......jjjj +ffff......jjjj +ffff......jjjj +ffff......jjjj +ffff......jjjj +ffff......jjjj +.............. +.............. +Bonus: +.............. +.............. ++..b.......2.4 +3.s.......4{.. +.3.2......f.*. +?.-........b.? +...}......c.3. +.p........2pjb +.............. +.............. +bjp2........p. +.3.d......}... +?.b........-.? +.*.f......2.3. +..{4.......s.3 +4.2.......b..+ +.............. +.............. +Level: +Michael Speck +Hidden Obstacles +Bricks: +.............. +.............. +.............. +.............. +.v#eeeeeeee#v. +..e#......#e.. +..eg#vvvv#ge.. +..egf....fge.. +..egf.dd.fge.. +..egf.dd.fge.. +..egf....fge.. +..eg#vvvv#ge.. +..e#......#e.. +.v#eeeeeeee#v. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +...00000000... +.............. +.....4444..... +..+?......?b.. +...?b.pp.-?... +...?-.pp.b?... +..b?......?+.. +.....4444..... +.............. +...00000000... +.............. +.............. +.............. +.............. +Level: +Michael Speck +Oh, Deer! +Bricks: +.............. +.............. +.d..e....e..d. +.e..d....d..e. +.#..#....#..#. +.a..i....i..a. +.g..a....a..g. +.a..i....i..a. +.g..a....a..g. +.a..i....i..a. +.g..a....a..g. +.a..i....i..a. +.g..a....a..g. +.#..#....#..#. +.h..d....d..h. +.d..h....h..d. +.............. +.............. +Bonus: +.............. +.............. +.p..p....p..p. +.p..p....p..p. +.............. +....5....5.... +.4..........4. +....5....5.... +.4..b....b..j. +....5....5.... +.j..b....b..4. +....5....5.... +.4..........4. +.............. +.p..p....p..p. +.p..p....p..p. +.............. +.............. +Level: +Michael Speck +Pipes +Bricks: +.............. +.............. +.j..!..!..###. +.j..#dd#..#gg. +.jj.#dd#..#g.. +.jj.####...... +.##........... +.f#*.###.*.##. +.f#!.!.!.!.#e. +.f#.!.!.!.!#e. +.##.*.###.*#e. +...........##. +......####.jj. +..g#..#hh#.jj. +.gg#..#hh#..j. +.###..!..!..j. +.............. +.............. +Bonus: +.............. +.............. +.f............ +.3....b....*>. +..f..+.....d.. +..3........... +.............. +.3............ +.5..?2?2?2?.3. +.3.?2?2?2?..5. +............3. +.............. +...........3.. +..c.....+..f.. +.>*....b....3. +............f. +.............. +.............. +Level: +Michael Speck +Collect Your Reward! +Bricks: +.............. +.............. +.x..........x. +.............. +...z.z..z.z... +.............. +.x..........x. +...z.z..z.z... +.............. +.............. +...z.z..z.z... +.x..........x. +.............. +...z.z..z.z... +.............. +.x..........x. +.............. +.............. +Bonus: +.............. +.............. +.b..........b. +.............. +...5.5..5.5... +.............. +.b..........b. +...5.5..5.5... +.............. +.............. +...5.5..5.5... +.b..........b. +.............. +...5.5..5.5... +.............. +.b..........b. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Nations b/project/jni/application/lbreakout2/client/levels/Nations new file mode 100644 index 000000000..1f5d18c0a --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Negundoid b/project/jni/application/lbreakout2/client/levels/Negundoid new file mode 100644 index 000000000..d3b74b4f0 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/ObiWan b/project/jni/application/lbreakout2/client/levels/ObiWan new file mode 100644 index 000000000..87519143a --- /dev/null +++ b/project/jni/application/lbreakout2/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<..... +.........j<... +...W.b2.{..b.. +.......+....5. +..2w<.....2..m +.>....lc.2p... +.....g...&.~.. +....?}.sW.>... +......+....... +>....b...2<... +...~.55..5!... +..f........... +.............. +.............. +.............. +.............. +Level: +warbird-at-aaahawk.com +Gentoo +Bricks: +......j....... +.....jjj...... +....jjjjj..... +...jjjjjjj.... +...jjjjjjj.... +..jjjjEjjjj... +..jjjEEEjjj... +..jjjjEjjjj... +...jjjjjjjj... +....jjjjjjj... +......jjjjj... +.....jjjjj.... +....jjjjj..... +....jjjj...... +...jjjj....... +..jjjj........ +..jjj......... +..jj.......... +Bonus: +......l....... +.....d........ +.....f........ +.............. +......3pm..... +.....5.5...... +..?.3...3.?... +.....5.5...... +......3....... +....b...&..... +......c...d... +.............. +.....!.j-..... +.............. +......{....... +.....+........ +.............. +...g.......... +Level: +warbird-at-aaahawk.com +Slackware1 +Bricks: +cc...cc....c.. +c.....c....c.c +cc.c.cc.cc.cc. +.c.c.cc.c..cc. +cc.c....c..c.c +...cc...cc.c.c +.............. +.c.c.c........ +.c.c.c........ +..c.c......... +..c.c.cc...... +EE.E.E.c...... +......cc.cc... +......cc.c..cc +.........c..cc +.........c..c. +............cc +.........E..EE +Bonus: +55...55....5.. +.............* +...l........&. +............?. ++.......c..... +...?.......... +.............. +.}.+.>........ +.............. +..p.+......... +.............. +.............. +......g{..?... +......-.....-. +.........-.... +.........f..!. +.............m +.............. +Level: +warbird-at-aaahawk.com +debian +Bricks: +.............. +......dd...... +.....dddd..... +....dd##dd.... +...dd###dd.... +...d#####dd... +..dd##d###d... +..dd#ddd##d... +..d##d#d##d... +..d##d###dd... +..d##dd##dd... +..dd##dddd.... +..dd###dd..... +...dd###...... +...ddd##...... +....ddd#...... +.....ddd...... +......dd...... +Bonus: +.............. +......11...... +.....1111..... +....11..12.... +...11...22.... +...1.....22... +..11..5...2... +..01.55l..2... +..0..5.l..2... +..0..d...32... +..0..44..33... +..00..m333.... +..00...33..... +...00......... +...000........ +....000....... +.....000...... +......0w...... +Level: +warbird-at-aaahawk.com +Mandrake1 +Bricks: +......aa...... +.....aaaa..... +....aaaaaa.... +...aajaajaa... +...ajEjjEja... +...ajjjjjja... +...aeeeeeea... +...aaeeeeaa... +....aeeeea.... +.....aeea..... +.....aaaa..... +....aaaaaa.... +....aajjaa.... +...aajjjjaa... +...ajjjjjja... +..aajjjjjjaa.. +..ajjjjjjjja.. +..ajjjjjjjja.. +Bonus: +.............. +......<....... +.........>.... +.....l..m.s... +....?.??.?.... +..........-... +...>445544p... +.........~.... +.............. +......j....... +.....Wb&+..... +....s......... +.....-........ +........w..... +......+...j... +.............. +....-..s.+b... +..fb.<.....c.. +Level: +warbird-at-aaahawk.com +Mandrake2 +Bricks: +........h..... +........h..... +.......hhh.... +.......hhh..@. +...b..hhhhh..@ +..bbhhhhhhhhh. +.bb..hhhhhhh.@ +.b.....hhh..@. +bb....hhhhh... +bb....hhhhh... +Eb...hhh.hhh.. +.b...hh...hh.. +.bb..h.bb..h.. +.Eb....bb..... +..bb..bb...... +..Ebbbb....... +....EE........ +.............. +Bonus: +........1..... +........1..... +.......5?5.... +.......555.... +...c..!...s... +....111111111. +.+...?.2.2d?.. +.......2s2.... +s.....12j21... +......12p21... +.....112.211.. +.....11...11.. +.f...1.+~..1.. +..-.....>..... +..d{..f-...... +...&>db....... +.............. +.............. +Level: +warbird-at-aaahawk.com +Caldera +Bricks: +......**.....@ +@....***g....@ +@...***ggg...@ +@..***ggggg..@ +@..**gggggg..@ +@.**gggggggg.@ +@.**gggggggg.@ +@***ggggggggg@ +@**gggggggggg@ +@**gggggggggg@ +@***ggggggggg@ +@.**gggggggg.@ +@.**gggggggg.@ +@..**gggggg..@ +@..***ggggg..@ +@...***ggg...@ +@....***g....@ +@.....**.....@ +Bonus: +......44...... +.....4..5..... +....4..d...... +...4..5j...... +...4.>...<.... +..4.5.?...+... +..4.c-..g..... +.4..5..~...... +.4.?>......?.. +.4.l>-.*.~.... +.4..W.+....... +..4.5.....d... +..4.>-..?..... +...4.5&....... +...4..f&...... +....4..5~..... +.....4..{..... +......44...... +Level: +warbird-at-aaahawk.com +Red Hat +Bricks: +.....aaaa..... +....aaaaaa.... +...aadddEaa... +..aadddddaaa.. +.aaadddddEaaa. +.aa##dddddaaa. +aad#ddddddaaaa +add####dddddaa +adddddddddddaa +aaajjddddddaaa +aaaajjjjjjaaaa +aaaajjjjjjaaaa +.aaaajjEjaaaa. +.ajjjjjjjajja. +.ajjjjjjjjjjj. +..jjjjjjjjjj.. +...jjjjjjjj... +.....jjjj..... +Bonus: +.............. +......f.3..... +....3......... +.....5...3.... +.w............ +...55....~.... +...5lm....d.5. +.?.5555?.....? +....s....W.... +b............w +..5........... +...>!..j...... +......f....... +.......>...... +...d......5.~. +......s....... +...b......b... +.....w..<..... +Level: +warbird-at-aaahawk.com +Slackware2 +Bricks: +......bbb..... +.....bbbbb.... +....bEEEEEb... +...bEEEEEEbb.. +...bEbbbbEbb.. +..bbEbbbbbbbb. +..bbEbbbbbbbb. +.bbbEEEEEbbbbb +.bbbbEEEEbbbbb +.bbbbbbbbEbbbb +.bbbbbbbbEbbbb +..bbbbbbbEbbb. +..b@EbbbbEbbb. +...@EEEEEbbb.. +...@zEEEEzbb.. +...@@@@@@@@... +.....bbbbb.... +......bbb..... +Bonus: +......ddd..... +.....?>l>?.... +.............. +...*.......*.. +.....55....... +.....55.f..... +.....5m....... +.............. +.{c.........c{ +.&.....}5....& +.+......5....+ +..g...f}5.f... +..+3....5...-. +...3.......... +...35....4.+.. +...33333333... +.....b>p>>2..... +Level: +warbird-at-aaahawk.com +Ximian +Bricks: +......xx...... +.....xhhx..... +....xhhhhx.... +...xhhhahhx... +..xhhahhahhx.. +.xhhahhhhahhx. +.xhahhaaaahhx. +xhhahaaaaaaahx +xhhhaaaaaaaahx +xhhhhahhahaahx +xhhhahahahhhhx +.xhahhahhahhx. +.xahhahhhhahx. +..xhahhhhhhx.. +...xhhhhhhx... +....xhhhhx.... +.....xhhx..... +......xx...... +Bonus: +......mw...... +.............. +.............. +......&4.+.... +.....g..4..b.. +.b..4.-!d4.... +...4..4444.... +...4.444445l.. +.-..44444455.. +.*.s.4.j4!55.. +{...4.4.4.-+.. +...4..4~.4.... +..4.pc....4... +....4....&.... +.............. +.....>........ +......w<...... +.............. +Level: +warbird-at-aaahawk.com +Use the Source +Bricks: +E.E##@@....ggg +E.E#.@.....g.. +E.E##@@....gg. +EEE.#@.....g.. +jjj##@@.##.ggg +j..EEE..#.hhh. +jjj.E@.@##h... +..j.E@@@#.h... +jjj.E@.@##h... +..fff@.@ddhhh. +..f.f...d.d... +..f.f...dd.... +..f.f...d.d... +..fffe.ed.d... +.....e.e...... +.....e.e...... +.....e.e...... +.....eee...... +Bonus: +...........555 +...........5.. +...........55. +...........5.. +555........555 +5.........555. +555.......5... +..5.......5... +555.......5... +..555...55555. +..5.5...5.5... +..5.5...55.... +..5.5...5.5... +..w555.55.w... +.....5.5...... +.....5.5...... +.....5.5...... +.....bwb...... +Level: +warbird-at-aaahawk.com +BSOD +Bricks: +vvggvvvggggg!* +vgvgvvvgggg!*! +vgvgvggggg!*!g +vvvgvvvgg!*!gg +vvggvvvg!*!ggg +vgvgggvg*!gggg +vgvgvvvggggggg +vvvgvvvggggggg +gggggggggggggg +gggggggggggggg +gggggggvvvgvvg +gggg!*gvgvgvgv +ggg!*!gvgvgvgv +gg!*!ggvgvgvgv +g!*!gggvgvgvgv +!*!ggggvgvgvgv +*!gggggvvvgvvg +gggggggggggggg +Bonus: +55<.555-...m.. +5?5+555....... +5?5.5Wc......j +55?w555....... +55p.555....... +5?5.??5f...... +5?5.555.g..+.. +555.555......} +...d..??..w-.. +.+....??...... +....jg.555!55< +.{.....5c5.5p5 +......>5?5.5?5 +w......5?5.5?5 +.......5?5.5?5 +....-..5?5+5?5 +......<555.55s +.............w +Level: +warbird-at-aaahawk.com +USA-fireworks +Bricks: +..!!!!!ddddd.. +..!!!!!ggggg.. +..!!!!!ddddd.. +..!!!!!ggggg.. +..!!!!!ddddd.. +..!!!!!ggggg.. +..dddddddddd.. +..gggggggggg.. +..dddddddddd.. +..gggggggggg.. +..dddddddddd.. +..gggggggggg.. +..dddddddddd.. +c..c.cccc..cc. +c..c.c....c..c +c..c.cccc.cccc +c..c....c.c..c +cccc.cccc.c..c +Bonus: +..j555j44444.. +..5555533333.. +..5555544444.. +..55j5533333.. +..5555544444.. +..j555j33333.. +..4444444444.. +..3333333333.. +..4444444444.. +..3333333333.. +..4444444444.. +..3333333333.. +..4444444444.. +*..*.*jj*..**. +w..w.w....w..w +>..>.>}}>.>bb> +j..j....}.j..j +wbbw.wbbw.w..w diff --git a/project/jni/application/lbreakout2/client/levels/OurWorld b/project/jni/application/lbreakout2/client/levels/OurWorld new file mode 100644 index 000000000..79e6e0de9 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/OurWorld @@ -0,0 +1,780 @@ +Version: 1.10 +Level: +Capoll +Big Bang +Bricks: +......**...... +.....****..... +....******.... +...********... +..**********.. +.************. +.************. +.************. +************** +************** +.************. +.************. +.************. +.v**********v. +...********... +....******.... +.....****..... +......**...... +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.{..........{. +.......{...... +.............. +.............. +.............. +Level: +Capoll +Live +Bricks: +..........hhee +..f........hhe +.fff.......hhh +fffff......hhh +.yyy........hh +yy@dy......... +yd@xy......... +.x@x.......... +xx@.x......... +f.@.x......... +..@........... +..@........... +..@....g..g..g +eeeeeegggggggg +eeeeeeggEggggg +eeeeeegggggEgg +......gggggggg +.............. +Bonus: +...........>{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/project/jni/application/lbreakout2/client/levels/P.I.T.A. b/project/jni/application/lbreakout2/client/levels/P.I.T.A. new file mode 100644 index 000000000..6db241aac --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Pabelo b/project/jni/application/lbreakout2/client/levels/Pabelo new file mode 100644 index 000000000..935f214e0 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Pabelo @@ -0,0 +1,412 @@ +Level: +PabelO +Bombs Of Norway +Bricks: +!!!!!!!!!!!i*E +!***jgj***!*E* +!***jgj***!i*E +!***jgj***!*E* +!***jgj***!i*E +!jjjjgjjjj!*E* +!ggggggggg!i*E +!ggggggggg!*E* +!jjjjgjjjj!i*E +!***jgj***!*E* +!***jgj***!i*E +!***jgj***!*E* +!***jgj***!i*E +!!!!!!!!!!!*E* +*i*i*i*i*i*i*E +i*i*i*i*i*i*E* +*i*i*i*i*i*i*E +.............. +Bonus: +???????????... +?5555*&????... +?5555*&????... +?5555*&????... +?5555*&????... +?5555*&&&&?... +?5555*****?... +?5555+mmmm?... +?5555+pppp?... +?5555+pppp?... +w5555+p+++w... +w5555bbbbbw... +wbbbbbbbbbw... +wlwlllllllw... +.............. +.............. +.............. +.............. +Level: +PabelO +Not That Easy +Bricks: +gggg......gggg +gggg......gggg +gggg......gggg +gggg......gggg +gggg......gggg +gggg......gggg +gggg......gggg +ggggvvvvvvgggg +ggggjjjjjjgggg +ggggjjjjjjgggg +ggggjjjjjjgggg +gggvjjjjjjvggg +ggvv......vvgg +vvvv......vvvv +....vvvvvv.... +.............. +.............. +.............. +Bonus: +&***......**** +&pp>......jjjj +&pp>.......... +&pp>......!!!! +&pp>.......... +&..>......pppp +&..>.......... +&ff>ffffff.... +&.!>......!!!! +&.!>.......... +&.!.......gggg +&.!mdddddd~ggg +&.mm......~~gg +wwww......bbbb +....444444.... +.............. +.............. +.............. +Level: +PabelO +Only 4 Fun +Bricks: +hhhhhhhhhhhhhh +jhhhhhhhhhhhhj +jjhhhhhhhhhhjj +jjjhhhhhhhhjjj +jjjjhhhhhhjjjj +jjjjjhhhhjjjjj +jjjjjjhhjjjjjj +jjjjjjddjjjjjj +jjjjjddddjjjjj +jjjjddddddjjjj +jjjddddddddjjj +jjddddddddddjj +jddddddddddddj +dddddddddddddd +.............. +.............. +.............. +.............. +Bonus: +.............. +5............5 +55..........m5 +555........m!! +gggg......jjjj +gggg?....?cccc +ppppp?..?&&ccc +??????..++++++ +bbbb?....?bbbb +bbbb......bbbb +www........www +ww..........ww +w............w +.............. +.............. +.............. +.............. +.............. +Level: +PabelO +The Bomb Level +Bricks: +fff*ffff*fffff +fff*ffff*fffff +fff*ffff*fffff +****ffff****** +@@@@@fff@@@@@@ +#####*f*###### +gggg#*f*#ggggg +gffg#fff#gfffg +g**g#fffEgf*fg +gffg#*f*#gf*fg +gffg#*f*#gf*fg +gffg#*f*#gfffg +gffg#*f*#gg*gg +.............. +.............. +.............. +.............. +.............. +Bonus: +???5....5????? +???5....5????? +???5mmmm5????? +~~~5....55~~~~ +.............. +.....fff...... +..&..fff..&&.. +b....fff..???. +b....fff..p... +b??..fff..p... +.??.......p... +.??.......pp.. +.??........... +.............. +.............. +.............. +.............. +.............. +Level: +PabelO + +Bricks: +ffffffffffffff +fg@g@g@g@g@g@f +fggggggggggggf +fgbbbbbbbbbbgf +fgb********bgf +fgb********bgf +fgb********bgf +fgb********bgf +fgbbbbbbbbbbgf +fg@@@@@@@@@@gf +fghhhhhhhhhhgf +fg!!!!!!!!!!gf +fgvvv!!!!vvvgf +fggggggggggggf +fg@gggggggg@gf +f@@@gggggg@@@f +ffffffffffffff +.............. +Bonus: +b.<<<<<<<<<..b +.b...........b +..bbbbbbbbbbb. +.............. +...55555555... +...55555555... +...55555555... +...55555555..~ +.+..........+~ +.+..........+~ +.+..........+~ +.+ddd<<<<...+~ +.+ddd<<<...222cgj +dp.w>...222cgj +dp~w>>d.222c.j +!p~w>>d.222cgj ++p~w>>d.222cgj ++p~w>>d.222cgj ++.~w>>d..22c.j ++.~.>>...22cgj ++.~......22cgj ++.~ffffff....j ++.~~~~~~~~~~.j ++.....ssssssss +wwbbbbwwwwwwww +Level: +PabelO +The Cool One +Bricks: +************** +*jjjj*dddd*ee* +*jjjj*dddd*ee* +*jjjj*dddd*ee* +*jjjj*dddd*ee* +*jjjj*dddd*ee* +************** +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +f#f#f#f#ff#ff# +f*f*f*f*f*f*f* +f*f*f*f*f*f*f* +.............. +.............. +Bonus: +.....d.....~.+ +mmmm..d<<<.~.+ +.w.<.<.d..<~.+ +..>>>>>>>bbbb +dddddddddddddd +dddddddddddddd +wwwwwwwwwwwwww +.............. +.............. +Level: +Pabelo +The Hard One +Bricks: +iiiiivvvviiiii +iiiiivvvviiiii +iiiiivvvviiiii +iiiiivvvviiiii +iiiiivvvviiiii +iiiiivvvviiiii +@@@@@vvvv@@@@@ +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +gggggggggggggg +gggggggggggggg +gggggggggggggg +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +Bonus: +d.dff....>>>>> +.?ffs....>WW.> +.?--s....>.W.> +.?-.s....>.WW> +d?.ds....>.ff> +.?fff....>ff.> +.............. +?ff....f.WWW.. +?...ss.WW-..d~ +?..pd.~..-sp.~ +?WWWW.~.d-s..~ +?.....~..-s..~ +?bd..d...-s..~ +?..d..b..-sp.~ +?.d.......s..? +?b...p..b.s..? +?..l.ld..ps.b? +?...d..d?ds??? + + diff --git a/project/jni/application/lbreakout2/client/levels/Patience b/project/jni/application/lbreakout2/client/levels/Patience new file mode 100644 index 000000000..6aa458212 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Pawset b/project/jni/application/lbreakout2/client/levels/Pawset new file mode 100644 index 000000000..5e68c4d57 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Pawset @@ -0,0 +1,493 @@ +Version: 0.40 +Level: +Paweusz +Don't be greedy +Bricks: +.............. +.............. +.EEEEEEEEEEEE. +.E**********E. +.E*EEEEEEEE*E. +.E*E******E*E. +.E*E*EEEE*E*E. +.E*E*E**E*E*E. +.E*E*E**E*E*E. +.E*E*EE*E*E*E. +.E*E****E*E*E. +.E*EEEEEE*E*E. +.E********E*E. +.EEEEEEEEEE*E. +************E. +EEEEEEEEEEEEE. +fff........... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......00...... +......55...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Paweusz +A Fortel +Bricks: +.............. +..hhhhhhhhhh.. +..hggggggggh.. +..hgffffffgh.. +..hgfjjjjfgh.. +..hgffffffgh.. +..hggggggggh.. +..hhhhhhhhhh.. +..bbbbbbbbbb.. +@@@@@@@@@@@@@@ +kk.@......@.kk +@@.@......@.@@ +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +......~....?.. +..........c?.. +...>.......?.. +.....m.....?.. +........m..?.. +...+.......?.. +..-......f.?.. +...........?.. +....llgll..... +m5..........5m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Paweusz +The Patience +Bricks: +......@....... +...@.........@ +....@.@.@.@@.* +.@...i...i.... +*...@.@.@.@... +.............. +....@.@.@.@... +@....i...i.... +....@.@.@.@.@. +.............. +..@........... +*....@..@.@.*@ +.@....@....... +...@.......... +............@. +.....@.@..@... +@............. +...@...@.@..@. +Bonus: +.............. +.............. +.............3 +.....2...m.... +b............. +.............. +.............. +.....0...1.... +.............. +.............. +.............. +w...........l. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Paweusz +Have a nice day :) +Bricks: +cafij.*..jifac +afij......jifa +fijjjjjjjj.jif +ijjjEE#EEjj.ji +jjjEjjjjjEjj.j +.jEjjjjjjjEj.. +hjEjj#j#jjEj.g +gjEjjjjjjjEj.h +hjEjjjjjjjEj.g +g*Ejjj#jjjEj*h +hjEjjjjjjjEj.g +gjEj#jjj#jEj.h +hjEj#jjj#jEj.g +gjEjj###jjEj.h +.jjEjjjjjEjj.. +..jjEE#EEjj... +..ffffffffff.. +hghghg.hghghgh +Bonus: +5..-..m......5 +...........3.. +4lw........... +..........~... +.>...!........ +.............. +.............. +?..........>.. +...Wf...f....1 +.m....5.....m. +s............s +.............. +.............. +.......?...... +.............. +.........-.... +..<........+.. +W............. +Level: +Paweusz +Can't see me ? +Bricks: +vE...........v +.............. +.............. +.............. +E.......v..... +........E..... +.............. +............E. +.E............ +....v......... +.............. +.............. +..........v... +v....E........ +.............. +.............. +.......E....E. +.......v...... +Bonus: +5............4 +.............. +.............. +.............. +........4..... +.............. +.............. +.............. +.............. +....4......... +.............. +.............. +..........4... +4............. +.............. +.............. +.............. +.......4...... +Level: +Paweusz +It's full of stars! +Bricks: +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +************** +......#....... +.............. +######.####### +.............. +.............. +Bonus: +55555555555555 +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +.............. +.............. +.............. +.............. +.............. +Level: +Paweusz +High durability +Bricks: +.............. +.!..@.@@.@..!. +...@......@... +@@..........@. +@............@ +@.zzzzzzzzzz.@ +@.zzzzzzzzzz.@ +@.zzzzzzzzzz.@ +@.zzzzjjzzzz.@ +@.zzzzjjzzzz.@ +@.zzzzjjzzzz.@ +@.zzzzzzzzzz.@ +@.zzzzzzzzzz.@ +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +ps...........p +.............. +............l. +.............. +..*........*.. +....>..w.f.... +.............. +....1.33...... +..f...&&..-... +......&&...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Paweusz +The Precision +Bricks: +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +#a#g#i#fEjEbEc +.............. +.............. +zzzzzzzzzzzzzz +jjjjjjjjjjjjjj +.............. +.............. +Bonus: +.............4 +.....l.....2.. +.0.......0...0 +...2...1...... +.............. +.?...1...m.>.. +.............. +.-............ +...?...2.1.+.. +.1............ +...........1.. +.....0...c...2 +.............. +.............. +...>......g..~ +c...+...?..... +.............. +.............. +Level: +Paweusz +Hidden Treasure +Bricks: +.............. +.............. +!.!.!.!.!.!.!. +.............. +#............# +##zzz....zzz## +###*z....z*### +####*z..z*#### +iiiii*zz*fffff +iiiii*zz*fffff +####*zvvz*#### +###*z.vv.z*### +##zzz.vv.zzz## +#.....vv.....# +......vv...... +......vv...... +......vv...... +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +..?.....?.s... +.?....?....... +.............. +.............. +..........?... +.............. +..?>...f<..?p. +m.w..........m +......g*...... +.............. +...W......~... +......-?...... +.............. +......?....... +.............. +....w..?...... +Level: +Paweusz +In the Net +Bricks: +.............. +.............. +.............. +jjjjjjjjjjjjj. +jjjEEEEEEEjjj. +jj@jjjjjjj@jj. +jEjjjjjjjjjEj. +jEjjjEE*jjjEj. +jEjjE**EjjjEj. +jEjjE**EjjjEj. +jEjjE**EjjjEj. +jEjjE**EjjjEj. +jEjjjEEjEjEjj. +jEjjjjjjj@jjj. +jj@jjjjjjjjjj. +jjjEEEEEjjjjj. +jjjjjjjjjjjjj. +.............. +Bonus: +.............. +.............. +.............. +???????????**. +..p.......!.s. +.............. +w..fc*...*.... +>............. +..<..55...p... +...c.55..c..~. +g.*..j5.&l.... +..c..00....... +.......c....*. +3..>.......... +.............. +.............. +<............. +.............. +Level: +Paweusz +Arrow marks the spot +Bricks: +############## +.............. +.............. +.............. +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +aaaaaaaaaaaaaa +.............. +.............. +zzzzzzzzzzxzzz +zzzzzzzzzzxxzz +zzzzzzxxxxxxxz +zzzzzzzzzzxxzz +zzzzzzzzzzxzzz +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +Bonus: +55555&555555l5 +.............. +.............. +.............. +.2..21&2.+.... +l..&.......2&. +?????????????? +.............. +.............. +.&..&......... +w.2....2..c... +.&...2.1j2...m +...&.......+.. +......&....... +.............. +.............. +..2........... +2...21..2..2.. +Level: +Paweusz +Last but not least +Bricks: +************** +************** +************** +************** +************** +************** +*aaa**a*a*aaa* +*a**a*a*a*a*** +*a**a*a*a*a*** +*aaa***a**aaa* +*a**a**a**a*** +*a**a**a**a*** +*a**a**a**a*** +*aaa***a**aaa* +************** +************** +************** +************** +Bonus: +.............. +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 +55555555555555 diff --git a/project/jni/application/lbreakout2/client/levels/Ph33r b/project/jni/application/lbreakout2/client/levels/Ph33r new file mode 100644 index 000000000..48576ce5e --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Ph33r @@ -0,0 +1,410 @@ +Level: +pope1 +ph33r +Bricks: +e...e...ee.... +..e.aa...eea.e +.eeeeeaaaeaae. +.ea.ee*ee.a.e. +aaeeee.aee.!ae +.e.ev###ae!..a +aa*!!.##.!..aa +aa...!*.!e*a*a +e.a.a*!e...a*e +e.a.*.!!.aea.e +.**a.!!aa.*.*. +....!!!!!a!.*. +...!.**.a..*.. +..!..**eeeeee. +.*...ee.a..... +...eeeaa...... +.e.e.......... +.............. +Bonus: +.............. +.............. +.w............ +............m. +..5p.......... +..b.>>>.>>mm.. +.+b.>.>...m... +..bbjjjj5j..5. +..p..mwg.j.... +..p.jp>>>..... +..wpwj.mm+mw.. +....gw...+pm.. +....m+.>www5.. +..b..+55m..... +.............. +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +.............. +.............. +.............. +.............. +...jjjjjjjj... +..jggggggggj.. +..jgccccccgj.. +..jgcggggcgj.. +..jgcg**gcgj.. +..jgcg**gcgj.. +..jgcg**gcgj.. +..jgcg**gcgj.. +..jgcc**ccgj.. +..jggg**gggj.. +..jjddddddjj.. +...j......j... +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +....555555.... +....5gggg5.... +....5g..g5.... +....5g..g5.... +....5g..g5.... +....5gggg5.... +....555555.... +.............. +....mmmmmm.... +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +.............. +....fffffff... +....ffaaaff... +....ffa*aff... +....ffa*aff... +....ffa*aff... +....f*****f... +....ffa*aff... +....ffa*aff... +....ffa*aff... +....ffaaaff... +....ffaaaff... +....ffaaaff... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.......5...... +......555..... +.......5...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +....cccccc.... +....!!!!!!.... +ccccc....ccccc +c*c*c....c*c*c +ccccc.**.ccccc +*ccc*.**.*ccc* +.............. +....######.... +....#....#.... +....#....#.... +....#.!..#.... +....#..!.#.... +....#....#.... +.............. +iiiiiiiiiiiiii +.............. +.............. +.............. +Bonus: +....jjjjjj.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......w....... +.......w...... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +.............. +.............. +......**...... +.....####..... +....#....#.... +ccc#.!..!.#... +c###.......#cc +c#....!!...##c +.#...!..!...#c +.#..!....!..#. +.#.!..cc..!.#. +.#!...cc...!#. +.#.!......!.#. +.#..!....!..#. +.#...!..!...#. +.#....!!....#. +..#........#v. +...........v.. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +............m. +.............. +.............. +.............. +......55...... +......55...... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +!!!!!a##a!!!!! +.!...####...!. +..!...##.....! +.!....##....!. +!.....##...!.. +jj**jj##jjj*jj +j*j*jj##jj*j*j +*jjj*j..j*jjj* +jjjjj*..*jjjjj +ccccc*..*ccccc +.....*..*..... +.....*..*..... +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.....5..5..... +.............. +.............. +.............. +.............. +>>..>>..>>>.>> +>.-.>>..>>.-.> +.->-.>..>.->-. +->>--....-->-- +dddddd..dddddd +.....d..d..... +.....d..d..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +!!!!!!!!!!!!h. +!!!!!!!!!!!h.# +!!!!!!!!!!h.#. +hhhhhhhhhh.#.. +*.......*h#... +*.......h#.... +h......h#..... +*h....h#...... +*.h..h#....... +*.*hh*.#...... +*.*hh*..#....# +*.h..h...#.... +*h....h...#.#. +h......h...#.. +........h..... +........*h.... +hhhhhhhhhh.... +.............. +Bonus: +5...5...5...m. +.5.5.5.5...... +..5...5....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +!c...ccccc..c! +cc...ccccc..cc +.....ccccc.... +.....c***c.... +************** +*....c***c...* +*....ccccc...* +*....ccccc...* +*....ccccc...* +hhhhhggggghhhh +hhhhg.....ghhh +hhhg.......ghh +hhg.........gh +hg...........g +g............g +g............g +g............g +g............g +Bonus: +5............5 +.............. +.....mmmmm.... +.....m...m.... +.............. +.....m...m.... +.....mmmmm.... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +pope1 +ph33r +Bricks: +*cccccccccccc* +c*bbbbbbbbbb*c +cb*aaaaaaaa*bc +cba********abc +cba*......*abc +cba**.....*abc +cba*.*...**abc +cba*.!!!!.*abc +cba*.!!!!.*abc +cba*.!!!!.*abc +cba*.!!!!.*abc +cba*.!!!!.*abc +cba*.*..*.*abc +cba**....**abc +cba*......*abc +cba*......*abc +cba*......*abc +cba*......*abc +Bonus: +?????????????? +3.....mm.....3 +3............3 +3............3 +3............3 +3............3 +3............3 +3............3 +5.....++.....5 +5....+ww+....5 +3.....++.....3 +3............3 +3............3 +3............3 +3............3 +3............3 +3............3 +3............3 +Level: +pope1 +ph33r +Bricks: +!ee*#jjjjj#ee! +eee*#jjjjj#eee +eee*#jjjjj#eee +eee*#jjjjc*eee +#eecjjjjjc*eee +.#ecjjjjjc#### +..#cjjjjj#.... +...jjjjj#..... +...jjjj#...... +...jjj#....... +...jj#........ +...j#......... +...#.......... +.............. +.............. +.............. +.............. +.............. +Bonus: +5....?????...5 +.....?????.... +.....?????.... +.............. +.............. +.............. +........j..... +.......j...... +......j....... +.....j........ +....j......... +...j.......... +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/PlayAgain b/project/jni/application/lbreakout2/client/levels/PlayAgain new file mode 100644 index 000000000..92084c656 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Popcorn b/project/jni/application/lbreakout2/client/levels/Popcorn new file mode 100644 index 000000000..d935f461a --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/R-World b/project/jni/application/lbreakout2/client/levels/R-World new file mode 100644 index 000000000..5b518e828 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/R-World @@ -0,0 +1,985 @@ +Level: +riffraff +Begin +Bricks: +h............h +h............h +h.#ffkkkkff#.h +h.#@@kjjk@@#.h +h....kjjk....h +h....kkkk....h +.............. +.............. +.............. +.............. +ccccv!v!v!cccc +bbbb!v!v!vbbbb +aaaaheddehaaaa +.............. +ffff........jj +!!!!ggggeeee!! +!!!!ddddiiii!! +xxxx........jj +Bonus: +p............3 +.............. +...g?...+??... +.............. +......m....... +......--{..... +.............. +.............. +.............. +.............. +*..w.........* +.............j +.............. +.............. +.............. +????........?? +.*..........*. +.............. +Level: +riffraff +blocks +Bricks: +!!..aavveecc.. +!!..aavveecc.. +!@..a##veecc@. +!!..aa###!cc.. +..ii.**..#.dd. +..ii.**hh.#dd. +ggii.#*hh.#dd. +ggii.#*hh.#dd. +gg...#.hh.kk.. +gg..#...iikk.. +ff##.ff#iikkbb +ffjj.ff.#ikkbb +ffjj.@fd#i..bb +ffjj.ffdd###bb +..jjxx.dd..gg. +....xx.dd..gg. +....xx.....gg. +....xx.....gg. +Bonus: +?*..?*..?*?*.. +.............. +.5.....m....5. +.............. +..?*.?*....?*. +.......?*..... +?*............ +.............. +..........?*.. +........?*.... +?*...?*.....?* +..?*.......... +.......?*..... +.............. +....?*.....?*. +.............. +.............. +.............. +Level: +riffraff +colors +Bricks: +.ddddddvvvvvvE +.ddddiigggggvE +.ddddiigggggvE +..vvvgggggggvE +E.hhhffffgggvE +E.hhhffffgggvE +E.hhhffffgggvE +E.hhhffffgggvE +E.hhhffffgggvE +E.hhhffffgggvE +E.hhhffffgggvE +E.hhhhhhhvvvvE +E.hhhhhhhvvvvv +E.hhhheeeddddv +E.hhhheeeddddv +E.vvvvdddddddv +EEEEEvdddddddv +EEEEEvdddddddv +Bonus: +.*....*.....g. +.....?.....*.. +.*.2..?....... +..........2... +..*.....?..... +.............. +...2.....f.... +......33...... +......33..2... +...c.......... +.....?.....*.. +.............. +.............. +....2.?.....*. +..*.....?..... +..........2... +.............. +......*.....*. +Level: +riffraff +girders +Bricks: +..j..j#..k..kk +bbbbbb#bbbbb#b +.i.......i.i#d +bbb#bbbbbbbb#. +ggg#....h..h#. +#bb#bb#bbbbb#. +#.e#.d#....f#d +#e.#..#.....#. +#..#d.#f....#. +#bb#bb#.....#. +#....f#bb#bb#d +#.....#gg#.e#. +#.f...#gg#bb#b +#bbbbb#bb#i..i +#h....h.h#.... +#hh..h..h#.... +#bbbbbbbb#bbbb +.............. +Bonus: +..?..!...?...! +W....W.W...W.W +.?.......?.!.! +W.W.Wm.....W.. +gg?.....?..!.. +.WW.WW.W...W.. +..!..!.....!m{ +.?.m.......... +....?..?...... +.WW.WW........ +.....!mWW.WW.? +m......g?..?.. +..?....gg.WW.W +.W...W.WWm?..! +.3....?.3..... +.3?..3..3..... +.W......W.W..W +.............. +Level: +riffraff +girders 2 +Bricks: +.............. +.............. +.............. +....cccccccca. +....ak.....ka. +....a.......a. +....a.......a. +....ak.....ka. +.ccccccccccaa. +.ak.kak..kaka. +.a...a....a.a. +.a...a....a.a. +.ak.kak..kaka. +.aaaacccccccc. +.ak.ka........ +.ak.ka........ +.ccccc........ +.............. +Bonus: +.............. +.............. +.............. +....d......... +.....?........ +.............. +.............. +.....j........ +....44....4.~. +...........w.. +.............. +.............. +.........-.... +.<...4........ +..>........... +.............. +.............. +.............. +Level: +riffraff +bullseye +Bricks: +###........### +##..........## +#............# +.............. +...dddddddd... +..ddvvvvvvdd.. +..dvvddddvvd.. +..dvddvvddvd.. +..dvdv!!vdvd.. +..dvdv!!vdvd.. +..dvddvvddvd.. +..dvvddddvvd.. +..ddvvvvvvdd.. +...dddddddd... +.............. +.............. +.............. +.............. +Bonus: +5............5 +.............. +.............. +.............. +...p...?...... +..........?... +.....?........ +.............. +...j..44...?.. +..?...44...... +........&g.... +...W.......... +..1........1.. +...f..->...... +.............. +.............. +.............. +.............. +Level: +riffraff +lines +Bricks: +.............. +.............. +.v.......v.... +.h.......hv.v. +.a.......a..h. +.#.......#..a. +.#...v...#..#. +...v.h......#. +...h.a........ +...a.#...v.... +...#.#...h.... +...#.....a.... +.v.......#..v. +.h.......#..h. +.a..........a. +.#..........#. +.#..........#. +.............. +Bonus: +.............. +.............. +.?.......?.... +.3.......3m.?. +............3. +.............. +.....?........ +...?.3........ +...3.......... +.........?.... +.........3.... +.............. +.?..........?. +.3..........3. +.............. +.............. +.............. +.............. +Level: +riffraff +separate +Bricks: +hhh#.....d.... +hhh#e.fhk.j.!i +hhh#.!j..zfgd. +hhh#k..eg*...k +hhh#fhz.j.k!.g +hhh#..*i!...i. +hhh#.id..eh.zf +hhz.z.kgd..j*. +###.########## +....ee#ffff#ii +.f..ie#eeee#ei +fff#ie#eeee#ei +fff#ie#eeee#ei +f.f#ie#eeee#ei +f.f#ieeeeeeeei +fff#iiiiiiiiii +...########### +.............. +Bonus: +222........... +222....2...... +222........... +2*2.....?..... +222..2.......? +222........... +222.......2... +22..m......... +.............. +.....w.......l +.*......&m.... +.............. +....g.......~. +.............. +..+....g.+?... +....m......... +.............. +.............. +Level: +riffraff +remote +Bricks: +##..........## +#....zzzz....# +kkk..z**z..kkk +kkk.EzzzzE.kkk +h...Ez**zE...h +h..!EzzzzE!..h +h.!!Ez**zE!!.h +h.EEEzzzzEEE.h +iiii......iiii +iiii......iiii +ffff......ffff +ffff..@@..ffff +.###vv@@vv###. +jj*ggg..ggg*jj +jjjgg#..#ggjjj +jjzg#....#gzjj +j*##......##*j +#*..........*# +Bonus: +5............5 +.............. +?............? +.&W........W.. +2............2 +2............2 +2..*......*..2 +2............2 +...*......*.{. +.!............ +.............. +..{...??....c. +......??...... +.....m..m..... +..<.......>... +.............. +f............f +.............. +Level: +riffraff +spiral +Bricks: +vvvvvvvvvvvvvv +.............. +.#g##@##@####. +.#k#hfeddigj#. +.#d#d###@##d#. +.#f#g#gcjf#h#. +.#e#i@e##k#f#. +.#j#e#f*#h#g@. +.@c#f#*f#c#e#. +.#i#c#z*#e#i#. +.#h@i#*f#i#c@. +.#e#g#f*#d@k#. +.#f#d#@##g#d#. +.#g#hedghe#j#. +.@d###@####e#. +.#afcaaaecaf#. +.#######@##@@. +.............. +Bonus: +.............. +.............. +...m.......... +..........4... +............m. +........?..... +..m...4....... +....s......... +..b........*.. +..g..m...*.... +.......?...... +....4.5.m..4.. +.m..?.....m... +....+....f.b.. +.............. +..?.*jw...-... +............m. +.............. +Level: +riffraff +groups +Bricks: +kkkkkkkjjjjjjj +kkk*kkkj*jjjjj +kkkk*kkj*j#jjj +k*k#**kj#jj*jj +#k**kkkjjjj*jj +iiiiiiih*h**hh +i*i**iih*hh**# +iii*#i*h*hhhhh +iiiiii*hhhhhhh +#g##g*gf##f### +g****ggf**f**f +gggg**gff*f**f +ggggg**ffff**f +d#*ddddeeee**e +dd*d#ddee#eee* +dd*dd*d**eeeee +ddd****e***eee +.............. +Bonus: +!....{....5... +..>.........4. +5..4..fs.....j +........*.3... +..g.p..c.....< +.m..d.-..W+... +.....0.1b.~... +........2?}... +...lj..&.....! +.............. +..*.+.p...{.w. +&............. +..w1.W..>.g... +d.......c..... +.g.?s2}f.m<... +0....b3..-...~ +............l. +.............. +Level: +riffraff +platforms +Bricks: +.............. +.............. +........a..... +.......hhh.... +.......h*h.... +..g....###.... +.fff.......... +.f*f.......... +.###.......... +............k. +.....e.....jjj +....ddd....j*j +....d*d....### +....###....... +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +........4..... +.............. +.............. +..3........... +.............. +.............. +.............. +............2. +.....5........ +.............. +.............. +.............. +.............. +.............. +Level: +riffraff +drip drip +Bricks: +.#.......###.. +c#b.......#... +c#b......ccccc +c#bdd...cccccc +c#bddd..cccccc +.#..dd..cc.... +.....d.####... +....dd..hh.... +....d...hh.... +....d...hh.... +.....d...h.... +.....d...h.... +....dd..h..... +....d...h..... +.....d..hh.... +....d....h.... +.............. +.............. +Bonus: +.............. +.............. +.............. +c........3...l +..&..*........ +........??.... +.............. +.........g.... +....3......... +.............. +.............. +.....>........ +.............. +.............. +.............. +.............. +.............. +.............. +Level: +riffraff +flow +Bricks: +..gg.......... +..gg.......... +ggggggggg..hhh +g##ggg##g..vvv +g.#####.g..... +g.......g..... +g.......g..... +g.....gggggg.. +g.....g####g.. +g.....g....g.. +g.....g....g.. +ggggggggg..g.. +gg######g..g.. +gg......g..g.. +gg....gggggggg +gg....g######g +gg....g......g +gg....g......g +Bonus: +.............. +.............. +...........333 +...333........ +.............. +.............. +.............. +........?..... +.............. +.............. +.............. +b..*..?....... +.............. +.............. +........?..?.. +.............. +.............. +.............. +Level: +riffraff +clock +Bricks: +.............. +.....cccc..... +....chhhhc.... +...chhhahhc... +..chhhhahhhc.. +.chhhhhahhhhc. +.chhhhhahhhhc. +.chhhhhahhhhc. +.chhhhhahhhhc. +.chhhhhahhhhc. +.chhhhahhhhhc. +.chhhahhhhhhc. +..chhhhhhhhc.. +...chhhhhhc... +....chhhhc.... +.....cccc..... +.............. +.............. +Bonus: +.............. +.............. +......gW...... +......j-c..... +...mf0...1.... +...d..b}..{l.. +.~+.!<&..42... +....W.sw..*... +....3.>.?..5.. +.bj?.......... +..&.f...!g<... +..-w..d*..3l.. +...0}m.2c..... +........{4s... +....~1+....... +........>..... +.............. +.............. +Level: +riffraff +diagonal +Bricks: +eeddxx##****** +!!eeddx*##**** +kk!!eeddxx##** +jjkk!!eeddxx## +iijjkk!!eeddxx +hhiijjkk!!eedd +gghhiijjkk!!ee +ffgghhiijjkk!! +##ffgghhiijjkk +vv##ffgghhiijj +aavv##ffgghhii +bbaavv##ffgghh +ccbbaavv##ffgg +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +*?............ +..*?.......... +....*?........ +......*?...... +........*?.... +..........*?.. +00..........*? +..00.......... +....m0........ +......m0...... +........00.... +..........00.. +.............. +.............. +.............. +.............. +.............. +Level: +riffraff +xxx +Bricks: +.............. +z*..!z*....... +!#..#!#...*z!. +#!..!#!...#!#. +..........!#!. +.............. +.......!z*.... +.!z*...#!#.... +.#!#...!#!.... +.!#!.......!z* +....*z!....#!# +....#!#....!#! +....!#!....... +........!z*... +*z!.....#!#... +#!#.....!#!... +!#!........... +.............. +Bonus: +....*......... +W...?W......&. +1W..W2W....W?. +W?..?W?...W4W. +..........?W?. +.......p...... +.w.....?W..... +.?W....W3W.... +.W0W...?W?.*.. +.?W?*.*......<..<...>. +.............. +..dddddddddd.. +.............. +.............. +...3......3... +.............. +W............W +W............W +W............W +.cws-g&&g-swc. +.............. +.............. +Level: +riffraff +green +Bricks: +.!!!!....!!!!. +.!!!!....!!!!. +.!!!!....!!!!. +.!!!!....!!!!. +.#!!#....#!!#. +.#ff#.dd.#ff#. +.#ff#.dd.#ff#. +.#ff#....#ff#. +.#ff#....#ff#. +.#ff#....#ff#. +.#zzzzzzzzzz#. +.#yyyyyyyyyy#. +.###cxhhxc###. +....cxhhxc.... +....cxxxxc.... +....c####c.... +.............. +.............. +Bonus: +w....*..*....w +w............w +w............w +w....*..*....w +.............. +......**...... +......**...... +.............. +...5......5... +.............. +.............. +....b....b.... +......44...... +......44...... +.............. +.............. +.............. +.............. +Level: +riffraff +square +Bricks: +.............. +.............. +zzzzzzzzzzzzzz +zkkkkkkkkkkkkz +zkjjjjjjjjjjkz +zkjiiiiiiiijkz +zkjiggggggijkz +zkjigffffgijkz +zkjigfhhfgijkz +zkjigfhhfgijkz +z************z +zkjiggggggijkz +zkjiiiiiiiijkz +zkjjjjjjjjjjkz +zkkkkkkkkkkkkz +zzzzzzzzzzzzzz +.............. +.............. +Bonus: +.............. +.............. +.............. +.0..........0. +..1........1.. +...2......2... +*...3.**.3.... +.....4??4..... +.....?55?..... +.&&&&?55?&&&&. +>>>>?4dd4?>>>> +....3....3.... +...2......2... +..1........1.. +.0..........0. +w.wbwbwbwbw.w. +.............. +.............. +Level: +riffraff +foo +Bricks: +kk...v....v.kk +kk#....v...#kk +kk#i##..##i#kk +dd##hggggh##dd +..v@ghgghg@v.. +..v@gghhgg@v.. +..v@gghhgg@v.. +..v@ghgghg@v.. +dd##hggggh##dd +...vvv##vv..v. +vv...c..c....v +..v.#..v.#.v.. +v..#......#... +..#..v..v..#v. +.#...v......#. +....v...cvc... +v.vc...v.....v +.............. +Bonus: +.............. +.............. +...m......m... +.....????..... +..m.?....?.m.. +....?.33.?.... +....?.33.?.... +....?....?.... +bb...????...bb +.............. +.............. +.......w...... +.............. +.....w..w..... +.....w........ +....w....ww... +w.w....w.....w +.............. +Level: +riffraff +stairs +Bricks: +!#..........#! +#*....h.....*# +..h...#h...... +..#h...#h..... +...#h...#h.... +....#h...#h... +.....#....#... +............h. +...........h#. +......h...h#.. +.....h#..h#... +....h#..h#.... +...h#..h#..... +..h#...#...... +..#........... +.............. +.............. +.............. +Bonus: +*............m +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +riffraff +green 2 +Bricks: +.............. +.............. +.............. +.............. +.fzf......fzf. +.fzf......fzf. +.fzf......fzf. +.fzf......fzf. +.fzf......fzf. +.fzf......fzf. +.fzf......fzf. +.fzf......fzf. +.............. +.............. +....ffffff.... +....xxxxxx.... +....ffffff.... +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....******.... +.............. +.............. + diff --git a/project/jni/application/lbreakout2/client/levels/RichQuick b/project/jni/application/lbreakout2/client/levels/RichQuick new file mode 100644 index 000000000..77374e8ff --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Runes b/project/jni/application/lbreakout2/client/levels/Runes new file mode 100644 index 000000000..7cf21e0bc --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Runes @@ -0,0 +1,984 @@ +Level: +armenius +fehu +Bricks: +.............. +.............. +..dddddeffff.. +..eee#ef#ddd.. +..efd#f#eeee.. +..efd#aeffff.. +..efd#efdddd.. +..efd#fd#eee.. +..efd#d#gggg.. +..efd##giiii.. +..efd#gihehi.. +..efd#gihehi.. +..efd#gihehi.. +..efd#gihehi.. +..efddgihehi.. +..efffgihehi.. +.............. +.............. +Bonus: +.............. +.............. +....+......... +..........-... +...-..5....... +.......+...... +......0>s..... +...1..5....... +......l....... +.........0.... +..s........... +.............. +......f..-.... +.............. +...-......+... +.............. +.............. +.............. +Level: +armenius +uruz +Bricks: +.............. +.............. +...ffffffff... +...e#gghhhd... +..fe##ghhhdg.. +..fe##gghhdg.. +..fe#i#ghhdg.. +..fe#i#gghdg.. +..fe#ii#ghdg.. +d.fe#if#ggdg.h +cdfe#ifi#gdghc +.cfe#iff#gdgc. +..fe#iffi#dg.. +...e#ifff#d... +...hhhhhhhh... +.............. +.............. +.............. +Bonus: +.............. +.............. +....+......... +.............. +.............. +.......f..5... +.....2........ +.............. +...s..5....<.. +.....-..0..... +>............. +.........-.... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +armenius +thurisaz +Bricks: +.............. +.....ei....... +....f#gi...... +...hf#gfi..... +..chf##ffi.... +..chf##effi... +..chd#f#eff... +..chdaff#ef... +..chdaeee#e... +..chdagg#ed... +..chd#g#edd... +..chf##eddi... +..chf##ddi.... +...hf#gdi..... +....f#gi...... +.....ei....... +.............. +.............. +Bonus: +.............. +.............. +.............. +......-....... +.............. +.......1...... +......l....... +......-....... +..0.....3.<... +......f....... +....5......... +.........b.... +.............. +......f....... +.............. +.............. +.............. +.............. +Level: +armenius +ansuz +Bricks: +.............. +.............. +.............. +....d#gggd.... +....d#gggd.... +..c.d##ggd.c.. +..e.d#g#gd.h.. +..c.d#gc#d.c.. +....d#gcfd.... +....d##cfd.... +....d#h#fd.... +....d#hh#d.... +.ehhh#hhhhhhe. +.eeii#iiiiiee. +.eeee#eeeeeee. +.cccccccccccc. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +........5..... +..5........0.. +..+...+..-.f.. +.............. +......2....... +.............. +.............. +.............. +....-......... +.........5.... +.............. +.....-.....b.. +.............. +.............. +Level: +armenius +raidho +Bricks: +.............. +.............. +..fff#afffff.. +..ccc#c#cccc.. +..ddd#dd#ddd.. +..eee#eee#ee.. +..ggg#ggg#gg.. +..hhh#hh#hhh.. +..iii#i#iiii.. +..fff##fffff.. +..ccc#c#cccc.. +..ddd#d#dddd.. +..eee#ee#eee.. +..ggg#gg#ggg.. +..hhh#hhh#hh.. +..iii#iii#ii.. +.............. +.............. +Bonus: +.............. +.............. +.......+...... +...........0.. +...-.......... +......b.p..... +........l.f... +.............. +....>.4....... +.......+...b.. +...s..1....... +.........-.... +.............. +...f.......... +.............. +.............. +.............. +.............. +Level: +armenius +kaunaz +Bricks: +.............. +.............. +cccccccccccccc +fdeihgfc#eihgf +fdeihgfc#eihgf +fdeihgf#deihgf +fdeihgf#deihgf +fdeihg#cdeihgf +fdeihg#cdeihgf +fdeih#fcdeihgf +fdeih#fcdeihgf +fdeihg#cdeihgf +fdeihg#cdeihgf +fdeihgf#deihgf +fdeihgf#deihgf +fdeihgfc#eihgf +fdeihgfc#eihgf +cccccccccccccc +Bonus: +.............. +.............. +.0.......w.... +.............. +.......1.....+ +.-............ +.............. +.............. +b....f........ +......2.-..... +......+.....f. +.............. +.............. +.............. +.............. ++......-....0. +.......p...... +...w.....s.... +Level: +armenius +gebo +Bricks: +.............. +.............. +..ddddddddd... +.fd#ggggg#df.. +.fd#ggggg#dfc. +.fdg#bcb#gdfd. +.fdg#bcb#gdfc. +.fdgb#e#bgdfg. +.fdgb#e#bgdfc. +.fdgce#ecgdfe. +.fdgce#ecgdfe. +.fdgb#e#bgdfc. +.fdgb#e#bgdfg. +.fdg#bcb#gdfc. +.fdg#bcb#gdfd. +.fd#ggggg#dfc. +.fd#ggggg#df.. +..ddddddddd... +Bonus: +.............. +.............. +......-....... +.+.........+.. +......f....... +..-.........>. +.......5...... +.p............ +...<..2.5.-... +.......2...... +.b...2.....b.. +......2....... +....5......... +.+....l5...+.. +..>........... +..........>... +..-...f....... +.......-...... +Level: +armenius +wunjo +Bricks: +f............f +c............c +..ee......ii.. +..ee.#....ii.. +..ee.##...ii.. +.ccc.#g#..ccc. +.....#gga..... +.....#gg#..... +.....ag#...... +.....##....... +..efe#hheife.. +..efi#heigfe.. +.cdfg#eighfdc. +.cdfh#ighffdc. +..cdd#dddddc.. +...cccccccc... +.............. +.............. +Bonus: +5............5 +.............. +...-......s... +.............. +..b........b.. +..5...f....5.. +.......+...... +......3....... +......l....... +.............. +......>....... +.............. +.............. +...+...f..+... +...-......-... +....5......... +.............. +.............. +Level: +armenius +hagalaz +Bricks: +.............. +.............. +cchd#cccc#ficc +..dh#bbbb#if.. +..hd#aaaa#fi.. +..dh#eeee#if.. +..hd##ggg#fi.. +..dh#f#dd#if.. +cchd#dd#f#ficc +..dh#ggg##if.. +..hd#eeee#fi.. +..dh#aaaa#if.. +..hd#bbbb#fi.. +..dh#cccc#if.. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +<..>..-.s.5.>. +.............. +...+.......... +.............. +.......b...b.. +.....1........ +f.......2....- +..5.......<... +......5....... +.............. +......-...+... +.......>...... +.............. +.............. +.............. +.............. +Level: +armenius +naudhiz +Bricks: +.............. +ffggiiiiiiieeg +aaggbb#bbaaeeg +ffccdd#bbddcce +geehbb#bbhhffd +geehbb#bbhhffd +hccg#b#eeccggd +effab##bbddaad +effabb##bddaad +eddabb#b#aaiid +eddabb#bbaaiid +fcceeb#bbffcch +aggffb#bbeeffe +aggffb#bbeeffe +addcch#ggccdde +.............. +.............. +.............. +Bonus: +.............. +..f...p......s +.......5.>.... +.+...-.....l5. +.............. +.......-...... +.....1...g.... +............-. +s....l..1..... +...>...0...... +.............. +.5............ +....+......+.. +.............. +.-.....f.>.... +.............. +.............. +.............. +Level: +armenius +jera +Bricks: +.............. +.............. +eeeeeee#cccccc +gggggg#ddddddd +ddddd#gggggggg +ffff#eeeeeeeee +iiii#ggggggggg +hhhh#cc#dddddd +iiii#deg#fffff +fffff#fhi#iiii +dddddd#cc#hhhh +ggggggggg#iiii +eeeeeeeee#ffff +gggggggg#ddddd +ddddddd#gggggg +cccccc#eeeeeee +.............. +.............. +Bonus: +.............. +.............. +..........-..0 +.............. +..>........... ++............. +.....<........ +.....-........ +.......l.....b +..b...2....... +........0..w.. +.............. +.....s......+. +..........>... +........<..... +...-.......... +.............. +.............. +Level: +armenius +isa +Bricks: +.....dccd..... +......cc...... +chifd#eghifdcc +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +.ghifd#eghifd. +ccghifd#eghifc +.............. +.............. +.............. +Bonus: +......+5-..... +.............. +5..>..2......5 +....+f........ +...........b.. +.-............ +.........1..-. +.............. +.......+...... +..0......s.... +............>. +.<............ +.....-........ +........f..+.. +...b..>....... +.............. +.............. +.............. +Level: +armenius +eihwaz +Bricks: +.............. +.............. +.cefii#iigeca. +.fcfi##digcgb. +.cff#h#hdggca. +.dcfhi#fhgcdb. +.cffie#dfgfca. +.gcfei#fdgcgb. +.cifie#dfgica. +.dcfei#fdgcdb. +.cefie#dfgeca. +.icfei#fdgcib. +.cfffe#dggfca. +.gcfdf#g#gcgb. +.cdfhd##hgdca. +.ecfhh#hhgceb. +.abababababab. +.............. +Bonus: +.............. +.............. +.....>........ +...f.....-.... +.....2......-. +..+......<.... +.......+...... +.....-........ +..><....s.b.5. +.-............ +.........f..>. +.....5........ +...s.......... +.......l..+... +..b.....>...-. +.............. +...f...-...... +.............. +Level: +armenius +perthro +Bricks: +.............. +.............. +.hhh##ccc#hhh. +.i..#d#g#...i. +.i..#di#....i. +.i.d#diecd..i. +.i..#diec...i. +.gg.#ciec..gg. +.cch#cieahhcc. +.ee.#ciec..ee. +.i..#fiec...i. +.i.d#fiecd..i. +.i..#fi#....i. +.ddd#f#g#.ddd. +.ccc##ccc#ccc. +.ffffffffffff. +.............. +.d..d....d..d. +Bonus: +.............. +.............. +.5.....5....5. +.....3.>...... +.............. +.....<........ +......s.5..... +............s. +.<.b.....b.... +.....j-....... +........<..... +.............. +.............. +.....l.f...... +..5....5...5.. +....>....>.... +.............. +.-..+....+..-. +Level: +armenius +elhaz +Bricks: +.............. +.............. +.............. +.bb#bb#bb#bbb. +.cc#cc#cc#ccc. +.gg#gg#gg#ggg. +.ddd#d#d#dddd. +.eee#e#e#eeee. +.iiii###iiiii. +.ccccc#cccccc. +.hhhhh#hhhhhh. +.fffff#ffffff. +.ggggg#gggggg. +.ccccc#cccccc. +.ddddd#dddddd. +.eeeee#eeeeee. +.ccccc#cccccc. +.bbbbbbbbbbbb. +Bonus: +.............. +.............. +.............. +.....-.f...... +..+........+.. +....<...p..... +.....>.>...... +.....2.2...... +..b........b.. +.......l...... +.............. +..+.s....s.+.. +.......<...... +.............. +...>.....>.... +.............. +.............. +..-.<.f.b..-.. +Level: +armenius +sowilo +Bricks: +.............. +.............. +.............. +.icicici#icic. +.cdcdcd#dcdcd. +.ecece#ececec. +.cfcf#fcfcfcf. +.gcgc#cgcgcgc. +.chch#hchchch. +.icici#icicic. +.cdcdcd#dcdcd. +.ececece#ecec. +.cfcfcfc#cfcf. +.gcgcgcg#gcgc. +.chchch#hchch. +.icici#icicic. +.cdcd#dcdcdcd. +.............. +Bonus: +.............. +.............. +.............. +.............. +....>...>.-.5. +.............. +..1...+....... +.f.....b.f.<.. +......0....... +.....5...b.... +..-...-....... +.......0.5.1.. +....+.....+... +...<...f...... +.b............ +...5.......... +..........-.>. +.............. +Level: +armenius +tiwaz +Bricks: +.............. +.............. +.cccgf#gfcccc. +.cfgf###gfgfc. +.cgf#d#d#gfgc. +.cf#di#id#cfc. +.cg#id#di#cgc. +.cfcdi#idccfc. +.cgcid#cccfgc. +.cfcdi#fgfgfc. +.cgcic#gfgfcc. +.cfcce#fcccec. +.cgfge#gfgfec. +.cfgfe#fgfgec. +.cccce#ccccec. +.............. +.............. +.............. +Bonus: +.............. +.............. +....f>.p..-... +.............. +.-.b.>.3.l.w.. +.............. +.....<........ +........>..... +.......b...... +...-.1....f.-. +.............. +.s.........>.. +..>........... +...f........b. +...-....<..... +.............. +.............. +.............. +Level: +armenius +berkano +Bricks: +.............. +.............. +.cccc#ccccccc. +..b.b##b.b.b.. +.hhhh#e#hhhhh. +.b.b.#de#.b.b. +.dddd#ed#dddd. +..b.b#d#.b.b.. +.ffff#affffff. +.b.b.#d#b.b.b. +.iiii#ed#iiii. +..b.b#de#b.b.. +.eeee#e#eeeee. +.b.b.##.b.b.b. +.gggg#ggggggg. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.........s.f.. +...>..4....>.. +............s. +......b...b... +....<......... +..+...w.+..+.. +.............. +.b.....l....>. +....w....w.... +......4....... +...s.......... +...>...f...<.. +.............. +.............. +.............. +Level: +armenius +ehwaz +Bricks: +dc..........cd +dc..........cd +cc..#cccc#..cc +....##ee##.... +....#d##d#.... +....#c##c#.... +....#hhhh#.... +....#cccc#.... +....#iiii#.... +cc..#cccc#..cc +ec..#ffff#..ce +ec..#cccc#..ce +cc..#gggg#..cc +....#cccc#.... +.............. +.............. +.............. +.............. +Bonus: +.............> +-...........+5 +......<....... +......+l...... +.....2..>..... +.............. +......5.f..... +.............. +........-..... +.b............ +>....>......-. +.............< +.-....+....... +........5..... +.............. +.............. +.............. +.............. +Level: +armenius +mannaz +Bricks: +.............. +.............. +.............. +..e#f.f.f#d.d. +.ec##fcf##.dc. +..e#h#f#h#d.d. +.e.#.h#h.#.d.. +..e#h.a.h#d.d. +.ebach#hcabd.. +..eah#g#had.d. +.ec##gcg##cd.. +..e#g.g.g#d.d. +.e.#.g.g.#.d.. +..e#g.g.g#d.d. +.ec#bgcgb#cd.. +..e#g.g.g#d.d. +.............. +.............. +Bonus: +.............. +.............. +.............. +..5.+...>..... +......f....b.. +..>.l.-.4..... +.....>........ +............+. +.-.b...b...... +..+...w.....5. +..........5>.. +........+..... +.....<........ +..5........... +.......b...-.. +....-......... +.............. +.............. +Level: +armenius +laguz +Bricks: +.............. +.............. +.c.eg#fhdie.c. +...eg##fdie... +.c.eg##fdie.c. +...eg#g#fie... +.c.eg#g#fie.c. +...eg#fg#ie... +.c.eg#fg#ie.c. +...eg#fhgie... +.c.eg#fhgie.c. +...eg#fhdie... +.c.eg#fhdie.c. +...eg#fhdie... +.cccc#ccccccc. +.............. +.cccccccccccc. +.............. +Bonus: +.............. +.............. +.>..-...f..... +.............. +.........<..-. +...b..2....... +.-....+.1..... +.............. +....s..b..p.>. +.............. +.........b.... +...+..<....... +.f.....>..+... +.............. +..-.....f..-.. +.............. +...<.-....>... +.............. +Level: +armenius +ingwaz +Bricks: +.............. +.............. +..c.c.##c.c.c. +.cgcfcaahcdce. +.e.d.#g.#f.g.. +..g.f#.g#.d.e. +.e.d.#g.#f.g.. +..g.#.cc.#d.e. +.e.d#ecce#.g.. +..g.#.cc.#d.e. +.e.d.#g.#f.g.. +..g.f#.g#.d.e. +.e.d.#g.#f.g.. +..g.f.aah.d.e. +.e.d.h##.f.g.. +.cgcfc.chcdce. +..c.c.c.c.c.c. +.............. +Bonus: +.............. +.............. +.............. +..f.+.s...-... +...-.....+.f.. +.......0...... +......<..b.... +.............. +...>..2l...... +.............. +......<....... +....b..0..>... +.............. +.......s...... +...-.....+.f.. +..f.+.....-... +.............. +.............. +Level: +armenius +dagaz +Bricks: +...c.....c.... +f..c.e.e.c...h +.f.c.e.e.c..h. +f.f#e.e.e#.h.h +.f.#e.e.e#h.h. +f.f##e.e##.h.h +.f.##e.e##h.h. +f.f#h#e#f#.h.h +.f.#iaeai#h.h. +f.f#hiaif#.h.h +.f.#ih#fi#h.h. +f.f#h#d#f#.h.h +.f.#i#d#i#h.h. +f.f##dgd##.h.h +.f.##dgd##h.h. +f.f#dgdgd#.h.h +ccc#dgdgd#cccc +.............. +Bonus: +.........>.... +-..5.<........ +.............. +......+....<.+ +.b..>......... +.............. +.+............ +......5.b....> +.>..-.b....... +5.....l....+.. +.......+...... +..<...-......5 +....4...2.b... ++............. +......5....... +.....<.<.....- +b...>...-..>.. +.............. +Level: +armenius +odhala +Bricks: +.............. +.............. +cccccc#ccccccc +eeeeeeaeeeeeee +ccccc#b#cccccc +fffffabaffffff +dddd#bbb#ddddd +iiii#bbb#iiiii +ggggg#b#gggggg +ababa#b#ababab +bababa#abababa +gggggg#ggggggg +iiiii#i#iiiiii +ddddd#d#dddddd +ffff#fff#fffff +ccc##ccc##cccc +eeeeeeeeeeeeee +cccccccccccccc +Bonus: +.............. +.............. +b......s..f.5. +...>.......... +..5...b..+..>. +.+......p..... +......>....5.. +......g....... +s.....+..s..+. +...b..4....... +.f.5.........b +.....1.0...f.. +......s....... +..>........>.. ++............. +......w....... +.....5.....>.. +..>.....+.5..b diff --git a/project/jni/application/lbreakout2/client/levels/Sadistic b/project/jni/application/lbreakout2/client/levels/Sadistic new file mode 100644 index 000000000..e1aa5ab51 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Shimitar b/project/jni/application/lbreakout2/client/levels/Shimitar new file mode 100644 index 000000000..cc219cc34 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Shimitar @@ -0,0 +1,657 @@ +Level: +Shimitar +the beginning +Bricks: +.............. +.............. +.gggggggggggg. +.ghgggggggghg. +.gghgggggghgg. +.ggghgfighggg. +.gggggiiggggg. +.gggggiiggggg. +.gggggiiggggg. +.ggghgifghggg. +.gghgggggghgg. +.ghgggggggghg. +.yggggggggggy. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.555555555555. +.555555555555. +.555555555555. +.555555555555. +.555555555555. +.555555555555. +.555555555555. +.555w5mm5w555. +.55w555555w55. +.5wbbbbbbbbw5. +.pwbbbbbbbbwp. +.............. +.............. +.............. +.............. +.............. +Level: +Shimitar +Azz1 +Bricks: +.............. +.jj........jj. +.jj........jj. +...hh....hh... +...hh....hh... +.....iiii..... +.....iv*i..... +.....i*vi..... +.....iiii..... +...hh....hh... +...hh....hh... +.jj........jj. +.jj........jj. +.EEEEEEEEEEEE. +.............. +.............. +.............. +.............. +Bonus: +.............. +.pp........pp. +.pp........pp. +...bf....fb... +...ff....ff... +.....0000..... +.....*w.*..... +.....*.w*..... +.....0000..... +...>>....>>... +...b>....>b... +.pp........pp. +.pp........pp. +.............. +.............. +.............. +.............. +.............. +Level: +Shimitar +Azz2 +Bricks: +d...........d. +.d.........d.. +..d.......d... +...d.....d.... +....d...d..... +....*did*..... +....*idi*...** +ddddddddddddd* +#############* +iiii........h* +ggggg*gg*gggh. +*gg*gg*gggggh. +g*ggggg*gg*gh. +*g*gg*gg*gggh. +ggg*ggggg*ggh. +g*gg*gg*gg*gh. +............h. +............h. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......5.....!. +.............. +.............. +m..w........+f +...?.......4+. +..0.....?0..+. +....1.......+. +...?......1?+. +............>. +4.....?.....>. +............>. +............>. +Level: +Shimitar +DontBeAfraid +Bricks: +cz!!!!!!!!!!zc +zcz!!!!!!!!zcz +!zcz!!!!!!zcz! +!!zcz!!!!zcz!! +!!!zcz!!zcz!!! +!!!!zczzcz!!!! +!!!!!zczz!!!!! +!!!!!zzcz!!!!! +!!!!!czzc!!!!! +!!!zcz!!zcz!!! +!!zcz!!!!zcz!! +!zcz!!!!!!zcz! +zcz!!!!!!!!zcz +cz!!!!!!!!!!zc +zzzzzzzzzzzzzz +cccccccccccccc +zzzzzzzzzzzzzz +gggggggggggggg +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......ww...... +......ww...... +.............. +.............. +.............. +bbbbbbbbbbbbbb +bb>>>>>>>>>>bb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +Level: +Shimitar +Bump! +Bricks: +.............. +....!..!...... +.............. +.............. +...!......!... +.!....!.....!. +.............. +.............. +.......!...... +...!......!... +.............. +.............. +.!....!..!..!. +.............. +.............. +..!...!!...!.. +.............. +.............. +Bonus: +.............. +.......>...... +.............. +.............. +...w.......... +............>. +.............. +.............. +.......g...... +..........m... +.............. +.............. +.g..........g. +.............. +.............. +......>....... +.............. +.............. +Level: +Shimitar +Hidden... +Bricks: +.............. +.............. +..v..v..v..v.. +.............. +.............. +..v..v..v..v.. +......ee...... +......ee...... +..v..vzzv..v.. +.............. +.............. +..v..v..v..v.. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +......mm...... +.............. +.............. +.............. +..b..w..w..b.. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Shimitar +HardStart!!! +Bricks: +.............. +.............. +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +dddddddddddddd +dddddddddddddd +e!eeeeee!eeeee +eee!eeeeeee!ee +eeeeeeeeeeeeee +i!iii!i!iiiiii +iiiiiiiiii!iii +hhhhhiihhhhhhh +hh!hhiihhhhhhh +ggggffffgggggg +ggggffffg!gg!g +ffffvvvvffffff +ffffvvvvffffff +@@@@@vv@@@@@@@ +Bonus: +.............. +.............. +.............. +.............. +......ww...... +.............. +.............. +.............. +.............. +.w...b.b...... +..........b... +.............. +.............. +.............. +....wwww...... +.bbbb..bbbbbb. +mbmbm..m.m.m.m +.....dd....... +Level: +Shimitar +Now..Fun! +Bricks: +.............. +.............. +.............. +.zzzzzzzz..... +.z............ +.z............ +##.#####z!!... +.#.#...#dddddd +.#.#...#dddddd +.#.#...#dddddd +.#.#...#dddddd +.#.#...#dddddd +.#.#...#dddddd +.#.#...#dddddd +.#.#...#dddddd +.#.#...####### +.#............ +.#............ +Bonus: +.............. +.............. +.............. +.55555555..... +.5............ +.5............ +........>..... +..........mm.. +.............b +........3....3 +........b.>... +...........3.. +..........>?.b +.............. +........b..... +.............. +.............. +.............. +Level: +Shimitar +UseTheForce! +Bricks: +ddi#dddi#iiiii +ddihhhii#dddhh +ddihhhii#dddhh +iii##########h +hhf#dd#ddggggh +hhf#dd#ddggghh +fff#ii#hhggghh +#f##ii#hhggghg +hhf##h##*##### +hhf#hhgggg#iig +ddfhiiiigg#iig +ddfhiiiihh#hhh +iif#ddddhh#hhh +iif#########g# +####iihhgggggg +ddd#iihhggdddd +ddd#iihhggdddd +ddd#####.##### +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbb........... +bbb........... +.............. +mmm........... +mmm.wwwwwwwwww +mmm........... +Level: +Shimitar +Quick,esay,duh +Bricks: +.............. +.............. +.............. +.............. +.............. +.......hhh.... +.......hhh.... +.......hhh.... +vvvvvvvhhh.... +....fffvvvvvvv +....fff....... +....fff....... +....fff....... +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +........m..... +........m..... +.............. +.............. +.....p........ +.....b........ +.....>........ +.............. +.............. +.............. +.............. +....w......... +Level: +Shimitar +TheRedfield +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.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.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: +.............. +.............. +.............. +.............. +?.....?....... +...........W.. +.............. +.~.m.......... +......W...b... +.............. +............W. +.........c.... +..b.+......... +.d.+.j........ +....d.g.j.~... +.......d.d.... +..........d... +.............w +Level: +Shimitar +FullYellow! +Bricks: +.............. +.............. +..hh..hh..hh.. +..hh..hh..hh.. +hh..hh..hh..hh +hh..hh..hh..hh +..hh..hh..hh.. +..hh..hh..hh.. +hh..hh..hh..hh +hh..hh..hh..hh +..hh..hh..hh.. +..hh..hh..hh.. +hh..hh......hh +hh..hh......hh +..hh..hh..hh.. +..hh..hh..hh.. +........hh.... +........hh.... +Bonus: +.............. +.............. +.......f...... +..f.......f... +............c. +.b..~....-.... +.............. +...-..p...+... +.............. +.c..-...b...+. +......?....... +..f.......+... +.....>........ +-...>.......m. +......ss...f.. +...?..ss...... +........~..... +.............. +Level: +Shimitar +Tree +Bricks: +.............. +......ff...... +.....ffff..... +.....ffff..... +....ffffff.... +....ffffff.... +...ffffffff... +...ffffffff... +...ffffffff... +...fff@@fff... +...fff@@fff... +......@@...... +......@@...... +......@@...... +......@@...... +......@@...... +.............. +.............. +Bonus: +.............. +......?5...... +.....5??5..... +.....?&5?..... +....5~55?.... +...?5*p5!5?... +...5&w5j5?5... +...g>5?5d5>... +...55>..5>5... +...mb5..b5m... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Shimitar +OnlyTwoMore... +Bricks: +......gg...... +......gg...... +......dd...... +e.ggggddgggg.e +e....dddd....e +.e...dddd...e. +.e...dddd...e. +.*..######..*. +..ee######ee.. +..ee......ee.. +.............. +......!!...... +ee..........ee +ee..........ee +.*...iiii...*. +.....ivvh..... +#####hvvh##### +ffffffffffffff +Bonus: +.............. +.............. +......11...... +......111.b... +1.....111..... +.d....0....... +.....f.m....0. +.............. +..1........... +..1b......0d.. +.............. +.............. +.............. +0f..........1~ +......!!...... +.....0........ +........d..... +.w....bw..~.w. +Level: +Shimitar +TheLast..Frozing! +Bricks: +*............* +.............. +...vvvv.**.... +.d.vdvv.**.... +.ddvddv....... +...vvvv....... +...........d.. +..d..d.....dd. +..dd.dd.d..... +........dd.... +.d............ +.dd.d......... +....dd..d..... +........dd.... +#d..........d. +#dd.........dd +!!!!!!!!!!!!!! +vvvvvvvvvvvvvv +Bonus: +m............? +.............. +...ffff.~f.... +...ffff.d~.... +...ffff....... +...ffff....... +.............. +..f........bf. +.....?..f..... +.........f.... +.f............ +.............. +....?...*..... +.............. +.f..........f. +..b........... +.............. +......w....... +Level: +Shimitar +WasJoking,thisIsLast. +Bricks: +zzzzzzzzzzzzzz +z.....ffffffff +z.....ffffffff +z.z...ffffffff +z.z...ffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zfffffffffff +z.zzzzzzzzzzzz +z............. +z............. +Bonus: +55555555555555 +5.....55555555 +5.....55555555 +5.0...55555555 +5.0...555f5555 +5.0>>>>55f5555 +5.0555555f5555 +5.05bbbbbf5555 +5.05bbbbbf5555 +5.0wbbbbbfw555 +5.05bbbbbf5555 +5.05bbbbbf5555 +5.055555555555 +5.055555555555 +5.0m555555555m +5.ww0ww0000w0w +5............. +p............. + diff --git a/project/jni/application/lbreakout2/client/levels/Silly b/project/jni/application/lbreakout2/client/levels/Silly new file mode 100644 index 000000000..4440a9bfb --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Silly @@ -0,0 +1,616 @@ +Version: 1.00 +Level: +Kevin +Silly +Bricks: +***bbb@bbbbaaa +*v*ccccccccaaa +*v*********@aa +***xxxxxxxxaaa +@@@!!!!****hhh +fffddddeeeefff +vvvvvvvvvvvvvv +fffddddee@efff +fffddddeeeefff +!!!!!!!!!!!!!! +******vv****** +vvvvvvvvvvvvvv +vvvvzzzzzvvvvv +.............. +.............. +.............. +.............. +.............. +Bonus: +111...l..mmmm4 +.l.11111111..4 +.l.........l.4 +555--------..4 +lll2222llll... +.00p??p>>>>000 +.............. +bbbbbbbbbbbbbb +w.w4?4?4?4>>>> +*++++www+++++* +0.....55.....0 +dddddddddddddd +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Kevin +Silly +Bricks: +avaavvvvvvvacc +av!!av***vaccv +vv!vvv*!*vcvvv +v!*!!v*v*vvc*v +vv!v*v***vc**v +a!*vcvvvvvvc*a +v*vcccvv!aavca +v*a*vcvv!!!aav +v*az**vvvvv!!v +vvv*vvvv***!vv +cc*a*vvvvvvavv +vvvvvvvvfvvvff +vcvcv!vv*****v +!vv!v*vvvv!v** +.............. +.............. +.............. +.............. +Bonus: +<044d????dm}<< +p0>>&?444?}<m0?4!4?s55! +0++>>?4l4?5sW0 +!0>5l?444?<~W0 +p+~5d?????d.b.4.!.d +m4..p.5..4.b.. +..pb<<.<>.d.d. +0..>..d...**m. +w.5.d.5>444 +>>>>>>>>>.>>jj +sswwbbbwwss>jj +WWWWWWWWWWWWWW +Level: +Daddy +Page Three +Bricks: +dddddddddddddd +djjjjjjjjjjjjd +djddddddddddjd +djdjjjjjjjjdjd +djdjddddddjdjd +djdjdjjjjdjdjd +djdjddjjddjdjd +djdjdjddjdjdjd +djdjdjddjdjdjd +djdjdjddjdjdjd +djdjdjddjdjdjd +djdjddjjddjdjd +djdjdjjjjdjdjd +djdjddddddjdjd +djdjjjjjjjjdjd +djddddddddddjd +djjjjjjjjjjjjd +dddddddddddddd +Bonus: +{{{{{{{{{{{{{{ +{WWWWWWWWWWWW{ +{W**********W{ +{W*WWWWWWWW*W{ +{W*W******W*W{ +{W*W*WWWW*W*W{ +{W*W*5WW5*W*W{ +{W*W*W55W*W*W{ +{W*W*W55W*W*W{ +{W*W*W55W*W*W{ +{W*W*W55W*W*W{ +{W*W*5WW5*W*W{ +{W*W*WWWW*W*W{ +{W*W******W*W{ +{W*WWWWWWWW*W{ +{W**********W{ +{WWWWWWWWWWWW{ +{{{{{{{{{{{{{{ +Level: +Daddy +Page Four +Bricks: +jjjjjjjjjjjjjj +jxxxxxxxxxxxxj +jxjjjjjjjjjjxj +jxjxxxxxxxxjxj +jxjxjjjjjjxjxj +jxjxjxxxxjxjxj +jxjxjjxxjjxjxj +jxjxjxjjxjxjxj +jxjxjxjjxjxjxj +jxjxjxjjxjxjxj +jxjxjxjjxjxjxj +jxjxjjxxjjxjxj +jxjxjxxxxjxjxj +jxjxjjjjjjxjxj +jxjxxxxxxxxjxj +jxjjjjjjjjjjxj +jxxxxxxxxxxxxj +jjjjjjjjjjjjjj +Bonus: +ffffffffffffff +fm..........mf +f.~~~~~~~~~~.f +f.~...mm...~.f +f.~..4..4..~.f +f.~..l..l..~.f +f....~..~....f +f.....44.....f +f.....44.....f +f.....44.....f +f.....44.....f +f..cp~..~pc..f +f..cpl..lpcW.f +f.Wcp4pp4pcW.f +f.WccccccccW.f +f.WWWWWWWWWW.f +fww...mm...wwf +ffffffffffffff +Level: +Daddy +Page Five +Bricks: +xvvvvvzzvvvvvx +vx....zz....xv +yvx...zz...xvy +vyvx..zz..xvyv +v.yvx.zz.xvy.v +v..yvxzzxvy..v +v...yvxxvy...v +v....yvvy....v +v.....yy.....v +v.....yy.....v +v....yvvy....v +v...yvxxvy...v +v..yvxzzxvy..v +v.yvx.zz.xvy.v +vyvx..zz..xvyv +yvx...zz...xvy +vx....zz....xv +xvvvvvzzvvvvvx +Bonus: +w.....ll.....w +.2....&&....2. +3.2........2.3 +.3.2......2.3. +..3.2....2.3.. +...3.2ww2.3... +....5.22.5.... +.....5..5..... +......55...... +......55...... +.....5..5..... +....5.22.5.... +m..3.2ll2.3..m +..3.2.ww.2.3.. +.3.2......2.3. +3.2........2.3 +.2..........2. +b.....bb.....b +Level: +Daddy +Page Six +Bricks: +v!v!v!v!v!v!v! +vvvvvvvvvvvvvv +v!v!v!v!v!v!v! +vvvvvvvvvvvvvv +v!v!v!v!v!v!v! +vvvvvvvvvvvvEE +v!v!v!v!v!v!v! +vvvvvvvvvvvvvv +v!v!v!v!vEEEv! +vvvvvvvvvvvvvv +v!v!v!v!v!v!v! +vvvvvvEEEvvvvv +v!v!v!v!v!v!v! +vvvvvvvvvvvvvv +v!vEEEv!v!v!v! +vvvvvvvvvvvvvv +v!v!v!v!v!v!v! +EEEvvvvvvvvvvv +Bonus: +....b...b...b. +..p...p.g.g.gW +*...~......... +.dWd..j.>.l~<. +j...........pw +&.&.l.&.*.&... +............{} +..c.b.c~b.w.b. +l............. +.~>~jW..p.}{*j +W.....!w!..... +g.g.g......d.d +......w}{...W. +.c<.w.*...w.~w +*.......w..... +.~p.}{gd.d..w. +.w....!...*.!. +...Wb.w.bW.gb. +Level: +Daddy +Page Seven +Bricks: +xxxxxxxxxxxxxx +xe@x@exxe@x@ex +x@exe@xx@exe@x +xe@x@exxe@x@ex +x@exe@xx@exe@x +xe@x@exxe@x@ex +x@exe@xx@exe@x +xe@x@exxe@x@ex +x@exe@xx@exe@x +zz*z*z*z*z*z*z +z*z*z*z*z*z*zz +zEEEEEEEEEEEEz +zzzzzzzzzzzzzz +.............. +EEEEEE..EEEEEE +cbcbcbcbcbcbcb +bcbcbcbcbcbcbc +aaaaaaaaaaaaaa +Bonus: +mc..........cm +cc..........cc +.....w..w..... +....lm..ml.... +....cccccc.... +.............. +.............. +.............. +.............. +..2>2.mm2>2.2. +.2.2>2cc.2>2.. +.............. +....bwwwwb.... +.............. +.............. +.............. +111.111111.111 +1s1.1s11s1.1s1 +Level: +Daddy +Page Eight +Bricks: +vvvvvvvvvvvvvv +v............v +v............. +vvvvvvvvvvvvE. +...........vE. +...........vE. +.vvvvvvvvvvvE. +.v..........E. +.v..........E. +.vvvvvvvvvvvE. +...........vE. +...........vE. +.vvvvvvvvvvvE. +.v..........E. +.v..........E. +.vvvvvvvvvvvE. +...........vE. +EvvvvvvvvvvvEE +Bonus: +.....WgW.....p +.............p +~............. +bb....&...ww.. +.............. +...........~.. +.ww..WjW..bb.. +.............. +.............. +.....WgW..ww.. +...........~.. +.............. +......&....... +.............. +.............. +.....WjW...... +.............. +.f...WgW...f.. +Level: +Daddy +Page Nine +Bricks: +iivvvviivvvvii +ivivvivvivvivi +ivviivvvviivvi +ivviivvvviivvi +ivivvivvivvivi +iivvvviivvvvii +iivvvviivvvvii +ivivvivvivvivi +ivviivvvviivvi +ivviivvvviivvi +ivivvivvivvivi +iivvvviivvvvii +iivvvviivvvvii +ivivvivvivvivi +ivviivvvviivvi +ivviivvvviivvi +ivivvivvivvivi +iivvvviivvvvii +Bonus: +22222222222222 +22222dddd22222 +00000d&&d00000 +00000d&&d00000 +00000dddd00000 +00000444400000 +00000444400000 +0*000dddd000*0 +00000d&&d00000 +00w00d&&d00w00 +0w000dddd000w0 +00000444400000 +jj000dddd000jj +j0j00dddd00j0j +j00jjd&&djj00j +j00jjd&&djj00j +j0j00dddd00j0j +jj000dddd000jj +Level: +Daddy +Page Ten +Bricks: +!..!######!..! +....#.##.#.... +....#.##.#.... +!..!#.##.#!..! +.#####EE#####. +....#.EE.#.... +!..!#.EE.#!..! +....#.EE.#.... +.############. +....#.##.#.... +!..!#.##.#!..! +....#.##.#.... +.#####EE#####. +....#vEEv#.... +!..!#vEEv#!..! +....#.EE.#.... +v####!EE!####v +vvvvvvvvvvvvvv +Bonus: +...m44l444m... +...m4.4l.4m... +....4.44.4.... +w..w4.44.4w..w +.44444..44444. +....4....4.... +....4....4.... +....4....4.... +.444444444444. +....4.44.4.... +....4.44.4.... +....4.44.4.... +.44444..44444. +....4*..*4.... +....4s..s4.... +....4....4.... +.4444....4444. +......ww...... +Level: +Daddy +Page Eleven +Bricks: +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +.............. +!!!!!!!!!!!!!! +************** +Bonus: +.....mmmm..... +gg..........gg +dddddddddddddd +.............. +.............. +dddddddddddddd +.............. +ggWWWWWWWWWWgg +dddddddddddddd +.............. +.............. +dddddddddddddd +.............. +bbWWWWWWWWWWbb +dddddddddddddd +.............. +wwggWWWWWWggww +dddddddddddddd +Level: +Daddy +Page Twelve +Bricks: +************** +************** +************** +************** +************** +*****....***** +*****.vv.***** +*****.vv.***** +*****.vv.***** +*****.vv.***** +*****.vv.***** +*****.vv.***** +*****....***** +************** +************** +************** +************** +*EEEEEEEEEEEEE +Bonus: +}}}}}}}}}}}}}} +++++++++++++++ +gggggggggggggg +<<<<<<<<<<<<<< +cccccccccccccc +WWWWW....WWWWW +?????.55.????? +bbbbb.55.bbbbb +>>>>>.l5.>>>>> +ddddd.5l.ddddd +!!!!!.55.!!!!! +~~~~~.55.~~~~~ +wwwww....wwwww +!!!!!!!!!!!!!! +wwwwwwwwwwwwww +cccccccccccccc +dddddddddddddd +d............. +Level: +Daddy +Page Thirteen +Bricks: +*v...xxx....v* +*vvvvxxxvvvvv* +*E*EvExEvE*E*E +****vExEv***** +E*E*EExEE*E*E* +*****ExE****** +*E*E*ExE*E*E*E +*****ExE****** +E*E*EExEE*E*E* +*****ExE****** +*E*E*ExE*E*E*E +*****ExE****** +E*E*EExEE*E*E* +.***.ExE****** +.E.E.ExE*E*E*E +.....ExE...... +hhhhhExEhhhhhh +EEEEEExEEEEEEE +Bonus: +.w...wlw....w. +.....wbw...... +......w....... +......w....... +......b....... +......b....... +......w....... +......b....... +......w....... +......*....... +......w....... +......b....... +......w....... +.............. +.............. +.............. +44444...444444 +.............. +Level: +Daddy +Page Fourteen +Bricks: +vvv.******.vvv +v.....**.....v +v.vvv....vvv.v +v...vv..vv...v +v.*.v.vv.v.*.v +v...v.vv.v...v +v.vvvv..vvvv.v +v............v +vvv.******.vvv +.............. +.vvv.vvvv.vvv. +...v.v..v.v... +**.v.v..v.v.** +**.v.v..v.v.** +**.v.v..v.v.** +...v.v..v.v... +.vvv.v..v.vvv. +.....v..v..... +Bonus: +www.bbbbbb.www +f.....bb.....f +f............f +f....5..5....f +f.b...44...b.f +f.....44.....f +f....5..5....f +f............f +fff.bbbbbb.fff +.............. +.WWW.<<<<.WWW. +...W.<..<.W... +bb.W.<..<.W.bb +bb.W.<..<.W.bb +bb.W.<..<.W.bb +...W.<..<.W... +.WWW.<..<.WWW. +.....<..<..... +Level: +Daddy +Page Fifteen +Bricks: +vvvvvvvvvvvvvv +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 +vvvvvvvvvvvvvv +Bonus: +.-..?4.W..2?.. +.............- +j............. +j............> +<.p..1..1..p.+ +!............. +.............. +?.>..5..l..w.W +.............. +2............3 +..5..?..W..?.. +c............c +.............. +3.b..b..b..b.? +.............< +~............~ +.............. +wf+0d0+d0!4+f! +Level: +Daddy +Page Sixteen +Bricks: +vv#k!k!k!k!#vv +vv#!k!k!k!k#vv +vv#k!k!k!k!#vv +EEE!k!k!k!kEEE +**#k!k!k!k!#** +**#!k!k!k!k#** +**#EEE##EEE#** +****#k!!k#**** +**.*#!kk!#*.** +**.*#k!!k#*.** +**.*#EEEE#*.** +**.*##kk##*.** +**..!!##!!.... +....!#kk#!.... +@kk@!!##!!@kk@ +@kk@!#kk#!@kk@ +@kk@!!##!!@kk@ +@@@@!#!!#!@@@@ +Bonus: +.&.00000000.&. +.&.00000000.&. +.&.00000000.&. +...00000000... +jj.00000000.jj +jj.00000000.jj +jj....ll....jj +jjjj4&..&4jjjj +jj.j4.&&.4j.jj +jj.j4&..&4j.jj +jj.j4....4j.jj +jj.j44.&44j.jj +jj....33...... +.....3&.3..... +3..3..33..3..3 +3mm3.3.&3.3mm3 +3mm3++33++3mm3 +3333+3++3+3333 +Level: +Daddy +Page Seventeen +Bricks: +kkkkkkkkkkkkkk +kddddddddddddk +kdkkkkkkkkkkdk +kdkddddddddkdk +kdkdkkkkkkdkdk +kdkdkddddkdkdk +kdkdkdkkdkdkdk +kdkdkdkkdkdkdk +kdkdkdkkdkdkdk +kdkdkdkkdkdkdk +kdkdkdkkdkdkdk +kdkdkdkddkdkdk +kdkdkdkkkkdkdk +kdkdkddddddkdk +kdkdkkkkkkkkdk +kdkddddddddddk +kdkkkkkkkkkkkk +kddddddddddddd +Bonus: +.............. +.????????????. +.?..........?. +.?.????????.?. +.?.?333333?.?. +.?.?3????4?.?. +.?.?3?l5?4?.?. +.?.?3?45?4?.?. +.?.?3?45?4?.33 +.?.?3?45?4?333 +.?.?3?45?4?.3. +.?.?3?4??4?.3. +.?.?3?4444?.3. +.?.?3??????.3. +.?.?3.......?3 +.?.??????????3 +.?...........3 +.????????????3 +Level: +Daddy +End of Game +Bricks: +zvyvxvigvxvyvz +zvyvxvgivxvyvz +zvyvxvigvxvyvz +zvyvxvgivxvyvz +zvyvxvigvxvyvz +zvyvxvgivxvyvz +zvyvxvigvxvyvz +zvyvxvgivxvyvz +zvyvxvigvxvyvz +zvyvxvgivxvyvz +zvyvxvigvxvyvz +zvyvxvgivxvyvz +zvyvxvvvvxvyvz +zvyvxxxxxxvyvz +zvyvvvvvvvvyvz +zvyyyyyyyyyyvz +zvvvvvvvvvvvvz +zzzzzzzzzzzzzz +Bonus: +....*4554*.... +.....4554..... +.....4554..... +WWWWW4554WWWWW +...*.4554.*... +...*.4554.*... +.....4554..... +...++4554++... +fffff4554fffff +.....4554..... +...--4bb4--... +fffff4bb4fffff +....W4444W.... +....W.**.W.... +-.WwwwwwwwwW.- +-.W.}}..}}.W.- +--{{..cc..{{-- +}}++......++}} diff --git a/project/jni/application/lbreakout2/client/levels/Smilies b/project/jni/application/lbreakout2/client/levels/Smilies new file mode 100644 index 000000000..1fe498b7c --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/SnyMaxx b/project/jni/application/lbreakout2/client/levels/SnyMaxx new file mode 100644 index 000000000..ecb943e3a --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/SnyMaxx @@ -0,0 +1,944 @@ +Version: 1.14 +Level: +Johann +NitroStart +Bricks: +.............. +.............. +.............. +.............. +.............. +...!......!... +.............. +.............. +......**...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +...5......5... +.............. +.............. +......00...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +FindEm +Bricks: +.............. +.............. +.v..........v. +gggggggggggggg +......vv...... +....v....v.... +.............. +...v......v... +.............. +......vv...... +......vv...... +.............. +fv..ff..ff..vf +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +............}. +.j..........j. +......55...... +....0....0.... +.............. +.............. +.............. +......dd...... +.............. +.............. +w....?..?....+ +.............. +.............. +.............. +.............. +.............. +Level: +Johann +RC +Bricks: +.............. +.............. +.........ggg.. +..gg....g..g.. +..g.g...g..... +..g.g...g..... +..gg....g..... +..g.g...g..g.. +..g.g.*.g..g.. +..g.g.g..ggg.. +.............. +e............e +gggggggggggggg +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +..........l*.. +..*.....g..... +.............. +........*..... +...?....*..... +..*........m.. +..*...j....... +..p.*.0...?*.. +.............. +0............0 +0?W*W000?ww??0 +.............. +.............. +.............. +.............. +.............. +Level: +Johann +Burst +Bricks: +dddddddddddddd +ggdgggdgggdggg +gggdggdggdgggd +ggggdgdgdggggd +dggggdhdggggdg +gddddhdhddddgg +dggggdhdggggdg +ggggdgdgdggggd +gggdggdggdgggd +ggdgggdgggdggg +xyxyxyxyxyxyxy +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +5.....<......5 +..4...!...4... +************** +************** +wwwwww~wwwwwww +************** +************** +************** +******>******* +wwbwww}wwwbwww +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +11-24 22:32 +Bricks: +.............. +....fEjjEf.... +.iiif@jj@fiii. +*..df@jj@fd..* +....f@jj@f.... +d!!.f@jj@f.!!d +....f@jj@f.... +*..ifEjjEfi..* +..iiffffffii.. +bbbbbb..bbbbbb +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +....d.mm.d.... +.l.W..44..W.w. +....4.bb.4.... +....<.**.<.... +g...c.<<.c...g +......55...... +......**...... +...?{.ff.{?... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +The Fish +Bricks: +.............. +g...gg..gg.... +...g...g...gg. +..g...g...g... +.g...b...g...g +....b*b.g..... +...beeeb...b!. +..beveeeb.be!. +vEeeeeeee@ee!. +vv@eeeee@v@e!v +..v@eee@v.v@!v +...v@e@v...vvv +....v@v....... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +f............. +.......?..........?... +.....*...m...~ +........?..... +....bwb....?f. +....5..-..?4-. +..}.......44+. +.....g.....4-. +............f. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +Sacker +Bricks: +kkkkk....v.... +kkkkk...v..... +kkkkk..v..hhh. +.......v...h.h +....!..vdddh.. +....i..djjxd.. +....iddjjj.d.. +....d!..*..d.. +...dcdddddc... +...cic...cic.. +#@#.c.e#..c.#. +eeeeeeeeeeeeee +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.........!.... +........m..... +*dw.p.....cd.. +.............m +..........d... +....s...w..... +....4j..-+.}.. +....4......-.. +....4.fg..4... +...555...555.. +.b..4.b...-... +.b..w.b....... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +CropCircles +Bricks: +.....eeee..... +....efhhfe.... +...efhEEhfe... +..*fh#!!#hf*.. +.efh..!!..hfe. +kefh..!!..hfek +.efh..!!..hfe. +.vefh#!!#hfev. +..vefhEEhfev.. +...vefhhfev... +....veffev.... +.....veev..... +......yy...... +.............. +.............. +.............. +.............. +.............. +Bonus: +......pp...... +.....b44b..... +....j4..4j.... +..l.4.55.4.~.. +.!0>..55..<0!. +.*0>..55..<0m. +.}0>..55..<0{. +..0.4.55.4.0.. +.....4..4..... +....fj44jf.... +.....&ww&..... +......WW...... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +ServoSaver +Bricks: +.............. +..........j... +........cc!cc. +..........j... +..........j... +..bbbbbbbbbbb. +.#bcccccccccb# +..bc*******cb. +..bc*******cb. +hhbc*******cb. +ddbcccccccccb. +..bbbbbbbbbbb. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +..........*... +........f}j}f. +..........w... +..........w... +..c.........c. +......g.....<. +..>.224555l... +..>.22l5555<.. +55..22b5555... +ff..!..g..~... +..w<.<........ +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +ShortWave +Bricks: +k.k.g.k......k +.k.gig.k....k. +g.gi!ig.k..k.g +igi!*!ig.kk.gi +!i!*!*!ig..gi! +*!*!i!*!iggi!* +!*!igi!*!ii!*! +i!igbgi!*!!*!i +gigbvbgi!**!ig +bgbvkvbgi!!igb +vbvk.kvbgiigbv +kvk...kvbggbvk +.k.....kvbbvk. +........kvvk.. +.........kk... +.............. +.............. +.............. +Bonus: +....l......... +.............. +.............. +.....g........ +.W..........?. +.............. +....}.....&... +...?..j...?... +.{..l......... +?..~0c........ +b.w0.0c...s?.w +0l0...0!.....0 +.0.....0g..w0. +........0..0.. +.........00... +.............. +.............. +.............. +Level: +Johann +Really Simple +Bricks: +************** +*############* +*#************ +*#*ggggggggggg +*#*g********** +*#*g*gggggggg* +*#*g*g******** +*#*g*g*ggggggg +*#*g*g******** +*#*g*ggggggggg +*#*g********** +*#*gggggggggg* +*#************ +i############# +.............. +.............. +.............. +.............. +Bonus: +00000000000000 +0............0 +0.000000000000 +0.000000000000 +0.000000000000 +0.000000000000 +0.00000j000000 +0.000000000000 +0.000000000000 +0.000000000000 +0.000000000000 +0.000000000000 +0.000000000000 +5............. +.............. +.............. +.............. +.............. +Level: +Johann +Missing Link +Bricks: +v..vvvvvvv.vv. +vv.vvvvvv.vvv. +v.vvv.vvv.vv.v +v..vvvvvv.vvvv +.............. +.v..v.vv...v.v +.v..v.v.v..v.v +.v..v.v.v..vv. +.v..v.v..v.v.v +.v..v.v..v.v.v +.vv.v.v..v.v.v +.............. +xxxxxxxxxx.xxx +bbb.bbbbbbbbbb +!!!!!!!!!!.!!! +eee.eeeeeeeeee +dddddddddd.ddd +.............. +Bonus: +....{......... +......5.?.}... +5..W.........? +.....-..}..5.W +.............. +.j..1.d....... +......5....5.. +.?..W.j.d..5.. +.b..?....?.{.. +......&..5...+ +.{..5......&.. +.............. +1....{..b..+.1 +.<-.....1w.}.s +....5b..+...&. +.*.......-.*.. +............5{ +.............. +Level: +Johann +Sny +Bricks: +iiciiciicicici +iciciccicicici +iciiiciccicici +iiciicicciccci +iiiciciiciiici +iciciciiciiici +iiciiciiciccii +iiiiiiiiiiiiii +eeeeeeeeeeeeee +kkkkkkkkkkkkkk +EkEkEkEkEkEkEk +kkkkkkkkkkkkkk +************** +************** +gggggggggggggg +dddgdddgdddgdd +d.dgd.dgd.dgd. +d.ddd.ddd.ddd. +Bonus: +..4..4..4.4.4. +.4.4.44.4.4.4. +.4...4.44.4.4. +..4..4.44.444. +...4.4..4...4. +.4.4.4..4...4. +..4..4..4.44.. +..>.....m..... +.............. +.............. +.............. +.............. +<<<<<<<<<<<<<< +.WWWWWWWWWWWW. +d.{{{.fj.{{{.. +.?...?...?...? +.............. +.............. +Level: +Johann +ToothPick +Bricks: +dddccccccccddd +ddckkkkkkkkcdd +dckxxxxxxxxkcd +ckxhhhhhhhhxkc +kxhhhhhhhhhhxk +xhhhhhhhhhhhhx +!xhhhhhhhhhhx! +..xhhhhhhhhx.. +...xxxxxxxx... +...#......#... +.............. +.............. +......**...... +.............. +.............. +.............. +.............. +.............. +Bonus: +.............m +.............. +.....dddd..... +...55555555... +..?5......5... +&.?5w.....5.l. +..?5!.....5..~ +...55555555... +.............. +.............. +.............. +.............. +......jw...... +.............. +.............. +.............. +.............. +.............. +Level: +Johann +Justalevel +Bricks: +.............. +.k.k.k.k.k.k.. +!!!!!!!!!!!!!! +k.k.k.k.k.k.k. +.............. +k###kkkkkk###k +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +k###kkkkkk###k +.............. +.............. +!!!!!......... +gggg!!!!!!!!!! +dddggggggggggg +**dddddddddddd +.************d +............** +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +....444444.... +d&&m......m&&d +d&&&......&&&d +......WW...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Johann +justanotherlevel +Bricks: +.............. +.............. +.............. +gggggggggggggg +ccccc!vv!ccccc +kkkk@vvvv@kkkk +kkkk@vvvv@kkkk +kkkk@vvvv@kkkk +@@@@@vvvv@@@@@ +hhhhhhhhhhhhhh +dddddddddddddd +gggggggggggggg +!...vixxiv...! +...vi....iv... +..vi......iv.. +.vi........iv. +vi..........iv +i............i +Bonus: +.............. +.............. +.............. +.............. +......55...... +.s...5555....c +......-+...<.. +..........?... +.............. +.............. +....}......... +.b.....j....b. +......gf...... +....2....2.... +.............. +.............. +.............. +w............~ +Level: +Johann +Purplepeopleeater +Bricks: +.............. +...cccccccccxi +dddc*******cxi +dddccccccc*cxi +dddkkkkkic*cxi +dddk#@#kic*cxi +...k#@#kic*cxi +kkkkkkkkic*cxi +cckiiiiiic*cxi +*ccccccccc*cxi +***********cxi +ccccccccccccxi +xxxxxxxxxxxxx! +iiiiiiiiiiiii! +!!!!!!!!!!!!!! +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +.............. +Bonus: +.............. +...1jjjjjj...* +5551.......... +5551555555.... +555.....l5.... +555......5.... +.........5.... +.........5.... +55p...{.W5.... +.555555555.... +.............. +j............. +......>....... +..}.?.w.?.}.W. +.............. +g+..........w> +.....f...........f +0f...........f +0f...........f +00...........f diff --git a/project/jni/application/lbreakout2/client/levels/StarWars b/project/jni/application/lbreakout2/client/levels/StarWars new file mode 100644 index 000000000..8917a53fc --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Symmetry b/project/jni/application/lbreakout2/client/levels/Symmetry new file mode 100644 index 000000000..59c8c51ef --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Symmetry-MKII b/project/jni/application/lbreakout2/client/levels/Symmetry-MKII new file mode 100644 index 000000000..d3f9a9981 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Symmetry-MKII @@ -0,0 +1,411 @@ +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 +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 +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 +Staircase +Bricks: +.............. +.............. +.!E........... +..!#.......... +...!E......... +..!.!#........ +.!E!.!E....... +..!.!.!#...... +...!E!.!E..... +..!.!.!.!#.... +.!#!.!E!.!E... +!.!.!.!.!.!#.. +.!.!#!.!E!.!E. +!.!.!.!.!.!.!# +.!#!.!#!.!E!.! +..!...!...!... +.............. +.............. +Bonus: +.............. +..m........... +.3.2.......... +....2......... +...2.m........ +......2....... +.3.3.w.2...... +......5.m..... +...1.3.1.2.... +....*.....2... +.~...~.3.~.m.. +b.+.w.+.*.+.2. +...1.....1.2.2 +..>...>.3.>.3. +.............. +.............. +.............. +.............. +Level: +Leo Gruyters +Alien City +Bricks: +.............. +......EE...... +.....a##a..... +....aaEEaa.... +....@j##j@.... +..E.@aEEa@.... +.aaa@a##a@.E.. +.ea#@jEEj@aaa. +.ej#@a##a@#ae. +.ea#@aEEa@#je. +.ea#@a##a@#ae. +.ea#@aEEa@#ae. +.ea#@EkkE@#ae. +.ea#EkkkkE#ae. +.ea#eeeeee#ae. +.eaeeeeeeeeae. +.effffffffffe. +#ffff....ffff# +Bonus: +.............. +.............. +.............. +.....5..5..... +.....m..m..... +.............. +..5..?..?..... +.b...m..m..5.. +.mm.........b. +.b...W..W..mm. +.m...>..>...b. +.b2........2m. +.m....mm....b. +.b}........{m. +....g1.1.j..b. +.w...wmmw...w. +..~f4~f4~f4~.. +..2+>.....>2.. +Level: +Leo Gruyters +Evil Bricks +Bricks: +...j#@@@@#j... +a.a.j#@@#j.a.a +a.#a.j##j.a#.a +a.##a.jj.a##.a +a.@##a..a##@.a +..j###aa###j.. +...j@####@j... +....j####j.... +.....j##j..... +.....j##j..... +....j####j.... +...j@####@j... +..j###aa###j.. +a.@##a..a##@.a +a.##a....a##.a +a.#a......a#.a +a.a........a.a +.............. +Bonus: +...1{~ff~{1... +5.g.lf~~fl.s.5 +5..}.*{{*.}..5 +4.{.?.11.?.{.4 +4.f{.?..?.{f.4 +..+~{.??.{~+.. +...mf{{{{fm... +....+~..~+.... +.....+~~+..... +.....m~~m..... +....+~..~+.... +...mf{{{{fm... +..+~{.--.{~+.. ++.f{.w..w.{f.+ +-.{.+....+.{.- ++............+ +-............- +.............. +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 +Finale +Bricks: +.............. +************** +*EEE********** +**E*E****E**** +**E*E***E***E* +**E*EE**EE**** +**E*EjEjE***** +**E*E*E**E**** +**j*********** +**j*********** +**EEE*******E* +**E***E*****E* +**E***EE****E* +**EE**E*E**EE* +**E***E*E*E*E* +**E***E*E*E*E* +**EEE*E*E**EE* +****j*j******* +Bonus: +.............. +55555555555555 +5...5555555555 +55.5.5555.5555 +55.5.555.555.5 +55.5..55..5555 +55.5.5.5.55555 +55.5.5.55.5555 +55555555555555 +gggggggggggggg +}}...}}}}}}}.} +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/T.C.S. b/project/jni/application/lbreakout2/client/levels/T.C.S. new file mode 100644 index 000000000..cd51491d8 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/TheEnd b/project/jni/application/lbreakout2/client/levels/TheEnd new file mode 100644 index 000000000..53ce7a4a1 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/TheGauntlet b/project/jni/application/lbreakout2/client/levels/TheGauntlet new file mode 100644 index 000000000..4c6339935 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/TheGauntlet @@ -0,0 +1,288 @@ +Level: +Lourens +Barriers (warmup) +Bricks: +############## +############## +############## +############## +############## +############## +############## +.............. +.dd...ff...gg. +.dd...ff...gg. +.jj...ii...hh. +.jj...ii...hh. +.............. +ccjjccjjccjjcc +.............. +.............. +.............. +jccccccccccccc +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.>............ +......+....b.. +.+............ +.......>....j. +.............. +..>..1.>.1..3. +.............. +.............. +.............. +>>+....b..+... +Level: +Lourens +Speedy clearance +Bricks: +j###.###j.j##j +####.####.#### +#jjj.#jj#.#jj# +###j.####.#### +j###.###j.###j +jjj#.#jjj.#jjj +####.#jjj.#### +###j.#jjj.j##. +jjjj.jjjj.jjj. +jEEj.#EEj.#EE. +#EE#.#EE#.#EE. +#jj#.#jj#.###. +####.#jj#.###. +###j.#jj#.j#j. +#jjj.#jj#.jjj. +####.####.j#j. +j##j.###j.j#j. +cccccccccccccc +Bonus: +..........*... +.............. +.m............ +.............. +.............. +b*....b.....b. +.............. +...b..m....... +.m.........m.. +.............. +.............. +......m....... +.............. +.......b...... +.*b........... +.............. +.............. +...+>+cc+>+... +Level: +Lourens +Frostbite +Bricks: +############## +############## +############## +############## +############## +############## +############## +############## +############## +gjjjggjjggjjjg +cjjjjjjjjjjjjj +cjjjjjjjjjjjjj +jj..jjj.jj.jjj +j....j..jj..jj +j....j..j....j +j.......j....j +j............. +j............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +ff>.f+>f+f>>ff +{.f.+.f.+>{f>{ +ff>+.f>{ff.fff +.>..>f>..+..>f +f.......>...+. +>....f..f....f ++............> +f............. ++............. +Level: +Lourens +Well protected goodies +Bricks: +jdehfgidehfgij +cccccccccccccc +.............. +.............. +v##v#v##v#v##v +.............. +.............. +cccccccccccccc +jjjjjjjjjjjjjj +************** +jjjjjjjjjjjjjj +jcjcjcjcjcjcjc +cjcjcjcjcjcjcj +jcjcjcjcjcjcjc +.............. +.............. +.............. +.............. +Bonus: +j543210012345j +b.b.b.b.b.b.b. +.............. +.............. +.............. +.............. +.............. +.............. +~c~d>-cfcf>dcc +.............. +ddc--dc-c--f>> +f.>.c.>.~.f.>. +.c.f.~.f.c.~.c +~.>.c.c.~.>.f. +.............. +.............. +.............. +.............. +Level: +Lourens +Faster, Faster! +Bricks: +.............. +.............. +@@.@@@..@@.@@@ +@..@.@.@....@. +@@.@@@..@...@. +@..@.@...@..@. +@..@.@.@@...@. +.............. +EE.EEE..EE.EEE +E..E.E.E....E. +EE.EEE..E...E. +E..E.E...E..E. +E..E.E.EE...E. +.............. +.............. +############## +cccccchhcccccc +cccccccccccccc +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +5.w.>+..+>.w.5 ++>44++>>++44>+ +Level: +Lourens +Kept in the dark +Bricks: +jv..v.jj.v...j +.v.v....vv..v. +.v...vvvv.vv.. +v...v........v +v.......vvv..v +.v.v.v.....v.v +..v....vv..... +.v..v...v...v. +vvv..v...vv.v. +..vv.......... +..vv..v.v.v..v +v.v..v..vv..vv +v...v......... +.v........vvv. +.vv..vvvv.v... +bbaaabbbbaaabb +dddddddddddddd +************** +Bonus: +.d..d....d.... +.d.d....dd..d. +.d...-ddd.dd.. +d...d........d +d.......d-d..f +.d.f.d.....d.d +..d....dd..... +.d..d...f...d. +-dd..d...dd.d. +..fd.......... +..fd..d.d.d..- +d.d..-..dd..dd +d...d......... +.d........dfd. +.dd..d-dd.d... +>>>>>>>>>>>>>> +dddddddddddddd +.............. +Level: +Lourens +Killer +Bricks: +hhhhhhhhhhhhhh +************** +hhhhhhhhhhhhhh +************** +.............. +####.####.#### +.............. +.............. +.@#@##@@##@#@. +.............. +.............. +#*###@##@###*# +*a@aa#aa#aa@a* +cc#*a#**#a*#cc +.............. +.............. +##b##b##b##b## +@@.@@.@@.@@.@@ +Bonus: +55555555555555 +.............. +55555555555555 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.>.>......>.>. +>..>......>..> +...>..>>..>... +.............. +.............. +..{..{..{..{.. +.............. + diff --git a/project/jni/application/lbreakout2/client/levels/TimeWaster b/project/jni/application/lbreakout2/client/levels/TimeWaster new file mode 100644 index 000000000..c64c71e1b --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/TimeWaster @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +houghi +Cold fusion +Bricks: +*vvvvvvvvvvvvv +************** +vvvvvvvvvvvvv* +************** +*vvvvvvvvvvvvv +************** +vvvvvvvvvvvvv* +************** +*vvvvvvvvvvvvv +************** +vvvvvvvvvvvvv* +************** +*vvvvvvvvvvvvv +************** +vvvvvvvvvvvvv* +************** +*vvvvvvvvvvvvv +************** +Bonus: +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +ffffffffffffff +fffwffffffffff +Level: +houghi +Let them blow first +Bricks: +*............. +.************* +*............. +.************* +*............. +.************* +*............. +.************* +*............. +.************* +*............. +.************* +*............. +.************* +*............. +E*E*E*EE*E*E*E +*E*E*E**E*E*E* +!!!!!!!!!!!!!! +Bonus: +j............. +.fffffffffffff +f............. +.ggggggggggggg +g............. +.ddddddddddddd +d............. +.bbbbbbbbbbbbb +b............. +.ppppppppppppp +p............. +.~~~~~~~~~~~~~ +~............. +.............. +.............. +.............. +.............. +-------------- +Level: +houghi +Ready +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......f....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +houghi +Aim +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......y....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +houghi +Fire +Bricks: +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +.............. +.............. +......v....... +.....vvv...... +.....v*v...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +...p.........p +.............. +.............. +.............. +.............. +.............. +.............. +......p....... +.....pfp...... +.....w.w...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +houghi +Blue is nice +Bricks: +.@.x......x.@. +.@.x......x.@. +.@.x......x.@. +..@E......E@.. +..@EeeeeeeE@.. +...@Eddddd@... +...@EggggE@... +....@EvvE@.... +.....@EE@..... +......@@...... +.............. +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +************** +vvvvvvvvvvvvvv +Bonus: +...f......f... +...f......f... +...f......f... +.............. +....ffffff.... +.....fffff.... +.....ffff..... +......jj...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbmbbbbbbb +bbbbbbbbbbbbbb +wwwwwwwwwwwwww +Level: +houghi +Vada Voom +Bricks: +.............. +.aaabbbcccjjj. +.aaabbbcccjjj. +.aaabbbcccjjj. +.aaabbbcccjjj. +.xxxyyyzzzfff. +.xxxyyyzzzfff. +.xxxyyyzzzfff. +.xxxyyyzzzfff. +.***dddeeehhh. +.***dddeeehhh. +.***dddeeehhh. +.***dddeeehhh. +.............. +.............. +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +************** +w..w..ww..w..w +.............. +Level: +houghi +Wonder why. +Bricks: +.e...z....b... +..e...z...b... +......z...b... +...e...z...b.. +c...e..z...b.. +.c...e..z..b.. +..c...e.z..b.. +...c.....z..b. +....c..e.z..b. +.....c..e.z.b. +......c...z.b. +ff.....c.e.z.b +..ff....c.ez.b +....ff...c.ezb +......ff..c.zb +kkkk....ff.c.z +....kkkk..ffcz +........kkkkff +Bonus: +.m............ +..m........... +.............. +...*.......... +....*......... +.....b........ +......b....... +.............. +.......w...... +........w..... +.............. +.........p.... +..........p... +...........j.. +.............. +.............. +.............. +.............. +Level: +houghi +Now! This! Is! It! +Bricks: +aacaaaccaaacaa +baaabaaaabaaab +......vv...... +@@@..@@@@..@@@ +.............. +vvvvvvvvvvvvvv +..*..*..*..*.. +.............. +##....##....## +.............. +..!..!..!..!.. +...vv....vv... +..e..EEEE..e.. +vv..........vv +..z..z..z..z.. +...e......e... +.e....ee....e. +e...e....e...e +Bonus: +0.&.0.**.0.&.0 +w.0.p.bb.p.0.w +......ll...... +.............. +.............. +.............. +..f..{..{..f.. +.............. +.............. +.............. +...*.3..3.*... +......mm...... +.............. +.............. +..<..>..>..<.. +...f......f... +.1....--....1. +w...+....+...w +Level: +houghi +Get the hostages out. +Bricks: +.............. +.EEE......EEE. +.EeE......EeE. +.E.E......E.E. +.EgE......EgE. +.....gggg..... +.....g..g..... +.....g..g..... +.....gddg..... +.EEE......EEE. +.EeE......EeE. +.E.E......E.E. +.EgE......EgE. +.....gggg..... +.....g..g..... +.EEE.g..g.EEE. +.....gxxg..... +.............. +Bonus: +.............. +.............. +..b........b.. +.............. +..w........w.. +.....fccf..... +.............. +.............. +.....sjjs..... +.............. +..b........b.. +.............. +..w........w.. +.....f..f..... +.............. +.............. +.....jggj..... +.............. +Level: +houghi +Ready +Bricks: +v*v.v*v...v*v. +vvv.vvvvv.vvv. +......v*v..vvv +vvvvvvvvvvvv*v +v*vv*v.vvv*vvv +vvvvvvvv*vvvvv +..vvvvvvvv*vv* +..v*vv*v.vvvvv +..vvvvvv...... +vvv...v*v.vvv. +v*vvvvvvv.v*v. +vvvv*v....vvv. +....vvvvvv.... +....v*vv*v.... +.vvvvvvvvvvvvv +.v*v.....v*vv* +vvvv.....vvvvv +*v............ +Bonus: +.............. +.......b...... +.............. +.w..w.....w... +.............. +.............j +...b..j....... +.............. +.......w...... +.j.........b.. +....j......... +.............. +.....w..b..... +.............. +..w.......b..b +.............. +.............. +.............. +Level: +houghi +Bouncy Wall +Bricks: +@@@@@@@@@@@@@@ +@aaaaaaaaaaaa@ +@............@ +@dddddddddddd@ +@............@ +@eeeeeeeeeeee@ +@............@ +@hhhhhhhhhhhh@ +@............@ +@ffffffffffff@ +@............@ +@gggggggggggg@ +@............@ +@iiiiiiiiiiii@ +@............@ +@jjjjjjjjjjjj@ +@............@ +@jjjjjjjjjjjj@ +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +houghi +Protected by the cold +Bricks: +*v...d!!d...v* +*v...diid...v* +*v...dddd...v* +*v..........v* +*v..........v* +*v..........v* +*v..........v* +*v..........v* +*vvvvvvvvvvvv* +************** +xxxxxxxxxxxxxx +ffffffffffffff +.............. +.............. +vvvvvvvvvvvvvv +.............. +.............. +.............. +Bonus: +wc..........cw +wc..........cw +fc..........cf +fc..........cf +fc..........cf ++c..........c+ ++c..........c+ ++c..........c+ ++>>>>>>>>>>>>+ ++ffffffffffff+ +?WWWWWWWWWWWW? +?{{{{{{{{{{{{? +.............. +.............. +?------------? +.............. +.............. +.............. +Level: +houghi +Do not take the red pill +Bricks: +!..!...!.....@ +.....!.@.!..@. +..!......@.!!. +!.....!!...... +....!..!.!.@.! +..!...!.@..... +..!@.@........ +.!..!..!.@.!.@ +..!..........! +@....!...!.... +...!...!...!.. +.!@..........@ +.....!...!@... +...!........!. +.@......!!.... +......@......@ +...........@.. +.............. +Bonus: +.m....m....... +mm............ +...m......*... +.m............ +...*........*. +.*............ +.............. +*..*......*.w. +.............. +........*....w +..m...*....... +*..........w.. +....*......... +........ww...w +.......*....w. +.............. +.............. +.............. +Level: +houghi +Brother, where art thou? +Bricks: +i............i +.i..........i. +..i........i.. +...i..gg..i... +....igvvgi.... +....g@@@@g.... +...g@ivvi@g... +..g.@.ii.@.g.. +fgff@yyyy@ffgf +g............g +......**...... +.....*..*..... +....*....*.... +.............. +....*....*.... +.....*..*..... +......**...... +.............. +Bonus: +.............. +.b..........b. +.............. +......ff...... +....bf55fb.... +....f....f.... +...&..jj..&... +.............. +.W...!ll!...W. +.............. +......??...... +.....p..p..... +.............. +.............. +.............. +.....W..W..... +......WW...... +.............. +Level: +houghi +Almost standard +Bricks: +kkkkkkkkkkkkkk +jjjjjjjjjjjjjj +iiiiiiiiiiiiii +hhhhhhhhhhhhhh +.............. +gggggggggggggg +ffffffffffffff +eeeeeeeeeeeeee +dddddddddddddd +.............. +.............. +avavavavavavav +cacacacacacaca +bcbcbcbcbcbcbc +!b!b!b!b!b!b!b +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.p.p.p.p.p.p.m +.............. +.............. +Level: +houghi +Spicy +Bricks: +.aa........... +.cc.....a..... +........c..... +.a..a......... +.c..c......... +.............. +..a.......b.b. +..c..a....j.j. +.a...c........ +.c............ +.........EEEE. +........EE..Eb +.a.a.........j +.c.c........@@ +............@@ +....a.....@.@@ +....c.....@.@@ +@@@@@@@@@@@.@@ +Bonus: +..*........... +.p............ +........s..... +.w............ +.w............ +.............. +..j.......b.s. +............s. +.m...b........ +.............. +.............. +.............. +.*...........b +...*.......... +.............. +....b......... +.............. +.............. +Level: +houghi +Many more points +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..############ +..#@@@@@@@@@@@ +..#@aaaaaaaaaa +..#@abbbbbbbbb +..#@abcccccccc +..#@abczzzzzzz +..#@abczyyyyyy +..#@abczyxx### +..#@abczyxvv.. +############v# +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....w0b0w0b0*0 +....0w0b0w0b0* +....b0w0b0w0b0 +....0b0w0b0w0b +....w0b0w0b0w0 +....0w0b0w0... +....b0w0b0**.. +............*. +Level: +houghi +What will it be now? +Bricks: +.............. +g............g +g..ggg..ggg..g +g............g +g.j.v.jj.v.j.g +..j.v.jj.v.j.. +....v....v.... +hhh.v.hh.v.hhh +.............. +.!.!.!..!.!.!. +..*.*.**.*.*.. +.*.*.*..*.*.*. +!.!.!.!!.!.!.! +.............. +.j.j.j..j.j.j. +.j.j.j..j.j.j. +.j.j.j..j.j.j. +v.v.v.vv.v.v.v +Bonus: +.............. +.............. +.............. +.............. +.........l.... +.............. +.............. +.............. +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +.............. +.............. +.............. +.............. +Level: +houghi +Forking +Bricks: +...h...h...h.c +...h...h...h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c.h.c.h.c.h.c +.c...c...c...c +.c...c...c...c +.ccccccccccccc +.vvvvvvvvvvvvv +Bonus: +...0...0...0.. +...0...0...0.. +.*.~.*.~.*.~.~ +.............. +.............. +.............. +...0...0...0.. +.f.f.f.f.f.f.f +...0...0...0.. +.............. +.............. +.............. +.............. +.c.*.c.*.c.*.c +.............. +.............. +.............. +.<<<<.ss.>>>>> +Level: +noname +Holland - Germany +Bricks: +dddddddddddddd +jjjjjjjjjjjjjj +gggg##gg##gggg +...#a#..#a#... +.x#..#..#..#x. +v#*..#..#..*#v +#....#..#....# +.....#..#..... +.....#..#..... +aaaaa#aa#aaaaa +ddddd#dd#ddddd +hhhhh#hh#hhhhh +.....#..#..... +.....#..#..... +.....#..#..... +.....#..#..... +.....#..#..... +.....#..#..... +Bonus: +.0...1**1...0. +.0...1..1...0. +.0..3g..g3..0. +...3w....w3... +.03........30. +m3..........3m +3............3 +.............. +.............. +.............. +......**...... +.....g..g..... +.............. +.............. +.............. +.............. +.............. +.....g..g..... +Level: +houghi +Sliding doors +Bricks: +********..a..* +###########..* +v...av.......a +#...av........ +#..##v######## +#...###......v +#....va......# +v....va......# +#####v#####..# +....###......# +.....v.......# +v....v.......v +a####v######## +aa..####..v#.. +....###...##.. +....##...##... +....#...##.... +aaaaaaa##aaaaa +Bonus: +..........w... +.............. +.............l +.............. +.....m........ +.............. +.............. +.............. +.....m........ +.............. +.............. +w............. +w....m........ +ww........m... +.............. +.............. +.............. +.............. +Level: +houghi +Tilted +Bricks: +EEE@@@##Ed*!fz +EE@@@##Ed*!fzy +E@@@##Ed*!fzyx +@@@##Ed*!fzyx@ +@@##Ed*!fzyx@c +@##Ed*!fzyx@cv +##Ed*!fzyx@cv. +#Ed*!fzyx@cv.. +Ed*!fzyx@cv... +d*!fzyx@cv.... +*!fzyx@cv..... +!fzyx@cv...... +fzyx@cv....... +zyx@cv........ +yx@cv......... +x@cv.......... +@cv........... +cv............ +Bonus: +.........w.*&3 +........w.*&3. +.......w.*&3.* +......w.*&3.*. +.....w.*&3.*.. +....w.*&3.*... +...w.*&3.*.... +..w.*&3.*.m... +.w.*&3.*...... +w.*&3.*....... +.*&3.*........ +*&3.*......... +&3.*.......... +3.*........... +.*............ +*............. +.............. +.............. +Level: +houghi +Balls +Bricks: +*a**a**aa*avvv +*aa*aa*a**aEEE +**a*a**a**a*** +a*a*aa*a*a**aa +aa***aa**a*aa* +*aa**aa*aa*a** +**aa*a**a*aa** +a**a****a*a*a* +a**a**aaa*a*a* +aa**a*a***a*a* +*a**a*a*a*a*aa +*aaa*aa**aa**a +***a*a**aa***a +************** +aaa*@*aaaaaaaa +!a*@*@*a*a*a*a +**@...@*a*a*a* +@@.....@@@@@@@ +Bonus: +m............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbwbwbwb +wbbbwbbbwbwbwb +bbb...bbbwbbbb +bb.....bbbbbbb +Level: +houghi +Many more points +Bricks: +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vvvvvvvvvvvvvv +vv############ +vv#@@@@@@@@@@@ +vv#@aaaaaaaaaa +vv#@abbbbbbbbb +vv#@abcccccccc +vv#@abczzzzzzz +vv#@abczyyyyyy +vv#@abczyxx### +vv#@abczyxv... +############.# +Bonus: +00000000000000 +01111111111111 +01222222222222 +01333333333333 +01444444444444 +01555555555555 +01...........j +01...........l +01............ +01............ +01..>>>>>>>>>> +01..mwwwwwwwww +01..mwj&&&&&&& +01..mw&ppppppp +01..mw&p...... +01..mw&p.mm... +01..mw&p.mm... +.............. +Level: +houghi +random thoughts +Bricks: +a..........c.. +a...#......c.. +a...#..gg..c.. +accc#c....xx.. +a....#ccgccc.. +h....d...gx... +h..*.di...x... +ah.*.i!...g... +aah*iia!axaa.. +..hhi....fga.. +...*...!.dgg.. +..i*h...!f.a.. +..i..h.b.#.a.. +.bibbhbbf!daaa +.bi...hxf..... +..i...x..!.... +..i...x....d.. +..i........d.. +Bonus: +-..........p.. +-..........p.. +-......mm..p.. +-ppp.p....55.. +-.....ppmppp.. +2....*...m5... +2..1.*!3..5... +-2.1.!43..m... +--21!!-4-5--.. +..22!.333}m-.. +...1..343*mm.. +..012.334}.-.. +..0..2.b3.3-.. +.b0bb2bb}4*--- +.b0...25}33... +..0...5.343... +..0...5.333*.. +..0........*.. +Level: +houghi +Boxen +Bricks: +.............. +.aaa...kkk.... +.aaa...kkk.... +.aaa...kkk.... +.aaa...kkk.... +....bbb...jjj. +....bbb...jjj. +....bbb...jjj. +....bbb...jjj. +.ccc...xxx.... +.ccc...xxx.... +.ccc...xxx.... +.ccc...xxx.... +....zzz...eee. +....zzz...eee. +....zzz...eee. +....zzz...eee. +.............. +Bonus: +.............. +.............. +..b.....b..... +..b.....b..... +.............. +.............. +.....s.....s.. +.....s.....s.. +.............. +.............. +..w.....w..... +..w.....w..... +.............. +.............. +.....*.....*.. +.....*.....*.. +.............. +.............. +Level: +noname +Half the place +Bricks: +E#@E@#EE#@E@#E +@E#@#E@@E#@#E@ +#@E#E@##@@#E@# +E#@E@#EE#@E@#E +@E#@#E@@E#@#E@ +#@E#E@##@E#E@# +##@E@####@E@## +@@@@@@##@@@@@@ +aaaaaaaaaaaaaa +bbbbbbbbbbbbbb +cccccccccccccc +jjjjjjjjjjjjjj +kkkkkkkkkkkkkk +.............. +.............. +.............. +.............. +vvvvvvvvvvvvvv +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +W.....mm.....W +W.....ll.....W +..555.--.555.. +b.....++.....b +w............w +.............. +.............. +.............. +.............. +?????????????? +Level: +houghi +Jumping Jack Flash +Bricks: +gEgEgEggEgEgEg +gEgEgEggEgEgEg +.............. +.............. +!!!!!!!!!!!!!! +************** +..@@......@@.. +......##...... +xxxxxxxxxxxxxx +.............. +.............. +!!!!!!!!!!!!!! +************** +.............. +.............. +.............. +!!!!!!!!!!!!!! +************** +Bonus: +m.*.m.**.m.*.m +w.w.w.ww.w.w.w +.............. +&&&&&&&&&&&&&& +~~~~~~~~~~~~~~ +jjjjjjjjjjjjjj +.............. +.............. +!!!ll!!!!ll!!! +.............. +ffffffffffffff +++++++++++++++ +-------------- +.............. +.............. +bbbbbbbbbbbbbb +WWWWWWWWWWWWWW +cccccccccccccc +Level: +houghi +Get in there!! +Bricks: +vvcba.g.i.h@#E +v.cba.g.i.h@#E +.Ecba.g.i.h@## +*Ecba.g.i.h@@@ +**Eba.g.i.hhhh +..Eba.g.i..... +..Eba.g.iiiiii +..Eba.g....... +...Ea.g....... +...Ea.gggggggg +...Ea......... +.vv.E********* +....E********* +....E......... +.....EEddddddd +vv.....EEeeeee +.........EEvvE +.........vvEEv +Bonus: +{m........*... +}..?....*..... +..........d... +5.l...*....... +55.?....d.*.d* +.............. +.........*..*. +...d?.*....... +.............. +...........*.. +....d......... +.....w5w5w5w5w +.....w5w5w5w5w +.............. +..........*... +.............d +...........mm. +.........ww..m +Level: +houghi +Points at the top +Bricks: +dddddddddddddd +.............. +.............. +.............. +.............. +.............. +.............. +.............. +############## +xxxxxxxxxxxxxx +yyyyyyyyyyyyyy +zzzzzzzzzzzzzz +!!!!!!!!!!!!!! +cccccccccccccc +jjjjjjjjjjjjjj +kkkkkkkkkkkkkk +.............. +.............. +Bonus: +&&5&5&j&5&&5&& +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.m.m..m..m..m. +......p....... +..l........l.. +...s..p..s.... +..b.w...w..b.. +.............. +...}.....{.... +.............. +.............. +Level: +houghi +Try twice +Bricks: +xxxxxxxxxxxxxx +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.************* +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +pppppppppppppp +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +houghi +It is I, ... +Bricks: +a.a..a..a.a... +a.a.a.a.a.a... +a.a.a.a.a.a... +aaa.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 +!!!!.aaa.aaa.a +xxxx...a.a.a.a +yyyy.a.a.a.a.a +zzzz..a..a.a.a +.............. +.............. +.............. +Bonus: +*.*..*..*.*... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +....m......... +....m......... +<<<>>>.......... +.p.w..w..w.w.w +.............. +.............. +.............. +Level: +houghi +Two lines +Bricks: +@.....v......x +@.....v......x +@.....v......x +@.....v......x +@.....v......x +@.....v......x +@.....v......y +@.....v......y +@.....v......y +@.....v......y +@.....v......y +@.....v......y +@.....v......y +@.....v......z +@.....v......z +@.....v......z +@.....v......z +@.....v......z +Bonus: +......*......m +.............. +.............. +.............. +.............. +.............. +.............. +......!......! +......p......p +......!......! +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......w......w +Level: +houghi +Draw bridge +Bricks: +eeeeeeeeeeeeee +dddddddddddddd +hhhhhhhhhhhhhh +@@@@@@@@@@@@@. +#############. +.....v........ +.....v........ +.....v........ +.EEEEvEEEEEEEE +....EEE....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +5554433221100p +5554433221100p +jjjjjjjjjjjjjj +.............. +.............. +.....b........ +.....b........ +.....b........ +.....m........ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +houghi +Low Resolution +Bricks: +.#...#..#...#. +.#..#.#.#...#. +.#..#.#.#.#.#. +.##..#...#.#.. +.............. +..###.###..##. +..#.#.#...#... +#.#.#.##...#.. +..##..#.....#. +..#.#.###.##.. +.............. +EEEEEEEEEEEEEE +@@@@@@@@@@@@@@ +############## +xxxxxxxxxxxxxx +yyyyyyyyyyyyyy +zzzzzzzzzzzzzz +ffffffffffffff +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +houghi +Crossing +Bricks: +*.!........c.d +.*.!......c.d. +!.*.!....c.d.c +.!.*.!..c.d.c. +..!.*.!c.d.c.. +...!.*c!d.c... +....!c*d!c.... +....c!d*c!.... +...c.d!c*.!... +..c.d.c!.*.!.. +.c.d.c..!.*.!. +c.d.c....!.*.! +.d.c..##..!.*. +d.c..#@@#..!.* +.c....##....!. +c............! +.............. +.............. +Bonus: +.0.12......4.3 +0.0.12....4.3. +.0.0.12..4.3.. +1.0.0.124.3... +21.0.0.123.... +.21.0.1.12.... +..21.0.1.12... +...21.0.1.12.. +...421.0.0.12. +..4.321.0.0.12 +.4.3..21.0.0.1 +4.3....21.0.0. +.3......21.0.0 +3........21.0. +..........21.0 +...........21. +............21 +.............. +Level: +houghi +Stairs +Bricks: +@iihhggffd..*z +iihhggffdd.z.v +iihggffd...z#! +hhgggfd....v.. +hhggfdd.*..v.. +hhggfd...z.!.. +hggfd.*..v#!.i +ggfdd..z#!...i +gffd...v.....i +fdd.*.#!....ij +dd...z.....iij +..*..v.....ijk +...z#!...iijkk +*..v.....ijjkz +.z#!....ijjkzz +.v......ijkkzz +z!....iijjkzzz +v..zzzijjkkzzz +Bonus: +.............. +.............. +...........p.. +.............. +..........m... +..........m.b. +......p.....b. +..........bw.. +........bwb... +........b..... +.....bbwb..... +..p..l........ +...b..b....... +....bwb....... +.b..b......... +.lbwb......... +b.b........... +bwb........... +Level: +houghi +Stars in the dark +Bricks: +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +.............. +!.!.!.!.!.!.!. +.............. +.!.!.!.!.!.!.! +Bonus: +jjjjjjjjjjjjjj +jgjgjgjgjgjgjg +jjjjjjjjjjjjjj +gjgjgjgjgjgjgj +jjjjjjjjjjjjjj +jgjgjgjgjgjgjg +jjjjjjjjjjjjjj +gjgjgjgjgjgjgj +jjjjjjjjjjjjjj +jgjgjgjgjgjgjg +jjjjjjjjjjjjjj +gjgjgjgjgjgjgj +jjjjjjjjjjjjjj +jgjgjgjgjgjgjg +jjjjjjjjjjjjjj +gjgjgjgjgjgjgj +jjjjjjjjjjjjjj +jgjgjgjgjgjgjg +Level: +houghi +The end ... +Bricks: +@@@@@@@@@@@@@@ +.............. +v............v +v............v +vEEEvhhhhvEEEv +....v.cc.v.... +.c..vEEEEv..c. +.c..........c. +.cb........bc. +.cb........bc. +..ba......ab.. +..ba......ab.. +E..ak....ka..E +E..akhhhhka..E +#...kj..jk...# +#...kj..jk...# +#....j..j....# +#....j..j....# +Bonus: +.............. +.............. +*............* +.............. +....m....m.... +.............. +.*..........*. +.............. +.............. +.............. +.............. +..m........m.. +....p....p.... +.............. +.............. +....j....j.... +.............. +.....w..w..... diff --git a/project/jni/application/lbreakout2/client/levels/TrickShot b/project/jni/application/lbreakout2/client/levels/TrickShot new file mode 100644 index 000000000..552ef80b3 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Tricky b/project/jni/application/lbreakout2/client/levels/Tricky new file mode 100644 index 000000000..d7a1faace --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Tricky @@ -0,0 +1,616 @@ +Version: 1.00 +Level: +Lelldorin +Tricky1 +Bricks: +.............. +.............. +.............. +....iffffi.... +...ihfddfhi... +.iihggddgghii. +.............. +.............. +.............. +.............. +......EE...... +....E....E.... +..E........E.. +.E..........E. +E............E +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.....0<20..... +......--...... +..0+.>..>.+0.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky2 +Bricks: +.....kjjk..... +....kjjjjk.... +.....kjjk..... +..E...kk...E.. +..iE......Eg.. +..i.E....E.g.. +..i........g.. +..i........g.. +E.i........g.E +.Ei........gE. +..E...EE...E.. +.....EfhE..... +....E.hf.E.... +......fh...... +......hf...... +......EE...... +.............. +.............. +Bonus: +......+l-..... +.....4.0...... +.......>...... +......5....... +..w........w.. +...........1.. +..0........>.. +..>........0.. +.............. +..+........+.. +.............. +......w0...... +.......+...... +......0....... +......>f...... +.............. +.............. +.............. +Level: +Lelldorin +Tricky3 +Bricks: +ddd..gggg..ddd +ggg..hhhh..ggg +hhh...ii...hhh +iii........iii +jj..........jj +k............k +...#......#... +....#bbbb#.... +e....EaaE....e +ee...EaaE...ee +EE...EEEE...EE +..E........E.. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +<15...<<...51< +w....1--1....w +1.0........0.1 +.>..........>. +-............- +.............. +.............. +.....&ww&..... +0.....44.....0 +&+....ll....+& +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky4 +Bricks: +......dd...... +...b*bddb*b... +...bbbeebbb.E. +.E....ee....E. +.E....ff....E. +.E....ff....E. +.E....gg....E. +.E.!..gg..!.E. +.E....cc....E. +.E....cc....E. +.E....hh....E. +.E.!..hh..!.E. +.E....ii....E. +.E....ii....E. +..EEEEEEEEEE.. +.............. +E............E +.E..........E. +Bonus: +......--...... +..........2... +....+.l..+.... +.............. +......s....... +......2-...... +.............. +...0.......... +.............. +.......s...... +......-....... +..........0... +.......4...... +......ff...... +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky5 +Bricks: +j.f.g.hh.g.f.j +.f.g.h..h.g.f. +f.g.h.ii.h.g.f +.g.h.i..i.h.g. +.............. +EE..EE..EE..EE +.............. +.............. +.............. +vvEE..EE..EEvv +.............. +.............. +.............. +EE..EE..EE..EE +.............. +.............. +.............. +.............. +Bonus: +&.w...ls.<.w.& +.0...5..5...0. +l.>.+.00...+.s +.1..........1. +.............. +.............. +.............. +.............. +.............. + +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky6 +Bricks: +......EE...... +.............. +.............. +....E....E.... +.....E..E..... +.....E..E..... +.....E..E..... +.....E..E..... +.....EccE..... +.....EbbE..... +.....EaaE..... +.....EaaE..... +.....EaaE..... +.....EaaE..... +.....EaaE..... +.EE..EEEE..EE. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.......f...... +......21...... +......s+...... +.............. +......b>...... +......-....... +......3l...... +.............. +.............. +.............. +Level: +Lelldorin +Tricky7 +Bricks: +.............. +.v.v.v..v.v.v. +.E.E.E..E.E.E. +fE.EfE..EfE.Ef +EE.EEE..EEE.EE +.............. +.............. +.EE.EE..EE.EE. +.gE.Eg..gE.Eg. +.EE.EE..EE.EE. +.............. +.............. +v..v..vv..v..v +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +-...0....>...2 +.............. +.............. +.............. +.............. +.5...w..w...5. +.............. +.............. +.............. +0..+..>1..f..- +.............. +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky8 +Bricks: +.............. +.EE.EEE.EE.EE. +.fEffE..EffEf. +.EEEEE.EEEEEE. +.............. +.............. +.............. +.....E..E..... +....E....E.... +vv.E......E.vv +.v.EhE..EhE.v. +.v.EhE..EhE.v. +vv.EEE..EEE.vv +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.<..l....l..-. +.............. +.............. +.............. +.............. +.............. +.............. +->...........w +....s.......+. +.w..5....5..b. ++............- +.............. +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky9 +Bricks: +.............. +.E....EE....E. +.EeE.edde.EeE. +.EEE.EEEE.EEE. +.............. +.............. +v............v +.............. +.............. +..Ed......dE.. +...Ed.vv.dE... +....E.EE.E.... +v...E....E...v +vv..E....E..vv +EEE.EE..EE.EEE +.............. +.............. +.............. +Bonus: +.............. +.............. +..s...44...+.. +.............. +.............. +.............. +0............0 +.............. +.............. +.............. +....-.+f...... +.............. +0............. +w...........sw +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky10 +Bricks: +...Ef.EE.fE... +....EvEivE.... +.E....fE....E. +.E.v..Eh..v.E. +.E....iE....E. +.E....Ef....E. +.Ee...hE...eE. +.Ed...Ei...dE. +.Ee...fE...eE. +.Ed...EE...dE. +.Ee..j..j..eE. +.Ed.EEvvEE.dE. +.Ee..k..k..eE. +.EEEE.EE.EEEE. +.....hkkh..... +....EEEEEE.... +.............. +.............. +Bonus: +....>....>.... +........0..... +......1....... +.............. +......-....... +.......w...... +..0...0....... +.......-...... +..-........1.. +...........-.. +..1.....0..0.. +......l5...... +..+........+.. +.............. +......f<...... +.............. +.............. +.............. +Level: +Lelldorin +Tricky11 +Bricks: +......dd...... +.dd..deed..dd. +.eeeE.ff.Eeee. +.ee..fEEf..ee. +.e..ffEEff..e. +.d..EEvvEE..d. +.E...EvvE...E. +...E......E... +.............. +..E........E.. +..E........E.. +.............. +kE..........Ek +jE....EE....Ej +kE..........Ek +E............E +E............E +E............E +Bonus: +.......>...... +......l....<.. +.3.>...0..>... +............3. +....-0...-.... +.0....++....0. +......ww...... +.............. +.............. +.............. +.............. +.............. +s............f +<............< +5............l +.............. +.............. +.............. +Level: +Lelldorin +Tricky12 +Bricks: +Eh....kk....hE +Eh...EggE...hE +Eh...EEEE...hE +.E...keek...E. +.E...kffk...E. +.....EeeE..... +..E...ff...E.. +......ee...... +...E......E... +.............. +....EEdiEE.... +..vvEEidEEvv.. +.v....EE....v. +v.....EE.....v +.............. +.............. +.............. +.............. +Bonus: +.4.....-....w. +.+....l5....s. +.s..........-. +.....s........ +......w.0..... +.......-...... +......+....... +.............. +.............. +.............. +......-....... +..w+..0+...w.. +............-. +s............0 +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky13 +Bricks: +.............. +.....EeeE..... +.!...EeeE...!. +.....E@@E..... +......EE...... +......EE...... +..E.E.EE.E.E.. +......EE...... +......EE...... +hE.EfE##EfE.Eh +hE.EfE##EfE.Eh +hE.EfE##EfE.Eh +EE.EEEEEEEE.EE +......zz...... +.....z..z..... +..E........E.. +.............. +.............. +Bonus: +.............. +.......0...... +......5+...... +.............. +.............. +.............. +.............. +.............. +.............. +w...+........w +3...0....0...4 +l............l +.............. +......5>...... +.....-..f..... +.............. +.............. +.............. +Level: +Lelldorin +Tricky14 +Bricks: +@#@#@#@@#@#@#@ +EEEEEEEEEEEEEE +E..v..hh..v..E +e..E..hh..E..e +e...E.hh.E...e +e....EEEE....e +e............e +e.....dd.....e +E....EddE....E +...E..EE..E... +.E..........E. +....E....E.... +..Ev..EE..vE.. +.............. +...E.EvvE.E... +.............. +.............. +.............. +Bonus: +.............. +.............. +......0....... +......l4...... +.............+ +0............. +.............0 ++......0.....s +......wl...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Lelldorin +Tricky15 +Bricks: +..i........i.. +..iv......vi.. +.EEE......EEE. +.E..E....E..E. +.E..E....E..E. +.E...v..v...E. +.E....EE....E. +.E..........E. +.E..........E. +dE..........Ed +eE..........Ee +eE..........Ee +eE..........Ee +eE..........Ee +eE..........Ee +eE..........Ee +eE..........Ee +EE..........EE +Bonus: +..-........-.. +..+w......w+.. +.............. +.............. +.............. +.....3..3..... +.............. +.............. +.............. +.............. +>............> +.............. +.............5 +1............1 +.............. +<............< +5............l +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Twilight b/project/jni/application/lbreakout2/client/levels/Twilight new file mode 100644 index 000000000..999dd7f1d --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Twilight @@ -0,0 +1,1067 @@ +Version: 1.10 +Level: +Twilight +Bomb Klaus +Bricks: +c*cc**c*c*c*cc +c*cc*c*cc*cc** +cc*c*c*cc*ccc* +cc*c*cccc*c**c +c*cc*c*cc*c**c +c*cccc*c*c*cc* +.............. +.............. +.............. +@!@!@!!!!@!@!@ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +..cb?.~.b?g.5b ++W.~.f.5+~cf.. +f5W.?..b...b5. +..?.?+..gW+.?. +b5c..c.5..5..+ +...+...b.~..f. +.............. +.............. +.............. +.w...g>>b...w. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Twilight +Boooom on +Bricks: +############## +@.@..#d#...... +....#ddd#.*.@. +.@.#ddddd*.... +...#*ddd*#.@.@ +..#cc*d*dd#... +@.#cdd*ddd#.@. +..#d*****d#... +..#ddd*ddd#@.@ +.@#dd*d*dd#... +...#*ddd*#..@. +...#ddddd#.... +@...#ddd#..@.@ +.....#d#...... +......#....... +************** +.............. +.............. +Bonus: +.............. +......5....... +.....555...... +....m......... +......w.l..... +.............. +.............. +.............. +.............. +...m.....5.... +......w....... +......5.m..... +.............. +......5....... +.............. +2f.s2.f.2df2.s +.............. +.............. +Level: +Twilight +Cause I'm TNT +Bricks: +zzzzzzzzzzzzzz +z*z*z*zz*z*z*z +zvzvzvzzvzvzvz +.............. +.............. +.############. +..v.v.vv.v.v.. +.d.d.dddd.d.d. +...v.v..v.v... +.v..v.vv.v..v. +.............. +...d.d.....d.. +..d.d...dd..d. +.....ddd..d... +.ddd.dd...dd.d +.............. +.............. +dddddddddddddd +Bonus: +5...?.55...?l5 +.............. +..?......?.... +.............. +.............. +.............. +..?.2..2...... +...?.+....g... +.............. +.w.....s...... +.............. +...c.p........ +..2.g......... +.......2..c... +...........2.. +.............. +.............. +.fd..f.d..f..d +Level: +Twilight +Catch me, if you can +Bricks: +.............. +.............. +.....#.#...... +....##.##..... +...###c###.... +....##.##..... +.....#.#...... +.............. +.............. +.............. +.............. +************** +.............. +************** +.............. +************** +.............. +************** +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +c>c>c>l>c>c>c> +.............. +ddddd>5>dddddd +.............. +dd>dd>5>dd>ddd +.............. +dddddb5bdddddd +Level: +Twilight +Climb up... +Bricks: +ddd.......*d@. +dd*.!.....d#.. +d*d....!..#... +*dd.#....#.... +ddd#....#..... +dd#....#.***** +d#....#.!*ddd* +@....#...***** +.!............ +......!....... +.............. +.......#.....@ +..!...#.....#. +.....#..!..#.. +....#.....#... +...#.....#.... +..#.....#..... +@#............ +Bonus: +..........??.. +....m.....?... +.......w...... +.............. +.............. +55............ +5.......+.>5>. +.............. +.5b...b....... +......+....... +.............. +.............. +.bs........... +........wb.... +.............. +.............. +.............. +.............. +Level: +Twilight +Hommage to Ultima online +Bricks: +...hdddddh.... +...hhdddhh.... +.##hhdddhh##.. +...hhdddhh.... +...hhdddhh.... +...hhdddhh.... +.##hhdddhh##.. +....hhdhh..... +ccccchhhcccccc +....hhdhh..... +...hhdddhh.... +...hhdddhh.... +.##hhdddhh##.. +...hhdddhh.... +...hhdddhh.... +....hhdhh..... +.....hhh...... +......h....... +Bonus: +...W.?5.lw.... +....W......... +.22.....b.22.. +...>.p.p...... +...{?...??.... +.....s........ +.22.b..W{.22.. +......?.d..... +.<>..5+5..><.> +.............. +...c>d.s.c.... +...b...?...... +.22..{...?22.. +...+Wjcb.+.... +....?...>..... +........c..... +.............. +......w....... +Level: +Twilight +Faster ! +Bricks: +@@@@@@@@@@@@@@ +jjjjjjjjjjjjjj +jdddjdjjdjdddj +jdjjdjddjdjdjj +jdjjdjddjjjdjj +jddjdjdjdjjdjj +jdjjdddjjdjdjj +jdjjdjddjdjdjj +jdjjdjdjdjjdjj +jjjjjjjjjjjjjj +.............. +.............. +vvvvvvvvvvvvvv +cccccccccccccc +bbbbbbbbbbbbbb +aaaaaaaaaaaaaa +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......?....... +......l....... +b.g...5....g.b +......w....... +.............. +.............. +&&&&&&&&&&&&&& +&&&&&&&&&&&&&& +>>>>>>>>>>>>>> ++>>>+>>>+>>>+> +.............. +.............. +Level: +Twilight +The Finals +Bricks: +.....j##j..... +....jjjjjj.... +...jj##jjj#... +...j####j##... +..#j####j###.. +..#j####j###.. +..jj!##jjj##.. +..jjjjjjjjjj.. +..#jjj##jjj#.. +..##j####j##.. +..##j####j##.. +..##j####j#j.. +...jjj##jjj... +...jjjjjjjj... +....jjj##j.... +.....j###..... +.............. +.............. +Bonus: +.............. +......?*.?.... +...??..?...... +.....55.+.5... +.....55.?.55.. +.....55...55.. +...?...2.?.... +.....?22...... +.....w...?.... +..5.p.55...5.. +..5...55...5.. +..5...55.+.... +....??........ +...?...?.?.... +.............. +.......55..... +.............. +.............. +Level: +Twilight +A plus! +Bricks: +ffffff##ffffff +fffffc##cfffff +fffff####fffff +f#ffccccccff#f +f#ffccccccff#f +###f##ff##f### +f#fcccffcccf#f +f#fcccffcccf#f +fff##ffff##fff +ffcccffffcccff +ffcccffffcccff +ff##ffffff##ff +fcccc####ccccf +fcccc####ccccf +f##cc####cc##f +cccffffffffccc +cccffffffffccc +##ffffffffff## +Bonus: +m....5..5....m +.???.l..l.???. +.............. +5.?.*c++c*.?.5 +5.?...!!...?.5 +.5....??....5. +?.?sbc??cbs?.? +?.?.+.??.+.?.? +......??...... +..?...w.>>.w...> +......??...... +?*b?c0000c?b*? +?...+0000+...? +...>p0000p>... +.<..........<. +5.w........w.5 +.............. +Level: +Twilight +10 +Bricks: +##..........## +.............. +!............! +...gg..gggg... +##.gg..gggg.## +...gg..gzzg... +!..gg..gzzg..! +...gg..gzzg... +##.gg..gzzg.## +...gg..gzzg... +!..gg..gzzg..! +...gg..gzzg... +##.gg..gzzg.## +...gg..gggg... +!..gg..gggg..! +.............. +##..........## +.............. +Bonus: +.............. +.+..........+* +.............. +*..c...w?.?... +....?...?c.... +.+.w...?l.?.+. +...gc..b.b.... +...?p......... +.......???w... +.+.?......*.+g +...?....j?.... +...c.....?g... +...b...w..c... +g+..w.......+. +........??.... +*............* +.............. +.............. +Level: +Twilight +Expect no Help! +Bricks: +@@@@@@@@@@@@@@ +@............. +@.eee.eee.eee. +@.e!e.e!e.e!e. +@.eee.eee.eee. +@.eee.eee.eee. +@.e!e.e!e.e!e. +@.eee.eee.eee. +@.eee.eee.eee. +@.e!e.e!e.e!e. +@.eee.eee.eee. +@.eee.eee.eee. +@.e!e.e!e.e!e. +@.eee.eee.eee. +@.eee.eee.eee. +@.e!e.e!e.e!e. +@.eee.eee.eee. +@............. +Bonus: +55555555555555 +5............. +5..0....0...0. +5.........00.. +5..0.......... +5.0.0.......0. +5.0....0....0. +5.....0....... +5..0.......0.. +5..?..0?...?.. +5.0...0...0... +5.0.......00.. +5......0...... +5.0.0.......0. +5..0.......... +5......00.00.. +5...0.....0... +5............. +Level: +Twilight +Fun in the Sun! +Bricks: +hhhh..h....... +hhhhhh........ +hhhh.........i +hhh.h.......gi +hhh..h.....igg +hh.h..h...giig +hh..h....iig.i +hh...h...gi..# +h.h......i...# +h..h.........# +h............# +.............# +.............# +.............j +............j# +.......jjjjj.# +......j.j..j.# +gggggyyyyyyyyy +Bonus: +?..c..l....... +wb.j?......... +.>-........... +?...........g< +..?..?......fg +.{........gb.g +>...?.....?g.p +.?.......g.... +.............. +.............. +c............. +.............. +.............. +.............w +.............. +.......-..-?.. +........?..+.. +.f.f.......... +Level: +Twilight +Just drink it! +Bricks: +j....eeee....j +j....evve....j +##...@jj@...## +j....@jj@....j +j....@jj@....j +j##.@jjjj@.##j +j...@hhhh@...j +j...@hhhh@...j +j.##@hhhh@##.j +j...@hhhh@...j +j...@hhhh@...j +j##.@hhhh@.##j +j...@hhhh@...j +j...@hhhh@...j +##..@hhhh@..## +j...@hhhh@...j +j....@@@@....j +j##........##j +Bonus: ++............+ +......mm...... +......gg...... +c.....gg.....c +.............. +w............w +b....??......b +b......??....b +b.......?....b +b....?.......b +b.....?......b +w......?.....w +........?..... +.....?........ +.......?...... +......?....... +.............. +.............. +Level: +Twilight +Feed the Donkey! +Bricks: +ee@@@@@@@@@ee@ +eee.......eee@ +eee.......eee@ +@.ee.....ee..@ +@..e.eee.e...@ +@@@@eeeee@@@@@ +@..eeeeeee...@ +@..ejjejje...@ +@..ejjejje...@ +@..eeeeeee...@ +@..eeeeeee...@ +@..eeeeeee...@ +@..eeeeeee...@ +@@@@edede@@@@@ +@...eddde....@ +@....dde.....@ +@...ddd......@ +@@@@dd@@@@@@@@ +Bonus: +...........mb. +...........+.. +mb............ +..........*... +.............. +....w..*...... +.....+........ +...p.......... +.....l.b...... +.............. +.......+.w.... +.............. +...b.....b.... +.....*j....... +....w......... +.....+........ +.............. +.............. +Level: +Twilight +Try one more ball! +Bricks: +*z#jjjjjjjjjjj +*z#jjjjjjjjjjj +*z#j#########j +*z#jaaaaaaaa@j +*z#jaaaaaaaa@j +*z###########j +*zjjjjjjjjjjjj +*zjjjjjjjjjjjj +*z###########j +*z#jdddddddd@j +*z#jdddddddd@j +*z#j#########j +*z#jjjjjjjjjjj +*z#jjjjjjjjjjj +*z#j#########j +*z#jhhhhhhhh@j +*z#jhhhhhhhh@j +*z############ +Bonus: +bb.??????????? +bb............ +bb............ +bb............ +bb............ +bb............ +bb............ +bb............ +bb............ +bb............ +bb............ +bb............ +bb.!!!!!!!!!!! +bb.{{{{{{{{{{{ +ww............ +ww............ +ww............ +ww............ +Level: +Twilight +No Speed no fun! +Bricks: +.v...v*..vv..v +vvvv....v...v. +..**.*vv.v*.v. +.vv*v*v.*..*vv +*..v..v*.v.v.. +..vvv..v..*.v* +..v.v*.v.v...* +..vv.*v.*.v*.. +.*vvv......... +v*...v...v.... +..vv..*v.vv.vv +.v.v..*..v.*.. +.....*.v*..vv. +v**vv*..*.vvv. +..*.v...vv...v +.v*..vvvv*.vvv +vvvvv.......vv +.vv........... +Bonus: +.>...>d..>>..> +>>>>....>...>. +..dd.d>>.>+.>. +.>>d>d>.d..d>> +d..>..>d.>.>.. +..>>>..>..d.>l +..>.>d.>.>...d +..>>.d>.d.>d.. +.+>>>......... +>d...>...>.... +..>>..d>.>>.>> +.>.>..d..>.d.. +.....d.>d..>>. +>dd>>d..d.>>>. +..d.>...>>...> +.>d..>>>>d.>>> +>>>>>.......>> +.>>........... +Level: +Twilight +Try two more balls ! +Bricks: +ghhhhhhhhhhh#g +hhhhhhhhhhhh## +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +Bonus: +mbbbbbbbbbbb55 +bbbbbbbbbbbb55 +bbbbbbbbbbbb55 +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +bbbbbbbbbbbbbb +>>>>>>>>>>>>>> +wwwwwwwwwwwwww +Level: +Twilight +V minus! +Bricks: +##ffffffffff## +cccffffffffccc +cccffffffffccc +f##ffffffff##f +fcccffffffcccf +fcccffffffcccf +ff##ffffff##ff +ffcccffffcccff +ffcccffffcccff +fff##ffff##fff +fffcccffcccfff +fffcccffcccfff +###f##ff##f### +ffffccccccffff +ffffccccccffff +fffff####fffff +fffffc##cfffff +ffffff##ffffff +Bonus: +..l..c.....l.. +5?m........m?5 +.?..........?. +.............. +..?.s0000cw?.. +..?.j0000!.?.. +c............. +...?...c..?.c. +..w?......?..p +.............. +....?0..0?+... +.?..?0..0?..?. +......c....... +.?..+????...?. +..p..????..... +.............. +c............. +.............. +Level: +Twilight +Not as hard as it looks ! +Bricks: +cccccccccccccc +cccccccccccccc +cc##########cc +cc....vv....cc +cc....vv....cc +######vv###### +cccccccccccccc +cccccccccccccc +cc##########cc +cc....vv....cc +cc....vv....cc +######vv###### +cccccccccccccc +cccccccccccccc +cc##########cc +cc....vv....cc +cc....vv....cc +######vv###### +Bonus: +...*..ll..*... +.*...*mm*...*. +.b..........b. +.*....55....*. +......bb...... +.............. +ccc*ccbbcc*ccc +c*ccc*cc*ccc*c +.............. +.*....ss....*. +......bb...... +......<<...... +ccc*ccbbcc*ccc +c*ccc*ww*ccc*c +.............. +.*....++....*. +......ww...... +.............. +Level: +Twilight +Deja Vu? +Bricks: +c*c#c*c#c*c#c* +c*c@c*c@c*c@c* +c#c#c#c#c#c#c# +c#j#c#c#j#c#c# +c@j#c@c#j@c#c@ +c#j#j#c#j#j#c# +c#j#j#j#j#j#c# +c@j#j@j#.@j#j@ +j#j*j#j*.#j*j# +j#j*j#j*.#j*j# +j@.#j@j#.@j#j@ +j#.#j#j#.#j#j# +j#.#j#.#.#j#j# +j@.#j@.#.@j#j@ +j#.#.#.#.#.#j# +j#.#.#.#.#.#j# +.*.@.*.@.*.@j* +.*.#.*.#.*.#j* +Bonus: +?.?.?m?.?m?.?. +?w?.?.?.?.?.?w +?.?.?.?.?.?.?. +?.f.?.?.f.?.?. +?.f.?.?.f.?.?. +?.f.f.?.f.f.?. +?.f.f.f.f.f.?. +?.f.f.f...f.f. +f.flf.fl..flf. +f.f5f.f5..f5f. +f...f.f...f.f. +f...f.f...f.f. +f...f.....f.f. +f...f.....f.f. +f...........f. +f...........f. +.p...+...w..f+ +.w...w...w..fw +Level: +Twilight +You like chaos? +Bricks: +...#e#e#e#.... +dddddddddddddd +ffffffffffffff +....#ccc#..... +....#c*c#..... +...#######.... +.............. +#.#.#.##.#.#.# +gggggggggggggg +.#ccc#..#ccc#. +.#c*c#..#c*c#. +.#####..#####. +hhhhhhhhhhhhhh +#j#j#j#j#j#j#j +************** +.............. +.............. +.............. +Bonus: +....!.l.!..... +.............. +bbb..m..m..bbb +.....555...... +.....>>>...... +.............. +.............. +.............. +cccccccccccccc +..???....???.. +..?.?....?.?.. +.............. +cccccccccccccc +.............. +fwfwfwfwfwfwfw +.............. +.............. +.............. +Level: +Twilight +Recursion ! +Bricks: +aaaaaaaaaaaaaa +adddadddadddad +adddadddadddad +aaaaaaaaaaaaaa +eeaeeeaeeeaeee +eeaeeeaeeeaeee +aaaaaaaaaaaaaa +.............. +.............. +.............. +.....j........ +....jjj....... +.....j........ +.............. +.............. +.............. +......deed.... +......deed.... +Bonus: +?????????????? +?????????????? +j?????j???j??j +??j??????????? +pp..>.b.>pl.b. +..b..>......b. +...b....b....> +.............. +.............. +.............. +.....w........ +.....w........ +.............. +.............. +.............. +.............. +.......++..... +.............. +Level: +Twilight +Bullseye ! +Bricks: +.....aaaa..... +....a####a.... +...a#eeee#a... +..a#ehhhhe#a.. +.a#eh....he#a. +a#eh.#jj#.he#a +eeh.#****#.hee +hh.#j*cc*j#.hh +...@j*cc*j@... +jj.#j*cc*j#.jj +a#j.#****#.j#a +.a#j.#jj#.j#a. +..a#j....j#a.. +...a#jjjj#a... +....a#@@#a.... +.....aaaa..... +.............. +.............. +Bonus: +.....c..+..... +.....0000..... +...+0...b0s... +...0.wb...0... +..0?s....+?0.. +?0...0550...0c +..c.0....0.... +.+.05.ll.50.w. +...05.mm.50... +s..05.++.50.b. +.0..0....0..0s +.b0..0550..0.. +..+0.....j0... +....0c.?.0+... +.....0000..... +......w.s..... +.............. +.............. +Level: +Twilight +No sun at all! +Bricks: +bcEEEEEccabbbc +bcEaabbbcEbbcc +bbEaaEEbEEbbca +cbccccEaEbbcEE +caEacg.abbcEEc +.cag...g.ccaac +......g...cccc +.g.g.gg..gg... +g...gg.g...g.. +g.g...g.g..g.g +....g...gg..g. +g.g...g...g.g. +g....g.g.g...g +gg.g....g..g.g +..........g.gg +.g.gg.g.g..... +.gg.....ggg.g. +.gg.g.g..g.... +Bonus: +?.........???. +?..?????..??.. +??.??..?..??.? +.?.....?.??... +.?.?...???.... +..?........??. +......?....... +.............. +?...??.....?.. +..?........... +........??..?. +?.?...?....... +?......?.?...? +?.......?....? +..........?..? +.?.??.?....... +..?.....??.... +.?............ +Level: +Twilight +Snake! +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#. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +......mw...... +......m.w..... +......5....... +......5....... +......5....... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Twilight +Cya ! +Bricks: +vvvvvvvvvvvvvv +vvvveevvvvvvvv +vveeevvvvvvvvv +veevvvvvvvvvvv +vevvvvvvvveevv +vevvvvvvvevvev +vevvvvvvvevvev +vevevvvveevvev +veveevvveevvev +vevvevvveevvev +vevveevveevvev +veevveveeeeeev +vveeeevevevvev +vvvvveeevevvev +vvvvvveevevvev +vvvvvvevvvevee +vvevveevvvvvve +vvveeevvvvvvvv +Bonus: +55555555555555 +5555**55555555 +55***555555555 +5**55555555555 +5*55555555**55 +.*.......*..*. +.*.......*..*. +.*.*....**..*. +.*.**...**..*. +.*..*...**..*. +.*..**..**..*. +.**..*.******. +..bbbb.b.b..b. +.....bbb.b..b. +......ww.w..w. +......w...w.ww +..w..ww......w +...www........ diff --git a/project/jni/application/lbreakout2/client/levels/Vader b/project/jni/application/lbreakout2/client/levels/Vader new file mode 100644 index 000000000..fb396f052 --- /dev/null +++ b/project/jni/application/lbreakout2/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..<.~.>.~.>.~.> +.w...........w +5............. +5.d.d.d.d.d.d. +5............. +5.f.f.f.f.f.f. +5............. +.b.b.b.b.b.b.b +5............. +5.d.d.d.d.d.d. +5............. +5.{.{.{.{.{.{. +5............. +.?.?.?.?.?.?.? +.............. +.............. +.............. +Level: +Mench +PineApple +Bricks: +@@@ff@@@@ff@@@ +@@fyyf@@fyyf@@ +@fyffyffyffyf@ +fyfxxfyyfxxfyf +yfx##xffx##xfy +fx####xx####xf +x####hhhh####x +@###hhhhhh###@ +@##hhhhhhhh##@ +@#hhxfhhfxhh#@ +@#hhfxhhxfhh#@ +@#hhhhhhhhhh#@ +@#hhhhhhhhhh#@ +@#hhhhhhhhhh#@ +@#hhhhhhhhhh#@ +@##hhhhhhhh##@ +@###hhhhhh###@ +@@@@@hhhh@@@@@ +Bonus: +...55....55... +..5..5..5..5.. +.5.55.55.55.5. +5.5.g5pp5g.5.5 +.5...b55b...5. +5.....bb.....5 +.....llll..... +....~~~~~~.... +.............. +..g.b5<<5b.g.. +....5bffb5.... +...WfWWWWfW... +.............. +.............. +..~~~~~~~~~~.. +...c++gg++c... +....{{gg{{.... +.....d>>d..... +Level: +Mench +Bunny Chow +Bricks: +vxxEEEEEEEExxv +.............. +..vv@@xx@@vv.. +.v..vEvvEv..v. +.....vvvv..... +.....@xx@..... +xE..@xvvx@..Ex +.@.@x*vv*x@.@. +.@.@xvvvvx@.@. +xE.@xvxxvx@.Ex +.@.@xvvvvx@.@. +.@..@xvvx@..@. +xE...@xx@...Ex +....EEEEEE.... +......vv...... +EEE........EEE +.............. +.............. +Bonus: +*>b........b>* +.............. +..55..>>..55.. +.5..5.WW.5..5. +.....5WW5..... +.....0550..... +~...055550...~ +...05W55W50... +...05555550... +~..055>>550..~ +...05555550... +....055550.... +~.....55.....~ +.............. +......dd...... +.............. +.............. +.............. +Level: +Mench +Longhorn +Bricks: +@@@@@@@@@@@@@@ +@v...!!!!...v@ +@v...!!!!...v@ +@v...@vv@...v@ +@v...@vv@...v@ +@v...@xx@...v@ +@v...@@@@...v@ +@vvv......vvv@ +@EEv......vEE@ +@@Ev......vE@@ +@@Ev......vE@@ +@@EvvvvvvvvE@@ +@@EEEEvvEEEE@@ +@@@@@EvvE@@@@@ +@@@@@EvvE@@@@@ +@@@@@EvvE@@@@@ +@@@@@EvvE@@@@@ +@@@@@@vv@@@@@@ +Bonus: +.............. +.*..........*. +.p..........p. +......55...... +.w....55....w. +.b....55....b. +.b..........b. +.ccc......ccc. +.............. +...~......~... +.............. +...gddllddg... +......ff...... +......ff...... +......44...... +......>>...... +......>>...... +......>>...... +Level: +Mench +Bucket +Bricks: +*v...@@@@...v* +vv..........vv +..vvvvvvvvvv.. +..vvvvvvvvvv.. +..vv!!!!!!vv.. +..vv@!!!!@vv.. +..vv@!!!!@vv.. +..vv#!!!!#vv.. +..vv@!!!!@vv.. +..vv#!!!!#vv.. +..vv@!!!!@vv.. +..vv#!!!!#vv.. +..vv@!!!!@vv.. +..vv#!!!!#vv.. +..vv@!!!!@vv.. +..vvEEEEEEvv.. +.............. +.............. +Bonus: +5g..........g5 +g............g +..fb*>.b.*.f.. +...>.......>.. +..........b... +..b........... +.....gg...>b.. +...b.g.dd..... +.......dw.b... +..{....dd..... +..>>.f>f..>{.. +.....~w~...... +.....f~f...... +..b........>.. +.....5555..... +..{d......d{.. +.............. +.............. +Level: +Mench +2 Easy +Bricks: +vxvxvxvxvxvxvx +.............. +*!*!*!*!*!*!*@ +@*@*@*@*@*@*@* +*!*!*!*!*!*!*! +@*@*@*@*@*@*@* +*!*!*!*!*!*!*! +@*@*@*@*@*@*@* +*!*!*!*!*!*!*! +@*@*@*@*@*@*@* +*!*!*!*!*!*!*! +@*@*@*@*@*@*@* +*!*!*!*!*!*!*@ +vvvvvvvvvvvvvv +xxxxxxxxxxxxxx +vvvvvvvvvvvvvv +.............. +.............. +Bonus: +.l.l.l.l.l.l.l +.............. +*!*!*!*!*!*!*. +.............. +.............. +.............. +W.W.W.W.W.W.W. +.~.~.~.~.~.~.. +>.>.>.>.>.>.>. +.b.b.b.b.b.b.b +f.f.f.f.f.f.f. +.{.{.{.{.{.{.{ +dgdgdgdgdgdgd. +cccccccccccccc +bbbbbbbbbbbbbb +cccccccccccccc +.............. +.............. +Level: +Mench +Time +Bricks: +EEEE@@@@@@EEEE +EEE@vvvvvv@EEE +EE@vvv@vvvv@EE +E@vvvv@vvvvv@E +@vvvvv@vvvvvv@ +@vvvvv@vvvvvv@ +@vvvvv@vvvvvv@ +@vvvvv@vvvvvv@ +@vvvvv@vvvvvv@ +@vvvvvv@vvvvv@ +@vvvvvvv@vvvv@ +@vvvvvvvv@vvv@ +@vvvvvvvvv@vv@ +E@vvvvvvvvvv@E +EE@vvvvvvvv@EE +EEE@vvvvvv@EEE +EEEEddddddEEEE +.............. +Bonus: +.............. +....5>5df*.... +....>*.5555... +..>d.d.fdfd... +...~>..d.~.d.. +.>*..>.*{.f~f. +.~>d....f...*. +...~>..f.~fd~. +.>5.d~.5d.w*.. +.d{~.....5d.f. +..d.5>.5.f.d{. +.>.>.d~d..f... +.{5...5.>{.5f. +..f5f.f5f.f5.. +...d5d5d5dd... +....*g{g*g.... +......{.c..... +.............. +Level: +Mench +Layers +Bricks: +xyzxyzEEEEEEEE +@xyzxyzEEEEEEE +dexyzxyzEEEEEE +gd@xyzxyzEEEEE +hgdexyzxyzEEEE +jhgd@xyzxyzEEE +kjhgdexyzxyzEE +fkjhgd@xyzxyzE +@fkjhgdexyzxyz +@@fkjhgd@xyzxy +@@@fkjhgdexyzx +@*@@fkjhgd@xyz +@**@@fkjhgdexy +@*v*@@fkjhgd@x +@*vv*@@fkjhgde +@*vvv*@@fkjhgd +@******@@fkjhg +@@@@@@@@@@fkjh +Bonus: +.p.p.l........ +.4???4........ +.??!!??p...... +4...??d?...... +d.???d???..... +..?.?!!~?.p... +pp????4???.4.. +..?4??~????~.. +b!d??.???!!?.. +bbd!??.?!d4.~p +dbb!!~??.!?!?. +~5bb!!?!??.4p? +d55bb.4.!.!4d? +~555bbd?p.4d.? +d5555bbd.?dd?d +~55555bbd4??pm +d555555bb.dddd +~d~d~d~dbbcccc +Level: +Mench +Confusion +Bricks: +@@@@@@@@@@@@@@ +@ve.!!@@!!.ev@ +@ze.!!@@!!.ez@ +@ze.!!@@!!.ez@ +@ze@@@@@@@@ez@ +@ze.**@@**.ez@ +@ze.**@@**.ez@ +@ve.**@@**.ev@ +@@@@..@@..@@@@ +@v!@g@@@@g@!v@ +@!!@.g@@g.@!!@ +@!!@g@@@@g@!!@ +@!!@.g@@g.@!!@ +@!!@g@@@@g@!!@ +@@..........@@ +@............@ +@............@ +@............@ +Bonus: +.............. +.b..55..55..b. +.l..55..55..l. +.<..55..55..<. +...>..WW. +.b~.f....f.~b. +.!d..>..>..d!. +.dd.w....w.dd. +.............. +.............. +.............. +.............. +Level: +Mench +Peppermint +Bricks: +@@@@@@@@@@@@@@ +zx...vxxv...xz +zx...xvvx...xz +@!...@@@@...!@ +zx...xvvx...xz +@!...vxxv...!@ +zx..z@@@@z..xz +@!..@yyyy@..!@ +zx.!x....x!.xz +@!.!x....x!.!@ +zx..@.xx.@..xz +@!..@....@..!@ +zx!x@....@x!xz +@z@z@y..y@z@z@ +.............. +.............. +.............. +.............. +Bonus: +.............. +.....d55d..... +.....5bb5..... +.............. +d....5bb5....d +.....d55d..... +d&..?....?..&d +.....>....~? +.~..........~. +!{~{......{~{! +.f.f.f..f.f.f. +.............. +.............. +.............. +.............. +Level: +Mench +Top Vs Bottom +Bricks: +EEEEExxxxEEEEE +EEEExyyyyxEEEE +EEExyzzzzyxEEE +EExyzzzzzzyxEE +ExyyyyyyyyyyxE +xxxxxxxxxxxxxx +.....EEEE..... +......vv...... +!*!*.@@@@.*!*! +!*!*..zz..*!*! +.....EEEE..... +vvvvvvvvvvvvvv +@vvvvvvvvvvvv@ +@@vvvvvvvvvv@@ +@@@vvvvvvvv@@@ +@@@@vvvvvv@@@@ +@@@@@vvvv@@@@@ +.............. +Bonus: +.....5dd5..... +....5d..d5.... +...5d....d5... +..5d..<<..d5.. +.5dfd>dd>d>~.. +...0f0ff0f0... +....>dddd>.... +.....bWWb..... +.............. +Level: +Mench +Smiley +Bricks: +@vvvvvvvvvvvv@ +v....iiii....v +v...iivviii..v +v..iivvvvvi..v +v..ivvvvvvii.v +v..iv**v**vi.v +v..iv**v**vi.v +@..ivvvvvvvi.@ +v..i.vv@vv.i.v +v..i...@...i.v +v..i.......i.v +v..ii!!!!!ii.v +v...i.....i..v +v...ii...ii..v +v....iiiii...v +@............@ +.............. +.............. +Bonus: +.************. +w....dddd....d +w...dd**ddd..d +w..dd55555d..d +w..d5555555d.d +w..p5..p..5p.d +w..d5..p..5d.d +...d5555555p.. +d..d.55.55.d.w +d..p.......d.w +d..d.......d.w +d..ddbbbbbdd.w +d...j.....p..w +d...dd...dd..w +d....ddddd...w +.............. +.............. +.............. +Level: +Mench +Dark Days +Bricks: +@zzzzzzzzzzzz@ +@.@..vvvv..@.@ +@.v..@@@@..v.@ +@.v..xxxx..v.@ +@.v..xxxx..v.@ +@.@..xxxx..@.@ +@.z..xxxx..z.@ +@.z..x@@x..z.@ +@.z..@vv@..z.@ +@.z..vvvv..z.@ +E.EEEEvvEEEE.E +xxxxxxxxxxxxxx +************** +yyyyyyyyyyyyyy +************** +zzzzzzzzzzzzzz +************** +.............. +Bonus: +.bbbbbbbbbbbb. +.............>.. +..>..dddd..>.. +..>..d55d..>.. +.....d55d..... +..d..d55d..d.. +..d..d..d..d.. +..d...WW...d.. +..d..WllW..d.. +......WW...... +fdddddffdddddf +.............. +?{{{{{ff{{{{{? +.............. +?>>f>f??f>f>>? +dddddddddddddd +.............. +Level: +Mench +???????? +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +xxxxxxxxxxxxxx +z.vvvvvvvvvv.z +z.vvzzzzzzvv.z +z*vvz*zz*zvv*z +z.vv@@@@@@vv.z +z.v........v.z +z.v........v.z +z*v........v*z +z.v........v.z +EEEEEvvvvEEEEE +.............. +.............. +.............. +Bonus: +?????????????? +?????????????? +?????????????? +?????????????? +?????????????? +?d?d?d?d?d?d?? +?.5555555555.? +?.5.dcdddc55.? +?.5.cddddc.5.? +?.5b......b5.? +?.5........5.? +?.5........5.? +?.w........w.? +?.s........s.? +.....>>>>..... +.............. +.............. +.............. +Level: +Mench +Blue Wall +Bricks: +ExEyExEyExEyEx +!x!y!x!y!x!y!x +!x!y!x!y!x!y!x +!x!y!x!y!x!y!x +!x!y!x!y!x!y!x +!x!y!x!y!x!y!x +ExEyExEyExEyEx +ExEyExEyExEyEx +@xEyEx@yExEy@x +@xEyEx@yExEy@x +ExEyExEyExEyEx +.v.v.v.v.v.v.v +v.v.v.v.v.v.v. +.v.v.v.v.v.v.v +.............. +.............. +.............. +.............. +Bonus: +...d.d.d.d.... +WpWpWpWpWpWpWp +.}.p.{.p.p.p.p +cwc!cwc!cwc!cw ++b+b+blblblblb +fbfbfbfbmbfbfb +.?.{.?.?.?.d.? +.?.?.?.?.{.?.? +.d.d.d.d.d.d.d +.f.{.f.{.f.{.f +.w.w.w.w.w.w.w +.>.b.~.b.d.>.d +f.c.d.c.d.{.f. +.j.b.j.b.~.>.j +.............. +.............. +.............. +.............. +Level: +Mench +U cant c me +Bricks: +@@@@@....*vvvv +@v......#.*vvv +@vv....*...*v# +@vvv..#.....*. +@vvvv*.....#.v +vvvv#.....*.v. +vvv*.....#.v.. +vv#.....*.v... +v*.....#.v.... +#.....*.v..... +vvv..#.v...... +vvv.*.v....... +vvv#.v........ +vv*.v......... +v#.v.......... +*.v........... +.v............ +v............. +Bonus: +..........5555 +.5........?... +..5....?....b. +...5........?. +....b........> +..........?.>. +...?.......>.. +.b........>... +b........>.... +......?.>..... +555....>...... +555...>....... +555..>........ +55?.>......... +5..>.......... +..>........... +.>............ +>............. +Level: +Mench +Off Centre +Bricks: +c@yyyy@yyyyy@c +cE....E.....Ec +x.dddddddddd.x +x..E......E..x +x..@......@..x +x....***.....x +x....*!*.....x +xE...!E!....Ex +x@...*@*....@x +x...*****....x +x..*..!..*...x +!!!E..!..E!!!! +...@..!..@.... +......!....... +......!....... +.E....E.....E. +.@....@.....@. +.............. +Bonus: +l..5......5..l +s............s +......*....... +?............? +.............. +5....b.b.....5 +5.....p......5 +.............. +.............. +!...?.w.?....! +w.....d......w +ddd...f...dddd +......f....... +......p....... +......f....... +.............. +.............. +.............. +Level: +Mench +Black & Blue +Bricks: +xcc!E!!!!E!ccx +c..!E****E!..c +c..!E****E!..c +c..!!!!!!!!..c +c..!EEEEEE!..c +c..vvvxxvvv..c +c..vvv@@vvv..c +xvvvvv@@vvvvvx +EEEEvv@@vvEEEE +idefvv@@vvfedi +def.vv@@vv.fed +ef..vvxxvv..fe +f..vEEEEEEv..f +...v......v... +...v......v... +@@@v......v@@@ +.............. +.............. +Bonus: +bgg........ggb +>....~W~W....> +>....W~W~....> +>............> +>............> +>.....df.....> +>.....dd.....> +b.....ld.....b +{...g.dd.g.... +{dbgg.fl.ggbd{ +{db.g.dd.g.bd{ +{d..g.ld.g..d{ +{..d......d..{ +...d......d... +...m......m... +d~dW......Wd~d +.............. +.............. +Level: +Mench +8 tiles +Bricks: +@.!........!.@ +@.#........#.@ +@.#........#.@ +@.!...!!...!.@ +@@@!@@@@@@!@@@ +......@@...... +.............. +.............. +@...@....@...@ +.............. +.............. +.............. +..@...@@...@.. +.............. +.............. +.............. +.............. +.............. +Bonus: +..?........?.. +.............. +.............. +..w...bb...w.. +...b......b... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Mench +Rain +Bricks: +@@*!*@@@@@@@@@ +@!!*!*!!!!!!!@ +@!*!*!*!!!!!!@ +@!!*!*!*!!!!!@ +@!!!*!*!*!!!!@ +@!!!!*!*!*!!!@ +@!!!!@*!*!*!!@ +@!!!!@!*!*!*!@ +@!!!!@!!*!*!*@ +@!!!!@!!!!!zzz +@!!!!@!!!!!zzz +@!!!!@!!!!!zzz +@!!!!@!!!!!zzz +@!!!!@!!!!!zzz +@@@@@@@@@@@@@z +@@@@@@@@@@@@@z +.............. +.............. +Bonus: +..dgd......... +.gglf~g{dd.Wb. +..bdlf~g555.-. +.5?bdlf~{d*5.. +.-d{gdlf~dd.5. +.5.5{bdlf~.-*. +..{-..gdlf~... +.W?5d..bglf~.. +.d55d.-5b{l... +..5W{..W{-.{{{ +.*-{..d..55ff> +....-.+-5{.>.W +..*d..d*..-.{f +.b..?.d.-*.>>b +.............w +.............b +.............. +.............. +Level: +Mench +Rainbow +Bricks: +zzzz@@@@@@zzzz +fghje....ejhgf +fghje....ejhgf +fghje....ejhgf +fg!*E.vv.E*!gf +f!*@e.vv.e@*!f +!*Eje....ejE*! +*@hje....ejh@* +Eghje@@@@ejhgE +fghje....ejhgf +fghje....ejhgf +fg!*EvvvvE*!gf +f!*@......@*!f +!*EvvvvvvvvE*! +*@..........@* +E............E +.............. +.............. +Bonus: +c.c........cf. +?..f......f..d +.wb?d....d.b.. +ddf.?.....?dw. +......5l....df +f.....l5...... +...d?....d.... +..d.......f... +...d.....d.?.. +.wdd?....f?d?d +d.f!!....!!dfc +.fd..b>b<..... +b...........db +...bWb>bWb>... +.............. +.............. +.............. +.............. +Level: +Mench +2 Towers +Bricks: +@@@@@@vv@@@@@@ +@@zc@@vv@@cz@@ +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc..vv..cz.. +..zc@@vv@@cz.. +..zc@@@@@@cz.. +.............. +.............. +Bonus: +......55...... +......55...... +...b..55..b... +...d..55..d... +..>?..55..?>.. +...b..55..b... +...d..55..d... +..>?..55..?>.. +...b..55..b... +..{d..55..d{.. +..>?..55..?>.. +...b..55..b... +...d..55..d... +..>?..55..?>.. +..cb..??..bc.. +.............. +.............. +.............. +Level: +Mench +Pyramids +Bricks: +EEEEEEEEEEEEEE +xxxxxxxxxxxxxx +@.@.@*@*@.@.@. +iiiiiiiiiiiiii +iiiiiiiiiiiiii +f@ggggccgggg@f +zf@gggccggg@fz +ff*@*gccg*@*ff +fzff@gggg@ffzf +fffff@..@fffff +zfzff....ffzfz +fffff@..@fffff +fzff@....@ffzf +ff*@......@*ff +ff@........@fz +f@..........@f +@............@ +.............. +Bonus: +.............. +m.>.>m..>m..>m +.............. +.b..b?..b?.b.. +?.d.d..d..d.d? +.......... +.............. +??.??..>.????? +.............. +.~~~~.c..~~~~. +.............. +.......>...... +wwwww....bbbbb +jddjj.>..5j555 +.............. +.............. +.............. +.............. +Level: +Mench +Get up There +Bricks: +x@x@ffffff@x@x +.@.@ffffff@.@. +.@.@ffffff@.@. +x@x@ffEEff@x@x +.@.@!!!!!!@.@. +.@.@!v**v!@.@. +x@x@!!!!!!@x@x +.@.@EExxEE@.@. +.@.@vvvvvv@.@. +x@x@......@x@x +.@.@......@.@. +.@.@..EE..@.@. +x@x@......@x@x +f@f@......@f@f +f@f@EE..EE@f@f +.............. +.............. +.............. +Bonus: +l............l +....bbbbbb.... +....W.WW.W.... +b.b.ww..ww.b.b +....ffffff.... +....!d..d!.... +w.b.bf!!fb.b.w +......bb...... +....g>g>g>.... +>.>........>.> +.............. +.............. +d.d........d.d +f.c........c.f +f.f........f.f +.............. +.............. +.............. +Level: +Mench +The Hole +Bricks: +........x.x.x. +..@x.x.x.x.x.x +..E.x.x.x.x.x. +..@x.x.x.x.x.x +..E.x.x.x.x.x. +..@x.x.x.x.x.x +..E.x.x.x.x.x. +..@x.x.x.x.x.x +..E@E@E@E@E@E@ +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +........>.5.b. +...5.5.5.5.5.5 +....5.5.b.5.5. +...b.>.?.5.>.5 +....5.5.5.b.5. +...5.5.c.5.5.5 +....5.b.5.5.5. +...>.5.5.b.5.5 +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Mench +Green Hell +Bricks: +xxxxxxxxxxxxxx +z@@@@@yy@@@@@z +z.f.f.yy.f.f.z +z.f.f.yy.f.f.z +z@@@@@yy@@@@@z +z...x@yy@x...z +z.@.xf@@fx.@.z +z...x@yy@x...z +z@@@@@yy@@@@@z +z.f.f.yy.f.f.z +z.f.f.yy.f.f.z +z@@@@@yy@@@@@z +xxxxxxxxxxxxxx +.............. +.............. +.............. +.............. +.............. +Bonus: +001005cc500100 +c............c +g.b.b....b.b.g +..b.b....b.b.. +.............. +....w.55.w.... +l...>l..l>...l +....w.55.w.... +......**...... +g.b.b....b.b.g +d.b.b....b.b.d +d.....ff.....d ++>>>>>++>>>>>+ +.............. +.............. +.............. +.............. +.............. +Level: +Mench +How the F@#$ +Bricks: +.**.vvvvvv.**. +.E!!!!!!!!!!@. +.@!********!E. +.E!*!!!!!!*!@. +.@!*!****!*!E. +.E!*!*!!*!*!@. +.@!*!*!!*!*!E. +.E!*!****!*!@. +.@!*!!!!!!*!E. +.E!********!@. +.@!!!!!!!!!!E. +.Ezzzzzzzzzz@. +.@@z@@@@@@z@E. +....@....@.... +...@......@... +.............. +.............. +.............. +Bonus: +.??.!!!!!!.??. +..<<<<<<<<<<.. +..ddffdfdd>.. +..c..ddfd..c.. +..5555555555.. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Mench +Swiss Roll +Bricks: +ddd*x**x**x**! +ddd*x**x**x**! +d@@@@@@@@@@@@! +d@ihhhhhhhhh@! +d@ihhhhhhhhh@! +*@i@@@@@@@@h@! +*@i@hhhhhh@h@! +*@i@h@hhhh@h@! +*@i@h@hhhh@h@! +*@i@h@@@@@@h@! +x@i@hhhhhhhh@! +x@i@hhhhhhhh@! +x@i@@@@@@@@@@! +x@icjjjjjjjjjj +x@icjjjjjjjjjj +x@@@@@@@@@@@@@ +.............. +.............. +Bonus: +cddwfwwfwwfww~ +cddwfwwfwwfww~ +c............~ +c.?bbbbd>>>>.~ +c.?bbbbdf>f>.~ +f.?........>.. +f.?.>>>>>>.>.~ +f.?.>.***f.>.~ +5.}.>.ffff.>.~ +j.}.>......>.~ +b.}.>>****f>.~ +b.{.>>*****f.~ +b.{..........~ +<.{.?????????? +?.}.?????????? +<............. +.............. +.............. +Level: +Mench +PM II +Bricks: +@@@@@@@@@@@@@@ +@...xyzzyx...@ +@.v.xyzzyx.v.@ +@...xyzzyx...@ +@xxx@@@@@@xxx@ +@...yxvvxy...@ +@.v.yxvvxy.v.@ +@...yxvvxy...@ +@yyy@@@@@@yyy@ +@...zyxxyz...@ +@.v.zyxxyz.v.@ +@...zyxxyz...@ +@zzz@@@@@@zzz@ +@....@..@....@ +@............@ +@...@@..@@...@ +.............. +@............@ +Bonus: +.............. +....s.&&.s.... +..w.b.bb.b.w.. +....&.**.&.... +.~~~......~~~. +.....?55?..... +..b.-.ll.-.b.. +.....?55?..... +.f{f......f{f. +....WddddW.... +..w.gggggg.w.. +....W????W.... +.ddd......ddd. +.............. +.............. +.............. +.............. +.............. +Level: +Mench +Irratation +Bricks: +zzz@@@@@@@@zzz +zzz@vv@@vv@zzz +zz@v......v@zz +z@vvvvvvvvvv@z +z@vvvvvvvvvv@z +zz@v......v@zz +zzz@..@@..@zzz +zzz@..@@..@zzz +zz@v......v@zz +z@vvvvvvvvvv@z +z@vvvvvvvvvv@z +zz@v......v@zz +zzz@..@@..@zzz +zzz@..@@..@zzz +zz@v......v@zz +z@v........v@z +.............. +.............. +Bonus: +b.l........l.b +....55..55.... +dddg......g.dd +....>>dd>>.... +....>dWWd>.... ++c.g......g.++ +..b........b.. +++b........bc+ +f..g......g..f +f...WWWWWW...f +f.*>d>dd>d>*.f +f..g......g..f +.db........bd. +d.b........b.d +.d.w......w.d. +{.g........g.{ +.............. +.............. +Level: +Mench +Ying Yang +Bricks: +@@@@jjjjj@@@@@ +@@@@a@jjjj@@@@ +@@@aaa@jjjj@@@ +@@aaaaa@jjjj@@ +@aaajjaa@jjjj@ +aaajjjja@jjjjj +aaajjjja@jjjjj +aaaajjaa@jjjjj +aaaaaaa@jjjjjj +aaaaaa@jjjjjjj +aaaaa@jjkkjjjj +aaaaa@jkkkkjjj +aaaaa@jkkkkjjj +@aaaa@jjkkjjj@ +@@aaaa@jjjjj@@ +@@@aaaa@jjj@@@ +@@@@aaaa@j@@@@ +@@@@@aaaaa@@@@ +Bonus: +.....>>.f..... +........fd.... +...>f..>.dd... +..dd....d>dd.. +.d~df{~d..g>.. +dd>f55ld.>fddd +f~d{55~~..gdfd +*fd~gfdd.gffd> +d>>dg~d..>fdd. +dd~ff~..>d{d>f +>gddd.{{.>df{f +dfg~~.{f55.{{d +dff.>.fl55>.f. +.~ddg.{~f.~{.. +..~>~g.dd~{{.. +...d{d{.d{d... +....d{dd.d.... +.....d{d{d.... +Level: +Mench +X +Bricks: +ccc@@@@@@@@xxx +cccc@@@@@@xxxx +#cccc@@@@xxxx# +##cccc@@xxxx## +###cccxcxxx### +####ccxcxx#### +#####cxcx##### +######xc###### +######xc###### +######cx###### +######cx###### +#####xcxc##### +####xxcxcc#### +###xxxcxccc### +##xxxx@@cccc## +#xxxx@@@@cccc# +xxxx@@@@@@cccc +xxx@@@@@@@@ccc +Bonus: +555........555 +5555......5555 +.............. +.....~..~..... +.....~bb~..... +.....~WW~..... +.....~WW~..... +......WW...... +......ll...... +......ll...... +......WW...... +.....{WW{..... +....{.WW.{.... +...{..bb..{... +..{..c..c..{.. +.++.c....c.++. +dddd......cccc +ddd........>>> +Level: +Mench +In & Out +Bricks: +E.@@@@@@@@@@.E +@.@xxxxxxxx@.@ +E.@........@.E +@.@........@.@ +E.@.xxxxxx.@.E +@.@.@@@@@@.@.@ +E.....EE.....E +@.@...@@...@.@ +E.@vvvxxvvv@.E +@.@vvvxxvvv@.@ +E.@vvvxxvvv@.E +@.@...@@...@.@ +E.....EE.....E +@.@.@@@@@@.@.@ +E.@........@.E +@.@........@.@ +E.@xxxxxxxx@.E +@.@@@@@@@@@@.@ +Bonus: +.............. +...b>.cc.>b... +.............. +.............. +....dddddd.... +.............. +.............. +.............. +......dd...... +....d.bb.d.... +......{{...... +.............. +.............. +.............. +.............. +.............. +...b>5555>b... +.............. +Level: +Mench +Frozen Time +Bricks: +@@@@@@@@@@@@@@ +.vvv...vvv.vvv +.vvv...vvv.vvv +.vvv...vvv.vvv +.@@@...v@v.@@@ +.@vv...@@v.@v@ +.@vv.@.v@v.@v@ +.@vv.@.v@v.@v@ +.@@@.v.v@v.@c@ +.vv@.v.v@v.@v@ +.vv@.@.v@v.@v@ +.vv@.@.v@v.@v@ +v@@@v.v@@@v@@@ +.............. +.............. +.............. +.............. +.............. +Bonus: +ffffffffffffff +.{g....>g..{dm +.>.>....{>.d{d +.d{....>dd.{{m +.fff....fg.fff +.f.d...ff{.f5f +.f>g.f..f..d5d +.f.{.f.gf..f5f +.fff.>.{f>.d5d +.g.f.g..f..f5f +.{gf.f.>f{.d5d +.>{f.f..fd.f{f +.fff...fdf.fff +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Weirdness b/project/jni/application/lbreakout2/client/levels/Weirdness new file mode 100644 index 000000000..d2d7f7ad0 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Weirdness @@ -0,0 +1,1395 @@ +Version: 1.00 +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 +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/project/jni/application/lbreakout2/client/levels/Wolvie b/project/jni/application/lbreakout2/client/levels/Wolvie new file mode 100644 index 000000000..47f06d4de --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Wolvie @@ -0,0 +1,410 @@ +Level: +RBA +W +Bricks: +............... +...ddaddddddd.. +...ddaadddddd.. +...dddaaddddd.. +...ddddaadddd.. +...dddddaaddd.. +...ddddddaadd.. +...dddddaaddd.. +...ddddaadddd.. +...dddddaaddd.. +...ddddddaadd.. +...dddddaaddd.. +...ddddaadddd.. +...dddaaddddd.. +...ddaadddddd.. +...ddaddddddd.. +............... +............... +Bonus: +............... +...m.3...+..m.. +.....g3g....... +....s..3.f..... +........3..s... +....b....3..... +......f...3g... +...w.+......+.. +.......lllb.... +.....s......... +........b.3.w.. +....b....3..... +........3...... +.......3...w... +......3........ +...!.3....+.!.. +............... +............... +Level: +RBA +o +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddbbbbddd.. +...dddbbbbddd.. +...dddbddbddd.. +...dddbddbddd.. +...dddbddbddd.. +...dddbbbbddd.. +...dddbbbbddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +...~....*...... +......W.....c.. +........{W..... +.....W.....~... +...c........... +.....-l..l.&*.. +...*...55...... +...!c.l55lf.&.. +.......55...... +...f.&l..l.!... +............... +...d-.......... +......f.-.d.c.. +............... +...{...d....... +............... +............... +Level: +RBA +l +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddcdd.. +...dddddddcdd.. +...ddccccccdd.. +...ddccccccdd.. +...ddccccccdd.. +...ddcddddcdd.. +...dddddddcdd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +.......55...... +...5......~.5.. +............... +...?.l......... +........l...m.. +....+.......... +...m..<...4.... +........<...?.. +...~.4......... +..........4.+.. +.......?....... +...wb>wb>wb>w.. +............... +......+ff+..... +............... +............... +............... +Level: +RBA +v +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...ddaddddddd.. +...ddaadddddd.. +...dddaaddddd.. +...ddddaadddd.. +...dddddaaddd.. +...ddddddaadd.. +...dddddaaddd.. +...ddddaadddd.. +...dddaaddddd.. +...ddaadddddd.. +...ddaddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +...j...2.+..W.. +............... +....2.......... +.........2..f.. +............... +....W.......+.. +............... +........l.l2... +......4........ +...4........... +..........j.... +........+...... +.....f......... +....+.......... +...........4... +............... +............... +Level: +RBA +e +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...ddbbbdbbdd.. +...ddbbbdbbdd.. +...ddbdbddbdd.. +...ddbdbddbdd.. +...ddbdbddbdd.. +...ddbdbddbdd.. +...ddbdbddbdd.. +...ddbbbbbbdd.. +...ddbbbbbbdd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +...j...44...}.. +.......c..+.... +....w.......... +............p.. +........p...... +...c..l...w.... +......5........ +....j.l.mc..d.. +......5........ +...d..l..}..... +.....w....w.c.. +........+...... +............+.. +...+........... +......?..?..... +............... +............... +Level: +RBA +r +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddccddddd.. +...dddccddddd.. +...dddcdddddd.. +...dddcdddddd.. +...dddcdddddd.. +...dddcdddddd.. +...ddccccccdd.. +...ddccccccdd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +...5..g.....5.. +........j~d.... +......j........ +....g.......&.. +..........&.... +....+.......... +............... +....~.l.+.d.... +..........~.... +............... +............... +...&........... +............... +.....+..>...+.. +...5........5.. +............... +............... +Level: +RBA +i +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddadd.. +...dddddddadd.. +...ddadaaaadd.. +...ddadaaaadd.. +...ddadaaaadd.. +...ddddaddadd.. +...dddddddadd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +...j....w...... +.....+....m.... +......!..?.!... +.....j......... +....b..}..3.... +..........3.... +.....l.3333.+.. +....mf.3333.... +.....l.3333b... +.......3..3.... +...w..?...3m... +...........w... +.....+...b..... +............... +............... +............... +............... +Level: +RBA +n +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...ddddbbbbdd.. +...ddddbbbbdd.. +...ddddbddddd.. +...ddddbddddd.. +...ddddbddddd.. +...ddddbddddd.. +...dddbbddddd.. +...dddbbbbbdd.. +...dddbbbbbdd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +...4...&4...4.. +......0..+..p.. +....f.......... +.........W..... +...w.p.l..l.c.. +........?...... +...<.1j...1w... +.........?..+.. +.....<.W...j... +...c..l.<...... +........l.l.... +....!.+...W.... +...0...?....!.. +..........c.... +...+.....0..... +............... +............... +Level: +RBA +e +Bricks: +............... +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +...ddcccdccdd.. +...ddcccdccdd.. +...ddcdcddcdd.. +...ddcdcddcdd.. +...ddcdcddcdd.. +...ddcdcddcdd.. +...ddcdcddcdd.. +...ddccccccdd.. +...ddccccccdd.. +...dddddddddd.. +...dddddddddd.. +...dddddddddd.. +............... +............... +Bonus: +............... +...5...55...5.. +...p..b.>...+.. +............... +.....m..f?..... +...d........>.. +.....?l........ +....+.g....+... +...>..lmbm.j... +......g....b... +......l.f.w.... +............d.. +.....w..+.?.... +...~.......~... +....+.d~...+... +............... +............... +............... +Level: +RBA +CLAWS +Bricks: +cvvvvvccvvvvvc +cvvvvvccvvvvvc +vcvvvvccvvvvcv +vcvvvvccvvvvcv +vvcvvvccvvvcvv +vvcvvvccvvvcvv +vvvcvvccvvcvvv +vvvcvvccvvcvvv +vvvvcvccvcvvvv +vvvvcvccvcvvvv +vvvvvccccvvvvv +vvvvvccccvvvvv +zzzzzzcczzzzzz +cvvvvvccvvvvvc +vcvvvcvvcvvvcv +vvcvcvvvvcvcvv +vvvcvvvvvvcvvv +zzzzzzzzzzzzzz +Bonus: +04j44455444j40 +0+4+4w5w4+4+4+ +30444455444403 +30444455444403 ++j+4+jw5+j+0+j +33044455444033 +33304455440333 +3+jwj+j+jwj+j+ +33330455403333 +33330455403333 ++3+j+2wj+3+j+3 +33333222233333 +5+5+5wjw5+5+5+ +41111145333335 +0511152243334b +004142222535bm +00052222224pmb +5+5+5wjw5+5+5+ diff --git a/project/jni/application/lbreakout2/client/levels/WonderWalls b/project/jni/application/lbreakout2/client/levels/WonderWalls new file mode 100644 index 000000000..ef6b09f3e --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/X b/project/jni/application/lbreakout2/client/levels/X new file mode 100644 index 000000000..9916d3a4f --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/X @@ -0,0 +1,493 @@ +Version: 1.01 +Level: +Xposya +lines +Bricks: +i.i.y.*c.h.k.h +*.#.!.*#.!.!.# +..#.#..#.h.*.i +i.i*#i.#.!.k*# +.*#.#i*#.h.!.e +x.#.!y.c.i*#.# +#.#.#y.#.h.!.# +f.f.#**#.i.*.# +#.i.#y.#*h.k*e +*.#*!i.c.#.!.# +i.*.#..#.h.k.e +.*#.#i.#.#.!.# +x.#.y..c.h*k.e +i.i...*i.i.#** +*.f.y..i.*.h.i +#.*.y*.*.jkde. +....*..c...... +.............. +Bonus: +1.m.j....s...b +.............. +.........w.... +W..........p.. +.........?.... +....f..m.&.... +.........?.... +*.m........... +..2......m.... +.......4...... +.............d +.....!........ +.........b.... ++.0........... +..g.l........{ +.........}5.?. +.............. +.............. +Level: +Xposya +entrance +Bricks: +j!jjjEjjjjjjjj +aaaaaaaaaaaaEa +dddddddddddddd +.E...bbbE.!.E. +..E..bbb...... +hhhhb**bhhhhhh +aaaabb*baavaaa +y!yE..*bb!v.E. +yyyy...v...... +.......v...... +.......v..E... +.E..........E. +....EE.vvvgEgg +gggg...vv.*i*i +iiii....v.zz!z +vvvv.......... +.....v....v... +...........v.. +Bonus: +c..b...}.{~p.} +.............. +...!..~..>.&wd +.............. +.............. +ps<...l...l.b. +....?......... +.............. +.&{s.......... +.............. +.............. +.............. +.............p +.b.w.......&!. +}.f~......sw.{ +}............. +.............. +.............. +Level: +noname +X +Bricks: +Ef............ +gbf..........g +.gEf........gE +..gbf......gbf +...gEf....gEf. +....gbf..gbf.. +.....gEfgEf... +......gEbf.... +......hhhh.... +......hhhh.... +......fbEg.... +.....fEgfEg... +....fbg..fbg.. +...fEg....fEg. +..fbg......fbg +.fEg........fE +fbg..........f +Eg............ +Bonus: +.<............ +!.2..........5 +.w.W........p. +..5.m......b.! +...b.*....*.W. +....p.?..?.w.. +.....}.2l.}... +......d..-.... +.......2..-. +.....3.1-b.... +1.w.......3... +.s.l-0...&c... +...2..g.0.d..+ +.5W.p0.b>....? +b..m+.3g...... +0<*>.!fd.d.... +..1.......cw.m +.<............ +.............. +.............. +.............. +.............. +Level: +Xposya +platforms +Bricks: +.............. +cccc...ggg.... +@@@@...@@@.zzz +cccc...iii.@@@ +...........hhh +..iiii........ +..@@@@........ +..vvvv..zzz... +........@@@... +........eee... +....jjj....... +....@@@....kkk +....fff....@@@ +ccc........jjj +@@@........... +iii........... +.............. +.............. +Bonus: +.............. +55.......3.... +............55 +.......3...... +...........2.2 +..3..2........ +.............. +..2..3........ +.............. +........???... +....???....... +...........??? +....???....... +???........??? +.............. +???........... +.............. +.............. +Level: +Xposya +breakout +Bricks: +ffffffffffffff +gggggggggggggg +hhhhhhhhhhhhhh +iiiiiiiiiiiiii +jjjjjjjjjjjjjj +kkkkkkkkkkkkkk +eeeeeeeeeeeeee +dddddddddddddd +zzzzzzzzzzzzzz +cccccccccccccc +kkkkkkkkkkkkkk +jjjjjjjjjjjjjj +iiiiiiiiiiiiii +hhhhhhhhhhhhhh +vvvvvvvvvvvvvv +gggggggggggggg +.............. +.............. +Bonus: +.............? +.............. +.wf...w?...?.. +.........w...? +.?..........m. +.....p....f... +l......?...... +............?. +.......?...... +......?....... +..m.......?... +...w.......... +.?.....p?..... +.....f....m... +..?........... +.?...?......?. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Yexter b/project/jni/application/lbreakout2/client/levels/Yexter new file mode 100644 index 000000000..898d66e77 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Yexter @@ -0,0 +1,1641 @@ +Version: 1.00 +Level: +Yexter +Yexter +Bricks: +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +j#j#j##j#j#jjj +j#j#j#jj#j#jjj +j#j#j##jj#jjjj +jj#jj#jj#j#jjj +jj#jj##j#j#jjj +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +jjj###j##j###j +jjjj#jj#jj#j#j +jjjj#jj##j###j +jjjj#jj#jj##jj +jjjj#jj##j#j#j +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +.............. +.............. +Bonus: +...........*.. +.............s +.............. +..m...4....... +..m.....&.l.j. +......?....... +............*. +.............. +bbbb.......... +.ww........... +.w...>..+}...& +&.....&....... +........<...*. +d*d........... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +.............. +.jvaa....aavj. +.jvaa....aavj. +.jvaa....aavj. +.jvaa....aavj. +.jvaa....aavj. +.jvaaa..aaavj. +.jvaaaaaaaavj. +.jvvaaaaaavvj. +.jjvvvaavvvjj. +...jjvaavjj... +....jvaavj.... +....jvaavj.... +....jvaavj.... +....jvaavj.... +....jvaavj.... +Bonus: +.............. +.............. +.............. +.............. +..........1... +....-......+.. +..?......1.... +...f*......*.. +..........c... +.....j........ +..}........+.. +.....-.&...... +.............. +.......*...... +.............. +.....?p....... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +##..######..## +##..aaaaaa..## +**..bbbbbb..** +ii..bbbbbb..ii +ii..aaaaaa..ii +ii..bbjjjj..ii +ii..bbjjjj..ii +**..aaaaaj..** +##..bbbbbj..## +##..bbbbbj..## +**..aaaaaj..** +ii..bbjjjj..ii +ii..bbjjjj..ii +ii..aaaaaa..ii +ii..bbbbbb..ii +**..bbbbbb..** +##..aaaaaa..## +##..######..## +Bonus: +.............. +.............. +.......5...... +.....&........ +....*......... +.........5.... +....4......... +.............. +.......*...... +....j......... +.....&...d.... +.............. +.............. +......ww...... +....*..g...... +......5....... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +....######.... +.jj..####..jj. +.jjj..##..jjj. +.jvjj....jjvj. +.jvvjj..jjvvj. +.jjvvjjjjvvjj. +.jjjvvjjvvjjj. +...jjvvvvjj... +....jjvvjj.... +...jjvvvvjj... +.jjjvvjjvvjjj. +.jjvvjjjjvvjj. +.jvvjj..jjvvj. +.jvjj....jjvj. +.jjj..##..jjj. +.jj..####..jj. +....######.... +Bonus: +.............. +.............. +.?..........?. +.............. +.............. +.............. +.............. +.?..........?. +.....5ml5..... +.............. +.............. +.?.4w+dd-b4.?. +.............. +.....s..s..... +.?..........?. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.vvvvvvvvvvvv. +.vaaaaaaaaaav. +.v##########v. +.vaaaaaaaaaav. +.vvvvv##vvvvv. +.....vaav..... +.....v##v..... +vvv..vaav..vvv +.v...v##v...v. +.v...vaav...v. +.v...v##v...v. +.v...vaav...v. +.....v##v..... +.....vaav..... +.....v##v..... +.....vaav..... +.....vvvv..... +Bonus: +.............. +.............. +.............. +.............. +...j......j... +.&*..&..&..*&. +......55...... +.............. +.b...????...b. +.............. +......}}...... +.............. +.b...b..b...b. +.....w..w..... +.....b..b..... +.............. +......++...... +.............. +Level: +Yexter +Yexter +Bricks: +......!!...... +....!!aa!!.... +...!aaaaaa!... +...!ajjjja!... +...!ajaaja!... +..!ajjaajja!.. +.!aajakkajaa!. +.!ajjakkajja!. +.!ajakxxkaja!. +.!ajakxxkaja!. +.!ajjakkajja!. +.!aajakkajaa!. +..!ajjaajja!.. +...!ajaaja!... +...!ajjjja!... +...!aaaaaa!... +....!!aa!!.... +......!!...... +Bonus: +.............. +.............. +.............. +.............. +......>?.1... +......dd...... +.............. +..b..-..+..b.. +.............. +..m...33...m.. +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +fvvvvvvvvvvvvf +v............v +v.fvvvvvvvvf.v +v.v........v.v +v.v.fvvvvf.v.v +v.v.v....v.v.v +v.v.v.vv.v.v.v +v.v.v.vv.v.v.v +v.v.v....v.v.v +v.v.fvvvvf.v.v +v.v........v.v +v.fvvvvvvvvf.v +v............v +fvvvvvvvvvvvvf +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +..&...ss...&.. +..}........}.. +....bbbbbb.... +....b....b.... +....b.44.b.... +....b.g+.b.... +....w....w.... +....*dddd*.... +.............. +..0...dd...0.. +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +######.......j +aaaaaa......ji +######.....jih +aaaaaa....jihg +######...jihgf +aaaaaa..jihgfk +######.jihgfke +aaaaaa.####### +..####........ +...aaa........ +j...########## +ij...aaaaaaaaa +hij...######## +ghij...aaaaaaa +fghij...###### +kfghij...aaaaa +ekfghij...#### +#######....aaa +Bonus: +.............. +.............. +.............. +...........&.j +.............. +..........&..b +............bb +.............. +.............. +.............. +.............. +.............. +.............. +s............. +.4............ +m............. +mm.4..+....... +.............. +Level: +Yexter +Yexter +Bricks: +.vvv.vvvv.vvv. +.v*v.v**v.v*v. +.vvv.vvvv.vvv. +.............. +.vvv.vvvv.vvv. +.v*v.v**v.v*v. +.vvv.vvvv.vvv. +.............. +.vvv.vvvv.vvv. +.v*v.v**v.v*v. +.vvv.vvvv.vvv. +.............. +.vvv.vvvv.vvv. +.v*v.v**v.v*v. +.vvv.vvvv.vvv. +.............. +.............. +.............. +Bonus: +...b.w..w.b... +.....b..b..... +......&&...... +.............. +.....+..+..... +.............. +.5..........5. +.............. +.....1..1..... +.............. +.............. +.............. +...+.<..<.5... +.............. +.....}..}..... +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +vvvvvv**vvvvvv +*............* +v.vvvv**vvvv.v +v.*........*.v +v.v.vv**vv.v.v +v.v.*iiii*.v.v +v.v.vi!!iv.v.v +v.v.v!hh!v.v.v +*.*.*i**i*.*.* +*.*.*i**i*.*.* +v.v.v!hh!v.v.v +v.v.vi!!iv.v.v +v.v.*iiii*.v.v +v.v.vv**vv.v.v +v.*........*.v +v.vvvv**vvvv.v +*............* +vvvvvv**vvvvvv +Bonus: +......m&...... +.............. +.............. +.............. +....??????.... +.............. +....l....l.... +....?....?.... +.............. +.............. +....2....2.... +....2....2.... +.............. +.............. +.............. +......44...... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +!v!v!v!!v!v!v! +vvvvvvvvvvvvvv +v****v*vvv*v*v +v*vvvv*vvv*v*v +v*vvvv*vvv*v*v +v*vvvv*vvv*v*v +v*vvvv*vvv*v*v +v*vvvv*vvv*v*v +v*v**v*vvv*v*v +v*vv*v*vvv*v*v +v*vv*v*vvv*v*v +v*vv*v*vvv*v*v +v****v*****v*v +vvvvvvvvvvvvvv +!v!v!v!!v!v!v! +.............. +.............. +.............. +Bonus: +.............. +........4..... +.............. +.....2........ +...l+...l..... +.............. +&..+.2.......& +........4..... +.............. +..bb.+..&..+.. +..wb.......... +..bb.......... +*............* +.............. +.}.s....s.}... +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +..#a##a#.v##v. +..a####av.aa.. +..#a##a#.v##v. +....aa..v.aa.. +...v##v..v##v. +....aa..v.aa.. +...v##v..v##v. +....aa..v.aa.. +...v##v..v##v. +....aa..v.aa.. +...v##v..v##v. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +......m....... +.............. +...5..+..3..5. +.............. +...3.......... +.............. +......}....... +.............. +...s.....s.... +.............. +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +*.*.*....*.*.* +......vv...... +.!.!..vv..!.!. +.............. +*.*.*....*.*.* +......vv...... +.!.!..vv..!.!. +.............. +*.*.*....*.*.* +......vv...... +.!.!..vv..!.!. +.............. +*.*.*....*.*.* +......vv...... +.!.!..vv..!.!. +.............. +*.*.*....*.*.* +Bonus: +.............. +.............. +......lb...... +.............. +.............. +.............. +......55...... +....b....b.... +.............. +.............. +....c....c.... +....b....b.... +.............. +.............. +.2..........2. +......ww...... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.v..........v. +.k..........k. +.v....kk....v. +.k...kvvk...k. +.v..kvkkvk..v. +.k.kvk..kvk.k. +.vkvk....kvkv. +.kvk......kvk. +.vk........kv. +.k..........k. +.............. +.aaaaaaaaaaaa. +.avvvvvvvvvva. +..vjjjjjjjjv.. +.xvvvvvvvvvvx. +.xxxxxxxxxxxx. +.............. +.............. +Bonus: +.............. +.............. +......bb...... +.............. +......??...... +.....?..?..... +....?....?.... +...?......?... +.............. +.............. +.............. +...*d5l5dd*... +.............. +......++...... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +.cccccccccccc. +.vvvv*cc*vvvv. +.vvvvvccvvvvv. +.ccccvccvcccc. +.c*vcvccvcv*c. +.cvccvccvccvc. +.cvc*vccv*cvc. +.cvccccccccvc. +.cvvvvvvvvvvc. +.cccccccccccc. +.............. +.............. +.zzz.zzzz.zzz. +.z*z.z**z.z*z. +.zzz.zzzz.zzz. +.............. +Bonus: +.............. +.............. +.............. +.............. +......ll...... +.............. +......??...... +......??...... +...3......3... +......++...... +.bbb......bbb. +.bw........wb. +.............. +.............. +.............. +.&...s..s...&. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +************** +zzzzz****zzzzz +z*zz*zzzz*zz*z +zzzzzzzzzzzzzz +z*zz*z**z*zz*z +zzzzzzzzzzzzzz +z*zz*zzzz*zz*z +zzzzzz**zzzzzz +z*zz*zzzz*zz*z +zzzzzzzzzzzzzz +z*zz*z**z*zz*z +zzzzzzzzzzzzzz +z*zz*zzzz*zz*z +zzzzzz**zzzzzz +z*zz*zzzz*zz*z +zzzzzzzzzzzzzz +zzzzzzzzzzzzzz +.............. +Bonus: +.............. +.............. +.............. +.?..?.??.?..?. +.............. +???.?....?.??? +......??...... +.?..?....?..?. +.............. +???.?.??.?.??? +.............. +.?..?....?..?. +......??...... +???.?....?.??? +.............. +.............. +......??...... +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +.............. +.aaaaaaaaaaaa. +..dddddddddd.. +j..hhhhhhhh..j +ij..gggggg..ji +hij..jjjj..jih +kkij..ii..jikk +gggj......jggg +kkij..ii..jikk +hij..jjjj..jih +ij..gggggg..ji +j..hhhhhhhh..j +..dddddddddd.. +.aaaaaaaaaaaa. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.....c.c.>.... +.............. +....?..5.?.... +......g....... +...b......b... +..s........s.. +......ll...... +.......j...... +.....?..?..... +...b......b... +..+........+.. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +k#####..#####k +vk####..####kv +kvk###..###kvk +vkvk##..##kvkv +kvkvk#..#kvkvk +vkvkvk..kvkvkv +kvkvkvkkvkvkvk +vkvkvkvvkvkvkv +kvkvkvkkvkvkvk +vkvkvkvvkvkvkv +kvkvkvkkvkvkvk +vkvkvk..kvkvkv +kvkvk#..#kvkvk +vkvk##..##kvkv +kvk#E#..#E#kvk +vk#EE#..#EE#kv +k#####..#####k +Bonus: +.............. +l............l +.............. +.............. +...?......?... +....?....?.... +.....?..?..... +.&....55....&. +.............. +.....b55b..... +.....w++w..... ++.....55.....+ +.b..&*..*&..b. +w............w +.............. +4............4 +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +....iiiiii.... +....i####i.... +....iaiiai.... +...ii#ii#ii... +...i#iiii#i... +.iiiaiiiiaiii. +.i##iiiiii##i. +.iaiiiiiiiiai. +.i#iiiiiiii#i. +.iaiiiiiiiiai. +.i##iiiiii##i. +.i###iiii###i. +.iiii#ii#iiii. +....iaiiai.... +....i#ii#i.... +....i#ii#i.... +....iiiiii.... +Bonus: +.............. +.............. +.............. +.....m..l..... +.............. +.............. +.............. +......jj...... +..2?......?2.. +...2..}}..2... +..2?......?2.. +....b....b.... +.....+..+..... +.............. +.............. +......ss...... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +.............. +vzv..vzzv..vzv +z*z..z**z..z*z +vzv..vzzv..vzv +vvv..vvvv..vvv +vzv..vzzv..vzv +z*z..z**z..z*z +vzv..vzzv..vzv +vvv..vvvv..vvv +vzv..vzzv..vzv +z*z..z**z..z*z +vzv..vzzv..vzv +vvv..vvvv..vvv +vzv..vzzv..vzv +z*z..z**z..z*z +vzv..vzzv..vzv +Bonus: +.............. +.............. +.............. +.s....ss....s. +s.s..s..s..s.s +.s....ss....s. +.5....55....5. +.s....ss....s. +s.s..s..s..s.s +.s....ss....s. +.5....55....5. +.s....ss....s. +s.s..s..s..s.s +.s....ss....s. +.5....55....5. +.s....ss....s. +s.s..s..s..s.s +.s....ss....s. +Level: +Yexter +Yexter +Bricks: +###v.!..!.v### +##v.!....!.v## +#v.!.j..j.!.v# +v.!.jv..vj.!.v +.!.jva..avj.!. +!.jvak..kavj.! +.jvaka..akavj. +jvakak..kakavj +vakaka..akakav +vakaka..akakav +jvakak..kakavj +.jvaka..akavj. +!.jvak..kavj.! +.!.jva..avj.!. +v.!.jv..vj.!.v +#v.!.j..j.!.v# +##v.!....!.v## +###v.!..!.v### +Bonus: +....l....l.... +.............. +.............. +.............. +.....&..&..... +.....b..b..... +...4.b..b.4... +.....w..w..... +5b.*......*.b5 +5b...j..j...b5 +.............. +.............. +.............. +.....+..+..... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +.............. +.............. +##jajxiixjaj## +##jajxiixjaj## +##jajxiixjaj## +#jajxiiiixjaj# +jajxiiiiiixjaj +ajxiiiiiiiixja +ajxiiiiiiiixja +jajxiiiiiixjaj +#jajxiiiixjaj# +##jajxiixjaj## +##jajxiixjaj## +##jajxiixjaj## +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +......??...... +......??...... +......??...... +.....ssss..... +....ssjjss.... +...s..bb..s... +...s.w44w.s... +.....*++*..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +.............. +.............. +cccaccccccaccc +czcaczcczcaczc +cccaccccccaccc +aaaaaaaaaaaaaa +cccaccccccaccc +czcaczcczcaczc +cccaccccccaccc +aaaaaaaaaaaaaa +cccaccccccaccc +czcaczcczcaczc +cccaccccccaccc +aaaaaaaaaaaaaa +cccaccccccaccc +czcaczcczcaczc +cccaccccccaccc +Bonus: +.............. +.............. +.............. +.............. +......ll...... +...&555555&... +....dddddd.... +....bbwwbb.... +.............. +....bbwwbb.... +.............. +.............. +.............. +.............. +ss..........ss +....+....+.... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +############## +####f####f#### +###faf##faf### +##fadaffadaf## +#fadddaadddaf# +faddddddddddaf +faddddddddddaf +faddddddddddaf +faddddddddddaf +f.adddddddda.f +#a.adddddda.a# +##a.adddda.a## +###a.adda.a### +###a.adda.a### +###a.adda.a### +###a.adda.a### +###a.adda.a### +###a......a### +Bonus: +.............. +.............. +.............. +.............. +......44...... +......ss...... +..*...??...*.. +......55...... +*.....bb.....* +......ff...... +......++...... +.....*}}*..... +......&&...... +......??...... +......jj...... +......<<...... +......55...... +.............. +Level: +Yexter +Yexter +Bricks: +###aa####aa### +#....#ii#....# +#....#ii#....# +#....#ii#....# +a....xiix....a +a....xiix....a +#aaxxxiixxxaa# +#iiiiiiiiiiii# +#iiiiiiiiiiii# +#iiiiiiiiiiii# +#iiiiiiiiiiii# +#aaxxxiixxxaa# +a....xiix....a +a....xiix....a +#....#ii#....# +#....#ii#....# +#....#ii#....# +###aa####aa### +Bonus: +.............. +.............. +......ll...... +......mm...... +......bb...... +.............. +....??..??.... +.............. +......++...... +.............. +.............. +.....?...?.... +......mm...... +......bb...... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +#.aha#@@#aha.# +#.aha#@@#aha.# +#a.a.a##a.a.a# +#a.a.a..a.a.a# +#haha.aa.ahah# +#haha.aa.ahah# +##.a.ahha.a.## +##.a.ahha.a.## +@@.ha.aa.ah.@@ +@@.ha.aa.ah.@@ +##.a.ahha.a.## +##.a.ahha.a.## +#haha.aa.ahah# +#haha.aa.ahah# +#a.a.a..a.a.a# +#a.a.a##a.a.a# +#.aha#@@#aha.# +#.aha#@@#aha.# +Bonus: +.............. +.............. +...3......3... +.b..........b. +.............. +......ll...... +.....*..*..... +...b......b... +....&....&.... +.............. +.....?..?..... +...p.?..?.p... +......44...... +.............. +...+......+... +...<......<... +...*......*... +.............. +Level: +Yexter +Yexter +Bricks: +k.vvkkkkkkvv.k +.k.vvkkkkvv.k. +v.k.vvkkvv.k.v +vv.k.vvvv.k.vv +.vv.k.vv.k.vv. +..vv.k..k.vv.. +v..vv.kk.vv..v +kv..vv..vv..vk +kkv..vvvv..vkk +kkv..vvvv..vkk +kv..vv..vv..vk +v..vv.kk.vv..v +..vv.k..k.vv.. +.vv.k.vv.k.vv. +vv.k.vvvv.k.vv +v.k.vvkkvv.k.v +.k.vvkkkkvv.k. +k.vvkkkkkkvv.k +Bonus: +.............. +......11...... +......55...... +.............. +.............. +.....?..?..... +......l4...... +w....*..*....w +.b....dd....b. +.b....dd....b. +w............w +......ss...... +.....?..?..... +.............. +.............. +.....*55*..... +......11...... +.............. +Level: +Yexter +Yexter +Bricks: +..a..a..a..a.. +..a..a..a..a.. +###aa####aa### +#aaaaaaaaaaaa# +#aaaaaaaaaaaa# +#aa###aa###aa# +#aa#aaaaaa#aa# +#aa#aaaaaa#aa# +#aa#aa##aa#aa# +#aa#aa##aa#aa# +#aa#aaaaaa#aa# +#aaaaaaaaaaaa# +a............a +aa..........aa +aaa........aaa +aaaa......aaaa +#####....##### +.............. +Bonus: +.............. +.............. +...mm....mm... +.............. +....55...55... +.............. +....bb..bb.... +.....w33w..... +.............. +.....s..s..... +......++...... +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +!.!.!.!!.!.!.! +.............. +.............. +*.*.*.**.*.*.* +.............. +.............. +!.!.!.!!.!.!.! +.............. +.............. +v.v.v.vv.v.v.v +*.*.*.**.*.*.* +v.v.v.vv.v.v.v +.!.!.!..!.!.!. +v.v.v.vv.v.v.v +.*.*.*..*.*.*. +v.v.v.vv.v.v.v +.!.!.!..!.!.!. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +....+.ll.+.... +.............. +......44...... +.............. +b.b...jj...b.b +.............. +.............. +.............. +.............. +.............. +......ss...... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +hhhhhhhhhhhhhh +h............h +h.h.h....h.h.h +h..h..hh..h..h +h.h.h....h.h.h +h............h +hv#aax..xaa#vh +hv#aax..xaa#vh +hv#aax..xaa#vh +hv#aax..xaa#vh +hv###x..x###vh +hvvv#x..x#vvvh +hvvv##..##vvvh +hvvvh#..#hvvvh +hvvvh#..#hvvvh +hhhhh#..#hhhhh +######..###### +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.....b..b..... +bb..m....m..bb +...2m....m2... +...bm....mb... +.............. +.....b..b..... +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +iiiiaajjaaiiii +iiiaajjjjaaiii +iiaajj..jjaaii +iaajj....jjaai +aajj......jjaa +ajj........jja +jj..#....#..jj +j..#i....i#..j +..#ii....ii#.. +..#ii....ii#.. +j..#i....i#..j +jj..#....#..jj +ajj........jja +aajj......jjaa +iaajj....jjaai +iiaajj..jjaaii +iiiaajjjjaaiii +iiiiaajjaaiiii +Bonus: +......44...... +......22...... +.............. +..b........b.. +.............. +..*........*.. +.............. +....s....s.... +...4......l... +...4......l... +.............. +.............. +..&........&.. +.............. +.............. +b*..........*b +w.....55.....w +.............. +Level: +Yexter +Yexter +Bricks: +##########v.a! +#######a*v.a!a +########v.a!a! +#####a*v.a!a!a +######v.a!a!a. +###a*v.a!a!a.. +####v.a!a!av.a +#a*v.a!a!a..a! +##v.a!a!a..a!a +*v.a!a!a.va!a! +..a!a!a..a!a!a +jajajajjajajaj +ajajajaajajaja +jajajajjajajaj +z!z!z!zz!z!z!z +!z!z!z!!z!z!z! +z!z!z!zz!z!z!z +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.......?...?.. +...........*.. +.......j...... +.............. +.........l.... +......c....... +.....555j.?.?. +....b444bc.... +.....bwwb..... +....}..}...... +.*............ +.............. +.............. +Level: +Yexter +Yexter +Bricks: +..ajajaajaja.. +...ajajjaja... +....ajaaja.... +.....ajja..... +......aa...... +ka###.jj.###ak +kaakk.aa.kkaak +ka#kk.jj.kk#ak +kaakk.aa.kkaak +ka###.jj.###ak +kaaaa.aa.aaaak +kkka#.jj.#akkk +kkkaa.aa.aakkk +kkka#.jj.#akkk +aaaaa.aa.aaaaa +#x#x#.jj.#x#x# +.............. +.............. +Bonus: +.............. +......00...... +......l?...... +.............. +.............. +.............. +bm..........mb +......bb...... +...b......b... +.............. +..55......55.. +.............. +.............. +......bb...... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +#####....##### +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aa*aaaaaa*aa# +#aa*aaaaaa*aa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#aaa#....#aaa# +#####....##### +Bonus: +.............. +..4........4.. +.............. +.............. +.............. +.?.?......?.?. +.............. +.m..........m. +.............. +.....++++..... +.m..........m. +.............. +.?.?......?.?. +.............. +.............. +.............. +.l..........l. +.............. +Level: +Yexter +Yexter +Bricks: +##dd......dd## +##dd.vvvv.dd## +##dd.viiv.dd## +##dd.vvvv.dd## +#ddd......ddd# +#ddd##..##ddd# +ddddha..ahdddd +dddhh#..#hhddd +ddhhg#..#ghhdd +dhhgga..agghhd +dhgg##..##gghd +dhg#......#ghd +dhg#......#ghd +dhg#..ii..#ghd +dhg#..ii..#ghd +dhg#..ii..#ghd +dhg#..vv..#ghd +dhg#......#ghd +Bonus: +.............. +.............. +......**...... +.............. +.0..........0. +.0..........0. +...?......?... +...?......?... +...?......?... +...?......?... +...?......?... +.............. +.............. +......++...... +b.b........b.b +w.....ss...... +.............. +.............. +Level: +Yexter +Yexter +Bricks: +....kkkkkk.... +...akkkkkka... +...akkkkkka... +..aakkkkkkaa.. +..a..kkkk..a.. +.aa...kk...aa. +.a..!!..!!..a. +aa..........aa +a.....ee.....a +aa....ee....aa +.a....ee....a. +.aa........aa. +..a........a.. +..aa.dddd.aa.. +...a..dd..a... +...aa....aa... +....a....a.... +aaaaaa..aaaaaa +Bonus: +.............. +.............. +.............. +.....j..j..... +.............. +......ll...... +.............. +.............. +......}}...... +.............. +.............. +.55........55. +.............. +......ss...... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.............. +#####....##### +#dddddddddddd# +#daaaddddaaad# +#daaaaaaaaaad# +jjjjaaaaaajjjj +jjjjaaaaaajjjj +##aaaaaaaaaa## +#daaa####aaad# +#daaa####aaad# +##aaaaaaaaaa## +jjjjaaaaaajjjj +jjjjaaaaaajjjj +#daaaaaaaaaad# +#daaaddddaaad# +#dddddddddddd# +#####....##### +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +....bb..bb.... +.........c.... +......44...... +...w.......... +.............. +......mm..s... +.............. +....}...+..... +......j....... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +aajjajajjjjjjj +ajajaaajjjjjjj +aajjjajjjjjjjj +ajajjajjjjjjjj +aajjjajjjjjjjj +jjjjjjjjjjjjjj +jjjaaajajajaaa +jjjjajjajajajj +jjjjajjaaajaaj +jjjjajjajajajj +jjjjajjajajaaa +jjjjjjjjjjjjjj +ajjjajaaajajaj +ajjjajajajaaaj +ajjjajaaajjajj +ajajajajajjajj +aajaajajajjajj +jjjjjjjjjjjjjj +Bonus: +.............. +.............. +...&&......... +.............. +.........&&... +.......b...... +.............. +.&&........... +.....b..b..... +.............. +.............. +......4.4...&. +.............. +..m...+.+..m.. +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +h...h....h...h +.............. +h...h....h...h +.............. +h.#.h.##.h.#.h +..x...xx...x.. +..!...!!...!.. +..!...!!...!.. +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +..!...!!...!.. +..!...!!...!.. +..x...xx...x.. +h.#.h.##.h.#.h +.............. +h...h....h...h +.............. +h...h....h...h +Bonus: +.............. +.............. +.............. +.............. +....*....*.... +..5...55...5.. +.&.&.&..&.&.&. +.............. +.............. +.............. +.............. +.&.&.&..&.&.&. +..5...55...5.. +....*....*.... +.............. +.............. +.............. +.............. +Level: +Yexter +Yexter +Bricks: +.###..jj..###. +.#j#..##..#j#. +.#j#..jj..#j#. +.#h#..jj..#h#. +.#j#..##..#j#. +.#j#..jj..#j#. +.#j#..jj..#j#. +..j...##...j.. +jjjjjjjjjjjjjj +jjjjjjjjjjjjjj +..j...##...j.. +.#j#..jj..#j#. +.#j#..jj..#j#. +.#j#..##..#j#. +.#h#..jj..#h#. +.#j#..jj..#j#. +.#j#..##..#j#. +.###..jj..###. +Bonus: +.............. +.............. +.............. +..m........m.. +..m........m.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +..m........m.. +..m........m.. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Yoda b/project/jni/application/lbreakout2/client/levels/Yoda new file mode 100644 index 000000000..ce9daabc6 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/client/levels/Zigies b/project/jni/application/lbreakout2/client/levels/Zigies new file mode 100644 index 000000000..0cca55d35 --- /dev/null +++ b/project/jni/application/lbreakout2/client/levels/Zigies @@ -0,0 +1,411 @@ +Version: 1.04 +Level: +zigie +the beginning +Bricks: +.............. +.............. +.............. +...ddffffdd... +...dgfxxfgd... +...hgffffgh... +...hggggggh... +#..hhhhhhhh..# +.............. +.............. +iiEEEvvvvEEEii +.iihhhhhhhhii. +..iiiiiiiiii.. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +...+.0..l0.... +......m1...... +....0.b...+... +........0..... +3..w..0......3 +.............. +.............. +1....w00c...+1 +.f..1..1w..1.. +...1..+...1... +.............. +.............. +.............. +.............. +.............. +Level: +zigie +the X +Bricks: +.iiiiiiiiiii.. +.ihhhhhhhhhi.. +.ihggghggghi.. +.ihg#ghg#ghi.. +.ihg#ggg#ghi.. +.ihgg#g#gghi.. +.ihhg#g#ghhi.. +.iihhg#ghhii.. +.iihhg#ghhii.. +.ihhg#g#ghhi.. +.ihgg#g#gghi.. +.ihg#ghg#ghi.. +.ihg#ghg#ghi.. +.ihggghggghi.. +.ihhhhhhhhhi.. +.iiiiiiiiiii.. +.............. +.............. +Bonus: +..0...0..0.1.. +.1..0.+...l... +..1........0.. +.>.......0.... +.......1..0... +..+.1...m..>.. +.0f...4....... +...+.<.{.1.... +.....f.....0.. +.0.0..w....... +..-.....+..0.. +.....1.-...1.. +.1........p... +..0.-.j.0..... +.0.........1.. +..0.0.>....... +.............. +.............. +Level: +zigie +the invisible one +Bricks: +@....vvvv....@ +.............. +.vvvvvvvvvvvv. +.@..........@. +v............v +..vvvvvvvvvv.. +..@@@@@@@@@@.. +.............. +.vvvvvvvvvvvv. +.............. +.............. +.vvvvvvvvvvvv. +.............. +.............. +.vvvvvvvvvvvv. +.............. +.............. +.............. +Bonus: +.....0.+l..... +.............. +.01.m2.1>..10. +.............. +.............1 +..~+..j..1.... +.............. +.............. +...0...c..1.b. +.............. +.............. +.1+..1.-w.+.0. +.............. +.............. +.wb1.0.>.-..b. +.............. +.............. +.............. +Level: +zigie +the labyrinth +Bricks: +...c.....ccccc +.c.c.ccc.cc... +.c.c.c.c.cc.c. +.c.c.c.c....c. +.c...c.cccccc. +.ccccc........ +.cc.....cccccc +.!c.ccccc..... +..c.c...c.cccc +ccc.c.c.c.c... +c...c.c.c.c.c. +c.ccc.c.c.c.c. +c.c...c.ccc.c. +c...c.c.....c. +ccccccccccccc. +.............. +.............. +.............. +Bonus: +...b.....w>0b0 +.>...1.w.2.... +...0...+..w.w. +.w...b........ +.0.....w0b.w>. +.b.>.<........ +..1.....0.b.1- +.4..b.0.w..... +..-.w......b0. +.0....b.b.b... +>...+.....0.b. +1.b0..1.w...2. +b.....b.b.>.1. +>...w.2.....w. +wbwwbbw.bwbw>. +.............. +.............. +.............. +Level: +zigie +uncontrollable +Bricks: +@@@@@@@@@@@@@@ +@............@ +@.kkkkkkkkkk.@ +@.jjjjjjjjjj.@ +@.jaaaaaaaaj.@ +@.jabbbbbbaj.@ +@.jabccccbaj.@ +@.jabcvvcbaj.@ +@.jabcvvcbaj.@ +@.jabccccbaj.@ +@.jabbbbbbaj.@ +@.jaaaaaaaaj.@ +@.jjjjjjjjjj.@ +@.kkkkkkkkkk.@ +.............. +.@@@@@@@@@@@@. +.kkkkkkkkkkkk. +.............. +Bonus: +.............. +.............. +...b..j..0.0.. +....1...1..g.. +..0......b.b.. +......*0..<... +..b<0...+0.... +.....l42.b.... +...+..24..0... +.....-...0.1.. +..0.b..W...... +...0.1..>.->.. +.........0.... +..1.m.1.w..W.. +.............. +.............. +.c0>b.4 +...0.0..1..... +~.........W..+ +........~..... +.....0........ +3>+j....0.-.~3 +.....>....0..f ++.......>.~..- +.....10>...... +2d-~......+.s2 +f..0.0..0....b +~..-..0..0+... +.....0........ +Level: +zigie +grow +Bricks: +!...!....!...! +.............. +..!...!!...!.. +.............. +!...!....!...! +.............. +..!...!!...!.. +.............. +!...!....!...! +.............. +..!...!!...!.. +.............. +!...!....!...! +vvvvvvvvvvvvvv +.............. +.............. +.............. +.............. +Bonus: +!...-0...1...0 +0.0......0.~.. +..g..0l1...{0. +..~.......~... +1...1f...1f..1 +...........f.. +..p..00j...g0. +..f......0.... +10..-...-....1 +.~.~.......~0. +..{...11...p.. +0.0W.W..bw.... +-...>...0wb..c +~0-0fb0~0+.0+0 +.............. +.............. +.............. +.............. +Level: +zigie +crack it +Bricks: +.............. +..ffffffffff.. +@.fggggggggf.@ +..fghhhhhhgf.. +..fghffffhgf.. +..fghfhhfhgf.. +@.fghfhhfhgf.@ +..fghffffhgf.. +..fghhhhhhgf.. +..fggggggggf.. +..ffffffffff.. +EEEEE#z#EEEEEE +.............. +cccccccccccccc +.............. +ExxxxxxxxxxxxE +.............. +vvvvvvvvvvvvvv +Bonus: +.............. +..0..0...0.b.. +..bl..01...1.. +...1{...l..... +..>20>....0... +......41c.2>.. +..1W0...{1.... +.....+.<0.Wj.. +..1.0....00... +..c..010...+.. +..0g0.c.0~.... +.....545...... +.............. +0.0.0.2m+.2.w. +.............. +.~}0.+1p.0*.0. +.............. +bp1w1+.b+>bw1< +Level: +zigie +the green one +Bricks: +f!...zzzz...!f +!f...v**v...f! +f!.yyzzzzyy.!f +!f.x######x.f! +f!.x#f!!f#x.!f +...x#fyyf#x... +...xEzzzzEx... +...xEhiihEx... +.xx*EhiihE*xx. +.@@@@gggg@@@@. +igigigigigigig +gxgxgxgxgxgxgx +igigigigigigig +xxxxxxxxxxxxxx +.............. +xxxxxxxxxxxxxx +.............. +.............. +Bonus: ++4...*..+...4+ +4m..........m4 +.4.1cjffmc1.41 +41.>......>.14 +1....+44+....1 +...+..110.+... +.....0--0..... +...~.W..W.~... +.>....ww....c. +.............. +...1.1.1.1...+ +1.f..{1.j..f1. +.+.0.s...0.... +0>2bw0*W2>00w2 +.............. +1bbw0d11d.ws.1 +.............. +.............. +Level: +zigie +press"d"OrFindTheBrick +Bricks: +vvvvvvvvvvvvvv +.............. +aabbccxxccbbaa +aabbccxxccbbaa +.............. +EEEEE####EEEEE +.............. +aabbccxxccbbaa +aabbccxxccbbaa +.............. +EEEE#E##E#EEEE +.............. +aabbccxxccbbaa +aabbccxxccbbaa +.............. +EEEEE####EEEEE +v............v +.............. +Bonus: +.10+~-1~.10-.1 +.............. +.2.c0*44?0...0 +0g0.2.44s.10-. +.............. +......55...... +.............. +2.f0.l44.p0.+0 +~0.-jm44mc.?0. +.............. +....5....5.... +.............. +0wf10m44mf-~0- +f+0{bp44b>0f~+ +.............. +......55...... +m............m +.............. diff --git a/project/jni/application/lbreakout2/client/levels/Zooligan b/project/jni/application/lbreakout2/client/levels/Zooligan new file mode 100644 index 000000000..290ae18e6 --- /dev/null +++ b/project/jni/application/lbreakout2/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 +.............. +!!!!>s>>g1... +..10f---f01... +..d.>~.~>.d... +..d.>bdb>.d... +..d-fb.bf-d... +..1?pd.dp?1... +...p.....p.... +.............. +.............. +.............. +.............. +.............. +Level: +Guenter +Spirale +Bricks: +eee........... +.............. +.....#........ +....@.#....... +...#...#...... +..#e.v..@..... +.#eee#...#.... +..@e#...#.vvvv +...#...#...... +......@....... +.....#........ +....#.yyyyyyyy +...@.......... +v.#........... +v#............ +.............. +.............. +vvv........... +Bonus: +<.g........... +.............. +.............. +.............. +.............. +...5.......... +..555......... +...5......m-lm +.............. +.............. +.............. +......fff?ffff +.............. +d............. +d............. +.............. +.............. +fff........... +Level: +Guenter +Zauberhut +Bricks: +g............g +....dddddd.... +....d@@@@d.... +....dkEEkd.... +....d@@@@d.... +....dkEEkd.... +....d@@@@d.... +!!..dkEEkd..!! +!a..d@@@@d..a! +a!..dkEEkd..!a +.a!.d@@@@d.!a. +..add.xx.dda.. +...a!vvvv!a... +xxxxx!!!!xxxxx +***z******z*** +eeeeeeeeeeeeee +.............. +.............. +Bonus: +?............? +....s....s.... +......jj...... +.....4..4..... +......55...... +.....3..3..... +.s....55....s. +.m...2..2...m. +......55...... +.....g..g..... +.............. +.............. +.....+dd+..... +bbb-b.<<.b-bbb +.............. +.............. +.............. +.............. +Level: +Guenter +Roesselsprung +Bricks: +dddddd@ddddddd +dd.....v@ddddd +d@.......v@vdd +d..@........@d +@....@.......d +...........@.d +.@.bv.@......d +...@...bbbbb@d +.......@.....d +.............@ +......@....... +....@.......E. +..........@y.. +yyy@....Ey.... +......@y...... +....Ey........ +.............. +..v........... +Bonus: +1b>b>b.-b>b>b1 +1-.......b-bb1 +1...........>1 +m............1 +.............1 +.............1 +...f.........w +.......-.....1 +.............1 +.............. +.............. +.............. +.............. +ccc........... +.............. +.............. +.............. +.............. +Level: +Guenter +Frust +Bricks: +......@@...... +.............. +.............. +.@ffffffffff@. +.@f...ii...f@. +.@...EEEE...@. +.@...h**h...@. +.@..######..@. +.@..h****h..@. +.E.@@@@@@@@.E. +...h**!!**h... +..yyyyyyyyyy.. +.....@@@@..... +.dddddddddddd. +.!!!!!!!!!!!!. +eeeeeeeeeeeeee +.............. +.............. +Bonus: +......ll...... +.............. +.............. +..}{.&**&.{}.. +..}...55...}.. +.............. +.............. +.............. +.............. +......gg...... +.............. +......mm...... +.............. +..+s+-<<-+s+.. +....<....<.... +?f?fcfccfcf?f? +.............. +.............. +Level: +Guenter +brutale Gewalt +Bricks: +.............. +.hh.....d..... +hhh....d.@@@@. +h.h...d.....@. +h.h..d......@. +h.hhd.yyy...@. +h.....y.y...@. +h.....yhy...@. +hhhh..yyy...@. +...h........@. +..hh..@@....@. +hhh..@@@@...@. +h...@@@@@@..@. +h@@@@@@@@@@@@. +hh..........e. +.h.E..cc..E.d. +EEEE......EEEE +.............. +Bonus: +.............. +..0.....g..... +..0....c...... +..0...c....... +..0..c........ +..00c.WWW..... +......W.W..... +j.....W5W..... +.0&&..WWW..... +...&.......... +..bb.......... +pbb........... +p............. +p............. +p<..........d. +.<....m?....d. +.............. +.............. +Level: +Guenter +Guenter +Bricks: +############## +............@. +.jjjx..jjjx.@. +.j..x..j..x.@. +.j.....j....@. +.j.@@@.j.@@@@. +.j.....j....@. +.j.....j....@. +.j.jj..j.jj.@. +.j..j..j..j.@. +.j..j..j..j.@. +.j..j..j..j.@. +.jjjj..jjjj.@. +..........z.@. +.@@@@@@@@@@@@. +.............. +.yyyy..yyyy... +.EEEE..EEEE... +Bonus: +.............. +.............. +.000s0>>0s000> +.............. +....00ss00.... +....<<<<<<.... +.............. +.............. +.............. +.....gggg..... +.............. +....~wssw~.... +....s4444s.... +cscc~b11b~ccsc +>.s.~0000~.s.> +ssssssssssssss +.............. +.............. +.............. +.............. +Level: +Guenter +Gluecksspiel +Bricks: +@............@ +@.cccccccccc.@ +@.EEE@##@EEE.@ +@............@ +@............@ +@............@ +@..EE@##@EE..@ +@............@ +@@..........@@ +@....@..@....@ +@....E..E....@ +cccc.@..@.cccc +#EE@.#..#.@EE# +@....#..#....@ +@....E..E....@ +@....@..@....@ +@....E..E....@ +@....@cc@....@ +Bonus: +?............? +?.??????????.? +?.??????????.? +?............? +?............? +?............? +?..????????..? +?............? +??..........?? +?....?..?....? +?....?..?....? +????.?..?.???? +????.?..?.???? +?....?..?....? +?....?..?....? +?....?..?....? +?....?..?....? +?....?mm?....? +Level: +Guenter +Autsch +Bricks: +i.....jj.....i +i.....jj.....i +......jj...... +......jj...... +......ii...... +......ii...... +......ii...... +......ii...... +......ii...... +......ii...... +EEE...ii...EEE +h.....ii.....h +h.EEEEiiEEEE.h +h.....ii.....h +h....@@@@....h +hEEE......EEEh +h............h +EE.EE.@@.EE.EE +Bonus: +5.....44.....5 +5.....44.....5 +......44...... +......44...... +......ff...... +......ff...... +......ff...... +......ff...... +......ff...... +......ff...... +......ff...... +{.....ff.....{ +f.....ff.....f +f.....??.....f +f............f +f............f +m............m +.............. +Level: +Guenter +Laecheler +Bricks: +.............. +.............. +.............. +...fff.fff.... +.............. +.............. +....d...d..... +.xx.......xx.. +.x.........x.. +.x....i....x.. +.xx...i...xx.. +......i....... +......x....... +...ee...he.... +....eeeee..... +.....eee...... +.............. +.............. +Bonus: +.............. +.............. +.............. +...&l&.&l&.... +.............. +.............. +....g...g..... +.++.......++.. +.+.........+.. +.+....j....+.. +.++...j...++.. +......j....... +......j....... +...0f...f0.... +....00000..... +.....000...... +.............. +.............. +Level: +Guenter +Umpfffff +Bricks: +......ff...... +..@@@@@@@@@@.. +.............. +.............. +.@.@......@.@. +.@.@......@.@. +.@i@......@i@. +.@@@......@@@. +.@@@......@@@. +.............. +.............. +......@@...... +......@@...... +.............. +...@..cc..@... +...@@@@@@@@... +.............. +.............. +Bonus: +......55...... +.............. +.............. +.............. +.............. +.............. +..5........5.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +......mm...... +.............. +.............. +.............. +Level: +Guenter +Schnell oder aetzend +Bricks: +.............. +.............. +..!!!!!!!!!!.. +.............. +xxxxxxxxxxxxxx +xx**xxxxxx**xx +x*****xx*****x +xxxxxxxxxxxxxx +...@.......... +.............. +.....@.....@.. +.............. +.............. +..@........... +.......@...... +.............. +............@. +.............. +Bonus: +.............. +..4444444444.. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Guenter +Duesterwald +Bricks: +.............. +.......c...... +..c........... +..c...c..c..c. +.............. +.............. +........c..... +......c.....c. +...c........c. +..........c... +.............. +.............. +.c.....c....c. +.............. +.............. +!!!!!!!!!!!!!! +.............. +************** +Bonus: +.............. +.......~...... +..2........... +..2...5..>..~. +.............. +.............. +........m..... +......>.....2. +...W........?. +..........-... +.............. +.............. +.-.....W....2. +.............. +ff>>ff>>ff>>ff +dddddddddddddd +dddddddddddddd +.............. +Level: +Guenter +Chaos +Bricks: +..dd.......... +!.d.!!!!!!dd.! +.d.......*.d.! +.d..@.!!!x.d.! +*!..ddd.#d!.!. +d!!xx.d.!.!!x. +.!..d!!E.!dx!. +@!d.d!!d.!.!!d +d!*...!!!xx!dd +.!.d!!.d*.x... +.x..x...!@d.!d +.!.xx..!!!..!. +.!#..d..ddx@xx +..dd..!!!!xx!. +.d.d!!!...!!!. +xd...d.Exd.@d. +.d..dd@..dd.d. +...E....!..... +Bonus: +*.....d.}}.... +......df..fwf. +.f.f.......... +.....0.b.+..00 +...<.00..f!... +fw....0.}....< +....}.d....5.. +.f....5.. +00.w.ff.!.0.>c +.0...d0~>..~.. +....?g0>.f.0.. +..b....0c...m. +f....w.b0.0.w~ +.j.1<.f.c00..~ +.f.....++<...0 +...ff.+f...... +....b......... +.............. +Level: +Guenter +Glueck oder Pech +Bricks: +.e..@@@@@@..e. +#............# +eE..........Ee +e.E...@@...E.e +e..E!!!!!!E..e +e............e +#............# +gE....@@....Eg +g.E........E.g +g..E!!!!!!E..g +g............g +#............# +hE....@@....Eh +h.E........E.h +h..E......E..h +h............h +@@xxxxxxxxxx@@ +.............. +Bonus: +.g..333333..g. +5............5 +1............1 +1.....33.....1 +1.....mm.....1 +1...------...1 +5............5 +......55...... +....++++++.... +......??...... +.............. +5............5 +.............. +.............. +.............. +p............p +55..........55 +.............. +Level: +Guenter +Hoelle +Bricks: +.............. +hhhhhhhhhhhhhh +hhhhhhhhhhhhhh +.............. +.............. +.............. +@@@@@@@@@@@@@@ +@@@@@@@@@@@@@@ +.............. +.............. +!!!!!!!!!!!!!! +!!!!!!!!!!!!!! +.............. +zzzzzbbbbzzzzz +z*z*@@@@@@*z*z +zzzzzzzzzzzzzz +!..!..!!..!..! +zzzzzzzzzzzzzz +Bonus: +.............. +55555555555555 +55555555555555 +.............. +.............. +.............. +ssssssssssssss +{{{{{{{{{{{{{{ +.............. +44444444444444 +-------------- +~~~~~~~~~~~~~~ +44444444444444 +l.....mm.....l +&.&{{{{{{{{&.& +dddddddddddddd +&cc&cc&&cc&cc& +>>>>>>>>>>>>>> +Level: +Guenter +Himmel +Bricks: +z...!....!...z +......!!...... +.!.!......!.!. +.....!..!..... +!..x......x..! +......!!...... +.!.!......!.!. +.....!zz!..... +.............. +!.!...!!...!.! +....!....!.... +..!........!.. +.............. +.!.!..!!..!.!. +.............. +..!..!..!..!.. +.............. +.............. +Bonus: +...00000000... +40003w..w30004 +g000334433000g +00003.33.30000 +.0..00bb00..0. +0001g1..1g1000 +1.1.111111.1.1 +11111.11.11111 +00111111111100 +.0.+++..+++.0. +00sw.0ss0.ws00 +.*.000..000.*. +00000g22g00000 +<.<.02..20.<.< +0&&&02<<20&&&0 +.0000.00.0000. +.............. +.............. + diff --git a/project/jni/application/lbreakout2/client/main.c b/project/jni/application/lbreakout2/client/main.c new file mode 100644 index 000000000..101a34bbf --- /dev/null +++ b/project/jni/application/lbreakout2/client/main.c @@ -0,0 +1,240 @@ +/*************************************************************************** + main.c - description + ------------------- + begin : Don Sep 6 12:02:57 CEST 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifdef _WIN32 +#include +#endif + +#ifdef __unix__ +#include +#endif + +#include "lbreakout.h" +#include "../game/game.h" +#include "file.h" +#include "chart.h" +#include "config.h" +#include "shrapnells.h" +#include "event.h" +#include "game.h" +#include "manager.h" +#include "editor.h" +#include "help.h" +#include "theme.h" +#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; +extern StkFont *font; +extern char **theme_names; +extern int theme_count; +extern SDL_Surface *mbkgnd, *cr_bkgnd; +extern char *edit_set; +extern char **levelset_names_local; /* non-network levelsets */ +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[]) +{ + int result = ACTION_NONE; + int leave = 0; + 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; +#endif + + /* lbreakout info */ + printf( "LBreakout2 %s\nCopyright 2001-2005 Michael Speck\nPublished under GNU GPL\n---\n", VERSION ); + printf( "Looking up data in: %s\n", SRC_DIR ); + printf( "Looking up custom levels in: %s/%s/lbreakout2-levels\n", (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME ); +#ifndef AUDIO_ENABLED + printf( "Compiled without sound and music\n" ); +#endif + + 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_HWSURFACE | SDL_FULLSCREEN, 640, 480, 16 ); + else + stk_display_open( SDL_HWSURFACE, 640, 480, 16 ); + stk_audio_open( 0,0,0,config.audio_buffer_size ); + SDL_WM_SetCaption( "LBreakout2", 0 ); + SDL_SetEventFilter( event_filter ); + stk_audio_enable_sound( config.sound ); + stk_audio_set_sound_volume( config.volume * 16 ); + + /* load a little loading pic */ + stk_surface_set_path( SRC_DIR "/gfx" ); + loading = stk_surface_load( SDL_SWSURFACE, "loading.png" ); + stk_surface_blit( loading, 0,0,-1,-1, stk_display, + (stk_display->w-loading->w)/2, + (stk_display->h-loading->h)/2 ); + stk_display_update( STK_UPDATE_ALL ); + + /* load the GUI graphics from SRC_DIR/gui_theme */ + stk_surface_set_path( SRC_DIR ); + stk_audio_set_path( SRC_DIR ); + gui_init( "gui_theme" ); + + stk_surface_set_path( SRC_DIR "/gfx" ); + stk_audio_set_path( SRC_DIR "/sounds" ); + + /* load resources */ + /* for simplicity all functions are kept but anything + * that is now themeable is loaded in + * theme_load instead of the original function + * (deleting resources works analouge) + */ + theme_get_list(); + if ( config.theme_count != theme_count ) { + if ( config.theme_id >= theme_count ) + config.theme_id = 0; + config.theme_count = theme_count; + } + theme_load( theme_names[config.theme_id] ); + /* old functions still with initialzations of + * lists or variables + */ + client_game_create(); + hint_load_res(); + chart_load(); + manager_create(); + client_create(); + exp_load(); + editor_create(); + help_create(); + /* run game */ + manager_fade( STK_FADE_IN ); + while( !leave && !stk_quit_request ) { + result = manager_run(); + switch( result ) { + case ACTION_QUIT: leave = 1; break; + case ACTION_RESUME_0: + manager_fade( STK_FADE_OUT ); + if ( client_game_resume_local( 0 ) ) + client_game_run(); + client_game_finalize(); + manager_fade( STK_FADE_IN ); + 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(); + manager_fade( STK_FADE_IN ); + break; + case ACTION_PLAY_CUSTOM: + manager_fade( STK_FADE_OUT ); + 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(); + manager_fade( STK_FADE_IN ); + break; + case ACTION_EDIT: + /* new set? */ + 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" ) ) { + free( editor_file ); + break; + } + else + manager_update_set_list(); + } + else + editor_file = strdup( edit_set ); + if ( editor_init( editor_file ) ) { + manager_fade( STK_FADE_OUT ); + editor_run(); + editor_clear(); + manager_fade( STK_FADE_IN ); + } + free( editor_file ); editor_file = 0; + break; + case ACTION_QUICK_HELP: + help_run(); + break; + case ACTION_CLIENT: + manager_fade( STK_FADE_OUT ); + client_run(); + manager_fade( STK_FADE_IN ); + break; + default: break; + } + } + manager_fade( STK_FADE_OUT ); + /* delete stuff */ + help_delete(); + manager_delete(); + chart_save(); + chart_delete(); + editor_delete(); + exp_delete(); + client_game_delete(); + hint_delete_res(); + theme_delete(); + theme_delete_list(); + stk_surface_free( &loading ); + + config_save(); + + if (hi_dir_chart_file) + fclose(hi_dir_chart_file); + + return EXIT_SUCCESS; +} diff --git a/project/jni/application/lbreakout2/client/manager.c b/project/jni/application/lbreakout2/client/manager.c new file mode 100644 index 000000000..3d2a06d8e --- /dev/null +++ b/project/jni/application/lbreakout2/client/manager.c @@ -0,0 +1,892 @@ +/*************************************************************************** + manager.c - description + ------------------- + begin : Thu Sep 20 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "manager.h" +#include "../game/game.h" +#include "file.h" +#include "chart.h" +#include "event.h" +#include "config.h" +#include "../gui/stk.h" +#include "theme.h" +#include "slot.h" + +extern SDL_Surface *stk_display; +extern Config config; +extern List *menus; /* list of menus */ +int menu_x = 54, menu_y = 220, menu_w = 256, menu_h = 256, menu_border = 16; /* default region where menu is displayed centered */ +int cx = 384, cy = 220, cw = 256, ch = 200; /* center charts here */ +Menu *cur_menu; /* current menu */ +extern SDL_Surface *mbkgnd; /* menu background */ +extern StkFont *mfont, *mhfont, *mcfont; /* font, highlight font, caption font */ +int gap_height = 2; +List *levelset_names = 0; /* all names in home & install directory */ +char **levelset_names_home = 0; /* home directory sets */ +int levelset_count_home = 0; +char **levelset_names_local; /* non-network levelsets */ +int levelset_count_local; +char *edit_set = 0; /* selected set in editor menu */ +extern int stk_quit_request; +#ifdef AUDIO_ENABLED +extern StkSound *wav_menu_click; +extern StkSound *wav_menu_motion; +#endif +/* some items we need to know to assign name lists later */ +Item *item_levelset, *item_set, *item_theme, *item_resume_0; +extern List *charts; +int chart_id = 0; /* current chart displayed */ +/* theme name list */ +extern char **theme_names; +extern int theme_count; + +/* 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 penalties 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. 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 penalties, 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 "\ + "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) "\ +"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 "\ + "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[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.#"\ + "-- 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 "\ + "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)") +#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 appropriate 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!") + +/* +==================================================================== +Levelset names functions. +==================================================================== +*/ +/* +==================================================================== +Check if this levelset's name declare it as network set. +==================================================================== +*/ +int levelset_is_network( char *name ) +{ + if ( name == 0 ) return 0; + if ( name[0] == '~' ) name++; + if ( name[0] == 'N' && name[1] == '_' ) return 1; + return 0; +} +/* +==================================================================== +Get/delete list of all valid levelsets in data directory or +~/.lbreakout/levels. +==================================================================== +*/ +void levelsets_delete_names() +{ + if ( levelset_names ) { + list_delete( levelset_names ); + levelset_names = 0; + } + if ( levelset_names_home ) { + free( levelset_names_home ); + levelset_names_home = 0; + } + if ( levelset_names_local ) { + free( levelset_names_local ); + levelset_names_local = 0; + } +} +void levelsets_load_names() +{ + Text *text = 0; + char level_dir[512]; + char file_name[64]; + char *name; + int default_set_count = 8; + char *default_sets[] = { + "LBreakout1", + TOURNAMENT, + _("!JUMPING_JACK!"), + _("!OUTBREAK!"), + _("!BARRIER!"), + _("!SITTING_DUCKS!"), + _("!HUNTER!"), + _("!INVADERS!") + }; + int i, j; + /* clear previous lists */ + levelsets_delete_names(); + /* gather all names in install&home directory to levelset_names */ + levelset_names = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + /* parse install directory */ + sprintf( level_dir, "%s/levels", SRC_DIR ); + if ( ( text = get_file_list( level_dir, 0, level_dir ) ) ) { + for ( i = 0; i < text->count; i++ ) { + /* filter stuff */ + if ( text->lines[i][0] == '*' ) continue; + if ( strequal( text->lines[i], "Makefile.am" ) ) continue; + if ( strequal( text->lines[i], "Makefile.in" ) ) continue; + if ( strequal( text->lines[i], "Makefile" ) ) continue; + /* default sets */ + if ( strequal( text->lines[i], "LBreakout2" ) ) continue; + if ( strequal( text->lines[i], "LBreakout1" ) ) continue; + /* obsolete sets */ + if ( strequal( text->lines[i], "Original" ) ) continue; + if ( strequal( text->lines[i], "AddOn-1" ) ) continue; + if ( strequal( text->lines[i], "AddOn-2" ) ) continue; + /* default sets are at the beginning of the list thus + ignored here */ + for ( j = 0; j < default_set_count; j++ ) + if ( STRCMP( default_sets[j], text->lines[i] ) ) + continue; + /* add */ + list_add( levelset_names, strdup( text->lines[i] ) ); + } + delete_text( text ); + } + /* parse home directory */ + snprintf( level_dir, sizeof(level_dir)-1, "%s/%s/lbreakout2-levels", (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME ); + if ( ( text = get_file_list( level_dir, 0, level_dir ) ) ) { + for ( i = 0; i < text->count; i++ ) { + /* filter stuff */ + if ( text->lines[i][0] == '*' ) continue; + /* add */ + sprintf( file_name, "~%s", text->lines[i] ); + list_add( levelset_names, strdup( file_name ) ); + } + delete_text( text ); + } + /* create static home list */ + list_reset( levelset_names ); + levelset_count_home = 1; + while ( ( name = list_next( levelset_names ) ) ) + if ( name[0] == '~' ) + levelset_count_home++; + levelset_names_home = calloc( levelset_count_home, sizeof( char* ) ); + list_reset( levelset_names ); i = 1; + while ( ( name = list_next( levelset_names ) ) ) + if ( name[0] == '~' ) + levelset_names_home[i++] = name + 1; + levelset_names_home[0] = NEW_SET; + /* create static local set list */ + list_reset( levelset_names ); + levelset_count_local = default_set_count; + while ( ( name = list_next( levelset_names ) ) ) + if ( !levelset_is_network( name ) ) + levelset_count_local++; + levelset_names_local = calloc( levelset_count_local, sizeof( char* ) ); + list_reset( levelset_names ); i = default_set_count; + while ( ( name = list_next( levelset_names ) ) ) + if ( !levelset_is_network( name ) ) + levelset_names_local[i++] = name; + /* default names */ + for ( i = 0; i < default_set_count; i++ ) + levelset_names_local[i] = default_sets[i]; + /* adjust config */ + if ( config.levelset_count_local != levelset_count_local ) { + config.levelset_id_local = 0; + config.levelset_count_local = levelset_count_local; + } + if ( config.levelset_count_home != levelset_count_home ) { + config.levelset_id_home = 0; + config.levelset_count_home = levelset_count_home; + } +} + +/* select levelset chart */ +void select_chart( char *name, int update ) +{ + int i; + Set_Chart *chart; + /* select chart */ + for ( i = 0; i < charts->count; i++ ) { + chart = chart_set_query_id( i ); + if ( STRCMP( chart->name, name ) ) { + chart_id = i; + if ( update ) { + stk_surface_blit( + mbkgnd, 0,0,-1,-1, stk_display, 0,0 ); + chart_show( chart_set_query_id( chart_id ), + cx, cy, cw, ch ); + } + } + } +} + +/* +==================================================================== +Callbacks of menu items. +==================================================================== +*/ +/* Disable/enable sound */ +void cb_sound() { +#ifdef AUDIO_ENABLED + stk_audio_enable_sound( config.sound ); +#endif +} +/* set volume */ +void cb_volume() { +#ifdef AUDIO_ENABLED + stk_audio_set_sound_volume( config.volume * 16 ); +#endif +} +/* toggle fullscreen */ +void cb_fullscreen() { + manager_show(); +} +/* delete set */ +void cb_delete_set() +{ + char fname[512]; + /* do not delete file */ + if ( strequal( NEW_SET, levelset_names_home[config.levelset_id_home] ) ) { + printf( _("You cannot delete '%s'!\n"),NEW_SET ); + return; + } + /* get file name + path */ + snprintf( fname, sizeof(fname)-1,"%s/%s/lbreakout2-levels/%s", getenv( "HOME" ), CONFIG_DIR_NAME, levelset_names_home[config.levelset_id_home] ); + remove( fname ); + levelsets_load_names(); /* reinit name lists and configs indices */ + /* reassign these name lists as position in memory has changed */ + value_set_new_names( item_levelset->value, levelset_names_local, levelset_count_local ); + value_set_new_names( item_set->value, levelset_names_home, levelset_count_home ); +} +/* adjust set list */ +void cb_adjust_set_list() +{ + /* reinit name lists and configs indices */ + levelsets_load_names(); + /* reassign these name lists as position in memory has changed */ + value_set_new_names( item_levelset->value, levelset_names_local, levelset_count_local ); + value_set_new_names( item_set->value, levelset_names_home, levelset_count_home ); +} +/* set key speed from i_key_speed */ +void cb_set_keyspeed() +{ + config.key_speed = 0.001 * config.i_key_speed; +} +/* if hints where disabled hide actual hint */ +void cb_hints() +{ + if ( !config.use_hints ) + hint_set( 0 ); +} +/* change theme */ +void cb_change_theme() +{ + Menu *menu; + theme_load( theme_names[config.theme_id] ); + hint_set_bkgnd( mbkgnd ); + /* apply the new background to all items */ + list_reset( menus ); + while ( ( menu = list_next( menus ) ) ) { + menu_set_bkgnd( menu, mbkgnd ); + menu_set_fonts( menu, mcfont, mfont, mhfont ); + } + stk_surface_blit( mbkgnd, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_update( STK_UPDATE_ALL ); +} +/* update hint about selected levelset */ +void cb_update_levelset_hint() +{ + FILE *file; + int version, update; + char author[32]; + if ( STRCMP( levelset_names_local[config.levelset_id_local], TOURNAMENT ) ) { + sprintf( hint_levelset, HINT_FREAKOUT ); + } + else if ( STRCMP( levelset_names_local[config.levelset_id_local], "LBreakout1" ) ) { + 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"), + levelset_names_local[config.levelset_id_local], + version, update, author/*, HINT_LEVELSET_APPENDIX*/ ); + 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 ); +} +/* update hint of theme by feeding it with the ABOUT file */ +void cb_update_theme_hint() +{ + theme_get_info( theme_names[config.theme_id], hint_theme, 255 ); + strcat( hint_theme, "##" ); strcat( hint_theme, HINT_THEME_APPENDIX ); + hint_set_contents( item_theme->hint, hint_theme ); + hint_set( item_theme->hint ); /* redraw the hint */ +} +/* update config::motion_mod */ +void cb_set_motion_mod() +{ + config.motion_mod = 0.01 * config.i_motion_mod; +} +/* update pointer edit_set which is the name of the selected set in editor menu */ +void cb_update_edit_set() +{ + edit_set = levelset_names_home[config.levelset_id_home]; +} +void cb_maxballspeed() +{ + config.maxballspeed_float = (float)config.maxballspeed_int1000/ 1000; +} + + +/* +==================================================================== +Load/delete background and create and link all menus +==================================================================== +*/ +void manager_create() +{ + int i, j; + Item *keys[7]; + 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") }; + /* + main: + new game: + start game + quick help + --- + levelset + difficulty + --- + active players + --- + player1 + player2 + player3 + player4 + controls + graphics + animations + transparency + shadow + --- + display + constant frame rate + audio: + sound + volume + advanced options: + convex paddle + ball level + key speed + editor: + set: (list) + edit + delete + yes + no + --- + create empty set + set name: (string) + create set + yes + no + --- + quit + */ + Menu *_main = 0; +#ifdef _1 + Menu *options = 0; +#endif +#ifdef AUDIO_ENABLED + Menu *audio = 0; +#endif + Menu *gfx = 0; + Menu *game = 0; + Menu *cont = 0; + Menu *adv = 0; + Menu *editor = 0; + Menu *confirm_delete = 0; + Menu *theme = 0; + + /* load levelset names */ + levelsets_load_names(); + cb_update_edit_set(); + + /* hints will be displayed on menu background */ + hint_set_bkgnd( mbkgnd ); + + /* setup filter */ + filter_clear( filter ); + filter_set( filter, SDLK_a, SDLK_z, 1 ); + filter[SDLK_BACKSPACE] = 1; + filter[SDLK_SPACE] = 1; + filter[SDLK_RSHIFT] = 1; + filter[SDLK_LSHIFT] = 1; + filter[SDLK_LALT] = 1; + filter[SDLK_RALT] = 1; + filter[SDLK_LCTRL] = 1; + filter[SDLK_RCTRL] = 1; + filter[SDLK_UP] = 1; + filter[SDLK_DOWN] = 1; + filter[SDLK_LEFT] = 1; + filter[SDLK_RIGHT] = 1; + filter[SDLK_q] = 0; + filter[SDLK_p] = 0; + filter[SDLK_f] = 0; + filter[SDLK_s] = 0; + filter[SDLK_a] = 0; + filter[SDLK_r] = 0; + filter[SDLK_h] = 0; + filter[SDLK_d] = 0; + + /* 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 ); +#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 ); +#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 ); + /* create items */ + /* main menu */ + 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_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 ) ); +#ifdef AUDIO_ENABLED + 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 ( "" ) ); + 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 ) ); +#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_separator( "" ) ); + menu_add( options, item_create_link( _("Back"), _main ) ); +#endif + /* audio */ +#ifdef AUDIO_ENABLED + 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 ); + item->callback = cb_volume; + menu_add( audio, item ); + menu_add( audio, item_create_separator( "" ) ); + 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_separator( "" ) ); + 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_separator( "" ) ); + 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 ) ); + /* game */ + 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_separator( "" ) ); + 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_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_separator( "" ) ); + 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 ); + for ( i = 0; i < 7; i++ ) + menu_add( cont, keys[i] ); + /* dynamic restriction */ + for ( i = 0; i < 7; i++ ) + for ( j = 0; j < 7; j++ ) + if ( j != i ) + 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->callback = cb_set_keyspeed; + menu_add( cont, item ); + 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_separator( "" ) ); + 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( _("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") ); + 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 ); + 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 ) ); + /* editor */ + item_set = item_create_switch_x( + _("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_separator( "" ) ); + menu_add( editor, item_create_link( _("Back"), HINT_, _main ) ); + /* confirm_delete set */ + 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 ) ); + /* theme */ + 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->callback = cb_change_theme; + menu_add( theme, item ); + menu_add( theme, item_create_link( _("Cancel"), HINT_, gfx ) ); + + /* adjust all menus */ + menu_adjust( _main ); +#ifdef _1 + menu_adjust( options ); +#endif +#ifdef AUDIO_ENABLED + menu_adjust( audio ); +#endif + menu_adjust( gfx ); + menu_adjust( game ); + menu_adjust( cont ); + menu_adjust( adv ); + menu_adjust( editor ); + menu_adjust( confirm_delete ); + menu_adjust( theme ); + /* set main menu as current */ + menu_select( _main ); +} +void manager_delete() +{ + list_delete( menus ); + + /* free levelset names */ + levelsets_delete_names(); +} +/* +==================================================================== +Run menu until request sent +==================================================================== +*/ +int manager_run() +{ + SDL_Event event; + int result = ACTION_NONE; + int ms; + /* draw highscores */ + chart_show( chart_set_query_id( chart_id ), cx, cy, cw, ch ); + /* loop */ + stk_timer_reset(); + while ( result == ACTION_NONE && !stk_quit_request ) { + menu_hide( cur_menu ); + hint_hide(); + /* fullscreen if no item selected */ + if ( SDL_PollEvent( &event ) ) { + if ( cur_menu->cur_item == 0 || + (cur_menu->cur_item->type != ITEM_EDIT && cur_menu->cur_item->type != ITEM_KEY ) ) + if ( event.type == SDL_KEYDOWN ) + if ( event.key.keysym.sym == SDLK_f ) { + config.fullscreen = !config.fullscreen; + stk_display_apply_fullscreen( config.fullscreen ); + stk_surface_blit( mbkgnd, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_update( STK_UPDATE_ALL ); + } + /* check if clicked on highscore */ + if ( event.type == SDL_MOUSEBUTTONDOWN ) + if ( event.button.x >= cx && event.button.y >= cy ) + if ( event.button.x < cx + cw && event.button.y < cy + ch ) { +#ifdef AUDIO_ENABLED + stk_sound_play( wav_menu_click ); +#endif + /* set chart id */ + if ( event.button.button == STK_BUTTON_LEFT ) { + chart_id++; + if ( chart_id == charts->count ) chart_id = 0; + } + else { + chart_id--; + if ( chart_id == -1 ) chart_id = charts->count - 1; + } + /* redraw */ + stk_surface_blit( mbkgnd, 0,0,-1,-1, stk_display, 0,0 ); + chart_show( chart_set_query_id( chart_id ), cx, cy, cw, ch ); + } + result = menu_handle_event( cur_menu, &event ); + } + else +#ifdef ANDROID + stk_surface_blit( mbkgnd, 0,0,-1,-1, stk_display, 0,0 ); +#endif + menu_handle_event( cur_menu, 0 ); /* update motion */ + ms = stk_timer_get_time(); + menu_update( cur_menu, ms ); + hint_update( ms ); + menu_show( cur_menu ); + chart_show( chart_set_query_id( chart_id ), cx, cy, cw, ch ); + hint_show(); + stk_display_update( STK_UPDATE_RECTS ); + SDL_Delay( 5 ); + } + return result; +} +/* +==================================================================== +Fade in/out background of menu +==================================================================== +*/ +void manager_fade( int type ) +{ + if ( type == STK_FADE_IN ) + stk_surface_blit( mbkgnd, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_fade( type, STK_FADE_DEFAULT_TIME ); +} +/* +==================================================================== +Update screen without menu itself as this is shown next frame. +==================================================================== +*/ +void manager_show() +{ + stk_display_apply_fullscreen( config.fullscreen ); + stk_surface_blit( mbkgnd, 0,0,-1,-1, stk_display, 0,0 ); + chart_show( chart_set_query_id( chart_id ), cx, cy, cw, ch ); + stk_display_update( STK_UPDATE_ALL ); +} + +/* +==================================================================== +Update set list when creating a new file for editor. +==================================================================== +*/ +void manager_update_set_list() +{ + cb_adjust_set_list(); /* hacky but shiiiit how cares? */ +} diff --git a/project/jni/application/lbreakout2/client/manager.h b/project/jni/application/lbreakout2/client/manager.h new file mode 100644 index 000000000..6d34cfcf1 --- /dev/null +++ b/project/jni/application/lbreakout2/client/manager.h @@ -0,0 +1,77 @@ +/*************************************************************************** + manager.h - description + ------------------- + begin : Thu Sep 20 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __MANAGER_H +#define __MANAGER_H + +#include "lbreakout.h" +#include "value.h" +#include "item.h" +#include "menu.h" + +/* +==================================================================== +Actions generated by menu +==================================================================== +*/ +enum { + ACTION_NONE = 0, + ACTION_QUIT, + ACTION_PLAY_LBR, + ACTION_PLAY_CUSTOM, + ACTION_SHOW_HIGHSCORE, + ACTION_EDIT, + ACTION_QUICK_HELP, + ACTION_CONNECT, + ACTION_CLIENT, + ACTION_RESUME_0 +}; + +/* +==================================================================== +Load/delete background and create and link all menus +==================================================================== +*/ +void manager_create(); +void manager_delete(); +/* +==================================================================== +Run menu until request sent +==================================================================== +*/ +int manager_run(); +/* +==================================================================== +Fade in/out background of menu +==================================================================== +*/ +void manager_fade( int type ); +/* +==================================================================== +Update screen without menu itself as this is shown next frame. +==================================================================== +*/ +void manager_show(); + +/* +==================================================================== +Update set list when creating a new file for editor. +==================================================================== +*/ +void manager_update_set_list(); + +#endif diff --git a/project/jni/application/lbreakout2/client/menu.c b/project/jni/application/lbreakout2/client/menu.c new file mode 100644 index 000000000..4187e983c --- /dev/null +++ b/project/jni/application/lbreakout2/client/menu.c @@ -0,0 +1,430 @@ +/*************************************************************************** + menu.c - description + ------------------- + begin : Thu Sep 20 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "manager.h" + +List *menus = 0; /* list of menus used to delete them later */ +extern StkFont *mfont, *mhfont, *mcfont; +extern int gap_height; /* gap size between items */ +extern Menu *cur_menu; +#ifdef AUDIO_ENABLED +extern StkSound *wav_menu_motion, *wav_menu_click; +#endif + +/* +==================================================================== +Create menu. +==================================================================== +*/ +Menu *menu_create( char *name, int layout, int x, int y, int w, int h, int border, int add_to_list ) +{ + Menu *menu = calloc( 1, sizeof( Menu ) ); + /* name */ + if ( name ) + menu->name = strdup( name ); + else + menu->name = strdup( "none" ); + /* layout */ + menu->layout = layout; + menu->x = x + border; menu->y = y + border; + menu->w = w - border * 2; menu->h = h - border * 2; + /* items are cleared normally */ + menu->items = list_create( LIST_AUTO_DELETE, item_delete ); + /* add menu to list menus */ + if ( add_to_list ) + list_add( menus, menu ); + /* create caption */ + if ( name ) { + menu_add( menu, item_create_separator( name ) ); + ((Item*)menu->items->head->next->item)->font = mcfont; + menu_add( menu, item_create_separator( "" ) ); + } + /* default fonts */ + menu->font = mfont; + menu->hfont = mhfont; + menu->cfont = mcfont; + /* return menu */ + return menu; +} +/* +==================================================================== +Delete menu and all submenus starting with root menu +==================================================================== +*/ +void menu_delete( void *pmenu ) +{ + Menu *menu = (Menu*)pmenu; + if ( !menu ) return; + list_delete( menu->items ); + if ( menu->name ) free( menu->name ); + free( menu ); +} +/* +==================================================================== +Add item to menu. +==================================================================== +*/ +void menu_add( Menu *menu, Item *item ) +{ + list_add( menu->items, item ); + if ( item->type == ITEM_LINK && (Menu*)item->link != menu ) + ((Menu*)item->link)->parent = menu; +} +/* +==================================================================== +Adjust position and size of all entries according to layout. +==================================================================== +*/ +void menu_adjust( Menu *menu ) +{ + int height, x, y; + Item *item; + if ( menu->layout == MENU_LAYOUT_CENTERED ) { + /* get full height of all items + gaps */ + height = menu->items->count * menu->hfont->height + + ( menu->items->count - 1 ) * gap_height; + /* get positions of items */ + y = menu->y + ( menu->h - height ) / 2; + x = menu->x; + /* set position */ + list_reset( menu->items ); + while( ( item = list_next( menu->items ) ) ) { + item->x = x; item->y = y; + item->w = menu->w; item->h = menu->hfont->height; + y += gap_height + menu->hfont->height; + item_adjust( item ); /* adjust alignment */ + } + return; + } + fprintf( stderr, "menu_adjust: layout %i not supported\n", menu->layout ); +} +/* +==================================================================== +Select menu: clear current item and set extern variable cur_menu +==================================================================== +*/ +void menu_select( Menu *menu ) +{ + if ( cur_menu ) menu_unselect_cur_item( cur_menu ); + cur_menu = menu; + menu->cur_item = 0; + hint_set( 0 ); +} +/* +==================================================================== +Show/hide all items +==================================================================== +*/ +void menu_hide( Menu *menu ) +{ + Item *item; + list_reset( menu->items ); + while ( ( item = list_next( menu->items ) ) ) + item_hide( item ); +} +void menu_show( Menu *menu ) +{ + Item *item; + list_reset( menu->items ); + while ( ( item = list_next( menu->items ) ) ) + item_show( item ); +} +/* +==================================================================== +modify items according to event (if any) +==================================================================== +*/ +int menu_handle_event( Menu *menu, SDL_Event *event ) +{ + int result = ACTION_NONE; + Item *item, *old_item; + int item_used; + int x, y, xoff, yoff; + void (*callback)(void); + /* if value::grab is set do only except keyup events */ + if ( menu->cur_item && menu->cur_item->type == ITEM_KEY && menu->cur_item->value->grab ) { + if ( event && event->type == SDL_KEYDOWN ) + value_set_key( menu->cur_item->value, event->key.keysym.sym ); + return result; + } + /* if other event occured check */ + if ( event ) + switch ( event->type ) { + case SDL_KEYDOWN: + switch ( event->key.keysym.sym ) { + case SDLK_ESCAPE: + /* if ESCAPE is pressed go up to last menu or leave */ + if ( strequal( "Back", ((Item*)menu->items->tail->prev->item)->name ) ) + menu_select( ((Item*)menu->items->tail->prev->item)->link ); + else + if ( strequal( "Quit", ((Item*)menu->items->tail->prev->item)->name ) ) + result = ACTION_QUIT; + break; + case SDLK_RETURN: + if ( !menu->cur_item ) break; + item_used = 1; + /* callback */ + callback = menu->cur_item->callback; + /* action */ + switch ( menu->cur_item->type ) { + case ITEM_ACTION: result = menu->cur_item->item_id; break; + case ITEM_LINK: menu_select( menu->cur_item->link ); break; + case ITEM_KEY: value_grab( menu->cur_item->value ); break; + case ITEM_SWITCH: + case ITEM_SWITCH_X: + case ITEM_RANGE: + value_inc( menu->cur_item->value ); + break; + default: item_used = 0; break; + } + if ( item_used ) { +#ifdef AUDIO_ENABLED + stk_sound_play( wav_menu_click ); +#endif + if ( callback ) (callback)(); + } + break; + 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: + case ITEM_RANGE: + value_inc( menu->cur_item->value ); + break; + default: item_used = 0; break; + } +#ifdef AUDIO_ENABLED + 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: + case ITEM_RANGE: + value_dec( menu->cur_item->value ); + break; + default: item_used = 0; break; + } +#ifdef AUDIO_ENABLED + if ( item_used ) { + stk_sound_play( wav_menu_click ); +#endif + if ( callback ) (callback)(); + } + break; + case SDLK_UP: + menu_up( menu ); + hint_set( menu->cur_item->hint ); +#ifdef AUDIO_ENABLED + stk_sound_play( wav_menu_click ); +#endif + break; + case SDLK_DOWN: + menu_down( menu ); + hint_set( menu->cur_item->hint ); +#ifdef AUDIO_ENABLED + stk_sound_play( wav_menu_click ); +#endif + break; + default: + /* if type is edit: edit! */ + if ( menu->cur_item && menu->cur_item->type == ITEM_EDIT ) { + value_edit( menu->cur_item->value, event->key.keysym.sym, event->key.keysym.unicode ); +#ifdef AUDIO_ENABLED + stk_sound_play( wav_menu_click ); +#endif + break; + } + break; + } + break; + case SDL_MOUSEBUTTONUP: + if ( !menu->cur_item ) break; + item_used = 1; + callback = menu->cur_item->callback; + switch ( menu->cur_item->type ) { + case ITEM_ACTION: result = menu->cur_item->item_id; break; + case ITEM_LINK: menu_select( menu->cur_item->link ); break; + case ITEM_SWITCH: + case ITEM_SWITCH_X: + case ITEM_RANGE: + if ( event->button.button == STK_BUTTON_LEFT ) + value_inc( menu->cur_item->value ); + else + value_dec( menu->cur_item->value ); + break; + case ITEM_KEY: value_grab( menu->cur_item->value ); break; + default: item_used = 0; break; + } + if ( item_used ) { +#ifdef AUDIO_ENABLED + stk_sound_play( wav_menu_click ); +#endif + if ( callback ) (callback)(); + } + break; + } + /* mouse motion is handled directly */ + SDL_GetRelativeMouseState( &xoff, &yoff ); + if ( xoff != 0 || yoff != 0 ) { + SDL_GetMouseState( &x, &y ); + /* select item mouse pointer is on */ + old_item = menu->cur_item; + menu_unselect_cur_item( menu ); + list_reset( menu->items ); + while( ( item = list_next( menu->items ) ) ) + if ( item_focus( item, x, y ) ) { + menu_select_item( menu, item ); + if ( old_item != menu->cur_item ) { +#ifdef AUDIO_ENABLED + stk_sound_play( wav_menu_motion ); +#endif + } + break; + } + if ( menu->cur_item ) + hint_set( menu->cur_item->hint ); + else + hint_set( 0 ); + } + return result; +} +/* +==================================================================== +Update alpha of items +==================================================================== +*/ +void menu_update( Menu *menu, int ms ) +{ + Item *item; + /* update alpha of all items */ + list_reset( menu->items ); + while ( ( item = list_next( menu->items ) ) ) + item_update_alpha( item, ms ); +} +/* +==================================================================== +Select/unselect item: update menu::cur_item und item::highlight +==================================================================== +*/ +void menu_unselect_cur_item( Menu *menu ) +{ + if ( menu->cur_item ) menu->cur_item->highlighted = 0; + menu->cur_item = 0; +} +void menu_select_item( Menu *menu, Item *item ) +{ + menu->cur_item = item; + menu->cur_item->highlighted = 1; +} +/* +==================================================================== +Go one valid menu item up or down. +==================================================================== +*/ +void menu_up( Menu *menu ) +{ + ListEntry *entry; + Item *item; + int valid = 0; + /* no selection so far: select first item after caption */ + if ( !menu->cur_item ) { + menu_select_item( menu, list_get( menu->items, 2 ) ); + return; + } + /* get entry -- MUST exist so don't check */ + entry = list_entry( menu->items, menu->cur_item ); + /* get next entry */ + do { + entry = entry->prev; + if ( entry == menu->items->head ) + entry = menu->items->tail->prev; + item = (Item*)entry->item; + if ( item->type == ITEM_SEPARATOR ) continue; + valid = 1; + } while ( !valid ); + /* set as current */ + menu_unselect_cur_item( menu ); + menu_select_item( menu, entry->item ); +} +void menu_down( Menu *menu ) +{ + ListEntry *entry; + Item *item; + int valid = 0; + /* no selection so far: select first item after caption */ + if ( !menu->cur_item ) { + menu_select_item( menu, list_get( menu->items, 2 ) ); + return; + } + /* get entry -- MUST exist so don't check */ + entry = list_entry( menu->items, menu->cur_item ); + /* get next entry */ + do { + entry = entry->next; + if ( entry == menu->items->tail ) + entry = menu->items->head->next; + item = (Item*)entry->item; + if ( item->type == ITEM_SEPARATOR ) continue; + valid = 1; + } while ( !valid ); + /* set as current */ + menu_unselect_cur_item( menu ); + menu_select_item( menu, entry->item ); +} +/* +==================================================================== +Set fonts of menu and items. +==================================================================== +*/ +void menu_set_fonts( + Menu *menu, StkFont *cfont, StkFont *font, StkFont *hfont ) +{ + Item *item; + menu->cfont = cfont; menu->font = font; menu->hfont = hfont; + list_reset( menu->items ); + while ( ( item = list_next( menu->items ) ) ) { + item->font = font; + item->hfont = hfont; + } +} +/* +==================================================================== +Set background of menu and items. +==================================================================== +*/ +void menu_set_bkgnd( Menu *menu, SDL_Surface *bkgnd ) +{ + Item *item; + list_reset( menu->items ); + while ( ( item = list_next( menu->items ) ) ) + item->bkgnd = bkgnd; +} diff --git a/project/jni/application/lbreakout2/client/menu.h b/project/jni/application/lbreakout2/client/menu.h new file mode 100644 index 000000000..e36371187 --- /dev/null +++ b/project/jni/application/lbreakout2/client/menu.h @@ -0,0 +1,115 @@ +/*************************************************************************** + menu.h - description + ------------------- + begin : Thu Sep 20 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __MENU_H +#define __MENU_H + +/* +==================================================================== +Menu +==================================================================== +*/ +enum { MENU_LAYOUT_CENTERED = 0 }; +typedef struct _Menu { + char *name; /* name of menu -- duplicated */ + int layout; + int x, y, w, h; /* layout */ + List *items; /* list of menu items */ + Item *cur_item; /* currently highlighted item */ + struct _Menu *parent; /* parent menu */ + StkFont *font, *hfont, *cfont; /* if not set the default fonts are used */ +} Menu; + +/* +==================================================================== +Create menu and center it in x,y,w,h by menu_adjust() later. +==================================================================== +*/ +Menu *menu_create( char *name, int layout, int x, int y, int w, int h, int border, int add_to_list ); +/* +==================================================================== +Delete menu and all submenus starting with root menu +==================================================================== +*/ +void menu_delete( void *menu ); +/* +==================================================================== +Add item to menu. Add item::menu to children list if +ITEM_LINK. +==================================================================== +*/ +void menu_add( Menu *menu, Item *item ); +/* +==================================================================== +Adjust position and size of all entries according to layout. +==================================================================== +*/ +void menu_adjust( Menu *menu ); +/* +==================================================================== +Select menu: clear current item and set extern variable cur_menu +==================================================================== +*/ +void menu_select( Menu *menu ); +/* +==================================================================== +Show/hide all items +==================================================================== +*/ +void menu_hide( Menu *menu ); +void menu_show( Menu *menu ); +/* +==================================================================== +modify items according to event (if any) and return action id. +==================================================================== +*/ +int menu_handle_event( Menu *menu, SDL_Event *event ); +/* +==================================================================== +Update alpha of items +==================================================================== +*/ +void menu_update( Menu *menu, int ms ); +/* +==================================================================== +Select/unselect item: update menu::cur_item und item::highlight +==================================================================== +*/ +void menu_unselect_cur_item( Menu *menu ); +void menu_select_item( Menu *menu, Item *item ); +/* +==================================================================== +Go one valid menu item up or down. +==================================================================== +*/ +void menu_up( Menu *menu ); +void menu_down( Menu *menu ); +/* +==================================================================== +Set fonts of menu and items. +==================================================================== +*/ +void menu_set_fonts( + Menu *menu, StkFont *cfont, StkFont *font, StkFont *hfont ); +/* +==================================================================== +Set background of menu and items. +==================================================================== +*/ +void menu_set_bkgnd( Menu *menu, SDL_Surface *bkgnd ); + +#endif diff --git a/project/jni/application/lbreakout2/client/misc.c b/project/jni/application/lbreakout2/client/misc.c new file mode 100644 index 000000000..20abdd2f6 --- /dev/null +++ b/project/jni/application/lbreakout2/client/misc.c @@ -0,0 +1,518 @@ +/*************************************************************************** + misc.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "lbreakout.h" +#include "../game/game.h" +#include "config.h" +#include "event.h" +#include "misc.h" + +extern SDL_Surface *stk_display, *nuke_bkgnd, *brick_pic; +extern Game *local_game, *game; +extern Paddle *l_paddle; +extern StkFont *font; +extern SDL_Surface *offscreen; +extern int stk_quit_request; +int shadow_size = 8; +#ifdef AUDIO_ENABLED +extern StkSound *wav_click; +#endif +extern int motion_button; +extern Config config; +extern int bkgnd_count; +extern SDL_Surface **bkgnds; + +/* +==================================================================== +Load background according to id and draw background to offscreen. +Return Value: loaded background surface +==================================================================== +*/ +void bkgnd_draw( SDL_Surface *bkgnd, int id ) +{ + SDL_Surface *pic = 0; + int i, j; + + if ( id >= bkgnd_count || id == -1 ) + id = rand() % bkgnd_count; + + /* load background */ + pic = bkgnds[id]; + for ( i = 0; i < bkgnd->w; i += pic->w ) { + for ( j = 0; j < bkgnd->h; j += pic->h ) { + stk_surface_blit( pic, 0,0,-1,-1, + bkgnd, i, j); + } + } + + /* draw to offscreen */ + stk_surface_blit( bkgnd, 0,0,-1,-1, offscreen, 0,0 ); +} +/* +==================================================================== +Confirm request. Darkens screen a bit and display text. +Return Value: True if successful +==================================================================== +*/ +void draw_confirm_screen( StkFont *font, SDL_Surface *buffer, char *str ) +{ + int i, y, x; + Text *text = create_text( str, 60 ); + stk_surface_fill( stk_display, 0,0,-1,-1, 0x0 ); + stk_surface_alpha_blit( buffer, 0,0,-1,-1, stk_display, 0,0, 128 ); + font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_TOP; + y = (stk_display->h - text->count * font->height) / 2; + x = stk_display->w / 2; + for ( i = 0; i < text->count; i++ ) { + stk_font_write(font, stk_display, x, y, STK_OPAQUE, text->lines[i]); + y += font->height; + } + delete_text( text ); +} +int confirm( StkFont *font, char *str, int type ) +{ + SDL_Event event; + int go_on = 1; + int ret = 0; + SDL_Surface *buffer = + stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + SDL_SetColorKey(buffer, 0, 0); + +#ifdef AUDIO_ENABLED + stk_sound_play( wav_click ); +#endif + + event_clear_sdl_queue(); + + stk_surface_blit( stk_display, 0,0,-1,-1, buffer, 0,0 ); + if ( type == CONFIRM_PAUSE ) + stk_surface_gray( stk_display, 0,0,-1,-1,0 ); + else + draw_confirm_screen( font, buffer, str ); + stk_display_update( STK_UPDATE_ALL ); + + while (go_on && !stk_quit_request) { + SDL_WaitEvent(&event); + /* TEST */ + switch ( event.type ) { + case SDL_QUIT: stk_quit_request = 1; break; + case SDL_MOUSEBUTTONUP: + if ( type == CONFIRM_ANY_KEY ) { + ret = 1; go_on = 0; + } +/* else + if ( type == CONFIRM_YES_NO ) { + if ( event.button.button == LEFT_BUTTON ) + ret = 1; + else + ret = 0; + go_on = 0; + }*/ + break; + case SDL_KEYDOWN: + if ( type == CONFIRM_ANY_KEY ) { + ret = 1; go_on = 0; + break; + } + else + if ( type == CONFIRM_PAUSE ) { + if ( event.key.keysym.sym == SDLK_p ) { + ret = 1; go_on = 0; + break; + } + else + if ( event.key.keysym.sym == SDLK_f ) { + config.fullscreen = !config.fullscreen; + stk_display_apply_fullscreen( config.fullscreen ); + draw_confirm_screen( font, buffer, str ); + stk_display_update( STK_UPDATE_ALL ); + } + } + else + { + char *keyName = SDL_GetKeyName(event.key.keysym.sym); + char *yesLetter = _("y"); + char *noLetter = _("n"); + if (strcmp(keyName, yesLetter) == 0) { + go_on = 0; + ret = 1; + } + else + if (event.key.keysym.sym==SDLK_ESCAPE || strcmp(keyName, noLetter) == 0 ) { + go_on = 0; + ret = 0; + } + default: + break; + } + break; + } + } +#ifdef AUDIO_ENABLED + stk_sound_play( wav_click ); +#endif + stk_surface_blit( buffer, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_update( STK_UPDATE_ALL ); + SDL_FreeSurface(buffer); + + /* reset the relative position so paddle wont jump */ + SDL_GetRelativeMouseState(0,0); + + return ret; +} +#ifdef NETWORK_ENABLED +/* +==================================================================== +Display a info message (gray screen a bit and display text), +send a MSG_READY when player has clicked and wait for a remote answer +(timeout 10 secs). Waiting may be cancelled by pressing ESCAPE which +results in sending a MSG_GAME_EXITED. +Return Value: True if both peers clicked to continue, False if the +connection was cancelled for some reason. +==================================================================== +*/ +int display_info( StkFont *font, char *str, NetSocket *peer ) +{ +#if 0 + char error[128]; + Net_Msg msg; + SDL_Event event; + int ret = 0, leave = 0; + SDL_Surface *buffer = + stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + SDL_SetColorKey(buffer, 0, 0); + +#ifdef AUDIO_ENABLED + stk_sound_play( wav_click ); +#endif + + event_clear_sdl_queue(); + + stk_surface_blit( stk_display, 0,0,-1,-1, buffer, 0,0 ); + draw_confirm_screen( font, buffer, str ); + stk_display_update( STK_UPDATE_ALL ); + stk_wait_for_input(); + net_write_empty_msg( peer, MSG_READY ); + draw_confirm_screen( font, buffer, + _("Waiting for remote answer...") ); + stk_display_update( STK_UPDATE_ALL ); + event_clear_sdl_queue(); + while ( !leave ) { + if ( SDL_PollEvent( &event ) ) + if ( (event.type == SDL_KEYDOWN && + event.key.keysym.sym == SDLK_ESCAPE) || + event.type == SDL_QUIT ) { + net_write_empty_msg( peer, MSG_GAME_EXITED ); + leave = 1; + break; + } + if ( net_read_msg( peer, &msg, 0 ) ) + switch ( msg.type ) { + case MSG_READY: + ret = 1; leave = 1; + break; + case MSG_GAME_EXITED: + ret = 0; leave = 1; + sprintf( error, /* xgettext:no-c-format */ _("remote player cancelled the game\n") ); + confirm( font, error, CONFIRM_ANY_KEY ); + break; + } + SDL_Delay( 10 ); + } + +#ifdef AUDIO_ENABLED + stk_sound_play( wav_click ); +#endif + + stk_surface_blit( buffer, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_update( STK_UPDATE_ALL ); + SDL_FreeSurface(buffer); + + /* reset the relative position so paddle wont jump */ + SDL_GetRelativeMouseState(0,0); + + return ret; +#endif + return 1; +} +#endif +/* +==================================================================== +Create shadow surface for specified region in surface. +Return Value: Shadow surface +==================================================================== +*/ +SDL_Surface* create_shadow( SDL_Surface *surf, int x, int y, int w, int h ) +{ + SDL_Surface *shadow = 0; + int i, j; + Uint32 white = SDL_MapRGB( stk_display->format, 0xff, 0xff, 0xff ); + Uint32 black = SDL_MapRGB( stk_display->format, 0, 0, 0 ); + shadow = stk_surface_create( SDL_SWSURFACE, w, h ); + SDL_SetColorKey( shadow, SDL_SRCCOLORKEY, white ); + for ( i = 0; i < w; i++ ) + for ( j = 0; j < h; j++ ) { + if ( surf->flags & SDL_SRCCOLORKEY && + stk_surface_get_pixel( surf, i, j ) == surf->format->colorkey ) + stk_surface_set_pixel( shadow, i, j, white ); + else + stk_surface_set_pixel( shadow, i, j, black ); + } + return shadow; +} + + +/* +==================================================================== +Enter a string and return True if ENTER received and False +if ESCAPE received. +==================================================================== +*/ +int enter_string( StkFont *font, char *caption, char *edit, int limit ) +{ + SDL_Event event; + int go_on = 1; + int ret = 0; + SDL_Surface *buffer = + stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + int length = strlen( edit ); + + SDL_SetColorKey(buffer, 0, 0); + + stk_surface_blit( stk_display, 0,0,-1,-1, buffer, 0,0 ); + font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_CENTER_Y; + + while ( go_on && !stk_quit_request ) { + + stk_surface_fill( stk_display, 0,0,-1,-1, 0x0 ); + stk_surface_alpha_blit( buffer, 0,0,-1,-1, stk_display, 0,0, 128 ); + stk_font_write(font, stk_display, stk_display->w / 2, stk_display->h / 2, STK_OPAQUE, caption); + write_text_with_cursor(font, stk_display, stk_display->w / 2, stk_display->h / 2 + font->height, edit, STK_OPAQUE); + stk_display_update( STK_UPDATE_ALL ); + event.type = SDL_NOEVENT; + SDL_PollEvent(&event); + /* TEST */ + switch ( event.type ) { + case SDL_QUIT: stk_quit_request = 1; break; + case SDL_KEYDOWN: + switch ( event.key.keysym.sym ) { + case SDLK_ESCAPE: + ret = 0; + go_on = 0; + break; + case SDLK_RETURN: + ret = 1; + go_on = 0; + break; + case SDLK_BACKSPACE: + if ( length > 0 ) edit[--length] = 0; + break; + default: + if ( event.key.keysym.sym >= 32 && event.key.keysym.sym < 128 && length < limit ) { + edit[length++] = event.key.keysym.unicode; + edit[length] = 0; + } + break; + } + break; + } + } + stk_surface_blit( buffer, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_update( STK_UPDATE_ALL ); + SDL_FreeSurface(buffer); + + /* reset the relative position so paddle wont jump */ + SDL_GetRelativeMouseState(0,0); + + return ret; +} + +/* +==================================================================== +Display text blinking. +==================================================================== +*/ +void write_text_with_cursor( StkFont *fnt, SDL_Surface *dest, + int x, int y, char *str, int alpha) +{ + static int cursor_on = 0; + static Uint32 last_tick = 0; + // create temporary space for cursor and text + char *text_with_cursor = calloc(strlen(str) + 2, sizeof(char)); + if (text_with_cursor) { + strcpy(text_with_cursor, str); + + // Time to blink cursor on/off? + if (SDL_GetTicks() - last_tick > 500) { + last_tick = SDL_GetTicks(); + cursor_on = ! cursor_on; + } + // Tack on cursor to end of text + if (cursor_on) { + strcat(text_with_cursor, "_"); + } + else { + strcat(text_with_cursor, " "); + } + + stk_font_write(fnt,dest,x,y,alpha,text_with_cursor); + + free(text_with_cursor); + } +} + +/* +==================================================================== +Enter nuke mode and allow player to disintegrate single bricks +by spending 5% of his/her score. +==================================================================== +*/ +void game_nuke( void ) +{ + char buf[128]; + SDL_Event event; + int x,y,i,j,leave = 0; + SDL_Surface *buffer = + stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + SDL_Surface *red_mask = + stk_surface_create( SDL_SWSURFACE, BRICK_WIDTH, BRICK_HEIGHT ); + stk_surface_fill( red_mask, 0,0,-1,-1, 0xFF0000 ); + SDL_SetAlpha( red_mask, SDL_SRCALPHA, 128 ); + SDL_SetColorKey(buffer, 0, 0); + +#ifdef AUDIO_ENABLED + stk_sound_play( wav_click ); +#endif + SDL_SetEventFilter(0); + event_clear_sdl_queue(); + /* backup screen contents */ + stk_surface_blit( stk_display, 0,0,-1,-1, buffer, 0,0 ); + /* display bricks darkened */ + stk_surface_blit( nuke_bkgnd, 0,0,-1,-1, + stk_display, 0,0 ); + for ( i = 1; i < MAP_WIDTH - 1; i++ ) + for ( j = 1; j < MAP_HEIGHT - 1; j++ ) + if ( game->bricks[i][j].id >= 0 ) + stk_surface_alpha_blit( brick_pic, + game->bricks[i][j].id * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, + i*BRICK_WIDTH, j*BRICK_HEIGHT, 128 ); + /* info */ + font->align = STK_FONT_ALIGN_LEFT; + 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, + 128, buf ); + /* show score of player */ + stk_display_update( STK_UPDATE_ALL ); + + x = y = -1; + while (!leave && !stk_quit_request) { + SDL_WaitEvent(&event); + switch ( event.type ) { + case SDL_QUIT: + stk_quit_request = 1; + break; + case SDL_MOUSEBUTTONDOWN: + if ( x != -1 ) + if ( confirm( font, + /* 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, 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 * + (l_paddle->score + + l_paddle->player->stats.total_score)); + leave = 1; + } + break; + case SDL_MOUSEMOTION: + if ( x != -1 ) { + /* clear old selection */ + stk_surface_blit( nuke_bkgnd, + x*BRICK_WIDTH, y*BRICK_HEIGHT, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, + x*BRICK_WIDTH, y*BRICK_HEIGHT ); + stk_surface_alpha_blit( brick_pic, + game->bricks[x][y].id * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, + x*BRICK_WIDTH, y*BRICK_HEIGHT, 128 ); + stk_display_store_drect(); + x = y = -1; + } + /* make new selection if brick */ + i = event.motion.x / BRICK_WIDTH; + j = event.motion.y / BRICK_HEIGHT; + if ( i >= 1 && i <= MAP_WIDTH -2 ) + if ( j >= 1 && j <= MAP_HEIGHT - 2 ) + if ( game->bricks[i][j].id >= 0 ) { + x = i; y = j; + stk_surface_blit( red_mask, 0,0,-1,-1, + stk_display,x*BRICK_WIDTH, y*BRICK_HEIGHT ); + stk_display_store_drect(); + } + break; + case SDL_KEYDOWN: + if ( event.key.keysym.sym == SDLK_ESCAPE ) + leave = 1; + break; + } + stk_display_update( STK_UPDATE_RECTS ); + } + + stk_surface_blit( buffer, 0,0,-1,-1, stk_display, 0,0 ); + stk_display_update( STK_UPDATE_ALL ); + SDL_FreeSurface(red_mask); + SDL_FreeSurface(buffer); + SDL_SetEventFilter(event_filter); +} + +/* gray screen and display a formatted text, directly update the + * screen */ +void display_text( StkFont *font, char *format, ... ) +{ + int i, y, x; + Text *text; + char buf[512]; + va_list args; + + va_start( args, format ); + vsnprintf( buf, 512, format, args ); + va_end( args ); + + 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; + x = stk_display->w / 2; + for ( i = 0; i < text->count; i++ ) { + stk_font_write(font, stk_display, x, y, STK_OPAQUE, text->lines[i]); + y += font->height; + } + delete_text( text ); + + stk_display_update( STK_UPDATE_ALL ); +} diff --git a/project/jni/application/lbreakout2/client/misc.h b/project/jni/application/lbreakout2/client/misc.h new file mode 100644 index 000000000..2c5e4bcd9 --- /dev/null +++ b/project/jni/application/lbreakout2/client/misc.h @@ -0,0 +1,91 @@ +/*************************************************************************** + misc.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __MISC_H +#define __MISC_H + +/* +==================================================================== +Target of a shot or a ball. +==================================================================== +*/ +enum { SIDE_UNDEFINED = -1, SIDE_TOP = 0, SIDE_RIGHT, SIDE_BOTTOM, SIDE_LEFT, + CORNER_UPPER_LEFT, CORNER_UPPER_RIGHT, + CORNER_LOWER_LEFT, CORNER_LOWER_RIGHT }; +/* +==================================================================== +Load background according to id and draw background to offscreen. +Return Value: loaded background surface +==================================================================== +*/ +void bkgnd_draw( SDL_Surface *bkgnd, int id ); +/* +==================================================================== +Confirm request. Darkens/gray screen a bit and display text. +Return Value: True if successful +==================================================================== +*/ +enum{ CONFIRM_YES_NO, CONFIRM_ANY_KEY, CONFIRM_PAUSE }; +int confirm( StkFont *font, char *str, int type ); +/* +==================================================================== +Display a info message (gray screen a bit and display text), +send a MSG_READY when player has clicked and wait for a remote answer +(timeout 10 secs). Waiting may be cancelled by pressing ESCAPE which +results in sending a MSG_GAME_EXITED. +Return Value: True if both peers clicked to continue, False if the +connection was cancelled for some reason. +==================================================================== +*/ +int display_info( StkFont *font, char *str, NetSocket *peer ); +/* +==================================================================== +Create shadow surface for specified region in surface. +Return Value: Shadow surface +==================================================================== +*/ +SDL_Surface* create_shadow( SDL_Surface *surf, int x, int y, int w, int h ); + +/* +==================================================================== +Enter a string and return True if ENTER received and False +if ESCAPE received. +==================================================================== +*/ +int enter_string( StkFont *font, char *caption, char *edit, int limit ); + +/* +==================================================================== +Display text blinking. +==================================================================== +*/ +void write_text_with_cursor( StkFont *sfnt, SDL_Surface *dest, + int x, int y, char *str, int alpha); + +/* +==================================================================== +Enter nuke mode and allow player to disintegrate single bricks +by spending 5% of his/her score. +==================================================================== +*/ +void game_nuke( void ); + +/* gray screen and display a formatted text, directly update the + * screen */ +void display_text( StkFont *font, char *format, ... ); + +#endif diff --git a/project/jni/application/lbreakout2/client/paddle.c b/project/jni/application/lbreakout2/client/paddle.c new file mode 100644 index 000000000..2b9022a67 --- /dev/null +++ b/project/jni/application/lbreakout2/client/paddle.c @@ -0,0 +1,374 @@ +/*************************************************************************** + paddle.c - description + ------------------- + begin : Fri Sep 7 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "config.h" +#include "paddle.h" +#include "../game/game.h" + +/* +==================================================================== +Paddle & plasma weapon +==================================================================== +*/ +extern SDL_Surface *paddle_pic; /* paddle tiles: left, middle, right for each paddle type */ +extern SDL_Surface *paddle_shadow; +extern SDL_Surface *weapon_pic; +extern SDL_Surface *ammo_pic; +extern SDL_Surface *weapon_shadow; +extern int paddle_cw, paddle_ch; +int weapon_w = 14; +int weapon_h = 18; +int weapon_fr_num = 4; +float weapon_fpms = 0.006; + +/* +==================================================================== +Other stuff +==================================================================== +*/ +extern SDL_Surface *stk_display; +extern SDL_Rect stk_drect; +extern SDL_Surface *offscreen; +extern int shadow_size; +extern Game *game; +extern Config config; + +/* +==================================================================== +Hide and show paddle on screen. +==================================================================== +*/ +void paddle_hide( Paddle *paddle ) +{ + paddle->update_rect.x = paddle->x; + paddle->update_rect.y = paddle->y; + paddle->update_rect.w = paddle->w + shadow_size; + paddle->update_rect.h = paddle->h + shadow_size; + stk_surface_blit( offscreen, paddle->x, paddle->y, + paddle->update_rect.w, paddle->update_rect.h, + stk_display, paddle->x, paddle->y ); + /* store rect if it won't be drawn */ + if ( paddle->invis ) + if ( paddle->invis_delay == 0 ) + stk_display_store_rect( &paddle->update_rect ); +} +void paddle_show_shadow( Paddle *paddle ) +{ + int aux_w = 0, i; + int rem_middle_w; /* remaining points to draw in the middle */ + if ( paddle->invis ) return; + if ( game->extra_active[EX_DARKNESS] ) return; + stk_surface_clip( stk_display, 0, 0, stk_display->w - BRICK_WIDTH, stk_display->h ); + /* left end */ + stk_surface_alpha_blit( paddle_shadow, paddle->pic_x_offset,0,paddle_cw, paddle_ch, + stk_display, paddle->x + shadow_size, paddle->y + shadow_size, + SHADOW_ALPHA ); + /* middle part */ + for ( i = paddle_cw, rem_middle_w = paddle->w - ( paddle_cw << 1 ); + rem_middle_w > 0; i += paddle_cw, rem_middle_w -= paddle_cw ) { + if ( rem_middle_w > paddle_cw ) + aux_w = paddle_cw; + else + aux_w = rem_middle_w; + stk_surface_alpha_blit( paddle_shadow, + paddle->pic_x_offset+paddle_cw,0,aux_w, paddle_ch, + stk_display, paddle->x + shadow_size + i, paddle->y + shadow_size, + SHADOW_ALPHA ); + } + /* right end */ + i = paddle->w - paddle_cw; + stk_surface_alpha_blit( paddle_shadow, + paddle->pic_x_offset+(paddle_cw<<1),0,paddle_cw, paddle_ch, + stk_display, paddle->x + shadow_size + i, paddle->y + shadow_size, + SHADOW_ALPHA ); + stk_surface_clip( stk_display, 0, 0, 0, 0 ); +} +void paddle_show( Paddle *paddle ) +{ + int i, aux_w = 0; + int rem_middle_w; /* remaining points to draw in the middle */ + /* if invisible return or show alpha */ + if ( paddle->invis ) { + if ( paddle->invis_delay != 0 ) + paddle_alphashow( paddle, 128 ); + return; + } + /* paddle */ + /* left end */ + stk_surface_blit( paddle_pic, paddle->pic_x_offset,paddle->pic_y_offset, + paddle_cw, paddle_ch, stk_display, paddle->x, paddle->y ); + /* middle part */ + for ( i = paddle_cw, rem_middle_w = paddle->w - ( paddle_cw << 1 ); + rem_middle_w > 0; i += paddle_cw, rem_middle_w -= paddle_cw ) { + if ( rem_middle_w > paddle_cw ) + aux_w = paddle_cw; + else + aux_w = rem_middle_w; + stk_surface_blit( paddle_pic, + paddle->pic_x_offset+paddle_cw,paddle->pic_y_offset, + aux_w, paddle_ch, stk_display, paddle->x + i, paddle->y ); + } + i = paddle->w - paddle_cw; + /* right end */ + stk_surface_blit( paddle_pic, + paddle->pic_x_offset+(paddle_cw<<1),paddle->pic_y_offset, + paddle_cw, paddle_ch, stk_display, paddle->x + i, paddle->y ); + /* weapon */ + if ( paddle->weapon_inst ) + stk_surface_blit( weapon_pic, + (int)paddle->weapon_cur * weapon_w, 0, weapon_w, weapon_h, + stk_display, paddle->x + ((paddle->w - weapon_w)>>1), paddle->y ); + /* update */ + if ( paddle->x < paddle->update_rect.x ) { + /* movement to left */ + paddle->update_rect.w += paddle->update_rect.x - paddle->x; + paddle->update_rect.x = paddle->x; + } + else { + /* movement to right */ + paddle->update_rect.w += paddle->x - paddle->update_rect.x; + } + stk_display_store_rect( &paddle->update_rect ); +} +void paddle_alphashow( Paddle *paddle, int a ) +{ + int i, aux_w; + int rem_middle_w; + /* left end */ + stk_surface_alpha_blit( paddle_pic, paddle->pic_x_offset,paddle->pic_y_offset, + paddle_cw, paddle_ch, stk_display, paddle->x, paddle->y, a ); + /* middle part */ + for ( i = paddle_cw, rem_middle_w = paddle->w - ( paddle_cw << 1 ); + rem_middle_w > 0; i += paddle_cw, rem_middle_w -= paddle_cw ) { + if ( rem_middle_w > paddle_cw ) + aux_w = paddle_cw; + else + aux_w = rem_middle_w; + stk_surface_alpha_blit( paddle_pic, + paddle->pic_x_offset+paddle_cw,paddle->pic_y_offset, + aux_w, paddle_ch, stk_display, paddle->x + i, paddle->y, a ); + } + i = paddle->w - paddle_cw; + /* right end */ + stk_surface_alpha_blit( paddle_pic, paddle->pic_x_offset+(paddle_cw<<1),paddle->pic_y_offset, + paddle_cw, paddle_ch, stk_display, paddle->x + i, paddle->y, a ); + if ( paddle->weapon_inst ) + stk_surface_alpha_blit( weapon_pic, + (int)paddle->weapon_cur * weapon_w, 0, weapon_w, weapon_h, + stk_display, paddle->x + ((paddle->w - weapon_w)>>1), paddle->y, a ); + /* update */ + if ( paddle->x < paddle->update_rect.x ) { + /* movement to left */ + paddle->update_rect.w += paddle->update_rect.x - paddle->x; + paddle->update_rect.x = paddle->x; + } + else { + /* movement to right */ + paddle->update_rect.w += paddle->x - paddle->update_rect.x; + } + stk_display_store_rect( &paddle->update_rect ); +} + +/* +==================================================================== +Update paddle animation (weapon) +==================================================================== +*/ +void client_paddle_update( Paddle *paddle, int ms ) +{ + Ball *ball; + int result; + + /* invisiblity */ + if ( paddle->invis ) /* extra active */ + if ( paddle->invis_delay > 0 && (paddle->invis_delay-=ms) <= 0 ) + paddle->invis_delay = 0; + + if ( paddle->weapon_inst ) { + /* animation */ + if ( (paddle->weapon_cur+=ms*weapon_fpms) >= weapon_fr_num) + paddle->weapon_cur -= weapon_fr_num; + } + + /* check for resize */ + if ( ( result = paddle_resize( paddle, ms ) ) ) { + list_reset( game->balls ); + while ( ( ball = list_next( game->balls ) ) ) + /* adjust attached balls */ + if ( ball->attached && ball->paddle == paddle ) { + if ( result < 0 ) { + /* shrinked */ + if ( ball->cur.x > ( paddle->w >> 1 ) ) { + ball->cur.x -= 2; + ball->x = (int)ball->cur.x; + } + } + else { + /* expanded */ + if ( ball->cur.x > ( paddle->w >> 1 ) ) { + ball->cur.x += 2; + ball->x = (int)ball->cur.x; + } + } + } + } +} +/* +==================================================================== +Handle events (used for local paddle): Update the coordinates +and the state of both fire buttons (left/right). The influence +of that on the weapon is handled in paddle_update() and the +influence on balls is handled in balls_update(). +NEW: While the middle button is pressed, the balls will be +accelerated to maximum speed. + +This is the local equivalent to comm_update_remote_paddle(). +==================================================================== +*/ +void paddle_handle_events( Paddle *paddle, int ms ) +{ + Uint8 *keystate; + Uint8 buttonstate; + int xoff, yoff; + int diff, old_paddle_x = paddle->x; + int has_moved = 0; + + /* a frozen paddle does nothing */ + if ( paddle->frozen ) { +#ifdef PADDLE_FRICTION + paddle->v_x = 0; +#endif + return; + } + + /* get SDL input states */ + keystate = SDL_GetKeyState(0); + buttonstate = SDL_GetRelativeMouseState( &xoff, &yoff ); + + /* mouse motion */ + if ( xoff != 0 ) { + if ( config.invert ) xoff = -xoff; + paddle->cur_x += config.motion_mod * xoff; +#ifdef MOUSE_WARP + /* reset mouse pointer as current solution does not work for + BeOS */ + SDL_EventState( SDL_MOUSEMOTION, SDL_IGNORE ); + SDL_WarpMouse(stk_display->w >> 1, stk_display->h >> 1); + SDL_EventState( SDL_MOUSEMOTION, SDL_ENABLE ); +#endif +#ifdef PADDLE_FRICTION + paddle->friction_delay = 200; +#endif + has_moved = 1; + } + + /* keys */ + if ( keystate[config.k_left] ) { + paddle->cur_x -= config.key_speed * (ms << keystate[config.k_turbo]); + paddle->friction_delay = 0; paddle->v_x = 0.0; + has_moved = 1; + } + if ( keystate[config.k_right] ) { + paddle->cur_x += config.key_speed * (ms << keystate[config.k_turbo]); + paddle->friction_delay = 0; paddle->v_x = 0.0; + has_moved = 1; + } + + + /* update friction delay */ +#ifdef PADDLE_FRICTION + if ( paddle->friction_delay > 0 && (paddle->friction_delay-=ms)<=0) { + paddle->friction_delay = 0; + paddle->v_x = 0.0; + } +#endif + + /* check paddle when moved */ + if ( has_moved ) { + /* check range and set absolute position */ + if (paddle->cur_x < BRICK_WIDTH) + paddle->cur_x = BRICK_WIDTH; + if (paddle->cur_x + paddle->w >= stk_display->w - BRICK_WIDTH) + paddle->cur_x = stk_display->w - BRICK_WIDTH - paddle->w; + paddle->x = paddle->cur_x; + + /* set paddle speed so that it will modify balls */ +#ifdef PADDLE_FRICTION + diff = paddle->x - old_paddle_x; + paddle->v_x = (float)(diff) / ms; + if ( xoff != 0 ) { + /* limit mouse speed */ + if (paddle->v_x > 5.0) paddle->v_x = 5.0; + if (paddle->v_x < -5.0) paddle->v_x = -5.0; + paddle->v_x /= 5; + } +#endif + + /* visible for some time */ + paddle->invis_delay = PADDLE_INVIS_DELAY; + } + + /* update the fire flags (left/right) */ + if ( buttonstate & SDL_BUTTON(1) || keystate[config.k_lfire] ) + paddle->fire_left = 1; + else + paddle->fire_left = 0; + if ( buttonstate & SDL_BUTTON(3) || keystate[config.k_rfire] ) + paddle->fire_right = 1; + else + paddle->fire_right = 0; + + /* update maxspeed request - handled in ../game/balls.c::balls_update */ + paddle->maxballspeed_request_old = paddle->maxballspeed_request; + if ( buttonstate & SDL_BUTTON(2) || keystate[config.k_maxballspeed] ) + paddle->maxballspeed_request = 1; + else + paddle->maxballspeed_request = 0; + //printf( "%d\n", paddle->maxballspeed_request ); + + /* update return key */ + if ( buttonstate & SDL_BUTTON(2) || keystate[config.k_return] ) + paddle->ball_return_key_pressed = 1; + else + paddle->ball_return_key_pressed = 0; +} + +/* draw ammo in network game */ +void paddle_ammo_hide( Paddle *paddle ) +{ + int x; + + x = (stk_display->w - paddle->ball_ammo*ammo_pic->w) / 2; + stk_surface_blit( offscreen, x,paddle->ball_ammo_disp_y, + paddle->ball_ammo*ammo_pic->w, ammo_pic->h, + stk_display, x,paddle->ball_ammo_disp_y ); + stk_display_store_drect(); +} +void paddle_ammo_show( Paddle *paddle ) +{ + int i, x; + + x = (stk_display->w - paddle->ball_ammo*ammo_pic->w) / 2; + for ( i = 0; i < paddle->ball_ammo; i++, x += ammo_pic->w ) { + stk_surface_blit( + ammo_pic, 0,0,-1,-1, + stk_display, x, paddle->ball_ammo_disp_y ); + stk_display_store_drect(); + } +} + diff --git a/project/jni/application/lbreakout2/client/paddle.h b/project/jni/application/lbreakout2/client/paddle.h new file mode 100644 index 000000000..c86afbbe4 --- /dev/null +++ b/project/jni/application/lbreakout2/client/paddle.h @@ -0,0 +1,43 @@ +/*************************************************************************** + paddle.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Hide and show paddle on screen. +==================================================================== +*/ +void paddle_hide( Paddle *paddle ); +void paddle_show_shadow( Paddle *paddle ); +void paddle_show( Paddle *paddle ); +void paddle_alphashow( Paddle *paddle, int a ); +/* +==================================================================== +Update paddle animation (weapon) +==================================================================== +*/ +void client_paddle_update( Paddle *paddle, int ms ); +/* +==================================================================== +Handle events (used for local paddle) +==================================================================== +*/ +void paddle_handle_events( Paddle *paddle, int ms ); + +/* draw ammo in network game */ +void paddle_ammo_hide( Paddle *paddle ); +void paddle_ammo_show( Paddle *paddle ); + diff --git a/project/jni/application/lbreakout2/client/player.c b/project/jni/application/lbreakout2/client/player.c new file mode 100644 index 000000000..302c40889 --- /dev/null +++ b/project/jni/application/lbreakout2/client/player.c @@ -0,0 +1,116 @@ +/*************************************************************************** + player.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "../client/lbreakout.h" +#include "../game/levels.h" +#include "player.h" + +int current_player = 0; +int player_count = 0; +Player players[MAX_PLAYERS]; + +/* +==================================================================== +Add this player to the list and increase the counter until +MAX_PLAYERS is reached. +Return Value: True if successful +==================================================================== +*/ +int player_add( char *name, int lives, Level *level ) +{ + if ( player_count == MAX_PLAYERS ) return 0; + memset( &players[player_count], 0, sizeof( Player ) ); + strcpy( players[player_count].name, name ); + players[player_count].lives = lives; + player_init_level( &players[player_count], level, 0 ); + player_count++; + return 1; +} +/* +==================================================================== +Get first player. +Return Value: first player in list +==================================================================== +*/ +Player* players_get_first() +{ + current_player = -1; + return players_get_next(); +} +/* +==================================================================== +Get next player in list (cycle: return first player after +last player). +Return Value: current player +==================================================================== +*/ +Player* players_get_next() +{ + if ( players_count() == 0 ) return 0; + do { + current_player++; + if ( current_player == player_count ) current_player = 0; + } + while ( players[current_player].lives == 0 ); + return &players[current_player]; +} +/* +==================================================================== +player_count players give id's 0,1,...,player_count-1. Select +the player with id 'current' as current player. The id used is +the absolute one, not the relative one resulting from dead players. +Return Value: current player +==================================================================== +*/ +Player* players_set_current( int current ) +{ + if ( current < 0 || current >= player_count ) return 0; + current_player = current; + return &players[current_player]; +} +/* +==================================================================== +Reset player counter. +==================================================================== +*/ +void players_clear() +{ + player_count = 0; +} +/* +==================================================================== +Return number of players still in game (lives > 0) +==================================================================== +*/ +int players_count() +{ + int i; + int count = 0; + for ( i = 0; i < player_count; i++ ) + if ( players[i].lives > 0 ) + count++; + return count; +} + +/* set level_id and init snapshot with the new leveldata */ +void player_init_level( Player *player, Level *level, int id ) +{ + player->level_id = id; + player->snapshot = *level; +} + + diff --git a/project/jni/application/lbreakout2/client/player.h b/project/jni/application/lbreakout2/client/player.h new file mode 100644 index 000000000..25f513612 --- /dev/null +++ b/project/jni/application/lbreakout2/client/player.h @@ -0,0 +1,66 @@ +/*************************************************************************** + player.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Add this player to the list and increase the counter until +MAX_PLAYERS is reached. +Return Value: True if successful +==================================================================== +*/ +int player_add( char *name, int lives, Level *level ); +/* +==================================================================== +Get first player. (and set current id to 0) +Return Value: first player in list +==================================================================== +*/ +Player* players_get_first(); +/* +==================================================================== +Get next player in list (cycle: return first player after +last player, update current id). +Return Value: current player +==================================================================== +*/ +Player* players_get_next(); +/* +==================================================================== +player_count players give id's 0,1,...,player_count-1. Select +the player with id 'current' as current player. The id used is +the absolute one, not the relative one resulting from dead players. +Return Value: current player +==================================================================== +*/ +Player* players_set_current( int current ); +/* +==================================================================== +Reset player counter. +==================================================================== +*/ +void players_clear(); +/* +==================================================================== +Return number of players still in game (lives > 0) +==================================================================== +*/ +int players_count(); + +/* set level_id and init snapshot with the new leveldata */ +void player_init_level( Player *player, Level *level, int id ); + + diff --git a/project/jni/application/lbreakout2/client/shine.c b/project/jni/application/lbreakout2/client/shine.c new file mode 100644 index 000000000..cd7be1493 --- /dev/null +++ b/project/jni/application/lbreakout2/client/shine.c @@ -0,0 +1,124 @@ +/*************************************************************************** + shine.c - description + ------------------- + begin : Thu Sep 13 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "config.h" + +extern SDL_Surface *stk_display; +extern Config config; +extern SDL_Surface *offscreen; +extern SDL_Surface *shine_pic; +extern Game *game; +float shine_change = 0.020; /* per ms */ +int shine_frame = 6; /* maximum frame */ +float shine_cur = 0; /* current frame */ +int shine_x, shine_y; /* position where current shine is drawn */ +int shine_recreate = 1; +Delay shine_delay; /* delay between shines */ + +/* +==================================================================== +Load/delete resources +==================================================================== +*/ +void shine_load() +{ + delay_set( &shine_delay, 200 ); +} +void shine_delete() +{ +} +/* +==================================================================== +Recreate shine on a random but valid brick +==================================================================== +*/ +void shine_create() +{ + int x_add, y_add, x, y; + shine_cur = 0; + shine_x = 0; shine_y = 0; + + if ( !config.anim ) return; + + x = (rand() % (BRICK_WIDTH - 2)) + 1; + y = (rand() % (BRICK_HEIGHT - 2)) + 1; + x_add = rand() % 2 == 0 ? 1 : -1; + y_add = rand() % 2 == 0 ? 1 : -1; + + while (x > 0 && x < MAP_WIDTH - 1 && y > 0 && y < MAP_HEIGHT - 1) { + if (game->bricks[x][y].type != MAP_EMPTY && game->bricks[x][y].id != INVIS_BRICK_ID ) { + shine_x = x * BRICK_WIDTH; + shine_y = y * BRICK_HEIGHT; + break; + } + x += x_add; y += y_add; + } + /* if creation succeeded don't create any more shines */ + if ( shine_x != 0 && shine_y != 0 ) shine_recreate = 0; +} +/* +==================================================================== +Reset (delete( shine +==================================================================== +*/ +void shine_reset() +{ + shine_x = shine_y = 0; + shine_recreate = 1; + delay_reset( &shine_delay ); +} +/* +==================================================================== +Show/hide current shine +==================================================================== +*/ +void shine_hide() +{ + if (shine_x == 0 && shine_y == 0) return; + stk_surface_blit( offscreen, shine_x, shine_y, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, shine_x, shine_y ); + stk_display_store_drect(); +} +void shine_show() +{ + if (shine_x == 0 && shine_y == 0) return; + stk_surface_blit( shine_pic, (int)shine_cur * BRICK_WIDTH, 0, + BRICK_WIDTH, BRICK_HEIGHT, + stk_display, shine_x, shine_y ); +} +/* + ==================================================================== + Update shine + ==================================================================== + */ +void shine_update( int ms ) +{ + /* recreate shine? */ + if ( shine_recreate ) { + shine_x = shine_y = 0; /* if recreation is demanded delete old shine */ + if ( delay_timed_out( &shine_delay, ms ) ) shine_create(); + } + else { + shine_cur += shine_change * ms; + if (shine_cur > shine_frame) { + shine_recreate = 1; + delay_reset( &shine_delay ); + } + } +} diff --git a/project/jni/application/lbreakout2/client/shine.h b/project/jni/application/lbreakout2/client/shine.h new file mode 100644 index 000000000..5d7ca82d6 --- /dev/null +++ b/project/jni/application/lbreakout2/client/shine.h @@ -0,0 +1,49 @@ +/*************************************************************************** + shine.h - description + ------------------- + begin : Thu Sep 13 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Load/delete resources +==================================================================== +*/ +void shine_load(); +void shine_delete(); +/* +==================================================================== +Recreate shine on a random but valid brick +==================================================================== +*/ +void shine_create(); +/* +==================================================================== +Reset (delete( shine +==================================================================== +*/ +void shine_reset(); +/* +==================================================================== +Show/hide current shine +==================================================================== +*/ +void shine_hide(); +void shine_show(); +/* +==================================================================== +Update shine +==================================================================== +*/ +void shine_update( int ms ); diff --git a/project/jni/application/lbreakout2/client/shots.c b/project/jni/application/lbreakout2/client/shots.c new file mode 100644 index 000000000..83c9b152f --- /dev/null +++ b/project/jni/application/lbreakout2/client/shots.c @@ -0,0 +1,122 @@ +/*************************************************************************** + shots.c - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "../game/game.h" + +extern SDL_Surface *shot_pic; +extern SDL_Surface *shot_shadow; +extern int shot_w, shot_h; +extern float shot_v_y; +float shot_cur_fr = 0.0; +int shot_fr_num = 4; +float shot_fpms = 0.01; +int shot_alpha = 128; +extern SDL_Surface *offscreen; +extern SDL_Surface *stk_display; +extern SDL_Rect stk_drect; +extern int shadow_size; +extern Game *game; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Hide and show shots +==================================================================== +*/ +void shots_hide() +{ + ListEntry *entry = game->shots->head->next; + Shot *shot; + while ( entry != game->shots->tail ) { + shot = entry->item; + entry = entry->next; + stk_surface_blit( offscreen, + (int)shot->x,(int)shot->y, + shot_w + shadow_size,shot_h + shadow_size, + stk_display, (int)shot->x,(int)shot->y ); + stk_display_store_rect( &shot->update_rect ); + } +} +void shots_show() +{ + ListEntry *entry = game->shots->head->next; + Shot *shot; + int x, y; + stk_surface_clip( stk_display, 0, 0, + stk_display->w - BRICK_WIDTH, stk_display->h ); + while ( entry != game->shots->tail ) { + shot = entry->item; + entry = entry->next; + x = (int)shot->x; y = (int)shot->y; + stk_surface_alpha_blit( shot_shadow, + 0, 0, shot_w, shot_h, + stk_display, x + shadow_size, y + shadow_size, + SHADOW_ALPHA ); + stk_surface_alpha_blit( shot_pic, (int)shot->cur_fr * shot_w, 0, + shot_w, shot_h, stk_display, x, y, shot_alpha ); + + shot->update_rect.x = x; + shot->update_rect.y = y; + shot->update_rect.w = shot_w + shadow_size; + shot->update_rect.h = shot_h + shadow_size; + stk_display_store_rect( &shot->update_rect ); + } + stk_surface_clip( stk_display, 0, 0, 0, 0 ); +} +void shots_alphashow( int alpha ) +{ + ListEntry *entry = game->shots->head->next; + Shot *shot; + while ( entry != game->shots->tail ) { + shot = entry->item; + stk_surface_alpha_blit( shot_pic, (int)shot->cur_fr * shot_w, 0, + shot_w, shot_h, stk_display, (int)shot->x, (int)shot->y, + alpha ); + stk_display_store_rect( &shot->update_rect ); + entry = entry->next; + } +} + +/* update animation of shots */ +void client_shots_update( int ms ) +{ + Shot *shot; + + shot_cur_fr += ms * shot_fpms; + if (shot_cur_fr >= shot_fr_num) + shot_cur_fr -= shot_fr_num; + + list_reset( game->shots ); + while ( (shot = list_next(game->shots)) ) + shot->cur_fr = shot_cur_fr; /* else there would be no animation + as reset the list with each communicator + call */ +} + + diff --git a/project/jni/application/lbreakout2/client/shots.h b/project/jni/application/lbreakout2/client/shots.h new file mode 100644 index 000000000..c6bd37ec1 --- /dev/null +++ b/project/jni/application/lbreakout2/client/shots.h @@ -0,0 +1,29 @@ +/*************************************************************************** + shots.h - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/* +==================================================================== +Hide and show shots +==================================================================== +*/ +void shots_hide(); +void shots_show(); +void shots_alphashow( int alpha ); + +/* update animation of shots */ +void client_shots_update( int ms ); + diff --git a/project/jni/application/lbreakout2/client/shrapnells.c b/project/jni/application/lbreakout2/client/shrapnells.c new file mode 100644 index 000000000..53c12321f --- /dev/null +++ b/project/jni/application/lbreakout2/client/shrapnells.c @@ -0,0 +1,341 @@ +/*************************************************************************** + shrapnells.c - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "../game/mathfuncs.h" +#include "config.h" +#include "shrapnells.h" + +extern Config config; +extern SDL_Surface *stk_display; +extern SDL_Surface *offscreen; +List *shrapnells = 0; +float shr_alpha_change = 0.25; +float shr_start_alpha = 255; + +/* +==================================================================== +Local +==================================================================== +*/ + +/* +==================================================================== +Create a single shrapnell and add to list. +==================================================================== +*/ +void shrapnell_create( SDL_Surface *surf, + int sx, int sy, int sw, int sh, + int px, int py, float vx, float vy ) +{ + Shrapnell *shr = calloc( 1, sizeof( Shrapnell ) ); + shr->pic = stk_surface_create( SDL_SWSURFACE, sw,sh ); + //SDL_SetColorKey(shr->pic, 0, 0); + stk_surface_blit( surf, sx, sy,sw,sh, shr->pic, 0,0 ); + shr->x = px; + shr->y = py; + shr->v.x = vx; + shr->v.y = vy; + shr->alpha = shr_start_alpha; + list_add( shrapnells, shr); +} +/* +==================================================================== +Delete a shrapnell +==================================================================== +*/ +void shrapnell_delete( void *ptr ) +{ + Shrapnell *shr = (Shrapnell*)ptr; + SDL_FreeSurface( shr->pic ); + free( shr ); +} + +/* +==================================================================== +Public +==================================================================== +*/ + +/* +==================================================================== +Initate or delete shrapnell list +==================================================================== +*/ +void shrapnells_init() +{ + shrapnells = list_create( LIST_AUTO_DELETE, shrapnell_delete ); +} +void shrapnells_delete() +{ + list_delete( shrapnells ); +} +/* +==================================================================== +Create shrapnells from surface (surf,sx,sy,sw,sh) and put it to +screen position (px,py). The vector imp is the +impuls and type the type of what caused the destruction. +==================================================================== +*/ +void shrapnells_create( SDL_Surface *surf, + int sx, int sy, int sw, int sh, int px, int py, + int type, Vector imp ) +{ + int i, j; + int shr_w, shr_h; + Vector v; + int dx, dy; + /* no animations? */ + if ( !config.anim ) + return; + /* + * 1 - low + * 2 - medium + * 3 - high + */ + /* according to type create shrapnells */ + switch ( type ) { + case SHR_BY_NORMAL_BALL: + vector_norm( &imp ); + imp.x *= 0.13; imp.y *= 0.13; + shrapnell_create( surf, sx, sy, sw, sh, px, py, + imp.x, imp.y ); + break; + case SHR_BY_ENERGY_BALL: + if ( config.anim == 1 ) { + /* low */ + shrapnell_create( surf, sx, sy, sw, sh, px, py, + 0, 0 ); + break; + } + shr_w = sw / 2; + shr_h = sh / 2; + for ( i = 0; i < sw; i += shr_w ) + for ( j = 0; j < sh; j += shr_h ) { + v.x = ( sw >> 1 ) - ( i + ( shr_w >> 1 ) ); + v.y = ( sh >> 1 ) - ( j + ( shr_h >> 1 ) ); + vector_norm( &v ); + v.x *= 0.01; v.y *= 0.01; + shrapnell_create( surf, + sx + i, sy + j, shr_w, shr_h, + px + i, py + j, v.x, v.y ); + } + break; + case SHR_BY_SHOT: + if ( config.anim == 1 ) { + /* low */ + shrapnell_create( surf, sx, sy, sw, sh, + px, py, 0, imp.y * 0.02 ); + break; + } + shr_w = sw / 8; + shr_h = sh; + for ( i = 0; i < ( sw >> 1 ); i += shr_w ) { + shrapnell_create( surf, sx + i, sy, shr_w, shr_h, + px + i, py, 0, imp.y * 0.002 * ( i + 1 ) ); + shrapnell_create( surf, sx + sw - shr_w - i, sy, + shr_w, shr_h, + px + sw - shr_w - i, py, 0, + imp.y * 0.002 * ( i + 1 ) ); + } + break; + case SHR_BY_EXPL: + shr_w = config.anim == 3 ? 5 : 10; + shr_h = config.anim == 3 ? 5 : 10; + for ( i = 0; i < sw; i += shr_w ) + for ( j = 0; j < sh; j += shr_h ) { + dx = rand() % 2 == 0 ? 1 : -1; + dy = rand() % 2 == 0 ? 1 : -1; + shrapnell_create( surf, + sx + i, sy + j, shr_w, shr_h, + px + i, py + j, + (float)( ( rand() % 6 ) + 5) / 100 * dx, + (float)( ( rand() % 6 ) + 5) / 100 * dy ); + } + break; + } +} +/* +==================================================================== +Remove all shrapnells +==================================================================== +*/ +void shrapnells_reset() +{ + list_clear( shrapnells ); +} +/* +==================================================================== +Show, hide all shrapnells. +==================================================================== +*/ +void shrapnells_hide() +{ + ListEntry *entry = shrapnells->head->next; + Shrapnell *shr; + int x, y; + while ( entry != shrapnells->tail ) { + shr = entry->item; + entry = entry->next; + x = (int)shr->x; + y = (int)shr->y; + stk_surface_blit( offscreen, x, y, + shr->pic->w, shr->pic->h, + stk_display, x, y ); + stk_display_store_drect(); + } +} +void shrapnells_show() +{ + ListEntry *entry = shrapnells->head->next; + Shrapnell *shr; + while ( entry != shrapnells->tail ) { + shr = entry->item; + entry = entry->next; + stk_surface_blit( shr->pic, + 0,0,shr->pic->w,shr->pic->h, + stk_display, (int)shr->x, (int)shr->y ); + stk_display_store_drect(); + } +} +/* +==================================================================== +Update and remove expired shrapnells +==================================================================== +*/ +void shrapnells_update( int ms ) +{ + ListEntry *entry = shrapnells->head->next; + Shrapnell *shr; + while ( entry != shrapnells->tail ) { + shr = entry->item; + entry = entry->next; + shr->x += shr->v.x * ms; + shr->y += shr->v.y * ms; + if (shr->alpha > 0 ) { + shr->alpha -= shr_alpha_change * ms; + SDL_SetAlpha( shr->pic, SDL_SRCALPHA, (int)shr->alpha ); + } + if (shr->alpha <= 0 || + shr->x + shr->pic->w < 0 || + shr->y + shr->pic->h < 0 || + shr->x > stk_display->w || + shr->y > stk_display->h ) + list_delete_entry( shrapnells, entry->prev ); + } +} + +/* +==================================================================== +Brick explosion animations. +==================================================================== +*/ +#define exp_change 0.015 +#define exp_alpha_change 0.10 +List *exps; +SDL_Surface *current_exp_pic = 0; /* points either to exp_pic or exp_dark_pic */ +extern SDL_Surface *exp_pic; +extern SDL_Surface *exp_dark_pic; +int exp_w, exp_h; /* size */ +int exp_frame_count; /* frame count */ +int exp_count; /* number of various explosions */ +typedef struct { + float alpha; + float cur; /* current frame */ + int x, y; /* position in screen */ + int y_off; /* y offset in explosion picture */ +} Exp; +void exp_load() +{ + exps = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + exp_w = exp_h = 60; /* hardcoded as we have various explosions in one file now */ + exp_count = exp_pic->h / exp_h; + exp_frame_count = exp_pic->w / exp_w; + exps_set_dark( 0 ); +} +void exps_clear() +{ + list_clear( exps ); +} +void exp_delete() +{ + if ( exps ) list_delete( exps ); exps = 0; +} +void exp_create( int x, int y ) +{ + Exp *exp = calloc( 1, sizeof( Exp ) ); + exp->x = x - ( exp_w >> 1 ); + exp->y = y - ( exp_h >> 1 ); + exp->alpha = 255; + /* red/yellow get 4 parts, gree&yellow&bluw get 1 part each */ + switch ( rand() % ( 4 + 4 + 1 + 1 + 1 ) ) { + case 0: case 1: case 2: case 3: + exp->y_off = 0; break; + case 4: case 5: case 6: case 7: + exp->y_off = exp_h * 4; break; + case 8: + exp->y_off = exp_h * 1; break; + case 9: + exp->y_off = exp_h * 2; break; + case 10: + exp->y_off = exp_h * 3; break; + } + list_add( exps, exp ); +} +void exps_hide() +{ + Exp *exp; + list_reset( exps ); + while ( ( exp = list_next( exps ) ) ) { + stk_surface_blit( offscreen, exp->x, exp->y, + exp_w, exp_h, stk_display, exp->x, exp->y ); + stk_display_store_drect(); + } +} +void exps_show() +{ + Exp *exp; + list_reset( exps ); + while ( ( exp = list_next( exps ) ) ) { + stk_surface_alpha_blit( current_exp_pic, + (int)exp->cur * exp_w, exp->y_off, + exp_w, exp_h, + stk_display, exp->x, exp->y, exp->alpha ); + } +} +void exps_update( int ms ) +{ + Exp *exp; + list_reset( exps ); + while ( ( exp = list_next( exps ) ) ) { + if ( exp->alpha > 0 ) { + exp->alpha -= exp_alpha_change * ms; + if ( exp->alpha < 0 ) exp->alpha = 0; + } + exp->cur += exp_change * ms; + if ( exp->cur >= exp_frame_count ) + list_delete_current( exps ); + } +} +void exps_set_dark( int dark ) +{ + if ( dark ) + current_exp_pic = exp_dark_pic; + else + current_exp_pic = exp_pic; +} + diff --git a/project/jni/application/lbreakout2/client/shrapnells.h b/project/jni/application/lbreakout2/client/shrapnells.h new file mode 100644 index 000000000..bbfc7ade5 --- /dev/null +++ b/project/jni/application/lbreakout2/client/shrapnells.h @@ -0,0 +1,75 @@ +/*************************************************************************** + shrapnells.h - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +typedef struct { + SDL_Surface *pic; + Vector v; + float x, y; + float alpha; +} Shrapnell; + +/* +==================================================================== +Initate or delete shrapnell list +==================================================================== +*/ +void shrapnells_init(); +void shrapnells_delete(); + +/* +==================================================================== +Create shrapnells from surface (surf,sx,sy,sw,sh) and put it to +screen position (px,py). The vector imp is the +impuls and type the type of what caused the destruction. +==================================================================== +*/ +void shrapnells_create( SDL_Surface *surf, + int sx, int sy, int sw, int sh, int px, int py, + int type, Vector imp ); +/* +==================================================================== +Remove all shrapnells +==================================================================== +*/ +void shrapnells_reset(); +/* +==================================================================== +Show, hide all shrapnells. +==================================================================== +*/ +void shrapnells_hide(); +void shrapnells_show(); +/* +==================================================================== +Update and remove expired shrapnells +==================================================================== +*/ +void shrapnells_update( int ms ); + +/* +==================================================================== +Brick explosion animations. +==================================================================== +*/ +void exp_load(); +void exp_delete(); +void exps_clear(); +void exp_create( int x, int y ); +void exps_hide(); +void exps_show(); +void exps_update( int ms ); +void exps_set_dark( int dark ); diff --git a/project/jni/application/lbreakout2/client/slot.c b/project/jni/application/lbreakout2/client/slot.c new file mode 100644 index 000000000..238d4c87a --- /dev/null +++ b/project/jni/application/lbreakout2/client/slot.c @@ -0,0 +1,105 @@ +/*************************************************************************** + slot.c - description + ------------------- + begin : Sat Dec 15 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "lbreakout.h" +#include "slot.h" + +static FILE *open_slot( int id, char *mode ) +{ + char fname[512]; + snprintf( fname, 511, "%s/%s/lbr2_save_%d", + (getenv( "HOME" )?getenv( "HOME" ):"."), + CONFIG_DIR_NAME, id ); + //printf( "accessing '%s' in mode '%s'\n", fname, mode ); + return fopen( fname, mode ); +} + +/* +==================================================================== +Load/save a game to a slot. 'slot_load' returns 1 on success and +updates gs. 'slot_save' takes content of 'gs' and saves it. +==================================================================== +*/ +int slot_load( int slot_id, GameSlot *gs ) +{ + FILE *file = open_slot( slot_id, "r" ); + if ( file == 0 ) + { + fprintf( stderr, "ERROR: cannot open slot %d!\n", slot_id ); + return 0; + } + fread( gs, sizeof(GameSlot), 1, file ); + fclose( file ); + return 1; +} + +int slot_save( int slot_id, GameSlot *gs ) +{ + FILE *file = open_slot( slot_id, "w" ); + if ( file == 0 ) + { + fprintf( stderr, "ERROR: cannot open slot %d!\n", slot_id ); + return 0; + } + fwrite( gs, sizeof(GameSlot), 1, file ); + fclose( file ); + return 1; +} +int slot_delete( int slot_id ) +{ + char fname[512]; + snprintf( fname, 511, "%s/%s/lbr2_save_%d", + (getenv( "HOME" )?getenv( "HOME" ):"."), + CONFIG_DIR_NAME, slot_id ); + if ( remove(fname) != 0 ) + { + fprintf( stderr, "ERROR: couldn't delete file %s\n", fname ); + return 0; + } + return 1; +} + +/* +==================================================================== +Build info hint from game saved to slot 'slot_id'. +==================================================================== +*/ +void slot_update_hint( int slot_id, Hint *hint ) +{ + GameSlot gs; + int i; + char text[256], text2[256]; + char *str_diff[] = { "Kids", "Easy", "Medium", "Hard" }; /* HACK: copied from manager.c */ + + if ( slot_load( slot_id, &gs ) ) + { + snprintf( text, 255, "%s - %s, %d Player(s)#", + gs.setname, str_diff[gs.diff], gs.player_count ); + for ( i = 0; i < gs.player_count; i++ ) + { + snprintf( text2, 255, "#%s: %d (Lvl %d)", + gs.player_names[i], gs.player_scores[i], + gs.player_cur_level_id[i]+1 ); + strcat( text, text2 ); + } + } + else + strcpy( text, "Right now, there is no game you could resume." ); + hint_set_contents( hint, text ); +} + + diff --git a/project/jni/application/lbreakout2/client/slot.h b/project/jni/application/lbreakout2/client/slot.h new file mode 100644 index 000000000..a60e7414c --- /dev/null +++ b/project/jni/application/lbreakout2/client/slot.h @@ -0,0 +1,53 @@ +/*************************************************************************** + slot.h - description + ------------------- + begin : Sat Dec 15 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __SLOT_H +#define __SLOT_H + +#include "hint.h" + +typedef struct { + char setname[32]; + int diff; + int player_count; /* 0 - MAX_PLAYERS-1 */ + char player_names[MAX_PLAYERS][32]; + int player_cur_level_id[MAX_PLAYERS]; + int cur_player; /* 0 - MAX_PLAYERS-1 */ + int player_scores[MAX_PLAYERS]; + int player_lives[MAX_PLAYERS]; + int gameSeed; /* for bonus levels and FREAKOUT order */ +} GameSlot; + +/* +==================================================================== +Load/save a game to a slot. 'slot_load' returns 1 on success and +updates gs. 'slot_save' takes content of 'gs' and saves it. +'slot_delete' deletes the savegame. +==================================================================== +*/ +int slot_load( int slot_id, GameSlot *gs ); +int slot_save( int slot_id, GameSlot *gs ); +int slot_delete( int slot_id ); + +/* +==================================================================== +Build info hint from game saved to slot 'slot_id'. +==================================================================== +*/ +void slot_update_hint( int slot_id, Hint *hint ); + +#endif diff --git a/project/jni/application/lbreakout2/client/sounds/Makefile.am b/project/jni/application/lbreakout2/client/sounds/Makefile.am new file mode 100644 index 000000000..e707d92fa --- /dev/null +++ b/project/jni/application/lbreakout2/client/sounds/Makefile.am @@ -0,0 +1,18 @@ +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 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/sounds + @for file in *.wav; do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/sounds/$$file;\ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\sounds\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done diff --git a/project/jni/application/lbreakout2/client/sounds/Makefile.in b/project/jni/application/lbreakout2/client/sounds/Makefile.in new file mode 100644 index 000000000..f6d6c737a --- /dev/null +++ b/project/jni/application/lbreakout2/client/sounds/Makefile.in @@ -0,0 +1,375 @@ +# 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 = 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@ +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 = 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: $(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) --foreign client/sounds/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/sounds + @for file in *.wav; do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/sounds/$$file;\ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/client/sounds/attach.wav b/project/jni/application/lbreakout2/client/sounds/attach.wav new file mode 100644 index 000000000..2243f2372 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/attach.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/bonus_magnet.wav b/project/jni/application/lbreakout2/client/sounds/bonus_magnet.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/bonus_magnet.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/chaos.wav b/project/jni/application/lbreakout2/client/sounds/chaos.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/chaos.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/click.wav b/project/jni/application/lbreakout2/client/sounds/click.wav new file mode 100644 index 000000000..26c46f84f Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/click.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/dammit.wav b/project/jni/application/lbreakout2/client/sounds/dammit.wav new file mode 100644 index 000000000..63e46172b Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/dammit.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/damn.wav b/project/jni/application/lbreakout2/client/sounds/damn.wav new file mode 100644 index 000000000..7b80f3a0a Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/damn.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/darkness.wav b/project/jni/application/lbreakout2/client/sounds/darkness.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/darkness.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/disable.wav b/project/jni/application/lbreakout2/client/sounds/disable.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/disable.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/excellent.wav b/project/jni/application/lbreakout2/client/sounds/excellent.wav new file mode 100644 index 000000000..fc091fe59 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/excellent.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/exp.wav b/project/jni/application/lbreakout2/client/sounds/exp.wav new file mode 100644 index 000000000..99b8b99c7 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/exp.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/expand.wav b/project/jni/application/lbreakout2/client/sounds/expand.wav new file mode 100644 index 000000000..fe9bcbfc5 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/expand.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/expl_ball.wav b/project/jni/application/lbreakout2/client/sounds/expl_ball.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/expl_ball.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/extraball.wav b/project/jni/application/lbreakout2/client/sounds/extraball.wav new file mode 100644 index 000000000..fca7e95dc Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/extraball.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/freeze.wav b/project/jni/application/lbreakout2/client/sounds/freeze.wav new file mode 100644 index 000000000..187fdd11d Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/freeze.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/gainlife.wav b/project/jni/application/lbreakout2/client/sounds/gainlife.wav new file mode 100644 index 000000000..0e8d42cbc Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/gainlife.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/ghost.wav b/project/jni/application/lbreakout2/client/sounds/ghost.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/ghost.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/goldshower.wav b/project/jni/application/lbreakout2/client/sounds/goldshower.wav new file mode 100644 index 000000000..4f33f2b46 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/goldshower.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/joker.wav b/project/jni/application/lbreakout2/client/sounds/joker.wav new file mode 100644 index 000000000..6865362c5 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/joker.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/looselife.wav b/project/jni/application/lbreakout2/client/sounds/looselife.wav new file mode 100644 index 000000000..0e8d42cbc Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/looselife.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/malus_magnet.wav b/project/jni/application/lbreakout2/client/sounds/malus_magnet.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/malus_magnet.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/menu_click.wav b/project/jni/application/lbreakout2/client/sounds/menu_click.wav new file mode 100644 index 000000000..26c46f84f Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/menu_click.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/menu_motion.wav b/project/jni/application/lbreakout2/client/sounds/menu_motion.wav new file mode 100644 index 000000000..2add1041b Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/menu_motion.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/metal.wav b/project/jni/application/lbreakout2/client/sounds/metal.wav new file mode 100644 index 000000000..7ef6bcff1 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/metal.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/reflect_brick.wav b/project/jni/application/lbreakout2/client/sounds/reflect_brick.wav new file mode 100644 index 000000000..541f8bc1d Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/reflect_brick.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/reflect_paddle.wav b/project/jni/application/lbreakout2/client/sounds/reflect_paddle.wav new file mode 100644 index 000000000..96141d3f6 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/reflect_paddle.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/score.wav b/project/jni/application/lbreakout2/client/sounds/score.wav new file mode 100644 index 000000000..534e8773e Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/score.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/shot.wav b/project/jni/application/lbreakout2/client/sounds/shot.wav new file mode 100644 index 000000000..ecff8e2b2 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/shot.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/shrink.wav b/project/jni/application/lbreakout2/client/sounds/shrink.wav new file mode 100644 index 000000000..fe9bcbfc5 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/shrink.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/speeddown.wav b/project/jni/application/lbreakout2/client/sounds/speeddown.wav new file mode 100644 index 000000000..6fd31051c Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/speeddown.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/speedup.wav b/project/jni/application/lbreakout2/client/sounds/speedup.wav new file mode 100644 index 000000000..378d33f2a Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/speedup.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/standard.wav b/project/jni/application/lbreakout2/client/sounds/standard.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/standard.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/timeadd.wav b/project/jni/application/lbreakout2/client/sounds/timeadd.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/timeadd.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/verygood.wav b/project/jni/application/lbreakout2/client/sounds/verygood.wav new file mode 100644 index 000000000..307dce5a9 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/verygood.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/wall.wav b/project/jni/application/lbreakout2/client/sounds/wall.wav new file mode 100644 index 000000000..746409543 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/wall.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/weak_ball.wav b/project/jni/application/lbreakout2/client/sounds/weak_ball.wav new file mode 100644 index 000000000..82b6329ea Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/weak_ball.wav differ diff --git a/project/jni/application/lbreakout2/client/sounds/wontgiveup.wav b/project/jni/application/lbreakout2/client/sounds/wontgiveup.wav new file mode 100644 index 000000000..307dce5a9 Binary files /dev/null and b/project/jni/application/lbreakout2/client/sounds/wontgiveup.wav differ diff --git a/project/jni/application/lbreakout2/client/theme.c b/project/jni/application/lbreakout2/client/theme.c new file mode 100644 index 000000000..ad6de9677 --- /dev/null +++ b/project/jni/application/lbreakout2/client/theme.c @@ -0,0 +1,704 @@ +/*************************************************************************** + theme.c - description + ------------------- + begin : Fri Feb 15 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include +#include + +#include "lbreakout.h" +#include "config.h" +#include "theme.h" + +extern SDL_Surface *stk_display; +extern Config config; +extern int ball_w, ball_h; +extern int shot_w, shot_h; +extern int paddle_cw; +/* theme name list */ +char **theme_names = 0; +int theme_count = 0; +/* current theme name */ +char theme_name[32] = "Default"; + +/* +==================================================================== +Themeable gfx and sounds. +==================================================================== +*/ +SDL_Surface *exp_pic = 0; +SDL_Surface *exp_dark_pic = 0; +StkFont *font = 0; +StkFont *chat_font_normal = 0; +StkFont *chat_font_error = 0; +StkFont *chat_font_name = 0; +#ifdef AUDIO_ENABLED +StkSound *wav_click = 0; +StkSound *wav_damn = 0, *wav_dammit = 0, *wav_wontgiveup = 0, *wav_excellent = 0, *wav_verygood = 0; +#endif +SDL_Surface *brick_pic = 0; +SDL_Surface *brick_shadow = 0; +#ifdef AUDIO_ENABLED +StkSound *wav_boom = 0; +#endif +SDL_Surface *paddle_pic = 0; +SDL_Surface *paddle_shadow = 0; +SDL_Surface *weapon_pic = 0; +SDL_Surface *weapon_shadow = 0; +SDL_Surface *ammo_pic = 0; +#ifdef AUDIO_ENABLED +StkSound *wav_expand = 0, *wav_shrink = 0, *wav_frozen = 0; +#endif +SDL_Surface *ball_pic = 0; /* ball pictures */ +SDL_Surface *ball_shadow = 0; +#ifdef AUDIO_ENABLED +StkSound *wav_reflect_brick = 0; +StkSound *wav_reflect_paddle = 0; +StkSound *wav_attach = 0; +#endif +SDL_Surface *shot_pic = 0; +SDL_Surface *shot_shadow = 0; +#ifdef AUDIO_ENABLED +StkSound *wav_shot = 0; +#endif +SDL_Surface *extra_pic = 0; /* graphics */ +SDL_Surface *extra_shadow = 0; +SDL_Surface *wall_pic = 0; +#ifdef AUDIO_ENABLED +StkSound *wav_score = 0, *wav_metal = 0, *wav_std = 0, *wav_wall = 0, *wav_joker = 0; +StkSound *wav_goldshower = 0; +StkSound *wav_speedup = 0, *wav_speeddown = 0; +StkSound *wav_chaos = 0, *wav_darkness = 0, *wav_ghost = 0; +StkSound *wav_timeadd = 0, *wav_expl_ball = 0, *wav_weak_ball = 0; +StkSound *wav_bonus_magnet = 0, *wav_malus_magnet = 0, *wav_disable = 0; +#endif +SDL_Surface *shine_pic = 0; +SDL_Surface *frame_left = 0, *frame_top = 0, *frame_right = 0; +SDL_Surface *frame_left_shadow = 0, *frame_top_shadow = 0, *frame_right_shadow = 0; +SDL_Surface *frame_mp_left = 0, *frame_mp_right = 0; /* multiplayer variants */ +SDL_Surface *frame_mp_left_shadow = 0, *frame_mp_right_shadow = 0; +SDL_Surface *lamps = 0; /* life lamps */ +StkFont *display_font; +StkFont *display_highlight_font; +#ifdef AUDIO_ENABLED +StkSound *wav_life_up = 0, *wav_life_down = 0; +#endif +SDL_Surface **bkgnds = 0; +int bkgnd_count = 0; +SDL_Surface *nuke_bkgnd = 0; /* special background for nuke mode */ +/* chatroom */ +SDL_Surface *cr_up = 0, *cr_down = 0, *cr_track = 0, *cr_wallpaper = 0; +/* frame box */ +SDL_Surface *fr_hori = 0, *fr_vert = 0, *fr_luc = 0, *fr_llc = 0, *fr_ruc = 0, *fr_rlc = 0; +/* menu manager */ +StkFont *mfont = 0, *mhfont = 0, *mcfont = 0; /* font, highlight font, caption font */ +SDL_Surface *mbkgnd = 0; /* menu background */ +#ifdef AUDIO_ENABLED +StkSound *wav_menu_click = 0; +StkSound *wav_menu_motion = 0; +#endif +/* charts */ +StkFont *cfont = 0, *chfont = 0, *ccfont = 0; /* normal, highlight and caption font */ +/* warp icon (indicates you can now go to next level) */ +SDL_Surface *warp_pic = 0; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Build the theme directory from passed name. The resources are then +loaded from this directory and the full file name is saved to +theme_path. +==================================================================== +*/ +static char theme_dir[512]; +static char theme_path[512]; +void theme_set_dir( char *name ) +{ + if ( name[0] == '~' ) + snprintf( theme_dir, sizeof(theme_dir)-1, "%s/%s/lbreakout2-themes/%s", + (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME, name + 1 ); + else { + if ( STRCMP( SRC_DIR, "." ) ) { + getcwd( theme_dir, 511 ); + strcat( theme_dir, "/gfx/" ); + strcat( theme_dir, name ); + } + else + snprintf( theme_dir, sizeof(theme_dir)-1, "%s/gfx/%s", SRC_DIR, name ); + } +} + +/* +==================================================================== +Load a picture or sound from theme directory or (if not found) +from original source directory. +==================================================================== +*/ +SDL_Surface* theme_load_surf( char *name ) +{ + struct stat filestat; + SDL_Surface *surf = 0; + sprintf( theme_path, "%s/%s", theme_dir, name ); + if ( stat( theme_path, &filestat ) == -1 || + ( surf = stk_surface_load( SDL_SWSURFACE | SDL_NONFATAL, theme_path ) ) == 0 ) + surf = stk_surface_load( SDL_SWSURFACE, name ); + return surf; +} +#ifdef AUDIO_ENABLED +StkSound* theme_load_sound( char *name ) +{ + struct stat filestat; + StkSound *sound = 0; + sprintf( theme_path, "%s/%s", theme_dir, name ); + if ( stat( theme_path, &filestat ) == -1 || + ( sound = stk_sound_load( -1, theme_path ) ) == 0 ) + sound = stk_sound_load( -1, name ); + return sound; +} +#endif +StkFont* theme_load_font_fixed( char *name, int start, int len, int width ) +{ + struct stat filestat; + StkFont *font = 0; + sprintf( theme_path, "%s/%s", theme_dir, name ); + if ( stat( theme_path, &filestat ) == -1 || + ( font = stk_font_load( SDL_SWSURFACE | SDL_NONFATAL, theme_path ) ) == 0 ) + font = stk_font_load( SDL_SWSURFACE, name ); + if ( font ) + SDL_SetColorKey( font->surface, SDL_SRCCOLORKEY, + stk_surface_get_pixel( font->surface, 0,0 ) ); + return font; +} + +/* +==================================================================== +The frame is a bit complex to be done. +==================================================================== +*/ +void theme_load_frame() +{ + Uint32 ckey; + + /* load resources */ + frame_left = theme_load_surf( "fr_left.png" ); + frame_top = theme_load_surf( "fr_top.png" ); + frame_right = theme_load_surf( "fr_right.png" ); + /* get colorkey */ + ckey = stk_surface_get_pixel( frame_right, frame_right->w - 1, 0 ); + SDL_SetColorKey( frame_left, SDL_SRCCOLORKEY, ckey ); + SDL_SetColorKey( frame_top, SDL_SRCCOLORKEY, ckey ); + SDL_SetColorKey( frame_right, SDL_SRCCOLORKEY, ckey ); + /* build shadows */ + frame_left_shadow = create_shadow( frame_left, 0, 0, frame_left->w, frame_left->h ); + frame_top_shadow = create_shadow( frame_top, 0, 0, frame_top->w, frame_top->h ); + frame_right_shadow = create_shadow( frame_right, 0, 0, frame_right->w, frame_right->h ); + + /* build the columns for multiplayer */ + frame_mp_left = theme_load_surf( "fr_mp_left.png" ); + frame_mp_right = theme_load_surf( "fr_mp_right.png" ); + SDL_SetColorKey( frame_mp_left, SDL_SRCCOLORKEY, ckey ); + SDL_SetColorKey( frame_mp_right, SDL_SRCCOLORKEY, ckey ); + frame_mp_left_shadow = create_shadow( frame_mp_left, 0, 0, frame_mp_left->w, frame_mp_left->h ); + frame_mp_right_shadow = create_shadow( frame_mp_right, 0, 0, frame_mp_right->w, frame_mp_right->h ); + + /* load other resources */ + lamps = theme_load_surf( "life.png" ); + display_font = theme_load_font_fixed( "f_frame.png", 32, 96, 8 ); + display_font->align = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_CENTER_Y; + display_highlight_font = theme_load_font_fixed( "f_small_white.png", 32, 96, 8 ); + display_highlight_font->align = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_CENTER_Y; + + /* waves */ +#ifdef AUDIO_ENABLED + wav_life_up = theme_load_sound( "gainlife.wav" ); + wav_life_down = theme_load_sound( "looselife.wav" ); +#endif +} + +/* +==================================================================== +Load backgrounds. If no background was found use the original +backgrounds. Else count the number of new backgrounds and use these. +==================================================================== +*/ +void theme_load_bkgnds() +{ + int i; + struct stat filestat; + sprintf( theme_path, "%s/back0.png", theme_dir ); + if ( stat( theme_path, &filestat ) == -1 ) { + /* use original backs */ + bkgnds = calloc( ORIG_BACK_COUNT, sizeof( SDL_Surface* ) ); + for ( i = 0; i < ORIG_BACK_COUNT; i++ ) { + sprintf( theme_path, "back%i.png", i ); + bkgnds[i] = stk_surface_load( SDL_SWSURFACE, theme_path ); + } + bkgnd_count = ORIG_BACK_COUNT; + } + else { + /* use new backs */ + bkgnd_count = -1; + do { + bkgnd_count++; + sprintf( theme_path, "%s/back%i.png", theme_dir, bkgnd_count ); + } while ( stat( theme_path, &filestat ) == 0 ); + bkgnds = calloc( bkgnd_count, sizeof( SDL_Surface* ) ); + /* load backs */ + for ( i = 0; i < bkgnd_count; i++ ) { + sprintf( theme_path, "%s/back%i.png", theme_dir, i ); + bkgnds[i] = stk_surface_load( SDL_SWSURFACE, theme_path ); + } + } + + for ( i = 0; i < bkgnd_count; i++ ) + SDL_SetColorKey( bkgnds[i], 0, 0x0 ); +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Get/delete names of all themes found in themes directory. +==================================================================== +*/ +void theme_get_list() +{ + int i; + int default_theme_count = 4; + char *default_theme_names[] = { + "AbsoluteB", + "Oz", + "Moiree", + "Classic" + }; + char name[64]; + char dir[256]; + DIR *hdir = 0; + struct dirent *entry = 0; + struct stat estat; + List *list = 0; + /* auxilary list */ + list = list_create( LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + /* install theme directory */ + snprintf( dir, sizeof(dir) - 1, "%s/gfx", SRC_DIR ); + if ( ( hdir = opendir( dir ) ) != 0 ) { + while ( ( entry = readdir( hdir ) ) ) { + if ( entry->d_name[0] == '.' ) + continue; + /* full path */ + sprintf( theme_path, "%s/%s", dir, entry->d_name ); + stat( theme_path, &estat ); + if ( S_ISDIR( estat.st_mode ) ) { + /* ignore entry if it is a default theme */ + for ( i = 0; i < default_theme_count; i++ ) + if ( STRCMP( default_theme_names[i], entry->d_name ) ) { + i = -1; + break; + } + if ( i == -1 ) continue; + /* store it otherwise */ + sprintf( name, "%s", entry->d_name ); + list_add( list, strdup( name ) ); + } + } + closedir( hdir ); + } + /* home theme directory */ + snprintf( dir, sizeof(dir)-1, "%s/%s/lbreakout2-themes", (getenv( "HOME" )?getenv( "HOME" ):"."), CONFIG_DIR_NAME ); + if ( ( hdir = opendir( dir ) ) != 0 ) { + while ( ( entry = readdir( hdir ) ) ) { + if ( entry->d_name[0] == '.' ) + continue; + /* full path */ + sprintf( theme_path, "%s/%s", dir, entry->d_name ); + stat( theme_path, &estat ); + if ( S_ISDIR( estat.st_mode ) ) { + sprintf( name, "~%s", entry->d_name ); + list_add( list, strdup( name ) ); + } + } + closedir( hdir ); + } + /* create static list. the default themes are the + first four entries in the order at the + beginning of this function. */ + theme_count = list->count + default_theme_count; + theme_names = calloc( theme_count, sizeof( char* ) ); + for ( i = 0; i < default_theme_count; i++ ) + theme_names[i] = strdup( default_theme_names[i] ); + for ( i = 0; i < list->count; i++ ) { + theme_names[i + default_theme_count] = list_get( list, i ); + } + list_delete( list ); + /* if config's theme count is not equal reset the theme_id to 0 */ + if ( theme_count != config.theme_count ) { + config.theme_count = theme_count; + config.theme_id = 0; + } +} +void theme_delete_list() +{ + int i; + if ( theme_names ) { + for ( i = 0; i < theme_count; i++ ) + if ( theme_names[i] ) free( theme_names[i] ); + free( theme_names ); + theme_names = 0; + } +} + +/* +==================================================================== +Load theme by name or delete current theme (is done by load too +so it might be used to change a theme as well.) +==================================================================== +*/ +void theme_load( char *name ) +{ + SDL_Surface *surf; + struct stat filestat; + char aux[128]; + int i; + printf( "Loading theme '%s'\n", name ); + /* clear resources */ + theme_delete(); + /* set theme directory */ + theme_set_dir( name ); + /* load resources */ + /* explosions */ + exp_pic = theme_load_surf( "explosions.png" ); + exp_dark_pic = theme_load_surf( "explosions_dark.png" ); + /* main game font */ + font = theme_load_font_fixed( "f_game.png", 32, 96, 10 ); + font->align = STK_FONT_ALIGN_CENTER_X | STK_FONT_ALIGN_CENTER_Y; + /* normal chat font (messages by server) */ + chat_font_normal = theme_load_font_fixed( "f_small_yellow.png", 32, 96, 8 ); + /* error font (messages by server) */ + chat_font_error = theme_load_font_fixed( "f_small_red.png", 32, 96, 8 ); + /* username font (also for server) */ + chat_font_name = theme_load_font_fixed( "f_small_white.png", 32, 96, 8 ); + /* main game sounds */ +#ifdef AUDIO_ENABLED + wav_click = theme_load_sound( "click.wav" ); + wav_damn = theme_load_sound( "damn.wav" ); + wav_dammit = theme_load_sound( "dammit.wav" ); + wav_wontgiveup = theme_load_sound( "wontgiveup.wav" ); + wav_excellent = theme_load_sound( "excellent.wav" ); + wav_verygood = theme_load_sound( "verygood.wav" ); +#endif + /* brick pics and shadow template */ + brick_pic = theme_load_surf( "bricks.png" ); + /* default color key is: BLACK but you may specify a special + key by adding a column of one pixel width at the end of the file */ + if ( brick_pic->w & 1 ) + SDL_SetColorKey( brick_pic, SDL_SRCCOLORKEY, stk_surface_get_pixel( brick_pic, brick_pic->w - 1, 0 ) ); + brick_shadow = create_shadow( brick_pic, 0, 0, brick_pic->w, brick_pic->h ); + /* brick destruction sound */ +#ifdef AUDIO_ENABLED + wav_boom = theme_load_sound( "exp.wav" ); +#endif + /* paddle and weapon */ + paddle_pic = theme_load_surf( "paddle.png" ); + SDL_SetColorKey( paddle_pic, SDL_SRCCOLORKEY, + stk_surface_get_pixel( paddle_pic, 0, 0 ) ); + if ( paddle_pic->w < 6 * paddle_cw ) { + /* no top paddle specified so duplicate first one */ + surf = stk_surface_create( SDL_SWSURFACE, paddle_pic->w*2, paddle_pic->h ); + SDL_SetColorKey( surf, SDL_SRCCOLORKEY, paddle_pic->format->colorkey ); + SDL_FillRect( surf, 0, paddle_pic->format->colorkey ); + stk_surface_blit( paddle_pic, 0,0,-1,-1, surf, 0,0 ); + stk_surface_blit( paddle_pic, 0,0,-1,-1, surf, paddle_pic->w,0 ); + stk_surface_free( &paddle_pic ); paddle_pic = surf; + } + weapon_pic = theme_load_surf( "weapon.png" ); + paddle_shadow = create_shadow( paddle_pic, 0, 0, paddle_pic->w, paddle_pic->h ); + weapon_shadow = create_shadow( weapon_pic, 0, 0, weapon_pic->w, weapon_pic->h ); + ammo_pic = theme_load_surf( "ammo.png" ); + SDL_SetColorKey( ammo_pic, SDL_SRCCOLORKEY, 0x0 ); + /* paddle sounds */ +#ifdef AUDIO_ENABLED + wav_expand = theme_load_sound( "expand.wav" ); + wav_shrink = theme_load_sound( "shrink.wav" ); + wav_frozen = theme_load_sound( "freeze.wav" ); +#endif + /* ball gfx */ + ball_pic = theme_load_surf( "ball.png" ); + SDL_SetColorKey( ball_pic, SDL_SRCCOLORKEY, stk_surface_get_pixel( ball_pic, 0, 0 ) ); + ball_shadow = create_shadow( ball_pic, 0, 0, ball_w, ball_h ); + /* ball sounds */ +#ifdef AUDIO_ENABLED + wav_reflect_brick = theme_load_sound( "reflect_brick.wav" ); + wav_reflect_paddle = theme_load_sound( "reflect_paddle.wav" ); + wav_attach = theme_load_sound( "attach.wav" ); +#endif + /* shot gfx */ + shot_pic = theme_load_surf( "shot.png" ); + shot_shadow = create_shadow( shot_pic, 0, 0, shot_w, shot_h ); +#ifdef AUDIO_ENABLED + wav_shot = theme_load_sound( "shot.wav" ); +#endif + /* extra pic */ + extra_pic = theme_load_surf( "extras.png" ); + SDL_SetColorKey( extra_pic, 0, 0 ); + /* default color key is: disabled but you may specify a special + key by adding a column of one pixel width at the end of the file */ + if ( extra_pic->w & 1 ) + SDL_SetColorKey( extra_pic, SDL_SRCCOLORKEY, stk_surface_get_pixel( extra_pic, extra_pic->w - 1, 0 ) ); + extra_shadow = create_shadow( extra_pic, 0, 0, extra_pic->w, extra_pic->h ); + /* extra sounds */ +#ifdef AUDIO_ENABLED + wav_score = theme_load_sound( "score.wav" ); + wav_metal = theme_load_sound( "metal.wav" ); + wav_speedup = theme_load_sound( "speedup.wav" ); + wav_speeddown = theme_load_sound( "speeddown.wav" ); + wav_std = theme_load_sound( "standard.wav" ); + wav_wall = theme_load_sound( "wall.wav" ); + wav_joker = theme_load_sound( "joker.wav" ); + wav_goldshower = theme_load_sound( "goldshower.wav" ); + wav_chaos = theme_load_sound( "chaos.wav" ); + wav_darkness = theme_load_sound( "darkness.wav" ); + wav_ghost = theme_load_sound( "ghost.wav" ); + wav_timeadd = theme_load_sound( "timeadd.wav" ); + wav_expl_ball = theme_load_sound( "expl_ball.wav" ); + wav_weak_ball = theme_load_sound( "weak_ball.wav" ); + wav_bonus_magnet = theme_load_sound( "bonus_magnet.wav" ); + wav_malus_magnet = theme_load_sound( "malus_magnet.wav" ); + wav_disable = theme_load_sound( "disable.wav" ); +#endif + /* shine pic */ + shine_pic = theme_load_surf( "shine.png" ); + /* chatroom */ + cr_up = theme_load_surf( "scroll_up.png" ); + cr_down = theme_load_surf( "scroll_down.png" ); + cr_track = theme_load_surf( "scroll_track.png" ); + cr_wallpaper = theme_load_surf( "cr_back.png" ); + SDL_SetColorKey( cr_wallpaper, 0,0 ); + /* frame box */ + fr_hori = theme_load_surf( "fr_hori.png" ); + fr_vert = theme_load_surf( "fr_vert.png" ); + fr_luc = theme_load_surf( "fr_luc.png" ); + fr_llc = theme_load_surf( "fr_llc.png" ); + fr_ruc = theme_load_surf( "fr_ruc.png" ); + fr_rlc = theme_load_surf( "fr_rlc.png" ); + /* frame */ + theme_load_frame(); + /* wall */ + sprintf( theme_path, "%s/floor.png", theme_dir ); + if ( stat( theme_path, &filestat ) == -1 ) { + /* build default floor */ + wall_pic = stk_surface_create( + SDL_SWSURFACE, stk_display->w - 2 * BRICK_WIDTH, + BRICK_HEIGHT ); + /* bricks must have been loaded at this point! */ + for ( i = 0; i < MAP_WIDTH - 2; i++ ) + stk_surface_blit( brick_pic, 0, 0, + BRICK_WIDTH, BRICK_HEIGHT, + wall_pic, i * BRICK_WIDTH, 0 ); + } + else { + /* load floor */ + wall_pic = theme_load_surf( "floor.png" ); + } + /* backgrounds */ + theme_load_bkgnds(); + /* build nuke bkgnd */ + nuke_bkgnd = stk_surface_create( SDL_SWSURFACE, + stk_display->w, stk_display->h ); + surf = stk_surface_load( SDL_SWSURFACE, "nukeback.png" ); + stk_surface_apply_wallpaper( nuke_bkgnd, 0,0,-1,-1, + surf, 128 ); + stk_surface_free( &surf ); + stk_surface_gray( nuke_bkgnd, 0,0,-1,-1, 0 ); + /* manager */ + mbkgnd = theme_load_surf( "menuback.png" ); + SDL_SetColorKey( mbkgnd, 0, 0 ); + mfont = theme_load_font_fixed( "f_small_yellow.png", 32, 96, 8 ); + mhfont = theme_load_font_fixed( "f_white.png", 32, 96, 10 ); + mcfont = theme_load_font_fixed( "f_yellow.png", 32, 96, 10 ); +#ifdef AUDIO_ENABLED + wav_menu_click = theme_load_sound( "menu_click.wav" ); + wav_menu_motion = theme_load_sound( "menu_motion.wav" ); +#endif + /* add version to background */ + mfont->align = STK_FONT_ALIGN_RIGHT | STK_FONT_ALIGN_BOTTOM; + sprintf( aux, "v%s", VERSION ); + stk_font_write( mfont, mbkgnd, mbkgnd->w - 4, stk_display->h - 4 - mfont->height, STK_OPAQUE, aux ); + stk_font_write( mfont, mbkgnd, mbkgnd->w - 4, stk_display->h - 4, STK_OPAQUE, "http://lgames.sf.net" ); + /* charts */ + /* load resources */ + cfont = theme_load_font_fixed( "f_small_yellow.png", 32, 96, 8 ); + chfont = theme_load_font_fixed( "f_small_white.png", 32, 96, 8 ); + ccfont = theme_load_font_fixed( "f_yellow.png", 32, 96, 10 ); + /* warp picture */ + warp_pic = theme_load_surf( "warp.png" ); +} +void theme_delete() +{ + int i; + stk_surface_free( &exp_pic ); + stk_surface_free( &exp_dark_pic ); + stk_font_free( &font ); + stk_font_free( &chat_font_normal ); + stk_font_free( &chat_font_error ); + stk_font_free( &chat_font_name ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_click ); + stk_sound_free( &wav_damn ); + stk_sound_free( &wav_dammit ); + stk_sound_free( &wav_wontgiveup ); + stk_sound_free( &wav_excellent ); + stk_sound_free( &wav_verygood ); +#endif + stk_surface_free( &brick_pic ); + stk_surface_free( &brick_shadow ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_boom ); +#endif + stk_surface_free( &paddle_pic ); + stk_surface_free( &weapon_pic ); + stk_surface_free( &ammo_pic ); + stk_surface_free( &paddle_shadow ); + stk_surface_free( &weapon_shadow ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_expand ); + stk_sound_free( &wav_shrink ); + stk_sound_free( &wav_frozen ); +#endif + stk_surface_free( &ball_pic ); + stk_surface_free( &ball_shadow ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_reflect_paddle ); + stk_sound_free( &wav_reflect_brick ); + stk_sound_free( &wav_attach ); +#endif + stk_surface_free( &shot_pic ); + stk_surface_free( &shot_shadow ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_shot ); +#endif + stk_surface_free( &extra_pic ); + stk_surface_free( &extra_shadow ); + stk_surface_free( &wall_pic ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_score ); + stk_sound_free( &wav_metal ); + stk_sound_free( &wav_speedup ); + stk_sound_free( &wav_speeddown ); + stk_sound_free( &wav_std ); + stk_sound_free( &wav_wall ); + stk_sound_free( &wav_joker ); + stk_sound_free( &wav_goldshower ); + stk_sound_free( &wav_chaos ); + stk_sound_free( &wav_darkness ); + stk_sound_free( &wav_ghost ); + stk_sound_free( &wav_timeadd ); + stk_sound_free( &wav_expl_ball ); + stk_sound_free( &wav_weak_ball ); + stk_sound_free( &wav_bonus_magnet ); + stk_sound_free( &wav_malus_magnet ); + stk_sound_free( &wav_disable ); +#endif + stk_surface_free( &shine_pic ); + stk_surface_free( &frame_left ); + stk_surface_free( &frame_right ); + stk_surface_free( &frame_top ); + stk_surface_free( &frame_left_shadow ); + stk_surface_free( &frame_right_shadow ); + stk_surface_free( &frame_top_shadow ); + stk_surface_free( &lamps ); + stk_font_free( &display_font ); + stk_font_free( &display_highlight_font ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_life_up ); + stk_sound_free( &wav_life_down ); +#endif + if ( bkgnds ) { + for ( i = 0; i < bkgnd_count; i++ ) + stk_surface_free( &bkgnds[i] ); + free( bkgnds ); + bkgnds = 0; + bkgnd_count = 0; + } + stk_surface_free( &nuke_bkgnd ); + /* chatroom */ + stk_surface_free( &cr_up ); + stk_surface_free( &cr_down ); + stk_surface_free( &cr_track ); + stk_surface_free( &cr_wallpaper ); + /* frame box */ + stk_surface_free( &fr_vert ); + stk_surface_free( &fr_hori ); + stk_surface_free( &fr_luc ); + stk_surface_free( &fr_llc ); + stk_surface_free( &fr_ruc ); + stk_surface_free( &fr_rlc ); + /* manager */ + stk_surface_free( &mbkgnd ); + stk_font_free( &mfont ); + stk_font_free( &mhfont ); + stk_font_free( &mcfont ); +#ifdef AUDIO_ENABLED + stk_sound_free( &wav_menu_click ); + stk_sound_free( &wav_menu_motion ); +#endif + /* charts */ + stk_font_free( &cfont ); + stk_font_free( &chfont ); + stk_font_free( &ccfont ); + /* warp picture */ + stk_surface_free( &warp_pic ); +} + +/* +==================================================================== +Check if there is a file ABOUT in the theme directory and return +it's contents up to limit characters. +If this file isn't found 'NO INFO' is set. +==================================================================== +*/ +void theme_get_info( char *theme_name, char *text, int limit ) +{ + FILE *file = 0; + int i, count; + theme_set_dir( theme_name ); + sprintf( theme_path, "%s/ABOUT", theme_dir ); + if ( ( file = fopen( theme_path, "rb" ) ) ) { + count = fread( text, 1, limit, file ); + fclose( file ); + text[(count>=0)?count:0] = 0; + for ( i = 0; i < strlen( text ); i++ ) + if ( text[i] == 10 ) + text[i] = '#'; + /* remove empty lines */ + for ( i = strlen( text ) - 1; i >= 0; i++ ) + if ( text[i] == '#' && i > 0 && text[i-1] == '#' ) + text[i] = 0; + else + break; + } + else + strcpy_lt( text, _("NO INFO AVAILABLE"), limit ); +} diff --git a/project/jni/application/lbreakout2/client/theme.h b/project/jni/application/lbreakout2/client/theme.h new file mode 100644 index 000000000..70215f95c --- /dev/null +++ b/project/jni/application/lbreakout2/client/theme.h @@ -0,0 +1,47 @@ +/*************************************************************************** + theme.h - description + ------------------- + begin : Fri Feb 15 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __THEME_H +#define __THEME_H + +/* +==================================================================== +Get/delete names of all themes found in themes directory. +==================================================================== +*/ +void theme_get_list(); +void theme_delete_list(); + +/* +==================================================================== +Load theme by name or delete current theme (is done by load too +so it might be used to change a theme as well.) +==================================================================== +*/ +void theme_load( char *name ); +void theme_delete(); + +/* +==================================================================== +Check if there is a file ABOUT in the theme directory and return +it's contents up to limit characters. +If this file isn't found 'NO INFO' is set. +==================================================================== +*/ +void theme_get_info( char *name, char *text, int limit ); + +#endif diff --git a/project/jni/application/lbreakout2/client/value.c b/project/jni/application/lbreakout2/client/value.c new file mode 100644 index 000000000..a91730634 --- /dev/null +++ b/project/jni/application/lbreakout2/client/value.c @@ -0,0 +1,261 @@ +/*************************************************************************** + value.c - description + ------------------- + begin : Sun Sep 23 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "manager.h" + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Update val_str if not ITEM_VALUE +==================================================================== +*/ +void value_update_str( Value *value ) +{ + switch ( value->type ) { + case VALUE_RANGE_INT: sprintf( value->val_str, "%i", *value->val_int ); break; + case VALUE_RANGE_STR: sprintf( value->val_str, "%s", value->names[*value->val_int] ); break; + 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; + default: + if ( *value->val_int >= SDLK_a && *value->val_int <= SDLK_z ) + sprintf( value->val_str, "'%c'", (char)toupper( *value->val_int ) ); + else + sprintf( value->val_str, "%i", *value->val_int ); + break; + } + break; + } +} + +/* +==================================================================== +Create basic value +==================================================================== +*/ +Value *value_create_basic( int type, int *val_int ) +{ + Value *value = calloc( 1, sizeof( Value ) ); + value->type = type; + value->val_int = val_int; + /* if not VALUE_EDIT create val_str which carries translated val_int */ + if ( type != VALUE_EDIT ) value->val_str = calloc( 256, sizeof( char ) ); + return value; +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Auxiliary functions to setup a key filter. +==================================================================== +*/ +void filter_clear( int *filter ) +{ + memset( filter, 0, sizeof( int ) * SDLK_LAST ); +} +void filter_set( int *filter, int first, int last, int allowed ) +{ + int i; + for ( i = first; i <= last; i++ ) + filter[i] = allowed; +} + +/* +==================================================================== +Create a value. names and filter are duplicated and freed by +value_delete(). +Return Value: value +==================================================================== +*/ +Value *value_create_empty() +{ + return value_create_basic( VALUE_NONE, 0 ); +} +Value *value_create_range_int( int *val_int, int min, int max, int step ) +{ + Value *value = value_create_basic( VALUE_RANGE_INT, val_int ); + value->min = min; value->max = max; value->step = step; + value_update_str( value ); + return value; +} +Value *value_create_range_str( int *val_int, char **names, int count ) +{ + int i; + Value *value = value_create_basic( VALUE_RANGE_STR, val_int ); + value->min = 0; value->max = count - 1; value->step = 1; + /* duplicate names */ + value->name_count = count; + value->names = calloc( count, sizeof( char* ) ); + for ( i = 0; i < count; i++ ) + value->names[i] = strdup( names[i] ); + value_update_str( value ); + return value; +} +Value *value_create_key( int *val_int, int *filter ) +{ + int i; + Value *value = value_create_basic( VALUE_KEY, val_int ); + /* duplicate filter */ + value->filter = calloc( SDLK_LAST, sizeof( int ) ); + for ( i = 0; i < SDLK_LAST; i++ ) value->filter[i] = filter[i]; + value_update_str( value ); + /* list of other key values */ + value->other_keys = list_create( LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + return value; +} +Value *value_create_edit( char *val_str, int limit ) +{ + Value *value = value_create_basic( VALUE_EDIT, 0 ); + value->val_str = val_str; + value->max = limit; + return value; +} +/* +==================================================================== +Delete a value +==================================================================== +*/ +void value_delete( Value *value ) +{ + int i; + if ( !value ) return; + if ( value->filter ) free( value->filter ); + if ( value->names ) { + for ( i = 0; i < value->name_count; i++ ) + if ( value->names[i] ) free( value->names[i] ); + free( value->names ); + } + if ( value->type != VALUE_EDIT && value->val_str ) free( value->val_str ); + if ( value->other_keys ) list_delete( value->other_keys ); + free( value ); +} +/* +==================================================================== +Increase, decrease if range. +==================================================================== +*/ +void value_dec( Value *value ) +{ + *value->val_int -= value->step; + if ( *value->val_int < value->min ) *value->val_int = value->max; + value_update_str( value ); +} +void value_inc( Value *value ) +{ + *value->val_int += value->step; + if ( *value->val_int > value->max ) *value->val_int = value->min; + value_update_str( value ); +} +/* +==================================================================== +Grab input of VALUE_KEY +==================================================================== +*/ +void value_grab( Value *value ) +{ + if ( value->type == VALUE_KEY ) { + value->grab = 1; + value_update_str( value ); + } +} +/* +==================================================================== +Set key value if VALUE_KEY and clear grab flag +==================================================================== +*/ +void value_set_key( Value *value, int val_int ) +{ + Value *other_key; + if ( !value->filter[val_int] ) return; + list_reset( value->other_keys ); + while ( ( other_key = list_next( value->other_keys ) ) ) + if ( *other_key->val_int == val_int ) return; + /* ok, set */ + *value->val_int = val_int; + value->grab = 0; + value_update_str( value ); +} +/* +==================================================================== +Edit string if VALUE_EDIT +==================================================================== +*/ +void value_edit( Value *value, int code, int unicode ) +{ + int length = strlen( value->val_str ); + if ( code == SDLK_BACKSPACE && length > 0 ) + value->val_str[length - 1] = 0; + else + if ( unicode >= 32 && unicode < 128 && length < value->max ) + value->val_str[length] = unicode; +} +/* +==================================================================== +Add another dynamically restricted key (as VALUE_KEY) to other_key +list. +==================================================================== +*/ +void value_add_other_key( Value *value, Value *other_key ) +{ + if ( value->type != VALUE_KEY ) return; + list_add( value->other_keys, other_key ); +} +/* +==================================================================== +Set a new name list (and update position) for VALUE_RANGE_STR. +==================================================================== +*/ +void value_set_new_names( Value *value, char **names, int count ) +{ + int i; + if ( value->type != VALUE_RANGE_STR ) return; + if ( value->names ) { + for ( i = 0; i < value->name_count; i++ ) + if ( value->names[i] ) free( value->names[i] ); + free( value->names ); + } + value->name_count = count; + value->max = count - 1; + if ( *value->val_int > value->max ) *value->val_int = 0; + value->names = calloc( count, sizeof( char* ) ); + for ( i = 0; i < count; i++ ) + value->names[i] = strdup( names[i] ); + value_update_str( value ); +} diff --git a/project/jni/application/lbreakout2/client/value.h b/project/jni/application/lbreakout2/client/value.h new file mode 100644 index 000000000..207ce9666 --- /dev/null +++ b/project/jni/application/lbreakout2/client/value.h @@ -0,0 +1,115 @@ +/*************************************************************************** + value.h - description + ------------------- + begin : Thu Sep 20 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __VALUE_H +#define __VALUE_H + +/* +==================================================================== +Value contained and handled by item. +==================================================================== +*/ +enum { + VALUE_NONE = 0, /* no value: separator */ + VALUE_RANGE_INT, /* range of integers */ + VALUE_RANGE_STR, /* range of strings: min == 0, max == count, step == 1 */ + VALUE_KEY, /* single key value */ + VALUE_EDIT /* editable string */ +}; +typedef struct _Value { + int type; /* type of value */ + int min, max, step; /* integer range of value */ + int *val_int; /* value as integer (position in range or key value) */ + char *val_str; /* value as string (either name or converted val_int) + --duplicated except for VALUE_EDIT */ + char **names; /* if set val_int is associated to the indexed name and val_str + is set to this name instead of the converted integer value + --duplicated */ + int name_count; /* number of names */ + int *filter; /* key filter (size: SDLK_LAST) --duplicated */ + List *other_keys; /* list of other key values for VALUE_KEY: these are + restricted, too */ + int grab; /* if type is VALUE_KEY and this is set all events except QUIT and + KEYUP are ignored */ +} Value; + +/* +==================================================================== +Auxiliary functions to setup a key filter. +==================================================================== +*/ +void filter_clear( int *filter ); +void filter_set( int *filter, int first, int last, int allowed ); + +/* +==================================================================== +Create a value. names and filter are duplicated and freed by +value_delete(). +Return Value: value +==================================================================== +*/ +Value *value_create_empty(); +Value *value_create_range_int( int *val_int, int min, int max, int step ); +Value *value_create_range_str( int *val_int, char **names, int count ); +Value *value_create_key( int *val_int, int *filter ); +Value *value_create_edit( char *val_str, int limit ); +/* +==================================================================== +Delete a value +==================================================================== +*/ +void value_delete( Value *value ); +/* +==================================================================== +Increase, decrease if range. +==================================================================== +*/ +void value_dec( Value *value ); +void value_inc( Value *value ); +/* +==================================================================== +Grab input of VALUE_KEY +==================================================================== +*/ +void value_grab( Value *value ); +/* +==================================================================== +Set key value if VALUE_KEY and clear grab flag +==================================================================== +*/ +void value_set_key( Value *value, int val_int ); +/* +==================================================================== +Edit string if VALUE_EDIT +==================================================================== +*/ +void value_edit( Value *value, int code, int unicode ); +/* +==================================================================== +Add another dynamically restricted key (as VALUE_KEY) to other_key +list. +==================================================================== +*/ +void value_add_other_key( Value *value, Value *other_key ); +/* +==================================================================== +Set a new name list (and update position) for VALUE_RANGE_STR. +==================================================================== +*/ +void value_set_new_names( Value *value, char **names, int count ); + +#endif diff --git a/project/jni/application/lbreakout2/client/win32.ico b/project/jni/application/lbreakout2/client/win32.ico new file mode 100644 index 000000000..55b69be4a Binary files /dev/null and b/project/jni/application/lbreakout2/client/win32.ico differ diff --git a/project/jni/application/lbreakout2/common/Makefile.am b/project/jni/application/lbreakout2/common/Makefile.am new file mode 100644 index 000000000..4e4bf12b4 --- /dev/null +++ b/project/jni/application/lbreakout2/common/Makefile.am @@ -0,0 +1,8 @@ +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 gettext.h diff --git a/project/jni/application/lbreakout2/common/Makefile.in b/project/jni/application/lbreakout2/common/Makefile.in new file mode 100644 index 000000000..0ed52e4e0 --- /dev/null +++ b/project/jni/application/lbreakout2/common/Makefile.in @@ -0,0 +1,459 @@ +# 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 = 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@ +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@ +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 gettext.h +all: all-am + +.SUFFIXES: +.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) --foreign common/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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) +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 *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@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 + +TAGS: $(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; }'`; \ + 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 GTAGS GRTAGS GSYMS GPATH tags + +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 $(LIBRARIES) +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 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 + +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. +.NOEXPORT: diff --git a/project/jni/application/lbreakout2/common/gettext.h b/project/jni/application/lbreakout2/common/gettext.h new file mode 100644 index 000000000..8b262f4cf --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/common/libcommon.a b/project/jni/application/lbreakout2/common/libcommon.a new file mode 100644 index 000000000..5021544c1 Binary files /dev/null and b/project/jni/application/lbreakout2/common/libcommon.a differ diff --git a/project/jni/application/lbreakout2/common/list.c b/project/jni/application/lbreakout2/common/list.c new file mode 100644 index 000000000..3a0d01dc3 --- /dev/null +++ b/project/jni/application/lbreakout2/common/list.c @@ -0,0 +1,360 @@ +/*************************************************************************** + list.c - description + ------------------- + begin : Sun Sep 2 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include + +#include "list.h" + +/* +==================================================================== +Create a new list + auto_delete: Free memory of data pointer when deleting entry + callback: Use this callback to free memory of data including + the data pointer itself. +Return Value: List pointer +==================================================================== +*/ +List *list_create( int auto_delete, void (*callback)(void*) ) +{ + List *list = calloc( 1, sizeof( List ) ); + list->head = calloc( 1, sizeof( ListEntry ) ); + list->tail = calloc( 1, sizeof( ListEntry ) ); + list->head->next = list->tail; + list->head->prev = list->head; + list->tail->next = list->tail; + list->tail->prev = list->head; + list->auto_delete = auto_delete; + list->callback = callback; + list->cur_entry = list->head; + return list; +} +/* +==================================================================== +Delete list and entries. +==================================================================== +*/ +void list_delete( List *list ) +{ + list_clear( list ); + free( list->head ); + free( list->tail ); + free( list ); +} +/* +==================================================================== +Delete all entries but keep the list. Reset current_entry to head +pointer. +==================================================================== +*/ +void list_clear( List *list ) +{ + while( !list_empty( list ) ) list_delete_pos( list, 0 ); +} +/* +==================================================================== +Insert new item at position. +Return Value: True if successful else False. +==================================================================== +*/ +int list_insert( List *list, void *item, int pos ) +{ + int i; + ListEntry *cur = list->head; + ListEntry *new_entry = 0; + + /* check if insertion possible */ + if ( pos < 0 || pos > list->count ) return 0; + if ( item == 0 ) return 0; + /* get to previous entry */ + for (i = 0; i < pos; i++) cur = cur->next; + /* create and anchor new entry */ + new_entry = calloc( 1, sizeof( ListEntry ) ); + new_entry->item = item; + new_entry->next = cur->next; + new_entry->prev = cur; + cur->next->prev = new_entry; + cur->next = new_entry; + list->count++; + return 1; +} +/* +==================================================================== +Add new item at the end of the list. +==================================================================== +*/ +int list_add( List *list, void *item ) +{ + ListEntry *new_entry = 0; + /* check if insertion possible */ + if ( item == 0 ) return 0; + /* create and anchor new entry */ + new_entry = calloc( 1, sizeof( ListEntry ) ); + new_entry->item = item; + new_entry->next = list->tail; + new_entry->prev = list->tail->prev; + list->tail->prev->next = new_entry; + list->tail->prev = new_entry; + list->count++; + return 1; +} +/* +==================================================================== +Delete item at position. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_pos( List *list, int pos ) +{ + int i; + ListEntry *cur = list->head; + + /* check if deletion possbile */ + if ( list_empty( list ) ) return 0; + if ( pos < 0 || pos >= list->count ) return 0; + /* get to correct entry */ + for ( i = 0; i <= pos; i++ ) cur = cur->next; + /* modify anchors */ + cur->next->prev = cur->prev; + cur->prev->next = cur->next; + /* decrease counter */ + list->count--; + /* check current_entry */ + if ( list->cur_entry == cur ) + list->cur_entry = list->cur_entry->prev; + /* free memory */ + if ( list->auto_delete ) { + if ( list->callback ) + (list->callback)( cur->item ); + else + free( cur->item ); + } + free( cur ); + return 1; +} +/* +==================================================================== +Delete item if in list. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_item( List *list, void *item ) +{ + return list_delete_pos( list, list_check( list, item ) ); +} +/* +==================================================================== +Delete entry. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_entry( List *list, ListEntry *entry ) +{ + /* delete possible? */ + if ( entry == 0 ) return 0; + if ( list->count == 0 ) return 0; + if ( entry == list->head || entry == list->tail ) return 0; + /* adjust anchor and counter */ + entry->prev->next = entry->next; + entry->next->prev = entry->prev; + list->count--; + /* check current_entry */ + if ( list->cur_entry == entry ) + list->cur_entry = list->cur_entry->prev; + /* free memory */ + if ( list->auto_delete ) { + if ( list->callback ) + (list->callback)( entry->item ); + else + free( entry->item ); + } + free( entry ); + return 1; +} +/* +==================================================================== +Get item from position if in list. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_get( List *list, int pos ) +{ + int i; + ListEntry *cur = list->head; + + if ( pos < 0 || pos >= list->count ) return 0; + for ( i = 0; i <= pos; i++ ) cur = cur->next; + return cur->item; +} +/* +==================================================================== +Check if item's in list. +Return Value: Position of item else -1. +==================================================================== +*/ +int list_check( List *list, void *item ) +{ + int pos = -1; + ListEntry *cur = list->head->next; + while ( cur != list->tail ) { + pos++; + if ( cur->item == item ) break; + cur = cur->next; + } + if ( cur == list->tail ) pos = -1; /* item not found */ + return pos; +} +/* +==================================================================== +Return first item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_first( List *list ) +{ + list->cur_entry = list->head->next; + return list->head->next->item; +} +/* +==================================================================== +Return last item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_last( List *list ) +{ + list->cur_entry = list->tail->prev; + return list->tail->prev->item; +} +/* +==================================================================== +Return item in current_entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_current( List *list ) +{ + return list->cur_entry->item; +} +/* +==================================================================== +Reset current_entry to head of list. +==================================================================== +*/ +void list_reset( List *list ) +{ + list->cur_entry = list->head; +} +/* +==================================================================== +Get next item and update current_entry (reset if tail reached) +Return Value: Item pointer if found else Null (if tail of list). +==================================================================== +*/ +void* list_next( List *list ) +{ + list->cur_entry = list->cur_entry->next; + if ( list->cur_entry == list->tail ) list_reset( list ); + return list->cur_entry->item; +} +/* +==================================================================== +Get previous item and update current_entry. +Return Value: Item pointer if found else Null (if head of list). +==================================================================== +*/ +void* list_prev( List *list ) +{ + list->cur_entry = list->cur_entry->prev; + return list->cur_entry->item; +} +/* +==================================================================== +Delete the current entry if not tail or head. This is the entry +that contains the last returned item by list_next/prev(). +Return Value: True if it was a valid deleteable entry. +==================================================================== +*/ +int list_delete_current( List *list ) +{ + if ( list->cur_entry == 0 || list->cur_entry == list->head || list->cur_entry == list->tail ) return 0; + list_delete_entry( list, list->cur_entry ); + return 1; +} +/* +==================================================================== +Check if list is empty. +Return Value: True if list counter is 0 else False. +==================================================================== +*/ +int list_empty( List *list ) +{ + return list->count == 0; +} +/* +==================================================================== +Return entry containing the passed item. +Return Value: True if entry found else False. +==================================================================== +*/ +ListEntry *list_entry( List *list, void *item ) +{ + ListEntry *entry = list->head->next; + while ( entry != list->tail ) { + if ( entry->item == item ) return entry; + entry = entry->next; + } + return 0; +} +/* +==================================================================== +Transfer an entry from one list to another list by removing from +'source' and adding to 'dest' thus if source does not contain +the item this is equvalent to list_add( dest, item ). +==================================================================== +*/ +void list_transfer( List *source, List *dest, void *item ) +{ + int old_auto_flag; + /* add to destination */ + list_add( dest, item ); + /* as the pointer is added to dest without changes only the empty + entry must be deleted in source */ + old_auto_flag = source->auto_delete; + source->auto_delete = LIST_NO_AUTO_DELETE; + list_delete_item( source, item ); + source->auto_delete = old_auto_flag; +} +/* +==================================================================== +Deqeue the first list entry. (must not use auto_delete therefore) +==================================================================== +*/ +void *list_dequeue( List *list ) +{ + void *item; + if ( list->count > 0 ) { + item = list->head->next->item; + list_delete_pos( list, 0 ); + return item; + } + else + return 0; +} diff --git a/project/jni/application/lbreakout2/common/list.h b/project/jni/application/lbreakout2/common/list.h new file mode 100644 index 000000000..b0a7f45c2 --- /dev/null +++ b/project/jni/application/lbreakout2/common/list.h @@ -0,0 +1,202 @@ +/*************************************************************************** + list.h - description + ------------------- + begin : Sun Sep 2 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __LIST_H +#define __LIST_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* +==================================================================== +Dynamic list handling data as void pointers. +==================================================================== +*/ +typedef struct _ListEntry { + struct _ListEntry *next; + struct _ListEntry *prev; + void *item; +} ListEntry; +typedef struct { + int auto_delete; + int count; + ListEntry *head; + ListEntry *tail; + void (*callback)(void*); + ListEntry *cur_entry; +} List; + +/* +==================================================================== +Create a new list + auto_delete: Free memory of data pointer when deleting entry + callback: Use this callback to free memory of data including + the data pointer itself. +Return Value: List pointer +==================================================================== +*/ +enum { LIST_NO_AUTO_DELETE = 0, LIST_AUTO_DELETE }; +enum { LIST_NO_CALLBACK = 0 }; +List *list_create( int auto_delete, void (*callback)(void*) ); +/* +==================================================================== +Delete list and entries. +==================================================================== +*/ +void list_delete( List *list ); +/* +==================================================================== +Delete all entries but keep the list. Reset current_entry to head +pointer. +==================================================================== +*/ +void list_clear( List *list ); +/* +==================================================================== +Insert new item at position. +Return Value: True if successful else False. +==================================================================== +*/ +int list_insert( List *list, void *item, int pos ); +/* +==================================================================== +Add new item at the end of the list. +==================================================================== +*/ +int list_add( List *list, void *item ); +/* +==================================================================== +Delete item at pos. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_pos( List *list, int pos ); +/* +==================================================================== +Delete item if in list. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_item( List *list, void *item ); +/* +==================================================================== +Delete entry. +==================================================================== +*/ +int list_delete_entry( List *list, ListEntry *entry ); +/* +==================================================================== +Get item from position if in list. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_get( List *list, int pos ); +/* +==================================================================== +Check if item's in list. +Return Value: Position of item else -1. +==================================================================== +*/ +int list_check( List *list, void *item ); +/* +==================================================================== +Return first item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_first( List *list ); +/* +==================================================================== +Return last item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_last( List *list ); +/* +==================================================================== +Return item in current_entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_current( List *list ); +/* +==================================================================== +Reset current_entry to head of list. +==================================================================== +*/ +void list_reset( List *list ); +/* +==================================================================== +Get next item and update current_entry (reset if tail reached). +Return Value: Item pointer if found else Null (if tail of list). +==================================================================== +*/ +void* list_next( List *list ); +/* +==================================================================== +Get previous item and update current_entry. +Return Value: Item pointer if found else Null (if head of list). +==================================================================== +*/ +void* list_prev( List *list ); +/* +==================================================================== +Delete the current entry if not tail or head. This is the entry +that contains the last returned item by list_next/prev(). +Return Value: True if it was a valid deleteable entry. +==================================================================== +*/ +int list_delete_current( List *list ); +/* +==================================================================== +Check if list is empty. +Return Value: True if list counter is 0 else False. +==================================================================== +*/ +int list_empty( List *list ); +/* +==================================================================== +Return entry containing the passed item. +Return Value: True if entry found else False. +==================================================================== +*/ +ListEntry *list_entry( List *list, void *item ); +/* +==================================================================== +Transfer an entry from one list to another list by removing from +'source' and adding to 'dest' thus if source does not contain +the item this is equvalent to list_add( dest, item ). +==================================================================== +*/ +void list_transfer( List *source, List *dest, void *item ); +/* +==================================================================== +Deqeue the first list entry. (must not use auto_delete therefore) +==================================================================== +*/ +void *list_dequeue( List *list ); + +#ifdef __cplusplus +}; +#endif + +#endif diff --git a/project/jni/application/lbreakout2/common/messages.h b/project/jni/application/lbreakout2/common/messages.h new file mode 100644 index 000000000..653c84897 --- /dev/null +++ b/project/jni/application/lbreakout2/common/messages.h @@ -0,0 +1,273 @@ +/*************************************************************************** + messages.h - description + ------------------- + begin : Mon Oct 21 12:02:57 CEST 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __MESSAGES_H +#define __MESSAGES_H + +/* protocol of server and client which must be equal */ +#define PROTOCOL 4 + +/* a list of all messages in the game for client or server */ +enum { + /* 00 */ + MSG_HEARTBEAT = 0, + /* tells the remote one is still alive. can't be checked in another + * way as the connection is not a stream */ + + /* 01 */ + MSG_ERROR, + /* string message + * + * transfer an error message */ + + /* 02 */ + MSG_SERVER_INFO, + /* string message + * + * server message written to chat */ + + /* 03 */ + MSG_CONNECT, + /* int8 protocol + * string username + * string password + * + * password is currently unused. requests login at server */ + + /* 04 */ + MSG_LOGIN_OKAY, + /* int32 user id + * string user name + * + * accept login and tell client its server user id and its name */ + + /* 05 */ + MSG_DISCONNECT, + /* tell server user has disconnect or vice versa */ + + /* 06 */ + MSG_PREPARE_FULL_UPDATE, + /* clear user list and levelset list */ + + /* 07 */ + MSG_ADD_USER, + /* string user name + * int32 user id + * + * add a visible user. */ + + /* 08 */ + MSG_REMOVE_USER, + /* int32 user id + * + * remove user by that id. is used as well to hide a user */ + + /* 09 */ + MSG_UNHIDE, + /* send by user to set hide 0 after a game was finished. + * prevents buffer overflow when game is done but user is + * idle (looking at stats or whatever) */ + + /* 0a */ + MSG_CHANNEL_LIST, + /* int8 count + * string names + * ... + * + * send the list of all default channels */ + + /* 0b */ + MSG_LEVELSET_LIST, + /* int8 count + * string names + * ... + * + * send the list of all available levelsets */ + + /* 0c */ + MSG_CHATTER, + /* string message + * + * broadcast this message to all visible users */ + + /* 0d */ + MSG_WHISPER, + /* user user id + * string message + * + * whisper this message to the user with the user_id which may be + * located in any channel */ + + /* 0e */ + MSG_COMMAND, + /* string command + * + * user has entered a command. the prepended '/' has already been + * removed by the client */ + + /* 0f */ + MSG_OPEN_GAME, + /* int32 challenged_id + * string setname + * int8 diff + * int8 rounds + * int8 frags + * int8 balls + * + * open a game and add the sending user and the user by id 'challenged_id' + * to it. */ + + /* 10 */ + MSG_CHALLENGE, + /* string username + * string setname + * ... as above + * + * inform user that it has been challenged by 'user_id' */ + + /* 11 */ + MSG_ACCEPT_CHALLENGE, + /* accept challenge (does not require additional data as it is sent + * within the game context) */ + + /* 12 */ + MSG_REJECT_CHALLENGE, + /* reject challenge (as above) */ + + /* 13 */ + MSG_CANCEL_GAME, + /* challenger cancells challenge which will kill the game and unhide + * both users (as above) */ + + /* 14 */ + MSG_BUSY, + /* int32 user_id + * + * user cannot react on a request. the 'user_id' is the + * requesting user who gets the busy message */ + + /* 15 */ + MSG_ENTER_CHANNEL, + /* string name + * + * client requests to server to enter this channel */ + + /* 16 */ + MSG_SET_CHANNEL, + /* string name + * + * set the name of the current channel */ + + /* 17 */ + MSG_QUIT_GAME, + /* if send by a player the opponent will be informed + * and then both are returned to the chat channel */ + + /* 18 */ + MSG_LEVEL_DATA, + /* int8 flags + * string title + * string author + * string bricks + * string extras + * + * leveldata 32+252*2 bytes except the first two byte. + * first tells wether the client plays at top or bottom + * and second tells the comm delay of the server */ + + /* 19 */ + MSG_READY, + /* send by client to confirm reception of level or to + * show that its ready */ + + /* 1a */ + MSG_PAUSE, + /* pause game */ + + /* 1b */ + MSG_UNPAUSE, + /* guess what, eh? */ + + /* 1c */ + MSG_PADDLE_STATE, + /* int16 state + * + * position and fire flags of a paddle */ + + /* 1d */ + MSG_BALL_POSITIONS, + /* ??? + * + * attached/moving ball positions */ + + /* 1e */ + MSG_SHOT_POSITIONS, + /* ??? + * + * moving shot positions */ + + /* 1f */ + MSG_SCORES, + /* int24 paddle bottom + * int24 paddle top + * + * current scores of paddles */ + + /* 20 */ + MSG_BRICK_HITS, + /* ??? + * + * brick modifications */ + + /* 21 */ + MSG_NEW_EXTRAS, + /* ??? + * + * extras collected by both paddles */ + + /* 22 */ + MSG_ROUND_OVER, + /* int8 winner + * + * id of winner paddle or -1 if draw */ + + /* 23 */ + MSG_LAST_ROUND_OVER, + /* int8 winner + * + * tells client that game is finished */ + + /* 24 */ + MSG_GAME_STATS, + /* statistics + * + * final game stats */ + + /* 25 */ + MSG_ADD_LEVELSET, + /* string setname + * + * add a new levelset to client information */ + + /* 26 */ + MSG_SET_COMM_DELAY + /* int16 delay + * + * delay between communication frames */ +}; + +#endif diff --git a/project/jni/application/lbreakout2/common/net.c b/project/jni/application/lbreakout2/common/net.c new file mode 100644 index 000000000..87167ee8c --- /dev/null +++ b/project/jni/application/lbreakout2/common/net.c @@ -0,0 +1,765 @@ +#include "net.h" +#include "../client/lbreakout.h" +#include +#include +#include +#include +#include +#include + +/* Basic layer for network communication. A single UDP socket + * is bound to a port. Received packages are stored in one + * global buffer. + * Socket addresses are wrapped in a struct called NetAddr to + * which raw data may be sent as unreliable datagrams. + * + * Error/message stream: sys_printf() + */ + +int (*sys_printf)(const char *format, ...) = printf; + +/* ********** UDP SOCKET ********** */ + +#ifdef SDL_NET_ENABLED +UDPsocket SDL_socket = 0; +UDPpacket *SDL_packet = 0; +#else +int net_socket = -1; +#endif +NetAddr net_local_addr; +NetAddr net_sender_addr; +char net_buffer[MAX_MSG_SIZE + PACKET_HEADER_SIZE]; +int net_buffer_cur_size = 0; + +int net_show_drops = 1; +#ifdef NET_DEBUG_MSG +int net_show_packets = 1; +#else +int net_show_packets = 0; +#endif + +#ifdef NETWORK_ENABLED +#ifndef SDL_NET_ENABLED +static void sockaddr_to_netaddr( struct sockaddr *sa, NetAddr *addr ) +{ + struct sockaddr_in *sin; + addr->sa = *sa; + /* if AF_INET get ip */ + if ( sa->sa_family == AF_INET ) { + sin = (struct sockaddr_in*)sa; + *(int *)&addr->inet_ip = *(int *)&sin->sin_addr; /* wow */ + } +} + +static void netaddr_to_sockaddr( NetAddr *addr, struct sockaddr *sa ) +{ + *sa = addr->sa; +} + +/* resolve name but leave port 0 */ +static bool resolve_hostname( char *host, struct sockaddr *sa, int *sa_len ) +{ + struct sockaddr_in *sin; + struct sockaddr_in6 *sin6; + struct hostent *hostlist; + + /* resolve the host's address via DNS lookup */ + if ( ( hostlist = gethostbyname( host ) ) == 0 ) { + sys_printf( _("unable to resolve %s: %s\n"), host, strerror( errno) ); + return 0; + } + + /* put host address to sa struct. simply use the first resolved address */ + *sa_len = sizeof(*sa); + memset( sa, 0, *sa_len ); + switch ( hostlist->h_addrtype ) { + case AF_INET: + sin = (struct sockaddr_in*)sa; + sin->sin_family = AF_INET; + memcpy( &sin->sin_addr, hostlist->h_addr_list[0], hostlist->h_length ); + break; + case AF_INET6: + sin6 = (struct sockaddr_in6*)sa; + sin6->sin6_family = AF_INET6; + memcpy( &sin6->sin6_addr, hostlist->h_addr_list[0], hostlist->h_length ); + break; + default: + sys_printf( "unable to resolve: address family %i not supported\n", + hostlist->h_addrtype ); + return 0; + } + + return 1; +} + +static void net_get_local_addr( int port ) +{ + char buf[MAXHOSTNAMELEN]; + struct sockaddr_in sa; + int sa_len; + + gethostname(buf, MAXHOSTNAMELEN); + buf[MAXHOSTNAMELEN-1] = 0; + + resolve_hostname( buf, (struct sockaddr*)&sa, &sa_len ); /* port is missing */ + sa.sin_port = htons((short)port); + + sockaddr_to_netaddr( (struct sockaddr *)&sa, &net_local_addr ); +} +#endif +#endif + +/* open UDP socket */ +bool net_init( int port ) +{ +#ifdef NETWORK_ENABLED +#ifdef SDL_NET_ENABLED + if(SDLNet_Init()==-1) { + sys_printf("SDLNet_Init: %s\n", SDLNet_GetError()); + return 0; + } + SDL_socket=SDLNet_UDP_Open(port); + if(!SDL_socket) { + sys_printf("SDLNet_UDP_Open: %s\n", SDLNet_GetError()); + return 0; + } + SDL_packet = SDLNet_AllocPacket(MAX_MSG_SIZE + PACKET_HEADER_SIZE); + if(SDL_packet==0) { + sys_printf("cannot allocate packet: out of memory\n" ); + return 0; + } + /* net_local_addr is unset */ + net_local_addr.SDL_address.host = 0; + net_local_addr.SDL_address.port = 0; + return 1; +#else + struct sockaddr_in sa; + int sa_len; + 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) ); + else + if ( fcntl( net_socket, F_GETFL, &fcntl_args) < 0 ) + sys_printf( "couldn't get fcntl args: %s\n", strerror(errno) ); + else + { + 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); + memset( &sa, 0, sa_len ); + sa.sin_family = AF_INET; + sa.sin_port = htons((short)port); + sa.sin_addr.s_addr = htonl(INADDR_ANY); /* all interfaces */ + + i = 10; /* try ten successive ports */ + while ( bind( net_socket, (struct sockaddr*)&sa, sa_len ) < 0 ) { + sys_printf( "binding to port %i failed: %s\n", port, strerror(errno) ); + sa.sin_port = htons((short)port++); + if ( --i == 0 ) { + close( net_socket ); + return 0; + } + } + + net_get_local_addr( port ); + sys_printf( _("UDP socket bound to %s:%i\n"), + net_addr_to_string( &net_local_addr ), port ); + + return 1; + } + } + return 0; +#endif +#else + return 0; +#endif +} + +void net_shutdown( void ) +{ +#ifdef NETWORK_ENABLED +#ifdef SDL_NET_ENABLED + SDLNet_UDP_Close(SDL_socket); SDL_socket = 0; + SDLNet_FreePacket(SDL_packet); SDL_packet = 0; + SDLNet_Quit(); +#else + close( net_socket ); + sys_printf( "UDP socket closed\n" ); +#endif +#endif +} + +void net_send_packet( NetAddr *to, int len, void *data ) +{ +#ifdef NETWORK_ENABLED +#ifdef SDL_NET_ENABLED + SDL_packet->channel = -1; + memcpy( SDL_packet->data, data, len ); + SDL_packet->len = len; + SDL_packet->address = to->SDL_address; + SDLNet_UDP_Send(SDL_socket,-1,SDL_packet); +#else + struct sockaddr sa; + + /* empty packets are not send */ + if ( len == 0 ) { + sys_printf( "net_send_packet: null length packet\n" ); + return; + } + + netaddr_to_sockaddr( to, &sa ); + + if ( sendto( net_socket, data, len, 0, &sa, sizeof(sa) ) < 0 ) { + if (errno == EWOULDBLOCK) + return; + if (errno == ECONNREFUSED) + return; + sys_printf( "net_send_packet: %s\n", strerror(errno) ); + } +#endif +#endif +} + +bool net_recv_packet( void ) +{ +#ifdef NETWORK_ENABLED + int ret; +#ifdef SDL_NET_ENABLED + ret = SDLNet_UDP_Recv(SDL_socket, SDL_packet); + if ( ret == -1 ) { + sys_printf("SDLNet_UDP_Recv: %s\n", SDLNet_GetError()); + return 0; + } + if ( ret == 1 ) { + memcpy( net_buffer, SDL_packet->data, SDL_packet->len ); + net_buffer_cur_size = SDL_packet->len; + net_sender_addr.SDL_address = SDL_packet->address; + return 1; + } + net_buffer_cur_size = 0; + return 0; +#else + struct sockaddr sa; + int sa_len = sizeof(sa); + + ret = recvfrom( net_socket, + net_buffer, sizeof(net_buffer), + 0, + &sa, &sa_len); + if (ret == -1) { + if (errno == EWOULDBLOCK) + return 0; + if (errno == ECONNREFUSED) + return 0; + sys_printf( "net_recv_packet: %s\n", strerror(errno)); + return 0; + } + + net_buffer_cur_size = ret; + + sockaddr_to_netaddr( &sa, &net_sender_addr ); + + return (ret>0); +#endif +#else + return 0; +#endif +} + +/* if host contains trailing :xxxxx 'port' is overwritten */ +bool net_build_addr( NetAddr *addr, char *host, int port ) +{ +#ifdef NETWORK_ENABLED + char *ptr; +#ifndef SDL_NET_ENABLED + struct sockaddr sa; + int sa_len; +#endif + if ( (ptr = strchr( host, ':' )) ) { + *ptr = 0; + port = atoi( ptr+1 ); + } + +#ifdef SDL_NET_ENABLED + if ( SDLNet_ResolveHost(&addr->SDL_address, host, port ) == -1 ) + { + sys_printf("SDLNet_ResolveHost: %s\n", SDLNet_GetError()); + return 0; + } + return 1; +#else + memset( addr, 0, sizeof( NetAddr ) ); + if ( resolve_hostname( host, &sa, &sa_len ) ) { + switch ( sa.sa_family ) { + case AF_INET: + ((struct sockaddr_in*)&sa)->sin_port = htons((short)port); + break; + case AF_INET6: + ((struct sockaddr_in6*)&sa)->sin6_port = htons((short)port); + break; + default: + /* not reached as resolve_hostname allows the same types */ + return 0; + } + sockaddr_to_netaddr( &sa, addr ); + return 1; + } + return 0; +#endif +#else + return 0; +#endif +} + +/* compare host and port */ +bool net_compare_addr( NetAddr *a1, NetAddr *a2 ) +{ +#ifdef NETWORK_ENABLED +#ifdef SDL_NET_ENABLED + if ( a1->SDL_address.host == a2->SDL_address.host ) + if ( a1->SDL_address.port == a2->SDL_address.port ) + return 1; + return 0; +#else + /* by now only AF_INET addresses may be compared */ + if ( a1->sa.sa_family == AF_INET && a2->sa.sa_family == AF_INET ) { + if ( a1->inet_ip[0] == a2->inet_ip[0] ) + if ( a1->inet_ip[1] == a2->inet_ip[1] ) + if ( a1->inet_ip[2] == a2->inet_ip[2] ) + if ( a1->inet_ip[3] == a2->inet_ip[3] ) + if ( ((struct sockaddr_in*)&a1->sa)->sin_port == + ((struct sockaddr_in*)&a2->sa)->sin_port ) + return 1; + return 0; + } + + sys_printf( "only AF_INET addresses may be compared yet\n" ); + return 0; +#endif +#else + return 0; +#endif +} + +char *net_addr_to_string( NetAddr *_addr ) /* not allocated but static */ +{ +#ifdef NETWORK_ENABLED +#ifdef SDL_NET_ENABLED + int ip[4]; + static char host_ip[64]; + char *host; + if(!(host=SDLNet_ResolveIP(&_addr->SDL_address))) + { + //printf("SDLNet_ResolveIP: %s\n", SDLNet_GetError()); + ip[0] = _addr->SDL_address.host & 0xff; + ip[1] = (_addr->SDL_address.host>>8) & 0xff; + ip[2] = (_addr->SDL_address.host>>16) & 0xff; + ip[3] = (_addr->SDL_address.host>>24) & 0xff; + snprintf( host_ip, 64, "%d.%d.%d.%d", ip[0], ip[1], ip[2], ip[3] ); + return host_ip; + } + return host; +#else + static char str[64]; + int len = 64; + struct sockaddr *addr = &_addr->sa; + struct sockaddr_in *sin; + struct sockaddr_in6 *sin6; + /*struct sockaddr_un *sun;*/ + + str[len-1] = 0; + snprintf( str, len, "undefined" ); + + switch ( addr->sa_family ) { + case AF_INET: + sin = (struct sockaddr_in*)addr; + if ( !inet_ntop( AF_INET, &sin->sin_addr, str, len ) ) { + sys_printf( "inet_ntop failed: %s\n", strerror( errno ) ); + } + break; + case AF_INET6: + sin6 = (struct sockaddr_in6*)addr; + if ( !inet_ntop( AF_INET6, &sin6->sin6_addr, str, len ) ) { + sys_printf( "inet_ntop failed: %s\n", strerror( errno ) ); + } + break; + case AF_UNIX: + /*sun = (struct sockaddr_un *)addr; + if( sun->sun_path[0] == 0 ) { + snprintf( str, len, "unknown" ); + sys_printf( "net_query_ip: unknown unix path\n" ); + } + else + snprintf( str, sun->sun_path, len );*/ + break; + default: + snprintf( str, len, "unknown" ); + break; + } + + return str; +#endif +#else + return 0; +#endif +} + +/* ********** MESSAGE ********** */ + +char *msg_buf = 0; +int *msg_buf_cur_size = 0; +int msg_buf_max_size = 0; +int msg_write_overflow = 0; + +#ifdef NET_DEBUG_MSG +static void msg_print_raw( int len, char *buf ) +{ + int i; + for ( i = 0; i < len; i++ ) + printf( "%02x ", (unsigned char) buf[i] ); + printf( "\n" ); +} +#endif + +static char* msg_get_writeable_space( int size ) +{ + if ( *msg_buf_cur_size + size > msg_buf_max_size ) { + msg_write_overflow = 1; + *msg_buf_cur_size = 0; + } + return msg_buf + *msg_buf_cur_size; +} + +void msg_begin_writing( char *buf, int *cur_size, int max_size ) +{ + msg_buf = buf; + msg_buf_cur_size = cur_size; + msg_buf_max_size = max_size; + *msg_buf_cur_size = 0; + msg_write_overflow = 0; +} +void msg_write_int8 ( int c ) +{ + unsigned char *ptr = msg_get_writeable_space( 1 ); + ptr[0] = (char)c; + *msg_buf_cur_size += 1; +} +void msg_write_int16 ( int s ) +{ + unsigned char *ptr = msg_get_writeable_space( 2 ); + ptr[0] = s & 0xff; + ptr[1] = (s>>8) & 0xff; + *msg_buf_cur_size += 2; +} +void msg_write_int32 ( int i ) +{ + unsigned char *ptr = msg_get_writeable_space( 4 ); + ptr[0] = i & 0xff; + ptr[1] = (i>>8) & 0xff; + ptr[2] = (i>>16) & 0xff; + ptr[3] = (i>>24) & 0xff; + *msg_buf_cur_size += 4; +} +void msg_write_string( char *str ) +{ + char *ptr = msg_get_writeable_space( strlen(str)+1 ); + if ( strlen(str)+1 > msg_buf_max_size ) return; /* would cause segfault */ + strcpy( ptr, str ); + *msg_buf_cur_size += strlen(str)+1; +} +void msg_printf ( char *format, ... ) +{ + char buf[MAX_MSG_SIZE]; + va_list args; + + va_start( args, format ); + vsnprintf( buf, MAX_MSG_SIZE, format, args ); buf[MAX_MSG_SIZE-1] = 0; + va_end( args ); + msg_write_string( buf ); +} +void msg_write ( int len, void *data ) +{ + unsigned char *ptr = msg_get_writeable_space( len ); + if ( len > msg_buf_max_size ) return; /* would cause segfault */ + memcpy( ptr, data, len ); + *msg_buf_cur_size += len; +} +int msg_get_max_size() +{ + return msg_buf_max_size; +} +bool msg_write_failed() +{ + return msg_write_overflow; +} + +int msg_read_exceeded = 0; +int msg_read_pos = 0; + +static char* msg_get_readable_space( int size ) +{ + if ( msg_read_pos + size > net_buffer_cur_size ) { + msg_read_exceeded = 1; + msg_read_pos = 0; + } + return net_buffer + msg_read_pos; + +} + +bool msg_is_connectionless() +{ + return ( *(int*)net_buffer == 0 ); +} +void msg_begin_reading() +{ + msg_read_exceeded = 0; + msg_read_pos = 0; +} +void msg_begin_connectionless_reading() +{ + msg_read_exceeded = 0; + msg_read_pos = PACKET_HEADER_SIZE; +} +int msg_read_int8 ( void ) +{ + unsigned char *ptr = msg_get_readable_space( 1 ); + msg_read_pos += 1; + return ptr[0]; +} +int msg_read_int16( void ) +{ + unsigned char *ptr = msg_get_readable_space( 2 ); + msg_read_pos += 2; + return ptr[0] + (ptr[1]<<8); +} +int msg_read_int32( void ) +{ + unsigned char *ptr = msg_get_readable_space( 4 ); + msg_read_pos += 4; + return ptr[0] + (ptr[1]<<8) + (ptr[2]<<16) + (ptr[3]<<24); +} +char* msg_read_string( void ) +{ + static char buf[MAX_MSG_SIZE]; /* can't be bigger including trailing \0 */ + char c; + int i = 0; + + while ( 1 ) { + c = msg_read_int8(); + buf[i++] = c; + if ( i == MAX_MSG_SIZE ) break; /* to be sure */ + if ( c == 0 ) break; + } + buf[MAX_MSG_SIZE-1] = 0; + + return buf; +} +void msg_read( int len, char *buf ) +{ + unsigned char *ptr = msg_get_readable_space( len ); + msg_read_pos += len; + memcpy( buf, ptr, len ); +} + +bool msg_read_failed( void ) +{ + return msg_read_exceeded; +} + +/* ********** TRANSMISSION ********** */ + +/* transmit a connectionless message */ +void net_transmit_connectionless( NetAddr *addr, int len, char *data ) +{ + int cur_size; + char packet[PACKET_HEADER_SIZE + MAX_MSG_SIZE]; + + memset( packet, 0, PACKET_HEADER_SIZE ); /* connectionless header */ + msg_begin_writing( packet + PACKET_HEADER_SIZE, &cur_size, MAX_MSG_SIZE ); + msg_write( len, data ); + if ( msg_write_failed() ) return; + + net_send_packet( addr, PACKET_HEADER_SIZE + cur_size, packet ); + + if ( net_show_packets ) + sys_printf( "--> %s: connectionless size=%i\n", + net_addr_to_string( addr ), + cur_size + PACKET_HEADER_SIZE ); +} + +void socket_init( NetSocket *sock, NetAddr *addr ) +{ + memset( sock, 0, sizeof( NetSocket ) ); + + sock->remote_addr = *addr; + sock->outgoing_id = 1; /* as id 0 means connectionless */ + sock->idle_since = time(0); + + //sys_printf( "%s: socket initiated\n", net_addr_to_string( addr ) ); +} + +void socket_reinit( NetSocket *socket ) /* with same address */ +{ + NetAddr addr = socket->remote_addr; + socket_init( socket, &addr ); +} + +void socket_print_stats( NetSocket *sock ) +{ + sys_printf ( "%s: STATISTICS\n drops: %i(%i packets)\n %i good packets\n", + net_addr_to_string( &sock->remote_addr ), + sock->drop_count, sock->dropped_packet_count, + sock->good_packet_count ); +} + +/* transmit CODE_RED/BLUE message and re-transmit dropped CODE_RED messages. + * length 0 messages are not transmitted. re-transmission of CODE_RED messages + * is handled in any case */ +void socket_transmit( NetSocket *sock, int code, int len, char *data ) +{ + char packet[PACKET_HEADER_SIZE + MAX_MSG_SIZE]; + int is_code_red = 0, cur_size = 0; + + /* do not use sockets with fatal error */ + if ( sock->fatal_error ) return; + + /* add code red message to buffer */ + if ( code == CODE_RED ) { + if ( sock->code_red_buf_cur_size + len > MAX_MSG_SIZE ) { + sock->fatal_error = 1; /* overflowed */ + return; + } + memcpy( sock->code_red_buf + sock->code_red_buf_cur_size, data, len ); + sock->code_red_buf_cur_size += len; + /* do not send the message if waiting for a receipt */ + if ( sock->outgoing_code_red > 0 && !sock->retransmit_code_red_buf ) + return; + else + is_code_red = 1; + } + + if ( sock->retransmit_code_red_buf ) + is_code_red = 1; + + msg_begin_writing( packet, &cur_size, PACKET_HEADER_SIZE + MAX_MSG_SIZE ); + msg_write_int32( sock->outgoing_id | (is_code_red<<31) ); + msg_write_int32( sock->incoming_code_red ); + + if ( is_code_red ) + sock->outgoing_code_red = sock->outgoing_id; + + sock->outgoing_id++; + + /* if code red buffer was not received resend it and clear the flag. + * if not waiting for a receipt (thus an initial code red message) + * send it as well */ + if ( is_code_red ) { + msg_write( sock->code_red_buf_cur_size, sock->code_red_buf ); + sock->retransmit_code_red_buf = 0; + } + + /* add code blue packet if space is left */ + if ( code == CODE_BLUE && cur_size + len <= msg_get_max_size() ) + msg_write( len, data ); + + /* no data? */ + if ( cur_size == PACKET_HEADER_SIZE ) return; + + /* send packet */ + net_send_packet( &sock->remote_addr, cur_size, packet ); +#ifdef NET_DEBUG_MSG + printf( "OUT: "); msg_print_raw( cur_size, packet ); +#endif + + if ( net_show_packets ) + sys_printf( "--> %s: out=%i(%s) size=%i in=%i(RED:%i)\n", + net_addr_to_string( &sock->remote_addr ), + sock->outgoing_id-1, is_code_red?"RED":"BLUE", + cur_size, + sock->incoming_id, sock->incoming_code_red ); +} + +/* update socker by net_packet header if net_sender_addr is sock.remote_addr + * and set read pointer to packet payload. if false is returned packet is + * not parsed. */ +bool socket_process_header( NetSocket *sock ) +{ + int id, is_code_red, last_ack_code_red, drops = 0; + + /* do not process fatal socks */ + if ( sock->fatal_error ) return 0; + + /* correct sock? */ + if ( !net_compare_addr( &net_sender_addr, &sock->remote_addr ) ) + return 0; + +#ifdef NET_DEBUG_MSG + printf( " IN: " ); msg_print_raw( net_buffer_cur_size, net_buffer ); +#endif + + /* read header */ + msg_begin_reading(); + id = msg_read_int32(); /* new incoming id, the difference to sock->incoming_id is + the number of dropped packets */ + is_code_red = id >> 31; /* highest bit tells wether code red packet */ + id &= ~(1<<31); + last_ack_code_red = msg_read_int32(); /* last code red packet remote received */ + + /* duplicated packets are not handled */ + if ( id <= sock->incoming_id ) { + if ( net_show_drops ) + sys_printf( "%s: out of order packet %i at %i\n", + net_addr_to_string( &sock->remote_addr ), + id, sock->incoming_id ); + return 0; + } + + /* despite dropped packets this packet is handled */ + if ( id > sock->incoming_id+1 ) { + drops = id - (sock->incoming_id+1); + sock->dropped_packet_count += drops; + sock->drop_count++; + if ( net_show_drops ) + sys_printf( "%s: dropped %i packets at %i\n", + net_addr_to_string( &sock->remote_addr ), + drops, sock->incoming_id+1 ); + } + sock->good_packet_count++; + + sock->incoming_id = id; /* last incoming packet (no matter wether red or blue) */ + if ( is_code_red ) + sock->incoming_code_red = id; /* last code red packet socket received */ + + if ( sock->outgoing_code_red ) { + if ( sock->outgoing_code_red == last_ack_code_red ) { + /* was received so we can clear code_red buffer */ + sock->outgoing_code_red = 0; + sock->code_red_buf_cur_size = 0; + } + else + if ( sock->outgoing_code_red > last_ack_code_red ) { + /* resend code_red buffer as it was dropped */ + sock->retransmit_code_red_buf = 1; + } + else { + /* fatal error occured as remote received a newer code red packet + * although we had no receipt for the current one */ + sock->fatal_error = 1; + } + } + + sock->idle_since = time(0); /* reset idle time stamp */ + + /* if packet is empty mark it as unreadable */ + if ( msg_read_pos == net_buffer_cur_size ) + return 0; + + return 1; +} diff --git a/project/jni/application/lbreakout2/common/net.h b/project/jni/application/lbreakout2/common/net.h new file mode 100644 index 000000000..289e11f1f --- /dev/null +++ b/project/jni/application/lbreakout2/common/net.h @@ -0,0 +1,121 @@ +#ifndef __NET_H +#define __NET_H + +#ifdef NETWORK_ENABLED +#ifdef SDL_NET_ENABLED + #include +#else + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include +#endif +#endif + +#ifndef bool + #define bool int +#endif + +typedef struct { +#ifdef NETWORK_ENABLED +#ifdef SDL_NET_ENABLED + IPaddress SDL_address; +#else + struct sockaddr sa; + unsigned char inet_ip[4]; /* AF_INET dotted ip */ +#endif +#endif +} NetAddr; + +#define MAX_MSG_SIZE 1016 +#define PACKET_HEADER_SIZE 8 + +typedef struct { + NetAddr remote_addr; + int fatal_error; /* code red buffer has been flooded */ + + int idle_since; /* global time stamp when last packet was received (secs) */ + + int drop_count; /* number of drops */ + int dropped_packet_count; /* number of dropped packets */ + int good_packet_count; /* number of successfully processed packets */ + + int incoming_id; /* last incoming remote outgoing_id */ + int outgoing_id; /* packet id increased every sent */ + int incoming_code_red; /* id of last incoming code red packet. is sent + in the header to let remote know if any code + red packets were dropped */ + int outgoing_code_red; /* last outgoing_id of code_red packet if socket + is still waiting for reception acknowledgment. if + packet was delivered successfully this is cleared + to 0 as well as code_red_buf */ + int retransmit_code_red_buf; /* retransmit buffer as net_process_header + has received an incoming_code_red less + than outgoing_code_red */ + + char code_red_buf[MAX_MSG_SIZE]; + char code_red_buf_cur_size; +} NetSocket; + +extern NetAddr net_local_addr; +extern NetAddr net_sender_addr; + +bool net_init( int port ); +void net_shutdown( void ); +void net_send_packet( NetAddr *to, int len, void *data ); +bool net_recv_packet( void ); /* into net_packet from net_sender_addr */ + +bool net_build_addr( NetAddr *addr, char *host, int port ); +bool net_compare_addr( NetAddr *a1, NetAddr *a2 ); +char *net_addr_to_string( NetAddr *addr ); /* not allocated but static */ + +void msg_begin_writing( char *buf, int *cur_size, int max_size ); +void msg_write_int8 ( int c ); +void msg_write_int16 ( int s ); +void msg_write_int32 ( int i ); +void msg_write_string( char *str ); +void msg_printf ( char *format, ... ); +void msg_write ( int len, void *data ); +int msg_get_max_size(); +bool msg_write_failed(); /* check wether overflow occured */ + +bool msg_is_connectionless(); +void msg_begin_reading(); /* of net_packet, starts at header */ +void msg_begin_connectionless_reading(); /* of net_packet, starts after header as useless data */ +int msg_read_int8 ( void ); +int msg_read_int16( void ); +int msg_read_int32( void ); +char* msg_read_string( void ); +void msg_read( int len, char *buf ); +bool msg_read_failed(); /* check wether data couldn't be extracted */ + +void socket_init( NetSocket *sock, NetAddr *addr ); +void socket_reinit( NetSocket *socket ); /* with same address */ +void socket_print_stats( NetSocket *sock ); + +/* transmit a connectionless message */ +void net_transmit_connectionless( NetAddr *addr, int len, char *data ); + +/* transmit CODE_RED/BLUE message and re-transmit dropped CODE_RED messages. + * length 0 messages are not transmitted but re-transmission of CODE_RED messages + * is handled in any case */ +#define CODE_BLUE 0 +#define CODE_RED 1 +void socket_transmit( NetSocket *sock, int code, int len, char *data ); + +/* update socket by net_packet header if net_sender_addr is socket.remote_addr + * and set read pointer to packet payload. if false is returned packet is + * not parsed. */ +bool socket_process_header( NetSocket *sock ); + +#endif + diff --git a/project/jni/application/lbreakout2/common/parser.c b/project/jni/application/lbreakout2/common/parser.c new file mode 100644 index 000000000..4b1de4471 --- /dev/null +++ b/project/jni/application/lbreakout2/common/parser.c @@ -0,0 +1,697 @@ +/*************************************************************************** + parser.c - description + ------------------- + begin : Sat Mar 9 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include "parser.h" +#include "tools.h" + +/* +==================================================================== +Error string. +==================================================================== +*/ +static char parser_sub_error[1024]; +static char parser_error[1024]; + +/* +==================================================================== +This buffer is used to fully load resource files when the +compact format is used. +==================================================================== +*/ +enum { CBUFFER_SIZE = 131072 }; /* 128 KB */ +static char cbuffer[CBUFFER_SIZE]; +static char* cbuffer_pos = 0; /* position in cbuffer */ + +/* +==================================================================== +As we need constant strings sometimes we have to define a maximum +length for tokens. +==================================================================== +*/ +enum { PARSER_MAX_TOKEN_LENGTH = 1024 }; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Macro to shorten the fread call for a single character. +==================================================================== +*/ +#define FILE_READCHAR( file, c ) fread( &c, sizeof( char ), 1, file ) + +/* +==================================================================== +Find next newline in cbuffer and replace it with \0 and return the +pointer to the current line. +==================================================================== +*/ +static char* parser_get_next_line() +{ + char *line = cbuffer_pos; + char *newpos; + if ( cbuffer_pos[0] == 0 ) + return 0; /* completely read. no more lines. */ + if ( ( newpos = strchr( cbuffer_pos, 10 ) ) == 0 ) + cbuffer_pos += strlen( cbuffer_pos ); /* last line */ + else { + cbuffer_pos = newpos + 1; /* set pointer to next line */ + newpos[0] = 0; /* terminate current line */ + } + return line; +} + +/* +==================================================================== +Set parse error string: "file:line: error" +==================================================================== +*/ +static void parser_set_parse_error( char *fname, FILE *file, char *error ) +{ + int end, pos; + int line_count = 1; + char c; + end = ftell( file ); pos = 0; + fseek( file, 0, SEEK_SET ); + while ( pos < end ) { + FILE_READCHAR( file, c ); pos++; + if ( c == 10 ) line_count++; + } + sprintf( parser_error, "%s: %i: %s", + fname, line_count, error ); +} + +/* +==================================================================== +Check if the given character occurs in the symbol list. +If the first symbol is ' ' it is used as wildcard for all +white-spaces. +==================================================================== +*/ +static int is_symbol( int c, char *symbols ) +{ + int i = 0; + if ( symbols[0] == ' ' && c <= 32 ) return 1; + while ( symbols[i] != 0 ) + if ( c == symbols[i++] ) + return 1; + return 0; +} + +/* +==================================================================== +Move file position forward until reading in the given character. +If stop is ' ' whitespaces will be ignored. +==================================================================== +*/ +static void file_skip( FILE *file, char stop ) +{ + char c = 0; + FILE_READCHAR( file, c ); + while ( ( ( stop == ' ' && c <= 32 ) || ( stop != ' ' && c != stop ) ) && !feof( file ) ) + FILE_READCHAR( file, c ); + if ( !feof( file ) ) + fseek( file, -1, SEEK_CUR ); +} + +/* +==================================================================== +Read next token from current file position where symbols is a +list of characters used to break up the tokens. The symbols +themself are returned as tokens. If ' ' occurs in the symbol list +it will be ignored and whitespaces are removed automatically. +The token does not exceed PARSER_MAX_TOKEN_LENGTH. +Enclosing ".." are kept at the token. Use file_compare_token() +to test it's contents. +Returns False on EoF. +==================================================================== +*/ +static int file_read_token_intern( FILE *file, char *symbols, char *token ) +{ + int pos = 0; + char c; + token[0] = 0; + file_skip( file, ' ' ); + FILE_READCHAR( file, c ); + if ( feof( file ) ) { + sprintf( parser_sub_error, "unexpected end of file" ); + return 0; + } + /* string? */ + if ( c == '"' ) { + token[pos++] = '"'; + FILE_READCHAR( file, c ); + while ( ( !feof( file ) && c != '"' ) ) { + token[pos++] = c; + if ( pos == PARSER_MAX_TOKEN_LENGTH - 2 ) { + token[pos++] = '"'; + token[pos] = 0; + sprintf( parser_sub_error, "token exceeds limit" ); + return 0; + } + FILE_READCHAR( file, c ); + } + token[pos++] = '"'; + token[pos] = 0; + if ( feof( file ) ) { + sprintf( parser_sub_error, "unexpected end of file" ); + token[0] = 0; + return 0; + } + return 1; + } + /* symbol? */ + if ( is_symbol( c, symbols ) ) { + token[0] = c; token[1] = 0; + return 1; + } + /* other token */ + while ( !is_symbol( c, symbols ) && !feof( file ) ) { + token[pos++] = c; + if ( pos == PARSER_MAX_TOKEN_LENGTH - 1 ) { + token[pos] = 0; + sprintf( parser_sub_error, "token exceeds limit" ); + return 0; + } + FILE_READCHAR( file, c ); + } + token[pos] = 0; + if ( feof( file ) ) + return 1; + fseek( file, -1, SEEK_CUR ); + return 1; +} + +/* +==================================================================== +Skip all tokens until one begins with character 'stop'. This +token is also ignored. +==================================================================== +*/ +static void file_skip_section( FILE *file, char stop ) +{ + char token[PARSER_MAX_TOKEN_LENGTH]; + do { + file_read_token_intern( file, PARSER_SYMBOLS, token ); + } while ( !feof( file ) && token[0] != stop ); +} + +/* +==================================================================== +Read next token and skip comments enclosed in tokens +skip[0], skip[1] (if skip is not NULL). +Return 0 if EoF. +==================================================================== +*/ +static int file_read_token( FILE *file, char *symbols, char *skip, char *token ) +{ + while ( 1 ) { + if ( !file_read_token_intern( file, symbols, token ) ) + return 0; + if ( skip ) { + if ( token[0] == skip[0] ) + file_skip_section( file, skip[1] ); + else + break; + } + else + break; + } + return 1; +} + +/* +==================================================================== +Remove quotes if any and return result as newly allocated string. +==================================================================== +*/ +static char* parser_remove_quotes( char *string ) +{ + char *new; + if ( string[0] != '"' ) + return strdup( string ); + new = calloc( strlen( string ) - 1, sizeof( char ) ); + strncpy( new, string + 1, strlen( string ) - 2 ); + new[strlen( string ) - 2] = 0; + return new; +} + +/* +==================================================================== +Proceed in the given string until it ends or non-whitespace occurs +and return the new position. +==================================================================== +*/ +static char* string_ignore_whitespace( char *string ) +{ + int i = 0; + while ( string[i] != 0 && string[i] <= 32 ) i++; + return string + i; +} + +/* +==================================================================== +This function searches file from the current position for the next +pdata entry. +==================================================================== +*/ +static PData* parser_parse_file( FILE *file ) +{ + char token[PARSER_MAX_TOKEN_LENGTH]; + PData *pd = 0, *sub = 0; + + /* get name */ + if ( !file_read_token( file, PARSER_SYMBOLS, PARSER_SKIP_SYMBOLS, token ) ) + return 0; + if ( is_symbol( token[0], PARSER_SYMBOLS ) ) { + sprintf( parser_sub_error, "parse error before '%s'", token ); + return 0; + } + pd = calloc( 1, sizeof( PData ) ); + pd->name = parser_remove_quotes( token ); + /* check type */ + if ( !file_read_token( file, PARSER_SYMBOLS, PARSER_SKIP_SYMBOLS, token ) ) + goto failure; + switch ( token[0] ) { + case PARSER_SET: + /* assign single value or list */ + pd->values = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + if ( !file_read_token( file, PARSER_SYMBOLS, PARSER_SKIP_SYMBOLS, token ) ) + goto failure; + if ( token[0] != PARSER_LIST_BEGIN ) { + if ( is_symbol( token[0], PARSER_SYMBOLS ) ) { + sprintf( parser_sub_error, "parse error before '%s'", token ); + goto failure; + } + else + list_add( pd->values, parser_remove_quotes( token ) ); + } + else { + if ( !file_read_token( file, PARSER_SYMBOLS, PARSER_SKIP_SYMBOLS, token ) ) + goto failure; + while ( token[0] != PARSER_LIST_END ) { + if ( is_symbol( token[0], PARSER_SYMBOLS ) ) { + sprintf( parser_sub_error, "parse error before '%s'", token ); + goto failure; + } + else + list_add( pd->values, parser_remove_quotes( token ) ); + if ( !file_read_token( file, PARSER_SYMBOLS, PARSER_SKIP_SYMBOLS, token ) ) + goto failure; + } + } + break; + case PARSER_GROUP_BEGIN: + /* check all entries until PARSER_GROUP_END */ + pd->entries = list_create( LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + while ( 1 ) { + if ( !file_read_token( file, PARSER_SYMBOLS, PARSER_SKIP_SYMBOLS, token ) ) + goto failure; + if ( token[0] == PARSER_GROUP_END ) + break; + fseek( file, -strlen( token ), SEEK_CUR ); + sub = parser_parse_file( file ); + if ( sub ) + list_add( pd->entries, sub ); + else + goto failure; + } + break; + default: + sprintf( parser_sub_error, "parse error before '%s'", token ); + goto failure; + } + return pd; +failure: + parser_free( &pd ); + return 0; +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +This function splits a string into tokens using the characters +found in symbols as breakpoints. If the first symbol is ' ' all +whitespaces are used as breakpoints though NOT added as a token +(thus removed from string). +==================================================================== +*/ +List* parser_split_string( char *string, char *symbols ) +{ + int pos; + char *token = 0; + List *list = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + while ( string[0] != 0 ) { + if ( symbols[0] == ' ' ) + string = string_ignore_whitespace( string ); + if ( string[0] == 0 ) break; + pos = 1; /* 'read in' first character */ + while ( string[pos - 1] != 0 && !is_symbol( string[pos - 1], symbols ) && string[pos - 1] != '"' ) pos++; + if ( pos > 1 ) + pos--; + else + if ( string[pos - 1] == '"' ) { + /* read a string */ + string = string + 1; pos = 0; + while ( string[pos] != 0 && string[pos] != '"' ) pos++; + token = calloc( pos + 1, sizeof( char ) ); + strncpy( token, string, pos ); token[pos] = 0; + list_add( list, token ); + string = string + pos + (string[pos] != 0); + continue; + } + token = calloc( pos + 1, sizeof( char ) ); + strncpy( token, string, pos); token[pos] = 0; + list_add( list, token ); + string = string + pos; + } + return list; +} +/* +==================================================================== +This is the light version of parser_split_string which checks for +just one character and does not add this glue characters to the +list. It's about 2% faster. Wow. +==================================================================== +*/ +List *parser_explode_string( char *string, char c ) +{ + List *list = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + char *next_slash = 0; + char buffer[64]; + while ( string[0] != 0 && ( next_slash = strchr( string, c ) ) != 0 ) { + if ( next_slash != string ) { + strcpy_lt( buffer, string, (next_slash-string>63)?63:(next_slash-string) ); + list_add( list, strdup( buffer ) ); + } + string += next_slash - string + 1; + } + if ( string[0] != 0 ) + list_add( list, strdup( string ) ); + return list; +} + +/* +==================================================================== +This function reads in a whole file and converts it into a +PData tree struct. If an error occurs NULL is returned and +parser_error is set. +==================================================================== +*/ +static int parser_read_file_full( FILE *file, PData *top ) +{ + PData *sub = 0; + char token[1024]; + /* parse file */ + while ( !feof( file ) ) { + if ( ( sub = parser_parse_file( file ) ) != 0 ) + list_add( top->entries, sub ); + else + return 0; + /* skip comments and whitespaces */ + if ( !file_read_token( file, PARSER_SYMBOLS, PARSER_SKIP_SYMBOLS, token ) ) { + if ( token[0] != 0 ) + return 0; + break; + } + else + fseek( file, -strlen( token ), SEEK_CUR ); + } + return 1; +} +static int parser_read_file_compact( PData *section ) +{ + /* section is the parent pdata that needs some + entries */ + PData *pd = 0; + char *line, *cur; + while ( ( line = parser_get_next_line() ) ) { + switch ( line[0] ) { + case '>': + /* this section is finished */ + return 1; + case '<': + /* add a whole subsection */ + pd = calloc( 1, sizeof( PData ) ); + pd->name = strdup( line + 1 ); + pd->entries = list_create( LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + parser_read_file_compact( pd ); + /* add to section */ + list_add( section->entries, pd ); + break; + default: + /* read values as subsection */ + pd = calloc( 1, sizeof( PData ) ); + /* check name */ + if ( ( cur = strchr( line, '»' ) ) == 0 ) { + sprintf( parser_sub_error, "parse error: use '»' for assignment or '<' for section" ); + return 0; + } + cur[0] = 0; cur++; + pd->name = strdup( line ); + /* get values */ + pd->values = parser_explode_string( cur, '°' ); + /* add to section */ + list_add( section->entries, pd ); + break; + } + } + return 1; +} +PData* parser_read_file( char *tree_name, char *fname ) +{ + int size; + char magic = 0; + FILE *file = 0; + PData *top = 0; + /* open file */ + if ( ( file = fopen( fname, "r" ) ) == 0 ) { + sprintf( parser_error, "%s: file not found", fname ); + return 0; + } + /* create top level pdata */ + top = calloc( 1, sizeof( PData ) ); + top->name = strdup( tree_name ); + top->entries = list_create( LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + /* parse */ + FILE_READCHAR( file, magic ); + if ( magic == '@' ) { + /* get the whole contents -- 1 and CBUFFER_SIZE are switched */ + fseek( file, 0, SEEK_END ); size = ftell( file ) - 2; + if ( size >= CBUFFER_SIZE ) { + fprintf( stderr, "%s: file's too big to fit the compact buffer (128KB)\n", fname ); + size = CBUFFER_SIZE - 1; + } + fseek( file, 2, SEEK_SET ); + fread( cbuffer, 1, size, file ); + cbuffer[size] = 0; + /* set indicator to beginning of text */ + cbuffer_pos = cbuffer; + /* parse cbuffer */ + if ( !parser_read_file_compact( top ) ) { + parser_set_parse_error( fname, file, parser_sub_error ); + goto failure; + } + } + else { + fseek( file, 0, SEEK_SET ); + if ( !parser_read_file_full( file, top ) ) { + parser_set_parse_error( fname, file, parser_sub_error ); + goto failure; + } + } + /* finalize */ + fclose( file ); + return top; +failure: + fclose( file ); + parser_free( &top ); + return 0; +} + +/* +==================================================================== +This function frees a PData tree struct. +==================================================================== +*/ +void parser_free( PData **pdata ) +{ + PData *entry = 0; + if ( (*pdata) == 0 ) return; + if ( (*pdata)->name ) free( (*pdata)->name ); + if ( (*pdata)->values ) list_delete( (*pdata)->values ); + if ( (*pdata)->entries ) { + list_reset( (*pdata)->entries ); + while ( ( entry = list_next( (*pdata)->entries ) ) ) + parser_free( &entry ); + list_delete( (*pdata)->entries ); + } + free( *pdata ); *pdata = 0; +} + +/* +==================================================================== +Functions to access a PData tree. +'name' is the pass within tree 'pd' where subtrees are separated +by '/' (e.g.: name = 'config/graphics/animations') +parser_get_pdata : get pdata entry associated with 'name' +parser_get_entries : get list of subtrees (PData structs) in 'name' +parser_get_values : get value list of 'name' +parser_get_value : get a single value from value list of 'name' +parser_get_int : get first value of 'name' converted to integer +parser_get_double : get first value of 'name' converted to double +parser_get_string : get first value of 'name' _duplicated_ +If an error occurs result is set NULL, False is returned and +parse_error is set. +==================================================================== +*/ +int parser_get_pdata ( PData *pd, char *name, PData **result ) +{ + int i, found; + PData *pd_next = pd; + PData *entry = 0; + char *sub = 0; + List *path = parser_explode_string( name, '/' ); + for ( i = 0, list_reset( path ); i < path->count; i++ ) { + sub = list_next( path ); + if ( !pd_next->entries ) { + sprintf( parser_sub_error, "%s: no subtrees", pd_next->name ); + goto failure; + } + list_reset( pd_next->entries ); found = 0; + while ( ( entry = list_next( pd_next->entries ) ) ) + if ( strlen( entry->name ) == strlen( sub ) && !strncmp( entry->name, sub, strlen( sub ) ) ) { + pd_next = entry; + found = 1; + break; + } + if ( !found ) { + sprintf( parser_sub_error, "%s: subtree '%s' not found", pd_next->name, sub ); + goto failure; + } + } + list_delete( path ); + *result = pd_next; + return 1; +failure: + sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error ); + list_delete( path ); + *result = 0; + return 0; +} +int parser_get_entries( PData *pd, char *name, List **result ) +{ + PData *entry; + *result = 0; + if ( !parser_get_pdata( pd, name, &entry ) ) { + sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error ); + strcpy( parser_error, parser_sub_error ); + return 0; + } + if ( !entry->entries || entry->entries->count == 0 ) { + sprintf( parser_error, "parser_get_entries: %s/%s: no subtrees", pd->name, name ); + return 0; + } + *result = entry->entries; + return 1; +} +int parser_get_values ( PData *pd, char *name, List **result ) +{ + PData *entry; + *result = 0; + if ( !parser_get_pdata( pd, name, &entry ) ) { + sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error ); + strcpy( parser_error, parser_sub_error ); + return 0; + } + if ( !entry->values || entry->values->count == 0 ) { + sprintf( parser_error, "parser_get_values: %s/%s: no values", pd->name, name ); + return 0; + } + *result = entry->values; + return 1; +} +int parser_get_value ( PData *pd, char *name, char **result, int index ) +{ + List *values; + if ( !parser_get_values( pd, name, &values ) ) { + sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error ); + strcpy( parser_error, parser_sub_error ); + return 0; + } + if ( index >= values->count ) { + sprintf( parser_error, "parser_get_value: %s/%s: index %i out of range (%i elements)", + pd->name, name, index, values->count ); + return 0; + } + *result = list_get( values, index ); + return 1; +} +int parser_get_int ( PData *pd, char *name, int *result ) +{ + char *value; + if ( !parser_get_value( pd, name, &value, 0 ) ) { + sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error ); + strcpy( parser_error, parser_sub_error ); + return 0; + } + *result = atoi( value ); + return 1; +} +int parser_get_double ( PData *pd, char *name, double *result ) +{ + char *value; + if ( !parser_get_value( pd, name, &value, 0 ) ) { + sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error ); + strcpy( parser_error, parser_sub_error ); + return 0; + } + *result = strtod( value, 0 ); + return 1; +} +int parser_get_string ( PData *pd, char *name, char **result ) +{ + char *value; + if ( !parser_get_value( pd, name, &value, 0 ) ) { + sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error ); + strcpy( parser_error, parser_sub_error ); + return 0; + } + *result = strdup( value ); + return 1; +} + +/* +==================================================================== +If an error occurred you can query the reason with this function. +==================================================================== +*/ +char* parser_get_error( void ) +{ + return parser_error; +} + diff --git a/project/jni/application/lbreakout2/common/parser.h b/project/jni/application/lbreakout2/common/parser.h new file mode 100644 index 000000000..44c620db4 --- /dev/null +++ b/project/jni/application/lbreakout2/common/parser.h @@ -0,0 +1,150 @@ +/*************************************************************************** + parser.h - description + ------------------- + begin : Sat Mar 9 2002 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + + +#ifndef __PARSER_H +#define __PARSER_H + +#include "list.h" +#include + +/* +==================================================================== +This module provides functions to parse ASCII data from strings +and files. +Synopsis: + groupname entry1 .. entryX + variable value +A group entry may either be a variable or a group (interlacing). +A variable value may either be a single token or a list of tokens +enclosed by . +Text enclosed by ".." is counted as a single token. +==================================================================== +*/ + +/* +==================================================================== +Symbols. +Note: These symbols are ignored when found in a token "" +as they belong to this token then. +PARSER_GROUP_BEGIN: +PARSER_GROUP_END: +PARSER_SET: +PARSER_LIST_BEGIN: +PARSER_LIST_END: +PARSER_COMMENT_BEGIN: +PARSER_COMMENT_END: +PARSER_SYMBOLS: List of all symbols + whitespace used to + split strings and tokens. +PARSER_SKIP_SYMBOLS: text bewteen these two symbols is handled as + comment and therefore completely ignored +==================================================================== +*/ +#define PARSER_GROUP_BEGIN '{' +#define PARSER_GROUP_END '}' +#define PARSER_SET '=' +#define PARSER_LIST_BEGIN '(' +#define PARSER_LIST_END ')' +#define PARSER_COMMENT_BEGIN '[' +#define PARSER_COMMENT_END ']' +#define PARSER_SYMBOLS " =(){}[]" +#define PARSER_SKIP_SYMBOLS "[]" + +/* +==================================================================== +An input string is converted into a PData tree struct. +The name identifies this entry and it's the token that is searched +for when reading this entry. +Either 'values' or 'entries' is set. +If 'entries' is not NULL the PData is a group and 'entries' +contains pointers to other groups or lists. +If 'values' is not NULL the PData is a list and 'values' contains +a list of value strings associated with 'name'. +==================================================================== +*/ +typedef struct { + char *name; + List *values; + List *entries; +} PData; + +/* +==================================================================== +This function splits a string into tokens using the characters +found in symbols as breakpoints. If the first symbol is ' ' all +whitespaces are used as breakpoints though NOT added as a token +(thus removed from string). +==================================================================== +*/ +List* parser_split_string( char *string, char *symbols ); +/* +==================================================================== +This is the light version of parser_split_string which checks for +just one character and does not add this glue characters to the +list. It's about 2% faster. Wow. +==================================================================== +*/ +List *parser_explode_string( char *string, char c ); + +/* +==================================================================== +This function reads in a whole file and converts it into a +PData tree struct. If an error occurs NULL is returned and +parser_error is set. 'tree_name' is the name of the PData tree. +==================================================================== +*/ +PData* parser_read_file( char *tree_name, char *fname ); + +/* +==================================================================== +This function frees a PData tree struct. +==================================================================== +*/ +void parser_free( PData **pdata ); + +/* +==================================================================== +Functions to access a PData tree. +'name' is the pass within tree 'pd' where subtrees are separated +by '/' (e.g.: name = 'config/graphics/animations') +parser_get_pdata : get pdata entry associated with 'name' +parser_get_entries : get list of subtrees (PData structs) in 'name' +parser_get_values : get value list of 'name' +parser_get_value : get a single value from value list of 'name' +parser_get_int : get first value of 'name' converted to integer +parser_get_double : get first value of 'name' converted to double +parser_get_string : get first value of 'name' _duplicated_ +If an error occurs result is set NULL, False is returned and +parse_error is set. +==================================================================== +*/ +int parser_get_pdata ( PData *pd, char *name, PData **result ); +int parser_get_entries( PData *pd, char *name, List **result ); +int parser_get_values ( PData *pd, char *name, List **result ); +int parser_get_value ( PData *pd, char *name, char **result, int index ); +int parser_get_int ( PData *pd, char *name, int *result ); +int parser_get_double ( PData *pd, char *name, double *result ); +int parser_get_string ( PData *pd, char *name, char **result ); + +/* +==================================================================== +If an error occurred you can query the message with this function. +==================================================================== +*/ +char* parser_get_error( void ); + +#endif diff --git a/project/jni/application/lbreakout2/common/tools.c b/project/jni/application/lbreakout2/common/tools.c new file mode 100644 index 000000000..12bf2c84f --- /dev/null +++ b/project/jni/application/lbreakout2/common/tools.c @@ -0,0 +1,385 @@ +/*************************************************************************** + tools.c - description + ------------------- + begin : Fri Jan 19 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include +#include +#include "tools.h" + +/* compares to strings and returns true if their first strlen(str1) chars are equal */ +int strequal( char *str1, char *str2 ) +{ + if ( strlen( str1 ) != strlen( str2 ) ) return 0; + return ( !strncmp( str1, str2, strlen( str1 ) ) ); +} + +/* set delay to ms milliseconds */ +void delay_set( Delay *delay, int ms ) +{ + delay->limit = ms; + delay->cur = 0; +} + +/* reset delay ( cur = 0 )*/ +void delay_reset( Delay *delay ) +{ + delay->cur = 0; +} + +/* check if times out and reset */ +int delay_timed_out( Delay *delay, int ms ) +{ + delay->cur += ms; + if ( delay->cur >= delay->limit ) { + + delay->cur = 0; + return 1; + + } + return 0; +} + + +void goto_tile( int *x, int *y, int d ) +{ + /* 0 -up, clockwise, 5 - left up */ + switch ( d ) { + + case 1: + if ( !( (*x) & 1 ) ) + (*y)--; + (*x)++; + break; + case 2: + if ( (*x) & 1 ) + (*y)++; + (*x)++; + break; + case 4: + if ( (*x) & 1 ) + (*y)++; + (*x)--; + break; + case 5: + if ( !( (*x) & 1 ) ) + (*y)--; + (*x)--; + break; + + } +} + +/* return distance between to map positions */ +int get_dist( int x1, int y1, int x2, int y2 ) +{ + int range = 0; + + while ( x1 != x2 || y1 != y2 ) { + + /* approach to x2,y2 */ + /* 0 -up, clockwise, 5 - left up */ + if ( y1 < y2 ) { + + if ( x1 < x2 ) + goto_tile( &x1, &y1, 2 ); + else + if ( x1 > x2 ) + goto_tile( &x1, &y1, 4 ); + else + y1++; + + } + else + if ( y1 > y2 ) { + + if ( x1 < x2 ) + goto_tile( &x1, &y1, 1 ); + else + if ( x1 > x2 ) + goto_tile( &x1, &y1, 5 ); + else + y1--; + + } + else { + + if ( x1 < x2 ) + x1++; + else + if ( x1 > x2 ) + x1--; + + } + + range++; + } + + return range; +} + +/* init random seed by using ftime */ +void set_random_seed() +{ + srand( (unsigned int)time( 0 ) ); +} + +/* get coordinates from string */ +void get_coord( char *str, int *x, int *y ) +{ + int i; + char *cur_arg = 0; + + *x = *y = 0; + + /* get position of comma */ + for ( i = 0; i < strlen( str ); i++ ) + if ( str[i] == ',' ) break; + if ( i == strlen( str ) ) { + fprintf( stderr, "get_coord: no comma found in pair of coordinates '%s'\n", str ); + return; /* no comma found */ + } + + /* y */ + cur_arg = str + i + 1; + if ( cur_arg[0] == 0 ) + fprintf( stderr, "get_coord: warning: y-coordinate is empty (maybe you left a space between x and comma?)\n" ); + *y = atoi( cur_arg ); + /* x */ + cur_arg = strdup( str ); cur_arg[i] = 0; + *x = atoi( cur_arg ); + FREE( cur_arg ); +} + +/* replace new_lines with spaces in text */ +void repl_new_lines( char *text ) +{ + int i; + for ( i = 0; i < strlen( text ); i++ ) + if ( text[i] < 32 ) + text[i] = 32; +} + +// convert a str into text ( for listbox ) // +// char width is the width of a line in characters // +Text* create_text( char *orig_str, int char_width ) +{ + int i, j; + char line[256]; /* a line should not exceed this length */ + int pos; + int last_space; + int new_line; + Text *text = 0; + char *str = 0; + + text = calloc ( 1, sizeof( Text ) ); + + // maybe orig_str is a constant expression; duplicate for safety // + str = strdup( orig_str ); + + // replace original new_lines with spaces // + repl_new_lines( str ); + + /* change some spaces to new_lines, so that the new text fits the wanted line_length */ + /* NOTE: '#' means new_line ! */ + // if character width is 0 it's just a single line // + if ( char_width > 0 ) { + pos = 0; + while ( pos < strlen( str ) ) { + last_space = 0; + new_line = 0; + i = 0; + while ( !new_line && i < char_width && i + pos < strlen( str ) ) { + switch ( str[pos + i] ) { + case '#': new_line = 1; + case 32: last_space = i; break; + } + i++; + } + if ( i + pos >= strlen( str ) ) break; + if ( last_space == 0 ) { + /* uhh... much to long, we'll have to cut a word into pieces ... */ + last_space = char_width / 2; + } + str[pos + last_space] = 10; + pos += last_space; + } + } + + /* count lines */ + if ( char_width > 0 ) { + for ( i = 0; i < strlen( str ); i++ ) + if ( str[i] == 10 ) + text->count++; + /* maybe one unfinished line */ + if ( str[strlen( str ) - 1] != 10 ) + text->count++; + } + else + text->count = 1; + + /* get mem */ + text->lines = calloc( text->count, sizeof( char* ) ); + + pos = 0; + /* get all lines */ + for ( j = 0; j < text->count; j++ ) { + i = 0; + while ( pos + i < strlen( str ) && str[pos + i] != 10 ) { + line[i] = str[i + pos]; + i++; + } + pos += i; pos++; + line[i] = 0; + text->lines[j] = strdup( line ); + } + + if ( text->count == 0 ) + fprintf( stderr, "conv_to_text: warning: line_count is 0\n" ); + + free( str ); + + return text; +} + +// delete text // +void delete_text( Text *text ) +{ + int i; + + if ( text == 0 ) return; +/* + if ( lines[1][1] == 'e' && lines[1][0] == '<' ) + printf( "hallo\n" ); + + printf( "--- deleting:\n" ); + for ( i = 0; i < line_count; i++ ) { + printf( lines[i] ); + printf( "\n" ); + }*/ + if ( text->lines ) { + for ( i = 0; i < text->count; i++ ) + if ( text->lines[i] ) + free( text->lines[i] ); + free( text->lines ); + } + free( text ); +} + +/* +==================================================================== +Get type and prefix from string: + type::prefix +Set both pointers 0 if failure. +==================================================================== +*/ +void get_type_and_prefix( char *arg, char **type, char **prefix ) +{ + char *first, *second; + + *type = *prefix = 0; + + first = strtok( arg, ":" ); + second = strtok( 0, ":" ); + + if ( first == 0 || second == 0 ) return; + + *type = strdup( first ); + *prefix = strdup( second ); +} + +/* +==================================================================== +Replace any existence of character old into new. +==================================================================== +*/ +void strrepl( char **str, char c_old, char c_new ) +{ + char *pos; + while ( ( pos = strchr( *str, c_old ) ) != 0 ) + pos[0] = c_new; +} + +/* +==================================================================== +Copy source to dest and at maximum limit chars. Terminate with 0. +==================================================================== +*/ +void strcpy_lt( char *dest, char *src, int limit ) +{ + int len = strlen( src ); + if ( len > limit ) { + strncpy( dest, src, limit ); + dest[limit] = 0; + } + else + strcpy( dest, src ); +} + +/* +==================================================================== +Parse a version string and return the major version and the current +update. +==================================================================== +*/ +void parse_version( char *string, int *version, int *update ) +{ + char *ptr = strchr( string, '.' ); + if ( ptr ) ptr[0] = 0; + *version = atoi( string ); + if ( ptr ) { + ptr++; + *update = atoi( ptr ); + if ( *update < 10 && ptr[0] != '0' ) + *update *= 10; /* allow stuff like 1.01 */ + ptr--; + ptr[0] = '.'; + } + else + *update = 0; +} + +/* allocate memory or exit with error if out of it */ +void *salloc( int num, int size ) +{ + void *ptr = calloc( num, size ); + if ( ptr == 0 ) { + printf( "out of memory\n" ); + exit(1); + } + return ptr; +} + +/* print contents of pointer raw */ +void print_raw( int len, char *buf ) +{ + int i; + for ( i = 0; i < len; i++ ) + printf( "%02x ", (unsigned char) buf[i] ); + printf( "\n" ); +} + +/* check whether a string does only contain letters, digits or + * underscores */ +int is_alphanum( char *str ) +{ + int i; + for ( i = 0; i< strlen(str); i++ ) + if ( !((str[i]>=48&&str[i]<=57)||(str[i]>=65&&str[i]<=90)||(str[i]>=97&&str[i]<=122)||str[i]=='_') ) + return 0; + return 1; +} diff --git a/project/jni/application/lbreakout2/common/tools.h b/project/jni/application/lbreakout2/common/tools.h new file mode 100644 index 000000000..1ebd5c646 --- /dev/null +++ b/project/jni/application/lbreakout2/common/tools.h @@ -0,0 +1,129 @@ +/*************************************************************************** + tools.h - description + ------------------- + begin : Fri Jan 19 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __TOOLS_H +#define __TOOLS_H + +/* this file contains some useful tools */ + +/* free with a check */ +#define FREE( ptr ) { if ( ptr ) free( ptr ); ptr = 0; } + +/* check if a serious of flags is set in source */ +#define CHECK_FLAGS( source, flags ) ( source & (flags) ) + +/* return random value between ( and including ) upper,lower limit */ +#define RANDOM( lower, upper ) ( ( rand() % ( ( upper ) - ( lower ) + 1 ) ) + ( lower ) ) + +/* compute distance of two vectors */ +#define VEC_DIST( vec1, vec2 ) ( sqrt( ( vec1.x - vec2.x ) * ( vec1.x - vec2.x ) + ( vec1.y - vec2.y ) * ( vec1.y - vec2.y ) ) ) + +/* return true if strings are fully equal */ +#define STRCMP( str1, str2 ) ( ( strlen( str1 ) == strlen( str2 ) ) && !strncmp( str1, str2, strlen( str1 ) ) ) + +/* return minimum */ +#define MINIMUM( a, b ) ((ab)?a:b) + +/* square value */ +#define SQUARE( x ) ((x)*(x)) + +/* compares to strings and returns true if their first strlen(str1) chars are equal */ +int strequal( char *str1, char *str2 ); + +/* delete lines */ +void delete_lines( char **lines, int line_number ); + +/* delay struct */ +typedef struct { + int limit; + int cur; +} Delay; + +/* set delay to ms milliseconds */ +void delay_set( Delay *delay, int ms ); + +/* reset delay ( cur = 0 )*/ +void delay_reset( Delay *delay ); + +/* check if time's out ( add ms milliseconds )and reset */ +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 ); + +/* init random seed by using ftime */ +void set_random_seed(); + +/* get coordintaes from string */ +void get_coord( char *str, int *x, int *y ); + +// text structure // +typedef struct { + char **lines; + int count; +} Text; +// convert a str into text ( for listbox ) // +Text* create_text( char *str, int char_width ); +// delete text // +void delete_text( Text *text ); + +/* +==================================================================== +Get type and prefix from string: + type::prefix +Set both pointers 0 if failure. +==================================================================== +*/ +void get_type_and_prefix( char *arg, char **ext, char **prefix ); + +/* +==================================================================== +Replace any existence of character old into new. +==================================================================== +*/ +void strrepl( char **str, char c_old, char c_new ); + +/* +==================================================================== +Copy source to dest and at maximum limit chars. Terminate with 0. +==================================================================== +*/ +void strcpy_lt( char *dest, char *src, int limit ); + +/* +==================================================================== +Parse a version string and return the major version and the current +update. +==================================================================== +*/ +void parse_version( char *string, int *version, int *update ); + + +/* allocate memory or exit with error if out of it */ +void *salloc( int num, int size ); + +/* print contents of pointer raw */ +void print_raw( int len, char *buf ); + +/* check whether a string does only contain letters, digits or + * underscores */ +int is_alphanum( char *str ); + +#endif diff --git a/project/jni/application/lbreakout2/config.guess b/project/jni/application/lbreakout2/config.guess new file mode 100755 index 000000000..d949270a5 --- /dev/null +++ b/project/jni/application/lbreakout2/config.guess @@ -0,0 +1,1460 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# 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 +# 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. + +# 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 +# exits with 0. Otherwise, it exits with 1. +# +# The plan is that this can be called by configure scripts if you +# don't specify an explicit build system type. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +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 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +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. + +# 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 ; + 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 ;' + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if (test -f /.attbin/uname) >/dev/null 2>&1 ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +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 + # 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. + # + # 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_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 + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # The OS release + # 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:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *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. + 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? + # Should we change UNAME_MACHINE based on the output of uname instead + # of the specific Alpha model? + echo alpha-pc-interix + exit 0 ;; + 21064:Windows_NT:50:3) + echo alpha-dec-winnt3.5 + exit 0 ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit 0;; + *:[Aa]miga[Oo][Ss]:*:*) + echo ${UNAME_MACHINE}-unknown-amigaos + exit 0 ;; + *:[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} + exit 0;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit 0;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit 0 ;; + 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 ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + i86pc:SunOS:5.*:*) + echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` + exit 0 ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` + exit 0 ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos${UNAME_RELEASE} + exit 0 ;; + sun*:*:4.2BSD:*) + 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) + echo m68k-sun-sunos${UNAME_RELEASE} + ;; + sun4) + echo sparc-sun-sunos${UNAME_RELEASE} + ;; + esac + exit 0 ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos${UNAME_RELEASE} + exit 0 ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint${UNAME_RELEASE} + exit 0 ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint${UNAME_RELEASE} + exit 0 ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint${UNAME_RELEASE} + exit 0 ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint${UNAME_RELEASE} + exit 0 ;; + m68k:machten:*:*) + echo m68k-apple-machten${UNAME_RELEASE} + exit 0 ;; + powerpc:machten:*:*) + echo powerpc-apple-machten${UNAME_RELEASE} + exit 0 ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit 0 ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix${UNAME_RELEASE} + exit 0 ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix${UNAME_RELEASE} + exit 0 ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c +#ifdef __cplusplus +#include /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $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 + exit 0 ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit 0 ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit 0 ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit 0 ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] + then + if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ + [ ${TARGET_BINARY_INTERFACE}x = x ] + then + echo m88k-dg-dgux${UNAME_RELEASE} + else + echo m88k-dg-dguxbcs${UNAME_RELEASE} + fi + else + echo i586-dg-dgux${UNAME_RELEASE} + fi + exit 0 ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit 0 ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit 0 ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit 0 ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit 0 ;; + *:IRIX*:*:*) + echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` + exit 0 ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit 0 ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + $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 + else + echo rs6000-ibm-aix3.2 + fi + exit 0 ;; + *:AIX:*:[45]) + 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 + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} + fi + echo ${IBM_ARCH}-ibm-aix${IBM_REV} + exit 0 ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit 0 ;; + ibmrt:4.4BSD:*|romp-ibm:BSD:*) + echo romp-ibm-bsd4.4 + exit 0 ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to + exit 0 ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit 0 ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit 0 ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit 0 ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit 0 ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + case "${UNAME_MACHINE}" in + 9000/31? ) HP_ARCH=m68000 ;; + 9000/[34]?? ) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + 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 + 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + 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 + if [ "${HP_ARCH}" = "" ]; then + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + + #define _HPUX_SOURCE + #include + #include + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (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:*:*) + HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux${HPUX_REV} + exit 0 ;; + 3050*:HI-UX:*:*) + eval $set_cc_for_build + sed 's/^ //' << EOF >$dummy.c + #include + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $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:*:* ) + echo hppa1.1-hp-bsd + exit 0 ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit 0 ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit 0 ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) + echo hppa1.1-hp-osf + exit 0 ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit 0 ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo ${UNAME_MACHINE}-unknown-osf1mk + else + echo ${UNAME_MACHINE}-unknown-osf1 + fi + exit 0 ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit 0 ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit 0 ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit 0 ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit 0 ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit 0 ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*[A-Z]90:*:*:*) + echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit 0 ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos${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 ;; + *: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 ;; + 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} + exit 0 ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:BSD/OS:*:*) + echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} + exit 0 ;; + *:FreeBSD:*:*) + echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` + exit 0 ;; + i*:CYGWIN*:*) + echo ${UNAME_MACHINE}-pc-cygwin + exit 0 ;; + i*:MINGW*:*) + echo ${UNAME_MACHINE}-pc-mingw32 + 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 i586-pc-interix + exit 0 ;; + i*:UWIN*:*) + echo ${UNAME_MACHINE}-pc-uwin + exit 0 ;; + p*:CYGWIN*:*) + echo powerpcle-unknown-cygwin + exit 0 ;; + prep*:SunOS:5.*:*) + 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}-${VENDOR}-linux + exit 0 ;; + cris:Linux:*:*) + echo cris-axis-linux + exit 0 ;; + ia64:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR}-linux + exit 0 ;; + m32r*:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR}-linux + exit 0 ;; + m68*:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR}-linux + exit 0 ;; + mips:Linux:*:*) + 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-${VENDOR}-linux + exit 0 ;; + ppc64:Linux:*:*) + echo powerpc64-${VENDOR}-linux + exit 0 ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + 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}-${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-${VENDOR}-linux ;; + PA8*) echo hppa2.0-${VENDOR}-linux ;; + *) echo hppa-${VENDOR}-linux ;; + esac + exit 0 ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + 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}-${VENDOR}-linux + exit 0 ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo ${UNAME_MACHINE}-${VENDOR}-linux + exit 0 ;; + x86_64:Linux:*:*) + 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. + # 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: *// + s/ .*// + p'` + case "$ld_supported_targets" in + elf32-i386) + TENTATIVE="${UNAME_MACHINE}-${VENDOR}-linux" + ;; + a.out-i386-linux) + echo "${UNAME_MACHINE}-${VENDOR}-linuxaout" + exit 0 ;; + coff-i386) + echo "${UNAME_MACHINE}-${VENDOR}-linuxcoff" + exit 0 ;; + "") + # Either a pre-BFD a.out linker (linuxoldld) or + # one that does not give us useful --help. + echo "${UNAME_MACHINE}-${VENDOR}-linuxoldld" + exit 0 ;; + esac + # Determine whether the default compiler is a.out or elf + eval $set_cc_for_build + 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 + 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*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit 0 ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # 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 + echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} + else + echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} + fi + exit 0 ;; + i*86:*:5:[78]*) + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} + exit 0 ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then + 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|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/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 ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i386. + echo i386-pc-msdosdjgpp + exit 0 ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit 0 ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit 0 ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 + fi + exit 0 ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit 0 ;; + 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[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` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4.3${OS_REL} && exit 0 + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && echo i486-ncr-sysv4 && exit 0 ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit 0 ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) + echo powerpc-unknown-lynxos${UNAME_RELEASE} + exit 0 ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv${UNAME_RELEASE} + exit 0 ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit 0 ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo ${UNAME_MACHINE}-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit 0 ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says + echo i586-unisys-sysv4 + exit 0 ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes . + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit 0 ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit 0 ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit 0 ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux${UNAME_RELEASE} + exit 0 ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit 0 ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv${UNAME_RELEASE} + else + echo mips-unknown-sysv${UNAME_RELEASE} + fi + exit 0 ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit 0 ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit 0 ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit 0 ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux${UNAME_RELEASE} + exit 0 ;; + 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 ;; + *:Rhapsody:*:*) + echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} + exit 0 ;; + *:Darwin:*:*) + 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]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = "x86"; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} + exit 0 ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit 0 ;; + NSR-?:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk${UNAME_RELEASE} + exit 0 ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit 0 ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit 0 ;; + DS/*:UNIX_System_V:*:*) + echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} + exit 0 ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + if test "$cputype" = "386"; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo ${UNAME_MACHINE}-unknown-plan9 + exit 0 ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit 0 ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit 0 ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit 0 ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit 0 ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit 0 ;; + *:ITS:*:*) + echo pdp10-unknown-its + 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 +#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 + +eval $set_cc_for_build +cat >$dummy.c < +# include +#endif +main () +{ +#if defined (sony) +#if defined (MIPSEB) + /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, + I don't know.... */ + printf ("mips-sony-bsd\n"); exit (0); +#else +#include + printf ("m68k-sony-newsos%s\n", +#ifdef NEWSOS4 + "4" +#else + "" +#endif + ); exit (0); +#endif +#endif + +#if defined (__arm) && defined (__acorn) && defined (__unix) + printf ("arm-acorn-riscix"); exit (0); +#endif + +#if defined (hp300) && !defined (hpux) + printf ("m68k-hp-bsd\n"); exit (0); +#endif + +#if defined (NeXT) +#if !defined (__ARCHITECTURE__) +#define __ARCHITECTURE__ "m68k" +#endif + int version; + version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; + if (version < 4) + printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); + else + printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); + exit (0); +#endif + +#if defined (MULTIMAX) || defined (n16) +#if defined (UMAXV) + printf ("ns32k-encore-sysv\n"); exit (0); +#else +#if defined (CMU) + printf ("ns32k-encore-mach\n"); exit (0); +#else + printf ("ns32k-encore-bsd\n"); exit (0); +#endif +#endif +#endif + +#if defined (__386BSD__) + printf ("i386-pc-bsd\n"); exit (0); +#endif + +#if defined (sequent) +#if defined (i386) + printf ("i386-sequent-dynix\n"); exit (0); +#endif +#if defined (ns32000) + printf ("ns32k-sequent-dynix\n"); exit (0); +#endif +#endif + +#if defined (_SEQUENT_) + struct utsname un; + + uname(&un); + + if (strncmp(un.version, "V2", 2) == 0) { + printf ("i386-sequent-ptx2\n"); exit (0); + } + if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ + printf ("i386-sequent-ptx1\n"); exit (0); + } + printf ("i386-sequent-ptx\n"); exit (0); + +#endif + +#if defined (vax) +# if !defined (ultrix) +# include +# if defined (BSD) +# if BSD == 43 + printf ("vax-dec-bsd4.3\n"); exit (0); +# else +# if BSD == 199006 + printf ("vax-dec-bsd4.3reno\n"); exit (0); +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# endif +# else + printf ("vax-dec-bsd\n"); exit (0); +# endif +# else + printf ("vax-dec-ultrix\n"); exit (0); +# endif +#endif + +#if defined (alliant) && defined (i860) + printf ("i860-alliant-bsd\n"); exit (0); +#endif + + exit (1); +} +EOF + +$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 + +# Apollos put the system type in the environment. + +test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } + +# Convex versions that predate uname can use getsysinfo(1) + +if [ -x /usr/convex/getsysinfo ] +then + case `getsysinfo -f cpu_type` in + c1*) + echo c1-convex-bsd + exit 0 ;; + c2*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit 0 ;; + c34*) + echo c34-convex-bsd + exit 0 ;; + c38*) + echo c38-convex-bsd + exit 0 ;; + c4*) + echo c4-convex-bsd + exit 0 ;; + esac +fi + +cat >&2 < in order to provide the needed +information to handle your system. + +config.guess timestamp = $timestamp + +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` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = ${UNAME_MACHINE} +UNAME_RELEASE = ${UNAME_RELEASE} +UNAME_SYSTEM = ${UNAME_SYSTEM} +UNAME_VERSION = ${UNAME_VERSION} +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/project/jni/application/lbreakout2/config.h b/project/jni/application/lbreakout2/config.h new file mode 100644 index 000000000..4b3a2fa70 --- /dev/null +++ b/project/jni/application/lbreakout2/config.h @@ -0,0 +1,325 @@ +/* config.h. Generated from config.h.in by configure. */ +/* 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. */ +#define ENABLE_NLS 1 + +/* Define to 1 if you have `alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#define HAVE_ALLOCA_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARGZ_H */ + +/* Define to 1 if you have the `asprintf' function. */ +#define HAVE_ASPRINTF 1 + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#define HAVE_DCGETTEXT 1 + +/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you + don't. */ +#define HAVE_DECL_FEOF_UNLOCKED 0 + +/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if + you don't. */ +#define HAVE_DECL_FGETS_UNLOCKED 0 + +/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you + don't. */ +#define HAVE_DECL_GETC_UNLOCKED 1 + +/* Define to 1 if you have the declaration of `_snprintf', and to 0 if you + don't. */ +#define HAVE_DECL__SNPRINTF 0 + +/* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you + don't. */ +#define HAVE_DECL__SNWPRINTF 0 + +/* Define to 1 if you have the `fwprintf' function. */ +#define HAVE_FWPRINTF 1 + +/* Define to 1 if you have the `getcwd' function. */ +#define HAVE_GETCWD 1 + +/* Define to 1 if you have the `getegid' function. */ +#define HAVE_GETEGID 1 + +/* Define to 1 if you have the `geteuid' function. */ +#define HAVE_GETEUID 1 + +/* Define to 1 if you have the `getgid' function. */ +#define HAVE_GETGID 1 + +/* Define to 1 if you have the `getpagesize' function. */ +/* #undef HAVE_GETPAGESIZE */ + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#define HAVE_GETTEXT 1 + +/* Define to 1 if you have the `getuid' function. */ +#define HAVE_GETUID 1 + +/* Define if you have the iconv() function. */ +/* #undef HAVE_ICONV */ + +/* Define if you have the 'intmax_t' type in or . */ +#define HAVE_INTMAX_T 1 + +/* Define if exists and doesn't clash with . */ +#define HAVE_INTTYPES_H 1 + +/* Define if exists, doesn't clash with , and + declares uintmax_t. */ +#define HAVE_INTTYPES_H_WITH_UINTMAX 1 + +/* Define if you have and nl_langinfo(CODESET). */ +/* #undef HAVE_LANGINFO_CODESET */ + +/* Define if your file defines LC_MESSAGES. */ +#define HAVE_LC_MESSAGES 1 + +/* Define to 1 if you have the `m' library (-lm). */ +#define HAVE_LIBM 1 + +/* Define to 1 if you have the `png' library (-lpng). */ +#define HAVE_LIBPNG 1 + +/* Define to 1 if you have the `z' library (-lz). */ +#define HAVE_LIBZ 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define if you have the 'long double' type. */ +#define HAVE_LONG_DOUBLE 1 + +/* Define if you have the 'long long' type. */ +#define HAVE_LONG_LONG 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* 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. */ +#define HAVE_MUNMAP 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NL_TYPES_H */ + +/* Define if your printf() function supports format strings with positions. */ +#define HAVE_POSIX_PRINTF 1 + +/* Define to 1 if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define to 1 if you have the `setenv' function. */ +#define HAVE_SETENV 1 + +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDDEF_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + +/* Define if exists, doesn't clash with , and declares + uintmax_t. */ +#define HAVE_STDINT_H_WITH_UINTMAX 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `stpcpy' function. */ +/* #undef HAVE_STPCPY */ + +/* Define to 1 if you have the `strcasecmp' function. */ +#define HAVE_STRCASECMP 1 + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strtoul' function. */ +#define HAVE_STRTOUL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the `tsearch' function. */ +#define HAVE_TSEARCH 1 + +/* Define if you have the 'uintmax_t' type in or . */ +#define HAVE_UINTMAX_T 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the 'unsigned long long' type. */ +#define HAVE_UNSIGNED_LONG_LONG 1 + +/* Define if you have the 'wchar_t' type. */ +#define HAVE_WCHAR_T 1 + +/* Define to 1 if you have the `wcslen' function. */ +#define HAVE_WCSLEN 1 + +/* Define if you have the 'wint_t' type. */ +#define HAVE_WINT_T 1 + +/* 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. */ +#define INTDIV0_RAISES_SIGFPE 0 + +/* Name of package */ +#define PACKAGE "lbreakout2" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" + +/* Define to the version of this package. */ +#define 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. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "2.6.1" + +/* 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 +# define _GNU_SOURCE 1 +#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__ +# define __EXTENSIONS__ 1 +#endif +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#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/project/jni/application/lbreakout2/config.h.in b/project/jni/application/lbreakout2/config.h.in new file mode 100644 index 000000000..4845a4dfd --- /dev/null +++ b/project/jni/application/lbreakout2/config.h.in @@ -0,0 +1,324 @@ +/* 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 to 1 if you have the `png' library (-lpng). */ +#undef HAVE_LIBPNG + +/* 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/project/jni/application/lbreakout2/config.rpath b/project/jni/application/lbreakout2/config.rpath new file mode 100755 index 000000000..4db13e50f --- /dev/null +++ b/project/jni/application/lbreakout2/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=/' </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` +" + +# Files that config.status was made for. +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" +config_headers=" config.h" +config_commands=" depfiles default-1" + +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 ." + +ac_cs_version="\ +config.status +configured by ./configure, generated by GNU Autoconf 2.61, + with options \"'--host=arm-eabi' '--disable-install' '--enable-sdl-net' 'LIBS=-lintl' 'host_alias=arm-eabi' 'CC=/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc' 'CFLAGS=-I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include ' 'LDFLAGS=-nostdlib -Wl,-soname,libapplication.so -Wl,-shared,-Bsymbolic -Wl,--whole-archive -Wl,--no-whole-archive /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libstlport.a /home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/libgcc.a /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_Mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_net.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libintl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_net.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libc.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libstdc++.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libm.so -Wl,--no-undefined -Wl,-z,noexecstack -L/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -lGLESv1_CM -ldl -llog -lz -Wl,-rpath-link=/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -L/home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi' 'CPP=/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-cpp -I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include '\" + +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='/home/pelya/src/endless_space/SDL-android/project/jni/application/src' +srcdir='.' +INSTALL='/usr/bin/install -c' +# 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 + +if $ac_cs_recheck; then + echo "running CONFIG_SHELL=/bin/bash /bin/bash ./configure " '--host=arm-eabi' '--disable-install' '--enable-sdl-net' 'LIBS=-lintl' 'host_alias=arm-eabi' 'CC=/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc' 'CFLAGS=-I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include ' 'LDFLAGS=-nostdlib -Wl,-soname,libapplication.so -Wl,-shared,-Bsymbolic -Wl,--whole-archive -Wl,--no-whole-archive /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libstlport.a /home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/libgcc.a /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_Mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_net.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libintl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_net.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libc.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libstdc++.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libm.so -Wl,--no-undefined -Wl,-z,noexecstack -L/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -lGLESv1_CM -ldl -llog -lz -Wl,-rpath-link=/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -L/home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi' 'CPP=/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-cpp -I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include ' $ac_configure_extra_args " --no-create --no-recursion" >&6 + CONFIG_SHELL=/bin/bash + export CONFIG_SHELL + exec /bin/bash "./configure" '--host=arm-eabi' '--disable-install' '--enable-sdl-net' 'LIBS=-lintl' 'host_alias=arm-eabi' 'CC=/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc' 'CFLAGS=-I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include ' 'LDFLAGS=-nostdlib -Wl,-soname,libapplication.so -Wl,-shared,-Bsymbolic -Wl,--whole-archive -Wl,--no-whole-archive /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libstlport.a /home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/libgcc.a /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_Mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_net.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libintl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_net.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libc.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libstdc++.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libm.so -Wl,--no-undefined -Wl,-z,noexecstack -L/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -lGLESv1_CM -ldl -llog -lz -Wl,-rpath-link=/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -L/home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi' 'CPP=/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-cpp -I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include ' $ac_configure_extra_args --no-create --no-recursion +fi + +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + echo "$ac_log" +} >&5 + +# +# INIT-COMMANDS +# +AMDEP_TRUE="" 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''=""' + # Capture the value of LINGUAS because we need it to compute CATALOGS. + LINGUAS="%UNSET%" + + + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + 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 + + +# 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 + +cat >"$tmp/subs-1.sed" <<\CEOF +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@SHELL@,|#_!!_#|/bin/bash,g +s,@PATH_SEPARATOR@,|#_!!_#|:,g +s,@PACKAGE_NAME@,|#_!!_#|,g +s,@PACKAGE_TARNAME@,|#_!!_#|,g +s,@PACKAGE_VERSION@,|#_!!_#|,g +s,@PACKAGE_STRING@,|#_!!_#|,g +s,@PACKAGE_BUGREPORT@,|#_!!_#|,g +s,@exec_prefix@,|#_!!_#|${prefix},g +s,@prefix@,|#_!!_#|/usr/local,g +s,@program_transform_name@,|#_!!_#|s\,x\,x\,,g +s,@bindir@,|#_!!_#|${exec_prefix}/bin,g +s,@sbindir@,|#_!!_#|${exec_prefix}/sbin,g +s,@libexecdir@,|#_!!_#|${exec_prefix}/libexec,g +s,@datarootdir@,|#_!!_#|${prefix}/share,g +s,@datadir@,|#_!!_#|${datarootdir},g +s,@sysconfdir@,|#_!!_#|${prefix}/etc,g +s,@sharedstatedir@,|#_!!_#|${prefix}/com,g +s,@localstatedir@,|#_!!_#|${prefix}/var,g +s,@includedir@,|#_!!_#|${prefix}/include,g +s,@oldincludedir@,|#_!!_#|/usr/include,g +s,@docdir@,|#_!!_#|${datarootdir}/doc/${PACKAGE},g +s,@infodir@,|#_!!_#|${datarootdir}/info,g +s,@htmldir@,|#_!!_#|${docdir},g +s,@dvidir@,|#_!!_#|${docdir},g +s,@pdfdir@,|#_!!_#|${docdir},g +s,@psdir@,|#_!!_#|${docdir},g +s,@libdir@,|#_!!_#|${exec_prefix}/lib,g +s,@localedir@,|#_!!_#|${datarootdir}/locale,g +s,@mandir@,|#_!!_#|${datarootdir}/man,g +s,@DEFS@,|#_!!_#|-DHAVE_CONFIG_H,g +s,@ECHO_C@,|#_!!_#|,g +s,@ECHO_N@,|#_!!_#|-n,g +s,@ECHO_T@,|#_!!_#|,g +s,@LIBS@,|#_!!_#|-lpng -lz -lm -lintl -L/home/pelya/src/endless_space/SDL-android/project/jni/application/../../bin/ndk/local/armeabi -lsdl,g +s,@build_alias@,|#_!!_#|,g +s,@host_alias@,|#_!!_#|arm-eabi,g +s,@target_alias@,|#_!!_#|,g +s,@build@,|#_!!_#|x86_64-unknown-linux,g +s,@build_cpu@,|#_!!_#|x86_64,g +s,@build_vendor@,|#_!!_#|unknown,g +s,@build_os@,|#_!!_#|linux,g +s,@host@,|#_!!_#|arm-unknown-eabi,g +s,@host_cpu@,|#_!!_#|arm,g +s,@host_vendor@,|#_!!_#|unknown,g +s,@host_os@,|#_!!_#|eabi,g +s,@target@,|#_!!_#|arm-unknown-eabi,g +s,@target_cpu@,|#_!!_#|arm,g +s,@target_vendor@,|#_!!_#|unknown,g +s,@target_os@,|#_!!_#|eabi,g +s,@CC@,|#_!!_#|/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc,g +s,@CFLAGS@,|#_!!_#|-I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa\,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -D_GNU_SOURCE=1 -D_REENTRANT,g +s,@LDFLAGS@,|#_!!_#|-nostdlib -Wl\,-soname\,libapplication.so -Wl\,-shared\,-Bsymbolic -Wl\,--whole-archive -Wl\,--no-whole-archive /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libstlport.a /home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/libgcc.a /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_Mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libSDL_net.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libintl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_image.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_mixer.so /home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi/libsdl_net.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libc.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libstdc++.so /home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib/libm.so -Wl\,--no-undefined -Wl\,-z\,noexecstack -L/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -lGLESv1_CM -ldl -llog -lz -Wl\,-rpath-link=/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -L/home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi,g +s,@CPPFLAGS@,|#_!!_#|,g +s,@ac_ct_CC@,|#_!!_#|,g +s,@EXEEXT@,|#_!!_#|,g +s,@OBJEXT@,|#_!!_#|o,g +s,@CPP@,|#_!!_#|/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-cpp -I/home/pelya/src/endless_space/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/include -fpic -mthumb-interwork -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -DANDROID -Wno-psabi -march=armv5te -mtune=xscale -msoft-float -fno-exceptions -fno-rtti -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wa\,--noexecstack -O2 -DNDEBUG -g -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../stlport/stlport -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_mixer -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_image -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_ttf -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_net -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_blitpool -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl_gfx -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../png -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../jpeg -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../intl -I/home/pelya/src/endless_space/SDL-android/project/jni/application/../freetype/include ,g +s,@GREP@,|#_!!_#|/bin/grep,g +s,@EGREP@,|#_!!_#|/bin/grep -E,g +s,@INSTALL_PROGRAM@,|#_!!_#|${INSTALL},g +s,@INSTALL_SCRIPT@,|#_!!_#|${INSTALL},g +s,@INSTALL_DATA@,|#_!!_#|${INSTALL} -m 644,g +s,@CYGPATH_W@,|#_!!_#|echo,g +s,@PACKAGE@,|#_!!_#|lbreakout2,g +s,@VERSION@,|#_!!_#|2.6.1,g +s,@ACLOCAL@,|#_!!_#|${SHELL} /home/pelya/src/endless_space/SDL-android/project/jni/application/src/missing --run aclocal-1.9,g +s,@AUTOCONF@,|#_!!_#|${SHELL} /home/pelya/src/endless_space/SDL-android/project/jni/application/src/missing --run autoconf,g +s,@AUTOMAKE@,|#_!!_#|${SHELL} /home/pelya/src/endless_space/SDL-android/project/jni/application/src/missing --run automake-1.9,g +s,@AUTOHEADER@,|#_!!_#|${SHELL} /home/pelya/src/endless_space/SDL-android/project/jni/application/src/missing --run autoheader,g +s,@MAKEINFO@,|#_!!_#|${SHELL} /home/pelya/src/endless_space/SDL-android/project/jni/application/src/missing --run makeinfo,g +s,@install_sh@,|#_!!_#|/home/pelya/src/endless_space/SDL-android/project/jni/application/src/install-sh,g +s,@STRIP@,|#_!!_#|/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-strip,g +s,@INSTALL_STRIP_PROGRAM@,|#_!!_#|${SHELL} $(install_sh) -c -s,g +s,@mkdir_p@,|#_!!_#|mkdir -p --,g +s,@AWK@,|#_!!_#|gawk,g +s,@SET_MAKE@,|#_!!_#|,g +s,@am__leading_dot@,|#_!!_#|.,g +s,@AMTAR@,|#_!!_#|${SHELL} /home/pelya/src/endless_space/SDL-android/project/jni/application/src/missing --run tar,g +s,@am__tar@,|#_!!_#|${AMTAR} chof - "$$tardir",g +s,@am__untar@,|#_!!_#|${AMTAR} xf -,g +s,@DEPDIR@,|#_!!_#|.deps,g +s,@am__include@,|#_!!_#|include,g +s,@am__quote@,|#_!!_#|,g +s,@AMDEP_TRUE@,|#_!!_#|,g +s,@AMDEP_FALSE@,|#_!!_#|#,g +s,@AMDEPBACKSLASH@,|#_!!_#|\\,g +s,@CCDEPMODE@,|#_!!_#|depmode=gcc3,g +s,@am__fastdepCC_TRUE@,|#_!!_#|,g +s,@am__fastdepCC_FALSE@,|#_!!_#|#,g +s,@MKINSTALLDIRS@,|#_!!_#|$(top_builddir)/./mkinstalldirs,g +s,@USE_NLS@,|#_!!_#|yes,g +s,@MSGFMT@,|#_!!_#|/usr/bin/msgfmt,g +s,@GMSGFMT@,|#_!!_#|/usr/bin/msgfmt,g +s,@XGETTEXT@,|#_!!_#|/usr/bin/xgettext,g +s,@MSGMERGE@,|#_!!_#|/usr/bin/msgmerge,g +s,@RANLIB@,|#_!!_#|/home/pelya/src/endless_space/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-ranlib,g +s,@ALLOCA@,|#_!!_#|,g +CEOF +cat >"$tmp/subs-2.sed" <<\CEOF +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end +s,@GLIBC21@,|#_!!_#|no,g +s,@HAVE_POSIX_PRINTF@,|#_!!_#|1,g +s,@HAVE_ASPRINTF@,|#_!!_#|1,g +s,@HAVE_SNPRINTF@,|#_!!_#|1,g +s,@HAVE_WPRINTF@,|#_!!_#|0,g +s,@LIBICONV@,|#_!!_#|,g +s,@LTLIBICONV@,|#_!!_#|,g +s,@INTLBISON@,|#_!!_#|bison,g +s,@BUILD_INCLUDED_LIBINTL@,|#_!!_#|no,g +s,@USE_INCLUDED_LIBINTL@,|#_!!_#|no,g +s,@CATOBJEXT@,|#_!!_#|.gmo,g +s,@DATADIRNAME@,|#_!!_#|share,g +s,@INSTOBJEXT@,|#_!!_#|.mo,g +s,@GENCAT@,|#_!!_#|gencat,g +s,@INTLOBJS@,|#_!!_#|,g +s,@INTL_LIBTOOL_SUFFIX_PREFIX@,|#_!!_#|,g +s,@INTLLIBS@,|#_!!_#|-lintl,g +s,@LIBINTL@,|#_!!_#|-lintl,g +s,@LTLIBINTL@,|#_!!_#|-L/home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi -lintl -R/home/pelya/src/endless_space/SDL-android/project/jni/application/../../obj/local/armeabi,g +s,@POSUB@,|#_!!_#|po,g +s,@SDL_CONFIG@,|#_!!_#|/home/pelya/src/endless_space/SDL-android/project/jni/application/sdl-config,g +s,@SDL_CFLAGS@,|#_!!_#|-I/home/pelya/src/endless_space/SDL-android/project/jni/application/../sdl/include -D_GNU_SOURCE=1 -D_REENTRANT,g +s,@SDL_LIBS@,|#_!!_#|-L/home/pelya/src/endless_space/SDL-android/project/jni/application/../../bin/ndk/local/armeabi -lsdl,g +s,@warp_flag@,|#_!!_#|,g +s,@audio_flag@,|#_!!_#|-DAUDIO_ENABLED,g +s,@mixer_flag@,|#_!!_#|-lSDL_mixer,g +s,@doc_dir@,|#_!!_#|/usr/doc,g +s,@network_flag@,|#_!!_#|-DNETWORK_ENABLED,g +s,@sdlnet_flag@,|#_!!_#|-DSDL_NET_ENABLED,g +s,@sdlnet_lib_flag@,|#_!!_#|-lSDL_net,g +s,@netdebug_flag@,|#_!!_#|,g +s,@inst_flag@,|#_!!_#|-DSRC_DIR=\\".\\",g +s,@hi_inst_flag@,|#_!!_#|-DHI_DIR=\\".\\",g +s,@inst_dir@,|#_!!_#|.,g +s,@hi_dir@,|#_!!_#|.,g +s,@locdir_flag@,|#_!!_#|-DLOCALEDIR=\\"../dict\\",g +s,@win32_deps@,|#_!!_#|,g +s,@arch_flag@,|#_!!_#|,g +s,@win32_inst_script@,|#_!!_#|,g +s,@appname@,|#_!!_#|LBreakout2,g +s,@LIBOBJS@,|#_!!_#|,g +s,@LTLIBOBJS@,|#_!!_#|,g +:end +s/|#_!!_#|//g +CEOF +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 + 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 + 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 + + 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 + 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 +# 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;} + ac_datarootdir_hack=' + s&@datadir@&${datarootdir}&g + s&@docdir@&${datarootdir}/doc/${PACKAGE}&g + s&@infodir@&${datarootdir}/info&g + s&@localedir@&${datarootdir}/locale&g + s&@mandir@&${datarootdir}/man&g + s&\${datarootdir}&${prefix}/share&g' ;; +esac + sed "/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +} + +: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 + # + # First, check the format of the line: + cat >"$tmp/defines.sed" <<\CEOF +/^[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def +/^[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def +b +:def +s/$/ / +s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_NAME\)[ (].*,\1define\2 "" , +s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_TARNAME\)[ (].*,\1define\2 "" , +s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_VERSION\)[ (].*,\1define\2 "" , +s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_STRING\)[ (].*,\1define\2 "" , +s,^\([ #]*\)[^ ]*\([ ]*PACKAGE_BUGREPORT\)[ (].*,\1define\2 "" , +s,^\([ #]*\)[^ ]*\([ ]*_GNU_SOURCE\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*STDC_HEADERS\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_TYPES_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_STAT_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRING_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_MEMORY_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRINGS_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*__EXTENSIONS__\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*_POSIX_PTHREAD_SEMANTICS\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*_TANDEM_SOURCE\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*PACKAGE\)[ (].*,\1define\2 "lbreakout2" , +s,^\([ #]*\)[^ ]*\([ ]*VERSION\)[ (].*,\1define\2 "2.6.1" , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LONG_LONG\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LONG_DOUBLE\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_WCHAR_T\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_WINT_T\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H_WITH_UINTMAX\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H_WITH_UINTMAX\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTMAX_T\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_POSIX_PRINTF\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_ALLOCA_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_ALLOCA\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*INTDIV0_RAISES_SIGFPE\)[ (].*,\1define\2 0 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNSIGNED_LONG_LONG\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_UINTMAX_T\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_INTTYPES_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDINT_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LIMITS_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LOCALE_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_MALLOC_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDDEF_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STDLIB_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRING_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_UNISTD_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_SYS_PARAM_H\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_ASPRINTF\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_FWPRINTF\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_GETCWD\)[ (].*,\1define\2 1 , +CEOF + sed -f "$tmp/defines.sed" $ac_file_inputs >"$tmp/out1" + # First, check the format of the line: + cat >"$tmp/defines.sed" <<\CEOF +/^[ ]*#[ ]*undef[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[ ]*$/b def +/^[ ]*#[ ]*define[ ][ ]*[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*[( ]/b def +b +:def +s,^\([ #]*\)[^ ]*\([ ]*HAVE_GETEGID\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_GETEUID\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_GETGID\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_GETUID\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_MUNMAP\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_PUTENV\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_SETENV\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_SETLOCALE\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_SNPRINTF\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRCASECMP\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRDUP\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_STRTOUL\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_TSEARCH\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_WCSLEN\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_DECL__SNPRINTF\)[ (].*,\1define\2 0 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_DECL__SNWPRINTF\)[ (].*,\1define\2 0 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_DECL_FEOF_UNLOCKED\)[ (].*,\1define\2 0 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_DECL_FGETS_UNLOCKED\)[ (].*,\1define\2 0 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_DECL_GETC_UNLOCKED\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LC_MESSAGES\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*ENABLE_NLS\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_GETTEXT\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_DCGETTEXT\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LIBM\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LIBZ\)[ (].*,\1define\2 1 , +s,^\([ #]*\)[^ ]*\([ ]*HAVE_LIBPNG\)[ (].*,\1define\2 1 , +s/ $// +s,^[ #]*u.*,/* & */, +CEOF + sed -f "$tmp/defines.sed" "$tmp/out1" >"$tmp/out2" +ac_result="$tmp/out2" + 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 + echo "/* $configure_input */" + cat "$ac_result" + fi + 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; } diff --git a/project/jni/application/lbreakout2/config.sub b/project/jni/application/lbreakout2/config.sub new file mode 100755 index 000000000..236e424de --- /dev/null +++ b/project/jni/application/lbreakout2/config.sub @@ -0,0 +1,1549 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + +timestamp='2004-06-24' + +# This file is (in principle) common to ALL GNU software. +# The presence of a machine in this file suggests that SOME GNU software +# can handle that machine. It does not imply ALL GNU software can. +# +# 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 +# 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. + +# 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. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS + $0 [OPTION] ALIAS + +Canonicalize a configuration name. + +Operation modes: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to ." + +version="\ +GNU config.sub ($timestamp) + +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 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit 0 ;; + --version | -v ) + echo "$version" ; exit 0 ;; + --help | --h* | -h ) + echo "$usage"; exit 0 ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo $1 + exit 0;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). +# 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* | 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/'` + ;; + *) + basic_machine=`echo $1 | sed 's/-[^-]*$//'` + if [ $basic_machine != $1 ] + then os=`echo $1 | sed 's/.*-/-/'` + else os=; fi + ;; +esac + +### Let's recognize common machines as not being operating systems so +### that things like config.sub decstation-3100 work. We also +### recognize some manufacturers as not being operating systems, so we +### can provide default operating systems below. +case $os in + -sun*os*) + # Prevent following clause from handling this invalid input. + ;; + -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ + -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ + -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ + -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 | -knuth | -cray) + os= + basic_machine=$1 + ;; + -sim | -cisco | -oki | -wec | -winbond) + os= + basic_machine=$1 + ;; + -scout) + ;; + -wrs) + os=-vxworks + basic_machine=$1 + ;; + -chorusos*) + os=-chorusos + basic_machine=$1 + ;; + -chorusrdb) + os=-chorusrdb + basic_machine=$1 + ;; + -hiux*) + os=-hiuxwe2 + ;; + -sco5) + os=-sco3.2v5 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco4) + os=-sco3.2v4 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco3.2v[4-9]*) + # Don't forget version if it is 3.2v4 or newer. + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -sco*) + os=-sco3.2v2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -udk*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -isc) + os=-isc2.2 + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -clix*) + basic_machine=clipper-intergraph + ;; + -isc*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` + ;; + -lynx*) + os=-lynxos + ;; + -ptx*) + basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` + ;; + -windowsnt*) + os=`echo $os | sed -e 's/windowsnt/winnt/'` + ;; + -psos*) + os=-psos + ;; + -mint | -mint[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; +esac + +# Decode aliases for certain CPU-COMPANY combinations. +case $basic_machine in + # Recognize the basic CPU types without company name. + # Some are omitted here because they have special meanings below. + 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 | dlx | dsp16xx \ + | fr30 | frv \ + | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | i370 | i860 | i960 | ia64 \ + | 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 | or32 \ + | pdp10 | pdp11 | pj | pjl \ + | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ + | pyramid \ + | 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 | xstormy16 | xtensa \ + | z8k) + basic_machine=$basic_machine-unknown + ;; + m6811 | m68hc11 | m6812 | m68hc12) + # Motorola 68HC11/12. + basic_machine=$basic_machine-unknown + os=-none + ;; + m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) + ;; + + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + basic_machine=$basic_machine-pc + ;; + # Object if more than one company name word. + *-*-*) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; + # Recognize the basic CPU types with company name. + 580-* \ + | a29k-* \ + | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ + | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ + | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ + | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ + | avr-* \ + | bs2000-* \ + | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ + | clipper-* | craynv-* | cydra-* \ + | d10v-* | d30v-* | dlx-* \ + | elxsi-* \ + | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ + | h8300-* | h8500-* \ + | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ + | i*86-* | i860-* | i960-* | ia64-* \ + | ip2k-* | iq2000-* \ + | m32r-* | m32rle-* \ + | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ + | m88110-* | 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-* \ + | mmix-* \ + | msp430-* \ + | none-* | np1-* | ns16k-* | ns32k-* \ + | orion-* \ + | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ + | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ + | pyramid-* \ + | romp-* | rs6000-* \ + | 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-* | xps100-* | xscale-* | xstormy16-* \ + | xtensa-* \ + | ymp-* \ + | z8k-*) + ;; + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + basic_machine=m68000-att + ;; + 3b*) + basic_machine=we32k-att + ;; + a29khif) + basic_machine=a29k-amd + os=-udi + ;; + abacus) + basic_machine=abacus-unknown + ;; + adobe68k) + basic_machine=m68010-adobe + os=-scout + ;; + alliant | fx80) + basic_machine=fx80-alliant + ;; + altos | altos3068) + basic_machine=m68k-altos + ;; + am29k) + 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 + ;; + amiga | amiga-*) + basic_machine=m68k-unknown + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=-amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=-sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=-sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=-bsd + ;; + aux) + basic_machine=m68k-apple + os=-aux + ;; + balance) + basic_machine=ns32k-sequent + os=-dynix + ;; + c90) + basic_machine=c90-cray + os=-unicos + ;; + convex-c1) + basic_machine=c1-convex + os=-bsd + ;; + convex-c2) + basic_machine=c2-convex + os=-bsd + ;; + convex-c32) + basic_machine=c32-convex + os=-bsd + ;; + convex-c34) + basic_machine=c34-convex + os=-bsd + ;; + convex-c38) + basic_machine=c38-convex + os=-bsd + ;; + cray | j90) + basic_machine=j90-cray + os=-unicos + ;; + craynv) + basic_machine=craynv-cray + os=-unicosmp + ;; + cr16c) + basic_machine=cr16c-unknown + os=-elf + ;; + crds | unos) + basic_machine=m68k-crds + ;; + 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) + basic_machine=m68k-motorola + ;; + delta88) + basic_machine=m88k-motorola + os=-sysv3 + ;; + dpx20 | dpx20-*) + basic_machine=rs6000-bull + os=-bosx + ;; + dpx2* | dpx2*-bull) + basic_machine=m68k-bull + os=-sysv3 + ;; + ebmon29k) + basic_machine=a29k-amd + os=-ebmon + ;; + elxsi) + basic_machine=elxsi-elxsi + os=-bsd + ;; + encore | umax | mmax) + basic_machine=ns32k-encore + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=-ose + ;; + fx2800) + basic_machine=i860-alliant + ;; + genix) + basic_machine=ns32k-ns + ;; + gmicro) + basic_machine=tron-gmicro + os=-sysv + ;; + go32) + basic_machine=i386-pc + os=-go32 + ;; + h3050r* | hiux*) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=-hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=-xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=-hms + ;; + harris) + basic_machine=m88k-harris + os=-sysv3 + ;; + hp300-*) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=-bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=-hpux + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + basic_machine=m68000-hp + ;; + hp9k3[2-9][0-9]) + basic_machine=m68k-hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + basic_machine=hppa1.1-hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + basic_machine=hppa1.1-hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + basic_machine=hppa1.0-hp + ;; + hppa-next) + os=-nextstep3 + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=-osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=-proelf + ;; + i370-ibm* | ibm*) + basic_machine=i370-ibm + ;; +# I'm not sure what "Sysv32" means. Should this be sysv3.2? + i*86v32) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv32 + ;; + i*86v4*) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv4 + ;; + i*86v) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-sysv + ;; + i*86sol2) + basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` + os=-solaris2 + ;; + i386mach) + basic_machine=i386-mach + os=-mach + ;; + i386-vsta | vsta) + basic_machine=i386-unknown + os=-vsta + ;; + iris | iris4d) + basic_machine=mips-sgi + case $os in + -irix*) + ;; + *) + os=-irix4 + ;; + esac + ;; + isi68 | isi) + basic_machine=m68k-isi + os=-sysv + ;; + m88k-omron*) + basic_machine=m88k-omron + ;; + magnum | m3230) + basic_machine=mips-mips + os=-sysv + ;; + merlin) + basic_machine=ns32k-utek + os=-sysv + ;; + mingw32) + basic_machine=i386-pc + os=-mingw32 + ;; + miniframe) + basic_machine=m68000-convergent + ;; + *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) + basic_machine=m68k-atari + os=-mint + ;; + mips3*-*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` + ;; + mips3*) + basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown + ;; + monitor) + basic_machine=m68k-rom68k + os=-coff + ;; + morphos) + basic_machine=powerpc-unknown + os=-morphos + ;; + msdos) + basic_machine=i386-pc + os=-msdos + ;; + mvs) + basic_machine=i370-ibm + os=-mvs + ;; + ncr3000) + basic_machine=i486-ncr + os=-sysv4 + ;; + netbsd386) + basic_machine=i386-unknown + os=-netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=-linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=-newsos + ;; + news1000) + basic_machine=m68030-sony + os=-newsos + ;; + news-3600 | risc-news) + basic_machine=mips-sony + os=-newsos + ;; + necv70) + basic_machine=v70-nec + os=-sysv + ;; + next | m*-next ) + basic_machine=m68k-next + case $os in + -nextstep* ) + ;; + -ns2*) + os=-nextstep2 + ;; + *) + os=-nextstep3 + ;; + esac + ;; + nh3000) + basic_machine=m68k-harris + os=-cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=-cxux + ;; + nindy960) + basic_machine=i960-intel + os=-nindy + ;; + mon960) + basic_machine=i960-intel + os=-mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=-nonstopux + ;; + np1) + basic_machine=np1-gould + ;; + nsr-tandem) + basic_machine=nsr-tandem + ;; + op50n-* | op60c-*) + 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 + ;; + os68k) + basic_machine=m68k-none + os=-os68k + ;; + pa-hitachi) + basic_machine=hppa1.1-hitachi + os=-hiuxwe2 + ;; + paragon) + basic_machine=i860-intel + os=-osf + ;; + pbd) + basic_machine=sparc-tti + ;; + pbb) + basic_machine=m68k-tti + ;; + pc532 | pc532-*) + basic_machine=ns32k-pc532 + ;; + pentium | p5 | k5 | k6 | nexgen | viac3) + basic_machine=i586-pc + ;; + pentiumpro | p6 | 6x86 | athlon | athlon_*) + basic_machine=i686-pc + ;; + pentiumii | pentium2 | pentiumiii | pentium3) + basic_machine=i686-pc + ;; + 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-* | pentiumiii-* | pentium3-*) + basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pentium4-*) + basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` + ;; + pn) + basic_machine=pn-gould + ;; + 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/^[^-]*-//'` + ;; + ps2) + basic_machine=i386-ibm + ;; + pw32) + basic_machine=i586-unknown + os=-pw32 + ;; + rom68k) + basic_machine=m68k-rom68k + os=-coff + ;; + rm[46]00) + basic_machine=mips-siemens + ;; + 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 + ;; + sh) + basic_machine=sh-hitachi + os=-hms + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparclite-wrs | simso-wrs) + basic_machine=sparclite-wrs + os=-vxworks + ;; + sps7) + basic_machine=m68k-bull + os=-sysv2 + ;; + spur) + basic_machine=spur-unknown + ;; + st2000) + basic_machine=m68k-tandem + ;; + stratus) + basic_machine=i860-stratus + os=-sysv4 + ;; + sun2) + basic_machine=m68000-sun + ;; + sun2os3) + basic_machine=m68000-sun + os=-sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=-sunos4 + ;; + sun3os3) + basic_machine=m68k-sun + os=-sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=-sunos4 + ;; + sun4os3) + basic_machine=sparc-sun + os=-sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=-sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=-solaris2 + ;; + sun3 | sun3-*) + basic_machine=m68k-sun + ;; + sun4) + basic_machine=sparc-sun + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + ;; + sv1) + basic_machine=sv1-cray + os=-unicos + ;; + symmetry) + basic_machine=i386-sequent + os=-dynix + ;; + t3e) + 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 + os=-udi + ;; + ultra3) + basic_machine=a29k-nyu + os=-sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=-none + ;; + vaxv) + basic_machine=vax-dec + os=-sysv + ;; + vms) + basic_machine=vax-dec + os=-vms + ;; + vpp*|vx|vx-*) + basic_machine=f301-fujitsu + ;; + vxworks960) + basic_machine=i960-wrs + os=-vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=-vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=-vxworks + ;; + w65*) + basic_machine=w65-wdc + os=-none + ;; + w89k-*) + basic_machine=hppa1.1-winbond + os=-proelf + ;; + xps | xps100) + basic_machine=xps100-honeywell + ;; + ymp) + basic_machine=ymp-cray + os=-unicos + ;; + z8k-*-coff) + basic_machine=z8k-unknown + os=-sim + ;; + none) + basic_machine=none-none + os=-none + ;; + +# Here we handle the default manufacturer of certain CPU types. It is in +# some cases the only manufacturer, in others, it is the most popular. + w89k) + basic_machine=hppa1.1-winbond + ;; + op50n) + basic_machine=hppa1.1-oki + ;; + op60c) + basic_machine=hppa1.1-oki + ;; + romp) + basic_machine=romp-ibm + ;; + mmix) + basic_machine=mmix-knuth + ;; + rs6000) + basic_machine=rs6000-ibm + ;; + vax) + basic_machine=vax-dec + ;; + pdp10) + # there are many clones, so DEC is not a safe bet + basic_machine=pdp10-unknown + ;; + pdp11) + basic_machine=pdp11-dec + ;; + we32k) + basic_machine=we32k-att + ;; + sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) + basic_machine=sh-unknown + ;; + sh64) + basic_machine=sh64-unknown + ;; + sparc | sparcv8 | sparcv9 | sparcv9b) + basic_machine=sparc-sun + ;; + cydra) + basic_machine=cydra-cydrome + ;; + orion) + basic_machine=orion-highlevel + ;; + orion105) + basic_machine=clipper-highlevel + ;; + mac | mpw | mac-mpw) + basic_machine=m68k-apple + ;; + pmac | pmac-mpw) + basic_machine=powerpc-apple + ;; + *-unknown) + # Make sure to match an already-canonicalized machine name. + ;; + *) + echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 + exit 1 + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $basic_machine in + *-digital*) + basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` + ;; + *-commodore*) + basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x"$os" != x"" ] +then +case $os in + # First match some system type aliases + # that might get confused with valid system types. + # -solaris* is a basic system type, with this one exception. + -solaris1 | -solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + -solaris) + os=-solaris2 + ;; + -svr4*) + os=-sysv4 + ;; + -unixware*) + os=-sysv4.2uw + ;; + -gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # First accept the basic system types. + # The portable systems comes first. + # Each alternative MUST END IN A *, to match a version number. + # -sysv* is not here because it comes later, after sysvr4. + -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ + | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ + | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ + | -aos* \ + | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ + | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ + | -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* | -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* | -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*) + case $basic_machine in + x86-* | i*86-*) + ;; + *) + os=-nto$os + ;; + esac + ;; + -nto-qnx*) + ;; + -nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ + | -windows* | -osx | -abug | -netware* | -os9* | -beos* \ + | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) + ;; + -mac*) + os=`echo $os | sed -e 's|mac|macos|'` + ;; + -linux-dietlibc) + os=-linux-dietlibc + ;; + -sunos5*) + os=`echo $os | sed -e 's|sunos5|solaris2|'` + ;; + -sunos6*) + os=`echo $os | sed -e 's|sunos6|solaris3|'` + ;; + -opened*) + os=-openedition + ;; + -os400*) + os=-os400 + ;; + -wince*) + os=-wince + ;; + -osfrose*) + os=-osfrose + ;; + -osf*) + os=-osf + ;; + -utek*) + os=-bsd + ;; + -dynix*) + os=-bsd + ;; + -acis*) + os=-aos + ;; + -atheos*) + os=-atheos + ;; + -syllable*) + os=-syllable + ;; + -386bsd) + os=-bsd + ;; + -ctix* | -uts*) + os=-sysv + ;; + -nova*) + os=-rtmk-nova + ;; + -ns2 ) + os=-nextstep2 + ;; + -nsk*) + os=-nsk + ;; + # Preserve the version number of sinix5. + -sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + -sinix*) + os=-sysv4 + ;; + -tpf*) + os=-tpf + ;; + -triton*) + os=-sysv3 + ;; + -oss*) + os=-sysv3 + ;; + -svr4) + os=-sysv4 + ;; + -svr3) + os=-sysv3 + ;; + -sysvr4) + os=-sysv4 + ;; + # This must come after -sysvr4. + -sysv*) + ;; + -ose*) + os=-ose + ;; + -es1800*) + os=-ose + ;; + -xenix) + os=-xenix + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + os=-mint + ;; + -aros*) + os=-aros + ;; + -kaos*) + os=-kaos + ;; + -none) + ;; + *) + # Get rid of the `-' at the beginning of $os. + os=`echo $os | sed 's/[^-]*-//'` + echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $basic_machine in + *-acorn) + os=-riscix1.2 + ;; + arm*-rebel) + os=-linux + ;; + arm*-semi) + os=-aout + ;; + c4x-* | tic4x-*) + os=-coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=-tops20 + ;; + pdp11-*) + os=-none + ;; + *-dec | vax-*) + os=-ultrix4.2 + ;; + m68*-apollo) + os=-domain + ;; + i386-sun) + os=-sunos4.0.2 + ;; + m68000-sun) + os=-sunos3 + # This also exists in the configure program, but was not the + # default. + # os=-sunos4 + ;; + m68*-cisco) + os=-aout + ;; + mips*-cisco) + os=-elf + ;; + mips*-*) + os=-elf + ;; + or32-*) + os=-coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=-sysv3 + ;; + sparc-* | *-sun) + os=-sunos4.1.1 + ;; + *-be) + os=-beos + ;; + *-ibm) + os=-aix + ;; + *-knuth) + os=-mmixware + ;; + *-wec) + os=-proelf + ;; + *-winbond) + os=-proelf + ;; + *-oki) + os=-proelf + ;; + *-hp) + os=-hpux + ;; + *-hitachi) + os=-hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=-sysv + ;; + *-cbm) + os=-amigaos + ;; + *-dg) + os=-dgux + ;; + *-dolphin) + os=-sysv3 + ;; + m68k-ccur) + os=-rtu + ;; + m88k-omron*) + os=-luna + ;; + *-next ) + os=-nextstep + ;; + *-sequent) + os=-ptx + ;; + *-crds) + os=-unos + ;; + *-ns) + os=-genix + ;; + i370-*) + os=-mvs + ;; + *-next) + os=-nextstep3 + ;; + *-gould) + os=-sysv + ;; + *-highlevel) + os=-bsd + ;; + *-encore) + os=-bsd + ;; + *-sgi) + os=-irix + ;; + *-siemens) + os=-sysv4 + ;; + *-masscomp) + os=-rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=-uxpv + ;; + *-rom68k) + os=-coff + ;; + *-*bug) + os=-coff + ;; + *-apple) + os=-macos + ;; + *-atari*) + os=-mint + ;; + *) + os=-none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +vendor=unknown +case $basic_machine in + *-unknown) + case $os in + -riscix*) + vendor=acorn + ;; + -sunos*) + vendor=sun + ;; + -aix*) + vendor=ibm + ;; + -beos*) + vendor=be + ;; + -hpux*) + vendor=hp + ;; + -mpeix*) + vendor=hp + ;; + -hiux*) + vendor=hitachi + ;; + -unos*) + vendor=crds + ;; + -dgux*) + vendor=dg + ;; + -luna*) + vendor=omron + ;; + -genix*) + vendor=ns + ;; + -mvs* | -opened*) + vendor=ibm + ;; + -os400*) + vendor=ibm + ;; + -ptx*) + vendor=sequent + ;; + -tpf*) + vendor=ibm + ;; + -vxsim* | -vxworks* | -windiss*) + vendor=wrs + ;; + -aux*) + vendor=apple + ;; + -hms*) + vendor=hitachi + ;; + -mpw* | -macos*) + vendor=apple + ;; + -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) + vendor=atari + ;; + -vos*) + vendor=stratus + ;; + esac + basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` + ;; +esac + +echo $basic_machine$os +exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/project/jni/application/lbreakout2/configure b/project/jni/application/lbreakout2/configure new file mode 100755 index 000000000..0d377c9ec --- /dev/null +++ b/project/jni/application/lbreakout2/configure @@ -0,0 +1,13727 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# 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. +## --------------------- ## +## 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 +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. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +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' +datarootdir='${prefix}/share' +datadir='${datarootdir}' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +includedir='${prefix}/include' +oldincludedir='/usr/include' +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 + ac_prev= + continue + fi + + 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_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 ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + 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 ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad) + ac_prev=datadir ;; + -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=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + 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=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + 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- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -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_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + 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 ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + 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 ;; + + -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) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --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 ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + 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-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-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + 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) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + 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 ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + 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=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + 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. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + 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-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 "$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 ;; + + *) + # 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 + 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 + 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 + +# 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 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 + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +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 -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 "$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 + # 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 +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_aux_dir= +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 + 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 "$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: +# SysV /etc/install, /usr/sbin/install +# 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 "$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 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 "$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="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done +IFS=$as_save_IFS + + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # 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 value is a relative name. + INSTALL=$ac_install_sh + fi +fi +{ 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}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +{ 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 > 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 conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + 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 "$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" = conftest.file + ) +then + # Ok. + : +else + { { 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" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + 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 '@@@%%%=$(MAKE)=@@@%%%' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +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 "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" +fi + +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 + +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.1 + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_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_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 +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 "$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); } + +{ 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 + +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 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 <<_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 "$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 <<_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 "$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 <<_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 "$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" +else + sdl_prefix="" +fi + + +# 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" +else + sdl_exec_prefix="" +fi + +# Check whether --enable-sdltest was given. +if test "${enable_sdltest+set}" = set; then + enableval=$enable_sdltest; +else + enable_sdltest=yes +fi + + + 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 + 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 + 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 "$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. + ;; + *) + 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 +if test -n "$SDL_CONFIG"; then + { 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 "$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 + 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" + rm -f conf.sdltest + if test "$cross_compiling" = yes; then + echo $ac_n "cross compiling; assumed OK... $ac_c" +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 "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); + } + 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 + { + 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; + } +} + + +_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 ) +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 "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6; } + : + else + { 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" + 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" + cat >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(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" + 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" +else + 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 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 "$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 was given. +if test "${enable_warp+set}" = set; then + enableval=$enable_warp; warp_flag="-DMOUSE_WARP" +fi + + + +audio_flag="-DAUDIO_ENABLED" +mixer_flag="-lSDL_mixer" +# Check whether --enable-audio was given. +if test "${enable_audio+set}" = set; then + 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 <<_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 was given. +if test "${with_docdir+set}" = set; then + withval=$with_docdir; doc_dir="$withval" +fi + + + +network_flag="-DNETWORK_ENABLED" +# Check whether --enable-network was given. +if test "${enable_network+set}" = set; then + enableval=$enable_network; network_flag="" +fi + + + +sdlnet_flag="" +sdlnet_lib_flag="" +# 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" +fi + + + +if test "$sdlnet_flag" == "-DSDL_NET_ENABLED" ; then + { 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 <<_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 was given. +if test "${enable_netdebug+set}" = set; then + 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 was given. +if test "${enable_install+set}" = set; then + 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\\\"" + + + + + + + +case "$host" in + *-mingw32) + win32="yes" + 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 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 + + +fi + +appname="LBreakout2" + + +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, 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. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `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, 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. +( + 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 "$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 + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +DEFS=-DHAVE_CONFIG_H + +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} +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ echo "$as_me:$LINENO: creating $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. +# 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 +# +# INIT-COMMANDS +# +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_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 + + +# 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 + 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-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 + 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 + 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 + + 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 + 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 +_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. +# (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 + # 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 "$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.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 + echo "/* $configure_input */" + cat "$ac_result" + fi + 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 +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/project/jni/application/lbreakout2/configure.in b/project/jni/application/lbreakout2/configure.in new file mode 100644 index 000000000..7bb27ecc1 --- /dev/null +++ b/project/jni/application/lbreakout2/configure.in @@ -0,0 +1,155 @@ +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.6.1) + +dnl Checks for programs. +AM_GNU_GETTEXT +AC_PROG_CC +AC_PROG_RANLIB +AC_EXEEXT + +dnl Checks for libraries. +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)) + +dnl check SDL version +AM_PATH_SDL(1.2.0,, AC_MSG_ERROR(lib SDL is needed)) +CFLAGS="$CFLAGS $SDL_CFLAGS" +LIBS="$LIBS $SDL_LIBS" + +dnl check warp mouse flag +warp_flag="" +AC_ARG_ENABLE( warp, +[ --enable-warp Enable mouse warp (for BeOS and Mac)], warp_flag="-DMOUSE_WARP") +AC_SUBST(warp_flag) + +dnl check sound +audio_flag="-DAUDIO_ENABLED" +mixer_flag="-lSDL_mixer" +AC_ARG_ENABLE( audio, +[ --disable-audio Disables Audio], audio_flag=""; mixer_flag="") + +dnl check if SDL_mixer's installed +dnl if not: clear sound_flag and mixer_flag +AC_CHECK_LIB(SDL_mixer, main, +AC_MSG_RESULT("SDL_Mixer found"), +AC_MSG_RESULT("SDL_Mixer NOT found \(http://libsdl.org\): Audio disabled"); audio_flag=""; mixer_flag="") + +AC_SUBST(audio_flag) +AC_SUBST(mixer_flag) + +dnl documentation path +doc_dir="/usr/doc" +dnl check if manually overwriting doc path +AC_ARG_WITH( docdir, +[ --with-docdir=DPATH Directory where documentation is saved.], +doc_dir="$withval",) +AC_SUBST(doc_dir) + +dnl network support +network_flag="-DNETWORK_ENABLED" +AC_ARG_ENABLE( network, +[ --disable-network No network support.], network_flag="" ) +AC_SUBST(network_flag) + +dnl SDL_net usage +sdlnet_flag="" +sdlnet_lib_flag="" +AC_ARG_ENABLE( sdl-net, +[ --enable-sdl-net Use SDL_Net for networking.], sdlnet_flag="-DSDL_NET_ENABLED"; sdlnet_lib_flag="-lSDL_net" ) +AC_SUBST(sdlnet_flag) +AC_SUBST(sdlnet_lib_flag) +if test "$sdlnet_flag" == "-DSDL_NET_ENABLED" ; then + dnl check if SDL_net is installed + AC_CHECK_LIB(SDL_net, main, + AC_MSG_RESULT("SDL_net found"), + AC_MSG_RESULT("SDL_net NOT found \(http://libsdl.org\): Networking disabled"); sdlnet_flag=""; sdlnet_lib_flag=""; network_flag="") +fi + +dnl network debug +netdebug_flag="" +AC_ARG_ENABLE( netdebug, +[ --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 + +dnl check if installation was disabled +AC_ARG_ENABLE( install, +[ --disable-install No installation. Played from the source directory.], +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\\\"" + +AC_SUBST(inst_flag) +AC_SUBST(hi_inst_flag) +AC_SUBST(inst_dir) +AC_SUBST(hi_dir) +AC_SUBST(locdir_flag) + +case "$host" in + *-mingw32) + win32="yes" + 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 + +AC_SUBST(win32_deps) +AC_SUBST(arch_flag) + +if test "x$win32" = xyes; then + AC_PROG_AWK +dnl AC_PROG_STRIP since SuSE does not know it??? +dnl AC_PROG_ISCC + AC_SUBST(win32_inst_script) +fi + +appname="LBreakout2" +AC_SUBST(appname) + +AC_OUTPUT( +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) diff --git a/project/jni/application/lbreakout2/depcomp b/project/jni/application/lbreakout2/depcomp new file mode 100755 index 000000000..11e2d3bfe --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/dict/de/LC_MESSAGES/lbreakout2.mo b/project/jni/application/lbreakout2/dict/de/LC_MESSAGES/lbreakout2.mo new file mode 120000 index 000000000..2b8f5730d --- /dev/null +++ b/project/jni/application/lbreakout2/dict/de/LC_MESSAGES/lbreakout2.mo @@ -0,0 +1 @@ +../../../po/de.gmo \ No newline at end of file diff --git a/project/jni/application/lbreakout2/dict/fr/LC_MESSAGES/lbreakout2.mo b/project/jni/application/lbreakout2/dict/fr/LC_MESSAGES/lbreakout2.mo new file mode 120000 index 000000000..48b8acb4a --- /dev/null +++ b/project/jni/application/lbreakout2/dict/fr/LC_MESSAGES/lbreakout2.mo @@ -0,0 +1 @@ +../../../po/fr.gmo \ No newline at end of file diff --git a/project/jni/application/lbreakout2/dict/tr/LC_MESSAGES/lbreakout2.mo b/project/jni/application/lbreakout2/dict/tr/LC_MESSAGES/lbreakout2.mo new file mode 120000 index 000000000..9edcb506e --- /dev/null +++ b/project/jni/application/lbreakout2/dict/tr/LC_MESSAGES/lbreakout2.mo @@ -0,0 +1 @@ +../../../po/tr.gmo \ No newline at end of file diff --git a/project/jni/application/lbreakout2/docs/Makefile.am b/project/jni/application/lbreakout2/docs/Makefile.am new file mode 100644 index 000000000..85c8b33f5 --- /dev/null +++ b/project/jni/application/lbreakout2/docs/Makefile.am @@ -0,0 +1,19 @@ +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 + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2 + @for file in *.jpg; do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\ + done + $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\docs\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done diff --git a/project/jni/application/lbreakout2/docs/Makefile.in b/project/jni/application/lbreakout2/docs/Makefile.in new file mode 100644 index 000000000..7cfd7e3d6 --- /dev/null +++ b/project/jni/application/lbreakout2/docs/Makefile.in @@ -0,0 +1,376 @@ +# 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 = 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@ +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 = 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: $(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) --foreign docs/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2 + @for file in *.jpg; do\ + $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\ + done + $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html + +win32-install-script: + @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/project/jni/application/lbreakout2/docs/b0.jpg b/project/jni/application/lbreakout2/docs/b0.jpg new file mode 100644 index 000000000..1810e6ba0 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/b0.jpg differ diff --git a/project/jni/application/lbreakout2/docs/b1.jpg b/project/jni/application/lbreakout2/docs/b1.jpg new file mode 100644 index 000000000..5b2f8647b Binary files /dev/null and b/project/jni/application/lbreakout2/docs/b1.jpg differ diff --git a/project/jni/application/lbreakout2/docs/b2.jpg b/project/jni/application/lbreakout2/docs/b2.jpg new file mode 100644 index 000000000..d298b90b4 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/b2.jpg differ diff --git a/project/jni/application/lbreakout2/docs/b3.jpg b/project/jni/application/lbreakout2/docs/b3.jpg new file mode 100644 index 000000000..dddd89d9e Binary files /dev/null and b/project/jni/application/lbreakout2/docs/b3.jpg differ diff --git a/project/jni/application/lbreakout2/docs/b4.jpg b/project/jni/application/lbreakout2/docs/b4.jpg new file mode 100644 index 000000000..0868eb976 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/b4.jpg differ diff --git a/project/jni/application/lbreakout2/docs/b5.jpg b/project/jni/application/lbreakout2/docs/b5.jpg new file mode 100644 index 000000000..f49a88246 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/b5.jpg differ diff --git a/project/jni/application/lbreakout2/docs/b6.jpg b/project/jni/application/lbreakout2/docs/b6.jpg new file mode 100644 index 000000000..ed5ddc62e Binary files /dev/null and b/project/jni/application/lbreakout2/docs/b6.jpg differ diff --git a/project/jni/application/lbreakout2/docs/index.html b/project/jni/application/lbreakout2/docs/index.html new file mode 100644 index 000000000..7c9702c01 --- /dev/null +++ b/project/jni/application/lbreakout2/docs/index.html @@ -0,0 +1,380 @@ + + + +LBreakout2 Manual + + + + +
+

LBreakout2 Manual

+maintained by Michael Speck
last change: 03/05/24 +
+ + +

+

Table Of Contents

+ +

+ + +

+

Game Play

+ +

Basics

+
+Okay, 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
+The chosen difficulty level has some influence +on the size of the paddle, the speed of balls and the score gained. + + + + + +
Levelpaddle size (in pixel)ball speed (in pixels per second)score modification
Easy72 - 180240 - 400-20%
Medium72 - 144270 - 4300
Hard52 - 108300 - 450+30%
+If there is more than one player the next player will get his/her chance when the current +one restarts the level or looses all balls. The name of the current/next player is displayed +in the right top corner of the screen and before each turn. +
+ +

Bonus/Penalty

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+A destroyed brick may release a bonus or penalty which will move down slowly. It's +used as soon as it is collected by paddle.
NameTime (in sec)PictureDescription
Extra Score-Gives you the score written on it.
End Of The Rainbow20If you destroy a brick with no bonus assigned it will release 1000 points extra score!
Expand Paddle-Expands your paddle about one tile (the maxium size depends on the chosen difficulty level).
Extra Life-Gives you one extra life (paddle).
Sticky Paddle20Balls touching the paddle will keep attached until you press fire.
Energy Balls5Balls won't be reflected at a brick but go directly through it.
Extra Ball-Creates a new ball.
Bonus floor10Closes the screen so no balls can get lost.
Weapon5Adds a weapon to the paddle.
Speed Down20Deccelerates all balls to mimum speed.
Joker-Collects all bonus on screen instantly and destroys all penalties. Doubles score and time of the collected bonus!
Explosive Balls10When hitting a brick balls will cause an explosion destroying all surounding bricks.
Bonus Magnet20While this bonus is active the paddle will attract other bonuses.
Reset-All active bonuses and penalties will be reset.
Time-Add-All active bonuses and penalties will last seven seconds longer.
Random Extra-Gives you any of the listed extras.
Speed Up20Accelerates all balls to maximum speed.
Frozen Paddle1Freezes the paddle (no movement possible).
Shrink Paddle-Shrinks your paddle about one paddle tile (18 pixels).
Lights Out!20Total darkness. All you see is a shade of paddle, balls and extras.
Chaos20Balls are reflected randomly at bricks. (but not at paddle)
Ghostly Paddle20Paddle disappears when not moving and won't reflect any balls then. (nor does it collect bonuses)
Penalty Magnet20While this penalty is active the paddle will attract other penalties.
Weak Balls10With this penalty active there is a 40% chance that a ball won't damage a brick.
+ +

Special Bricks

+ + + + + + + + + +
NamePictureDescription
Shielded BrickThis brick is indestructible even for energy balls.
Metal BrickThis wall is indestructible except for energy balls.
Chaotic BrickSimiliar to the Chaos Penalty the ball is reflected randomly at such a brick.
Strong BrickThese walls take up to three shots before destruction and grow darker with every hit. NOTE: to this series belongs a forth brick which is invisbile.
Regenerating BrickThis brick will regenerate one point durability within four seconds if not hit again.
Explosive BrickThis bricks destroys its neighbors on destruction.
Growing BrickIf this brick is destroyed it creates up to 8 new bricks.
+ +

Keys

+ + + + + + + + + + + +
There are some predefined keys for LBreakout:
h or F1Display quick help.
EscapeQuit LBreakout (after confirmation).
pPause game.
rRestart level. If more than player the next one will get his chance before this player may play the restarted level!
wWarp to next level after required percentage of bricks was cleared. +As soon as this is possible a blinking icon will appear at the bottom right-hand side of the screen: + . This option can be set in menu Advanced Options. It does + only apply to AddOn levelsets as it is meant as a workaround for bad leveldesign.
dSwitch to the Plane Of Inner Stability and disintegrate single bricks. Again, this only works in AddOn levelsets to remove bricks that are hard to hit.
fSwitch Fullscreen and Windowed mode.
aChange animation level (off/low/high).
sTurn on/off sound.
+ +

Resuming A Local Game

+If you quit a game, it may be continued later by 'Resume Last Game' in menu 'Local Game'. While the current +player, all scores and lives are saved, the state of the level itself is not. Thus if you break up a game +and resume it later, the level of each player will be reset. Therefore it is recommended to quit a game +right after a level was finished (quite difficult for multiple players, yes). A highscore entry will not +be created! If you don't intend to resume the game later but want to enter the highscores, you'll +have to loose all balls. + +

Network Game

+
+You can play LBreakout2 against another human via network. Therefore you'll have +to connect to a server or run a server and have your friends connected.
+Start A Server
+After you started the program lbreakout2server with any of the following options + + + + + + +
-p <PORT>the port the server shall run at (default is 2002)
-l <LIMIT>maximum number of users that may connect to the server (default is 30)
-m <MESSAGE>this message is displayed to welcome a user
-a <PASSWORD>a user that logs in with this name will become administrator named admin (default is no admin)
-f <FRAMERATE>is the number of calls to the send/recv handler per second. The default is 33.
+you can obtain your IP address by using /sbin/ifconfig. If you want to play +via LAN the inet addr of device eth0 is important and for internet +connections it's the inet addr of device ppp0.
+Playing
+How to play is explained in the in-game help accessable via the 'Help' button +at the bottom right-hand side in the network chatroom.
+New Playing Grounds
+You can build new levelsets combining pingpong and normal ones. +Such a levelset must start with 'N_'. An 'upload' command is planned but right +now the only way to make a new levelset available is to copy it to the server's +levelset directory (default: /usr/local/share/games/lbreakout2/levels) and restart +the server. +
+

+

+ToC +

+ + +

+

Editor

+ +

Miscellany

+
+All files you edit are saved to ~/.lbreakout2/levels. This '~' you see in front of +the name when choosing levelset for playing is not part of the file name but added afterwards +to separate the files in the installation path from the files in the config path (these you may +edit). +
+ +

Editor Layout

+ + + + + +
editor overview
+Actions like quit, save, load, clear, add, insert, remove require a confirmation for safety. +
    +
  1. Editable Part
  2. +
  3. Bricks and Bonus
  4. +
  5. Information about location of set file and how many levels you already created, which level your currently on and how many levels more you may create. If you marked a level for swap it's displayed there, too.
  6. +
  7. Click on title to change title of this level.
  8. +
  9. Click here to change author's name for this level.
  10. +
  11. Click here to test this level.
  12. +
  13. Go to first level.
  14. +
  15. Go to next level.
  16. +
  17. Go to previous level.
  18. +
  19. Clear all bricks and bonus in this level.
  20. +
  21. Swap two levels. On first click the current level will be marked (info displayed in region 3), on second click the current and the marked level will be swapped.
  22. +
  23. Insert a level at the end (copies title and author of previously last level).
  24. +
  25. Insert a level at current position (copying current title and author).
  26. +
  27. Remove current level.
  28. +
  29. Reload this level set (discards all unsaved changes).
  30. +
  31. Save this levelset (save all changes).
  32. + +
+ +

How To Edit

+
+Very simple. Select a brick or a bonus by left-click (right-click into the section to switch between the +brick and the bonus set) from the bottom of the screen (red-yellow selection +frame) go to the editable part and left-click. Right click will remove a brick +(any brick and its bonus if a brick's selected) or bonus (any bonus without touching the +brick if bonus selected). You may move the mouse while having left or right buttom +pressed. To parse/add/remove any levels or save/load this set use the buttons as explained +above. You may use the cursor keys, too (UP - first level, RIGHT - next level, +LEFT - previous level). Pressing ESCAPE leaves the editor after confirmation. +
+

+

+ToC +

+ + +

+

Themes

+ +

Miscellany

+
+

+If you want to run LBreakout2 with other graphics and sounds you can create a +theme which allows you to modify all game graphics and sounds. +The use of new backgrounds is also allowed. The following list contains all editable +graphics and sounds. What you have to do to edit them is explained below. +

+

+Editable graphics: + + + + + + + + + + + + + + + + + + + + + + + +
backgroundsHandling of backgrounds is special. As long as you do not provide a back0.png file +the original backgrounds are used. If you want to use self-made backgrounds +you'll have to save them as backindices.png where your first indices must be 0. +If this happens LBreakout2 will only use the backgrounds found in your theme directory (six backgrounds at maximum). +This means if you only provide one background LBreakout2 will only use this background +throughout the game as long as your theme is running.
ball.png
bricks.png
menuback.pngbackground of the main menu
cr_back.pngbackground of the chatroom
explosions.pngnormal explosions
explosions_dark.pngexplosions if darkness penalty is active
extras.pngbonuses and penalties
f_frame.pngfont used for score and player name in the right upper corner of the frame
f_game.pngfont used for level credits and confirmation
floor.pngbonus floor that is used to close playing field (optional)
fr_left.pngleft part of frame
fr_right.pngright part of frame
fr_top.pngtop part of frame
fr_mp_left.pngleft part of frame for network game
fr_mp_right.pngright part of frame for network game
life.pnglife lamps displayed in the left bottom corner of the frame
paddle.png
shine.pnganimation running accross bricks
shot.pngshot of the plasma weapon
warp.pngicon that blinks at the bottom right-hand side of the screen when warp became possible
weapon.pngweapon displayed on the paddle
+

+

+Editable sounds: + + + + + + + + + + + + + + + + + + +
attach.wavplayed if ball is attached to sticky paddlejoker.wavbonus sound
bonus_magnet.wavbonus soundlooselife.wavplayed if you loose a life
chaos.wavpenalty soundmalus_magnet.wavpenalty sound
click.wavplayed if key was pressed (e.g. confirmation)metal.wavenery ball sound
dammit.wavDammit! speech samplereflect.wavball reflection sound
damn.wavDamn! speech samplescore.wavbonus sound
darkness.wavpenalty soundshot.wavweapon's firing noise
disable.wavpenalty soundshrink.wavpenalty sound
excellent.wavExcellent! speech samplespeeddown.wavbonus sound
exp.wavbrick explosion soundspeedup.wavpenalty sound
expand.wavbonus soundstandard.wavstandard sound for collecting an extra
expl_ball.wavbonus soundtimeadd.wavbonus sound
extraball.wavbonus soundverygood.wavVery Good! speech sample
freeze.wavpenalty soundwall.wavbonus sound
gainlife.wavplayed if you got an extralifeweak_ball.wavpenalty sound
ghost.wavbonus soundwontgiveup.wavI won't give up! speech sample
goldshower.wavbonus sound 
+

+
+ +

How To Make A Theme

+
+
    +
  1. Create a directory in ~/.lgames/lbreakout2-themes with the name of your theme.
  2. +
  3. +Have a look at the original graphics and sounds located in the +gfx and sounds directory in the source path or +in /usr/local/share/games/lbreakout2. +
  4. +
  5. +Now change a graphic or sound to your liking and save it with the +same name to ~/.lgames/lbreakout2-themes.
    +Note: +
      +
    • You must not change the measurements of a graphic. The only exception is warp.png which will be centered to the bottom right-side of the frame.
    • +
    • You must not save it to a subdirectory gfx or sounds but directly to ~/.lgames/lbreakout2-themes/MyTheme.
    • +
    • A graphic or sound that can't be found in your theme directory is loaded from the +original resources.
    • +
    • Handling of backgrounds is special. As long as you do not provide a back0.png file +the original backgrounds are used. If you want to use self-made backgrounds +you'll have to save them as backindices.png where your first indices must be 0. +If this happens LBreakout2 will only use the backgrounds found in your theme directory (six backgrounds at maximum). +This means if you only provide one background LBreakout2 will only use this background +throughout the game as long as your theme is running. +
    • +Some bricks require multiple hits before destruction as explained in section +Special Bricks thus we have two 'groups' of bricks +Strong Bricks (4th - 7th) and Regenerative Bricks (8th - 10th). +Everytime a brick from such a group is hit the id is decreased +by one and if we are at the very left brick thus the first id of the group it +will be cleared. So as these bricks belong together they should look consistent. +All other bricks are independent. +
    • +
    • The default colorkey (transparency) is pure black (0x000000). +
      Exceptions: +
        +
      • All frame graphics (fr_*.png) use the upper right pixel of fr_right.png as color key.
      • +
      • All fonts (f_*.png) use the very first pixel (0,0) as color key.
      • +
      • paddle.png uses the very first pixel (0,0) as color key.
      • +
      • extras.png has no color key by default and bricks.png has black as +default color key but in both cases you may add a single last column (one pixel width) +with a custom color key.
      • +
      +
    • +
    • floor.png is an optional PNG. Per default a line of +indestructible bricks will be drawn when you catch the 'bonus floor'. (closes the playing +field) If you provide this PNG, however, it will be drawn instead thus it must have the +size of 560x20. (same as the fr_top.png) It uses black as color key. +
    • +
    +
  6. +
  7. +Add a file named ABOUT to your theme directory. The first 255 characters will be +displayed in the menu as quick info about your levelset so you should still provide a README with more detailed information. The +ABOUT file should contain name, version, author and a short description. +
  8. +
  9. +Run LBreakout2 and select your theme in Advanced Options/Select Theme. +
  10. +
  11. +If everything works fine add a README with credits and a description. +
  12. +
  13. +Tar.gz your theme directory and send it to +kulkanie@gmx.net and I'll add it to the site.
    +Please provide the following information (either in the mail +or in the README):
    +
      +
    1. Full title
    2. +
    3. Version number
    4. +
    5. Your name
    6. +
    7. Email-address for feedback
    8. +
    9. Description
    10. +
    11. A jpg screenshot with your theme in action (press TAB while playing).
    12. +
    +
  14. +
+
+

+

+ToC +

+ + + + diff --git a/project/jni/application/lbreakout2/docs/screen.jpg b/project/jni/application/lbreakout2/docs/screen.jpg new file mode 100644 index 000000000..5f6cec8be Binary files /dev/null and b/project/jni/application/lbreakout2/docs/screen.jpg differ diff --git a/project/jni/application/lbreakout2/docs/warp.jpg b/project/jni/application/lbreakout2/docs/warp.jpg new file mode 100644 index 000000000..e127887f7 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/warp.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x0.jpg b/project/jni/application/lbreakout2/docs/x0.jpg new file mode 100644 index 000000000..55962a7c2 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x0.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x1.jpg b/project/jni/application/lbreakout2/docs/x1.jpg new file mode 100644 index 000000000..d43fe5ef2 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x1.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x10.jpg b/project/jni/application/lbreakout2/docs/x10.jpg new file mode 100644 index 000000000..55ece42e4 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x10.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x11.jpg b/project/jni/application/lbreakout2/docs/x11.jpg new file mode 100644 index 000000000..c44542478 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x11.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x12.jpg b/project/jni/application/lbreakout2/docs/x12.jpg new file mode 100644 index 000000000..e7c916f9a Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x12.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x13.jpg b/project/jni/application/lbreakout2/docs/x13.jpg new file mode 100644 index 000000000..9ae74ea21 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x13.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x14.jpg b/project/jni/application/lbreakout2/docs/x14.jpg new file mode 100644 index 000000000..284a20af2 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x14.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x15.jpg b/project/jni/application/lbreakout2/docs/x15.jpg new file mode 100644 index 000000000..0679bbf51 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x15.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x16.jpg b/project/jni/application/lbreakout2/docs/x16.jpg new file mode 100644 index 000000000..e41c022e3 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x16.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x17.jpg b/project/jni/application/lbreakout2/docs/x17.jpg new file mode 100644 index 000000000..363d31ea8 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x17.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x18.jpg b/project/jni/application/lbreakout2/docs/x18.jpg new file mode 100644 index 000000000..bbb4b66e2 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x18.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x19.jpg b/project/jni/application/lbreakout2/docs/x19.jpg new file mode 100644 index 000000000..d3bd4ec45 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x19.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x2.jpg b/project/jni/application/lbreakout2/docs/x2.jpg new file mode 100644 index 000000000..3581235f8 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x2.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x20.jpg b/project/jni/application/lbreakout2/docs/x20.jpg new file mode 100644 index 000000000..edd9790b9 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x20.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x21.jpg b/project/jni/application/lbreakout2/docs/x21.jpg new file mode 100644 index 000000000..dc1c9e071 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x21.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x22.jpg b/project/jni/application/lbreakout2/docs/x22.jpg new file mode 100644 index 000000000..cbbf99f02 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x22.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x23.jpg b/project/jni/application/lbreakout2/docs/x23.jpg new file mode 100644 index 000000000..bd5bdca51 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x23.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x3.jpg b/project/jni/application/lbreakout2/docs/x3.jpg new file mode 100644 index 000000000..44a16f30a Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x3.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x4.jpg b/project/jni/application/lbreakout2/docs/x4.jpg new file mode 100644 index 000000000..647b5c925 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x4.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x5.jpg b/project/jni/application/lbreakout2/docs/x5.jpg new file mode 100644 index 000000000..2834f6cbb Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x5.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x6.jpg b/project/jni/application/lbreakout2/docs/x6.jpg new file mode 100644 index 000000000..fe2a2ad67 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x6.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x7.jpg b/project/jni/application/lbreakout2/docs/x7.jpg new file mode 100644 index 000000000..16720e419 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x7.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x8.jpg b/project/jni/application/lbreakout2/docs/x8.jpg new file mode 100644 index 000000000..b2506744f Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x8.jpg differ diff --git a/project/jni/application/lbreakout2/docs/x9.jpg b/project/jni/application/lbreakout2/docs/x9.jpg new file mode 100644 index 000000000..a48f46af6 Binary files /dev/null and b/project/jni/application/lbreakout2/docs/x9.jpg differ diff --git a/project/jni/application/lbreakout2/game/Makefile.am b/project/jni/application/lbreakout2/game/Makefile.am new file mode 100644 index 000000000..9cc7e91ee --- /dev/null +++ b/project/jni/application/lbreakout2/game/Makefile.am @@ -0,0 +1,19 @@ +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 + diff --git a/project/jni/application/lbreakout2/game/Makefile.in b/project/jni/application/lbreakout2/game/Makefile.in new file mode 100644 index 000000000..c4ba830b2 --- /dev/null +++ b/project/jni/application/lbreakout2/game/Makefile.in @@ -0,0 +1,476 @@ +# 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 = 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@ +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@ +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 + +all: all-am + +.SUFFIXES: +.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) --foreign game/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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) +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 *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@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 + +TAGS: $(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; }'`; \ + 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 GTAGS GRTAGS GSYMS GPATH tags + +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 $(LIBRARIES) +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 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 + +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. +.NOEXPORT: diff --git a/project/jni/application/lbreakout2/game/balls.c b/project/jni/application/lbreakout2/game/balls.c new file mode 100644 index 000000000..6374ca7a2 --- /dev/null +++ b/project/jni/application/lbreakout2/game/balls.c @@ -0,0 +1,1754 @@ +/*************************************************************************** + balls.c - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "../client/lbreakout.h" +#include "levels.h" +#include "paddle.h" +#include "shots.h" +#include "balls.h" +#include "bricks.h" +#include "mathfuncs.h" + +#define TOARC(d) (((float)d/180)*M_PI) +#define TODEG(a) (((float)a/M_PI)*180) +#define VLEN(x, y) ( sqrt( (x)*(x) + (y)*(y) ) ) +#define REC_SQRT_2 (0.707106781) + +float ball_vhmask = 0.363970234; /* twenty degrees */ +float ball_vvmask = 5.67128182; /* ten degrees */ +int ball_rad = 6; +int ball_dia = 12; +int ball_w = 12; +int ball_h = 12; +extern Game *cur_game; + +int last_ball_brick_reflect_x = -1; /* HACK: used to play local sound */ +int last_ball_paddle_reflect_x = -1; /* HACK: used to play local sound */ +int last_ball_attach_x = -1; /* HACK: used to play local sound */ + +/* +==================================================================== +Locals +==================================================================== +*/ + +#ifdef WITH_BUG_REPORT +/* +==================================================================== +Display info about a ball's target. +==================================================================== +*/ +static void ball_print_target_info( Ball *ball ) +{ + Coord center = { ball->cur.x + ball_rad, ball->cur.y + ball_rad }; /* ball center */ + printf( "Target exists: %i\n", ball->target.exists ); + printf("Ball: %4.2f,%4.2f (%i,%i) -> %4.2f,%4.2f (%4.2f)\n", + center.x, center.y, (int)center.x/BRICK_WIDTH, (int)center.y/BRICK_HEIGHT, + ball->vel.x, ball->vel.y, ball->vel.y/ball->vel.x ); + printf("Brick %i,%i: Side %i (%4.2f,%4.2f)\n", + ball->target.mx, ball->target.my, ball->target.side, + ball->target.x, ball->target.y ); + printf("Perp Vector: %4.2f,%4.2f\n", ball->target.perp_vector.x, ball->target.perp_vector.y); + printf("Takes %i ms\n", ball->target.time); +} +#endif + +/* +==================================================================== +Clear contents of target. +==================================================================== +*/ +void ball_clear_target( Target *t ) +{ + memset(t, 0, sizeof(Target)); + t->side = SIDE_UNDEFINED; +} +/* +==================================================================== +Attach ball to paddle. +==================================================================== +*/ +void ball_attach( Ball *ball, Paddle *paddle ) +{ + /* relative position */ + ball->attached = 1; + ball->paddle = paddle; + ball->paddle->attached_ball_count++; + ball->idle_time = ball->moving_back = ball->return_allowed = 0; + ball->get_target = 0; + ball->cur.x -= paddle->x; + ball->cur.y -= paddle->y; + ball->x = (int)ball->cur.x; + ball->y = (int)ball->cur.y; + cur_game->mod.attached_ball_count++; + last_ball_attach_x = ball->x + paddle->x; +} +/* +==================================================================== +Reflect ball at brick assume normed perp_vector. +==================================================================== +*/ +void ball_check_brick_reflection( Ball *b ) +{ + float old_vx; + Vector n; + int reflect; + int chaos_reflect; + int hit_type; + Vector oldBallVel = b->vel; + + /* time left? */ + if (b->target.cur_tm < b->target.time) return; + + /* if the brick is destructible (thus it'll take damage) + * we must reset the idle time + */ + if ( cur_game->bricks[b->target.mx][b->target.my].dur != -1 || + (cur_game->extra_active[EX_METAL] && + cur_game->bricks[b->target.mx][b->target.my].type != MAP_WALL ) ) + b->idle_time = 0; + /* or if it is within the last four rows and no chaotic penalty is active it will + hit the paddle soon so reset here too */ + if ( b->target.my >= MAP_HEIGHT - 4 && b->vel.y > 0 && !cur_game->extra_active[EX_CHAOS] ) + b->idle_time = 0; + + /* will reflect? */ + reflect = 1; + if ( cur_game->extra_active[EX_METAL] ) + if ( cur_game->bricks[b->target.mx][b->target.my].type != MAP_WALL ) + reflect = 0; + + /* will reflect chaotic? */ + chaos_reflect = 0; + if ( cur_game->extra_active[EX_CHAOS] || + cur_game->bricks[b->target.mx][b->target.my].type == MAP_BRICK_CHAOS ) + chaos_reflect = 1; + + /* we have a target and so we have a reset position and even if the ball's + not reflected the position must be reset */ + b->cur.x = b->target.x; b->x = (int)b->cur.x; + b->cur.y = b->target.y; b->y = (int)b->cur.y; + + if ( reflect ) { + cur_game->mod.brick_reflected_ball_count++; + last_ball_brick_reflect_x = b->x; /* HACK: used to play local sound */ + old_vx = b->vel.x; + if ( !chaos_reflect ) { + /* normal reflection */ + n.x = (1-2*b->target.perp_vector.x*b->target.perp_vector.x)*b->vel.x + + ( -2*b->target.perp_vector.x*b->target.perp_vector.y)*b->vel.y; + n.y = ( -2*b->target.perp_vector.x*b->target.perp_vector.y)*b->vel.x + + (1-2*b->target.perp_vector.y*b->target.perp_vector.y)*b->vel.y; + b->vel.x = n.x; + b->vel.y = n.y; + } + else { + b->vel.x = ((float)RANDOM( -10000, 10000 )) / 10000; + b->vel.y = (float)(RANDOM( -10000, 10000 )) / 10000; + } + if ( b->target.side >= CORNER_UPPER_LEFT && !chaos_reflect ) + ball_mask_vel( b, old_vx, BALL_ADD_ENTROPY ); + else + ball_mask_vel( b, old_vx, BALL_NO_ENTROPY ); + /* only use 2 degree steps */ + b->angle = vec2angle( &b->vel ); + angle2vec( b->angle, &b->vel ); + vector_set_length( &b->vel, cur_game->ball_v ); + + /* reset contact time: this ball is working for its paddle so it + * was cheating if it would be allowed to bring a new ball to + * game */ + 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. */ + b->target.exists = 0; + /* check targets */ + balls_check_targets( b->target.mx, b->target.my ); + shots_check_targets( b->target.mx, b->target.my ); +} +/* +==================================================================== +Handle ball's contact with paddle: reflect at perpendicular (normed) +or attach. +==================================================================== +*/ +void ball_handle_paddle_contact( Ball *ball, Paddle *paddle, Vector perp_vector ) +{ + float old_vx = ball->vel.x; + Vector c; /* A(perp_vector) = c; */ + + ball->paddle = paddle; + + /* valid perpendicular? */ + if ( perp_vector.x == 0 && perp_vector.y == 0 ) + return; + + /* reflect */ + /* a simple 2x2 matrix does this for us */ + c.x = (1-2*perp_vector.x*perp_vector.x)*ball->vel.x + + ( -2*perp_vector.x*perp_vector.y)*ball->vel.y; + c.y = ( -2*perp_vector.x*perp_vector.y)*ball->vel.x + + (1-2*perp_vector.y*perp_vector.y)*ball->vel.y; + /* if this new velocity vector does not bring back the ball to the playing field + thus the lower hemispherical parts of the paddle were hit we consider this + to be no reflection at all to prevent balls from getting stuck when 'bonus floor' + is active */ + if ( (paddle->type == PADDLE_TOP && c.y < 0) || + (paddle->type == PADDLE_BOTTOM && c.y > 0) ) + return; + + /* set new speed vector */ + ball->vel.x = c.x; ball->vel.y = c.y; +#ifdef PADDLE_FRICTION + /* transfer friction to ball's velocity if not convex */ + if ( cur_game->paddle_is_convex ) + ball->vel.x += paddle->v_x * paddle->friction; +#endif + ball_mask_vel( ball, old_vx, BALL_NO_ENTROPY ); + /* only use 2 degree steps */ + ball->angle = vec2angle( &ball->vel ); + angle2vec( ball->angle, &ball->vel ); + vector_set_length( &ball->vel, cur_game->ball_v ); + + /* reset position if in wall */ + if ( ball->x < BRICK_WIDTH ) { + ball->cur.x = BRICK_WIDTH; + ball->x = (int)ball->cur.x; + } + else + if ( ball->x + ball_dia >= 640 - BRICK_WIDTH ) { + ball->cur.x = 640 - BRICK_WIDTH - ball_dia; + ball->x = (int)ball->cur.x; + } + if ( paddle->extra_active[EX_WALL] ) { + if ( paddle->type == PADDLE_BOTTOM ) { + if ( ball->cur.y + ball_dia > 480 - BRICK_HEIGHT - 1 ) { + ball->cur.y = 480 - BRICK_HEIGHT - 1 - ball_dia; + ball->y = (int)ball->cur.y; + } + } + else { + if ( ball->cur.y < BRICK_HEIGHT ) { + ball->cur.y = BRICK_HEIGHT; + ball->y = (int)ball->cur.y; + } + } + } + + /* attach ball if sticky */ + if ( paddle_slimy( paddle ) ) { + ball_attach( ball, paddle ); + return; + } + + /* count successful paddle contacts */ + paddle->balls_reflected++; + cur_game->mod.paddle_reflected_ball_count++; + last_ball_paddle_reflect_x = ball->x; /* HACK: used to play local sound */ + + /* get new target */ + ball->get_target = 1; + + /* reset contact time */ + paddle->last_ball_contact = SDL_GetTicks(); +} +/* +==================================================================== +Berechnung der Schnittpunkte der Geraden, die orthogonal zur +Geraden der Ballgeschwindigkeit durch den Ballmittelpunkt verläuft, +also der tangentialen Geschwindigkeitspunkte. +Der Geschwindigkeitsvektor wird auf 1 genormt. Ausgehend vom +Mittelpunkt wird der dazu orthogonale Vektor jeweils mit geändertem +Vorzeichen addiert und ergibt so die Tangentialpunkte. + +If you're able and willing to translate this please send me your +result. ;-) +==================================================================== +*/ +void ball_get_tangents( Ball *ball, Coord *left, Coord *right ) +{ + Vector norm_vel = ball->vel; + float center_x = ball->cur.x + ball_rad, center_y = ball->cur.y + ball_rad; + + vector_norm( &norm_vel ); + left->x = center_x + norm_vel.y * ball_rad; + left->y = center_y - norm_vel.x * ball_rad; + right->x = center_x - norm_vel.y * ball_rad; + right->y = center_y + norm_vel.x * ball_rad; +} +/* +==================================================================== +Check if the ball is on paddle's level and an reflect is +possible. +==================================================================== +*/ +int ball_paddle_contact_possible( Ball *ball, Paddle *paddle, Vector old ) +{ + if ( ball->attached ) return 0; /* was attached to a previous paddle */ + if ( !paddle_solid( paddle ) ) return 0; + if ( paddle->type == PADDLE_TOP ) { + if ( ball->vel.y > 0 ) return 0; + if ( ball->y > paddle->y + paddle->h - 1 ) return 0; /* below paddle */ + if ( ball->y + ball_dia <= paddle->y + ( paddle->h >> 1 ) ) + if ( old.y + ball_dia <= paddle->y + ( paddle->h >> 1 ) ) + return 0; /* already behind paddle */ + } + else { + if ( ball->vel.y < 0 ) return 0; /* ball moves up so no contact possible because + if it was below the paddle it has been + reflected by the bonus floor and MUST ignore + the paddle */ + if ( ball->y + ball_dia < paddle->y ) return 0; /* above paddle */ + if ( ball->y >= paddle->y + ( paddle->h >> 1 ) ) + if ( old.y >= paddle->y + ( paddle->h >> 1 ) ) + return 0; /* already behind paddle */ + } + return 1; +} +/* +==================================================================== +Check reflection of ball at paddle. 'old' is the position of +the ball before update. Used to compute direction. +==================================================================== +*/ +enum { CONTACT_LEFT = 1, CONTACT_MIDDLE, CONTACT_RIGHT }; +void ball_check_paddle_reflection( Ball *ball, Paddle *paddle ) +{ + Line ball_line; /* balls velocity line */ + Line paddle_line; /* paddle line */ + Coord pt, pt2; /* auxiliary point (result of intersection) */ + int contact = 0; /* paddle contact */ + Vector perp_vector; /* perpendicular of ball's direction change */ + Coord center = { ball->cur.x + ball_rad, ball->cur.y + ball_rad }; /* center of ball */ + Vector norm_vel; /* normed ball velocity vector */ + /* paddle is constructed as two hemispheres at the side and a cylinder in the middle */ + Coord right_hemi_center = { paddle->x + paddle->w - ( paddle->h >> 1 ), paddle->y + ( paddle->h >> 1 ) }; + Coord left_hemi_center = { paddle->x + ( paddle->h >> 1 ), paddle->y + ( paddle->h >> 1 ) }; + /* radius of hemispheres */ + int hemi_r = ( ball_rad ) + ( paddle->h >> 1 ); + /* if paddle's treated as convex these are the perpendiculars through the hemisphere centers */ + Vector left_convex_perp = { 1, (paddle->type == PADDLE_TOP)?-1:1 }; + /* paddle center */ + Coord paddle_center = { paddle->x + ( paddle->w >> 1 ), paddle->y + ( paddle->h >> 1 ) }; + /* center of the convex behaviour -- computed when reflecting by using + left/right_convex_perp and paddle_center */ + Coord convex_center; + /* perpendicular line used for convex behaviour */ + Line convex_line; + + /* the simple check for the y-position of ball and paddle is done + * in ball_paddle_contact_possible() so if we got here it's possible + * by velocity and position of ball that it hits the paddle + */ + + /* basic idea: + The paddle is constructed of a middle rectangle and two hemispheres. + We check the center line of the ball with the imaginary paddle that's size + is paddle_size + ball_rad. The intersection with this paddle is the reset point + for the ball at the same time (if sticky). + The perpendicular is computed as convex thing. (overwrites the perpendicular + set by the reflection) + */ + /* ball line */ + line_set( &ball_line, center.x, center.y, ball->vel.y / ball->vel.x ); + /* imaginary paddle upper/lower line + * -- we'll decide at intersection which hemipshere to check + */ + if ( paddle->type == PADDLE_TOP ) + line_set_hori( &paddle_line, paddle->y + paddle->h - 1 + ball_rad ); + else + line_set_hori( &paddle_line, paddle->y - ball_rad ); + line_intersect( &paddle_line, &ball_line, &pt ); + if ( pt.x < left_hemi_center.x ) { + /* intersect left */ + norm_vel = ball->vel; vector_norm( &norm_vel ); + if ( circle_intersect( left_hemi_center, hemi_r, + center, norm_vel, + &pt, &pt2 ) ) { + if ( VEC_DIST( center, left_hemi_center ) <= hemi_r ) { + if ( paddle->type == PADDLE_TOP ) { + /* use lower point as intersection */ + if ( pt.y < pt2.y ) pt = pt2; + } + else + /* use the higher point as this is the upper intersection */ + if ( pt.y > pt2.y ) pt = pt2; + /* use vector between hemi_sphere center and ball center + * as reflection perp */ + perp_vector = vector_get( center.x - left_hemi_center.x, + center.y - left_hemi_center.y ); + vector_norm( &perp_vector ); + /* had contact */ + contact = CONTACT_LEFT; + } + } + } + else + if ( pt.x > right_hemi_center.x ) { + /* intersect right */ + norm_vel = ball->vel; vector_norm( &norm_vel ); + if ( circle_intersect( right_hemi_center, hemi_r, + center, norm_vel, + &pt, &pt2 ) ) { + if ( VEC_DIST( center, right_hemi_center ) <= hemi_r ) { + if ( paddle->type == PADDLE_TOP ) { + /* use lower point as intersection */ + if ( pt.y < pt2.y ) pt = pt2; + } + else + /* use the higher point as this is the upper intersection */ + if ( pt.y > pt2.y ) pt = pt2; + /* use vector between hemi_sphere center and ball center + * as reflection perp */ + perp_vector = vector_get( center.x - right_hemi_center.x, + center.y - right_hemi_center.y ); + vector_norm( &perp_vector ); + /* had contact */ + contact = CONTACT_RIGHT; + } + } + } + else { + contact = CONTACT_MIDDLE; /* contact with middle part */ + perp_vector = vector_get( 0, 1 ); /* reflect at horizontal line */ + } + + /* if we got here 'pt' contains the intersection with the imaginary paddle so reset ball + to this position */ + if ( contact ) { + /* reset idle time */ + ball->idle_time = 0; + /* reset position if ball will be attached */ + if ( paddle_slimy( paddle ) ) { + ball->cur.x = pt.x - ( ball_rad ); + ball->cur.y = pt.y - ( ball_rad ); + ball->x = (int)ball->cur.x; ball->y = (int)ball->cur.y; + } + /* convex perpendicular */ + if ( cur_game->paddle_is_convex ) { + line_set_vert( &paddle_line, paddle_center.x ); + line_set( &convex_line, left_hemi_center.x, left_hemi_center.y, + vector_monotony( left_convex_perp ) ); + line_intersect( &paddle_line, &convex_line, &convex_center ); + /* get actual perp_vector */ + perp_vector.x = convex_center.x - pt.x; + perp_vector.y = convex_center.y - pt.y; + //vector_norm( &perp_vector ); + /* this vector is not normed but for whatever reason... + the reflection behaviour is much nicer this way */ + } + /* handle contact: attach, reflect, sound... */ + ball_handle_paddle_contact( ball, paddle, perp_vector ); + } +} +/* +==================================================================== +Intersect ball line with imaginary brick line. +Use target's map position and +set reset position (centered) and perp_vector of target. +ball_rad is substracted later in ball_get_target() +==================================================================== +*/ +enum { LINE_HORI = 0, LINE_VERT }; +int check_line( Line *ball_line, int type, int anchor, int range_start, int range_end, Coord *pt ) { + Line line; + if ( type == LINE_HORI ) + line_set_hori( &line, anchor ); + else + line_set_vert( &line, anchor ); + line_intersect( &line, ball_line, pt ); + if ( type == LINE_HORI ) { + if ( pt->x >= range_start && pt->x <= range_end ) return 1; + return 0; + } + else { + if ( pt->y >= range_start && pt->y <= range_end ) return 1; + return 0; + } +} +void ball_intersect_brick( Ball *ball, Target *target ) +{ + Line ball_line; + Coord pt; /* auxiliary point */ + int x = target->mx * BRICK_WIDTH; + int y = target->my * BRICK_HEIGHT; /* left upper corner of brick */ + int intersect = 0; /* intersected? */ + + /* ball_line */ + line_set( &ball_line, + ball->cur.x + ball_rad, + ball->cur.y + ball_rad, + ball->vel.y / ball->vel.x ); + + if ( ball->vel.x > 0 ) { + /* left */ + if ( check_line( &ball_line, + LINE_VERT, + x - ball_rad, + y - ball_rad, y + BRICK_HEIGHT + ball_rad, + &pt ) ) { + intersect = 1; + target->perp_vector = vector_get( 1, 0 ); + } + } + else { + /* right */ + if ( check_line( &ball_line, + LINE_VERT, + x + BRICK_WIDTH + ball_rad, + y - ball_rad, y + BRICK_HEIGHT + ball_rad, + &pt ) ) { + intersect = 1; + target->perp_vector = vector_get( 1, 0 ); + } + } + if ( !intersect ) { + if ( ball->vel.y > 0 ) { + /* top */ + if ( check_line( &ball_line, + LINE_HORI, + y - ball_rad, + x - ball_rad, x + BRICK_WIDTH + ball_rad, + &pt ) ) { + intersect = 1; + target->perp_vector = vector_get( 0, 1 ); + } + } + else { + /* bottom */ + if ( check_line( &ball_line, + LINE_HORI, + y + BRICK_HEIGHT + ball_rad, + x - ball_rad, x + BRICK_WIDTH + ball_rad, + &pt ) ) { + intersect = 1; + target->perp_vector = vector_get( 0, 1 ); + } + } + } + /* intersected */ + if ( intersect ) { + target->x = pt.x; + target->y = pt.y; + /* perp_vector is set */ + } +} +/* +==================================================================== +Reflect ball at target at target->side and set perp_vector +and reset position x,y of the target. Does not update the ball. +==================================================================== +*/ +void ball_reflect_at_side( Ball *ball, Target *target ) +{ + float old_vx; + int compute_vel, start; + Line ball_line; + Line brick_line; + Coord pt; + /* ball line */ + line_set( &ball_line, + ball->cur.x + ball_rad, + ball->cur.y + ball_rad, + ball->vel.y / ball->vel.x ); + /* brick line and perp vector */ + switch ( target->side ) { + case SIDE_LEFT: + line_set_vert( &brick_line, target->mx * BRICK_WIDTH - ball_rad ); + target->perp_vector = vector_get( 1, 0 ); + break; + case SIDE_RIGHT: + line_set_vert( &brick_line, + target->mx * BRICK_WIDTH + BRICK_WIDTH + ball_rad ); + target->perp_vector = vector_get( 1, 0 ); + break; + case SIDE_TOP: + line_set_hori( &brick_line, target->my * BRICK_HEIGHT - ball_rad ); + target->perp_vector = vector_get( 0, 1 ); + break; + case SIDE_BOTTOM: + line_set_hori( &brick_line, + target->my * BRICK_HEIGHT + BRICK_HEIGHT + ball_rad ); + target->perp_vector = vector_get( 0, 1 ); + break; + default: + fprintf( stderr, "Unknown side: %i\n", target->side ); + break; + } + /* intersect, it's already assured that we hit this brick so just get the reset position */ + line_intersect( &brick_line, &ball_line, &pt ); + target->x = pt.x; + target->y = pt.y; + /* check if ball slid into next brick because of high angle when + reflect at side (not corner) */ + compute_vel = 0; + switch ( target->side ) { + case SIDE_BOTTOM: + case SIDE_TOP: + if ( ball->vel.x > 0 ) + pt.x = target->x + ball_rad; + else + pt.x = target->x - ball_rad; + start = (int)pt.x / BRICK_WIDTH; + if ( cur_game->bricks[start][(int)target->y/BRICK_HEIGHT].type != MAP_EMPTY ) { + if ( ball->vel.x > 0 ) + target->x = start * BRICK_WIDTH - ball_rad - 1; + else + target->x = (start+1) * BRICK_WIDTH + ball_rad; + compute_vel = 1; + } + break; + case SIDE_LEFT: + case SIDE_RIGHT: + if ( ball->vel.y > 0 ) + pt.y = target->y + ball_rad; + else + pt.y = target->y - ball_rad; + start = (int)pt.y / BRICK_HEIGHT; + if ( cur_game->bricks[(int)target->x/BRICK_WIDTH][start].type != MAP_EMPTY ) { + if ( ball->vel.y > 0 ) + target->y = start * BRICK_HEIGHT - ball_rad - 1; + else + target->y = (start+1) * BRICK_HEIGHT + ball_rad; + compute_vel = 1; + } + break; + } + if ( compute_vel ) { + old_vx = ball->vel.x; + ball->vel.x = target->x - (ball->cur.x + ball_rad); + ball->vel.y = target->y - (ball->cur.y + ball_rad); + ball_mask_vel( ball, old_vx, BALL_NO_ENTROPY ); + /* should we mask to the 2deg steps here? yes! */ + ball->angle = vec2angle( &ball->vel ); + angle2vec( ball->angle, &ball->vel ); + vector_set_length( &ball->vel, cur_game->ball_v ); + } +} +/* +==================================================================== +Reflect ball at target but ignore target::side and reflect at +corner instead. Does not update the ball. +==================================================================== +*/ +void ball_reflect_at_corner( Ball *ball, Target *target, int corner ) +{ + Coord corner_center; /* center of corner circle */ + Coord ball_center = { ball->cur.x + ball_rad, ball->cur.y + ball_rad }; + Vector norm_vel = ball->vel; + Coord pt, pt2; /* intersection points */ + + /* norm velocity */ + vector_norm( &norm_vel ); + + /* set up center of corner */ + switch ( corner ) { + case CORNER_UPPER_LEFT: + corner_center = vector_get( + target->mx * BRICK_WIDTH, + target->my * BRICK_HEIGHT ); + break; + case CORNER_UPPER_RIGHT: + corner_center = vector_get( + target->mx * BRICK_WIDTH + BRICK_WIDTH - 1, + target->my * BRICK_HEIGHT ); + break; + case CORNER_LOWER_LEFT: + corner_center = vector_get( + target->mx * BRICK_WIDTH, + target->my * BRICK_HEIGHT + BRICK_HEIGHT - 1); + break; + case CORNER_LOWER_RIGHT: + corner_center = vector_get( + target->mx * BRICK_WIDTH + BRICK_WIDTH - 1, + target->my * BRICK_HEIGHT + BRICK_HEIGHT - 1); + break; + } + /* intersect */ + circle_intersect( corner_center, ball_rad + 2, ball_center, norm_vel, &pt, &pt2 ); + /* use nearest point for reset and perp vector */ + if ( VEC_DIST( ball_center, pt ) < VEC_DIST( ball_center, pt2 ) ) { + target->x = pt.x; + target->y = pt.y; + } + else { + target->x = pt2.x; + target->y = pt2.y; + } + /* compute the spherical perp vector + (corner center - intersection point) */ + target->perp_vector = + vector_get( corner_center.x - target->x, + corner_center.y - target->y ); + vector_norm( &target->perp_vector ); + /* this vector must operate within a 90° region depending on the corner. + if it doesn't we have a side reflection unnoticed by the previous + checks as we enclosed a corner. this is the only position to check + this as the reset position is different when a corner is enclosed. + doing this anywhere else would lead to errors. */ + switch ( corner ) { + case CORNER_UPPER_LEFT: + if ( target->perp_vector.x * target->perp_vector.y >= 0 ) { + /* we needed the spherical perp to determine if it is + really a corner however we might have set the + config option linear_corner */ + /*if ( config.linear_corner ) + target->perp_vector = vector_get( REC_SQRT_2, REC_SQRT_2 );*/ + break; + } + if ( target->y < corner_center.y || target->x >= corner_center.x ) + target->perp_vector = vector_get( 0, 1 ); /* top */ + else + target->perp_vector = vector_get( 1, 0 ); /* left */ + break; + case CORNER_LOWER_RIGHT: + if ( target->perp_vector.x * target->perp_vector.y >= 0 ) { + /*if ( config.linear_corner ) + target->perp_vector = vector_get( REC_SQRT_2, REC_SQRT_2 );*/ + break; + } + if ( target->y > corner_center.y || target->x <= corner_center.x ) + target->perp_vector = vector_get( 0, 1 ); /* bottom */ + else + target->perp_vector = vector_get( 1, 0 ); /* right */ + break; + case CORNER_UPPER_RIGHT: + if ( target->perp_vector.x * target->perp_vector.y <= 0 ) { + /*if ( config.linear_corner ) + target->perp_vector = vector_get( REC_SQRT_2, -REC_SQRT_2 );*/ + break; + } + if ( target->y < corner_center.y || target->x <= corner_center.x ) + target->perp_vector = vector_get( 0, 1 ); /* top */ + else + target->perp_vector = vector_get( 1, 0 ); /* right */ + break; + case CORNER_LOWER_LEFT: + if ( target->perp_vector.x * target->perp_vector.y <= 0 ) { + /*if ( config.linear_corner ) + target->perp_vector = vector_get( REC_SQRT_2, -REC_SQRT_2 );*/ + break; + } + if ( target->y > corner_center.y || target->x >= corner_center.x ) + target->perp_vector = vector_get( 0, 1 ); /* bottom */ + else + target->perp_vector = vector_get( 1, 0 ); /* left */ + break; + } +} +/* +==================================================================== +Reflect ball at target ball:t and decide by ball::t::side wether +to use reflect_at_side or reflect_at_corner. +==================================================================== +*/ +void ball_reflect( Ball *ball ) +{ + if ( !ball->target.exists ) return; + if ( ball->target.side <= SIDE_LEFT ) + ball_reflect_at_side( ball, &ball->target ); + else + ball_reflect_at_corner( ball, &ball->target, ball->target.side ); +} + +/* +==================================================================== +Check if ball's tangents enclose a corner and update target's side. +==================================================================== +*/ +void ball_corner_check( Ball *ball, + Target *target_left_tang, Target *target_right_tang, Target *target ) +{ + /* balls moving ... */ + if ( ball->vel.y > 0 ) { + if ( ball->vel.x < 0 ) { + /* ... down left */ + if ( target == target_right_tang ) + if ( target->side == SIDE_TOP ) + target->side = CORNER_UPPER_RIGHT; + if ( target == target_left_tang ) + if ( target->side == SIDE_RIGHT ) + target->side = CORNER_UPPER_RIGHT; + } + else { + /* ... down right */ + if ( target == target_left_tang ) + if ( target->side == SIDE_TOP ) + target->side = CORNER_UPPER_LEFT; + if ( target == target_right_tang ) + if ( target->side == SIDE_LEFT ) target->side = CORNER_UPPER_LEFT; + } + } + else { + if ( ball->vel.x < 0 ) { + /* ... up left */ + if ( target == target_right_tang ) + if ( target->side == SIDE_RIGHT ) + target->side = CORNER_LOWER_RIGHT; + if ( target == target_left_tang ) + if ( target->side == SIDE_BOTTOM ) + target->side = CORNER_LOWER_RIGHT; + } + else { + /* ... up right */ + if ( target == target_left_tang ) + if ( target->side == SIDE_LEFT ) + target->side = CORNER_LOWER_LEFT; + if ( target == target_right_tang ) + if ( target->side == SIDE_BOTTOM ) + target->side = CORNER_LOWER_LEFT; + } + } +} + +/* +==================================================================== +Public +==================================================================== +*/ + +/* +==================================================================== +Create ball at position +==================================================================== +*/ +Ball* ball_create( int x, int y ) +{ + Ball *ball = salloc( 1, sizeof( Ball ) ); + ball->cur.x = x; + ball->x = x; + ball->cur.y = y; + ball->y = y; + ball->attached = 0; + ball->idle_time = 0; + ball->moving_back = 0; + ball->return_allowed = 0; + ball_clear_target(&ball->target); + return ball; +} +/* +==================================================================== +Set a special ball property like metal ball. Unused now +as it is directly checked wether extra_active is 1. +==================================================================== +*/ +void balls_set_type( int type ) +{ +} +/* +==================================================================== +Set chaotic behaviour (random relfection). Unused as extra_active +is checked now. +==================================================================== +*/ +void balls_set_chaos( int chaos ) +{ +} +/* +==================================================================== +Update balls and detach attached balls if fire was pressed. +==================================================================== +*/ +void balls_update( int ms ) +{ + int top = 0, bottom = 0; /* num of lost balls */ + int i, x, y; + ListEntry *entry = cur_game->balls->head->next; + Ball *ball; + Vector old; /* old position of ball before update */ + int fired_attached, fire_dir; + + /* detach or fire balls from paddles */ + for ( i = 0; i < cur_game->paddle_count; i++ ) { + /* check wether paddles created new balls or released attached ones */ + if ( (cur_game->paddles[i]->ball_fire_delay-=ms) <= 0 ) + if ( cur_game->paddles[i]->fire_left || cur_game->paddles[i]->fire_right ) { + /* reset delay till next ball may be released */ + cur_game->paddles[i]->ball_fire_delay = BALL_FIRE_RATE; + /* get direction */ + fire_dir = cur_game->paddles[i]->fire_left?-1:1; + /* try to fire attached balls */ + fired_attached = balls_detach_from_paddle( cur_game->paddles[i], fire_dir ); + /* if no attached balls were fired but paddle has ammo left + * it creates a new ball in PINGPONG levels */ + if ( !fired_attached ) + if ( cur_game->level_type == LT_PINGPONG ) + if ( cur_game->paddles[i]->ball_ammo > 0 ) { + x = cur_game->paddles[i]->x + (cur_game->paddles[i]->w - ball_w) / 2; + if ( cur_game->paddles[i]->type == PADDLE_BOTTOM ) + y = cur_game->paddles[i]->y - ball_dia; + else + y = cur_game->paddles[i]->y + cur_game->paddles[i]->h; + ball = ball_create( x, y ); + ball->paddle = cur_game->paddles[i]; + if ( cur_game->balls_use_random_angle ) + ball_set_random_angle( ball, cur_game->ball_v ); + else { + ball->vel.x = 1.0 * fire_dir; + if ( ball->paddle->type == PADDLE_TOP ) + ball->vel.y = 1.2; + else + ball->vel.y = -1.2; + /* only use 2 degree steps */ + ball->angle = vec2angle( &ball->vel ); + angle2vec( ball->angle, &ball->vel ); + vector_set_length( &ball->vel, cur_game->ball_v ); + } + ball->get_target = 1; + list_add( cur_game->balls, ball ); + cur_game->paddles[i]->ball_ammo--; + } + } + + /* 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_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; + if ( cur_game->paddles[i]->type == PADDLE_BOTTOM ) + y = cur_game->paddles[i]->y - ball_dia; + else + y = cur_game->paddles[i]->y + cur_game->paddles[i]->h; + ball = ball_create( x, y ); + list_add( cur_game->balls, ball ); + ball_attach( ball, cur_game->paddles[i] ); + ball_set_random_angle( ball, cur_game->ball_v ); + } + } + + /* speed up/down balls on request */ + if ( cur_game->game_type == GT_LOCAL ) + { + if ( cur_game->paddles[0]->maxballspeed_request && !cur_game->paddles[0]->maxballspeed_request_old ) + { + cur_game->ball_v = cur_game->accelerated_ball_speed; + balls_set_velocity( cur_game->balls, cur_game->ball_v ); + } + if ( !cur_game->paddles[0]->maxballspeed_request && cur_game->paddles[0]->maxballspeed_request_old ) + { + if ( cur_game->extra_active[EX_SLOW] ) + cur_game->ball_v = cur_game->ball_v_min; + else + if ( cur_game->extra_active[EX_FAST] ) + cur_game->ball_v = cur_game->ball_v_max; + else + cur_game->ball_v = cur_game->diff->v_start + + cur_game->diff->v_add * cur_game->speedup_level; + balls_set_velocity( cur_game->balls, cur_game->ball_v ); + } + } + + /* increase speed */ + if ( !cur_game->extra_active[EX_SLOW] ) + if ( !cur_game->extra_active[EX_FAST] ) + if ( cur_game->game_type != GT_LOCAL || !cur_game->paddles[0]->maxballspeed_request ) + balls_inc_vel( ms ); + + /* return idle balls if not autoreturn */ + for ( i = 0; i < cur_game->paddle_count; i++ ) + if ( cur_game->paddles[i]->ball_return_key_pressed ) + balls_return( cur_game->paddles[i] ); + + /* move balls */ + while ( entry != cur_game->balls->tail ) { + ball = entry->item; + old.x = ball->cur.x; + old.y = ball->cur.y; + + /* update ball when moving back */ + if ( ball->moving_back ) { + /* update velocity */ + ball->vel.x = ( ball->paddle->x + ( ball->paddle->w >> 1 ) ) - + ( ball->cur.x + ball_rad ); + ball->vel.y = ( ball->paddle->y - ball_rad + 2 ) - ( ball->cur.y + ball_rad ); + vector_set_length( &ball->vel, cur_game->ball_v_max ); + /* new position */ + ball->cur.x += ball->vel.x * ms; + ball->cur.y += ball->vel.y * ms; + ball->x = (int)ball->cur.x; + ball->y = (int)ball->cur.y; + /* check if paddle is reached and attach the ball */ + if ( ball->x + ball_rad >= ball->paddle->x ) + if ( ball->x + ball_rad < ball->paddle->x + ball->paddle->w ) + if ( ball->y + ball_dia >= ball->paddle->y ) + if ( ball->y + ball_dia < ball->paddle->y + ball->paddle->h ) { + ball->cur.x = ball->paddle->x + ( ball->paddle->w >> 1 ) - ball_rad; + if ( ball->paddle->type == PADDLE_TOP ) + ball->cur.y = ball->paddle->y + ball->paddle->h; + else + ball->cur.y = ball->paddle->y - ball_dia; + ball->x = (int)ball->cur.x; + ball->y = (int)ball->cur.y; + ball_attach( ball, ball->paddle ); + ball_set_random_angle( ball, cur_game->ball_v ); + } + } + + /* update ball if not attached and not moving back */ + if ( !ball->attached && !ball->moving_back ) { + /* increase idle time -- paddle and brick_check will reset this value */ + if ( !ball->return_allowed ) + ball->idle_time += ms; + + /* check if reflected by any paddle */ + for ( i = 0; i < cur_game->paddle_count; i++ ) + if ( ball_paddle_contact_possible( ball, cur_game->paddles[i], old ) ) + ball_check_paddle_reflection( ball, cur_game->paddles[i] ); + + /* update target? */ + if ( ball->get_target ) { + ball_get_target( ball ); + ball->get_target = 0; + } + + /* new position if NOT attached*/ + if ( !ball->attached ) { + ball->cur.x += ball->vel.x * ms; + ball->cur.y += ball->vel.y * ms; + ball->x = (int)ball->cur.x; + ball->y = (int)ball->cur.y; + } + + /* reflection by brick */ + /* quick hack to handle the case when the ball was just attached but + * touches the wall and the slimy paddle in the same instant. - + * Patrick Hohmeyer 19.12.01 */ + if ( ball->target.exists && !ball->attached ) { + ball->target.cur_tm += ms; + ball_check_brick_reflection( ball ); + } + + /* check if idle time is above limit and the ball has a target because if + * there is no target the ball moves out of the window and should not go + * back to the paddle as it's moving into this direction by itself + */ + if ( ball->idle_time >= BALLS_IDLE_LIMIT ) + if ( !ball->return_allowed ) + if ( ball->target.exists ) { + /* okay send this ball back home or allow to do so by click */ + if ( !cur_game->balls_return_by_click ) { + ball->idle_time = 0; + ball->moving_back = 1; + ball->target.exists = 0; /* no target */ + } + else { + ball->idle_time = 0; + ball->return_allowed = 1; + } + } + } + + /* get next entry in list and remove those out of the window */ + entry = entry->next; + if (!ball->attached ) + if ( ball->x >= 640 || + ball->x + ball_dia < 0 || + ball->y >= 480 || + ball->y + ball_dia < 0 ) { + if ( ball->y + ball_rad <= 480 >> 1 ) + top++; + else + bottom++; + list_delete_entry( cur_game->balls, entry->prev ); + } + } + + /* update stats */ + cur_game->paddles[PADDLE_BOTTOM]->balls_lost += bottom; + if ( cur_game->paddles[PADDLE_TOP] ) + cur_game->paddles[PADDLE_TOP]->balls_lost += top; + + /* modify scores in network game. for local games lost balls do not + * change score. */ + if ( cur_game->game_type == GT_NETWORK ) { + /* modify scores when a ball got lost */ + if ( cur_game->level_type == LT_PINGPONG ) { + /* in pingpong a lost ball gives opponent one point and + * the paddle that lost the ball can bring it back to + * game */ + cur_game->paddles[PADDLE_BOTTOM]->score += top; + cur_game->paddles[PADDLE_TOP]->score += bottom; + cur_game->paddles[PADDLE_BOTTOM]->ball_ammo += bottom; + cur_game->paddles[PADDLE_TOP]->ball_ammo += top; + } + else { + /* in a normal level 10% of score gets lost and + * last contact time is reset so that it will take + * ten seconds penalty before a new ball is + * generated. */ + if ( top ) { + while ( top-- > 0 ) + cur_game->paddles[PADDLE_TOP]->score = + 90 * cur_game->paddles[PADDLE_TOP]->score / 100; + cur_game->paddles[PADDLE_TOP]->last_ball_contact = SDL_GetTicks(); + } + if ( bottom ) { + while ( bottom-- > 0 ) + cur_game->paddles[PADDLE_BOTTOM]->score = + 90 * cur_game->paddles[PADDLE_BOTTOM]->score / 100; + cur_game->paddles[PADDLE_BOTTOM]->last_ball_contact = SDL_GetTicks(); + } + } + } +} +/* +==================================================================== +All balls with target mx,my will have there 'get_target' flag +set True so they compute a new target next time balls_update() +is called. If 'mx' is -1 all balls will set their flag. +==================================================================== +*/ +void balls_check_targets(int mx, int my) { + Ball *ball; + int reset = 0; + list_reset( cur_game->balls ); + while ( ( ball = list_next( cur_game->balls ) ) ) + if ( !ball->attached && !ball->moving_back ) + if ( mx == -1 || ( ball->target.mx == mx && ball->target.my == my ) ) { + /* As we don't have a constant velocity but assume one it is possible that + * the ball is within a wall when this function is called because it actually + * passed it's reset position without time expiration because of the velocity + * change. So we have to check here if it is already behind this position + * and if so simply reset here. This doesn't hurt as this would happen + * before reflection, too. */ + if ( ball->target.exists ) { + if ( ball->vel.y > 0 ) { + if ( ball->cur.y > ball->target.y ) + reset = 1; + } + else { + if ( ball->cur.y < ball->target.y ) + reset = 1; + } + if ( ball->vel.x > 0 ) { + if ( ball->cur.x > ball->target.x ) + reset = 1; + } + else { + if ( ball->cur.x < ball->target.x ) + reset = 1; + } + if ( reset ) { + ball->cur.x = ball->target.x; + ball->cur.y = ball->target.y; + ball->x = (int)ball->cur.x; + ball->y = (int)ball->cur.y; + } + } + ball->get_target = 1; + } +} +/* +==================================================================== +Adjust velocity of ball to spare out any illegal values. +Add a little entropy to the vector if 'entropy' is True. +==================================================================== +*/ +void ball_mask_vel(Ball *b, float old_vx, int entropy ) +{ + float m, entropy_level = 0; + + if ( b->vel.x == 0 && b->vel.y == 0 ) return; + + /* b->vel.x == 0 would cause seg faults */ + if (b->vel.x == 0) { + if (old_vx < 0) + b->vel.x = 0.01; + else + b->vel.x = -0.01; + } + + if ( entropy == BALL_ADD_ENTROPY ) + entropy_level = (float)((rand() % 81)+40)/1000.0; + + m = b->vel.y / b->vel.x; + if (fabs(m) < ball_vhmask) { + /* mask angles from 70 to 110 and -110 to -70 */ + if (b->vel.y < 0) + b->vel.y = -fabs(ball_vhmask * b->vel.x); + else + b->vel.y = fabs(ball_vhmask * b->vel.x); + if ( entropy == BALL_ADD_ENTROPY ) + b->vel.x -= b->vel.x * entropy_level; + } + else + if (fabs(m) > ball_vvmask) { + /* mask angles from -10 to 10 and 170 to 190 */ + if (b->vel.x < 0) + b->vel.x = -fabs(b->vel.y / ball_vvmask); + else + b->vel.x = fabs(b->vel.y / ball_vvmask); + if ( entropy == BALL_ADD_ENTROPY ) + b->vel.x += b->vel.x * entropy_level; + } + else + if ( entropy == BALL_ADD_ENTROPY ) { + if ( rand() % 2 ) + entropy_level = -entropy_level; + b->vel.x += b->vel.x * entropy_level; + } + + /* avoid 45° angles */ + if (b->vel.x == b->vel.y) + b->vel.x *= 0.98; + + /* adjust speed */ + vector_set_length( &b->vel, cur_game->ball_v ); +} +/* +==================================================================== +Get target for a ball. +==================================================================== +*/ +enum { TANG_LEFT = 0, TANG_RIGHT }; +enum { DIR_UP = 0, DIR_DOWN, DIR_LEFT, DIR_RIGHT }; +void ball_get_target( Ball *ball ) +{ + int cur_tang; + float mono; /* monotony */ + Coord tang_pts[2]; /* tangential points */ + Line tang; /* current tangent */ + Coord center = { + ball->cur.x + ball_rad, + ball->cur.y + ball_rad }; /* ball center */ + int start, end, dir, line_pos, change; /* used to intersect the brick grid */ + Line cur_line; /* dito */ + Coord pt; /* auxiliary point. used for this 'n' that */ + Target targets[2]; /* targets hit by the tangents: nearest is the actual target */ + Target hori_target[2], vert_target[2]; /* used to get target of tangent */ + float dist; /* distance between two points */ + Vector norm_vel; /* normed ball velocity */ +#ifdef WITH_BUG_REPORT + char tang_target_chosen_str[2][128]; /* either hori or vert target chosen */ + char side_str[128]; + Coord test_pts[2]; +#endif + Target *prim, *sec; /* primary, secondary target */ + int maybe_corner; + +#ifdef WITH_BUG_REPORT + side_str[0] = 0; +#endif + + /* balls moving back to paddle must not be reflected */ + if ( ball->moving_back ) return; + /* attached balls MUST NOT be reflected!!!! */ + if ( ball->attached ) return; + /* balls already out of the screen though still visible don't need new reflection, too */ + if ( ball->cur.y + ball_dia >= 480 - 1 ) return; + + /* clear ball targets */ + ball_clear_target( &ball->target ); + ball_clear_target( &targets[TANG_LEFT] ); + ball_clear_target( &targets[TANG_RIGHT] ); + /* monotony */ + mono = ball->vel.y / ball->vel.x; + /* normed velocity */ + norm_vel = ball->vel; vector_norm( &norm_vel ); + /* tangential points */ + ball_get_tangents( ball, &tang_pts[TANG_LEFT], &tang_pts[TANG_RIGHT] ); + /* get all map bricks the tangents intersect and check target */ + for ( cur_tang = 0; cur_tang < 2; cur_tang++ ) { + /* clear targets */ + ball_clear_target( &hori_target[cur_tang] ); + ball_clear_target( &vert_target[cur_tang] ); + /* current tangent */ + line_set( &tang, tang_pts[cur_tang].x, tang_pts[cur_tang].y, mono ); + /* intersect horizontal lines */ + /* get direction */ + dir = DIR_DOWN; + if ( ball->vel.y < 0 ) dir = DIR_UP; + /* get starting line */ + start = ((int)( tang_pts[cur_tang].y / BRICK_HEIGHT )) * BRICK_HEIGHT; + /* get end line */ + if ( dir == DIR_UP ) + end = 0; + else + end = ( MAP_HEIGHT - 1 ) * BRICK_HEIGHT; + /* adjust lines if ball moves up */ + if ( dir == DIR_UP ) { + start += BRICK_HEIGHT - 1; + end += BRICK_HEIGHT - 1; + } + /* get position change */ + change = BRICK_HEIGHT; + if ( dir == DIR_UP ) change = -change; + /* we're at this brick so we can't reflect here */ + start += change; + /* intersect */ + line_pos = start; + /* end specifies the last line to be checked to we have to add + another line to state the break condition. + this last line is not checked */ + end += change; + while ( line_pos != end ) { + line_set_hori( &cur_line, line_pos ); + if ( line_intersect( &cur_line, &tang, &pt ) && ( pt.x >= 0 && pt.x < 640 ) ) + if ( cur_game->bricks[(int)pt.x / BRICK_WIDTH][(int)pt.y / BRICK_HEIGHT].type != MAP_EMPTY ) { + /* we got our horizontal target */ + hori_target[cur_tang].exists = 1; + hori_target[cur_tang].x = pt.x; + hori_target[cur_tang].y = pt.y; + hori_target[cur_tang].mx = (int)pt.x / BRICK_WIDTH; + hori_target[cur_tang].my = (int)pt.y / BRICK_HEIGHT; + if ( ball->vel.y < 0 ) + hori_target[cur_tang].side = SIDE_BOTTOM; + else + hori_target[cur_tang].side = SIDE_TOP; + break; /* we got our target for this tangent */ + } + line_pos += change; + } + /* intersect vertical lines */ + /* get direction */ + dir = DIR_RIGHT; + if ( ball->vel.x < 0 ) dir = DIR_LEFT; + /* get starting line */ + start = ((int)( tang_pts[cur_tang].x / BRICK_WIDTH )) * BRICK_WIDTH; + /* get end line */ + if ( dir == DIR_LEFT ) + end = 0; + else + end = ( MAP_WIDTH - 1 ) * BRICK_WIDTH; + /* adjust lines if ball moves up */ + if ( dir == DIR_LEFT ) { + start += BRICK_WIDTH - 1; + end += BRICK_WIDTH - 1; + } + /* get position change */ + change = BRICK_WIDTH; + if ( dir == DIR_LEFT ) change = -change; + /* we're at this brick so we can't reflect here */ + start += change; + /* intersect */ + line_pos = start; + /* end specifies the last line to be checked too we have to add + another line to state the break condition. + this last line is not checked */ + end += change; + while ( line_pos != end ) { + line_set_vert( &cur_line, line_pos ); + if ( line_intersect( &cur_line, &tang, &pt ) && ( pt.y >= 0 && pt.y < 480 ) ) + if ( cur_game->bricks[(int)pt.x / BRICK_WIDTH][(int)pt.y / BRICK_HEIGHT].type != MAP_EMPTY ) { + /* we got our vertical target */ + vert_target[cur_tang].exists = 1; + vert_target[cur_tang].x = pt.x; + vert_target[cur_tang].y = pt.y; + vert_target[cur_tang].mx = (int)pt.x / BRICK_WIDTH; + vert_target[cur_tang].my = (int)pt.y / BRICK_HEIGHT; + if ( ball->vel.x < 0 ) + vert_target[cur_tang].side = SIDE_RIGHT; + else + vert_target[cur_tang].side = SIDE_LEFT; + break; /* we got our target for this tangent */ + } + line_pos += change; + } + /* get closest target */ + if ( !hori_target[cur_tang].exists ) { + targets[cur_tang] = vert_target[cur_tang]; +#ifdef WITH_BUG_REPORT + if ( !vert_target[cur_tang].exists ) + sprintf( tang_target_chosen_str[cur_tang], "No target chosen." ); + else + sprintf( tang_target_chosen_str[cur_tang], "Vertical target chosen." ); +#endif + } + else + if ( !vert_target[cur_tang].exists ) { + targets[cur_tang] = hori_target[cur_tang]; +#ifdef WITH_BUG_REPORT + sprintf( tang_target_chosen_str[cur_tang], "Horizontal target chosen." ); +#endif + } + else { + /* check the relation and choose the correct target */ + /* if vertical and hori hit the same brick we have hit the corner */ + if ( hori_target[cur_tang].mx == vert_target[cur_tang].mx && hori_target[cur_tang].my == vert_target[cur_tang].my ) { + /* congrats! we hit the exact corner pixel! now we have to decide by corner and + tangent which target to use */ + if ( cur_tang == TANG_LEFT ) { + /* left tangent */ + if ( ball->vel.y > 0 ) { + if ( ball->vel.x > 0 ) /* upper, right */ + targets[cur_tang] = vert_target[cur_tang]; + else + targets[cur_tang] = hori_target[cur_tang]; + } + else { + if ( ball->vel.x > 0 ) /* lower, right */ + targets[cur_tang] = hori_target[cur_tang]; + else + targets[cur_tang] = vert_target[cur_tang]; + } + } + else { + /* right tangent */ + if ( ball->vel.y > 0 ) { + if ( ball->vel.x > 0 ) /* upper, right */ + targets[cur_tang] = hori_target[cur_tang]; + else + targets[cur_tang] = vert_target[cur_tang]; + } + else { + if ( ball->vel.x > 0 ) /* lower, right */ + targets[cur_tang] = vert_target[cur_tang]; + else + targets[cur_tang] = hori_target[cur_tang]; + } + } +#ifdef WITH_BUG_REPORT + if ( targets[cur_tang].x == hori_target[cur_tang].x && targets[cur_tang].y == hori_target[cur_tang].y ) + sprintf( tang_target_chosen_str[cur_tang], "(TRICKY) Horizontal target chosen." ); + else + sprintf( tang_target_chosen_str[cur_tang], "(TRICKY) Vertical target chosen." ); +#endif + } + else { + if ( VEC_DIST( tang_pts[cur_tang], vector_get( hori_target[cur_tang].x, hori_target[cur_tang].y ) ) < VEC_DIST( tang_pts[cur_tang], vector_get( vert_target[cur_tang].x, vert_target[cur_tang].y ) ) ) { + targets[cur_tang] = hori_target[cur_tang]; +#ifdef WITH_BUG_REPORT + sprintf( tang_target_chosen_str[cur_tang], "Horizontal target chosen." ); +#endif + } + else { + targets[cur_tang] = vert_target[cur_tang]; +#ifdef WITH_BUG_REPORT + sprintf( tang_target_chosen_str[cur_tang], "Vertical target chosen." ); +#endif + } + } + } + } /* now we have the two targets hit by the tangents */ + /* whatever's up the nearest brick is hit */ + if ( targets[TANG_LEFT].exists || targets[TANG_RIGHT].exists ) { + prim = sec = 0; + if ( !targets[TANG_LEFT].exists || !targets[TANG_RIGHT].exists ) { + if ( targets[TANG_LEFT].exists ) + prim = &targets[TANG_LEFT]; + else + prim = &targets[TANG_RIGHT]; + } + else { + if ( VEC_DIST( center, vector_get( targets[TANG_RIGHT].x, targets[TANG_RIGHT].y ) ) < VEC_DIST( center, vector_get( targets[TANG_LEFT].x, targets[TANG_LEFT].y ) ) ) { + prim = &targets[TANG_RIGHT]; + sec = &targets[TANG_LEFT]; + } + else { + prim = &targets[TANG_LEFT]; + sec = &targets[TANG_RIGHT]; + } + } + /* however, the primary target maybe be blocked by another brick or may be a corner */ + /* check if side of prim target isn't blocked by a brick */ + switch ( prim->side ) { + case SIDE_TOP: + if ( cur_game->bricks[prim->mx][prim->my - 1].type != MAP_EMPTY ) { + if ( ball->vel.x > 0 ) + prim->side = SIDE_LEFT; + else + prim->side = SIDE_RIGHT; +#ifdef WITH_BUG_REPORT + sprintf( side_str, "Had to change side as TOP wasn't appropriate!" ); +#endif + } + break; + case SIDE_BOTTOM: + if ( cur_game->bricks[prim->mx][prim->my + 1].type != MAP_EMPTY ) { + if ( ball->vel.x > 0 ) + prim->side = SIDE_LEFT; + else + prim->side = SIDE_RIGHT; +#ifdef WITH_BUG_REPORT + sprintf( side_str, "Had to change side as BOTTOM wasn't appropriate!" ); +#endif + } + break; + case SIDE_LEFT: + if ( cur_game->bricks[prim->mx - 1][prim->my].type != MAP_EMPTY ) { + if ( ball->vel.y > 0 ) + prim->side = SIDE_TOP; + else + prim->side = SIDE_BOTTOM; +#ifdef WITH_BUG_REPORT + sprintf( side_str, "Had to change side as LEFT wasn't appropriate!" ); +#endif + } + break; + case SIDE_RIGHT: + if ( cur_game->bricks[prim->mx + 1][prim->my].type != MAP_EMPTY ) { + if ( ball->vel.y > 0 ) + prim->side = SIDE_TOP; + else + prim->side = SIDE_BOTTOM; +#ifdef WITH_BUG_REPORT + sprintf( side_str, "Had to change side as RIGHT wasn't appropriate!" ); +#endif + } + break; + } + /* now it still may be a corner */ + if ( sec == 0 || prim->mx != sec->mx || prim->my != sec->my || prim->side != sec->side ) { + maybe_corner = 1; + if ( ball->vel.y > 0 ) { + if ( ball->vel.x > 0 ) { + /* upper left corner */ + if ( cur_game->bricks[prim->mx][prim->my - 1].type != MAP_EMPTY ) maybe_corner = 0; + if ( cur_game->bricks[prim->mx - 1][prim->my].type != MAP_EMPTY ) maybe_corner = 0; + } + else { + /* upper right corner */ + if ( cur_game->bricks[prim->mx][prim->my - 1].type != MAP_EMPTY ) maybe_corner = 0; + if ( cur_game->bricks[prim->mx + 1][prim->my].type != MAP_EMPTY ) maybe_corner = 0; + } + } + else { + if ( ball->vel.x > 0 ) { + /* lower left corner */ + if ( cur_game->bricks[prim->mx][prim->my + 1].type != MAP_EMPTY ) maybe_corner = 0; + if ( cur_game->bricks[prim->mx - 1][prim->my].type != MAP_EMPTY ) maybe_corner = 0; + } + else { + /* lower right corner */ + if ( cur_game->bricks[prim->mx][prim->my + 1].type != MAP_EMPTY ) maybe_corner = 0; + if ( cur_game->bricks[prim->mx + 1][prim->my].type != MAP_EMPTY ) maybe_corner = 0; + } + } + if ( maybe_corner ) + ball_corner_check( ball, &targets[TANG_LEFT], &targets[TANG_RIGHT], prim ); + } + /* we updated primary's side info correctly and may reflect now */ + ball->target = *prim; + ball_reflect( ball ); + /* we got the reset position and the perpvector so finalize target */ + /* compute time: assume constant velocity: velocity change must not be too high! */ + dist = sqrt( SQUARE(center.x - ball->target.x) + SQUARE(center.y - ball->target.y) ); + ball->target.time = (int)floor(dist / cur_game->ball_v); + /* target's reset position is center position right now but + we need the upper left corner of the ball */ + ball->target.x -= ball_rad; ball->target.y -= ball_rad; + /* some error information */ +#ifdef WITH_BUG_REPORT + pt.x = ball->cur.x; pt.y = ball->cur.y; + ball->cur.x = ball->target.x; ball->cur.y = ball->target.y; + ball_get_tangents( ball, &test_pts[TANG_LEFT], &test_pts[TANG_RIGHT] ); + ball->cur.x = pt.x; ball->cur.y = pt.y; + if ( cur_game->bricks[(int)test_pts[0].x/BRICK_WIDTH][(int)test_pts[0].y/BRICK_HEIGHT].type != MAP_EMPTY || + cur_game->bricks[(int)test_pts[1].x/BRICK_WIDTH][(int)test_pts[1].y/BRICK_HEIGHT].type != MAP_EMPTY ) { + printf( "*****\n" ); + printf( "Test Failed: %4.2f,%4.2f (%i,%i):\n", + ball->target.x+ball_rad, ball->target.y+ball_rad, + (int)(ball->target.x+ball_rad)/BRICK_WIDTH, + (int)(ball->target.y+ball_rad)/BRICK_HEIGHT ); + printf( "Left Tangent %4.2f,%4.2f (%i,%i) or Right Tangent %4.2f,%4.2f (%i,%i)\n", + test_pts[0].x,test_pts[0].y, + (int)test_pts[0].x/BRICK_WIDTH,(int)test_pts[0].y/BRICK_HEIGHT, + test_pts[1].x,test_pts[1].y, + (int)test_pts[1].x/BRICK_WIDTH,(int)test_pts[1].y/BRICK_HEIGHT); + printf( "*****\n" ); + printf( "2.4: Balls: %i\n", cur_game->balls->count ); + if ( targets[TANG_LEFT].exists ) { + printf( "Left Tangential Point: %4.2f,%4.2f\n", + tang_pts[TANG_LEFT].x, tang_pts[TANG_LEFT].y ); + printf( "Left Tangent: Horizontal: %i,%i, %i (%4.2f,%4.2f)\n", + hori_target[TANG_LEFT].mx, hori_target[TANG_LEFT].my, hori_target[TANG_LEFT].side, + hori_target[TANG_LEFT].x, hori_target[TANG_LEFT].y ); + printf( "Left Tangent: Vertical: %i,%i, %i (%4.2f,%4.2f)\n", + vert_target[TANG_LEFT].mx, vert_target[TANG_LEFT].my, vert_target[TANG_LEFT].side, + vert_target[TANG_LEFT].x, vert_target[TANG_LEFT].y ); + printf( "%s\n", tang_target_chosen_str[TANG_LEFT] ); + } + if ( targets[TANG_RIGHT].exists ) { + printf( "Right Tangential Point: %4.2f,%4.2f\n", + tang_pts[TANG_RIGHT].x, tang_pts[TANG_RIGHT].y ); + printf( "Right Tangent: Horizontal: %i,%i, %i (%4.2f,%4.2f)\n", + hori_target[TANG_RIGHT].mx, hori_target[TANG_RIGHT].my, hori_target[TANG_RIGHT].side, + hori_target[TANG_RIGHT].x, hori_target[TANG_RIGHT].y ); + printf( "Right Tangent: Vertical: %i,%i, %i (%4.2f,%4.2f)\n", + vert_target[TANG_RIGHT].mx, vert_target[TANG_RIGHT].my, vert_target[TANG_RIGHT].side, + vert_target[TANG_RIGHT].x, vert_target[TANG_RIGHT].y ); + printf( "%s\n", tang_target_chosen_str[TANG_RIGHT] ); + } + if ( side_str[0] != 0 ) printf( "BTW: %s\n", side_str ); + printf( "-----\n" ); + ball_print_target_info( ball ); + printf("*****\n"); + printf( "\nYou encountered a bug! Please send this output to kulkanie@gmx.net. Thanks!\n" ); + //exit(1); + /* move ball back to paddle as the current target is nonsense */ + ball->target.exists = 0; + ball->idle_time = 0; + ball->moving_back = 1; + ball->return_allowed = 0; + } +#endif + } +} +/* +==================================================================== +Increase velocity acording to vel_change +==================================================================== +*/ +void balls_inc_vel( int ms ) +{ + Ball *ball; + + if ( cur_game->ball_v >= cur_game->ball_v_max ) return; + + if ( !delay_timed_out( &cur_game->speedup_delay, ms ) ) return; + + cur_game->ball_v += cur_game->diff->v_add; + cur_game->speedup_level++; + + list_reset( cur_game->balls ); + while ( ( ball = list_next( cur_game->balls ) ) != 0 ) { + if ( ball->attached ) continue; + vector_set_length( &ball->vel, cur_game->ball_v ); + } +} +/* +==================================================================== +Return all balls that have ball->return_allowed True. +==================================================================== +*/ +void balls_return( Paddle *paddle ) +{ + Ball *ball; + + list_reset( cur_game->balls ); + while ( ( ball = list_next( cur_game->balls ) ) != 0 ) + if ( ball->return_allowed && ball->paddle == paddle ) { + ball->moving_back = 1; + ball->target.exists = 0; + ball->return_allowed = 0; + } +} + +/* set random starting angle for ball according to its paddle */ +void ball_set_random_angle( Ball *ball, double ball_v ) +{ + if ( ball->paddle->type == PADDLE_TOP ) + ball->vel.y = 1.0; + else + ball->vel.y = -1.0; + ball->vel.x = (float)((rand() % 145) + 6); + if ( rand() % 2 ) + ball->vel.x /= -100.0; + else + ball->vel.x /= 100.0; + + /* only use 2 degree steps */ + ball->angle = vec2angle( &ball->vel ); + angle2vec( ball->angle, &ball->vel ); + ball->vel.x *= ball_v; ball->vel.y *= ball_v; +} + +/* +==================================================================== +Set velocity of all balls and get new targets if any. +==================================================================== +*/ +void balls_set_velocity( List *balls, double vel ) +{ + Ball *b; + double dist; + + list_reset( balls ); + while ( ( b = list_next( balls ) ) ) { + vector_set_length( &b->vel, vel ); + if ( b->target.exists ) { + dist = sqrt( SQUARE(b->cur.x - b->target.x) + + SQUARE(b->cur.y - b->target.y) ); + b->target.time = (int)floor(dist / vel); + b->target.cur_tm = 0; + } + } +} + +/* +==================================================================== +Detach all balls to the passed direction (-1 or 1) and return True +if there were any balls detached. As balls within walls are not +fired the result may differ from paddle::attached_ball_count! +==================================================================== +*/ +int balls_detach_from_paddle( Paddle *paddle, int dir ) +{ + Ball *ball; + int fired = 0; + + list_reset( cur_game->balls ); + while ( ( ball = list_next( cur_game->balls ) ) ) { + if ( !ball->attached || ball->paddle != paddle ) + continue; + /* balls in walls (hehe) are not fired */ + if ( ball->x + paddle->x < BRICK_WIDTH ) + continue; + if ( ball->x + ball_dia + paddle->x >= 640 - BRICK_WIDTH ) + continue; + /* release ball */ + ball->attached = 0; + ball->paddle->attached_ball_count--; + ball->moving_back = ball->idle_time = ball->return_allowed = 0; + ball->x += paddle->x; + ball->y += paddle->y; + ball->cur.x = ball->x; + ball->cur.y = ball->y; + if ( !cur_game->balls_use_random_angle ) { + /* when random angle is used the vector is not + * changed but the one before the attachment is + * used */ + ball->vel.x = (float)dir; + if ( ball->paddle->type == PADDLE_TOP ) + ball->vel.y = 1.2; + else + ball->vel.y = -1.2; + /* only use 2 degree steps */ + ball->angle = vec2angle( &ball->vel ); + angle2vec( ball->angle, &ball->vel ); + vector_set_length( &ball->vel, cur_game->ball_v ); + } + ball->get_target = 1; + fired = 1; + } + + /* if no balls are attached anymore set last contact time */ + if ( fired && paddle->attached_ball_count == 0 ) + paddle->last_ball_contact = SDL_GetTicks(); + + return fired; +} diff --git a/project/jni/application/lbreakout2/game/balls.h b/project/jni/application/lbreakout2/game/balls.h new file mode 100644 index 000000000..6e56549a0 --- /dev/null +++ b/project/jni/application/lbreakout2/game/balls.h @@ -0,0 +1,155 @@ +/*************************************************************************** + balls.h - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __BALLS_H +#define __BALLS_H + +/* +==================================================================== +Load/delete ball graphics +==================================================================== +*/ +void ball_load(); +void ball_delete(); +/* +==================================================================== +Create ball at position +==================================================================== +*/ +Ball* ball_create( int x, int y ); +/* +==================================================================== +Set a special ball property like metal ball. +==================================================================== +*/ +void balls_set_type( int type ); +/* +==================================================================== +Set chaotic behaviour (random relfection) +==================================================================== +*/ +void balls_set_chaos( int chaos ); +/* +==================================================================== +Clear ball list and attach one ball to paddle +==================================================================== +*/ +void balls_reset(); +/* +==================================================================== +Show/hide all balls +==================================================================== +*/ +void balls_hide(); +void balls_show_shadow(); +void balls_show(); +void balls_alphashow( int alpha ); +/* +==================================================================== +Update balls and detach attached balls if fire was pressed. +==================================================================== +*/ +void balls_update( int ms ); +/* +==================================================================== +All balls with target mx,my will have there 'get_target' flag +set True so they compute a new target next time balls_update() +is called. If 'mx' is -1 all balls will set their flag. +==================================================================== +*/ +void balls_check_targets(int mx, int my); +/* +==================================================================== +Adjust velocity of ball to spare out any illegal values. +Add a little entropy to the vector if 'entropy' is True. +==================================================================== +*/ +void ball_mask_vel(Ball *b, float old_vx, int entropy ); +/* +==================================================================== +Get target for a ball. +input : + Ball* b +function : + -check if ball b hits a brick and if so: + -compute the hitten brick in lev_map (int mx, my) + -the reset position of the ball after destroying the brick (float x, y) + -the time in milliseconds it takes the ball to hit the brick from its current position + by using ball_v as velocity (int time) + -the side at which the ball hits; might be LEFT, RIGHT, TOP, BOTTOM (int side) + -the reflection vector (float a); if reflecting at an horizontal wall it's a = {0, 1} else a = {1, 0} +==================================================================== +*/ +void ball_get_target( Ball *b ); +/* +==================================================================== +Increase velocity acording to vel_change +==================================================================== +*/ +void balls_inc_vel( int ms ); +/* +==================================================================== +Return all balls that have ball->return_allowed True to the paddle +(if they touched this one as last). +==================================================================== +*/ +void balls_return( Paddle *paddle ); + +/* set random starting angle for ball according to its paddle */ +void ball_set_random_angle( Ball *ball, double ball_v ); + +/* +==================================================================== +Check if the ball is on paddle's level and an reflect is +possible. +==================================================================== +*/ +int ball_paddle_contact_possible( Ball *ball, Paddle *paddle, Vector old ); + +/* +==================================================================== +Check reflection of ball at paddle. 'old' is the position of +the ball before update. Used to compute direction. +==================================================================== +*/ +void ball_check_paddle_reflection( Ball *ball, Paddle *paddle ); + +/* +==================================================================== +Set velocity of all balls and get new targets if any. +==================================================================== +*/ +void balls_set_velocity( List *balls, double vel ); + +/* +==================================================================== +Detach all balls to the passed direction (-1 or 1) and return True +if there were any balls detached. As balls within walls are not +fired the result may differ from paddle::attached_ball_count! +==================================================================== +*/ +int balls_detach_from_paddle( Paddle *paddle, int dir ); + +/* +==================================================================== +Clear contents of target. +==================================================================== +*/ +void ball_clear_target( Target *t ); + +#endif + diff --git a/project/jni/application/lbreakout2/game/bricks.c b/project/jni/application/lbreakout2/game/bricks.c new file mode 100644 index 000000000..aa93eb6cd --- /dev/null +++ b/project/jni/application/lbreakout2/game/bricks.c @@ -0,0 +1,1180 @@ +/*************************************************************************** + bricks.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "../client/lbreakout.h" +#include "extras.h" +#include "balls.h" +#include "bricks.h" +#include "mathfuncs.h" + +extern Game *cur_game; +extern int ball_dia; + +/* extras conversion table */ +Extra_Conv extra_conv_table[EX_NUMBER] = { + { EX_SCORE200, '0' }, + { EX_SCORE500, '1' }, + { EX_SCORE1000, '2' }, + { EX_SCORE2000, '3' }, + { EX_SCORE5000, '4' }, + { EX_SCORE10000, '5' }, + { EX_GOLDSHOWER, 'g' }, + { EX_LENGTHEN, '+' }, + { EX_SHORTEN, '-' }, + { EX_LIFE, 'l' }, + { EX_SLIME, 's' }, + { EX_METAL, 'm' }, + { EX_BALL, 'b' }, + { EX_WALL, 'w' }, + { EX_FROZEN, 'f' }, + { EX_WEAPON, 'p' }, + { EX_RANDOM, '?' }, + { EX_FAST, '>' }, + { EX_SLOW, '<' }, + { EX_JOKER, 'j' }, + { EX_DARKNESS, 'd' }, + { EX_CHAOS, 'c' }, + { EX_GHOST_PADDLE, '~' }, + { EX_DISABLE, '!' }, + { EX_TIME_ADD, '&' }, + { EX_EXPL_BALL, '*' }, + { EX_BONUS_MAGNET, '}' }, + { EX_MALUS_MAGNET, '{' }, + { EX_WEAK_BALL, 'W' } +}; +/* brick conversion table: brick id, char */ +Brick_Conv brick_conv_table[BRICK_COUNT] = { + { 'E', MAP_WALL, 0, -1, 0 }, + { '#', MAP_BRICK, 1, -1, 1000 }, + { '@', MAP_BRICK_CHAOS, 2, -1, 1000 }, + { 'a', MAP_BRICK, 3, 1, BRICK_SCORE * 1 }, + { 'b', MAP_BRICK, 4, 2, BRICK_SCORE * 2 }, + { 'c', MAP_BRICK, 5, 3, BRICK_SCORE * 3 }, + { 'v', MAP_BRICK, 6, 4, BRICK_SCORE * 4 }, + { 'x', MAP_BRICK_HEAL, 7, 1, BRICK_SCORE * 2}, + { 'y', MAP_BRICK_HEAL, 8, 2, BRICK_SCORE * 4}, + { 'z', MAP_BRICK_HEAL, 9, 3, BRICK_SCORE * 6}, + { 'd', MAP_BRICK, 10, 1, BRICK_SCORE }, + { 'e', MAP_BRICK, 11, 1, BRICK_SCORE }, + { 'f', MAP_BRICK, 12, 1, BRICK_SCORE }, + { 'g', MAP_BRICK, 13, 1, BRICK_SCORE }, + { 'h', MAP_BRICK, 14, 1, BRICK_SCORE }, + { 'i', MAP_BRICK, 15, 1, BRICK_SCORE }, + { 'j', MAP_BRICK, 16, 1, BRICK_SCORE }, + { 'k', MAP_BRICK, 17, 1, BRICK_SCORE }, + { '*', MAP_BRICK_EXP, 18, 1, BRICK_SCORE * 2 }, + { '!', MAP_BRICK_GROW, GROW_BRICK_ID, 1, BRICK_SCORE * 2 }, +}; + +/* +==================================================================== +Locals +==================================================================== +*/ + +static void brick_create_instable( Game *game, int life_time ); + +/* +==================================================================== +Initiate a brick explosion. +==================================================================== +*/ +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] ); +} + +/* +==================================================================== +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 ) { + if ( mx == (ball->x) / BRICK_WIDTH ) + if ( my == (ball->y) / BRICK_HEIGHT ) + return; + if ( mx == (ball->x + ball_dia) / BRICK_WIDTH ) + if ( my == (ball->y) / BRICK_HEIGHT ) + return; + if ( mx == (ball->x) / BRICK_WIDTH ) + if ( my == (ball->y + ball_dia) / BRICK_HEIGHT ) + return; + if ( mx == (ball->x + ball_dia) / BRICK_WIDTH ) + if ( my == (ball->y + ball_dia) / BRICK_HEIGHT ) + return; + } + + /* add brick */ + cur_game->bricks[mx][my].brick_c = brick_conv_table[id].c; + cur_game->bricks[mx][my].id = brick_conv_table[id].id; + cur_game->bricks[mx][my].type = brick_conv_table[id].type; + cur_game->bricks[mx][my].score = brick_conv_table[id].score; + cur_game->bricks[mx][my].dur = brick_conv_table[id].dur; + /* keep the extra that is already assigned to this position */ + cur_game->bricks[mx][my].exp_time = -1; + cur_game->bricks[mx][my].heal_time = -1; + /* adjust brick count */ + cur_game->bricks_left++; + cur_game->brick_count++; + /* add modification */ + bricks_add_mod( mx, my, HT_GROW, 0, vector_get(0,0), 0 ); + + /* get new targets */ + balls_check_targets( -1, 0 ); +} + +/* +==================================================================== +Remove brick from offscreen and screen. +Create shrapnells by type and impulse. +'paddle' is the paddle that initiated hit either by shot or ball. +==================================================================== +*/ +void brick_remove( int mx, int my, int type, Vector imp, Paddle *paddle ) +{ + int i,j,px,py; + int dir; + + /* if explosive set exp_time of surrounding bricks */ + if ( cur_game->bricks[mx][my].type == MAP_BRICK_EXP ) { + for ( i = mx - 1; i <= mx + 1; i++ ) + for ( j = my - 1; j <= my + 1; j++ ) + if ( i != mx || j != my ) + 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,BRICK_EXP_TIME,paddle ); + } + if ( cur_game->bricks[mx][my].type == MAP_BRICK_GROW ) { + for ( i = mx - 1; i <= mx + 1; i++ ) + for ( j = my - 1; j <= my + 1; j++ ) + if ( cur_game->bricks[i][j].type == MAP_EMPTY ) + brick_grow( i, j, RANDOM( BRICK_GROW_FIRST, BRICK_GROW_LAST ) ); + } + + /* decrease brick count if no indestructible brick was destroyed */ + if ( cur_game->bricks[mx][my].dur != -1 ) { + --cur_game->bricks_left; + + /* update stats */ + paddle->bricks_cleared++; + } + + /* remove brick from map */ + cur_game->bricks[mx][my].id = -1; + cur_game->bricks[mx][my].dur = -1; + cur_game->bricks[mx][my].exp_time = -1; + cur_game->bricks[mx][my].heal_time = -1; + cur_game->bricks[mx][my].type = MAP_EMPTY; + cur_game->bricks[mx][my].brick_c = ' '; + + px = mx*BRICK_WIDTH; + py = my*BRICK_HEIGHT; + + /* release extra if one exists */ + dir = ( paddle->type == PADDLE_TOP ) ? -1 : 1; + if ( cur_game->bricks[mx][my].extra != EX_NONE ) { + if ( cur_game->diff->allow_maluses || + !extra_is_malus( cur_game->bricks[mx][my].extra ) ) + list_add( cur_game->extras, + extra_create( cur_game->bricks[mx][my].extra, px, py, dir ) ); + } + else if ( paddle->extra_active[EX_GOLDSHOWER] ) + list_add( cur_game->extras, + extra_create( EX_SCORE1000, px, py, dir ) ); + cur_game->bricks[mx][my].extra = EX_NONE; + cur_game->bricks[mx][my].extra_c = ' '; + + /* add score */ + paddle->score += cur_game->bricks[mx][my].score; + +} + +/* 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; + } +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Init bricks from level data, set the warp limit (percent) and +add regenerating bricks. As this function is called when +initializing a level it does not use the 'cur_game' context. +'score_mod' is percentual and 100 means normal score. +==================================================================== +*/ +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 = ' '; + 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 ) { + 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] ); + } +} +/* +==================================================================== +Hit brick and remove if destroyed. 'metal' means the ball +destroys any brick with the first try. +type and imp are used for shrapnell creation. +'extra' contains the pushed extra if one was released. +'paddle' is the paddle that initiated hit either by shot or ball. +Return true on destruction +==================================================================== +*/ +int brick_hit( int mx, int my, int metal, int type, Vector imp, Paddle *paddle ) +{ + 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; + + /* if metal ball resistance is futile */ + if ( metal ) + remove = 1; + else { + if ( cur_game->bricks[mx][my].dur == -1 ) + return 0; /* duration of -1 means only breakable + by engery ball (metal ball) */ + if ( cur_game->bricks[mx][my].dur <= 1 ) + remove = 1; + else + 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 ); + } + else + if ( loose_dur ) { + bricks_add_mod( mx, my, HT_HIT, type, imp, paddle ); + 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; +} +/* +==================================================================== +Make brick at mx,my loose 'points' duration. It must have been +previously checked that this operation is completely valid. +It does not update net_bricks or the player's duration reference. +==================================================================== +*/ +void brick_loose_dur( int mx, int my, int points ) +{ + while ( points-- > 0 ) { + cur_game->bricks[mx][my].dur--; + cur_game->bricks[mx][my].id--; + /* adjust brick character: + * a,b,c - multiple hits + * v - invisible */ + if ( cur_game->bricks[mx][my].brick_c == 'v' ) + cur_game->bricks[mx][my].brick_c = 'c'; + else + cur_game->bricks[mx][my].brick_c--; /* successive order */ + /* set regeneration time if it's a healing brick */ + if ( cur_game->bricks[mx][my].type == MAP_BRICK_HEAL ) { + /* if this brick is already healing just reset the time + but don't add to the list again */ + if ( cur_game->bricks[mx][my].heal_time != -1 ) + cur_game->bricks[mx][my].heal_time = BRICK_HEAL_TIME; + else { + cur_game->bricks[mx][my].mx = mx; + cur_game->bricks[mx][my].my = my; + cur_game->bricks[mx][my].heal_time = BRICK_HEAL_TIME; + list_add( cur_game->heal_bricks, &cur_game->bricks[mx][my] ); + } + } + } +} + +/* 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 ) +{ + 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 */ + + 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 ) + hit->gold_shower = 1; + if (cur_game->bricks[x][y].type==MAP_BRICK_EXP) + hit->draw_explosion = 1; + if (dest_type==SHR_BY_DELAYED_EXPL) + { + dest_type = SHR_BY_EXPL; /* delayed explosion thus initiated by a close-by + explosion have no explosion animation */ + } + else if (dest_type==SHR_BY_NORMAL_BALL && cur_game->extra_active[EX_EXPL_BALL]) + { + dest_type = SHR_BY_EXPL; + hit->draw_explosion = 1; + } + } + + hit->x = x; hit->y = y; + hit->type = mod; + hit->dest_type = dest_type; + hit->paddle = (cur_game->paddles[PADDLE_BOTTOM]==paddle)?PADDLE_BOTTOM:PADDLE_TOP; + + hit->degrees = 0; + if ( mod == HT_REMOVE && dest_type == SHR_BY_NORMAL_BALL ) { + hit->degrees = vec2angle( &imp ); + } + else + if ( dest_type == SHR_BY_SHOT ) { + if ( hit->paddle == PADDLE_BOTTOM ) + hit->degrees = 270 / 2; + 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 ) { + list_reset( cur_game->exp_bricks ); + while ( ( brick = list_next( cur_game->exp_bricks ) ) != 0 ) { + if ( (brick->exp_time -= ms) <= 0 ) { + brick->exp_time = -1; + bricks_add_mod( brick->mx, brick->my, + HT_REMOVE, SHR_BY_DELAYED_EXPL, + vector_get( 0, 0 ), brick->exp_paddle ); + brick_remove( brick->mx, brick->my, SHR_BY_EXPL, + vector_get( 0, 0 ), brick->exp_paddle ); + balls_check_targets( brick->mx, brick->my ); + list_delete_current( cur_game->exp_bricks ); + } + } + } + + /* check if bricks regenerate */ + if ( cur_game->heal_bricks->count > 0 ) { + list_reset( cur_game->heal_bricks ); + while ( ( brick = list_next( cur_game->heal_bricks ) ) != 0 ) { + /* skip brick if destroyed meanwhile */ + if ( brick->type != MAP_BRICK_HEAL ) { + list_delete_current( cur_game->heal_bricks ); + continue; + } + if ( (brick->heal_time -= ms) < 0 ) { + brick->dur++; + brick->id++; + bricks_add_mod( brick->mx, brick->my, + HT_HEAL, 0, vector_get( 0, 0 ), 0 ); + if ( brick->dur < 3 ) { + /* initate next healing step */ + brick->heal_time = BRICK_HEAL_TIME; + } + else { + brick->heal_time = -1; + list_delete_current( cur_game->heal_bricks ); + } + } + } + } + + /* 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 */ +char brick_get_char( int type ) +{ + int i; + for ( i = 0; i < BRICK_COUNT; i++ ) + if ( brick_conv_table[i].id == type ) + return brick_conv_table[i].c; + return ' '; +} diff --git a/project/jni/application/lbreakout2/game/bricks.h b/project/jni/application/lbreakout2/game/bricks.h new file mode 100644 index 000000000..851196074 --- /dev/null +++ b/project/jni/application/lbreakout2/game/bricks.h @@ -0,0 +1,83 @@ +/*************************************************************************** + bricks.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __BRICKS_H +#define __BRICKS_H + +/* extra conversion item */ +typedef struct { + int type; /* extra of type */ + char c; /* is assigned to this character */ +} Extra_Conv; +/* brick conversion item */ +typedef struct { + char c; /* is assigned to this character */ + int type; /* extra of type */ + int id; /* pic id */ + int dur; + int score; +} Brick_Conv; + +/* +==================================================================== +Init bricks from level data, set the warp limit (percent) and +add regenerating bricks. As this function is called when +initializing a level it does not use the 'cur_game' context. +'score_mod' is percentual and 100 means normal score. +==================================================================== +*/ +void bricks_init( Game *game, int game_type, Level *level, int score_mod, int rel_warp_limit ); +/* +==================================================================== +Hit brick and remove if destroyed. 'metal' means the ball +destroys any brick with the first try. +type and imp are used for shrapnell creation. +'extra' contains the pushed extra if one was released. +'paddle' is the paddle that initiated hit either by shot or ball. +Return true on destruction +==================================================================== +*/ +int brick_hit( int mx, int my, int metal, int type, Vector imp, Paddle *paddle ); +/* +==================================================================== +Make brick at mx,my loose 'points' duration. It must have been +previously checked that this operation is completely valid. +It does not update net_bricks or the player's duration reference. +==================================================================== +*/ +void brick_loose_dur( int mx, int my, int points ); + +/* +==================================================================== +Initiate a brick explosion. +==================================================================== +*/ +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 ); + +/* return the character that represents the brick with this type id */ +char brick_get_char( int type ); + +#endif diff --git a/project/jni/application/lbreakout2/game/comm.c b/project/jni/application/lbreakout2/game/comm.c new file mode 100644 index 000000000..eac778004 --- /dev/null +++ b/project/jni/application/lbreakout2/game/comm.c @@ -0,0 +1,610 @@ +/*************************************************************************** + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/***** INCLUDES ************************************************************/ + +#include "../client/lbreakout.h" +#include "mathfuncs.h" +#include "levels.h" +#include "extras.h" +#include "balls.h" +#include "shots.h" +#include "bricks.h" +#include "paddle.h" + +/***** EXTERNAL VARIABLES **************************************************/ + +extern Game *cur_game; + +/***** EXPORTS *************************************************************/ + +/***** FORWARDED DECLARATIONS **********************************************/ + +/***** LOCAL TYPE DEFINITIONS **********************************************/ + +/***** LOCAL VARIABLES *****************************************************/ + +/***** LOCAL FUNCTIONS *****************************************************/ + +/* debug */ +void print_level( Level *level ) +{ + int i, j; + + printf( "Title: %s\n", level->name ); + printf( "Author: %s\n", level->author ); + printf( "Bricks:\n" ); + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + for ( i = 0; i < EDIT_WIDTH; i++ ) + printf( "%c", level->bricks[i][j] ); + printf( "\n" ); + } + printf( "Extras:\n" ); + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + for ( i = 0; i < EDIT_WIDTH; i++ ) + printf( "%c", level->extras[i][j] ); + printf( "\n" ); + } + printf( "End\n" ); +} + +/***** PUBLIC FUNCTIONS ****************************************************/ + +/* pack paddle information + * 0-9 x position + * 10 left fire + * 11 right fire + * 12 return key pressed + * + * the invisible state is not send as the server has + * its own copy of it. + */ +void comm_pack_paddle( Paddle *paddle, unsigned char *msg, int *pos ) +{ + int info = 0; + + info = paddle->x; + if ( paddle->fire_left ) SETBIT( info, 10 ); + if ( paddle->fire_right ) SETBIT( info, 11 ); + if ( paddle->ball_return_key_pressed ) SETBIT( info, 12 ); + + msg[(*pos)++] = info & 0xff; + msg[(*pos)++] = (info>>8) & 0xff; +} + +/* apply packed paddle */ +void comm_unpack_paddle( Paddle *paddle, unsigned char *msg, int *pos ) +{ + int new_x; + int info = msg[(*pos)] + (msg[(*pos)+1]<<8); *pos += 2; + + new_x = info & 1023; + if ( new_x != paddle->x ) + if ( paddle->invis ) + /* visible for some time when position has changed */ + paddle->invis_delay = PADDLE_INVIS_DELAY; + paddle->x = new_x; + paddle->cur_x = paddle->x; + + paddle->fire_left = paddle->fire_right = paddle->ball_return_key_pressed = 0; + if ( GETBIT(info,10) ) + paddle->fire_left = 1; + if ( GETBIT(info,11) ) + paddle->fire_right = 1; + if ( GETBIT(info,12) ) + paddle->ball_return_key_pressed = 1; +} + +/* pack moving/attached ball and sound information + * 0-3 ball ammo of paddle bottom + * 4-7 ball ammo of paddle top + * 0-7 speedlevel + * 0-4 moving ball count (max: 31) + * 5 brick reflect sound + * 6 attach sound + * 7 fire sound (weapon) + * 32 each: + * 0-7 lower x + * 8-15 lower y + * 16 9th bit of x + * 17 10th bit of x + * 18 9th bit of y + * 24-31 angle 0-180 + * 0-4 attached ball count (max: 31) + * 5 paddle reflect sound !!! HACK !!! + * 16 each: + * 0-7 x + 20 + * 8-14 y + 20 + * 15 paddle (bottom or top) + */ +void comm_pack_balls( unsigned char *msg, int *pos ) +{ + unsigned char *counter, count, level; + unsigned char byte; + Ball *ball; + + /* ball ammo */ + if ( cur_game->level_type != LT_PINGPONG ) + msg[(*pos)++] = 0; + else { + count = cur_game->paddles[PADDLE_BOTTOM]->ball_ammo & 15; + count = count | ((cur_game->paddles[PADDLE_TOP]->ball_ammo & 15)<<4); + msg[(*pos)++] = count; + } + + /* speedlevel */ + if ( cur_game->extra_active[EX_SLOW] ) + level = 0; + else if ( cur_game->extra_active[EX_FAST] ) + level = 100; + else level = cur_game->speedup_level; + msg[(*pos)++] = level; + + /* moving balls */ + counter = &msg[(*pos)++]; + list_reset( cur_game->balls ); count = 0; + while ( (ball = list_next(cur_game->balls)) ) { + if ( ball->attached ) continue; + byte = ball->x & 255; + msg[(*pos)++] = byte; + byte = ball->y & 255; + msg[(*pos)++] = byte; + byte = 0; + if ( GETBIT( ball->x, 8 ) ) SETBIT( byte, 0 ); + if ( GETBIT( ball->x, 9 ) ) SETBIT( byte, 1 ); + if ( GETBIT( ball->y, 8 ) ) SETBIT( byte, 2 ); + msg[(*pos)++] = byte; + byte = ball->angle; + if ( ball->moving_back ) byte = 255; + msg[(*pos)++] = byte; + count++; + } + byte = count; + if ( cur_game->mod.brick_reflected_ball_count > 0 ) SETBIT( byte, 5 ); + if ( cur_game->mod.attached_ball_count > 0 ) SETBIT( byte, 6 ); + if ( cur_game->mod.fired_shot_count > 0 ) SETBIT( byte, 7 ); + *counter = byte; + + /* attached balls */ + counter = &msg[(*pos)++]; + list_reset( cur_game->balls ); count = 0; + while ( (ball = list_next(cur_game->balls)) ) { + if ( !ball->attached ) continue; + byte = ball->x + 20; + msg[(*pos)++] = byte; + byte = ball->y + 20; + if ( ball->paddle->type == PADDLE_TOP ) SETBIT( byte, 7 ); + msg[(*pos)++] = byte; + count++; + } + byte = count; + if ( cur_game->mod.paddle_reflected_ball_count > 0 ) SETBIT( byte, 5 ); + *counter = byte; +} + +/* apply ball information */ +void comm_unpack_balls( unsigned char *msg, int *pos ) +{ + Ball *ball; + unsigned char byte; + int count, level, i; + + list_clear( cur_game->balls ); + + /* ball ammo */ + count = msg[(*pos)++]; + cur_game->paddles[PADDLE_BOTTOM]->ball_ammo = count & 15; + cur_game->paddles[PADDLE_TOP]->ball_ammo = (count>>4) & 15; + + /* ball speed */ + level = msg[(*pos)++]; + cur_game->ball_v = cur_game->diff->v_start + cur_game->diff->v_add * level; + + /* moving balls and sounds */ + count = msg[(*pos)++]; + cur_game->mod.brick_reflected_ball_count = + cur_game->mod.paddle_reflected_ball_count = + cur_game->mod.attached_ball_count = + cur_game->mod.fired_shot_count = 0; + if ( GETBIT(count,5) ) + cur_game->mod.brick_reflected_ball_count = 1; + if ( GETBIT(count,6) ) + cur_game->mod.attached_ball_count = 1; + if ( GETBIT(count,7) ) + cur_game->mod.fired_shot_count = 1; + count = count & 31; + for ( i = 0; i < count; i++ ) { + ball = salloc( 1, sizeof( Ball ) ); + ball->x = msg[(*pos)++]; + ball->y = msg[(*pos)++]; + byte = msg[(*pos)++]; + if ( GETBIT(byte,0) ) ball->x += 256; + if ( GETBIT(byte,1) ) ball->x += 512; + if ( GETBIT(byte,2) ) ball->y += 256; + ball->angle = msg[(*pos)++]; + ball->vel.x = ball->vel.y = 0; + if ( ball->angle != 255 ) { + angle2vec( ball->angle, &ball->vel ); + vector_set_length( &ball->vel, cur_game->ball_v ); + } + ball->cur.x = ball->x; + ball->cur.y = ball->y; + list_add( cur_game->balls, ball ); + } + + /* attached balls */ + count = msg[(*pos)++]; + if ( GETBIT(count,5) ) + cur_game->mod.paddle_reflected_ball_count = 1; + count = count & 31; + for ( i = 0; i < count; i++ ) { + ball = salloc( 1, sizeof( Ball ) ); + ball->x = msg[(*pos)++] - 20; + byte = msg[(*pos)++]; + ball->y = (byte&127) - 20; + ball->attached = 1; + if ( GETBIT(byte,7) ) + ball->paddle = cur_game->paddles[1]; + else + ball->paddle = cur_game->paddles[0]; + list_add( cur_game->balls, ball ); + } +} + +/* pack shot information + * 0-7 shot count + * 24 each: + * 0-7 lower x + * 8-15 lower y + * 16 9th bit of x + * 17 10th bit of x + * 18 9th bit of y + * + * as shot_y can be negative 20 pixels are added to keep + * the transfer value a positive. shots below this height + * level are not transferred. + */ +void comm_pack_shots( unsigned char *msg, int *pos ) +{ + unsigned char byte, *counter; + Shot *shot; + int shot_x, shot_y, count = 0; + + counter = &msg[(*pos)++]; + list_reset( cur_game->shots ); + while ( (shot = list_next(cur_game->shots)) ) { + shot_x = shot->x; + shot_y = shot->y + 20; + if ( shot_y < 0 ) continue; + byte = shot_x & 255; + msg[(*pos)++] = byte; + byte = shot_y & 255; + msg[(*pos)++] = byte; + byte = 0; + if ( GETBIT( shot_x, 8 ) ) SETBIT( byte, 0 ); + if ( GETBIT( shot_x, 9 ) ) SETBIT( byte, 1 ); + if ( GETBIT( shot_y, 8 ) ) SETBIT( byte, 2 ); + msg[(*pos)++] = byte; + count++; + } + *counter = count; +} + +/* apply shots */ +void comm_unpack_shots( unsigned char *msg, int *pos ) +{ + unsigned char byte; + Shot *shot; + int count, i; + + list_clear( cur_game->shots ); + + count = msg[(*pos)++]; + for ( i = 0; i < count; i++ ) { + shot = salloc( 1, sizeof( Shot ) ); + shot->x = msg[(*pos)++]; + shot->y = msg[(*pos)++]; + byte = msg[(*pos)++]; + if ( GETBIT(byte,0) ) shot->x += 256; + if ( GETBIT(byte,1) ) shot->x += 512; + if ( GETBIT(byte,2) ) shot->y += 256; + shot->y -= 20; + list_add( cur_game->shots, shot ); + } +} + +/* pack brick hit information + * 0-7 hit count (loose duration) + * 8 each: + * 0-7 id in edit window + * 0-7 heal count (one point) + * 8 each: + * 0-7 id in edit window + * 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 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 ) +{ + unsigned char *counter, byte; + BrickHit *hit; + int i, y_off = ( MAP_HEIGHT - EDIT_HEIGHT ) / 2, count; + + /* duration */ + counter = &msg[(*pos)++]; count = 0; + for ( i = 0; i < cur_game->mod.brick_hit_count; i++ ) { + hit = &cur_game->mod.brick_hits[i]; + if ( hit->type == HT_HIT ) { + msg[(*pos)++] = (hit->y-y_off) * EDIT_WIDTH + hit->x - 1; + count++; + } + } + *counter = count; + + /* heal */ + counter = &msg[(*pos)++]; count = 0; + for ( i = 0; i < cur_game->mod.brick_hit_count; i++ ) { + hit = &cur_game->mod.brick_hits[i]; + if ( hit->type == HT_HEAL ) { + msg[(*pos)++] = (hit->y-y_off) * EDIT_WIDTH + hit->x - 1; + count++; + } + } + *counter = count; + + /* growth */ + counter = &msg[(*pos)++]; count = 0; + for ( i = 0; i < cur_game->mod.brick_hit_count; i++ ) { + 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++; + } + } + *counter = count; + + /* remove */ + counter = &msg[(*pos)++]; count = 0; + for ( i = 0; i < cur_game->mod.brick_hit_count; i++ ) { + hit = &cur_game->mod.brick_hits[i]; + if ( hit->type != HT_REMOVE ) continue; + msg[(*pos)++] = (hit->y-y_off) * EDIT_WIDTH + hit->x - 1; + byte = 0; + if ( hit->dest_type == SHR_BY_ENERGY_BALL || hit->dest_type == SHR_BY_EXPL ) + SETBIT( byte, 0 ); + if ( hit->dest_type == SHR_BY_SHOT || hit->dest_type == SHR_BY_EXPL ) + SETBIT( byte, 1 ); + 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; + msg[(*pos)++] = byte; + } + count++; + } + *counter = count; +} + +/* build client brick hits */ +void comm_unpack_brick_hits( unsigned char *msg, int *pos ) +{ + BrickHit *hit; + int hit_count = 0; + int count, i, j; + unsigned char byte; + + /* duration, heal, growth */ + for ( j = 0; j < 3; j++ ) { + count = msg[(*pos)++]; + for ( i = 0; i < count; i++ ) { + hit = &cur_game->mod.brick_hits[hit_count++]; + byte = msg[(*pos)++]; + 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; + } + } + } + + /* removal */ + count = msg[(*pos)++]; + for ( i = 0; i < count; i++ ) { + hit = &cur_game->mod.brick_hits[hit_count++]; + hit->type = HT_REMOVE; + byte = msg[(*pos)++]; + hit->x = byte % EDIT_WIDTH + 1; + hit->y = byte / EDIT_WIDTH + (MAP_HEIGHT-EDIT_HEIGHT)/2; + byte = msg[(*pos)++]; + hit->dest_type = byte & 3; + 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 + if ( hit->dest_type == SHR_BY_SHOT ) { + if ( hit->paddle == PADDLE_BOTTOM ) + hit->degrees = 135; + else + hit->degrees = 45; + } + } + + cur_game->mod.brick_hit_count = hit_count; +} + +/* pack collected extra information + * 0-7 paddle bottom count + * 8 each: + * 0-7 extra id + * 0-7 paddle top count + * 8 each: + * 0-7 extra id + */ +void comm_pack_collected_extras( unsigned char *msg, int *pos ) +{ + int i, j; + + for ( i = 0; i < cur_game->paddle_count; i++ ) { + msg[(*pos)++] = cur_game->mod.collected_extra_count[i]; + for ( j = 0; j < cur_game->mod.collected_extra_count[i]; j++ ) + msg[(*pos)++] = (unsigned char)cur_game->mod.collected_extras[i][j]; + } +} + +/* build client collected extras */ +void comm_unpack_collected_extras( unsigned char *msg, int *pos ) +{ + int i, j; + + for ( i = 0; i < cur_game->paddle_count; i++ ) { + cur_game->mod.collected_extra_count[i] = msg[(*pos)++]; + for ( j = 0; j < cur_game->mod.collected_extra_count[i]; j++ ) + cur_game->mod.collected_extras[i][j] = msg[(*pos)++]; + } +} + +/* pack level data (in byte) + * 16 title + * 16 author + * 252 bricks + * 252 extras + */ +void comm_pack_level( Level *level, unsigned char *msg, int *pos ) +{ + char *ptr = msg + *pos; + + snprintf( ptr, 16, "%s", level->name ); ptr[15] = 0; ptr += 16; + snprintf( ptr, 16, "%s", level->author); ptr[15] = 0; ptr += 16; + memcpy( ptr, level->bricks, 252 ); ptr += 252; + memcpy( ptr, level->extras, 252 ); ptr += 252; + + *pos += 16 + 16 + 252 + 252; +} + +/* unpack leveldata */ +void comm_unpack_level( Level *level, unsigned char *msg, int *pos ) +{ + char *ptr = msg + *pos; + + snprintf( level->name, 16, "%s", ptr ); ptr += 16; + snprintf( level->author, 16, "%s", ptr ); ptr += 16; + memcpy( level->bricks, ptr, 252 ); ptr += 252; + memcpy( level->extras, ptr, 252 ); ptr += 252; + + *pos += 16 + 16 + 252 + 252; +} + +/* pack scores + * 0-23 paddle bottom + * 24-47 paddle top + */ +void comm_pack_scores( unsigned char *msg, int *pos ) +{ + unsigned char *ptr = msg + *pos; + int i; + + i = cur_game->paddles[0]->score; + ptr[0] = i & 0xff; ptr[1] = (i>>8) & 0xff; ptr[2] = (i>>16) & 0xff; + i = cur_game->paddles[1]->score; + ptr[3] = i & 0xff; ptr[4] = (i>>8) & 0xff; ptr[5] = (i>>16) & 0xff; + + *pos += 6; +} + +/* apply scores to paddles */ +void comm_unpack_scores( unsigned char *msg, int *pos ) +{ + unsigned char *ptr = msg + *pos; + + cur_game->paddles[0]->score = ptr[0] + (ptr[1]<<8) + (ptr[2]<<16); + cur_game->paddles[1]->score = ptr[3] + (ptr[4]<<8) + (ptr[5]<<16); + + *pos += 6; +} + +/* dummy unpack the various things thus simply adjust the 'pos' + * pointer but don't handle the message data */ +void comm_unpack_paddle_dummy(unsigned char *msg, int *pos ) +{ + *pos += 2; +} +void comm_unpack_balls_dummy(unsigned char *msg, int *pos ) +{ + int count; + + /* moving balls and sounds */ + count = msg[(*pos)++]; *pos += (count&31) * 3; + + /* attached balls */ + count = msg[(*pos)++]; *pos += count * 2; +} +void comm_unpack_shots_dummy(unsigned char *msg, int *pos ) +{ + int count; + + count = msg[(*pos)++]; *pos += count * 2; +} +void comm_unpack_scores_dummy(unsigned char *msg, int *pos ) +{ + *pos += 6; +} +void comm_unpack_brick_hits_dummy(unsigned char *msg, int *pos ) +{ + int count, i, j; + unsigned char byte; + + /* duration, heal, growth */ + for ( j = 0; j < 3; j++ ) { + count = msg[(*pos)++]; + *pos += count; + } + + /* removal */ + count = msg[(*pos)++]; + for ( i = 0; i < count; i++ ) { + *pos += 1; + byte = msg[(*pos)++]; + if ( (byte&3) == SHR_BY_NORMAL_BALL ) + *pos += 1; + } +} +void comm_unpack_collected_extras_dummy(unsigned char *msg, int *pos ) +{ + int i, count; + + for ( i = 0; i < 2/* assume two paddles */; i++ ) { + count = msg[(*pos)++]; *pos += count; + } +} diff --git a/project/jni/application/lbreakout2/game/comm.h b/project/jni/application/lbreakout2/game/comm.h new file mode 100644 index 000000000..06700a321 --- /dev/null +++ b/project/jni/application/lbreakout2/game/comm.h @@ -0,0 +1,140 @@ +/*************************************************************************** + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __COMM_H +#define __COMM_H + +/***** INCLUDES ************************************************************/ + +/***** TYPE DEFINITIONS ****************************************************/ + +/***** PUBLIC FUNCTIONS ****************************************************/ + +/* pack paddle information + * 0-9 x position + * 10 left fire + * 11 right fire + * 12 return key pressed + * + * the invisible state is not send as the server has + * its own copy of it. + */ +void comm_pack_paddle( Paddle *paddle, unsigned char *msg, int *pos ); + +/* apply packed paddle */ +void comm_unpack_paddle( Paddle *paddle, unsigned char *msg, int *pos ); + +/* pack moving/attached ball and sound information + * 0-4 moving ball count (max: 31) + * 5 reflect sound + * 6 attach sound + * 7 fire sound (weapon) + * 24 each: + * 0-7 lower x + * 8-15 lower y + * 16 9th bit of x + * 17 10th bit of x + * 18 9th bit of y + * 0-7 attached ball count (max: 31) + * 16 each: + * 0-7 x + 20 + * 8-14 y + 20 + * 15 paddle (bottom or top) + */ +void comm_pack_balls( unsigned char *msg, int *pos ); + +/* apply ball information */ +void comm_unpack_balls( unsigned char *msg, int *pos ); + +/* pack shot information + * 0-7 shot count + * 24 each: + * 0-7 lower x + * 8-15 lower y + * 16 9th bit of x + * 17 10th bit of x + * 18 9th bit of y + */ +void comm_pack_shots( unsigned char *msg, int *pos ); + +/* apply shots */ +void comm_unpack_shots( unsigned char *msg, int *pos ); + +/* pack brick hit information + * 0-7 hit count (loose duration) + * 8 each: + * 0-7 id in edit window + * 0-7 heal count (one point) + * 8 each: + * 0-7 id in edit window + * 0-7 grow count (random client id) + * 0-7 id in edit window + * 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-15 unused + * (16-23) clockwise impact position 0-180 for normal animation + */ +void comm_pack_brick_hits( unsigned char *msg, int *pos ); + +/* build client brick hits */ +void comm_unpack_brick_hits( unsigned char *msg, int *pos ); + +/* pack collected extra information + * 0-7 paddle bottom count + * 8 each: + * 0-7 extra id + * 0-7 paddle top count + * 8 each: + * 0-7 extra id + */ +void comm_pack_collected_extras( unsigned char *msg, int *pos ); + +/* build client collected extras */ +void comm_unpack_collected_extras( unsigned char *msg, int *pos ); + +/* pack level data (in byte) + * 16 title + * 16 author + * 252 bricks + * 252 extras + */ +void comm_pack_level( Level *level, unsigned char *msg, int *pos ); + +/* unpack leveldata */ +void comm_unpack_level( Level *level, unsigned char *msg, int *pos ); + +/* pack scores + * 0-23 paddle bottom + * 24-47 paddle top + */ +void comm_pack_scores( unsigned char *msg, int *pos ); + +/* apply scores to paddles */ +void comm_unpack_scores( unsigned char *msg, int *pos ); + +/* dummy unpack the various things thus simply adjust the 'pos' + * pointer but don't handle the message data */ +void comm_unpack_paddle_dummy(unsigned char *msg, int *pos ); +void comm_unpack_balls_dummy(unsigned char *msg, int *pos ); +void comm_unpack_shots_dummy(unsigned char *msg, int *pos ); +void comm_unpack_scores_dummy(unsigned char *msg, int *pos ); +void comm_unpack_brick_hits_dummy(unsigned char *msg, int *pos ); +void comm_unpack_collected_extras_dummy(unsigned char *msg, int *pos ); + +#endif + diff --git a/project/jni/application/lbreakout2/game/extras.c b/project/jni/application/lbreakout2/game/extras.c new file mode 100644 index 000000000..3369c798f --- /dev/null +++ b/project/jni/application/lbreakout2/game/extras.c @@ -0,0 +1,477 @@ +/*************************************************************************** + extras.c - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "../client/lbreakout.h" +#include "levels.h" +#include "paddle.h" +#include "bricks.h" +#include "balls.h" +#include "mathfuncs.h" +#include "extras.h" + +extern int ball_w, ball_dia; +extern Game *cur_game; + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Public +==================================================================== +*/ + +/* +==================================================================== +Create new extra at position +==================================================================== +*/ +Extra *extra_create( int type, int x, int y, int dir ) +{ + Extra *e = salloc( 1, sizeof( Extra ) ); + e->type = type; + e->offset = type * BRICK_WIDTH; + e->x = x; e->y = y; + e->dir = dir; + e->alpha = 0; + return e; +} + +/* +==================================================================== +Use extra when paddle collected it +==================================================================== +*/ +void extra_use( Paddle *paddle, int extra_type ) +{ + Ball *b; + int i, j; + + if ( cur_game->diff->allow_maluses ) { + while( extra_type == EX_RANDOM ) + extra_type = rand() % (EX_NUMBER); + } else { + while ( extra_type == EX_RANDOM || extra_is_malus( extra_type ) ) + extra_type = rand() % (EX_NUMBER); + } + + /* store modification */ + i = cur_game->paddles[0]==paddle?0:1; + if ( cur_game->mod.collected_extra_count[i] < MAX_MODS ) + cur_game->mod.collected_extras[i][cur_game->mod.collected_extra_count[i]++] = + extra_type; + /* statistics */ + paddle->extras_collected++; + + switch (extra_type) { + case EX_SCORE200: + paddle->score += cur_game->diff->score_mod * 200 / 10; + break; + case EX_SCORE500: + paddle->score += cur_game->diff->score_mod * 500 / 10; + break; + case EX_SCORE1000: + paddle->score += cur_game->diff->score_mod * 1000 / 10; + break; + case EX_SCORE2000: + paddle->score += cur_game->diff->score_mod * 2000 / 10; + break; + case EX_SCORE5000: + paddle->score += cur_game->diff->score_mod * 5000 / 10; + break; + case EX_SCORE10000: + paddle->score += cur_game->diff->score_mod * 10000 / 10; + break; + case EX_GOLDSHOWER: + paddle->extra_time[EX_GOLDSHOWER] += TIME_GOLDSHOWER; + paddle->extra_active[EX_GOLDSHOWER] = 1; + break; + case EX_LIFE: + /* adding life is handled by client */ + break; + case EX_SHORTEN: + paddle_init_resize( paddle, -1); + break; + case EX_LENGTHEN: + paddle_init_resize( paddle, 1); + break; + case EX_BALL: + b = ball_create( + paddle->x + (paddle->w - ball_w) / 2, + paddle->y + ((paddle->type == PADDLE_TOP)?paddle->h:-ball_dia) ); + b->paddle = paddle; + ball_set_random_angle( b, cur_game->ball_v ); + b->get_target = 1; + list_add( cur_game->balls, b ); + break; + case EX_WALL: + paddle->extra_time[EX_WALL] += TIME_WALL; + if ( paddle->extra_active[EX_WALL] ) break; + paddle->extra_active[extra_type] = 1; + if ( paddle->wall_y == 0 ) { + for (i = 1; i < MAP_WIDTH - 1; i++) { + cur_game->bricks[i][0].type = MAP_WALL; + cur_game->bricks[i][0].id = 0; + } + } + else + for (i = 1; i < MAP_WIDTH - 1; i++) { + cur_game->bricks[i][MAP_HEIGHT - 1].type = MAP_WALL; + cur_game->bricks[i][MAP_HEIGHT - 1].id = 0; + } + paddle->wall_alpha = 0; + balls_check_targets( -1, 0 ); + break; + case EX_METAL: + cur_game->extra_time[EX_METAL] += TIME_METAL; + cur_game->extra_active[extra_type] = 1; + balls_set_type( BALL_METAL ); + /* other ball extras are disabled */ + if ( cur_game->extra_active[EX_EXPL_BALL] ) { + cur_game->extra_active[EX_EXPL_BALL] = 0; + cur_game->extra_time[EX_EXPL_BALL] = 0; + } + if ( cur_game->extra_active[EX_WEAK_BALL] ) { + cur_game->extra_active[EX_WEAK_BALL] = 0; + cur_game->extra_time[EX_WEAK_BALL] = 0; + } + break; + case EX_FROZEN: + paddle->extra_time[EX_FROZEN] = TIME_FROZEN; + paddle->extra_active[extra_type] = 1; + paddle_freeze( paddle, 1 ); + break; + case EX_WEAPON: + paddle->extra_time[EX_WEAPON] += TIME_WEAPON; + paddle->extra_active[extra_type] = 1; + weapon_install( paddle, 1 ); + break; + case EX_SLIME: + paddle->extra_time[EX_SLIME] += TIME_SLIME; + paddle->extra_active[extra_type] = 1; + paddle_set_slime( paddle, 1 ); + break; + case EX_FAST: + if ( cur_game->extra_active[EX_SLOW] ) { + cur_game->extra_time[EX_SLOW] = 0; + cur_game->extra_active[EX_SLOW] = 0; + } + cur_game->extra_time[EX_FAST] += TIME_FAST; + cur_game->extra_active[extra_type] = 1; + cur_game->ball_v = cur_game->ball_v_max; + balls_set_velocity( cur_game->balls, cur_game->ball_v ); + break; + case EX_SLOW: + if ( cur_game->extra_active[EX_FAST] ) { + cur_game->extra_time[EX_FAST] = 0; + cur_game->extra_active[EX_FAST] = 0; + } + cur_game->extra_time[EX_SLOW] += TIME_SLOW; + cur_game->extra_active[extra_type] = 1; + cur_game->ball_v = cur_game->ball_v_min; + balls_set_velocity( cur_game->balls, cur_game->ball_v ); + break; + case EX_CHAOS: + cur_game->extra_time[EX_CHAOS] += TIME_CHAOS; + cur_game->extra_active[extra_type] = 1; + balls_set_chaos( 1 ); + break; + case EX_DARKNESS: + cur_game->extra_time[EX_DARKNESS] += TIME_DARKNESS; + cur_game->extra_active[extra_type] = 1; + break; + case EX_GHOST_PADDLE: + paddle->extra_time[EX_GHOST_PADDLE] += TIME_GHOST_PADDLE; + paddle->extra_active[extra_type] = 1; + paddle_set_invis( paddle, 1 ); + break; + case EX_TIME_ADD: + for ( i = 0; i < EX_NUMBER; i++ ) + if ( cur_game->extra_time[i] ) + cur_game->extra_time[i] += 7000; + for ( i = 0; i < EX_NUMBER; i++ ) { + for ( j = 0; j < cur_game->paddle_count; j++ ) + if ( cur_game->paddles[j]->extra_time[i] ) + cur_game->paddles[j]->extra_time[i] += 7000; + } + break; + case EX_EXPL_BALL: + balls_set_type( BALL_EXPL ); + cur_game->extra_time[EX_EXPL_BALL] += TIME_EXPL_BALL; + cur_game->extra_active[extra_type] = 1; + /* other ball extras are disabled */ + if ( cur_game->extra_active[EX_METAL] ) { + cur_game->extra_active[EX_METAL] = 0; + cur_game->extra_time[EX_METAL] = 0; + } + if ( cur_game->extra_active[EX_WEAK_BALL] ) { + cur_game->extra_active[EX_WEAK_BALL] = 0; + cur_game->extra_time[EX_WEAK_BALL] = 0; + } + break; + case EX_WEAK_BALL: + balls_set_type( BALL_WEAK ); + cur_game->extra_time[EX_WEAK_BALL] += TIME_WEAK_BALL; + cur_game->extra_active[extra_type] = 1; + /* other ball extras are disabled */ + if ( cur_game->extra_active[EX_METAL] ) { + cur_game->extra_active[EX_METAL] = 0; + cur_game->extra_time[EX_METAL] = 0; + } + if ( cur_game->extra_active[EX_EXPL_BALL] ) { + cur_game->extra_active[EX_EXPL_BALL] = 0; + cur_game->extra_time[EX_EXPL_BALL] = 0; + } + break; + case EX_BONUS_MAGNET: + paddle_set_attract( paddle, ATTRACT_BONUS ); + paddle->extra_time[EX_BONUS_MAGNET] += TIME_BONUS_MAGNET; + paddle->extra_active[extra_type] = 1; + if ( paddle->extra_active[EX_MALUS_MAGNET] ) { + paddle->extra_active[EX_MALUS_MAGNET] = 0; + paddle->extra_time[EX_MALUS_MAGNET] = 0; + } + break; + case EX_MALUS_MAGNET: + paddle_set_attract( paddle, ATTRACT_MALUS ); + paddle->extra_time[EX_MALUS_MAGNET] += TIME_MALUS_MAGNET; + paddle->extra_active[extra_type] = 1; + if ( paddle->extra_active[EX_BONUS_MAGNET] ) { + paddle->extra_active[EX_BONUS_MAGNET] = 0; + paddle->extra_time[EX_BONUS_MAGNET] = 0; + } + break; + case EX_DISABLE: + /* set all active extra times to 1 so they will expire next + prog cycle */ + for ( i = 0; i < EX_NUMBER; i++ ) + if ( cur_game->extra_time[i] ) + cur_game->extra_time[i] = 1; + for ( i = 0; i < EX_NUMBER; i++ ) { + for ( j = 0; j < cur_game->paddle_count; j++ ) + if ( cur_game->paddles[j]->extra_time[i] ) + cur_game->paddles[j]->extra_time[i] = 1; + } + break; + default: + /* it wasn't used so delete mod */ + i = cur_game->paddles[0]==paddle?0:1; + cur_game->mod.collected_extra_count[i]--; + break; + + } +} +/* +==================================================================== +Update extras +==================================================================== +*/ +void extras_update( int ms ) +{ + Extra *ex; + int i, j; + int magnets; + Paddle *magnet; + + /* check extra_time of limited extras */ + + /* general extras */ + for ( i = 0; i < EX_NUMBER; i++ ) + if ( cur_game->extra_time[i] ) + if ( (cur_game->extra_time[i] -= ms) <= 0 ) { + cur_game->extra_time[i] = 0; + /* expired */ + switch ( i ) { + case EX_EXPL_BALL: + case EX_WEAK_BALL: + case EX_METAL: + balls_set_type( BALL_NORMAL ); + break; + case EX_SLOW: + case EX_FAST: + cur_game->ball_v = cur_game->diff->v_start + + cur_game->diff->v_add * cur_game->speedup_level; + balls_set_velocity( cur_game->balls, cur_game->ball_v ); + break; + case EX_CHAOS: + balls_set_chaos( 0 ); + break; + } + /* set deactivated */ + cur_game->extra_active[i] = 0; + } + + /* paddlized extras */ + for ( j = 0; j < cur_game->paddle_count; j++ ) + for ( i = 0; i < EX_NUMBER; i++ ) + /* extra_time of wall is updated in wall_update() */ + if ( cur_game->paddles[j]->extra_time[i] && i != EX_WALL ) + if ( (cur_game->paddles[j]->extra_time[i] -= ms) <= 0 ) { + cur_game->paddles[j]->extra_time[i] = 0; + /* expired */ + switch ( i ) { + case EX_SLIME: + paddle_set_slime( cur_game->paddles[j], 0 ); + /* release all balls from paddle */ + balls_detach_from_paddle( cur_game->paddles[j], + ((rand()%2==1)?-1:1) ); + break; + case EX_WEAPON: weapon_install( cur_game->paddles[j], 0 ); break; + case EX_FROZEN: + paddle_freeze( cur_game->paddles[j], 0 ); + break; + case EX_GHOST_PADDLE: + paddle_set_invis( cur_game->paddles[j], 0 ); + break; + case EX_BONUS_MAGNET: + case EX_MALUS_MAGNET: + paddle_set_attract( cur_game->paddles[j], ATTRACT_NONE ); + break; + } + /* set deactivated */ + cur_game->paddles[j]->extra_active[i] = 0; /* wall is handled in wall_...() */ + } + + /* move extras and check if paddle was hit */ + list_reset( cur_game->extras ); + while ( ( ex = list_next( cur_game->extras ) ) ) { + /* if only one paddle has a magnet active all extras will + * be attracted by this paddle else the extras 'dir' is used + */ + magnets = 0; magnet = 0; + for ( i = 0; i < cur_game->paddle_count; i++ ) + if ( paddle_check_attract( cur_game->paddles[i], ex->type ) ) { + magnets++; + magnet = cur_game->paddles[i]; /* last magnet */ + } + if ( magnets != 1 ) { + /* either no or more than one magnet so use default */ + if ( ex->dir > 0 ) + ex->y += 0.05 * ms; + else + ex->y -= 0.05 * ms; + } + else { + /* 'magnet' is the paddle that will attract this extra */ + if ( magnet->type == PADDLE_TOP ) + ex->y -= 0.05 * ms; + else + ex->y += 0.05 * ms; + if ( ex->x + ( BRICK_WIDTH >> 1 ) < magnet->x + ( magnet->w >> 1 ) ) { + ex->x += 0.05 * ms; + if ( ex->x + ( BRICK_WIDTH >> 1 ) > magnet->x + ( magnet->w >> 1 ) ) + ex->x = magnet->x + ( magnet->w >> 1 ) - ( BRICK_WIDTH >> 1 ); + } + else { + ex->x -= 0.05 * ms; + if ( ex->x + ( BRICK_WIDTH >> 1 ) < magnet->x + ( magnet->w >> 1 ) ) + ex->x = magnet->x + ( magnet->w >> 1 ) - ( BRICK_WIDTH >> 1 ); + } + } + /* if out of screen, kill this extra */ + if ( ex->y >= 480 || ex->y + BRICK_HEIGHT < 0 ) { + list_delete_current( cur_game->extras ); + continue; + } + for ( j = 0; j < cur_game->paddle_count; j++ ) { + /* contact with paddle core ? */ + if ( paddle_solid( cur_game->paddles[j] ) ) + if ( ex->x + BRICK_WIDTH > cur_game->paddles[j]->x ) + if ( ex->x < cur_game->paddles[j]->x + cur_game->paddles[j]->w - 1 ) + if ( ex->y + BRICK_HEIGHT > cur_game->paddles[j]->y ) + if ( ex->y < cur_game->paddles[j]->y + cur_game->paddles[j]->h ) { + /* any extra except EX_JOKER is simply used */ + if ( ex->type != EX_JOKER ) { + extra_use( cur_game->paddles[j], ex->type ); + list_delete_current( cur_game->extras ); + break; + } + /* use EX_JOKER and work through all active extras */ + /* the mod is only stored to play the sound */ + if ( cur_game->mod.collected_extra_count[j] < MAX_MODS ) + cur_game->mod.collected_extras[j][cur_game->mod.collected_extra_count[j]++] = EX_JOKER; + list_reset( cur_game->extras ); + while ( ( ex = list_next( cur_game->extras ) ) ) { + if ( ex->type != EX_JOKER ) + if ( ex->type != EX_SHORTEN ) + if ( ex->type != EX_FROZEN ) + if ( ex->type != EX_FAST ) + if ( ex->type != EX_RANDOM ) + if ( ex->type != EX_DARKNESS ) + if ( ex->type != EX_GHOST_PADDLE ) + if ( ex->type != EX_CHAOS ) + if ( ex->type != EX_DISABLE ) + if ( ex->type != EX_MALUS_MAGNET ) + if ( ex->type != EX_WEAK_BALL ) { + extra_use( cur_game->paddles[j], ex->type ); + extra_use( cur_game->paddles[j], ex->type ); + } + list_delete_current( cur_game->extras ); + } + break; + } + } + } +} + +/* wall */ +void walls_update( int ms ) +{ + int i, j; + + for ( j = 0; j < cur_game->paddle_count; j++ ) + if ( cur_game->paddles[j]->extra_active[EX_WALL] ) { + if ( cur_game->paddles[j]->extra_time[EX_WALL] > 0 ) { + if ( (cur_game->paddles[j]->extra_time[EX_WALL] -= ms) < 0 ) + cur_game->paddles[j]->extra_time[EX_WALL] = 0; + /* still appearing? */ + if (cur_game->paddles[j]->wall_alpha < 255) + if ( (cur_game->paddles[j]->wall_alpha += 0.25 * ms) > 255 ) + cur_game->paddles[j]->wall_alpha = 255; + } + else + if ( (cur_game->paddles[j]->wall_alpha -= 0.25 * ms) < 0 ) { + cur_game->paddles[j]->wall_alpha = 0; + cur_game->paddles[j]->extra_active[EX_WALL] = 0; + if ( cur_game->paddles[j]->wall_y == 0 ) + for (i = 1; i < MAP_WIDTH - 1; i++) + cur_game->bricks[i][0].type = MAP_EMPTY; + else + for (i = 1; i < MAP_WIDTH - 1; i++) + cur_game->bricks[i][MAP_HEIGHT - 1].type = MAP_EMPTY; + balls_check_targets( -1, 0 ); + } + } +} + +int extra_is_malus( int type ) +{ + if ( type == EX_SHORTEN ) return 1; + if ( type == EX_FROZEN ) return 1; + if ( type == EX_FAST ) return 1; + if ( type == EX_DARKNESS ) return 1; + if ( type == EX_GHOST_PADDLE ) return 1; + if ( type == EX_CHAOS ) return 1; + if ( type == EX_DISABLE ) return 1; + if ( type == EX_MALUS_MAGNET ) return 1; + if ( type == EX_WEAK_BALL ) return 1; + return 0; +} + diff --git a/project/jni/application/lbreakout2/game/extras.h b/project/jni/application/lbreakout2/game/extras.h new file mode 100644 index 000000000..5d470ec56 --- /dev/null +++ b/project/jni/application/lbreakout2/game/extras.h @@ -0,0 +1,50 @@ +/*************************************************************************** + extras.h - description + ------------------- + begin : Sun Sep 9 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __EXTRAS_H +#define __EXTRAS_H + +/* +==================================================================== +Create new extra at position +==================================================================== +*/ +Extra *extra_create( int type, int x, int y, int dir ); +/* +==================================================================== +Use extra when paddle collected it +==================================================================== +*/ +void extra_use( Paddle *paddle, int type ); +/* +==================================================================== +Update extras +==================================================================== +*/ +void extras_update( int ms ); +/* +==================================================================== +Wall +==================================================================== +*/ +void walls_update( int ms ); + + +int extra_is_malus( int type ); + +#endif + diff --git a/project/jni/application/lbreakout2/game/game.c b/project/jni/application/lbreakout2/game/game.c new file mode 100644 index 000000000..acf7e72ce --- /dev/null +++ b/project/jni/application/lbreakout2/game/game.c @@ -0,0 +1,494 @@ +/*************************************************************************** + game.c - description + ------------------- + begin : 03/03/19 + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/***** INCLUDES ************************************************************/ + +#include "../client/lbreakout.h" +#include "game.h" +#include "bricks.h" +#include "paddle.h" +#include "balls.h" +#include "shots.h" +#include "extras.h" + +/***** EXTERNAL VARIABLES **************************************************/ + +extern int ball_w, ball_dia; + +/***** EXPORTS *************************************************************/ + +Game *cur_game = 0; + +/***** FORWARDED DECLARATIONS **********************************************/ + +/***** LOCAL TYPE DEFINITIONS **********************************************/ + +/***** LOCAL VARIABLES *****************************************************/ + +static GameDiff diffs[DIFF_COUNT] = { + { 9, 12, 8, 12, 20, 5, 0.10, 0.0016, 0.20, 32000, 0 }, + { 6, 9, 0, 2, 8, 8, 0.24, 0.0016, 0.40, 1800, 1 }, + { 5, 7, 0, 1, 6, 10, 0.27, 0.0016, 0.43, 1800, 1 }, + { 4, 5, 0, 1, 4, 13, 0.30, 0.0015, 0.45, 1800, 1 } +}; + +/* in network game the ball is slower and the paddle is bigger */ +static GameDiff net_diffs[DIFF_COUNT] = { + { 6, 9, 1, 2, 8, 8, 0.18, 0.0012, 0.30, 1800, 1 }, + { 5, 7, 1, 2, 6, 10, 0.21, 0.0012, 0.33, 1800, 1 }, + { 4, 5, 1, 2, 4, 13, 0.24, 0.0011, 0.35, 1800, 1 } +}; + +/***** 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 ****************************************************/ + +/* create/delete game context */ +Game *game_create( int game_type, int diff, int rel_warp_limit ) +{ + Game *game = salloc( 1, sizeof( Game ) ); + + /* set diff and game type */ + game->game_type = game_type; + if ( game_type == GT_LOCAL ) + game->diff = &diffs[diff]; + else + game->diff = &net_diffs[diff]; + game->rel_warp_limit = rel_warp_limit; + + /* create lists */ + game->shots = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + game->exp_bricks = list_create( LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + game->heal_bricks = list_create( LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + game->extras = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + game->balls = list_create( LIST_AUTO_DELETE, LIST_NO_CALLBACK ); + + /* set ball speed */ + game->ball_v_min = game->diff->v_start; + game->ball_v_max = game->diff->v_max; + delay_set( &game->speedup_delay, game->diff->v_delay ); + + /* create paddles */ + game->paddle_count = (game_type==GT_NETWORK)?2:1; + /* bottom */ + game->paddles[PADDLE_BOTTOM] = paddle_create( 0, PADDLE_BOTTOM, + (MAP_HEIGHT-2)*BRICK_HEIGHT, + game->diff->paddle_size, + game->diff->paddle_min_size, game->diff->paddle_max_size, + 0 ); + /* top */ + if ( game_type == GT_NETWORK ) + game->paddles[PADDLE_TOP] = paddle_create( 0, PADDLE_TOP, + BRICK_HEIGHT+2, + game->diff->paddle_size, + game->diff->paddle_min_size, game->diff->paddle_max_size, + 0 ); + + return game; +} +void game_delete( Game **_game ) +{ + Game *game = *_game; + int i; + + if ( game == 0 ) return; + + /* delete paddles */ + for ( i = 0; i < game->paddle_count; i++ ) + paddle_delete( game->paddles[i] ); + + /* delete lists */ + if ( game->shots ) list_delete( game->shots ); + if ( game->exp_bricks ) list_delete( game->exp_bricks ); + if ( game->heal_bricks ) list_delete( game->heal_bricks ); + if ( game->extras ) list_delete( game->extras ); + if ( game->balls ) list_delete( game->balls ); + + /* delete bonus level stuff */ + if (game->blDuckPositions) free(game->blDuckPositions); + if (game->blInvaders) free(game->blInvaders); + + free( game ); + *_game = 0; +} + +/* finalize single game level. the level_type is determined by + * counting the bricks. the data of 'level' is copied and modified + * while playing. */ +void game_init( Game *game, Level *level ) +{ + 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 ); + } + + /* 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 */ +void game_finalize( Game *game ) +{ + int i; + + /* reset lists */ + list_clear( game->balls ); + list_clear( game->extras ); + list_clear( game->shots ); + list_clear( game->heal_bricks ); + list_clear( game->exp_bricks ); + + /* reset paddles (and their statistics which are only for + * the currently played level) */ + for ( i = 0; i < game->paddle_count; i++ ) + paddle_reset( game->paddles[i] ); + + /* reset updates */ + game_reset_mods(); +} + +/* set the game context the subfunctions will apply their changes to */ +void game_set_current( Game *game ) +{ + cur_game = game; +} + +/* set score of paddle 'id'. 0 is bottom paddle and 1 is top paddle */ +void game_set_score( int id, int score ) +{ + if ( id < 0 || id >= cur_game->paddle_count ) return; + cur_game->paddles[id]->score = score; +} + +/* set number of additional balls a paddle can fire (all paddles) */ +void game_set_ball_ammo( int ammo ) +{ + int i; + for ( i = 0; i < cur_game->paddle_count; i++ ) { + cur_game->paddles[i]->ball_ammo = ammo; + cur_game->paddles[i]->start_ball_ammo = ammo; + } +} + +/* set the number of points required to win a PINGPONG level */ +void game_set_frag_limit( int limit ) +{ + cur_game->frag_limit = limit; +} + +/* set wether to use convex paddle */ +void game_set_convex_paddle( int convex ) +{ + cur_game->paddle_is_convex = convex; +} + +/* set wether balls are returned to a paddle by pressing fire. + * the alternative is that they automatically return. */ +void game_set_ball_auto_return( int auto_return ) +{ + cur_game->balls_return_by_click = !auto_return; +} + +/* set wether balls are fired at random angle or wether the + * left/right fire keys are used */ +void game_set_ball_random_angle( int random ) +{ + cur_game->balls_use_random_angle = random; +} + +/* set the speed of balls will have in accelerated state */ +void game_set_ball_accelerated_speed( float speed ) +{ + cur_game->accelerated_ball_speed = speed; +} + +/* update state of a paddle. x or y may be 0 which is not a valid value. + * in this case the property is left unchanged */ +void game_set_paddle_state( int id, int x, int y, int left_fire, int right_fire, int return_key ) +{ + Paddle *paddle = 0; + + if ( id < 0 || id >= cur_game->paddle_count ) return; + + paddle = cur_game->paddles[id]; + if ( x != 0 ) { paddle->x = x; paddle->cur_x = x; } + if ( y != 0 ) paddle->y = y; + paddle->fire_left = left_fire; + paddle->fire_right = right_fire; + paddle->ball_return_key_pressed = return_key; +} + +/* move objects, modify game data, store brick hits and collected extras. + * return wether level has been finished and the id of the winning paddle + * in network games. -1 is a draw. level_over and winner is saved in the + * game struct. */ +void game_update( int ms ) +{ + int i; + + extras_update( ms ); + walls_update( ms ); + shots_update( ms ); + bricks_update( ms ); + for ( i = 0; i < cur_game->paddle_count; i++ ) + { + paddle_update( cur_game->paddles[i], ms ); + /* release all balls from paddle if invisible */ + if (!paddle_solid(cur_game->paddles[i])) + balls_detach_from_paddle( cur_game->paddles[i], ((rand()%2==1)?-1:1) ); + } + + balls_update( ms ); + + /* level finished? */ + cur_game->level_over = 0; + if ( cur_game->game_type == GT_LOCAL ) { + /* local game */ + if ( cur_game->bricks_left == 0 ) cur_game->level_over = 1; + if ( cur_game->balls->count == 0 ) cur_game->level_over = 1; + } else { + /* network game */ + if ( cur_game->level_type != LT_PINGPONG ) { + if ( cur_game->bricks_left == 0 ) cur_game->level_over = 1; + } + else + if ( cur_game->paddles[PADDLE_TOP]->score >= cur_game->frag_limit || + cur_game->paddles[PADDLE_BOTTOM]->score >= cur_game->frag_limit ) + cur_game->level_over = 1; + } + + /* if so, determine winner */ + if ( cur_game->level_over ) { + if ( cur_game->game_type == GT_LOCAL ) { + if ( cur_game->bricks_left == 0 || cur_game->isBonusLevel ) + cur_game->winner = PADDLE_BOTTOM; /* praise */ + else + cur_game->winner = PADDLE_TOP; /* swear */ + } else { + cur_game->winner = PADDLE_BOTTOM; + if ( cur_game->game_type == GT_NETWORK ) { + if ( cur_game->paddles[PADDLE_TOP]->score > + cur_game->paddles[PADDLE_BOTTOM]->score ) + cur_game->winner = PADDLE_TOP; + else + if ( cur_game->paddles[PADDLE_TOP]->score == + cur_game->paddles[PADDLE_BOTTOM]->score ) + cur_game->winner = -1; + } + } + } +} + +/* get the modifications that occured in game_update() */ + +/* get current score of player. return 0 if player does not exist */ +int game_get_score( int id, int *score ) +{ + if ( id < 0 || id >= cur_game->paddle_count ) return 0; + *score = cur_game->paddles[id]->score; + return 1; +} + +/* get number of ball reflections */ +int game_get_reflected_ball_count( void ) +{ + return cur_game->mod.brick_reflected_ball_count+ + cur_game->mod.paddle_reflected_ball_count; +} + +/* get number of ball reflections on bricks */ +int game_get_brick_reflected_ball_count( void ) +{ + return cur_game->mod.brick_reflected_ball_count; +} + +/* get number of ball reflections on paddle */ +int game_get_paddle_reflected_ball_count( void ) +{ + return cur_game->mod.paddle_reflected_ball_count; +} + +/* get number of newly attached balls */ +int game_get_attached_ball_count( void ) +{ + return cur_game->mod.attached_ball_count; +} + +/* get number of fired shots no matter which paddle */ +int game_get_fired_shot_count( void ) +{ + return cur_game->mod.fired_shot_count; +} + +/* hit bricks since last call to game_update() */ +BrickHit *game_get_brick_hits( int *count ) +{ + *count = cur_game->mod.brick_hit_count; + return cur_game->mod.brick_hits; +} + +/* get a list of extras collected by paddle id */ +int *game_get_collected_extras( int id, int *count ) +{ + *count = 0; + if ( id < 0 || id >= cur_game->paddle_count ) return 0; + *count = cur_game->mod.collected_extra_count[id]; + return cur_game->mod.collected_extras[id]; +} + +/* get a snapshot of the level data which is the brick states + * converted to the original file format. this can be used to + * overwrite a levels data when player changes in alternative + * game */ +void game_get_level_snapshot( Level *shot ) +{ + int i, j; + int y_off; + + if ( cur_game->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++ ) { + shot->bricks[i][j] = cur_game->bricks[i+1][j+y_off].brick_c; + shot->extras[i][j] = cur_game->bricks[i+1][j+y_off].extra_c; + } +} + +/* reset the modification of game_update() */ +void game_reset_mods( void ) +{ + memset( &cur_game->mod, 0, sizeof( GameMod ) ); +} + +/* update a statistics struct by the level stats of a paddle. + * updates the win/loss/draw as well. the played_rounds entry + * is simply increased everytime this function is called */ +void game_update_stats( int id, GameStats *stats ) +{ + Paddle *paddle; + if ( id < 0 || id >= cur_game->paddle_count ) return; + + /* this should be called before game_finalize() as the + * stats will be cleared there */ + paddle = cur_game->paddles[id]; + + stats->total_score += paddle->score; + if ( stats->total_score < 0 ) stats->total_score = 0; + stats->balls_reflected += paddle->balls_reflected; + stats->balls_lost += paddle->balls_lost; + stats->bricks_cleared += paddle->bricks_cleared; + stats->total_brick_count += cur_game->brick_count; + stats->extras_collected += paddle->extras_collected; + stats->total_extra_count += cur_game->extra_count; + + if ( cur_game->winner == -1 ) + stats->draws++; + else + if ( cur_game->winner == id ) + stats->wins++; + else + stats->losses++; + stats->played_rounds++; +} diff --git a/project/jni/application/lbreakout2/game/game.h b/project/jni/application/lbreakout2/game/game.h new file mode 100644 index 000000000..059a6c3e4 --- /dev/null +++ b/project/jni/application/lbreakout2/game/game.h @@ -0,0 +1,122 @@ +/*************************************************************************** + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GAME_H +#define __GAME_H + +/***** INCLUDES ************************************************************/ + +#include "../client/lbreakout.h" +#include "mathfuncs.h" +#include "levels.h" +#include "extras.h" +#include "balls.h" +#include "shots.h" +#include "bricks.h" +#include "paddle.h" +#include "comm.h" + +/***** TYPE DEFINITIONS ****************************************************/ + +/***** PUBLIC FUNCTIONS ****************************************************/ + +/* 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 ); + +/* finalize single game level. the level_type is determined by + * counting the bricks. the data of 'level' is copied and modified + * while playing. */ +void game_init( Game *game, Level *level ); + +/* reset level/in_game data */ +void game_finalize( Game *game ); + +/* set the game context the subfunctions will apply their changes to */ +void game_set_current( Game *game ); + +/* set score of paddle 'id'. 0 is bottom paddle and 1 is top paddle */ +void game_set_score( int id, int score ); + +/* set number of additional balls a paddle can fire (all paddles) */ +void game_set_ball_ammo( int ammo ); + +/* set the number of points required to win a PINGPONG level */ +void game_set_frag_limit( int limit ); + +/* set wether to use convex paddle */ +void game_set_convex_paddle( int convex ); + +/* set wether balls are returned to a paddle by pressing fire. + * the alternative is that they automatically return. */ +void game_set_ball_auto_return( int auto_return ); + +/* set wether balls are fired at random angle or wether the + * left/right fire keys are used */ +void game_set_ball_random_angle( int random ); + +/* set the speed of balls will have in accelerated state */ +void game_set_ball_accelerated_speed( float speed ); + +/* update state of a paddle. x or y may be 0 which is not a valid value. + * in this case the property is left unchanged */ +void game_set_paddle_state( int id, int x, int y, int left_fire, int right_fire, int return_key ); + +/* move objects, modify game data, store brick hits and collected extras. + * return wether level has been finished and the id of the winning paddle + * in network games. -1 is a draw. level_over and winner is saved in the + * game struct. */ +void game_update( int ms ); + +/* get the modifications that occured in game_update() */ + +/* get current score of player. return 0 if player does not exist */ +int game_get_score( int id, int *score ); + +/* get number of ball reflections */ +int game_get_reflected_ball_count( void ); +int game_get_brick_reflected_ball_count( void ); +int game_get_paddle_reflected_ball_count( void ); + +/* get number of newly attached balls */ +int game_get_attached_ball_count( void ); + +/* get number of fired shots no matter which paddle */ +int game_get_fired_shot_count( void ); + +/* hit bricks since last call to game_update() */ +BrickHit *game_get_brick_hits( int *count ); + +/* get a list of extras collected by paddle id */ +int *game_get_collected_extras( int id, int *count ); + +/* get a snapshot of the level data which is the brick states + * converted to the original file format. this can be used to + * overwrite a levels data when player changes in alternative + * game */ +void game_get_level_snapshot( Level *snapshot ); + +/* reset the modification of game_update() */ +void game_reset_mods( void ); + +/* update a statistics struct by the level stats of a paddle. + * updates the win/loss/draw as well. the played_rounds entry + * is simply increased everytime this function is called */ +void game_update_stats( int id, GameStats *stats ); + +#endif + diff --git a/project/jni/application/lbreakout2/game/gamedefs.h b/project/jni/application/lbreakout2/game/gamedefs.h new file mode 100644 index 000000000..3670d7909 --- /dev/null +++ b/project/jni/application/lbreakout2/game/gamedefs.h @@ -0,0 +1,508 @@ +/*************************************************************************** + gamedefs.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GAMEDEFS_H +#define __GAMEDEFS_H + +enum { + /* game/level types */ + GT_LOCAL = 0, + GT_NETWORK, + LT_NORMAL = 0, + LT_PINGPONG, + + /* playing field */ + MAP_WIDTH = 16, + MAP_HEIGHT = 24, + EDIT_WIDTH = 14, + EDIT_HEIGHT = 18, + + /* extras */ + EX_NONE = -1, + EX_SCORE200 = 0, + EX_SCORE500, + EX_SCORE1000, + EX_SCORE2000, + EX_SCORE5000, + EX_SCORE10000, + EX_GOLDSHOWER, + EX_SHORTEN, + EX_LENGTHEN, + EX_LIFE, + EX_SLIME, + EX_METAL, + EX_BALL, + EX_WALL, + EX_FROZEN, + EX_WEAPON, + EX_RANDOM, + EX_FAST, + EX_SLOW, + EX_JOKER, + EX_DARKNESS, + EX_CHAOS, + EX_GHOST_PADDLE, + EX_DISABLE, + EX_TIME_ADD, + EX_EXPL_BALL, + EX_BONUS_MAGNET, + EX_MALUS_MAGNET, + EX_WEAK_BALL, + EX_NUMBER, + TIME_WALL = 10000, + TIME_METAL = 5000, + TIME_WEAPON = 5000, + TIME_FROZEN = 1000, + TIME_SLIME = 20000, + TIME_FAST = 20000, + TIME_SLOW = 20000, + TIME_GOLDSHOWER = 20000, + TIME_DARKNESS = 20000, + TIME_CHAOS = 10000, + TIME_GHOST_PADDLE = 20000, + TIME_EXPL_BALL = 10000, + TIME_BONUS_MAGNET = 20000, + TIME_MALUS_MAGNET = 20000, + TIME_WEAK_BALL = 10000, + + /* unused */ + TIME_SPIN_RIGHT = 20000, + TIME_SPIN_LEFT = 20000, + + /* paddle */ + PADDLE_INVIS_DELAY = 200, + WEAPON_FIRE_RATE = 150, + BALL_FIRE_RATE = 500, + BALL_RESPAWN_TIME = 5000, /* in normal multiplayer levelsets a user may bring + a new ball to game after this time penalty */ + ATTRACT_NONE = 0, + ATTRACT_BONUS, + ATTRACT_MALUS, + PADDLE_BOTTOM = 0, + PADDLE_TOP, + PADDLE_WEAPON_AMMO = 100, + + /* bricks */ + INVIS_BRICK_ID = 6, /* id of invisible brick */ + BRICK_EXP_TIME = 150, /* delay until explosion */ + BRICK_COUNT = 20, /* various brick types */ + BRICK_GROW_FIRST = 10, /* only bricks within this range may grow randomly */ + BRICK_GROW_LAST = 17, + GROW_BRICK_ID = 19, + BRICK_HEAL_TIME = 4000, /* after this time duration is increased */ + EXTRA_STACK_LIMIT = 20, + + MAP_EMPTY = 0, /* no brick */ + MAP_WALL, /* can't be destroyed at all */ + MAP_BRICK, /* may be destroyed if duration is not -1 */ + MAP_BRICK_EXP, /* explodes neighbors if destroyed */ + MAP_BRICK_GROW, /* grow neighbors if destroyed */ + MAP_BRICK_HEAL, /* heals itself when hit */ + MAP_BRICK_CHAOS, /* chaotic reflection by this brick */ + + BRICK_WIDTH = 40, + BRICK_HEIGHT = 20, + BRICK_SCORE = 100, + + /* hit types */ + HT_HIT = 0, /* decrease duration */ + 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, + BALL_METAL, + BALL_EXPL, + BALL_WEAK, + BALLS_IDLE_LIMIT=10000, + BALL_NO_ENTROPY = 0, + BALL_ADD_ENTROPY, + + /* particles */ + SHR_BY_NORMAL_BALL = 0, + SHR_BY_ENERGY_BALL, + SHR_BY_SHOT, + SHR_BY_EXPL, + SHR_BY_EXPL_WITH_EXPL, /* shrapnells as from explosion and draw an explosion */ + SHR_BY_DELAYED_EXPL, /* no explosion animation except for a expl brick */ + + /* modifications, beyond this count they are dropped */ + MAX_MODS = 256, + + /* difficulty */ + DIFF_COUNT = 4, + + /* players */ + MAX_PLAYERS = 4, + + /* credits */ + HIDE_CREDIT = 0, + SHOW_CREDIT, + + /* levels */ + 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; + int type; /* normal or type of bonus level */ +} Level; +typedef struct { + char name[20]; + int count; + int version, update; + int cur_level; /* id of current level */ + Level **levels; +} LevelSet; + +typedef struct { + float x, y; +} Vector; +typedef Vector Coord; + +typedef struct { + int exists; /* is there a target */ + int mx, my; /* position in map */ + float x, y; /* reset position of ball */ + int time; /* time till contact */ + int cur_tm; /* current time */ + Vector perp_vector; /* reflection vector */ + int side; /* side/corner of brick hit */ +} Target; + +typedef struct { + int total_score; /* or frags */ + + int balls_reflected; + int balls_lost; + int bricks_cleared; + int total_brick_count; + int extras_collected; + int total_extra_count; + + int wins, losses, draws; + int played_rounds; +} GameStats; + +typedef struct { + char name[32]; /* name */ + int lives; /* lives remaining (single player) */ + GameStats stats; /* total score and stuff */ + int paddle_id; /* index of paddle in game::paddles */ + int level_id; /* index in levelset the player is currently in. + to initiate a level the snapshot is used + as the player modifies the level data which + must be saved for alternating games */ + Level snapshot; /* if player switches in alternating game a + snapshot is kept of the players progress + in this level. when it is its turn again + it starts with this leveldata */ + int next_level_received; + int next_paddle_id; /* whether level has been received */ +} Player; + +/* if this is not defined paddle has no velocity balls are reflected by convex surface */ +#define PADDLE_FRICTION + +typedef struct { + int score; /* score/frags gained by this paddle */ + int type; /* either top or bottom */ + float cur_x; + int x, y; + int w, h; /* actual geometry */ +#ifdef PADDLE_FRICTION + float v_x; +#endif + int wanted_w; /* resize until w == wanted_w */ + int len; /* how many middle components ? */ + int start_len; + int min_len, max_len; /* limits */ + float friction; /* how much relative speed is given to balls ? */ + int friction_delay; /* its hard to exactly hit the moment when the ball touches the paddle + so while this is >0 friction is applied */ + int frozen; /* paddle frozen? */ + int slime; /* paddle covered with sticky slime */ + int attract; /* true if paddle attracts balls */ + Delay resize_delay; /* every delay ms the paddle size is adjusted about two pixels */ + int invis; /* is paddle invisible? */ + int invis_delay; /* as long as this isn't timed out the paddle is seen. + will be reset by movement */ + + /* FIRE STATE - updated by paddle_handle_events() & comm_update_remote_paddle() */ + int fire_left; + int fire_right; /* wether player presses fire buttons */ + int ball_return_key_pressed; /* wether player wants to return idle balls */ + + /* WEAPON - handled by paddle_update() */ + double weapon_cur; + int weapon_inst; /* is weapon installed? */ + int weapon_fire_delay; /* if >0 and either fire_left or fire_right is True checked + against milliseconds wether it drops <=0 in which + case it is reset to WEAPON_FIRE_RATE and a shot is fired */ + int weapon_ammo; /* number of shots available */ + + /* BALLS - handled by balls_update() !!! */ + int ball_fire_delay; /* analogue to weapon_fire_delay */ + int ball_ammo; /* number of balls player may bring to game */ + int start_ball_ammo; /* initial ammount as ball ammo is modified while playing */ + int last_ball_contact; /* in NormMP player may fire a new ball when this + time is longer ago than BALL_RESPAWN_TIME and no + balls are attached. Then a new ball is created and + attached to paddle. */ + int attached_ball_count; /* number of attached balls */ + int ball_ammo_disp_y; /* icons are drawn centered at y */ + int maxballspeed_request; + int maxballspeed_request_old; /* when middle mouse button is pressed the balls + are accelerated to max speed if old state was + zero and vice versa to slow down again */ + + /* EXTRAS */ + int extra_active[EX_NUMBER]; + int extra_time[EX_NUMBER]; /* paddle specific extras */ + int wall_y; /* position where wall is drawn */ + double wall_alpha; + + /* STATISTICS */ + int balls_reflected; /* how many times successfully reflected a ball */ + int balls_lost; /* how many balls lost? */ + int extras_collected; /* number of collected extras. the total number is + extra_count in struct game */ + int bricks_cleared; /* again the total number is brick_count in game */ + + /* used by client */ + Player *player; + int pic_x_offset; + int pic_y_offset; + SDL_Rect update_rect; /* screen update region */ + + /* used for dummy paddles */ + float bot_vx; /* paddle velocity in pix/msec */ +} Paddle; + +typedef struct { + Coord cur; /* current position */ + int x, y; + Vector vel; /* velocity components */ + int angle; /* angle 0-180 of vector */ + int attached; /* attached to paddle ? */ + Paddle *paddle; /* last paddle the ball had contact with */ + int moving_back; /* ball moves back to paddle as there was no + brick/paddle contact within the last + 20 secs */ + int idle_time; /* time passed since last brick/paddle contact */ + int return_allowed; /* if this is set returning by click is allowed */ + Target target; /* target in map */ + int get_target; /* if this is true balls_update() will compute the target + and clear this flag */ +} Ball; + +typedef struct { + float x, y; + Target target; + int next_too; /* destroys right brick, too */ + Paddle *paddle; /* paddle that initiated the shot */ + int dir; /* direction of shot depending on paddle */ + int get_target; /* if this is true shots_update() will compute the target + and clear this flag */ + + /* used by client */ + float cur_fr; + SDL_Rect update_rect; /* screen update region */ +} Shot; + +typedef struct { + int type; /* any of the old MAP_XXX types above */ + int id; /* picture id -- if -1 no brick -- if 0 it's indestructible */ + int dur; /* durability - if -1 & type != MAP_WALL it's only destructible + by energy ball */ + int extra; /* extra released when destroyed */ + int score; /* score you get when desctroying this brick */ + int exp_time; /* -1 means inexplosive; value is set by a nearby explosion brick */ + Paddle *exp_paddle; /* paddle that initiated the explosion */ + int heal_time; /* if not -1 counted down and when 0 brick heals one duration + (until fully healed) */ + int mx, my; /* position of brick in map */ + char brick_c; /* original character when saved to file */ + char extra_c; /* original character or 0 */ +} Brick; + +typedef struct { + int x,y; /* position */ + int type; /* destruction, hit, regeneration, growth */ + int dest_type;/* shot, normal, energy, explosion */ + /* 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; + +typedef struct { + float x, y; + float alpha; + int type; + int offset; /* offset in extra pic */ + int dir; /* extra will move to this direction: 1 or -1 */ + SDL_Rect update_rect; /* screen update region */ +} Extra; + +typedef struct { + int type; + int px, py; + int dir; +} Stack_Extra; /* pushed extra in bricks.c which is popped in extra.c */ + +typedef struct { + int lives, max_lives; + int paddle_min_size; /* minimum middle size */ + int paddle_size; /* paddle's starting size */ + int paddle_max_size; /* max size */ + int score_mod; /* 10: 100% ±1: ±10% */ + float v_start; + float v_add; /* change per speedup level */ + float v_max; /* velocity for this difficulty */ + int v_delay; /* delay between speedups */ + int allow_maluses; /* boolean */ +} GameDiff; + +typedef struct { + int collected_extras[2][MAX_MODS]; + int collected_extra_count[2]; + BrickHit brick_hits[MAX_MODS]; + int brick_hit_count; + int fired_shot_count; + int attached_ball_count; + 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; + GameDiff *diff; /* difficulty level */ + int rel_warp_limit; + + /* level data */ + int level_type; + char author[32], title[32]; + Brick bricks[MAP_WIDTH][MAP_HEIGHT]; + int brick_count; /* is not changed as it is needed for stats */ + int bricks_left; /* is decreased. when 0 game is over */ + int warp_limit; /* if bricks_left <= warp_limit, warp is allowed */ + int extra_count; /* initial number of extras */ + int extra_active[EX_NUMBER]; /* wether extra is active */ + int extra_time[EX_NUMBER]; /* time in milliseconds when extra expires */ + double ball_v, ball_v_min, ball_v_max; /* ball velocity */ + Delay speedup_delay; + int speedup_level; /* number of speedups */ + int paddle_is_convex; + int balls_return_by_click; + int balls_use_random_angle; + float accelerated_ball_speed; + int frag_limit; /* number of points a player must gain to win a + pingpong level */ + int level_over; /* wether level is finished */ + int winner; /* 0 - BOTTOM won + 1 - TOP won + -1 - draw */ + + /* game objects */ + Paddle *paddles[2]; + int paddle_count; + List *balls; + List *extras; + List *shots; + List *heal_bricks, *exp_bricks; + + /* 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/project/jni/application/lbreakout2/game/levels.c b/project/jni/application/lbreakout2/game/levels.c new file mode 100644 index 000000000..c4be9abc1 --- /dev/null +++ b/project/jni/application/lbreakout2/game/levels.c @@ -0,0 +1,505 @@ +/*************************************************************************** + levels.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "levels.h" + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Read in next line. +==================================================================== +*/ +static int next_line( FILE *file, char *buffer ) +{ + /* lines with an # are comments: ignore them */ + if ( !fgets( buffer, 1023, file ) ) return 0; + if ( buffer[strlen(buffer) - 1] == 10 ) + buffer[strlen(buffer) - 1] = 0; + return 1; +} + +/* compare with brick conversion table and return true or false + * depending on whether brick is destructible by normal hit */ +static int is_destructible( char brick ) +{ + if ( (brick >= 'a' && brick <= 'k') || + (brick >= 'x' && brick <= 'z') || + brick == 'v' || + brick == '*' || + brick == '!' ) + return 1; + return 0; +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Open a levelset file by name. +==================================================================== +*/ +FILE *levelset_open( char *fname, char *mode ) +{ + FILE *file; + char path[512]; + if ( fname[0] == '~' ) { + snprintf( path, sizeof(path)-1, "%s/%s/lbreakout2-levels/%s", + (getenv( "HOME" )?getenv( "HOME" ):"."), + CONFIG_DIR_NAME, fname + 1 ); + } + else + if ( fname[0] != '/' ) /* keep global pathes */ + snprintf( path, sizeof(path)-1, "%s/levels/%s", SRC_DIR, fname ); + else + snprintf( path, sizeof(path)-1, "%s", fname ); + + if ( ( file = fopen( path, mode ) ) == 0 ) { + fprintf( stderr, "couldn't open %s\n", path ); + return 0; + } + return file; +} +/* +==================================================================== +Load all levels from file and add them to the list. +==================================================================== +*/ +int levels_load( char *fname, List *levels, int *version, int *update ) +{ + /* load all levels from levelset 'fname' and put + them to list 'levels' */ + FILE *file; + Level *level; + /* get file handle */ + if ( ( file = levelset_open( fname, "rb" ) ) == 0 ) + return 0; + /* check version */ + levelset_get_version( file, version, update ); + /* read levels */ + while( ( level = level_load( file ) ) != 0 ) + list_add( levels, level ); + fclose( file ); + return 1; +} +/* +==================================================================== +Load all levels from either +home directory (fname begins with ~) or installation directory. +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 ); + else + printf( "%s v%i.%02i: %i levels\n", fname, set->version, set->update, set->count ); + return set; +} +/* +==================================================================== +Load all levelSETS listed in 'levelsets' (names) into one big +levelset and shake the levels a bit. Use a fixed seed for this +and reinit random generator with current time when done. +Use sets from install directory only (no preceding ~) +==================================================================== +*/ +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, 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 ); + + /* 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; + } + 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; + } + } + srand(time(0)); + + version = 1; update = 0; + set = levelset_build_from_list( levels, TOURNAMENT, version, update ); + if ( set == 0 ) + fprintf( stderr, "empty levelset: %s\n", TOURNAMENT ); + else + printf( "%s v%i.%02i: %i levels\n", TOURNAMENT, + set->version, set->update, set->count ); + return set; +} +/* +==================================================================== +Build a levelset from a level list and delete the list. +The levels are taken from the list so it must not have AUTO_DELETE +enabled! +==================================================================== +*/ +LevelSet *levelset_build_from_list( List *levels, char *name, int version, int update ) +{ + LevelSet *set = 0; + Level *level; + int i = 0; + + if ( levels->count == 0 ) return 0; + set = salloc( 1, sizeof( LevelSet ) ); + snprintf( set->name, 20, "%s", name ); + set->levels = salloc( levels->count, sizeof( Level* ) ); + set->count = levels->count; + set->version = version; + set->update = update; + list_reset( levels ); + while ( (level = list_next( levels )) ) { + set->levels[i] = level; + i++; + } + list_delete( levels ); + return set; +} +/* +==================================================================== +Save levelset to home directory (regardsless of ~ in front of it). +Return Value: True if successful. +==================================================================== +*/ +int levelset_save( LevelSet *set, char *fname ) +{ + FILE *file; + Level *level; + char path[512]; + int i, j, k; + + if ( set == 0 || set->count == 0 ) return 0; + + snprintf( path, sizeof(path)-1, "%s/%s/lbreakout2-levels/%s", + (getenv( "HOME" )?getenv( "HOME" ):"."), + CONFIG_DIR_NAME, (fname[0]=='~')?fname+1:fname ); + if ( ( file = fopen( path, "w" ) ) == 0 ) { + fprintf( stderr, "couldn't open %s\n", path ); + return 0; + } + + fprintf( file, "Version: %i.%02i\n", + set->version, set->update ); + for ( k = 0; k < set->count; k++ ) { + level = set->levels[k]; + + fprintf( file, "Level:\n%s\n%s\nBricks:\n", + level->author, level->name ); + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + for ( i = 0; i < EDIT_WIDTH; i++ ) + fprintf( file, "%c", level->bricks[i][j] ); + fprintf( file, "\n" ); + } + fprintf( file, "Bonus:\n" ); + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + for ( i = 0; i < EDIT_WIDTH; i++ ) + fprintf( file, "%c", level->extras[i][j] ); + fprintf( file, "\n" ); + } + } + + fclose( file ); + return 1; +} +/* +==================================================================== +Create an all empty levelset. +==================================================================== +*/ +LevelSet *levelset_create_empty( int count, char *author, char *name ) +{ + int i; + LevelSet *set = salloc( 1, sizeof( LevelSet ) ); + + strcpy( set->name, name ); + set->count = count; + set->levels = salloc( count, sizeof( Level* ) ); + for ( i = 0; i < count; i++ ) + set->levels[i] = level_create_empty( author, name ); + set->version = 1; set->update = 0; + return set; +} +/* +==================================================================== +Delete levels and set pointer NULL. Second version is for use with +lists. +==================================================================== +*/ +void levelset_delete( LevelSet **set ) +{ + int i; + if ( *set == 0 ) return; + if ( (*set)->levels ) { + for ( i = 0; i < (*set)->count; i++ ) + if ( (*set)->levels[i] ) + level_delete( (*set)->levels[i] ); + free( (*set)->levels ); + } + free( *set ); *set = 0; +} +void levelset_list_delete( void *ptr ) +{ + LevelSet *set = (LevelSet*)ptr; + levelset_delete( &set ); +} +/* +==================================================================== +Get next level from a set starting at the first level. If no more +levels remain, NULL is returned. +==================================================================== +*/ +Level* levelset_get_first( LevelSet *set ) +{ + return set->levels[0]; +} +Level* levelset_get_next( LevelSet *set ) +{ + if ( set->cur_level == set->count ) + return 0; + return set->levels[set->cur_level++]; +} +/* +==================================================================== +Return list id of this level or -1 if not within this set. +==================================================================== +*/ +int levelset_get_id( LevelSet *set, Level *level ) +{ + int i; + + for ( i = 0; i < set->count; i++ ) + if ( level == set->levels[i] ) + return i; + return -1; +} +/* +==================================================================== +Load level from current file position. +==================================================================== +*/ +Level* level_load( FILE *file ) +{ + Level *level = 0; + char buffer[1024]; + int i, j; + + /* file handle ok? */ + if ( !file ) + return 0; + /* get level mem */ + level = calloc( 1, sizeof( Level ) ); + /* read entries */ + /* level: */ + if ( !next_line( file, buffer ) ) goto failure; + if ( !strequal( "Level:", buffer ) ) goto failure; + /* author */ + if ( !next_line( file, buffer ) ) goto failure; + snprintf( level->author, 31, "%s", buffer ); + /* level name */ + if ( !next_line( file, buffer ) ) goto failure; + snprintf( level->name, 31, "%s", buffer ); + /* bricks: */ + if ( !next_line( file, buffer ) ) goto failure; + if ( !strequal( "Bricks:", buffer ) ) goto failure; + /* load bricks */ + for ( i = 0; i < EDIT_HEIGHT; i++ ) { + if ( !next_line( file, buffer ) ) goto failure; + if ( strlen( buffer ) < EDIT_WIDTH ) goto failure; + for ( j = 0; j < EDIT_WIDTH; j++ ) + level->bricks[j][i] = buffer[j]; + } + /* extras: */ + if ( !next_line( file, buffer ) ) goto failure; + if ( !strequal( "Bonus:", buffer ) ) goto failure; + /* load extras */ + for ( i = 0; i < EDIT_HEIGHT; i++ ) { + if ( !next_line( file, buffer ) ) goto failure; + if ( strlen( buffer ) < EDIT_WIDTH ) goto failure; + for ( j = 0; j < EDIT_WIDTH; j++ ) + level->extras[j][i] = buffer[j]; + } + /* count destructible bricks */ + level->normal_brick_count = 0; + for ( i = 0; i < EDIT_HEIGHT; i++ ) + 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: + level_delete( level ); + return 0; +} +/* +==================================================================== +Create an empty level +==================================================================== +*/ +Level* level_create_empty( char *author, char *name ) +{ + int i, j; + Level *level = calloc( 1, sizeof( Level ) ); + snprintf( level->author, 31, "%s", author ); + snprintf( level->name, 31, "%s", name ); + /* empty arena */ + for ( i = 0; i < EDIT_WIDTH; i++ ) + for ( j = 0; j < EDIT_HEIGHT; j++ ) { + level->extras[i][j] = '.'; + level->bricks[i][j] = '.'; + } + /* empty level is always of type LT_NORMAL */ + level->type = LT_NORMAL; + return level; +} +/* +==================================================================== +Delete level pointer. +==================================================================== +*/ +void level_delete( void *level_ptr ) +{ + Level *level = (Level*)level_ptr; + if ( level == 0 ) return; + free( level ); +} + +/* +==================================================================== +Get version and current update of levelset: x.x +Will reset the file pointer to beginning. +==================================================================== +*/ +void levelset_get_version( FILE *file, int *version, int *update ) +{ + char buffer[1024]; + *version = 1; *update = 0; + fseek( file, 0, SEEK_SET ); + next_line( file, buffer ); + if ( strlen( buffer ) > 8 && !strncmp( buffer, "Version:", 8 ) ) + parse_version( buffer + 8, version, update ); + else + fseek( file, 0, SEEK_SET ); +} + +/* +==================================================================== +Get the name of the author of the first level. +==================================================================== +*/ +void levelset_get_first_author( FILE *file, char *author ) +{ + char buffer[1024]; + int dummy; + levelset_get_version( file, &dummy, &dummy ); + next_line( file, buffer ); + next_line( file, buffer ); + strcpy_lt( author, buffer, 31 ); +} diff --git a/project/jni/application/lbreakout2/game/levels.h b/project/jni/application/lbreakout2/game/levels.h new file mode 100644 index 000000000..3996601ee --- /dev/null +++ b/project/jni/application/lbreakout2/game/levels.h @@ -0,0 +1,130 @@ +/*************************************************************************** + levels.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __LEVELS_H +#define __LEVELS_H + +#include "../client/lbreakout.h" + +#define NEW_SET _("") +#define TOURNAMENT _("!FREAKOUT!") + +/* +==================================================================== +Open a levelset file by name. +==================================================================== +*/ +FILE *levelset_open( char *fname, char *mode ); +/* +==================================================================== +Load all levels from file and add them to the list. +==================================================================== +*/ +int levels_load( char *fname, List *levels, int *version, int *update ); +/* +==================================================================== +Load all levels from either +home directory (fname begins with ~) or installation directory. +==================================================================== +*/ +LevelSet *levelset_load( char *fname, int addBonusLevels ); +/* +==================================================================== +Load all levelSETS listed in 'levelsets' (names) into one big +levelset and shake the levels a bit. Use a fixed seed for this +and reinit random generator with current time when done. +==================================================================== +*/ +LevelSet *levelset_load_all( List *levelsets, int seed, int addBonusLevels ); +/* +==================================================================== +Build a levelset from a level list and delete the list. +The levels are taken from the list so it must not have AUTO_DELETE +enabled! +==================================================================== +*/ +LevelSet *levelset_build_from_list( List *levels, char *name, int version, int update ); +/* +==================================================================== +Save levelset to home directory (regardsless of ~ in front of it). +Return Value: True if successful. +==================================================================== +*/ +int levelset_save( LevelSet *set, char *fname ); +/* +==================================================================== +Create an all empty levelset. +==================================================================== +*/ +LevelSet *levelset_create_empty( int count, char *author, char *name ); +/* +==================================================================== +Delete levels and set pointer NULL. Second version is for use with +lists. +==================================================================== +*/ +void levelset_delete( LevelSet **set ); +void levelset_list_delete( void *ptr ); +/* +==================================================================== +Get first/next level from a set starting at the first level. If +no more levels remain, NULL is returned. +==================================================================== +*/ +Level* levelset_get_first( LevelSet *set ); +Level* levelset_get_next( LevelSet *set ); +/* +==================================================================== +Return list id of this level or -1 if not within this set. +==================================================================== +*/ +int levelset_get_id( LevelSet *set, Level *level ); +/* +==================================================================== +Load level from current file position. +==================================================================== +*/ +Level* level_load( FILE *file ); +/* +==================================================================== +Create an empty level +==================================================================== +*/ +Level* level_create_empty( char *author, char *name ); +/* +==================================================================== +Delete level pointer. +==================================================================== +*/ +void level_delete( void *level_ptr ); + +/* +==================================================================== +Get version and current update of levelset: x.x +Will reset the file pointer to beginning. +==================================================================== +*/ +void levelset_get_version( FILE *file, int *version, int *update ); +/* +==================================================================== +Get the name of the author of the first level. +==================================================================== +*/ +void levelset_get_first_author( FILE *file, char *author ); + +#endif + diff --git a/project/jni/application/lbreakout2/game/libgame.a b/project/jni/application/lbreakout2/game/libgame.a new file mode 100644 index 000000000..03056e28a Binary files /dev/null and b/project/jni/application/lbreakout2/game/libgame.a differ diff --git a/project/jni/application/lbreakout2/game/mathfuncs.c b/project/jni/application/lbreakout2/game/mathfuncs.c new file mode 100644 index 000000000..c297edee4 --- /dev/null +++ b/project/jni/application/lbreakout2/game/mathfuncs.c @@ -0,0 +1,270 @@ +/*************************************************************************** + mathfuncs.c - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "../client/lbreakout.h" +#include "mathfuncs.h" + +char circle_msg[256]; + +/* +==================================================================== +Return vector struct with the specified coordinates. +==================================================================== +*/ +Vector vector_get( float x, float y ) +{ + Vector v = { x, y }; + return v; +} +/* +==================================================================== +Give vector the normed length of 1. +==================================================================== +*/ +void vector_norm( Vector *v ) +{ + float length; + if ( v->x == 0 && v->y == 0 ) return; /* NULL vector may not be normed */ + length = sqrt( v->x * v->x + v->y * v->y ); + v->x /= length; + v->y /= length; +} +/* +==================================================================== +Return monotony of vector. If vertical return 0 +==================================================================== +*/ +float vector_monotony( Vector v ) +{ + if ( v.x == 0 ) return 0; + return v.y / v.x; +} +/* +==================================================================== +Set length of a vector. +==================================================================== +*/ +void vector_set_length( Vector *v, float length ) +{ + vector_norm( v ); + v->x *= length; v->y *= length; +} + +/* +==================================================================== +Initiate a line struct. +==================================================================== +*/ +void line_set( Line *line, float x, float y, float m ) +{ + line->vertical = 0; + line->m = m; + line->n = y - m*x; +} +void line_set_vert( Line *line, float x ) +{ + line->vertical = 1; + line->x = x; +} +void line_set_hori( Line *line, float y ) +{ + line->vertical = 0; + line->m = 0; + line->n = y; +} +/* +==================================================================== +Intersect lines and set 'pos' to intersecting point. +Return Value: True if lines intersect. +==================================================================== +*/ +int line_intersect( Line *line, Line *target, Coord *pos ) +{ + /* reset pos */ + pos->x = pos->y = 0; + /* if lines are parallel return False */ + if ( line->vertical && target->vertical ) return 0; /* vertical parallels */ + if ( !line->vertical && !target->vertical && line->m == target->m ) return 0; /* non-vertical parallels */ + /* right now only one thing is supported: line horizontal */ + if ( line->m == 0 && line->vertical == 0 ) { + pos->y = line->n; + if ( target->vertical ) + pos->x = target->x; + else + pos->x = ( pos->y - target->n ) / target->m; + return 1; + } + if ( line->vertical ) { + if ( target->vertical ) return 0; + pos->x = line->x; + pos->y = target->m * pos->x + target->n; + return 1; + } + if ( target->vertical ) { + printf( "line_intersect: line non-vertical and target vertical not supported yet\n" ); + return 1; + } + /* compute if both lines are neither vertical nor horizontal */ + pos->x = ( line->n - target->n ) / ( target->m - line->m ); + pos->y = line->m * pos->x + line->n; + return 1; +} + +/* +==================================================================== +Initiate a line struct. +==================================================================== +*/ +void iline_set( ILine *line, int x, int y, int m_4096 ) +{ + line->vertical = 0; + line->m_4096 = m_4096; + line->n = y - ((m_4096*x)>>12); +} +void iline_set_vert( ILine *line, int x ) +{ + line->vertical = 1; + line->x = x; +} +void iline_set_hori( ILine *line, int y ) +{ + line->vertical = 0; + line->m_4096 = 0; + line->n = y; +} +/* +==================================================================== +Intersect lines and set 'pos' to intersecting point. +Return Value: True if lines intersect. +==================================================================== +*/ +int iline_intersect( ILine *line, ILine *target, ICoord *pos ) +{ + /* reset pos */ + pos->x = pos->y = 0; + /* if lines are parallel return False */ + if ( line->vertical && target->vertical ) return 0; /* vertical parallels */ + if ( !line->vertical && !target->vertical ) + if ( line->m_4096 == target->m_4096 ) return 0; /* non-vertical parallels */ + /* right now only one thing is supported: line horizontal */ + if ( line->m_4096 == 0 && line->vertical == 0 ) { + pos->y = line->n; + if ( target->vertical ) + pos->x = target->x; + else + pos->x = (( pos->y - target->n )<<12) / target->m_4096; + return 1; + } + if ( line->vertical ) { + if ( target->vertical ) return 0; + pos->x = line->x; + pos->y = ((target->m_4096 * pos->x)>>12) + target->n; + return 1; + } + if ( target->vertical ) { + printf( "line_intersect: line non-vertical and target vertical not supported yet\n" ); + return 1; + } + /* compute if both lines are neither vertical nor horizontal */ + pos->x = (( line->n - target->n )<<12) / ( target->m_4096 - line->m_4096 ); + pos->y = ((line->m_4096 * pos->x)>>12) + line->n; + return 1; +} + +/* +==================================================================== +Intersect line pos+t*v with circle (x+m)²=r² +Important length of v MUST be 1. +Return Value: True if intersecting, Intersecting points +==================================================================== +*/ +int circle_intersect( Vector m, int r, Vector pos, Vector v, Vector *t1, Vector *t2 ) +{ + Vector delta = { pos.x - m.x, pos.y - m.y }; + float delta_v = delta.x * v.x + delta.y * v.y; + float dis = delta_v * delta_v + r * r - ( delta.x * delta.x + delta.y * delta.y ); + float t; + + if ( dis < 0 ) { +#ifdef WITH_BUG_REPORT + sprintf( circle_msg, "Diskriminante < 0" ); +#endif + return 0; + } + dis = sqrt( dis ); + + t = -delta_v + dis; + t1->x = pos.x + t * v.x; t1->y = pos.y + t * v.y; + t = -delta_v - dis; + t2->x = pos.x + t * v.x; t2->y = pos.y + t * v.y; +#ifdef WITH_BUG_REPORT + sprintf( circle_msg, "Intersection points: (%4.2f,%4.2f), (%4.2f,%4.2f)", t1->x, t1->y, t2->x, t2->y ); +#endif + return 1; +} + +/* convert vector to angle/2 0-180 and vice versa */ +static Vector impact_vectors[180]; /* clockwise impact vectors in 2 degree steps */ + +void init_angles( void ) +{ + int i; + + /* create vectors for all degrees in 2° steps */ + for ( i = 0; i < 180; i++ ) { + impact_vectors[i].x = cos( 6.28 * i / 180 ); + impact_vectors[i].y = sin( 6.28 * i / 180 ); + } +} + +int vec2angle( Vector *vec ) +{ + int degrees = 0; + + /* translate impact vector (src-center) into degrees + * (0°: horizontally right, clockwise going) */ + if ( vec->x == 0 ) + degrees = 90; /* basically impossible as we mask this out */ + else + degrees = (int)(360 * atan( (double)(fabs(vec->y))/fabs(vec->x) ) / 6.28); + /* get the proper quartal */ + if ( vec->x > 0 ) { + if ( vec->y < 0 ) + degrees = 360 - degrees; + } + else { + if ( vec->y >= 0 ) + degrees = 180 - degrees; + else + degrees = 180 + degrees; + } + + return degrees/2; +} + +void angle2vec( int angle, Vector *vec ) +{ + vec->x = 0; + vec->y = 0; + + if ( angle < 0 ) return; + if ( angle > 179 ) return; + + *vec = impact_vectors[angle]; +} + + diff --git a/project/jni/application/lbreakout2/game/mathfuncs.h b/project/jni/application/lbreakout2/game/mathfuncs.h new file mode 100644 index 000000000..764ff836e --- /dev/null +++ b/project/jni/application/lbreakout2/game/mathfuncs.h @@ -0,0 +1,112 @@ +/*************************************************************************** + mathfuncs.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __MATH_H +#define __MATH_H + +/* integer vector */ +typedef struct { + int x,y; +} ICoord; + +typedef struct { + float x; /* position if vertical line */ + int vertical; /* if this is set monotony is not computed */ + float m; /* monotony */ + float n; /* y_offset */ +} Line; + +/* integer line */ +typedef struct { + int x; /* position if vertical line */ + int vertical; /* if this is set monotony is not computed */ + int m_4096; /* monotony * 4096 */ + int n; /* y_offset */ +} ILine; + +/* +==================================================================== +Return vector struct with the specified coordinates. +==================================================================== +*/ +Vector vector_get( float x, float y ); +/* +==================================================================== +Give vector the normed length of 1. +==================================================================== +*/ +void vector_norm( Vector *v ); +/* +==================================================================== +Return monotony of vector. If vertical return 0 +==================================================================== +*/ +float vector_monotony( Vector v ); +/* +==================================================================== +Set length of a vector. +==================================================================== +*/ +void vector_set_length( Vector *v, float length ); + +/* +==================================================================== +Initiate a line struct. +==================================================================== +*/ +void line_set( Line *line, float x, float y, float m ); +void line_set_vert( Line *line, float x ); +void line_set_hori( Line *line, float y ); +/* +==================================================================== +Intersect lines and set 'pos' to intersecting point. +Return Value: True if lines intersect. +==================================================================== +*/ +int line_intersect( Line *line, Line *target, Coord *pos ); + +/* +==================================================================== +Initiate a line struct. +==================================================================== +*/ +void iline_set( ILine *line, int x, int y, int m_4096 ); +void iline_set_vert( ILine *line, int x ); +void iline_set_hori( ILine *line, int y ); +/* +==================================================================== +Intersect lines and set 'pos' to intersecting point. +Return Value: True if lines intersect. +==================================================================== +*/ +int iline_intersect( ILine *line, ILine *target, ICoord *pos ); + +/* +==================================================================== +Intersect line pos+t*v with circle (x+m)²=r² +Important length of v MUST be 1. +Return Value: True if intersecting, Intersecting points +==================================================================== +*/ +int circle_intersect( Vector m, int r, Vector pos, Vector v, Vector *t1, Vector *t2 ); + +/* convert vector to angle/2 0-180 and vice versa */ +void init_angles( void ); +int vec2angle( Vector *vec ); +void angle2vec( int angle, Vector *vec ); + +#endif diff --git a/project/jni/application/lbreakout2/game/paddle.c b/project/jni/application/lbreakout2/game/paddle.c new file mode 100644 index 000000000..57fc203bb --- /dev/null +++ b/project/jni/application/lbreakout2/game/paddle.c @@ -0,0 +1,303 @@ +/*************************************************************************** + paddle.c - description + ------------------- + begin : Fri Sep 7 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "../client/lbreakout.h" +#include "shots.h" +#include "paddle.h" + +extern Game *cur_game; +int paddle_cw = 18, paddle_ch = 18; /* size of a paddle component */ + +/* +==================================================================== +Create/delete a paddle. x is centered assuming a screen width of +640. ball_ammo is the number of additional balls paddle + may bring to game. +==================================================================== +*/ +Paddle* paddle_create( + int score, int type, int y, int size, int min_size, int max_size, int ball_ammo ) +{ + Paddle *paddle = salloc( 1, sizeof( Paddle ) ); + delay_set( &paddle->resize_delay, 40 ); + paddle->score = score; + paddle->len = size; + paddle->start_len = size; + paddle->min_len = min_size; + paddle->max_len = max_size; + paddle->w = (paddle->len + 2) * paddle_cw; + paddle->wanted_w = paddle->w; + paddle->h = paddle_ch; + paddle->y = y; + paddle->type = type; + if ( paddle->type == PADDLE_TOP ) + paddle->wall_y = 0; + else + paddle->wall_y = 480 - BRICK_HEIGHT; + paddle->wall_alpha = 0; + paddle->x = ((MAP_WIDTH * BRICK_WIDTH) - paddle->w) / 2; /* centered */ + paddle->cur_x = paddle->x; + paddle->friction = 0.3; + paddle->friction_delay = 0; + /* reset weapon */ + paddle->weapon_ammo = PADDLE_WEAPON_AMMO; + /* reset slime&frozen */ + paddle->slime = 0; + paddle->frozen = 0; + /* attract */ + paddle->attract = ATTRACT_NONE; + /* no ivisiblivty */ + paddle->invis = 0; + /* ammo */ + paddle->ball_ammo = ball_ammo; + paddle->start_ball_ammo = ball_ammo; + /* ammo display */ + paddle->ball_ammo_disp_y = 4; + if ( paddle->type == PADDLE_BOTTOM ) + paddle->ball_ammo_disp_y += (MAP_HEIGHT-1)*BRICK_HEIGHT; + + return paddle; +} +void paddle_delete( Paddle *paddle ) +{ + if ( paddle ) free( paddle ); +} +void paddle_reset( Paddle *paddle ) +{ + /* bad hack, isn't it? */ + Paddle *new = paddle_create( + 0/*clear score*/, paddle->type, paddle->y, paddle->start_len, + paddle->min_len, paddle->max_len, paddle->start_ball_ammo ); + *paddle = *new; + paddle_delete( new ); +} + +void paddle_freeze( Paddle *paddle, int freeze ) +{ + paddle->frozen = freeze; + /* Goddammit what a shitty hack!!! hope I never change input stuff + again. but who cares anyway? isn't this source all screwed up + already? so let's go on until chaos reigns!!! multiple exclamation + marks are a sure sign of a deseased mind, I read somewhere. This + is not true!!! I am NOT not mental!!! Hey, if you read this, drop + me a note. Just curious whether someone ever happened to do so. */ + SDL_GetRelativeMouseState( &freeze, &freeze ); +} +void paddle_set_slime( Paddle *paddle, int slime ) +{ + paddle->slime = slime; +} +int paddle_slimy( Paddle *paddle ) +{ + return paddle->slime; +} + +/* +==================================================================== +Set if paddle attracts boni/mali or none. +==================================================================== +*/ +void paddle_set_attract( Paddle *paddle, int attract ) +{ + paddle->attract = attract; + /* no graphical change yet */ +} +int paddle_attract_malus( Paddle *paddle ) +{ + return ( paddle->attract == ATTRACT_MALUS ); +} +int paddle_attract_bonus( Paddle *paddle ) +{ + return ( paddle->attract == ATTRACT_BONUS ); +} +int paddle_check_attract( Paddle *paddle, int type ) +{ + switch ( type ) { + /* bonus */ + case EX_SCORE200: + case EX_SCORE500: + case EX_SCORE1000: + case EX_SCORE2000: + case EX_SCORE5000: + case EX_SCORE10000: + case EX_GOLDSHOWER: + case EX_LENGTHEN: + case EX_LIFE: + case EX_SLIME: + case EX_METAL: + case EX_BALL: + case EX_WALL: + case EX_WEAPON: + case EX_SLOW: + case EX_JOKER: + case EX_EXPL_BALL: + case EX_BONUS_MAGNET: + if ( paddle_attract_bonus( paddle ) ) + return 1; + return 0; + /* penalty */ + case EX_SHORTEN: + case EX_FAST: + /* + case EX_SPIN_RIGHT: + case EX_SPIN_LEFT: + */ + case EX_MALUS_MAGNET: + case EX_WEAK_BALL: + case EX_DARKNESS: + case EX_GHOST_PADDLE: + case EX_FROZEN: + if ( paddle_attract_malus( paddle ) ) + return 1; + return 0; + /* neutral */ + case EX_DISABLE: + case EX_CHAOS: + case EX_TIME_ADD: + case EX_RANDOM: + return 0; + } + return 0; +} + +/* +==================================================================== +(De)activate ghostly behaviour: paddle is only seen when moved at +maximum 200ms before. +==================================================================== +*/ +void paddle_set_invis( Paddle *paddle, int invis ) +{ + if ( invis ) paddle->invis_delay = PADDLE_INVIS_DELAY; + paddle->invis = invis; +} +int paddle_solid( Paddle *paddle ) +{ + /* does paddle is visible? */ + if ( !paddle->invis ) return 1; + if ( paddle->invis_delay ) return 1; + return 0; +} + +/* +==================================================================== +Init paddle resize (the change between wanted_w and w MUST be +even (else the paddle shrinks til eternity) +==================================================================== +*/ +int paddle_init_resize( Paddle *paddle, int c ) +{ + /* resize possbile */ + if ( paddle->len + c > paddle->max_len || paddle->len + c < paddle->min_len ) + return 0; + /* get wanted width */ + paddle->len += c; + paddle->wanted_w = (paddle->len + 2) * paddle_cw; + /* reset delay */ + delay_reset( &paddle->resize_delay ); + return 1; +} +/* +==================================================================== +Actually resize paddle and return the -1 for shrinkage and 1 +for expansion. +==================================================================== +*/ +int paddle_resize( Paddle *paddle, int ms ) +{ + if ( paddle->w == paddle->wanted_w ) return 0; + if ( !delay_timed_out( &paddle->resize_delay, ms ) ) return 0; + /* change size and position */ + if ( paddle->w < paddle->wanted_w ) { + paddle->w += 2; + paddle->cur_x -= 1; + paddle->x = (int)paddle->cur_x; + /* check range */ + if (paddle->x < BRICK_WIDTH) + paddle->x = BRICK_WIDTH; + if (paddle->x + paddle->w > 640 - BRICK_WIDTH) + paddle->x = 640 - BRICK_WIDTH - paddle->w; + return 1; + } + else { + paddle->w -= 2; + paddle->cur_x += 1; + paddle->x = (int)paddle->cur_x; + return -1; + } +} + +/* +==================================================================== +Update paddle resize and fire weapon. +==================================================================== +*/ +void paddle_update( Paddle *paddle, int ms ) +{ + Ball *ball; + int result; + + /* invisiblity */ + if ( paddle->invis ) /* extra active */ + if ( paddle->invis_delay > 0 && (paddle->invis_delay-=ms) <= 0 ) + paddle->invis_delay = 0; + + /* handle weapon */ + if ( paddle->weapon_inst ) { + if ( paddle->fire_left || paddle->fire_right ) + if ( paddle->weapon_ammo > 0 ) + if ( (paddle->weapon_fire_delay-=ms) <= 0 ) { + paddle->weapon_fire_delay = WEAPON_FIRE_RATE; + shot_create( paddle ); + paddle->weapon_ammo--; + } + } + + /* check for resize */ + if ( ( result = paddle_resize( paddle, ms ) ) ) { + list_reset( cur_game->balls ); + while ( ( ball = list_next( cur_game->balls ) ) ) + /* adjust attached balls */ + if ( ball->attached && ball->paddle == paddle ) { + if ( result < 0 ) { + /* shrinked */ + if ( ball->cur.x > ( paddle->w >> 1 ) ) { + ball->cur.x -= 2; + ball->x = (int)ball->cur.x; + } + } + else { + /* expanded */ + if ( ball->cur.x > ( paddle->w >> 1 ) ) { + ball->cur.x += 2; + ball->x = (int)ball->cur.x; + } + } + } + } +} +/* +==================================================================== +De/Activate weapon +==================================================================== +*/ +void weapon_install( Paddle *paddle, int install ) +{ + if ( install ) paddle->weapon_fire_delay = WEAPON_FIRE_RATE; + paddle->weapon_inst = install; +} + diff --git a/project/jni/application/lbreakout2/game/paddle.h b/project/jni/application/lbreakout2/game/paddle.h new file mode 100644 index 000000000..048c90657 --- /dev/null +++ b/project/jni/application/lbreakout2/game/paddle.h @@ -0,0 +1,85 @@ +/*************************************************************************** + paddle.h - description + ------------------- + begin : Thu Sep 6 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __PADDLE_H +#define __PADDLE_H + +/* +==================================================================== +Create/delete a paddle. x is centered assuming a screen width of +640. ball_ammo is the number of additional balls paddle + may bring to game. +==================================================================== +*/ +Paddle* paddle_create( + int score, int type, int y, int size, int min_size, int max_size, int ball_ammo ); +void paddle_delete( Paddle *paddle ); +void paddle_reset( Paddle *paddle ); /* will clear stats and score too */ + +void paddle_freeze( Paddle *paddle, int freeze ); +void paddle_set_slime( Paddle *paddle, int slime ); +int paddle_slimy( Paddle *paddle ); + +/* +==================================================================== +Set if paddle attracts boni/mali or none. +==================================================================== +*/ +void paddle_set_attract( Paddle *paddle, int attract ); +int paddle_attract_malus( Paddle *paddle ); +int paddle_attract_bonus( Paddle *paddle ); +int paddle_check_attract( Paddle *paddle, int type ); + +/* +==================================================================== +(De)activate ghostly behaviour: paddle is only seen when moved at +maximum 200ms before. +==================================================================== +*/ +void paddle_set_invis( Paddle *paddle, int invis ); +int paddle_solid( Paddle *paddle ); + +/* +==================================================================== +Init paddle resize (the change between wanted_w and w MUST be +even (else the paddle shrinks til eternity) +==================================================================== +*/ +int paddle_init_resize( Paddle *paddle, int c ); +/* +==================================================================== +Actually resize paddle and return the -1 for shrinkage and 1 +for expansion. +==================================================================== +*/ +int paddle_resize( Paddle *paddle, int ms ); + +/* +==================================================================== +Update paddle resize and fire weapon. +==================================================================== +*/ +void paddle_update( Paddle *paddle, int ms ); +/* +==================================================================== +De/Activate weapon +==================================================================== +*/ +void weapon_install( Paddle *paddle, int install ); + +#endif + diff --git a/project/jni/application/lbreakout2/game/shots.c b/project/jni/application/lbreakout2/game/shots.c new file mode 100644 index 000000000..f141bb603 --- /dev/null +++ b/project/jni/application/lbreakout2/game/shots.c @@ -0,0 +1,178 @@ +/*************************************************************************** + shots.c - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "../client/lbreakout.h" +#include "mathfuncs.h" +#include "balls.h" +#include "bricks.h" + +int shot_w = 10; +int shot_h = 10; +float shot_v_y = 0.2; +extern Game *cur_game; + +int last_shot_fire_x = -1; /* HACK: used to play local sound */ + +/* +==================================================================== +Locals +==================================================================== +*/ + +/* +==================================================================== +Compute target of shot. +==================================================================== +*/ +void shot_get_target( Shot *shot ) { + int mx = (int)(shot->x + 3) / BRICK_WIDTH; + int my = (int)(shot->y + 3 + ((shot->dir==1)?5:0) ) / BRICK_HEIGHT; + memset( &shot->target, 0, sizeof(Target) ); + while ( cur_game->bricks[mx][my].id == -1 ) + my += shot->dir; + shot->target.mx = mx; shot->target.my = my; + mx = (int)(shot->x + 6) / BRICK_WIDTH; + if (mx != shot->target.mx) { + my = (int)(shot->y + 3 + ((shot->dir==1)?5:0) ) / BRICK_HEIGHT; + while(cur_game->bricks[mx][my].id == -1) + my += shot->dir; + if (my == shot->target.my) + shot->next_too = 1; + else + if ( ( shot->dir == -1 && my > shot->target.my ) || + ( shot->dir == 1 && my < shot->target.my ) ) { + shot->target.mx = mx; + shot->target.my = my; + shot->next_too = 0; + } + } + shot->target.cur_tm = 0; + shot->target.time = abs( + (int)((shot->y + 3 + + ((shot->dir==1)?5:0) - + (shot->target.my * BRICK_HEIGHT + ((shot->dir==-1)?(BRICK_HEIGHT - 1):0) )) / + fabs(shot_v_y)) ); +} + +/* +==================================================================== +Publics +==================================================================== +*/ + +/* +==================================================================== +Create new shot at position (centered). +'signum' of direction determines into which direction the shot +vertically goes. +==================================================================== +*/ +void shot_create( Paddle *paddle ) +{ + Shot *shot = calloc( 1, sizeof( Shot ) ); + shot->cur_fr = 0; + shot->paddle = paddle; + shot->dir = (paddle->type == PADDLE_TOP) ? 1 : -1; + shot->x = paddle->x + ( paddle->w >> 1 ) - (shot_w >> 1); + shot->y = paddle->y + ( paddle->h >> 1 ) - (shot_h >> 1); + shot->get_target = 1; + list_add( cur_game->shots, shot ); + + cur_game->mod.fired_shot_count++; + last_shot_fire_x = shot->x; /* HACK: used to play local sound */ +} + +/* +==================================================================== +Set 'get_target' flag so target is updated next time +'shots_update' is called. -1 means to update all shots. +==================================================================== +*/ +void shots_check_targets( int mx, int my ) +{ + Shot *shot; + list_reset( cur_game->shots ); + while ( ( shot = list_next( cur_game->shots ) ) ) + if ( mx == -1 || (shot->target.mx == mx && shot->target.my == my) ) + shot->get_target = 1; +} + +/* +==================================================================== +Update position of shots and check if bricks get destroyed. +A list of all hit bricks is returned (at maximum +PADDLE_WEAPON_AMMO * 4) +==================================================================== +*/ +void shots_update( int ms ) +{ + int i; + ListEntry *entry = cur_game->shots->head->next; + Shot *shot; + + while ( entry != cur_game->shots->tail ) { + shot = entry->item; + if ( shot->get_target ) { /* new target? */ + shot_get_target(shot); + shot->get_target = 0; + } + shot->y += shot->dir * ms * shot_v_y; + shot->target.cur_tm += ms; + entry = entry->next; + /* kill 'out of screen' shots */ + if ( shot->y + shot_h < 0 || shot->y > 480 ) { + shot->paddle->weapon_ammo++; /* give back used shot */ + list_delete_entry( cur_game->shots, entry->prev ); + continue; + } + /* check hits */ + if (shot->target.cur_tm > shot->target.time) { + if ( brick_hit( shot->target.mx, shot->target.my, + 0, SHR_BY_SHOT, vector_get( 0, shot->dir ), + shot->paddle ) ) { + shots_check_targets( shot->target.mx, shot->target.my ); + balls_check_targets( shot->target.mx, shot->target.my ); + } + if (shot->next_too) + if ( brick_hit( shot->target.mx + 1, shot->target.my, + 0, SHR_BY_SHOT, vector_get( 0, shot->dir ), + shot->paddle ) ) { + shots_check_targets(shot->target.mx + 1, shot->target.my); + balls_check_targets( shot->target.mx, shot->target.my ); + } + shot->paddle->weapon_ammo++; /* give back used shot */ + list_delete_entry( cur_game->shots, entry->prev ); + continue; + } + /* in multiplayer we check if we hit the opponent if so we steal + him a 1000 points */ + for ( i = 0; i < cur_game->paddle_count; i++ ) + if ( cur_game->paddles[i] != shot->paddle ) + if ( shot->x + shot_w > cur_game->paddles[i]->x ) + if ( shot->x < cur_game->paddles[i]->x + cur_game->paddles[i]->w ) + if ( shot->y + shot_h > cur_game->paddles[i]->y ) + if ( shot->y < cur_game->paddles[i]->y + cur_game->paddles[i]->h ) { + if ( (cur_game->paddles[i]->score -= 1000) < 0 ) + cur_game->paddles[i]->score = 0; + shot->paddle->score += 1000; + shot->paddle->weapon_ammo++; + list_delete_entry( cur_game->shots, entry->prev ); + break; + } + } +} + diff --git a/project/jni/application/lbreakout2/game/shots.h b/project/jni/application/lbreakout2/game/shots.h new file mode 100644 index 000000000..2bcba2318 --- /dev/null +++ b/project/jni/application/lbreakout2/game/shots.h @@ -0,0 +1,48 @@ +/*************************************************************************** + shots.h - description + ------------------- + begin : Sat Sep 8 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __SHOTS_H +#define __SHOTS_H + +/* +==================================================================== +Create new shot at position (centered). +'signum' of direction determines into which direction the shot +vertically goes. +==================================================================== +*/ +void shot_create( Paddle *paddle ); + +/* +==================================================================== +Set 'get_target' flag so target is updated next time +'shots_update' is called. -1 means to update all shots. +==================================================================== +*/ +void shots_check_targets( int mx, int my ); + +/* +==================================================================== +Update position of shots and check if bricks get destroyed. +A list of all hit bricks is returned (at maximum +PADDLE_WEAPON_AMMO * 4) +==================================================================== +*/ +void shots_update( int ms ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/Makefile.am b/project/jni/application/lbreakout2/gui/Makefile.am new file mode 100644 index 000000000..dabad23f3 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/Makefile.am @@ -0,0 +1,16 @@ +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 + diff --git a/project/jni/application/lbreakout2/gui/Makefile.in b/project/jni/application/lbreakout2/gui/Makefile.in new file mode 100644 index 000000000..00bcf7b85 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/Makefile.in @@ -0,0 +1,482 @@ +# 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 = 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@ +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@ +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 + +all: all-am + +.SUFFIXES: +.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) --foreign gui/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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) +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 *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@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 + +TAGS: $(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; }'`; \ + 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 GTAGS GRTAGS GSYMS GPATH tags + +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 $(LIBRARIES) +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 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 + +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. +.NOEXPORT: diff --git a/project/jni/application/lbreakout2/gui/gui.c b/project/jni/application/lbreakout2/gui/gui.c new file mode 100644 index 000000000..327ec3d80 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui.c @@ -0,0 +1,440 @@ +/*************************************************************************** + gui.c - description + ------------------- + begin : Fri Oct 11 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include "gui.h" + +extern int stk_quit_request; +extern GuiTheme *gui_theme; +extern GuiWidget *gui_clicked_widget; +extern GuiWidget *gui_focused_widget; +extern GuiWidget *gui_key_widget; + +/* +==================================================================== +This is a list of all root widgets (no parent) created. It is used +to delete all widgets in gui_finalize(). +==================================================================== +*/ +List *gui_root_stack = 0; +/* +==================================================================== +This is a list of all visible root widgets updated by +gui_widget_show(). The upper most root widget will handle +events first. +==================================================================== +*/ +List *gui_visible_stack = 0; +/* +==================================================================== +This is a list of all widgets that enabled the GUI_TIME_PASSED +event on creation. +==================================================================== +*/ +List *gui_timed_stack = 0; + + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Event filter for mouse motion. Update 'gui_motion_event' with +the latest motion and pass just the very first motion event to +the queue (so we know that it occured) +==================================================================== +*/ +SDL_EventFilter gui_old_event_filter = 0; +int gui_uses_event_filter = 0; +SDL_Event gui_sdl_motion_event; +int gui_event_filter( const SDL_Event *event ) +{ + int xrel, yrel; + if ( event->type == SDL_MOUSEMOTION ) { + if ( gui_sdl_motion_event.type == SDL_NOEVENT ) { + /* first occurence */ + gui_sdl_motion_event = *event; + } + else { + /* already queued */ + xrel = gui_sdl_motion_event.motion.xrel; + yrel = gui_sdl_motion_event.motion.yrel; + gui_sdl_motion_event = *event; + gui_sdl_motion_event.motion.xrel += xrel; + gui_sdl_motion_event.motion.yrel += yrel; + return 0; + } + } + return 1; +} + +/* +==================================================================== +Check all visible root widgets and update the focus by +assuming the mouse pointer at the position of the passed +GUI_MOTION event which was not necessarily initiated from +an SDL event thus gui_update_focus() can be used to +update the focus if a widget grabbed focus on button pressed. +==================================================================== +*/ +void gui_update_focus( GuiEvent *gui_event ) +{ + ListEntry *entry; + GuiWidget *widget = 0; + GuiWidget *next, *new_focus = 0; + /* check all root widgets for new focus */ + new_focus = 0; + entry = gui_visible_stack->tail->prev; + while ( entry != gui_visible_stack->head ) { + widget = (GuiWidget*)entry->item; + /* clear widget->focused_widget */ + if ( ( next = widget->focused_widget ) ) { + while ( next ) { + next->focused = 0; + next = next->parent; + } + widget->focused_widget = 0; + } + /* get new focused_widget */ + gui_widget_update_focus( widget, + gui_event->motion.x, gui_event->motion.y, + &widget->focused_widget ); + /* if we have a focused widget this is either + our current or a new focus */ + if ( widget->focused_widget ) { + new_focus = widget->focused_widget; + break; + } + /* if 'grab_input' is set we don't check + lower root widgets */ + if ( widget->grab_input ) + break; + /* next root widget */ + entry = entry->prev; + } + /* check relation new_focus/gui_focused_widget */ + if ( new_focus == gui_focused_widget ) { + if ( !new_focus ) /* no focus at all */ + return; + /* unchanged focus thus motion event */ + gui_widget_handle_event( + gui_focused_widget, gui_event ); + } + else { + if ( gui_focused_widget ) { + /* focus out event */ + gui_event->type = GUI_FOCUS_OUT; + next = gui_focused_widget; + while ( next ) { + next->focused = 0; + next = next->parent; + } + gui_widget_handle_event( + gui_focused_widget, gui_event ); + gui_focused_widget = 0; + } + if ( new_focus ) { + /* focus in event */ + gui_focused_widget = new_focus; + gui_event->type = GUI_FOCUS_IN; + gui_widget_handle_event( + gui_focused_widget, gui_event ); + } + } +} + +/* +==================================================================== +Handle an SDL event for the visible root widgets and store all +nescessary update rects. If the event was handled by a widget +the user_event_handler is called if one has been installed. +Returns True if the event was handled by the GUI. +==================================================================== +*/ +static int gui_handle_event( SDL_Event *sdl_event ) +{ + GuiWidget *widget = 0; + GuiEvent gui_event; + + switch ( sdl_event->type ) { + case SDL_QUIT: + stk_quit_request = 1; + return 1; + case SDL_KEYUP: + case SDL_KEYDOWN: + /* a key event is either processed by the + gui_key_widget or gui_focused_widget */ + if ( gui_key_widget ) + widget = gui_key_widget; + else + widget = gui_focused_widget; + if ( widget ) { + gui_event_init( &gui_event, sdl_event ); + gui_widget_handle_event( widget, &gui_event ); + return 1; + } + break; + case SDL_MOUSEBUTTONDOWN: + /* if our widget is focused update gui_key_widget */ + if ( !gui_focused_widget ) break; + gui_clicked_widget = gui_focused_widget; + widget = gui_focused_widget; + widget->pressed = 1; + if ( widget->grab_keys ) { + if ( gui_key_widget ) + gui_key_widget->default_event_handler( + gui_key_widget, + gui_event_get_simple( GUI_FOCUS_OUT ) ); + gui_key_widget = widget; + } + gui_event_init( &gui_event, sdl_event ); + gui_widget_handle_event( widget, &gui_event ); + return 1; + case SDL_MOUSEBUTTONUP: + /* if clicked_widget grabbed focus we need to + update the focus by a fake motion event. */ + if ( gui_clicked_widget ) + if ( gui_clicked_widget->pressed ) + if ( gui_clicked_widget->grab_focus ) { + memset( &gui_event, 0, sizeof( gui_event ) ); + gui_event.type = GUI_MOTION; + gui_event.motion.x = sdl_event->button.x; + gui_event.motion.y = sdl_event->button.y; + /* we don't set buttons and relative position + in this fake event so this might cause errors + if the 'focus grabbing' widget requires + these values. however at this point the + only case we need 'grab_focus' is for + scrollbar track buttons. so if this ever + changes don't forget to drop by. ;-) */ + gui_update_focus( &gui_event ); + } + /* if our focused widget has 'pressed' True + this becomes a CLICKED event. clear 'pressed' + flag in any case*/ + if ( !gui_focused_widget ) { + if ( gui_clicked_widget ) + gui_clicked_widget->pressed = 0; + break; + } + gui_event_init( &gui_event, sdl_event ); + widget = gui_focused_widget; + if ( widget->pressed ) + gui_event.type = GUI_CLICKED; + else + gui_event.type = GUI_BUTTON_RELEASED; + if ( gui_clicked_widget ) + gui_clicked_widget->pressed = 0; + gui_widget_handle_event( widget, &gui_event ); + return 1; + case SDL_MOUSEMOTION: + /* if we use the improved event filter check for + the latest motion event in gui_motion_event */ + if ( gui_uses_event_filter ) { + gui_event_init( &gui_event, &gui_sdl_motion_event ); + gui_sdl_motion_event.type = SDL_NOEVENT; + } + else + gui_event_init( &gui_event, sdl_event ); + /* if clicked widget grabs input do not update the + focus but pass the event directly to clicked_widget */ + if ( gui_clicked_widget ) + if ( gui_clicked_widget->pressed ) + if ( gui_clicked_widget->grab_focus ) { + gui_widget_handle_event( gui_clicked_widget, &gui_event ); + break; + } + /* update the focus and sent FOCUS_IN, FOCUS_OUT, + MOTION events */ + gui_update_focus( &gui_event ); + break; + } + return 0; /* grab input later */ +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Initiate the GUI and load the theme either from stk's surface +path or an absolute position. This must be done before any widget +is created. gui_init() installs gui_finalize() as exit function. +==================================================================== +*/ +void gui_init( char *theme_path ) +{ + /* load theme */ + gui_theme = gui_theme_load( theme_path ); + /* all root widgets created. the list is not AUTO_DELETE + to allow direct usage of gui_widget_delete() as well. */ + gui_root_stack = list_create( + LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + /* visible stack stores pointers to existing root widgets */ + gui_visible_stack = list_create( + LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + /* timed stack stores pointers to existing widgets */ + gui_timed_stack = list_create( + LIST_NO_AUTO_DELETE, LIST_NO_CALLBACK ); + /* install gui_finalize() */ + atexit( gui_finalize ); +} + +/* +==================================================================== +Finalize GUI and free any memory allocated by gui_init(). Also +delete all widgets that were not destroyed at this point. +==================================================================== +*/ +void gui_finalize( void ) +{ + GuiWidget *widget; + if ( gui_root_stack ) { + list_reset( gui_root_stack ); + while ( ( widget = list_next( gui_root_stack ) ) ) + gui_widget_delete( &widget ); + list_delete( gui_root_stack ); + gui_root_stack = 0; + } + if ( gui_visible_stack ) { + list_delete( gui_visible_stack ); + gui_visible_stack = 0; + } + if ( gui_timed_stack ) { + list_delete( gui_timed_stack ); + gui_timed_stack = 0; + } + gui_theme_delete( &gui_theme ); + printf( "GUI finalized\n" ); +} + +/* +==================================================================== +Handle SDL and time event for visible root widgets. +If 'event' is not NULL and it is handled by one of the root widgets +True is returned or False otherwise. If a widget within this queue +has 'grab_input' set True 'event' is not handled by lower level +widgets and True is returned. +'ms' is the amount of milliseconds passed since the last call from +gui_dispatch_event(). If 'ms' > 0 a GUI_TIME_PASSED event is sent +to all widgets that enabled the GUI_TIME_PASSED event. +The GUI_TIME_PASSED event is send regardless of 'grab_input'. + +WARNING: If a root widget closes itself it's okay but if the +previous widget in visible_stack is closed the entry pointer +becomes invalid when handling the SDL event. FIXME +==================================================================== +*/ +int gui_dispatch_event( SDL_Event *sdl_event, int ms ) +{ + ListEntry *entry; + GuiEvent gui_event; + GuiWidget *widget; + int ret = 0; + /* timer event */ + if ( ms > 0 ) { + /* of all edits only one needs to blink it's + cursor and handle a pressed key so we by-pass + the clean way of raising a GUI_TIME_PASSED + event and update this edit directly. yes, this + is a hack but it speeds up dispatching and is + within the GUI. no one is hurt. */ + widget = gui_key_widget; + if ( !widget ) widget = gui_focused_widget; + if ( widget && widget->type == GUI_EDIT ) + gui_edit_update( widget, ms ); + /* GUI_TIME_PASSED event */ + gui_event.type = GUI_TIME_PASSED; + gui_event.time.ms = ms; + entry = gui_timed_stack->head->next; + while ( entry != gui_timed_stack->tail ) { + widget = (GuiWidget*)entry->item; + if ( !widget->visible ) continue; + gui_widget_call_user_event_handler( + widget, &gui_event ); + entry = entry->next; + } + } + /* sdl event */ + if ( sdl_event ) + ret = gui_handle_event( sdl_event ); + return ret; +} + +/* +==================================================================== +Run all visible root widgets until the 'master' widget is closed. +If there is no root widget open gui_run() will immediately exit. +If 'master' is 0 the gui is run until all root widgets are closed. +==================================================================== +*/ +void gui_run( GuiWidget *master ) +{ + SDL_Event event; + int ms; + + stk_timer_reset(); + while ( 1 ) { + /* break conditions */ + if ( stk_quit_request ) break; + if ( master ) { + if ( !master->visible ) break; } + else + if ( gui_visible_stack->count == 0 ) break; + /* get time */ + ms = stk_timer_get_time(); + /* handle event */ + if ( SDL_PollEvent( &event ) ) + gui_dispatch_event( &event, ms ); + else + gui_dispatch_event( 0, ms ); + /* update display */ + stk_display_update( STK_UPDATE_RECTS ); + /* wait some time */ + SDL_Delay( 5 ); + } +} + +/* +==================================================================== +Install a special event filter to improve usage of scrollbars. +gui_disable_event_filter() restores the previous filter. +==================================================================== +*/ +void gui_enable_event_filter() +{ + /* already in use? */ + if ( SDL_GetEventFilter() == gui_event_filter ) + return; + /* install */ + gui_old_event_filter = SDL_GetEventFilter(); + SDL_SetEventFilter( gui_event_filter ); + gui_sdl_motion_event.type = SDL_NOEVENT; + gui_uses_event_filter = 1; +} +void gui_disable_event_filter() +{ + SDL_SetEventFilter( gui_old_event_filter ); + gui_uses_event_filter = 0; +} diff --git a/project/jni/application/lbreakout2/gui/gui.h b/project/jni/application/lbreakout2/gui/gui.h new file mode 100644 index 000000000..be4663ec5 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui.h @@ -0,0 +1,89 @@ +/*************************************************************************** + gui.h - description + ------------------- + begin : Fri Oct 11 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_H +#define __GUI_H + +#include "gui_widget.h" +#include "gui_box.h" +#include "gui_label.h" +#include "gui_icon.h" +#include "gui_button.h" +#include "gui_radiogroup.h" +#include "gui_progressbar.h" +#include "gui_scrollbar.h" +#include "gui_edit.h" +#include "gui_list.h" +#include "gui_spinbutton.h" + +/* +==================================================================== +GUI +==================================================================== +*/ + +/* +==================================================================== +Initiate the GUI and load the theme either from stk's surface +path or an absolute position. This must be done before any widget +is created. gui_init() installs gui_finalize() as exit function. +==================================================================== +*/ +void gui_init( char *theme_path ); + +/* +==================================================================== +Finalize GUI and free any memory allocated by gui_init(). Also +delete all widgets that were not destroyed at this point. +==================================================================== +*/ +void gui_finalize( void ); + +/* +==================================================================== +Handle SDL and time event for visible root widgets. +If 'event' is not NULL and it is handled by one of the root widgets +True is returned or False otherwise. If a widget within this queue +has 'grab_input' set True 'event' is not handled by lower level +widgets and True is returned. +'ms' is the amount of milliseconds passed since the last call from +gui_dispatch_event(). If 'ms' > 0 a GUI_TIME_PASSED event is sent +to all widgets that enabled the GUI_TIME_PASSED event. +The GUI_TIME_PASSED event is send regardless of 'grab_input'. +==================================================================== +*/ +int gui_dispatch_event( SDL_Event *event, int ms ); + +/* +==================================================================== +Run all visible root widgets until the 'master' widget is closed. +If there is no root widget open gui_run() will immediately exit. +If 'master' is 0 the gui is run until all root widgets are closed. +==================================================================== +*/ +void gui_run( GuiWidget *master ); + +/* +==================================================================== +Install a special event filter to improve usage of scrollbars. +gui_disable_event_filter() restores the previous filter. +==================================================================== +*/ +void gui_enable_event_filter(); +void gui_disable_event_filter(); + +#endif diff --git a/project/jni/application/lbreakout2/gui/gui_box.c b/project/jni/application/lbreakout2/gui/gui_box.c new file mode 100644 index 000000000..b957623b7 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_box.c @@ -0,0 +1,90 @@ +/*************************************************************************** + gui_box.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "gui_widget.h" +#include "gui_box.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + switch ( event->type ) { + case GUI_DESTROY: + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0, 0, -1, -1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + break; + } +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a box widget that can be used to contain various other +widgets of any kind. If 'grab_input' is True and this widget is +opened as a root widget it will not pass unhandled events to the +lower-level root widgets thus it blocks events. +==================================================================== +*/ +GuiWidget* gui_box_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int grab_input ) +{ + GuiWidget *widget = gui_widget_create( + parent, GUI_BOX, x, y, width, height, + default_event_handler, user_event_handler ); + /* create surface, wallpaper and frame it */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + SDL_SetColorKey( widget->surface, 0,0 ); + stk_surface_apply_wallpaper( widget->surface, 0,0,-1,-1, + gui_theme->box_wallpaper, -1 ); + widget->border = stk_surface_apply_frame( + widget->surface, 0, 0, -1, -1, + (parent==0)?gui_theme->box_frame:gui_theme->widget_frame ); + /* various */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + widget->grab_input = grab_input; + /* done */ + return widget; +} diff --git a/project/jni/application/lbreakout2/gui/gui_box.h b/project/jni/application/lbreakout2/gui/gui_box.h new file mode 100644 index 000000000..ecb8d434a --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_box.h @@ -0,0 +1,35 @@ +/*************************************************************************** + gui_box.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_BOX_H +#define __GUI_BOX_H + +/* +==================================================================== +Create a box widget that can be used to contain various other +widgets of any kind. If 'grab_input' is True and this widget is +opened as a root widget it will not pass unhandled events to the +lower-level root widgets thus it blocks events. +==================================================================== +*/ +GuiWidget* gui_box_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int grab_input ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/gui_button.c b/project/jni/application/lbreakout2/gui/gui_button.c new file mode 100644 index 000000000..19e7db801 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_button.c @@ -0,0 +1,193 @@ +/*************************************************************************** + gui_button.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include "gui_widget.h" +#include "gui_button.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + switch ( event->type ) { + case GUI_DESTROY: + break; + case GUI_DRAW: + /* the button surface provides for states in a + vertical order: normal, focused, clicked, + inactive */ + if ( !widget->active ) { + stk_surface_blit( widget->surface, + 0, (widget->screen_region.h<<1) + + widget->screen_region.h, + -1, widget->screen_region.h, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + break; + } + if ( widget->focused ) { + if ( widget->pressed ) + stk_surface_blit( widget->surface, + 0, widget->screen_region.h<<1, + -1, widget->screen_region.h, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + else + stk_surface_blit( widget->surface, + 0, widget->screen_region.h, + -1, widget->screen_region.h, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + } + else + stk_surface_blit( widget->surface, 0, 0, + -1, widget->screen_region.h, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + break; + case GUI_BUTTON_PRESSED: + stk_sound_play( gui_theme->click_sound ); + case GUI_ACTIVATED: + case GUI_DEACTIVATED: + case GUI_BUTTON_RELEASED: + case GUI_CLICKED: + case GUI_FOCUS_IN: + case GUI_FOCUS_OUT: + gui_widget_draw( widget ); + break; + } +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a button that may contain an icon and a text. Both are +displayed centered. +==================================================================== +*/ +GuiWidget* gui_button_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + SDL_Surface *icon, int ix, int iy, int iw, int ih, + char *caption ) +{ + int offset, i; + GuiWidget *widget = gui_widget_create( + parent, GUI_BUTTON, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_CLICKED ); + /* basic surface */ + /* four different states in a vertical order: + NORMAL: normal wallpaper + normal button frame + FOCUSED: focus wallpaper + normal button frame + CLICKED: focus wallpaper + clicked button frame + INACTIVE: grayed NORMAL + */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height * 4 ); + /* NORMAL */ + stk_surface_apply_wallpaper( + widget->surface, 0,0,-1,height, + gui_theme->button_wallpaper_normal, -1 ); + SDL_SetColorKey( widget->surface, 0,0 ); + widget->border = stk_surface_apply_frame( + widget->surface, 0,0,-1,height, + gui_theme->button_frame_normal ); + /* FOCUSED */ + stk_surface_apply_wallpaper( + widget->surface, 0,height,-1,height, + gui_theme->button_wallpaper_focused, -1 ); + stk_surface_apply_frame( + widget->surface, 0,height,-1,height, + gui_theme->button_frame_normal ); + /* CLICKED */ + stk_surface_apply_wallpaper( + widget->surface, + widget->border, widget->border + 2 * height, + -1,height, + gui_theme->button_wallpaper_focused, -1 ); + stk_surface_apply_frame( + widget->surface, 0,2*height,-1,height, + gui_theme->button_frame_clicked ); + /* INACTIVE */ + stk_surface_apply_wallpaper( + widget->surface, 0,height*3,-1,height, + gui_theme->button_wallpaper_normal, -1 ); + stk_surface_apply_frame( + widget->surface, 0,height*3,-1,height, + gui_theme->button_frame_normal ); + stk_surface_gray( widget->surface, + 0, height*3, width, height, 0 ); + /* size w/o border */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + /* add label and icon */ + offset = width; + if ( icon ) + offset -= iw; + if ( caption ) + offset -= stk_font_string_width( + gui_theme->button_font, caption ); + offset /= 2; + /* icon */ + if ( icon ) { + for ( i = 0; i < 4; i++ ) + stk_surface_alpha_blit( icon, ix, iy, iw, ih, + widget->surface, + offset + (i==2)*widget->border/2, + i * height + (height - ih) / 2 + + (i==2)*widget->border/2, + (i==3)?128:SDL_ALPHA_OPAQUE ); + offset += iw; + } + if ( caption ) { + gui_theme->button_font->align = STK_FONT_ALIGN_CENTER_Y; + for ( i = 0; i < 4; i++ ) + stk_font_write( gui_theme->button_font, + widget->surface, + offset + (i==2)*widget->border/2, + i * height + height / 2 + + (i==2)*widget->border/2, + (i==3)?128:SDL_ALPHA_OPAQUE, caption ); + } + /* done */ + return widget; +} diff --git a/project/jni/application/lbreakout2/gui/gui_button.h b/project/jni/application/lbreakout2/gui/gui_button.h new file mode 100644 index 000000000..98d4c3ac4 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_button.h @@ -0,0 +1,33 @@ +/*************************************************************************** + gui_button.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_BUTTON_H +#define __GUI_BUTTON_H + +/* +==================================================================== +Create a button that may contain an icon and a text. Both are +displayed centered. +==================================================================== +*/ +GuiWidget* gui_button_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + SDL_Surface *icon, int ix, int iy, int iw, int ih, + char *caption ); + +#endif diff --git a/project/jni/application/lbreakout2/gui/gui_edit.c b/project/jni/application/lbreakout2/gui/gui_edit.c new file mode 100644 index 000000000..65546093f --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_edit.c @@ -0,0 +1,539 @@ +/*************************************************************************** + gui_edit.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include "gui_widget.h" +#include "gui_edit.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; +extern GuiWidget *gui_key_widget; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Global edit variables that are used by the focused widget and +are global as there is only one keyboard they can be related +with. +==================================================================== +*/ +static int gui_edit_blink_time = 0; /* used to toggle gui_edit_blink + twice a second */ +static int gui_edit_blink = 0; /* if true a cursor is displayed at + the edit position */ +static int gui_edit_delay = 0; +static int gui_edit_interval = 0; /* after a delay of 300 ms the +keyevent is repeated at an interval of 100 */ +static int gui_edit_keysym = -1; /* last pressed keysym */ +static int gui_edit_unicode = -1; /* last pressed unicode */ + +/* FORWARDED */ +static void gui_edit_handle_key( + GuiWidget *widget, int keysym, int unicode ); +static int gui_edit_adjust_cursor( GuiWidget *widget, int offset ); + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + char *ptr; + int px, py, i; + switch ( event->type ) { + case GUI_DESTROY: + if ( widget->spec.edit.buffer ) + free( widget->spec.edit.buffer ); + if ( widget->spec.edit.display_buffer ) + free( widget->spec.edit.display_buffer ); + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0, 0, -1, -1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + /* add text */ + gui_theme->edit_font->align = STK_FONT_ALIGN_LEFT; + ptr = widget->spec.edit.display_buffer; + px = widget->screen_region.x + widget->border; + py = widget->screen_region.y + widget->border + + widget->spec.edit.y_offset; + for ( i = 0; i < widget->spec.edit.height; + i++, py += gui_theme->edit_font->height, + ptr += widget->spec.edit.width + 1 ) + stk_font_write( gui_theme->edit_font, + stk_display, px, py, -1, ptr ); + /* add cursor */ + if ( widget == gui_key_widget || widget->focused ) + if ( gui_edit_blink ) + stk_surface_fill( stk_display, + px + widget->spec.edit.x * + gui_theme->edit_font->width, + widget->screen_region.y + + widget->border + widget->spec.edit.y_offset + + widget->spec.edit.y * + gui_theme->edit_font->height, + 1, gui_theme->edit_font->height, + 0xffffff ); + break; + case GUI_KEY_PRESSED: + if ( gui_edit_keysym != event->key.keysym ) { + gui_edit_delay = 250; + gui_edit_handle_key( widget, + event->key.keysym, + event->key.unicode ); + //stk_sound_play( gui_theme->type_sound ); + } + break; + case GUI_KEY_RELEASED: + gui_edit_keysym = -1; + break; + case GUI_FOCUS_OUT: + gui_edit_blink = 0; + gui_widget_draw( widget ); + break; + case GUI_CLICKED: + stk_sound_play( gui_theme->click_sound ); + px = event->button.x - widget->screen_region.x - + widget->border; + py = event->button.y - widget->screen_region.y - + widget->border - widget->spec.edit.y_offset; + gui_edit_adjust_cursor( widget, + (py / gui_theme->edit_font->height) * + widget->spec.edit.width + + (px / gui_theme->edit_font->width) + + widget->spec.edit.start - widget->spec.edit.pos + 1 ); + gui_edit_blink = 1; + gui_edit_blink_time = 0; + gui_widget_draw( widget ); + break; + } +} + +/* +==================================================================== +Render the display buffer from the edit string and the first +character displayed of it. No screen update. +==================================================================== +*/ +static void gui_edit_update_display_buffer( GuiWidget *widget ) +{ + int i, length, left; + char *src, *dest; + memset( widget->spec.edit.display_buffer, 0, + (widget->spec.edit.width+1) * widget->spec.edit.height * + sizeof( char ) ); + if ( widget->spec.edit.multi_line ) { + src = widget->spec.edit.buffer + widget->spec.edit.start; + left = strlen( src ); + dest = widget->spec.edit.display_buffer; + for ( i = 0; i < widget->spec.edit.height; i++ ) { + length = widget->spec.edit.width; + if ( length > left ) + length = left; + strncpy( dest, src, length ); + dest += widget->spec.edit.width + 1; + src += length; + left -= length; + if ( left == 0 ) + break; + } + } + else { + strncpy( widget->spec.edit.display_buffer, + widget->spec.edit.buffer + widget->spec.edit.start, + widget->spec.edit.width ); + } +} +/* +==================================================================== +Adjust edit cursor position by offset and return True +if the display buffer has changed. Do not update display. +==================================================================== +*/ +static int gui_edit_adjust_cursor( GuiWidget *widget, int offset ) +{ + int new_y, changed = 0; + /* adjust position */ + widget->spec.edit.pos += offset; + if ( widget->spec.edit.pos < 0 ) widget->spec.edit.pos = 0; + if ( widget->spec.edit.pos > widget->spec.edit.length ) + widget->spec.edit.pos = widget->spec.edit.length; + /* don't blink cursor while moving */ + gui_edit_blink_time = 0; + /* update display position */ + if ( widget->spec.edit.multi_line ) { + new_y = widget->spec.edit.pos / widget->spec.edit.width; + /* if this position is out of screen modify 'line' + and 'start' */ + if ( new_y < widget->spec.edit.line || + new_y >= widget->spec.edit.line + widget->spec.edit.height ) { + if ( new_y < widget->spec.edit.line ) + widget->spec.edit.line = new_y; + else + widget->spec.edit.line = new_y - widget->spec.edit.height + 1; + widget->spec.edit.start = + widget->spec.edit.line * widget->spec.edit.width; + /* update the display buffer */ + gui_edit_update_display_buffer( widget ); + changed = 1; + } + widget->spec.edit.x = + widget->spec.edit.pos % widget->spec.edit.width; + widget->spec.edit.y = new_y - widget->spec.edit.line; + } + else { + if ( widget->spec.edit.pos < widget->spec.edit.start ) { + widget->spec.edit.start = widget->spec.edit.pos; + widget->spec.edit.x = 0; + /* update the display buffer */ + gui_edit_update_display_buffer( widget ); + changed = 1; + } + else + if ( widget->spec.edit.pos >= + widget->spec.edit.start + widget->spec.edit.width ) { + widget->spec.edit.start = widget->spec.edit.pos - + widget->spec.edit.width; + widget->spec.edit.x = widget->spec.edit.width; + /* update the display buffer */ + gui_edit_update_display_buffer( widget ); + changed = 1; + } + else { + /* within text */ + widget->spec.edit.x = + widget->spec.edit.pos - widget->spec.edit.start; + } + } + return changed; +} +/* +==================================================================== +Handle the pressed key, modify the edit buffer and update the +displayed edit if visible. +==================================================================== +*/ +static void gui_edit_handle_key( + GuiWidget *widget, int keysym, int unicode ) +{ + int i, changed = 0, old_length = widget->spec.edit.length; + switch ( keysym ) { + case SDLK_RIGHT: + gui_edit_adjust_cursor( widget, 1 ); + changed = 1; + break; + case SDLK_LEFT: + gui_edit_adjust_cursor( widget, -1 ); + changed = 1; + break; + case SDLK_DOWN: + gui_edit_adjust_cursor( + widget, widget->spec.edit.width ); + changed = 1; + break; + case SDLK_UP: + gui_edit_adjust_cursor( + widget, -widget->spec.edit.width ); + changed = 1; + break; + case SDLK_HOME: + gui_edit_adjust_cursor( + widget, -widget->spec.edit.pos ); + changed = 1; + break; + case SDLK_END: + widget->spec.edit.pos = 0; + gui_edit_adjust_cursor( + widget, widget->spec.edit.length ); + changed = 1; + break; + case SDLK_BACKSPACE: + if ( widget->spec.edit.pos > 0 ) { + --widget->spec.edit.pos; + for ( i = widget->spec.edit.pos; + i < widget->spec.edit.length - 1; i++ ) + widget->spec.edit.buffer[i] = + widget->spec.edit.buffer[i + 1]; + widget->spec.edit.buffer[i] = 0; + widget->spec.edit.length--; + if ( !gui_edit_adjust_cursor( widget, 0 ) ) + gui_edit_update_display_buffer( widget ); + changed = 1; + } + break; + case SDLK_DELETE: + if ( widget->spec.edit.pos < widget->spec.edit.length ) { + for ( i = widget->spec.edit.pos; + i < widget->spec.edit.length - 1; i++ ) + widget->spec.edit.buffer[i] = + widget->spec.edit.buffer[i + 1]; + widget->spec.edit.buffer[i] = 0; + widget->spec.edit.length--; + gui_edit_update_display_buffer( widget ); + changed = 1; + } + break; + default: + if ( widget->spec.edit.filter[unicode] && widget->spec.edit.pos < widget->spec.edit.size ) + if ( widget->spec.edit.length < widget->spec.edit.size ) { + for ( i = widget->spec.edit.size - 1; + i > widget->spec.edit.pos; i-- ) + widget->spec.edit.buffer[i] = + widget->spec.edit.buffer[i - 1]; + widget->spec.edit.buffer[widget->spec.edit.pos++] = unicode; + widget->spec.edit.length++; + if ( !gui_edit_adjust_cursor( widget, 0 ) ) + gui_edit_update_display_buffer( widget ); + changed = 1; + } + break; + } + if ( changed ) { + gui_edit_blink_time = 0; + gui_edit_blink = 1; + gui_widget_draw( widget ); + gui_edit_interval = 0; + gui_edit_keysym = keysym; + gui_edit_unicode = unicode; + if ( old_length != widget->spec.edit.length ) { + gui_widget_call_user_event_handler( + widget, gui_event_get_simple( GUI_CHANGED ) ); + } + } + else + gui_edit_keysym = -1; +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a multi-line editable widget. By checking the measurements +of the standard font the number of lines and the line width is +determined. + 'text': is copied and displayed when first shown + 'size': limit of characters (excluding the \0) +==================================================================== +*/ +GuiWidget* gui_edit_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int border, int multi_line, int size, char *text ) +{ + GuiWidget *widget = gui_widget_create( + parent, GUI_EDIT, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_CHANGED ); + /* create surface, wallpaper and frame it */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + SDL_SetColorKey( widget->surface, 0,0 ); + stk_surface_apply_wallpaper( widget->surface, 0,0,-1,-1, + gui_theme->widget_wallpaper, STK_OPAQUE ); + widget->border = stk_surface_apply_frame( + widget->surface, 0, 0, -1, -1, + gui_theme->widget_frame ); + /* size w/o border */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + /* grab keys */ + widget->grab_keys = 1; + /* prepare text */ + gui_edit_set_filter( widget, GUI_EDIT_DEFAULT ); + widget->spec.edit.multi_line = multi_line; + widget->border += border; + widget->spec.edit.width = + (width - widget->border*2) / + gui_theme->edit_font->width; + if ( multi_line ) + widget->spec.edit.height = + (height - widget->border*2) / + gui_theme->edit_font->height; + else + widget->spec.edit.height = 1; + widget->spec.edit.display_buffer = + calloc( (widget->spec.edit.width+1) * widget->spec.edit.height, + sizeof( char ) ); + if ( widget->spec.edit.display_buffer == 0 ) + GUI_ABORT( "Out Of Memory" ); + gui_edit_resize_buffer( widget, size ); + gui_edit_set_text( widget, text ); + /* center single-line edit */ + if ( !multi_line ) + widget->spec.edit.y_offset = + (height - 2 * widget->border - + gui_theme->edit_font->height) / 2; + /* done */ + return widget; +} + +/* +==================================================================== +Resize the edit buffer and clear any text. (no update) +==================================================================== +*/ +void gui_edit_resize_buffer( GuiWidget *widget, int size ) +{ + if ( widget->type != GUI_EDIT ) return; + widget->spec.edit.size = size; + if ( widget->spec.edit.buffer ) + free( widget->spec.edit.buffer ); + widget->spec.edit.buffer = calloc( size + 1, sizeof( char ) ); + if ( widget->spec.edit.buffer == 0 ) + GUI_ABORT( "Out Of Memory" ); +} +/* +==================================================================== +Set the edit's text. This resets the edit cursor's position to +end of text and updates displayed edit if visible. +==================================================================== +*/ +void gui_edit_set_text( GuiWidget *widget, char *text ) +{ + if ( widget->type != GUI_EDIT ) return; + /* copy text */ + snprintf( widget->spec.edit.buffer, widget->spec.edit.size + 1, "%s", text ); + widget->spec.edit.length = strlen( widget->spec.edit.buffer ); + /* reset */ + /* first character in first line */ + widget->spec.edit.pos = 0; + widget->spec.edit.x = widget->spec.edit.y = 0; + widget->spec.edit.start = widget->spec.edit.line = 0; + /* jump to end */ + if ( !gui_edit_adjust_cursor( widget, widget->spec.edit.length ) ) + gui_edit_update_display_buffer( widget ); + /* update */ + if ( widget->visible ) + gui_widget_draw( widget ); +} +/* +==================================================================== +Copy characters from 'start' to 'length' of the edit string to +'buffer' (at maximum limit characters including \0). If 'length' +is -1 the characters copied are those from 'start' to end of text. +==================================================================== +*/ +int gui_edit_get_text( + GuiWidget *widget, char *buffer, int limit, + int start, int length ) +{ + char *ptr; + if ( widget->type != GUI_EDIT ) return 0; + if ( start < 0 ) start = 0; + ptr = widget->spec.edit.buffer + start; + if ( length == -1 ) + length = strlen( ptr ); + if ( length > limit ) + length = limit; + if ( length ) + snprintf( buffer, limit, "%s", widget->spec.edit.buffer ); + else + buffer[0] = 0; + return 1; +} +/* +==================================================================== +Update the blinking cursor flag (no update) of the edit and in +case a key is pressed call gui_edit_handle_key(). +==================================================================== +*/ +void gui_edit_update( GuiWidget *widget, int ms ) +{ + gui_edit_blink_time += ms; + if ( gui_edit_blink_time > 500 ) { + gui_edit_blink_time = 0; + gui_edit_blink = !gui_edit_blink; + gui_widget_draw( widget ); + } + if ( gui_edit_keysym != -1 ) { + if ( gui_edit_delay > 0 ) { + gui_edit_delay -= ms; + if ( gui_edit_delay <= 0 ) + gui_edit_delay = 0; + } + if ( gui_edit_delay == 0 ) { + if ( gui_edit_interval > 0 ) { + gui_edit_interval -= ms; + if ( gui_edit_interval < 0 ) + gui_edit_interval = 0; + } + if ( gui_edit_interval == 0 ) { + gui_edit_handle_key( widget, + gui_edit_keysym, gui_edit_unicode ); + gui_edit_interval = 30; + } + } + } +} +/* +==================================================================== +Select a character set. + default: all non-whitespaces >=32 && <= 128 + alpha: A-Z,a-z + numerical: 0-9 + alphanumerical: A-Z,a-z,0-9 +==================================================================== +*/ +void gui_edit_set_filter( GuiWidget *widget, int type ) +{ + int i, j; + if ( widget->type != GUI_EDIT ) return; + memset( widget->spec.edit.filter, 0, + sizeof( widget->spec.edit.filter ) ); + switch ( type ) { + case GUI_EDIT_DEFAULT: + for ( i = 32; i <= 128; i++ ) + widget->spec.edit.filter[i] = 1; + break; + case GUI_EDIT_ALPHANUMERICAL: + case GUI_EDIT_ALPHANUMERICAL2: + case GUI_EDIT_ALPHA: + for ( i = 65, j = 97; i <= 90; i++, j++ ) { + widget->spec.edit.filter[i] = 1; + widget->spec.edit.filter[j] = 1; + } + if ( type == GUI_EDIT_ALPHANUMERICAL || type == GUI_EDIT_ALPHANUMERICAL2 ) { + widget->spec.edit.filter[45] = 1; + for ( i = 48; i <= 57; i++ ) + widget->spec.edit.filter[i] = 1; + } + if ( type == GUI_EDIT_ALPHANUMERICAL2 ) + widget->spec.edit.filter[95] = 1; + break; + case GUI_EDIT_NUMERICAL: + for ( i = 48; i <= 57; i++ ) + widget->spec.edit.filter[i] = 1; + widget->spec.edit.filter[45] = 1; + break; + } +} diff --git a/project/jni/application/lbreakout2/gui/gui_edit.h b/project/jni/application/lbreakout2/gui/gui_edit.h new file mode 100644 index 000000000..61062c951 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_edit.h @@ -0,0 +1,87 @@ +/*************************************************************************** + gui_edit.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_EDIT_H +#define __GUI_EDIT_H + +/* +==================================================================== +Create a single/multi-line editable widget. By checking the +measurements of the standard font the number of lines and the +line width is determined. If the edit is single-lined height is +always one but edit becomes scrollable. + 'border': between text and frame + 'text': is copied and displayed when first shown + 'size': limit of characters (excluding the \0) +Per default the edit accepts all non-whitespace characters. +==================================================================== +*/ +GuiWidget* gui_edit_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int border, int multi_line, int size, char *text ); + +/* +==================================================================== +Resize the edit buffer and clear any text. (no update) +==================================================================== +*/ +void gui_edit_resize_buffer( GuiWidget *edit, int size ); +/* +==================================================================== +Set the edit's text. This resets the edit cursor's position to +end of text and updates displayed edit if visible. +==================================================================== +*/ +void gui_edit_set_text( GuiWidget *edit, char *text ); +/* +==================================================================== +Copy characters from 'start' to 'length' of the edit string to +'buffer' (at maximum limit characters including \0). If 'length' is +-1 the characters copied are those from 'start' to end of text. +==================================================================== +*/ +int gui_edit_get_text( + GuiWidget *edit, char *buffer, int limit, + int start, int length ); +/* +==================================================================== +Update the blinking cursor flag (no update) of the edit and in +case a key is pressed call gui_edit_handle_key(). +==================================================================== +*/ +void gui_edit_update( GuiWidget *widget, int ms ); +/* +==================================================================== +Select a character filter. + default: all non-whitespaces >=32 && <= 128 + alpha: A-Z,a-z + numerical: -,0-9 + alphanumerical: A-Z,a-z,0-9 + alphanumerical2: + underscores +==================================================================== +*/ +enum { + GUI_EDIT_DEFAULT = 0, + GUI_EDIT_ALPHA, + GUI_EDIT_NUMERICAL, + GUI_EDIT_ALPHANUMERICAL, + GUI_EDIT_ALPHANUMERICAL2 +}; +void gui_edit_set_filter( GuiWidget *edit, int type ); + +#endif diff --git a/project/jni/application/lbreakout2/gui/gui_icon.c b/project/jni/application/lbreakout2/gui/gui_icon.c new file mode 100644 index 000000000..38e56bb5c --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_icon.c @@ -0,0 +1,119 @@ +/*************************************************************************** + gui_icon.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "gui_widget.h" +#include "gui_icon.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + switch ( event->type ) { + case GUI_DESTROY: + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0, 0, -1, -1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + break; + } +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create an icon widget that displays the icon centered and uses +the parent's background. +==================================================================== +*/ +GuiWidget *gui_icon_create( + GuiWidget *parent, int x, int y, int width, int height, int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + SDL_Surface *icon, int ix, int iy, int iw, int ih ) +{ + GuiWidget *widget = gui_widget_create( + parent, GUI_ICON, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_CLICKED ); + /* create surface and add frame - + contents is set by icon_set_icon() */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + if ( with_frame ) + widget->border = stk_surface_apply_frame( + widget->surface, 0, 0, -1, -1, + gui_theme->widget_frame ); + /* size w/o border */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + /* set icon */ + gui_icon_set_icon( widget, icon, ix, iy, iw, ih ); + /* done */ + return widget; +} + +/* +==================================================================== +Apply a new icon. +==================================================================== +*/ +void gui_icon_set_icon( + GuiWidget *widget, SDL_Surface *icon, + int ix, int iy, int iw, int ih ) +{ + if ( widget->type != GUI_ICON ) return; + /* clear widget to wallpaper */ + gui_widget_apply_wallpaper( + widget, gui_theme->widget_wallpaper, -1 ); + /* add icon */ + if ( icon ) { + /* adjust size */ + if ( iw == -1 ) iw = icon->w; + if ( ih == -1 ) ih = icon->h; + stk_surface_blit( icon, ix, iy, iw, ih, + widget->surface, + (widget->surface->w - iw)/2, + (widget->surface->h - ih)/2 ); + } + /* done */ + if ( widget->visible ) + gui_widget_draw( widget ); +} + diff --git a/project/jni/application/lbreakout2/gui/gui_icon.h b/project/jni/application/lbreakout2/gui/gui_icon.h new file mode 100644 index 000000000..2cfac744b --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_icon.h @@ -0,0 +1,43 @@ +/*************************************************************************** + gui_icon.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_ICON_H +#define __GUI_ICON_H + +/* +==================================================================== +Create an icon widget that displays the icon centered and uses +the parent's background. +==================================================================== +*/ +GuiWidget *gui_icon_create( + GuiWidget *parent, int x, int y, int width, int height, + int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + SDL_Surface *icon, int ix, int iy, int iw, int ih ); + +/* +==================================================================== +Apply a new icon. +==================================================================== +*/ +void gui_icon_set_icon( + GuiWidget *icon, SDL_Surface *source, + int ix, int iy, int iw, int ih ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/gui_label.c b/project/jni/application/lbreakout2/gui/gui_label.c new file mode 100644 index 000000000..2fe075cb2 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_label.c @@ -0,0 +1,276 @@ +/*************************************************************************** + gui_label.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include +#include "gui_widget.h" +#include "gui_label.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Convert a text string into single lines of maximum length +'char_width'. +==================================================================== +*/ +typedef struct { + char **lines; + int count; +} LabelText; +static void repl_new_lines( char *text ) +{ + int i; + for ( i = 0; i < strlen( text ); i++ ) + if ( text[i] < 32 ) + text[i] = 32; +} +static LabelText* text_create( char *orig_str, int char_width ) +{ + int i, j; + char line[256]; /* a line should not exceed this length */ + int pos; + int last_space; + int new_line; + LabelText *text = 0; + char *str = 0; + + text = calloc ( 1, sizeof( LabelText ) ); + /* maybe orig_str is a constant expression; duplicate for safety */ + str = strdup( orig_str ); + /* replace original new_lines with spaces */ + repl_new_lines( str ); + /* 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 ( char_width > 0 ) { + pos = 0; + while ( pos < strlen( str ) ) { + last_space = 0; + new_line = 0; + i = 0; + while ( !new_line && i < char_width && i + pos < strlen( str ) ) { + switch ( str[pos + i] ) { + case '#': new_line = 1; + case 32: last_space = i; break; + } + i++; + } + if ( i + pos >= strlen( str ) ) break; + if ( last_space == 0 ) { + /* uhh... much to long, we'll have to cut a word into pieces ... */ + last_space = char_width / 2; + } + str[pos + last_space] = 10; + pos += last_space; + } + } + /* count lines */ + if ( char_width > 0 ) { + for ( i = 0; i < strlen( str ); i++ ) + if ( str[i] == 10 ) + text->count++; + /* maybe one unfinished line */ + if ( str[strlen( str ) - 1] != 10 ) + text->count++; + } + else + text->count = 1; + /* get mem */ + text->lines = calloc( text->count, sizeof( char* ) ); + /* get all lines */ + pos = 0; + for ( j = 0; j < text->count; j++ ) { + i = 0; + while ( pos + i < strlen( str ) && str[pos + i] != 10 ) { + line[i] = str[i + pos]; + i++; + } + pos += i; pos++; + line[i] = 0; + text->lines[j] = strdup( line ); + } + if ( text->count == 0 ) + fprintf( stderr, "conv_to_text: warning: line_count is 0\n" ); + free( str ); + return text; +} +static void text_delete( LabelText *text ) +{ + int i; + if ( text == 0 ) return; + if ( text->lines ) { + for ( i = 0; i < text->count; i++ ) + if ( text->lines[i] ) + free( text->lines[i] ); + free( text->lines ); + } + free( text ); +} + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + switch ( event->type ) { + case GUI_DESTROY: + if ( widget->spec.label.text ) + free( widget->spec.label.text ); + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0, 0, -1, -1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + break; + } +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a label widget with the parent's background and maybe a +frame. + 'border': space between text and frame + 'text': text that may contain multiple lines separated by '#' + (duplicated) + 'align': alignment for each line + 'font': used to display the text. if NULL is passed the default + label font is used +==================================================================== +*/ +GuiWidget* gui_label_create( + GuiWidget *parent, int x, int y, int width, int height, int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int border, StkFont *font, int align, char *text ) +{ + GuiWidget *widget = gui_widget_create( + parent, GUI_LABEL, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_CLICKED ); + /* create surface and add frame - + contents is set by label_set_text() */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + SDL_SetColorKey( widget->surface, 0,0 ); + if ( with_frame ) + widget->border = stk_surface_apply_frame( + widget->surface, 0, 0, -1, -1, + gui_theme->widget_frame ); + /* add some extra space between frame and text */ + widget->border += border; + /* size w/o border */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + /* set font and alignment */ + widget->spec.label.font = (font)?font:gui_theme->label_font; + widget->spec.label.align = align; + /* do the text */ + if ( text ) + widget->spec.label.text = strdup( text ); + gui_label_set_text( widget, text ); + /* done */ + return widget; +} + +/* +==================================================================== +Set label font/alignment/text. Update if visible. +==================================================================== +*/ +void gui_label_set_font( GuiWidget *widget, StkFont *font ) +{ + if ( widget->type != GUI_LABEL ) return; + widget->spec.label.font = font; + gui_label_set_text( widget, widget->spec.label.text ); +} +void gui_label_set_align( GuiWidget *widget, int align ) +{ + if ( widget->type != GUI_LABEL ) return; + widget->spec.label.align = align; + gui_label_set_text( widget, widget->spec.label.text ); +} +static char label_buffer[1024]; +void gui_label_set_text( GuiWidget *widget, char *format, ... ) +{ + LabelText *text; + int px, py, i; + va_list args; + if ( widget->type != GUI_LABEL ) return; + /* free old text */ + if ( widget->spec.label.text ) { + free( widget->spec.label.text ); + widget->spec.label.text = 0; + } + /* clear widget to wallpaper */ + gui_widget_apply_wallpaper( + widget, gui_theme->widget_wallpaper, -1 ); + /* set new text if any */ + if ( format ) { + /* build full string */ + va_start( args, format ); + vsnprintf( label_buffer, 1024, format, args ); + va_end( args ); + /* build text */ + widget->spec.label.text = strdup( label_buffer ); + text = text_create( widget->spec.label.text, + (widget->screen_region.w - 2 * widget->border) / + widget->spec.label.font->width ); + /* add text */ + widget->spec.label.font->align = widget->spec.label.align; + if ( widget->spec.label.align & STK_FONT_ALIGN_LEFT ) + px = widget->border; + else + if ( widget->spec.label.align & STK_FONT_ALIGN_RIGHT ) + px = widget->screen_region.w - widget->border; + else + px = widget->border + + ((widget->screen_region.w - + (widget->border<<1))>>1); + py = (widget->parent_region.h - + text->count * widget->spec.label.font->height) / 2; + for ( i = 0; i < text->count; + i++, py += widget->spec.label.font->height ) + stk_font_write( widget->spec.label.font, + widget->surface, px, py, -1, + text->lines[i] ); + text_delete( text ); + } + /* display */ + if ( widget->visible ) + gui_widget_draw( widget ); +} diff --git a/project/jni/application/lbreakout2/gui/gui_label.h b/project/jni/application/lbreakout2/gui/gui_label.h new file mode 100644 index 000000000..e1f94112b --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_label.h @@ -0,0 +1,48 @@ +/*************************************************************************** + gui_label.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_LABEL_H +#define __GUI_LABEL_H + +/* +==================================================================== +Create a label widget with the parent's background and maybe a +frame. + 'border': space between text and frame + 'text': text that may contain multiple lines separated by '#' + (duplicated) + 'align': alignment for each line + 'font': used to display the text. if NULL is passed the default + label font is used +==================================================================== +*/ +GuiWidget* gui_label_create( + GuiWidget *parent, int x, int y, int width, int height, + int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int border, StkFont *font, int align, char *text ); + +/* +==================================================================== +Set label font/alignment/text. Update if visible. +==================================================================== +*/ +void gui_label_set_font( GuiWidget *label, StkFont *font ); +void gui_label_set_align( GuiWidget *label, int align ); +void gui_label_set_text( GuiWidget *label, char *format, ... ); + +#endif diff --git a/project/jni/application/lbreakout2/gui/gui_list.c b/project/jni/application/lbreakout2/gui/gui_list.c new file mode 100644 index 000000000..ccc2dcb93 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_list.c @@ -0,0 +1,412 @@ +/*************************************************************************** + gui_list.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "gui_widget.h" +#include "gui_button.h" +#include "gui_scrollbar.h" +#include "gui_list.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + Uint32 color; + SDL_Rect rect; + int pos, px, py, item_id, i, j; + switch ( event->type ) { + case GUI_DESTROY: + if ( widget->spec.list.checks ) + free( widget->spec.list.checks ); + stk_surface_free( &widget->spec.list.render_buffer ); + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0, 0, -1, -1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + /* render items */ + if ( widget->spec.list.item_count == 0 ) + break; + pos = 0; + if ( widget->spec.list.scrollbar ) + gui_scrollbar_get_value( + widget->spec.list.scrollbar, &pos ); + item_id = pos * widget->spec.list.columns; + py = widget->screen_region.y + widget->border; + for ( j = 0; j < widget->spec.list.rows_per_page; j++ ) { + px = widget->screen_region.x + widget->border; + for ( i = 0; i < widget->spec.list.columns; i++ ) { + if ( (widget->spec.list.select_type == + GUI_LIST_SINGLE_SELECT && + widget->spec.list.checks[0] == item_id) || + (widget->spec.list.select_type == + GUI_LIST_MULTI_SELECT && + widget->spec.list.checks[item_id] ) ) { + color = stk_surface_get_pixel( + gui_theme->list_item_color, 0, 0 ); + SDL_FillRect( + widget->spec.list.render_buffer, 0, color ); + stk_surface_alpha_blit( widget->surface, + px - widget->screen_region.x, + py - widget->screen_region.y, + widget->spec.list.item_width, + widget->spec.list.item_height, + widget->spec.list.render_buffer, 0, 0, + 192 ); + } + else + stk_surface_fill( + widget->spec.list.render_buffer, 0,0,-1,-1, + 0x0 ); + if ( widget->spec.list.render_item( + i, j + pos, widget->spec.list.render_buffer ) ) + stk_surface_blit( + widget->spec.list.render_buffer, + 0,0,-1,-1, stk_display, px, py ); + px += widget->spec.list.item_width + + widget->spec.list.gap; + item_id++; + if ( item_id >= widget->spec.list.item_count ) + break; + } + py += widget->spec.list.item_height + + widget->spec.list.gap; + if ( item_id >= widget->spec.list.item_count ) + break; + } + break; + case GUI_BUTTON_PRESSED: + if ( event->button.button == STK_WHEEL_UP ) + gui_scrollbar_add( widget->spec.list.scrollbar, + -widget->spec.list.scrollbar->spec.scrollbar.step*2 ); + else + if ( event->button.button == STK_WHEEL_DOWN ) + gui_scrollbar_add( widget->spec.list.scrollbar, + widget->spec.list.scrollbar->spec.scrollbar.step*2 ); + else { + /* handle selection */ + pos = 0; + if ( widget->spec.list.scrollbar ) + gui_scrollbar_get_value( + widget->spec.list.scrollbar, &pos ); + rect.w = widget->spec.list.item_width; + rect.h = widget->spec.list.item_height; + rect.y = widget->screen_region.y + + widget->border; + for ( j = 0; j < widget->spec.list.rows_per_page; j++ ) { + rect.x = widget->screen_region.x + + widget->border; + for ( i = 0; i < widget->spec.list.columns; i++ ) { + if ( STK_IN_RECT( rect, + event->button.x, + event->button.y ) ) { + gui_list_select( + widget, i, j + pos, -1 ); + return; + } + rect.x += widget->spec.list.item_width + + widget->spec.list.gap; + } + rect.y += widget->spec.list.item_height + + widget->spec.list.gap; + } + } + break; + } +} + +/* +==================================================================== +Dummy routine to produce an empty list. +==================================================================== +*/ +static int gui_list_render_item_dummy( + int x, int y, SDL_Surface *buffer ) +{ + return 0; +} +/* +==================================================================== +Default handler for listbox scrollbar. +==================================================================== +*/ +static void gui_list_scrollbar_handler( + GuiWidget *widget, GuiEvent *event ) +{ + /* update the listbox */ + if ( event->type == GUI_CHANGED ) + gui_widget_draw( widget->parent ); + /* call event handler */ + gui_widget_call_user_event_handler( widget->parent, event ); +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a listbox that may have multiple columns which cannot be +scrolled however. + 'gap': gap between items and frame + 'columns': the item width is determined by available_width/columns + 'item_height': the number of rows is unlimited and this is the + height of an item + 'scrollbar_width' : if > 0 a vertical scrollbar is provided + 'render_item': The scrollbar value (0 if none) tells which row + is the first displayed and + render_item(row,column,buffer) is called to + obtain the graphic for each visible item. + If 'render_item' returns False the item is not + displayed. + 'select_type': no, single, multi select +==================================================================== +*/ +GuiWidget* gui_list_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int gap, int columns, int item_height, + int scrollbar_width, int (*render_item)(int,int,SDL_Surface*), + int select_type ) +{ + int old_border; + GuiWidget *widget = gui_widget_create( + parent, GUI_LIST, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_ITEM_SELECTED ); + gui_widget_enable_event( widget, GUI_ITEM_UNSELECTED ); + /* create surface and wallpaper it */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + SDL_SetColorKey( widget->surface, 0,0 ); + stk_surface_apply_wallpaper( + widget->surface, 0, 0, -1, -1, + gui_theme->widget_wallpaper, -1 ); + /* add frame leaving space for scrollbar */ + widget->border = stk_surface_apply_frame( + widget->surface, 0, 0, width - scrollbar_width, height, + gui_theme->widget_frame ); + /* size w/o border */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + /* distance between frame and items */ + widget->spec.list.gap = gap; + widget->border += gap; + /* item settings */ + widget->spec.list.columns = columns; + widget->spec.list.item_width = + (width - scrollbar_width - widget->border*2 + gap) / + columns - gap; + widget->spec.list.item_height = item_height; + widget->spec.list.rows_per_page = + (height - widget->border*2 + gap) / (item_height + gap); + /* selection */ + widget->spec.list.select_type = select_type; + widget->spec.list.checks = calloc( 1, sizeof( int ) ); + if ( widget->spec.list.checks == 0 ) + GUI_ABORT( "Out Of Memory" ); + /* render callback */ + if ( render_item == 0 ) { + fprintf( stderr, + "You must specify a render callback for lists!\n" ); + widget->spec.list.render_item = gui_list_render_item_dummy; + } + else + widget->spec.list.render_item = render_item; + /* build scrollbar if any */ + if ( scrollbar_width > 0 ) { + /* the border is set to 0 as the frame doesn't + apply to the scrollbar */ + old_border = widget->border; + widget->border = 0; + widget->spec.list.scrollbar = gui_scrollbar_create( widget, + width - scrollbar_width, 0, scrollbar_width, height, + gui_list_scrollbar_handler, 1, + 0, 0, 1, widget->spec.list.rows_per_page / 2, 0 ); + widget->border = old_border; + gui_widget_disable_event( widget->spec.list.scrollbar, GUI_FOCUS_IN ); + gui_widget_disable_event( widget->spec.list.scrollbar, GUI_FOCUS_OUT ); + } + /* create the render buffer */ + widget->spec.list.render_buffer = + stk_surface_create( SDL_SWSURFACE, + widget->spec.list.item_width, widget->spec.list.item_height ); + if ( widget->spec.list.render_buffer == 0 ) + GUI_ABORT( "Out Of Memory" ); + return widget; +} + +/* +==================================================================== +Set item count of list and update it even if item count hasn't +changed. This function is used to tell the list that it +contents has changed and needs to be redrawn. All selections +are cleared by this function. +==================================================================== +*/ +void gui_list_update( GuiWidget *widget, int count ) +{ + int value = 0, old_count = widget->spec.list.item_count; + if ( widget->type != GUI_LIST ) return; + /* adjust count and row number */ + widget->spec.list.item_count = count; + widget->spec.list.rows = + widget->spec.list.item_count / widget->spec.list.columns + + ((widget->spec.list.item_count % + widget->spec.list.columns) != 0); + /* clear checks */ + if ( widget->spec.list.select_type == GUI_LIST_MULTI_SELECT ) { + free( widget->spec.list.checks ); + widget->spec.list.checks = + calloc( (count<=0)?1:count, sizeof( int ) ); + } + else + widget->spec.list.checks[0] = -1; + /* set range and value of scrollbar */ + if ( widget->spec.list.scrollbar ) { + if ( count > old_count ) { + /* additional items. current scrollbar value will + still be valid. no screen update yet. */ + if ( widget->visible ) + widget->spec.list.scrollbar-> + spec.scrollbar.track->visible = 0; + value = widget->spec.list.rows - + widget->spec.list.rows_per_page; + if ( value < 0 ) value = 0; + gui_scrollbar_set_range( + widget->spec.list.scrollbar, 0, value, -1, -1 ); + if ( widget->visible ) + widget->spec.list.scrollbar-> + spec.scrollbar.track->visible = 1; + } + else if ( count < old_count ) { + /* lesser items. the current scrollbar value + may be out of range. no screen update yet. */ + gui_scrollbar_get_value( + widget->spec.list.scrollbar, &value ); + if ( widget->visible ) + widget->spec.list.scrollbar-> + spec.scrollbar.track->visible = 0; + value = widget->spec.list.rows - + widget->spec.list.rows_per_page; + if ( value < 0 ) value = 0; + if ( value + widget->spec.list.rows_per_page > + widget->spec.list.rows ) { + gui_scrollbar_set_value( widget->spec.list.scrollbar, + value ); + } + gui_scrollbar_set_range( + widget->spec.list.scrollbar, 0, value, -1, -1 ); + if ( widget->visible ) + widget->spec.list.scrollbar-> + spec.scrollbar.track->visible = 1; + } + } + /* redraw */ + if ( widget->visible ) + gui_widget_draw( widget ); +} +/* +==================================================================== +Handle a listbox selection and update listbox. +If 'select' is 1 the item is selected, if it's 0 the item +is unselected, -1 means to toggle the value. +If SINGLE_SELECT toggeling the current selection keeps selection. +==================================================================== +*/ +void gui_list_select( + GuiWidget *widget, int column, int row, int select ) +{ + GuiEvent event; + int id, pos; + if ( widget->type != GUI_LIST ) return; + if ( widget->spec.list.select_type == GUI_LIST_NO_SELECT ) return; + event.type = GUI_NONE; + event.item.x = column; + event.item.y = row; + /* get id of item */ + id = row * widget->spec.list.columns + column; + /* update selection */ + if ( widget->spec.list.select_type == GUI_LIST_SINGLE_SELECT ) { + if ( select == 1 || select == -1 ) { + widget->spec.list.checks[0] = id; + event.type = GUI_ITEM_SELECTED; + } + else + if ( select == 0 && id == widget->spec.list.checks[0] ) { + widget->spec.list.checks[0] = -1; + event.type = GUI_ITEM_UNSELECTED; + } + } + else { + if ( select == -1 ) + widget->spec.list.checks[id] = !widget->spec.list.checks[id]; + else + widget->spec.list.checks[id] = select; + event.type = (widget->spec.list.checks[id]) ? + GUI_ITEM_SELECTED : + GUI_ITEM_UNSELECTED; + } + /* selection event? */ + if ( event.type != GUI_NONE ) + gui_widget_call_user_event_handler( widget, &event ); + /* redraw */ + if ( widget->visible ) { + pos = 0; + if ( widget->spec.list.scrollbar ) + gui_scrollbar_get_value( + widget->spec.list.scrollbar, &pos ); + if ( row >= pos ) + if ( row < pos + widget->spec.list.rows_per_page ) + gui_widget_draw( widget ); + } +} + +/* +==================================================================== +Display passed row as first one or jump to end if 'row' is -1 . +==================================================================== +*/ +void gui_list_goto( GuiWidget *widget, int row ) +{ + if ( widget->type != GUI_LIST ) return; + if ( row == -1 ) + gui_scrollbar_add( widget->spec.list.scrollbar, + widget->spec.list.item_count ); + else + gui_scrollbar_add( widget->spec.list.scrollbar, + row - widget->spec.list.scrollbar->spec.scrollbar.value ); +} diff --git a/project/jni/application/lbreakout2/gui/gui_list.h b/project/jni/application/lbreakout2/gui/gui_list.h new file mode 100644 index 000000000..b3f9e92df --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_list.h @@ -0,0 +1,81 @@ +/*************************************************************************** + gui_list.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_LIST_H +#define __GUI_LIST_H + +/* select types */ +enum { + GUI_LIST_MULTI_SELECT = -1, + GUI_LIST_NO_SELECT, + GUI_LIST_SINGLE_SELECT +}; + +/* +==================================================================== +Create a listbox that may have multiple columns which cannot be +scrolled however. + 'gap': gap between items and frame + 'columns': the item width is determined by available_width/columns + 'item_height': the number of rows is unlimited and this is the + height of an item + 'scrollbar_width' : if > 0 a vertical scrollbar is provided + 'render_item': The scrollbar value (0 if none) tells which row + is the first displayed and + render_item(row,column,buffer) is called to + obtain the graphic for each visible item. + If 'render_item' returns False the item is not + displayed. + 'select_type': no, single, multi select +==================================================================== +*/ +GuiWidget* gui_list_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int gap, int columns, int item_height, + int scrollbar_width, int (*render_item)(int,int,SDL_Surface*), + int select_type ); + +/* +==================================================================== +Set item count of list and update it even if item count hasn't +changed. This function is used to tell the list that it +contents has changed and needs to be redrawn. All selections +are cleared by this function. +==================================================================== +*/ +void gui_list_update( GuiWidget *list, int count ); +/* +==================================================================== +Handle a listbox selection and update listbox. +If 'select' is 1 the item is selected, if it's 0 the item +is unselected, -1 means to toggle the value. +If SINGLE_SELECT toggeling the current selection keeps selection. +==================================================================== +*/ +void gui_list_select( + GuiWidget *list, int column, int row, int select ); + +/* +==================================================================== +Display passed row as first one or jump to end if 'row' is -1 . +==================================================================== +*/ +void gui_list_goto( GuiWidget *list, int row ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/gui_progressbar.c b/project/jni/application/lbreakout2/gui/gui_progressbar.c new file mode 100644 index 000000000..c422ffef8 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_progressbar.c @@ -0,0 +1,186 @@ +/*************************************************************************** + gui_progressbar.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include "gui_widget.h" +#include "gui_progressbar.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static char progressbar_hint[32]; +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + switch ( event->type ) { + case GUI_DESTROY: + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0,0,-1,-1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + /* add progress */ + stk_surface_apply_wallpaper( stk_display, + widget->screen_region.x + widget->border, + widget->screen_region.y + widget->border, + widget->spec.progressbar.length, + widget->screen_region.h - (widget->border<<1), + widget->spec.progressbar.wallpaper, -1 ); + /* if focused add info */ + if ( widget->focused ) { + gui_theme->progressbar_font->align = + STK_FONT_ALIGN_CENTER_X | + STK_FONT_ALIGN_CENTER_Y; + snprintf( progressbar_hint, 32, "%i/%i", + widget->spec.progressbar.value, + widget->spec.progressbar.max ); + stk_font_write( gui_theme->progressbar_font, + stk_display, + widget->screen_region.x + + widget->screen_region.w/2, + widget->screen_region.y + + widget->screen_region.h/2, + -1, progressbar_hint ); + } + break; + case GUI_FOCUS_IN: + case GUI_FOCUS_OUT: + gui_widget_draw( widget ); + break; + } +} + +/* +==================================================================== +Adjust length of the beam and set correct beam wallpaper. +(no update) +==================================================================== +*/ +static void gui_progressbar_adjust( GuiWidget *widget ) +{ + int ratio = 100 * widget->spec.progressbar.value / + widget->spec.progressbar.max; + /* wallpaper */ + if ( ratio > 60 ) + widget->spec.progressbar.wallpaper = + gui_theme->progress_high; + else + if ( ratio > 25 ) + widget->spec.progressbar.wallpaper = + gui_theme->progress_medium; + else + widget->spec.progressbar.wallpaper = + gui_theme->progress_low; + /* length */ + widget->spec.progressbar.length = + (widget->parent_region.w - (widget->border<<1)) * + widget->spec.progressbar.value / widget->spec.progressbar.max; +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a framed progress bar. +==================================================================== +*/ +GuiWidget *gui_progressbar_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int max, int value ) +{ + GuiWidget *widget = gui_widget_create( + parent, GUI_PROGRESSBAR, x, y, width, height, + default_event_handler, user_event_handler ); + /* create surface, wallpaper and frame it */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + SDL_SetColorKey( widget->surface, 0,0 ); + stk_surface_apply_wallpaper( widget->surface, 0,0,-1,-1, + gui_theme->widget_wallpaper, -1 ); + widget->border = stk_surface_apply_frame( + widget->surface, 0, 0, -1, -1, + gui_theme->widget_frame ); + /* size w/o border */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + /* set value */ + widget->spec.progressbar.max = max; + gui_progressbar_set_value( widget, value ); + /* done */ + return widget; +} + +/* +==================================================================== +Get/Set value and limit of progressbar. +==================================================================== +*/ +void gui_progressbar_set_value( + GuiWidget *widget, int value ) +{ + if ( widget->type != GUI_PROGRESSBAR ) return; + /* set value */ + widget->spec.progressbar.value = value; + gui_progressbar_adjust( widget ); + /* done */ + if ( widget->visible ) + gui_widget_draw( widget ); +} +void gui_progressbar_set_max( + GuiWidget *widget, int max ) +{ + if ( widget->type != GUI_PROGRESSBAR ) return; + /* set max */ + widget->spec.progressbar.max = max; + gui_progressbar_adjust( widget ); + /* done */ + if ( widget->visible ) + gui_widget_draw( widget ); +} +int gui_progressbar_get_value( + GuiWidget *widget, int *value ) +{ + if ( widget->type != GUI_PROGRESSBAR ) return 0; + *value = widget->spec.progressbar.value; + return 1; +} +int gui_progressbar_get_max( + GuiWidget *widget, int *max ) +{ + if ( widget->type != GUI_PROGRESSBAR ) return 0; + *max = widget->spec.progressbar.max; + return 1; +} + diff --git a/project/jni/application/lbreakout2/gui/gui_progressbar.h b/project/jni/application/lbreakout2/gui/gui_progressbar.h new file mode 100644 index 000000000..d3b83b52e --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_progressbar.h @@ -0,0 +1,46 @@ +/*************************************************************************** + gui_progressbar.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_PROGRESSBAR_H +#define __GUI_PROGRESSBAR_H + +/* +==================================================================== +Create a framed progress bar. +==================================================================== +*/ +GuiWidget *gui_progressbar_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int max, int value ); + +/* +==================================================================== +Get/Set value and limit of progressbar. +==================================================================== +*/ +void gui_progressbar_set_value( + GuiWidget *progressbar, int value ); +void gui_progressbar_set_max( + GuiWidget *progressbar, int max ); +int gui_progressbar_get_value( + GuiWidget *progressbar, int *value ); +int gui_progressbar_get_max( + GuiWidget *widget, int *max ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/gui_radiogroup.c b/project/jni/application/lbreakout2/gui/gui_radiogroup.c new file mode 100644 index 000000000..9414ab72f --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_radiogroup.c @@ -0,0 +1,244 @@ +/*************************************************************************** + gui_radiogroup.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include "gui_widget.h" +#include "gui_radiogroup.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + int px, py, i; + switch ( event->type ) { + case GUI_DESTROY: + if ( widget->spec.radiogroup.checks ) + free( widget->spec.radiogroup.checks ); + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0, 0, -1, -1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + /* add checkers */ + px = widget->screen_region.x + + widget->spec.radiogroup.x; + py = widget->screen_region.y + + widget->spec.radiogroup.y; + for ( i = 0; i < widget->spec.radiogroup.size; + i++, py += widget->spec.radiogroup.offset ) { + if ( widget->spec.radiogroup.checks[i] ) + stk_surface_blit( + gui_theme->checkbox, + gui_theme->checkbox_size, 0, + gui_theme->checkbox_size, + gui_theme->checkbox_size, + stk_display, px, py ); + } + break; + case GUI_CLICKED: + gui_radiogroup_toggle( widget, + (event->button.y - widget->screen_region.y - + widget->border) / widget->spec.radiogroup.offset ); + break; + } +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a radiogroup or a checkbox which is nothing but a +single entried radiogroup. + 'caption': checkbox caption + 'items': items - the widget does not modify the pointers + 'checked': is True if checkbox checked else False. +Radiogroup selections can be set with gui_radiogroup_select(). +==================================================================== +*/ +GuiWidget* gui_checkbox_create( + GuiWidget *parent, int x, int y, int width, int height, int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + char *caption, int checked ) +{ + GuiWidget *widget; + char *items[1]; + items[0] = caption; + /* this is just a single itemed radiogroup */ + widget = gui_radiogroup_create( + parent, x, y, width, height, with_frame, user_event_handler, + 1, items, 0, 1 ); + gui_radiogroup_set_checked( widget, 0, checked ); + return widget; +} +GuiWidget* gui_radiogroup_create( + GuiWidget *parent, int x, int y, int width, int height, int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int item_count, char **items, int min, int max ) +{ + int px, py, i, j, gap = 4; + GuiWidget *widget = gui_widget_create( + parent, GUI_RADIOGROUP, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_CLICKED ); + /* create surface, wallpaper and frame it */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + SDL_SetColorKey( widget->surface, 0,0 ); + stk_surface_apply_wallpaper( widget->surface, 0,0,-1,-1, + gui_theme->widget_wallpaper, -1 ); + if ( with_frame ) + widget->border = stk_surface_apply_frame( + widget->surface, 0, 0, -1, -1, + gui_theme->widget_frame ); + /* size w/o border */ + widget->width -= 2 * widget->border; + widget->height -= 2 * widget->border; + /* various */ + widget->spec.radiogroup.size = item_count; + widget->spec.radiogroup.min = min; + widget->spec.radiogroup.max = max; + widget->spec.radiogroup.single_check = -1; + /* compute offset of single items */ + widget->spec.radiogroup.offset = + (height - 2 * widget->border) / + item_count; + /* position of first checkbox */ + widget->spec.radiogroup.x = widget->border + gap; + widget->spec.radiogroup.y = widget->border + + (widget->spec.radiogroup.offset - + gui_theme->checkbox_size) / 2; + /* add empty checkboxes and labels */ + gui_theme->label_font->align = STK_FONT_ALIGN_CENTER_Y; + px = widget->spec.radiogroup.x; + py = widget->spec.radiogroup.y; + for ( i = 0, j = 0; i < widget->spec.radiogroup.size; + i++, py += widget->spec.radiogroup.offset, j++ ) { + stk_surface_blit( + gui_theme->checkbox, 0, 0, + gui_theme->checkbox_size, + gui_theme->checkbox_size, + widget->surface, px, py ); + stk_font_write( gui_theme->label_font, + widget->surface, px + gui_theme->checkbox_size + gap, + py + gui_theme->checkbox_size/2, -1, items[j] ); + } + /* create empty checkers */ + widget->spec.radiogroup.checks = calloc( item_count, sizeof( int ) ); + if ( widget->spec.radiogroup.checks == 0 ) + GUI_ABORT( "Out Of Memory" ); + return widget; +} + +/* +==================================================================== +Set or check if a checkbox in the radiogroup is set. +Stores refresh rects if visible. +==================================================================== +*/ +void gui_radiogroup_set_checked( + GuiWidget *widget, int id, int check ) +{ + if ( widget->type != GUI_RADIOGROUP ) + return; + if ( id >= widget->spec.radiogroup.size || id < 0 ) + return; + /* if there is at maximum one item selectable + we clear the selection to simplify usage */ + if ( widget->spec.radiogroup.max == 1 ) { + memset( widget->spec.radiogroup.checks, 0, + widget->spec.radiogroup.size * sizeof( int ) ); + widget->spec.radiogroup.check_count = 0; + widget->spec.radiogroup.single_check = -1; + } + if ( check ) { + /* select item if possible */ + if ( widget->spec.radiogroup.check_count == + widget->spec.radiogroup.max ) + return; + /* if only one selection is allowed unselect old checker */ + widget->spec.radiogroup.checks[id] = 1; + widget->spec.radiogroup.single_check = id; + widget->spec.radiogroup.check_count++; + } + else { + /* unselect item if possible */ + if ( widget->spec.radiogroup.check_count == + widget->spec.radiogroup.min ) + return; + if ( widget->spec.radiogroup.checks[id] == 0 ) + return; + widget->spec.radiogroup.checks[id] = 0; + widget->spec.radiogroup.single_check = -1; + widget->spec.radiogroup.check_count--; + } + if ( widget->visible ) + gui_widget_draw( widget ); +} +void gui_radiogroup_toggle( GuiWidget *widget, int id ) +{ + if ( widget->type != GUI_RADIOGROUP ) + return; + if ( id >= widget->spec.radiogroup.size || id < 0 ) + return; + gui_radiogroup_set_checked( + widget, id, !widget->spec.radiogroup.checks[id] ); +} +int gui_radiogroup_is_checked( GuiWidget *widget, int id ) +{ + if ( widget->type != GUI_RADIOGROUP ) + return 0; + if ( id >= widget->spec.radiogroup.size || id < 0 ) + return 0; + return widget->spec.radiogroup.checks[id]; +} +/* +==================================================================== +For radiogroups with at max one items this returns the currently +checked id or -1. +==================================================================== +*/ +int gui_radiogroup_get_checked( GuiWidget *widget ) +{ + if ( widget->type != GUI_RADIOGROUP ) + return -1; + if ( widget->spec.radiogroup.max != 1 ) + return -1; + return widget->spec.radiogroup.single_check; +} + diff --git a/project/jni/application/lbreakout2/gui/gui_radiogroup.h b/project/jni/application/lbreakout2/gui/gui_radiogroup.h new file mode 100644 index 000000000..aac9b93a5 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_radiogroup.h @@ -0,0 +1,60 @@ +/*************************************************************************** + gui_radiogroup.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_RADIOGROUP_H +#define __GUI_RADIOGROUP_H + +/* +==================================================================== +Create a radiogroup or a checkbox which is nothing but a +single entried radiogroup. + 'caption': checkbox caption + 'items': items - the widget does not modify the pointers + 'checked': is True if checkbox checked else False. +Radiogroup selections can be set with gui_radiogroup_select(). +==================================================================== +*/ +GuiWidget* gui_checkbox_create( + GuiWidget *parent, int x, int y, int width, int height, + int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + char *caption, int checked ); +GuiWidget* gui_radiogroup_create( + GuiWidget *parent, int x, int y, int width, int height, + int with_frame, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int item_count, char **items, int min, int max ); + +/* +==================================================================== +Set or check if a checkbox in the radiogroup is set. +Stores refresh rects if visible. +==================================================================== +*/ +void gui_radiogroup_set_checked( + GuiWidget *radiogroup, int id, int check ); +void gui_radiogroup_toggle( GuiWidget *radiogroup, int id ); +int gui_radiogroup_is_checked( GuiWidget *radiogroup, int id ); +/* +==================================================================== +For radiogroups with at max one items this returns the currently +checked id or -1. +==================================================================== +*/ +int gui_radiogroup_get_checked( GuiWidget *radiogroup ); + +#endif diff --git a/project/jni/application/lbreakout2/gui/gui_scrollbar.c b/project/jni/application/lbreakout2/gui/gui_scrollbar.c new file mode 100644 index 000000000..bffe42929 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_scrollbar.c @@ -0,0 +1,350 @@ +/*************************************************************************** + gui_scrollbar.c - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include "gui_widget.h" +#include "gui_button.h" +#include "gui_scrollbar.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + switch ( event->type ) { + case GUI_DESTROY: + break; + case GUI_DRAW: + /* display surface */ + stk_surface_blit( + widget->surface, 0, 0, -1, -1, + stk_display, + widget->screen_region.x, + widget->screen_region.y ); + break; + case GUI_BUTTON_PRESSED: + if ( widget->spec.scrollbar.vertical ) { + if ( event->button.y < + widget->spec.scrollbar.track-> + screen_region.y ) + gui_scrollbar_add( widget, + -widget->spec.scrollbar.jump ); + else + gui_scrollbar_add( widget, + widget->spec.scrollbar.jump ); + } + else { + if ( event->button.x < + widget->spec.scrollbar.track-> + screen_region.x ) + gui_scrollbar_add( widget, + -widget->spec.scrollbar.jump ); + else + gui_scrollbar_add( widget, + widget->spec.scrollbar.jump ); + } + break; + } +} + +/* +==================================================================== +Warp track button of scrollbar to correct position. +==================================================================== +*/ +static void gui_scrollbar_update_track( GuiWidget *widget ) +{ + int offset; + if ( widget->type != GUI_SCROLLBAR ) return; + if ( widget->spec.scrollbar.min == widget->spec.scrollbar.max ) + offset = 0; + else + offset = + (((widget->spec.scrollbar.vertical) ? + widget->parent_region.h : + widget->parent_region.w) - + (widget->spec.scrollbar.button_size * 3) ) * + widget->spec.scrollbar.value / + (widget->spec.scrollbar.max - widget->spec.scrollbar.min); + gui_widget_warp( widget->spec.scrollbar.track, + (widget->spec.scrollbar.vertical) ? 0 : + (offset + widget->spec.scrollbar.button_size), + (widget->spec.scrollbar.vertical)? + (offset + widget->spec.scrollbar.button_size) : 0 ); +} + +/* +==================================================================== +Update the scrollbar value by position of track button, +return True if it has changed and call event handler with +GUI_CHANGED. +==================================================================== +*/ +static int gui_scrollbar_adjust( GuiWidget *widget ) +{ + int new_value; + if ( widget->type != GUI_SCROLLBAR ) return 0; + new_value = (((widget->spec.scrollbar.vertical) ? + widget->spec.scrollbar.track->parent_region.y : + widget->spec.scrollbar.track->parent_region.x) - + widget->spec.scrollbar.button_size) * + (widget->spec.scrollbar.max - widget->spec.scrollbar.min) / + (((widget->spec.scrollbar.vertical) ? + widget->parent_region.h : + widget->parent_region.w) - + widget->spec.scrollbar.button_size * 3); + if ( new_value != widget->spec.scrollbar.value ) { + widget->spec.scrollbar.value = new_value; + gui_widget_call_user_event_handler( + widget, gui_event_get_simple( GUI_CHANGED ) ); + return 1; + } + return 0; +} + +/* +==================================================================== +Default event handlers for scrollbar buttons: update the +scrollbar if a button was clicked and pass the event to the +scrollbar's user event handler. +==================================================================== +*/ +static void gui_scrollbar_dec_handler( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_CLICKED ) + gui_scrollbar_add( widget->parent, + -widget->parent->spec.scrollbar.step ); + gui_widget_call_user_event_handler( + widget->parent, event ); +} +static void gui_scrollbar_inc_handler( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_CLICKED ) + gui_scrollbar_add( widget->parent, + widget->parent->spec.scrollbar.step ); + gui_widget_call_user_event_handler( + widget->parent, event ); +} +static void gui_scrollbar_track_handler( + GuiWidget *widget, GuiEvent *event ) +{ + int pos; + if ( event->type == GUI_MOTION ) + if ( event->motion.button ) { + if ( widget->parent->spec.scrollbar.vertical ) { + /* absolute offset in parent */ + pos = widget->parent_region.y + + event->motion.yrel; + if ( pos < widget->parent->spec.scrollbar.button_size ) + pos = widget->parent->spec.scrollbar.button_size; + else + if ( pos >= widget->parent->parent_region.h - + (widget->parent->spec.scrollbar.button_size<<1) ) + pos = widget->parent->parent_region.h - + (widget->parent->spec.scrollbar.button_size<<1); + /* move */ + gui_widget_warp( widget, 0, pos ); + } + else { + /* absolute offset in parent */ + pos = widget->parent_region.x + + event->motion.xrel; + if ( pos < widget->parent->spec.scrollbar.button_size ) + pos = widget->parent->spec.scrollbar.button_size; + else + if ( pos >= widget->parent->parent_region.w - + (widget->parent->spec.scrollbar.button_size<<1) ) + pos = widget->parent->parent_region.w - + (widget->parent->spec.scrollbar.button_size<<1); + /* move */ + gui_widget_warp( widget, pos, 0 ); + } + /* update value */ + gui_scrollbar_adjust( widget->parent ); + } + /* send event */ + gui_widget_call_user_event_handler( + widget->parent, event ); +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create an either vertical or horizontal scrollbar. The increase/ +decrease/track buttons are square. +==================================================================== +*/ +GuiWidget* gui_scrollbar_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int vertical, int min, int max, int step, int jump, int value ) +{ + int size; + GuiWidget *widget = gui_widget_create( + parent, GUI_SCROLLBAR, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_CHANGED ); + /* create surface and wallpaper it */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + SDL_SetColorKey( widget->surface, 0,0 ); + stk_surface_apply_wallpaper( + widget->surface, 0, 0, -1, -1, + gui_theme->widget_wallpaper, -1 ); + /* get scrollbar size and add frame */ + if ( vertical ) { + size = width; + stk_surface_apply_frame( + widget->surface, 0, size, size, height - 2 * size, + gui_theme->widget_frame ); + } + else { + size = height; + stk_surface_apply_frame( + widget->surface, size, 0, width - 2 * size, size, + gui_theme->widget_frame ); + } + /* various */ + widget->spec.scrollbar.vertical = vertical; + widget->spec.scrollbar.button_size = size; + /* add inc/dec/track buttons */ + widget->spec.scrollbar.dec = + gui_button_create( widget, 0, 0, size, size, + gui_scrollbar_dec_handler, + gui_theme->scrollbar_arrows, + (vertical)?0: + (gui_theme->scrollbar_arrow_size*2), + 0, + gui_theme->scrollbar_arrow_size, + gui_theme->scrollbar_arrow_size, 0 ); + gui_widget_disable_event( widget->spec.scrollbar.dec, GUI_FOCUS_IN ); + gui_widget_disable_event( widget->spec.scrollbar.dec, GUI_FOCUS_OUT ); + widget->spec.scrollbar.inc = + gui_button_create( widget, + (vertical)?0:(width-size), + (vertical)?(height-size):0, + size, size, + gui_scrollbar_inc_handler, + gui_theme->scrollbar_arrows, + gui_theme->scrollbar_arrow_size + + ((vertical)?0: + (gui_theme->scrollbar_arrow_size*2)), + 0, + gui_theme->scrollbar_arrow_size, + gui_theme->scrollbar_arrow_size, 0 ); + gui_widget_disable_event( widget->spec.scrollbar.inc, GUI_FOCUS_IN ); + gui_widget_disable_event( widget->spec.scrollbar.inc, GUI_FOCUS_OUT ); + widget->spec.scrollbar.track = + gui_button_create( widget, 0, 0, size, size, + gui_scrollbar_track_handler, + 0,0,0,0,0, 0 ); + /* our trackbutton needs the motion event monitored */ + gui_widget_enable_event( widget->spec.scrollbar.track, GUI_MOTION ); + gui_widget_disable_event( widget->spec.scrollbar.track, GUI_FOCUS_IN ); + gui_widget_disable_event( widget->spec.scrollbar.track, GUI_FOCUS_OUT ); + /* track grabs focus if pressed to simplify usage */ + widget->spec.scrollbar.track->grab_focus = 1; + /* range */ + gui_scrollbar_set_range( widget, min, max, step, jump ); + gui_scrollbar_set_value( widget, value ); + /* done */ + return widget; +} + +/* +==================================================================== +Set or get scrollbar value. Get returns False if this was no +scrollbar. +==================================================================== +*/ +void gui_scrollbar_set_value( GuiWidget *widget, int value ) +{ + if ( widget->type == GUI_SCROLLBAR ) { + widget->spec.scrollbar.value = value; + gui_scrollbar_update_track( widget ); + } +} +int gui_scrollbar_get_value( GuiWidget *widget, int *value ) +{ + if ( widget->type != GUI_SCROLLBAR ) + return 0; + *value = widget->spec.scrollbar.value; + return 1; +} +/* +==================================================================== +Set the range of the scrollbar. Stores refresh rects if visible. +-1 for any value means to keep the current setting. +==================================================================== +*/ +int gui_scrollbar_set_range( + GuiWidget *widget, int min, int max, int step, int jump ) +{ + if ( widget->type != GUI_SCROLLBAR ) + return 0; + if ( min != -1 ) widget->spec.scrollbar.min = min; + if ( max != -1 ) widget->spec.scrollbar.max = max; + if ( step != -1 ) widget->spec.scrollbar.step = step; + if ( jump != -1 ) widget->spec.scrollbar.jump = jump; + gui_scrollbar_update_track( widget ); + return 1; +} +/* +==================================================================== +Modify value of scrollbar by the passed amount and update, +return True if it has changed and call event handler with +GUI_CHANGED. +==================================================================== +*/ +int gui_scrollbar_add( GuiWidget *widget, int change ) +{ + int old_value = widget->spec.scrollbar.value; + if ( widget->type != GUI_SCROLLBAR ) return 0; + widget->spec.scrollbar.value += change; + if ( widget->spec.scrollbar.value < widget->spec.scrollbar.min ) + widget->spec.scrollbar.value = widget->spec.scrollbar.min; + if ( widget->spec.scrollbar.value > widget->spec.scrollbar.max ) + widget->spec.scrollbar.value = widget->spec.scrollbar.max; + gui_scrollbar_update_track( widget ); + if ( old_value != widget->spec.scrollbar.value ) { + gui_widget_call_user_event_handler( + widget, gui_event_get_simple( GUI_CHANGED ) ); + return 1; + } + return 0; +} + diff --git a/project/jni/application/lbreakout2/gui/gui_scrollbar.h b/project/jni/application/lbreakout2/gui/gui_scrollbar.h new file mode 100644 index 000000000..89a0c99bf --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_scrollbar.h @@ -0,0 +1,58 @@ +/*************************************************************************** + gui_scrollbar.h - description + ------------------- + begin : Wed Oct 16 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_SCROLLBAR_H +#define __GUI_SCROLLBAR_H + +/* +==================================================================== +Create an either vertical or horizontal scrollbar. The increase/ +decrease/track buttons are square. +==================================================================== +*/ +GuiWidget* gui_scrollbar_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int vertical, int min, int max, int step, int jump, int value ); + +/* +==================================================================== +Set or get scrollbar value. Get returns False if this was no +scrollbar. +==================================================================== +*/ +void gui_scrollbar_set_value( GuiWidget *scrollbar, int value ); +int gui_scrollbar_get_value( GuiWidget *scrollbar, int *value ); +/* +==================================================================== +Set the range of the scrollbar. Stores refresh rects if visible. +-1 for any value means to keep the current setting. +==================================================================== +*/ +int gui_scrollbar_set_range( + GuiWidget *scrollbar, int min, int max, int step, int jump ); +/* +==================================================================== +Modify value of scrollbar by the passed amount and update, +return True if it has changed and call event handler with +GUI_CHANGED. +==================================================================== +*/ +int gui_scrollbar_add( GuiWidget *widget, int change ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/gui_spinbutton.c b/project/jni/application/lbreakout2/gui/gui_spinbutton.c new file mode 100644 index 000000000..35dbfbf0a --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_spinbutton.c @@ -0,0 +1,256 @@ +/*************************************************************************** + gui_spinbutton.c - description + ------------------- + begin : Sat Oct 19 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include "gui_widget.h" +#include "gui_spinbutton.h" +#include "gui_button.h" +#include "gui_edit.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Default event handler +==================================================================== +*/ +static void default_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + switch ( event->type ) { + case GUI_DESTROY: + break; + case GUI_DRAW: + break; + } +} + +/* +==================================================================== +Handle edit and restrict input to digits and minus. Check range. +The GUI_CHANGED event from the edit is blocked if an invalid +character was added. +==================================================================== +*/ +static void gui_spinbutton_edit_handler( + GuiWidget *widget, GuiEvent *event ) +{ + char aux[GUI_SPINBUTTON_LENGTH + 1]; + int old_value; + if ( event->type == GUI_CHANGED ) { + old_value = widget->parent->spec.spinbutton.value; + gui_edit_get_text( widget, aux, + GUI_SPINBUTTON_LENGTH + 1, 0, -1 ); + widget->parent->spec.spinbutton.value = atoi( aux ); + /* check if we hit upper limit */ + if ( widget->parent->spec.spinbutton.value > + widget->parent->spec.spinbutton.max ) { + widget->parent->spec.spinbutton.value = + widget->parent->spec.spinbutton.max; + snprintf( aux, GUI_SPINBUTTON_LENGTH + 1, + "%i", widget->parent->spec.spinbutton.value ); + gui_edit_set_text( widget, aux ); + } + if ( old_value != widget->parent->spec.spinbutton.value ) + gui_widget_call_user_event_handler( + widget->parent, event ); + } + else + gui_widget_call_user_event_handler( + widget->parent, event ); +} +/* +==================================================================== +Handle increase/decrease buttons. +==================================================================== +*/ +static void gui_spinbutton_inc_handler( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_CLICKED ) + if ( widget->parent->spec.spinbutton.value < + widget->parent->spec.spinbutton.max ) { + widget->parent->spec.spinbutton.value += + widget->parent->spec.spinbutton.step; + if ( widget->parent->spec.spinbutton.value > + widget->parent->spec.spinbutton.max ) + widget->parent->spec.spinbutton.value = + widget->parent->spec.spinbutton.max; + gui_spinbutton_set_value( widget->parent, + widget->parent->spec.spinbutton.value ); + gui_widget_call_user_event_handler( + widget->parent, + gui_event_get_simple( GUI_CHANGED ) ); + } + gui_widget_call_user_event_handler( widget->parent, event ); +} +static void gui_spinbutton_dec_handler( + GuiWidget *widget, GuiEvent *event ) +{ + if ( event->type == GUI_CLICKED ) + if ( widget->parent->spec.spinbutton.value > + widget->parent->spec.spinbutton.min ) { + widget->parent->spec.spinbutton.value -= + widget->parent->spec.spinbutton.step; + if ( widget->parent->spec.spinbutton.value < + widget->parent->spec.spinbutton.min ) + widget->parent->spec.spinbutton.value = + widget->parent->spec.spinbutton.min; + gui_spinbutton_set_value( widget->parent, + widget->parent->spec.spinbutton.value ); + gui_widget_call_user_event_handler( + widget->parent, + gui_event_get_simple( GUI_CHANGED ) ); + } + gui_widget_call_user_event_handler( widget->parent, event ); +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +Create a spinbutton which is an alphanumerical edit with an +increase and a decrease button both the size of height x height/2 +at the right end of the edit. +==================================================================== +*/ +GuiWidget* gui_spinbutton_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int min, int max, int step, int value ) +{ + GuiWidget *widget = gui_widget_create( + parent, GUI_SPINBUTTON, x, y, width, height, + default_event_handler, user_event_handler ); + /* events */ + gui_widget_enable_event( widget, GUI_CHANGED ); + /* build empty surface */ + widget->surface = stk_surface_create( + SDL_SWSURFACE, width, height ); + /* set range */ + widget->spec.spinbutton.min = min; + widget->spec.spinbutton.max = max; + widget->spec.spinbutton.step = step; + /* build edit */ + widget->spec.spinbutton.edit = gui_edit_create( + widget, 0, 0, width - height, height, + gui_spinbutton_edit_handler, 2, 0, + GUI_SPINBUTTON_LENGTH, "undefined" ); + gui_edit_set_filter( + widget->spec.spinbutton.edit, GUI_EDIT_NUMERICAL ); + gui_widget_disable_event( + widget->spec.spinbutton.edit, GUI_FOCUS_IN ); + gui_widget_disable_event( + widget->spec.spinbutton.edit, GUI_FOCUS_OUT ); + /* by default edit can't be edited */ + widget->spec.spinbutton.edit->active = 0; + /* build buttons */ + widget->spec.spinbutton.inc = gui_button_create( + widget, width - height, 0, height, height / 2, + gui_spinbutton_inc_handler, + gui_theme->spinbutton_arrows, 0,0, + gui_theme->spinbutton_arrow_size, + gui_theme->spinbutton_arrow_size, 0 ); + gui_widget_disable_event( + widget->spec.spinbutton.inc, GUI_FOCUS_IN ); + gui_widget_disable_event( + widget->spec.spinbutton.inc, GUI_FOCUS_OUT ); + widget->spec.spinbutton.dec = gui_button_create( + widget, width - height, height/2, height, height / 2, + gui_spinbutton_dec_handler, + gui_theme->spinbutton_arrows, + gui_theme->spinbutton_arrow_size,0, + gui_theme->spinbutton_arrow_size, + gui_theme->spinbutton_arrow_size, 0 ); + gui_widget_disable_event( + widget->spec.spinbutton.dec, GUI_FOCUS_IN ); + gui_widget_disable_event( + widget->spec.spinbutton.dec, GUI_FOCUS_OUT ); + /* set value */ + gui_spinbutton_set_value( widget, value ); + /* done */ + return widget; +} + +/* +==================================================================== +Get/set spinbutton's value. Get returns False if this was no +spinbutton. +==================================================================== +*/ +void gui_spinbutton_set_value( GuiWidget *widget, int value ) +{ + char aux[GUI_SPINBUTTON_LENGTH + 1]; + if ( widget->type == GUI_SPINBUTTON ) { + widget->spec.spinbutton.value = value; + snprintf( aux, GUI_SPINBUTTON_LENGTH + 1, "%i", value ); + gui_edit_set_text( widget->spec.spinbutton.edit, aux ); + } +} +int gui_spinbutton_get_value( GuiWidget *widget, int *value ) +{ + if ( widget->type != GUI_SPINBUTTON ) + return 0; + *value = widget->spec.spinbutton.value; + if ( *value < widget->spec.spinbutton.min ) + *value = widget->spec.spinbutton.min; + if ( *value > widget->spec.spinbutton.max ) + *value = widget->spec.spinbutton.max; + return 1; +} +/* +==================================================================== +Set the range of the spinbutton. Stores refresh rects if visible. +-1 for any value means to keep the current setting. +==================================================================== +*/ +int gui_spinbutton_set_range( + GuiWidget *widget, int min, int max, int step ) +{ + if ( widget->type != GUI_SPINBUTTON ) + return 0; + if ( min != -1 ) widget->spec.spinbutton.min = min; + if ( max != -1 ) widget->spec.spinbutton.max = max; + if ( step != -1 ) widget->spec.spinbutton.step = step; + return 1; +} + +/* +==================================================================== +(De)Activate edit of spinbutton. If the entered value is greater +than the maximum it is set to maximum. If it's less than minimum +it is _not_ reset (else it would be impossible to enter new +values) However, if the value is queried by +gui_spinbutton_get_value() it is checked for its range. +==================================================================== +*/ +void gui_spinbutton_enable_edit( GuiWidget *widget, int enable ) +{ + widget->spec.spinbutton.edit->active = enable; +} diff --git a/project/jni/application/lbreakout2/gui/gui_spinbutton.h b/project/jni/application/lbreakout2/gui/gui_spinbutton.h new file mode 100644 index 000000000..edf978f96 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_spinbutton.h @@ -0,0 +1,65 @@ +/*************************************************************************** + gui_spinbutton.h - description + ------------------- + begin : Sat Oct 19 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_SPINBUTTON_H +#define __GUI_SPINBUTTON_H + +/* maximum number of characters (minus/digits) in the edit */ +enum { GUI_SPINBUTTON_LENGTH = 15 }; + +/* +==================================================================== +Create a spinbutton which is an alphanumerical edit with an +increase and a decrease button both the size of height x height/2 +at the right end of the edit. +==================================================================== +*/ +GuiWidget* gui_spinbutton_create( + GuiWidget *parent, int x, int y, int width, int height, + void (*user_event_handler)(GuiWidget*,GuiEvent*), + int min, int max, int step, int value ); + +/* +==================================================================== +Get/set spinbutton's value. Get returns False if this was no +spinbutton. +==================================================================== +*/ +void gui_spinbutton_set_value( GuiWidget *spinbutton, int value ); +int gui_spinbutton_get_value( GuiWidget *spinbutton, int *value ); +/* +==================================================================== +Set the range of the spinbutton. Stores refresh rects if visible. +-1 for any value means to keep the current setting. +==================================================================== +*/ +int gui_spinbutton_set_range( + GuiWidget *spinbutton, int min, int max, int step ); + +/* +==================================================================== +(De)Activate edit of spinbutton. If the entered value is greater +than the maximum it is set to maximum. If it's less than minimum +it is _not_ reset (else it would be impossible to enter new +values) However, if the value is queried by +gui_spinbutton_get_value() it is checked for its range. +==================================================================== +*/ +void gui_spinbutton_enable_edit( GuiWidget *spinbutton, int enable ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/gui_theme.c b/project/jni/application/lbreakout2/gui/gui_theme.c new file mode 100644 index 000000000..4ab9b8a63 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_theme.c @@ -0,0 +1,149 @@ +/*************************************************************************** + gui_theme.c - description + ------------------- + begin : Fri Oct 11 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include +#include "gui_theme.h" + +#define ABORT( msg ) { fprintf( stderr, "%s\n", msg ); exit(1); } + +GuiTheme *gui_theme = 0; + +/* +==================================================================== +Load a theme from a theme directory. The surface path set by +stk_surface_set_path() is prepended. +==================================================================== +*/ + +GuiTheme* gui_theme_load( char *name ) +{ + GuiTheme *theme = calloc( 1, sizeof( GuiTheme ) ); + if ( theme == 0 ) ABORT( "Out Of Memory" ) + + theme->box_wallpaper = + stk_surface_load( SDL_SWSURFACE, + "%s/box_wallpaper.png", name ); + theme->widget_wallpaper = + stk_surface_load( SDL_SWSURFACE, + "%s/widget_wallpaper.png", name ); + theme->box_frame = + stk_surface_load( SDL_SWSURFACE, + "%s/box_frame.png", name ); + theme->widget_frame = + stk_surface_load( SDL_SWSURFACE, + "%s/widget_frame.png", name ); + theme->button_frame_normal = + stk_surface_load( SDL_SWSURFACE, + "%s/button_frame_normal.png", name ); + theme->button_frame_clicked = + stk_surface_load( SDL_SWSURFACE, + "%s/button_frame_clicked.png", name ); + theme->button_wallpaper_normal = + stk_surface_load( SDL_SWSURFACE, + "%s/button_wallpaper_normal.png", name ); + theme->button_wallpaper_focused = + stk_surface_load( SDL_SWSURFACE, + "%s/button_wallpaper_focused.png", name ); + theme->scrollbar_arrows = + stk_surface_load( SDL_SWSURFACE, + "%s/scrollbar_arrows.png", name ); + theme->scrollbar_arrow_size = + theme->scrollbar_arrows->h; + theme->checkbox = + stk_surface_load( SDL_SWSURFACE, + "%s/checkbox.png", name ); + theme->checkbox_size = theme->checkbox->h; + theme->progress_high = + stk_surface_load( SDL_SWSURFACE, + "%s/progress_high.png", name ); + theme->progress_medium = + stk_surface_load( SDL_SWSURFACE, + "%s/progress_medium.png", name ); + theme->progress_low = + stk_surface_load( SDL_SWSURFACE, + "%s/progress_low.png", name ); + theme->list_item_color = + stk_surface_load( SDL_SWSURFACE, + "%s/list_item_color.png", name ); + theme->spinbutton_arrows = + stk_surface_load( SDL_SWSURFACE, + "%s/spinbutton_arrows.png", name ); + theme->spinbutton_arrow_size = + theme->spinbutton_arrows->h; + + theme->font = + stk_font_load( SDL_SWSURFACE, "%s/font.png", name ); + theme->edit_font = + stk_font_load( SDL_SWSURFACE, "%s/font.png", name ); + theme->label_font = + stk_font_load( SDL_SWSURFACE, "%s/font.png", name ); + theme->button_font = theme->font; + theme->progressbar_font = theme->font; + + theme->click_sound = + stk_sound_load( -1, "%s/click.wav", name ); + theme->type_sound = + stk_sound_load( -1, "%s/edit.wav", name ); + + return theme; +} + +/* +==================================================================== +Free the memory of a surface if not NULL and reset the pointer +to NULL. +==================================================================== +*/ +void gui_theme_delete( GuiTheme **theme ) +{ + if ( *theme ) { + stk_surface_free( &(*theme)->box_wallpaper ); + stk_surface_free( &(*theme)->widget_wallpaper ); + stk_surface_free( &(*theme)->box_frame ); + stk_surface_free( &(*theme)->widget_frame ); + stk_surface_free( &(*theme)->button_frame_normal ); + stk_surface_free( &(*theme)->button_frame_clicked ); + stk_surface_free( &(*theme)->button_wallpaper_normal ); + stk_surface_free( &(*theme)->button_wallpaper_focused ); + stk_surface_free( &(*theme)->scrollbar_arrows ); + stk_surface_free( &(*theme)->checkbox ); + stk_surface_free( &(*theme)->progress_high ); + stk_surface_free( &(*theme)->progress_medium ); + stk_surface_free( &(*theme)->progress_low ); + stk_surface_free( &(*theme)->list_item_color ); + stk_surface_free( &(*theme)->spinbutton_arrows ); + stk_font_free( &(*theme)->font ); + stk_font_free( &(*theme)->edit_font ); + stk_font_free( &(*theme)->label_font ); + stk_sound_free( &(*theme)->click_sound ); + stk_sound_free( &(*theme)->type_sound ); + free( *theme ); *theme = 0; + } +} + +/* +==================================================================== +Select the current theme. New widgets will use its graphics. +==================================================================== +*/ +void gui_theme_select( GuiTheme *theme ) +{ + gui_theme = theme; +} + diff --git a/project/jni/application/lbreakout2/gui/gui_theme.h b/project/jni/application/lbreakout2/gui/gui_theme.h new file mode 100644 index 000000000..acaf4ac27 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_theme.h @@ -0,0 +1,86 @@ +/*************************************************************************** + gui_theme.h - description + ------------------- + begin : Fri Oct 11 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_THEME_H +#define __GUI_THEME_H + +#include "stk.h" + +/* +==================================================================== +All widgets need a basic set of graphics and this is it. +It provides a wallpaper, a frame, a basic button, arrows for +scrollbars etc. However it cannot be changed on runtime so +once a widget is completed it looks like it looks. +==================================================================== +*/ +typedef struct { + SDL_Surface *box_wallpaper; /* wallpaper for box widget */ + SDL_Surface *widget_wallpaper; /* wallpaper for other widgets */ + SDL_Surface *box_frame; /* frame for box window */ + SDL_Surface *widget_frame; /* frame for other widgets */ + SDL_Surface *button_frame_normal, + *button_frame_clicked; /* frames for the different + button types */ + SDL_Surface *button_wallpaper_normal, + *button_wallpaper_focused; /* button wallpapers */ + StkFont *font; /* standard font */ + SDL_Surface *scrollbar_arrows; /* scrollbar arrows */ + int scrollbar_arrow_size; /* arrows are square */ + SDL_Surface *checkbox; /* checkbox and checker */ + int checkbox_size; /* checkboxes are square */ + SDL_Surface *progress_high, + *progress_medium, + *progress_low; /* three wallpapers for + progressbar (25%,60%,100%) */ + SDL_Surface *list_item_color; /* color of the selection box */ + SDL_Surface *spinbutton_arrows; /* scrollbar arrows */ + int spinbutton_arrow_size; /* arrows are square */ + StkFont *button_font; /* font for button captions */ + StkFont *label_font; /* font for labels */ + StkFont *progressbar_font; + StkFont *edit_font; + /* sounds */ + StkSound *click_sound; + StkSound *type_sound; +} GuiTheme; + +/* +==================================================================== +Load a theme from a theme directory. The surface path set by +stk_surface_set_path() is prepended. +==================================================================== +*/ +GuiTheme* gui_theme_load( char *name ); + +/* +==================================================================== +Free the memory of a surface if not NULL and reset the pointer +to NULL. +==================================================================== +*/ +void gui_theme_delete( GuiTheme **theme ); + +/* +==================================================================== +Select the current theme. New widgets will use its graphics. +==================================================================== +*/ +void gui_theme_select( GuiTheme *theme ); + +#endif + diff --git a/project/jni/application/lbreakout2/gui/gui_widget.c b/project/jni/application/lbreakout2/gui/gui_widget.c new file mode 100644 index 000000000..d80735a9e --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_widget.c @@ -0,0 +1,618 @@ +/*************************************************************************** + gui_widget.c - description + ------------------- + begin : Fri Oct 11 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include "gui_widget.h" + +extern GuiTheme *gui_theme; +extern SDL_Surface *stk_display; +extern List *gui_root_stack; +extern List *gui_visible_stack; +extern List *gui_timed_stack; + +GuiWidget *gui_key_widget = 0; + /* is the last child widget of _all_ visible key grabbing + widgets that was clicked on */ +GuiWidget *gui_clicked_widget = 0; + /* is the last child widget of _all_ visible widgets + that was clicked on (used to clear 'pressed' flag) */ +GuiWidget *gui_focused_widget = 0; + /* the very toplevel widget of all visible widgets + the mouse pointer hovers above */ + +/* +==================================================================== +LOCALS +==================================================================== +*/ + +/* +==================================================================== +Free the memory of a widget and all its subwidgets. +==================================================================== +*/ +static void gui_widget_delete_intern( GuiWidget *widget ) +{ + GuiWidget *child; + if ( widget ) { + /* go recursive */ + list_reset( widget->widgets ); + while ( ( child = list_next( widget->widgets ) ) ) + gui_widget_delete_intern( child ); + /* free common data */ + list_delete( widget->widgets ); + stk_surface_free( &widget->surface ); + /* free special data */ + widget->default_event_handler( + widget, gui_event_get_simple( GUI_DESTROY ) ); + /* widget itself */ + free( widget ); + } +} + +/* +==================================================================== +Draw the widget and its children. gui_widget_draw() disabled +the display monitoring and will add the widgets screen_region +as update rectangle. +==================================================================== +*/ +static void gui_widget_draw_intern( GuiWidget *widget ) +{ + GuiWidget *child = 0; + /* draw widget */ + widget->default_event_handler( + widget, gui_event_get_simple( GUI_DRAW ) ); + /* draw children */ + list_reset( widget->widgets ); + while ( ( child = list_next( widget->widgets ) ) ) + gui_widget_draw_intern( child ); +} + +/* +==================================================================== +Set visible flag to 'visible' for widget and all children +recursively. +==================================================================== +*/ +static void gui_widget_show_intern( GuiWidget *widget, int visible ) +{ + GuiWidget *child; + widget->visible = visible; + list_reset( widget->widgets ); + while ( ( child = list_next( widget->widgets ) ) ) + gui_widget_show_intern( child, visible ); +} + +/* +==================================================================== +If there are any root windows above this widget in the stack that +overlap this one they need to be redrawn. We clip to the widgets +screen region and redraw all root widgets above. +==================================================================== +*/ +static void gui_widget_redraw_overlapping_roots( + GuiWidget *widget ) +{ + ListEntry *entry; + if ( gui_visible_stack->count > 1 ) + if ( list_last( gui_visible_stack ) != widget->root ) { + /* clip */ + stk_surface_clip( stk_display, + widget->screen_region.x, widget->screen_region.y, + widget->screen_region.w, widget->screen_region.h ); + /* get first root widget above */ + entry = list_entry( + gui_visible_stack, widget->root ); + if ( !entry ) { + fprintf( stderr, + "'visible_stack' corrupted: root widget not found\n" ); + return; + } + entry = entry->next; + /* redraw */ + while ( entry != gui_visible_stack->tail ) { + gui_widget_draw_intern( (GuiWidget*)entry->item ); + entry = entry->next; + } + /* unclip */ + stk_surface_clip( stk_display, 0,0,-1,-1 ); + } +} + +/* +==================================================================== +Move position by relative value for all widgets. +==================================================================== +*/ +static void gui_widget_move_intern( + GuiWidget *widget, int rel_x, int rel_y) +{ + GuiWidget *child; + widget->screen_region.x += rel_x; + widget->screen_region.y += rel_y; + widget->parent_region.x += rel_x; + widget->parent_region.y += rel_y; + list_reset( widget->widgets ); + while ( ( child = list_next( widget->widgets ) ) ) + gui_widget_move_intern( child, rel_x, rel_y ); +} + +/* +==================================================================== +PUBLICS +==================================================================== +*/ + +/* +==================================================================== +GUI events +==================================================================== +*/ + +/* +==================================================================== +Return pointer to simple event (one that doesn't need +additional data) +==================================================================== +*/ +static GuiEvent aux_event; +GuiEvent *gui_event_get_simple( int type ) +{ + aux_event.type = type; + return &aux_event; +} + +/* +==================================================================== +Initiate a GUI event from an SDL event. +==================================================================== +*/ +void gui_event_init( GuiEvent *gui_event, SDL_Event *sdl_event ) +{ + int i; + memset( gui_event, 0, sizeof( GuiEvent ) ); + switch ( sdl_event->type ) { + case SDL_MOUSEMOTION: + gui_event->type = GUI_MOTION; + gui_event->motion.x = sdl_event->motion.x; + gui_event->motion.y = sdl_event->motion.y; + gui_event->motion.xrel = sdl_event->motion.xrel; + gui_event->motion.yrel = sdl_event->motion.yrel; + gui_event->motion.state = sdl_event->motion.state; + for ( i = 1; i <= 3; i++ ) + if ( sdl_event->motion.state & SDL_BUTTON(i) ) { + gui_event->motion.button = i; + break; + } + break; + case SDL_MOUSEBUTTONUP: + case SDL_MOUSEBUTTONDOWN: + if ( sdl_event->type == SDL_MOUSEBUTTONUP ) + gui_event->type = GUI_BUTTON_RELEASED; + else + gui_event->type = GUI_BUTTON_PRESSED; + gui_event->button.x = sdl_event->button.x; + gui_event->button.y = sdl_event->button.y; + gui_event->button.button = sdl_event->button.button; + break; + case SDL_KEYUP: + case SDL_KEYDOWN: + if ( sdl_event->type == SDL_KEYUP ) + gui_event->type = GUI_KEY_RELEASED; + else + gui_event->type = GUI_KEY_PRESSED; + gui_event->key.keysym = sdl_event->key.keysym.sym; + gui_event->key.unicode = sdl_event->key.keysym.unicode; + break; + } +} + +/* +==================================================================== +GUI widget +==================================================================== +*/ + +/* +==================================================================== +Create a basic widget and setup things all different widget types +have in common. If a parent is specified this widget is added to +it's 'widgets' list. Per default following events are enabled: +GUI_ACTIVATED, GUI_DEACTIVATED, GUI_DRAW, GUI_DESTROY, +GUI_FOCUS_IN, GUI_FOCUS_OUT. 'x' or 'y' -1 means to center the +widget. +==================================================================== +*/ +GuiWidget* gui_widget_create( + GuiWidget *parent, int type, + int x, int y, int width, int height, + void (*default_event_handler)(GuiWidget*,GuiEvent*), + void (*user_event_handler)(GuiWidget*,GuiEvent*) ) +{ + GuiWidget *widget = calloc( 1, sizeof( GuiWidget ) ); + if ( widget == 0 ) + GUI_ABORT( "Out Of Memory" ) + /* create empty children list */ + if ( ( widget->widgets = + list_create( LIST_NO_AUTO_DELETE, + LIST_NO_CALLBACK ) ) == 0 ) + GUI_ABORT( "Out Of Memory" ) + /* various assignments */ + if ( parent ) { + widget->parent = parent; + list_add( widget->parent->widgets, widget ); + } + widget->type = type; + widget->root = (parent==0)?widget:parent->root; + widget->active = 1; + widget->default_event_handler = default_event_handler; + widget->user_event_handler = user_event_handler; + /* adjust x,y */ + if ( x == -1 ) { + if ( parent ) + x = ( parent->width - width ) / 2; + else + x = ( stk_display->w - width ) / 2; + } + if ( y == -1 ) { + if ( parent ) + y = ( parent->height - height ) / 2; + else + y = ( stk_display->h - height ) / 2; + } + /* region in parent */ + if ( parent == 0 ) { + widget->parent_region.x = x; + widget->parent_region.y = y; + } + else { + widget->parent_region.x = x + widget->parent->border; + widget->parent_region.y = y + widget->parent->border; + } + widget->parent_region.w = width; + widget->parent_region.h = height; + /* screen region */ + if ( widget->parent == 0 ) + widget->screen_region = widget->parent_region; + else { + widget->screen_region.x = + widget->parent_region.x + parent->screen_region.x; + widget->screen_region.y = + widget->parent_region.y + parent->screen_region.y; + widget->screen_region.w = widget->parent_region.w; + widget->screen_region.h = widget->parent_region.h; + } + /* children size */ + widget->width = width; widget->height = height; + /* events */ + gui_widget_enable_event( widget, GUI_ACTIVATED ); + gui_widget_enable_event( widget, GUI_DEACTIVATED ); + gui_widget_enable_event( widget, GUI_DRAW ); + gui_widget_enable_event( widget, GUI_DESTROY ); + gui_widget_enable_event( widget, GUI_FOCUS_IN ); + gui_widget_enable_event( widget, GUI_FOCUS_OUT ); + /* if this is a root widget add it to root_stack */ + if ( widget->root == widget ) + list_add( gui_root_stack, widget ); + /* done */ + return widget; +} + +/* +==================================================================== +This function will delete a root widget including all subwidgets. +Subwidgets can't be directly deleted. Resets the widget +pointer to NULL. +==================================================================== +*/ +void gui_widget_delete( GuiWidget **widget ) +{ + if ( *widget == 0 ) return; + if ( (*widget)->root != *widget ) { + fprintf( stderr, "You can only delete root widgets!\n" ); + return; + } + if ( (*widget)->visible ) + list_delete_item( gui_visible_stack, *widget ); + if ( (*widget)->event_mask & GUI_TIME_PASSED ) + list_delete_item( gui_timed_stack, *widget ); + list_delete_item( gui_root_stack, *widget ); + gui_widget_delete_intern( *widget ); + *widget = 0; +} + + +/* +==================================================================== +If button is deactivated no input events (key,button,motion) +are handled. +==================================================================== +*/ +void gui_widget_set_active( GuiWidget *widget, int active ) +{ + int type; + if ( widget->active == active ) return; + widget->active = active; + type = (active)?GUI_ACTIVATED:GUI_DEACTIVATED; + widget->default_event_handler( + widget, gui_event_get_simple( type ) ); + gui_widget_call_user_event_handler( + widget, gui_event_get_simple( type ) ); +} + +/* +==================================================================== +Draw the widget and its children if visible. +==================================================================== +*/ +void gui_widget_draw( GuiWidget *widget ) +{ + /* update only if visible */ + if ( !widget->visible ) return; + /* recursively draw widget */ + gui_widget_draw_intern( widget ); + /* redraw higher level roots that overlap this widget. */ + gui_widget_redraw_overlapping_roots( widget ); + /* store update rect */ + stk_display_store_rect( &widget->screen_region ); +} + +/* +==================================================================== +Set 'visible' flag and draw widget (store update rects) +if either parent is visible or it has no parent. +(thus is a root window). If it is a root window add it to the +root window stack. This new window will handle incoming events +first. +==================================================================== +*/ +void gui_widget_show( GuiWidget *widget ) +{ + if ( widget->visible ) return; + if ( widget->root == widget ) { + list_add( gui_visible_stack, widget ); + if ( widget->event_mask & GUI_TIME_PASSED ) + list_add( gui_timed_stack, widget ); +#ifdef GUI_DEBUG + printf( "show root widget: %i,%i,%i,%i\n", + widget->screen_region.x, widget->screen_region.y, + widget->screen_region.w, widget->screen_region.h ); +#endif + /* if this root widget grabs the input the old + gui_key_widget/gui_clicked_widget is obsolete */ + if ( widget->grab_input ) { + if ( gui_key_widget ) { + gui_key_widget->default_event_handler( + gui_key_widget, + gui_event_get_simple( GUI_FOCUS_OUT ) ); + gui_key_widget = 0; + } + gui_clicked_widget = 0; + } + /* maybe there is a default key grab widget? */ + if ( widget->default_key_widget ) + gui_key_widget = widget->default_key_widget; + } + gui_widget_show_intern( widget, 1 ); + if ( widget->parent == 0 || widget->parent->visible ) + gui_widget_draw( widget ); +} + +/* +==================================================================== +Clear 'visible' flag and restore widget if parent is visible. +If there is no parent (thus is a root window) remove it from +stack and redraw the underlying window (which regains control). If +a root widget is hidden the background cannot be restored +as it is unknown. +==================================================================== +*/ +void gui_widget_hide( GuiWidget *widget ) +{ + ListEntry *entry; + if ( !widget->visible ) return; + gui_widget_show_intern( widget, 0 ); + if ( widget->root == widget ) { + entry = list_entry( gui_visible_stack, widget ); + if ( entry ) { + /* remove */ + entry = entry->next; + list_delete_entry( + gui_visible_stack, entry->prev ); + /* FIX ME! redraw all open roots */ + entry = gui_visible_stack->head->next; + while ( entry != gui_visible_stack->tail ) { + gui_widget_draw( (GuiWidget*)entry->item ); + entry = entry->next; + } + } + if ( widget->event_mask & GUI_TIME_PASSED ) + list_delete_item( gui_timed_stack, widget ); + } + else { + /* draw parent's background */ + stk_surface_blit( widget->parent->surface, + widget->parent_region.x, widget->parent_region.y, + widget->parent_region.w, widget->parent_region.h, + stk_display, + widget->screen_region.x, widget->screen_region.y ); + /* redraw higher level roots that overlap this widget. */ + gui_widget_redraw_overlapping_roots( widget ); + /* store update rect */ + stk_display_store_rect( &widget->screen_region ); + } + /* check if gui_key_widget is still valid */ + if ( gui_key_widget ) + if ( widget == gui_key_widget || + widget == gui_key_widget->parent || + widget == gui_key_widget->root ) + gui_key_widget = 0; +} + +/* +==================================================================== +Modify the event mask of a widget to define which events will +be passed to user_event_handler. +==================================================================== +*/ +void gui_widget_enable_event( GuiWidget *widget, int event ) +{ + widget->event_mask |= (1L << event); +} +void gui_widget_disable_event( GuiWidget *widget, int event ) +{ + widget->event_mask &= ~(1L << event); +} + +/* +==================================================================== +Pass GuiEvent to user defined callback if it has been installed +and the event mask flag is True for this event. +==================================================================== +*/ +void gui_widget_call_user_event_handler( + GuiWidget *widget, GuiEvent *event ) +{ + if ( widget->user_event_handler ) + if ( widget->event_mask & (1L << event->type) ) + widget->user_event_handler( widget, event ); +} + +/* +==================================================================== +Handle the GUI event by calling the default_event_handler() +and the user_event_handler() if one has been installed. +==================================================================== +*/ +void gui_widget_handle_event( GuiWidget *widget, GuiEvent *event ) +{ + widget->default_event_handler( widget, event ); + gui_widget_call_user_event_handler( widget, event ); +} + +/* +==================================================================== +Move widget within parent window by a relative value. If the +widget is visible the changes will be drawn to screen. +==================================================================== +*/ +void gui_widget_move( GuiWidget *widget, int rel_x, int rel_y ) +{ + if ( !widget->visible ) + gui_widget_move_intern( widget, rel_x, rel_y ); + else { + gui_widget_hide( widget ); + gui_widget_move_intern( widget, rel_x, rel_y ); + gui_widget_show( widget ); + } +} + +/* +==================================================================== +Move widget within parent window by an absolute value. If the +widget is visible the changes will be drawn to screen. +==================================================================== +*/ +void gui_widget_warp( GuiWidget *widget, int abs_x, int abs_y ) +{ + if ( widget->parent ) + gui_widget_move( widget, + abs_x - widget->parent_region.x + + widget->parent->border, + abs_y - widget->parent_region.y + + widget->parent->border ); + else + gui_widget_move( widget, + abs_x - widget->parent_region.x, + abs_y - widget->parent_region.y ); +} + +/* +==================================================================== +Apply parents background or wallpaper within the frame (if +any) of the widget's surface keeping the frame. +==================================================================== +*/ +void gui_widget_apply_wallpaper( + GuiWidget *widget, SDL_Surface *wallpaper, int alpha ) +{ + if ( widget->parent ) + stk_surface_blit( widget->parent->surface, + widget->parent_region.x + + widget->border, + widget->parent_region.y + + widget->border, + widget->parent_region.w - + (widget->border<<1), + widget->parent_region.h - + (widget->border<<1), + widget->surface, + widget->border, widget->border ); + else + stk_surface_apply_wallpaper( + widget->surface, widget->border, widget->border, + widget->parent_region.w - (widget->border<<1), + widget->parent_region.h - (widget->border<<1), + wallpaper, alpha ); +} + +/* +==================================================================== +Browse the widget tree and set 'focused' true for all widgets +that have the mouse pointer above them. 'focused_widget' +returns the deepest widget that is focused. +==================================================================== +*/ +void gui_widget_update_focus( + GuiWidget *widget, int mx, int my, GuiWidget **focused_widget ) +{ + GuiWidget *child; + if ( !widget->active ) + return; + if ( !STK_IN_RECT( widget->screen_region, mx, my ) ) + return; + widget->focused = 1; + *focused_widget = widget; + /* handle children recursively */ + list_reset( widget->widgets ); + while ( ( child = list_next( widget->widgets ) ) ) + gui_widget_update_focus( child, mx, my, focused_widget ); +} + +/* +==================================================================== +Get direct access to widget's surface. +==================================================================== +*/ +SDL_Surface *gui_widget_get_surface( GuiWidget *widget ) +{ + return widget->surface; +} + +/* +==================================================================== +That key grabbing child of a root widget. +==================================================================== +*/ +void gui_widget_set_default_key_widget( + GuiWidget *root, GuiWidget *key_widget ) +{ + if ( root->root != root ) return; + root->default_key_widget = key_widget; +} diff --git a/project/jni/application/lbreakout2/gui/gui_widget.h b/project/jni/application/lbreakout2/gui/gui_widget.h new file mode 100644 index 000000000..4a7115947 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/gui_widget.h @@ -0,0 +1,386 @@ +/*************************************************************************** + gui_widget.h - description + ------------------- + begin : Fri Oct 11 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __GUI_WIDGET_H +#define __GUI_WIDGET_H + +#include "list.h" +#include "stk.h" +#include "gui_theme.h" + +//#define GUI_DEBUG + +#define GUI_ABORT( msg ) \ + { fprintf( stderr, "Fatal GUI Error!\n%s\n", msg ); exit( 1 ); } + +/* +==================================================================== +GUI events +==================================================================== +*/ + +/* types */ +enum { + GUI_NONE = 0, + GUI_DESTROY, /* widget is deleted */ + GUI_ACTIVATED, + GUI_DEACTIVATED, /* handle _input_ events or not */ + GUI_DRAW, /* draw widget to stk_display */ + GUI_TIME_PASSED, /* msecs since last TIME_PASSED event */ + GUI_FOCUS_IN, /* widget lost focus */ + GUI_FOCUS_OUT, /* widget gained focus */ + GUI_MOTION, /* motion within widget */ + GUI_BUTTON_PRESSED, + GUI_BUTTON_RELEASED, /* mouse button */ + GUI_KEY_PRESSED, + GUI_KEY_RELEASED, /* key */ + GUI_CLICKED, /* mouse button pressed + released */ + GUI_CHANGED, /* type-dependent data changed */ + GUI_ITEM_SELECTED, + GUI_ITEM_UNSELECTED /* list item (un)selected */ +}; + +/* event */ +typedef union { + int type; + struct { + int type; + int x, y, button; + } button; + struct { + int type; + int x, y, xrel, yrel; + int button; /* first button pressed */ + int state; /* full button mask */ + } motion; + struct { + int type; + int keysym; + int unicode; + } key; + struct { + int type; + int x, y; + } item; + struct { + int type; + int ms; + } time; +} GuiEvent; + +/* +==================================================================== +Return pointer to simple event (one that doesn't need +additional data) +==================================================================== +*/ +GuiEvent *gui_event_get_simple( int type ); + +/* +==================================================================== +Initiate a GUI event from an SDL event. +==================================================================== +*/ +void gui_event_init( GuiEvent *gui_event, SDL_Event *sdl_event ); + +/* +==================================================================== +GUI widget +==================================================================== +*/ + +/* types */ +enum { + GUI_BOX = 0, + GUI_BUTTON, + GUI_LABEL, + GUI_ICON, + GUI_PROGRESSBAR, + GUI_RADIOGROUP, + GUI_SCROLLBAR, + GUI_EDIT, + GUI_LIST, + GUI_SPINBUTTON +}; + +/* GUI widget - + for simplicity only one is used for all types */ +typedef struct _GuiWidget { + struct _GuiWidget *parent; /* widget's parent */ + struct _GuiWidget *root; /* widget's root (top parent) */ + List *widgets; /* widget's children */ + struct _GuiWidget *focused_widget; /* recursivly in widgets */ + struct _GuiWidget *default_key_widget; + /* child 'default_key_widget' will grab key input if this + is a root widget that is shown */ + int type; /* button, label, icon ... */ + int visible; /* gui_widget_draw() updates screen */ + int active; /* accept events */ + int focused; /* mouse pointer somewhere in widget */ + int grab_input; /* deny event handling to lower roots */ + int grab_keys; /* grab key input if clicked */ + int grab_focus; /* grab focus IF PRESSED thus motion events + are directly passed to widgets handler. + the focus is not updated until mouse button + is released again. */ + int pressed; /* memorize 'button_pressed' event */ + SDL_Rect screen_region; /* absolute region in screen (clipped) */ + SDL_Rect parent_region; /* relative region in parent */ + /* CALLBACKS */ + void (*default_event_handler)(struct _GuiWidget*,GuiEvent*); + /* handles event and updates a widget (graphics etc) */ + void (*user_event_handler)(struct _GuiWidget*,GuiEvent*); + /* user's possibility to react on event. is NOT called + from the default_event_handler but from + gui_widget_handle_event() itself. */ + /* USED BY ALL WIDGETS BUT TYPE DEPENDANT */ + int border; /* size of frame around widget */ + int width, height; /* widget's size w/o border */ + int event_mask; /* events passed to user's event_handler */ + SDL_Surface *surface; /* picture of widget */ + /* SPECS */ + union { + /* LABEL */ + struct { + StkFont *font; + int align; /* alignment of text */ + char *text; /* text */ + } label; + /* PROGRESSBAR */ + struct { + int max; /* maximum value */ + int value; /* current value */ + int length; /* current length */ + SDL_Surface *wallpaper; /* current beam wallpaper */ + } progressbar; + /* RADIOGROUP */ + struct { + int min; /* minimum selections required */ + int max; /* minimum selections allowed */ + int size; /* number of items */ + int *checks; /* 'checked' flag for each item */ + int check_count; /* number of selections */ + int single_check; /* id of last item selected */ + int x, y; /* position of first checkbox in parent */ + int offset; /* offset from one item to next */ + } radiogroup; + /* SCROLLBAR */ + struct { + int vertical; /* vertical scrollbar? */ + int button_size; /* size of (square) buttons */ + int value; /* current value */ + int min, max; /* range of value */ + int step; /* offset for up/down */ + int jump; /* offset for pgup/pgdown */ + struct _GuiWidget *inc; + struct _GuiWidget *dec; /* pointers to 'widgets' */ + struct _GuiWidget *track; /* special widget that is NOT + in the 'widgets' list */ + } scrollbar; + /* EDIT */ + struct { + int filter[SDLK_LAST]; /* characters accepted */ + int multi_line; /* single-line edit or text area? */ + int size; /* character limit */ + char *buffer; /* string of edit */ + char *display_buffer; /* contains 'height' lines of + length 'width' separated by \0 which will be + displayed when drawing. is rendered by + gui_edit_adjust_cursor() */ + int length; /* current string length */ + int width; /* characters per line */ + int height; /* number of lines */ + int x, y; /* position in visible characters */ + int y_offset; /* used to center single-line edits */ + int pos; /* position of edit cursor */ + int start; /* first character displayed */ + int line; /* first line displayed (start/width) */ + } edit; + /* LIST */ + struct { + int columns; /* (fixed) number of columns */ + int item_width; + int item_height; /* item size */ + int gap; /* space between items */ + int rows_per_page; /* number of rows displayed */ + int item_count; /* number of items */ + int rows; /* number of rows */ + int select_type; /* no, single, multi select */ + int *checks; /* NO_SELECT: unused + SINGLE_SELECT: id of selected item + MULTI_SELECT: flags for all items + whether they are + selected or not */ + SDL_Surface + *render_buffer; /* 'render_item' renders item + into this surface*/ + int (*render_item)(int,int,SDL_Surface*); /* user + defined render callback to render item x,y into + surface. This item is only displayed + if 'render_item' returns True. */ + struct _GuiWidget *scrollbar; /* pointer to + 'widgets' */ + } list; + /* SPINBUTTON */ + struct { + int min, max, step; /* range of value */ + int value; /* value */ + struct _GuiWidget *edit; /* pointer to edit */ + struct _GuiWidget *inc; + struct _GuiWidget *dec; /* pointer to buttons */ + } spinbutton; + } spec; +} GuiWidget; + +/* +==================================================================== +Create a basic widget and setup things all different widget types +have in common. If a parent is specified this widget is added to +it's 'widgets' list. 'x' or 'y' -1 means to center the +widget. +==================================================================== +*/ +GuiWidget* gui_widget_create( + GuiWidget *parent, int type, + int x, int y, int width, int height, + void (*default_event_handler)(GuiWidget*,GuiEvent*), + void (*user_event_handler)(GuiWidget*,GuiEvent*) ); + +/* +==================================================================== +This function will delete a root widget including all subwidgets. +Subwidgets can't be directly deleted. Resets the widget +pointer to NULL. +==================================================================== +*/ +void gui_widget_delete( GuiWidget **widget ); + +/* +==================================================================== +If button is deactivated no input events (key,button,motion) +are handled. +==================================================================== +*/ +void gui_widget_set_active( GuiWidget *widget, int active ); + +/* +==================================================================== +Draw the widget and its children if visible. +==================================================================== +*/ +void gui_widget_draw( GuiWidget *widget ); + +/* +==================================================================== +Set 'visible' flag and draw widget (store update rects) +if either parent is visible or it has no parent. +(thus is a root window). If it is a root window add it to the +root window stack. This new window will handle incoming events +first. +==================================================================== +*/ +void gui_widget_show( GuiWidget *widget ); + +/* +==================================================================== +Clear 'visible' flag and restore widget if parent is visible. +If there is no parent (thus is a root window) remove it from +stack and redraw the underlying window (which regains control). If +a root widget is hidden the background cannot be restored +as it is unknown. +==================================================================== +*/ +void gui_widget_hide( GuiWidget *widget ); + +/* +==================================================================== +Modify the event mask of a widget to define which events will +be passed to user_event_handler. Update timed_stack if +GUI_TIME_PASSED is enabled/disabled. +==================================================================== +*/ +void gui_widget_enable_event( GuiWidget *widget, int event ); +void gui_widget_disable_event( GuiWidget *widget, int event ); + +/* +==================================================================== +Pass GuiEvent to user defined callback if it has been installed +and the event mask flag is True for this event. +==================================================================== +*/ +void gui_widget_call_user_event_handler( + GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Handle the GUI event by calling the default_event_handler() +and the user_event_handler() if one has been installed. +==================================================================== +*/ +void gui_widget_handle_event( GuiWidget *widget, GuiEvent *event ); + +/* +==================================================================== +Move widget within parent window by a relative value. If the +widget is visible the changes will be drawn to screen. +==================================================================== +*/ +void gui_widget_move( GuiWidget *widget, int rel_x, int rel_y ); + +/* +==================================================================== +Move widget within parent window by an absolute value. If the +widget is visible the changes will be drawn to screen. +==================================================================== +*/ +void gui_widget_warp( GuiWidget *widget, int abs_x, int abs_y ); + +/* +==================================================================== +Apply parents background or wallpaper within the frame (if +any) of the widget's surface. +==================================================================== +*/ +void gui_widget_apply_wallpaper( + GuiWidget *widget, SDL_Surface *wallpaper, int alpha ); + +/* +==================================================================== +Browse the widget tree and set 'focused' true for all widgets +that have the mouse pointer above them. 'focused_widget' +returns the deepest widget that is focused. +==================================================================== +*/ +void gui_widget_update_focus( + GuiWidget *widget, int mx, int my, GuiWidget **focused_widget ); + +/* +==================================================================== +Get direct access to widget's surface. +==================================================================== +*/ +SDL_Surface *gui_widget_get_surface( GuiWidget *widget ); + +/* +==================================================================== +That key grabbing child of a root widget. +==================================================================== +*/ +void gui_widget_set_default_key_widget( + GuiWidget *root, GuiWidget *key_widget ); + +#endif diff --git a/project/jni/application/lbreakout2/gui/libGui.a b/project/jni/application/lbreakout2/gui/libGui.a new file mode 100644 index 000000000..9511b29a4 Binary files /dev/null and b/project/jni/application/lbreakout2/gui/libGui.a differ diff --git a/project/jni/application/lbreakout2/gui/list.c b/project/jni/application/lbreakout2/gui/list.c new file mode 100644 index 000000000..3a0d01dc3 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/list.c @@ -0,0 +1,360 @@ +/*************************************************************************** + list.c - description + ------------------- + begin : Sun Sep 2 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include + +#include "list.h" + +/* +==================================================================== +Create a new list + auto_delete: Free memory of data pointer when deleting entry + callback: Use this callback to free memory of data including + the data pointer itself. +Return Value: List pointer +==================================================================== +*/ +List *list_create( int auto_delete, void (*callback)(void*) ) +{ + List *list = calloc( 1, sizeof( List ) ); + list->head = calloc( 1, sizeof( ListEntry ) ); + list->tail = calloc( 1, sizeof( ListEntry ) ); + list->head->next = list->tail; + list->head->prev = list->head; + list->tail->next = list->tail; + list->tail->prev = list->head; + list->auto_delete = auto_delete; + list->callback = callback; + list->cur_entry = list->head; + return list; +} +/* +==================================================================== +Delete list and entries. +==================================================================== +*/ +void list_delete( List *list ) +{ + list_clear( list ); + free( list->head ); + free( list->tail ); + free( list ); +} +/* +==================================================================== +Delete all entries but keep the list. Reset current_entry to head +pointer. +==================================================================== +*/ +void list_clear( List *list ) +{ + while( !list_empty( list ) ) list_delete_pos( list, 0 ); +} +/* +==================================================================== +Insert new item at position. +Return Value: True if successful else False. +==================================================================== +*/ +int list_insert( List *list, void *item, int pos ) +{ + int i; + ListEntry *cur = list->head; + ListEntry *new_entry = 0; + + /* check if insertion possible */ + if ( pos < 0 || pos > list->count ) return 0; + if ( item == 0 ) return 0; + /* get to previous entry */ + for (i = 0; i < pos; i++) cur = cur->next; + /* create and anchor new entry */ + new_entry = calloc( 1, sizeof( ListEntry ) ); + new_entry->item = item; + new_entry->next = cur->next; + new_entry->prev = cur; + cur->next->prev = new_entry; + cur->next = new_entry; + list->count++; + return 1; +} +/* +==================================================================== +Add new item at the end of the list. +==================================================================== +*/ +int list_add( List *list, void *item ) +{ + ListEntry *new_entry = 0; + /* check if insertion possible */ + if ( item == 0 ) return 0; + /* create and anchor new entry */ + new_entry = calloc( 1, sizeof( ListEntry ) ); + new_entry->item = item; + new_entry->next = list->tail; + new_entry->prev = list->tail->prev; + list->tail->prev->next = new_entry; + list->tail->prev = new_entry; + list->count++; + return 1; +} +/* +==================================================================== +Delete item at position. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_pos( List *list, int pos ) +{ + int i; + ListEntry *cur = list->head; + + /* check if deletion possbile */ + if ( list_empty( list ) ) return 0; + if ( pos < 0 || pos >= list->count ) return 0; + /* get to correct entry */ + for ( i = 0; i <= pos; i++ ) cur = cur->next; + /* modify anchors */ + cur->next->prev = cur->prev; + cur->prev->next = cur->next; + /* decrease counter */ + list->count--; + /* check current_entry */ + if ( list->cur_entry == cur ) + list->cur_entry = list->cur_entry->prev; + /* free memory */ + if ( list->auto_delete ) { + if ( list->callback ) + (list->callback)( cur->item ); + else + free( cur->item ); + } + free( cur ); + return 1; +} +/* +==================================================================== +Delete item if in list. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_item( List *list, void *item ) +{ + return list_delete_pos( list, list_check( list, item ) ); +} +/* +==================================================================== +Delete entry. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_entry( List *list, ListEntry *entry ) +{ + /* delete possible? */ + if ( entry == 0 ) return 0; + if ( list->count == 0 ) return 0; + if ( entry == list->head || entry == list->tail ) return 0; + /* adjust anchor and counter */ + entry->prev->next = entry->next; + entry->next->prev = entry->prev; + list->count--; + /* check current_entry */ + if ( list->cur_entry == entry ) + list->cur_entry = list->cur_entry->prev; + /* free memory */ + if ( list->auto_delete ) { + if ( list->callback ) + (list->callback)( entry->item ); + else + free( entry->item ); + } + free( entry ); + return 1; +} +/* +==================================================================== +Get item from position if in list. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_get( List *list, int pos ) +{ + int i; + ListEntry *cur = list->head; + + if ( pos < 0 || pos >= list->count ) return 0; + for ( i = 0; i <= pos; i++ ) cur = cur->next; + return cur->item; +} +/* +==================================================================== +Check if item's in list. +Return Value: Position of item else -1. +==================================================================== +*/ +int list_check( List *list, void *item ) +{ + int pos = -1; + ListEntry *cur = list->head->next; + while ( cur != list->tail ) { + pos++; + if ( cur->item == item ) break; + cur = cur->next; + } + if ( cur == list->tail ) pos = -1; /* item not found */ + return pos; +} +/* +==================================================================== +Return first item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_first( List *list ) +{ + list->cur_entry = list->head->next; + return list->head->next->item; +} +/* +==================================================================== +Return last item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_last( List *list ) +{ + list->cur_entry = list->tail->prev; + return list->tail->prev->item; +} +/* +==================================================================== +Return item in current_entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_current( List *list ) +{ + return list->cur_entry->item; +} +/* +==================================================================== +Reset current_entry to head of list. +==================================================================== +*/ +void list_reset( List *list ) +{ + list->cur_entry = list->head; +} +/* +==================================================================== +Get next item and update current_entry (reset if tail reached) +Return Value: Item pointer if found else Null (if tail of list). +==================================================================== +*/ +void* list_next( List *list ) +{ + list->cur_entry = list->cur_entry->next; + if ( list->cur_entry == list->tail ) list_reset( list ); + return list->cur_entry->item; +} +/* +==================================================================== +Get previous item and update current_entry. +Return Value: Item pointer if found else Null (if head of list). +==================================================================== +*/ +void* list_prev( List *list ) +{ + list->cur_entry = list->cur_entry->prev; + return list->cur_entry->item; +} +/* +==================================================================== +Delete the current entry if not tail or head. This is the entry +that contains the last returned item by list_next/prev(). +Return Value: True if it was a valid deleteable entry. +==================================================================== +*/ +int list_delete_current( List *list ) +{ + if ( list->cur_entry == 0 || list->cur_entry == list->head || list->cur_entry == list->tail ) return 0; + list_delete_entry( list, list->cur_entry ); + return 1; +} +/* +==================================================================== +Check if list is empty. +Return Value: True if list counter is 0 else False. +==================================================================== +*/ +int list_empty( List *list ) +{ + return list->count == 0; +} +/* +==================================================================== +Return entry containing the passed item. +Return Value: True if entry found else False. +==================================================================== +*/ +ListEntry *list_entry( List *list, void *item ) +{ + ListEntry *entry = list->head->next; + while ( entry != list->tail ) { + if ( entry->item == item ) return entry; + entry = entry->next; + } + return 0; +} +/* +==================================================================== +Transfer an entry from one list to another list by removing from +'source' and adding to 'dest' thus if source does not contain +the item this is equvalent to list_add( dest, item ). +==================================================================== +*/ +void list_transfer( List *source, List *dest, void *item ) +{ + int old_auto_flag; + /* add to destination */ + list_add( dest, item ); + /* as the pointer is added to dest without changes only the empty + entry must be deleted in source */ + old_auto_flag = source->auto_delete; + source->auto_delete = LIST_NO_AUTO_DELETE; + list_delete_item( source, item ); + source->auto_delete = old_auto_flag; +} +/* +==================================================================== +Deqeue the first list entry. (must not use auto_delete therefore) +==================================================================== +*/ +void *list_dequeue( List *list ) +{ + void *item; + if ( list->count > 0 ) { + item = list->head->next->item; + list_delete_pos( list, 0 ); + return item; + } + else + return 0; +} diff --git a/project/jni/application/lbreakout2/gui/list.h b/project/jni/application/lbreakout2/gui/list.h new file mode 100644 index 000000000..b0a7f45c2 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/list.h @@ -0,0 +1,202 @@ +/*************************************************************************** + list.h - description + ------------------- + begin : Sun Sep 2 2001 + copyright : (C) 2001 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __LIST_H +#define __LIST_H + +#ifdef __cplusplus +extern "C" { +#endif + +/* +==================================================================== +Dynamic list handling data as void pointers. +==================================================================== +*/ +typedef struct _ListEntry { + struct _ListEntry *next; + struct _ListEntry *prev; + void *item; +} ListEntry; +typedef struct { + int auto_delete; + int count; + ListEntry *head; + ListEntry *tail; + void (*callback)(void*); + ListEntry *cur_entry; +} List; + +/* +==================================================================== +Create a new list + auto_delete: Free memory of data pointer when deleting entry + callback: Use this callback to free memory of data including + the data pointer itself. +Return Value: List pointer +==================================================================== +*/ +enum { LIST_NO_AUTO_DELETE = 0, LIST_AUTO_DELETE }; +enum { LIST_NO_CALLBACK = 0 }; +List *list_create( int auto_delete, void (*callback)(void*) ); +/* +==================================================================== +Delete list and entries. +==================================================================== +*/ +void list_delete( List *list ); +/* +==================================================================== +Delete all entries but keep the list. Reset current_entry to head +pointer. +==================================================================== +*/ +void list_clear( List *list ); +/* +==================================================================== +Insert new item at position. +Return Value: True if successful else False. +==================================================================== +*/ +int list_insert( List *list, void *item, int pos ); +/* +==================================================================== +Add new item at the end of the list. +==================================================================== +*/ +int list_add( List *list, void *item ); +/* +==================================================================== +Delete item at pos. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_pos( List *list, int pos ); +/* +==================================================================== +Delete item if in list. If this was the current entry update +current_entry to valid previous pointer. +Return Value: True if successful else False. +==================================================================== +*/ +int list_delete_item( List *list, void *item ); +/* +==================================================================== +Delete entry. +==================================================================== +*/ +int list_delete_entry( List *list, ListEntry *entry ); +/* +==================================================================== +Get item from position if in list. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_get( List *list, int pos ); +/* +==================================================================== +Check if item's in list. +Return Value: Position of item else -1. +==================================================================== +*/ +int list_check( List *list, void *item ); +/* +==================================================================== +Return first item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_first( List *list ); +/* +==================================================================== +Return last item stored in list and set current_entry to this +entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_last( List *list ); +/* +==================================================================== +Return item in current_entry. +Return Value: Item pointer if found else Null pointer. +==================================================================== +*/ +void* list_current( List *list ); +/* +==================================================================== +Reset current_entry to head of list. +==================================================================== +*/ +void list_reset( List *list ); +/* +==================================================================== +Get next item and update current_entry (reset if tail reached). +Return Value: Item pointer if found else Null (if tail of list). +==================================================================== +*/ +void* list_next( List *list ); +/* +==================================================================== +Get previous item and update current_entry. +Return Value: Item pointer if found else Null (if head of list). +==================================================================== +*/ +void* list_prev( List *list ); +/* +==================================================================== +Delete the current entry if not tail or head. This is the entry +that contains the last returned item by list_next/prev(). +Return Value: True if it was a valid deleteable entry. +==================================================================== +*/ +int list_delete_current( List *list ); +/* +==================================================================== +Check if list is empty. +Return Value: True if list counter is 0 else False. +==================================================================== +*/ +int list_empty( List *list ); +/* +==================================================================== +Return entry containing the passed item. +Return Value: True if entry found else False. +==================================================================== +*/ +ListEntry *list_entry( List *list, void *item ); +/* +==================================================================== +Transfer an entry from one list to another list by removing from +'source' and adding to 'dest' thus if source does not contain +the item this is equvalent to list_add( dest, item ). +==================================================================== +*/ +void list_transfer( List *source, List *dest, void *item ); +/* +==================================================================== +Deqeue the first list entry. (must not use auto_delete therefore) +==================================================================== +*/ +void *list_dequeue( List *list ); + +#ifdef __cplusplus +}; +#endif + +#endif diff --git a/project/jni/application/lbreakout2/gui/stk.c b/project/jni/application/lbreakout2/gui/stk.c new file mode 100644 index 000000000..233cd2283 --- /dev/null +++ b/project/jni/application/lbreakout2/gui/stk.c @@ -0,0 +1,1466 @@ +/*************************************************************************** + stk.c - description + ------------------- + begin : Thu Oct 12 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#include +#include +#include +#include +#include "stk.h" + +//#define STK_DEBUG + +/* +==================================================================== +LOCAL +==================================================================== +*/ + +int stk_quit_request = 0; +SDL_Surface *stk_display = 0; +enum { STK_UPDATE_RECT_LIMIT = 200 }; +SDL_Rect stk_update_rects[STK_UPDATE_RECT_LIMIT]; +int stk_update_rect_count = 0; +int stk_display_use_fade = 1; /* fading allowed? */ +SDL_Cursor *stk_empty_cursor = 0; +SDL_Cursor *stk_standard_cursor = 0; +char *stk_surface_path = 0; +char *stk_audio_path = 0; +SDL_Rect stk_srect, stk_drect; +int stk_old_alpha = 0; +int stk_audio_ok = 0; +#ifdef AUDIO_ENABLED +int stk_audio_mixchannel_count = MIX_CHANNELS; +#else +int stk_audio_mixchannel_count = 0; +#endif +int stk_audio_sound_enabled = 1; +int stk_audio_sound_volume = 127; +int stk_audio_buffer_size = 512; +int stk_screenshot_id = 1; + +/* Load a PNG type image from an SDL datasource */ +#define IMG_SetError SDL_SetError +static void png_read_data(png_structp ctx, png_bytep area, png_size_t size) +{ + SDL_RWops *src; + + src = (SDL_RWops *)png_get_io_ptr(ctx); + SDL_RWread(src, area, size, 1); +} +static SDL_Surface *IMG_LoadPNG_RW(SDL_RWops *src) +{ + SDL_Surface *volatile surface; + png_structp png_ptr; + png_infop info_ptr; + png_uint_32 width, height; + int bit_depth, color_type, interlace_type; + Uint32 Rmask; + Uint32 Gmask; + Uint32 Bmask; + Uint32 Amask; + SDL_Palette *palette; + png_bytep *volatile row_pointers; + int row, i; + volatile int ckey = -1; + png_color_16 *transv; + + /* Initialize the data we will clean up when we're done */ + png_ptr = NULL; info_ptr = NULL; row_pointers = NULL; surface = NULL; + + /* Check to make sure we have something to do */ + if ( ! src ) { + goto done; + } + + /* Create the PNG loading context structure */ + png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, + NULL,NULL,NULL); + if (png_ptr == NULL){ + IMG_SetError("Couldn't allocate memory for PNG file"); + goto done; + } + + /* Allocate/initialize the memory for image information. REQUIRED. */ + info_ptr = png_create_info_struct(png_ptr); + if (info_ptr == NULL) { + IMG_SetError("Couldn't create image information for PNG file"); + goto done; + } + + /* Set error handling if you are using setjmp/longjmp method (this is + * the normal method of doing things with libpng). REQUIRED unless you + * set up your own error handlers in png_create_read_struct() earlier. + */ + if ( setjmp(png_ptr->jmpbuf) ) { + IMG_SetError("Error reading the PNG file."); + goto done; + } + + /* Set up the input control */ + png_set_read_fn(png_ptr, src, png_read_data); + + /* Read PNG header info */ + png_read_info(png_ptr, info_ptr); + png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, + &color_type, &interlace_type, NULL, NULL); + + /* tell libpng to strip 16 bit/color files down to 8 bits/color */ + png_set_strip_16(png_ptr) ; + + /* Extract multiple pixels with bit depths of 1, 2, and 4 from a single + * byte into separate bytes (useful for paletted and grayscale images). + */ + png_set_packing(png_ptr); + + /* scale greyscale values to the range 0..255 */ + if(color_type == PNG_COLOR_TYPE_GRAY) + png_set_expand(png_ptr); + + /* For images with a single "transparent colour", set colour key; + if more than one index has transparency, or if partially transparent + entries exist, use full alpha channel */ + if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { + int num_trans; + Uint8 *trans; + png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, + &transv); + if(color_type == PNG_COLOR_TYPE_PALETTE) { + /* Check if all tRNS entries are opaque except one */ + int i, t = -1; + for(i = 0; i < num_trans; i++) + if(trans[i] == 0) { + if(t >= 0) + break; + t = i; + } else if(trans[i] != 255) + break; + if(i == num_trans) { + /* exactly one transparent index */ + ckey = t; + } else { + /* more than one transparent index, or translucency */ + png_set_expand(png_ptr); + } + } else + ckey = 0; /* actual value will be set later */ + } + + if ( color_type == PNG_COLOR_TYPE_GRAY_ALPHA ) + png_set_gray_to_rgb(png_ptr); + + png_read_update_info(png_ptr, info_ptr); + + png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, + &color_type, &interlace_type, NULL, NULL); + + /* Allocate the SDL surface to hold the image */ + Rmask = Gmask = Bmask = Amask = 0 ; + if ( color_type != PNG_COLOR_TYPE_PALETTE ) { + if ( SDL_BYTEORDER == SDL_LIL_ENDIAN ) { + Rmask = 0x000000FF; + Gmask = 0x0000FF00; + Bmask = 0x00FF0000; + Amask = (info_ptr->channels == 4) ? 0xFF000000 : 0; + } else { + int s = (info_ptr->channels == 4) ? 0 : 8; + Rmask = 0xFF000000 >> s; + Gmask = 0x00FF0000 >> s; + Bmask = 0x0000FF00 >> s; + Amask = 0x000000FF >> s; + } + } + surface = SDL_AllocSurface(SDL_SWSURFACE, width, height, + bit_depth*info_ptr->channels, Rmask,Gmask,Bmask,Amask); + if ( surface == NULL ) { + IMG_SetError("Out of memory"); + goto done; + } + + if(ckey != -1) { + if(color_type != PNG_COLOR_TYPE_PALETTE) + /* FIXME: Should these be truncated or shifted down? */ + ckey = SDL_MapRGB(surface->format, + (Uint8)transv->red, + (Uint8)transv->green, + (Uint8)transv->blue); + SDL_SetColorKey(surface, SDL_SRCCOLORKEY, ckey); + } + + /* Create the array of pointers to image data */ + row_pointers = (png_bytep*) malloc(sizeof(png_bytep)*height); + if ( (row_pointers == NULL) ) { + IMG_SetError("Out of memory"); + SDL_FreeSurface(surface); + surface = NULL; + goto done; + } + for (row = 0; row < (int)height; row++) { + row_pointers[row] = (png_bytep) + (Uint8 *)surface->pixels + row*surface->pitch; + } + + /* Read the entire image in one go */ + png_read_image(png_ptr, row_pointers); + + /* read rest of file, get additional chunks in info_ptr - REQUIRED */ + png_read_end(png_ptr, info_ptr); + + /* Load the palette, if any */ + palette = surface->format->palette; + if ( palette ) { + if(color_type == PNG_COLOR_TYPE_GRAY) { + palette->ncolors = 256; + for(i = 0; i < 256; i++) { + palette->colors[i].r = i; + palette->colors[i].g = i; + palette->colors[i].b = i; + } + } else if (info_ptr->num_palette > 0 ) { + palette->ncolors = info_ptr->num_palette; + for( i=0; inum_palette; ++i ) { + palette->colors[i].b = info_ptr->palette[i].blue; + palette->colors[i].g = info_ptr->palette[i].green; + palette->colors[i].r = info_ptr->palette[i].red; + } + } + } + +done: /* Clean up and return */ + png_destroy_read_struct(&png_ptr, info_ptr ? &info_ptr : (png_infopp)0, + (png_infopp)0); + if ( row_pointers ) { + free(row_pointers); + } + return(surface); +} + +static SDL_Surface *png_load( char *path ) +{ + SDL_RWops *src; + SDL_Surface *surf; + if ( ( src = SDL_RWFromFile(path, "rb") ) == 0 ) { + fprintf( stderr, "%s\n", SDL_GetError() ); + return 0; + } + else { + surf = IMG_LoadPNG_RW( src ); + SDL_RWclose( src ); + return surf; + } +} + +/* +==================================================================== +Close display and call SDL_Quit. +==================================================================== +*/ +static void stk_quit( void ) +{ + stk_surface_free( &stk_display ); + stk_cursor_free( &stk_empty_cursor ); + if ( stk_surface_path ) { + free( stk_surface_path ); + stk_surface_path = 0; + } + printf( "STK finalized\n" ); + SDL_Quit(); + printf( "SDL finalized\n" ); +} + +/* +==================================================================== +PUBLIC +==================================================================== +*/ + +/* GENERAL */ + +/* +==================================================================== +Initiate SDL, build a default cursor and install the clean +up function stk_quit(). +==================================================================== +*/ +void stk_init( int flags ) +{ + /* remove sound flag if disabled */ +#ifndef WITH_SOUND + if ( flags & SDL_INIT_AUDIO ) + flags = flags & ~SDL_INIT_AUDIO; +#endif + /* init SDL */ + if ( SDL_Init( flags ) < 0 ) + STK_ABORT( SDL_GetError() ); + /* enable unicode */ + SDL_EnableUNICODE( 1 ); + /* set cleanup function */ + atexit( stk_quit ); + /* set current directory as path for surfaces */ + stk_surface_set_path( "." ); + /* set current directory as path for sounds */ + stk_audio_set_path( "." ); + /* create empty cursor */ + stk_empty_cursor = stk_cursor_create( 16, 16, 8, 8, + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " + " " ); + stk_standard_cursor = SDL_GetCursor(); +} + +/* +==================================================================== +Block until either a key or button was pressed. +==================================================================== +*/ +void stk_wait_for_input( void ) +{ + SDL_Event event; + while ( 1 ) { + SDL_WaitEvent(&event); + if (event.type == SDL_QUIT) { + stk_quit_request = 1; + return; + } + if (event.type == SDL_KEYDOWN || event.type == SDL_MOUSEBUTTONDOWN) + return; + } +} + +/* SCREEN */ + +/* +==================================================================== +Open a display with the passed settings. Depth may be modified due +to Xserver settings and if the resolution is completely +unavailable 640 x 480 x 16 x SDL_SWSURFACE is opened. +If the display is already open it is closed and re-opened. +There is no function to close the display as this is handled by the +stk_quit() function installed by stk_init(). +The display can be accessed by + extern SDL_Surface *stk_display; +This funtion returns True if the wanted width and height are +available, False if not and it aborts when no display is found. +==================================================================== +*/ +int stk_display_open( int flags, int width, int height, int depth ) +{ +#ifdef STK_DEBUG + SDL_PixelFormat *format; +#endif + if ( stk_display ) { + /* if display is already open check if the requested + resolution is already the current one */ + if ( stk_display->w == width ) + if ( stk_display->h == height ) + if ( stk_display->flags == flags ) + return 1; + /* close old display */ + stk_surface_free( &stk_display ); + } + else { /* load window icon on first time setup */ + SDL_Surface *icon; + icon = png_load(SRC_DIR "/gfx/win_icon.png"); + SDL_SetColorKey(icon, SDL_SRCCOLORKEY, 0); + SDL_WM_SetIcon(icon, NULL); + } + + /* open new display */ + if ( ( depth = SDL_VideoModeOK( width, height, depth, flags ) ) == 0 ) { + fprintf( stderr, "Requested mode %ix%i %s unavailable\n", + width, height, (flags&SDL_FULLSCREEN)?"Fullscreen":"Window" ); + stk_display = SDL_SetVideoMode( 640, 480, 16, SDL_HWSURFACE | SDL_DOUBLEBUF ); + return 0; + } + else + if ( ( stk_display = SDL_SetVideoMode( width, height, depth, flags ) ) == 0 ) + STK_ABORT( SDL_GetError() ); + +#ifdef STK_DEBUG + printf( "set display %ix%i %s\n", + width, height, (flags&SDL_FULLSCREEN)?"Fullscreen":"Window" ); + + format = stk_display->format; + printf("video mode format:\n"); + printf("Masks: R=%i, G=%i, B=%i\n", + format->Rmask, format->Gmask, format->Bmask); + printf("LShft: R=%i, G=%i, B=%i\n", + format->Rshift, format->Gshift, format->Bshift); + printf("RShft: R=%i, G=%i, B=%i\n", + format->Rloss, format->Gloss, format->Bloss); + printf("BBP: %i\n", format->BitsPerPixel); + printf("-----\n"); +#endif + + return 1; +} + +/* +==================================================================== +Add an update rectangle that will be updated by +stk_display_update(). Regardless of clipping the rectangles +must fit the screen else it'll raise an X error. +If NULL is passed as 'rect' the whole screen is stored for update. +==================================================================== +*/ +void stk_display_store_rect( SDL_Rect *rect ) +{ + if ( stk_update_rect_count < STK_UPDATE_RECT_LIMIT ) { + if ( rect ) { + /* for safety this check is kept although it should be + unnescessary */ + if ( rect->x < 0 ) { + rect->w += rect->x; + rect->x = 0; + } + if ( rect->y < 0 ) { + rect->h += rect->y; + rect->y = 0; + } + if ( rect->x + rect->w > stk_display->w ) + rect->w = stk_display->w - rect->x; + if ( rect->y + rect->h > stk_display->h ) + rect->h = stk_display->h - rect->y; + if ( rect->w > 0 && rect->h > 0 ) + stk_update_rects[stk_update_rect_count++] = *rect; + } + else + stk_update_rect_count = STK_UPDATE_RECT_LIMIT; + } +} + +/* +==================================================================== +Store the destination rectangle of the last blit operation. SDL +modified this rectangle to the actually updated clipping region. +==================================================================== +*/ +void stk_display_store_drect( void ) +{ + if ( stk_update_rect_count < STK_UPDATE_RECT_LIMIT ) + stk_update_rects[stk_update_rect_count++] = stk_drect; +} + +/* +==================================================================== +Either update all gathered rects or simply the full screen. +In any case the stored regions are cleared. +==================================================================== +*/ +void stk_display_update( int type ) +{ +#ifdef ANDROID + SDL_Flip(stk_display); +#else + if ( type == STK_UPDATE_ALL || + stk_update_rect_count == STK_UPDATE_RECT_LIMIT ) + SDL_UpdateRect( stk_display, 0, 0, 0, 0 ); + else + SDL_UpdateRects( stk_display, stk_update_rect_count, + stk_update_rects ); +#endif + stk_update_rect_count = 0; +} + +/* +==================================================================== +Fade the current contents of the display either in or out. 'time' +is the time in milliseconds the fading is supposed to take. +==================================================================== +*/ +void stk_display_fade( int type, int time ) +{ + SDL_Surface *buffer = 0; + float alpha; + float alpha_change; /* per ms */ + int leave = 0; + int ms; + + if ( stk_quit_request ) return; + + if ( !stk_display_use_fade ) { + if ( type == STK_FADE_IN ) + stk_display_update( STK_UPDATE_ALL ); + else { + stk_surface_fill( stk_display, 0, 0, -1, -1, 0x0 ); + stk_display_update( STK_UPDATE_ALL ); + } + } + + /* get screen contents */ + buffer = stk_surface_create( SDL_SWSURFACE, stk_display->w, stk_display->h ); + SDL_SetColorKey( buffer, 0, 0 ); + stk_surface_blit( stk_display, 0, 0, -1, -1, buffer, 0, 0 ); + + /* compute alpha and alpha change */ + if ( type == STK_FADE_OUT ) { + alpha = 255; + alpha_change = -255.0 / time; + } + else { + alpha = 0; + alpha_change = 255.0 / time; + } + + /* fade */ + stk_timer_reset(); + while ( !leave ) { + ms = stk_timer_get_time(); + alpha += alpha_change * ms; + if ( type == STK_FADE_IN && alpha >= 255 ) break; + if ( type == STK_FADE_OUT && alpha <= 0 ) break; + /* update */ + stk_surface_fill( stk_display, 0, 0, -1, -1, 0x0 ); + SDL_SetAlpha( buffer, SDL_SRCALPHA, (int)alpha ); + stk_surface_blit( buffer, 0, 0, -1, -1, stk_display, 0, 0); + stk_display_update( STK_UPDATE_ALL ); + } + + /* update screen */ + SDL_SetAlpha( buffer, 0, 0 ); + if ( type == STK_FADE_IN ) + stk_surface_blit( buffer, 0, 0, -1, -1, stk_display, 0, 0 ); + else + stk_surface_fill( stk_display, 0, 0, -1, -1, 0x0 ); + stk_display_update( STK_UPDATE_ALL ); + stk_surface_free( &buffer ); +} + + +/* +==================================================================== +Take a screenshot and save it to screenshot[index].bmp in the +current directory. +==================================================================== +*/ +void stk_display_take_screenshot() +{ + char str[32]; + snprintf( str, 32, "screenshot%i.bmp", stk_screenshot_id++ ); + SDL_SaveBMP( stk_display, str ); +} + +/* +==================================================================== +Switch fullscreen/windowed for current resolution. +==================================================================== +*/ +void stk_display_apply_fullscreen( int fullscreen ) +{ + int flags = stk_display->flags; + if ( fullscreen && stk_display->flags & SDL_FULLSCREEN ) + return; + if ( !fullscreen && !(stk_display->flags & SDL_FULLSCREEN ) ) + return; + if ( fullscreen ) + flags |= SDL_FULLSCREEN; + else + flags &= ~SDL_FULLSCREEN; + stk_display_open( flags, stk_display->w, stk_display->h, + stk_display->format->BitsPerPixel ); +} + +/* SURFACE */ + +/* +==================================================================== +If stk_surface_load() is called with a relative path this prefix +is added. Default is '.'; 'path' is copied. +==================================================================== +*/ +void stk_surface_set_path( char *path ) +{ +#ifdef STK_DEBUG + printf( "surface prefix set to: %s\n", path ); +#endif + if ( stk_surface_path ) + free( stk_surface_path ); + if ( ( stk_surface_path = strdup( path ) ) == 0 ) + STK_ABORT( "Out Of Memory" ) +} + +static int is_path_relative(char *path) +{ + int is_relative; +#ifdef _WIN32 + is_relative = ((*path != '\\') && ((strchr(path,':') == NULL))); +#else + is_relative = (*path != '/'); +#endif + return is_relative; +} + + +/* +==================================================================== +Load a surface from a path. If it's not an absolute directory +(starting with '/') the prefix passed in stk_surface_set_path() +is prepended. +If a video mode was set the surface will be converted to its +format to speed up blitting. As resource either BMP or PNG may +be provided. +If SDL_NONFATAL is passed a warning is displayed and the function +returns NULL else it will exit the program with an error. +==================================================================== +*/ +SDL_Surface* stk_surface_load( int flags, char *format, ... ) +{ + SDL_Surface *surface = 0; + SDL_Surface *converted_surface = 0; + char path[512], *ptr; + va_list args; + + /* build full path */ + memset( path, 0, 512 ); ptr = path; + if ( is_path_relative(format) && stk_surface_path ) { + sprintf( path, "%s/", stk_surface_path ); + ptr = path + strlen( path ); + } + va_start( args, format ); + vsnprintf( ptr, 511 - (path-ptr), format, args ); + va_end( args ); +#ifdef STK_DEBUG + printf( "loading %s\n", path ); +#endif + + /* load surface */ + ptr = path + strlen( path ) - 3; + if ( !strncmp( ptr, "png", 3 ) ) + /* as png */ + surface = png_load( path ); + else + /* as bmp */ + surface = SDL_LoadBMP( path ); + if ( surface == 0 ) { + if ( flags & SDL_NONFATAL ) { + fprintf( stderr, "%s\n", SDL_GetError() ); + return 0; + } + else + STK_ABORT( SDL_GetError() ) + } + + /* convert if display open */ + if ( stk_display ) { + converted_surface = SDL_DisplayFormat( surface ); + if ( converted_surface == 0 ) { + fprintf( stderr, "Conversion of %s failed: %s\n", + path, SDL_GetError() ); + return surface; + } + else { + SDL_FreeSurface( surface ); + SDL_SetColorKey( + converted_surface, SDL_SRCCOLORKEY, 0x0 ); + SDL_SetAlpha( converted_surface, 0, 0 ); + return converted_surface; + } + } + else { +#ifdef STK_DEBUG + printf( " not converted\n" ); +#endif + return surface; + } +} + +/* +==================================================================== +Create a surface with the given size and the format of the +video mode which must be set. +The default color key of the surface is black and no alpha. +==================================================================== +*/ +SDL_Surface* stk_surface_create( int flags, int width, int height ) +{ + SDL_Surface *surface = 0; + if ( !stk_display ) { + if ( flags & SDL_NONFATAL ) { + fprintf( stderr, + "Can't create surface as no display is open\n" ); + return 0; + } + else + STK_ABORT( + "Can't create surface as no display is open\n" ); + } + surface = SDL_CreateRGBSurface( flags, width, height, + stk_display->format->BitsPerPixel, + stk_display->format->Rmask, + stk_display->format->Gmask, + stk_display->format->Bmask, + stk_display->format->Amask ); + if ( surface == 0 ) { + if ( flags & SDL_NONFATAL ) { + fprintf( stderr, "%s\n", SDL_GetError() ); + return 0; + } + else + STK_ABORT( SDL_GetError() ); + } + SDL_SetColorKey( surface, SDL_SRCCOLORKEY, 0x0 ); + SDL_SetAlpha( surface, 0, 0 ); +#ifdef STK_DEBUG + printf( "surface %ix%i created\n", width, height ); +#endif + return surface; +} + +/* +==================================================================== +Free the memory of a surface if not NULL and reset the pointer +to NULL. +==================================================================== +*/ +void stk_surface_free( SDL_Surface **surface ) +{ + if ( *surface ) { + SDL_FreeSurface( *surface ); + *surface = 0; + } +} + +/* +==================================================================== +Blit retangle from 'src' to 'dest' with current alpha of 'src'. +If 'sw' is -1 the full source width is used, 'sh' analogue. +stk_display_store_drect() can be used to store the update rect +of the blitted surface. +==================================================================== +*/ +void stk_surface_blit( + SDL_Surface *src, int sx, int sy, int sw, int sh, + SDL_Surface *dest, int dx, int dy ) +{ + /* build rectangles */ + stk_drect.x = dx; stk_drect.y = dy; + stk_drect.w = (sw==-1)?src->w:sw; + stk_drect.h = (sh==-1)?src->h:sh; + stk_srect.x = sx; stk_srect.y = sy; + stk_srect.w = stk_drect.w; + stk_srect.h = stk_drect.h; + /* blit */ + SDL_BlitSurface( src, &stk_srect, dest, &stk_drect ); +} + +/* +==================================================================== +Different from stk_surface_blit() this function temporarily +overwrites 'src's alpha value. It is not recommended to use +this function if performance is important as it is slower +than an SDL_SetAlpha() combined with stk_surface_blit(). +==================================================================== +*/ +void stk_surface_alpha_blit( + SDL_Surface *src, int sx, int sy, int sw, int sh, + SDL_Surface *dest, int dx, int dy, int alpha ) +{ + if ( src->flags & SDL_SRCALPHA ) + stk_old_alpha = src->format->alpha; + else + stk_old_alpha = -1; + SDL_SetAlpha( src, SDL_SRCALPHA, alpha ); + stk_surface_blit( src, sx,sy,sw,sh, dest, dx,dy ); + if ( stk_old_alpha == -1 ) + SDL_SetAlpha( src, 0, 0 ); + else + SDL_SetAlpha( src, SDL_SRCALPHA, + stk_old_alpha ); +} + +/* +==================================================================== +Fill a rectangle of the surface with a given color of the format +0xRRGGBB. 'dw' == -1 and 'dh' == -1 have the same effect as in +stk_surface_blit(). +==================================================================== +*/ +void stk_surface_fill( + SDL_Surface *dest, int dx, int dy, int dw, int dh, + int color ) +{ + /* build rectangle */ + stk_drect.x = dx; stk_drect.y = dy; + stk_drect.w = (dw==-1)?dest->w:dw; + stk_drect.h = (dh==-1)?dest->h:dh; + /* fill surface */ + SDL_FillRect( dest, &stk_drect, + SDL_MapRGB( stk_display->format, + color >> 16, + (color >> 8) & 0xFF, + color & 0xFF) ); +} + +/* +==================================================================== +Set the clipping region of a surface. All blit operations into +this surface will only have effect within the clipping region. +'dw' == -1 and 'dh' == -1 have the same effect as in +stk_surface_blit(). +==================================================================== +*/ +void stk_surface_clip( + SDL_Surface *dest, int dx, int dy, int dw, int dh ) +{ + /* build rectangle */ + stk_drect.x = dx; stk_drect.y = dy; + stk_drect.w = (dw<=0)?dest->w:dw; + stk_drect.h = (dh<=0)?dest->h:dh; + /* clip */ + SDL_SetClipRect( dest, &stk_drect ); +} + +/* +==================================================================== +Lock/unlock surface for direct access. +==================================================================== +*/ +#define stk_surface_lock( surface ) \ + if (SDL_MUSTLOCK((surface))) SDL_LockSurface((surface)) +#define stk_surface_unlock( surface ) \ + if (SDL_MUSTLOCK((surface))) SDL_UnlockSurface((surface)) + +/* +==================================================================== +Get or set a pixel from/to a surface. This time the pixel must +already be in SDL format. +==================================================================== +*/ +void stk_surface_set_pixel( + SDL_Surface *dest, int dx, int dy, Uint32 pixel ) +{ + memcpy( dest->pixels + dy * dest->pitch + + dx * dest->format->BytesPerPixel, + &pixel, dest->format->BytesPerPixel ); +} +Uint32 stk_surface_get_pixel( SDL_Surface *src, int sx, int sy ) +{ + Uint32 pixel = 0; + memcpy( &pixel, + src->pixels + sy * src->pitch + + sx * src->format->BytesPerPixel, + src->format->BytesPerPixel ); + return pixel; +} + +/* +==================================================================== +Convert part of the surface to gray and if 'dark' is set cut the +brightness in half. 'dw' == -1 and 'dh' == -1 have the same +effect as in tk_surface_blit(). +==================================================================== +*/ +void stk_surface_gray( + SDL_Surface *dest, int dx, int dy, int dw, int dh, int dark ) +{ + int i, j, y_offset, x_offset; + Uint32 pixel, temp; + Uint8 red, green, blue, gray; + /* adjust size */ + if ( dw == -1 ) dw = dest->w; + if ( dh == -1 ) dh = dest->h; + /* gray */ + y_offset = dest->pitch * dy; + for ( j = dy; j < dy + dh; j++ ) { + for ( i = dx, x_offset = dx * dest->format->BytesPerPixel; + i < dx + dw; + i++, x_offset += dest->format->BytesPerPixel ) { + pixel = 0; + /* get pixel */ + memcpy( &pixel, + dest->pixels + + y_offset + x_offset, + dest->format->BytesPerPixel ); + /* extract colors */ + temp=pixel & dest->format->Rmask; + temp=temp>>dest->format->Rshift; + temp=temp<format->Rloss; + red=(Uint8)temp; + temp=pixel & dest->format->Gmask; + temp=temp>>dest->format->Gshift; + temp=temp<format->Gloss; + green=(Uint8)temp; + temp=pixel & dest->format->Bmask; + temp=temp>>dest->format->Bshift; + temp=temp<format->Bloss; + blue=(Uint8)temp; + /* build new color */ + gray = (red + green + green + blue) >> (2 + dark); + pixel = SDL_MapRGB( dest->format, gray, gray, gray ); + /* replace */ + memcpy( dest->pixels + + y_offset + x_offset, + &pixel, + dest->format->BytesPerPixel ); + } + y_offset += dest->pitch; + } +} + +/* +==================================================================== +Add a 3D frame to surface and dark to contents. The frame border +is 'border' thick. +==================================================================== +*/ +void stk_surface_add_3dframe( + SDL_Surface *dest, int dx, int dy, int dw, int dh, int border ) +{ + printf( "not implemented yet!\n" ); +} + +/* +==================================================================== +Fill the surface with the wallpaper (clipped) +==================================================================== +*/ +void stk_surface_apply_wallpaper( + SDL_Surface *dest, int dx, int dy, int dw, int dh, + SDL_Surface *wallpaper, int alpha ) +{ + int i, j; + /* adjust dw and dh */ + if ( dw == -1 ) dw = dest->w; + if ( dh == -1 ) dh = dest->h; + stk_surface_clip( dest, dx, dy, dw, dh ); + /* apply */ + for ( i = 0; i < dw; i += wallpaper->w ) + for ( j = 0; j < dh; j += wallpaper->h ) + stk_surface_alpha_blit( wallpaper, 0, 0, -1, -1, + dest, dx + i, dy + j, alpha ); + stk_surface_clip( dest, 0,0,-1,-1 ); +} + +/* +==================================================================== +Apply a frame to the surface. The frame resource provides the eight +square-like parts for the frame composed as a little frame: corners +and sides. +'dw' == -1 and 'dh' == -1 have the same effect as in +stk_surface_blit(). +Returns the size of the border. +==================================================================== +*/ +int stk_surface_apply_frame( + SDL_Surface *dest, int dx, int dy, int dw, int dh, + SDL_Surface *frame ) +{ + int tile_size = frame->w / 3; + int i; + /* adjust dw and dh */ + if ( dw == -1 ) dw = dest->w; + if ( dh == -1 ) dh = dest->h; + /* horizontal middle parts */ + for ( i = dx; i < dx + dw - tile_size; i += tile_size ) { + stk_surface_blit( frame, tile_size, 0, + tile_size, tile_size, + dest, i, dy ); + stk_surface_blit( frame, tile_size, tile_size << 1, + tile_size, tile_size, + dest, i, dy + dh - tile_size ); + } + /* vertical middle parts */ + for ( i = dy; i < dy + dh - tile_size; i += tile_size ) { + stk_surface_blit( frame, 0, tile_size, + tile_size, tile_size, + dest, dx, i ); + stk_surface_blit( frame, tile_size << 1, tile_size, + tile_size, tile_size, + dest, dx + dw - tile_size, i ); + } + /* corners */ + stk_surface_blit( frame, 0, 0, tile_size, tile_size, + dest, dx, dy ); + stk_surface_blit( frame, tile_size << 1, 0, + tile_size, tile_size, + dest, dx + dw - tile_size, dy ); + stk_surface_blit( frame, 0, tile_size << 1, + tile_size, tile_size, + dest, dx, dy + dh - tile_size ); + stk_surface_blit( frame, tile_size << 1, tile_size << 1, + tile_size, tile_size, + dest, dx + dw - tile_size, + dy + dh - tile_size ); + return tile_size; +} + +/* FIXED FONT */ + +/* +==================================================================== +Load a fixed font which is simply a surface containing the ASCII +characters from 32 (blank) to 96 (whatever) where all characters +have the same width. +==================================================================== +*/ +StkFont* stk_font_load( int flags, char *format, ... ) +{ + char path[512]; + va_list args; + StkFont *font = calloc( 1, sizeof ( StkFont ) ); + if ( font == 0 ) + STK_ABORT( "Out Of Memory" ); + /* build path */ + memset( path, 0, 512 ); + va_start( args, format ); + vsnprintf( path, 511, format, args ); + va_end( args ); + /* load surface */ + font->surface = stk_surface_load( flags, path ); + if ( font == 0 ) { + if ( flags & SDL_NONFATAL ) { + fprintf( stderr, "%s\n", SDL_GetError() ); + return 0; + } + else + STK_ABORT( SDL_GetError() ); + } + /* do the rest */ + font->height = font->surface->h; + font->width = font->surface->w / 96; + return font; +} + +/* +==================================================================== +Free a font if not NULL and reset pointer to NULL. +==================================================================== +*/ +void stk_font_free( StkFont **font ) +{ + if ( *font ) { + stk_surface_free( &(*font)->surface ); + free(*font); *font = 0; + } +} + +/* +==================================================================== +Write string to surface. If 'alpha' is -1 the font is displayed +with the current alpha value else the new alpha is used and kept. +stk_display_store_drect() can be used to store the update rect +of the written string. +==================================================================== +*/ +void stk_font_write( + StkFont *font, SDL_Surface *dest, int dx, int dy, + int alpha, char *string ) +{ + int x, i, width = 0; + + /* get pixel width of string */ + width = stk_font_string_width( font, string ); + + /* ajust dx,dy to alignment */ + if ( font->align & STK_FONT_ALIGN_CENTER_X ) + dx -= width >> 1; + else + if ( font->align & STK_FONT_ALIGN_RIGHT ) + dx -= width; + if ( font->align & STK_FONT_ALIGN_CENTER_Y ) + dy -= (font->height >> 1 ) + 1; + else + if ( font->align & STK_FONT_ALIGN_BOTTOM ) + dy -= font->height; + + /* draw characters */ + if ( alpha != -1 ) + SDL_SetAlpha( font->surface, SDL_SRCALPHA, alpha ); + for ( i = 0, x = dx; i < strlen( string ); + i++, x += font->width ) { + stk_surface_blit( + font->surface, font->width * (string[i] - 32), 0, + font->width, font->height, + dest, x, dy ); + } + + /* fake destination rectangle to full string */ + stk_drect.x = dx; stk_drect.y = dy; + stk_drect.w = width; stk_drect.h = font->height; + if (stk_drect.x < 0) { + stk_drect.w += stk_drect.x; + stk_drect.x = 0; + } + if (stk_drect.y < 0) { + stk_drect.h += stk_drect.y; + stk_drect.y = 0; + } + if (stk_drect.x + stk_drect.w >= stk_display->w) + stk_drect.w = stk_display->w - stk_drect.x; + if (stk_drect.y + stk_drect.h >= stk_display->h) + stk_drect.h = stk_display->h - stk_drect.y; +} + +/* CURSOR */ + +/* +==================================================================== +Build an SDL cursor with the given hotspot. The resource mask +contains 'b' for black 'w' for white and ' ' for transparent. +==================================================================== +*/ +SDL_Cursor* stk_cursor_create( + int width, int height, int hot_x, int hot_y, char *source ) +{ + char *mask = 0, *data = 0; + SDL_Cursor *cursor = 0; + int i, j, k; + char data_byte, mask_byte; + int pot; + /* create mask&data */ + mask = calloc( width * height / 8, sizeof ( char ) ); + data = calloc( width * height / 8, sizeof ( char ) ); + /* convert */ + k = 0; + for (j = 0; j < width * height; j += 8, k++) { + pot = 1; + data_byte = mask_byte = 0; + /* create byte */ + for (i = 7; i >= 0; i--) { + switch ( source[j + i] ) { + case 'b': + data_byte += pot; + case 'w': + mask_byte += pot; + break; + } + pot *= 2; + } + /* add to mask */ + data[k] = data_byte; + mask[k] = mask_byte; + } + /* create and return cursor */ + cursor = SDL_CreateCursor( data, mask, width, height, hot_x, hot_y ); + free( mask ); + free( data ); + return cursor; +} + +/* +==================================================================== +Free a cursor if not NULL and reset pointer to NULL. +==================================================================== +*/ +void stk_cursor_free( SDL_Cursor **cursor ) +{ + if ( *cursor ) { + SDL_FreeCursor( *cursor ); + *cursor = 0; + } +} + +/* TIMER */ + +int stk_timer_last_call = 0; + +/* +==================================================================== +Reset the timer. +==================================================================== +*/ +void stk_timer_reset( void ) +{ + stk_timer_last_call = SDL_GetTicks(); +} + +/* +==================================================================== +Get the time since last call or reset. +==================================================================== +*/ +int stk_timer_get_time( void ) +{ + int ms, current = SDL_GetTicks(); + if ( current == stk_timer_last_call ) + SDL_Delay(1); + current = SDL_GetTicks(); + ms = current - stk_timer_last_call; + stk_timer_last_call = current; + return ms; +} + +/* AUDIO */ + +/* +==================================================================== +Open mixer. If this fails an error message is +displayed (program doesn't abort) and all stk_audio and stk_sound +functions have no effect. + 'frequency': 11025, 22050, 44100 ... + 'format': MIX_DEFAULT_FORMAT is recommended + 'channels': mono(1) or stereo(2) + 'chunksize': mix buffer size (1024 Bytes recommended) +Passing 0 for an argument means to use the SDL default: + 22050Hz in format AUDIO_S16LSB stereo with 1024 bytes chunksize +stk_audio_open() installs stk_audio_close() as exit function. +There are 8 channels available for mixing. +==================================================================== +*/ +int stk_audio_open( + int frequency, Uint16 format, int channels, int chunksize ) +{ +#ifdef AUDIO_ENABLED + if ( frequency == 0 ) frequency = MIX_DEFAULT_FREQUENCY; + if ( format == 0 ) format = MIX_DEFAULT_FORMAT; + if ( channels == 0 ) channels = 2; + if ( chunksize == 0 ) chunksize = stk_audio_buffer_size; + if ( Mix_OpenAudio( + frequency, format, channels, chunksize ) < 0 ) { + fprintf( stderr, "%s\n", SDL_GetError() ); + stk_audio_ok = 0; + return 0; + } + stk_audio_ok = 1; + atexit( stk_audio_close ); + return 1; +#else + stk_audio_ok = 0; + return 0; +#endif +} + +/* +==================================================================== +Close mixer if previously opened. +==================================================================== +*/ +void stk_audio_close( void ) +{ +#ifdef AUDIO_ENABLED + if ( stk_audio_ok ) { + Mix_CloseAudio(); + stk_audio_ok = 0; + } +#endif + printf( "Audio finalized\n" ); +} + +/* +==================================================================== +If stk_sound_load() is called with a relative path this prefix +is added. Default is '.'; 'path' is copied. +==================================================================== +*/ +void stk_audio_set_path( char *path ) +{ +#ifdef STK_DEBUG + printf( "sound prefix set to: %s\n", path ); +#endif + if ( stk_audio_path ) + free( stk_audio_path ); + if ( ( stk_audio_path = strdup( path ) ) == 0 ) + STK_ABORT( "Out Of Memory" ) +} + +/* +==================================================================== +Enable/disable sound. If disabled stk_sound_play () has no effect. +==================================================================== +*/ +void stk_audio_enable_sound( int enable ) +{ + stk_audio_sound_enabled = enable; +} + +/* +==================================================================== +Set default volume of all sounds: 0 - 128 +==================================================================== +*/ +void stk_audio_set_sound_volume( int volume ) +{ + if ( !stk_audio_ok ) return; + if ( volume < 0 ) volume = 0; + if ( volume > 127 ) volume = 127; + stk_audio_sound_volume = volume; +#ifdef AUDIO_ENABLED + Mix_Volume( -1, volume ); /* all sound channels */ +#endif +} + +/* +==================================================================== +Fade out a specific sound channel. If 'channel is -1 all +channels fade out. 'ms' is the time the fading shall take. +==================================================================== +*/ +void stk_audio_fade_out( int channel, int ms ) +{ +#ifdef AUDIO_ENABLED + if ( stk_audio_ok ) + Mix_FadeOutChannel( channel, ms ); +#endif +} + +/* SOUND */ + +/* +==================================================================== +Load a sound from a path. If it's not an absolute directory +(starting with '/') the prefix passed in stk_sound_set_path() +is prepended. Loading sounds is non-fatal thus if a sound +cannot be found it is created but empty. In this case +a warning is displayed. +The volume is set to the default set by +stk_audio_set_sound_volume(). Sounds with an equal 'channel' +will share it so if a new sound is played the old one breaks up +thus channel should be used to group sounds. +If channel is -1 the first available channel is used +to play sound. +==================================================================== +*/ +StkSound *stk_sound_load( int channel, char *format, ... ) +{ + StkSound *sound; +#ifdef AUDIO_ENABLED + char path[512], *ptr; + va_list args; + + /* build full path */ + memset( path, 0, 512 ); ptr = path; + if ( is_path_relative(format) && stk_audio_path ) { + sprintf( path, "%s/", stk_audio_path ); + ptr = path + strlen( path ); + } + va_start( args, format ); + vsnprintf( ptr, 511 - (path-ptr), format, args ); + va_end( args ); +#ifdef STK_DEBUG + printf( "loading %s\n", path ); +#endif + + /* load sound */ + if ( ( sound = calloc( 1, sizeof( StkSound ) ) ) == 0 ) + STK_ABORT( "Out Of Memory" ); + if ( ( sound->chunk = Mix_LoadWAV( path ) ) == 0 ) + fprintf( stderr, "Couldn't open %s (%s)\n", + path, SDL_GetError() ); +#else + if ( ( sound = calloc( 1, sizeof( StkSound ) ) ) == 0 ) + STK_ABORT( "Out Of Memory" ); +#endif + sound->volume = stk_audio_sound_volume; + sound->channel = channel; + + /* done */ + return sound; +} + +/* +==================================================================== +Free the memory of a sound if not NULL and reset the pointer +to NULL. +==================================================================== +*/ +void stk_sound_free( StkSound **sound ) +{ + if ( *sound ) { +#ifdef AUDIO_ENABLED + if ( (*sound)->chunk ) + Mix_FreeChunk( (*sound)->chunk ); +#endif + free( *sound ); + } +} + +/* +==================================================================== +Set channel/volume of sound. +==================================================================== +*/ +void stk_sound_set_volume( StkSound *sound, int volume ) +{ + if ( volume < 0 ) volume = 0; + if ( volume > 128 ) volume = 128; + sound->volume = volume; +} +void stk_sound_set_channel( StkSound *sound, int channel ) +{ + if ( channel < 0 ) channel = 0; + if ( channel > stk_audio_mixchannel_count ) + channel = stk_audio_mixchannel_count; + sound->channel = channel; +} + +/* +==================================================================== +Play a sound. +==================================================================== +*/ +void stk_sound_play( StkSound *sound ) +{ + int channel; +#ifdef AUDIO_ENABLED + if ( stk_audio_ok && stk_audio_sound_enabled ) { + /* if channel is -1 use first free channel */ + channel = sound->channel; + if ( channel == -1 ) + channel = Mix_GroupAvailable(-1); + Mix_Volume( channel, stk_audio_sound_volume ); + Mix_PlayChannel( channel, sound->chunk, 0 ); + } +#endif +} +/* +==================================================================== +Play a sound at horizontal position x. +==================================================================== +*/ +void stk_sound_play_x( int x, StkSound *sound ) +{ + int channel; +#ifdef AUDIO_ENABLED + if ( stk_audio_ok && stk_audio_sound_enabled ) { + x = (x - 40) * 255 / (640 - 40 - 40); + if (x < 0) x = 0; + if (x > 255) x = 255; + /* if channel is -1 use first free channel */ + channel = sound->channel; + 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 +} + +/* +==================================================================== +Fade out the channel of this sound. +==================================================================== +*/ +void stk_sound_fade_out( StkSound *sound, int ms ) +{ +#ifdef AUDIO_ENABLED + if ( stk_audio_ok ) + Mix_FadeOutChannel( sound->channel, ms ); +#endif +} diff --git a/project/jni/application/lbreakout2/gui/stk.h b/project/jni/application/lbreakout2/gui/stk.h new file mode 100644 index 000000000..e24c1a9bb --- /dev/null +++ b/project/jni/application/lbreakout2/gui/stk.h @@ -0,0 +1,502 @@ +/*************************************************************************** + stk.h - description + ------------------- + begin : Thu Oct 12 2002 + copyright : (C) 2002 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __STK_H +#define __STK_H + +#include +#ifdef AUDIO_ENABLED + #include +#endif + +/* GENERAL */ + +#define SDL_NONFATAL 0x10000000 + +#define STK_ABORT( msg ) \ + { fprintf( stderr, "Fatal STK Error!\n%s\n", msg ); exit( 1 ); } + +#define STK_IN_RECT( rect, mx, my ) \ + ( mx >= (rect).x && my >= (rect).y && \ + mx < (rect).x + (rect).w && my < (rect).y + (rect).h ) + +#define STK_OPAQUE SDL_ALPHA_OPAQUE +#define STK_TRANSPARENT SDL_ALPHA_TRANSPARENT + +enum { + STK_BUTTON_LEFT = 1, + STK_BUTTON_MIDDLE, + STK_BUTTON_RIGHT, + STK_WHEEL_UP, + STK_WHEEL_DOWN, + STK_BUTTON_COUNT +}; + +/* +==================================================================== +Initiate SDL, build a default cursor and install the clean +up function stk_quit(). +==================================================================== +*/ +void stk_init( int flags ); + +/* +==================================================================== +Block until either a key or button was pressed. If SDL_QUIT +was received this will set stk_quit_request True. +==================================================================== +*/ +void stk_wait_for_input( void ); + +/* SCREEN */ + +/* +==================================================================== +Open a display with the passed settings. Depth may be modified due +to Xserver settings and if the resolution is completely +unavailable 640 x 480 x 16 x SDL_SWSURFACE is opened. +If the display is already open it is closed and re-opened. +There is no function to close the display as this is handled by the +stk_quit() function installed by stk_init(). +The display can be accessed by + extern SDL_Surface *stk_display; +This funtion returns True if the wanted width and height are +available, False if not and it aborts when no display is found. +==================================================================== +*/ +int stk_display_open( int flags, int width, int height, int depth ); + +/* +==================================================================== +Add an update rectangle that will be updated by +stk_display_update(). Regardless of clipping the rectangles +must fit the screen else it'll raise an X error. +If NULL is passed as 'rect' the whole screen is stored for update. +==================================================================== +*/ +void stk_display_store_rect( SDL_Rect *rect ); + +/* +==================================================================== +Store the destination rectangle of the last blit operation. SDL +modified this rectangle to the actually updated clipping region. +==================================================================== +*/ +void stk_display_store_drect( void ); + +/* +==================================================================== +Either update all gathered rects or simply the full screen. +In any case the stored regions are cleared. +==================================================================== +*/ +enum { + STK_UPDATE_ALL = 0, + STK_UPDATE_RECTS +}; +void stk_display_update( int type ); + +/* +==================================================================== +Fade the current contents of the display either in or out. 'time' +is the time in milliseconds the fading is supposed to take. +==================================================================== +*/ +enum { + STK_FADE_IN = 0, + STK_FADE_OUT, + STK_FADE_DEFAULT_TIME = 350 +}; +void stk_display_fade( int type, int time ); + +/* +==================================================================== +Take a screenshot and save it to screenshot[index].bmp in the +current directory. +==================================================================== +*/ +void stk_display_take_screenshot(); + +/* +==================================================================== +Switch fullscreen/windowed for current resolution. +==================================================================== +*/ +void stk_display_apply_fullscreen( int fullscreen ); + +/* SURFACE */ + +/* +==================================================================== +If stk_surface_load() is called with a relative path this prefix +is added. Default is '.'; 'path' is copied. +==================================================================== +*/ +void stk_surface_set_path( char *path ); + +/* +==================================================================== +Load a surface from a path. If it's not an absolute directory +(starting with '/') the prefix passed in stk_surface_set_path() +is prepended. +If a video mode was set the surface will be converted to its +format to speed up blitting. As resource either BMP or PNG may +be provided. +If SDL_NONFATAL is passed a warning is displayed and the function +returns NULL else it will exit the program with an error. +The default color key of the surface is black and no alpha. +==================================================================== +*/ +SDL_Surface* stk_surface_load( int flags, char *format, ... ); + +/* +==================================================================== +Create a surface with the given size and the format of the +video mode which must be set. +The default color key of the surface is black and no alpha. +==================================================================== +*/ +SDL_Surface* stk_surface_create( int flags, int width, int height ); + +/* +==================================================================== +Free the memory of a surface if not NULL and reset the pointer +to NULL. +==================================================================== +*/ +void stk_surface_free( SDL_Surface **surface ); + +/* +==================================================================== +Blit retangle from 'src' to 'dest' with current alpha of 'src'. +If 'sw' is -1 the full source width is used, 'sh' analogue. +stk_display_store_drect() can be used to store the update rect +of the blitted surface. +==================================================================== +*/ +void stk_surface_blit( + SDL_Surface *src, int sx, int sy, int sw, int sh, + SDL_Surface *dest, int dx, int dy ); + +/* +==================================================================== +Different from stk_surface_blit() this function temporarily +overwrites 'src's alpha value. It is not recommended to use +this function if performance is important as it is 10 times slower +than an SDL_SetAlpha() combined with stk_surface_blit(). +==================================================================== +*/ +void stk_surface_alpha_blit( + SDL_Surface *src, int sx, int sy, int sw, int sh, + SDL_Surface *dest, int dx, int dy, int alpha ); + +/* +==================================================================== +Fill a rectangle of the surface with a given color of the format +0xRRGGBB. 'dw' == -1 and 'dh' == -1 have the same effect as in +stk_surface_blit(). +==================================================================== +*/ +void stk_surface_fill( + SDL_Surface *dest, int dx, int dy, int dw, int dh, + int color ); + +/* +==================================================================== +Set the clipping region of a surface. All blit operations into +this surface will only have effect within the clipping region. +'dw' == -1 and 'dh' == -1 have the same effect as in +stk_surface_blit(). +==================================================================== +*/ +void stk_surface_clip( + SDL_Surface *dest, int dx, int dy, int dw, int dh ); + +/* +==================================================================== +Lock/unlock surface for direct access. +==================================================================== +*/ +#define stk_surface_lock( surface ) \ + if (SDL_MUSTLOCK((surface))) SDL_LockSurface((surface)) +#define stk_surface_unlock( surface ) \ + if (SDL_MUSTLOCK((surface))) SDL_UnlockSurface((surface)) + +/* +==================================================================== +Get or set a pixel from/to a surface. This time the pixel must +already be in SDL format. +==================================================================== +*/ +void stk_surface_set_pixel( + SDL_Surface *dest, int dx, int dy, Uint32 pixel ); +Uint32 stk_surface_get_pixel( SDL_Surface *src, int sx, int sy ); + +/* +==================================================================== +Convert part of the surface to gray and if 'dark' is set cut the +brightness in half. 'dw' == -1 and 'dh' == -1 have the same +effect as in tk_surface_blit(). +==================================================================== +*/ +void stk_surface_gray( + SDL_Surface *dest, int dx, int dy, int dw, int dh, int dark ); + +/* +==================================================================== +Add a 3D frame to surface and dark to contents. The frame border +is 'border' thick. +==================================================================== +*/ +void stk_surface_add_3dframe( + SDL_Surface *dest, int dx, int dy, int dw, int dh, int border ); + +/* +==================================================================== +Fill the surface with the wallpaper (clipped) +==================================================================== +*/ +void stk_surface_apply_wallpaper( + SDL_Surface *dest, int dx, int dy, int dw, int dh, + SDL_Surface *wallpaper, int alpha ); + +/* +==================================================================== +Apply a frame to the surface. The frame resource provides the eight +square-like parts for the frame composed as a little frame: corners +and sides. +'dw' == -1 and 'dh' == -1 have the same effect as in +stk_surface_blit(). +Returns the size of the border. +==================================================================== +*/ +int stk_surface_apply_frame( + SDL_Surface *dest, int dx, int dy, int dw, int dh, + SDL_Surface *frame ); + +/* FIXED FONT */ + +enum { + STK_FONT_ALIGN_LEFT = (1L << 1), + STK_FONT_ALIGN_RIGHT = (1L << 2), + STK_FONT_ALIGN_TOP = (1L << 3), + STK_FONT_ALIGN_BOTTOM = (1L << 4), + STK_FONT_ALIGN_CENTER_X = (1L << 5), + STK_FONT_ALIGN_CENTER_Y = (1L << 6) +}; +typedef struct { + SDL_Surface *surface; + int align; /* text aligment */ + int width; /* of a single character */ + int height; /* of a single character */ +} StkFont; + +/* +==================================================================== +Load a fixed font which is simply a surface containing the ASCII +characters from 32 (blank) to 96 (whatever) where all characters +have the same width. +==================================================================== +*/ +StkFont* stk_font_load( int flags, char *format, ... ); + +/* +==================================================================== +Free a font if not NULL and reset pointer to NULL. +==================================================================== +*/ +void stk_font_free( StkFont **font ); + +/* +==================================================================== +Write string to surface. If 'alpha' is -1 the font is displayed +with the current alpha value else the new alpha is used and kept. +stk_display_store_drect() can be used to store the update rect +of the written string. +==================================================================== +*/ +void stk_font_write( + StkFont *font, SDL_Surface *dest, int dx, int dy, + int alpha, char *string ); + +/* +==================================================================== +Query the length of the string in pixels. +==================================================================== +*/ +#define stk_font_string_width( font, string ) \ + (strlen(string) * font->width) + +/* CURSOR */ + +/* +==================================================================== +Build an SDL cursor with the given hotspot. The resource mask +contains 'b' for black 'w' for white and ' ' for transparent. +There are two cursors provided: + extern SDL_Cursor *empty_cursor (all transparent) + extern SDL_Cursor *std_cursor (SDL standard cursor) +==================================================================== +*/ +SDL_Cursor* stk_cursor_create( + int width, int height, int hot_x, int hot_y, char *src ); + +/* +==================================================================== +Free a cursor if not NULL and reset pointer to NULL. +==================================================================== +*/ +void stk_cursor_free( SDL_Cursor **cursor ); + +/* TIMER */ + +/* +==================================================================== +Reset the timer. +==================================================================== +*/ +void stk_timer_reset( void ); + +/* +==================================================================== +Get the time since last call or reset. +==================================================================== +*/ +int stk_timer_get_time( void ); + +/* AUDIO */ + +/* +==================================================================== +Open mixer. If this fails an error message is +displayed (program doesn't abort) and all stk_audio and stk_sound +functions have no effect. + 'frequency': 11025, 22050, 44100 ... + 'format': MIX_DEFAULT_FORMAT is recommended + 'channels': mono(1) or stereo(2) + 'chunksize': mix buffer size (1024 Bytes recommended) +Passing 0 for an argument means to use the SDL default: + 22050Hz in format AUDIO_S16LSB stereo with 1024 bytes chunksize +stk_audio_open() installs stk_audio_close() as exit function. +There are 8 channels available for mixing. +==================================================================== +*/ +int stk_audio_open( + int frequency, Uint16 format, int channels, int chunksize ); + +/* +==================================================================== +Close mixer if previously opened. +==================================================================== +*/ +void stk_audio_close( void ); + +/* +==================================================================== +If stk_sound_load() is called with a relative path this prefix +is added. Default is '.'; 'path' is copied. +==================================================================== +*/ +void stk_audio_set_path( char *path ); + +/* +==================================================================== +Enable/disable sound. If disabled stk_sound_play () has no effect. +==================================================================== +*/ +void stk_audio_enable_sound( int enable ); + +/* +==================================================================== +Set default volume of all sounds: 0 - 128 +==================================================================== +*/ +void stk_audio_set_sound_volume( int volume ); + +/* +==================================================================== +Fade out a specific sound channel. If 'channel is -1 all +channels fade out. 'ms' is the time the fading shall take. +==================================================================== +*/ +void stk_audio_fade_out( int channel, int ms ); + +/* SOUND */ + +typedef struct { +#ifdef AUDIO_ENABLED + Mix_Chunk *chunk; /* SDL_Mixer's sound buffer */ +#endif + int channel; + int volume; +} StkSound; + +/* +==================================================================== +Load a sound from a path. If it's not an absolute directory +(starting with '/') the prefix passed in stk_sound_set_path() +is prepended. Loading sounds is non-fatal thus if a sound +cannot be found it is created but empty. In this case +a warning is displayed. +The volume is set to the default set by +stk_audio_set_sound_volume(). Sounds with an equal 'channel' +will share it so if a new sound is played the old one breaks up +thus channel should be used to group sounds. +If channel is -1 the first available channel is used +to play sound. +==================================================================== +*/ +StkSound *stk_sound_load( int channel, char *format, ... ); + +/* +==================================================================== +Free the memory of a sound if not NULL and reset the pointer +to NULL. +==================================================================== +*/ +void stk_sound_free( StkSound **sound ); + +/* +==================================================================== +Set channel/volume of sound. +==================================================================== +*/ +void stk_sound_set_volume( StkSound *sound, int volume ); +void stk_sound_set_channel( StkSound *sound, int channel ); + +/* +==================================================================== +Play a sound. +==================================================================== +*/ +void stk_sound_play( StkSound *sound ); +/* +==================================================================== +Play a sound at horizontal position x.. +==================================================================== +*/ +void stk_sound_play_x( int x, StkSound *sound ); + +/* +==================================================================== +Fade out the channel of this sound. +==================================================================== +*/ +void stk_sound_fade_out( StkSound *sound, int ms ); + + +#endif diff --git a/project/jni/application/lbreakout2/icon.png b/project/jni/application/lbreakout2/icon.png new file mode 100644 index 000000000..e7d77a01b Binary files /dev/null and b/project/jni/application/lbreakout2/icon.png differ diff --git a/project/jni/application/lbreakout2/install-sh b/project/jni/application/lbreakout2/install-sh new file mode 100755 index 000000000..b777f1244 --- /dev/null +++ b/project/jni/application/lbreakout2/install-sh @@ -0,0 +1,322 @@ +#!/bin/sh +# install - install a program, script, or datafile + +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 +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# 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. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +chmodcmd="$chmodprog 0755" +chowncmd= +chgrpcmd= +stripcmd= +rmcmd="$rmprog -f" +mvcmd="$mvprog" +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 + +# 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/project/jni/application/lbreakout2/intl/ChangeLog b/project/jni/application/lbreakout2/intl/ChangeLog new file mode 100644 index 000000000..751291929 --- /dev/null +++ b/project/jni/application/lbreakout2/intl/ChangeLog @@ -0,0 +1,4 @@ +2004-01-29 GNU + + * Version 0.14.1 released. + diff --git a/project/jni/application/lbreakout2/intl/Makefile.in b/project/jni/application/lbreakout2/intl/Makefile.in new file mode 100644 index 000000000..f576089f0 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/VERSION b/project/jni/application/lbreakout2/intl/VERSION new file mode 100644 index 000000000..b4b846ca7 --- /dev/null +++ b/project/jni/application/lbreakout2/intl/VERSION @@ -0,0 +1 @@ +GNU gettext library from gettext-0.14.1 diff --git a/project/jni/application/lbreakout2/intl/bindtextdom.c b/project/jni/application/lbreakout2/intl/bindtextdom.c new file mode 100644 index 000000000..dcdc40085 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/charset.alias b/project/jni/application/lbreakout2/intl/charset.alias new file mode 100644 index 000000000..88082f772 --- /dev/null +++ b/project/jni/application/lbreakout2/intl/charset.alias @@ -0,0 +1,4 @@ +# This file contains a table of character encoding aliases, +# suitable for operating system 'eabi'. +# It was automatically generated from config.charset. +# Packages using this file: diff --git a/project/jni/application/lbreakout2/intl/config.charset b/project/jni/application/lbreakout2/intl/config.charset new file mode 100755 index 000000000..43d45fb75 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/dcgettext.c b/project/jni/application/lbreakout2/intl/dcgettext.c new file mode 100644 index 000000000..850acdee9 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/dcigettext.c b/project/jni/application/lbreakout2/intl/dcigettext.c new file mode 100644 index 000000000..4eba457ae --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/dcngettext.c b/project/jni/application/lbreakout2/intl/dcngettext.c new file mode 100644 index 000000000..48a3e09e0 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/dgettext.c b/project/jni/application/lbreakout2/intl/dgettext.c new file mode 100644 index 000000000..b64b0f5d3 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/dngettext.c b/project/jni/application/lbreakout2/intl/dngettext.c new file mode 100644 index 000000000..7815637f0 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/eval-plural.h b/project/jni/application/lbreakout2/intl/eval-plural.h new file mode 100644 index 000000000..4483f9857 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/explodename.c b/project/jni/application/lbreakout2/intl/explodename.c new file mode 100644 index 000000000..52c25e727 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/finddomain.c b/project/jni/application/lbreakout2/intl/finddomain.c new file mode 100644 index 000000000..4992a8c9e --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/gettext.c b/project/jni/application/lbreakout2/intl/gettext.c new file mode 100644 index 000000000..92c42faa7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/gettextP.h b/project/jni/application/lbreakout2/intl/gettextP.h new file mode 100644 index 000000000..4d66c3de3 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/gmo.h b/project/jni/application/lbreakout2/intl/gmo.h new file mode 100644 index 000000000..e7c9cc14b --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/hash-string.h b/project/jni/application/lbreakout2/intl/hash-string.h new file mode 100644 index 000000000..093e3b1c1 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/intl-compat.c b/project/jni/application/lbreakout2/intl/intl-compat.c new file mode 100644 index 000000000..96f9d955d --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/l10nflist.c b/project/jni/application/lbreakout2/intl/l10nflist.c new file mode 100644 index 000000000..eb995aafa --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/libgnuintl.h b/project/jni/application/lbreakout2/intl/libgnuintl.h new file mode 100644 index 000000000..77133e7f8 --- /dev/null +++ b/project/jni/application/lbreakout2/intl/libgnuintl.h @@ -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 !1 + +#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 1 + +#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 1 + +#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 0 + +#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/project/jni/application/lbreakout2/intl/libgnuintl.h.in b/project/jni/application/lbreakout2/intl/libgnuintl.h.in new file mode 100644 index 000000000..3be7eb990 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/libintl.a b/project/jni/application/lbreakout2/intl/libintl.a new file mode 100644 index 000000000..c1b53084c Binary files /dev/null and b/project/jni/application/lbreakout2/intl/libintl.a differ diff --git a/project/jni/application/lbreakout2/intl/libintl.h b/project/jni/application/lbreakout2/intl/libintl.h new file mode 100644 index 000000000..77133e7f8 --- /dev/null +++ b/project/jni/application/lbreakout2/intl/libintl.h @@ -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 !1 + +#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 1 + +#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 1 + +#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 0 + +#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/project/jni/application/lbreakout2/intl/loadinfo.h b/project/jni/application/lbreakout2/intl/loadinfo.h new file mode 100644 index 000000000..65e5ebd1f --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/loadmsgcat.c b/project/jni/application/lbreakout2/intl/loadmsgcat.c new file mode 100644 index 000000000..99c51b4c5 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/localcharset.c b/project/jni/application/lbreakout2/intl/localcharset.c new file mode 100644 index 000000000..4865f1037 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/localcharset.h b/project/jni/application/lbreakout2/intl/localcharset.h new file mode 100644 index 000000000..3b137e73c --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/locale.alias b/project/jni/application/lbreakout2/intl/locale.alias new file mode 100644 index 000000000..bd6bb2562 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/localealias.c b/project/jni/application/lbreakout2/intl/localealias.c new file mode 100644 index 000000000..2eaf8813e --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/localename.c b/project/jni/application/lbreakout2/intl/localename.c new file mode 100644 index 000000000..5662e54ff --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/log.c b/project/jni/application/lbreakout2/intl/log.c new file mode 100644 index 000000000..cb6076e80 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/ngettext.c b/project/jni/application/lbreakout2/intl/ngettext.c new file mode 100644 index 000000000..e73e00c48 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/os2compat.c b/project/jni/application/lbreakout2/intl/os2compat.c new file mode 100644 index 000000000..c8dc33e7c --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/os2compat.h b/project/jni/application/lbreakout2/intl/os2compat.h new file mode 100644 index 000000000..4f74e8c03 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/osdep.c b/project/jni/application/lbreakout2/intl/osdep.c new file mode 100644 index 000000000..b37259838 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/plural-exp.c b/project/jni/application/lbreakout2/intl/plural-exp.c new file mode 100644 index 000000000..8c04e6426 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/plural-exp.h b/project/jni/application/lbreakout2/intl/plural-exp.h new file mode 100644 index 000000000..49e2c5bfc --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/plural.c b/project/jni/application/lbreakout2/intl/plural.c new file mode 100644 index 000000000..72494f9eb --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/plural.y b/project/jni/application/lbreakout2/intl/plural.y new file mode 100644 index 000000000..4d33bd7c7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/printf-args.c b/project/jni/application/lbreakout2/intl/printf-args.c new file mode 100644 index 000000000..f6f3219e7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/printf-args.h b/project/jni/application/lbreakout2/intl/printf-args.h new file mode 100644 index 000000000..f11e64c04 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/printf-parse.c b/project/jni/application/lbreakout2/intl/printf-parse.c new file mode 100644 index 000000000..d19f903d7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/printf-parse.h b/project/jni/application/lbreakout2/intl/printf-parse.h new file mode 100644 index 000000000..8aec50e2a --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/printf.c b/project/jni/application/lbreakout2/intl/printf.c new file mode 100644 index 000000000..878646c2d --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/ref-add.sed b/project/jni/application/lbreakout2/intl/ref-add.sed new file mode 100644 index 000000000..ae31452f8 --- /dev/null +++ b/project/jni/application/lbreakout2/intl/ref-add.sed @@ -0,0 +1,10 @@ +/^# Packages using this file: / { + s/# Packages using this file:// + ta + :a + s/ lbreakout2 / lbreakout2 / + tb + s/ $/ lbreakout2 / + :b + s/^/# Packages using this file:/ +} diff --git a/project/jni/application/lbreakout2/intl/ref-add.sin b/project/jni/application/lbreakout2/intl/ref-add.sin new file mode 100644 index 000000000..167374e3c --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/ref-del.sed b/project/jni/application/lbreakout2/intl/ref-del.sed new file mode 100644 index 000000000..8d9734958 --- /dev/null +++ b/project/jni/application/lbreakout2/intl/ref-del.sed @@ -0,0 +1,5 @@ +/^# Packages using this file: / { + s/# Packages using this file:// + s/ lbreakout2 / / + s/^/# Packages using this file:/ +} diff --git a/project/jni/application/lbreakout2/intl/ref-del.sin b/project/jni/application/lbreakout2/intl/ref-del.sin new file mode 100644 index 000000000..613cf37f3 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/relocatable.c b/project/jni/application/lbreakout2/intl/relocatable.c new file mode 100644 index 000000000..bf7c70854 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/relocatable.h b/project/jni/application/lbreakout2/intl/relocatable.h new file mode 100644 index 000000000..48c5b71e2 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/textdomain.c b/project/jni/application/lbreakout2/intl/textdomain.c new file mode 100644 index 000000000..8745a8435 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/vasnprintf.c b/project/jni/application/lbreakout2/intl/vasnprintf.c new file mode 100644 index 000000000..8a62282d7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/vasnprintf.h b/project/jni/application/lbreakout2/intl/vasnprintf.h new file mode 100644 index 000000000..65f1bc13d --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/vasnwprintf.h b/project/jni/application/lbreakout2/intl/vasnwprintf.h new file mode 100644 index 000000000..d3cef4cbc --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/wprintf-parse.h b/project/jni/application/lbreakout2/intl/wprintf-parse.h new file mode 100644 index 000000000..24a2cfc28 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/intl/xsize.h b/project/jni/application/lbreakout2/intl/xsize.h new file mode 100644 index 000000000..362e24b72 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/lbreakout2.desktop b/project/jni/application/lbreakout2/lbreakout2.desktop new file mode 100644 index 000000000..0ca68518a --- /dev/null +++ b/project/jni/application/lbreakout2/lbreakout2.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=LBreakout2 +Comment=A ball-and-paddle game with nice graphics. +Exec=lbreakout2 +Icon=/usr/local/share/icons/lbreakout48.gif +Type=Application +Categories=Game; diff --git a/project/jni/application/lbreakout2/lbreakout2.desktop.in b/project/jni/application/lbreakout2/lbreakout2.desktop.in new file mode 100644 index 000000000..ed851c6b2 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/lbreakout2.spec b/project/jni/application/lbreakout2/lbreakout2.spec new file mode 100644 index 000000000..bd47404c5 --- /dev/null +++ b/project/jni/application/lbreakout2/lbreakout2.spec @@ -0,0 +1,47 @@ +%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/project/jni/application/lbreakout2/lbreakout32.gif b/project/jni/application/lbreakout2/lbreakout32.gif new file mode 100644 index 000000000..395ea757d Binary files /dev/null and b/project/jni/application/lbreakout2/lbreakout32.gif differ diff --git a/project/jni/application/lbreakout2/lbreakout48.gif b/project/jni/application/lbreakout2/lbreakout48.gif new file mode 100644 index 000000000..08b95d397 Binary files /dev/null and b/project/jni/application/lbreakout2/lbreakout48.gif differ diff --git a/project/jni/application/lbreakout2/libapplication.so b/project/jni/application/lbreakout2/libapplication.so new file mode 100755 index 000000000..758fbcda9 Binary files /dev/null and b/project/jni/application/lbreakout2/libapplication.so differ diff --git a/project/jni/application/lbreakout2/m4/Makefile.am b/project/jni/application/lbreakout2/m4/Makefile.am new file mode 100644 index 000000000..f971283a3 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/Makefile.in b/project/jni/application/lbreakout2/m4/Makefile.in new file mode 100644 index 000000000..76cc9f65f --- /dev/null +++ b/project/jni/application/lbreakout2/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) --foreign m4/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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/project/jni/application/lbreakout2/m4/codeset.m4 b/project/jni/application/lbreakout2/m4/codeset.m4 new file mode 100644 index 000000000..59535ebcf --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/gettext.m4 b/project/jni/application/lbreakout2/m4/gettext.m4 new file mode 100644 index 000000000..a374f03fa --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/glibc21.m4 b/project/jni/application/lbreakout2/m4/glibc21.m4 new file mode 100644 index 000000000..9c9f3db30 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/iconv.m4 b/project/jni/application/lbreakout2/m4/iconv.m4 new file mode 100644 index 000000000..c5f357982 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/intdiv0.m4 b/project/jni/application/lbreakout2/m4/intdiv0.m4 new file mode 100644 index 000000000..55dddcf1c --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/intmax.m4 b/project/jni/application/lbreakout2/m4/intmax.m4 new file mode 100644 index 000000000..dfb08ccc9 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/inttypes-pri.m4 b/project/jni/application/lbreakout2/m4/inttypes-pri.m4 new file mode 100644 index 000000000..fd007c312 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/inttypes.m4 b/project/jni/application/lbreakout2/m4/inttypes.m4 new file mode 100644 index 000000000..ab370ffe0 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/inttypes_h.m4 b/project/jni/application/lbreakout2/m4/inttypes_h.m4 new file mode 100644 index 000000000..f342eba39 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/isc-posix.m4 b/project/jni/application/lbreakout2/m4/isc-posix.m4 new file mode 100644 index 000000000..1319dd1c7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/lcmessage.m4 b/project/jni/application/lbreakout2/m4/lcmessage.m4 new file mode 100644 index 000000000..ffd4008b8 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/lib-ld.m4 b/project/jni/application/lbreakout2/m4/lib-ld.m4 new file mode 100644 index 000000000..38aeaec19 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/lib-link.m4 b/project/jni/application/lbreakout2/m4/lib-link.m4 new file mode 100644 index 000000000..eeb200d26 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/lib-prefix.m4 b/project/jni/application/lbreakout2/m4/lib-prefix.m4 new file mode 100644 index 000000000..8aff5a9d2 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/longdouble.m4 b/project/jni/application/lbreakout2/m4/longdouble.m4 new file mode 100644 index 000000000..1333d2f57 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/longlong.m4 b/project/jni/application/lbreakout2/m4/longlong.m4 new file mode 100644 index 000000000..d7d7350b3 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/nls.m4 b/project/jni/application/lbreakout2/m4/nls.m4 new file mode 100644 index 000000000..36bc49317 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/po.m4 b/project/jni/application/lbreakout2/m4/po.m4 new file mode 100644 index 000000000..e16199881 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/progtest.m4 b/project/jni/application/lbreakout2/m4/progtest.m4 new file mode 100644 index 000000000..8fe527cec --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/signed.m4 b/project/jni/application/lbreakout2/m4/signed.m4 new file mode 100644 index 000000000..dc1f54f10 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/size_max.m4 b/project/jni/application/lbreakout2/m4/size_max.m4 new file mode 100644 index 000000000..5762fc333 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/stdint_h.m4 b/project/jni/application/lbreakout2/m4/stdint_h.m4 new file mode 100644 index 000000000..32ba7ae77 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/uintmax_t.m4 b/project/jni/application/lbreakout2/m4/uintmax_t.m4 new file mode 100644 index 000000000..b5f28d440 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/ulonglong.m4 b/project/jni/application/lbreakout2/m4/ulonglong.m4 new file mode 100644 index 000000000..1da8b809e --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/wchar_t.m4 b/project/jni/application/lbreakout2/m4/wchar_t.m4 new file mode 100644 index 000000000..d8fd1ec5c --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/wint_t.m4 b/project/jni/application/lbreakout2/m4/wint_t.m4 new file mode 100644 index 000000000..3d8d21594 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/m4/xsize.m4 b/project/jni/application/lbreakout2/m4/xsize.m4 new file mode 100644 index 000000000..9b7cf9b49 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/missing b/project/jni/application/lbreakout2/missing new file mode 100755 index 000000000..e7ef83a1c --- /dev/null +++ b/project/jni/application/lbreakout2/missing @@ -0,0 +1,360 @@ +#! /bin/sh +# Common stub for a few missing GNU programs while installing. + +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 +# 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. + +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) + echo "\ +$0 [OPTION]... PROGRAM [ARGUMENT]... + +Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an +error status if there is no known handling for PROGRAM. + +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' + autoconf touch file \`configure' + autoheader touch file \`config.h.in' + 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 + 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 $scriptversion (GNU Automake)" + ;; + + -*) + echo 1>&2 "$0: Unknown \`$1' option" + echo 1>&2 "Try \`$0 --help' for more information" + exit 1 + ;; + + 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) + 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) + 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_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$/.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' $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." + rm -f y.tab.c y.tab.h + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.y) + SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.c + fi + SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" y.tab.h + fi + ;; + esac + fi + if [ ! -f y.tab.h ]; then + echo >y.tab.h + fi + if [ ! -f y.tab.c ]; then + echo 'main() { return 0; }' >y.tab.c + fi + ;; + + lex|flex) + echo 1>&2 "\ +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." + rm -f lex.yy.c + if [ $# -ne 1 ]; then + eval LASTARG="\${$#}" + case "$LASTARG" in + *.l) + SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` + if [ -f "$SRCFILE" ]; then + cp "$SRCFILE" lex.yy.c + fi + ;; + esac + fi + if [ ! -f lex.yy.c ]; then + echo 'main() { return 0; }' >lex.yy.c + 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) + 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, + DU, IRIX). You might want to install the \`Texinfo' package or + the \`GNU make' package. Grab either from any GNU archive site." + file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + if test -z "$file"; then + file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` + fi + 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 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 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 + ;; +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/project/jni/application/lbreakout2/mkinstalldirs b/project/jni/application/lbreakout2/mkinstalldirs new file mode 100755 index 000000000..6fbe5e117 --- /dev/null +++ b/project/jni/application/lbreakout2/mkinstalldirs @@ -0,0 +1,150 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy + +scriptversion=2004-02-15.20 + +# Original author: Noah Friedman +# Created: 1993-05-16 +# 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 + if test -d "$file"; then + shift + else + break + fi +done + +case $# in + 0) exit 0 ;; +esac + +# 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 + +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift + + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case $pathcomp in + -*) pathcomp=./$pathcomp ;; + esac + + 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 + +# 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/project/jni/application/lbreakout2/po/LINGUAS b/project/jni/application/lbreakout2/po/LINGUAS new file mode 100644 index 000000000..a16771303 --- /dev/null +++ b/project/jni/application/lbreakout2/po/LINGUAS @@ -0,0 +1 @@ +de fr tr diff --git a/project/jni/application/lbreakout2/po/Makefile.in b/project/jni/application/lbreakout2/po/Makefile.in new file mode 100644 index 000000000..5a42611d7 --- /dev/null +++ b/project/jni/application/lbreakout2/po/Makefile.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 = lbreakout2 +VERSION = 2.6.1 + +SHELL = /bin/sh + + +srcdir = . +top_srcdir = .. + + +prefix = /usr/local +exec_prefix = ${prefix} +datadir = ${datarootdir} +datarootdir = ${prefix}/share +localedir = $(datadir)/locale +gettextsrcdir = $(datadir)/gettext/po + +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + +GMSGFMT = /usr/bin/msgfmt +MSGFMT = /usr/bin/msgfmt +XGETTEXT = /usr/bin/xgettext +MSGMERGE = msgmerge +MSGMERGE_UPDATE = /usr/bin/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-yes + +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-yes + 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-yes + 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-yes + 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/project/jni/application/lbreakout2/po/Makefile.in.in b/project/jni/application/lbreakout2/po/Makefile.in.in new file mode 100644 index 000000000..6114ba051 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/Makevars b/project/jni/application/lbreakout2/po/Makevars new file mode 100644 index 000000000..86d7d7f4e --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/POTFILES b/project/jni/application/lbreakout2/po/POTFILES new file mode 100644 index 000000000..a7c8b73b1 --- /dev/null +++ b/project/jni/application/lbreakout2/po/POTFILES @@ -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/project/jni/application/lbreakout2/po/POTFILES.in b/project/jni/application/lbreakout2/po/POTFILES.in new file mode 100644 index 000000000..999de7572 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/Rules-quot b/project/jni/application/lbreakout2/po/Rules-quot new file mode 100644 index 000000000..9c2a995e3 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/boldquot.sed b/project/jni/application/lbreakout2/po/boldquot.sed new file mode 100644 index 000000000..4b937aa51 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/de.gmo b/project/jni/application/lbreakout2/po/de.gmo new file mode 100644 index 000000000..130ef560f Binary files /dev/null and b/project/jni/application/lbreakout2/po/de.gmo differ diff --git a/project/jni/application/lbreakout2/po/de.po b/project/jni/application/lbreakout2/po/de.po new file mode 100644 index 000000000..d55cfb89b --- /dev/null +++ b/project/jni/application/lbreakout2/po/de.po @@ -0,0 +1,2568 @@ +# 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-12-24 12:16+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 +#, fuzzy, 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/penalty magnet will " +"attract _all_ bonuses/penalties 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 +#, fuzzy +msgid "Instantly collect all bonuses and destroy all penalties" +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 "Penalties:" +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 +#, fuzzy +msgid "Paddle attracts penalties" +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 +#, fuzzy +msgid "Any of the listed bonuses/penalties." +msgstr "Irgendein Bonus oder Malus" + +#: client/help.c:212 +#, fuzzy +msgid "Resets all active bonuses and penalties." +msgstr "Alle aktiven Bonusse oder Malusse abschalten" + +#: client/help.c:213 +#, fuzzy +msgid "Adds 7 seconds to all active bonuses/penalties." +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 +#, fuzzy +msgid "" +"If this is enabled you'll see the time left for all bonuses and penalties 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 +#, fuzzy +msgid "" +"KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-" +"200#Bonus: -50% (no penalties, 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 +#, fuzzy +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 appropriate 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" + +#~ msgid "Maluses:" +#~ msgstr "Malusse:" diff --git a/project/jni/application/lbreakout2/po/en@boldquot.header b/project/jni/application/lbreakout2/po/en@boldquot.header new file mode 100644 index 000000000..fedb6a06d --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/en@quot.header b/project/jni/application/lbreakout2/po/en@quot.header new file mode 100644 index 000000000..a9647fc35 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/fr.gmo b/project/jni/application/lbreakout2/po/fr.gmo new file mode 100644 index 000000000..83794930a Binary files /dev/null and b/project/jni/application/lbreakout2/po/fr.gmo differ diff --git a/project/jni/application/lbreakout2/po/fr.po b/project/jni/application/lbreakout2/po/fr.po new file mode 100644 index 000000000..2304bbce4 --- /dev/null +++ b/project/jni/application/lbreakout2/po/fr.po @@ -0,0 +1,2579 @@ +# 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-12-24 12:16+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 +#, fuzzy, 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/penalty magnet will " +"attract _all_ bonuses/penalties 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 +#, fuzzy +msgid "Instantly collect all bonuses and destroy all penalties" +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 "Penalties:" +msgstr "" + +#: 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 +#, fuzzy +msgid "Paddle attracts penalties" +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 +#, fuzzy +msgid "Any of the listed bonuses/penalties." +msgstr "N'importe quel bonus/malus." + +#: client/help.c:212 +#, fuzzy +msgid "Resets all active bonuses and penalties." +msgstr "Supprime tous les bonus et malus en utilisation." + +#: client/help.c:213 +#, fuzzy +msgid "Adds 7 seconds to all active bonuses/penalties." +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 +#, fuzzy +msgid "" +"If this is enabled you'll see the time left for all bonuses and penalties 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 +#, fuzzy +msgid "" +"KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-" +"200#Bonus: -50% (no penalties, 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 +#, fuzzy +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 appropriate 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" + +#~ msgid "Maluses:" +#~ msgstr "Malus:" diff --git a/project/jni/application/lbreakout2/po/insert-header.sin b/project/jni/application/lbreakout2/po/insert-header.sin new file mode 100644 index 000000000..b26de01f6 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/lbreakout2.pot b/project/jni/application/lbreakout2/po/lbreakout2.pot new file mode 100644 index 000000000..a3957e782 --- /dev/null +++ b/project/jni/application/lbreakout2/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-12-24 12:16+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/penalty magnet will " +"attract _all_ bonuses/penalties 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 penalties" +msgstr "" + +#: client/help.c:126 +msgid "Explosive balls" +msgstr "" + +#: client/help.c:127 +msgid "Paddle attracts bonuses" +msgstr "" + +#: client/help.c:131 +msgid "Penalties:" +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 penalties" +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/penalties." +msgstr "" + +#: client/help.c:212 +msgid "Resets all active bonuses and penalties." +msgstr "" + +#: client/help.c:213 +msgid "Adds 7 seconds to all active bonuses/penalties." +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 penalties 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 penalties, 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 appropriate 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/project/jni/application/lbreakout2/po/quot.sed b/project/jni/application/lbreakout2/po/quot.sed new file mode 100644 index 000000000..0122c4631 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/remove-potcdate.sin b/project/jni/application/lbreakout2/po/remove-potcdate.sin new file mode 100644 index 000000000..2436c49e7 --- /dev/null +++ b/project/jni/application/lbreakout2/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/project/jni/application/lbreakout2/po/stamp-po b/project/jni/application/lbreakout2/po/stamp-po new file mode 100644 index 000000000..9788f7023 --- /dev/null +++ b/project/jni/application/lbreakout2/po/stamp-po @@ -0,0 +1 @@ +timestamp diff --git a/project/jni/application/lbreakout2/po/tr.gmo b/project/jni/application/lbreakout2/po/tr.gmo new file mode 100644 index 000000000..da5e59eee Binary files /dev/null and b/project/jni/application/lbreakout2/po/tr.gmo differ diff --git a/project/jni/application/lbreakout2/po/tr.po b/project/jni/application/lbreakout2/po/tr.po new file mode 100644 index 000000000..55d5d9860 --- /dev/null +++ b/project/jni/application/lbreakout2/po/tr.po @@ -0,0 +1,2548 @@ +# 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-12-24 12:16+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 +#, fuzzy, 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/penalty magnet will " +"attract _all_ bonuses/penalties 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 +#, fuzzy +msgid "Instantly collect all bonuses and destroy all penalties" +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 "Penalties:" +msgstr "" + +#: 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 +#, fuzzy +msgid "Paddle attracts penalties" +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 +#, fuzzy +msgid "Any of the listed bonuses/penalties." +msgstr "Listelenen ikramiyelerden/zararlılardan herhangi biri." + +#: client/help.c:212 +#, fuzzy +msgid "Resets all active bonuses and penalties." +msgstr "Tüm aktif ikramiyeleri ve zararlıları sıfırlar." + +#: client/help.c:213 +#, fuzzy +msgid "Adds 7 seconds to all active bonuses/penalties." +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 +#, fuzzy +msgid "" +"If this is enabled you'll see the time left for all bonuses and penalties 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 +#, fuzzy +msgid "" +"KIDS:#Lives: 9 (max. 12)#Paddle Size: 252 (max. 396)#Ball Speed: 100-" +"200#Bonus: -50% (no penalties, 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 +#, fuzzy +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 appropriate 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" + +#~ msgid "Maluses:" +#~ msgstr "Zararlılar:" diff --git a/project/jni/application/lbreakout2/server/Makefile.am b/project/jni/application/lbreakout2/server/Makefile.am new file mode 100644 index 000000000..7aebd79c6 --- /dev/null +++ b/project/jni/application/lbreakout2/server/Makefile.am @@ -0,0 +1,12 @@ +DEFS = @DEFS@ @network_flag@ @sdlnet_flag@ @inst_flag@ @locdir_flag@ + +bin_PROGRAMS = lbreakout2server + +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 diff --git a/project/jni/application/lbreakout2/server/Makefile.in b/project/jni/application/lbreakout2/server/Makefile.in new file mode 100644 index 000000000..f43235e36 --- /dev/null +++ b/project/jni/application/lbreakout2/server/Makefile.in @@ -0,0 +1,592 @@ +# 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@ +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@ +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@ +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 +all: all-recursive + +.SUFFIXES: +.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) --foreign server/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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) +lbreakout2server$(EXEEXT): $(lbreakout2server_OBJECTS) $(lbreakout2server_DEPENDENCIES) + @rm -f lbreakout2server$(EXEEXT) + $(LINK) $(lbreakout2server_LDFLAGS) $(lbreakout2server_OBJECTS) $(lbreakout2server_LDADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@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. +# To change the values of `make' variables: instead of editing Makefiles, +# (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. +$(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 \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +mostlyclean-recursive clean-recursive distclean-recursive \ +maintainer-clean-recursive: + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ + dot_seen=no; \ + 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; \ + rev="$$rev ."; \ + target=`echo $@ | sed s/-recursive//`; \ + for subdir in $$rev; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || 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 + +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 $$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + 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; }'`; \ + 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 GTAGS GRTAGS GSYMS GPATH tags + +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 + 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 +check-am: all-am +check: check-recursive +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: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +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-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 + +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. +.NOEXPORT: diff --git a/project/jni/application/lbreakout2/server/levels/Makefile.am b/project/jni/application/lbreakout2/server/levels/Makefile.am new file mode 100644 index 000000000..9a2f3c49a --- /dev/null +++ b/project/jni/application/lbreakout2/server/levels/Makefile.am @@ -0,0 +1,13 @@ +EXTRA_DIST = N_Arenas N_Snapshots + +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/levels + @for file in $(EXTRA_DIST); do \ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/levels/$$file; \ + done + +win32-install-script: + @for file in $(EXTRA_DIST); do \ + echo "Source: \"`pwd -W`\\$$file\"; DestDir: \"{app}\\levels\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@; \ + done + diff --git a/project/jni/application/lbreakout2/server/levels/Makefile.in b/project/jni/application/lbreakout2/server/levels/Makefile.in new file mode 100644 index 000000000..eb438e128 --- /dev/null +++ b/project/jni/application/lbreakout2/server/levels/Makefile.in @@ -0,0 +1,368 @@ +# 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 = 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@ +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 = N_Arenas N_Snapshots +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) --foreign server/levels/Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign 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: + +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-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 + +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: + $(mkinstalldirs) $(DESTDIR)$(inst_dir)/levels + @for file in $(EXTRA_DIST); do \ + $(INSTALL_DATA) $$file $(DESTDIR)$(inst_dir)/levels/$$file; \ + done + +win32-install-script: + @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/project/jni/application/lbreakout2/server/levels/N_Arenas b/project/jni/application/lbreakout2/server/levels/N_Arenas new file mode 100644 index 000000000..9825dab29 --- /dev/null +++ b/project/jni/application/lbreakout2/server/levels/N_Arenas @@ -0,0 +1,247 @@ +Version: 1.00 +Level: +Michael Speck +Duell-1 +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-2 +Bricks: +.............. +.............. +.............. +.............. +..#..#..#..#.. +..#..#..#..#.. +..#..#..#..#.. +..@..@..@..@.. +..@..@..@..@.. +..@..@..@..@.. +..@..@..@..@.. +..#..#..#..#.. +..#..#..#..#.. +..#..#..#..#.. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-1 +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-3 +Bricks: +.............. +.............. +.............. +.............. +.............. +..#..#..#..#.. +.............. +#...@....@...# +.............. +.............. +#...@....@...# +.............. +..#..#..#..#.. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-1 +Bricks: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Duell-4 +Bricks: +.............. +.............. +.#...#..#...#. +.............. +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +@............@ +.............. +.#...#..#...#. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. +.............. diff --git a/project/jni/application/lbreakout2/server/levels/N_Snapshots b/project/jni/application/lbreakout2/server/levels/N_Snapshots new file mode 100644 index 000000000..437c16d40 --- /dev/null +++ b/project/jni/application/lbreakout2/server/levels/N_Snapshots @@ -0,0 +1,411 @@ +Version: 1.00 +Level: +Michael Speck +Chinese +Bricks: +.............. +.............. +.............. +ffffffffffffff +ffffffffffffff +gggggggggggggg +gggggggggggggg +jbbbbbbbbbbbbj +jbjjjjjjjjjjbj +jbjjjjjjjjjjbj +jbbbbbbbbbbbbj +dddddddddddddd +dddddddddddddd +eeeeeeeeeeeeee +eeeeeeeeeeeeee +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +?......-.....? +....+.....>... +..p.....b..... +.....~.....+.. +...s....j.b.w. +.*1323232323.. +..3232323231*. +.w...j....s... +.......~...+.. +....b.....p... +..b...+.>..... +?...-........? +.............. +.............. +.............. +Level: +Michael Speck +Spearhead +Bricks: +.............. +.............. +.............. +jjjj.......... +kkkkkk........ +aaaaaaaa...... +kkkkkkkkkk.... +jjjjjjjjjjjj.. +#####....zzzzz +#####....zzzzz +kkkkkkkkkkkk.. +jjjjjjjjjj.... +aaaaaaaa...... +jjjjjj........ +kkkk.......... +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.2.-.......... +.+............ +2.w2b..+...... +.-....2..~.... +.p.*.}..s..c.. +.........44444 +.........44444 +p..*...}s.~... +.2...2-..+.... +..b2w..d...... +.-.+.......... +2............. +.............. +.............. +.............. +Level: +Michael Speck +Fortress +Bricks: +.............. +.............. +.............. +.............. +.............. +..E##zzzz##E.. +.kE@..gg..@Ek. +kkE.iiiiii.Ekk +kkEgiggggigEkk +kkEgiggggigEkk +kkE.iiiiii.Ekk +.kE@..gg..@Ek. +..E##zzzz##E.. +.............. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +.............. +.....f>.f..... +.p..........p. +?...3....3...+ +.b...34.3..... +.....3.43...b. ++...3....3...? +.p..........p. +.....f.>f..... +.............. +.............. +.............. +.............. +.............. +Level: +Michael Speck +Soccer Worldcup +Bricks: +.............. +.............. +ffffffffffffff +ffffffffffffff +ffffffffffffff +jjjffffffffjjj +ffjffffffffjff +ffjfffjjfffjff +jfjffjffjffjfj +jfjffjffjffjfj +ffjfffjjfffjff +ffjffffffffjff +jjjffffffffjjj +ffffffffffffff +ffffffffffffff +ffffffffffffff +.............. +.............. +Bonus: +.............. +.............. +>...+.bb.+...> +..b..-..-..b.. +.............. +11>........>11 +.f1..b..b..1.. +..1...33...1.. +?.1..3553..1.? +?.1..3553..1.? +..1...33...1.. +..1..b..b..1f. +11>........>11 +.............. +..b..-..-..b.. +>...+.bb.+...> +.............. +.............. +Level: +Michael Speck +Construction Time +Bricks: +.............. +.............. +.............. +..!..!kk!..!.. +.....*kk*..... +.gggggggggggg. +.ffhhhhhhhhff. +.*fh*dddd*hf*. +.@!h@!ee!@h!@. +.@!h@!ee!@h!@. +.*fh*dddd*hf*. +.ffhhhhhhhhff. +.gggggggggggg. +.....*kk*..... +..!..!kk!..!.. +.............. +.............. +.............. +Bonus: +.............. +.............. +..b..c..+..0+. +.0.0...3.3.... +..s........0.. +.............. +.............. +.....4..4.>... +..w..b.m...p.. +..p...g.b..w.. +.....4..4..... +.............. +.............. +..0>.......s.. +....3.3...0.0. +.+0..+..b..c.. +.............. +.............. +Level: +Michael Speck +Four Seasons +Bricks: +.............. +.............. +hhhh......eeee +hhhh......eeee +hhhh......eeee +hhhh......eeee +hhhh......eeee +hhhh......eeee +.............. +.............. +ffff......jjjj +ffff......jjjj +ffff......jjjj +ffff......jjjj +ffff......jjjj +ffff......jjjj +.............. +.............. +Bonus: +.............. +.............. ++..b.......2.4 +3.s.......4{.. +.3.2......f.*. +?.-........b.? +...}......c.3. +.p........2pjb +.............. +.............. +bjp2........p. +.3.d......}... +?.b........-.? +.*.f......2.3. +..{4.......s.3 +4.2.......b..+ +.............. +.............. +Level: +Michael Speck +Hidden Obstacles +Bricks: +.............. +.............. +.............. +.............. +.v#eeeeeeee#v. +..e#......#e.. +..eg#vvvv#ge.. +..egf....fge.. +..egf.dd.fge.. +..egf.dd.fge.. +..egf....fge.. +..eg#vvvv#ge.. +..e#......#e.. +.v#eeeeeeee#v. +.............. +.............. +.............. +.............. +Bonus: +.............. +.............. +.............. +.............. +...00000000... +.............. +.....4444..... +..+?......?b.. +...?b.pp.-?... +...?-.pp.b?... +..b?......?+.. +.....4444..... +.............. +...00000000... +.............. +.............. +.............. +.............. +Level: +Michael Speck +Oh, Deer! +Bricks: +.............. +.............. +.d..e....e..d. +.e..d....d..e. +.#..#....#..#. +.a..i....i..a. +.g..a....a..g. +.a..i....i..a. +.g..a....a..g. +.a..i....i..a. +.g..a....a..g. +.a..i....i..a. +.g..a....a..g. +.#..#....#..#. +.h..d....d..h. +.d..h....h..d. +.............. +.............. +Bonus: +.............. +.............. +.p..p....p..p. +.p..p....p..p. +.............. +....5....5.... +.4..........4. +....5....5.... +.4..b....b..j. +....5....5.... +.j..b....b..4. +....5....5.... +.4..........4. +.............. +.p..p....p..p. +.p..p....p..p. +.............. +.............. +Level: +Michael Speck +Pipes +Bricks: +.............. +.............. +.j..!..!..###. +.j..#dd#..#gg. +.jj.#dd#..#g.. +.jj.####...... +.##........... +.f#*.###.*.##. +.f#!.!.!.!.#e. +.f#.!.!.!.!#e. +.##.*.###.*#e. +...........##. +......####.jj. +..g#..#hh#.jj. +.gg#..#hh#..j. +.###..!..!..j. +.............. +.............. +Bonus: +.............. +.............. +.f............ +.3....b....*>. +..f..+.....d.. +..3........... +.............. +.3............ +.5..?2?2?2?.3. +.3.?2?2?2?..5. +............3. +.............. +...........3.. +..c.....+..f.. +.>*....b....3. +............f. +.............. +.............. +Level: +Michael Speck +Collect Your Reward! +Bricks: +.............. +.............. +.x..........x. +.............. +...z.z..z.z... +.............. +.x..........x. +...z.z..z.z... +.............. +.............. +...z.z..z.z... +.x..........x. +.............. +...z.z..z.z... +.............. +.x..........x. +.............. +.............. +Bonus: +.............. +.............. +.b..........b. +.............. +...5.5..5.5... +.............. +.b..........b. +...5.5..5.5... +.............. +.............. +...5.5..5.5... +.b..........b. +.............. +...5.5..5.5... +.............. +.b..........b. +.............. +.............. diff --git a/project/jni/application/lbreakout2/server/server.c b/project/jni/application/lbreakout2/server/server.c new file mode 100644 index 000000000..928594b56 --- /dev/null +++ b/project/jni/application/lbreakout2/server/server.c @@ -0,0 +1,1193 @@ +/*************************************************************************** + server.c - description + ------------------- + begin : 03/03/11 + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/***** INCLUDES ************************************************************/ + +#include +#include "server.h" +#include "server_game.h" + +/***** EXTERNAL VARIABLES **************************************************/ + +extern int net_buffer_cur_size, msg_read_pos; + +/***** FORWARDED DECLARATIONS **********************************************/ + +#ifdef NETWORK_ENABLED +static void signal_handler( int signal ); +static void broadcast_all( int len, char *data ); +#endif + +/***** LOCAL TYPE DEFINITIONS **********************************************/ + +enum { CHANNEL_MAIN_ID = 1 }; + +/***** 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 */ +int global_id = 1; /* global id counter increased each type an object + (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 */ +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 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_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 = 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 + * ones shown in the list. there id starts at 1 for MAIN increased + * by 1 with each step */ +ServerChannel *main_channel = 0; /* pointer to MAIN */ +int default_channel_count = 1; +char *default_channels[1]; + +/***** LOCAL FUNCTIONS *****************************************************/ + +#ifdef NETWORK_ENABLED + +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 ); +} + +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 ); +} + +/* channel_add/delete don't require client updates as the only + * channels that are shown in the list are already known by name + * and id by the client. additional channels can be entered by typing + * in the name. A pointer is returned to simplify transfer of users. + */ +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; +} +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_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; +} + +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 */ + strncpy(user->name,name,16); + user->id = global_id++; + user->no_comm = 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 ); +} + +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 ); +} + +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; +} + +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 ); +} + +/* 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 ); +} + +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 ); + + /* don't count dummies */ + if ( !user->bot ) user_count++; +} + +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 ); + + /* 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 ); +} + +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 ); + } +} + +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 ); +} + +/* 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 ); +} + +/* Send a list of all users in user's channel including itself. + * + * FIXME: Sending each single entry is a not very nice. + */ +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 *find_user_by_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 *search_user + * 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 *find_user_by_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 *find_user_by_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; +} + +/* void handle_connectionless_packet + * + * By now only connection attempts can be found in this category. + * So check wether the packet contains a valid request (or send + * error messages if it doesn't) and add a new user to channel + * MAIN. + */ +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(); + 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 ( !is_alphanum(name) ) { + strcpy(errbuf+1, + _("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 + 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 ); + msg_begin_writing( msgbuf, &msglen, 128 ); + msg_write_int8( MSG_SERVER_INFO ); + if ( user_count == 1 ) + strcpy ( buf , _("1 user online") ); + else + 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; + +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 ); +} + +/* void handle_command + * 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, 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 + * + * Check all messages in packet from user who is located in channel and + * not playing. The header has been successfully processed and the read + * pointer is at the beginning of the first message. If a message occurs + * that is not handled, the rest of the packet is skipped as we don't + * know its further format. + */ +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: + 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; + + } + } +} + +/* void find_send_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. + * + * This is a linear search and should be improved. + */ +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; + } + } +} + +/* void remove_zombies + * + * Close overflowed connections and users that were idle for too long. + */ +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") ); + } + } + } +} + +/* void handle + * 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). + * Find the user and parse all messages in the packet. + * + * Remove any zombies. (no heartbeat, buffer overflow) + * + * Update games. + */ +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 ); +} + +/* (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, 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 ); +} + +/* 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 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(); + + /* 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; + + /* 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 ); + channel_add_bot( main_channel, name, 800 ); + } + for ( j = 0; j < server_def_bot_num; j++,id++ ) + { + snprintf( name, 16, _("BOT%i-1000"), id ); + channel_add_bot( main_channel, name, 1000 ); + } + + /* build angle table */ + init_angles(); +} + +static void signal_handler( int signal ) +{ + switch ( signal ) { + case SIGINT: + if ( server_halt ) break; + server_init_halt(); + break; + } +} + +#endif + +/***** PUBLIC FUNCTIONS ****************************************************/ + +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(); +#else + printf( _("LBreakout2 has been compiled without network support.\n") ); +#endif + + return 0; +} diff --git a/project/jni/application/lbreakout2/server/server.h b/project/jni/application/lbreakout2/server/server.h new file mode 100644 index 000000000..e03d64814 --- /dev/null +++ b/project/jni/application/lbreakout2/server/server.h @@ -0,0 +1,121 @@ +/*************************************************************************** + server.h - description + ------------------- + begin : 03/03/19 + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __SERVER_H +#define __SERVER_H + +/***** INCLUDES ************************************************************/ + +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif +#include +#include +#include +#include +#include +#include +#include "../common/tools.h" +#include "../common/net.h" +#include "../common/messages.h" +#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 ****************************************************/ + +typedef struct { + int id; /* global user id */ + char name[20]; + int no_comm; /* user does not communicate: bots and disconnected + users have this set True */ + int bot; /* if True this is a paddle bot */ + int bot_level; /* paddle speed in pix/sec */ + NetSocket socket; /* transmission socket */ + int hidden; /* True if chatroom user is not visible + (e.g. looking at game statistics or playing) */ + int admin; /* wether user logged in with admit rights */ + void *game; /* FIXME: I'M A BAD HACK: points to the current ServerGame + if this user is playing */ + int player_id; /* 0 - challenger in game or 1 - challenged */ +} ServerUser; + +typedef struct { + char name[20]; + int id; + List *users; +} ServerChannel; + +enum { + SERVER_AWAIT_ACCEPT, /* the first user has created the game and is already + added. a challenge note is sent to the challenged + user. in this state the server awaits either a + ACCEPTED or REFUSED message by the remote + or a CANCEL, DISCONNECT by the challenger */ + SERVER_AWAIT_READY, /* await ready message from both users, then play */ + SERVER_PLAY, /* now the game is actually running: valid messages are + paddle updates, pause requests, chat messages and exits */ + SERVER_PAUSE /* game is paused and players may exchange chat messages + until one sends an UNPAUSE */ +}; /* states of a server game */ + +typedef struct { + ServerUser *challenger; + ServerUser *challenged; /* the two users that will play */ + + char name[20]; /* name of the levelset */ + int diff; /* difficulty level */ + int rounds; /* per level */ + int frags; /* DM: frags required to win */ + int balls; /* DM: number of balls a paddle may fire */ +} ServerGameCtx; + +typedef struct { + int id; /* users join a game by sending its id */ + int state; /* current state as above */ + ServerUser *users[2]; /* pointers to chat channel: + 0 - challenger + 1 - challenged */ + ServerChannel *channel; /* the channel the users are in */ + + LevelSet *set; /* pointer to the current set */ + int rounds_per_level; + int rounds; /* level count * rounds per level */ + int cur_round; /* id of current round. level id + is cur_round / rounds */ + int cur_level; /* id of current level */ + + int ready[2]; /* wether user has sent READY */ + Game *game; /* the actual game data used by server */ + GameStats stats[2]; /* game stats: + 0 - challenger + 1 - challenged */ + int game_over; /* True after last round was finalized + and stats have been send. */ +} ServerGame; + +/***** PUBLIC FUNCTIONS ****************************************************/ + +#endif diff --git a/project/jni/application/lbreakout2/server/server_game.c b/project/jni/application/lbreakout2/server/server_game.c new file mode 100644 index 000000000..4627d1a05 --- /dev/null +++ b/project/jni/application/lbreakout2/server/server_game.c @@ -0,0 +1,616 @@ +/*************************************************************************** + server_game.c - description + ------------------- + begin : 03/03/19 + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +/***** INCLUDES ************************************************************/ + +#include "server.h" + +/***** EXTERNAL VARIABLES **************************************************/ + +extern List *games; +extern int global_id; +extern char errbuf[128]; /* used to compile error messages */ +extern char msgbuf[MAX_MSG_SIZE]; /* used to compile messages */ +extern int msglen; +extern List *levelsets; +extern char net_buffer[MAX_MSG_SIZE + PACKET_HEADER_SIZE]; +extern int server_frame_delay; +extern int msg_read_pos, net_buffer_cur_size; + +extern void send_info( ServerUser *user, int type, char *format, ... ); +extern void channel_hide_user( ServerChannel *channel, ServerUser *user, int hide ); +extern void channel_remove_user( ServerChannel *channel, ServerUser *user ); +extern void send_full_update( ServerUser *user, ServerChannel *channel ); + +/***** EXPORTS *************************************************************/ + +/***** FORWARDED DECLARATIONS **********************************************/ + +/***** LOCAL TYPE DEFINITIONS **********************************************/ + +/***** LOCAL VARIABLES *****************************************************/ + +/***** LOCAL FUNCTIONS *****************************************************/ + +#ifdef NETWORK_ENABLED + +/* update the position of top paddle */ +static void update_bot_paddle( Game *game, int ms ) +{ + int src_x, dest_x, dir; + Ball *ball, *min_ball = 0; + Extra *extra, *min_extra = 0; + Paddle *paddle = game->paddles[PADDLE_TOP]; + int move = 0; + static int entropy = 0; + float change; + + /* always fire */ + paddle->fire_left = 1; + + /* get nearest ball */ + list_reset( game->balls ); + while ( ( ball = list_next( game->balls ) ) ) { + if ( ball->attached ) continue; + if ( min_ball == 0 || ball->y < min_ball->y ) + min_ball = ball; + } + /* get nearest extra */ + list_reset( game->extras ); + while ( ( extra = list_next( game->extras ) ) ) { + if ( extra->dir != -1 ) continue; + if ( min_extra == 0 || extra->y < min_extra->y ) + min_extra = extra; + } + + src_x = paddle->x + paddle->w/2; + dest_x = paddle->x + paddle->w/2; + if ( min_ball || min_extra ) { + if ( min_ball && ( min_extra == 0 || min_ball->y < min_extra->y ) ) { + dest_x = min_ball->x + 6; + move = 1; + } + else + if ( min_extra && ( min_ball == 0 || min_extra->y < min_ball->y ) ) { + dest_x = min_extra->x + 20; + move = 1; + } + } + dir = (dest_xsrc_x)?1:0; + + entropy = (rand() % 17)-8; + if ( move && dir != 0 ) { + change = paddle->bot_vx * ms; + /* due to high 'ms' the change might be so much that + * the paddle would start to jump epileptically, so + * set position to 'dest' then */ + if ( dir < 0 && src_x-changecur_x = dest_x+entropy - paddle->w/2; + else + if ( dir > 0 && src_x+change>dest_x-entropy ) + paddle->cur_x = dest_x-entropy - paddle->w/2; + else + paddle->cur_x += change * dir; + if ( paddle->cur_x < BRICK_WIDTH ) + paddle->cur_x = BRICK_WIDTH; + if ( paddle->cur_x + paddle->w >= 640 - BRICK_WIDTH ) + paddle->cur_x = 640 - BRICK_WIDTH - paddle->w; + paddle->x = (int)paddle->cur_x; + } +} + +static LevelSet *find_levelset( char *name ) +{ + LevelSet *set; + + list_reset( levelsets ); + while ( (set = list_next( levelsets ) ) ) + if ( !strcmp( set->name, name ) ) + return set; + return 0; +} + +static void send_level( Level *level, ServerUser *user, int l_pos ) +{ + if ( user->bot ) return; + + msgbuf[0] = MSG_LEVEL_DATA; + msgbuf[1] = l_pos; + msglen = 2; + comm_pack_level( level, msgbuf, &msglen ); + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); +} + +static void init_next_round( ServerGame *game ) +{ + game->cur_round++; + game->cur_level = game->cur_round / game->rounds_per_level; + game_init( game->game, game->set->levels[game->cur_level] ); + + /* send level and wait for ready */ + game->state = SERVER_AWAIT_READY; + game->ready[0] = game->ready[1] = 0; + send_level( game->set->levels[game->cur_level], + game->users[0], PADDLE_BOTTOM ); + if ( !game->users[1]->bot ) + send_level( game->set->levels[game->cur_level], + game->users[1], PADDLE_TOP ); + else + game->ready[1] = 1; /* bot is always the challenged one */ + + /* set up bot top paddle if any */ + if ( game->users[1]->bot ) + game->game->paddles[PADDLE_TOP]->bot_vx = + 0.001 * game->users[1]->bot_level; + +} + +static void finalize_round( ServerGame *game ) +{ + /* update stats */ + game_update_stats( 0, &game->stats[0] ); + game_update_stats( 1, &game->stats[1] ); + + /* finalize */ + game_finalize( game->game ); + + /* tell clients that round is over */ + if ( game->cur_round == game->rounds-1 ) + msgbuf[0] = MSG_LAST_ROUND_OVER; + else + msgbuf[0] = MSG_ROUND_OVER; + msgbuf[1] = game->game->winner; + msglen = 2; + socket_transmit( &game->users[0]->socket, CODE_BLUE, msglen, msgbuf ); + if ( !game->users[1]->bot ) + socket_transmit( &game->users[1]->socket, CODE_BLUE, msglen, msgbuf ); + + /* if this was the last round set game_over */ + if ( game->cur_round == game->rounds-1 ) + game->game_over = 1; +} + +/* send game statistics were the first stats is the user it is send + * to and the second is the opponents stats */ +static void send_stats( ServerUser *user, GameStats *stats1, GameStats *stats2 ) +{ + int count; + int kept[2] = {0,0}, bricks[2] = {0,0}, extras[2] = {0,0}; + + if ( user->bot ) return; + + count = stats1->balls_reflected + stats1->balls_lost; + if ( count > 0 ) + kept[0] = 100 * stats1->balls_reflected / count; + count = stats2->balls_reflected + stats2->balls_lost; + if ( count > 0 ) + kept[1] = 100 * stats2->balls_reflected / count; + if ( stats1->total_brick_count > 0 ) + bricks[0] = 100 * stats1->bricks_cleared / stats1->total_brick_count; + if ( stats2->total_brick_count > 0 ) + bricks[1] = 100 * stats2->bricks_cleared / stats2->total_brick_count; + if ( stats1->total_extra_count > 0 ) + extras[0] = 100 * stats1->extras_collected / stats1->total_extra_count; + if ( stats2->total_extra_count > 0 ) + extras[1] = 100 * stats2->extras_collected / stats2->total_extra_count; + + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_GAME_STATS ); + msg_write_int8( stats1->wins ); + msg_write_int8( stats2->wins ); + msg_write_int8( stats1->losses ); + msg_write_int8( stats2->losses ); + msg_write_int8( stats1->draws ); + msg_write_int8( stats2->draws ); + msg_write_int32( stats1->total_score ); + msg_write_int32( stats2->total_score ); + msg_write_int8( kept[0] ); + msg_write_int8( kept[1] ); + msg_write_int8( bricks[0] ); + msg_write_int8( bricks[1] ); + msg_write_int8( extras[0] ); + msg_write_int8( extras[1] ); + + socket_transmit( &user->socket, CODE_BLUE, msglen, msgbuf ); +} + +/***** PUBLIC FUNCTIONS ****************************************************/ + +/* Add a new game by the context information, hide both users + * and send a challenge message to the challenged user. */ +void server_game_add( ServerChannel *channel, ServerGameCtx *ctx ) +{ + ServerGame *game = salloc( 1, sizeof( ServerGame ) ); + + /* copy game data */ + game->state = SERVER_AWAIT_ACCEPT; + game->id = global_id++; + game->channel = channel; + game->set = find_levelset( ctx->name ); + if ( game->set == 0 ) { + /* should never happen... */ + sprintf( errbuf, "game_create_failed: no levelset '%s' found\n", ctx->name ); + send_info( ctx->challenger, MSG_ERROR, errbuf ); + free( game ); + return; + } + game->rounds_per_level = ctx->rounds; + game->rounds = game->set->count * game->rounds_per_level; + game->cur_round = -1; /* init_next_round will increase this to 0 */ + /* create game module */ + if ( (game->game = game_create( GT_NETWORK, ctx->diff, 100/*no rel warp*/ )) == 0 ) { + /* send error to user */ + strncpy(errbuf,"game_create failed: out of memory",128); + send_info( ctx->challenger, MSG_ERROR, errbuf ); + free( game ); + return; + } + game_set_current( game->game ); + game_set_ball_ammo( ctx->balls ); + game_set_frag_limit( ctx->frags ); + game_set_convex_paddle( 1 ); + game_set_ball_random_angle( 1 ); + + /* set game for both users and set both users for game */ + ctx->challenger->game = game; + ctx->challenged->game = game; + ctx->challenger->player_id = 0; + ctx->challenged->player_id = 1; + game->users[0] = ctx->challenger; + game->users[1] = ctx->challenged; + + /* hide both users */ + channel_hide_user( channel, ctx->challenger, 1 ); + channel_hide_user( channel, ctx->challenged, 1 ); + + /* inform challenged user */ + if ( !ctx->challenged->bot ) { + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_CHALLENGE ); + msg_write_string( ctx->challenger->name ); + msg_write_string( ctx->name ); + msg_write_int8( ctx->diff ); + msg_write_int8( ctx->rounds ); + msg_write_int8( ctx->frags ); + msg_write_int8( ctx->balls ); + socket_transmit( &ctx->challenged->socket, CODE_BLUE, msglen, msgbuf ); + } + else { + /* instantly accept as bot */ + msgbuf[0] = MSG_ACCEPT_CHALLENGE; + socket_transmit( &game->users[0]->socket, + CODE_BLUE, 1, msgbuf ); + init_next_round( game ); + } + + list_add( games, game ); + 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 ); +} + +/* Free game memory. */ +void server_game_delete( void *ptr ) +{ + ServerGame *game = (ServerGame*)ptr; + + if ( game ) { + printf( _("game deleted: %s (%i)\n"), game->set->name, game->id ); + + if ( game->game ) + game_delete( &game->game ); + free( game ); + } +} + +/* unhide the users to their chat channel and delete the game. + * if game was beyond state AWAIT_ACCEPT the game stats are send + */ +void server_game_remove( ServerGame *game ) +{ + int i; + + /* users are not unhidden if the actual game has already started + * as they need time to read the error messages (if any) then */ + if ( game->state == SERVER_AWAIT_ACCEPT ) + for ( i = 0; i < 2; i++ ) { + if ( game->users[i]->hidden ) + channel_hide_user( game->channel, game->users[i], 0 ); + } + else { + /* send stats */ + send_stats( game->users[0], &game->stats[0], &game->stats[1] ); + send_stats( game->users[1], &game->stats[1], &game->stats[0] ); + + /* and unhide bot if any */ + if ( game->users[1]->bot ) + channel_hide_user( game->channel, game->users[1], 0 ); + } + + /* clear user game pointer */ + game->users[0]->game = 0; + game->users[1]->game = 0; + + /* free memory */ + list_delete_item( games, game ); +} + +/* void parse_packet_game + * IN ServerGame *game + * IN ServerUser *user + * + * Check all messages in packet from user who is currently within + * a game. The header has already been successfully processed and + * the read pointer is at the beginning of the first message. + */ +void parse_packet_game( ServerGame *game, ServerUser *user ) +{ + ServerUser *peer; + unsigned char type; + int handled, i; + + game_set_current( game->game ); + + while ( 1 ) { + type = (unsigned)msg_read_int8(); handled = 0; + msglen = 0; /* the extract functions require a position pointer */ + + if ( msg_read_failed() ) break; /* no more messages */ + + /* general messages */ + switch ( type ) { + case MSG_HEARTBEAT: + /* updates the socket information automatically + * so connection is not closed */ + handled = 1; + break; + case MSG_DISCONNECT: + /* update stats and finalize context if playing */ + if ( game->state != SERVER_AWAIT_ACCEPT ) { + game->game->winner = -1; /* count unfinished level as draw */ + game_update_stats( 0, &game->stats[0] ); + game_update_stats( 1, &game->stats[1] ); + game_finalize( game->game ); + } + + if ( user == game->users[0] ) + peer = game->users[1]; + else + peer = game->users[0]; + send_info( peer, MSG_ERROR, _("Remote player has disconnected...") ); + + server_game_remove( game ); + printf( _("%s (%i) disconnected\n"), user->name, user->id ); + channel_remove_user( game->channel, user ); + handled = 1; + break; + case MSG_QUIT_GAME: + if ( user == game->users[0] ) + peer = game->users[1]; + else + peer = game->users[0]; + 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 */ + game_update_stats( 0, &game->stats[0] ); + game_update_stats( 1, &game->stats[1] ); + game_finalize( game->game ); + + server_game_remove( game ); + handled = 1; + break; + case MSG_UNHIDE: + /* it's very unlikely that the user sends this + * message while being in the game context but to be sure + * he may unhide here */ + if ( user->hidden ) + channel_hide_user( game->channel, user, 0 ); + handled = 1; + break; + } + + /* challenge */ + if ( game->state == SERVER_AWAIT_ACCEPT ) + switch ( type ) { + case MSG_ACCEPT_CHALLENGE: + if ( user == game->users[1] ) { + /* inform opponent */ + msgbuf[0] = MSG_ACCEPT_CHALLENGE; + socket_transmit( &game->users[0]->socket, + CODE_BLUE, 1, msgbuf ); + + init_next_round( game ); + handled = 1; + } + break; + case MSG_REJECT_CHALLENGE: + if ( user == game->users[1] ) { + /* tell challenger that you refused the offer */ + msgbuf[0] = MSG_REJECT_CHALLENGE; + socket_transmit( &game->users[0]->socket, + CODE_BLUE, 1, msgbuf ); + + server_game_remove( game ); + handled = 1; + } + break; + case MSG_CANCEL_GAME: + if ( user == game->users[0] ) { + /* tell challenged that you cancelled the offer */ + msgbuf[0] = MSG_CANCEL_GAME; + socket_transmit( &game->users[1]->socket, + CODE_BLUE, 1, msgbuf ); + + server_game_remove( game ); + handled = 1; + } + break; + } + + /* preparation */ + if ( game->state == SERVER_AWAIT_READY ) + if ( type == MSG_READY ) { + game->ready[user->player_id] = 1; + if ( game->ready[0] && game->ready[1] ) + game->state = SERVER_PLAY; + handled = 1; + } + + /* in-game messages */ + if ( game->state == SERVER_PLAY ) + switch ( type ) { + case MSG_PADDLE_STATE: + comm_unpack_paddle( game->game->paddles[user->player_id], + net_buffer, &msg_read_pos ); + handled = 1; + break; + case MSG_PAUSE: + game->state = SERVER_PAUSE; + + msgbuf[0] = MSG_PAUSE; msglen = 1; + if ( user == game->users[0] ) + peer = game->users[1]; + else + peer = game->users[0]; + if ( !peer->bot ) + socket_transmit( &peer->socket, CODE_BLUE, msglen, msgbuf ); + handled = 1; + break; + } + + /* pause messages */ + if ( game->state == SERVER_PAUSE ) + switch ( type ) { + case MSG_UNPAUSE: + game->state = SERVER_PLAY; + for ( i = 0; i < game->game->paddle_count; i++ ) + game->game->paddles[i]->last_ball_contact = SDL_GetTicks(); + + msgbuf[0] = MSG_UNPAUSE; msglen = 1; + if ( user == game->users[0] ) + peer = game->users[1]; + else + peer = game->users[0]; + if ( !peer->bot ) + socket_transmit( &peer->socket, CODE_BLUE, msglen, msgbuf ); + handled = 1; + break; + case MSG_CHATTER: + /* client has added prefix so simply pass it + * to the remote user */ + msg_begin_writing( msgbuf, &msglen, MAX_MSG_SIZE ); + msg_write_int8( MSG_CHATTER ); + msg_write_string( msg_read_string() ); + if ( !msg_write_failed() ) { + if ( user == game->users[0] ) + peer = game->users[1]; + else + peer = game->users[0]; + if ( !peer->bot ) + socket_transmit( &peer->socket, + CODE_BLUE, msglen, msgbuf ); + } + handled = 1; + break; + } + + if ( !handled ) { + 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; + } + + } +} + +/* void update_games + * IN int ms milliseconds passed since last call + * + * Update the objects of all games that are actually playing. + */ +void update_games( int ms ) +{ + int i; + ServerGame *game; + + list_reset( games ); + while ( (game = list_next( games ) ) ) { + if ( game->state != SERVER_PLAY ) continue; + + game_set_current( game->game ); + game_update( ms ); + + /* send updates to remote players */ + + if ( game->game->level_over ) { + finalize_round( game ); + if ( game->game_over ) + server_game_remove( game ); + else + init_next_round( game ); + continue; + } + + /* if playing against a bot update the top paddle */ + if ( game->users[1]->bot ) + update_bot_paddle( game->game, ms ); + + /* pack update */ + msglen = 0; + + msgbuf[msglen++] = MSG_PADDLE_STATE; + comm_pack_paddle( game->game->paddles[1], msgbuf, &msglen ); + + msgbuf[msglen++] = MSG_BALL_POSITIONS; + comm_pack_balls( msgbuf, &msglen ); + + if ( game->game->shots->count > 0 ) { + msgbuf[msglen++] = MSG_SHOT_POSITIONS; + comm_pack_shots( msgbuf, &msglen ); + } + + msgbuf[msglen++] = MSG_SCORES; + comm_pack_scores( msgbuf, &msglen ); + + if ( game->game->mod.brick_hit_count > 0 ) { + msgbuf[msglen++] = MSG_BRICK_HITS; + comm_pack_brick_hits( msgbuf, &msglen ); + } + + if ( game->game->mod.collected_extra_count[0] > 0 || + game->game->mod.collected_extra_count[1] > 0 ) { + msgbuf[msglen++] = MSG_NEW_EXTRAS; + comm_pack_collected_extras( msgbuf, &msglen ); + } + + /* send packet */ + socket_transmit( &game->users[0]->socket, CODE_BLUE, msglen, msgbuf ); + + /* replace paddle which has a constant size */ + i = 1; + comm_pack_paddle( game->game->paddles[0], msgbuf, &i ); + if ( !game->users[1]->bot ) + socket_transmit( &game->users[1]->socket, CODE_BLUE, msglen, msgbuf ); + + game_reset_mods(); + } +} + +#endif + diff --git a/project/jni/application/lbreakout2/server/server_game.h b/project/jni/application/lbreakout2/server/server_game.h new file mode 100644 index 000000000..874c71e03 --- /dev/null +++ b/project/jni/application/lbreakout2/server/server_game.h @@ -0,0 +1,57 @@ +/*************************************************************************** + server_game.h - description + ------------------- + begin : 03/03/19 + copyright : (C) 2003 by Michael Speck + email : kulkanie@gmx.net + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef __SERVER_GAME_H +#define __SERVER_GAME_H + +/***** INCLUDES ************************************************************/ + +/***** TYPE DEFINITIONS ****************************************************/ + +/***** PUBLIC FUNCTIONS ****************************************************/ + +/* Add a new game by the context information, hide both users + * and send a challenge message to the challenged user. */ +void server_game_add( ServerChannel *channel, ServerGameCtx *ctx ); + +/* Free game memory. */ +void server_game_delete( void *ptr ); + +/* unhide the users to their chat channel and delete the game. + * if game was beyond state AWAIT_ACCEPT the game stats are send + */ +void server_game_remove( ServerGame *game ); + +/* void parse_packet_game + * IN ServerGame *game + * IN ServerUser *user + * + * Check all messages in packet from user who is currently within + * a game. The header has already been successfully processed and the + * read pointer is at the beginning of the first message. + */ +void parse_packet_game( ServerGame *game, ServerUser *user ); + +/* void update_games + * IN int ms milliseconds passed since last call + * + * Update the objects of all games that are actually playing. + */ +void update_games( int ms ); + +#endif + diff --git a/project/jni/application/lbreakout2/stamp-h1 b/project/jni/application/lbreakout2/stamp-h1 new file mode 100644 index 000000000..4547fe1b5 --- /dev/null +++ b/project/jni/application/lbreakout2/stamp-h1 @@ -0,0 +1 @@ +timestamp for config.h diff --git a/project/jni/application/lbreakout2/touchall b/project/jni/application/lbreakout2/touchall new file mode 100755 index 000000000..74bb47cc4 --- /dev/null +++ b/project/jni/application/lbreakout2/touchall @@ -0,0 +1,7 @@ +touch 0101120002 * +touch 0101120002 src/* +touch 0101120002 src/docs/* +touch 0101120002 src/gfx/* +touch 0101120002 src/levels/* +touch 0101120002 src/sounds/* + diff --git a/project/jni/application/lbreakout2/win32_mancomp b/project/jni/application/lbreakout2/win32_mancomp new file mode 100755 index 000000000..edfef509b --- /dev/null +++ b/project/jni/application/lbreakout2/win32_mancomp @@ -0,0 +1,16 @@ +dirs="gui +common +game +server +client" +if [ ! -z "$1" ]; then + dirs=$1 +fi +for dir in $dirs; do + cd $dir + for file in *.c; do + echo "making $dir/$file" + gcc -DNETWORK_ENABLED -DSDL_NET_ENABLED -march=i386 -DAUDIO_ENABLED -DSRC_DIR=\".\" -DHI_DIR=\".\" -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -Wall -I/usr/local/include/SDL -Dmain=SDL_main -c `test -f $file || echo './'`$file + done + cd .. +done diff --git a/project/jni/application/lbreakout2/win32_preparchive b/project/jni/application/lbreakout2/win32_preparchive new file mode 100755 index 000000000..2f3b13921 --- /dev/null +++ b/project/jni/application/lbreakout2/win32_preparchive @@ -0,0 +1,22 @@ +rm -rf lbreakout2 +mkdir lbreakout2 lbreakout2/client lbreakout2/server +cp -R client/gfx client/gui_theme client/levels client/sounds lbreakout2/client +cp -R server/levels lbreakout2/server +cp client/lbreakout2.exe lbreakout2/client +cp server/lbreakout2server.exe lbreakout2/server +cp win32dlls/*.dll lbreakout2/client +cp win32dlls/SDL_net.dll lbreakout2/server +cp AUTHORS COPYING INSTALL README TODO Changelog lbreakout2 + +makefiles=`find lbreakout2 -name Makefile` +for file in $makefiles; do + rm $file +done +makefiles=`find lbreakout2 -name Makefile.am` +for file in $makefiles; do + rm $file +done +makefiles=`find lbreakout2 -name Makefile.in` +for file in $makefiles; do + rm $file +done