Codebase list burgerspace / 8c92fb4
Imported Upstream version 1.8.3 Francois Marier 15 years ago
135 changed file(s) with 518 addition(s) and 382 deletion(s). Raw diff Collapse all Expand all
0 # $Id: Makefile.am,v 1.11 2007/12/22 23:03:35 sarrazip Exp $
0 # $Id: Makefile.am,v 1.13 2007/12/25 07:06:25 sarrazip Exp $
11
22 SUBDIRS = src
33
0 # Makefile.in generated by automake 1.10 from Makefile.am.
0 # Makefile.in generated by automake 1.10.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
77 # with or without modifications, as long as this notice is preserved.
1313
1414 @SET_MAKE@
1515
16 # $Id: Makefile.am,v 1.11 2007/12/22 23:03:35 sarrazip Exp $
16 # $Id: Makefile.am,v 1.13 2007/12/25 07:06:25 sarrazip Exp $
1717
1818 VPATH = @srcdir@
1919 pkgdatadir = $(datadir)/@PACKAGE@
393393 unique=`for i in $$list; do \
394394 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
395395 done | \
396 $(AWK) ' { files[$$0] = 1; } \
397 END { for (i in files) print i; }'`; \
396 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
397 END { if (nonempty) { for (i in files) print i; }; }'`; \
398398 mkid -fID $$unique
399399 tags: TAGS
400400
419419 unique=`for i in $$list; do \
420420 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
421421 done | \
422 $(AWK) ' { files[$$0] = 1; } \
423 END { for (i in files) print i; }'`; \
422 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
423 END { if (nonempty) { for (i in files) print i; }; }'`; \
424424 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
425425 test -n "$$unique" || unique=$$empty_fix; \
426426 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
430430 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
431431 $(TAGS_FILES) $(LISP)
432432 tags=; \
433 here=`pwd`; \
434433 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
435434 unique=`for i in $$list; do \
436435 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
437436 done | \
438 $(AWK) ' { files[$$0] = 1; } \
439 END { for (i in files) print i; }'`; \
437 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
438 END { if (nonempty) { for (i in files) print i; }; }'`; \
440439 test -z "$(CTAGS_ARGS)$$tags$$unique" \
441440 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
442441 $$tags $$unique
507506 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
508507 $(am__remove_distdir)
509508
509 dist-lzma: distdir
510 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
511 $(am__remove_distdir)
512
510513 dist-tarZ: distdir
511514 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
512515 $(am__remove_distdir)
533536 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
534537 *.tar.bz2*) \
535538 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
539 *.tar.lzma*) \
540 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
536541 *.tar.Z*) \
537542 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
538543 *.shar.gz*) \
689694 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
690695 all all-am am--refresh check check-am clean clean-generic \
691696 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
692 dist-shar dist-tarZ dist-zip distcheck distclean \
697 dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
693698 distclean-generic distclean-tags distcleancheck distdir \
694699 distuninstallcheck dvi dvi-am html html-am info info-am \
695700 install install-am install-data install-data-am \
0 2009-02-26: BurgerSpace 1.8.3 to be released.
1
2 Pressing Escape key to quit now brings up a confirmation dialog.
3
4 Various fixes to compile under GCC 4.3.
5
6 The XPM files now define "const" character arrays.
7
08 2007-12-22: BurgerSpace 1.8.2 released.
19
210 Games can be saved and loaded. This code is experimental.
00 BurgerSpace - A BurgerTime(TM) clone.
11
2 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
2 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
33 This program is free software distributed under the GNU GPL.
44 See the file COPYING.
55
0 # generated automatically by aclocal 1.10 -*- Autoconf -*-
0 # generated automatically by aclocal 1.10.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3 # 2005, 2006 Free Software Foundation, Inc.
3 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
66 # with or without modifications, as long as this notice is preserved.
1010 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
1111 # PARTICULAR PURPOSE.
1212
13 m4_if(m4_PACKAGE_VERSION, [2.61],,
14 [m4_fatal([this file was generated for autoconf 2.61.
15 You have another version of autoconf. If you want to use that,
16 you should regenerate the build system entirely.], [63])])
13 m4_ifndef([AC_AUTOCONF_VERSION],
14 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(AC_AUTOCONF_VERSION, [2.61],,
16 [m4_warning([this file was generated for autoconf 2.61.
17 You have another version of autoconf. It may work, but is not guaranteed to.
18 If you have problems, you may need to regenerate the build system entirely.
19 To do so, use the procedure documented by the package, typically `autoreconf'.])])
1720
1821 # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
1922 #
8386 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8487 # ---------------------------------------------
8588 m4_define([_PKG_CONFIG],
86 [if test -n "$PKG_CONFIG"; then
87 if test -n "$$1"; then
88 pkg_cv_[]$1="$$1"
89 else
90 PKG_CHECK_EXISTS([$3],
91 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
92 [pkg_failed=yes])
93 fi
94 else
95 pkg_failed=untried
89 [if test -n "$$1"; then
90 pkg_cv_[]$1="$$1"
91 elif test -n "$PKG_CONFIG"; then
92 PKG_CHECK_EXISTS([$3],
93 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
94 [pkg_failed=yes])
95 else
96 pkg_failed=untried
9697 fi[]dnl
9798 ])# _PKG_CONFIG
9899
136137 if test $pkg_failed = yes; then
137138 _PKG_SHORT_ERRORS_SUPPORTED
138139 if test $_pkg_short_errors_supported = yes; then
139 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
140 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
140141 else
141 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
142 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
142143 fi
143144 # Put the nasty error message in config.log where it belongs
144145 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
163164
164165 _PKG_TEXT
165166
166 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.])],
167 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
167168 [$4])
168169 else
169170 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
173174 fi[]dnl
174175 ])# PKG_CHECK_MODULES
175176
176 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
177 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
177178 #
178179 # This file is free software; the Free Software Foundation
179180 # gives unlimited permission to copy and/or distribute it,
188189 [am__api_version='1.10'
189190 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
190191 dnl require some minimum version. Point them to the right macro.
191 m4_if([$1], [1.10], [],
192 m4_if([$1], [1.10.1], [],
192193 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
193194 ])
194195
204205 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
205206 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
206207 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
207 [AM_AUTOMAKE_VERSION([1.10])dnl
208 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
208 [AM_AUTOMAKE_VERSION([1.10.1])dnl
209 m4_ifndef([AC_AUTOCONF_VERSION],
210 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
211 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
209212
210213 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
211214
477480 # each Makefile.in and add a new line on top of each file to say so.
478481 # Grep'ing the whole file is not good either: AIX grep has a line
479482 # limit of 2048, but all sed's we know have understand at least 4000.
480 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
483 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
481484 dirpart=`AS_DIRNAME("$mf")`
482485 else
483486 continue
525528 # Do all the work for Automake. -*- Autoconf -*-
526529
527530 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
528 # 2005, 2006 Free Software Foundation, Inc.
529 #
530 # This file is free software; the Free Software Foundation
531 # gives unlimited permission to copy and/or distribute it,
532 # with or without modifications, as long as this notice is preserved.
533
534 # serial 12
531 # 2005, 2006, 2008 Free Software Foundation, Inc.
532 #
533 # This file is free software; the Free Software Foundation
534 # gives unlimited permission to copy and/or distribute it,
535 # with or without modifications, as long as this notice is preserved.
536
537 # serial 13
535538
536539 # This macro actually does too much. Some checks are only needed if
537540 # your package does certain things. But this isn't really a big deal.
636639 # our stamp files there.
637640 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
638641 [# Compute $1's index in $config_headers.
642 _am_arg=$1
639643 _am_stamp_count=1
640644 for _am_header in $config_headers :; do
641645 case $_am_header in
642 $1 | $1:* )
646 $_am_arg | $_am_arg:* )
643647 break ;;
644648 * )
645649 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
646650 esac
647651 done
648 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
652 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
649653
650654 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
651655 #
917921
918922 # _AM_SUBST_NOTMAKE(VARIABLE)
919923 # ---------------------------
920 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
924 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
921925 # This macro is traced by Automake.
922926 AC_DEFUN([_AM_SUBST_NOTMAKE])
923927
00 #!/bin/sh
11
2 ./bootstrap && ./configure $*
2 ./bootstrap && ./configure "$@"
66 # Source archive's extension can be specified with rpm --define 'srcext .foo'
77 # where .foo is the source archive's actual extension.
88 # To compile an RPM from a .bz2 source archive, give the command
9 # rpmbuild -ta --define 'srcext .bz2' burgerspace-1.8.2.tar.bz2
9 # rpmbuild -ta --define 'srcext .bz2' burgerspace-1.8.3.tar.bz2
1010 #
1111 %if %{?rel:0}%{!?rel:1}
1212 %define rel 1
1717
1818 Summary: A Burgertime(TM) clone
1919 Name: burgerspace
20 Version: 1.8.2
20 Version: 1.8.3
2121 Release: %{rel}
2222 License: GPL
2323 Group: Amusements/Games
2525 URL: http://sarrazip.com/dev/%{name}.html
2626 Prefix: /usr
2727 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
28 Requires: flatzebra >= 0.1.0
29 BuildRequires: flatzebra-devel >= 0.1.0
28 Requires: flatzebra >= 0.1.2
29 BuildRequires: flatzebra-devel >= 0.1.2
3030
3131 %description
3232 BurgerSpace is a game in which you are a chef, and must walk over
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 # Inc.
5
6 timestamp='2006-07-02'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4 # Free Software Foundation, Inc.
5
6 timestamp='2008-01-08'
77
88 # This file is free software; you can redistribute it and/or modify it
99 # under the terms of the GNU General Public License as published by
5555 GNU config.guess ($timestamp)
5656
5757 Originally written by Per Bothner.
58 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
59 Free Software Foundation, Inc.
58 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
59 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6060
6161 This is free software; see the source for copying conditions. There is NO
6262 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
160160 arm*) machine=arm-unknown ;;
161161 sh3el) machine=shl-unknown ;;
162162 sh3eb) machine=sh-unknown ;;
163 sh5el) machine=sh5le-unknown ;;
163164 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
164165 esac
165166 # The Operating System including object format, if it has switched
328329 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
329330 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
330331 exit ;;
331 i86pc:SunOS:5.*:*)
332 i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
332333 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
333334 exit ;;
334335 sun4*:SunOS:6*:*)
530531 echo rs6000-ibm-aix3.2
531532 fi
532533 exit ;;
533 *:AIX:*:[45])
534 *:AIX:*:[456])
534535 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
535536 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
536537 IBM_ARCH=rs6000
779780 i*:CYGWIN*:*)
780781 echo ${UNAME_MACHINE}-pc-cygwin
781782 exit ;;
782 i*:MINGW*:*)
783 *:MINGW*:*)
783784 echo ${UNAME_MACHINE}-pc-mingw32
784785 exit ;;
785786 i*:windows32*:*)
789790 i*:PW*:*)
790791 echo ${UNAME_MACHINE}-pc-pw32
791792 exit ;;
792 x86:Interix*:[3456]*)
793 echo i586-pc-interix${UNAME_RELEASE}
794 exit ;;
795 EM64T:Interix*:[3456]*)
796 echo x86_64-unknown-interix${UNAME_RELEASE}
797 exit ;;
793 *:Interix*:[3456]*)
794 case ${UNAME_MACHINE} in
795 x86)
796 echo i586-pc-interix${UNAME_RELEASE}
797 exit ;;
798 EM64T | authenticamd)
799 echo x86_64-unknown-interix${UNAME_RELEASE}
800 exit ;;
801 IA64)
802 echo ia64-unknown-interix${UNAME_RELEASE}
803 exit ;;
804 esac ;;
798805 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
799806 echo i${UNAME_MACHINE}-pc-mks
800807 exit ;;
828835 echo ${UNAME_MACHINE}-pc-minix
829836 exit ;;
830837 arm*:Linux:*:*)
831 echo ${UNAME_MACHINE}-unknown-linux-gnu
838 eval $set_cc_for_build
839 if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
840 | grep -q __ARM_EABI__
841 then
842 echo ${UNAME_MACHINE}-unknown-linux-gnu
843 else
844 echo ${UNAME_MACHINE}-unknown-linux-gnueabi
845 fi
832846 exit ;;
833847 avr32*:Linux:*:*)
834848 echo ${UNAME_MACHINE}-unknown-linux-gnu
948962 exit ;;
949963 x86_64:Linux:*:*)
950964 echo x86_64-unknown-linux-gnu
965 exit ;;
966 xtensa*:Linux:*:*)
967 echo ${UNAME_MACHINE}-unknown-linux-gnu
951968 exit ;;
952969 i*86:Linux:*:*)
953970 # The BFD linker knows what the default object file format is, so
12071224 SX-6:SUPER-UX:*:*)
12081225 echo sx6-nec-superux${UNAME_RELEASE}
12091226 exit ;;
1227 SX-7:SUPER-UX:*:*)
1228 echo sx7-nec-superux${UNAME_RELEASE}
1229 exit ;;
1230 SX-8:SUPER-UX:*:*)
1231 echo sx8-nec-superux${UNAME_RELEASE}
1232 exit ;;
1233 SX-8R:SUPER-UX:*:*)
1234 echo sx8r-nec-superux${UNAME_RELEASE}
1235 exit ;;
12101236 Power*:Rhapsody:*:*)
12111237 echo powerpc-apple-rhapsody${UNAME_RELEASE}
12121238 exit ;;
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
4 # Inc.
5
6 timestamp='2006-09-20'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
4 # Free Software Foundation, Inc.
5
6 timestamp='2008-01-16'
77
88 # This file is (in principle) common to ALL GNU software.
99 # The presence of a machine in this file suggests that SOME GNU software
7171 version="\
7272 GNU config.sub ($timestamp)
7373
74 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
75 Free Software Foundation, Inc.
74 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
75 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7676
7777 This is free software; see the source for copying conditions. There is NO
7878 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
244244 | bfin \
245245 | c4x | clipper \
246246 | d10v | d30v | dlx | dsp16xx \
247 | fr30 | frv \
247 | fido | fr30 | frv \
248248 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
249249 | i370 | i860 | i960 | ia64 \
250250 | ip2k | iq2000 \
251251 | m32c | m32r | m32rle | m68000 | m68k | m88k \
252 | maxq | mb | microblaze | mcore \
252 | maxq | mb | microblaze | mcore | mep \
253253 | mips | mipsbe | mipseb | mipsel | mipsle \
254254 | mips16 \
255255 | mips64 | mips64el \
323323 | clipper-* | craynv-* | cydra-* \
324324 | d10v-* | d30v-* | dlx-* \
325325 | elxsi-* \
326 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
326 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
327327 | h8300-* | h8500-* \
328328 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
329329 | i*86-* | i860-* | i960-* | ia64-* \
368368 | v850-* | v850e-* | vax-* \
369369 | we32k-* \
370370 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
371 | xstormy16-* | xtensa-* \
371 | xstormy16-* | xtensa*-* \
372372 | ymp-* \
373373 | z8k-*)
374 ;;
375 # Recognize the basic CPU types without company name, with glob match.
376 xtensa*)
377 basic_machine=$basic_machine-unknown
374378 ;;
375379 # Recognize the various machine names and aliases which stand
376380 # for a CPU type and a company and sometimes even an OS.
442446 basic_machine=ns32k-sequent
443447 os=-dynix
444448 ;;
449 blackfin)
450 basic_machine=bfin-unknown
451 os=-linux
452 ;;
453 blackfin-*)
454 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
455 os=-linux
456 ;;
445457 c90)
446458 basic_machine=c90-cray
447459 os=-unicos
474486 basic_machine=craynv-cray
475487 os=-unicosmp
476488 ;;
477 cr16c)
478 basic_machine=cr16c-unknown
489 cr16)
490 basic_machine=cr16-unknown
479491 os=-elf
480492 ;;
481493 crds | unos)
667679 basic_machine=m68k-isi
668680 os=-sysv
669681 ;;
682 m68knommu)
683 basic_machine=m68k-unknown
684 os=-linux
685 ;;
686 m68knommu-*)
687 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
688 os=-linux
689 ;;
670690 m88k-omron*)
671691 basic_machine=m88k-omron
672692 ;;
681701 mingw32)
682702 basic_machine=i386-pc
683703 os=-mingw32
704 ;;
705 mingw32ce)
706 basic_machine=arm-unknown
707 os=-mingw32ce
684708 ;;
685709 miniframe)
686710 basic_machine=m68000-convergent
808832 basic_machine=i860-intel
809833 os=-osf
810834 ;;
835 parisc)
836 basic_machine=hppa-unknown
837 os=-linux
838 ;;
839 parisc-*)
840 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
841 os=-linux
842 ;;
811843 pbd)
812844 basic_machine=sparc-tti
813845 ;;
924956 basic_machine=sh-hitachi
925957 os=-hms
926958 ;;
959 sh5el)
960 basic_machine=sh5le-unknown
961 ;;
927962 sh64)
928963 basic_machine=sh64-unknown
929964 ;;
10121047 tic6x | c6x*)
10131048 basic_machine=tic6x-unknown
10141049 os=-coff
1050 ;;
1051 tile*)
1052 basic_machine=tile-unknown
1053 os=-linux-gnu
10151054 ;;
10161055 tx39)
10171056 basic_machine=mipstx39-unknown
12181257 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
12191258 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
12201259 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1221 | -skyos* | -haiku* | -rdos* | -toppers*)
1260 | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
12221261 # Remember, each alternative MUST END IN *, to match a version number.
12231262 ;;
12241263 -qnx*)
14131452 m68*-cisco)
14141453 os=-aout
14151454 ;;
1455 mep-*)
1456 os=-elf
1457 ;;
14161458 mips*-cisco)
14171459 os=-elf
14181460 ;;
22052205
22062206 # Define the identity of the package.
22072207 PACKAGE=burgerspace
2208 VERSION=1.8.2
2208 VERSION=1.8.3
22092209
22102210
22112211 cat >>confdefs.h <<_ACEOF
31683168
31693169 # Checks for libraries.
31703170
3171 MINVER_FLATZEBRA=0.1.0;
3171 MINVER_FLATZEBRA=0.1.2;
31723172
31733173
31743174 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32943294 { echo "$as_me:$LINENO: checking for FLATZEBRA" >&5
32953295 echo $ECHO_N "checking for FLATZEBRA... $ECHO_C" >&6; }
32963296
3297 if test -n "$PKG_CONFIG"; then
3298 if test -n "$FLATZEBRA_CFLAGS"; then
3299 pkg_cv_FLATZEBRA_CFLAGS="$FLATZEBRA_CFLAGS"
3300 else
3301 if test -n "$PKG_CONFIG" && \
3297 if test -n "$FLATZEBRA_CFLAGS"; then
3298 pkg_cv_FLATZEBRA_CFLAGS="$FLATZEBRA_CFLAGS"
3299 elif test -n "$PKG_CONFIG"; then
3300 if test -n "$PKG_CONFIG" && \
33023301 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"flatzebra-0.1 >= \$MINVER_FLATZEBRA\"") >&5
33033302 ($PKG_CONFIG --exists --print-errors "flatzebra-0.1 >= $MINVER_FLATZEBRA") 2>&5
33043303 ac_status=$?
33083307 else
33093308 pkg_failed=yes
33103309 fi
3311 fi
3312 else
3313 pkg_failed=untried
3314 fi
3315 if test -n "$PKG_CONFIG"; then
3316 if test -n "$FLATZEBRA_LIBS"; then
3317 pkg_cv_FLATZEBRA_LIBS="$FLATZEBRA_LIBS"
3318 else
3319 if test -n "$PKG_CONFIG" && \
3310 else
3311 pkg_failed=untried
3312 fi
3313 if test -n "$FLATZEBRA_LIBS"; then
3314 pkg_cv_FLATZEBRA_LIBS="$FLATZEBRA_LIBS"
3315 elif test -n "$PKG_CONFIG"; then
3316 if test -n "$PKG_CONFIG" && \
33203317 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"flatzebra-0.1 >= \$MINVER_FLATZEBRA\"") >&5
33213318 ($PKG_CONFIG --exists --print-errors "flatzebra-0.1 >= $MINVER_FLATZEBRA") 2>&5
33223319 ac_status=$?
33263323 else
33273324 pkg_failed=yes
33283325 fi
3329 fi
3330 else
3331 pkg_failed=untried
3326 else
3327 pkg_failed=untried
33323328 fi
33333329
33343330
33413337 _pkg_short_errors_supported=no
33423338 fi
33433339 if test $_pkg_short_errors_supported = yes; then
3344 FLATZEBRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "flatzebra-0.1 >= $MINVER_FLATZEBRA"`
3340 FLATZEBRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "flatzebra-0.1 >= $MINVER_FLATZEBRA" 2>&1`
33453341 else
3346 FLATZEBRA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "flatzebra-0.1 >= $MINVER_FLATZEBRA"`
3342 FLATZEBRA_PKG_ERRORS=`$PKG_CONFIG --print-errors "flatzebra-0.1 >= $MINVER_FLATZEBRA" 2>&1`
33473343 fi
33483344 # Put the nasty error message in config.log where it belongs
33493345 echo "$FLATZEBRA_PKG_ERRORS" >&5
33803376 and FLATZEBRA_LIBS to avoid the need to call pkg-config.
33813377 See the pkg-config man page for more details.
33823378
3383 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3379 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
33843380 See \`config.log' for more details." >&5
33853381 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
33863382 is in your PATH or set the PKG_CONFIG environment variable to the full
33903386 and FLATZEBRA_LIBS to avoid the need to call pkg-config.
33913387 See the pkg-config man page for more details.
33923388
3393 To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3389 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
33943390 See \`config.log' for more details." >&2;}
33953391 { (exit 1); exit 1; }; }
33963392 else
54005396 # each Makefile.in and add a new line on top of each file to say so.
54015397 # Grep'ing the whole file is not good either: AIX grep has a line
54025398 # limit of 2048, but all sed's we know have understand at least 4000.
5403 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
5399 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
54045400 dirpart=`$as_dirname -- "$mf" ||
54055401 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54065402 X"$mf" : 'X\(//\)[^/]' \| \
0 # $Id: configure.ac,v 1.8 2007/12/22 23:03:35 sarrazip Exp $
0 # $Id: configure.ac,v 1.12 2009/02/27 02:50:42 sarrazip Exp $
11
22 AC_PREREQ(2.50)
33 AC_INIT(src/BurgerSpaceEngine.h)
44 AC_CANONICAL_HOST
55 AC_CANONICAL_SYSTEM
6 AM_INIT_AUTOMAKE(burgerspace, 1.8.2)
6 AM_INIT_AUTOMAKE(burgerspace, 1.8.3)
77
88
99 # Checks for programs.
1515
1616 # Checks for libraries.
1717
18 MINVER_FLATZEBRA=0.1.0; AC_SUBST(MINVER_FLATZEBRA)
18 MINVER_FLATZEBRA=0.1.2; AC_SUBST(MINVER_FLATZEBRA)
1919 PKG_CHECK_MODULES(FLATZEBRA, flatzebra-0.1 >= $MINVER_FLATZEBRA)
2020
2121
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2006-10-15.18
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
3 scriptversion=2007-03-29.01
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
66 # Foundation, Inc.
77
88 # This program is free software; you can redistribute it and/or modify
214214 # current directory. Also, the AIX compiler puts `$object:' at the
215215 # start of each line; $object doesn't have directory information.
216216 # Version 6 uses the directory in both cases.
217 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
218 tmpdepfile="$stripped.u"
217 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
218 test "x$dir" = "x$object" && dir=
219 base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
219220 if test "$libtool" = yes; then
221 tmpdepfile1=$dir$base.u
222 tmpdepfile2=$base.u
223 tmpdepfile3=$dir.libs/$base.u
220224 "$@" -Wc,-M
221225 else
226 tmpdepfile1=$dir$base.u
227 tmpdepfile2=$dir$base.u
228 tmpdepfile3=$dir$base.u
222229 "$@" -M
223230 fi
224231 stat=$?
225232
226 if test -f "$tmpdepfile"; then :
227 else
228 stripped=`echo "$stripped" | sed 's,^.*/,,'`
229 tmpdepfile="$stripped.u"
230 fi
231
232233 if test $stat -eq 0; then :
233234 else
234 rm -f "$tmpdepfile"
235 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
235236 exit $stat
236237 fi
237238
239 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3"
240 do
241 test -f "$tmpdepfile" && break
242 done
238243 if test -f "$tmpdepfile"; then
239 outname="$stripped.o"
240244 # Each line is of the form `foo.o: dependent.h'.
241245 # Do two passes, one to just change these to
242246 # `$object: dependent.h' and one to simply `dependent.h:'.
243 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
244 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
247 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
248 # That's a tab and a space in the [].
249 sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
245250 else
246251 # The sourcefile does not contain any dependencies, so just
247252 # store a dummy comment line, to avoid errors with the Makefile
0 .\" $Id: burgerspace.6,v 1.8 2007/12/22 23:03:35 sarrazip Exp $
0 .\" $Id: burgerspace.6,v 1.9 2009/02/27 02:50:42 sarrazip Exp $
11 .\" Burgerspace manual page
22 .\"
33 .\" burgerspace - A hamburger-smashing video game.
1919 .\" 02110-1301, USA.
2020 .\"
2121 .\"
22 .TH BURGERSPACE "6" "December 22nd, 2007" "" ""
22 .TH BURGERSPACE "6" "February 26th, 2009" "" ""
2323 .SH NAME
2424 burgerspace \- a BurgerTime(TM) clone
2525 .SH SYNOPSIS
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2006-10-14.15
3 scriptversion=2006-12-25.00
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
4747 # set DOITPROG to echo to test this script
4848
4949 # Don't use :- since 4.3BSD and earlier shells don't like it.
50 doit="${DOITPROG-}"
50 doit=${DOITPROG-}
5151 if test -z "$doit"; then
5252 doit_exec=exec
5353 else
5757 # Put in absolute file names if you don't have them in your path;
5858 # or use environment vars.
5959
60 mvprog="${MVPROG-mv}"
61 cpprog="${CPPROG-cp}"
62 chmodprog="${CHMODPROG-chmod}"
63 chownprog="${CHOWNPROG-chown}"
64 chgrpprog="${CHGRPPROG-chgrp}"
65 stripprog="${STRIPPROG-strip}"
66 rmprog="${RMPROG-rm}"
67 mkdirprog="${MKDIRPROG-mkdir}"
68
69 posix_glob=
60 chgrpprog=${CHGRPPROG-chgrp}
61 chmodprog=${CHMODPROG-chmod}
62 chownprog=${CHOWNPROG-chown}
63 cmpprog=${CMPPROG-cmp}
64 cpprog=${CPPROG-cp}
65 mkdirprog=${MKDIRPROG-mkdir}
66 mvprog=${MVPROG-mv}
67 rmprog=${RMPROG-rm}
68 stripprog=${STRIPPROG-strip}
69
70 posix_glob='?'
71 initialize_posix_glob='
72 test "$posix_glob" != "?" || {
73 if (set -f) 2>/dev/null; then
74 posix_glob=
75 else
76 posix_glob=:
77 fi
78 }
79 '
80
7081 posix_mkdir=
7182
7283 # Desired mode of installed file.
7384 mode=0755
7485
86 chgrpcmd=
7587 chmodcmd=$chmodprog
7688 chowncmd=
77 chgrpcmd=
89 mvcmd=$mvprog
90 rmcmd="$rmprog -f"
7891 stripcmd=
79 rmcmd="$rmprog -f"
80 mvcmd="$mvprog"
92
8193 src=
8294 dst=
8395 dir_arg=
84 dstarg=
96 dst_arg=
97
98 copy_on_change=false
8599 no_target_directory=
86100
87 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
101 usage="\
102 Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
88103 or: $0 [OPTION]... SRCFILES... DIRECTORY
89104 or: $0 [OPTION]... -t DIRECTORY SRCFILES...
90105 or: $0 [OPTION]... -d DIRECTORIES...
94109 In the 4th, create DIRECTORIES.
95110
96111 Options:
97 -c (ignored)
98 -d create directories instead of installing files.
99 -g GROUP $chgrpprog installed files to GROUP.
100 -m MODE $chmodprog installed files to MODE.
101 -o USER $chownprog installed files to USER.
102 -s $stripprog installed files.
103 -t DIRECTORY install into DIRECTORY.
104 -T report an error if DSTFILE is a directory.
105 --help display this help and exit.
106 --version display version info and exit.
112 --help display this help and exit.
113 --version display version info and exit.
114
115 -c (ignored)
116 -C install only if different (preserve the last data modification time)
117 -d create directories instead of installing files.
118 -g GROUP $chgrpprog installed files to GROUP.
119 -m MODE $chmodprog installed files to MODE.
120 -o USER $chownprog installed files to USER.
121 -s $stripprog installed files.
122 -t DIRECTORY install into DIRECTORY.
123 -T report an error if DSTFILE is a directory.
107124
108125 Environment variables override the default commands:
109 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
126 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
127 RMPROG STRIPPROG
110128 "
111129
112130 while test $# -ne 0; do
113131 case $1 in
114 -c) shift
115 continue;;
116
117 -d) dir_arg=true
118 shift
119 continue;;
132 -c) ;;
133
134 -C) copy_on_change=true;;
135
136 -d) dir_arg=true;;
120137
121138 -g) chgrpcmd="$chgrpprog $2"
122 shift
123 shift
124 continue;;
139 shift;;
125140
126141 --help) echo "$usage"; exit $?;;
127142
128143 -m) mode=$2
129 shift
130 shift
131144 case $mode in
132145 *' '* | *' '* | *'
133146 '* | *'*'* | *'?'* | *'['*)
134147 echo "$0: invalid mode: $mode" >&2
135148 exit 1;;
136149 esac
137 continue;;
150 shift;;
138151
139152 -o) chowncmd="$chownprog $2"
140 shift
141 shift
142 continue;;
143
144 -s) stripcmd=$stripprog
145 shift
146 continue;;
147
148 -t) dstarg=$2
149 shift
150 shift
151 continue;;
152
153 -T) no_target_directory=true
154 shift
155 continue;;
153 shift;;
154
155 -s) stripcmd=$stripprog;;
156
157 -t) dst_arg=$2
158 shift;;
159
160 -T) no_target_directory=true;;
156161
157162 --version) echo "$0 $scriptversion"; exit $?;;
158163
164169
165170 *) break;;
166171 esac
172 shift
167173 done
168174
169 if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
175 if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
170176 # When -d is used, all remaining arguments are directories to create.
171177 # When -t is used, the destination is already specified.
172178 # Otherwise, the last argument is the destination. Remove it from $@.
173179 for arg
174180 do
175 if test -n "$dstarg"; then
181 if test -n "$dst_arg"; then
176182 # $@ is not empty: it contains at least $arg.
177 set fnord "$@" "$dstarg"
183 set fnord "$@" "$dst_arg"
178184 shift # fnord
179185 fi
180186 shift # arg
181 dstarg=$arg
187 dst_arg=$arg
182188 done
183189 fi
184190
223229 do
224230 # Protect names starting with `-'.
225231 case $src in
226 -*) src=./$src ;;
232 -*) src=./$src;;
227233 esac
228234
229235 if test -n "$dir_arg"; then
241247 exit 1
242248 fi
243249
244 if test -z "$dstarg"; then
250 if test -z "$dst_arg"; then
245251 echo "$0: no destination specified." >&2
246252 exit 1
247253 fi
248254
249 dst=$dstarg
255 dst=$dst_arg
250256 # Protect names starting with `-'.
251257 case $dst in
252 -*) dst=./$dst ;;
258 -*) dst=./$dst;;
253259 esac
254260
255261 # If destination is a directory, append the input filename; won't work
256262 # if double slashes aren't ignored.
257263 if test -d "$dst"; then
258264 if test -n "$no_target_directory"; then
259 echo "$0: $dstarg: Is a directory" >&2
265 echo "$0: $dst_arg: Is a directory" >&2
260266 exit 1
261267 fi
262268 dstdir=$dst
377383 # directory the slow way, step by step, checking for races as we go.
378384
379385 case $dstdir in
380 /*) prefix=/ ;;
381 -*) prefix=./ ;;
382 *) prefix= ;;
386 /*) prefix='/';;
387 -*) prefix='./';;
388 *) prefix='';;
383389 esac
384390
385 case $posix_glob in
386 '')
387 if (set -f) 2>/dev/null; then
388 posix_glob=true
389 else
390 posix_glob=false
391 fi ;;
392 esac
391 eval "$initialize_posix_glob"
393392
394393 oIFS=$IFS
395394 IFS=/
396 $posix_glob && set -f
395 $posix_glob set -f
397396 set fnord $dstdir
398397 shift
399 $posix_glob && set +f
398 $posix_glob set +f
400399 IFS=$oIFS
401400
402401 prefixes=
458457 # ignore errors from any of these, just make sure not to ignore
459458 # errors from the above "$doit $cpprog $src $dsttmp" command.
460459 #
461 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
462 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
463 && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
464 && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
465
466 # Now rename the file to the real destination.
467 { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
468 || {
469 # The rename failed, perhaps because mv can't rename something else
470 # to itself, or perhaps because mv is so ancient that it does not
471 # support -f.
472
473 # Now remove or move aside any old file at destination location.
474 # We try this two ways since rm can't unlink itself on some
475 # systems and the destination file might be busy for other
476 # reasons. In this case, the final cleanup might fail but the new
477 # file should still install successfully.
478 {
479 if test -f "$dst"; then
480 $doit $rmcmd -f "$dst" 2>/dev/null \
481 || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
482 && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
483 || {
484 echo "$0: cannot unlink or rename $dst" >&2
485 (exit 1); exit 1
486 }
487 else
488 :
489 fi
490 } &&
491
492 # Now rename the file to the real destination.
493 $doit $mvcmd "$dsttmp" "$dst"
494 }
495 } || exit 1
460 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
461 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
462 { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
463 { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
464
465 # If -C, don't bother to copy if it wouldn't change the file.
466 if $copy_on_change &&
467 old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
468 new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
469
470 eval "$initialize_posix_glob" &&
471 $posix_glob set -f &&
472 set X $old && old=:$2:$4:$5:$6 &&
473 set X $new && new=:$2:$4:$5:$6 &&
474 $posix_glob set +f &&
475
476 test "$old" = "$new" &&
477 $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
478 then
479 rm -f "$dsttmp"
480 else
481 # Rename the file to the real destination.
482 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
483
484 # The rename failed, perhaps because mv can't rename something else
485 # to itself, or perhaps because mv is so ancient that it does not
486 # support -f.
487 {
488 # Now remove or move aside any old file at destination location.
489 # We try this two ways since rm can't unlink itself on some
490 # systems and the destination file might be busy for other
491 # reasons. In this case, the final cleanup might fail but the new
492 # file should still install successfully.
493 {
494 test ! -f "$dst" ||
495 $doit $rmcmd -f "$dst" 2>/dev/null ||
496 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
497 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
498 } ||
499 { echo "$0: cannot unlink or rename $dst" >&2
500 (exit 1); exit 1
501 }
502 } &&
503
504 # Now rename the file to the real destination.
505 $doit $mvcmd "$dsttmp" "$dst"
506 }
507 fi || exit 1
496508
497509 trap '' 0
498510 fi
0 /* $Id: BurgerSpaceEngine.cpp,v 1.32 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: BurgerSpaceEngine.cpp,v 1.37 2009/02/27 02:50:42 sarrazip Exp $
11 BurgerSpaceEngine.cpp - Main engine
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
2828 #include <assert.h>
2929 #include <fstream>
3030 #include <iomanip>
31 #include <algorithm>
3132
3233 #include <sys/types.h>
3334 #include <sys/stat.h>
932933
933934 theCurrentLevel(),
934935
936 inQuitDialog(false),
935937 inSaveDialog(false),
936938 inLoadDialog(false),
937939
11601162 bool
11611163 BurgerSpaceEngine::tick()
11621164 {
1163 if (quitKS.isPressed())
1164 return false;
1165 if (quitKS.justPressed())
1166 {
1167 drawQuitDialog();
1168 inQuitDialog = true;
1169 }
11651170
11661171 if (saveGameKS.justPressed())
11671172 {
11751180 inLoadDialog = true;
11761181 }
11771182
1178 if (inSaveDialog)
1183 if (inQuitDialog)
1184 {
1185 if (!doQuitDialog())
1186 return false;
1187 }
1188 else if (inSaveDialog)
11791189 {
11801190 doSaveDialog();
11811191 }
30703080 }
30713081
30723082
3083 void
3084 BurgerSpaceEngine::drawQuitDialog()
3085 {
3086 paused = true;
3087 if (numLives > 0)
3088 displayPauseMessage(true);
3089 showDialogBox("QUIT GAME: are you sure? (Y=yes, N=no) ");
3090 }
3091
3092
3093 bool
3094 BurgerSpaceEngine::doQuitDialog()
3095 {
3096 if (lastKeyPressed == SDLK_y)
3097 return false;
3098 if (lastKeyPressed == SDLK_n)
3099 {
3100 lastKeyPressed = SDLK_UNKNOWN;
3101 showDialogBox("Game NOT quit. Press P to resume.");
3102 inQuitDialog = false;
3103 }
3104 return true;
3105 }
3106
3107
30733108 ///////////////////////////////////////////////////////////////////////////////
30743109 //
30753110 // SAVING AND LOADING GAMES
31653200 if (slotNum == -2)
31663201 {
31673202 lastKeyPressed = SDLK_UNKNOWN;
3168 showDialogBox("Game NOT saved.");
3203 showDialogBox("Game NOT saved. Press P to resume.");
31693204 inSaveDialog = false;
31703205 return;
31713206 }
0 /* $Id: BurgerSpaceEngine.h,v 1.26 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: BurgerSpaceEngine.h,v 1.31 2009/02/27 02:50:42 sarrazip Exp $
11 BurgerSpaceEngine.h - Main engine
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
4141 {
4242 public:
4343
44 typedef char **XPM;
44 typedef const char **XPM;
4545
4646 BurgerSpaceEngine(const std::string &windowManagerCaption,
4747 int initLevelNumber,
266266
267267 Level theCurrentLevel;
268268
269 bool inQuitDialog;
269270 bool inSaveDialog;
270271 bool inLoadDialog;
271272
361362 void displayMessage(int row, const char *msg);
362363 void playSoundEffect(flatzebra::SoundMixer::Chunk &wb);
363364
365 void drawQuitDialog();
366 bool doQuitDialog();
367
364368 void drawSaveDialog();
365369 void drawLoadDialog();
366370 int getSlotNumber();
0 /* $Id: ChefController.h,v 1.3 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: ChefController.h,v 1.4 2009/02/27 02:50:42 sarrazip Exp $
11 ChefController.h - Control of the game's main character
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
0 /* $Id: EnemySprite.cpp,v 1.6 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: EnemySprite.cpp,v 1.7 2009/02/27 02:50:42 sarrazip Exp $
11 EnemySprite.cpp - Sprite that represents an enemy of the player.
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
0 /* $Id: EnemySprite.h,v 1.8 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: EnemySprite.h,v 1.9 2009/02/27 02:50:42 sarrazip Exp $
11 EnemySprite.h - Sprite that represents an enemy of the player.
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
0 /* $Id: IngredientGroup.cpp,v 1.8 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: IngredientGroup.cpp,v 1.9 2009/02/27 02:50:42 sarrazip Exp $
11 IngredientGroup.cpp - Group of sprites representing an "ingredient"
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
0 /* $Id: IngredientGroup.h,v 1.11 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: IngredientGroup.h,v 1.12 2009/02/27 02:50:42 sarrazip Exp $
11 IngredientGroup.h - Group of sprites representing an "ingredient"
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
0 /* $Id: IngredientSprite.h,v 1.9 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: IngredientSprite.h,v 1.10 2009/02/27 02:50:42 sarrazip Exp $
11 IngredientSprite.h - Sprite that is part of an "ingredient"
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License
0 # $Id: Makefile.am,v 1.17 2005/05/21 03:50:24 sarrazip Exp $
0 # $Id: Makefile.am,v 1.20 2007/12/25 07:06:25 sarrazip Exp $
11
22 bin_PROGRAMS = burgerspace
33
0 # Makefile.in generated by automake 1.10 from Makefile.am.
0 # Makefile.in generated by automake 1.10.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4 # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
77 # with or without modifications, as long as this notice is preserved.
1313
1414 @SET_MAKE@
1515
16 # $Id: Makefile.am,v 1.17 2005/05/21 03:50:24 sarrazip Exp $
16 # $Id: Makefile.am,v 1.20 2007/12/25 07:06:25 sarrazip Exp $
1717
1818
1919 VPATH = @srcdir@
542542 unique=`for i in $$list; do \
543543 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
544544 done | \
545 $(AWK) ' { files[$$0] = 1; } \
546 END { for (i in files) print i; }'`; \
545 $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
546 END { if (nonempty) { for (i in files) print i; }; }'`; \
547547 mkid -fID $$unique
548548 tags: TAGS
549549
555555 unique=`for i in $$list; do \
556556 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
557557 done | \
558 $(AWK) ' { files[$$0] = 1; } \
559 END { for (i in files) print i; }'`; \
558 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
559 END { if (nonempty) { for (i in files) print i; }; }'`; \
560560 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
561561 test -n "$$unique" || unique=$$empty_fix; \
562562 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
566566 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
567567 $(TAGS_FILES) $(LISP)
568568 tags=; \
569 here=`pwd`; \
570569 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
571570 unique=`for i in $$list; do \
572571 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
573572 done | \
574 $(AWK) ' { files[$$0] = 1; } \
575 END { for (i in files) print i; }'`; \
573 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
574 END { if (nonempty) { for (i in files) print i; }; }'`; \
576575 test -z "$(CTAGS_ARGS)$$tags$$unique" \
577576 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
578577 $$tags $$unique
00 /* XPM */
1 static char * bottom_bun_xpm[] = {
1 static const char * bottom_bun_xpm[] = {
22 "96 16 17 1",
33 " c None",
44 ". c #FFCE50",
00 /* XPM */
1 static char * bottom_bun0_xpm[] = {
1 static const char * bottom_bun0_xpm[] = {
22 "24 16 17 1",
33 " c None",
44 ". c #FFCE50",
00 /* XPM */
1 static char * bottom_bun1_xpm[] = {
1 static const char * bottom_bun1_xpm[] = {
22 "24 16 17 1",
33 " c None",
44 ". c #FFCE50",
00 /* XPM */
1 static char * bottom_bun2_xpm[] = {
1 static const char * bottom_bun2_xpm[] = {
22 "24 16 17 1",
33 " c None",
44 ". c #FFCE50",
00 /* XPM */
1 static char * bottom_bun3_xpm[] = {
1 static const char * bottom_bun3_xpm[] = {
22 "24 16 17 1",
33 " c None",
44 ". c #FFCE50",
00 /* XPM */
1 static char * chef_back0_xpm[] = {
1 static const char * chef_back0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_back1_xpm[] = {
1 static const char * chef_back1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_back2_xpm[] = {
1 static const char * chef_back2_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_dead0_xpm[] = {
1 static const char * chef_dead0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_dead1_xpm[] = {
1 static const char * chef_dead1_xpm[] = {
22 "30 30 7 1",
33 " c None",
44 ". c #F2DF0E",
00 /* XPM */
1 static char * chef_dead2_xpm[] = {
1 static const char * chef_dead2_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #E2AA76",
00 /* XPM */
1 static char * chef_dead3_xpm[] = {
1 static const char * chef_dead3_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #AA5F25",
00 /* XPM */
1 static char * chef_dead4_xpm[] = {
1 static const char * chef_dead4_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #AA5F25",
00 /* XPM */
1 static char * chef_dead5_xpm[] = {
1 static const char * chef_dead5_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #AA5F25",
00 /* XPM */
1 static char * chef_front0_xpm[] = {
1 static const char * chef_front0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_front1_xpm[] = {
1 static const char * chef_front1_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_front2_xpm[] = {
1 static const char * chef_front2_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_left0_xpm[] = {
1 static const char * chef_left0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_left1_xpm[] = {
1 static const char * chef_left1_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_left2_xpm[] = {
1 static const char * chef_left2_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_right0_xpm[] = {
1 static const char * chef_right0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_right1_xpm[] = {
1 static const char * chef_right1_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * chef_right2_xpm[] = {
1 static const char * chef_right2_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * coffee_xpm[] = {
1 static const char * coffee_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #FFFFDE",
00 /* XPM */
1 static char * digit0_xpm[] = {
1 static const char * digit0_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit1_xpm[] = {
1 static const char * digit1_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit2_xpm[] = {
1 static const char * digit2_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit3_xpm[] = {
1 static const char * digit3_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit4_xpm[] = {
1 static const char * digit4_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit5_xpm[] = {
1 static const char * digit5_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit6_xpm[] = {
1 static const char * digit6_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit7_xpm[] = {
1 static const char * digit7_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit8_xpm[] = {
1 static const char * digit8_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * digit9_xpm[] = {
1 static const char * digit9_xpm[] = {
22 "6 10 2 1",
33 " c #FFFF8000FFFF",
44 ". c None",
00 /* XPM */
1 static char * egg_back0_xpm[] = {
1 static const char * egg_back0_xpm[] = {
22 "30 30 3 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_back1_xpm[] = {
1 static const char * egg_back1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #EAAA2A",
00 /* XPM */
1 static char * egg_dead0_xpm[] = {
1 static const char * egg_dead0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_dead1_xpm[] = {
1 static const char * egg_dead1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #EAAA2A",
00 /* XPM */
1 static char * egg_dead2_xpm[] = {
1 static const char * egg_dead2_xpm[] = {
22 "30 30 4 1",
33 " c None",
44 ". c #EAAA2A",
00 /* XPM */
1 static char * egg_dead3_xpm[] = {
1 static const char * egg_dead3_xpm[] = {
22 "30 30 2 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_front0_xpm[] = {
1 static const char * egg_front0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_front1_xpm[] = {
1 static const char * egg_front1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_left0_xpm[] = {
1 static const char * egg_left0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_left1_xpm[] = {
1 static const char * egg_left1_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_peppered0_xpm[] = {
1 static const char * egg_peppered0_xpm[] = {
22 "30 30 4 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_peppered1_xpm[] = {
1 static const char * egg_peppered1_xpm[] = {
22 "30 30 4 1",
33 " c None",
44 ". c #EAE362",
00 /* XPM */
1 static char * egg_right0_xpm[] = {
1 static const char * egg_right0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * egg_right1_xpm[] = {
1 static const char * egg_right1_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * empty_xpm[] = {
1 static const char * empty_xpm[] = {
22 "32 32 2 1",
33 " c None",
44 ". c #000000",
00 /* XPM */
1 static char * floor_and_ladder_xpm[] = {
1 static const char * floor_and_ladder_xpm[] = {
22 "32 32 4 1",
33 " c None",
44 ". c #5EFFF1",
00 /* XPM */
1 static char * floor_xpm[] = {
1 static const char * floor_xpm[] = {
22 "32 32 3 1",
33 " c None",
44 ". c #002AFF",
00 /* XPM */
1 static char * fries_xpm[] = {
1 static const char * fries_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFBA00",
00 /* XPM */
1 static char * hotdog_back0_xpm[] = {
1 static const char * hotdog_back0_xpm[] = {
22 "30 30 4 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_back1_xpm[] = {
1 static const char * hotdog_back1_xpm[] = {
22 "30 30 4 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_dead0_xpm[] = {
1 static const char * hotdog_dead0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_dead1_xpm[] = {
1 static const char * hotdog_dead1_xpm[] = {
22 "30 30 4 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_dead2_xpm[] = {
1 static const char * hotdog_dead2_xpm[] = {
22 "30 30 3 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_dead3_xpm[] = {
1 static const char * hotdog_dead3_xpm[] = {
22 "30 30 2 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_front0_xpm[] = {
1 static const char * hotdog_front0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_front1_xpm[] = {
1 static const char * hotdog_front1_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_left0_xpm[] = {
1 static const char * hotdog_left0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_left1_xpm[] = {
1 static const char * hotdog_left1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_peppered0_xpm[] = {
1 static const char * hotdog_peppered0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #A86921",
00 /* XPM */
1 static char * hotdog_peppered1_xpm[] = {
1 static const char * hotdog_peppered1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #A86921",
00 /* XPM */
1 static char * hotdog_right0_xpm[] = {
1 static const char * hotdog_right0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * hotdog_right1_xpm[] = {
1 static const char * hotdog_right1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #F91504",
00 /* XPM */
1 static char * icecream_xpm[] = {
1 static const char * icecream_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #66DB59",
00 /* XPM */
1 static char * ladder_xpm[] = {
1 static const char * ladder_xpm[] = {
22 "32 32 3 1",
33 " c None",
44 ". c #000000",
00 /* XPM */
1 static char * lettuce_xpm[] = {
1 static const char * lettuce_xpm[] = {
22 "96 16 2 1",
33 " c None",
44 ". c #51EF17",
00 /* XPM */
1 static char * lettuce0_xpm[] = {
1 static const char * lettuce0_xpm[] = {
22 "24 16 2 1",
33 " c None",
44 ". c #51EF17",
00 /* XPM */
1 static char * lettuce1_xpm[] = {
1 static const char * lettuce1_xpm[] = {
22 "24 16 2 1",
33 " c None",
44 ". c #51EF17",
00 /* XPM */
1 static char * lettuce2_xpm[] = {
1 static const char * lettuce2_xpm[] = {
22 "24 16 2 1",
33 " c None",
44 ". c #51EF17",
00 /* XPM */
1 static char * lettuce3_xpm[] = {
1 static const char * lettuce3_xpm[] = {
22 "24 16 2 1",
33 " c None",
44 ". c #51EF17",
00 /* XPM */
1 static char * meat_xpm[] = {
1 static const char * meat_xpm[] = {
22 "96 16 4 1",
33 " c None",
44 ". c #B26B2C",
00 /* XPM */
1 static char * meat0_xpm[] = {
1 static const char * meat0_xpm[] = {
22 "24 16 4 1",
33 " c None",
44 ". c #B26B2C",
00 /* XPM */
1 static char * meat1_xpm[] = {
1 static const char * meat1_xpm[] = {
22 "24 16 4 1",
33 " c None",
44 ". c #B26B2C",
00 /* XPM */
1 static char * meat2_xpm[] = {
1 static const char * meat2_xpm[] = {
22 "24 16 4 1",
33 " c None",
44 ". c #B26B2C",
00 /* XPM */
1 static char * meat3_xpm[] = {
1 static const char * meat3_xpm[] = {
22 "24 16 4 1",
33 " c None",
44 ". c #B26B2C",
00 /* XPM */
1 static char * pepper0_xpm[] = {
1 static const char * pepper0_xpm[] = {
22 "30 30 2 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * pepper1_xpm[] = {
1 static const char * pepper1_xpm[] = {
22 "30 30 2 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * pickle_back0_xpm[] = {
1 static const char * pickle_back0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_back1_xpm[] = {
1 static const char * pickle_back1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_dead0_xpm[] = {
1 static const char * pickle_dead0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_dead1_xpm[] = {
1 static const char * pickle_dead1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_dead2_xpm[] = {
1 static const char * pickle_dead2_xpm[] = {
22 "30 30 4 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_dead3_xpm[] = {
1 static const char * pickle_dead3_xpm[] = {
22 "30 30 2 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_front0_xpm[] = {
1 static const char * pickle_front0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_front1_xpm[] = {
1 static const char * pickle_front1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_left0_xpm[] = {
1 static const char * pickle_left0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_left1_xpm[] = {
1 static const char * pickle_left1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_peppered0_xpm[] = {
1 static const char * pickle_peppered0_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * pickle_peppered1_xpm[] = {
1 static const char * pickle_peppered1_xpm[] = {
22 "30 30 6 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * pickle_right0_xpm[] = {
1 static const char * pickle_right0_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * pickle_right1_xpm[] = {
1 static const char * pickle_right1_xpm[] = {
22 "30 30 5 1",
33 " c None",
44 ". c #6ABA00",
00 /* XPM */
1 static char * plate_xpm[] = {
1 static const char * plate_xpm[] = {
22 "32 32 3 1",
33 " c None",
44 ". c #FFFFFF",
00 /* XPM */
1 static char * redstuff_xpm[] = {
1 static const char * redstuff_xpm[] = {
22 "96 16 6 1",
33 " c None",
44 ". c #DB0404",
00 /* XPM */
1 static char * redstuff0_xpm[] = {
1 static const char * redstuff0_xpm[] = {
22 "24 16 6 1",
33 " c None",
44 ". c #DB0404",
00 /* XPM */
1 static char * redstuff1_xpm[] = {
1 static const char * redstuff1_xpm[] = {
22 "24 16 5 1",
33 " c None",
44 ". c #50D110",
00 /* XPM */
1 static char * redstuff2_xpm[] = {
1 static const char * redstuff2_xpm[] = {
22 "24 16 5 1",
33 " c None",
44 ". c #50D110",
00 /* XPM */
1 static char * redstuff3_xpm[] = {
1 static const char * redstuff3_xpm[] = {
22 "24 16 6 1",
33 " c None",
44 ". c #F78A0E",
00 /* XPM */
1 static char * top_bun_xpm[] = {
1 static const char * top_bun_xpm[] = {
22 "96 16 35 1",
33 " c None",
44 ". c #FFDD59",
00 /* XPM */
1 static char * top_bun0_xpm[] = {
1 static const char * top_bun0_xpm[] = {
22 "24 16 30 1",
33 " c None",
44 ". c #FFDD59",
00 /* XPM */
1 static char * top_bun1_xpm[] = {
1 static const char * top_bun1_xpm[] = {
22 "24 16 21 1",
33 " c None",
44 ". c #FFDD59",
00 /* XPM */
1 static char * top_bun2_xpm[] = {
1 static const char * top_bun2_xpm[] = {
22 "24 16 21 1",
33 " c None",
44 ". c #FF791E",
00 /* XPM */
1 static char * top_bun3_xpm[] = {
1 static const char * top_bun3_xpm[] = {
22 "24 16 30 1",
33 " c None",
44 ". c #FF8123",
00 /* XPM */
1 static char * yellowstuff_xpm[] = {
1 static const char * yellowstuff_xpm[] = {
22 "96 16 3 1",
33 " c None",
44 ". c #F4F286",
00 /* XPM */
1 static char * yellowstuff0_xpm[] = {
1 static const char * yellowstuff0_xpm[] = {
22 "24 16 3 1",
33 " c None",
44 ". c #F4F286",
00 /* XPM */
1 static char * yellowstuff1_xpm[] = {
1 static const char * yellowstuff1_xpm[] = {
22 "24 16 3 1",
33 " c None",
44 ". c #F4F286",
00 /* XPM */
1 static char * yellowstuff2_xpm[] = {
1 static const char * yellowstuff2_xpm[] = {
22 "24 16 3 1",
33 " c None",
44 ". c #F4F286",
00 /* XPM */
1 static char * yellowstuff3_xpm[] = {
1 static const char * yellowstuff3_xpm[] = {
22 "24 16 3 1",
33 " c None",
44 ". c #F4F286",
0 /* $Id: sdlmain.cpp,v 1.12 2007/12/22 23:03:35 sarrazip Exp $
0 /* $Id: sdlmain.cpp,v 1.13 2009/02/27 02:50:42 sarrazip Exp $
11 sdlmain.cpp - main() function for BurgerSpace
22
33 burgerspace - A hamburger-smashing video game.
4 Copyright (C) 2001-2007 Pierre Sarrazin <http://sarrazip.com/>
4 Copyright (C) 2001-2009 Pierre Sarrazin <http://sarrazip.com/>
55
66 This program is free software; you can redistribute it and/or
77 modify it under the terms of the GNU General Public License