sopwith-1.8.1/0000755000175000017500000000000012124366265012231 5ustar jessejessesopwith-1.8.1/stamp-h0000664000175000017500000000001212124365360013513 0ustar jessejessetimestamp sopwith-1.8.1/config.log0000664000175000017500000003136112124365360014202 0ustar jessejesseThis file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = gwen uname -m = x86_64 uname -r = 3.2.0-36-generic uname -s = Linux uname -v = #57-Ubuntu SMP Tue Jan 8 21:44:52 UTC 2013 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/jesse/Scripts PATH: /usr/lib/lightdm/lightdm PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2085: checking build system type configure:2099: result: x86_64-unknown-linux-gnu configure:2119: checking host system type configure:2132: result: x86_64-unknown-linux-gnu configure:2152: checking target system type configure:2165: result: x86_64-unknown-linux-gnu configure:2246: checking for gcc configure:2262: found /usr/bin/gcc configure:2273: result: gcc configure:2502: checking for C compiler version configure:2511: gcc --version >&5 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 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. configure:2522: $? = 0 configure:2511: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) configure:2522: $? = 0 configure:2511: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:2522: $? = 4 configure:2511: gcc -qversion >&5 gcc: error: unrecognized option '-qversion' gcc: fatal error: no input files compilation terminated. configure:2522: $? = 4 configure:2542: checking whether the C compiler works configure:2564: gcc conftest.c >&5 configure:2568: $? = 0 configure:2616: result: yes configure:2619: checking for C compiler default output file name configure:2621: result: a.out configure:2627: checking for suffix of executables configure:2634: gcc -o conftest conftest.c >&5 configure:2638: $? = 0 configure:2660: result: configure:2682: checking whether we are cross compiling configure:2690: gcc -o conftest conftest.c >&5 configure:2694: $? = 0 configure:2701: ./conftest configure:2705: $? = 0 configure:2720: result: no configure:2725: checking for suffix of object files configure:2747: gcc -c conftest.c >&5 configure:2751: $? = 0 configure:2772: result: o configure:2776: checking whether we are using the GNU C compiler configure:2795: gcc -c conftest.c >&5 configure:2795: $? = 0 configure:2804: result: yes configure:2813: checking whether gcc accepts -g configure:2833: gcc -c -g conftest.c >&5 configure:2833: $? = 0 configure:2874: result: yes configure:2891: checking for gcc option to accept ISO C89 configure:2955: gcc -c -g -O2 conftest.c >&5 configure:2955: $? = 0 configure:2968: result: none needed configure:3031: checking for ranlib configure:3047: found /usr/bin/ranlib configure:3058: result: ranlib configure:3129: checking for a BSD-compatible install configure:3197: result: /usr/bin/install -c configure:3208: checking whether build environment is sane configure:3245: result: yes configure:3257: checking whether make sets $(MAKE) configure:3279: result: yes configure:3309: checking for working aclocal-1.4 configure:3320: result: missing configure:3324: checking for working autoconf configure:3331: result: found configure:3339: checking for working automake-1.4 configure:3350: result: missing configure:3354: checking for working autoheader configure:3361: result: found configure:3369: checking for working makeinfo configure:3380: result: missing configure:3438: checking for sdl-config configure:3456: found /usr/bin/sdl-config configure:3469: result: /usr/bin/sdl-config configure:3478: checking for SDL - version >= 1.1.3 configure:3563: gcc -o conftest -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT conftest.c -L/usr/lib/x86_64-linux-gnu -lSDL >&5 configure:3563: $? = 0 configure:3563: ./conftest configure:3563: $? = 0 configure:3577: result: yes configure:3657: checking how to run the C preprocessor configure:3688: gcc -E conftest.c configure:3688: $? = 0 configure:3702: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3702: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "sopwith" | #define VERSION "1.8.0" | /* end confdefs.h. */ | #include configure:3727: result: gcc -E configure:3747: gcc -E conftest.c configure:3747: $? = 0 configure:3761: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:3761: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "sopwith" | #define VERSION "1.8.0" | /* end confdefs.h. */ | #include configure:3790: checking for grep that handles long lines and -e configure:3848: result: /bin/grep configure:3853: checking for egrep configure:3915: result: /bin/grep -E configure:3920: checking for ANSI C header files configure:3940: gcc -c -g -O2 conftest.c >&5 configure:3940: $? = 0 configure:4013: gcc -o conftest -g -O2 conftest.c >&5 configure:4013: $? = 0 configure:4013: ./conftest configure:4013: $? = 0 configure:4024: result: yes configure:4037: checking for sys/types.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for sys/stat.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for stdlib.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for string.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for memory.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for strings.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for inttypes.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for stdint.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4037: checking for unistd.h configure:4037: gcc -c -g -O2 conftest.c >&5 configure:4037: $? = 0 configure:4037: result: yes configure:4049: checking netinet/ip.h usability configure:4049: gcc -c -g -O2 conftest.c >&5 configure:4049: $? = 0 configure:4049: result: yes configure:4049: checking netinet/ip.h presence configure:4049: gcc -E conftest.c configure:4049: $? = 0 configure:4049: result: yes configure:4049: checking for netinet/ip.h configure:4049: result: yes configure:4174: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on gwen config.status:858: creating Makefile config.status:858: creating src/Makefile config.status:858: creating src/gtk/Makefile config.status:858: creating src/sdl/Makefile config.status:858: creating src/psion/Makefile config.status:858: creating doc/Makefile config.status:858: creating config.h config.status:1033: config.h is unchanged config.status:1047: executing default-1 commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_netinet_ip_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_SDL_CONFIG=/usr/bin/sdl-config ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='/home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4' AUTOCONF='autoconf' AUTOHEADER='autoheader' AUTOMAKE='/home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4' CC='gcc' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKEINFO='/home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo' OBJEXT='o' PACKAGE='sopwith' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' SDL_CFLAGS='-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' SDL_CONFIG='/usr/bin/sdl-config' SDL_LIBS='-L/usr/lib/x86_64-linux-gnu -lSDL' SET_MAKE='' SHELL='/bin/bash' SOPWITH_BINS=' sopwith' SOPWITH_SUBDIRS=' sdl' VERSION='1.8.0' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "sopwith" #define VERSION "1.8.0" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define TCPIP 1 configure: exit 0 sopwith-1.8.1/acconfig.h0000664000175000017500000000004512046775540014157 0ustar jessejesse /* TCP/IP support */ #undef TCPIP sopwith-1.8.1/AUTHORS0000664000175000017500000000020112046775537013305 0ustar jessejesseBMB Compuscience Canada David L. Clark Andrew Jenner Simon Howard Jesse Smith sopwith-1.8.1/config.h0000664000175000017500000000311012111467226013637 0ustar jessejesse/* config.h. Generated from config.hin by configure. */ /* config.hin. Generated from configure.in by autoheader. */ /* TCP/IP support */ #define TCPIP 1 /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STDLIB_H 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 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 header file. */ #define HAVE_UNISTD_H 1 /* Name of package */ #define PACKAGE "sopwith" /* 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 home page for this package. */ #define PACKAGE_URL "" /* Define to the version of this package. */ #define PACKAGE_VERSION "" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ #define VERSION "1.8.0" sopwith-1.8.1/Makefile.in0000664000175000017500000002660412111467222014277 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datarootdir = @datarootdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = @build_alias@ build_triplet = @build@ host_alias = @host_alias@ host_triplet = @host@ target_alias = @target_alias@ target_triplet = @target@ CC ?= @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ SOPWITH_BINS = @SOPWITH_BINS@ SOPWITH_SUBDIRS = @SOPWITH_SUBDIRS@ VERSION = @VERSION@ AUX_DIST_GEN = $(ac_aux_dir)/config.guess $(ac_aux_dir)/config.sub $(ac_aux_dir)/install-sh $(ac_aux_dir)/missing $(ac_aux_dir)/mkinstalldirs MAINTAINERCLEANFILES = $(AUX_DIST_GEN) docdir = $(prefix)/share/doc/@PACKAGE@ SUBDIRS = src doc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.hin \ configure configure.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) config.h: stamp-h @if test ! -f $@; then \ rm -f stamp-h; \ $(MAKE) stamp-h; \ else :; fi stamp-h: $(srcdir)/config.hin $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h:config.hin \ $(SHELL) ./config.status @echo timestamp > stamp-h 2> /dev/null $(srcdir)/config.hin: $(srcdir)/stamp-h.in @if test ! -f $@; then \ rm -f $(srcdir)/stamp-h.in; \ $(MAKE) $(srcdir)/stamp-h.in; \ else :; fi $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h cd $(top_srcdir) && $(AUTOHEADER) @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null mostlyclean-hdr: clean-hdr: distclean-hdr: -rm -f config.h maintainer-clean-hdr: # 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. @SET_MAKE@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 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: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" != "." || dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)config.hin$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.hin $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive all-recursive-am: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive install-exec-am: install-exec: install-exec-recursive install-data-am: install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall: uninstall-recursive all-am: Makefile config.h all-redirect: all-recursive-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-hdr clean-tags clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-hdr distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ install-data-recursive uninstall-data-recursive install-exec-recursive \ uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ all-recursive check-recursive installcheck-recursive info-recursive \ dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ install-exec-am install-exec install-data-am install-data install-am \ install uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean blah: # 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: sopwith-1.8.1/config.hin0000664000175000017500000000270112111467226014173 0ustar jessejesse/* config.hin. Generated from configure.in by autoheader. */ /* TCP/IP support */ #undef TCPIP /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* 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 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 header file. */ #undef HAVE_UNISTD_H /* 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 home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION sopwith-1.8.1/autom4te.cache/0000755000175000017500000000000012111466757015040 5ustar jessejessesopwith-1.8.1/autom4te.cache/output.00000664000175000017500000046735512111466757016507 0ustar jessejesse@%:@! /bin/sh @%:@ Guess values for system-dependent variables and create Makefiles. @%:@ Generated by GNU Autoconf 2.68. @%:@ @%:@ @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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=: # Pre-4.2 versions of Zsh do 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_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in @%:@( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } 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.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= 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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do 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_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in @%:@( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL case $- in @%:@ (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## @%:@ as_fn_unset VAR @%:@ --------------- @%:@ Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset @%:@ as_fn_set_status STATUS @%:@ ----------------------- @%:@ Set @S|@? to STATUS, without forking. as_fn_set_status () { return $1 } @%:@ as_fn_set_status @%:@ as_fn_exit STATUS @%:@ ----------------- @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } @%:@ as_fn_exit @%:@ as_fn_mkdir_p @%:@ ------------- @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_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 || $as_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" || as_fn_error $? "cannot create directory $as_dir" } @%:@ as_fn_mkdir_p @%:@ as_fn_append VAR VALUE @%:@ ---------------------- @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take @%:@ advantage of any shell optimizations that allow amortized linear growth over @%:@ repeated appends, instead of the typical quadratic growth present in naive @%:@ implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append @%:@ as_fn_arith ARG... @%:@ ------------------ @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments @%:@ must be portable across @S|@(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] @%:@ ---------------------------------------- @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the @%:@ script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } @%:@ as_fn_error 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 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # 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 as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # 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" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_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 } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in @%:@((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac 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 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then 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 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='mkdir -p "$as_dir"' 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'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/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=. LIB@&t@OBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= PACKAGE_URL= ac_unique_file="src/swmain.c" # 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='LTLIBOBJS LIB@&t@OBJS EGREP GREP CPP SOPWITH_SUBDIRS SOPWITH_BINS SDL_LIBS SDL_CFLAGS SDL_CONFIG SET_MAKE MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL PACKAGE INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM RANLIB OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC target_os target_vendor target_cpu target host_os host_vendor host_cpu host build_os build_vendor build_cpu build VERSION target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_psion with_sdl_prefix with_sdl_exec_prefix enable_sdltest ' 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 ac_unrecognized_opts= ac_unrecognized_sep= # 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= ;; *) 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_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=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_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$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_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=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 ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_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'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. 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 # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 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 $as_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 .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # 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 -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | 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 .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 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 @<:@@S|@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-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-psion Compile for Psion Linux --disable-sdltest Do not try to compile and run a test SDL program Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-sdl-prefix=PFX Prefix where SDL is installed (optional) --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional) 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 (Objective) C/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. Report bugs to the package provider. _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" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && 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=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_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 $as_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.68 Copyright (C) 2010 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 ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## @%:@ ac_fn_c_try_compile LINENO @%:@ -------------------------- @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_compile @%:@ ac_fn_c_try_run LINENO @%:@ ---------------------- @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes @%:@ that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_run @%:@ ac_fn_c_try_link LINENO @%:@ ----------------------- @%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_link @%:@ ac_fn_c_try_cpp LINENO @%:@ ---------------------- @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } @%:@ ac_fn_c_try_cpp @%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES @%:@ ------------------------------------------------------- @%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using @%:@ the include files in INCLUDES and setting the cache variable VAR @%:@ accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @%:@include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_header_mongrel @%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES @%:@ ------------------------------------------------------- @%:@ Tests whether HEADER exists and can be compiled using the include files in @%:@ INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 @%:@include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } @%:@ ac_fn_c_check_header_compile 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.68. 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=. $as_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=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append 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 as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset 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 $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" 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_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; 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 $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_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'; as_fn_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 $as_echo "/* confdefs.h */" > 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 cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in @%:@(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } 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. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_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,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_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 # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_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. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## 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 autotools "$srcdir"/autotools; 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 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5 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. VERSION=1.8.0 # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&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 && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&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` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 $as_echo_n "checking target system type... " >&6; } if ${ac_cv_target+:} false; then : $as_echo_n "(cached) " >&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` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 $as_echo "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 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}- 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM 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. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 | *.dSYM | *.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 if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg 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) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : 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 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi @%:@ Check whether --enable-psion was given. if test "${enable_psion+set}" = set; then : enableval=$enable_psion; psiprefix=arm-uclibc echo "*** psion hack: using $psiprefix as prefix for compile utils" target=$psiprefix CC="${psiprefix}-gcc" LD="${psiprefix}-ld" AR="${psiprefix}-ar" NM="${psiprefix}-nm" RANLIB="${psiprefix}-ranlib" SOPWITH_BINS=psopwith SOPWITH_SUBDIRS=psion CFLAGS="$CFLAGS -DPSION" fi case "$target" in *-*-cygwin* | *-*-mingw32*) LDFLAGS="$LDFLAGS -lwsock32" ;; sparc*-*-solaris*) LDFLAGS="$LDFLAGS -lsocket -lnsl" ;; *-*-qnx*) LDFLAGS="$LDFLAGS -lsocket" ;; esac am__api_version="1.4" # 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. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&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 rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$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' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $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". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftestfile ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi rm -f conftest* { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "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 $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=sopwith VERSION=$VERSION if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi cat >>confdefs.h <<_ACEOF @%:@define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF @%:@define VERSION "$VERSION" _ACEOF missing_dir=`cd $ac_aux_dir && pwd` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working aclocal-${am__api_version}" >&5 $as_echo_n "checking for working aclocal-${am__api_version}... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal-${am__api_version} { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoconf" >&5 $as_echo_n "checking for working autoconf... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else AUTOCONF="$missing_dir/missing autoconf" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working automake-${am__api_version}" >&5 $as_echo_n "checking for working automake-${am__api_version}... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-${am__api_version} { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else AUTOMAKE="$missing_dir/missing automake-${am__api_version}" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoheader" >&5 $as_echo_n "checking for working autoheader... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else AUTOHEADER="$missing_dir/missing autoheader" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working makeinfo" >&5 $as_echo_n "checking for working makeinfo... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else MAKEINFO="$missing_dir/missing makeinfo" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi ac_config_headers="$ac_config_headers config.h:config.hin" ac_config_commands="$ac_config_commands default-1" @%:@ 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_SDL_CONFIG+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 $as_echo "$SDL_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi min_sdl_version=1.1.3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 if ac_fn_c_try_run "$LINENO"; then : else no_sdl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_sdl" = x ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SOPWITH_BINS="$SOPWITH_BINS sopwith" SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS sdl" else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 if ac_fn_c_try_link "$LINENO"; 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 "*** 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$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi SDL_CFLAGS="" SDL_LIBS="" : fi rm -f conf.sdltest 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@ifdef __STDC__ @%:@ include @%:@else @%:@ include @%:@endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@ifdef __STDC__ @%:@ include @%:@else @%:@ include @%:@endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @%:@include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then 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 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_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 as_fn_arith $ac_count + 1 && ac_count=$as_val 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 if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then 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 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_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 as_fn_arith $ac_count + 1 && ac_count=$as_val 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 if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h 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=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF @%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_mongrel "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "$ac_includes_default" if test "x$ac_cv_header_netinet_ip_h" = xyes; then : $as_echo "@%:@define TCPIP 1" >>confdefs.h fi ac_config_files="$ac_config_files Makefile src/Makefile src/gtk/Makefile src/sdl/Makefile src/psion/Makefile doc/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_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; 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 if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_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= U= for ac_i in : $LIB@&t@OBJS; 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=`$as_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. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIB@&t@OBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $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} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## 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=: # Pre-4.2 versions of Zsh do 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_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in @%:@( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } 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.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= 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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH @%:@ as_fn_error STATUS ERROR [LINENO LOG_FD] @%:@ ---------------------------------------- @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the @%:@ script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } @%:@ as_fn_error @%:@ as_fn_set_status STATUS @%:@ ----------------------- @%:@ Set @S|@? to STATUS, without forking. as_fn_set_status () { return $1 } @%:@ as_fn_set_status @%:@ as_fn_exit STATUS @%:@ ----------------- @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } @%:@ as_fn_exit @%:@ as_fn_unset VAR @%:@ --------------- @%:@ Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset @%:@ as_fn_append VAR VALUE @%:@ ---------------------- @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take @%:@ advantage of any shell optimizations that allow amortized linear growth over @%:@ repeated appends, instead of the typical quadratic growth present in naive @%:@ implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append @%:@ as_fn_arith ARG... @%:@ ------------------ @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments @%:@ must be portable across @S|@(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith 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 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # 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 ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in @%:@((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac 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 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then 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 else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @%:@ as_fn_mkdir_p @%:@ ------------- @%:@ Create "@S|@as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_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 || $as_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" || as_fn_error $? "cannot create directory $as_dir" } @%:@ as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' 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 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=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.68. 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 case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # 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_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent 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 the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" Copyright (C) 2010 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' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. 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=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= 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 ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_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. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append 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 || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX @%:@@%:@ Running $as_me. @%:@@%:@ _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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:config.hin" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/Makefile" ;; "src/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdl/Makefile" ;; "src/psion/Makefile") CONFIG_FILES="$CONFIG_FILES src/psion/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 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= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries 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[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # 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. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[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="$ac_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 || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append 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 '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 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 || $as_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"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_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 || ac_write_fail=1 # 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= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 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 || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;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 " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_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 "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # 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 || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi sopwith-1.8.1/autom4te.cache/traces.00000664000175000017500000005356712111466757016424 0ustar jessejessem4trace:configure.in:1: -1- AC_INIT([src/swmain.c]) m4trace:configure.in:1: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.in:1: -1- m4_pattern_forbid([_AC_]) m4trace:configure.in:1: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.in:1: -1- m4_pattern_allow([^AS_FLAGS$]) m4trace:configure.in:1: -1- m4_pattern_forbid([^_?m4_]) m4trace:configure.in:1: -1- m4_pattern_forbid([^dnl$]) m4trace:configure.in:1: -1- m4_pattern_forbid([^_?AS_]) m4trace:configure.in:1: -1- AC_SUBST([SHELL]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([SHELL]) m4trace:configure.in:1: -1- m4_pattern_allow([^SHELL$]) m4trace:configure.in:1: -1- AC_SUBST([PATH_SEPARATOR]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) m4trace:configure.in:1: -1- m4_pattern_allow([^PATH_SEPARATOR$]) m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_NAME]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_STRING]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.in:1: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([PACKAGE_URL]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.in:1: -1- AC_SUBST([exec_prefix], [NONE]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([exec_prefix]) m4trace:configure.in:1: -1- m4_pattern_allow([^exec_prefix$]) m4trace:configure.in:1: -1- AC_SUBST([prefix], [NONE]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([prefix]) m4trace:configure.in:1: -1- m4_pattern_allow([^prefix$]) m4trace:configure.in:1: -1- AC_SUBST([program_transform_name], [s,x,x,]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([program_transform_name]) m4trace:configure.in:1: -1- m4_pattern_allow([^program_transform_name$]) m4trace:configure.in:1: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([bindir]) m4trace:configure.in:1: -1- m4_pattern_allow([^bindir$]) m4trace:configure.in:1: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([sbindir]) m4trace:configure.in:1: -1- m4_pattern_allow([^sbindir$]) m4trace:configure.in:1: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([libexecdir]) m4trace:configure.in:1: -1- m4_pattern_allow([^libexecdir$]) m4trace:configure.in:1: -1- AC_SUBST([datarootdir], ['${prefix}/share']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([datarootdir]) m4trace:configure.in:1: -1- m4_pattern_allow([^datarootdir$]) m4trace:configure.in:1: -1- AC_SUBST([datadir], ['${datarootdir}']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([datadir]) m4trace:configure.in:1: -1- m4_pattern_allow([^datadir$]) m4trace:configure.in:1: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([sysconfdir]) m4trace:configure.in:1: -1- m4_pattern_allow([^sysconfdir$]) m4trace:configure.in:1: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([sharedstatedir]) m4trace:configure.in:1: -1- m4_pattern_allow([^sharedstatedir$]) m4trace:configure.in:1: -1- AC_SUBST([localstatedir], ['${prefix}/var']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([localstatedir]) m4trace:configure.in:1: -1- m4_pattern_allow([^localstatedir$]) m4trace:configure.in:1: -1- AC_SUBST([includedir], ['${prefix}/include']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([includedir]) m4trace:configure.in:1: -1- m4_pattern_allow([^includedir$]) m4trace:configure.in:1: -1- AC_SUBST([oldincludedir], ['/usr/include']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([oldincludedir]) m4trace:configure.in:1: -1- m4_pattern_allow([^oldincludedir$]) m4trace:configure.in:1: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], ['${datarootdir}/doc/${PACKAGE_TARNAME}'], ['${datarootdir}/doc/${PACKAGE}'])]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([docdir]) m4trace:configure.in:1: -1- m4_pattern_allow([^docdir$]) m4trace:configure.in:1: -1- AC_SUBST([infodir], ['${datarootdir}/info']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([infodir]) m4trace:configure.in:1: -1- m4_pattern_allow([^infodir$]) m4trace:configure.in:1: -1- AC_SUBST([htmldir], ['${docdir}']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([htmldir]) m4trace:configure.in:1: -1- m4_pattern_allow([^htmldir$]) m4trace:configure.in:1: -1- AC_SUBST([dvidir], ['${docdir}']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([dvidir]) m4trace:configure.in:1: -1- m4_pattern_allow([^dvidir$]) m4trace:configure.in:1: -1- AC_SUBST([pdfdir], ['${docdir}']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([pdfdir]) m4trace:configure.in:1: -1- m4_pattern_allow([^pdfdir$]) m4trace:configure.in:1: -1- AC_SUBST([psdir], ['${docdir}']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([psdir]) m4trace:configure.in:1: -1- m4_pattern_allow([^psdir$]) m4trace:configure.in:1: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([libdir]) m4trace:configure.in:1: -1- m4_pattern_allow([^libdir$]) m4trace:configure.in:1: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([localedir]) m4trace:configure.in:1: -1- m4_pattern_allow([^localedir$]) m4trace:configure.in:1: -1- AC_SUBST([mandir], ['${datarootdir}/man']) m4trace:configure.in:1: -1- AC_SUBST_TRACE([mandir]) m4trace:configure.in:1: -1- m4_pattern_allow([^mandir$]) m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_NAME$]) m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ @%:@undef PACKAGE_NAME]) m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ @%:@undef PACKAGE_TARNAME]) m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_VERSION$]) m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ @%:@undef PACKAGE_VERSION]) m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_STRING$]) m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ @%:@undef PACKAGE_STRING]) m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ @%:@undef PACKAGE_BUGREPORT]) m4trace:configure.in:1: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL]) m4trace:configure.in:1: -1- m4_pattern_allow([^PACKAGE_URL$]) m4trace:configure.in:1: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */ @%:@undef PACKAGE_URL]) m4trace:configure.in:1: -1- AC_SUBST([DEFS]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([DEFS]) m4trace:configure.in:1: -1- m4_pattern_allow([^DEFS$]) m4trace:configure.in:1: -1- AC_SUBST([ECHO_C]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_C]) m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_C$]) m4trace:configure.in:1: -1- AC_SUBST([ECHO_N]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_N]) m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_N$]) m4trace:configure.in:1: -1- AC_SUBST([ECHO_T]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([ECHO_T]) m4trace:configure.in:1: -1- m4_pattern_allow([^ECHO_T$]) m4trace:configure.in:1: -1- AC_SUBST([LIBS]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([LIBS]) m4trace:configure.in:1: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.in:1: -1- AC_SUBST([build_alias]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([build_alias]) m4trace:configure.in:1: -1- m4_pattern_allow([^build_alias$]) m4trace:configure.in:1: -1- AC_SUBST([host_alias]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([host_alias]) m4trace:configure.in:1: -1- m4_pattern_allow([^host_alias$]) m4trace:configure.in:1: -1- AC_SUBST([target_alias]) m4trace:configure.in:1: -1- AC_SUBST_TRACE([target_alias]) m4trace:configure.in:1: -1- m4_pattern_allow([^target_alias$]) m4trace:configure.in:2: -1- AC_CONFIG_AUX_DIR([autotools]) m4trace:configure.in:5: -1- AC_SUBST([VERSION]) m4trace:configure.in:5: -1- AC_SUBST_TRACE([VERSION]) m4trace:configure.in:5: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.in:7: -1- AC_CANONICAL_SYSTEM m4trace:configure.in:7: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete. You should run autoupdate.], [../../lib/autoconf/general.m4:1858: AC_CANONICAL_SYSTEM is expanded from... configure.in:7: the top level]) m4trace:configure.in:7: -1- AC_CANONICAL_TARGET m4trace:configure.in:7: -1- AC_CANONICAL_HOST m4trace:configure.in:7: -1- AC_CANONICAL_BUILD m4trace:configure.in:7: -1- AC_REQUIRE_AUX_FILE([config.sub]) m4trace:configure.in:7: -1- AC_REQUIRE_AUX_FILE([config.guess]) m4trace:configure.in:7: -1- AC_SUBST([build], [$ac_cv_build]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([build]) m4trace:configure.in:7: -1- m4_pattern_allow([^build$]) m4trace:configure.in:7: -1- AC_SUBST([build_cpu], [$[1]]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([build_cpu]) m4trace:configure.in:7: -1- m4_pattern_allow([^build_cpu$]) m4trace:configure.in:7: -1- AC_SUBST([build_vendor], [$[2]]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([build_vendor]) m4trace:configure.in:7: -1- m4_pattern_allow([^build_vendor$]) m4trace:configure.in:7: -1- AC_SUBST([build_os]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([build_os]) m4trace:configure.in:7: -1- m4_pattern_allow([^build_os$]) m4trace:configure.in:7: -1- AC_SUBST([host], [$ac_cv_host]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([host]) m4trace:configure.in:7: -1- m4_pattern_allow([^host$]) m4trace:configure.in:7: -1- AC_SUBST([host_cpu], [$[1]]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([host_cpu]) m4trace:configure.in:7: -1- m4_pattern_allow([^host_cpu$]) m4trace:configure.in:7: -1- AC_SUBST([host_vendor], [$[2]]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([host_vendor]) m4trace:configure.in:7: -1- m4_pattern_allow([^host_vendor$]) m4trace:configure.in:7: -1- AC_SUBST([host_os]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([host_os]) m4trace:configure.in:7: -1- m4_pattern_allow([^host_os$]) m4trace:configure.in:7: -1- AC_SUBST([target], [$ac_cv_target]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([target]) m4trace:configure.in:7: -1- m4_pattern_allow([^target$]) m4trace:configure.in:7: -1- AC_SUBST([target_cpu], [$[1]]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([target_cpu]) m4trace:configure.in:7: -1- m4_pattern_allow([^target_cpu$]) m4trace:configure.in:7: -1- AC_SUBST([target_vendor], [$[2]]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([target_vendor]) m4trace:configure.in:7: -1- m4_pattern_allow([^target_vendor$]) m4trace:configure.in:7: -1- AC_SUBST([target_os]) m4trace:configure.in:7: -1- AC_SUBST_TRACE([target_os]) m4trace:configure.in:7: -1- m4_pattern_allow([^target_os$]) m4trace:configure.in:11: -1- AC_CANONICAL_HOST m4trace:configure.in:12: -1- AC_CANONICAL_TARGET m4trace:configure.in:16: -1- AC_SUBST([CC]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([CC]) m4trace:configure.in:16: -1- m4_pattern_allow([^CC$]) m4trace:configure.in:16: -1- AC_SUBST([CFLAGS]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([CFLAGS]) m4trace:configure.in:16: -1- m4_pattern_allow([^CFLAGS$]) m4trace:configure.in:16: -1- AC_SUBST([LDFLAGS]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([LDFLAGS]) m4trace:configure.in:16: -1- m4_pattern_allow([^LDFLAGS$]) m4trace:configure.in:16: -1- AC_SUBST([LIBS]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([LIBS]) m4trace:configure.in:16: -1- m4_pattern_allow([^LIBS$]) m4trace:configure.in:16: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([CPPFLAGS]) m4trace:configure.in:16: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.in:16: -1- AC_SUBST([CC]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([CC]) m4trace:configure.in:16: -1- m4_pattern_allow([^CC$]) m4trace:configure.in:16: -1- AC_SUBST([CC]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([CC]) m4trace:configure.in:16: -1- m4_pattern_allow([^CC$]) m4trace:configure.in:16: -1- AC_SUBST([CC]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([CC]) m4trace:configure.in:16: -1- m4_pattern_allow([^CC$]) m4trace:configure.in:16: -1- AC_SUBST([CC]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([CC]) m4trace:configure.in:16: -1- m4_pattern_allow([^CC$]) m4trace:configure.in:16: -1- AC_SUBST([ac_ct_CC]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([ac_ct_CC]) m4trace:configure.in:16: -1- m4_pattern_allow([^ac_ct_CC$]) m4trace:configure.in:16: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([EXEEXT]) m4trace:configure.in:16: -1- m4_pattern_allow([^EXEEXT$]) m4trace:configure.in:16: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) m4trace:configure.in:16: -1- AC_SUBST_TRACE([OBJEXT]) m4trace:configure.in:16: -1- m4_pattern_allow([^OBJEXT$]) m4trace:configure.in:17: -1- AC_SUBST([RANLIB]) m4trace:configure.in:17: -1- AC_SUBST_TRACE([RANLIB]) m4trace:configure.in:17: -1- m4_pattern_allow([^RANLIB$]) m4trace:configure.in:49: -1- AM_INIT_AUTOMAKE([sopwith], [$VERSION]) m4trace:configure.in:49: -1- AM_AUTOMAKE_VERSION([1.4-p6]) m4trace:configure.in:49: -1- AC_REQUIRE_AUX_FILE([install-sh]) m4trace:configure.in:49: -1- AC_SUBST([INSTALL_PROGRAM]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) m4trace:configure.in:49: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) m4trace:configure.in:49: -1- AC_SUBST([INSTALL_SCRIPT]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) m4trace:configure.in:49: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) m4trace:configure.in:49: -1- AC_SUBST([INSTALL_DATA]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([INSTALL_DATA]) m4trace:configure.in:49: -1- m4_pattern_allow([^INSTALL_DATA$]) m4trace:configure.in:49: -1- AC_SUBST([PACKAGE]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([PACKAGE]) m4trace:configure.in:49: -1- m4_pattern_allow([^PACKAGE$]) m4trace:configure.in:49: -1- AC_SUBST([VERSION]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([VERSION]) m4trace:configure.in:49: -1- m4_pattern_allow([^VERSION$]) m4trace:configure.in:49: -2- AC_DEFINE_TRACE_LITERAL([PACKAGE]) m4trace:configure.in:49: -2- m4_pattern_allow([^PACKAGE$]) m4trace:configure.in:49: -2- AH_OUTPUT([PACKAGE], [/* Name of package */ @%:@undef PACKAGE]) m4trace:configure.in:49: -2- AC_DEFINE_TRACE_LITERAL([VERSION]) m4trace:configure.in:49: -2- m4_pattern_allow([^VERSION$]) m4trace:configure.in:49: -2- AH_OUTPUT([VERSION], [/* Version number of package */ @%:@undef VERSION]) m4trace:configure.in:49: -1- AC_SUBST([ACLOCAL]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([ACLOCAL]) m4trace:configure.in:49: -1- m4_pattern_allow([^ACLOCAL$]) m4trace:configure.in:49: -1- AC_SUBST([AUTOCONF]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([AUTOCONF]) m4trace:configure.in:49: -1- m4_pattern_allow([^AUTOCONF$]) m4trace:configure.in:49: -1- AC_SUBST([AUTOMAKE]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([AUTOMAKE]) m4trace:configure.in:49: -1- m4_pattern_allow([^AUTOMAKE$]) m4trace:configure.in:49: -1- AC_SUBST([AUTOHEADER]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([AUTOHEADER]) m4trace:configure.in:49: -1- m4_pattern_allow([^AUTOHEADER$]) m4trace:configure.in:49: -1- AC_SUBST([MAKEINFO]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([MAKEINFO]) m4trace:configure.in:49: -1- m4_pattern_allow([^MAKEINFO$]) m4trace:configure.in:49: -1- AC_SUBST([SET_MAKE]) m4trace:configure.in:49: -1- AC_SUBST_TRACE([SET_MAKE]) m4trace:configure.in:49: -1- m4_pattern_allow([^SET_MAKE$]) m4trace:configure.in:51: -1- AC_CONFIG_HEADERS([config.h:config.hin]) m4trace:configure.in:51: -1- _m4_warn([obsolete], [The macro `AC_OUTPUT_COMMANDS' is obsolete. You should run autoupdate.], [../../lib/autoconf/status.m4:1028: AC_OUTPUT_COMMANDS is expanded from... aclocal.m4:137: AM_CONFIG_HEADER is expanded from... configure.in:51: the top level]) m4trace:configure.in:59: -1- AC_SUBST([SDL_CONFIG]) m4trace:configure.in:59: -1- AC_SUBST_TRACE([SDL_CONFIG]) m4trace:configure.in:59: -1- m4_pattern_allow([^SDL_CONFIG$]) m4trace:configure.in:59: -1- _m4_warn([obsolete], [The macro `AC_TRY_RUN' is obsolete. You should run autoupdate.], [../../lib/autoconf/general.m4:2765: AC_TRY_RUN is expanded from... aclocal.m4:168: AM_PATH_SDL is expanded from... configure.in:59: the top level]) m4trace:configure.in:59: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete. You should run autoupdate.], [../../lib/autoconf/general.m4:2688: AC_TRY_LINK is expanded from... aclocal.m4:168: AM_PATH_SDL is expanded from... configure.in:59: the top level]) m4trace:configure.in:59: -1- AC_SUBST([SDL_CFLAGS]) m4trace:configure.in:59: -1- AC_SUBST_TRACE([SDL_CFLAGS]) m4trace:configure.in:59: -1- m4_pattern_allow([^SDL_CFLAGS$]) m4trace:configure.in:59: -1- AC_SUBST([SDL_LIBS]) m4trace:configure.in:59: -1- AC_SUBST_TRACE([SDL_LIBS]) m4trace:configure.in:59: -1- m4_pattern_allow([^SDL_LIBS$]) m4trace:configure.in:64: -1- AC_SUBST([SOPWITH_BINS]) m4trace:configure.in:64: -1- AC_SUBST_TRACE([SOPWITH_BINS]) m4trace:configure.in:64: -1- m4_pattern_allow([^SOPWITH_BINS$]) m4trace:configure.in:65: -1- AC_SUBST([SOPWITH_SUBDIRS]) m4trace:configure.in:65: -1- AC_SUBST_TRACE([SOPWITH_SUBDIRS]) m4trace:configure.in:65: -1- m4_pattern_allow([^SOPWITH_SUBDIRS$]) m4trace:configure.in:69: -2- AC_DEFINE_TRACE_LITERAL([TCPIP]) m4trace:configure.in:69: -2- m4_pattern_allow([^TCPIP$]) m4trace:configure.in:69: -1- AC_SUBST([CPP]) m4trace:configure.in:69: -1- AC_SUBST_TRACE([CPP]) m4trace:configure.in:69: -1- m4_pattern_allow([^CPP$]) m4trace:configure.in:69: -1- AC_SUBST([CPPFLAGS]) m4trace:configure.in:69: -1- AC_SUBST_TRACE([CPPFLAGS]) m4trace:configure.in:69: -1- m4_pattern_allow([^CPPFLAGS$]) m4trace:configure.in:69: -1- AC_SUBST([CPP]) m4trace:configure.in:69: -1- AC_SUBST_TRACE([CPP]) m4trace:configure.in:69: -1- m4_pattern_allow([^CPP$]) m4trace:configure.in:69: -1- AC_SUBST([GREP]) m4trace:configure.in:69: -1- AC_SUBST_TRACE([GREP]) m4trace:configure.in:69: -1- m4_pattern_allow([^GREP$]) m4trace:configure.in:69: -1- AC_SUBST([EGREP]) m4trace:configure.in:69: -1- AC_SUBST_TRACE([EGREP]) m4trace:configure.in:69: -1- m4_pattern_allow([^EGREP$]) m4trace:configure.in:69: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) m4trace:configure.in:69: -1- m4_pattern_allow([^STDC_HEADERS$]) m4trace:configure.in:69: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ @%:@undef STDC_HEADERS]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_SYS_TYPES_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_SYS_STAT_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDLIB_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STRING_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_MEMORY_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STRINGS_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_INTTYPES_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_STDINT_H]) m4trace:configure.in:69: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ @%:@undef HAVE_UNISTD_H]) m4trace:configure.in:73: -1- AC_CONFIG_FILES([ Makefile src/Makefile src/gtk/Makefile src/sdl/Makefile src/psion/Makefile doc/Makefile ]) m4trace:configure.in:73: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. You should run autoupdate.], []) m4trace:configure.in:73: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) m4trace:configure.in:73: -1- m4_pattern_allow([^LIB@&t@OBJS$]) m4trace:configure.in:73: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([LTLIBOBJS]) m4trace:configure.in:73: -1- m4_pattern_allow([^LTLIBOBJS$]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([top_builddir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([top_build_prefix]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([srcdir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_srcdir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([top_srcdir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_top_srcdir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([builddir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_builddir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([abs_top_builddir]) m4trace:configure.in:73: -1- AC_SUBST_TRACE([INSTALL]) sopwith-1.8.1/autom4te.cache/requests0000664000175000017500000000627112111467226016636 0ustar jessejesse# This file was generated by Autom4te Sun Nov 6 20:57:04 UTC 2011. # It contains the lists of macros which have been traced. # It can be safely removed. @request = ( bless( [ '0', 1, [ '/usr/share/autoconf' ], [ '/usr/share/autoconf/autoconf/autoconf.m4f', 'aclocal.m4', 'configure.in' ], { '_LT_AC_TAGCONFIG' => 1, 'AM_PROG_F77_C_O' => 1, 'AC_INIT' => 1, 'm4_pattern_forbid' => 1, '_AM_COND_IF' => 1, 'AC_CANONICAL_TARGET' => 1, 'AC_SUBST' => 1, 'AC_CONFIG_LIBOBJ_DIR' => 1, 'AC_FC_SRCEXT' => 1, 'AC_CANONICAL_HOST' => 1, 'AC_PROG_LIBTOOL' => 1, 'AM_INIT_AUTOMAKE' => 1, 'AM_PATH_GUILE' => 1, 'AC_CONFIG_SUBDIRS' => 1, 'AM_AUTOMAKE_VERSION' => 1, 'LT_CONFIG_LTDL_DIR' => 1, 'AC_REQUIRE_AUX_FILE' => 1, 'AC_CONFIG_LINKS' => 1, 'm4_sinclude' => 1, 'LT_SUPPORTED_TAG' => 1, 'AM_MAINTAINER_MODE' => 1, 'AM_NLS' => 1, 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, 'AM_MAKEFILE_INCLUDE' => 1, '_m4_warn' => 1, 'AM_PROG_CXX_C_O' => 1, '_AM_COND_ENDIF' => 1, '_AM_MAKEFILE_INCLUDE' => 1, 'AM_ENABLE_MULTILIB' => 1, 'AM_SILENT_RULES' => 1, 'AM_PROG_MOC' => 1, 'AC_CONFIG_FILES' => 1, 'include' => 1, 'LT_INIT' => 1, 'AM_PROG_AR' => 1, 'AM_GNU_GETTEXT' => 1, 'AC_LIBSOURCE' => 1, 'AM_PROG_FC_C_O' => 1, 'AC_CANONICAL_BUILD' => 1, 'AC_FC_FREEFORM' => 1, 'AH_OUTPUT' => 1, '_AM_SUBST_NOTMAKE' => 1, 'AC_CONFIG_AUX_DIR' => 1, 'sinclude' => 1, 'AM_PROG_CC_C_O' => 1, 'm4_pattern_allow' => 1, 'AM_XGETTEXT_OPTION' => 1, 'AC_CANONICAL_SYSTEM' => 1, 'AM_CONDITIONAL' => 1, 'AC_CONFIG_HEADERS' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1, 'AM_POT_TOOLS' => 1, 'm4_include' => 1, '_AM_COND_ELSE' => 1, 'AC_SUBST_TRACE' => 1 } ], 'Autom4te::Request' ) ); sopwith-1.8.1/configure.in0000664000175000017500000000242212111466755014545 0ustar jessejesseAC_INIT(src/swmain.c) AC_CONFIG_AUX_DIR(autotools) VERSION=1.8.0 AC_SUBST(VERSION) AC_CANONICAL_SYSTEM dnl optimisations AC_CANONICAL_HOST AC_CANONICAL_TARGET dnl check for cc AC_PROG_CC AC_PROG_RANLIB AC_ARG_ENABLE(psion, [ --enable-psion Compile for Psion Linux], [ psiprefix=arm-uclibc echo "*** psion hack: using $psiprefix as prefix for compile utils" target=$psiprefix CC="${psiprefix}-gcc" LD="${psiprefix}-ld" AR="${psiprefix}-ar" NM="${psiprefix}-nm" RANLIB="${psiprefix}-ranlib" SOPWITH_BINS=psopwith SOPWITH_SUBDIRS=psion CFLAGS="$CFLAGS -DPSION" ]) dnl network libraries case "$target" in *-*-cygwin* | *-*-mingw32*) LDFLAGS="$LDFLAGS -lwsock32" ;; sparc*-*-solaris*) LDFLAGS="$LDFLAGS -lsocket -lnsl" ;; *-*-qnx*) LDFLAGS="$LDFLAGS -lsocket" ;; esac AM_INIT_AUTOMAKE(sopwith,$VERSION) AM_CONFIG_HEADER(config.h:config.hin) dnl install programs AC_PROG_INSTALL dnl libraries AM_PATH_SDL(1.1.3, [ SOPWITH_BINS="$SOPWITH_BINS sopwith" SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS sdl" ],) AC_SUBST(SOPWITH_BINS) AC_SUBST(SOPWITH_SUBDIRS) dnl check for TCPIP support AC_CHECK_HEADER(netinet/ip.h, AC_DEFINE(TCPIP),,) dnl generate Makefiles AC_OUTPUT([ Makefile src/Makefile src/gtk/Makefile src/sdl/Makefile src/psion/Makefile doc/Makefile ]) sopwith-1.8.1/NEWS0000664000175000017500000001631112111470032012714 0ustar jessejessev1.8.0 Dropped support for GTK-2 as toolkit is being obsolete. Tidied up configurating script. Fixed program crash when video display is not available. (Thanks to Denis M from the Gentoo team for reporting this bug and testing the patch.) v1.7.4 Brought game into compliance with Debian patches. Fixed errors in documentation. (Thanks to Ken from the Debian project for helping with these items.) Added slightly more intense explosions to oil tanks. This new feature can be turned off from the command line with the "-e" flag. v1.7.3 Fixed most outstanding bugs reported in Debian. Fixed some compiler warnings. Added intructions for exiting the program on the title page. Sound is now disabled by default. v1.7.2 Cleaned up some compile errors from gcc 4.4.1 on Ubuntu. Added -g command line option. -g and a number, such as -g2 will start the game on difficulty level 2. Normally the game starts at zero. v1.7.1 Fix some compilation errors due to an error in swinit.c Fix networking which got broken somewhere. v1.7.0 Allow control via arrow keys, for people with "unusual" keyboard layouts Fix right-ctrl for ctrl-c (thanks to electricelf) Support Gtk+ 2.0 and some GNOME HiGification Psion Port: devfs support improved screen squishing for revo Code cleanup: Removed a load of redundant code including the last remnants of the old Imaginet code. Also some archaic stuff like the ATARI/IBMPC defines Some of the keyboard code moved out into a system-independent module. v1.6.0 Fixed bug with harry keys mode and returning to home from the left (thanks to Kodath duMatri) Fixed bullets being colored (instead of always white like they should be) Now totally under the GPL! v1.5.0 Removed old redundant collision detection code PsiLinux port: Keyboard code added, video code improved. This port is now playable! Fixed gtk+ port turning off key repeat Fixed SDL version drawing a blank screen on changing video modes Fixed consistency failure with flocks between clients with different screen widths renamed "getmode" to "getgamemode" to avoid conflicts with standard unix function (thanks to Edwin Groothuis) SDL Icon is now set from the internal sprite table, not from an external file (no more "icon.bmp not found" errors) Added manual page v1.4.0 (29/06/2002) Start of PsiLinux port (for Psion Revo/5MX) Collision detection code rewritten Save button added to settings dialog in Gtk+ version Added original documentation to doc/origdoc.txt Code restructure: All rendering is now done directly to the appropriate buffer, the old Atari rendering functions (which I thought were CGA functions) are no longer used as there are now native 8-bit versions. sopsym_t is used for storing sprites; ob->ob_symwdt/symhgt removed as they are no longer of any use v1.3.0 (??/11/2001) Gtk+ port! (work in progress, no sound yet but it is playable) Game no longer thrashes the CPU when waiting for keypresses or the next gametic. 'S' key to toggle sound fixed Network connect now allows you to connect to a different port than the default (use host.domain.com:port) Network option to connect to a TCP loop (forwards between two sopwith clients using a third "man in the middle" server) Fixed "holes" in ground when using solid ground (the solid ground function was originally hacked from the line ground function, it is now practically rewriteen). Fixed out of sync netgames when starting a netgame after playing a single player game already. build now uses autoconf/automake Code cleanup: intson, intsoff calls removed, bmblib.[ch] removed from build Build process changed: SDL code moved into a seperate subdirectory, Gtk+ code is in another directory. All the game code is compiled into a single module "sopwith.o" and this is linked with the appropriate modules for Sound, Graphics and Timer. This allows multiple ports for Gtk+, SDL etc, while keeping the game itself seperate from the display specific code. Added a 'dos' subdirectory with relevant code for if/when I do a DOS port. v1.2.0 (4/11/2001) Added options menu, game options are saved to disk (sopwith.ini on Windows systems, ~/.sopwithrc on Unix). Game options: * enable/disable missiles * solid ground (draw as a block like sopwith 1) * hud splats (option to disable) * wounded planes (option to disable) * animals (oxen and birds) * harry keys (pull up/down keys are relative to screen, not plane) * fullscreen/double scale video options (these were available before but required command line args) More sensible versioning system When you die, you are taken back to the menu rather than immediately restarting. Splatted oxen turn the screen pink (as in Authors Edition) Icon Code cleanup: lots of reordering of the initial setup and restart code Menu code is now all in swtitle.c (except the options menu which is in swconf.c) v1.10 (2x/10/2001) Networking! I have hacked in TCP/IP Networking based on the old asyncronous multiplayer option code. There is a new option on the main menu "Network" through which network games can be started. Fixed use of auxdisp which was why the score was not displayed and was also why the map was not being properly refreshed. Fixed command line args and updated help screen Title screen based on the "network edition" title screen. Extra command line args: -f (fullscreen) -2 (double size window for easier viewing) -l (network mode, listen for connection) -j (network mode, connect to host) Sopwith now quits if you hit ctrl-c, not escape, like in the original. However, for lazy people not wanting to wait while their plane crashes and the game exits, if you hit ctrl-c 3 times it quits immediately. Hitting escape in menus now takes you back to the previous menu. Major code cleanup - this is the main difference. I have created headers for all the source modules so that it is no longer neccesary to include millions of "extern" definitions in every file (which is tedious, ugly and prone to bugs). I have also reformatted all the code so that it looks nicer, and removed some obfuscations so that the code is more readable in places. CVS Tags have been added to all source files for if/when I put this into CVS. Various extra code hacks: sopwith1 theme music (was different music in sopwith 1, I extracted the music sequence from the hexdump), solid ground (also ala sopwith1) v1.00 (15/10/2001) Video and Sound is all working (afaik) ASM removed/replaced. Internally it draws everything as if it were still using a CGA screen, I have written some SDL code that "emulates" a CGA screen and draws it to an SDL screen. Sound is done in a similar way: The digital output in LibSDL is used to make the appropriately-pitched beepings to sound like a PC Speaker :) The API to the PC Speaker code is identical to those of a small library I wrote a while back to control the PC Speaker in DJGPP, this is incase I want to do a DOS port. Moved all of Andrew Jenners decompiled code into amj/, I do not use this directly but it is useful in deciphering some ASM functions. attic/ has all the asm source and other source files that are redundant now. doc/ has all the documentation that came with the source current bugs: crashing into an ox doesnt turn your screen pink, map/status bar dont refresh properly (?? score not displayed) sopwith-1.8.1/Makefile0000664000175000017500000002710412124365360013672 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = /bin/bash srcdir = . top_srcdir = . prefix = /usr/local exec_prefix = ${prefix} 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 libdir = ${exec_prefix}/lib infodir = ${datarootdir}/info mandir = ${datarootdir}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/sopwith pkglibdir = $(libdir)/sopwith pkgincludedir = $(includedir)/sopwith top_builddir = . ACLOCAL = /home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4 AUTOCONF = autoconf AUTOMAKE = /home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4 AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL} transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = build_triplet = x86_64-unknown-linux-gnu host_alias = host_triplet = x86_64-unknown-linux-gnu target_alias = target_triplet = x86_64-unknown-linux-gnu CC ?= gcc MAKEINFO = /home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo PACKAGE = sopwith PKG_CONFIG = @PKG_CONFIG@ RANLIB = ranlib SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL_CONFIG = /usr/bin/sdl-config SDL_LIBS = -L/usr/lib/x86_64-linux-gnu -lSDL SOPWITH_BINS = sopwith SOPWITH_SUBDIRS = sdl VERSION = 1.8.0 AUX_DIST_GEN = $(ac_aux_dir)/config.guess $(ac_aux_dir)/config.sub $(ac_aux_dir)/install-sh $(ac_aux_dir)/missing $(ac_aux_dir)/mkinstalldirs MAINTAINERCLEANFILES = $(AUX_DIST_GEN) docdir = $(prefix)/share/doc/sopwith SUBDIRS = src doc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ Makefile.am Makefile.in NEWS TODO acconfig.h aclocal.m4 config.hin \ configure configure.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): configure.in cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) config.h: stamp-h @if test ! -f $@; then \ rm -f stamp-h; \ $(MAKE) stamp-h; \ else :; fi stamp-h: $(srcdir)/config.hin $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h:config.hin \ $(SHELL) ./config.status @echo timestamp > stamp-h 2> /dev/null $(srcdir)/config.hin: $(srcdir)/stamp-h.in @if test ! -f $@; then \ rm -f $(srcdir)/stamp-h.in; \ $(MAKE) $(srcdir)/stamp-h.in; \ else :; fi $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h cd $(top_srcdir) && $(AUTOHEADER) @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null mostlyclean-hdr: clean-hdr: distclean-hdr: -rm -f config.h maintainer-clean-hdr: # 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. all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 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: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" != "." || dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)config.hin$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.hin $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive all-recursive-am: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive install-exec-am: install-exec: install-exec-recursive install-data-am: install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall: uninstall-recursive all-am: Makefile config.h all-redirect: all-recursive-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-hdr clean-tags clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-hdr distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ install-data-recursive uninstall-data-recursive install-exec-recursive \ uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ all-recursive check-recursive installcheck-recursive info-recursive \ dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ install-exec-am install-exec install-data-am install-data install-am \ install uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean blah: # 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: sopwith-1.8.1/config.cache0000664000175000017500000000256112046775540014474 0ustar jessejesse# This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs. It is not useful on other systems. # If it contains results you don't want to keep, you may remove or edit it. # # By default, configure uses ./config.cache as the cache file, # creating it if it does not exist already. You can give configure # the --cache-file=FILE option to use a different cache file; that is # what configure does when it calls configure scripts in # subdirectories, so they share the cache. # Giving --cache-file=/dev/null disables caching, for debugging configure. # config.status only pays attention to the cache file if you give it the # --recheck option to rerun configure. # ac_cv_header_netinet_ip_h=${ac_cv_header_netinet_ip_h='yes'} ac_cv_path_PKG_CONFIG=${ac_cv_path_PKG_CONFIG='/usr/bin/pkg-config'} ac_cv_path_SDL_CONFIG=${ac_cv_path_SDL_CONFIG='/usr/bin/sdl-config'} ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'} ac_cv_prog_CC=${ac_cv_prog_CC='gcc'} ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'} ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB='ranlib'} ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross='no'} ac_cv_prog_cc_g=${ac_cv_prog_cc_g='yes'} ac_cv_prog_cc_works=${ac_cv_prog_cc_works='yes'} ac_cv_prog_gcc=${ac_cv_prog_gcc='yes'} ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set='yes'} sopwith-1.8.1/ChangeLog0000664000175000017500000002154112124366233014003 0ustar jessejessev1.8.1 Corrected initialization error would would prevent sound from playing at start-up. Updated documentation to include command line flags for playing music (-p) and starting Sopwith in quiet mode (-q). Thanks to John Corrado for pointing out this bug. v1.8.0 Most distributions are moving to GTK-3, sopwith's legacy code uses GTK-2. Dropping GTK support in favour of SDL. Modified configure scrit. Patched crash caused by failure to find a suitable video device. Modified src/sdl/video.c to add new check. Fixed configure warings related to datarootdir variable. v1.7.5 Cleaned up code to avoid compile warnings. Sopwith now builds cleanly using Clang 3.0 and GCC 4.6. Added custom keys option. Controls can be altered by adjusting the values in the ~/.sopwith/keys file. On Windows this file should be located in the user's profile under "AppData/Local/.sopwith/keys". v1.7.4 Added man page patch from Ken to update documentation. Added include statements in vid_vga.c and sdl/video.c to bring us in line with Debian's patches. Update provided by Ken. Applied patch to swasynio.c to correct spelling errors. Patch supplies by Ken from the Debian project. Oil tank explosions should be a little more intense now. These larger/faster explosions can be turned off at the command line by using the "-e" flag. (Closes Debian bug 188298.) v1.7.3 Added range check patch to avoid crashes when plan or missile is close to the edge of the map. Patch was provided by Mikko Vartianinen. (Closes Debian bugs 224518 and 258751.) Mouse pointer no longer appears over Sopwith window. (Closes Debian bug 187930.) Depreciated gtk branch, updated configure/makefile scripts. Sound is now turned off by default. Sound can be turned on using the -p flag from the command line. Fixed socket check in tcpcomm.c (error returns -1, not less than -2). When AI plane is chasing the player's plane, the AI plane will now shoot if it is in position. (swauto.c) When the player's plane is damaged, the auto-pilot is less manouverable, just like the player's controls. (swauto.c) Holding down the X or Z keys now causes the player's plane to constantly speed up or slow down. Previously, the key had to be rapidly tapped to change speed. (Fixes Debian bug 188301.) Updated title screen to show exit message. Fixed compiler warning in swconf.c v1.7.2 Cleaned up some compile errors from gcc 4.4.1 on Ubuntu. (Closes Debian bug 582399.) Added -g command line option. -g and a number, such as -g2 will start the game on difficulty level 2. Normally the game starts at zero. (Closes Debian bug 582398.) v1.7.1 Fix some compilation errors due to an error in swinit.c Fix networking which got broken somewhere. v1.7.0 Allow control via arrow keys, for people with "unusual" keyboard layouts Fix right-ctrl for ctrl-c (thanks to electricelf) Support Gtk+ 2.0 and some GNOME HiGification Psion Port: devfs support improved screen squishing for revo Code cleanup: Removed a load of redundant code including the last remnants of the old Imaginet code. Also some archaic stuff like the ATARI/IBMPC defines Some of the keyboard code moved out into a system-independent module. v1.6.0 Fixed bug with harry keys mode and returning to home from the left (thanks to Kodath duMatri) Fixed bullets being colored (instead of always white like they should be) Now totally under the GPL! v1.5.0 Removed old redundant collision detection code PsiLinux port: Keyboard code added, video code improved. This port is now playable! Fixed gtk+ port turning off key repeat Fixed SDL version drawing a blank screen on changing video modes Fixed consistency failure with flocks between clients with different screen widths renamed "getmode" to "getgamemode" to avoid conflicts with standard unix function (thanks to Edwin Groothuis) SDL Icon is now set from the internal sprite table, not from an external file (no more "icon.bmp not found" errors) Added manual page v1.4.0 (29/06/2002) Start of PsiLinux port (for Psion Revo/5MX) Collision detection code rewritten Save button added to settings dialog in Gtk+ version Added original documentation to doc/origdoc.txt Code restructure: All rendering is now done directly to the appropriate buffer, the old Atari rendering functions (which I thought were CGA functions) are no longer used as there are now native 8-bit versions. sopsym_t is used for storing sprites; ob->ob_symwdt/symhgt removed as they are no longer of any use v1.3.0 (??/11/2001) Gtk+ port! (work in progress, no sound yet but it is playable) Game no longer thrashes the CPU when waiting for keypresses or the next gametic. 'S' key to toggle sound fixed Network connect now allows you to connect to a different port than the default (use host.domain.com:port) Network option to connect to a TCP loop (forwards between two sopwith clients using a third "man in the middle" server) Fixed "holes" in ground when using solid ground (the solid ground function was originally hacked from the line ground function, it is now practically rewriteen). Fixed out of sync netgames when starting a netgame after playing a single player game already. build now uses autoconf/automake Code cleanup: intson, intsoff calls removed, bmblib.[ch] removed from build Build process changed: SDL code moved into a seperate subdirectory, Gtk+ code is in another directory. All the game code is compiled into a single module "sopwith.o" and this is linked with the appropriate modules for Sound, Graphics and Timer. This allows multiple ports for Gtk+, SDL etc, while keeping the game itself seperate from the display specific code. Added a 'dos' subdirectory with relevant code for if/when I do a DOS port. v1.2.0 (4/11/2001) Added options menu, game options are saved to disk (sopwith.ini on Windows systems, ~/.sopwithrc on Unix). Game options: * enable/disable missiles * solid ground (draw as a block like sopwith 1) * hud splats (option to disable) * wounded planes (option to disable) * animals (oxen and birds) * harry keys (pull up/down keys are relative to screen, not plane) * fullscreen/double scale video options (these were available before but required command line args) More sensible versioning system When you die, you are taken back to the menu rather than immediately restarting. Splatted oxen turn the screen pink (as in Authors Edition) Icon Code cleanup: lots of reordering of the initial setup and restart code Menu code is now all in swtitle.c (except the options menu which is in swconf.c) v1.10 (2x/10/2001) Networking! I have hacked in TCP/IP Networking based on the old asyncronous multiplayer option code. There is a new option on the main menu "Network" through which network games can be started. Fixed use of auxdisp which was why the score was not displayed and was also why the map was not being properly refreshed. Fixed command line args and updated help screen Title screen based on the "network edition" title screen. Extra command line args: -f (fullscreen) -2 (double size window for easier viewing) -l (network mode, listen for connection) -j (network mode, connect to host) Sopwith now quits if you hit ctrl-c, not escape, like in the original. However, for lazy people not wanting to wait while their plane crashes and the game exits, if you hit ctrl-c 3 times it quits immediately. Hitting escape in menus now takes you back to the previous menu. Major code cleanup - this is the main difference. I have created headers for all the source modules so that it is no longer neccesary to include millions of "extern" definitions in every file (which is tedious, ugly and prone to bugs). I have also reformatted all the code so that it looks nicer, and removed some obfuscations so that the code is more readable in places. CVS Tags have been added to all source files for if/when I put this into CVS. Various extra code hacks: sopwith1 theme music (was different music in sopwith 1, I extracted the music sequence from the hexdump), solid ground (also ala sopwith1) v1.00 (15/10/2001) Video and Sound is all working (afaik) ASM removed/replaced. Internally it draws everything as if it were still using a CGA screen, I have written some SDL code that "emulates" a CGA screen and draws it to an SDL screen. Sound is done in a similar way: The digital output in LibSDL is used to make the appropriately-pitched beepings to sound like a PC Speaker :) The API to the PC Speaker code is identical to those of a small library I wrote a while back to control the PC Speaker in DJGPP, this is incase I want to do a DOS port. Moved all of Andrew Jenners decompiled code into amj/, I do not use this directly but it is useful in deciphering some ASM functions. attic/ has all the asm source and other source files that are redundant now. doc/ has all the documentation that came with the source current bugs: crashing into an ox doesnt turn your screen pink, map/status bar dont refresh properly (?? score not displayed) sopwith-1.8.1/stamp-h.in0000664000175000017500000000001212111467226014120 0ustar jessejessetimestamp sopwith-1.8.1/README0000664000175000017500000000156212046775537013130 0ustar jessejesse This is a port of the game "Sopwith", which was originally by BMB CompuScience Canada. The original author David L. Clark has kindly released the sourcecode under the GNU GPL. Features * Uses SDL, so will run on most modern operating systems * (in progress) GNOME port * Pseudo-functional networking * PC speaker emulation! More Info More information about sopwith is available in some of the files included here: AUTHORS - People responsible for this COPYING - License information (GNU GPL) FAQ - Frequently asked questions about SDL Sopwith NEWS - Whats new, ChangeLog TODO - a sneak peek at possible future features You can find lots of information about sopwith the game at: http://www.sopwith.org/ Feedback If you like SDL Sopwith, email me and let me know! Simon Howard sopwith-1.8.1/src/0000755000175000017500000000000012124366257013021 5ustar jessejessesopwith-1.8.1/src/swasynio.h0000664000175000017500000000377112046775550015063 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swasynio.h,v 1.2.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWASYNIO_H__ #define __SWASYNIO_H__ #include "sw.h" typedef enum { ASYN_LISTEN, ASYN_CONNECT, ASYN_TCPLOOP } asynmode_t; extern asynmode_t asynmode; extern char asynhost[128]; extern int asynget(OBJECTS *ob); extern void asynput(int movekey); extern char *asynclos(BOOL update); extern void init1asy(); extern void init2asy(); #endif //--------------------------------------------------------------------------- // // $Log: swasynio.h,v $ // Revision 1.2.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:29 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swdisp.c0000664000175000017500000001367112046775547014521 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swdisp.c,v 1.2.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swdispc - Display all players and objects // //--------------------------------------------------------------------------- #include "video.h" #include "sw.h" #include "swdisp.h" #include "swgrpha.h" #include "swmain.h" #include "swsound.h" #include "swsymbol.h" #include "swutil.h" static void plnsound(OBJECTS *obp) { register OBJECTS *ob = obp; if (ob->ob_firing) sound(S_SHOT, 0, ob); else switch (ob->ob_state) { case FALLING: if (ob->ob_dy >= 0) sound(S_HIT, 0, ob); else sound(S_FALLING, ob->ob_y, ob); break; case FLYING: sound(S_PLANE, -ob->ob_speed, ob); break; case STALLED: case WOUNDED: case WOUNDSTALL: sound(S_HIT, 0, ob); break; default: break; } } void dispbomb(OBJECTS * obp) { register OBJECTS *ob = obp; if (ob->ob_dy <= 0) sound(S_BOMB, -ob->ob_y, ob); } void dispmiss(OBJECTS * obp) { } void dispburst(OBJECTS * obp) { } void dispexpl(OBJECTS * obp) { register OBJECTS *ob = obp; if (ob->ob_orient) sound(S_EXPLOSION, ob->ob_hitcount, ob); } void dispcomp(OBJECTS * ob) { plnsound(ob); } void dispmult(OBJECTS * ob) { plnsound(ob); } void disptarg(OBJECTS * ob) { if (ob->ob_firing) sound(S_SHOT, 0, ob); } void dispflck(OBJECTS * ob) { } void dispbird(OBJECTS * ob) { } void dispwobj(OBJECTS * obp) { register OBJECTS *ob; register OLDWDISP *ow; // int ox, oy; int oldplot; ob = obp; ow = &wdisp[ob->ob_index]; if (ow->ow_xorplot) Vid_PlotPixel(ow->ow_x, ow->ow_y, ow->ow_xorplot - 1); if (ob->ob_state >= FINISHED) ow->ow_xorplot = 0; else { ow->ow_x = SCR_CENTR + (ob->ob_x + ob->ob_newsym->w / 2) / WRLD_RSX; ow->ow_y = (ob->ob_y - ob->ob_newsym->h / 2) / WRLD_RSY; // sdh 27/03/02: use new functions oldplot = Vid_GetPixel(ow->ow_x, ow->ow_y); Vid_PlotPixel(ow->ow_x, ow->ow_y, ob->ob_owner->ob_clr); if (oldplot == 0 || (oldplot & 0x0003) == 3) { ow->ow_xorplot = oldplot + 1; return; } Vid_PlotPixel(ow->ow_x, ow->ow_y, oldplot); ow->ow_xorplot = 0; } } #define SEED_START 74917777 static unsigned long seed = SEED_START; static unsigned long randsd() { seed *= countmove; seed += 7491; if (!seed) seed = SEED_START; return 0; } static void dispwindshot() { OBJECTS ob; // sdh 28/10/2001: option to disable hud splats if (!conf_hudsplats) return; ob.ob_type = DUMMYTYPE; //ob.ob_symhgt = ob.ob_symwdt = 16; ob.ob_clr = 0; ob.ob_newsym = symbol_shotwin; do { randsd(); swputsym((unsigned) (seed % (SCR_WDTH - 16)), (unsigned) (seed % (SCR_HGHT - 50)) + 50, &ob); } while (--shothole); } static void dispsplatbird() { OBJECTS ob; // sdh 28/10/2001: option to disable hud splats if (!conf_hudsplats) return; ob.ob_type = DUMMYTYPE; //ob.ob_symhgt = ob.ob_symwdt = 32; ob.ob_clr = 2; ob.ob_newsym = symbol_birdsplat; do { randsd(); swputsym((unsigned) (seed % (SCR_WDTH - 32)), (unsigned) (seed % (SCR_HGHT - 60)) + 60, &ob); } while (--splatbird); } static void dispoxsplat() { register OBJECTS *ob; register int i; // sdh 28/10/2001: option to disable hud splats if (!conf_hudsplats) return; colorscreen(2); swsetblk(0, SCR_SEGM, ((SCR_HGHT - SCR_MNSH - 2) >> 1) * SCR_LINW, 0xAA); swsetblk(SCR_ROFF, SCR_SEGM, ((SCR_HGHT - SCR_MNSH - 3) >> 1) * SCR_LINW, 0xAA); splatox = 0; oxsplatted = 1; ob = nobjects; for (i = 0; i < MAX_OBJS; ++i, ob++) ob->ob_drwflg = ob->ob_delflg = 0; dispinit = TRUE; } void dispplyr(OBJECTS * ob) { if (shothole) dispwindshot(); if (splatbird) dispsplatbird(); if (splatox) dispoxsplat(); plnsound(ob); } //--------------------------------------------------------------------------- // // $Log: swdisp.c,v $ // Revision 1.2.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:10 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 27/06/2002: move to new sopsym_t for symbols, // remove symwdt and symhgt // sdh 28/10/2001: option to disable hud splats // sdh 21/10/2001: rearranged file headers, added cvs tags // sdh 21/10/2001: reformatted with indent, adjusted some code by hand // to make more readable // sdh 19/10/2001: removed extern definitions: these are now in headers // shuffled some functions around to shut up compiler // sdh 18/10/2001: converted all functions to ANSI-style arguments // // 87-04-05 Missile and starburst support // 87-03-13 Splatted bird symbol. // 87-03-12 Wounded airplanes. // 87-03-09 Microsoft compiler. // 84-06-12 PCjr Speed-up // 84-02-21 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/std.h0000664000175000017500000000327612046775547014007 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: std.h,v 1.2 2003/04/05 22:55:11 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __STD_H__ #define __STD_H__ #include #include // sdh 21/10/2001: moved BOOL here from sw.h, made into enum typedef enum {FALSE, TRUE} BOOL; enum {NO, YES}; #endif //--------------------------------------------------------------------------- // // $Log: std.h,v $ // Revision 1.2 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.1.1.1 2003/02/14 19:03:28 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: rearranged headers, added cvs tags // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swutil.h0000664000175000017500000000357512046775546014545 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swutil.h,v 1.3 2003/06/04 16:02:55 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWUTIL_H__ #define __SWUTIL_H__ #include "sw.h" extern void movexy(OBJECTS *ob, int *x, int *y); extern void setdxdy(OBJECTS *obj, int dx, int dy); extern void swsetblk(); extern void swgetjoy(); extern void histend(); #endif //--------------------------------------------------------------------------- // // $Log: swutil.h,v $ // Revision 1.3 2003/06/04 16:02:55 fraggle // Remove broken printscreen function // // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:33 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/font.h0000664000175000017500000014534212046775543014160 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: font.h,v 1.1.1.1 2003/02/14 19:03:27 fraggle Exp $ // // This program is free software; you can redistribute it and/or modify // it under the terms of version 2 of the GNU General Public License // as published by the Free Software Foundation. // // 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 // //-------------------------------------------------------------------------- // // This is from SDL_gfxPrimitives-1.4 by A. Schiffler // //-------------------------------------------------------------------------- #ifndef __FONT_H__ #define __FONT_H__ /* ---- 8x8 font definition ---- */ #define GFX_FONTDATAMAX (8*256) static unsigned char font_data[GFX_FONTDATAMAX] = { /* 0 0x00 '^@' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 1 0x01 '^A' */ 0x7e, /* 01111110 */ 0x81, /* 10000001 */ 0xa5, /* 10100101 */ 0x81, /* 10000001 */ 0xbd, /* 10111101 */ 0x99, /* 10011001 */ 0x81, /* 10000001 */ 0x7e, /* 01111110 */ /* 2 0x02 '^B' */ 0x7e, /* 01111110 */ 0xff, /* 11111111 */ 0xdb, /* 11011011 */ 0xff, /* 11111111 */ 0xc3, /* 11000011 */ 0xe7, /* 11100111 */ 0xff, /* 11111111 */ 0x7e, /* 01111110 */ /* 3 0x03 '^C' */ 0x6c, /* 01101100 */ 0xfe, /* 11111110 */ 0xfe, /* 11111110 */ 0xfe, /* 11111110 */ 0x7c, /* 01111100 */ 0x38, /* 00111000 */ 0x10, /* 00010000 */ 0x00, /* 00000000 */ /* 4 0x04 '^D' */ 0x10, /* 00010000 */ 0x38, /* 00111000 */ 0x7c, /* 01111100 */ 0xfe, /* 11111110 */ 0x7c, /* 01111100 */ 0x38, /* 00111000 */ 0x10, /* 00010000 */ 0x00, /* 00000000 */ /* 5 0x05 '^E' */ 0x38, /* 00111000 */ 0x7c, /* 01111100 */ 0x38, /* 00111000 */ 0xfe, /* 11111110 */ 0xfe, /* 11111110 */ 0xd6, /* 11010110 */ 0x10, /* 00010000 */ 0x38, /* 00111000 */ /* 6 0x06 '^F' */ 0x10, /* 00010000 */ 0x38, /* 00111000 */ 0x7c, /* 01111100 */ 0xfe, /* 11111110 */ 0xfe, /* 11111110 */ 0x7c, /* 01111100 */ 0x10, /* 00010000 */ 0x38, /* 00111000 */ /* 7 0x07 '^G' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 8 0x08 '^H' */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xe7, /* 11100111 */ 0xc3, /* 11000011 */ 0xc3, /* 11000011 */ 0xe7, /* 11100111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ /* 9 0x09 '^I' */ 0x00, /* 00000000 */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0x42, /* 01000010 */ 0x42, /* 01000010 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 10 0x0a '^J' */ 0xff, /* 11111111 */ 0xc3, /* 11000011 */ 0x99, /* 10011001 */ 0xbd, /* 10111101 */ 0xbd, /* 10111101 */ 0x99, /* 10011001 */ 0xc3, /* 11000011 */ 0xff, /* 11111111 */ /* 11 0x0b '^K' */ 0x0f, /* 00001111 */ 0x07, /* 00000111 */ 0x0f, /* 00001111 */ 0x7d, /* 01111101 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x78, /* 01111000 */ /* 12 0x0c '^L' */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ /* 13 0x0d '^M' */ 0x3f, /* 00111111 */ 0x33, /* 00110011 */ 0x3f, /* 00111111 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x70, /* 01110000 */ 0xf0, /* 11110000 */ 0xe0, /* 11100000 */ /* 14 0x0e '^N' */ 0x7f, /* 01111111 */ 0x63, /* 01100011 */ 0x7f, /* 01111111 */ 0x63, /* 01100011 */ 0x63, /* 01100011 */ 0x67, /* 01100111 */ 0xe6, /* 11100110 */ 0xc0, /* 11000000 */ /* 15 0x0f '^O' */ 0x18, /* 00011000 */ 0xdb, /* 11011011 */ 0x3c, /* 00111100 */ 0xe7, /* 11100111 */ 0xe7, /* 11100111 */ 0x3c, /* 00111100 */ 0xdb, /* 11011011 */ 0x18, /* 00011000 */ /* 16 0x10 '^P' */ 0x80, /* 10000000 */ 0xe0, /* 11100000 */ 0xf8, /* 11111000 */ 0xfe, /* 11111110 */ 0xf8, /* 11111000 */ 0xe0, /* 11100000 */ 0x80, /* 10000000 */ 0x00, /* 00000000 */ /* 17 0x11 '^Q' */ 0x02, /* 00000010 */ 0x0e, /* 00001110 */ 0x3e, /* 00111110 */ 0xfe, /* 11111110 */ 0x3e, /* 00111110 */ 0x0e, /* 00001110 */ 0x02, /* 00000010 */ 0x00, /* 00000000 */ /* 18 0x12 '^R' */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ /* 19 0x13 '^S' */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x00, /* 00000000 */ 0x66, /* 01100110 */ 0x00, /* 00000000 */ /* 20 0x14 '^T' */ 0x7f, /* 01111111 */ 0xdb, /* 11011011 */ 0xdb, /* 11011011 */ 0x7b, /* 01111011 */ 0x1b, /* 00011011 */ 0x1b, /* 00011011 */ 0x1b, /* 00011011 */ 0x00, /* 00000000 */ /* 21 0x15 '^U' */ 0x3e, /* 00111110 */ 0x61, /* 01100001 */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x86, /* 10000110 */ 0x7c, /* 01111100 */ /* 22 0x16 '^V' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x7e, /* 01111110 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ /* 23 0x17 '^W' */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0xff, /* 11111111 */ /* 24 0x18 '^X' */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 25 0x19 '^Y' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 26 0x1a '^Z' */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0xfe, /* 11111110 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 27 0x1b '^[' */ 0x00, /* 00000000 */ 0x30, /* 00110000 */ 0x60, /* 01100000 */ 0xfe, /* 11111110 */ 0x60, /* 01100000 */ 0x30, /* 00110000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 28 0x1c '^\' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 29 0x1d '^]' */ 0x00, /* 00000000 */ 0x24, /* 00100100 */ 0x66, /* 01100110 */ 0xff, /* 11111111 */ 0x66, /* 01100110 */ 0x24, /* 00100100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 30 0x1e '^^' */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x7e, /* 01111110 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 31 0x1f '^_' */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0x7e, /* 01111110 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 32 0x20 ' ' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 33 0x21 '!' */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 34 0x22 '"' */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x24, /* 00100100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 35 0x23 '#' */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0xfe, /* 11111110 */ 0x6c, /* 01101100 */ 0xfe, /* 11111110 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0x00, /* 00000000 */ /* 36 0x24 '$' */ 0x18, /* 00011000 */ 0x3e, /* 00111110 */ 0x60, /* 01100000 */ 0x3c, /* 00111100 */ 0x06, /* 00000110 */ 0x7c, /* 01111100 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 37 0x25 '%' */ 0x00, /* 00000000 */ 0xc6, /* 11000110 */ 0xcc, /* 11001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x66, /* 01100110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 38 0x26 '&' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 39 0x27 ''' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 40 0x28 '(' */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x00, /* 00000000 */ /* 41 0x29 ')' */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x00, /* 00000000 */ /* 42 0x2a '*' */ 0x00, /* 00000000 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0xff, /* 11111111 */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 43 0x2b '+' */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 44 0x2c ',' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ /* 45 0x2d '-' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 46 0x2e '.' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 47 0x2f '/' */ 0x06, /* 00000110 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x60, /* 01100000 */ 0xc0, /* 11000000 */ 0x80, /* 10000000 */ 0x00, /* 00000000 */ /* 48 0x30 '0' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xd6, /* 11010110 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x00, /* 00000000 */ /* 49 0x31 '1' */ 0x18, /* 00011000 */ 0x38, /* 00111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ /* 50 0x32 '2' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0x06, /* 00000110 */ 0x1c, /* 00011100 */ 0x30, /* 00110000 */ 0x66, /* 01100110 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ /* 51 0x33 '3' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0x06, /* 00000110 */ 0x3c, /* 00111100 */ 0x06, /* 00000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 52 0x34 '4' */ 0x1c, /* 00011100 */ 0x3c, /* 00111100 */ 0x6c, /* 01101100 */ 0xcc, /* 11001100 */ 0xfe, /* 11111110 */ 0x0c, /* 00001100 */ 0x1e, /* 00011110 */ 0x00, /* 00000000 */ /* 53 0x35 '5' */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xfc, /* 11111100 */ 0x06, /* 00000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 54 0x36 '6' */ 0x38, /* 00111000 */ 0x60, /* 01100000 */ 0xc0, /* 11000000 */ 0xfc, /* 11111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 55 0x37 '7' */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x00, /* 00000000 */ /* 56 0x38 '8' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 57 0x39 '9' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7e, /* 01111110 */ 0x06, /* 00000110 */ 0x0c, /* 00001100 */ 0x78, /* 01111000 */ 0x00, /* 00000000 */ /* 58 0x3a ':' */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 59 0x3b ';' */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ /* 60 0x3c '<' */ 0x06, /* 00000110 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x06, /* 00000110 */ 0x00, /* 00000000 */ /* 61 0x3d '=' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 62 0x3e '>' */ 0x60, /* 01100000 */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x60, /* 01100000 */ 0x00, /* 00000000 */ /* 63 0x3f '?' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 64 0x40 '@' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xde, /* 11011110 */ 0xde, /* 11011110 */ 0xde, /* 11011110 */ 0xc0, /* 11000000 */ 0x78, /* 01111000 */ 0x00, /* 00000000 */ /* 65 0x41 'A' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 66 0x42 'B' */ 0xfc, /* 11111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x7c, /* 01111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0xfc, /* 11111100 */ 0x00, /* 00000000 */ /* 67 0x43 'C' */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 68 0x44 'D' */ 0xf8, /* 11111000 */ 0x6c, /* 01101100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x6c, /* 01101100 */ 0xf8, /* 11111000 */ 0x00, /* 00000000 */ /* 69 0x45 'E' */ 0xfe, /* 11111110 */ 0x62, /* 01100010 */ 0x68, /* 01101000 */ 0x78, /* 01111000 */ 0x68, /* 01101000 */ 0x62, /* 01100010 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ /* 70 0x46 'F' */ 0xfe, /* 11111110 */ 0x62, /* 01100010 */ 0x68, /* 01101000 */ 0x78, /* 01111000 */ 0x68, /* 01101000 */ 0x60, /* 01100000 */ 0xf0, /* 11110000 */ 0x00, /* 00000000 */ /* 71 0x47 'G' */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xce, /* 11001110 */ 0x66, /* 01100110 */ 0x3a, /* 00111010 */ 0x00, /* 00000000 */ /* 72 0x48 'H' */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 73 0x49 'I' */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 74 0x4a 'J' */ 0x1e, /* 00011110 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x78, /* 01111000 */ 0x00, /* 00000000 */ /* 75 0x4b 'K' */ 0xe6, /* 11100110 */ 0x66, /* 01100110 */ 0x6c, /* 01101100 */ 0x78, /* 01111000 */ 0x6c, /* 01101100 */ 0x66, /* 01100110 */ 0xe6, /* 11100110 */ 0x00, /* 00000000 */ /* 76 0x4c 'L' */ 0xf0, /* 11110000 */ 0x60, /* 01100000 */ 0x60, /* 01100000 */ 0x60, /* 01100000 */ 0x62, /* 01100010 */ 0x66, /* 01100110 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ /* 77 0x4d 'M' */ 0xc6, /* 11000110 */ 0xee, /* 11101110 */ 0xfe, /* 11111110 */ 0xfe, /* 11111110 */ 0xd6, /* 11010110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 78 0x4e 'N' */ 0xc6, /* 11000110 */ 0xe6, /* 11100110 */ 0xf6, /* 11110110 */ 0xde, /* 11011110 */ 0xce, /* 11001110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 79 0x4f 'O' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 80 0x50 'P' */ 0xfc, /* 11111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x7c, /* 01111100 */ 0x60, /* 01100000 */ 0x60, /* 01100000 */ 0xf0, /* 11110000 */ 0x00, /* 00000000 */ /* 81 0x51 'Q' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xce, /* 11001110 */ 0x7c, /* 01111100 */ 0x0e, /* 00001110 */ /* 82 0x52 'R' */ 0xfc, /* 11111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x7c, /* 01111100 */ 0x6c, /* 01101100 */ 0x66, /* 01100110 */ 0xe6, /* 11100110 */ 0x00, /* 00000000 */ /* 83 0x53 'S' */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 84 0x54 'T' */ 0x7e, /* 01111110 */ 0x7e, /* 01111110 */ 0x5a, /* 01011010 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 85 0x55 'U' */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 86 0x56 'V' */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x00, /* 00000000 */ /* 87 0x57 'W' */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xd6, /* 11010110 */ 0xd6, /* 11010110 */ 0xfe, /* 11111110 */ 0x6c, /* 01101100 */ 0x00, /* 00000000 */ /* 88 0x58 'X' */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 89 0x59 'Y' */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 90 0x5a 'Z' */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0x8c, /* 10001100 */ 0x18, /* 00011000 */ 0x32, /* 00110010 */ 0x66, /* 01100110 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ /* 91 0x5b '[' */ 0x3c, /* 00111100 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 92 0x5c '\' */ 0xc0, /* 11000000 */ 0x60, /* 01100000 */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x06, /* 00000110 */ 0x02, /* 00000010 */ 0x00, /* 00000000 */ /* 93 0x5d ']' */ 0x3c, /* 00111100 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 94 0x5e '^' */ 0x10, /* 00010000 */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 95 0x5f '_' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ /* 96 0x60 '`' */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 97 0x61 'a' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x78, /* 01111000 */ 0x0c, /* 00001100 */ 0x7c, /* 01111100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 98 0x62 'b' */ 0xe0, /* 11100000 */ 0x60, /* 01100000 */ 0x7c, /* 01111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0xdc, /* 11011100 */ 0x00, /* 00000000 */ /* 99 0x63 'c' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc0, /* 11000000 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 100 0x64 'd' */ 0x1c, /* 00011100 */ 0x0c, /* 00001100 */ 0x7c, /* 01111100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 101 0x65 'e' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 102 0x66 'f' */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0x60, /* 01100000 */ 0xf8, /* 11111000 */ 0x60, /* 01100000 */ 0x60, /* 01100000 */ 0xf0, /* 11110000 */ 0x00, /* 00000000 */ /* 103 0x67 'g' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x76, /* 01110110 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x7c, /* 01111100 */ 0x0c, /* 00001100 */ 0xf8, /* 11111000 */ /* 104 0x68 'h' */ 0xe0, /* 11100000 */ 0x60, /* 01100000 */ 0x6c, /* 01101100 */ 0x76, /* 01110110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0xe6, /* 11100110 */ 0x00, /* 00000000 */ /* 105 0x69 'i' */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x38, /* 00111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 106 0x6a 'j' */ 0x06, /* 00000110 */ 0x00, /* 00000000 */ 0x06, /* 00000110 */ 0x06, /* 00000110 */ 0x06, /* 00000110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ /* 107 0x6b 'k' */ 0xe0, /* 11100000 */ 0x60, /* 01100000 */ 0x66, /* 01100110 */ 0x6c, /* 01101100 */ 0x78, /* 01111000 */ 0x6c, /* 01101100 */ 0xe6, /* 11100110 */ 0x00, /* 00000000 */ /* 108 0x6c 'l' */ 0x38, /* 00111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 109 0x6d 'm' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xec, /* 11101100 */ 0xfe, /* 11111110 */ 0xd6, /* 11010110 */ 0xd6, /* 11010110 */ 0xd6, /* 11010110 */ 0x00, /* 00000000 */ /* 110 0x6e 'n' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xdc, /* 11011100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x00, /* 00000000 */ /* 111 0x6f 'o' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 112 0x70 'p' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xdc, /* 11011100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x7c, /* 01111100 */ 0x60, /* 01100000 */ 0xf0, /* 11110000 */ /* 113 0x71 'q' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x76, /* 01110110 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x7c, /* 01111100 */ 0x0c, /* 00001100 */ 0x1e, /* 00011110 */ /* 114 0x72 'r' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xdc, /* 11011100 */ 0x76, /* 01110110 */ 0x60, /* 01100000 */ 0x60, /* 01100000 */ 0xf0, /* 11110000 */ 0x00, /* 00000000 */ /* 115 0x73 's' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0xc0, /* 11000000 */ 0x7c, /* 01111100 */ 0x06, /* 00000110 */ 0xfc, /* 11111100 */ 0x00, /* 00000000 */ /* 116 0x74 't' */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0xfc, /* 11111100 */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x36, /* 00110110 */ 0x1c, /* 00011100 */ 0x00, /* 00000000 */ /* 117 0x75 'u' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 118 0x76 'v' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x00, /* 00000000 */ /* 119 0x77 'w' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xc6, /* 11000110 */ 0xd6, /* 11010110 */ 0xd6, /* 11010110 */ 0xfe, /* 11111110 */ 0x6c, /* 01101100 */ 0x00, /* 00000000 */ /* 120 0x78 'x' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 121 0x79 'y' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7e, /* 01111110 */ 0x06, /* 00000110 */ 0xfc, /* 11111100 */ /* 122 0x7a 'z' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x4c, /* 01001100 */ 0x18, /* 00011000 */ 0x32, /* 00110010 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ /* 123 0x7b '{' */ 0x0e, /* 00001110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x70, /* 01110000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x0e, /* 00001110 */ 0x00, /* 00000000 */ /* 124 0x7c '|' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 125 0x7d '}' */ 0x70, /* 01110000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x0e, /* 00001110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x70, /* 01110000 */ 0x00, /* 00000000 */ /* 126 0x7e '~' */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 127 0x7f '' */ 0x00, /* 00000000 */ 0x10, /* 00010000 */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ /* 128 0x80 '€' */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x0c, /* 00001100 */ 0x78, /* 01111000 */ /* 129 0x81 '' */ 0xcc, /* 11001100 */ 0x00, /* 00000000 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 130 0x82 '‚' */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 131 0x83 'ƒ' */ 0x7c, /* 01111100 */ 0x82, /* 10000010 */ 0x78, /* 01111000 */ 0x0c, /* 00001100 */ 0x7c, /* 01111100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 132 0x84 '„' */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ 0x78, /* 01111000 */ 0x0c, /* 00001100 */ 0x7c, /* 01111100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 133 0x85 '…' */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x78, /* 01111000 */ 0x0c, /* 00001100 */ 0x7c, /* 01111100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 134 0x86 '†' */ 0x30, /* 00110000 */ 0x30, /* 00110000 */ 0x78, /* 01111000 */ 0x0c, /* 00001100 */ 0x7c, /* 01111100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 135 0x87 '‡' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0x7e, /* 01111110 */ 0x0c, /* 00001100 */ 0x38, /* 00111000 */ /* 136 0x88 'ˆ' */ 0x7c, /* 01111100 */ 0x82, /* 10000010 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 137 0x89 '‰' */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 138 0x8a 'Š' */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 139 0x8b '‹' */ 0x66, /* 01100110 */ 0x00, /* 00000000 */ 0x38, /* 00111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 140 0x8c 'Œ' */ 0x7c, /* 01111100 */ 0x82, /* 10000010 */ 0x38, /* 00111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 141 0x8d '' */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x38, /* 00111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 142 0x8e 'Ž' */ 0xc6, /* 11000110 */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 143 0x8f '' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 144 0x90 '' */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0xf8, /* 11111000 */ 0xc0, /* 11000000 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ /* 145 0x91 '‘' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0xd8, /* 11011000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ /* 146 0x92 '’' */ 0x3e, /* 00111110 */ 0x6c, /* 01101100 */ 0xcc, /* 11001100 */ 0xfe, /* 11111110 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xce, /* 11001110 */ 0x00, /* 00000000 */ /* 147 0x93 '“' */ 0x7c, /* 01111100 */ 0x82, /* 10000010 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 148 0x94 '”' */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 149 0x95 '•' */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 150 0x96 '–' */ 0x78, /* 01111000 */ 0x84, /* 10000100 */ 0x00, /* 00000000 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 151 0x97 '—' */ 0x60, /* 01100000 */ 0x30, /* 00110000 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 152 0x98 '˜' */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7e, /* 01111110 */ 0x06, /* 00000110 */ 0xfc, /* 11111100 */ /* 153 0x99 '™' */ 0xc6, /* 11000110 */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x00, /* 00000000 */ /* 154 0x9a 'š' */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 155 0x9b '›' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 156 0x9c 'œ' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0x64, /* 01100100 */ 0xf0, /* 11110000 */ 0x60, /* 01100000 */ 0x66, /* 01100110 */ 0xfc, /* 11111100 */ 0x00, /* 00000000 */ /* 157 0x9d '' */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 158 0x9e 'ž' */ 0xf8, /* 11111000 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xfa, /* 11111010 */ 0xc6, /* 11000110 */ 0xcf, /* 11001111 */ 0xc6, /* 11000110 */ 0xc7, /* 11000111 */ /* 159 0x9f 'Ÿ' */ 0x0e, /* 00001110 */ 0x1b, /* 00011011 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0xd8, /* 11011000 */ 0x70, /* 01110000 */ 0x00, /* 00000000 */ /* 160 0xa0 ' ' */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x78, /* 01111000 */ 0x0c, /* 00001100 */ 0x7c, /* 01111100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 161 0xa1 '¡' */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x38, /* 00111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 162 0xa2 '¢' */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ /* 163 0xa3 '£' */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 164 0xa4 '¤' */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0x00, /* 00000000 */ 0xdc, /* 11011100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x00, /* 00000000 */ /* 165 0xa5 '¥' */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0x00, /* 00000000 */ 0xe6, /* 11100110 */ 0xf6, /* 11110110 */ 0xde, /* 11011110 */ 0xce, /* 11001110 */ 0x00, /* 00000000 */ /* 166 0xa6 '¦' */ 0x3c, /* 00111100 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0x3e, /* 00111110 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 167 0xa7 '§' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x00, /* 00000000 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 168 0xa8 '¨' */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x63, /* 01100011 */ 0x3e, /* 00111110 */ 0x00, /* 00000000 */ /* 169 0xa9 '©' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 170 0xaa 'ª' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0x06, /* 00000110 */ 0x06, /* 00000110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 171 0xab '«' */ 0x63, /* 01100011 */ 0xe6, /* 11100110 */ 0x6c, /* 01101100 */ 0x7e, /* 01111110 */ 0x33, /* 00110011 */ 0x66, /* 01100110 */ 0xcc, /* 11001100 */ 0x0f, /* 00001111 */ /* 172 0xac '¬' */ 0x63, /* 01100011 */ 0xe6, /* 11100110 */ 0x6c, /* 01101100 */ 0x7a, /* 01111010 */ 0x36, /* 00110110 */ 0x6a, /* 01101010 */ 0xdf, /* 11011111 */ 0x06, /* 00000110 */ /* 173 0xad '­' */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 174 0xae '®' */ 0x00, /* 00000000 */ 0x33, /* 00110011 */ 0x66, /* 01100110 */ 0xcc, /* 11001100 */ 0x66, /* 01100110 */ 0x33, /* 00110011 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 175 0xaf '¯' */ 0x00, /* 00000000 */ 0xcc, /* 11001100 */ 0x66, /* 01100110 */ 0x33, /* 00110011 */ 0x66, /* 01100110 */ 0xcc, /* 11001100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 176 0xb0 '°' */ 0x22, /* 00100010 */ 0x88, /* 10001000 */ 0x22, /* 00100010 */ 0x88, /* 10001000 */ 0x22, /* 00100010 */ 0x88, /* 10001000 */ 0x22, /* 00100010 */ 0x88, /* 10001000 */ /* 177 0xb1 '±' */ 0x55, /* 01010101 */ 0xaa, /* 10101010 */ 0x55, /* 01010101 */ 0xaa, /* 10101010 */ 0x55, /* 01010101 */ 0xaa, /* 10101010 */ 0x55, /* 01010101 */ 0xaa, /* 10101010 */ /* 178 0xb2 '²' */ 0x77, /* 01110111 */ 0xdd, /* 11011101 */ 0x77, /* 01110111 */ 0xdd, /* 11011101 */ 0x77, /* 01110111 */ 0xdd, /* 11011101 */ 0x77, /* 01110111 */ 0xdd, /* 11011101 */ /* 179 0xb3 '³' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 180 0xb4 '´' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xf8, /* 11111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 181 0xb5 'µ' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xf8, /* 11111000 */ 0x18, /* 00011000 */ 0xf8, /* 11111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 182 0xb6 '¶' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xf6, /* 11110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 183 0xb7 '·' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 184 0xb8 '¸' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xf8, /* 11111000 */ 0x18, /* 00011000 */ 0xf8, /* 11111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 185 0xb9 '¹' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xf6, /* 11110110 */ 0x06, /* 00000110 */ 0xf6, /* 11110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 186 0xba 'º' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 187 0xbb '»' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0x06, /* 00000110 */ 0xf6, /* 11110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 188 0xbc '¼' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xf6, /* 11110110 */ 0x06, /* 00000110 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 189 0xbd '½' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 190 0xbe '¾' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xf8, /* 11111000 */ 0x18, /* 00011000 */ 0xf8, /* 11111000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 191 0xbf '¿' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xf8, /* 11111000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 192 0xc0 'À' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x1f, /* 00011111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 193 0xc1 'Á' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 194 0xc2 'Â' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 195 0xc3 'Ã' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x1f, /* 00011111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 196 0xc4 'Ä' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 197 0xc5 'Å' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xff, /* 11111111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 198 0xc6 'Æ' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x1f, /* 00011111 */ 0x18, /* 00011000 */ 0x1f, /* 00011111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 199 0xc7 'Ç' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x37, /* 00110111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 200 0xc8 'È' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x37, /* 00110111 */ 0x30, /* 00110000 */ 0x3f, /* 00111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 201 0xc9 'É' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x3f, /* 00111111 */ 0x30, /* 00110000 */ 0x37, /* 00110111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 202 0xca 'Ê' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xf7, /* 11110111 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 203 0xcb 'Ë' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0xf7, /* 11110111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 204 0xcc 'Ì' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x37, /* 00110111 */ 0x30, /* 00110000 */ 0x37, /* 00110111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 205 0xcd 'Í' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 206 0xce 'Î' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xf7, /* 11110111 */ 0x00, /* 00000000 */ 0xf7, /* 11110111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 207 0xcf 'Ï' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 208 0xd0 'Ð' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 209 0xd1 'Ñ' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 210 0xd2 'Ò' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 211 0xd3 'Ó' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x3f, /* 00111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 212 0xd4 'Ô' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x1f, /* 00011111 */ 0x18, /* 00011000 */ 0x1f, /* 00011111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 213 0xd5 'Õ' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x1f, /* 00011111 */ 0x18, /* 00011000 */ 0x1f, /* 00011111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 214 0xd6 'Ö' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x3f, /* 00111111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 215 0xd7 '×' */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0xff, /* 11111111 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ /* 216 0xd8 'Ø' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xff, /* 11111111 */ 0x18, /* 00011000 */ 0xff, /* 11111111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 217 0xd9 'Ù' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xf8, /* 11111000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 218 0xda 'Ú' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x1f, /* 00011111 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 219 0xdb 'Û' */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ /* 220 0xdc 'Ü' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ /* 221 0xdd 'Ý' */ 0xf0, /* 11110000 */ 0xf0, /* 11110000 */ 0xf0, /* 11110000 */ 0xf0, /* 11110000 */ 0xf0, /* 11110000 */ 0xf0, /* 11110000 */ 0xf0, /* 11110000 */ 0xf0, /* 11110000 */ /* 222 0xde 'Þ' */ 0x0f, /* 00001111 */ 0x0f, /* 00001111 */ 0x0f, /* 00001111 */ 0x0f, /* 00001111 */ 0x0f, /* 00001111 */ 0x0f, /* 00001111 */ 0x0f, /* 00001111 */ 0x0f, /* 00001111 */ /* 223 0xdf 'ß' */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0xff, /* 11111111 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 224 0xe0 'à' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0xc8, /* 11001000 */ 0xdc, /* 11011100 */ 0x76, /* 01110110 */ 0x00, /* 00000000 */ /* 225 0xe1 'á' */ 0x78, /* 01111000 */ 0xcc, /* 11001100 */ 0xcc, /* 11001100 */ 0xd8, /* 11011000 */ 0xcc, /* 11001100 */ 0xc6, /* 11000110 */ 0xcc, /* 11001100 */ 0x00, /* 00000000 */ /* 226 0xe2 'â' */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0xc0, /* 11000000 */ 0x00, /* 00000000 */ /* 227 0xe3 'ã' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0x00, /* 00000000 */ /* 228 0xe4 'ä' */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0x60, /* 01100000 */ 0x30, /* 00110000 */ 0x60, /* 01100000 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ /* 229 0xe5 'å' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0xd8, /* 11011000 */ 0xd8, /* 11011000 */ 0xd8, /* 11011000 */ 0x70, /* 01110000 */ 0x00, /* 00000000 */ /* 230 0xe6 'æ' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x7c, /* 01111100 */ 0xc0, /* 11000000 */ /* 231 0xe7 'ç' */ 0x00, /* 00000000 */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ /* 232 0xe8 'è' */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x3c, /* 00111100 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ /* 233 0xe9 'é' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xfe, /* 11111110 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x00, /* 00000000 */ /* 234 0xea 'ê' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0xee, /* 11101110 */ 0x00, /* 00000000 */ /* 235 0xeb 'ë' */ 0x0e, /* 00001110 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x3e, /* 00111110 */ 0x66, /* 01100110 */ 0x66, /* 01100110 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ /* 236 0xec 'ì' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0xdb, /* 11011011 */ 0xdb, /* 11011011 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 237 0xed 'í' */ 0x06, /* 00000110 */ 0x0c, /* 00001100 */ 0x7e, /* 01111110 */ 0xdb, /* 11011011 */ 0xdb, /* 11011011 */ 0x7e, /* 01111110 */ 0x60, /* 01100000 */ 0xc0, /* 11000000 */ /* 238 0xee 'î' */ 0x1e, /* 00011110 */ 0x30, /* 00110000 */ 0x60, /* 01100000 */ 0x7e, /* 01111110 */ 0x60, /* 01100000 */ 0x30, /* 00110000 */ 0x1e, /* 00011110 */ 0x00, /* 00000000 */ /* 239 0xef 'ï' */ 0x00, /* 00000000 */ 0x7c, /* 01111100 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0xc6, /* 11000110 */ 0x00, /* 00000000 */ /* 240 0xf0 'ð' */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ 0xfe, /* 11111110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 241 0xf1 'ñ' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x7e, /* 01111110 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ /* 242 0xf2 'ò' */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ /* 243 0xf3 'ó' */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x18, /* 00011000 */ 0x0c, /* 00001100 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ /* 244 0xf4 'ô' */ 0x0e, /* 00001110 */ 0x1b, /* 00011011 */ 0x1b, /* 00011011 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ /* 245 0xf5 'õ' */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0xd8, /* 11011000 */ 0xd8, /* 11011000 */ 0x70, /* 01110000 */ /* 246 0xf6 'ö' */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x7e, /* 01111110 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 247 0xf7 '÷' */ 0x00, /* 00000000 */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0x00, /* 00000000 */ 0x76, /* 01110110 */ 0xdc, /* 11011100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 248 0xf8 'ø' */ 0x38, /* 00111000 */ 0x6c, /* 01101100 */ 0x6c, /* 01101100 */ 0x38, /* 00111000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 249 0xf9 'ù' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 250 0xfa 'ú' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x18, /* 00011000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 251 0xfb 'û' */ 0x0f, /* 00001111 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0x0c, /* 00001100 */ 0xec, /* 11101100 */ 0x6c, /* 01101100 */ 0x3c, /* 00111100 */ 0x1c, /* 00011100 */ /* 252 0xfc 'ü' */ 0x6c, /* 01101100 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x36, /* 00110110 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 253 0xfd 'ý' */ 0x78, /* 01111000 */ 0x0c, /* 00001100 */ 0x18, /* 00011000 */ 0x30, /* 00110000 */ 0x7c, /* 01111100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 254 0xfe 'þ' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x3c, /* 00111100 */ 0x3c, /* 00111100 */ 0x3c, /* 00111100 */ 0x3c, /* 00111100 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ /* 255 0xff 'ÿ' */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ 0x00, /* 00000000 */ }; #endif /* __FONT_H__ */ //----------------------------------------------------------------------- // // $Log: font.h,v $ // Revision 1.1.1.1 2003/02/14 19:03:27 fraggle // Initial Sourceforge CVS import // // // sdh 21/10/2001: rearranged headers, added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/swconf.c0000664000175000017500000001553512046775545014506 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: swconf.c,v 1.3 2003/06/04 17:22:11 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Configuration code // // Save game settings to a configuration file // //------------------------------------------------------------------------- #include #include #include #include #include "video.h" #include "sw.h" #include "swconf.h" #include "swend.h" #include "swgrpha.h" #include "swmisc.h" #include "swtitle.h" #include "swmain.h" #ifdef _WIN32 static char config_file[] = "sopwith.ini"; #else static char config_file[] = ".sopwithrc"; #endif // get the location of the configuration file static char *get_config_file() { #ifdef _WIN32 // this should probably be saved in the registry, // but pfft, whatever return config_file; #else if (getenv("HOME")) { static char *namebuf = NULL; if (!namebuf) { namebuf = malloc(strlen(config_file) + strlen(getenv("HOME")) + 5); sprintf(namebuf, "%s/%s", getenv("HOME"), config_file); } return namebuf; } else { return config_file; } #endif } confoption_t confoptions[] = { {"conf_missiles", CONF_BOOL, {&conf_missiles}, "missiles"}, {"conf_solidground", CONF_BOOL, {&conf_solidground}, "solid ground"}, {"conf_hudsplats", CONF_BOOL, {&conf_hudsplats}, "HUD splats"}, {"conf_wounded", CONF_BOOL, {&conf_wounded}, "wounded planes"}, {"conf_animals", CONF_BOOL, {&conf_animals}, "oxen and birds"}, {"conf_harrykeys", CONF_BOOL, {&conf_harrykeys}, "harry keys mode"}, {"vid_fullscreen", CONF_BOOL, {&vid_fullscreen}, "run fullscreen"}, {"vid_double_size", CONF_BOOL, {&vid_double_size}, "scale window by 2x"}, }; int num_confoptions = sizeof(confoptions) / sizeof(*confoptions); // clean up a string static void chomp(char *s) { char *p; for (p=s; isspace(*p); ++p); strcpy(s, p); for (p=s+strlen(s)-1; isspace(*p) && p > s; --p) *p = '\0'; } // // load config file // // ugly but it works // void swloadconf() { char *config_file = get_config_file(); FILE *fs; int line = 0; fs = fopen(config_file, "r"); // doesnt exist, or we cant open it for // some reason if (!fs) { fprintf(stderr, "swloadconf: cant open %s: %s\n", config_file, strerror(errno)); return; } while(!feof(fs)) { char inbuf[128]; char *p; int i; p = fgets(inbuf, sizeof(inbuf)-1, fs); ++line; // comments p = strchr(inbuf, '#'); if (p) *p = '\0'; // clean up string chomp(inbuf); if (!strlen(inbuf)) continue; for (p=inbuf; *p && !isspace(*p); ++p); if (!*p) { fprintf(stderr, "swloadconf: line %i of %s is malformed\n", line, config_file); continue; } *p++ = '\0'; for (; isspace(*p); ++p); // now, inbuf = variable name // p = value for (i=0; i= num_confoptions) fprintf(stderr, "swloadconf: unknown configuration option " "'%s' on " "line %i of %s\n", inbuf, line, config_file); } // all done fclose(fs); } // // swsaveconf // // save config file // void swsaveconf() { char *config_file = get_config_file(); FILE *fs; int i; fs = fopen(config_file, "w"); if (!fs) { fprintf(stderr, "swsaveconf: cant open %s for writing: %s\n", config_file, strerror(errno)); return; } fprintf(fs, "# sopwith config file\n"); fprintf(fs, "# created by SDL Sopwith " VERSION "\n"); fprintf(fs, "\n"); for (i=0; i 0; --n) fprintf(fs, "\t"); switch (confoptions[i].type) { case CONF_BOOL: fprintf(fs, "%i", *confoptions[i].value.b); break; default: fprintf(fs, "xyzzy!"); } fprintf(fs, "\t# %s\n", confoptions[i].description); } fprintf(fs, "\n\n"); fclose(fs); } // sdh 28/10/2001: options menu // sdh 29/10/2001: moved here void setconfig() { for (;;) { int i; clrdispv(); swcolour(2); swposcur(15, 2); swputs("OPTIONS"); swcolour(3); for (i=0; i= '1' && i <= '9') { i -= '1'; switch (confoptions[i].type) { case CONF_BOOL: *confoptions[i].value.b = !*confoptions[i].value.b; break; default: break; } // reset the screen if we need to if (confoptions[i].value.b == &vid_fullscreen || confoptions[i].value.b == &vid_double_size) { Vid_Reset(); } swsaveconf(); continue; } // other keys switch(i) { case 27: return; } } } //------------------------------------------------------------------------- // // $Log: swconf.c,v $ // Revision 1.3 2003/06/04 17:22:11 fraggle // Remove "save settings" option in settings menus. Just save it anyway. // // Revision 1.2 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.1.1.1 2003/02/14 19:03:10 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 26/03/2002: change CGA_ to Vid_ // sdh 10/11/2001: make confoptions globally available for gtk code to use // //------------------------------------------------------------------------- sopwith-1.8.1/src/swground.h0000664000175000017500000000305712046775550015054 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swground.h,v 1.1.1.1 2003/02/14 19:03:30 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWGROUND_H__ #define __SWGROUND_H__ #include "sw.h" extern GRNDTYPE orground[MAX_X]; extern GRNDTYPE ground[MAX_X]; #endif //--------------------------------------------------------------------------- // // $Log: swground.h,v $ // Revision 1.1.1.1 2003/02/14 19:03:30 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/.deps/0000755000175000017500000000000012124366127014026 5ustar jessejessesopwith-1.8.1/src/.deps/swutil.P0000664000175000017500000000630612124366127015505 0ustar jessejesseswutil.o: swutil.c sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swutil.h swutil.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swutil.h : sopwith-1.8.1/src/.deps/swmisc.P0000664000175000017500000000734112124366125015461 0ustar jessejesseswmisc.o: swmisc.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h /usr/include/xlocale.h \ /usr/include/string.h /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/string3.h font.h timer.h video.h sw.h \ std.h /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swgrpha.h swmisc.h swsound.h swtitle.h swmisc.c : /usr/include/ctype.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/xlocale.h : /usr/include/string.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/string3.h : font.h : timer.h : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swgrpha.h : swmisc.h : swsound.h : swtitle.h : sopwith-1.8.1/src/.deps/swobject.P0000664000175000017500000000634412124366127016000 0ustar jessejesseswobject.o: swobject.c sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swmain.h swobject.h swobject.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swmain.h : swobject.h : sopwith-1.8.1/src/.deps/swinit.P0000664000175000017500000001371712124366126015476 0ustar jessejesseswinit.o: swinit.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h /usr/include/xlocale.h \ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/bits/time.h /usr/include/SDL/SDL.h \ /usr/include/SDL/SDL_main.h /usr/include/SDL/SDL_stdinc.h \ /usr/include/SDL/SDL_config.h /usr/include/SDL/SDL_platform.h \ /usr/include/x86_64-linux-gnu/sys/types.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/strings.h \ /usr/include/inttypes.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \ /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/iconv.h \ /usr/include/SDL/begin_code.h /usr/include/SDL/close_code.h \ /usr/include/SDL/SDL_audio.h /usr/include/SDL/SDL_error.h \ /usr/include/SDL/SDL_endian.h /usr/include/SDL/SDL_mutex.h \ /usr/include/SDL/SDL_thread.h /usr/include/SDL/SDL_rwops.h \ /usr/include/SDL/SDL_cdrom.h /usr/include/SDL/SDL_cpuinfo.h \ /usr/include/SDL/SDL_events.h /usr/include/SDL/SDL_active.h \ /usr/include/SDL/SDL_keyboard.h /usr/include/SDL/SDL_keysym.h \ /usr/include/SDL/SDL_mouse.h /usr/include/SDL/SDL_video.h \ /usr/include/SDL/SDL_joystick.h /usr/include/SDL/SDL_quit.h \ /usr/include/SDL/SDL_loadso.h /usr/include/SDL/SDL_timer.h \ /usr/include/SDL/SDL_version.h pcsound.h timer.h video.h sw.h std.h \ /usr/include/setjmp.h /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swasynio.h swcollsn.h swconf.h swdisp.h swend.h swinit.h swgames.h \ swground.h swgrpha.h swmain.h swmisc.h swmove.h swobject.h swsound.h \ swtitle.h swutil.h swinit.c : /usr/include/ctype.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/xlocale.h : /usr/include/stdio.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/string.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/string3.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/SDL/SDL.h : /usr/include/SDL/SDL_main.h : /usr/include/SDL/SDL_stdinc.h : /usr/include/SDL/SDL_config.h : /usr/include/SDL/SDL_platform.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/strings.h : /usr/include/inttypes.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h : /usr/include/stdint.h : /usr/include/x86_64-linux-gnu/bits/wchar.h : /usr/include/iconv.h : /usr/include/SDL/begin_code.h : /usr/include/SDL/close_code.h : /usr/include/SDL/SDL_audio.h : /usr/include/SDL/SDL_error.h : /usr/include/SDL/SDL_endian.h : /usr/include/SDL/SDL_mutex.h : /usr/include/SDL/SDL_thread.h : /usr/include/SDL/SDL_rwops.h : /usr/include/SDL/SDL_cdrom.h : /usr/include/SDL/SDL_cpuinfo.h : /usr/include/SDL/SDL_events.h : /usr/include/SDL/SDL_active.h : /usr/include/SDL/SDL_keyboard.h : /usr/include/SDL/SDL_keysym.h : /usr/include/SDL/SDL_mouse.h : /usr/include/SDL/SDL_video.h : /usr/include/SDL/SDL_joystick.h : /usr/include/SDL/SDL_quit.h : /usr/include/SDL/SDL_loadso.h : /usr/include/SDL/SDL_timer.h : /usr/include/SDL/SDL_version.h : pcsound.h : timer.h : video.h : sw.h : std.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swasynio.h : swcollsn.h : swconf.h : swdisp.h : swend.h : swinit.h : swgames.h : swground.h : swgrpha.h : swmain.h : swmisc.h : swmove.h : swobject.h : swsound.h : swtitle.h : swutil.h : sopwith-1.8.1/src/.deps/tcpcomm.P0000664000175000017500000001444012124366125015614 0ustar jessejessetcpcomm.o: tcpcomm.c sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swtitle.h tcpcomm.h timer.h /usr/include/fcntl.h \ /usr/include/x86_64-linux-gnu/bits/fcntl.h \ /usr/include/x86_64-linux-gnu/bits/stat.h \ /usr/include/x86_64-linux-gnu/bits/fcntl2.h /usr/include/unistd.h \ /usr/include/x86_64-linux-gnu/bits/posix_opt.h \ /usr/include/x86_64-linux-gnu/bits/environments.h \ /usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \ /usr/include/x86_64-linux-gnu/bits/unistd.h /usr/include/netdb.h \ /usr/include/netinet/in.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \ /usr/include/x86_64-linux-gnu/bits/wchar.h \ /usr/include/x86_64-linux-gnu/sys/socket.h \ /usr/include/x86_64-linux-gnu/sys/uio.h \ /usr/include/x86_64-linux-gnu/bits/uio.h \ /usr/include/x86_64-linux-gnu/bits/socket.h \ /usr/include/x86_64-linux-gnu/bits/sockaddr.h \ /usr/include/x86_64-linux-gnu/asm/socket.h \ /usr/include/asm-generic/socket.h \ /usr/include/x86_64-linux-gnu/asm/sockios.h \ /usr/include/asm-generic/sockios.h \ /usr/include/x86_64-linux-gnu/bits/socket2.h \ /usr/include/x86_64-linux-gnu/bits/in.h /usr/include/rpc/netdb.h \ /usr/include/x86_64-linux-gnu/bits/netdb.h /usr/include/arpa/inet.h \ /usr/include/errno.h /usr/include/x86_64-linux-gnu/bits/errno.h \ /usr/include/linux/errno.h /usr/include/x86_64-linux-gnu/asm/errno.h \ /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ /usr/include/string.h /usr/include/xlocale.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ /usr/include/x86_64-linux-gnu/bits/string3.h tcpcomm.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swtitle.h : tcpcomm.h : timer.h : /usr/include/fcntl.h : /usr/include/x86_64-linux-gnu/bits/fcntl.h : /usr/include/x86_64-linux-gnu/bits/stat.h : /usr/include/x86_64-linux-gnu/bits/fcntl2.h : /usr/include/unistd.h : /usr/include/x86_64-linux-gnu/bits/posix_opt.h : /usr/include/x86_64-linux-gnu/bits/environments.h : /usr/include/x86_64-linux-gnu/bits/confname.h : /usr/include/getopt.h : /usr/include/x86_64-linux-gnu/bits/unistd.h : /usr/include/netdb.h : /usr/include/netinet/in.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h : /usr/include/stdint.h : /usr/include/x86_64-linux-gnu/bits/wchar.h : /usr/include/x86_64-linux-gnu/sys/socket.h : /usr/include/x86_64-linux-gnu/sys/uio.h : /usr/include/x86_64-linux-gnu/bits/uio.h : /usr/include/x86_64-linux-gnu/bits/socket.h : /usr/include/x86_64-linux-gnu/bits/sockaddr.h : /usr/include/x86_64-linux-gnu/asm/socket.h : /usr/include/asm-generic/socket.h : /usr/include/x86_64-linux-gnu/asm/sockios.h : /usr/include/asm-generic/sockios.h : /usr/include/x86_64-linux-gnu/bits/socket2.h : /usr/include/x86_64-linux-gnu/bits/in.h : /usr/include/rpc/netdb.h : /usr/include/x86_64-linux-gnu/bits/netdb.h : /usr/include/arpa/inet.h : /usr/include/errno.h : /usr/include/x86_64-linux-gnu/bits/errno.h : /usr/include/linux/errno.h : /usr/include/x86_64-linux-gnu/asm/errno.h : /usr/include/asm-generic/errno.h : /usr/include/asm-generic/errno-base.h : /usr/include/string.h : /usr/include/xlocale.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/x86_64-linux-gnu/bits/string3.h : sopwith-1.8.1/src/.deps/swdisp.P0000664000175000017500000000645412124366126015472 0ustar jessejesseswdisp.o: swdisp.c video.h sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swdisp.h swgrpha.h swmain.h swsound.h swutil.h swdisp.c : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swdisp.h : swgrpha.h : swmain.h : swsound.h : swutil.h : sopwith-1.8.1/src/.deps/video.P0000664000175000017500000000627612124366127015272 0ustar jessejessevideo.o: video.c video.h sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h video.c : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : sopwith-1.8.1/src/.deps/swgrpha.P0000664000175000017500000000725212124366125015630 0ustar jessejesseswgrpha.o: swgrpha.c /usr/include/string.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/string3.h video.h sw.h std.h \ /usr/include/stdio.h /usr/include/libio.h /usr/include/_G_config.h \ /usr/include/wchar.h /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swdisp.h swground.h swgrpha.h swmain.h swutil.h swgrpha.c : /usr/include/string.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/xlocale.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/string3.h : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swdisp.h : swground.h : swgrpha.h : swmain.h : swutil.h : sopwith-1.8.1/src/.deps/swauto.P0000664000175000017500000000643212124366127015500 0ustar jessejesseswauto.o: swauto.c sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swauto.h swground.h swinit.h swmain.h swutil.h swauto.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swauto.h : swground.h : swinit.h : swmain.h : swutil.h : sopwith-1.8.1/src/.deps/swgames.P0000664000175000017500000000631312124366127015622 0ustar jessejesseswgames.o: swgames.c sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swgames.h swgames.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swgames.h : sopwith-1.8.1/src/.deps/swmove.P0000664000175000017500000000676312124366125015503 0ustar jessejesseswmove.o: swmove.c video.h sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swasynio.h swauto.h swcollsn.h swdisp.h swend.h swground.h swgrpha.h \ swinit.h swmain.h swmove.h swobject.h swsound.h swtitle.h swutil.h swmove.c : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swasynio.h : swauto.h : swcollsn.h : swdisp.h : swend.h : swground.h : swgrpha.h : swinit.h : swmain.h : swmove.h : swobject.h : swsound.h : swtitle.h : swutil.h : sopwith-1.8.1/src/.deps/swsymbol.P0000664000175000017500000000626512124366126016040 0ustar jessejesseswsymbol.o: swsymbol.c sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h swsymbol.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : sopwith-1.8.1/src/.deps/swconf.P0000664000175000017500000001022012124366125015441 0ustar jessejesseswconf.o: swconf.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h /usr/include/xlocale.h \ /usr/include/errno.h /usr/include/x86_64-linux-gnu/bits/errno.h \ /usr/include/linux/errno.h /usr/include/x86_64-linux-gnu/asm/errno.h \ /usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h \ /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/string.h \ /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/string3.h video.h sw.h std.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swconf.h swend.h swgrpha.h swmisc.h swtitle.h swmain.h swconf.c : /usr/include/ctype.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/xlocale.h : /usr/include/errno.h : /usr/include/x86_64-linux-gnu/bits/errno.h : /usr/include/linux/errno.h : /usr/include/x86_64-linux-gnu/asm/errno.h : /usr/include/asm-generic/errno.h : /usr/include/asm-generic/errno-base.h : /usr/include/stdio.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/string.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/string3.h : video.h : sw.h : std.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swconf.h : swend.h : swgrpha.h : swmisc.h : swtitle.h : swmain.h : sopwith-1.8.1/src/.deps/swasynio.P0000664000175000017500000000704412124366126016031 0ustar jessejesseswasynio.o: swasynio.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h /usr/include/xlocale.h \ tcpcomm.h timer.h video.h sw.h std.h /usr/include/stdio.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swasynio.h swdisp.h swend.h swgames.h swinit.h swmain.h swmisc.h \ swmove.h swsound.h swtitle.h swasynio.c : /usr/include/ctype.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/xlocale.h : tcpcomm.h : timer.h : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swasynio.h : swdisp.h : swend.h : swgames.h : swinit.h : swmain.h : swmisc.h : swmove.h : swsound.h : swtitle.h : sopwith-1.8.1/src/.deps/swcollsn.P0000664000175000017500000000663712124366124016026 0ustar jessejesseswcollsn.o: swcollsn.c video.h sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swcollsn.h swdisp.h swend.h swground.h swgrpha.h swinit.h swmain.h \ swmisc.h swmove.h swsound.h swcollsn.c : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swcollsn.h : swdisp.h : swend.h : swground.h : swgrpha.h : swinit.h : swmain.h : swmisc.h : swmove.h : swsound.h : sopwith-1.8.1/src/.deps/swsound.P0000664000175000017500000000654612124366125015664 0ustar jessejesseswsound.o: swsound.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h /usr/include/xlocale.h \ pcsound.h timer.h sw.h std.h /usr/include/stdio.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swmain.h swsound.h swsound.c : /usr/include/ctype.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/xlocale.h : pcsound.h : timer.h : sw.h : std.h : /usr/include/stdio.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swmain.h : swsound.h : sopwith-1.8.1/src/.deps/swground.P0000664000175000017500000000632012124366124016017 0ustar jessejesseswground.o: swground.c sw.h std.h /usr/include/stdio.h \ /usr/include/features.h /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swground.h swground.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swground.h : sopwith-1.8.1/src/.deps/swmain.P0000664000175000017500000000653212124366127015455 0ustar jessejesseswmain.o: swmain.c /usr/include/stdio.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h timer.h sw.h std.h \ /usr/include/stdlib.h /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swcollsn.h swgrpha.h swinit.h swmove.h swsound.h swtitle.h swutil.h swmain.c : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : timer.h : sw.h : std.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swcollsn.h : swgrpha.h : swinit.h : swmove.h : swsound.h : swtitle.h : swutil.h : sopwith-1.8.1/src/.deps/swtitle.P0000664000175000017500000000675112124366126015654 0ustar jessejesseswtitle.o: swtitle.c /usr/include/ctype.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h /usr/include/xlocale.h \ video.h sw.h std.h /usr/include/stdio.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swasynio.h swconf.h swend.h swground.h swgrpha.h swmain.h swmisc.h \ swsound.h swtitle.h swtitle.c : /usr/include/ctype.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/xlocale.h : video.h : sw.h : std.h : /usr/include/stdio.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swasynio.h : swconf.h : swend.h : swground.h : swgrpha.h : swmain.h : swmisc.h : swsound.h : swtitle.h : sopwith-1.8.1/src/.deps/swend.P0000664000175000017500000000650112124366126015272 0ustar jessejesseswend.o: swend.c sw.h std.h /usr/include/stdio.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \ /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h swsymbol.h ../config.h \ swcollsn.h swend.h swgrpha.h swmain.h swmisc.h swsound.h swutil.h swend.c : sw.h : std.h : /usr/include/stdio.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/time.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : swsymbol.h : ../config.h : swcollsn.h : swend.h : swgrpha.h : swmain.h : swmisc.h : swsound.h : swutil.h : sopwith-1.8.1/src/swobject.h0000664000175000017500000000305712046775546015031 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swobject.h,v 1.1.1.1 2003/02/14 19:03:32 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWOBJECT_H__ #define __SWOBJECT_H__ #include "sw.h" extern OBJECTS *allocobj(); extern void deallobj(OBJECTS *obp); #endif //--------------------------------------------------------------------------- // // $Log: swobject.h,v $ // Revision 1.1.1.1 2003/02/14 19:03:32 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/pcsound.h0000664000175000017500000000416012046775545014657 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: pcsound.h,v 1.1.1.1 2003/02/14 19:03:28 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // PC Speaker Interface // //--------------------------------------------------------------------------- #ifndef __SDLSOUND_H__ #define __SDLSOUND_H__ // // Initialise and Shut down // void Speaker_Init(); void Speaker_Shutdown(); // // Turn speaker on and off // void Speaker_On(); void Speaker_Off(); // // Play a particular tone to the speaker // // count: This determines the frequency. count is // the number of clock ticks between speaker // pulses. Hence clock_freq/count == tone // frequency // void Speaker_Output(unsigned short count); // // Play a sound // // This should be identical to the BASIC SOUND function // duration = 1/18th's of a second // void Speaker_Sound(int freq, int duration); #endif //--------------------------------------------------------------------------- // // $Log: pcsound.h,v $ // Revision 1.1.1.1 2003/02/14 19:03:28 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swgames.h0000664000175000017500000000300512046775544014646 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swgames.h,v 1.1.1.1 2003/02/14 19:03:30 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWGAMES_H__ #define __SWGAMES_H__ #include "sw.h" extern GAMES swgames[1]; #endif //--------------------------------------------------------------------------- // // $Log: swgames.h,v $ // Revision 1.1.1.1 2003/02/14 19:03:30 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/Makefile.in0000664000175000017500000003356112111467303015066 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ datarootdir = @datarootdir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = @build_alias@ build_triplet = @build@ host_alias = @host_alias@ host_triplet = @host@ target_alias = @target_alias@ target_triplet = @target@ CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ SOPWITH_BINS = @SOPWITH_BINS@ SOPWITH_SUBDIRS = @SOPWITH_SUBDIRS@ VERSION = @VERSION@ bindir = $(prefix)/bin SUBDIRS = @SOPWITH_SUBDIRS@ EXTRA_SUBDIRS = sdl gtk psion bin_PROGRAMS = @SOPWITH_BINS@ EXTRA_PROGRAMS = sopwith gtksopwith psopwith CFLAGS = @CFLAGS@ -I.. -I/usr/include/SDL COMMON_SRC = video.h swcollsn.c swgames.h swmain.h swutil.h font.h swcollsn.h swground.c swmisc.c tcpcomm.c pcsound.h swconf.c swground.h swmisc.h swsound.c tcpcomm.h std.h swconf.h swgrpha.c swmove.c swsound.h timer.h sw.h swdisp.c swgrpha.h swmove.h swsymbol.c swasynio.c swdisp.h swinit.c swsymbol.h swasynio.h swend.c swinit.h swtitle.c swauto.c swend.h swobject.c swtitle.h swauto.h swgames.c swmain.c swobject.h swutil.c video.c sopwith_SOURCES = $(COMMON_SRC) sopwith_LDADD = sdl/libsdlsopwith.a @SDL_LIBS@ gtksopwith_SOURCES = $(COMMON_SRC) gtksopwith_LDADD = gtk/libgtksopwith.a @GTK_LIBS@ psopwith_SOURCES = $(COMMON_SRC) psopwith_LDADD = psion/libpsopwith.a mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ sopwith_OBJECTS = swcollsn.o swground.o swmisc.o tcpcomm.o swconf.o \ swsound.o swgrpha.o swmove.o swdisp.o swsymbol.o swasynio.o swinit.o \ swend.o swtitle.o swauto.o swobject.o swgames.o swmain.o swutil.o \ video.o sopwith_DEPENDENCIES = sdl/libsdlsopwith.a sopwith_LDFLAGS = gtksopwith_OBJECTS = swcollsn.o swground.o swmisc.o tcpcomm.o swconf.o \ swsound.o swgrpha.o swmove.o swdisp.o swsymbol.o swasynio.o swinit.o \ swend.o swtitle.o swauto.o swobject.o swgames.o swmain.o swutil.o \ video.o gtksopwith_DEPENDENCIES = gtk/libgtksopwith.a gtksopwith_LDFLAGS = psopwith_OBJECTS = swcollsn.o swground.o swmisc.o tcpcomm.o swconf.o \ swsound.o swgrpha.o swmove.o swdisp.o swsymbol.o swasynio.o swinit.o \ swend.o swtitle.o swauto.o swobject.o swgames.o swmain.o swutil.o \ video.o psopwith_DEPENDENCIES = psion/libpsopwith.a psopwith_LDFLAGS = COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/swasynio.P .deps/swauto.P .deps/swcollsn.P \ .deps/swconf.P .deps/swdisp.P .deps/swend.P .deps/swgames.P \ .deps/swground.P .deps/swgrpha.P .deps/swinit.P .deps/swmain.P \ .deps/swmisc.P .deps/swmove.P .deps/swobject.P .deps/swsound.P \ .deps/swsymbol.P .deps/swtitle.P .deps/swutil.P .deps/tcpcomm.P \ .deps/video.P SOURCES = $(sopwith_SOURCES) $(gtksopwith_SOURCES) $(psopwith_SOURCES) OBJECTS = $(sopwith_OBJECTS) $(gtksopwith_OBJECTS) $(psopwith_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: sopwith: $(sopwith_OBJECTS) $(sopwith_DEPENDENCIES) @rm -f sopwith $(LINK) $(sopwith_LDFLAGS) $(sopwith_OBJECTS) $(sopwith_LDADD) $(LIBS) gtksopwith: $(gtksopwith_OBJECTS) $(gtksopwith_DEPENDENCIES) @rm -f gtksopwith $(LINK) $(gtksopwith_LDFLAGS) $(gtksopwith_OBJECTS) $(gtksopwith_LDADD) $(LIBS) psopwith: $(psopwith_OBJECTS) $(psopwith_DEPENDENCIES) @rm -f psopwith $(LINK) $(psopwith_LDFLAGS) $(psopwith_OBJECTS) $(psopwith_LDADD) $(LIBS) # 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. @SET_MAKE@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 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: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" != "." || dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive install-exec-am: install-binPROGRAMS install-exec: install-exec-recursive install-data-am: install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-recursive all-am: Makefile $(PROGRAMS) all-redirect: all-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(bindir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-depend distclean-generic clean-am distclean: distclean-recursive maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile install-data-recursive \ uninstall-data-recursive install-exec-recursive \ uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ all-recursive check-recursive installcheck-recursive info-recursive \ dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir \ mostlyclean-depend distclean-depend clean-depend \ maintainer-clean-depend info-am info dvi-am dvi check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs-am installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/tcpcomm.h0000664000175000017500000000331612046775545014650 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: tcpcomm.h,v 1.1.1.1 2003/02/14 19:03:33 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // TCP/IP Communications // //--------------------------------------------------------------------------- #ifndef __TCPCOMM_H__ #define __TCPCOMM_H__ extern void commconnect(char *host); extern void commlisten(); extern int commin(); extern void commout(unsigned char c); extern void commterm(); #endif /* __TCPCOMM_H__ */ //--------------------------------------------------------------------------- // // $Log: tcpcomm.h,v $ // Revision 1.1.1.1 2003/02/14 19:03:33 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swmove.c0000664000175000017500000005452412046775544014527 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swmove.c,v 1.6.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swmove - SW move all objects and players // //--------------------------------------------------------------------------- #include "video.h" #include "sw.h" #include "swasynio.h" #include "swauto.h" #include "swcollsn.h" #include "swdisp.h" #include "swend.h" #include "swground.h" #include "swgrpha.h" #include "swinit.h" #include "swmain.h" #include "swmove.h" #include "swobject.h" #include "swsound.h" #include "swsymbol.h" #include "swtitle.h" #include "swutil.h" static BOOL quit; void swmove() { register OBJECTS *ob, *obn; if (deltop) { delbot->ob_next = objfree; objfree = deltop; deltop = delbot = NULL; } ++dispcnt; if (dispcnt >= keydelay) dispcnt = 0; ob = objtop; while (ob) { obn = ob->ob_next; ob->ob_delflg = ob->ob_drwflg; ob->ob_oldsym = ob->ob_newsym; ob->ob_drwflg = (*ob->ob_movef) (ob); ob = obn; } ++countmove; } static void nearpln(OBJECTS * obp) { register OBJECTS *ob, *obt, *obc; register int i, obx, obclr; ob = obp; obt = objtop + 1; obx = ob->ob_x; obclr = ob->ob_owner->ob_clr; for (i = 1; obt->ob_type == PLANE; ++i, ++obt) { if (obclr == obt->ob_owner->ob_clr) continue; // sdh: removed use of "equal" function to compare // function pointers (why???) if (obt->ob_drawf == dispcomp) if (playmode != PLAYMODE_COMPUTER || (obx >= lcompter[i] && obx <= rcompter[i])) { obc = compnear[i]; if (!obc || abs(obx - obt->ob_x) < abs(obc->ob_x - obt->ob_x)) compnear[i] = ob; } } } static int topup(int *counter, int max) { BOOL rc; rc = FALSE; if (*counter == max) return rc; if (max < 20) { if (!(countmove % 20)) { ++*counter; rc = plyrplane; } } else { *counter += max / 100; rc = plyrplane; } if (*counter > max) *counter = max; return rc; } static void refuel(OBJECTS * obp) { register OBJECTS *ob; BOOL topped_up; ob = obp; setvdisp(); // sdh 26/10/2001: top up stuff, if anything happens update // the guages (now a single function) // sdh 27/10/2001: fix refueling in parallel (was a single // set of ||'s and was being shortcircuited) topped_up = topup(&ob->ob_life, MAXFUEL); topped_up |= topup(&ob->ob_rounds, MAXROUNDS); topped_up |= topup(&ob->ob_bombs, MAXBOMBS); topped_up |= topup(&ob->ob_missiles, MAXMISSILES); topped_up |= topup(&ob->ob_bursts, MAXBURSTS); if (topped_up) dispguages(ob); } static int symangle(OBJECTS * ob) { register int dx, dy; dx = ob->ob_dx; dy = ob->ob_dy; if (dx == 0) if (dy < 0) return 6; else if (dy > 0) return 2; else return 6; else if (dx > 0) if (dy < 0) return 7; else if (dy > 0) return 1; else return 0; else if (dy < 0) return 5; else if (dy > 0) return 3; else return 4; } BOOL moveplyr(OBJECTS * obp) { register OBJECTS *ob; register BOOL rc; register int oldx; int multkey; compplane = FALSE; plyrplane = TRUE; ob = obp; currobx = ob->ob_index; endstat = endsts[player]; if (endstat) { --endcount; if (endcount <= 0) { if (playmode != PLAYMODE_ASYNCH && !quit) swrestart(); swend(NULL, YES); } } // sdh: use the cga (sdl) interface to // read key status multkey = Vid_GetGameKeys(); // Thanks to Kodath duMatri for fixing this :) if (conf_harrykeys && ob->ob_orient) if(multkey & (K_FLAPU | K_FLAPD)) multkey ^= K_FLAPU | K_FLAPD; if (playmode == PLAYMODE_ASYNCH) { asynput(multkey); } interpret(ob, multkey); /* if (dispcnt) { ob->ob_flaps = 0; ob->ob_bfiring = ob->ob_bombing = FALSE; ob->ob_mfiring = NULL; }*/ if ((ob->ob_state == CRASHED || ob->ob_state == GHOSTCRASHED) && ob->ob_hitcount <= 0) { // sdh: infinite lives in multiplayer mode if (playmode != PLAYMODE_ASYNCH) ++ob->ob_crashcnt; if (endstat != WINNER && (ob->ob_life <= QUIT || (playmode != PLAYMODE_ASYNCH && ob->ob_crashcnt >= MAXCRASH))) { if (!endstat) loser(ob); } else { initplyr(ob); initdisp(YES); if (endstat == WINNER) { if (ctlbreak()) swend(NULL, YES); winner(ob); } } } oldx = ob->ob_x; rc = movepln(ob); if (oldx <= SCR_LIMIT || oldx >= (MAX_X - SCR_LIMIT)) dispdx = 0; else { dispdx = ob->ob_x - oldx; displx += dispdx; } if (!ob->ob_athome) { setvdisp(); // sdh 26/10/2001: guages are now a single function if (ob->ob_firing || ob->ob_bombing || ob->ob_mfiring || ob->ob_bfiring) dispguages(ob); } return rc; } void interpret(OBJECTS * obp, int key) { register OBJECTS *ob; register obstate_t state; ob = obp; ob->ob_flaps = 0; ob->ob_bombing = ob->ob_bfiring = 0; ob->ob_mfiring = ob->ob_firing = NULL; state = ob->ob_state; if (state != FLYING && state != STALLED && state != FALLING && state != WOUNDED && state != WOUNDSTALL && state != GHOST && state != GHOSTSTALLED) return; if (state != FALLING) { if (endstat) { if (endstat == LOSER && plyrplane) gohome(ob); return; } if (key & K_BREAK) { ob->ob_life = QUIT; ob->ob_home = FALSE; if (ob->ob_athome) { ob->ob_state = state = state >= FINISHED ? GHOSTCRASHED : CRASHED; ob->ob_hitcount = 0; } if (plyrplane) quit = TRUE; } if (key & K_HOME) if (state == FLYING || state == GHOST || state == WOUNDED) ob->ob_home = TRUE; } if ((countmove & 1) || (state != WOUNDED && state != WOUNDSTALL)) { if (key & K_FLAPU) { ++ob->ob_flaps; ob->ob_home = FALSE; } if (key & K_FLAPD) { --ob->ob_flaps; ob->ob_home = FALSE; } if (key & K_FLIP) { ob->ob_orient = !ob->ob_orient; ob->ob_home = FALSE; } if (key & K_DEACC) { if (ob->ob_accel) --ob->ob_accel; ob->ob_home = FALSE; } if (key & K_ACCEL) { if (ob->ob_accel < MAX_THROTTLE) ++ob->ob_accel; ob->ob_home = FALSE; } } if ((key & K_SHOT) && state < FINISHED) ob->ob_firing = ob; if ((key & K_MISSILE) && state < FINISHED) ob->ob_mfiring = ob; if ((key & K_BOMB) && state < FINISHED) ob->ob_bombing = TRUE; if ((key & K_STARBURST) && state < FINISHED) ob->ob_bfiring = TRUE; if (key & K_SOUND) if (plyrplane) { if (soundflg) { sound(0, 0, NULL); swsound(); } soundflg = !soundflg; } if (ob->ob_home) gohome(ob); } BOOL movecomp(OBJECTS * obp) { register OBJECTS *ob; int rc; compplane = TRUE; plyrplane = FALSE; ob = obp; ob->ob_flaps = 0; ob->ob_bfiring = ob->ob_bombing = FALSE; ob->ob_mfiring = NULL; currobx = ob->ob_index; endstat = endsts[currobx]; if (!dispcnt) ob->ob_firing = NULL; switch (ob->ob_state) { case WOUNDED: case WOUNDSTALL: if (countmove & 1) break; case FLYING: case STALLED: if (endstat) { gohome(ob); break; } if (!dispcnt) swauto(ob); break; case CRASHED: ob->ob_firing = NULL; if (ob->ob_hitcount <= 0 && !endstat) initcomp(ob); break; default: ob->ob_firing = NULL; break; } rc = movepln(ob); return rc; } static BOOL stallpln(OBJECTS * obp) { register OBJECTS *ob; ob = obp; ob->ob_ldx = ob->ob_ldy = ob->ob_orient = ob->ob_dx = 0; ob->ob_angle = 7 * ANGLES / 8; ob->ob_speed = 0; ob->ob_dy = 0; ob->ob_hitcount = STALLCOUNT; ob->ob_state = ob->ob_state >= GHOST ? GHOSTSTALLED : ob->ob_state == WOUNDED ? WOUNDSTALL : STALLED; ob->ob_athome = FALSE; return TRUE; } BOOL movepln(OBJECTS * obp) { register OBJECTS *ob = obp; register int nangle, nspeed, limit, update; obstate_t state, newstate; int x, y, stalled; // int grv; // sdh 28/4/2002: aargh! char is not neccesarily signed char, // it seems. use int static signed int gravity[] = { 0, -1, -2, -3, -4, -3, -2, -1, 0, 1, 2, 3, 4, 3, 2, 1 }; state = ob->ob_state; switch (state) { case FINISHED: case WAITING: return FALSE; case CRASHED: case GHOSTCRASHED: --ob->ob_hitcount; break; case FALLING: ob->ob_hitcount -= 2; if ((ob->ob_dy < 0) && ob->ob_dx) { if (ob->ob_orient ^ (ob->ob_dx < 0)) ob->ob_hitcount -= ob->ob_flaps; else ob->ob_hitcount += ob->ob_flaps; } if (ob->ob_hitcount <= 0) { if (ob->ob_dy < 0) { if (ob->ob_dx < 0) ++ob->ob_dx; else if (ob->ob_dx > 0) --ob->ob_dx; else ob->ob_orient = !ob->ob_orient; } if (ob->ob_dy > -10) --ob->ob_dy; ob->ob_hitcount = FALLCOUNT; } ob->ob_angle = symangle(ob) * 2; if (ob->ob_dy <= 0) initsound(ob, S_FALLING); break; case STALLED: newstate = FLYING; goto commonstall; case GHOSTSTALLED: newstate = GHOST; goto commonstall; case WOUNDSTALL: newstate = WOUNDED; commonstall: stalled = ob->ob_angle != (3 * ANGLES / 4) || ob->ob_speed < gminspeed; if (!stalled) ob->ob_state = state = newstate; goto controlled; case FLYING: case WOUNDED: case GHOST: stalled = ob->ob_y >= MAX_Y; if (stalled) { if (playmode == PLAYMODE_NOVICE) { ob->ob_angle = (3 * ANGLES / 4); stalled = FALSE; } else { stallpln(ob); state = ob->ob_state; } } controlled: if (goingsun && plyrplane) break; if (ob->ob_life <= 0 && !ob->ob_athome && (state == FLYING || state == STALLED || state == WOUNDED || state == WOUNDSTALL)) { hitpln(ob); scorepln(ob); return movepln(ob); } if (ob->ob_firing) initshot(ob, NULL); if (ob->ob_bombing) initbomb(ob); if (ob->ob_mfiring) initmiss(ob); if (ob->ob_bfiring) initburst(ob); nangle = ob->ob_angle; nspeed = ob->ob_speed; update = ob->ob_flaps; if (update) { if (ob->ob_orient) nangle -= update; else nangle += update; nangle = (nangle + ANGLES) % ANGLES; } if (!(countmove & 0x0003)) { if (!stalled && nspeed < gminspeed && playmode != PLAYMODE_NOVICE) { --nspeed; update = TRUE; } else { limit = gminspeed + ob->ob_accel + gravity[nangle]; if (nspeed < limit) { ++nspeed; update = TRUE; } else if (nspeed > limit) { --nspeed; update = TRUE; } } } if (update) { if (ob->ob_athome) if (ob->ob_accel || ob->ob_flaps) nspeed = gminspeed; else nspeed = 0; else if (nspeed <= 0 && !stalled) { if (playmode == PLAYMODE_NOVICE) nspeed = 1; else { stallpln(ob); return movepln(ob); } } ob->ob_speed = nspeed; ob->ob_angle = nangle; if (stalled) { ob->ob_dx = ob->ob_ldx = ob->ob_ldy = 0; ob->ob_dy = -nspeed; } else setdxdy(ob, nspeed * COS(nangle), nspeed * SIN(nangle)); } if (stalled) { if (!--ob->ob_hitcount) { ob->ob_orient = !ob->ob_orient; ob->ob_angle = ((3 * ANGLES / 2) - ob->ob_angle) % ANGLES; ob->ob_hitcount = STALLCOUNT; } } if (!compplane) { if (plyrplane && ob->ob_speed > (ob->ob_life % (MAXFUEL / 10))) { setvdisp(); // sdh 26/10/2001: use new dispguages function dispguages(ob); } ob->ob_life -= ob->ob_speed; } if (ob->ob_speed) ob->ob_athome = FALSE; break; default: break; } if (endstat == WINNER && plyrplane && goingsun) ob->ob_newsym = symbol_plane_win[endcount / 18]; else if (ob->ob_state == FINISHED) ob->ob_newsym = NULL; else if (ob->ob_state == FALLING && !ob->ob_dx && ob->ob_dy < 0) ob->ob_newsym = symbol_plane_hit[ob->ob_orient]; else ob->ob_newsym = symbol_plane[ob->ob_orient][ob->ob_angle]; //ob->ob_newsym = //ob->ob_state == FINISHED ? NULL : //((ob->ob_state == FALLING //&& !ob->ob_dx && ob->ob_dy < 0) //? swhitsym[ob->ob_orient] //: swplnsym[ob->ob_orient][ob->ob_angle]); movexy(ob, &x, &y); if (x < 0) x = ob->ob_x = 0; else if (x >= (MAX_X - 16)) x = ob->ob_x = MAX_X - 16; if (!compplane && (ob->ob_state == FLYING || ob->ob_state == STALLED || ob->ob_state == WOUNDED || ob->ob_state == WOUNDSTALL) && !endsts[player]) nearpln(ob); deletex(ob); insertx(ob, ob->ob_xnext); if (ob->ob_bdelay) --ob->ob_bdelay; if (ob->ob_mdelay) --ob->ob_mdelay; if (ob->ob_bsdelay) --ob->ob_bsdelay; if (!compplane && ob->ob_athome && ob->ob_state == FLYING) refuel(ob); if (y < MAX_Y && y >= 0) { if (ob->ob_state == FALLING || ob->ob_state == WOUNDED || ob->ob_state == WOUNDSTALL) initsmok(ob); setvdisp(); dispwobj(ob); return plyrplane || ob->ob_state < FINISHED; } return FALSE; } static void adjustfall(OBJECTS * obp) { register OBJECTS *ob; ob = obp; if (!--ob->ob_life) { if (ob->ob_dy < 0) { if (ob->ob_dx < 0) ++ob->ob_dx; else if (ob->ob_dx > 0) --ob->ob_dx; } if (ob->ob_dy > -10) --ob->ob_dy; ob->ob_life = BOMBLIFE; } } BOOL moveshot(OBJECTS * obp) { register OBJECTS *ob; int x, y; ob = obp; deletex(ob); --ob->ob_life; if (ob->ob_life <= 0) { deallobj(ob); return FALSE; } movexy(ob, &x, &y); if (y >= MAX_Y || y <= (int) ground[x] || x < 0 || x >= MAX_X) { deallobj(ob); return FALSE; } insertx(ob, ob->ob_xnext); ob->ob_newsym = &symbol_pixel; return TRUE; } BOOL movebomb(OBJECTS * obp) { register OBJECTS *ob; int x, y; ob = obp; deletex(ob); if (ob->ob_life < 0) { deallobj(ob); ob->ob_state = FINISHED; setvdisp(); dispwobj(ob); return FALSE; } adjustfall(ob); if (ob->ob_dy <= 0) initsound(ob, S_BOMB); movexy(ob, &x, &y); if (y < 0 || x < 0 || x >= MAX_X) { deallobj(ob); stopsound(ob); ob->ob_state = FINISHED; setvdisp(); dispwobj(ob); return FALSE; } ob->ob_newsym = symbol_bomb[symangle(ob)]; insertx(ob, ob->ob_xnext); if (y >= MAX_Y) return FALSE; setvdisp(); dispwobj(ob); return TRUE; } BOOL movemiss(OBJECTS * obp) { register OBJECTS *ob; int x, y, angle; OBJECTS *obt; ob = obp; deletex(ob); if (ob->ob_life < 0) { deallobj(ob); ob->ob_state = FINISHED; setvdisp(); dispwobj(ob); return FALSE; } if (ob->ob_state == FLYING) { obt = ob->ob_target; if (obt != ob->ob_owner && (ob->ob_life & 1)) { if (obt->ob_target) obt = obt->ob_target; aim(ob, obt->ob_x, obt->ob_y, NULL, NO); angle = ob->ob_angle = (ob->ob_angle + ob->ob_flaps + ANGLES) % ANGLES; setdxdy(ob, ob->ob_speed * COS(angle), ob->ob_speed * SIN(angle)); } movexy(ob, &x, &y); --ob->ob_life; if (ob->ob_life <= 0 || y >= ((MAX_Y * 3) / 2)) { ob->ob_state = FALLING; ++ob->ob_life; } } else { adjustfall(ob); ob->ob_angle = (ob->ob_angle + 1) % ANGLES; movexy(ob, &x, &y); } if (y < 0 || x < 0 || x >= MAX_X) { deallobj(ob); ob->ob_state = FINISHED; setvdisp(); dispwobj(ob); return FALSE; } ob->ob_newsym = symbol_missile[ob->ob_angle]; insertx(ob, ob->ob_xnext); if (y >= MAX_Y) return FALSE; setvdisp(); dispwobj(ob); return TRUE; } BOOL moveburst(OBJECTS * obp) { register OBJECTS *ob; int x, y; ob = obp; deletex(ob); if (ob->ob_life < 0) { ob->ob_owner->ob_target = NULL; deallobj(ob); return FALSE; } adjustfall(ob); movexy(ob, &x, &y); if (y <= (int) ground[x] || x < 0 || x >= MAX_X) { ob->ob_owner->ob_target = NULL; deallobj(ob); return FALSE; } ob->ob_owner->ob_target = ob; ob->ob_newsym = symbol_burst[ob->ob_life & 1]; insertx(ob, ob->ob_xnext); return y < MAX_Y; } BOOL movetarg(OBJECTS * obt) { int r; register OBJECTS *obp, *ob; ob = obt; obp = objtop; ob->ob_firing = NULL; if (gamenum && ob->ob_state == STANDING && (obp->ob_state == FLYING || obp->ob_state == STALLED || obp->ob_state == WOUNDED || obp->ob_state == WOUNDSTALL) && ob->ob_clr != obp->ob_clr && (gamenum > 1 || (countmove & 0x0001)) && ((r = range(ob->ob_x, ob->ob_y, obp->ob_x, obp->ob_y)) > 0) && r < targrnge) initshot(ob, ob->ob_firing = obp); --ob->ob_hitcount; if (ob->ob_hitcount < 0) ob->ob_hitcount = 0; if (ob->ob_state == STANDING) ob->ob_newsym = symbol_targets[ob->ob_orient]; else ob->ob_newsym = symbol_target_hit; return TRUE; } BOOL moveexpl(OBJECTS * obp) { register OBJECTS *ob; int x, y; register int orient; ob = obp; orient = ob->ob_orient; deletex(ob); if (ob->ob_life < 0) { if (orient) stopsound(ob); deallobj(ob); return FALSE; } --ob->ob_life; if (ob->ob_life <= 0) { if (ob->ob_dy < 0) { if (ob->ob_dx < 0) ++ob->ob_dx; else if (ob->ob_dx > 0) --ob->ob_dx; } if ((ob->ob_orient && ob->ob_dy > -10) || (!ob->ob_orient && ob->ob_dy > -gminspeed)) --ob->ob_dy; ob->ob_life = EXPLLIFE; } movexy(ob, &x, &y); if (y <= (int) ground[x] || x < 0 || x >= MAX_X) { if (orient) stopsound(ob); deallobj(ob); return (FALSE); } ++ob->ob_hitcount; insertx(ob, ob->ob_xnext); ob->ob_newsym = symbol_debris[ob->ob_orient]; return y < MAX_Y; } BOOL movesmok(OBJECTS * obp) { register OBJECTS *ob; register obstate_t state; ob = obp; state = ob->ob_owner->ob_state; --ob->ob_life; if (ob->ob_life <= 0 || (state != FALLING && state != WOUNDED && state != WOUNDSTALL && state != CRASHED)) { deallobj(ob); return FALSE; } ob->ob_newsym = &symbol_pixel; return TRUE; } BOOL moveflck(OBJECTS * obp) { register OBJECTS *ob; int x, y; ob = obp; deletex(ob); if (ob->ob_life == -1) { setvdisp(); dispwobj(ob); deallobj(ob); return FALSE; } --ob->ob_life; if (ob->ob_life <= 0) { ob->ob_orient = !ob->ob_orient; ob->ob_life = FLOCKLIFE; } if (ob->ob_x < MINFLCKX || ob->ob_x > MAXFLCKX) ob->ob_dx = -ob->ob_dx; movexy(ob, &x, &y); insertx(ob, ob->ob_xnext); ob->ob_newsym = symbol_flock[ob->ob_orient]; setvdisp(); dispwobj(ob); return TRUE; } BOOL movebird(OBJECTS * obp) { register OBJECTS *ob; int x, y; ob = obp; deletex(ob); if (ob->ob_life == -1) { deallobj(ob); return FALSE; } else if (ob->ob_life == -2) { ob->ob_dy = -ob->ob_dy; ob->ob_dx = (countmove & 7) - 4; ob->ob_life = BIRDLIFE; } else { --ob->ob_life; if (ob->ob_life <= 0) { ob->ob_orient = !ob->ob_orient; ob->ob_life = BIRDLIFE; } } movexy(ob, &x, &y); insertx(ob, ob->ob_xnext); ob->ob_newsym = symbol_bird[ob->ob_orient]; if (y >= MAX_Y || y <= (int) ground[x] || x < 0 || x >= MAX_X) { ob->ob_y -= ob->ob_dy; ob->ob_life = -2; return FALSE; } return TRUE; } BOOL moveox(OBJECTS * ob) { ob->ob_newsym = symbol_ox[ob->ob_state != STANDING]; return TRUE; } BOOL crashpln(OBJECTS * obp) { register OBJECTS *ob, *obo; ob = obp; if (ob->ob_dx < 0) ob->ob_angle = (ob->ob_angle + 2) % ANGLES; else ob->ob_angle = (ob->ob_angle + ANGLES - 2) % ANGLES; ob->ob_state = ob->ob_state >= GHOST ? GHOSTCRASHED : CRASHED; ob->ob_athome = FALSE; ob->ob_dx = ob->ob_dy = ob->ob_ldx = ob->ob_ldy = ob->ob_speed = 0; obo = &oobjects[ob->ob_index]; ob->ob_hitcount = ((abs(obo->ob_x - ob->ob_x) < SAFERESET) && (abs(obo->ob_y - ob->ob_y) < SAFERESET)) ? (MAXCRCOUNT << 1) : MAXCRCOUNT; return TRUE; } BOOL hitpln(OBJECTS * obp) { register OBJECTS *ob; ob = obp; ob->ob_ldx = ob->ob_ldy = 0; ob->ob_hitcount = FALLCOUNT; ob->ob_state = FALLING; ob->ob_athome = FALSE; return TRUE; } BOOL insertx(OBJECTS * ob, OBJECTS * obp) { register OBJECTS *obs; register int obx; obs = obp; obx = ob->ob_x; if (obx < obs->ob_x) do { obs = obs->ob_xprev; } while (obx < obs->ob_x); else { while (obx >= obs->ob_x) obs = obs->ob_xnext; obs = obs->ob_xprev; } ob->ob_xnext = obs->ob_xnext; ob->ob_xprev = obs; obs->ob_xnext->ob_xprev = ob; obs->ob_xnext = ob; return TRUE; } void deletex(OBJECTS * obp) { register OBJECTS *ob; ob = obp; ob->ob_xnext->ob_xprev = ob->ob_xprev; ob->ob_xprev->ob_xnext = ob->ob_xnext; } //--------------------------------------------------------------------------- // // $Log: swmove.c,v $ // Revision 1.6.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.6 2003/06/04 17:13:26 fraggle // Remove disprx, as it is implied from displx anyway. // // Revision 1.5 2003/06/04 17:02:37 fraggle // Remove some obfuscation and dead code // // Revision 1.4 2003/04/06 22:01:02 fraggle // Fix compile warnings // // Revision 1.3 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.2 2003/04/05 22:31:29 fraggle // Remove PLAYMODE_MULTIPLE and swnetio.c // // Revision 1.1.1.1 2003/02/14 19:03:15 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // autohome on harry keys mode fixed. // sdh 27/06/2002: move to new sopsym_t for symbols // sdh 26/03/2002: change CGA_ to Vid_ // sdh 27/10/2001: fix refueling i broke with the guages change yesterday // sdh 26/10/2001: use new dispguages function // sdh 21/10/2001: use new obtype_t and obstate_t // sdh 21/10/2001: reformatted with indent. edited some code by hand to // make it more readable // sdh 19/10/2001: removed all externs, these are now in headers // shuffled some functions around to shut up compiler // sdh 18/10/2001: converted all functions in this file to ANSI-style arguments // // 87-04-09 Delay between starbursts. // 87-04-04 Missile and starburst support. // 87-04-01 Missiles. // 87-03-31 Allow wounded plane to fly home // 87-03-30 Novice Player // 87-03-12 Computer plane heads home at end. // 87-03-12 Prioritize bombs/shots over flaps. // 87-03-12 Proper ASYCHRONOUS end of game. // 87-03-12 Crashed planes stay longer at home. // 87-03-12 Wounded airplanes. // 87-03-09 Microsoft compiler. // 85-10-31 Atari // 84-02-07 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/Makefile0000664000175000017500000003403412124365360014461 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = /bin/bash srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${datarootdir} datarootdir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${datarootdir}/info mandir = ${datarootdir}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/sopwith pkglibdir = $(libdir)/sopwith pkgincludedir = $(includedir)/sopwith top_builddir = .. ACLOCAL = /home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4 AUTOCONF = autoconf AUTOMAKE = /home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4 AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL} transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = build_triplet = x86_64-unknown-linux-gnu host_alias = host_triplet = x86_64-unknown-linux-gnu target_alias = target_triplet = x86_64-unknown-linux-gnu CC = gcc MAKEINFO = /home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo PACKAGE = sopwith PKG_CONFIG = @PKG_CONFIG@ RANLIB = ranlib SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL_CONFIG = /usr/bin/sdl-config SDL_LIBS = -L/usr/lib/x86_64-linux-gnu -lSDL SOPWITH_BINS = sopwith SOPWITH_SUBDIRS = sdl VERSION = 1.8.0 bindir = $(prefix)/bin SUBDIRS = sdl EXTRA_SUBDIRS = sdl gtk psion bin_PROGRAMS = sopwith EXTRA_PROGRAMS = sopwith gtksopwith psopwith CFLAGS = -g -O2 -I.. -I/usr/include/SDL COMMON_SRC = video.h swcollsn.c swgames.h swmain.h swutil.h font.h swcollsn.h swground.c swmisc.c tcpcomm.c pcsound.h swconf.c swground.h swmisc.h swsound.c tcpcomm.h std.h swconf.h swgrpha.c swmove.c swsound.h timer.h sw.h swdisp.c swgrpha.h swmove.h swsymbol.c swasynio.c swdisp.h swinit.c swsymbol.h swasynio.h swend.c swinit.h swtitle.c swauto.c swend.h swobject.c swtitle.h swauto.h swgames.c swmain.c swobject.h swutil.c video.c sopwith_SOURCES = $(COMMON_SRC) sopwith_LDADD = sdl/libsdlsopwith.a -L/usr/lib/x86_64-linux-gnu -lSDL gtksopwith_SOURCES = $(COMMON_SRC) gtksopwith_LDADD = gtk/libgtksopwith.a @GTK_LIBS@ psopwith_SOURCES = $(COMMON_SRC) psopwith_LDADD = psion/libpsopwith.a mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(bin_PROGRAMS) DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.. CPPFLAGS = LDFLAGS = LIBS = sopwith_OBJECTS = swcollsn.o swground.o swmisc.o tcpcomm.o swconf.o \ swsound.o swgrpha.o swmove.o swdisp.o swsymbol.o swasynio.o swinit.o \ swend.o swtitle.o swauto.o swobject.o swgames.o swmain.o swutil.o \ video.o sopwith_DEPENDENCIES = sdl/libsdlsopwith.a sopwith_LDFLAGS = gtksopwith_OBJECTS = swcollsn.o swground.o swmisc.o tcpcomm.o swconf.o \ swsound.o swgrpha.o swmove.o swdisp.o swsymbol.o swasynio.o swinit.o \ swend.o swtitle.o swauto.o swobject.o swgames.o swmain.o swutil.o \ video.o gtksopwith_DEPENDENCIES = gtk/libgtksopwith.a gtksopwith_LDFLAGS = psopwith_OBJECTS = swcollsn.o swground.o swmisc.o tcpcomm.o swconf.o \ swsound.o swgrpha.o swmove.o swdisp.o swsymbol.o swasynio.o swinit.o \ swend.o swtitle.o swauto.o swobject.o swgames.o swmain.o swutil.o \ video.o psopwith_DEPENDENCIES = psion/libpsopwith.a psopwith_LDFLAGS = COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/swasynio.P .deps/swauto.P .deps/swcollsn.P \ .deps/swconf.P .deps/swdisp.P .deps/swend.P .deps/swgames.P \ .deps/swground.P .deps/swgrpha.P .deps/swinit.P .deps/swmain.P \ .deps/swmisc.P .deps/swmove.P .deps/swobject.P .deps/swsound.P \ .deps/swsymbol.P .deps/swtitle.P .deps/swutil.P .deps/tcpcomm.P \ .deps/video.P SOURCES = $(sopwith_SOURCES) $(gtksopwith_SOURCES) $(psopwith_SOURCES) OBJECTS = $(sopwith_OBJECTS) $(gtksopwith_OBJECTS) $(psopwith_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-binPROGRAMS: clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) distclean-binPROGRAMS: maintainer-clean-binPROGRAMS: install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(bindir) @list='$(bin_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) list='$(bin_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: sopwith: $(sopwith_OBJECTS) $(sopwith_DEPENDENCIES) @rm -f sopwith $(LINK) $(sopwith_LDFLAGS) $(sopwith_OBJECTS) $(sopwith_LDADD) $(LIBS) gtksopwith: $(gtksopwith_OBJECTS) $(gtksopwith_DEPENDENCIES) @rm -f gtksopwith $(LINK) $(gtksopwith_LDFLAGS) $(gtksopwith_OBJECTS) $(gtksopwith_LDADD) $(LIBS) psopwith: $(psopwith_OBJECTS) $(psopwith_DEPENDENCIES) @rm -f psopwith $(LINK) $(psopwith_LDFLAGS) $(psopwith_OBJECTS) $(psopwith_LDADD) $(LIBS) # 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. all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ 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: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" != "." || dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive install-exec-am: install-binPROGRAMS install-exec: install-exec-recursive install-data-am: install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall-binPROGRAMS uninstall: uninstall-recursive all-am: Makefile $(PROGRAMS) all-redirect: all-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(bindir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-binPROGRAMS clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \ distclean-depend distclean-generic clean-am distclean: distclean-recursive maintainer-clean-am: maintainer-clean-binPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile install-data-recursive \ uninstall-data-recursive install-exec-recursive \ uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \ all-recursive check-recursive installcheck-recursive info-recursive \ dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir \ mostlyclean-depend distclean-depend clean-depend \ maintainer-clean-depend info-am info dvi-am dvi check check-am \ installcheck-am installcheck install-exec-am install-exec \ install-data-am install-data install-am install uninstall-am uninstall \ all-redirect all-am all installdirs-am installdirs mostlyclean-generic \ distclean-generic clean-generic maintainer-clean-generic clean \ mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/swmove.h0000664000175000017500000000445112046775550014523 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swmove.h,v 1.2 2003/04/05 22:44:04 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWMOVE_H__ #define __SWMOVE_H__ #include "sw.h" extern void swmove(); extern BOOL moveplyr(OBJECTS *obp); extern void interpret(OBJECTS *obp, int key); extern BOOL movecomp(OBJECTS *obp); extern BOOL movepln(OBJECTS *obp); extern BOOL moveshot(OBJECTS *obp); extern BOOL movebomb(OBJECTS *obp); extern BOOL movemiss(OBJECTS *obp); extern BOOL moveburst(OBJECTS *obp); extern BOOL movetarg(OBJECTS *obt); extern BOOL moveexpl(OBJECTS *obp); extern BOOL movesmok(OBJECTS *obp); extern BOOL moveflck(OBJECTS *obp); extern BOOL movebird(OBJECTS *obp); extern BOOL moveox(OBJECTS *ob); extern BOOL crashpln(OBJECTS *obp); extern BOOL hitpln(OBJECTS *obp); extern BOOL insertx(OBJECTS *ob, OBJECTS *obp); extern void deletex(OBJECTS *obp); #endif //--------------------------------------------------------------------------- // // $Log: swmove.h,v $ // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:31 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swmain.c0000664000175000017500000001733012124365076014467 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swmain.c,v 1.5.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swmain - SW mainline // //--------------------------------------------------------------------------- #include #include "timer.h" #include "sw.h" #include "swcollsn.h" #include "swgrpha.h" #include "swinit.h" #include "swmove.h" #include "swsound.h" #include "swtitle.h" #include "swutil.h" // sdh: framerate control #define FPS 10 // sdh 28/10/2001: game options BOOL conf_missiles = 0; // allow missiles: replaces missok BOOL conf_solidground = 0; // draw ground solid like in sopwith 1 BOOL conf_hudsplats = 1; // splatted birds etc BOOL conf_wounded = 1; // enable wounded planes BOOL conf_animals = 1; // birds and oxes BOOL conf_harrykeys = 0; // plane rotation relative to screen playmode_t playmode; /* Mode of play */ GAMES *currgame; /* Game parameters and current game */ OBJECTS *targets[MAX_TARG + MAX_OXEN]; /* Status of targets array */ int numtarg[2]; /* Number of active targets by color */ int savemode; /* Saved PC display mode */ int tickmode; /* Tick action to be performed */ int counttick, countmove; /* Performance counters */ int movetick, movemax; /* Move timing */ int gamenum; /* Current game number */ int gmaxspeed, gminspeed; /* Speed range based on game number */ int targrnge; /* Target range based on game number */ BOOL hires; /* High res flag */ BOOL disppos; /* Display position flag */ BOOL titleflg; /* Title flag */ int dispdbg; /* Debug value to display */ BOOL soundflg = 0; /* Sound flag */ BOOL repflag = FALSE; /* Report statistics flag */ BOOL joystick; /* Joystick being used */ BOOL ibmkeybd; /* IBM-like keyboard being used */ BOOL inplay; /* Game is in play */ int koveride; /* Keyboard override index number */ int displx; /* Display left and right */ int dispdx; /* Display shift */ BOOL dispinit; /* Inialized display flag */ OBJECTS *drawlist; /* Onscreen object list */ OBJECTS *nobjects; /* Objects list. */ OBJECTS oobjects[MAX_PLYR]; /* Original plane object description */ OBJECTS *objbot, *objtop, /* Top and bottom of object list */ *objfree, /* Free list */ *deltop, *delbot; /* Newly deallocated objects */ OBJECTS topobj, botobj; /* Top and Bottom of obj. x list */ OBJECTS *compnear[MAX_PLYR]; /* Planes near computer planes */ int lcompter[MAX_PLYR] = { /* Computer plane territory */ 0, 1155, 0, 2089 }; int rcompter[MAX_PLYR] = { /* Computer plane territory */ 0, 2088, 1154, 10000 }; OBJECTS *objsmax = 0; /* Maximum object allocated */ int endsts[MAX_PLYR]; /* End of game status and move count */ int endcount; int player; /* Pointer to player's object */ int currobx; /* Current object index */ BOOL plyrplane; /* Current object is player flag */ BOOL compplane; /* Current object is a comp plane */ OLDWDISP wdisp[MAX_OBJS]; /* World display status */ BOOL goingsun; /* Going to the sun flag */ BOOL forcdisp; /* Force display of ground */ char *histin, *histout; /* History input and output files */ unsigned explseed; /* random seed for explosion */ int keydelay = -1; /* Number of displays per keystroke */ int dispcnt; /* Displays to delay keyboard */ int endstat; /* End of game status for curr. move */ int maxcrash; /* Maximum number of crashes */ int shothole; /* Number of shot holes to display */ int splatbird; /* Number of slatted bird symbols */ int splatox; /* Display splatted ox */ int oxsplatted; /* An ox has been splatted */ int sintab[ANGLES] = { /* sine table of pi/8 increments */ 0, 98, 181, 237, /* multiplied by 256 */ 256, 237, 181, 98, 0, -98, -181, -237, -256, -237, -181, -98 }; jmp_buf envrestart; /* Restart environment for restart */ /* long jump. */ int main(int argc, char *argv[]) { int nexttic; nobjects = (OBJECTS *) malloc(100 * sizeof(OBJECTS)); swinit(argc, argv); setjmp(envrestart); // sdh 28/10/2001: playmode is called from here now // makes for a more coherent progression through the setup process if (!playmode) getgamemode(); swinitlevel(); nexttic = Timer_GetMS(); for (;;) { /*----- DLC 96/12/27 ------ while ( movetick < 2 ); movetick = 0; -------------------------*/ //while ( movetick < movemax ); // sdh: in the original, movetick was incremented // automagically by a timed interrupt. we dont // have interrupts so we have to pause between tics nexttic += 1000 / FPS; do { swsndupdate(); // sdh 15/11/2001: dont thrash the // processor while waiting Timer_Sleep(10); } while (Timer_GetMS() < nexttic); movetick -= movemax; // swmove and swdisp should be made to run // asyncronously probably swmove(); swdisp(); swgetjoy(); swcollsn(); swsound(); } return 0; } //--------------------------------------------------------------------------- // // $Log: swmain.c,v $ // Revision 1.5.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.5 2003/06/04 17:13:26 fraggle // Remove disprx, as it is implied from displx anyway. // // Revision 1.4 2003/06/04 16:02:55 fraggle // Remove broken printscreen function // // Revision 1.3 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.2 2003/04/05 22:31:29 fraggle // Remove PLAYMODE_MULTIPLE and swnetio.c // // Revision 1.1.1.1 2003/02/14 19:03:14 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 25/11/2001: remove intson, intsoff calls // sdh 15/11/2001: dont thrash the processor while waiting between gametics // sdh 29/10/2001: harrykeys // sdh 28/10/2001: conf_ game options // sdh 28/10/2001: moved auxdisp to swgrpha.c // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 21/10/2001: reformatted with indent // sdh 19/10/2001: removed externs, these are now in headers // sdh 18/10/2001: converted all functions to ANSI-style arguments // // 96-12-26 Speed up game a bit // 87-04-06 Computer plane avoiding oxen. // 87-03-12 Wounded airplanes. // 87-03-09 Microsoft compiler. // 85-10-31 Atari // 84-06-12 PC-jr Speed-up // 84-02-02 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/sdl/0000755000175000017500000000000012124366257013603 5ustar jessejessesopwith-1.8.1/src/sdl/.deps/0000755000175000017500000000000012124366124014605 5ustar jessejessesopwith-1.8.1/src/sdl/.deps/pcsound.P0000664000175000017500000001465012124366124016411 0ustar jessejessepcsound.o: pcsound.c /usr/include/SDL/SDL.h /usr/include/SDL/SDL_main.h \ /usr/include/SDL/SDL_stdinc.h /usr/include/SDL/SDL_config.h \ /usr/include/SDL/SDL_platform.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/stdio.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/xlocale.h \ /usr/include/alloca.h /usr/include/x86_64-linux-gnu/bits/stdlib.h \ /usr/include/string.h /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/strings.h \ /usr/include/inttypes.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \ /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/ctype.h \ /usr/include/iconv.h /usr/include/SDL/begin_code.h \ /usr/include/SDL/close_code.h /usr/include/SDL/SDL_audio.h \ /usr/include/SDL/SDL_error.h /usr/include/SDL/SDL_endian.h \ /usr/include/SDL/SDL_mutex.h /usr/include/SDL/SDL_thread.h \ /usr/include/SDL/SDL_rwops.h /usr/include/SDL/SDL_cdrom.h \ /usr/include/SDL/SDL_cpuinfo.h /usr/include/SDL/SDL_events.h \ /usr/include/SDL/SDL_active.h /usr/include/SDL/SDL_keyboard.h \ /usr/include/SDL/SDL_keysym.h /usr/include/SDL/SDL_mouse.h \ /usr/include/SDL/SDL_video.h /usr/include/SDL/SDL_joystick.h \ /usr/include/SDL/SDL_quit.h /usr/include/SDL/SDL_loadso.h \ /usr/include/SDL/SDL_timer.h /usr/include/SDL/SDL_version.h \ /usr/include/math.h /usr/include/x86_64-linux-gnu/bits/huge_val.h \ /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ /usr/include/x86_64-linux-gnu/bits/inf.h \ /usr/include/x86_64-linux-gnu/bits/nan.h \ /usr/include/x86_64-linux-gnu/bits/mathdef.h \ /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ /usr/include/x86_64-linux-gnu/bits/mathinline.h ../sw.h ../std.h \ /usr/include/setjmp.h /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h ../swsymbol.h ../sw.h \ ../../config.h ../swsound.h pcsound.c : /usr/include/SDL/SDL.h : /usr/include/SDL/SDL_main.h : /usr/include/SDL/SDL_stdinc.h : /usr/include/SDL/SDL_config.h : /usr/include/SDL/SDL_platform.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/time.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/stdio.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/xlocale.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/string.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/x86_64-linux-gnu/bits/string3.h : /usr/include/strings.h : /usr/include/inttypes.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h : /usr/include/stdint.h : /usr/include/x86_64-linux-gnu/bits/wchar.h : /usr/include/ctype.h : /usr/include/iconv.h : /usr/include/SDL/begin_code.h : /usr/include/SDL/close_code.h : /usr/include/SDL/SDL_audio.h : /usr/include/SDL/SDL_error.h : /usr/include/SDL/SDL_endian.h : /usr/include/SDL/SDL_mutex.h : /usr/include/SDL/SDL_thread.h : /usr/include/SDL/SDL_rwops.h : /usr/include/SDL/SDL_cdrom.h : /usr/include/SDL/SDL_cpuinfo.h : /usr/include/SDL/SDL_events.h : /usr/include/SDL/SDL_active.h : /usr/include/SDL/SDL_keyboard.h : /usr/include/SDL/SDL_keysym.h : /usr/include/SDL/SDL_mouse.h : /usr/include/SDL/SDL_video.h : /usr/include/SDL/SDL_joystick.h : /usr/include/SDL/SDL_quit.h : /usr/include/SDL/SDL_loadso.h : /usr/include/SDL/SDL_timer.h : /usr/include/SDL/SDL_version.h : /usr/include/math.h : /usr/include/x86_64-linux-gnu/bits/huge_val.h : /usr/include/x86_64-linux-gnu/bits/huge_valf.h : /usr/include/x86_64-linux-gnu/bits/huge_vall.h : /usr/include/x86_64-linux-gnu/bits/inf.h : /usr/include/x86_64-linux-gnu/bits/nan.h : /usr/include/x86_64-linux-gnu/bits/mathdef.h : /usr/include/x86_64-linux-gnu/bits/mathcalls.h : /usr/include/x86_64-linux-gnu/bits/mathinline.h : ../sw.h : ../std.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : ../swsymbol.h : ../sw.h : ../../config.h : ../swsound.h : sopwith-1.8.1/src/sdl/.deps/video.P0000664000175000017500000001410212124366124016034 0ustar jessejessevideo.o: video.c /usr/include/SDL/SDL.h /usr/include/SDL/SDL_main.h \ /usr/include/SDL/SDL_stdinc.h /usr/include/SDL/SDL_config.h \ /usr/include/SDL/SDL_platform.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/stdio.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/xlocale.h \ /usr/include/alloca.h /usr/include/x86_64-linux-gnu/bits/stdlib.h \ /usr/include/string.h /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/strings.h \ /usr/include/inttypes.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \ /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/ctype.h \ /usr/include/iconv.h /usr/include/SDL/begin_code.h \ /usr/include/SDL/close_code.h /usr/include/SDL/SDL_audio.h \ /usr/include/SDL/SDL_error.h /usr/include/SDL/SDL_endian.h \ /usr/include/SDL/SDL_mutex.h /usr/include/SDL/SDL_thread.h \ /usr/include/SDL/SDL_rwops.h /usr/include/SDL/SDL_cdrom.h \ /usr/include/SDL/SDL_cpuinfo.h /usr/include/SDL/SDL_events.h \ /usr/include/SDL/SDL_active.h /usr/include/SDL/SDL_keyboard.h \ /usr/include/SDL/SDL_keysym.h /usr/include/SDL/SDL_mouse.h \ /usr/include/SDL/SDL_video.h /usr/include/SDL/SDL_joystick.h \ /usr/include/SDL/SDL_quit.h /usr/include/SDL/SDL_loadso.h \ /usr/include/SDL/SDL_timer.h /usr/include/SDL/SDL_version.h \ /usr/include/x86_64-linux-gnu/bits/timex.h \ /usr/include/x86_64-linux-gnu/sys/stat.h \ /usr/include/x86_64-linux-gnu/bits/stat.h ../video.h ../sw.h ../std.h \ /usr/include/setjmp.h /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h ../swsymbol.h \ ../../config.h ../sw.h ../vid_vga.c ../video.h ../swdisp.h ../swground.h \ ../swgrpha.h ../swmain.h ../swutil.h video.c : /usr/include/SDL/SDL.h : /usr/include/SDL/SDL_main.h : /usr/include/SDL/SDL_stdinc.h : /usr/include/SDL/SDL_config.h : /usr/include/SDL/SDL_platform.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/time.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/stdio.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/xlocale.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/string.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/x86_64-linux-gnu/bits/string3.h : /usr/include/strings.h : /usr/include/inttypes.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h : /usr/include/stdint.h : /usr/include/x86_64-linux-gnu/bits/wchar.h : /usr/include/ctype.h : /usr/include/iconv.h : /usr/include/SDL/begin_code.h : /usr/include/SDL/close_code.h : /usr/include/SDL/SDL_audio.h : /usr/include/SDL/SDL_error.h : /usr/include/SDL/SDL_endian.h : /usr/include/SDL/SDL_mutex.h : /usr/include/SDL/SDL_thread.h : /usr/include/SDL/SDL_rwops.h : /usr/include/SDL/SDL_cdrom.h : /usr/include/SDL/SDL_cpuinfo.h : /usr/include/SDL/SDL_events.h : /usr/include/SDL/SDL_active.h : /usr/include/SDL/SDL_keyboard.h : /usr/include/SDL/SDL_keysym.h : /usr/include/SDL/SDL_mouse.h : /usr/include/SDL/SDL_video.h : /usr/include/SDL/SDL_joystick.h : /usr/include/SDL/SDL_quit.h : /usr/include/SDL/SDL_loadso.h : /usr/include/SDL/SDL_timer.h : /usr/include/SDL/SDL_version.h : /usr/include/x86_64-linux-gnu/bits/timex.h : /usr/include/x86_64-linux-gnu/sys/stat.h : /usr/include/x86_64-linux-gnu/bits/stat.h : ../video.h : ../sw.h : ../std.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : ../swsymbol.h : ../../config.h : ../sw.h : ../vid_vga.c : ../video.h : ../swdisp.h : ../swground.h : ../swgrpha.h : ../swmain.h : ../swutil.h : sopwith-1.8.1/src/sdl/.deps/timer.P0000664000175000017500000001314312124366124016052 0ustar jessejessetimer.o: timer.c /usr/include/SDL/SDL.h /usr/include/SDL/SDL_main.h \ /usr/include/SDL/SDL_stdinc.h /usr/include/SDL/SDL_config.h \ /usr/include/SDL/SDL_platform.h \ /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/features.h \ /usr/include/x86_64-linux-gnu/bits/predefs.h \ /usr/include/x86_64-linux-gnu/sys/cdefs.h \ /usr/include/x86_64-linux-gnu/bits/wordsize.h \ /usr/include/x86_64-linux-gnu/gnu/stubs.h \ /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ /usr/include/x86_64-linux-gnu/bits/types.h \ /usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/time.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h /usr/include/endian.h \ /usr/include/x86_64-linux-gnu/bits/endian.h \ /usr/include/x86_64-linux-gnu/bits/byteswap.h \ /usr/include/x86_64-linux-gnu/sys/select.h \ /usr/include/x86_64-linux-gnu/bits/select.h \ /usr/include/x86_64-linux-gnu/bits/sigset.h \ /usr/include/x86_64-linux-gnu/bits/time.h \ /usr/include/x86_64-linux-gnu/bits/select2.h \ /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/stdio.h \ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h \ /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ /usr/include/x86_64-linux-gnu/bits/stdio.h \ /usr/include/x86_64-linux-gnu/bits/stdio2.h /usr/include/stdlib.h \ /usr/include/x86_64-linux-gnu/bits/waitflags.h \ /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/xlocale.h \ /usr/include/alloca.h /usr/include/x86_64-linux-gnu/bits/stdlib.h \ /usr/include/string.h /usr/include/x86_64-linux-gnu/bits/string.h \ /usr/include/x86_64-linux-gnu/bits/string2.h \ /usr/include/x86_64-linux-gnu/bits/string3.h /usr/include/strings.h \ /usr/include/inttypes.h \ /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h /usr/include/stdint.h \ /usr/include/x86_64-linux-gnu/bits/wchar.h /usr/include/ctype.h \ /usr/include/iconv.h /usr/include/SDL/begin_code.h \ /usr/include/SDL/close_code.h /usr/include/SDL/SDL_audio.h \ /usr/include/SDL/SDL_error.h /usr/include/SDL/SDL_endian.h \ /usr/include/SDL/SDL_mutex.h /usr/include/SDL/SDL_thread.h \ /usr/include/SDL/SDL_rwops.h /usr/include/SDL/SDL_cdrom.h \ /usr/include/SDL/SDL_cpuinfo.h /usr/include/SDL/SDL_events.h \ /usr/include/SDL/SDL_active.h /usr/include/SDL/SDL_keyboard.h \ /usr/include/SDL/SDL_keysym.h /usr/include/SDL/SDL_mouse.h \ /usr/include/SDL/SDL_video.h /usr/include/SDL/SDL_joystick.h \ /usr/include/SDL/SDL_quit.h /usr/include/SDL/SDL_loadso.h \ /usr/include/SDL/SDL_timer.h /usr/include/SDL/SDL_version.h ../sw.h \ ../std.h /usr/include/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp.h \ /usr/include/x86_64-linux-gnu/bits/setjmp2.h ../swsymbol.h ../sw.h \ ../../config.h timer.c : /usr/include/SDL/SDL.h : /usr/include/SDL/SDL_main.h : /usr/include/SDL/SDL_stdinc.h : /usr/include/SDL/SDL_config.h : /usr/include/SDL/SDL_platform.h : /usr/include/x86_64-linux-gnu/sys/types.h : /usr/include/features.h : /usr/include/x86_64-linux-gnu/bits/predefs.h : /usr/include/x86_64-linux-gnu/sys/cdefs.h : /usr/include/x86_64-linux-gnu/bits/wordsize.h : /usr/include/x86_64-linux-gnu/gnu/stubs.h : /usr/include/x86_64-linux-gnu/gnu/stubs-64.h : /usr/include/x86_64-linux-gnu/bits/types.h : /usr/include/x86_64-linux-gnu/bits/typesizes.h : /usr/include/time.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stddef.h : /usr/include/endian.h : /usr/include/x86_64-linux-gnu/bits/endian.h : /usr/include/x86_64-linux-gnu/bits/byteswap.h : /usr/include/x86_64-linux-gnu/sys/select.h : /usr/include/x86_64-linux-gnu/bits/select.h : /usr/include/x86_64-linux-gnu/bits/sigset.h : /usr/include/x86_64-linux-gnu/bits/time.h : /usr/include/x86_64-linux-gnu/bits/select2.h : /usr/include/x86_64-linux-gnu/sys/sysmacros.h : /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h : /usr/include/stdio.h : /usr/include/libio.h : /usr/include/_G_config.h : /usr/include/wchar.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdarg.h : /usr/include/x86_64-linux-gnu/bits/stdio_lim.h : /usr/include/x86_64-linux-gnu/bits/sys_errlist.h : /usr/include/x86_64-linux-gnu/bits/stdio.h : /usr/include/x86_64-linux-gnu/bits/stdio2.h : /usr/include/stdlib.h : /usr/include/x86_64-linux-gnu/bits/waitflags.h : /usr/include/x86_64-linux-gnu/bits/waitstatus.h : /usr/include/xlocale.h : /usr/include/alloca.h : /usr/include/x86_64-linux-gnu/bits/stdlib.h : /usr/include/string.h : /usr/include/x86_64-linux-gnu/bits/string.h : /usr/include/x86_64-linux-gnu/bits/string2.h : /usr/include/x86_64-linux-gnu/bits/string3.h : /usr/include/strings.h : /usr/include/inttypes.h : /usr/lib/gcc/x86_64-linux-gnu/4.6/include/stdint.h : /usr/include/stdint.h : /usr/include/x86_64-linux-gnu/bits/wchar.h : /usr/include/ctype.h : /usr/include/iconv.h : /usr/include/SDL/begin_code.h : /usr/include/SDL/close_code.h : /usr/include/SDL/SDL_audio.h : /usr/include/SDL/SDL_error.h : /usr/include/SDL/SDL_endian.h : /usr/include/SDL/SDL_mutex.h : /usr/include/SDL/SDL_thread.h : /usr/include/SDL/SDL_rwops.h : /usr/include/SDL/SDL_cdrom.h : /usr/include/SDL/SDL_cpuinfo.h : /usr/include/SDL/SDL_events.h : /usr/include/SDL/SDL_active.h : /usr/include/SDL/SDL_keyboard.h : /usr/include/SDL/SDL_keysym.h : /usr/include/SDL/SDL_mouse.h : /usr/include/SDL/SDL_video.h : /usr/include/SDL/SDL_joystick.h : /usr/include/SDL/SDL_quit.h : /usr/include/SDL/SDL_loadso.h : /usr/include/SDL/SDL_timer.h : /usr/include/SDL/SDL_version.h : ../sw.h : ../std.h : /usr/include/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp.h : /usr/include/x86_64-linux-gnu/bits/setjmp2.h : ../swsymbol.h : ../sw.h : ../../config.h : sopwith-1.8.1/src/sdl/Makefile.in0000664000175000017500000002001312111467374015644 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ datarootdir = @datarootdir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = @build_alias@ build_triplet = @build@ host_alias = @host_alias@ host_triplet = @host@ target_alias = @target_alias@ target_triplet = @target@ CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ SOPWITH_BINS = @SOPWITH_BINS@ SOPWITH_SUBDIRS = @SOPWITH_SUBDIRS@ VERSION = @VERSION@ CFLAGS = @CFLAGS@ @SDL_CFLAGS@ -I.. noinst_LIBRARIES = libsdlsopwith.a libsdlsopwith_a_SOURCES = video.c pcsound.c timer.c mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) DEFS = @DEFS@ -I. -I$(srcdir) -I../.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ libsdlsopwith_a_LIBADD = libsdlsopwith_a_OBJECTS = video.o pcsound.o timer.o AR = ar COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/pcsound.P .deps/timer.P .deps/video.P SOURCES = $(libsdlsopwith_a_SOURCES) OBJECTS = $(libsdlsopwith_a_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/sdl/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-noinstLIBRARIES: clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) distclean-noinstLIBRARIES: maintainer-clean-noinstLIBRARIES: .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: libsdlsopwith.a: $(libsdlsopwith_a_OBJECTS) $(libsdlsopwith_a_DEPENDENCIES) -rm -f libsdlsopwith.a $(AR) cru libsdlsopwith.a $(libsdlsopwith_a_OBJECTS) $(libsdlsopwith_a_LIBADD) $(RANLIB) libsdlsopwith.a tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src/sdl distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/sdl/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile $(LIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/sdl/Makefile0000664000175000017500000002035412124365360015243 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = /bin/bash srcdir = . top_srcdir = ../.. prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${datarootdir} datarootdir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${datarootdir}/info mandir = ${datarootdir}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/sopwith pkglibdir = $(libdir)/sopwith pkgincludedir = $(includedir)/sopwith top_builddir = ../.. ACLOCAL = /home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4 AUTOCONF = autoconf AUTOMAKE = /home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4 AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL} transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = build_triplet = x86_64-unknown-linux-gnu host_alias = host_triplet = x86_64-unknown-linux-gnu target_alias = target_triplet = x86_64-unknown-linux-gnu CC = gcc MAKEINFO = /home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo PACKAGE = sopwith PKG_CONFIG = @PKG_CONFIG@ RANLIB = ranlib SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL_CONFIG = /usr/bin/sdl-config SDL_LIBS = -L/usr/lib/x86_64-linux-gnu -lSDL SOPWITH_BINS = sopwith SOPWITH_SUBDIRS = sdl VERSION = 1.8.0 CFLAGS = -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. noinst_LIBRARIES = libsdlsopwith.a libsdlsopwith_a_SOURCES = video.c pcsound.c timer.c mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../.. CPPFLAGS = LDFLAGS = LIBS = libsdlsopwith_a_LIBADD = libsdlsopwith_a_OBJECTS = video.o pcsound.o timer.o AR = ar COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/pcsound.P .deps/timer.P .deps/video.P SOURCES = $(libsdlsopwith_a_SOURCES) OBJECTS = $(libsdlsopwith_a_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/sdl/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-noinstLIBRARIES: clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) distclean-noinstLIBRARIES: maintainer-clean-noinstLIBRARIES: .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: libsdlsopwith.a: $(libsdlsopwith_a_OBJECTS) $(libsdlsopwith_a_DEPENDENCIES) -rm -f libsdlsopwith.a $(AR) cru libsdlsopwith.a $(libsdlsopwith_a_OBJECTS) $(libsdlsopwith_a_LIBADD) $(RANLIB) libsdlsopwith.a tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src/sdl distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/sdl/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile $(LIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/sdl/video.c0000664000175000017500000003407612111441017015051 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: video.c,v 1.3 2003/03/26 13:53:29 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // SDL Video Code // // By Simon Howard // //----------------------------------------------------------------------- #include #include #include #include #include #include #include #include "video.h" #include "sw.h" #include "vid_vga.c" // lcd mode to emulate my old laptop i used to play sopwith on :) //#define LCD static SDL_Color cga_pal[] = { #ifdef LCD {213, 226, 138}, {150, 160, 150}, {120, 120, 160}, {0, 20, 200}, #else {0, 0, 0}, {0, 255, 255}, {255, 0, 255}, {255, 255, 255}, #endif }; BOOL vid_fullscreen = FALSE; BOOL vid_double_size = TRUE; BOOL use_custom_keys = FALSE; char custom_keys[NUM_KEYS]; static int ctrlbreak = 0; static BOOL initted = 0; static SDL_Surface *screen; static SDL_Surface *screenbuf = NULL; // draw into buffer in 2x mode static int colors[16]; static int getcolor(int r, int g, int b) { SDL_Palette *pal = screen->format->palette; int i; int nearest = 0xffff, n = 0; for (i = 0; i < pal->ncolors; ++i) { int diff = (r - pal->colors[i].r) * (r - pal->colors[i].r) + (g - pal->colors[i].g) * (g - pal->colors[i].g) + (b - pal->colors[i].b) * (b - pal->colors[i].b); // printf("%i, %i, %i\n", // pal->colors[i].r, pal->colors[i].g, // pal->colors[i].b); if (!diff) return i; if (diff < nearest) { nearest = diff; n = i; } } return n; } // convert a sopsym_t into a surface SDL_Surface *surface_from_sopsym(sopsym_t *sym) { SDL_Surface *surface = SDL_CreateRGBSurface(0, sym->w, sym->h, 8, 0, 0, 0, 0); unsigned char *p1, *p2; int y; if (!surface) return NULL; // set palette SDL_SetColors(surface, cga_pal, 0, sizeof(cga_pal)/sizeof(*cga_pal)); SDL_LockSurface(surface); p1 = sym->data; p2 = (unsigned char *) surface->pixels; // copy data from symbol into surface for (y=0; yh; ++y, p1 += sym->w, p2 += surface->pitch) memcpy(p2, p1, sym->w); SDL_UnlockSurface(surface); return surface; } // 2x scale static void Vid_UpdateScaled() { register char *pixels = (char *) screen->pixels; register char *pixels2 = (char *) screenbuf->pixels; register int pitch = screen->pitch; register int pitch2 = screenbuf->pitch; register int x, y; SDL_LockSurface(screen); SDL_LockSurface(screenbuf); for (y = 0; y < SCR_HGHT; ++y) { register char *p = pixels; register char *p2 = pixels2; for (x=0; xw, screen->h); SDL_LockSurface(screenbuf); } static void set_icon(sopsym_t *sym) { unsigned char *pixels; unsigned char *mask; SDL_Surface *icon = surface_from_sopsym(sym); int mask_size; int i; int x, y; if (!icon) return; // generate mask from icon mask_size = (icon->w * icon->h) / 8 + 1; mask = (unsigned char *)malloc(mask_size); SDL_LockSurface(icon); pixels = (unsigned char *)icon->pixels; i = 0; for (y=0; yh; y++) { for (x=0; xw; x++) { if (i % 8) { mask[i / 8] <<= 1; } else { mask[i / 8] = 0; } if (pixels[i]) mask[i / 8] |= 0x01; ++i; } } SDL_UnlockSurface(icon); // set icon SDL_WM_SetIcon(icon, mask); SDL_FreeSurface(icon); free(mask); } static void Vid_UnsetMode() { SDL_QuitSubSystem(SDL_INIT_VIDEO); } /* This function attempts to load custom key definitions from a text file, located at ~/.sopwith/keys The function returns TRUE if keys are found and loaded. It returns FALSE if keys are not loaded. Keys are saved in the custom_keys array. */ BOOL Load_Custom_Keys() { FILE *key_file; char *file_path; int index; char *home_dir; char line[256], *status; // get file path #ifndef WIN32 home_dir = getenv("HOME"); #else home_dir = getenv("AppData"); #endif file_path = (char *) calloc( strlen(home_dir) + 64, sizeof(char)); if (! file_path) return FALSE; sprintf(file_path, "%s/.sopwith/keys", home_dir); // try to open key file key_file = fopen(file_path, "r"); if (key_file) { // set all keys to be their defaults in case // something goes wrong for (index = 0; index < NUM_KEYS; index++) custom_keys[index] = index; // load keys from the file status = fgets(line, 256, key_file); while (status) { if (! strncmp(line, "pullup", 6) ) sscanf(& (line[7]), "%c", &custom_keys[KEY_PULLUP]); else if (! strncmp(line, "pulldown", 8) ) sscanf(& (line[9]), "%c", &custom_keys[KEY_PULLDOWN]); else if (! strncmp(line, "pulldown", 8) ) sscanf(& (line[9]), "%c", &custom_keys[KEY_PULLDOWN]); else if (! strncmp(line, "flip", 4) ) sscanf(& (line[5]), "%c", &custom_keys[KEY_FLIP]); else if (! strncmp(line, "bomb", 4) ) sscanf(& (line[5]), "%c", &custom_keys[KEY_BOMB]); else if (! strncmp(line, "fire", 4) ) sscanf(& (line[5]), "%c", &custom_keys[KEY_FIRE]); else if (! strncmp(line, "home", 4) ) sscanf(& (line[5]), "%c", &custom_keys[KEY_HOME]); else if (! strncmp(line, "missile", 7) ) sscanf(& (line[8]), "%c", &custom_keys[KEY_MISSILE]); else if (! strncmp(line, "starburst", 9) ) sscanf(& (line[10]), "%c", &custom_keys[KEY_STARBURST]); else if (! strncmp(line, "accel", 5) ) sscanf(& (line[6]), "%c", &custom_keys[KEY_ACCEL]); else if (! strncmp(line, "decel", 5) ) sscanf(& (line[6]), "%c", &custom_keys[KEY_DECEL]); else if (! strncmp(line, "sound", 5) ) sscanf(& (line[6]), "%c", &custom_keys[KEY_SOUND]); status = fgets(line, 256, key_file); } // close file fclose(key_file); } // end of we opened thefile free(file_path); /* debug stuff for (index = 0; index < NUM_KEYS; index++) printf("%d %c\n", index, custom_keys[index]); */ return TRUE; } /* This function creates a custom key file in our home directory. */ void Create_Custom_File() { char *path_to_file; FILE *key_file; char *home_dir; #ifndef WIN32 home_dir = getenv("HOME"); #else home_dir = getenv("AppData"); #endif path_to_file = (char *) calloc( strlen(home_dir) + 64, sizeof(char)); if (! path_to_file) return; // check to see if file already exists sprintf(path_to_file, "%s/.sopwith/keys", home_dir); key_file = fopen(path_to_file, "r"); if (key_file) { fclose(key_file); free(path_to_file); return; } sprintf(path_to_file, "%s/.sopwith", home_dir); #ifndef WIN32 mkdir(path_to_file, 0700); #else mkdir(path_to_file); #endif // create file sprintf(path_to_file, "%s/.sopwith/keys", home_dir); key_file = fopen(path_to_file, "w"); if (key_file) { fprintf(key_file, "pullup ,\n"); fprintf(key_file, "pulldown /\n"); fprintf(key_file, "flip . \n"); fprintf(key_file, "bomb b\n"); fprintf(key_file, "fire \n"); fprintf(key_file, "home h\n"); fprintf(key_file, "missile m\n"); fprintf(key_file, "starburst v\n"); fprintf(key_file, "accel x\n"); fprintf(key_file, "decel z\n"); fprintf(key_file, "sound s\n"); fclose(key_file); } } static void Vid_SetMode() { int n; int w, h; int flags = 0; int status; printf("CGA Screen Emulation\n"); printf("init screen: "); status = SDL_Init(SDL_INIT_VIDEO); if (status == -1) { fprintf(stderr, "Unable to locate video device. Exiting.\n"); exit(1); } srand(time(NULL)); set_icon(symbol_plane[rand() % 2][rand() % 16]); w = SCR_WDTH; h = SCR_HGHT; if (vid_double_size) { w *= 2; h *= 2; } flags = SDL_HWPALETTE; if (vid_fullscreen) flags |= SDL_FULLSCREEN; screen = SDL_SetVideoMode(w, h, 8, flags); if (screen) { printf("initialised\n"); } else { printf("failed\n"); fprintf(stderr, "cant init SDL\n"); exit(-1); } SDL_EnableUNICODE(1); for (n = 0; n < NUM_KEYS; ++n) keysdown[n] = 0; SDL_WM_SetCaption("SDL Sopwith", NULL); SDL_SetColors(screen, cga_pal, 0, sizeof(cga_pal)/sizeof(*cga_pal)); SDL_SetColors(screenbuf, cga_pal, 0, sizeof(cga_pal)/sizeof(*cga_pal)); // create custom key file Create_Custom_File(); // load custom keys use_custom_keys = Load_Custom_Keys(); } void Vid_Shutdown() { if (!initted) return; Vid_UnsetMode(); SDL_FreeSurface(screenbuf); initted = 0; } void Vid_Init() { if (initted) return; fflush(stdout); screenbuf = SDL_CreateRGBSurface(0, SCR_WDTH, SCR_HGHT, 8, 0, 0, 0, 0); vid_vram = screenbuf->pixels; vid_pitch = screenbuf->pitch; Vid_SetMode(); initted = 1; atexit(Vid_Shutdown); SDL_LockSurface(screenbuf); } void Vid_Reset() { if (!initted) return; Vid_UnsetMode(); Vid_SetMode(); // need to redraw buffer to screen Vid_Update(); } static int input_buffer[128]; static int input_buffer_head=0, input_buffer_tail=0; static void input_buffer_push(int c) { input_buffer[input_buffer_tail++] = c; input_buffer_tail %= sizeof(input_buffer) / sizeof(*input_buffer); } static int input_buffer_pop() { int c; if (input_buffer_head == input_buffer_tail) return 0; c = input_buffer[input_buffer_head++]; input_buffer_head %= sizeof(input_buffer) / sizeof(*input_buffer); return c; } /* This function is called when we have loaded custom key mapping. It passes back our key to translate_key. */ sopkey_t translate_custom_key(int the_key) { char my_key; int index, found; index = found = 0; my_key = (char) the_key; while ( (index < NUM_KEYS) && (! found) ) { if (my_key == custom_keys[index]) found = 1; else index++; } if (found) return index; else return KEY_UNKNOWN; } static sopkey_t translate_key(int sdl_key) { if (use_custom_keys) return translate_custom_key(sdl_key); switch (sdl_key) { case SDLK_LEFT: case SDLK_COMMA: return KEY_PULLUP; case SDLK_RIGHT: case SDLK_SLASH: return KEY_PULLDOWN; case SDLK_DOWN: case SDLK_PERIOD: return KEY_FLIP; case SDLK_x: return KEY_ACCEL; case SDLK_z: return KEY_DECEL; case SDLK_b: return KEY_BOMB; case SDLK_SPACE: return KEY_FIRE; case SDLK_h: return KEY_HOME; case SDLK_v: return KEY_MISSILE; case SDLK_c: return KEY_STARBURST; case SDLK_s: return KEY_SOUND; default: return KEY_UNKNOWN; } } static void getevents() { SDL_Event event; static BOOL ctrldown = 0, altdown = 0; sopkey_t translated; while (SDL_PollEvent(&event)) { switch (event.type) { case SDL_KEYDOWN: if (event.key.keysym.sym == SDLK_LALT) altdown = 1; else if (event.key.keysym.sym == SDLK_LCTRL || event.key.keysym.sym == SDLK_RCTRL) ctrldown = 1; else if (ctrldown && (event.key.keysym.sym == SDLK_c || event.key.keysym.sym == SDLK_BREAK)) { ++ctrlbreak; if (ctrlbreak >= 3) { fprintf(stderr, "user aborted with 3 ^C's\n"); exit(-1); } } else if (event.key.keysym.sym == SDLK_ESCAPE) { input_buffer_push(27); } else if (event.key.keysym.sym == SDLK_RETURN) { if(altdown) { vid_fullscreen = !vid_fullscreen; Vid_Reset(); } else { input_buffer_push('\n'); } } else { input_buffer_push(event.key.keysym.unicode & 0x7f); } translated = translate_key(event.key.keysym.sym); if (translated) keysdown[translated] |= 3; break; case SDL_KEYUP: if (event.key.keysym.sym == SDLK_LALT) altdown = 0; else if (event.key.keysym.sym == SDLK_LCTRL || event.key.keysym.sym == SDLK_RCTRL) ctrldown = 0; else { translated = translate_key(event.key.keysym.sym); if (translated) keysdown[translated] &= ~1; } break; } } } int Vid_GetKey() { int l; getevents(); return input_buffer_pop(); } BOOL Vid_GetCtrlBreak() { getevents(); return ctrlbreak; } //----------------------------------------------------------------------- // // $Log: video.c,v $ // Revision 1.3 2003/03/26 13:53:29 fraggle // Allow control via arrow keys // Some code restructuring, system-independent video.c added // // Revision 1.2 2003/03/26 12:02:38 fraggle // Apply patch from David B. Harris (ElectricElf) for right ctrl key and // documentation // // Revision 1.1.1.1 2003/02/14 19:03:37 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 25/04/2002: rename vga_{pitch,vram} to vid_{pitch,vram} // sdh 26/03/2002: now using platform specific vga code for drawing stuff // (#include "vid_vga.c") // rename CGA_ to Vid_ // sdh 17/11/2001: buffered input for keypresses, // CGA_GetLastKey->CGA_GetKey // sdh 07/11/2001: add CGA_Reset // sdh 21/10/2001: added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/sdl/Makefile.am0000664000175000017500000000017412046775551015647 0ustar jessejesseCFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I.. noinst_LIBRARIES = libsdlsopwith.a libsdlsopwith_a_SOURCES = video.c pcsound.c timer.c sopwith-1.8.1/src/sdl/pcsound.c0000664000175000017500000001023612046775551015432 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: pcsound.c,v 1.1.1.1 2003/02/14 19:03:36 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // SDL Sound Code // // This cleverly imitates a pc speaker using SDL sound routines // // Note: I have made this API compatible with a small library I wrote // for DJGPP to drive the pc speaker, in case a DOS version is ever // wanted. // //--------------------------------------------------------------------------- #include #include #include "sw.h" #include "swsound.h" #define FREQ 22050 #define TIMER_FREQ 1193280 static int speaker_on = 0; static float current_freq = 0xff; // square wave function for sound generation static inline float square_wave(float time) { int l = (int) time; return time - l < 0.5 ? 1 : 0; } // callback function to generate sound static void snd_callback(void *userdata, Uint8 * stream, int len) { static int lasttime; static float lastfreq; int i; swsndupdate(); // lasttime stores the time offset from the last call // we save the time so that the multiple time slices // all fit together smoothly // if we have changed frequency since last time, we need // to adjust lasttime to the new frequency lasttime *= lastfreq / current_freq; for (i = 0; i < len; ++i) { if (speaker_on) { stream[i] = 127 * square_wave(current_freq * (i + lasttime)); } else { stream[i] = 0; } } lasttime += len; lastfreq = current_freq; } // // set the speaker tone // f is the 'count' sent to the timer chip to specify the frequency // void Speaker_Output(unsigned short count) { if (!count) { current_freq = 0; speaker_on = 0; return; } speaker_on = 1; current_freq = (TIMER_FREQ) / ((float) count * FREQ); } // turn speaker on void Speaker_On() { speaker_on = 1; if (!current_freq) // sanity check current_freq = 255; } // turn sound off void Speaker_Off() { speaker_on = 0; } static int sound_initted = 0; void Speaker_Shutdown() { if (!sound_initted) return; SDL_QuitSubSystem(SDL_INIT_AUDIO); sound_initted = 0; } // initialise sound void Speaker_Init() { static SDL_AudioSpec audiospec; if (sound_initted) return; SDL_Init(SDL_INIT_AUDIO); audiospec.samples = 1024; audiospec.freq = FREQ; audiospec.format = AUDIO_U8; audiospec.channels = 1; audiospec.callback = &snd_callback; printf("PC Speaker Emulation\n"); printf("init sound: "); fflush(stdout); if (SDL_OpenAudio(&audiospec, NULL) < 0) { printf("failed\n"); fprintf(stderr, "error: cant init sound, %s\n", SDL_GetError()); return; } printf("initialised\n"); sound_initted = 1; SDL_PauseAudio(0); } // this is identical to the BASIC SOUND function void Speaker_Sound(int freq, int duration) { int duration_clocks = duration * 1000 / 18.2; int endtime; // turn speaker on int count = TIMER_FREQ / freq; Speaker_Output(count); // delay for (endtime = SDL_GetTicks() + duration_clocks; SDL_GetTicks() < endtime;); // turn speaker off Speaker_Off(); } //----------------------------------------------------------------------- // // $Log: pcsound.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:36 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/sdl/timer.c0000664000175000017500000000345212046775550015100 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: timer.c,v 1.1.1.1 2003/02/14 19:03:37 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Timer code // // Abstraction layer for access to the timer // Basically this is to keep SDL out of the main code, so we can if we // want drop in other code to run without SDL. // //-------------------------------------------------------------------------- #include #include "sw.h" // get time in milliseconds int Timer_GetMS() { return SDL_GetTicks(); } void Timer_Sleep(int usec) { SDL_Delay(usec); } void Timer_Init() { SDL_Init(SDL_INIT_TIMER); } //-------------------------------------------------------------------------- // // $Log: timer.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:37 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // //-------------------------------------------------------------------------- sopwith-1.8.1/src/psion/0000755000175000017500000000000012124365360014143 5ustar jessejessesopwith-1.8.1/src/psion/Makefile.in0000664000175000017500000001777412111467406016232 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ datarootdir = @datarootdir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = ../.. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = @build_alias@ build_triplet = @build@ host_alias = @host_alias@ host_triplet = @host@ target_alias = @target_alias@ target_triplet = @target@ CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ SOPWITH_BINS = @SOPWITH_BINS@ SOPWITH_SUBDIRS = @SOPWITH_SUBDIRS@ VERSION = @VERSION@ CFLAGS = @CFLAGS@ @SDL_CFLAGS@ -I.. noinst_LIBRARIES = libpsopwith.a libpsopwith_a_SOURCES = timer.c pcsound.c video.c mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) DEFS = @DEFS@ -I. -I$(srcdir) -I../.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ libpsopwith_a_LIBADD = libpsopwith_a_OBJECTS = timer.o pcsound.o video.o AR = ar COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = README Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/pcsound.P .deps/timer.P .deps/video.P SOURCES = $(libpsopwith_a_SOURCES) OBJECTS = $(libpsopwith_a_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/psion/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-noinstLIBRARIES: clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) distclean-noinstLIBRARIES: maintainer-clean-noinstLIBRARIES: .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: libpsopwith.a: $(libpsopwith_a_OBJECTS) $(libpsopwith_a_DEPENDENCIES) -rm -f libpsopwith.a $(AR) cru libpsopwith.a $(libpsopwith_a_OBJECTS) $(libpsopwith_a_LIBADD) $(RANLIB) libpsopwith.a tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src/psion distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/psion/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile $(LIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/psion/Makefile0000664000175000017500000002033512124365360015610 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = /bin/bash srcdir = . top_srcdir = ../.. prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${datarootdir} datarootdir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${datarootdir}/info mandir = ${datarootdir}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/sopwith pkglibdir = $(libdir)/sopwith pkgincludedir = $(includedir)/sopwith top_builddir = ../.. ACLOCAL = /home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4 AUTOCONF = autoconf AUTOMAKE = /home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4 AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL} transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = build_triplet = x86_64-unknown-linux-gnu host_alias = host_triplet = x86_64-unknown-linux-gnu target_alias = target_triplet = x86_64-unknown-linux-gnu CC = gcc MAKEINFO = /home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo PACKAGE = sopwith PKG_CONFIG = @PKG_CONFIG@ RANLIB = ranlib SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL_CONFIG = /usr/bin/sdl-config SDL_LIBS = -L/usr/lib/x86_64-linux-gnu -lSDL SOPWITH_BINS = sopwith SOPWITH_SUBDIRS = sdl VERSION = 1.8.0 CFLAGS = -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. noinst_LIBRARIES = libpsopwith.a libpsopwith_a_SOURCES = timer.c pcsound.c video.c mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../.. CPPFLAGS = LDFLAGS = LIBS = libpsopwith_a_LIBADD = libpsopwith_a_OBJECTS = timer.o pcsound.o video.o AR = ar COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = README Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/pcsound.P .deps/timer.P .deps/video.P SOURCES = $(libpsopwith_a_SOURCES) OBJECTS = $(libpsopwith_a_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/psion/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-noinstLIBRARIES: clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) distclean-noinstLIBRARIES: maintainer-clean-noinstLIBRARIES: .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: libpsopwith.a: $(libpsopwith_a_OBJECTS) $(libpsopwith_a_DEPENDENCIES) -rm -f libpsopwith.a $(AR) cru libpsopwith.a $(libpsopwith_a_OBJECTS) $(libpsopwith_a_LIBADD) $(RANLIB) libpsopwith.a tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src/psion distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/psion/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile $(LIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/psion/README0000664000175000017500000000006312046775553015040 0ustar jessejessePort to Psion Linux See http://www.psilinux.org/ sopwith-1.8.1/src/psion/vid_4bit.c0000664000175000017500000002034412046775553016034 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: vid_4bit.c,v 1.2 2003/03/26 14:58:34 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // 4-bit graphics routines for the psion screen // //--------------------------------------------------------------------------- #include "video.h" #include "sw.h" #include "swdisp.h" #include "swground.h" #include "swgrpha.h" #include "swmain.h" #include "swsymbol.h" #include "swutil.h" // this should be in a header somewhere #define SBAR_HGHT 19 #define VRAMSIZE (SCR_HGHT * vid_pitch) static char *dispoff = NULL; // current display offset unsigned char *vid_vram; unsigned int vid_pitch; // line length in bytes(not pixels) // sdh 28/10/2001: moved auxdisp here char *auxdisp = NULL; /*--------------------------------------------------------------------------- Update display of ground. Delete previous display of ground by XOR graphics. Different routines are used to display/delete ground on colour or monochrome systems. ---------------------------------------------------------------------------*/ void Vid_DispGround(GRNDTYPE *gptr) { char *p = dispoff + (SCR_HGHT-1 - *gptr) * vid_pitch; int oldy = *gptr; int x; for(x=SCR_WDTH; x; ++p) { if (oldy == *gptr) { *p ^= 0xf; // p[vid_pitch] ^= 0xf; } else if (oldy < *gptr) { for(; oldy < *gptr; ++oldy) { *p ^= 0xf; p -= vid_pitch; } } else if (oldy > *gptr) { for (; oldy > *gptr; --oldy) { *p ^= 0xf; p += vid_pitch; } } ++gptr; --x; if (oldy == *gptr) { *p ^= 0xf0; // p[vid_pitch] ^= 0xf0; } else if (oldy < *gptr) { for(; oldy < *gptr; ++oldy) { *p ^= 0xf0; p -= vid_pitch; } } else if (oldy > *gptr) { for (; oldy > *gptr; --oldy) { *p ^= 0xf0; p += vid_pitch; } } ++gptr; --x; } } // sdh 28/10/2001: solid ground function void Vid_DispGround_Solid(GRNDTYPE * gptr) { char *p = dispoff + (SCR_HGHT-SBAR_HGHT-1) * vid_pitch; int x; for (x=0; x> 1); clr = ~clr & 0x3; clr |= clr << 2; if (x & 1) { *s = (*s & 0xf) | (clr << 4); } else { *s = (*s & 0xf0) | clr; } } void Vid_XorPixel(int x, int y, int clr) { unsigned char *s = dispoff + (SCR_HGHT-1-y) * vid_pitch + (x >> 1); clr &= 0x3; clr |= clr << 2; if (x & 1) *s ^= clr << 4; else *s ^= clr; } int Vid_GetPixel(int x, int y) { unsigned char *s = dispoff + (SCR_HGHT-1-y) * vid_pitch + (x >> 1); if (x & 1) return (~*s >> 6) & 3; else return (~*s >> 2) & 3; } /*--------------------------------------------------------------------------- Display an object's current symbol at a specified screen location Collision detection may or may not be asked for. Different routines are used to display symbols on colour or monochrome systems. ---------------------------------------------------------------------------*/ // sdh 28/6/2002: move to new sopsym_t for sprites // sdh 27/7/2002: removed collision detection code, this is now done // independently of the drawing code (retcode) void Vid_DispSymbol(int x, int y, sopsym_t *symbol, int clr) { unsigned char *s = dispoff + (SCR_HGHT-1-y) * vid_pitch + (x >> 1); unsigned char *data = symbol->data; int w, h; if (symbol->h == 1 && symbol->w == 1) { Vid_XorPixel(x, y, clr); return; } w = symbol->w; h = symbol->h; if (h > y) h = y; if (clr == 2) { // inverted colour draw (for enemy planes) for (y=0; y> 1); c = ~c & 0x3; c |= (c << 6) | (c << 4) | (c << 2); w >>= 1; for (; h >= 0; --h, s += vid_pitch) memset(s, c, w); } /*--------------------------------------------------------------------------- External calls to specify current video ram as screen ram or auxiliary screen area. ---------------------------------------------------------------------------*/ void Vid_SetBuf() { dispoff = vid_vram; } void Vid_SetBuf_Aux() { if (!auxdisp) auxdisp = malloc(VRAMSIZE); dispoff = auxdisp; } // sdh 28/10/2001: moved various auxdisp functions here: void Vid_CopyBuf() { memset(vid_vram, 0xff, VRAMSIZE); memcpy(vid_vram + ((SCR_HGHT-SBAR_HGHT) * vid_pitch), auxdisp + ((SCR_HGHT-SBAR_HGHT) * vid_pitch), SBAR_HGHT*vid_pitch); } void Vid_ClearBuf() { memset(vid_vram, 0xff, VRAMSIZE); } void Vid_ClearBuf_Aux() { if (!auxdisp) auxdisp = malloc(VRAMSIZE); memset(auxdisp, 0xff, VRAMSIZE); } //--------------------------------------------------------------------------- // // $Log: vid_4bit.c,v $ // Revision 1.2 2003/03/26 14:58:34 fraggle // devfs support // improved screen squishing for revo // // Revision 1.1.1.1 2003/02/14 19:03:39 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 27/7/2002: remove collision detection code // sdh 28/6/2002: move to sopsym_t for sprites // sdh 25/04/2002: rename vid4_{pitch,vram} to vid_{pitch,vram} // sdh 20/04/2002: psion framebuffer port // sdh 26/03/2002: split off platform specific drawing functions here // replaced amiga drawing functions with these generic // 8 bit ones // sdh 28/10/2001: get_type/set_type removed // sdh 28/10/2001: moved auxdisp and auxdisp functions here // sdh 24/10/2001: fix auxdisp buffer // sdh 21/10/2001: use new obtype_t and obstate_t // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 21/10/2001: added #define for solid ground (sopwith 1 style) // sdh 21/10/2001: reformatted with indent, adjusted some code by hand // to make more readable // sdh 19/10/2001: removed extern definitions, these are in headers now // shuffled some functions round to shut up the compiler // sdh 18/10/2001: converted all functions to ANSI-style arguments // // 87-03-09 Microsoft compiler. // 85-11-05 Atari // 84-06-13 PCjr Speed-up // 84-02-21 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/psion/video.c0000664000175000017500000002013012046775553015427 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: video.c,v 1.3 2003/03/26 14:58:34 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Psion Framebuffer Video code // // Some parts of this are from picogui. Thanks scanline :P // //----------------------------------------------------------------------- #include #include #include #include #include #include #include #include "video.h" #include "sw.h" #include "swconf.h" #include "swmain.h" #define SIGVT SIGUSR1 #define KB_DEV "/dev/tty" #define FB_DEV "/dev/fb0" #define FB_DEV_DEVFS "/dev/fb/0" // use the vga (8 bit) drawing routines #include "vid_4bit.c" BOOL vid_fullscreen = FALSE; BOOL vid_double_size = TRUE; static unsigned char *screenbuf; static int fb_fd; // framebuffer file descriptor static int fb_w, fb_h; static BOOL fb_enabled = TRUE; static unsigned char *framebuffer; // mmaped framebuffer static unsigned char *scrbuf; // screen buffer static int kb_fd; // keyboard file descriptor static struct termios kb_oldtio; static int ctrlbreak = 0; static int colors[16]; static BOOL in_vid_mode = 0; //============================================================================ // // Graphics Code // //============================================================================ static unsigned long getcolor(int r, int g, int b) { return ((r+g+b) / 3) >> 4; } void Vid_Update() { if (!fb_enabled) return; if (scrbuf) { // revo screen squishing char *p1, *p2; int y, x; p1 = scrbuf; p2 = (framebuffer+32) + (fb_w - SCR_WDTH) / 4; for (y=0; y<200; y += 5) { memcpy(p2, p1, vid_pitch * 4); p1 += vid_pitch * 4; p2 += vid_pitch * 3; for (x=0; x= 200) { vid_pitch = fixinfo.line_length; scrbuf = NULL; vid_vram = framebuffer + 32; } else { printf("screen is not big enough\n"); } // open keyboard kb_fd = open(KB_DEV, O_NONBLOCK); if (kb_fd < 0) { fprintf(stderr, "%s: cant open\n", KB_DEV); exit(-1); } // save attributes, turn off console echo if (tcgetattr(kb_fd, &kb_oldtio) < 0) { printf("%s: cant get attributes\n", KB_DEV); exit(-1); } else { struct termios new_tio; new_tio = kb_oldtio; new_tio.c_lflag &= ~(ECHO|ICANON|IEXTEN|ISIG); new_tio.c_iflag &= ~(ICRNL|INPCK|ISTRIP|IXON|BRKINT); new_tio.c_cflag &= ~(CSIZE|PARENB); tcsetattr(kb_fd, TCSAFLUSH, &new_tio); } ioctl(kb_fd, KDSETMODE, KD_GRAPHICS); { struct vt_mode mode; // notify us of vt changes ioctl(kb_fd, VT_GETMODE, &mode); mode.mode = VT_PROCESS; mode.relsig = SIGVT; mode.acqsig = SIGVT; ioctl(kb_fd, VT_SETMODE, &mode); fb_enabled = TRUE; } in_vid_mode = TRUE; } void Vid_Shutdown() { if (in_vid_mode) Vid_UnsetMode(); } void Vid_Init() { Vid_SetMode(); signal(SIGVT, toggle_fb_enabled); atexit(Vid_Shutdown); } void Vid_Reset() { Vid_UnsetMode(); Vid_SetMode(); // need to redraw buffer to screen Vid_Update(); } static inline sopkey_t translate_key(int c) { switch (tolower(c)) { // use j,k and l because of the keyboard layout case 'k': return KEY_FLIP; case 'j': return KEY_PULLUP; case 'l': return KEY_PULLDOWN; case 'x': return KEY_ACCEL; case 'z': return KEY_DECEL; case 'b': return KEY_BOMB; case ' ': return KEY_FIRE; case 'h': return KEY_HOME; case 'v': return KEY_MISSILE; case 'c': return KEY_STARBURST; case 's': return KEY_SOUND; default: return KEY_UNKNOWN; } } static inline int getkey() { unsigned char c; sopkey_t translated; if (read(kb_fd, &c, 1) <= 0) return -1; translated = translate_key(c); // we dont actually know if a key is down or not, // only if it has been pressed since last run of // Vid_GetGameKeys, so set the second bit only if (translated) keysdown[translated] |= 2; if (c == 0x3) { // ctrl c ctrlbreak++; if (ctrlbreak >= 3) { printf("User aborted with 3 ^C's\n"); exit(-1); } return -1; } return c; } int Vid_GetKey() { int c = getkey(); return c < 0 ? 0 : c; } BOOL Vid_GetCtrlBreak() { return ctrlbreak > 0; } //----------------------------------------------------------------------- // // $Log: video.c,v $ // Revision 1.3 2003/03/26 14:58:34 fraggle // devfs support // improved screen squishing for revo // // Revision 1.2 2003/03/26 14:29:50 fraggle // Move psion code to new key architecture // // Revision 1.1.1.1 2003/02/14 19:03:38 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 25/04/2002: rename vid4_{pitch,vram} to vid_{pitch,vram} // sdh 20/04/2002: psion framebuffer port // sdh 26/03/2002: now using platform specific code for drawing stuff // (include "vid_vga.c") // faster blitting to screen // rename CGA_ to Vid_ // rename file to video.c // sdh 17/11/2001: buffered input for keypresses // CGA_GetLastKey->CGA_GetKey // sdh 10/11/2001: Gtk+ Port // sdh 07/11/2001: add CGA_Reset // sdh 21/10/2001: added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/psion/Makefile.am0000664000175000017500000000017012046775554016214 0ustar jessejesseCFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I.. noinst_LIBRARIES = libpsopwith.a libpsopwith_a_SOURCES = timer.c pcsound.c video.c sopwith-1.8.1/src/psion/pcsound.c0000664000175000017500000000656112046775554016011 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: pcsound.c,v 1.1.1.1 2003/02/14 19:03:38 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Sound. // // todo: Psion speaker kernel driver // /dev/dsp output // //--------------------------------------------------------------------------- #include #include "sw.h" #include "swsound.h" #define FREQ 22050 #define TIMER_FREQ 1193280 static int speaker_on = 0; static float current_freq = 0xff; // square wave function for sound generation static inline float square_wave(float time) { int l = (int) time; return time - l < 0.5 ? 1 : 0; } // callback function to generate sound static void snd_callback(void *userdata, unsigned char *stream, int len) { static int lasttime; static float lastfreq; int i; swsndupdate(); // lasttime stores the time offset from the last call // we save the time so that the multiple time slices // all fit together smoothly // if we have changed frequency since last time, we need // to adjust lasttime to the new frequency lasttime *= lastfreq / current_freq; for (i = 0; i < len; ++i) { if (speaker_on) { stream[i] = 127 * square_wave(current_freq * (i + lasttime)); } else { stream[i] = 0; } } lasttime += len; lastfreq = current_freq; } // // set the speaker tone // f is the 'count' sent to the timer chip to specify the frequency // void Speaker_Output(unsigned short count) { if (!count) { current_freq = 0; speaker_on = 0; return; } speaker_on = 1; current_freq = (TIMER_FREQ) / ((float) count * FREQ); } // turn speaker on void Speaker_On() { speaker_on = 1; if (!current_freq) // sanity check current_freq = 255; } // turn sound off void Speaker_Off() { speaker_on = 0; } static int sound_initted = 0; void Speaker_Shutdown() { if (!sound_initted) return; sound_initted = 0; } // initialise sound void Speaker_Init() { } // this is identical to the BASIC SOUND function void Speaker_Sound(int freq, int duration) { int duration_clocks = duration * 1000 / 18.2; int endtime; // turn speaker on int count = TIMER_FREQ / freq; Speaker_Output(count); // turn speaker off Speaker_Off(); } //----------------------------------------------------------------------- // // $Log: pcsound.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:38 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 10/11/2001: Gtk+ port // sdh 21/10/2001: added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/psion/timer.c0000664000175000017500000000410412046775553015444 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: timer.c,v 1.1.1.1 2003/02/14 19:03:37 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Timer code // // Abstraction layer for access to the timer // this just uses the standard C time routines // //-------------------------------------------------------------------------- #include #include #include "sw.h" static struct timeval start; // get time in milliseconds int Timer_GetMS() { struct timeval nowtime; int ms; gettimeofday(&nowtime, NULL); ms = (nowtime.tv_sec - start.tv_sec) * 1000 + (nowtime.tv_usec-start.tv_usec)/1000; return ms; } void Timer_Sleep(int usec) { usleep(usec); } void Timer_Init() { gettimeofday(&start, NULL); } //-------------------------------------------------------------------------- // // $Log: timer.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:37 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 16/11/2001: work properly when usleep is used (I stole the SDL // timer code) // sdh 10/11/2001: Gtk+ port // sdh 21/10/2001: added cvs tags // //-------------------------------------------------------------------------- sopwith-1.8.1/src/video.h0000664000175000017500000000724112046775542014312 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: video.h,v 1.2.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // CGA Video Interface // //----------------------------------------------------------------------- #ifndef __VIDEO_H__ #define __VIDEO_H__ #include "sw.h" typedef enum { KEY_UNKNOWN, KEY_PULLUP, KEY_PULLDOWN, KEY_FLIP, KEY_BOMB, KEY_FIRE, KEY_HOME, KEY_MISSILE, KEY_STARBURST, KEY_ACCEL, KEY_DECEL, KEY_SOUND, NUM_KEYS, } sopkey_t; // which keys are currently down // this is actually a simple bitfield // bit 0 is whether the button is currently down // bit 1 is whether the button has been pressed // since the last call of Vid_GetGameKeys // in this way, every button press will have an effect: // if it is done based on what is currently down it is // possible to miss keypresses (if you press and release // a button fast enough) extern int keysdown[NUM_KEYS]; extern BOOL vid_fullscreen; // fullscreen extern BOOL vid_double_size; // x2 scale // init/shutdown extern void Vid_Init(); extern void Vid_Shutdown(); extern void Vid_Reset(); // update screen extern void Vid_Update(); extern BOOL Vid_GetCtrlBreak(); // keyboard functions extern int Vid_GetKey(); extern int Vid_GetGameKeys(); // drawing routines void Vid_Box(int x, int y, int w, int h, int c); // draw ground extern void Vid_DispGround(GRNDTYPE *gptr); extern void Vid_DispGround_Solid(GRNDTYPE *gptr); // draw a pixel extern void Vid_PlotPixel(int x, int y, int clr); extern void Vid_XorPixel(int x, int y, int clr); extern int Vid_GetPixel(int x, int y); // draw a symbol extern void Vid_DispSymbol(int x, int y, sopsym_t *symbol, int clr); // draw to the screen void Vid_SetBuf(); // clear screen void Vid_ClearBuf(); // draw to aux buffer void Vid_SetBuf_Aux(); // clear aux buffer void Vid_ClearBuf_Aux(); // copy bottom of aux buffer to screen void Vid_CopyBuf(); #endif //----------------------------------------------------------------------- // // $Log: video.h,v $ // Revision 1.2.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.2 2003/03/26 13:53:29 fraggle // Allow control via arrow keys // Some code restructuring, system-independent video.c added // // Revision 1.1.1.1 2003/02/14 19:03:34 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 27/07/2002: removed retcode from Vid_DispSymbol // sdh 28/06/2002: remove redundant object reference from dispsymbol // sdh 27/06/2002: move to new sopsym_t for symbols // sdh 27/03/2002: split disppixel to several functions // sdh 26/03/2002: add drawing function, rename video.h // sdh 21/10/2001: added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/swtitle.c0000664000175000017500000002104012046775546014667 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swtitle.c,v 1.3 2003/06/04 15:43:39 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swtitle - SW perform animation on the title screen // //--------------------------------------------------------------------------- #include #include "video.h" #include "sw.h" #include "swasynio.h" #include "swconf.h" #include "swend.h" #include "swground.h" #include "swgrpha.h" #include "swmain.h" #include "swmisc.h" #include "swsound.h" #include "swsymbol.h" #include "swtitle.h" #define X_OFFSET ((SCR_WDTH/2)-160) // sdh -- use network edition title screen #define NET_TITLE void swtitln() { int i, h; tickmode = 1; sound(S_TITLE, 0, NULL); // sdh 26/03/2002: remove swinitgrph call // clear the screen setvdisp(); clrdispv(); /*---------------- Original BMB Version---------------*/ #ifndef NET_TITLE swcolour(3); swposcur(13+X_OFFSET/8, 6); swputs("S O P W I T H"); swcolour(1); swposcur(12+X_OFFSET/8, 8); swputs("(Version " VERSION ")"); swcolour(3); swposcur(5+X_OFFSET/8, 11); swputs("(c) Copyright 1984, 1985, 1987"); swcolour(1); swposcur(6+X_OFFSET/8, 12); swputs("BMB "); swcolour(3); swputs("Compuscience Canada Ltd."); #else /*------------------ Original BMB Version---------------*/ /*---------------- New Network Version ---------------*/ swcolour(2); swposcur(18+X_OFFSET/8, 2); swputs("SDL"); swcolour(3); swposcur(13+X_OFFSET/8, 4); swputs("S O P W I T H"); swposcur(13+X_OFFSET/8, 6); swputs("Version " VERSION); swcolour(3); swposcur(1+X_OFFSET/8, 10); swputs("(c) Copyright 1984, 1985, 1987"); swcolour(1); swposcur(5+X_OFFSET/8, 11); swputs("BMB "); swcolour(3); swputs("Compuscience Canada Ltd."); swcolour(3); swposcur(1+X_OFFSET/8, 12); swputs("(c) Copyright 1984-2000 David L. Clark"); swcolour(3); swposcur(1+X_OFFSET/8, 13); swputs("(c) Copyright 2001-2003 Simon Howard"); /*---------------- New Network Version-----------------*/ displx = 700-X_OFFSET; dispinit = TRUE; swground(); // sdh 28/06/2002: cleared this up a lot, no more // creating objects etc Vid_DispSymbol(260+X_OFFSET, 180, symbol_plane[0][0], 1); Vid_DispSymbol(50+X_OFFSET, 180, symbol_plane_win[3], 1); Vid_DispSymbol(100+X_OFFSET, ground[800] + 16, symbol_ox[0], 1); Vid_DispSymbol(234+X_OFFSET, ground[934] + 16, symbol_targets[3], 2); Vid_DispSymbol(20+X_OFFSET, 160, symbol_plane_hit[0], 1); for (i = 9, h=150; i; --i, h += 5) Vid_PlotPixel(30+X_OFFSET, h, 3); #endif /* #ifndef NET_TITLE */ } void swtitlf() { if (titleflg) return; sound(0, 0, NULL); swsound(); tickmode = 0; } // // menus // // sdh 19/10/2001: moved all the menus into swtitle.c, // I think they belong here anyway // rename to swmenus.c? // BOOL ctlbreak() { return Vid_GetCtrlBreak(); } // clear bottom of screen void clrprmpt() { // sdh: generic clear int x, y; for (y = 0; y <= 43; ++y) for (x = 0; x < SCR_WDTH; ++x) { Vid_PlotPixel(x, y, 0); } swposcur(0, 20); } static BOOL gethost() { clrprmpt(); swputs("Enter Remote Hostname/IP:\n"); swgets(asynhost, sizeof(asynhost) - 3); return 1; } // network menu static BOOL getnet() { for (;;) { clrprmpt(); swputs("Key: L - listen for connection\n"); swputs(" C - connect to remote host\n"); swputs(" T - connect to TCP loop\n"); Vid_Update(); swsndupdate(); if (ctlbreak()) swend(NULL, NO); switch (toupper(swgetc() & 0xff)) { case 'L': asynmode = ASYN_LISTEN; return 1; case 'C': asynmode = ASYN_CONNECT; gethost(); return 1; case 'T': asynmode = ASYN_TCPLOOP; gethost(); return 1; case 27: return 0; } } } // controller menu (unused) #if 0 static void getkey() { register char key; /*----------------97/12/27-------------- clrprmpt(); swputs( "Key: 1 - Joystick with IBM Keyboard\r\n" ); swputs( " 2 - Joystick with non-IBM Keyboard\r\n" ); swputs( " 3 - IBM Keyboard only\r\n" ); swputs( " 4 - Non-IBM keyboard only\r\n" ); for (;;) { if ( ctlbreak() ) swend( NULL, NO ); if ( ( ( key = swgetc() & 0x00FF ) < '1' ) || ( key > '4' ) ) continue; joystick = ( key <= '2' ); ibmkeybd = ( key == '1' ) || ( key == '3' ); return; } ------------------97/12/27--------------*/ clrprmpt(); swputs("Key: K - Keyboard Only\r\n"); swputs(" J - Joystick and Keyboard\r\n"); Vid_Update(); for (;;) { swsndupdate(); if (ctlbreak()) swend(NULL, NO); if (((key = toupper(swgetc() & 0x00FF)) != 'K') && (key != 'J')) continue; joystick = key == 'J'; ibmkeybd = 1; return; } } #endif // game menu for multiplayer (unused) int getgame() { register int game; clrprmpt(); swputs(" Key a game number"); for (;;) { if (ctlbreak()) swend(NULL, NO); if (((game = (swgetc() & 0x00FF) - '0') >= 0) && (game <= MAX_GAME)) return (game); } } // sdh: get single player skill level static BOOL getskill() { for (;;) { clrprmpt(); swputs("Key: N - novice player\r\n"); swputs(" E - expert player\r\n"); Vid_Update(); swsndupdate(); if (ctlbreak()) swend(NULL, NO); switch (toupper(swgetc() & 0xff)) { case 'N': playmode = PLAYMODE_NOVICE; return 1; case 'E': playmode = PLAYMODE_SINGLE; return 1; case 27: return 0; } } } void getgamemode() { for (;;) { char c; swtitln(); clrprmpt(); swputs("Key: S - single player\r\n"); swputs(" C - single player against computer\r\n"); #ifdef TCPIP swputs(" N - network game\r\n"); #endif swputs(" O - game options\r\n"); swputs(" Press CTRL-C to exit"); Vid_Update(); if (ctlbreak()) swend(NULL, NO); c = toupper(swgetc() & 0xff); switch (c) { case 'S': if (getskill()) return; break; case 'O': setconfig(); break; case 'C': playmode = PLAYMODE_COMPUTER; return; #ifdef TCPIP case 'N': if (getnet()) { playmode = PLAYMODE_ASYNCH; return; } break; #endif } } } //--------------------------------------------------------------------------- // // $Log: swtitle.c,v $ // Revision 1.3 2003/06/04 15:43:39 fraggle // Fix year range in copyright // // Revision 1.2 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.1.1.1 2003/02/14 19:03:22 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 27/06/2002: move to new sopsym_t for symbols, // remove references to symwdt, symhgt // sdh 28/04/2002: Centering of title screen on non-320 pixel wide screens // sdh 26/03/2002: change CGA_ to Vid_ // sdh 16/11/2001: TCPIP #define to disable TCP/IP support // sdh 29/10/2001: moved options menu into swconf.c // sdh 29/10/2001: harrykeys // sdh 28/10/2001: rearranged title/menu stuff a bit // added options menu // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 19/10/2001: moved all the menus here // sdh 19/10/2001: removed extern definitions, these are now in headers // sdh 18/10/2001: converted all functions to ANSI-style arguments // sdh ??/10/2001: added #define to control whether we use the classic // title screen or the "network edition" one // // 2000-10-29 Copyright update. // 99-01-24 1999 copyright. // 96-12-27 New network version. // 87-04-01 Version 7.F15 // 87-03-11 Title reformatting. // 87-03-10 Microsoft compiler. // 84-02-02 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swmisc.c0000664000175000017500000001027212046775547014507 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swmisc.c,v 1.2.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swmiscjr - SW miscellaneous // //--------------------------------------------------------------------------- #include #include #include "font.h" #include "timer.h" #include "video.h" #include "sw.h" #include "swgrpha.h" #include "swmisc.h" #include "swsound.h" #include "swtitle.h" // sdh: emulate text display static int cur_x = 0, cur_y = 0; // place we are writing text static int cur_color; // text color static inline void drawchar(int x, int y, int c) { unsigned char *p; int x2, y2; if (c < 0 || c >= 256) return; p = font_data + c * 8; // sdh 27/03/02: use new drawing functions for (y2 = 0; y2 < 8; ++y2) { int m = 0x80; for (x2 = 0; x2 < 8; ++x2) { if (p[y2] & m) { // sdh 17/10/2001: -1 to y co-ordinate // to stop it overwriting the wrong memory Vid_PlotPixel (x + x2, SCR_HGHT - (y + y2 - 1), cur_color); } m >>= 1; } } } // sdh 17/10/01: moved swputc here and made functional void swputc(char c) { if (isprint(c)) { drawchar(cur_x * 8, cur_y * 8, c); } ++cur_x; if (c == '\n') { cur_x = 0; ++cur_y; } } void swputs(char *sp) { register char *s; setvdisp(); for (s = sp; *s; ++s) { swputc(*s); } } // sdh 17/10/01: added swgets to read input (for reading hostnames // in net connect) void swgets(char *s, int max) { int or_x = cur_x, or_y = cur_y; int erase_len = 0; int x, y; for (;;) { unsigned char c; // erase background from previous write for (y = 0; y < 8; ++y) { for (x = 0; x < erase_len * 8; ++x) { Vid_PlotPixel (or_x * 8 + x, SCR_HGHT - (or_y * 8 + y), 0); } } cur_x = or_x; cur_y = or_y; erase_len = strlen(s); swputs(s); Vid_Update(); // read next keypress while (!(c = swgetc())); if (isprint(c) && strlen(s) < max) { s[strlen(s) + 1] = '\0'; s[strlen(s)] = c; } else if (c == '\b') { // backspace s[strlen(s) - 1] = '\0'; } else if (c == '\n') { break; } } } void swcolour(int a) { cur_color = a; } void swposcur(int a, int b) { cur_x = a; cur_y = b; } int swgetc() { int i; while(!(i = Vid_GetKey())) { // sdh 15/11/2001: dont thrash the processor while // waiting for a key press Timer_Sleep(100); swsndupdate(); if (ctlbreak()) break; } return i; } void swflush() { // something to do with the keyboard } //--------------------------------------------------------------------------- // // $Log: swmisc.c,v $ // Revision 1.2.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.2 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.1.1.1 2003/02/14 19:03:14 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 26/03/2002: change CGA_ to Vid_ // sdh 15/11/2001: dont thrash the processor while waiting for a keypress // sdh 24/10/2001: fix auxdisp buffer code // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 21/10/2001: reformatted with indent // // 87-03-09 Microsoft compiler. // 84-07-23 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swinit.h0000664000175000017500000000460512046775547014527 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swinit.h,v 1.3 2003/06/04 15:33:53 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWINIT_H__ #define __SWINIT_H__ #include "sw.h" // global argc/argv extern int g_argc; extern char **g_argv; extern void swinit(int argc, char *argv[]); extern void swinitlevel(); extern void swrestart(); extern void initdisp(BOOL reset); extern void dispguages(OBJECTS *ob); extern void initcomp(OBJECTS *obp); extern void initplyr(OBJECTS *obp); extern OBJECTS *initpln(OBJECTS *obp); extern void initshot(OBJECTS *obop, OBJECTS *targ); extern void initbomb(OBJECTS *obop); extern void initmiss(OBJECTS *obop); extern void initburst(OBJECTS *obop); extern void initexpl(OBJECTS *obop, int small); extern void initsmok(OBJECTS *obop); extern void initbird(OBJECTS *obop, int i); #endif //--------------------------------------------------------------------------- // // $Log: swinit.h,v $ // Revision 1.3 2003/06/04 15:33:53 fraggle // Store global argc/argv for gtk_init // // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:31 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 26/10/2001: merge guages into a single function // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/vid_vga.c0000664000175000017500000001665112046775547014630 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: vid_vga.c,v 1.1.1.1 2003/02/14 19:03:34 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // Graphics backend for 8-bit (VGA) displays // //--------------------------------------------------------------------------- #include #include "video.h" #include "sw.h" #include "swdisp.h" #include "swground.h" #include "swgrpha.h" #include "swmain.h" #include "swsymbol.h" #include "swutil.h" // this should be in a header somewhere #define SBAR_HGHT 19 #define VRAMSIZE (SCR_HGHT * vid_pitch) static unsigned char *dispoff = NULL; // current display offset unsigned char *vid_vram; unsigned int vid_pitch; // sdh 28/10/2001: moved auxdisp here unsigned char *auxdisp = NULL; /*--------------------------------------------------------------------------- Update display of ground. Delete previous display of ground by XOR graphics. Different routines are used to display/delete ground on colour or monochrome systems. ---------------------------------------------------------------------------*/ void Vid_DispGround(GRNDTYPE *gptr) { register GRNDTYPE *g = gptr; register unsigned char *sptr; register int x, y; register int gc, gl; gl = *g; sptr = dispoff + (SCR_HGHT-1 - gl) * vid_pitch; for (x=SCR_WDTH, g = gptr; x>0; --x) { gc = *g++; if (gl == gc) { *sptr ^= 3; } else if (gc < gl) { for (y = gl - gc; y; --y) { *sptr ^= 3; sptr += vid_pitch; } } else { for (y = gc - gl; y; --y) { *sptr ^= 3; sptr -= vid_pitch; } } gl = gc; ++sptr; } } // sdh 28/10/2001: solid ground function void Vid_DispGround_Solid(GRNDTYPE * gptr) { register GRNDTYPE *g = gptr; register unsigned char *sptr; register int x, y; register int gc, gl; gl = *g; for (x=0, g = gptr; xdata; int x1, y1; int w = symbol->w, h = symbol->h; int wrap = x - SCR_WDTH + w; if (w == 1 && h == 1) { Vid_XorPixel(x, y, clr); return; } if (wrap > 0) { //wrap += 4; w -= wrap; } else { wrap = 0; } if (h > y + 1) h = y + 1; if (clr == 2) { for (y1=0; y1= 0; --h, p += vid_pitch) memset(p, c, w); } /*--------------------------------------------------------------------------- External calls to specify current video ram as screen ram or auxiliary screen area. ---------------------------------------------------------------------------*/ void Vid_SetBuf() { dispoff = vid_vram; } void Vid_SetBuf_Aux() { if (!auxdisp) auxdisp = malloc(VRAMSIZE); dispoff = auxdisp; } // sdh 28/10/2001: moved various auxdisp functions here: void Vid_CopyBuf() { memset(vid_vram, 0, VRAMSIZE); memcpy(vid_vram + ((SCR_HGHT-SBAR_HGHT) * vid_pitch), auxdisp + ((SCR_HGHT-SBAR_HGHT) * vid_pitch), SBAR_HGHT*vid_pitch); } void Vid_ClearBuf() { memset(vid_vram, 0, VRAMSIZE); } void Vid_ClearBuf_Aux() { if (!auxdisp) auxdisp = malloc(VRAMSIZE); memset(auxdisp, 0, VRAMSIZE); } //--------------------------------------------------------------------------- // // $Log: vid_vga.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:34 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 27/7/2002: remove collision detection code // sdh 27/6/2002: move to new sopsym_t for symbols // sdh 25/04/2002: rename vga_{pitch,vram} to vid_{pitch,vram} // sdh 26/03/2002: split off platform specific drawing functions here // replaced amiga drawing functions with these generic // 8 bit ones // sdh 28/10/2001: get_type/set_type removed // sdh 28/10/2001: moved auxdisp and auxdisp functions here // sdh 24/10/2001: fix auxdisp buffer // sdh 21/10/2001: use new obtype_t and obstate_t // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 21/10/2001: added #define for solid ground (sopwith 1 style) // sdh 21/10/2001: reformatted with indent, adjusted some code by hand // to make more readable // sdh 19/10/2001: removed extern definitions, these are in headers now // shuffled some functions round to shut up the compiler // sdh 18/10/2001: converted all functions to ANSI-style arguments // // 87-03-09 Microsoft compiler. // 85-11-05 Atari // 84-06-13 PCjr Speed-up // 84-02-21 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swgrpha.c0000664000175000017500000001707112046775546014660 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swgrpha.c,v 1.3.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swgrph - SW screen graphics // //--------------------------------------------------------------------------- #include #include "video.h" #include "sw.h" #include "swdisp.h" #include "swground.h" #include "swgrpha.h" #include "swmain.h" #include "swsymbol.h" #include "swutil.h" static GRNDTYPE grndsave[SCR_WDTH]; // saved ground buffer /*--------------------------------------------------------------------------- Update display of ground. Delete previous display of ground by XOR graphics. Different routines are used to display/delete ground on colour or monochrome systems. ---------------------------------------------------------------------------*/ static void dispgrnd() { { static int clrgrndsave = 0; if (!clrgrndsave) { memset(grndsave, 0, sizeof(grndsave)); clrgrndsave = 1; } } if (!dispinit) { if (!(dispdx || forcdisp)) return; if (conf_solidground) Vid_DispGround_Solid(grndsave); else Vid_DispGround(grndsave); } // sdh 16/10/2001: removed movmem memcpy(grndsave, ground+displx, SCR_WDTH * sizeof(GRNDTYPE)); if (conf_solidground) Vid_DispGround_Solid(ground + displx); else Vid_DispGround(ground + displx); } /*--------------------------------------------------------------------------- External display ground call for title screen processing. ---------------------------------------------------------------------------*/ void swground() { setvdisp(); dispgrnd(); } // sdh 27/7/2002: removed clrcol /*--------------------------------------------------------------------------- External calls to display a point of a specified colour at a specified position. The point request may or may not ask for collision detection by returning the old colour of the point. Different routines are used to display points on colour or monochrome systems. ---------------------------------------------------------------------------*/ // sdh 27/03/2002: remove swpntcol and swpntsym // sdh 14/2/2003: find the color of an object // always draw bullets white static inline int ob_color(OBJECTS *ob) { if (ob->ob_type == SHOT) return 3; else return ob->ob_clr; } /*--------------------------------------------------------------------------- Display an object's current symbol at a specified screen location Collision detection may or may not be asked for. Different routines are used to display symbols on colour or monochrome systems. ---------------------------------------------------------------------------*/ void swputsym(int x, int y, OBJECTS * ob) { // sdh 14/2/2003: always draw bullets white Vid_DispSymbol(x, y, ob->ob_newsym, ob_color(ob)); } // sdh 27/7/2002: removed putcol /*--------------------------------------------------------------------------- Main display loop. Delete and display all visible objects. Delete any newly deleted objects ---------------------------------------------------------------------------*/ // sdh 14/2/2003: always draw bullets white void swdisp() { register OBJECTS *ob; setvdisp(); // draw objects for (ob = objtop; ob; ob = ob->ob_next) { if (!(ob->ob_delflg && ob->ob_drwflg) || ob->ob_newsym->h == 1 || ob->ob_oldsym != ob->ob_newsym || ob->ob_y != ob->ob_oldy || (ob->ob_oldx + displx) != ob->ob_x) { if (ob->ob_delflg) Vid_DispSymbol(ob->ob_oldx, ob->ob_oldy, ob->ob_oldsym, ob_color(ob)); if (!ob->ob_drwflg) continue; if (ob->ob_x < displx || ob->ob_x >= displx + SCR_WDTH) { ob->ob_drwflg = 0; continue; } ob->ob_oldx = ob->ob_x - displx; ob->ob_oldy = ob->ob_y; Vid_DispSymbol(ob->ob_oldx, ob->ob_oldy, ob->ob_newsym, ob_color(ob)); } if (ob->ob_drawf) (*(ob->ob_drawf)) (ob); } for (ob = deltop; ob; ob = ob->ob_next) if (ob->ob_delflg) Vid_DispSymbol(ob->ob_oldx, ob->ob_oldy, ob->ob_oldsym, ob_color(ob)); dispgrnd(); dispinit = FALSE; forcdisp = TRUE; // need to update the screen as we arent writing // directly into vram any more Vid_Update(); } // sdh 26/3/02: removed mode setting stuff (done in platform specific // code now) // sdh: experiments into fixing splatted ox // color the screen all one color void colorscreen(int color) { int x, y; for (y=19; y $ >  I: ; I$ >   : ;  : ;I8 : ; : ; I8 I !I/ .? : ; .? : ; ' @: ; I.? : ; @.1@: ; I 4: ; I1X Y 4: ; I 4: ; I? < !4: ;I? < 6ðü²ê int9åSÓRd$i72IØ>8|™ ìWŽŠ3”-w {,# ¥3# ª3# Å3# 3# m3# I3# ‚3# Ù3# â3#$ ¡3#( < 3#, ¡"µ#0 |$»#4 a&,#8 ·*,#< ,•#@ õ0`#D Ó1n#F |2Á#G æ6Ñ#H e?§#L ýHµ#T †Iµ#X Jµ#\ Kµ#` LG#d ¿N,#h œP×#l ´q ºµ ÷»µ# ¼»# À,#~· 9Ñ ²w 9ç ²'lUVN“V`,–cPzKç€w s¨£ê~°µÏ¢ÀêûÌ.¢,‘.¢,‘ƒ¤,&¥,“©,çÞè´Z%,Ë&îÅ·q,±‘»’» ,+' é¡û /usr/lib/gcc/i486-linux-gnu/4.4.3/include/usr/include/bits/usr/include..pcsound.cstddef.htypes.hlibio.hstdio.hsw.hÖfK^;ŸuzJŸ£O¸=ŸYŸ‡=ŸAW=NŸ£<Í(xX6x.DCÇžD¬Fª‘IttNu‘NPP]t]_t_zu€tƒtƒu–t–˜t˜¨u°±t±³t³µuÀÁtÁÈtÈêux:ðSpeaker_OutputSpeaker_On-Speaker_Off>Speaker_ShutdownRSpeaker_InitfSpeaker_Soundê__quad_tSpeaker_ShutdownSpeaker_Offendtimefreq_IO_FILE_IO_save_endshort intsize_tspeaker_on_offset_IO_write_ptr_flags_IO_buf_basedoubleSpeaker_On_markers_IO_read_endsound_inittedfloatcurrent_freqlong long int_locklong int_cur_column_pos_sbuf_old_offsetlong doubleunsigned charsigned charlong long unsigned intSpeaker_Outputunsigned int_IO_marker_shortbuf__pad2_IO_write_base_unused2_IO_read_ptr/home/jesse/Code/sopwith-1.7.4/src/gtk_IO_buf_endcharSpeaker_Init_next__pad1Speaker_Sound__pad3__pad4__pad5sintabdurationlong unsigned int_IO_write_end__off64_t_filenoshort unsigned int_chainduration_clockscount__off_t_IO_backup_basestdin_flags2_mode_IO_read_base_vtable_offset_IO_save_baseGNU C 4.4.3pcsound.cstdout_IO_lock_tGCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3ÿÿÿÿ| ˆNAB… P*MB… €AB… FB… °AB… À*AG… .symtab.strtab.shstrtab.rel.text.data.bss.debug_abbrev.rel.debug_info.rel.debug_line.rodata.cst4.debug_loc.rel.debug_pubnames.rel.debug_aranges.debug_str.comment.note.GNU-stack.rel.debug_frame@ê üp%,+000PB€:> l(RºíN ”^¨k°'z×|v œ ŽS Š ¤0s ¨0‹ $±¯ Ű ¤Á ´`T Òè xƒñÿ #   1N@P*K€Wh°uÀ*pcsound.cspeaker_oncurrent_freqsound_inittedSpeaker_OutputSpeaker_OnSpeaker_OffSpeaker_ShutdownSpeaker_InitSpeaker_Sound$ * 0:DTap…‘žÚà !(<CHU\cjqx†‹–£¨¸ÄÓâñ-<KZix‡–¥´ÃÒáðÿ,;JYhx‹™§éòùý  !%) 26: @FJN TZ^b hosw €Žœ§²ÁÅÍÙÞêñö,®04HL`dx|”sopwith-1.8.1/src/gtk/libgtksopwith.a0000664000175000017500000023360612046775552016663 0ustar jessejesse! / 1283729584 0 0 0 578 ` "††††††††††††††††††††††††† R R R R R R#¢#¢#¢Vid_DispGroundvid_pitchVid_DispGround_SolidVid_PlotPixelVid_XorPixelVid_GetPixelVid_DispSymbolVid_SetBufvid_vramgetpixelvid_double_sizeVid_SetBuf_AuxauxdispVid_InitVid_Shutdownget_gtk_eventsVid_GetCtrlBreakVid_GetKeyVid_UpdateVid_Resetvid_fullscreenVid_ClearBuf_AuxVid_ClearBufVid_BoxVid_CopyBufSpeaker_OutputSpeaker_OnSpeaker_OffSpeaker_ShutdownSpeaker_InitSpeaker_SoundTimer_InitTimer_GetMSTimer_Sleepvideo.o/ 1283729583 500 500 100644 67728 ` ELF»4(U¸Ç‰åWV‹uS1Û‹>)ø‰ú¯‰ù(9út6´&9×}D)út€0ƒêuòƒÃût‹<‰ÊƒÀ9ú‰ùuуÀ0ûuä[^_]ö)׉útÈf€0+ƒêuòë¶U‹ ‰åW‹=(V‹uS1Û‹žƒêt iÁ´Øt&€0‹ )ȃêuðƒÃû@uÍ[^_]ÃU‹(¸Ç‰å‹M+E ¯Uƒáˆ ]Ãv¼'U¸Ç‰å+E ‹U¯E(ƒâ0]Ãt&¼'U¸Ç‹(‰å+E ¯U]¶Ãë U‰åWVS»Çƒì‹E‹U ‹}‹)Ó‹p¯‹@û(ƒøtc¼>Àþÿÿ…ÿ‰}ì~k+uìƒÂ9‰Uð~‰Eðƒ}t^‹Uð1ÿ…Ò~D¶1À…ö~f¶„Òt0ƒÀ9ðuîñƒÇ¡;}ðtMìÃëЃþu˜¶Eƒà0ƒÄ[^_]ÃÇEìë‹Eð1ÿ…À~æ1À…ö~f¶…Òt 2ƒòˆƒÀ9ðuèñƒÇ¡;}ðt·MìÃëÊv¼'¡U‰å]£(ÃUƒøh‰åºt3~9ƒøzº t'´&~V=Sÿt?=Tÿft~=Qÿtk1Òt&‰Ð]Ãt&ƒø.tcv~Fƒøbºtäƒøc²t݃ø/uѺvëζƒøv²vt¾ƒøx² t·ƒøs² t°1Òë¬t&ƒø ²t¡ƒø,u•ºë•t&º뉉ö¼'U1À‰å]Éö¼'U‰åVSƒì ¡0ƒ=öæ8ÿÿÿƃ=‰$ÛèüÿÿÿãÀþÿÿÀ‰t$ ‰\$Ç$‰D$èüÿÿÿ…À£4„Š·@"‰t$ ‰\$ÇD$Áà‰D$Ç$èüÿÿÿ¡4fƒx"tA‹…Ût+èüÿÿÿ‹54‰$‰D$èüÿÿÿÇD$‰t$‰$èüÿÿÿƒÄ [^]Ãt&ÇD$Ç$èüÿÿÿë©ÇD$Ç$èüÿÿÿÇ$ÿÿÿÿèüÿÿÿfU‰åƒì¡…Àt £(ÉÃfiȉ$èüÿÿÿ££(ÉÃv¼'U‰åƒìH‰]ô‰uø‰}ü‹…Ût‰]‹uø‹]ô‹}ü‰ì]éüÿÿÿvèüÿÿÿ‰Ãèüÿÿÿ‰Æèüÿÿÿ‰$‰D$‰Eàèüÿÿÿ‰t$‹€”‰$èüÿÿÿÇD$‰$èüÿÿÿèüÿÿÿ‰$‰D$èüÿÿÿÇD$.‰$èüÿÿÿèüÿÿÿ‰$‰D$‰ÇèüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$<‰$èüÿÿÿ‰|$‰$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$D‰$èüÿÿÿÇ$èüÿÿÿ‰Æèüÿÿÿ‰4$‰D$‰EÜèüÿÿÿÇD$‰$èüÿÿÿ‹M܉4$‰L$èüÿÿÿÇD$”‰$èüÿÿÿèüÿÿÿ‹Uà‰Eä‰T$‰$èüÿÿÿ‹Mä‰L$‹€”‰$èüÿÿÿ‰t$ÇD$ ÇD$ ÇD$‰$èüÿÿÿ‰4$èüÿÿÿÇ$Qèüÿÿÿ‹Uà‰$‰T$‰Æèüÿÿÿ‹Uä‰T$‹€˜‰$èüÿÿÿÇD$ÇD$ ÇD$‰t$‰$èüÿÿÿ‰|$‰4$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$0ÇD$X‰$èüÿÿÿ‰4$èüÿÿÿ‰é“ýÿÿv¼'U‰åƒì‹E ‰EÉéüÿÿÿ´&¼'U‰åƒìÉéüÿÿÿt&U‰åƒìX‰]ô‹ ‰uø‰}ü…Ût‰$èüÿÿÿ‹]ô‹uø‹}ü‰ì]Ãfèüÿÿÿ‰Ãèüÿÿÿ‰$‰EЉD$èüÿÿÿèüÿÿÿ‰$‰D$èüÿÿÿÇD$`‰$èüÿÿÿèüÿÿÿ‰$‰Eà‰D$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$<‰$èüÿÿÿ‹Eà‰$‰D$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$D‰$èüÿÿÿÇD$Ç$èüÿÿÿÇD$Ç$‰EÔèüÿÿÿÇD$Ç$‰EÜèüÿÿÿ‰EØèüÿÿÿ‹U؉$‰Eä‰D$èüÿÿÿ‹UÔÇD$ ÇD$ ÇD$‰T$‰$èüÿÿÿ‹UØ‹Eä‰$‰D$èüÿÿÿ‹UÜÇD$ ÇD$ ÇD$‰T$‰$èüÿÿÿ‹EЉ$‰D$èüÿÿÿ‹Uä‰T$‹€”‰$èüÿÿÿ‹UØÇD$ ÇD$ ÇD$‰T$‰$èüÿÿÿ‹5…öŽý¾1ÿ‰]Ìf‹…É…Ò‹F‰$èüÿÿÿ÷ljËEÜu‹EÔ‹Uä‰$‰T$èüÿÿÿÇD$ÇD$ ÇD$‰\$‰$èüÿÿÿ‹F‹‰UÈèüÿÿÿ‰$‰D$èüÿÿÿ‹UȉT$‰$èüÿÿÿ‹V‹Eà‰$‰UȉD$èüÿÿÿ‹UÈÇD$ÇD$ÇD$‰T$ÇD$ ÇD$ ÇD$i‰$èüÿÿÿ‰$èüÿÿÿƒÇƒÆ;=Œÿÿÿ‹]Ì‹UÔ‰$èüÿÿÿ‹E܉$èüÿÿÿ‹U؉$èüÿÿÿ‹EЉ$‰D$èüÿÿÿ‹¸˜Ç$qèüÿÿÿ‹Uä‰<$‰T$‰ÆèüÿÿÿÇD$ÇD$ ÇD$‰t$‰$èüÿÿÿ‹Eà‰4$‰D$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$0ÇD$X‰$èüÿÿÿ‰4$èüÿÿÿ‰ é+üÿÿfU‰åƒì‹E ÇD$Ç$£èüÿÿÿ´&¼'U‰åSƒì‹E ‹XS¿ƒúwƒÃ ‹ƒøt9ƒø t ƒÄ1À[]Ãt&‰ØèÉöÿÿ…Àtƒ$…þûãÿuÙÇ$ë͉Øè¡öÿÿ…Àtƒ …ƒûc„„ûãÿ„Àû ÿt0ûÿfuF¡Ç…€ƒÀƒà£érÿÿÿ¶¡Ç…€ ƒÀƒà£éLÿÿÿ¡‰…€ƒÀƒà£é0ÿÿÿt&¡$…ÀtסƒÀƒø£~Å¡ÇD${ÇD$‰$èüÿÿÿÇ$ÿÿÿÿèüÿÿÿt&Ç$éÕþÿÿU‰åƒì(‰Eä¡4‰]ô‰uø‰}ü‹@‰Uà‰MÜ‹P ƒút0ƒút[‹MàºVUUUMäM܉È÷êÁù)Ê‹]ô‰Ð‹uø‹}ü‰ì]Ãt&‹H$‹]ä‹UàÓã‹H0#X Óâ‹H<#P,‹UÜÓâ#P8ëô&èüÿÿÿ‹P …Ò‰UØ~q‹p1ÿ¶V¶N+Uä+Mà¶F +EܯɯүÀ1Ò…Àu:éyÿÿÿt&¶N‰ú¶^+Mä+]à¶FƒÆ +EܯۯɯÀ Á…É„DÿÿÿƒÇ;}Ø|È1Òé5ÿÿÿU‰åWVSƒì<‹…Ò…­1À´&Ç…ƒÀƒø uíÇD$Ç$èüÿÿÿÇ$èüÿÿÿ‰Ã£0èüÿÿÿ‰$‰Æ‰D$èüÿÿÿÇD$ ÇD$ÇD$‰$èüÿÿÿèÞôÿÿÇD$Ç$èüÿÿÿ‰Ãèüÿÿÿ‰Eäèüÿÿÿ‹UäÇD$•‰T$‰$èüÿÿÿÇD$ ÇD$ ÇD$‰Ç‰$èüÿÿÿ¡0‰t$‰$èüÿÿÿ‹Uä‰T$‰$èüÿÿÿ‰<$ÇD$•èüÿÿÿ£8èüÿÿÿ‹4‰Uà‰Ç£èüÿÿÿ‰<$‰D$èüÿÿÿ‹UàÇD$‰T$‰$èüÿÿÿÇD$Ç$€ èüÿÿÿ‹8‰Uàèüÿÿÿ‰$‰Ç‰D$èüÿÿÿ‹UàÇD$ÇD$ ÇD$‰T$‰$èüÿÿÿ‹‰|$‰$‰Uàèüÿÿÿ‹UàÇD$ÇD$ ÇD$‰T$‰$èüÿÿÿ¡0ÇD$þÿ?‰$èüÿÿÿ¡8‰$èüÿÿÿ¡‰$èüÿÿÿ‰$èüÿÿÿèüÿÿÿ‰D$¡0‰$èüÿÿÿ‰\$‰$èüÿÿÿèüÿÿÿ‰Ç‰D$¡0‰$èüÿÿÿÇD$ÇD$ÇD$ÇD$ÇD$ ÇD$ÇD$<‰$èüÿÿÿ¡0‰|$‰$èüÿÿÿÇD$ÇD$ÇD$ÇD$ÇD$ ÇD$ÇD$D‰$èüÿÿÿ¡0‰t$‰$èüÿÿÿÇD$œ‰$èüÿÿÿ‰$1Ûèüÿÿÿ¡0‰$èüÿÿÿ1É1Ò1Àè¸ûÿÿ¹ÿºÿ‰ƒ@1Àè¡ûÿÿ1Ò¹ÿ‰ƒD¸ÿèŠûÿÿ¹ÿºÿ‰ƒH¸ÿèpûÿÿ‰ƒLƒÃƒû@uŸÇ$úèüÿÿÿÇ@ÇÇ$£,£èüÿÿÿƒÄ<[^_]Ãt&U‰åƒì‹ …ÉuÉö¡4‰$èüÿÿÿ¡,‰$èüÿÿÿÇÉÃfU‰åƒìë Ç$èüÿÿÿèüÿÿÿ…ÀuëÉfÃë U‰åƒìèüÿÿÿ¡Éô&¼'U‰åƒìèüÿÿÿ‹ 1À;t‹•€ƒÂƒâ‰ ÉÃU‰åWVSƒì<ƒ=„€ƒ=…»‹ 41҉ȉMà·@$·I"f÷ñfƒù·ø„Cfƒù„øfƒùtIfƒùt&„œfèüÿÿÿ‰D$¡‰$èüÿÿÿÇD$‹Uà‰T$‰$èüÿÿÿƒÄ<[^_]éüÿÿÿ‹Mà<‹5,‰}Ü‹A(–Àø‰Uä‰Ç1Ò¶ ƒÂ‹ @‰ËˆÁûÁùˆXˆHƒÀú@u×;uä„tÿÿÿ‹MÜÆ@‰Ç뼋EàÁç‹ ,‹X(±Àø1À´&¶‹•@‰ƒƒÀ=@uè9ñ„&ÿÿÿûÁ@ëÍ‹Uàÿ‹ ,‹Z(±Àø1À¶‹•@f‰CƒÀ=@uç9ñ„åþÿÿûÁ@ëÓ‹Mà‹Y(‹ ,‰ÞÀø‰Eä¶1À¶¶‹•@ˆƒÀ=@uè;Mä„•þÿÿ>Á@‰ÞëÊ¡41Ò·H"‰Eà·@$f÷ñfƒù·À„ fƒù„wfƒù„ìfƒù…Hþÿÿ‹Uà‹,‹J(…‰UÔ…Áà‰E܃Àø‰U؉Eä‹UØ1À<‹UÔ4t&¶‹•@‰ljƉTÁ‰ÁƒÀ=@uÞ;]ä„ÛýÿÿMÜÃ@ë·èüÿÿÿévýÿÿ‹Uàx‹,‹J(‰UÜ“Àø‰Uä491Àt&¶‹•@ˆˆVÿƒÆˆTAˆAƒÀ=@uÜ;]ä„qýÿÿMÜÃ@뾋Mà<@‹,?‰EØ‹Q(‹Àø‰M܉Uä:1öf¶ 3ƒÆˆHˆˆJˆ Æ@Æ@ÆBÆBÆ@Æ@ƒÀÆBÆBƒÂþ@uÁ;]Ü„öüÿÿ‹UäÃ@U؉Uäë ‹Uà‹,‹J(D‰UäÒ‰EÔƒÀø‰U؉EÜ‹UÔ1À<‹Uä4f¶‹•@f‰‡f‰†f‰Tf‰ƒÀ=@uÚ;]Ü„üÿÿMØÃ@ë¶´&¼'U‰åƒì¡…Àu Éô&¡4‰$èüÿÿÿè¶ìÿÿÉéüÿÿÿU‰åSƒì‹] èüÿÿÿ‰D$‹E‰$èüÿÿÿ‰$èüÿÿÿ…À•Àû¶À‰tûtƒÄ[]éüÿÿÿ¶èüÿÿÿƒÄ[]éüÿÿÿU‰åƒì¡…Àt!iÈÇD$‰$‰T$èüÿÿÿÉÃiȉ$èüÿÿÿ£ëÆ´&U‰åƒìiÈÇD$‰D$¡‰$èüÿÿÿÉÃt&U‰åWVSƒì‹]‹}‹(‹ …Ûx7¸Ç‹u+E ¯ÁÆ42¶‹E‰4$‰|$‰D$èüÿÿÿ5ƒëyâƒÄ[^_]ÃfU‰åSƒìiÈÇD$‰D$¡‰$èüÿÿÿ¡‹ iеÀX‰D$щ $‰T$èüÿÿÿƒÄ[]é°¹°˜P ÄP ÎçðP óçþP qóç&/°:`Qa°h % : ; I$ > $ > $ >   I : ;  : ;I8 : ; : ; I8 I !I/ &I : ; & : ; (  : ; I8  : ;  : ; I' I' < : ;I : ; : ; I : ; I 8 5I! : ; " : ;I8 # : ;I 8 $ : ; % : ;I& : ;I' : ;( : ;)' I*.? : ; ' +: ; I,4: ; I-.? : ; ' I 4 .: ; I/.: ; ' 0.: ; 14: ;I2.: ; 3.: ; I 44: ; I54: ;I6 7 8.? : ; ' @9: ; I:4: ; I ;4: ; I<4: ; I=: ; I >.1@?1 @41 A.? : ; ' I@B: ; IC UD E1X Y F1G41H.? : ; @I.: ;' I@J: ;IK.? : ;' I@L: ;I M.: ;@N4: ;IO4: ;IP1X YQ1X YR.: ;' @S: ;I T4: ;I U41V.: ; ' @W: ; I X.: ; @Y: ;IZ.: ;I [.? : ;@\1X Y].? : ;@^.? : ;I@_1RUX Y` Ua b1RUX Yc4: ; I? < d4: ; I?  e! GÓ,¿!¾?BÓ0¶Ì R,®  'intŸ*¥ A8aØ!…]Ñ$Žo¢¯ d 1´ò ”-t "Z# Dœ# æ)œ# Ôœ# 4œ# æ,œ# rœ# Tœ# õ%œ# ”œ#$ ô#œ#( á œ#, Q"²#0 D$¸#4 ­&Z#8 ¬*Z#< +,z#@ 0>#D ß'1L#F W2¾#G X+6Î#H a?Œ#L ŸHš#T ¦Iš#X ­Jš#\ ´Kš#` »L%#d NZ#h 8PÔ#l [ ´> º² ü»²# ó)¼¸# ÀZ#{´ ¢Î —t ¢ä —'ꢀ  ¥( # E —º. ï ¢1 —7 M S- 8ÿ "c Zs —œ $ª ~ )X# ± *Z# t +#*% 1µ sÅ —q Ðh  ù "#w #Z#h #Z#7V0;ž  ñ "¤\  Æ0ÅSL °|+Q ¦&á 2/Ø-™žë Ä* û$ • P.Y"Ðv8!&ôv'šb(ôi)úMZ A " !œ# a%»# c *Ð# …+œ# A,' &L'7=&(S,)>Ä .0J4a§5hˆ+B0Q'.¢/Ss 0…“+1Zº2Ì…5>~*6EŒ70i&9·­:¤ÐMšnN1ëWAGS Y«S &ii&’ ù,’#len-ø#« &xh-&°! &ç ù* # “+ç# ;/,ç#¥3&ø×& ¾&2 ù* # “+2#þNäež(f)>#û4ýðÛÝÐ+=º,|)€Î*‘‚-ƒh"„ß&…†- ‡ˆÛ$‰L'Šþ‹Y*Œhj Ží ¼ |o™s's Is3 Íoñ# ù| #H v?A!v\ ÍŠñ#á"xh¹&x… ê ”…#3ý—ýr ˜sÌatøuÁ—ví@wƒ;xŽÒyS&z@{  œ —ŒY Š.éo ™,~” » ýÀ#€>'Ld Õ'LE I ”Ì #¼)•Ì #¡–Ì #+—Ì  #ë&˜Ì #.™Ì #j'šÌ #ÆœÌ #ežÌ #ªŸÌ # €¡¡ # ù§ # r+©Ñ # ±MP l,My ù… # S!†y #"a„ Š ›  › Y § Ì › ‹ø‘   øE u å_/'q(/§- .À¸ ( ¸M ‡ô\# I ÷Ì # Ö.øä#º ‡Vc úX œ^  ]‡ gEØ! ž x "B¯ Ä“ ^%# Æ ­.» <$EÝ É$E x$ÊÌ#y$ËÌ# F$ÌÌ# ³/$ÍÌ# «($P) / $ $axP$fK Ö% $f ³&%0x#red%1m# £+%2m# e %3m#¬$g› Ë$gî q%G # v!%JÌ# ¿%KÝ# €,%Nã# J$%P #Œ$iù ³ $i0 a&3à"# Œ&4Ì# [&5Ì#<$j; - $jœ q'¿ # 7'ÁÌ# â'ÂÌ# 'ÃÌ# Ì'ÄÌ# ë'ƹ"#ú-$k§ ú'4$kj q(C # a(G## €,(Hã# «)(I8# F(JÌ# ³/(KÌ# ¯(Lm# bpp(Mm#"bpl(Nm#$ C)(Om#&mem(P #( ë(R¹"#, J$(U #0Ð $luö(ú$m†¢D$me q)O # a)QD## ¯)RÌ# «))S8# p*)TÌ# —)UÌ# ö)Wx# ÿ)XÌ#$ .)YÌ#( É)[x#, î')\Ì#0 ´)]Ì#4 þ)_x#8 ¢)`Ì#< j%)aÌ#@÷ $o€ q*7 #4$peª$qeá-$re $t¬!iœ$t# q+0 #÷+2ø# +4^"# Þ+5^"# 1+6^"# /+8t"# _'+9¤#”$w8K*¸$z#$Ò1æ*y Ö7Ä ”'À9€A"€à€ž €š)€ó€ €€€ ‚€€€À\ €€€€Ø€€€€2 ÿ¿€à¯!$™C@ {ñ,&ôh4,&› q,L # ¨,P# {!,R×# ×,T# O.,U# Ó,Wç# [,XÈ# [.,YÈ#$ 8 ,ZÈ#( G,,\x#, J$,` #0,)È"@Y..˜ ‚/,0›,3§$,ˆO(K",<Ó–ß--"Ý--K ª-Wø# 1 -XÒ#!+-.V+-.use-]®#min-^#max-_# r-/˜;,-/# q-d # " -g’# à -hD# G'-ij# P-j×# G-lÌ# ¡-m¹# ®%-oÌ#$ ž-p¿#(-;D<HÞD&-@#-Cj @ê!F/-GO-J®:$Öá| ‹Ðg'-SuKf./Ði ./  a. ò# Þ. # .L#.0Ô $.0| a.ò# Þ.# .L# .Ò # ¼#.ø!# é.Ì# –-.1‡` .1Á a.ò# Þ.# .L#<(.2Ì1 .2 a.$ò# Þ.%# .&L# n.'à # …'.3 –&@.3Ý a.,ò# Þ.-# ..L# Ì$./x# "x.0#"y.1# ¡.2þ!# n.3ø#$  .4b#( o!.5"#, §%.6#0 Q.6#8¸(.4èæ(@.4¥ a.;ò# Þ.<# .=L# Ì$.>x# "x.?#"y.@# ¡.Aþ!# n.Bø#$ Â.Cø#( o!.D"#, §%.E#0 Q.E#8È.5°-<.5^ a.Jò# Þ.K# .LL# Ì$.Mx# "x.N#"y.O# n.Pø# ø.Qï #$ o!.R"#( §%.S#, Q.S#4.6i/($.6 a.Xò# Þ.Y# .ZL# Ì$.[x# n.\ø# ª.]ø# Ç!.^Ì# ‰._’# ô+.`m# ä.aW#"#i .bø# j.7)" .7q a.xò# Þ.y# .zL#"in.{b# ·%.8|¾+D.8H a.gò# Þ.h# .iL# ç .j# Ì$.kx#"x.l#"y.m# §%.n#$ Q.o#, G'.p_!#4 Ž .q'!#8 M!.r×#< n.sø#@».9S.9Å a.€ò# Þ.# .‚L#"x.ƒÌ# "y.ƒÌ# F.„Ì# ³/.…Ì#.:Ї,.:7 a.Šò# Þ.‹# .ŒL# x. # Ì$.Žx# n.ø#© .;B .;Ç a.”ò# Þ.•# .–L# ? .— # ´.˜ # Z .™ # Ì$.šx# ¨.›5 #Ä-.<Ò9 .ÅW(.>, a.¸ò# Þ.¹# .ºL# q.» # û .¼â# ù.Á "#¼.?7D .?­ a.âò# Þ.ã# .äL# ] .åR"# Ì$.çx# §%.è¶# Q.è¶#v.@¸L.@ a.Ïò# Þ.Ð# .ÑL# 8.Òž!# ø.Óž!#Ÿ!.AÍ.As a.Æò# Þ.Ç# .ÈL# 8 .ÉÄ!# " .Êœ#.B~¦.Bå a.×ò# Þ.Ø# .ÙL# 7.Ú×# µ.Û×# .Ü#h.Dð$( D.Dù%a.íò&any.îÅ%.ï %Ü*.ð|% .ñÁ%.ò%Â.óÝ%Z.ô¥&key.õ^%ÿ .öq%˜(.÷%õ.øH%Z .ùÅ%? .ú7%u.ûÇ%(/.üW%Ú .ýº&dnd.þ,%.ÿ­%™.%¸.så.tò *É)] 'Ä”º$Ÿ ~w ‘ K q/  È.Ò('åÅ..+Ò/œÆÖ°"¬2îEM ÷!¥"$#Ÿ$%·-.œÿ.¢¨ /N$“# Z À‽€l.€+'€€{ € X€À)€€€#€€'€€µ€€“ €€ê €€ Z€€À$€€€À þÿÿ.¼Ã …!fŽ.À¨ .Ãï È%Ã# Å.ÈÎ .Ó'!ë à‘ E=§$.Úú .â_!D+ž"Z^ ,š.é2!.òž!ÂOÖ2%± *"ÀÔ .új!.ýÄ!Ë´ —.©!'.ì!ph$µ (.Ð!j(.½2"&b.¾!&s.¿2"&l.ÀB" SB" — …R" —é¡ n"n" —0 { þ/7…"vÓ#0)–"+ M 0*§"º/î ‹ œ z"&,à"A.¬R)&/Ë"(2#ù)ã+#r(6ë"€)8D#ã^¼ *¦))?#1‚#‚„¿(€%pÝ1—O#1¶®#Q#)ê$'1ÃÄ#zÿ,*2<Ï#r 2<0$ n-2X # Þ2Zø# ñ2[Ò# ¶2\2# ¾2]ø# t2^½$#'2>;$È' 2>u$ Q 2sø# ]2tÒ#ë2uø#¢'2?€$–2?·$key2½0$# ¤2¾› # P2¿˜#Ä#u$4#31Î$431÷$ q4mM # '4tx# 2)3;%%)’%S 1$56(%!}ð56/' q5K #fg5Oâ(# bg5Pâ(#H å5Qâ(#„ Ž+5Râ(#Àmid5Sâ(#ü Û5Tâ(#¸ À,5Uâ(#ô #5Vâ(#° à%5X@ #ì È&5Y@ #ø \5Zµ #„ Ž5\Ì#ˆ Ï 5]Ì#Œ Æ5_ò(# @/5`ò(#¤ {5aò(#¸ Ö5bò(#Ì 5cò(#à °,5dò(#ô é5eò(#ˆ å5fò(#œ ô,5gn"#° €5hn"#´  5j)#¸ º 5nÌ#Ì ¯5pÌ#Ð ë5q¹"#Ô &5r­"#Ø 5sµ #Ü r 5v)#à ½5x2#ä é5yu #è ð5z2#ì59:'!S/D59#( q6> # " 6B’# Y$6CP)# \6Dµ #$ 6F`)#(fg6Gâ(#<bg6Hâ(#x Û6Iâ(#´ À,6Jâ(#ð Ž6LÌ#¬ Ï 6MÌ#° ú6Pu #´ &6S2#¸ ð6U2#¼ô*6Wø#À¬5:.(f • 5E?(k<5Eâ( +7 Ã$# m7m# n7W# R"7 W# " 7(’# i 71)# ²+75p)# …*79%,#$ Þ7?#4 n-7C)#8 @ ò( — n") — ³") —/'%4(65E)º*%q½6:$) ’`) — E)p) —ð7Ð|)»7Ш) F7ûÌ# ³/7üÌ#.7×´)”7×%,bin88À,# 4,8:’#H ì8;’#L Å,8<’#P È8=’#T + 8?)#X Š$8@)#\ ¢ 8A9-#` ÷"8B?-#d Ê8C#h ä8DE-#l ;-8Fm#pN8Gø#pv"8Hø#pØ8Iø #p8Pø #pª#8Qø #pŽ8Rø#pa8Sø#po8Tø#p„ 8Uø#pÃ8Wø#pŠ 8Xø#pþ8Zø#tB8]ø#t8^ø#tÇ 8_ø#ta8`ø#t^)8bø#tr 8eø#tó8gø#tÜ.8hø#t z 8jø#x Î!8kø#|  8lø#€ Ð8mø#„ &-8oø#ˆ S8qÒ#Œ 8rX"#!7äÒ ^\&93B,2D93À, :984(# ï.9:)#<‘"9<ø#@¯9?ø#@9@ø #@Ä9Aø #@ô 9Bø #@–%:0Ë,ÛH:0ô, :+:57,# 5:7)#D"!82ÿ,X83-¨839- q8œ # µ8ž2# ¨)ô,-} ;^“- Þ;c¨)# ;f)#” Õ;g)#˜ ý,;j)#œÈ <0ž-j H<0ñ- :<54(# ª<7#< '<8#@ p&<:m#D ?<;m#F^"p=1E/ ù=8“-# b-=;’#HŠ(=<ø#L³(==ø#L=>ø#Lu#=?ø#Lt=@ø#LÚ=Aø#L&=Bø#Lû.=Cø#L¾'=Dø#L? =Eø#Lò=Fø#L U=Hø#P Û=J’#T Ÿ=KV/#X "=LV/#\ Ã=NÌ #` Ú =P)#d )=Q9-#h “=S\/#lz=4P/-¤ E/fL>1ª/ :+>77,# ©+>:ç#D (>;b#H><ø#H%`?1ý/ ù?–“-# ; ?˜Ò1#H ù?¤Ý1#L Ó?§##X )?ª‚##\*&?40^+?4#0 ~??³"#å?5.0â?5I0 a?D¿"#@?6T0I?6o0 ß,?IÅ"#0?7z0Â"?7•0 Ù?N’#I?8 0•?8»0 ?S1#t%?9Æ0õ ?9ý0 Õ"?X‡1# …(?Y1# ™$?Zø#.?:1— ?:?1 ì?_’# ß,?`Å"# Ù?aø#K ?;J1± ?;1 æ#?fi # ß,?gÅ"# Ù?hø##(‹"œ"?‚Ò1ÿ!Î&¿^Jÿ:,?Œ“1 ?›>2~?œý/a?#0ß,?žI0g?Ÿo0? •0Õ"?¡»0" ?¢ý0Ú ?£?1ê@0I2˜+X@0'3bin@5À,# ­*@7#H #.@9’#L :*@;ø#P‡ @=ø#T2@>ø#TE @?ø#T'@@ø#T@Aø#T@Bø#T' @Cø#T @Dø#T‡@Eø#Tô\A0u3 ÂA5>2#™A7ø#XHA8ø#XöA9ø#X}B/S*B<‹3n,B<4 +BCÃ$# îBE’# c!BF·$# :BG)# ¶)BH2# cBJ÷$# æ%BK #$ ÔBL6#( B>4B>t4 îB^’# … B_’# 2Bau3# !$Bbø# ‚Bt’# –Bz+#*h)ˆ«4+xˆZ+yˆZ+clrˆZ,ôŠ- gZË4.Hgä-ˆ&`Zö4.µ'`ö4.H`ä©/Ô)@5+c@Z0Ô+51nÖZ2Í2u-U3Ú FZW54cHZ0u&Ya61x[Z1y[Z5ø\Z6¹55S d5¸,f71pi1p2j6î55S sa65¸,u71pxa61p2y6/65S †5¸,‡71pŒ1p271cZ75S š 5¸,›71pž 1p2Ÿ>-n#Nšœ6.&Nš.£NZ.„.N%-u)1šÑ6.&1š.&11.„.1%8Y=B79µ=B7,4g?B7:ô@P4xAZ;yAZb;gcBZ‹;glBZÊ;8ã _àè·79µ_B74gaB7<ôb?;xcZ];ycZp4gcdZ4gldZ8í€àŽ8=x€Z‘=y€Z‘=clr€Z‘,ô‚>t45º78?‚4‘?‹4‘?”4‘@Ÿ4PAPZ@aæx8=xZ‘=yZ‘,ô’8Цpf¬9Bx¦Z>By¦Z€9‰)¦FÙBclr¦Zù<ô¨1:ù©Q;x1ªZO;y1ªZm;w«Z–;h«Z´:³(¬ZulCU9,&¿D8I;iÁZÝC(}9,&ËDàë4iÍ0Et4 ¯F'8F8F8D GŸ4Hø épI² B°€72î9J©BZ^KFôZ@G|':LxôZ‘LyôZ‘M‘àP^¨Â:NwâZÔNhâZòO€,ãã5'äZP«4´Ûû‘:F¾4P«4(>þ«:F¾4Q«4>R÷F¾4Hë-î`–.3$Ê);,ÞÌ),b-Í),ÂÍ)Rú &Z—;Sc( ‘S!$ø‘S:)‘TÞ)QÖ:Ð DÐUæ:†Uñ:¤Uü:·VÇ[0BÕ×;W:[)‘Wù[ ‘,E])Vú!bP\<W:b)‘W@bù‘Wùb ‘3/p)x<,Þr),)s),s),Js),Âs)4itZ7,:)X¥¸`N -=:Þº) E<C ½DC U*<Y@5<uXU@<‚UK< UV<³Ua<ÑDˆ d Uk<äV ÂP r ÷F=Wc( ‘W!$Ãø‘W:Ä)‘Ib#cÌ€ Ï #->S:c)‘J@d1,OSø&e ‘NkeygZzT hM$Oz'i°˜Pü4 8 Ý=F 5Pü48 X ÷=F 5Pü4X x ƒ>F 5QË4“ ° wFé4FÞ4I¶ÆEÐ ß í?YrÆZYgÆZ,YbÆZ?NvÈãhNlÉE‘DX Ø Oëй"ÅNiÑZî5cÒZ1lÒZDg Ð 1cÕÝ1r2ÖZ1g2ÖZ1b2×Z5ÈØZZ¹‘).?5“)ZŠ%+)d?5Q-d?5c!.·$5û/Z€3[Ðà ¬ @Ngui)8 NiZK P?r -ö?Dr G!?Q.?ˆþ”DˆþU??^ @K?udGW?Q5 n<D nG 5[) °îq A@\+5ÈÕ]P­ð ^?cM 2É „@\45&+e^Ç(ZZ@põ à@1l\Z\45FK^Q=5Kn`DKnUM5! 0{ûêA1xýZ1yýZ5øþZ6BA5S 5¸,71p 1p2 6wA5S a65¸,71pa61p26¸A5S -5¸,.71p31p2471c7Z75S F 5¸,G71pJ 1p2K[/+ªpb4 D5 ¬Ò _W5“H´ C``Ud5` Gn5Ux5Ÿ ar~BGó5Gÿ5`xU 6Þ U6 `U"60 arº®BG06G<6`¨UI6C US6a aºûÞBG¾5GÊ5`ÈU×5 Uá5 DûNG‰5G•5`èU¢5» U¬5ú bà@N²`Uí@ G÷@UAb aŽhCG¹AGÅA`0UÒA€ UÜAž ap˜CGAGA`HU+A¼ U5AÚ apñÓCG|AGˆA`hU•Aø UŸA `ˆG«ADñbGGAGSA`¨U`A4 UjAR [ÌHp p ,D\+5ˆ•MVÃf ÿœ aD9:f)È Bbfôè ]ˆI*] P{V8ØÚ€Þ‚òDBxÚZ®ByÚZÚBwÚZBhÚZ1=cÚZ‘;pÜ\Hªøà?o,Z!C2M:ï)œ(:à!-,:æ/Z:C0M:Þ1)0:2¿"4:¨3):ï"4)8 Z©E —:¿5™E@ ZÊE —:±=ºE€:; >Z :­>Z 4 F — T’ýE c!‘¸ce,’¸c'“¸cNCX™E ZcF — cë#:SFdþ*MdN%+M AŸFecÒ.”Fcä /Zc²DZc Do c» C$0c×CZªd%+dX-,0d_0œ„ ýû ../usr/include/bits/usr/lib/gcc/i486-linux-gnu/4.4.3/include/usr/include/usr/lib/glib-2.0/include/usr/include/glib-2.0/glib/usr/include/glib-2.0/gobject/usr/include/glib-2.0/gio/usr/include/cairo/usr/include/pango-1.0/pango/usr/include/gtk-2.0/gdk/usr/include/gtk-2.0/gdk-pixbuf/usr/include/gtk-2.0/gtkvid_vga.cvideo.cstdio2.hstring3.hstddef.htypes.hstdio.hlibio.hsigset.hstd.hsetjmp.hsetjmp.hswsymbol.hsw.hvideo.hswconf.hglibconfig.hgtypes.hgarray.hgquark.hglist.hgdataset.hgslist.hgscanner.hgtype.hgvalue.hgparam.hgclosure.hgsignal.hgobject.hgiotypes.hcairo.h pango-font.h pango-attributes.h pango-layout.h gdktypes.h gdkcolor.h gdkfont.h gdkgc.h gdkimage.h gdkvisual.h gdkdrawable.h gdkscreen.h gdkdnd.h gdkinput.h gdkevents.h gdk-pixbuf-core.h gdk-pixbuf-animation.h gtkenums.h gtkaccelgroup.h gtktypeutils.h gtkobject.h gtkstyle.h gtkrc.h gtkwidget.h gtkwindow.h gtkcontainer.h gtkbin.h gtkdialog.h gtkmisc.h gtklabel.h gtkbox.h gtkimage.h gtkbutton.h gtktogglebutton.h gtkitemfactory.h swmain.hswinit.h=(xXŠ,0,0w+j®KK=d]v<‚r‚-/6y<9‚x¬ƒ=dtJ <€õ=€S ¬X$¨2Y½"V0>:ôYËÖÍOògW<’-19w9ˆV{y.C0ú fvä .gLK8Ž <wX`=[J_XÉ]‚ ®gLKŒŽ <wX`=#ÖW>Y×.!;.oX tuX"xc‚ ÈsXXk. äw‚<mX Xw.Xi..g‚<q.±#",0ꬂS±73SÁx*\ózf”'ÀŸ+âzº*÷{Ög“YGhYºç¡=¹F‚v=õOHØ$ ÖP†¼œ0>H ‚Ó~Jhh2hÖ“ciMƒ¶äu>ôPK=ã=Zâ>„>9K“ ¯c1;(Tn‚J­­®N»/)K ‚Ðg=ãYŸ.t=@ƒ>t XvºvK„ƒdÈvK„˜¼„Â}žóWóñ»±<‘ƒ;Yì}.–º÷Êò‘W‘;j†XjZ\ŸA,LÔL,>zX‚¨‚”j«Š>03è|XžX„°p2‡æÖò]ZŽv(>C<LÉɇ‚"XQõ=-YŸÈ­gusgŸg*èX»  o£YDºg¦¾‚?ÈÊŸ›}Jg/¹’³.sfXtJbóyXõv’ºÊ~.“Ë«È{yJCfžf)ò-sAX=¹$<m¬y.I=v-/=;=<e<~ =e=M <w õy‚C킌<~=e=UX=e=‘äï~f‘<ü~fëÿš =£Xg þ~ýÈ]•zXt=ôdZ¢Wª[WšfgÎ~¶È9yäÔ~f®#Wtg¼Hú~‚ˆ.®žÝ~t¥#¹~XÈf¸~fÊÈVid_Init: cant create screen mode: %ix%ix%i About Sopwithdestroydelete_eventgtk-okclickedSettingstoggledgtk-closeUser aborted with 3 ^C's
Gtk+ Sopwith/_Game/Game/_Single Player/Game/Single Player/sep1/Game/sep1/Game/_End Game/Game/_Quitgtk-quit/_Settings/Settings/_Preferencesgtk-preferences/_Help/Help/_AboutATTENTION: 24 bit colour mode is untested. If you see this message, please email me and let me know if it works or not! :) sdh300@ecs.soton.ac.uk Gtk+ Sopwith 1.7.3 Classic biplane shoot-em-up game. Copyright(C) 1984, 1985, 1987 BMB Compuscience Canada Ltd. Copyright(C) 1984-2000 David L. Clark Copyright(C) 2001-2003 Simon Howard/Game/Single Player/Play in _Novice Mode/Game/Single Player/Play in _Expert Mode/Game/Single Player/Play vs. _Computerttu)‘)oVorurV6VRmrR|R4Q4FWFrQrzWzQ6RQ|R‘t‘™t™àu§‘§ÝVÝàu§¶P»àP§ÜS§«R®àRàátáîtîutt5u@AtANtNaupqtqstsfup¥‘¥¬W¬uWfup¥‘¥¹R¹u Ru 'R'fu p¥‘¥fupÉ‘ Éu'‘ 'fušSfSÚüP2ZPÎWW,fWŽVfV˜ÚPP*PR0CRIfRpvtvxtxu€t†t†7u€ÂPÄ7P@AtAEtEGuPQtQStS^u~íS#^SfüV!V#^V¢§P`atactc–u ¡t¡£t£&uµÂSÍ&SÚV¹¿V&V01t13t3BuPQtQStS\u`atactcN uo„SŽ¥ Sd N SyŠW¯ N W¨ ¼ Py‡VÇ N Vƒ ¯ W† y SP Q tQ S tS r u€ t ƒ tƒ Ï u€ • ‘• š Pš Ï u ª S¬ Ï S¤ © P¹ × Pá  P2 = PX ] Pt } P¼ Ï PÐ Ñ tÑ Ó tÓ ß uÐ Þ PÐ ó RÐ Q# + QQ ] Qê P  P# ] P # R. O SO Q R’ ß R  P` ~ PØ ß P  Wl ß Wà á tá ã tã ¬uˆûSù 'PÆW°±t±³t³îuðñtñótóu !t!#t#2u@AtACtCpuSnPpqtqstsbuÖÝP.rR‡ºPÎûPNP² WWrxWº¿WûNWÖÝP#.P.QWQrPÖ VrV>HQÖ SºSÖÝQ~ºQÖ SÈûSÖÝQÅûQÖ S  VS8V8NSÖÝQNQÖÝPÝ V½P.pP‘ñVbPÖ WvñWÖÝQšQÖ S—SÖÝQpQÖ SpSÖÝR…ñRÖ S|ñSÖÝQýbQÖ SúbSpqtqsts u ¡t¡£t£ÿu Ø‘Øÿu Ø‘ØäSäêu êùSùÿu ttIuPQtQStS{u€tƒtƒÞu€²‘²ÖuÖÞ‘€²‘²Öu ÖÞ‘€Ÿ‘ŸÜWÜÞu€Ÿ‘ ŸÚSÚÞu²ÛVàátáãtã?u²$GÑ6Vid_DispGroundH7Vid_DispGround_Solid·7Vid_PlotPixel8Vid_XorPixel78Vid_GetPixelx8Vid_DispSymbol¬9Vid_SetBufî9getpixelÂ:Vid_SetBuf_Auxj?Vid_Init@Vid_ShutdownA@get_gtk_eventsV@Vid_GetCtrlBreak„@Vid_GetKeyêAVid_UpdateDVid_ResetaDVid_ClearBuf_AuxvDVid_ClearBuf‹DVid_BoxòDVid_CopyBufpFvid_fullscreen‚Fvid_double_sizeíFvid_vramÿFvid_pitchGauxdisp?ØÚ_fUZ2RÚô÷ü“ÖN“ÖN.Ybr047Qux°º¨½¿ñûÈé8DNNbNbÀòûep.\|‚àñ…טœÄÏŸÁNWbGDK_SELECTION_CLEARGdkScrollDirectionG_SIGNAL_RUN_CLEANUPGdkGCsize_tGtkImageIconSetDataGDK_DESTROY_GArrayGTK_RC_BASE_GtkDialogVid_ClearBuf_AuxKEY_HOMEblue_shiftgdoublegrabsG_PARAM_PRIVATEGDK_SETTING_ACTION_CHANGEDctrlbreakownerred_maskGTK_IMAGE_GICONGSList__jmp_buf_tagGDK_GRAB_BROKENG_TOKEN_RIGHT_CURLY__fmtsintabmnemonic_keyvalG_TOKEN_EOFparent_instanceVid_UnsetModemotion_GtkAccelGroupEntrykeyvalinput_buffern_accelshide_callbackaction_area_IO_save_endpathis_activeG_PARAM_STATIC_NICKhomogeneousGdkEventKeyhboxGDK_PROXIMITY_OUTGtkImagePixbufDatamnemonic_modifierin_marshalGDK_OWNER_CHANGE_NEW_OWNERGDK_AXIS_YTILTGdkCrossingModeGdkPixmapgreen_precGTK_IMAGE_ICON_SETconfoptionswindowGDK_SELECTION_NOTIFYabout_windowGdkByteOrderGTK_IMAGE_STOCKGDK_SCROLL_MASK_IO_write_baseinittedGDK_LEAVE_NOTIFYfont_desc_GtkBoxstatepriv_accelsGTK_ICON_SIZE_BUTTON_GtkImageIconSetDatais_invalidGDK_OWNER_CHANGE_CLOSEts_y_originGDK_RELEASE_MASKproperty_cachedirectionGTK_RC_TEXTGDK_DRAG_PROTO_XDNDPLAYMODE_NOVICEGDK_VISIBILITY_NOTIFYGDK_SOURCE_PEN_shortbuftypeGDK_VISIBILITY_PARTIAL_GtkStyleGIconscreen_IO_save_base_GdkVisual_filenoimplicit/home/jesse/Code/sopwith-1.7.4/src/gtklightcolormapsptrmischas_frameGDK_SUPER_MASKstick_initiallyGdkAxisUsecallbackv_uint64_chainGDK_DRAG_PROTO_LOCAL_GdkEventNoExposeGdkDeviceGTypeGDK_HYPER_MASKVid_SetMode_cur_columngdk_key__mask_was_savedGDK_WINDOW_STATE_WITHDRAWNGtkIconSizebase_gcGdkDragContextts_x_originGDK_CROSSING_GTK_UNGRABGDK_DRAG_PROTO_ROOTWIN_GdkDevicegetpixelGDK_WINDOW_STATE_MAXIMIZEDGdkEventFocusatomGtkItemFactoryCallbackG_PARAM_STATIC_NAMErequestorg_argcbuild_guimodal_GdkRectanglesource_windowtext_aa_gcicon_factoriesGTK_IMAGE_EMPTY_GdkEventProximityGClosureNotifysubwindow_gcsVid_GetCtrlBreakVid_GetPixellong intGdkEventAny_GtkAccelGroupGDK_WINDOW_STATE_ICONIFIEDGDK_DRAG_MOTIONGDK_FONT_FONTSETGDK_BUTTON_PRESS_MASKtargets_GtkBinGDK_VISUAL_GRAYSCALEpitchblue_maskGdkEventPropertyv_longgrab_windowguint16GdkBitmap_IO_marker_GtkImagePixbufDataaccel_modsGdkEventmessage_type__jmpbufg_type_instance_GtkImageIconNameDatainput_buffer_tailcolorsderivative_flagGDK_AXIS_XGDK_AXIS_Ywmclass_namedataG_TOKEN_IDENTIFIER_NULLGDK_MODE_DISABLED_GdkEventGDK_MODIFIER_MASK_GdkEventDNDKEY_PULLUPGDK_META_MASK_GtkMiscglongGDK_CONTROL_MASKdestroy_with_parentPLAYMODE_SINGLEsigned charattach_countmaximize_initiallymnemonic_widgetg_class_IO_FILEdata_formatGDK_AXIS_XTILTctrldownframe_rightfocus_widgetactionpattern_setGtkImageGIconDatacontextblueG_TOKEN_LASTGDK_KEY_RELEASEconstructedGDK_PROXIMITY_IN_MASKGdkEventSelectionplaymodeguint32unsigned charinput_buffer_popGDK_NOTIFY_ANCESTORcrossingGDK_BUTTON1_MOTION_MASKvisibility_GdkPixbufAnimationselectionref_countGArrayGDK_BUTTON2_MOTION_MASKrc_styleGDK_ENTER_NOTIFY_MASKGDK_ENTER_NOTIFYtransient_parent_GdkFontGDK_VISUAL_PSEUDO_COLORGdkWindowStateVid_DispGround_SolidVid_SetBufGdkNativeWindowPangoAttrList_GList_GObjectmodifiersstorage_typeGTypeClasspixelspropertyvalueis_modifierGdkEventClienthas_focusdetailNUM_KEYSGDK_BUTTON3_MASKcharGDK_SETTING_ACTION_DELETEDythicknessclientKEY_FLIPGDK_PROXIMITY_OUT_MASKTRUEbg_pixmapPLAYMODE_COMPUTERnamedepressed_GdkEventVisibilitybutton_downaccel_key_IO_lock_t_GtkIconSetgravityframe_leftacceleratorGDK_NOTIFY_INFERIORlong long unsigned intlong doubleGtkMiscGdkRegiongiconsourcesubwindowPLAYMODE_ASYNCHKEY_MISSILEcolor_flagsuse_underlineflags_GdkGC_GtkObjectypad_IO_read_ptrdouble_GtkWindowGeometryInfohas_user_ref_countitem_typeascentselect_infoattrssettings_dialogGDK_VISIBILITY_NOTIFY_MASKGDK_AXIS_WHEELGdkDeviceKeyicon_nameinconsistentG_TOKEN_HEXwindow_state_posstdinGtkAccelKeyGData_GdkEventOwnerChangeGDK_POINTER_MOTION_MASKG_TOKEN_RIGHT_PARENGtkLabelSelectionInfogshortGdkSettingActionscreen_widgetgetcolorGTK_ICON_SIZE_SMALL_TOOLBARtextGDK_BUTTON2_MASKmodifier_maskGTK_WINDOW_POPUP_GtkWindowGDK_VISUAL_STATIC_GRAY_GtkContainerv_pointergint64_markersscrollimagestockprivate_flagsVid_UpdateScaledGdkFontGDK_2BUTTON_PRESSGDK_VISUAL_DIRECT_COLOR_GSListGDK_DRAG_STATUSGDK_WINDOW_STATE_STICKYGDK_NO_EXPOSE_nextGObjectprintfguint8GdkVisibilityStateobjectin_buttonGDK_SOURCE_MOUSEGDK_WINDOW_STATEGDK_VISUAL_STATIC_COLORGdkEventWindowStateVid_DispSymbolactiveis_hint_GtkWindowGroupGDK_MSB_FIRSTfg_gcVid_ResetGDK_DROP_STARTG_SIGNAL_RUN_FIRSTnew_window_statedepress_on_activateGTK_IMAGE_PIXMAPGDK_UNMAPchanged_maskGDK_SCROLLaccel_path_quark_offset_GdkEventAny_GdkPixbufG_TOKEN_STRINGGdkNotifyTypeG_TOKEN_LEFT_PAREN_GtkImageGIconDatareallocate_redrawsenvrestartGDK_BUTTON3_MOTION_MASK_GIconicon_setGQuark_GdkEventSelectionbuild_about_windowGDK_MOD2_MASKdata_widgety_rootGDK_LEAVE_NOTIFY_MASK_GtkItemFactoryG_PARAM_LAX_VALIDATIONselection_timeclosureGDK_CLIENT_EVENTstylesGDK_MOTION_NOTIFYdark_gcexposure_gcsKEY_ACCEL_GtkImageAnimationDataGRNDTYPElong unsigned intGDK_PROPERTY_CHANGE_MASKGDK_MODE_SCREENget_gtk_eventsauxdispGDK_AXIS_LASTowner_changeGTK_ICON_SIZE_INVALIDv_intKEY_STARBURST_flags2targetGdkEventConfigureg_type_IO_read_base_GtkImageImageDataconfigurered_shiftGdkScreenvboxneed_default_positionGtkWindow_unused2__quad_tvbox2has_cursordescentbest_GdkDragContext_PangoFontDescriptionxthicknesssettingn_guardsVid_CopyBufacceleratablesGDK_SCROLL_RIGHTGDK_MOD1_MASKgroupGtkButton_GtkToggleButtonGdkEventExposeexposeGDK_ACTION_LINK_old_offsetclip_x_originGDK_NOTIFY_NONLINEARGDK_CROSSING_UNGRABgconstpointerGDK_AXIS_PRESSUREGDK_VISIBILITY_FULLY_OBSCUREDGdkColormapgrab_brokenGDK_MOD3_MASKv_floatsingle_line_modeGDestroyNotifyGdkVisualinit_colormap_GtkItemFactoryEntryGDK_SELECTION_REQUESTGDK_NOTIFY_NONLINEAR_VIRTUALGDK_SUBSTRUCTURE_MASKGTK_ICON_SIZE_DIALOGdescriptionG_TOKEN_CHARkeys__chprotocolGClosureNotifyData_PangoAttrListmaskVid_BoxGDK_NOTIFY_VIRTUALGDK_BUTTON5_MASKGdkEventGrabBrokenGDK_SETTING_ACTION_NEWred_preckeyboardeventwidth_GdkEventWindowStatev_uintG_TOKEN_COMMENT_MULTIpixmapgushortGTK_JUSTIFY_RIGHTGDK_DAMAGExalignGDK_WINDOW_STATE_ABOVEdiff_GdkEventSettinglock_countG_PARAM_WRITABLErc_propertiesGDK_SOURCE_CURSORresize_modehave_transformchildPLAYMODE_UNSETGTK_IMAGE_ICON_NAMEGTK_IMAGE_ANIMATION_IO_write_endmarshalGDK_DRAG_PROTO_WIN32_DROPFILESguint64depthgptrgbooleanlayoutframeframe_bottom_GdkDeviceKeyaccel_flagsclosedvid_fullscreencairo_font_options_t_GdkEventFocusGDK_SHIFT_MASKGDK_ACTION_COPYsopkey_tGDK_ACTION_MOVE_GdkScreenellipsizeGDK_KEY_PRESSguintmenu_itemsGDK_EVENT_LASTGtkIconSetfloatGtkRcFlagswm_roleVid_Inittheme_change_idcountdispoffGDK_SETTINGGDK_BUTTON_PRESSuse_stockprivate_font_descGtkImageStockDataiconify_initially_IO_buf_basedecorated_GtkWidgetCONF_BOOLwhite_gcstringGDK_KEY_RELEASE_MASKGDK_OWNER_CHANGEunsigned intsettings_bool_togglePangoFontDescriptionVid_PlotPixelnum_menu_itemsnew_gameGtkRcStylenormal_gcsmnemonic_windowGDK_MOD5_MASKnum_axesGdkColorVid_DispGroundsopsym_ssopsym_tGTK_WINDOW_TOPLEVELpositionv_ulong__pad1__pad2__pad3__pad4__pad5buttongreen_masktranslate_notifyGtkImageImageData_GdkDrawableG_TOKEN_RIGHT_BRACEGtkWindowGroupyalignG_SIGNAL_NO_HOOKSv_int64draw_indicator_GdkEventClient_cairo_font_optionslight_gcGTK_ICON_SIZE_MENUbits_per_rgbplaymode_tneed_resize_GtkRequisition_GdkColormapconfigure_notify_receivedtrack_linksGdkPixbuf_GdkEventConfiguremid_gc_flagsGTK_JUSTIFY_CENTERGdkRectangle_GValueitem_factoryGDK_CROSSING_GTK_GRAB__saved_mask_modefocus_on_clickextra_dataaxes_GdkEventGrabBrokenG_TOKEN_COMMAGdkEventScroll_GDataGDK_SOURCE_ERASERGtkRequisition__jmp_bufareaGInitiallyUnownedsend_event_GdkDeviceAxiswidgetconfoption_tallow_shrinkactionstranslate_funcGdkImageTypeGDK_CONFIGUREFALSEnextGDK_ACTION_ASKGDK_DRAG_PROTO_MOTIFGdkEventDNDGDK_MAPgpointerstock_idclip_y_originG_TOKEN_LEFT_BRACEVid_ClearBufGDK_SCROLL_LEFTg_argvgint8G_TOKEN_FLOATinput_buffer_headGdkPixbufAnimationIterFILEstyleG_PARAM_CONSTRUCTGtkItemFactoryEntryGtkWidgetGDK_BUTTON_RELEASEtranslate_keyGDK_ALL_EVENTS_MASK_GdkEventExposenum_confoptionshas_focus_chainGTK_IMAGE_IMAGEGtkAllocationGtkWindowGeometryInfoCONF_INT_GTypeClassfocusnotifytitleflgaccel_groupdevicesizeis_sourceGDK_VISIBILITY_UNOBSCUREDGdkEventSettingGdkModifierTypevideo.clengthframe_top__off_tscreenbufGDK_MODE_WINDOWdelete_eventGDK_ACTION_DEFAULTeffective_attrsGDK_WINDOW_STATE_BELOWGDK_BUTTON1_MASKsaved_state_GtkLabelG_TOKEN_OCTALallow_growGdkDragProtocolborder_widthGDK_CROSSING_GRABGDK_DROP_FINISHED_GtkImageStockDataanimreasonGTypeInstancemenubargeometry_infoGDK_IMAGE_FASTESTtext_aaG_PARAM_STATIC_BLURBGtkObjectG_TOKEN_LEFT_CURLYGTK_JUSTIFY_LEFTkey_snoopermemsetuse_markupGDK_STRUCTURE_MASKGDK_BUTTON_MOTION_MASKneed_default_sizeregionGDK_SCROLL_DOWNGdkPixbufAnimationiconkeysdown_IO_backup_baseGDK_POINTER_MOTION_HINT_MASKcallback_actionGtkStyleGDK_AXIS_IGNOREwindowing_databg_pixmap_nameGDK_OWNER_CHANGE_DESTROY_GdkAtomdefault_widgetframe_timeoutGDK_NOTIFY_UNKNOWNGDK_3BUTTON_PRESStime__off64_tG_TOKEN_SYMBOLGTK_JUSTIFY_FILLKEY_SOUNDGTK_RC_BGvid_vramGTK_ICON_SIZE_DNDjmp_bufGDK_WINDOW_STATE_FULLSCREENvid_double_sizePangoLayoutblue_precGtkImageAnimationDatabuild_menusGtkBin_GtkImagex_rootnum_keysGdkEventCrossingGDK_SCROLL_UP_GdkColorblacktranslate_data_IO_buf_endsptr2private_font__destrc_style_listsGtkImagePixmapDatagint16GdkInputSourcev_doubleGtkContainergfloatxpadVid_UpdateUnscaledfprintf__src_GdkEventMotionKEY_PULLDOWNpixel_GTypeInstancewhiteGTK_IMAGE_PIXBUFG_TOKEN_INTn_inotifiersfunc_datastderrshort intgcharreliefGDK_EXPOSEGDK_KEY_PRESS_MASKGClosuremodeG_TOKEN_IDENTIFIERresolutionfloatingGValuetranslatedGdkEventMotionGDK_MOD4_MASKGtkAccelGroupEntry__streamwrap_mode_GtkAccelKey_GClosure_vtable_offsetgreen_shift_GdkImageGTK_ICON_SIZE_LARGE_TOOLBARGdkOwnerChange_GdkEventKeyGdkEventVisibilityGDK_DRAG_PROTO_OLE2callback_dataG_SIGNAL_NO_RECURSEiterjtypespacingfocus_change__valGdkAtomwrapGdkEventButtonVid_GetKeyGDK_PROPERTY_NOTIFY_GdkEventButton_GdkRegionGdkVisualTypeVid_ShutdownGDK_FOCUS_CHANGE_MASKGtkTranslateFuncbits_per_pixelGdkFontTypetype_hintVid_XorPixelmemcpyG_TOKEN_NONEsymbolicon_sizeGDK_BUTTON4_MASKbyte_orderitemsmeta_marshalGDK_DELETEinput_buffer_push_IO_read_end_sbufGDK_IMAGE_NORMALGDK_NOTHINGGDK_VISUAL_TRUE_COLORGtkAccelGroupactivate_timeoutGDK_LSB_FIRSTG_TOKEN_COMMENT_SINGLEcolormap_sizegulongallocationGtkItemFactorylong long intevent_windowGTK_RC_FGKEY_DECELG_TOKEN_ERRORno_exposeGDK_LOCK_MASKengine_specifiedn_fnotifiersGDK_DRAG_ENTERGdkDeviceAxisVid_UpdatecontainerGDK_CROSSING_NORMAL_lock_GtkImagePixmapDatanotifiersKEY_UNKNOWNgsizedarkgint_GtkButtongreenchildrenrequisition_GdkEventCrossingG_TOKEN_EQUAL_SIGNGDK_IMAGE_SHAREDhardware_keycodeGDK_DRAG_PROTO_NONEGDK_CROSSING_STATE_CHANGEDtitleGtkImageTypestart_timeshort unsigned intstdout_GClosureNotifyDatavisual_GdkEventPropertyG_PARAM_CONSTRUCT_ONLYtext_gcpixels2basewmclass_classGNU C 4.4.3pixbuf_IO_write_ptrblack_gcseparator_GdkEventScrollG_TOKEN_BINARYkeys_changed_handlerconfigure_request_countBOOLvid_pitchlabelGListparentgetevents_GtkLabelSelectionInfoGdkEventNoExposeG_SIGNAL_ACTIONGdkEventTypeGdkEventOwnerChangeKEY_FIREGdkWindowVid_SetBuf_AuxGdkImagein_inotifyGtkImageIconNameDatalabel_textGDK_ACTION_PRIVATEGDK_FONT_FONTdest_windowsuggested_actionGDK_BUTTON_RELEASE_MASK__lenG_PARAM_READABLEGdkEventProximity_PangoLayout__sigset_tGDK_PROXIMITY_INqdatahas_toplevel_focusfocus_childin_clickGDK_EXPOSURE_MASKG_SIGNAL_DETAILEDproximityKEY_BOMBprevbg_gcGdkInputMode_GtkRcStyleG_SIGNAL_RUN_LASTGDK_FOCUS_CHANGEGdkDragActionfont_optionsbuild_settings_dialogheight_GdkPixbufAnimationIterGDK_DRAG_LEAVEGCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3ÿÿÿÿ| ˆAG… E†‡Cƒ PAH… G‡D†Cƒà&AM… %AG… @!AM… pöAB… Hƒ†‡pFB… €·AE… @AD… PAB… Sƒ†`6AB…  †AB… R‡†ƒ0AB… P AB… `îAB… LƒJ‡†P "AB… € OAB… JƒÐ AB… e‡†ƒà ÌAB… Tƒ†‡°>AB… ð!AB…  AB… @0AB… pòAB… Sƒ†‡p0AB…  _AB… GƒIAB… P+AB… €^AB… Iƒ†‡à_AB… bƒ.symtab.strtab.shstrtab.rel.text.rel.data.bss.debug_abbrev.rel.debug_info.rel.debug_line.rodata.str1.1.rodata.str1.4.debug_loc.rel.debug_pubnames.rel.debug_aranges.debug_ranges.debug_str.comment.note.GNU-stack.rel.debug_frame@? hÎ )€p % xØ/€ 4lFl$GB ˆÙ-Vfˆ R  b2puq2q€§s›Bƒ¶‹ ˜£ø„ Ÿ  ²…ÀÀ0؆á/Ë0¹¶$Ôݶèà¶Dä °à$ºõT¿@, ”ÇÑñÿ (€·  P+0249G †TaP n0|`îŒ ™ _®P "·€ OÃ$Òä€ñûÐ   P8@@&,0  BQòÿ[Ppà&~%‹@!˜pö§p²òÿ»@ÄÔêø3AF`6U]dtƒš®Íáö "0CYn’¬¼ÉÖæò-JU^lu|Š¢à Ì«²¹ÂÑçû&D_{‰¡·É°>ÖÝìñð!) :@0EpòPp0Zw†‘I¢©P+¶€^¾à_Êvideo.cdispofftranslate_keyVid_SetModewindowscreenscreen_widgetabout_windowwindow.43566delete_eventhide_callbacksettings_dialogwindow.43501settings_bool_togglenew_gamekey_snooperctrldown.43613input_buffer_tailinput_bufferctrlbreakgetcolorinittedmenu_itemsmenubarcolorsscreenbufinput_buffer_headVid_DispGroundvid_pitchVid_DispGround_SolidVid_PlotPixelVid_XorPixelVid_GetPixelVid_DispSymbolVid_SetBufvid_vramgetpixelvid_double_sizegtk_widget_get_visualgdk_image_new__printf_chkgtk_image_get_typeg_type_check_instance_castgtk_image_setexitVid_SetBuf_Auxauxdispmallocgtk_widget_showgtk_dialog_newgtk_container_get_typegtk_dialog_get_typegtk_container_set_border_widthgtk_window_get_typegtk_window_set_titlegtk_object_get_typegtk_signal_connect_fullgtk_label_newgtk_label_get_typegtk_label_set_justifygtk_label_set_markupgtk_box_get_typegtk_box_pack_startgtk_button_new_from_stockgtk_widget_hidegtk_vbox_newgtk_hbox_newnum_confoptionsconfoptionsgtk_check_button_new_with_labelgtk_toggle_button_get_typegtk_toggle_button_set_activeenvrestartplaymode__longjmp_chkkeysdownstderr__fprintf_chkgdk_colormap_get_systemVid_Initg_argvg_argcgtk_initgtk_window_newgtk_window_set_policygtk_accel_group_newgtk_menu_bar_get_typegtk_item_factory_newgtk_item_factory_create_itemsgtk_window_add_accel_groupgtk_item_factory_get_widgetgtk_image_newgtk_key_snooper_installgtk_widget_set_eventsgtk_container_addVid_Shutdownatexitg_object_unreffreeget_gtk_eventsgtk_main_iteration_dogtk_events_pendingVid_GetCtrlBreakVid_GetKeyVid_UpdateVid_Resetgtk_toggle_button_get_activevid_fullscreenswsaveconfVid_ClearBuf_AuxmemsetVid_ClearBufVid_BoxVid_CopyBufmemcpy-!=-…-“-œÅ-ã÷-!-*HT-‘-œø-V-q4zY_6t67£8ªÄ ×9Üéò:ø;<, 89B N9Z=g?pz-†@‹?±ÑBØCßDî;;EF!;) 1G6HD;px €IŒ;¸À ÈIÔJÛKê;úL ; MN0;E;iOqAx }PŽ;£;ÇOÓ;ÿ IAk}A‘B˜D§;¬F¸;À ÈGÍHÜ; I';S[ cIwRŽR¥S­N¿;æOø; O. ;C ;j Op T} U™ V¸ ;Ü Oé Wõ ; X ;H P  X I` Al T€ A‹ A– A¥ ;²  · PÈ ;ì Oû ;' /  7 I? AE d Yi Zn [¾ \Í æ \  ) 9 @ O Y ` k y ‚  ” ]œ  ¬ ^¸ = Ú Y _ë \ab#c/d6;FI;ie‚R‰f‘gœ ¨h¸ÊiÏÛ;êjõ úkÿl :%;<<KPmV^Nl;“O™¨;ÏOÔänéñAöþAA C;(o-H8@;p=x €I…‘;Á=É ÑIÖâ;ê òGüA A$8Rbv@|-†‘p–›4 q¸ÉÑrÖÞsäuv't,GtMU^j{ˆ6•Ù:âê;<:z—Á×'O“×`?xö/w‰‘r«Wº;Â{Í|Ú6ñz?-)2->@C?X-m4u‘—-ÇÍ-é-þ4 -4)?5ƒÉA>QXQ tœyæ}û}  0 8 H P Xh p€  ˜  ° À È ÐØ Ü à ð ø =    ( 08 < @ P X ` (((!&(3(:(A(H(O(V(d(k(p({(ˆ((¥(ª(µ(Á(Ð(ß(î(ý( ((*(9(H(W(f(u(„(“(¢(±(À(Ï(Þ(í(ü( (()(8(G(V(e(u(|(ˆ(–(¤(ø((A(G(N(Y(t(€(Ž(œ(«(Æ(Ñ(Ý(((($(*(1(<(b(h(n(t(z(€(†(Œ(’(˜(ž(¤(ª(±(Ä(Ê( ((%(3(B(M(X(c(n(y(„((š(§(¬(·(Â(Í(Ø(ã(î(ù((((!(,(7(_(j(v(™(¦(±(½(Ë(Ù(î(ù(ÿ( (($(A(G(M(S(Z(a(h(o(u({(‚(‰((—(ž(¥(¬(³(º(Á(È(Ï(Ö(Ý(í(ò(þ( ((%(4(@(M(](i(v(¥(°(»(Æ(Ñ(Ü(ç(ò(ý(! (' (- (3 (9 (? (E (K (R (Z (e (q (‚ (“ (¤ (µ (Æ (× (è (ù ( ( () (7 (F (Q (] (k (z (à (æ (ì (ò (ø (þ ( ( ( (# (1 (? (N (Y (d (| (ˆ (” (Ÿ (¥ (° (¼ (Ç (Ó (Þ ( ( ( (0 (6 (A (L (X (t (‚ (‘ (œ (¨ (¶ (Ä (Ò (à (ï (ú ( ( (" (1 (< (H (V (d (r (€ (Ž ( (¨ (´ ( (Ð (Þ (ì (ú ((2(N(\(k(v(|(‡(“(¡(¯(½(Ë(Ù(ç(õ((((-(;(I(W(f(r((Œ(—(¢(­(º(È(Ù(ç(ö(((,(2(9(L(R(X(^(d(j(p(w(~(…(Œ(“(š(¡(ª(´(¾(È(Ó(ê(õ((((+(9(G(U(c(q(((¤(ª(°(¶(¼(Â(É(Ü(â(è(î(ô(ú((((#(/(=(L(W(Ž(™(¥(³(Á(Ï(Ý(ë(ù(((,(2(8(>(E(X(^(d(k(~(„(Š((–(œ(¢(¨(¯(Æ(Ñ(Ý(ì(û( (("(1(@(O(^(m(}(ˆ(”(£(²(Â(Í(Ù(è(÷(((!(-(<(K(Z(ƒ(’(¡(°(¿(Î(Þ(é(õ((("(K(Z(i(x(‡(–(¦(±(½(Ì(Û(ê(("(1(@(O(_(j(v(…(”(£(²(Á(Ð(ß(î(ý( ((*(6(E(T(r(}(‰(˜(§(¶(Å(î(ý( ((*(9(I(T(`(o(~(§(¶(Æ(Ñ(Ý(ì(û( ((((8(C(O(^(m(|(‹(š(©(¸(È(Ó(ß(î(ý( ((*(9(H(X(c(o(~((œ(«(»(Æ(Ò(á(ð(ÿ(((-(8(D(S(b(q(€((ž(®(¹(Å(Ô(ã(ò((((((7(F(U(d(t((‹(š(©(¸(Ç(Ö(æ(ñ(ý((!(-(9(E(Q(i(u(((™(¥(±(½(Õ(á(í((((( (&(,(2(8(>(D(J(P(V(\(b(h(n(t(z(€(†(Œ(’(˜(ž(¤(ª(°(¶(¼(Â(È(Î(Ô(Ú(à(æ(ì(ó( ( ( ( ( ($ (+ (2 (9 (@ (G (N (U (] (e (m (u (} (… ( (– (Ÿ (± (· (½ (Ä (× (Ý (ã (é (ð (!( !(!(!(!(!!((!(;!(A!(G!(M!(S!(Y!(`!(s!(y!(!(…!(‹!(‘!(—!(Ÿ!(²!(¸!(¾!(Å!(Ú!(à!(æ!(í!({"(†"(Œ"(—"("(¨"(Ô"(Ú"(á"(ô"(ú"(#(#( #(&#(,#(2#(8#(>#(E#(X#(^#(d#(j#(p#(v#(|#(ƒ#(–#(œ#(¢#(¨#(¸#(¾#(Å#(Ð#(Ü#(ê#(ø#($($("$(1$(<$(H$(V$(d$(v$($(›$(©$(Ä$(Ï$(Û$(é$(ø$(%()%(6%(^%(m%(‹%(š%(©%(¸%(Ç%(Ö%(å%(ô%(&(&(!&(0&(?&(N&(]&(l&({&(Š&(™&(¨&(·&(Æ&(Õ&(ä&(ó&('('( '(0'(;'(H'(V'(d'(r'(€'(¨'(·'(Æ'(Õ'(ä'(ó'((((($((/((5((@((L(([((j((y((ˆ((—((¦((µ((Ä((Ó((-)(3)(9)(?)(F)(q)(})(Š)(™)(©)(µ)(Ð)(Þ)(ì)(ú)(*(*($*(2*(@*(N*(\*(j*({*(Œ*(*(®*(¿*(Ð*(á*(ò*(+(+(%+(6+(G+(X+(i+(z+(‹+(œ+(­+(¾+(Ì+(Ú+(é+(ø+(,(,(&,(8,(C,(O,(],(k,(|,(,(ž,(¯,(Á,(Ì,(Ø,(æ,(õ,(-(-(-(-(+-(L-(X-(f-(u-(„-(”-(Ÿ-(«-(¹-(Ç-(Õ-(ã-(ò-(þ-( .(.(+.(<.(M.(^.(o.(€.(‘.(¢.(³.(Ä.(Õ.(ã.(ñ.(ÿ.( /(/()/(7/(F/(Q/(c/(o/(}/(‹/(™/(«/(·/(Å/(Ó/(á/(ï/(þ/( 0(0($0(/0(;0(J0(U0(a0(p0({0(‡0(–0(¡0(­0(¼0(Ç0(Ó0(á0(ï0(þ0( 1(1(#1(11(@1(K1(W1(e1(s1(œ1(¢1(¨1(®1(´1(º1(À1(Æ1(Ì1(Ó1(æ1(ñ1(ü1(2(2(2((2(32(?2(J2(d2(r2(€2(Ž2(Ÿ2(°2(Á2(Ò2(ã2(ô2(3(3((3(43(B3(S3(d3(v3(3(Œ3(˜3(¦3(´3(Â3(Ð3(Þ3(ì3(ú3( 4(4( 4(.4(<4(J4(X4(f4(v4( 4(­4(¿4(Í4(ß4(ê4(ý4(5(,5(55(>5(X5(y5(Š5(–5(¿5(Ë5(ô5(6(16(=6(i6({6(†6(‘6(ž6(°6(»6(Æ6(Ó6(Ú6Þ6â6$ë6(õ6$7(!7$/7$=7$J7(Q7U7Y7$b7(l7$z7(„7$‘7$ž7$¹7(À7Ä7È7$÷7(8 88$98(D8H8L8$m8(z8(8…8‰8$š8$§8$¬8(¶8$Å8$Ê8(Ô8$Ù8(ï8$ý8$ 9$9$9(*9'39(>9B9O9$V9'_9(j9n9‚9†9œ9 9®9(´9¸9¼9$Á9(Í9Ñ9Õ9$Þ9(é9$ð9(ü9::$(:(/:3:7:$I:$W:$\:(g:$l:(|:€:–:š:°:´:Ä:(Ê:Î:Ò:$×:(ç:(ò:(ý:( ;(;;;$";(1;(@;(O;(\;e;i;q;u;~;$‡;$;$˜;(Ÿ;£;§;$°;(¾;(Ì;(Ø;(ß;ã;ç;$ð;(þ;( <(<(+<(6<(A<(L<(W<(l<(y<(<ƒ<‡<$<(œ<¥<©<°<´<½<$Î<$×<$à<$é<$î<ò<û<$=( ===$=(*=(8=(G=(S=W=[=$d=(s=(~=$ƒ=(=$¢=(¯=´=(¿=$È=Ì=â=æ=ü=>>>.>(:>>>B>$T>$b>$p>$~>$Œ>$‘>•>š>(¥>$³>$¸>(Î>Ò>?(?("?(/?(@?(L?(X?(l?(s?w?{?$?$?$¦?ª?¶?º?È?Ì?Ô?Ø?á?$û?ÿ?@ @@( @$@(@$5@9@C@(J@N@R@$X@(c@g@k@$x@|@†@(‘@•@™@$°@´@À@Ä@Ì@Ð@Ù@$á@(A(A(A(HA(TA(}A(‰A(ºA(ÆA(ìA(óA÷AûA$B(BB'$B'-B$;B$@BDBWB'`B$iB$nB'wB$BƒB–B'ŸB$¨B$¯B³BÆB'ÏB$ØB$ßBãBòB'ûB$C$CC'C'&C$4C$9C=CPC'YC$bC$iCmC€C'‰C$’C$™CC°C'¹C$ÂC$ÇC'ÔCØCçC'ðC$ùC$D( DDD$ D$D-D(4D8D $ >  I: ; I$ >   : ;  : ;I8 : ; : ; I8 I !I/ .? : ; .? : ; ' @: ; I.? : ; @.1@: ; I 4: ; I1X Y 4: ; I 4: ; I? < !4: ;I? < 6ðü²ê int9åSÓRd$i72IØ>8|™ ìWŽŠ3”-w {,# ¥3# ª3# Å3# 3# m3# I3# ‚3# Ù3# â3#$ ¡3#( < 3#, ¡"µ#0 |$»#4 a&,#8 ·*,#< ,•#@ õ0`#D Ó1n#F |2Á#G æ6Ñ#H e?§#L ýHµ#T †Iµ#X Jµ#\ Kµ#` LG#d ¿N,#h œP×#l ´q ºµ ÷»µ# ¼»# À,#~· 9Ñ ²w 9ç ²'lUVN“V`,–cPzKç€w s¨£ê~°µÏ¢ÀêûÌ.¢,‘.¢,‘ƒ¤,&¥,“©,çÞè´Z%,Ë&îÅ·q,±‘»’» ,+' é¡û /usr/lib/gcc/i486-linux-gnu/4.4.3/include/usr/include/bits/usr/include..pcsound.cstddef.htypes.hlibio.hstdio.hsw.hÖfK^;ŸuzJŸ£O¸=ŸYŸ‡=ŸAW=NŸ£<Í(xX6x.DCÇžD¬Fª‘IttNu‘NPP]t]_t_zu€tƒtƒu–t–˜t˜¨u°±t±³t³µuÀÁtÁÈtÈêux:ðSpeaker_OutputSpeaker_On-Speaker_Off>Speaker_ShutdownRSpeaker_InitfSpeaker_Soundê__quad_tSpeaker_ShutdownSpeaker_Offendtimefreq_IO_FILE_IO_save_endshort intsize_tspeaker_on_offset_IO_write_ptr_flags_IO_buf_basedoubleSpeaker_On_markers_IO_read_endsound_inittedfloatcurrent_freqlong long int_locklong int_cur_column_pos_sbuf_old_offsetlong doubleunsigned charsigned charlong long unsigned intSpeaker_Outputunsigned int_IO_marker_shortbuf__pad2_IO_write_base_unused2_IO_read_ptr/home/jesse/Code/sopwith-1.7.4/src/gtk_IO_buf_endcharSpeaker_Init_next__pad1Speaker_Sound__pad3__pad4__pad5sintabdurationlong unsigned int_IO_write_end__off64_t_filenoshort unsigned int_chainduration_clockscount__off_t_IO_backup_basestdin_flags2_mode_IO_read_base_vtable_offset_IO_save_baseGNU C 4.4.3pcsound.cstdout_IO_lock_tGCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3ÿÿÿÿ| ˆNAB… P*MB… €AB… FB… °AB… À*AG… .symtab.strtab.shstrtab.rel.text.data.bss.debug_abbrev.rel.debug_info.rel.debug_line.rodata.cst4.debug_loc.rel.debug_pubnames.rel.debug_aranges.debug_str.comment.note.GNU-stack.rel.debug_frame@ê üp%,+000PB€:> l(RºíN ”^¨k°'z×|v œ ŽS Š ¤0s ¨0‹ $±¯ Ű ¤Á ´`T Òè xƒñÿ #   1N@P*K€Wh°uÀ*pcsound.cspeaker_oncurrent_freqsound_inittedSpeaker_OutputSpeaker_OnSpeaker_OffSpeaker_ShutdownSpeaker_InitSpeaker_Sound$ * 0:DTap…‘žÚà !(<CHU\cjqx†‹–£¨¸ÄÓâñ-<KZix‡–¥´ÃÒáðÿ,;JYhx‹™§éòùý  !%) 26: @FJN TZ^b hosw €Žœ§²ÁÅÍÙÞêñö,®04HL`dx|”timer.o/ 1283729584 500 500 100644 5032 ` ELFx 4(U‰åƒìÇD$Ç$èüÿÿÿÉÃt&U‰åSƒì$EðÇD$‰$èüÿÿÿ‹MôºÓMb+ ‹]ð+ƒÄ$‰È÷êiÛèÁùÁú)Ê[]Ãt&U‰åƒìÉéüÿÿÿ% $ > $ > : ; I$ >   I : ;  : ; I8 : ;I8 : ; I !I/ .? : ; @.? : ; I@4: ; I 4: ; I.? : ; ' @: ; I 4: ; I? < !4: ;I? < Ê‘ƒl|çßòõ2int‹8V2z«×Žd•z—z­Ÿ*FÝ G# :Hš#<Ó3 ”-¨ YO# _§# v§# f§# G§# K§# §# `§# “§# ƒ§#$ B§#( % §#, m"æ#0 #$ì#4 &O#8 X*O#< Ë,o#@ ´0,#D t1A#F 52ò#G ¥6#H C?#L ªH¥#T ±I¥#X ¸J¥#\ ¿K¥#` ÆLÝ#d `NO#h VP#l ²´* ºæ ¤»æ# żì# ÀÀO#¯è ­ Œ¨ ­ Œ'Ô4$O l,a?&´‘hms'O™/p|X‰/O‘á ´R‘ì«’ì O¿Í´Î©û /usr/include/bits/usr/lib/gcc/i486-linux-gnu/4.4.3/include/usr/include..timer.ctypes.htime.hstddef.hstdio.hlibio.hsw.h4g=nfx*8Nwhttu !t!#t#lupqtqsts|u=ÎTimer_Init,Timer_GetMSaTimer_Sleep|__quad_t_IO_FILETimer_GetMStv_sec_IO_save_endshort intsize_t_offset_IO_write_ptr_flags_IO_buf_base_markers_IO_read_endtimer.clong long intTimer_Sleep_locklong int_cur_column_pos_sbuf_old_offset__off64_tstartunsigned charsigned charlong long unsigned intusecunsigned int_IO_marker_shortbufnowtime_IO_write_base_unused2_IO_read_ptr/home/jesse/Code/sopwith-1.7.4/src/gtk_IO_buf_endchar_next__pad1__pad2__pad3__pad4__pad5sintabTimer_Initshort unsigned intlong unsigned int_IO_write_end__time_t_fileno_chaintimeval__off_ttv_usec_IO_backup_basestdin_flags2_mode_IO_read_base_vtable_offset_IO_save_baseGNU C 4.4.3__suseconds_tstdout_IO_lock_tGCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3ÿÿÿÿ| ˆAB…  LAB… Rƒp AB… .symtab.strtab.shstrtab.rel.text.data.bss.debug_abbrev.rel.debug_info.rel.debug_line.debug_loc.rel.debug_pubnames.rel.debug_aranges.debug_str.comment.note.GNU-stack.rel.debug_frame@| ¨0%¼+¼0¼-BéÎ> Ø€R·ÒN X^‰„m Ai ` N } h 0n½›0+ $¤O ¸P `´ x0° ÅP `Fñÿ    ' L3p ?timer.cstartTimer_InitgettimeofdayTimer_GetMSTimer_Sleepusleep6DMx    !( / 6 = D K Y ` e p } ‚  › ° µ Á Ï Þ é õ   " 1 @ O ^ m | ‹ š © ¸ Ç Ö å ô   ! 0 ? N ] l { Š ™ © ° ¼ Ê Ø  $( . 8<@ I c jnr { Š –› ¨ À ¶04LPsopwith-1.8.1/src/gtk/video.o0000664000175000017500000020422012046775552015103 0ustar jessejesseELF»4(U¸Ç‰åWV‹uS1Û‹>)ø‰ú¯‰ù(9út6´&9×}D)út€0ƒêuòƒÃût‹<‰ÊƒÀ9ú‰ùuуÀ0ûuä[^_]ö)׉útÈf€0+ƒêuòë¶U‹ ‰åW‹=(V‹uS1Û‹žƒêt iÁ´Øt&€0‹ )ȃêuðƒÃû@uÍ[^_]ÃU‹(¸Ç‰å‹M+E ¯Uƒáˆ ]Ãv¼'U¸Ç‰å+E ‹U¯E(ƒâ0]Ãt&¼'U¸Ç‹(‰å+E ¯U]¶Ãë U‰åWVS»Çƒì‹E‹U ‹}‹)Ó‹p¯‹@û(ƒøtc¼>Àþÿÿ…ÿ‰}ì~k+uìƒÂ9‰Uð~‰Eðƒ}t^‹Uð1ÿ…Ò~D¶1À…ö~f¶„Òt0ƒÀ9ðuîñƒÇ¡;}ðtMìÃëЃþu˜¶Eƒà0ƒÄ[^_]ÃÇEìë‹Eð1ÿ…À~æ1À…ö~f¶…Òt 2ƒòˆƒÀ9ðuèñƒÇ¡;}ðt·MìÃëÊv¼'¡U‰å]£(ÃUƒøh‰åºt3~9ƒøzº t'´&~V=Sÿt?=Tÿft~=Qÿtk1Òt&‰Ð]Ãt&ƒø.tcv~Fƒøbºtäƒøc²t݃ø/uѺvëζƒøv²vt¾ƒøx² t·ƒøs² t°1Òë¬t&ƒø ²t¡ƒø,u•ºë•t&º뉉ö¼'U1À‰å]Éö¼'U‰åVSƒì ¡0ƒ=öæ8ÿÿÿƃ=‰$ÛèüÿÿÿãÀþÿÿÀ‰t$ ‰\$Ç$‰D$èüÿÿÿ…À£4„Š·@"‰t$ ‰\$ÇD$Áà‰D$Ç$èüÿÿÿ¡4fƒx"tA‹…Ût+èüÿÿÿ‹54‰$‰D$èüÿÿÿÇD$‰t$‰$èüÿÿÿƒÄ [^]Ãt&ÇD$Ç$èüÿÿÿë©ÇD$Ç$èüÿÿÿÇ$ÿÿÿÿèüÿÿÿfU‰åƒì¡…Àt £(ÉÃfiȉ$èüÿÿÿ££(ÉÃv¼'U‰åƒìH‰]ô‰uø‰}ü‹…Ût‰]‹uø‹]ô‹}ü‰ì]éüÿÿÿvèüÿÿÿ‰Ãèüÿÿÿ‰Æèüÿÿÿ‰$‰D$‰Eàèüÿÿÿ‰t$‹€”‰$èüÿÿÿÇD$‰$èüÿÿÿèüÿÿÿ‰$‰D$èüÿÿÿÇD$.‰$èüÿÿÿèüÿÿÿ‰$‰D$‰ÇèüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$<‰$èüÿÿÿ‰|$‰$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$D‰$èüÿÿÿÇ$èüÿÿÿ‰Æèüÿÿÿ‰4$‰D$‰EÜèüÿÿÿÇD$‰$èüÿÿÿ‹M܉4$‰L$èüÿÿÿÇD$”‰$èüÿÿÿèüÿÿÿ‹Uà‰Eä‰T$‰$èüÿÿÿ‹Mä‰L$‹€”‰$èüÿÿÿ‰t$ÇD$ ÇD$ ÇD$‰$èüÿÿÿ‰4$èüÿÿÿÇ$Qèüÿÿÿ‹Uà‰$‰T$‰Æèüÿÿÿ‹Uä‰T$‹€˜‰$èüÿÿÿÇD$ÇD$ ÇD$‰t$‰$èüÿÿÿ‰|$‰4$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$0ÇD$X‰$èüÿÿÿ‰4$èüÿÿÿ‰é“ýÿÿv¼'U‰åƒì‹E ‰EÉéüÿÿÿ´&¼'U‰åƒìÉéüÿÿÿt&U‰åƒìX‰]ô‹ ‰uø‰}ü…Ût‰$èüÿÿÿ‹]ô‹uø‹}ü‰ì]Ãfèüÿÿÿ‰Ãèüÿÿÿ‰$‰EЉD$èüÿÿÿèüÿÿÿ‰$‰D$èüÿÿÿÇD$`‰$èüÿÿÿèüÿÿÿ‰$‰Eà‰D$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$<‰$èüÿÿÿ‹Eà‰$‰D$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$PÇD$D‰$èüÿÿÿÇD$Ç$èüÿÿÿÇD$Ç$‰EÔèüÿÿÿÇD$Ç$‰EÜèüÿÿÿ‰EØèüÿÿÿ‹U؉$‰Eä‰D$èüÿÿÿ‹UÔÇD$ ÇD$ ÇD$‰T$‰$èüÿÿÿ‹UØ‹Eä‰$‰D$èüÿÿÿ‹UÜÇD$ ÇD$ ÇD$‰T$‰$èüÿÿÿ‹EЉ$‰D$èüÿÿÿ‹Uä‰T$‹€”‰$èüÿÿÿ‹UØÇD$ ÇD$ ÇD$‰T$‰$èüÿÿÿ‹5…öŽý¾1ÿ‰]Ìf‹…É…Ò‹F‰$èüÿÿÿ÷ljËEÜu‹EÔ‹Uä‰$‰T$èüÿÿÿÇD$ÇD$ ÇD$‰\$‰$èüÿÿÿ‹F‹‰UÈèüÿÿÿ‰$‰D$èüÿÿÿ‹UȉT$‰$èüÿÿÿ‹V‹Eà‰$‰UȉD$èüÿÿÿ‹UÈÇD$ÇD$ÇD$‰T$ÇD$ ÇD$ ÇD$i‰$èüÿÿÿ‰$èüÿÿÿƒÇƒÆ;=Œÿÿÿ‹]Ì‹UÔ‰$èüÿÿÿ‹E܉$èüÿÿÿ‹U؉$èüÿÿÿ‹EЉ$‰D$èüÿÿÿ‹¸˜Ç$qèüÿÿÿ‹Uä‰<$‰T$‰ÆèüÿÿÿÇD$ÇD$ ÇD$‰t$‰$èüÿÿÿ‹Eà‰4$‰D$èüÿÿÿÇD$ÇD$ÇD$‰\$ÇD$ ÇD$0ÇD$X‰$èüÿÿÿ‰4$èüÿÿÿ‰ é+üÿÿfU‰åƒì‹E ÇD$Ç$£èüÿÿÿ´&¼'U‰åSƒì‹E ‹XS¿ƒúwƒÃ ‹ƒøt9ƒø t ƒÄ1À[]Ãt&‰ØèÉöÿÿ…Àtƒ$…þûãÿuÙÇ$ë͉Øè¡öÿÿ…Àtƒ …ƒûc„„ûãÿ„Àû ÿt0ûÿfuF¡Ç…€ƒÀƒà£érÿÿÿ¶¡Ç…€ ƒÀƒà£éLÿÿÿ¡‰…€ƒÀƒà£é0ÿÿÿt&¡$…ÀtסƒÀƒø£~Å¡ÇD${ÇD$‰$èüÿÿÿÇ$ÿÿÿÿèüÿÿÿt&Ç$éÕþÿÿU‰åƒì(‰Eä¡4‰]ô‰uø‰}ü‹@‰Uà‰MÜ‹P ƒút0ƒút[‹MàºVUUUMäM܉È÷êÁù)Ê‹]ô‰Ð‹uø‹}ü‰ì]Ãt&‹H$‹]ä‹UàÓã‹H0#X Óâ‹H<#P,‹UÜÓâ#P8ëô&èüÿÿÿ‹P …Ò‰UØ~q‹p1ÿ¶V¶N+Uä+Mà¶F +EܯɯүÀ1Ò…Àu:éyÿÿÿt&¶N‰ú¶^+Mä+]à¶FƒÆ +EܯۯɯÀ Á…É„DÿÿÿƒÇ;}Ø|È1Òé5ÿÿÿU‰åWVSƒì<‹…Ò…­1À´&Ç…ƒÀƒø uíÇD$Ç$èüÿÿÿÇ$èüÿÿÿ‰Ã£0èüÿÿÿ‰$‰Æ‰D$èüÿÿÿÇD$ ÇD$ÇD$‰$èüÿÿÿèÞôÿÿÇD$Ç$èüÿÿÿ‰Ãèüÿÿÿ‰Eäèüÿÿÿ‹UäÇD$•‰T$‰$èüÿÿÿÇD$ ÇD$ ÇD$‰Ç‰$èüÿÿÿ¡0‰t$‰$èüÿÿÿ‹Uä‰T$‰$èüÿÿÿ‰<$ÇD$•èüÿÿÿ£8èüÿÿÿ‹4‰Uà‰Ç£èüÿÿÿ‰<$‰D$èüÿÿÿ‹UàÇD$‰T$‰$èüÿÿÿÇD$Ç$€ èüÿÿÿ‹8‰Uàèüÿÿÿ‰$‰Ç‰D$èüÿÿÿ‹UàÇD$ÇD$ ÇD$‰T$‰$èüÿÿÿ‹‰|$‰$‰Uàèüÿÿÿ‹UàÇD$ÇD$ ÇD$‰T$‰$èüÿÿÿ¡0ÇD$þÿ?‰$èüÿÿÿ¡8‰$èüÿÿÿ¡‰$èüÿÿÿ‰$èüÿÿÿèüÿÿÿ‰D$¡0‰$èüÿÿÿ‰\$‰$èüÿÿÿèüÿÿÿ‰Ç‰D$¡0‰$èüÿÿÿÇD$ÇD$ÇD$ÇD$ÇD$ ÇD$ÇD$<‰$èüÿÿÿ¡0‰|$‰$èüÿÿÿÇD$ÇD$ÇD$ÇD$ÇD$ ÇD$ÇD$D‰$èüÿÿÿ¡0‰t$‰$èüÿÿÿÇD$œ‰$èüÿÿÿ‰$1Ûèüÿÿÿ¡0‰$èüÿÿÿ1É1Ò1Àè¸ûÿÿ¹ÿºÿ‰ƒ@1Àè¡ûÿÿ1Ò¹ÿ‰ƒD¸ÿèŠûÿÿ¹ÿºÿ‰ƒH¸ÿèpûÿÿ‰ƒLƒÃƒû@uŸÇ$úèüÿÿÿÇ@ÇÇ$£,£èüÿÿÿƒÄ<[^_]Ãt&U‰åƒì‹ …ÉuÉö¡4‰$èüÿÿÿ¡,‰$èüÿÿÿÇÉÃfU‰åƒìë Ç$èüÿÿÿèüÿÿÿ…ÀuëÉfÃë U‰åƒìèüÿÿÿ¡Éô&¼'U‰åƒìèüÿÿÿ‹ 1À;t‹•€ƒÂƒâ‰ ÉÃU‰åWVSƒì<ƒ=„€ƒ=…»‹ 41҉ȉMà·@$·I"f÷ñfƒù·ø„Cfƒù„øfƒùtIfƒùt&„œfèüÿÿÿ‰D$¡‰$èüÿÿÿÇD$‹Uà‰T$‰$èüÿÿÿƒÄ<[^_]éüÿÿÿ‹Mà<‹5,‰}Ü‹A(–Àø‰Uä‰Ç1Ò¶ ƒÂ‹ @‰ËˆÁûÁùˆXˆHƒÀú@u×;uä„tÿÿÿ‹MÜÆ@‰Ç뼋EàÁç‹ ,‹X(±Àø1À´&¶‹•@‰ƒƒÀ=@uè9ñ„&ÿÿÿûÁ@ëÍ‹Uàÿ‹ ,‹Z(±Àø1À¶‹•@f‰CƒÀ=@uç9ñ„åþÿÿûÁ@ëÓ‹Mà‹Y(‹ ,‰ÞÀø‰Eä¶1À¶¶‹•@ˆƒÀ=@uè;Mä„•þÿÿ>Á@‰ÞëÊ¡41Ò·H"‰Eà·@$f÷ñfƒù·À„ fƒù„wfƒù„ìfƒù…Hþÿÿ‹Uà‹,‹J(…‰UÔ…Áà‰E܃Àø‰U؉Eä‹UØ1À<‹UÔ4t&¶‹•@‰ljƉTÁ‰ÁƒÀ=@uÞ;]ä„ÛýÿÿMÜÃ@ë·èüÿÿÿévýÿÿ‹Uàx‹,‹J(‰UÜ“Àø‰Uä491Àt&¶‹•@ˆˆVÿƒÆˆTAˆAƒÀ=@uÜ;]ä„qýÿÿMÜÃ@뾋Mà<@‹,?‰EØ‹Q(‹Àø‰M܉Uä:1öf¶ 3ƒÆˆHˆˆJˆ Æ@Æ@ÆBÆBÆ@Æ@ƒÀÆBÆBƒÂþ@uÁ;]Ü„öüÿÿ‹UäÃ@U؉Uäë ‹Uà‹,‹J(D‰UäÒ‰EÔƒÀø‰U؉EÜ‹UÔ1À<‹Uä4f¶‹•@f‰‡f‰†f‰Tf‰ƒÀ=@uÚ;]Ü„üÿÿMØÃ@ë¶´&¼'U‰åƒì¡…Àu Éô&¡4‰$èüÿÿÿè¶ìÿÿÉéüÿÿÿU‰åSƒì‹] èüÿÿÿ‰D$‹E‰$èüÿÿÿ‰$èüÿÿÿ…À•Àû¶À‰tûtƒÄ[]éüÿÿÿ¶èüÿÿÿƒÄ[]éüÿÿÿU‰åƒì¡…Àt!iÈÇD$‰$‰T$èüÿÿÿÉÃiȉ$èüÿÿÿ£ëÆ´&U‰åƒìiÈÇD$‰D$¡‰$èüÿÿÿÉÃt&U‰åWVSƒì‹]‹}‹(‹ …Ûx7¸Ç‹u+E ¯ÁÆ42¶‹E‰4$‰|$‰D$èüÿÿÿ5ƒëyâƒÄ[^_]ÃfU‰åSƒìiÈÇD$‰D$¡‰$èüÿÿÿ¡‹ iеÀX‰D$щ $‰T$èüÿÿÿƒÄ[]é°¹°˜P ÄP ÎçðP óçþP qóç&/°:`Qa°h % : ; I$ > $ > $ >   I : ;  : ;I8 : ; : ; I8 I !I/ &I : ; & : ; (  : ; I8  : ;  : ; I' I' < : ;I : ; : ; I : ; I 8 5I! : ; " : ;I8 # : ;I 8 $ : ; % : ;I& : ;I' : ;( : ;)' I*.? : ; ' +: ; I,4: ; I-.? : ; ' I 4 .: ; I/.: ; ' 0.: ; 14: ;I2.: ; 3.: ; I 44: ; I54: ;I6 7 8.? : ; ' @9: ; I:4: ; I ;4: ; I<4: ; I=: ; I >.1@?1 @41 A.? : ; ' I@B: ; IC UD E1X Y F1G41H.? : ; @I.: ;' I@J: ;IK.? : ;' I@L: ;I M.: ;@N4: ;IO4: ;IP1X YQ1X YR.: ;' @S: ;I T4: ;I U41V.: ; ' @W: ; I X.: ; @Y: ;IZ.: ;I [.? : ;@\1X Y].? : ;@^.? : ;I@_1RUX Y` Ua b1RUX Yc4: ; I? < d4: ; I?  e! GÓ,¿!¾?BÓ0¶Ì R,®  'intŸ*¥ A8aØ!…]Ñ$Žo¢¯ d 1´ò ”-t "Z# Dœ# æ)œ# Ôœ# 4œ# æ,œ# rœ# Tœ# õ%œ# ”œ#$ ô#œ#( á œ#, Q"²#0 D$¸#4 ­&Z#8 ¬*Z#< +,z#@ 0>#D ß'1L#F W2¾#G X+6Î#H a?Œ#L ŸHš#T ¦Iš#X ­Jš#\ ´Kš#` »L%#d NZ#h 8PÔ#l [ ´> º² ü»²# ó)¼¸# ÀZ#{´ ¢Î —t ¢ä —'ꢀ  ¥( # E —º. ï ¢1 —7 M S- 8ÿ "c Zs —œ $ª ~ )X# ± *Z# t +#*% 1µ sÅ —q Ðh  ù "#w #Z#h #Z#7V0;ž  ñ "¤\  Æ0ÅSL °|+Q ¦&á 2/Ø-™žë Ä* û$ • P.Y"Ðv8!&ôv'šb(ôi)úMZ A " !œ# a%»# c *Ð# …+œ# A,' &L'7=&(S,)>Ä .0J4a§5hˆ+B0Q'.¢/Ss 0…“+1Zº2Ì…5>~*6EŒ70i&9·­:¤ÐMšnN1ëWAGS Y«S &ii&’ ù,’#len-ø#« &xh-&°! &ç ù* # “+ç# ;/,ç#¥3&ø×& ¾&2 ù* # “+2#þNäež(f)>#û4ýðÛÝÐ+=º,|)€Î*‘‚-ƒh"„ß&…†- ‡ˆÛ$‰L'Šþ‹Y*Œhj Ží ¼ |o™s's Is3 Íoñ# ù| #H v?A!v\ ÍŠñ#á"xh¹&x… ê ”…#3ý—ýr ˜sÌatøuÁ—ví@wƒ;xŽÒyS&z@{  œ —ŒY Š.éo ™,~” » ýÀ#€>'Ld Õ'LE I ”Ì #¼)•Ì #¡–Ì #+—Ì  #ë&˜Ì #.™Ì #j'šÌ #ÆœÌ #ežÌ #ªŸÌ # €¡¡ # ù§ # r+©Ñ # ±MP l,My ù… # S!†y #"a„ Š ›  › Y § Ì › ‹ø‘   øE u å_/'q(/§- .À¸ ( ¸M ‡ô\# I ÷Ì # Ö.øä#º ‡Vc úX œ^  ]‡ gEØ! ž x "B¯ Ä“ ^%# Æ ­.» <$EÝ É$E x$ÊÌ#y$ËÌ# F$ÌÌ# ³/$ÍÌ# «($P) / $ $axP$fK Ö% $f ³&%0x#red%1m# £+%2m# e %3m#¬$g› Ë$gî q%G # v!%JÌ# ¿%KÝ# €,%Nã# J$%P #Œ$iù ³ $i0 a&3à"# Œ&4Ì# [&5Ì#<$j; - $jœ q'¿ # 7'ÁÌ# â'ÂÌ# 'ÃÌ# Ì'ÄÌ# ë'ƹ"#ú-$k§ ú'4$kj q(C # a(G## €,(Hã# «)(I8# F(JÌ# ³/(KÌ# ¯(Lm# bpp(Mm#"bpl(Nm#$ C)(Om#&mem(P #( ë(R¹"#, J$(U #0Ð $luö(ú$m†¢D$me q)O # a)QD## ¯)RÌ# «))S8# p*)TÌ# —)UÌ# ö)Wx# ÿ)XÌ#$ .)YÌ#( É)[x#, î')\Ì#0 ´)]Ì#4 þ)_x#8 ¢)`Ì#< j%)aÌ#@÷ $o€ q*7 #4$peª$qeá-$re $t¬!iœ$t# q+0 #÷+2ø# +4^"# Þ+5^"# 1+6^"# /+8t"# _'+9¤#”$w8K*¸$z#$Ò1æ*y Ö7Ä ”'À9€A"€à€ž €š)€ó€ €€€ ‚€€€À\ €€€€Ø€€€€2 ÿ¿€à¯!$™C@ {ñ,&ôh4,&› q,L # ¨,P# {!,R×# ×,T# O.,U# Ó,Wç# [,XÈ# [.,YÈ#$ 8 ,ZÈ#( G,,\x#, J$,` #0,)È"@Y..˜ ‚/,0›,3§$,ˆO(K",<Ó–ß--"Ý--K ª-Wø# 1 -XÒ#!+-.V+-.use-]®#min-^#max-_# r-/˜;,-/# q-d # " -g’# à -hD# G'-ij# P-j×# G-lÌ# ¡-m¹# ®%-oÌ#$ ž-p¿#(-;D<HÞD&-@#-Cj @ê!F/-GO-J®:$Öá| ‹Ðg'-SuKf./Ði ./  a. ò# Þ. # .L#.0Ô $.0| a.ò# Þ.# .L# .Ò # ¼#.ø!# é.Ì# –-.1‡` .1Á a.ò# Þ.# .L#<(.2Ì1 .2 a.$ò# Þ.%# .&L# n.'à # …'.3 –&@.3Ý a.,ò# Þ.-# ..L# Ì$./x# "x.0#"y.1# ¡.2þ!# n.3ø#$  .4b#( o!.5"#, §%.6#0 Q.6#8¸(.4èæ(@.4¥ a.;ò# Þ.<# .=L# Ì$.>x# "x.?#"y.@# ¡.Aþ!# n.Bø#$ Â.Cø#( o!.D"#, §%.E#0 Q.E#8È.5°-<.5^ a.Jò# Þ.K# .LL# Ì$.Mx# "x.N#"y.O# n.Pø# ø.Qï #$ o!.R"#( §%.S#, Q.S#4.6i/($.6 a.Xò# Þ.Y# .ZL# Ì$.[x# n.\ø# ª.]ø# Ç!.^Ì# ‰._’# ô+.`m# ä.aW#"#i .bø# j.7)" .7q a.xò# Þ.y# .zL#"in.{b# ·%.8|¾+D.8H a.gò# Þ.h# .iL# ç .j# Ì$.kx#"x.l#"y.m# §%.n#$ Q.o#, G'.p_!#4 Ž .q'!#8 M!.r×#< n.sø#@».9S.9Å a.€ò# Þ.# .‚L#"x.ƒÌ# "y.ƒÌ# F.„Ì# ³/.…Ì#.:Ї,.:7 a.Šò# Þ.‹# .ŒL# x. # Ì$.Žx# n.ø#© .;B .;Ç a.”ò# Þ.•# .–L# ? .— # ´.˜ # Z .™ # Ì$.šx# ¨.›5 #Ä-.<Ò9 .ÅW(.>, a.¸ò# Þ.¹# .ºL# q.» # û .¼â# ù.Á "#¼.?7D .?­ a.âò# Þ.ã# .äL# ] .åR"# Ì$.çx# §%.è¶# Q.è¶#v.@¸L.@ a.Ïò# Þ.Ð# .ÑL# 8.Òž!# ø.Óž!#Ÿ!.AÍ.As a.Æò# Þ.Ç# .ÈL# 8 .ÉÄ!# " .Êœ#.B~¦.Bå a.×ò# Þ.Ø# .ÙL# 7.Ú×# µ.Û×# .Ü#h.Dð$( D.Dù%a.íò&any.îÅ%.ï %Ü*.ð|% .ñÁ%.ò%Â.óÝ%Z.ô¥&key.õ^%ÿ .öq%˜(.÷%õ.øH%Z .ùÅ%? .ú7%u.ûÇ%(/.üW%Ú .ýº&dnd.þ,%.ÿ­%™.%¸.så.tò *É)] 'Ä”º$Ÿ ~w ‘ K q/  È.Ò('åÅ..+Ò/œÆÖ°"¬2îEM ÷!¥"$#Ÿ$%·-.œÿ.¢¨ /N$“# Z À‽€l.€+'€€{ € X€À)€€€#€€'€€µ€€“ €€ê €€ Z€€À$€€€À þÿÿ.¼Ã …!fŽ.À¨ .Ãï È%Ã# Å.ÈÎ .Ó'!ë à‘ E=§$.Úú .â_!D+ž"Z^ ,š.é2!.òž!ÂOÖ2%± *"ÀÔ .új!.ýÄ!Ë´ —.©!'.ì!ph$µ (.Ð!j(.½2"&b.¾!&s.¿2"&l.ÀB" SB" — …R" —é¡ n"n" —0 { þ/7…"vÓ#0)–"+ M 0*§"º/î ‹ œ z"&,à"A.¬R)&/Ë"(2#ù)ã+#r(6ë"€)8D#ã^¼ *¦))?#1‚#‚„¿(€%pÝ1—O#1¶®#Q#)ê$'1ÃÄ#zÿ,*2<Ï#r 2<0$ n-2X # Þ2Zø# ñ2[Ò# ¶2\2# ¾2]ø# t2^½$#'2>;$È' 2>u$ Q 2sø# ]2tÒ#ë2uø#¢'2?€$–2?·$key2½0$# ¤2¾› # P2¿˜#Ä#u$4#31Î$431÷$ q4mM # '4tx# 2)3;%%)’%S 1$56(%!}ð56/' q5K #fg5Oâ(# bg5Pâ(#H å5Qâ(#„ Ž+5Râ(#Àmid5Sâ(#ü Û5Tâ(#¸ À,5Uâ(#ô #5Vâ(#° à%5X@ #ì È&5Y@ #ø \5Zµ #„ Ž5\Ì#ˆ Ï 5]Ì#Œ Æ5_ò(# @/5`ò(#¤ {5aò(#¸ Ö5bò(#Ì 5cò(#à °,5dò(#ô é5eò(#ˆ å5fò(#œ ô,5gn"#° €5hn"#´  5j)#¸ º 5nÌ#Ì ¯5pÌ#Ð ë5q¹"#Ô &5r­"#Ø 5sµ #Ü r 5v)#à ½5x2#ä é5yu #è ð5z2#ì59:'!S/D59#( q6> # " 6B’# Y$6CP)# \6Dµ #$ 6F`)#(fg6Gâ(#<bg6Hâ(#x Û6Iâ(#´ À,6Jâ(#ð Ž6LÌ#¬ Ï 6MÌ#° ú6Pu #´ &6S2#¸ ð6U2#¼ô*6Wø#À¬5:.(f • 5E?(k<5Eâ( +7 Ã$# m7m# n7W# R"7 W# " 7(’# i 71)# ²+75p)# …*79%,#$ Þ7?#4 n-7C)#8 @ ò( — n") — ³") —/'%4(65E)º*%q½6:$) ’`) — E)p) —ð7Ð|)»7Ш) F7ûÌ# ³/7üÌ#.7×´)”7×%,bin88À,# 4,8:’#H ì8;’#L Å,8<’#P È8=’#T + 8?)#X Š$8@)#\ ¢ 8A9-#` ÷"8B?-#d Ê8C#h ä8DE-#l ;-8Fm#pN8Gø#pv"8Hø#pØ8Iø #p8Pø #pª#8Qø #pŽ8Rø#pa8Sø#po8Tø#p„ 8Uø#pÃ8Wø#pŠ 8Xø#pþ8Zø#tB8]ø#t8^ø#tÇ 8_ø#ta8`ø#t^)8bø#tr 8eø#tó8gø#tÜ.8hø#t z 8jø#x Î!8kø#|  8lø#€ Ð8mø#„ &-8oø#ˆ S8qÒ#Œ 8rX"#!7äÒ ^\&93B,2D93À, :984(# ï.9:)#<‘"9<ø#@¯9?ø#@9@ø #@Ä9Aø #@ô 9Bø #@–%:0Ë,ÛH:0ô, :+:57,# 5:7)#D"!82ÿ,X83-¨839- q8œ # µ8ž2# ¨)ô,-} ;^“- Þ;c¨)# ;f)#” Õ;g)#˜ ý,;j)#œÈ <0ž-j H<0ñ- :<54(# ª<7#< '<8#@ p&<:m#D ?<;m#F^"p=1E/ ù=8“-# b-=;’#HŠ(=<ø#L³(==ø#L=>ø#Lu#=?ø#Lt=@ø#LÚ=Aø#L&=Bø#Lû.=Cø#L¾'=Dø#L? =Eø#Lò=Fø#L U=Hø#P Û=J’#T Ÿ=KV/#X "=LV/#\ Ã=NÌ #` Ú =P)#d )=Q9-#h “=S\/#lz=4P/-¤ E/fL>1ª/ :+>77,# ©+>:ç#D (>;b#H><ø#H%`?1ý/ ù?–“-# ; ?˜Ò1#H ù?¤Ý1#L Ó?§##X )?ª‚##\*&?40^+?4#0 ~??³"#å?5.0â?5I0 a?D¿"#@?6T0I?6o0 ß,?IÅ"#0?7z0Â"?7•0 Ù?N’#I?8 0•?8»0 ?S1#t%?9Æ0õ ?9ý0 Õ"?X‡1# …(?Y1# ™$?Zø#.?:1— ?:?1 ì?_’# ß,?`Å"# Ù?aø#K ?;J1± ?;1 æ#?fi # ß,?gÅ"# Ù?hø##(‹"œ"?‚Ò1ÿ!Î&¿^Jÿ:,?Œ“1 ?›>2~?œý/a?#0ß,?žI0g?Ÿo0? •0Õ"?¡»0" ?¢ý0Ú ?£?1ê@0I2˜+X@0'3bin@5À,# ­*@7#H #.@9’#L :*@;ø#P‡ @=ø#T2@>ø#TE @?ø#T'@@ø#T@Aø#T@Bø#T' @Cø#T @Dø#T‡@Eø#Tô\A0u3 ÂA5>2#™A7ø#XHA8ø#XöA9ø#X}B/S*B<‹3n,B<4 +BCÃ$# îBE’# c!BF·$# :BG)# ¶)BH2# cBJ÷$# æ%BK #$ ÔBL6#( B>4B>t4 îB^’# … B_’# 2Bau3# !$Bbø# ‚Bt’# –Bz+#*h)ˆ«4+xˆZ+yˆZ+clrˆZ,ôŠ- gZË4.Hgä-ˆ&`Zö4.µ'`ö4.H`ä©/Ô)@5+c@Z0Ô+51nÖZ2Í2u-U3Ú FZW54cHZ0u&Ya61x[Z1y[Z5ø\Z6¹55S d5¸,f71pi1p2j6î55S sa65¸,u71pxa61p2y6/65S †5¸,‡71pŒ1p271cZ75S š 5¸,›71pž 1p2Ÿ>-n#Nšœ6.&Nš.£NZ.„.N%-u)1šÑ6.&1š.&11.„.1%8Y=B79µ=B7,4g?B7:ô@P4xAZ;yAZb;gcBZ‹;glBZÊ;8ã _àè·79µ_B74gaB7<ôb?;xcZ];ycZp4gcdZ4gldZ8í€àŽ8=x€Z‘=y€Z‘=clr€Z‘,ô‚>t45º78?‚4‘?‹4‘?”4‘@Ÿ4PAPZ@aæx8=xZ‘=yZ‘,ô’8Цpf¬9Bx¦Z>By¦Z€9‰)¦FÙBclr¦Zù<ô¨1:ù©Q;x1ªZO;y1ªZm;w«Z–;h«Z´:³(¬ZulCU9,&¿D8I;iÁZÝC(}9,&ËDàë4iÍ0Et4 ¯F'8F8F8D GŸ4Hø épI² B°€72î9J©BZ^KFôZ@G|':LxôZ‘LyôZ‘M‘àP^¨Â:NwâZÔNhâZòO€,ãã5'äZP«4´Ûû‘:F¾4P«4(>þ«:F¾4Q«4>R÷F¾4Hë-î`–.3$Ê);,ÞÌ),b-Í),ÂÍ)Rú &Z—;Sc( ‘S!$ø‘S:)‘TÞ)QÖ:Ð DÐUæ:†Uñ:¤Uü:·VÇ[0BÕ×;W:[)‘Wù[ ‘,E])Vú!bP\<W:b)‘W@bù‘Wùb ‘3/p)x<,Þr),)s),s),Js),Âs)4itZ7,:)X¥¸`N -=:Þº) E<C ½DC U*<Y@5<uXU@<‚UK< UV<³Ua<ÑDˆ d Uk<äV ÂP r ÷F=Wc( ‘W!$Ãø‘W:Ä)‘Ib#cÌ€ Ï #->S:c)‘J@d1,OSø&e ‘NkeygZzT hM$Oz'i°˜Pü4 8 Ý=F 5Pü48 X ÷=F 5Pü4X x ƒ>F 5QË4“ ° wFé4FÞ4I¶ÆEÐ ß í?YrÆZYgÆZ,YbÆZ?NvÈãhNlÉE‘DX Ø Oëй"ÅNiÑZî5cÒZ1lÒZDg Ð 1cÕÝ1r2ÖZ1g2ÖZ1b2×Z5ÈØZZ¹‘).?5“)ZŠ%+)d?5Q-d?5c!.·$5û/Z€3[Ðà ¬ @Ngui)8 NiZK P?r -ö?Dr G!?Q.?ˆþ”DˆþU??^ @K?udGW?Q5 n<D nG 5[) °îq A@\+5ÈÕ]P­ð ^?cM 2É „@\45&+e^Ç(ZZ@põ à@1l\Z\45FK^Q=5Kn`DKnUM5! 0{ûêA1xýZ1yýZ5øþZ6BA5S 5¸,71p 1p2 6wA5S a65¸,71pa61p26¸A5S -5¸,.71p31p2471c7Z75S F 5¸,G71pJ 1p2K[/+ªpb4 D5 ¬Ò _W5“H´ C``Ud5` Gn5Ux5Ÿ ar~BGó5Gÿ5`xU 6Þ U6 `U"60 arº®BG06G<6`¨UI6C US6a aºûÞBG¾5GÊ5`ÈU×5 Uá5 DûNG‰5G•5`èU¢5» U¬5ú bà@N²`Uí@ G÷@UAb aŽhCG¹AGÅA`0UÒA€ UÜAž ap˜CGAGA`HU+A¼ U5AÚ apñÓCG|AGˆA`hU•Aø UŸA `ˆG«ADñbGGAGSA`¨U`A4 UjAR [ÌHp p ,D\+5ˆ•MVÃf ÿœ aD9:f)È Bbfôè ]ˆI*] P{V8ØÚ€Þ‚òDBxÚZ®ByÚZÚBwÚZBhÚZ1=cÚZ‘;pÜ\Hªøà?o,Z!C2M:ï)œ(:à!-,:æ/Z:C0M:Þ1)0:2¿"4:¨3):ï"4)8 Z©E —:¿5™E@ ZÊE —:±=ºE€:; >Z :­>Z 4 F — T’ýE c!‘¸ce,’¸c'“¸cNCX™E ZcF — cë#:SFdþ*MdN%+M AŸFecÒ.”Fcä /Zc²DZc Do c» C$0c×CZªd%+dX-,0d_0œ„ ýû ../usr/include/bits/usr/lib/gcc/i486-linux-gnu/4.4.3/include/usr/include/usr/lib/glib-2.0/include/usr/include/glib-2.0/glib/usr/include/glib-2.0/gobject/usr/include/glib-2.0/gio/usr/include/cairo/usr/include/pango-1.0/pango/usr/include/gtk-2.0/gdk/usr/include/gtk-2.0/gdk-pixbuf/usr/include/gtk-2.0/gtkvid_vga.cvideo.cstdio2.hstring3.hstddef.htypes.hstdio.hlibio.hsigset.hstd.hsetjmp.hsetjmp.hswsymbol.hsw.hvideo.hswconf.hglibconfig.hgtypes.hgarray.hgquark.hglist.hgdataset.hgslist.hgscanner.hgtype.hgvalue.hgparam.hgclosure.hgsignal.hgobject.hgiotypes.hcairo.h pango-font.h pango-attributes.h pango-layout.h gdktypes.h gdkcolor.h gdkfont.h gdkgc.h gdkimage.h gdkvisual.h gdkdrawable.h gdkscreen.h gdkdnd.h gdkinput.h gdkevents.h gdk-pixbuf-core.h gdk-pixbuf-animation.h gtkenums.h gtkaccelgroup.h gtktypeutils.h gtkobject.h gtkstyle.h gtkrc.h gtkwidget.h gtkwindow.h gtkcontainer.h gtkbin.h gtkdialog.h gtkmisc.h gtklabel.h gtkbox.h gtkimage.h gtkbutton.h gtktogglebutton.h gtkitemfactory.h swmain.hswinit.h=(xXŠ,0,0w+j®KK=d]v<‚r‚-/6y<9‚x¬ƒ=dtJ <€õ=€S ¬X$¨2Y½"V0>:ôYËÖÍOògW<’-19w9ˆV{y.C0ú fvä .gLK8Ž <wX`=[J_XÉ]‚ ®gLKŒŽ <wX`=#ÖW>Y×.!;.oX tuX"xc‚ ÈsXXk. äw‚<mX Xw.Xi..g‚<q.±#",0ꬂS±73SÁx*\ózf”'ÀŸ+âzº*÷{Ög“YGhYºç¡=¹F‚v=õOHØ$ ÖP†¼œ0>H ‚Ó~Jhh2hÖ“ciMƒ¶äu>ôPK=ã=Zâ>„>9K“ ¯c1;(Tn‚J­­®N»/)K ‚Ðg=ãYŸ.t=@ƒ>t XvºvK„ƒdÈvK„˜¼„Â}žóWóñ»±<‘ƒ;Yì}.–º÷Êò‘W‘;j†XjZ\ŸA,LÔL,>zX‚¨‚”j«Š>03è|XžX„°p2‡æÖò]ZŽv(>C<LÉɇ‚"XQõ=-YŸÈ­gusgŸg*èX»  o£YDºg¦¾‚?ÈÊŸ›}Jg/¹’³.sfXtJbóyXõv’ºÊ~.“Ë«È{yJCfžf)ò-sAX=¹$<m¬y.I=v-/=;=<e<~ =e=M <w õy‚C킌<~=e=UX=e=‘äï~f‘<ü~fëÿš =£Xg þ~ýÈ]•zXt=ôdZ¢Wª[WšfgÎ~¶È9yäÔ~f®#Wtg¼Hú~‚ˆ.®žÝ~t¥#¹~XÈf¸~fÊÈVid_Init: cant create screen mode: %ix%ix%i About Sopwithdestroydelete_eventgtk-okclickedSettingstoggledgtk-closeUser aborted with 3 ^C's
Gtk+ Sopwith/_Game/Game/_Single Player/Game/Single Player/sep1/Game/sep1/Game/_End Game/Game/_Quitgtk-quit/_Settings/Settings/_Preferencesgtk-preferences/_Help/Help/_AboutATTENTION: 24 bit colour mode is untested. If you see this message, please email me and let me know if it works or not! :) sdh300@ecs.soton.ac.uk Gtk+ Sopwith 1.7.3 Classic biplane shoot-em-up game. Copyright(C) 1984, 1985, 1987 BMB Compuscience Canada Ltd. Copyright(C) 1984-2000 David L. Clark Copyright(C) 2001-2003 Simon Howard/Game/Single Player/Play in _Novice Mode/Game/Single Player/Play in _Expert Mode/Game/Single Player/Play vs. _Computerttu)‘)oVorurV6VRmrR|R4Q4FWFrQrzWzQ6RQ|R‘t‘™t™àu§‘§ÝVÝàu§¶P»àP§ÜS§«R®àRàátáîtîutt5u@AtANtNaupqtqstsfup¥‘¥¬W¬uWfup¥‘¥¹R¹u Ru 'R'fu p¥‘¥fupÉ‘ Éu'‘ 'fušSfSÚüP2ZPÎWW,fWŽVfV˜ÚPP*PR0CRIfRpvtvxtxu€t†t†7u€ÂPÄ7P@AtAEtEGuPQtQStS^u~íS#^SfüV!V#^V¢§P`atactc–u ¡t¡£t£&uµÂSÍ&SÚV¹¿V&V01t13t3BuPQtQStS\u`atactcN uo„SŽ¥ Sd N SyŠW¯ N W¨ ¼ Py‡VÇ N Vƒ ¯ W† y SP Q tQ S tS r u€ t ƒ tƒ Ï u€ • ‘• š Pš Ï u ª S¬ Ï S¤ © P¹ × Pá  P2 = PX ] Pt } P¼ Ï PÐ Ñ tÑ Ó tÓ ß uÐ Þ PÐ ó RÐ Q# + QQ ] Qê P  P# ] P # R. O SO Q R’ ß R  P` ~ PØ ß P  Wl ß Wà á tá ã tã ¬uˆûSù 'PÆW°±t±³t³îuðñtñótóu !t!#t#2u@AtACtCpuSnPpqtqstsbuÖÝP.rR‡ºPÎûPNP² WWrxWº¿WûNWÖÝP#.P.QWQrPÖ VrV>HQÖ SºSÖÝQ~ºQÖ SÈûSÖÝQÅûQÖ S  VS8V8NSÖÝQNQÖÝPÝ V½P.pP‘ñVbPÖ WvñWÖÝQšQÖ S—SÖÝQpQÖ SpSÖÝR…ñRÖ S|ñSÖÝQýbQÖ SúbSpqtqsts u ¡t¡£t£ÿu Ø‘Øÿu Ø‘ØäSäêu êùSùÿu ttIuPQtQStS{u€tƒtƒÞu€²‘²ÖuÖÞ‘€²‘²Öu ÖÞ‘€Ÿ‘ŸÜWÜÞu€Ÿ‘ ŸÚSÚÞu²ÛVàátáãtã?u²$GÑ6Vid_DispGroundH7Vid_DispGround_Solid·7Vid_PlotPixel8Vid_XorPixel78Vid_GetPixelx8Vid_DispSymbol¬9Vid_SetBufî9getpixelÂ:Vid_SetBuf_Auxj?Vid_Init@Vid_ShutdownA@get_gtk_eventsV@Vid_GetCtrlBreak„@Vid_GetKeyêAVid_UpdateDVid_ResetaDVid_ClearBuf_AuxvDVid_ClearBuf‹DVid_BoxòDVid_CopyBufpFvid_fullscreen‚Fvid_double_sizeíFvid_vramÿFvid_pitchGauxdisp?ØÚ_fUZ2RÚô÷ü“ÖN“ÖN.Ybr047Qux°º¨½¿ñûÈé8DNNbNbÀòûep.\|‚àñ…טœÄÏŸÁNWbGDK_SELECTION_CLEARGdkScrollDirectionG_SIGNAL_RUN_CLEANUPGdkGCsize_tGtkImageIconSetDataGDK_DESTROY_GArrayGTK_RC_BASE_GtkDialogVid_ClearBuf_AuxKEY_HOMEblue_shiftgdoublegrabsG_PARAM_PRIVATEGDK_SETTING_ACTION_CHANGEDctrlbreakownerred_maskGTK_IMAGE_GICONGSList__jmp_buf_tagGDK_GRAB_BROKENG_TOKEN_RIGHT_CURLY__fmtsintabmnemonic_keyvalG_TOKEN_EOFparent_instanceVid_UnsetModemotion_GtkAccelGroupEntrykeyvalinput_buffern_accelshide_callbackaction_area_IO_save_endpathis_activeG_PARAM_STATIC_NICKhomogeneousGdkEventKeyhboxGDK_PROXIMITY_OUTGtkImagePixbufDatamnemonic_modifierin_marshalGDK_OWNER_CHANGE_NEW_OWNERGDK_AXIS_YTILTGdkCrossingModeGdkPixmapgreen_precGTK_IMAGE_ICON_SETconfoptionswindowGDK_SELECTION_NOTIFYabout_windowGdkByteOrderGTK_IMAGE_STOCKGDK_SCROLL_MASK_IO_write_baseinittedGDK_LEAVE_NOTIFYfont_desc_GtkBoxstatepriv_accelsGTK_ICON_SIZE_BUTTON_GtkImageIconSetDatais_invalidGDK_OWNER_CHANGE_CLOSEts_y_originGDK_RELEASE_MASKproperty_cachedirectionGTK_RC_TEXTGDK_DRAG_PROTO_XDNDPLAYMODE_NOVICEGDK_VISIBILITY_NOTIFYGDK_SOURCE_PEN_shortbuftypeGDK_VISIBILITY_PARTIAL_GtkStyleGIconscreen_IO_save_base_GdkVisual_filenoimplicit/home/jesse/Code/sopwith-1.7.4/src/gtklightcolormapsptrmischas_frameGDK_SUPER_MASKstick_initiallyGdkAxisUsecallbackv_uint64_chainGDK_DRAG_PROTO_LOCAL_GdkEventNoExposeGdkDeviceGTypeGDK_HYPER_MASKVid_SetMode_cur_columngdk_key__mask_was_savedGDK_WINDOW_STATE_WITHDRAWNGtkIconSizebase_gcGdkDragContextts_x_originGDK_CROSSING_GTK_UNGRABGDK_DRAG_PROTO_ROOTWIN_GdkDevicegetpixelGDK_WINDOW_STATE_MAXIMIZEDGdkEventFocusatomGtkItemFactoryCallbackG_PARAM_STATIC_NAMErequestorg_argcbuild_guimodal_GdkRectanglesource_windowtext_aa_gcicon_factoriesGTK_IMAGE_EMPTY_GdkEventProximityGClosureNotifysubwindow_gcsVid_GetCtrlBreakVid_GetPixellong intGdkEventAny_GtkAccelGroupGDK_WINDOW_STATE_ICONIFIEDGDK_DRAG_MOTIONGDK_FONT_FONTSETGDK_BUTTON_PRESS_MASKtargets_GtkBinGDK_VISUAL_GRAYSCALEpitchblue_maskGdkEventPropertyv_longgrab_windowguint16GdkBitmap_IO_marker_GtkImagePixbufDataaccel_modsGdkEventmessage_type__jmpbufg_type_instance_GtkImageIconNameDatainput_buffer_tailcolorsderivative_flagGDK_AXIS_XGDK_AXIS_Ywmclass_namedataG_TOKEN_IDENTIFIER_NULLGDK_MODE_DISABLED_GdkEventGDK_MODIFIER_MASK_GdkEventDNDKEY_PULLUPGDK_META_MASK_GtkMiscglongGDK_CONTROL_MASKdestroy_with_parentPLAYMODE_SINGLEsigned charattach_countmaximize_initiallymnemonic_widgetg_class_IO_FILEdata_formatGDK_AXIS_XTILTctrldownframe_rightfocus_widgetactionpattern_setGtkImageGIconDatacontextblueG_TOKEN_LASTGDK_KEY_RELEASEconstructedGDK_PROXIMITY_IN_MASKGdkEventSelectionplaymodeguint32unsigned charinput_buffer_popGDK_NOTIFY_ANCESTORcrossingGDK_BUTTON1_MOTION_MASKvisibility_GdkPixbufAnimationselectionref_countGArrayGDK_BUTTON2_MOTION_MASKrc_styleGDK_ENTER_NOTIFY_MASKGDK_ENTER_NOTIFYtransient_parent_GdkFontGDK_VISUAL_PSEUDO_COLORGdkWindowStateVid_DispGround_SolidVid_SetBufGdkNativeWindowPangoAttrList_GList_GObjectmodifiersstorage_typeGTypeClasspixelspropertyvalueis_modifierGdkEventClienthas_focusdetailNUM_KEYSGDK_BUTTON3_MASKcharGDK_SETTING_ACTION_DELETEDythicknessclientKEY_FLIPGDK_PROXIMITY_OUT_MASKTRUEbg_pixmapPLAYMODE_COMPUTERnamedepressed_GdkEventVisibilitybutton_downaccel_key_IO_lock_t_GtkIconSetgravityframe_leftacceleratorGDK_NOTIFY_INFERIORlong long unsigned intlong doubleGtkMiscGdkRegiongiconsourcesubwindowPLAYMODE_ASYNCHKEY_MISSILEcolor_flagsuse_underlineflags_GdkGC_GtkObjectypad_IO_read_ptrdouble_GtkWindowGeometryInfohas_user_ref_countitem_typeascentselect_infoattrssettings_dialogGDK_VISIBILITY_NOTIFY_MASKGDK_AXIS_WHEELGdkDeviceKeyicon_nameinconsistentG_TOKEN_HEXwindow_state_posstdinGtkAccelKeyGData_GdkEventOwnerChangeGDK_POINTER_MOTION_MASKG_TOKEN_RIGHT_PARENGtkLabelSelectionInfogshortGdkSettingActionscreen_widgetgetcolorGTK_ICON_SIZE_SMALL_TOOLBARtextGDK_BUTTON2_MASKmodifier_maskGTK_WINDOW_POPUP_GtkWindowGDK_VISUAL_STATIC_GRAY_GtkContainerv_pointergint64_markersscrollimagestockprivate_flagsVid_UpdateScaledGdkFontGDK_2BUTTON_PRESSGDK_VISUAL_DIRECT_COLOR_GSListGDK_DRAG_STATUSGDK_WINDOW_STATE_STICKYGDK_NO_EXPOSE_nextGObjectprintfguint8GdkVisibilityStateobjectin_buttonGDK_SOURCE_MOUSEGDK_WINDOW_STATEGDK_VISUAL_STATIC_COLORGdkEventWindowStateVid_DispSymbolactiveis_hint_GtkWindowGroupGDK_MSB_FIRSTfg_gcVid_ResetGDK_DROP_STARTG_SIGNAL_RUN_FIRSTnew_window_statedepress_on_activateGTK_IMAGE_PIXMAPGDK_UNMAPchanged_maskGDK_SCROLLaccel_path_quark_offset_GdkEventAny_GdkPixbufG_TOKEN_STRINGGdkNotifyTypeG_TOKEN_LEFT_PAREN_GtkImageGIconDatareallocate_redrawsenvrestartGDK_BUTTON3_MOTION_MASK_GIconicon_setGQuark_GdkEventSelectionbuild_about_windowGDK_MOD2_MASKdata_widgety_rootGDK_LEAVE_NOTIFY_MASK_GtkItemFactoryG_PARAM_LAX_VALIDATIONselection_timeclosureGDK_CLIENT_EVENTstylesGDK_MOTION_NOTIFYdark_gcexposure_gcsKEY_ACCEL_GtkImageAnimationDataGRNDTYPElong unsigned intGDK_PROPERTY_CHANGE_MASKGDK_MODE_SCREENget_gtk_eventsauxdispGDK_AXIS_LASTowner_changeGTK_ICON_SIZE_INVALIDv_intKEY_STARBURST_flags2targetGdkEventConfigureg_type_IO_read_base_GtkImageImageDataconfigurered_shiftGdkScreenvboxneed_default_positionGtkWindow_unused2__quad_tvbox2has_cursordescentbest_GdkDragContext_PangoFontDescriptionxthicknesssettingn_guardsVid_CopyBufacceleratablesGDK_SCROLL_RIGHTGDK_MOD1_MASKgroupGtkButton_GtkToggleButtonGdkEventExposeexposeGDK_ACTION_LINK_old_offsetclip_x_originGDK_NOTIFY_NONLINEARGDK_CROSSING_UNGRABgconstpointerGDK_AXIS_PRESSUREGDK_VISIBILITY_FULLY_OBSCUREDGdkColormapgrab_brokenGDK_MOD3_MASKv_floatsingle_line_modeGDestroyNotifyGdkVisualinit_colormap_GtkItemFactoryEntryGDK_SELECTION_REQUESTGDK_NOTIFY_NONLINEAR_VIRTUALGDK_SUBSTRUCTURE_MASKGTK_ICON_SIZE_DIALOGdescriptionG_TOKEN_CHARkeys__chprotocolGClosureNotifyData_PangoAttrListmaskVid_BoxGDK_NOTIFY_VIRTUALGDK_BUTTON5_MASKGdkEventGrabBrokenGDK_SETTING_ACTION_NEWred_preckeyboardeventwidth_GdkEventWindowStatev_uintG_TOKEN_COMMENT_MULTIpixmapgushortGTK_JUSTIFY_RIGHTGDK_DAMAGExalignGDK_WINDOW_STATE_ABOVEdiff_GdkEventSettinglock_countG_PARAM_WRITABLErc_propertiesGDK_SOURCE_CURSORresize_modehave_transformchildPLAYMODE_UNSETGTK_IMAGE_ICON_NAMEGTK_IMAGE_ANIMATION_IO_write_endmarshalGDK_DRAG_PROTO_WIN32_DROPFILESguint64depthgptrgbooleanlayoutframeframe_bottom_GdkDeviceKeyaccel_flagsclosedvid_fullscreencairo_font_options_t_GdkEventFocusGDK_SHIFT_MASKGDK_ACTION_COPYsopkey_tGDK_ACTION_MOVE_GdkScreenellipsizeGDK_KEY_PRESSguintmenu_itemsGDK_EVENT_LASTGtkIconSetfloatGtkRcFlagswm_roleVid_Inittheme_change_idcountdispoffGDK_SETTINGGDK_BUTTON_PRESSuse_stockprivate_font_descGtkImageStockDataiconify_initially_IO_buf_basedecorated_GtkWidgetCONF_BOOLwhite_gcstringGDK_KEY_RELEASE_MASKGDK_OWNER_CHANGEunsigned intsettings_bool_togglePangoFontDescriptionVid_PlotPixelnum_menu_itemsnew_gameGtkRcStylenormal_gcsmnemonic_windowGDK_MOD5_MASKnum_axesGdkColorVid_DispGroundsopsym_ssopsym_tGTK_WINDOW_TOPLEVELpositionv_ulong__pad1__pad2__pad3__pad4__pad5buttongreen_masktranslate_notifyGtkImageImageData_GdkDrawableG_TOKEN_RIGHT_BRACEGtkWindowGroupyalignG_SIGNAL_NO_HOOKSv_int64draw_indicator_GdkEventClient_cairo_font_optionslight_gcGTK_ICON_SIZE_MENUbits_per_rgbplaymode_tneed_resize_GtkRequisition_GdkColormapconfigure_notify_receivedtrack_linksGdkPixbuf_GdkEventConfiguremid_gc_flagsGTK_JUSTIFY_CENTERGdkRectangle_GValueitem_factoryGDK_CROSSING_GTK_GRAB__saved_mask_modefocus_on_clickextra_dataaxes_GdkEventGrabBrokenG_TOKEN_COMMAGdkEventScroll_GDataGDK_SOURCE_ERASERGtkRequisition__jmp_bufareaGInitiallyUnownedsend_event_GdkDeviceAxiswidgetconfoption_tallow_shrinkactionstranslate_funcGdkImageTypeGDK_CONFIGUREFALSEnextGDK_ACTION_ASKGDK_DRAG_PROTO_MOTIFGdkEventDNDGDK_MAPgpointerstock_idclip_y_originG_TOKEN_LEFT_BRACEVid_ClearBufGDK_SCROLL_LEFTg_argvgint8G_TOKEN_FLOATinput_buffer_headGdkPixbufAnimationIterFILEstyleG_PARAM_CONSTRUCTGtkItemFactoryEntryGtkWidgetGDK_BUTTON_RELEASEtranslate_keyGDK_ALL_EVENTS_MASK_GdkEventExposenum_confoptionshas_focus_chainGTK_IMAGE_IMAGEGtkAllocationGtkWindowGeometryInfoCONF_INT_GTypeClassfocusnotifytitleflgaccel_groupdevicesizeis_sourceGDK_VISIBILITY_UNOBSCUREDGdkEventSettingGdkModifierTypevideo.clengthframe_top__off_tscreenbufGDK_MODE_WINDOWdelete_eventGDK_ACTION_DEFAULTeffective_attrsGDK_WINDOW_STATE_BELOWGDK_BUTTON1_MASKsaved_state_GtkLabelG_TOKEN_OCTALallow_growGdkDragProtocolborder_widthGDK_CROSSING_GRABGDK_DROP_FINISHED_GtkImageStockDataanimreasonGTypeInstancemenubargeometry_infoGDK_IMAGE_FASTESTtext_aaG_PARAM_STATIC_BLURBGtkObjectG_TOKEN_LEFT_CURLYGTK_JUSTIFY_LEFTkey_snoopermemsetuse_markupGDK_STRUCTURE_MASKGDK_BUTTON_MOTION_MASKneed_default_sizeregionGDK_SCROLL_DOWNGdkPixbufAnimationiconkeysdown_IO_backup_baseGDK_POINTER_MOTION_HINT_MASKcallback_actionGtkStyleGDK_AXIS_IGNOREwindowing_databg_pixmap_nameGDK_OWNER_CHANGE_DESTROY_GdkAtomdefault_widgetframe_timeoutGDK_NOTIFY_UNKNOWNGDK_3BUTTON_PRESStime__off64_tG_TOKEN_SYMBOLGTK_JUSTIFY_FILLKEY_SOUNDGTK_RC_BGvid_vramGTK_ICON_SIZE_DNDjmp_bufGDK_WINDOW_STATE_FULLSCREENvid_double_sizePangoLayoutblue_precGtkImageAnimationDatabuild_menusGtkBin_GtkImagex_rootnum_keysGdkEventCrossingGDK_SCROLL_UP_GdkColorblacktranslate_data_IO_buf_endsptr2private_font__destrc_style_listsGtkImagePixmapDatagint16GdkInputSourcev_doubleGtkContainergfloatxpadVid_UpdateUnscaledfprintf__src_GdkEventMotionKEY_PULLDOWNpixel_GTypeInstancewhiteGTK_IMAGE_PIXBUFG_TOKEN_INTn_inotifiersfunc_datastderrshort intgcharreliefGDK_EXPOSEGDK_KEY_PRESS_MASKGClosuremodeG_TOKEN_IDENTIFIERresolutionfloatingGValuetranslatedGdkEventMotionGDK_MOD4_MASKGtkAccelGroupEntry__streamwrap_mode_GtkAccelKey_GClosure_vtable_offsetgreen_shift_GdkImageGTK_ICON_SIZE_LARGE_TOOLBARGdkOwnerChange_GdkEventKeyGdkEventVisibilityGDK_DRAG_PROTO_OLE2callback_dataG_SIGNAL_NO_RECURSEiterjtypespacingfocus_change__valGdkAtomwrapGdkEventButtonVid_GetKeyGDK_PROPERTY_NOTIFY_GdkEventButton_GdkRegionGdkVisualTypeVid_ShutdownGDK_FOCUS_CHANGE_MASKGtkTranslateFuncbits_per_pixelGdkFontTypetype_hintVid_XorPixelmemcpyG_TOKEN_NONEsymbolicon_sizeGDK_BUTTON4_MASKbyte_orderitemsmeta_marshalGDK_DELETEinput_buffer_push_IO_read_end_sbufGDK_IMAGE_NORMALGDK_NOTHINGGDK_VISUAL_TRUE_COLORGtkAccelGroupactivate_timeoutGDK_LSB_FIRSTG_TOKEN_COMMENT_SINGLEcolormap_sizegulongallocationGtkItemFactorylong long intevent_windowGTK_RC_FGKEY_DECELG_TOKEN_ERRORno_exposeGDK_LOCK_MASKengine_specifiedn_fnotifiersGDK_DRAG_ENTERGdkDeviceAxisVid_UpdatecontainerGDK_CROSSING_NORMAL_lock_GtkImagePixmapDatanotifiersKEY_UNKNOWNgsizedarkgint_GtkButtongreenchildrenrequisition_GdkEventCrossingG_TOKEN_EQUAL_SIGNGDK_IMAGE_SHAREDhardware_keycodeGDK_DRAG_PROTO_NONEGDK_CROSSING_STATE_CHANGEDtitleGtkImageTypestart_timeshort unsigned intstdout_GClosureNotifyDatavisual_GdkEventPropertyG_PARAM_CONSTRUCT_ONLYtext_gcpixels2basewmclass_classGNU C 4.4.3pixbuf_IO_write_ptrblack_gcseparator_GdkEventScrollG_TOKEN_BINARYkeys_changed_handlerconfigure_request_countBOOLvid_pitchlabelGListparentgetevents_GtkLabelSelectionInfoGdkEventNoExposeG_SIGNAL_ACTIONGdkEventTypeGdkEventOwnerChangeKEY_FIREGdkWindowVid_SetBuf_AuxGdkImagein_inotifyGtkImageIconNameDatalabel_textGDK_ACTION_PRIVATEGDK_FONT_FONTdest_windowsuggested_actionGDK_BUTTON_RELEASE_MASK__lenG_PARAM_READABLEGdkEventProximity_PangoLayout__sigset_tGDK_PROXIMITY_INqdatahas_toplevel_focusfocus_childin_clickGDK_EXPOSURE_MASKG_SIGNAL_DETAILEDproximityKEY_BOMBprevbg_gcGdkInputMode_GtkRcStyleG_SIGNAL_RUN_LASTGDK_FOCUS_CHANGEGdkDragActionfont_optionsbuild_settings_dialogheight_GdkPixbufAnimationIterGDK_DRAG_LEAVEGCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3ÿÿÿÿ| ˆAG… E†‡Cƒ PAH… G‡D†Cƒà&AM… %AG… @!AM… pöAB… Hƒ†‡pFB… €·AE… @AD… PAB… Sƒ†`6AB…  †AB… R‡†ƒ0AB… P AB… `îAB… LƒJ‡†P "AB… € OAB… JƒÐ AB… e‡†ƒà ÌAB… Tƒ†‡°>AB… ð!AB…  AB… @0AB… pòAB… Sƒ†‡p0AB…  _AB… GƒIAB… P+AB… €^AB… Iƒ†‡à_AB… bƒ.symtab.strtab.shstrtab.rel.text.rel.data.bss.debug_abbrev.rel.debug_info.rel.debug_line.rodata.str1.1.rodata.str1.4.debug_loc.rel.debug_pubnames.rel.debug_aranges.debug_ranges.debug_str.comment.note.GNU-stack.rel.debug_frame@? hÎ )€p % xØ/€ 4lFl$GB ˆÙ-Vfˆ R  b2puq2q€§s›Bƒ¶‹ ˜£ø„ Ÿ  ²…ÀÀ0؆á/Ë0¹¶$Ôݶèà¶Dä °à$ºõT¿@, ”ÇÑñÿ (€·  P+0249G †TaP n0|`îŒ ™ _®P "·€ OÃ$Òä€ñûÐ   P8@@&,0  BQòÿ[Ppà&~%‹@!˜pö§p²òÿ»@ÄÔêø3AF`6U]dtƒš®Íáö "0CYn’¬¼ÉÖæò-JU^lu|Š¢à Ì«²¹ÂÑçû&D_{‰¡·É°>ÖÝìñð!) :@0EpòPp0Zw†‘I¢©P+¶€^¾à_Êvideo.cdispofftranslate_keyVid_SetModewindowscreenscreen_widgetabout_windowwindow.43566delete_eventhide_callbacksettings_dialogwindow.43501settings_bool_togglenew_gamekey_snooperctrldown.43613input_buffer_tailinput_bufferctrlbreakgetcolorinittedmenu_itemsmenubarcolorsscreenbufinput_buffer_headVid_DispGroundvid_pitchVid_DispGround_SolidVid_PlotPixelVid_XorPixelVid_GetPixelVid_DispSymbolVid_SetBufvid_vramgetpixelvid_double_sizegtk_widget_get_visualgdk_image_new__printf_chkgtk_image_get_typeg_type_check_instance_castgtk_image_setexitVid_SetBuf_Auxauxdispmallocgtk_widget_showgtk_dialog_newgtk_container_get_typegtk_dialog_get_typegtk_container_set_border_widthgtk_window_get_typegtk_window_set_titlegtk_object_get_typegtk_signal_connect_fullgtk_label_newgtk_label_get_typegtk_label_set_justifygtk_label_set_markupgtk_box_get_typegtk_box_pack_startgtk_button_new_from_stockgtk_widget_hidegtk_vbox_newgtk_hbox_newnum_confoptionsconfoptionsgtk_check_button_new_with_labelgtk_toggle_button_get_typegtk_toggle_button_set_activeenvrestartplaymode__longjmp_chkkeysdownstderr__fprintf_chkgdk_colormap_get_systemVid_Initg_argvg_argcgtk_initgtk_window_newgtk_window_set_policygtk_accel_group_newgtk_menu_bar_get_typegtk_item_factory_newgtk_item_factory_create_itemsgtk_window_add_accel_groupgtk_item_factory_get_widgetgtk_image_newgtk_key_snooper_installgtk_widget_set_eventsgtk_container_addVid_Shutdownatexitg_object_unreffreeget_gtk_eventsgtk_main_iteration_dogtk_events_pendingVid_GetCtrlBreakVid_GetKeyVid_UpdateVid_Resetgtk_toggle_button_get_activevid_fullscreenswsaveconfVid_ClearBuf_AuxmemsetVid_ClearBufVid_BoxVid_CopyBufmemcpy-!=-…-“-œÅ-ã÷-!-*HT-‘-œø-V-q4zY_6t67£8ªÄ ×9Üéò:ø;<, 89B N9Z=g?pz-†@‹?±ÑBØCßDî;;EF!;) 1G6HD;px €IŒ;¸À ÈIÔJÛKê;úL ; MN0;E;iOqAx }PŽ;£;ÇOÓ;ÿ IAk}A‘B˜D§;¬F¸;À ÈGÍHÜ; I';S[ cIwRŽR¥S­N¿;æOø; O. ;C ;j Op T} U™ V¸ ;Ü Oé Wõ ; X ;H P  X I` Al T€ A‹ A– A¥ ;²  · PÈ ;ì Oû ;' /  7 I? AE d Yi Zn [¾ \Í æ \  ) 9 @ O Y ` k y ‚  ” ]œ  ¬ ^¸ = Ú Y _ë \ab#c/d6;FI;ie‚R‰f‘gœ ¨h¸ÊiÏÛ;êjõ úkÿl :%;<<KPmV^Nl;“O™¨;ÏOÔänéñAöþAA C;(o-H8@;p=x €I…‘;Á=É ÑIÖâ;ê òGüA A$8Rbv@|-†‘p–›4 q¸ÉÑrÖÞsäuv't,GtMU^j{ˆ6•Ù:âê;<:z—Á×'O“×`?xö/w‰‘r«Wº;Â{Í|Ú6ñz?-)2->@C?X-m4u‘—-ÇÍ-é-þ4 -4)?5ƒÉA>QXQ tœyæ}û}  0 8 H P Xh p€  ˜  ° À È ÐØ Ü à ð ø =    ( 08 < @ P X ` (((!&(3(:(A(H(O(V(d(k(p({(ˆ((¥(ª(µ(Á(Ð(ß(î(ý( ((*(9(H(W(f(u(„(“(¢(±(À(Ï(Þ(í(ü( (()(8(G(V(e(u(|(ˆ(–(¤(ø((A(G(N(Y(t(€(Ž(œ(«(Æ(Ñ(Ý(((($(*(1(<(b(h(n(t(z(€(†(Œ(’(˜(ž(¤(ª(±(Ä(Ê( ((%(3(B(M(X(c(n(y(„((š(§(¬(·(Â(Í(Ø(ã(î(ù((((!(,(7(_(j(v(™(¦(±(½(Ë(Ù(î(ù(ÿ( (($(A(G(M(S(Z(a(h(o(u({(‚(‰((—(ž(¥(¬(³(º(Á(È(Ï(Ö(Ý(í(ò(þ( ((%(4(@(M(](i(v(¥(°(»(Æ(Ñ(Ü(ç(ò(ý(! (' (- (3 (9 (? (E (K (R (Z (e (q (‚ (“ (¤ (µ (Æ (× (è (ù ( ( () (7 (F (Q (] (k (z (à (æ (ì (ò (ø (þ ( ( ( (# (1 (? (N (Y (d (| (ˆ (” (Ÿ (¥ (° (¼ (Ç (Ó (Þ ( ( ( (0 (6 (A (L (X (t (‚ (‘ (œ (¨ (¶ (Ä (Ò (à (ï (ú ( ( (" (1 (< (H (V (d (r (€ (Ž ( (¨ (´ ( (Ð (Þ (ì (ú ((2(N(\(k(v(|(‡(“(¡(¯(½(Ë(Ù(ç(õ((((-(;(I(W(f(r((Œ(—(¢(­(º(È(Ù(ç(ö(((,(2(9(L(R(X(^(d(j(p(w(~(…(Œ(“(š(¡(ª(´(¾(È(Ó(ê(õ((((+(9(G(U(c(q(((¤(ª(°(¶(¼(Â(É(Ü(â(è(î(ô(ú((((#(/(=(L(W(Ž(™(¥(³(Á(Ï(Ý(ë(ù(((,(2(8(>(E(X(^(d(k(~(„(Š((–(œ(¢(¨(¯(Æ(Ñ(Ý(ì(û( (("(1(@(O(^(m(}(ˆ(”(£(²(Â(Í(Ù(è(÷(((!(-(<(K(Z(ƒ(’(¡(°(¿(Î(Þ(é(õ((("(K(Z(i(x(‡(–(¦(±(½(Ì(Û(ê(("(1(@(O(_(j(v(…(”(£(²(Á(Ð(ß(î(ý( ((*(6(E(T(r(}(‰(˜(§(¶(Å(î(ý( ((*(9(I(T(`(o(~(§(¶(Æ(Ñ(Ý(ì(û( ((((8(C(O(^(m(|(‹(š(©(¸(È(Ó(ß(î(ý( ((*(9(H(X(c(o(~((œ(«(»(Æ(Ò(á(ð(ÿ(((-(8(D(S(b(q(€((ž(®(¹(Å(Ô(ã(ò((((((7(F(U(d(t((‹(š(©(¸(Ç(Ö(æ(ñ(ý((!(-(9(E(Q(i(u(((™(¥(±(½(Õ(á(í((((( (&(,(2(8(>(D(J(P(V(\(b(h(n(t(z(€(†(Œ(’(˜(ž(¤(ª(°(¶(¼(Â(È(Î(Ô(Ú(à(æ(ì(ó( ( ( ( ( ($ (+ (2 (9 (@ (G (N (U (] (e (m (u (} (… ( (– (Ÿ (± (· (½ (Ä (× (Ý (ã (é (ð (!( !(!(!(!(!!((!(;!(A!(G!(M!(S!(Y!(`!(s!(y!(!(…!(‹!(‘!(—!(Ÿ!(²!(¸!(¾!(Å!(Ú!(à!(æ!(í!({"(†"(Œ"(—"("(¨"(Ô"(Ú"(á"(ô"(ú"(#(#( #(&#(,#(2#(8#(>#(E#(X#(^#(d#(j#(p#(v#(|#(ƒ#(–#(œ#(¢#(¨#(¸#(¾#(Å#(Ð#(Ü#(ê#(ø#($($("$(1$(<$(H$(V$(d$(v$($(›$(©$(Ä$(Ï$(Û$(é$(ø$(%()%(6%(^%(m%(‹%(š%(©%(¸%(Ç%(Ö%(å%(ô%(&(&(!&(0&(?&(N&(]&(l&({&(Š&(™&(¨&(·&(Æ&(Õ&(ä&(ó&('('( '(0'(;'(H'(V'(d'(r'(€'(¨'(·'(Æ'(Õ'(ä'(ó'((((($((/((5((@((L(([((j((y((ˆ((—((¦((µ((Ä((Ó((-)(3)(9)(?)(F)(q)(})(Š)(™)(©)(µ)(Ð)(Þ)(ì)(ú)(*(*($*(2*(@*(N*(\*(j*({*(Œ*(*(®*(¿*(Ð*(á*(ò*(+(+(%+(6+(G+(X+(i+(z+(‹+(œ+(­+(¾+(Ì+(Ú+(é+(ø+(,(,(&,(8,(C,(O,(],(k,(|,(,(ž,(¯,(Á,(Ì,(Ø,(æ,(õ,(-(-(-(-(+-(L-(X-(f-(u-(„-(”-(Ÿ-(«-(¹-(Ç-(Õ-(ã-(ò-(þ-( .(.(+.(<.(M.(^.(o.(€.(‘.(¢.(³.(Ä.(Õ.(ã.(ñ.(ÿ.( /(/()/(7/(F/(Q/(c/(o/(}/(‹/(™/(«/(·/(Å/(Ó/(á/(ï/(þ/( 0(0($0(/0(;0(J0(U0(a0(p0({0(‡0(–0(¡0(­0(¼0(Ç0(Ó0(á0(ï0(þ0( 1(1(#1(11(@1(K1(W1(e1(s1(œ1(¢1(¨1(®1(´1(º1(À1(Æ1(Ì1(Ó1(æ1(ñ1(ü1(2(2(2((2(32(?2(J2(d2(r2(€2(Ž2(Ÿ2(°2(Á2(Ò2(ã2(ô2(3(3((3(43(B3(S3(d3(v3(3(Œ3(˜3(¦3(´3(Â3(Ð3(Þ3(ì3(ú3( 4(4( 4(.4(<4(J4(X4(f4(v4( 4(­4(¿4(Í4(ß4(ê4(ý4(5(,5(55(>5(X5(y5(Š5(–5(¿5(Ë5(ô5(6(16(=6(i6({6(†6(‘6(ž6(°6(»6(Æ6(Ó6(Ú6Þ6â6$ë6(õ6$7(!7$/7$=7$J7(Q7U7Y7$b7(l7$z7(„7$‘7$ž7$¹7(À7Ä7È7$÷7(8 88$98(D8H8L8$m8(z8(8…8‰8$š8$§8$¬8(¶8$Å8$Ê8(Ô8$Ù8(ï8$ý8$ 9$9$9(*9'39(>9B9O9$V9'_9(j9n9‚9†9œ9 9®9(´9¸9¼9$Á9(Í9Ñ9Õ9$Þ9(é9$ð9(ü9::$(:(/:3:7:$I:$W:$\:(g:$l:(|:€:–:š:°:´:Ä:(Ê:Î:Ò:$×:(ç:(ò:(ý:( ;(;;;$";(1;(@;(O;(\;e;i;q;u;~;$‡;$;$˜;(Ÿ;£;§;$°;(¾;(Ì;(Ø;(ß;ã;ç;$ð;(þ;( <(<(+<(6<(A<(L<(W<(l<(y<(<ƒ<‡<$<(œ<¥<©<°<´<½<$Î<$×<$à<$é<$î<ò<û<$=( ===$=(*=(8=(G=(S=W=[=$d=(s=(~=$ƒ=(=$¢=(¯=´=(¿=$È=Ì=â=æ=ü=>>>.>(:>>>B>$T>$b>$p>$~>$Œ>$‘>•>š>(¥>$³>$¸>(Î>Ò>?(?("?(/?(@?(L?(X?(l?(s?w?{?$?$?$¦?ª?¶?º?È?Ì?Ô?Ø?á?$û?ÿ?@ @@( @$@(@$5@9@C@(J@N@R@$X@(c@g@k@$x@|@†@(‘@•@™@$°@´@À@Ä@Ì@Ð@Ù@$á@(A(A(A(HA(TA(}A(‰A(ºA(ÆA(ìA(óA÷AûA$B(BB'$B'-B$;B$@BDBWB'`B$iB$nB'wB$BƒB–B'ŸB$¨B$¯B³BÆB'ÏB$ØB$ßBãBòB'ûB$C$CC'C'&C$4C$9C=CPC'YC$bC$iCmC€C'‰C$’C$™CC°C'¹C$ÂC$ÇC'ÔCØCçC'ðC$ùC$D( DDD$ D$D-D(4D8D /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile $(LIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/gtk/Makefile0000664000175000017500000002032012124365360015237 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = /bin/bash srcdir = . top_srcdir = ../.. prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${datarootdir} datarootdir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${datarootdir}/info mandir = ${datarootdir}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/sopwith pkglibdir = $(libdir)/sopwith pkgincludedir = $(includedir)/sopwith top_builddir = ../.. ACLOCAL = /home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4 AUTOCONF = autoconf AUTOMAKE = /home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4 AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL} transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = build_triplet = x86_64-unknown-linux-gnu host_alias = host_triplet = x86_64-unknown-linux-gnu target_alias = target_triplet = x86_64-unknown-linux-gnu CC = gcc MAKEINFO = /home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo PACKAGE = sopwith PKG_CONFIG = @PKG_CONFIG@ RANLIB = ranlib SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL_CONFIG = /usr/bin/sdl-config SDL_LIBS = -L/usr/lib/x86_64-linux-gnu -lSDL SOPWITH_BINS = sopwith SOPWITH_SUBDIRS = sdl VERSION = 1.8.0 CFLAGS = -g -O2 @GTK_CFLAGS@ -I.. noinst_LIBRARIES = libgtksopwith.a libgtksopwith_a_SOURCES = video.c pcsound.c timer.c mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../../config.h CONFIG_CLEAN_FILES = LIBRARIES = $(noinst_LIBRARIES) DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I../.. CPPFLAGS = LDFLAGS = LIBS = libgtksopwith_a_LIBADD = libgtksopwith_a_OBJECTS = video.o pcsound.o timer.o AR = ar COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DIST_COMMON = README Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best DEP_FILES = .deps/pcsound.P .deps/timer.P .deps/video.P SOURCES = $(libgtksopwith_a_SOURCES) OBJECTS = $(libgtksopwith_a_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu src/gtk/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-noinstLIBRARIES: clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) distclean-noinstLIBRARIES: maintainer-clean-noinstLIBRARIES: .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: libgtksopwith.a: $(libgtksopwith_a_OBJECTS) $(libgtksopwith_a_DEPENDENCIES) -rm -f libgtksopwith.a $(AR) cru libgtksopwith.a $(libgtksopwith_a_OBJECTS) $(libgtksopwith_a_LIBADD) $(RANLIB) libgtksopwith.a tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src/gtk distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/gtk/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) -include $(DEP_FILES) mostlyclean-depend: clean-depend: distclean-depend: -rm -rf .deps maintainer-clean-depend: %.o: %.c @echo '$(COMPILE) -c $<'; \ $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-cp .deps/$(*F).pp .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm .deps/$(*F).pp %.lo: %.c @echo '$(LTCOMPILE) -c $<'; \ $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ < .deps/$(*F).pp > .deps/$(*F).P; \ tr ' ' '\012' < .deps/$(*F).pp \ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ >> .deps/$(*F).P; \ rm -f .deps/$(*F).pp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall: uninstall-am all-am: Makefile $(LIBRARIES) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ mostlyclean-tags mostlyclean-depend mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \ clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-noinstLIBRARIES distclean-compile \ distclean-tags distclean-depend distclean-generic \ clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-depend maintainer-clean-generic \ distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ mostlyclean-compile distclean-compile clean-compile \ maintainer-clean-compile tags mostlyclean-tags distclean-tags \ clean-tags maintainer-clean-tags distdir mostlyclean-depend \ distclean-depend clean-depend maintainer-clean-depend info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/src/gtk/README0000664000175000017500000000003612046775552014474 0ustar jessejessegtk+ port a work in progress sopwith-1.8.1/src/gtk/timer.o0000664000175000017500000001165012046775553015121 0ustar jessejesseELFx 4(U‰åƒìÇD$Ç$èüÿÿÿÉÃt&U‰åSƒì$EðÇD$‰$èüÿÿÿ‹MôºÓMb+ ‹]ð+ƒÄ$‰È÷êiÛèÁùÁú)Ê[]Ãt&U‰åƒìÉéüÿÿÿ% $ > $ > : ; I$ >   I : ;  : ; I8 : ;I8 : ; I !I/ .? : ; @.? : ; I@4: ; I 4: ; I.? : ; ' @: ; I 4: ; I? < !4: ;I? < Ê‘ƒl|çßòõ2int‹8V2z«×Žd•z—z­Ÿ*FÝ G# :Hš#<Ó3 ”-¨ YO# _§# v§# f§# G§# K§# §# `§# “§# ƒ§#$ B§#( % §#, m"æ#0 #$ì#4 &O#8 X*O#< Ë,o#@ ´0,#D t1A#F 52ò#G ¥6#H C?#L ªH¥#T ±I¥#X ¸J¥#\ ¿K¥#` ÆLÝ#d `NO#h VP#l ²´* ºæ ¤»æ# żì# ÀÀO#¯è ­ Œ¨ ­ Œ'Ô4$O l,a?&´‘hms'O™/p|X‰/O‘á ´R‘ì«’ì O¿Í´Î©û /usr/include/bits/usr/lib/gcc/i486-linux-gnu/4.4.3/include/usr/include..timer.ctypes.htime.hstddef.hstdio.hlibio.hsw.h4g=nfx*8Nwhttu !t!#t#lupqtqsts|u=ÎTimer_Init,Timer_GetMSaTimer_Sleep|__quad_t_IO_FILETimer_GetMStv_sec_IO_save_endshort intsize_t_offset_IO_write_ptr_flags_IO_buf_base_markers_IO_read_endtimer.clong long intTimer_Sleep_locklong int_cur_column_pos_sbuf_old_offset__off64_tstartunsigned charsigned charlong long unsigned intusecunsigned int_IO_marker_shortbufnowtime_IO_write_base_unused2_IO_read_ptr/home/jesse/Code/sopwith-1.7.4/src/gtk_IO_buf_endchar_next__pad1__pad2__pad3__pad4__pad5sintabTimer_Initshort unsigned intlong unsigned int_IO_write_end__time_t_fileno_chaintimeval__off_ttv_usec_IO_backup_basestdin_flags2_mode_IO_read_base_vtable_offset_IO_save_baseGNU C 4.4.3__suseconds_tstdout_IO_lock_tGCC: (Ubuntu 4.4.3-4ubuntu5) 4.4.3ÿÿÿÿ| ˆAB…  LAB… Rƒp AB… .symtab.strtab.shstrtab.rel.text.data.bss.debug_abbrev.rel.debug_info.rel.debug_line.debug_loc.rel.debug_pubnames.rel.debug_aranges.debug_str.comment.note.GNU-stack.rel.debug_frame@| ¨0%¼+¼0¼-BéÎ> Ø€R·ÒN X^‰„m Ai ` N } h 0n½›0+ $¤O ¸P `´ x0° ÅP `Fñÿ    ' L3p ?timer.cstartTimer_InitgettimeofdayTimer_GetMSTimer_Sleepusleep6DMx    !( / 6 = D K Y ` e p } ‚  › ° µ Á Ï Þ é õ   " 1 @ O ^ m | ‹ š © ¸ Ç Ö å ô   ! 0 ? N ] l { Š ™ © ° ¼ Ê Ø  $( . 8<@ I c jnr { Š –› ¨ À ¶04LPsopwith-1.8.1/src/gtk/video.c0000664000175000017500000005110112046775552015065 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: video.c,v 1.8 2003/06/08 00:48:30 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Gtk Video Code // // By Simon Howard // //----------------------------------------------------------------------- #include "video.h" #include "sw.h" #include "swconf.h" #include "swinit.h" #include "swmain.h" #include #include #include // use the vga (8 bit) drawing routines #include "vid_vga.c" BOOL vid_fullscreen = FALSE; BOOL vid_double_size = TRUE; static unsigned char *screenbuf; static int ctrlbreak = 0; static BOOL initted = 0; static GtkWidget *window; static GdkImage *screen; static GtkWidget *screen_widget = NULL; static GtkWidget *menubar; static int colors[16]; //============================================================================ // // input buffer // //============================================================================ static int input_buffer[128]; static int input_buffer_head=0, input_buffer_tail=0; static void input_buffer_push(int c) { input_buffer[input_buffer_tail++] = c; input_buffer_tail %= sizeof(input_buffer) / sizeof(*input_buffer); } static int input_buffer_pop() { int c; if (input_buffer_head == input_buffer_tail) return 0; c = input_buffer[input_buffer_head++]; input_buffer_head %= sizeof(input_buffer) / sizeof(*input_buffer); return c; } //============================================================================ // // GUI // //============================================================================ static void hide_callback(GtkWidget *widget, gpointer data) { GtkWidget *data_widget = (GtkWidget *)data; gtk_widget_hide(data_widget); //puts("hide_callback"); } static void delete_event(GtkWidget *widget, GdkEvent *event, gpointer data) { gtk_widget_hide(widget); } static void settings_bool_toggle(GtkWidget *widget, BOOL *b) { *b = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(widget)) != 0; if (b == &vid_fullscreen || b == &vid_double_size) Vid_Reset(); swsaveconf(); } static GtkWidget *build_settings_dialog() { GtkWidget *window; GtkWidget *hbox, *vbox, *vbox2, *button; int i; window = gtk_dialog_new(); vbox = GTK_DIALOG(window)->vbox; gtk_window_set_title(GTK_WINDOW(window), "Settings"); gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(delete_event), window); gtk_signal_connect(GTK_OBJECT(window), "delete_event", GTK_SIGNAL_FUNC(delete_event), window); vbox = gtk_vbox_new(FALSE, 5); vbox2 = gtk_vbox_new(FALSE, 5); hbox = gtk_hbox_new(FALSE, 5); gtk_box_pack_start(GTK_BOX(hbox), vbox, TRUE, TRUE, 10); gtk_box_pack_start(GTK_BOX(hbox), vbox2, TRUE, TRUE, 10); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox), hbox, TRUE, TRUE, 10); for (i=0; iaction_area; // close button button = gtk_button_new_from_stock(GTK_STOCK_CLOSE); gtk_box_pack_start(GTK_BOX(vbox), button, TRUE, TRUE, 0); gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(hide_callback), window); gtk_widget_show(button); return window; } static void settings_dialog() { static GtkWidget *window = NULL; if (!window) window = build_settings_dialog(); gtk_widget_show(window); } static void new_game(gpointer callback_data, guint callback_action, GtkWidget *widget) { playmode = callback_action; longjmp(envrestart, 0); } static GtkWidget *build_about_window() { GtkWidget *window; GtkWidget *label, *button; // window window = gtk_dialog_new(); gtk_container_set_border_width(GTK_CONTAINER(GTK_DIALOG(window)->vbox), 6); gtk_window_set_title(GTK_WINDOW(window), "About Sopwith"); gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(delete_event), window); gtk_signal_connect(GTK_OBJECT(window), "delete_event", GTK_SIGNAL_FUNC(delete_event), window); // label: label = gtk_label_new(NULL); gtk_label_set_justify(GTK_LABEL (label), GTK_JUSTIFY_CENTER); gtk_label_set_markup(GTK_LABEL(label), "" "Gtk+ Sopwith " VERSION "\n\n" "Classic biplane shoot-em-up game.\n\n" "" "Copyright(C) 1984, 1985, 1987 " "BMB Compuscience Canada Ltd.\n" "Copyright(C) 1984-2000 David L. Clark\n" "Copyright(C) 2001-2003 Simon Howard" ""); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox), label, TRUE, TRUE, 10); gtk_widget_show(label); // button: button = gtk_button_new_from_stock(GTK_STOCK_OK); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->action_area), button, TRUE, TRUE, 0); gtk_signal_connect(GTK_OBJECT(button), "clicked", GTK_SIGNAL_FUNC(hide_callback), window); gtk_widget_show(button); return window; } static void about_window(gpointer callback_data, guint callback_action, GtkWidget *widget) { static GtkWidget *window = NULL; if (!window) window = build_about_window(); gtk_widget_show(window); } static GtkItemFactoryEntry menu_items[] = { { "/_Game", NULL, NULL, 0, "" }, { "/Game/_Single Player", NULL, NULL, 0, ""}, { "/Game/Single Player/Play in _Novice Mode", NULL, new_game, PLAYMODE_NOVICE}, { "/Game/Single Player/Play in _Expert Mode", NULL, new_game, PLAYMODE_SINGLE}, { "/Game/Single Player/sep1", NULL, NULL, 0, ""}, { "/Game/Single Player/Play vs. _Computer", NULL, new_game, PLAYMODE_COMPUTER}, #ifdef TCPIP // not done yet: // { "/Game/_Network Game", NULL, NULL, 0, ""}, // { "/Game/Network Game/_Listen", NULL, NULL, 0, NULL}, // { "/Game/Network Game/_Connect", NULL, NULL, 0, NULL}, #endif { "/Game/sep1", NULL, NULL, 0, ""}, { "/Game/_End Game", NULL, new_game, PLAYMODE_UNSET, "", GTK_STOCK_CLOSE}, { "/Game/sep1", NULL, NULL, 0, ""}, { "/Game/_Quit", NULL, exit, 0, "", GTK_STOCK_QUIT}, { "/_Settings", NULL, NULL, 0, ""}, { "/Settings/_Preferences", NULL, settings_dialog, 0, "", GTK_STOCK_PREFERENCES}, { "/_Help", NULL, NULL, 0, ""}, { "/Help/_About", NULL, about_window, 0, NULL}, }; static GtkWidget *build_menus() { GtkItemFactory *item_factory; GtkAccelGroup *accel_group; int num_menu_items = sizeof (menu_items) / sizeof (menu_items[0]); accel_group = gtk_accel_group_new (); item_factory = gtk_item_factory_new(GTK_TYPE_MENU_BAR, "
", accel_group); gtk_item_factory_create_items(item_factory, num_menu_items, menu_items, NULL); gtk_window_add_accel_group (GTK_WINDOW (window), accel_group); return gtk_item_factory_get_widget (item_factory, "
"); } static sopkey_t translate_key(int gdk_key) { switch (gdk_key) { case GDK_Down: case GDK_period: return KEY_FLIP; case GDK_Left: case GDK_comma: return KEY_PULLUP; case GDK_Right: case GDK_slash: return KEY_PULLDOWN; case GDK_x: return KEY_ACCEL; case GDK_z: return KEY_DECEL; case GDK_b: return KEY_BOMB; case GDK_space: return KEY_FIRE; case GDK_h: return KEY_HOME; case GDK_v: return KEY_MISSILE; case GDK_c: return KEY_STARBURST; case GDK_s: return KEY_SOUND; default: return KEY_UNKNOWN; } } static gint key_snooper(GtkWidget *widget, GdkEventKey *event, gpointer func_data) { int key = event->keyval; static BOOL ctrldown = FALSE; sopkey_t translated; if (key >= GDK_A && key <= GDK_Z) key += GDK_a - GDK_A; if (event->type == GDK_KEY_PRESS) { translated = translate_key(key); if (translated) keysdown[translated] |= 3; if (key == GDK_c && ctrldown) { ++ctrlbreak; if (ctrlbreak > 3) { fprintf(stderr, "User aborted with 3 ^C's\n"); exit(-1); } } if (key == GDK_Control_L) ctrldown = TRUE; else if (key == GDK_Return) input_buffer_push('\n'); else if (key == GDK_Escape) input_buffer_push(27); else input_buffer_push(key); } else if (event->type == GDK_KEY_RELEASE) { translated = translate_key(key); if (translated) keysdown[translated] &= ~1; if(key == GDK_Control_L) ctrldown = FALSE; } return 0; } static GtkWidget *build_gui() { GtkWidget *vbox = gtk_vbox_new(FALSE, 0); menubar = build_menus(); #if GTK_MAJOR_VERSION < 2 screen_widget = gtk_image_new(screen, NULL); #else screen_widget = gtk_image_new(); gtk_image_set(GTK_IMAGE(screen_widget), screen, NULL); #endif gtk_key_snooper_install(key_snooper, NULL); gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), screen_widget, TRUE, FALSE, 0); gtk_widget_set_events(window, GDK_ALL_EVENTS_MASK); gtk_widget_show(menubar); gtk_widget_show(screen_widget); gtk_widget_show(vbox); return vbox; } void get_gtk_events() { while(gtk_events_pending()) gtk_main_iteration_do(0); } //============================================================================ // // Graphics Code // //============================================================================ // which keys are currently down // this is actually a simple bitfield // bit 0 is whether the button is currently down // bit 1 is whether the button has been pressed // since the last call of Vid_GetGameKeys // in this way, every button press will have an effect: // if it is done based on what is currently down it is // possible to miss keypresses (if you press and release // a button fast enough) //static int keysdown[SDLK_LAST]; static unsigned long getcolor(int r, int g, int b) { GdkVisual *v = screen->visual; unsigned long l = 0; if (v->type == GDK_VISUAL_TRUE_COLOR) { l = (r << v->red_shift) & v->red_mask; l += (g << v->green_shift) & v->green_mask; l += (b << v->blue_shift) & v->blue_mask; } else if (v->type == GDK_VISUAL_PSEUDO_COLOR) { GdkColormap *colormap = gdk_colormap_get_system(); int i; int best=0xffffff, l = 0; for (i=0; isize; ++i) { GdkColor *c = &colormap->colors[i]; int r2 = c->red >> 8, g2 = c->green >> 8, b2 = c->blue >> 8; int diff = (r2-r)*(r2-r) + (g2-g)*(g2-g) + (b2-b)*(b2-b); if (!diff) { return i; } if (diff < best) { best = diff; l = i; } } /* printf("best: %i (%i)\n", l, best); printf("[%i, %i, %i], [%i, %i, %i]\n", r, g, b, colormap->colors[l].red, colormap->colors[l].green, colormap->colors[l].blue); */ } else { l = (r + g + b) / 3; } return l; } inline int getpixel(int x, int y) { return 0; } // 2x scale static void Vid_UpdateScaled() { register int x, y; register int pitch = screen->bpl / screen->bpp; // drawing is different depending on the pixel depth // this is probably screwed up endianwise, i dont know // enough about gdks image drawing to know for sure. // if it doesnt work i'm incredibly sorry if (screen->bpp == 1) { register unsigned char *pixels = (unsigned char *) screen->mem; register unsigned char *pixels2 = screenbuf; for (y=0; ybpp == 2) { register unsigned short *pixels = (unsigned short *) screen->mem; register unsigned char *pixels2 = screenbuf; for (y=0; ybpp == 3) { // 24-bit true color // this is *UNTESTED* register unsigned char *pixels = (unsigned char *) screen->mem; register unsigned char *pixels2 = screenbuf; pitch *= 3; for (y = 0; y < SCR_HGHT; ++y) { register unsigned char *p = pixels; register unsigned char *p2 = pixels2; for (x = 0; x < SCR_WDTH; ++x) { int c = *p2++; p[0] = p[3] = p[pitch] = p[pitch+3] = c & 0xff; ++p; p[0] = p[3] = p[pitch] = p[pitch+3] = (c >> 8) & 0xff; ++p; p[0] = p[3] = p[pitch] = p[pitch+3] = (c >> 16) & 0xff; ++p; p += 3; } pixels += pitch << 1; pixels2 += SCR_WDTH; } } else if(screen->bpp == 4) { register unsigned long *pixels = (unsigned long *) screen->mem; register unsigned char *pixels2 = screenbuf; for (y = 0; y < SCR_HGHT; ++y) { register unsigned long *p = pixels; register unsigned char *p2 = pixels2; for (x = 0; x < SCR_WDTH; ++x) { p[0] = p[1] = p[pitch] = p[pitch+1] = colors[*p2++]; p += 2; } pixels += pitch << 1; pixels2 += SCR_WDTH; } } } static void Vid_UpdateUnscaled() { register int x, y; register int pitch = screen->bpl / screen->bpp; // drawing is different depending on the pixel depth // this is probably screwed up endianwise, i dont know // enough about gdks image drawing to know for sure. // if it doesnt work i'm incredibly sorry if (screen->bpp == 1) { register unsigned char *pixels = (unsigned char *) screen->mem; register unsigned char *pixels2 = screenbuf; for (y=0; ybpp == 2) { register unsigned short *pixels = (unsigned short *) screen->mem; register unsigned char *pixels2 = screenbuf; for (y=0; ybpp == 3) { // untested: register unsigned char *pixels = (unsigned char *) screen->mem; register unsigned char *pixels2 = screenbuf; pitch *= 3; for (y = 0; y < SCR_HGHT; ++y) { register unsigned char *p = pixels; register unsigned char *p2 = pixels2; for (x = 0; x < SCR_WDTH; ++x) { int c = colors[*p2++]; *p++ = c & 0xff; *p++ = (c >> 8) & 0xff; *p++ = (c >> 16) & 0xff; } pixels += pitch; pixels2 += SCR_WDTH; } } else if(screen->bpp == 4) { register unsigned long *pixels = (unsigned long *) screen->mem; register unsigned char *pixels2 = screenbuf; for (y = 0; y < SCR_HGHT; ++y) { register unsigned long *p = pixels; register unsigned char *p2 = pixels2; for (x = 0; x < SCR_WDTH; ++x) *p++ = colors[*p2++]; pixels += pitch; pixels2 += SCR_WDTH; } } } void Vid_Update() { GdkRectangle area; if (!initted) Vid_Init(); if (vid_double_size) Vid_UpdateScaled(); else Vid_UpdateUnscaled(); #if GTK_MAJOR_VERSION < 2 // redraw screen area.x = area.y = 0; area.width = screen->width; area.height = screen->height; gtk_widget_draw(screen_widget, &area); #else // this appears to work for gtk2, the above gtk1 code does // not work for gtk2, parts of the screen dont get redrawn (??) gtk_image_set(GTK_IMAGE(screen_widget), screen, NULL); #endif get_gtk_events(); } static void set_icon(char *icon_file) { } static void Vid_UnsetMode() { // destroy screen image object gdk_image_destroy(screen); } static void init_colormap() { int n; for (n = 0; n < 4; n++) { colors[n * 4 + 0] = getcolor(0, 0, 0); colors[n * 4 + 1] = getcolor(0, 255, 255); colors[n * 4 + 2] = getcolor(255, 0, 255); colors[n * 4 + 3] = getcolor(255, 255, 255); } } static void Vid_SetMode() { int w, h; GdkVisual *visual; int flags = 0; // set_icon("icon.bmp"); w = SCR_WDTH; h = SCR_HGHT; if (vid_double_size) { w *= 2; h *= 2; } visual = gtk_widget_get_visual(window); screen = gdk_image_new(GDK_IMAGE_FASTEST, visual, w, h); if (!screen) { printf("Vid_Init: cant create screen\n"); exit(-1); } printf("mode: %ix%ix%i\n", w, h, screen->bpp * 8); if (screen->bpp == 3) { printf("ATTENTION: 24 bit colour mode is untested. If you see this message,\n" "please email me and let me know if it works or not! :)\n" "sdh300@ecs.soton.ac.uk\n"); } if (screen_widget) { gtk_image_set(GTK_IMAGE(screen_widget), screen, NULL); } } void Vid_Shutdown() { if (!initted) return; Vid_UnsetMode(); free(screenbuf); initted = 0; } void Vid_Init() { GtkWidget *gui; int i; if (initted) return; for (i=0; iCGA_GetKey // sdh 10/11/2001: Gtk+ Port // sdh 07/11/2001: add CGA_Reset // sdh 21/10/2001: added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/gtk/Makefile.am0000664000175000017500000000017412046775552015653 0ustar jessejesseCFLAGS=@CFLAGS@ @GTK_CFLAGS@ -I.. noinst_LIBRARIES = libgtksopwith.a libgtksopwith_a_SOURCES = video.c pcsound.c timer.c sopwith-1.8.1/src/gtk/pcsound.c0000664000175000017500000001011512046775553015433 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: pcsound.c,v 1.1.1.1 2003/02/14 19:03:35 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Gtk Sound Code // // This currently does nothing. // It should eventually be made to use ESD (Enlightened Sound Daemon), // which is what GNOME uses for sound. // //--------------------------------------------------------------------------- #include #include "sw.h" #include "swsound.h" #define FREQ 22050 #define TIMER_FREQ 1193280 static int speaker_on = 0; static float current_freq = 0xff; // square wave function for sound generation static inline float square_wave(float time) { int l = (int) time; return time - l < 0.5 ? 1 : 0; } // callback function to generate sound static void snd_callback(void *userdata, unsigned char *stream, int len) { static int lasttime; static float lastfreq; int i; swsndupdate(); // lasttime stores the time offset from the last call // we save the time so that the multiple time slices // all fit together smoothly // if we have changed frequency since last time, we need // to adjust lasttime to the new frequency lasttime *= lastfreq / current_freq; for (i = 0; i < len; ++i) { if (speaker_on) { stream[i] = 127 * square_wave(current_freq * (i + lasttime)); } else { stream[i] = 0; } } lasttime += len; lastfreq = current_freq; } // // set the speaker tone // f is the 'count' sent to the timer chip to specify the frequency // void Speaker_Output(unsigned short count) { if (!count) { current_freq = 0; speaker_on = 0; return; } speaker_on = 1; current_freq = (TIMER_FREQ) / ((float) count * FREQ); } // turn speaker on void Speaker_On() { speaker_on = 1; if (!current_freq) // sanity check current_freq = 255; } // turn sound off void Speaker_Off() { speaker_on = 0; } static int sound_initted = 0; void Speaker_Shutdown() { if (!sound_initted) return; sound_initted = 0; } // initialise sound void Speaker_Init() { /* static SDL_AudioSpec audiospec; if (sound_initted) return; SDL_Init(SDL_INIT_AUDIO); audiospec.samples = 512; audiospec.freq = FREQ; audiospec.format = AUDIO_U8; audiospec.channels = 1; audiospec.callback = &snd_callback; printf("PC Speaker Emulation\n"); printf("init sound: "); fflush(stdout); if (SDL_OpenAudio(&audiospec, NULL) < 0) { printf("failed\n"); fprintf(stderr, "error: cant init sound, %s\n", SDL_GetError()); return; } printf("initialised\n"); sound_initted = 1; SDL_PauseAudio(0); */ } // this is identical to the BASIC SOUND function void Speaker_Sound(int freq, int duration) { int duration_clocks = duration * 1000 / 18.2; int endtime; // turn speaker on int count = TIMER_FREQ / freq; Speaker_Output(count); // delay // for (endtime = SDL_GetTicks() + duration_clocks; // SDL_GetTicks() < endtime;); // turn speaker off Speaker_Off(); } //----------------------------------------------------------------------- // // $Log: pcsound.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:35 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 10/11/2001: Gtk+ port // sdh 21/10/2001: added cvs tags // //----------------------------------------------------------------------- sopwith-1.8.1/src/gtk/timer.c0000664000175000017500000000410412046775552015100 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: timer.c,v 1.1.1.1 2003/02/14 19:03:35 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Timer code // // Abstraction layer for access to the timer // this just uses the standard C time routines // //-------------------------------------------------------------------------- #include #include #include "sw.h" static struct timeval start; // get time in milliseconds int Timer_GetMS() { struct timeval nowtime; int ms; gettimeofday(&nowtime, NULL); ms = (nowtime.tv_sec - start.tv_sec) * 1000 + (nowtime.tv_usec-start.tv_usec)/1000; return ms; } void Timer_Sleep(int usec) { usleep(usec); } void Timer_Init() { gettimeofday(&start, NULL); } //-------------------------------------------------------------------------- // // $Log: timer.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:35 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 16/11/2001: work properly when usleep is used (I stole the SDL // timer code) // sdh 10/11/2001: Gtk+ port // sdh 21/10/2001: added cvs tags // //-------------------------------------------------------------------------- sopwith-1.8.1/src/swgames.c0000664000175000017500000000422612046775543014646 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swgames.c,v 1.1.1.1 2003/02/14 19:03:10 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swgames - SW definition of games // //--------------------------------------------------------------------------- #include "sw.h" #include "swgames.h" GAMES swgames[1] = { { {1270, 588, 1330, 1360, 1630, 1660, 2456, 1720}, {0, 0, 0, 0, 1, 1, 1, 1}, NULL, 7491, NULL, { 191, 284, 409, 539, 685, 807, 934, 1210, 1240, 1440, 1550, 1750, 1780, 2024, 2159, 2279, 2390, 2549, 2678, 2763 }, { 1, 3, 1, 1, 3, 0, 1, 2, 0, 3, 3, 0, 2, 1, 1, 3, 3, 0, 0, 1 }, } }; //--------------------------------------------------------------------------- // // $Log: swgames.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:10 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: rearranged file headers, added cvs tags // sdh 21/10/2001: reformatted with indent, adjusted some code by hand // to make more readable // sdh 20/10/2001: added parentheses to shut up compiler // // 87-03-09 Microsoft compiler. // 84-02-08 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/video.c0000664000175000017500000000472012046775542014304 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: video.c,v 1.1 2003/03/26 13:53:29 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // System-independent video code // //--------------------------------------------------------------------------- #include "video.h" int keysdown[NUM_KEYS]; int Vid_GetGameKeys() { int i, c = 0; // empty input buffer, get new key state while (Vid_GetKey()); if (Vid_GetCtrlBreak()) { c |= K_BREAK; } if (keysdown[KEY_FLIP]) { keysdown[KEY_FLIP] = 0; c |= K_FLIP; } if (keysdown[KEY_PULLUP]) c |= K_FLAPU; if (keysdown[KEY_PULLDOWN]) c |= K_FLAPD; if (keysdown[KEY_ACCEL]) { // smooth acceleration -- Jesse // keysdown[KEY_ACCEL] = 0; c |= K_ACCEL; } if (keysdown[KEY_DECEL]) { // smooth deacceleration -- Jesse // keysdown[KEY_DECEL] = 0; c |= K_DEACC; } if (keysdown[KEY_SOUND]) { keysdown[KEY_SOUND] = 0; c |= K_SOUND; } if (keysdown[KEY_BOMB]) c |= K_BOMB; if (keysdown[KEY_FIRE]) c |= K_SHOT; if (keysdown[KEY_HOME]) c |= K_HOME; if (keysdown[KEY_MISSILE]) { keysdown[KEY_MISSILE] = 0; c |= K_MISSILE; } if (keysdown[KEY_STARBURST]) { keysdown[KEY_STARBURST] = 0; c |= K_STARBURST; } // clear bits in key array for (i=0; i #include #include #include #include #include #include #include #include #include #include #define PORT 3847 static int server_sock = -1; static int tcp_sock = -1; #endif /* #ifdef TCPIP */ // connect to a host void commconnect(char *host) { #ifdef TCPIP struct hostent *hent; struct sockaddr_in in; char *realhost; int port = PORT; // sdh 17/11/2001: check for host:port, use a different // port from the default { char *p = strchr(host, ':'); if (p) { realhost = malloc(p-host + 2); strncpy(realhost, host, p-host); realhost[p-host] = '\0'; port = atoi(p+1); } else { realhost = host; } } // resolve name hent = gethostbyname(realhost); if (realhost != host) free(realhost); if (!hent) { fprintf(stderr, "commconnect: cant resolve '%s': %s\n", host, strerror(errno)); exit(-1); } // create socket tcp_sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (tcp_sock < 0) { fprintf(stderr, "commconnect: cant create socket: %s\n", strerror(errno)); exit(-1); } // connect in.sin_family = AF_INET; in.sin_addr.s_addr = ((struct in_addr *) hent->h_addr)->s_addr; in.sin_port = htons(port); if (connect(tcp_sock, (struct sockaddr *) &in, sizeof(in)) < 0) { fprintf(stderr, "commconnect: cant connect to '%s': %s\n", host, strerror(errno)); exit(-1); } // non blocking socket fcntl(tcp_sock, F_SETFL, O_NONBLOCK); fprintf(stderr, "commconnect: connected to '%s'!\n", host); #endif /* #ifdef TCPIP */ } // open a socket and listen until a connection is established void commlisten() { #ifdef TCPIP struct sockaddr_in in; // size_t in_size; socklen_t in_size; // create socket server_sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if (server_sock < 0) { fprintf(stderr, "commlisten: could not create socket: %s\n", strerror(errno)); exit(-1); } // bind to port memset(&in, 0, sizeof(in)); in.sin_family = AF_INET; in.sin_addr.s_addr = INADDR_ANY; in.sin_port = htons(PORT); if (bind(server_sock, (struct sockaddr *) &in, sizeof(in)) < 0) { fprintf(stderr, "commlisten: cant bind to port %i: %s\n", PORT, strerror(errno)); exit(-1); } atexit(commterm); // listen for connections if (listen(server_sock, 1)) { fprintf(stderr, "commlisten: cant listen on port %i: %s\n", PORT, strerror(errno)); exit(-1); } fprintf(stderr, "commlisten: listening for connection on port %i\n", PORT); fcntl(server_sock, F_SETFL, O_NONBLOCK); // listen for connection for (;;) { if (ctlbreak()) { fprintf(stderr, "commlisten: user aborted connect\n"); exit(-1); } in_size = sizeof(in); tcp_sock = accept(server_sock, (struct sockaddr *) &in, &in_size); if (tcp_sock >= 0) { break; } if (errno == EWOULDBLOCK) { Timer_Sleep(100); } else { fprintf(stderr, "commlisten: error accepting connection: %s\n", strerror(errno)); exit(-1); } } // non blocking socket fcntl(tcp_sock, F_SETFL, O_NONBLOCK); fprintf(stderr, "commlisten: accepted connection from %s\n", inet_ntoa(in.sin_addr)); #endif /* #ifdef TCPIP */ } // read a byte from socket int commin() { #ifdef TCPIP unsigned char c; int bytes; // lost connection if (tcp_sock < 0) return -1; // read bytes = read(tcp_sock, &c, 1); if (bytes < 1) { if (errno != EWOULDBLOCK) { fprintf(stderr, "commin: %s reading from socket\n", strerror(errno)); close(tcp_sock); tcp_sock = -1; } return -1; } return c; #else return 0; #endif /* #ifdef TCPIP */ } // send a byte void commout(unsigned char i) { #ifdef TCPIP if (tcp_sock < 0) return; if (!write(tcp_sock, &i, 1)) { fprintf(stderr, "commout: %s writing to socket\n", strerror(errno)); } #endif /* #ifdef TCPIP */ } // disconnect void commterm() { #ifdef TCPIP if (tcp_sock > 0) { close(tcp_sock); tcp_sock = -1; } if (server_sock > 0) { close(server_sock); server_sock = -1; } #endif /* #ifdef TCPIP */ } //--------------------------------------------------------------------------- // // $Log: tcpcomm.c,v $ // Revision 1.2 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.1.1.1 2003/02/14 19:03:23 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 17/11/2001: ability to specify a different port from default // sdh 16/11/2001: TCPIP #define to disable TCP/IP support // sdh 21/10/2001: added cvs tags // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swsymbol.h0000664000175000017500000000563012046775544015065 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swsymbol.h,v 1.1.1.1.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // Sprites // //--------------------------------------------------------------------------- #ifndef __SWSYMBOL_H__ #define __SWSYMBOL_H__ typedef struct sopsym_s sopsym_t; #include "sw.h" struct sopsym_s { unsigned char *data; int w, h; }; extern sopsym_t *symbol_bomb[8]; // swbmbsym extern sopsym_t *symbol_targets[4]; // swtrgsym extern sopsym_t *symbol_target_hit; // swhtrsym extern sopsym_t *symbol_debris[8]; // swexpsym extern sopsym_t *symbol_flock[2]; // swflksym extern sopsym_t *symbol_bird[2]; // swbrdsym extern sopsym_t *symbol_ox[2]; // swoxsym extern sopsym_t *symbol_ghost; // swghtsym extern sopsym_t *symbol_shotwin; // swshtsym extern sopsym_t *symbol_birdsplat; // swsplsym extern sopsym_t *symbol_missile[16]; // swmscsym extern sopsym_t *symbol_burst[2]; // swbstsym extern sopsym_t *symbol_plane[2][16]; // swplnsym extern sopsym_t *symbol_plane_hit[2]; // swhitsym extern sopsym_t *symbol_plane_win[4]; // swwinsym extern sopsym_t symbol_pixel; extern void symbol_generate(); #endif //--------------------------------------------------------------------------- // // $Log: swsymbol.h,v $ // Revision 1.1.1.1.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.1.1.1 2003/02/14 19:03:32 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 27/06/2002: move plane symbol headers here // sdh 27/06/2002: add sopsym_t, sopsym_t sprite frame replacements // sdh 21/10/2001: moved plane sprite constants into here from sw.h // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swutil.c0000664000175000017500000000564512046775545014537 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swutil.c,v 1.2 2003/06/04 16:02:55 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // Converted ASM Routines // Some of these arent used (dos specific empty functions) // Some of them are modified from andrew jenners source functions // as i cant read x86 asm :( // //----------------------------------------------------------------------- #include "sw.h" #include "swutil.h" void movexy(OBJECTS * ob, int *x, int *y) { long pos; //long vel; // pos = (((long) (ob->ob_x)) << 16) + ob->ob_lx; // vel = (((long) (ob->ob_dx)) << 16) + ob->ob_ldx; // Adding this to avoid range errors -- Jesse if (pos >= ((MAX_X - 10) << 16)) pos = (MAX_X - 10) << 16; if (pos < 0) pos = 0; pos = (ob->ob_x + ob->ob_dx) << 16; ob->ob_x = (short) (pos >> 16); ob->ob_lx = (short) pos; *x = ob->ob_x; // pos = (((long) (ob->ob_y)) << 16) + ob->ob_ly; // vel = (((long) (ob->ob_dy)) << 16) + ob->ob_ldy; pos = (ob->ob_y + ob->ob_dy) << 16; ob->ob_y = (short) (pos >> 16); ob->ob_ly = (short) pos; *y = ob->ob_y; } void setdxdy(OBJECTS * obj, int dx, int dy) { obj->ob_dx = dx >> 8; obj->ob_ldx = dx << 8; obj->ob_dy = dy >> 8; obj->ob_ldy = dy << 8; } void swsetblk() { // used by the splatted ox code to colour the screen. ? } void swgetjoy() { // joystick } void histend() { // demos? } //--------------------------------------------------------------------------- // // $Log: swutil.c,v $ // Revision 1.2 2003/06/04 16:02:55 fraggle // Remove broken printscreen function // // Revision 1.1.1.1 2003/02/14 19:03:22 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 16/11/2001: trap14 removed // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 18/10/2001: converted all functions to ANSI-style arguments // sdh ??/10/2001: created this file to hold replacements for the ASM // functions in swutil.asm // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swsound.c0000664000175000017500000003117612046775542014705 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swsound.c,v 1.4 2003/04/05 22:55:11 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swsound - SW sound generation // //--------------------------------------------------------------------------- #include #include "pcsound.h" #include "timer.h" #include "sw.h" #include "swmain.h" #include "swsound.h" #define TIMER 0x40 #define PORTB 0x61 #define SNDSIZE 100 static int soundtype = 32767; /* Current sound type and */ static int soundparm = 32767; /* and priority parameter */ static OBJECTS *soundobj = NULL; /* Object making sound */ static unsigned lastfreq = 0; /* Last frequency used */ static OBJECTS *lastobj = NULL; /* Previous object making sound */ static void (*toneadj) () = NULL; /* Tone adjustment on clock tick */ static TONETAB tonetab[SNDSIZE]; /* Continuous tone table */ static TONETAB *frsttone, *freetone; /* Tone list and free list */ static unsigned soundticks; /* Ticks since last sound selection */ static int numexpls; /* Number of explosions currently */ /* active */ static int explplace; /* Place in explosion tune; */ static int explline; /* Line in explosion tune */ static unsigned expltone; /* Current explosion tone */ static int explticks; /* Ticks until note change */ static int exploctv; /* Octave */ //#define SOPWITH1_TUNE #ifdef SOPWITH1_TUNE static char *expltune[7] = { ">e4./d8/c4/d4/e4/d+4/e4/c4/d4/d4/d4/d1/", "d4./c8/b4/c4/d4/c+4/d4/b4/c4/c4/c4/c1/a4./a-8/a4/a-4/d4/d4/d2./a4./a-8/a4/a-4/e4/e4/e2./", "e4./d8/c4/d4/e4/d+4/e4/c4/d4/d4/d4/d2/c4/a4/", "d2/e2/g1/", "" }; #else static char *expltune[7] = { "b4/d8/d2/r16/c8/b8/a8/b4./c4./c+4./d4./", "e4/g8/g2/r16/>a8/a8/a2/r16/a2/r16/a8/c2/r16/", "b8/a8/b4/b4/a4./= 50) i = 0; return (seed[i++] % modulo); } static TONETAB *allocton() { register TONETAB *tt; if (!freetone) return 0; tt = freetone; freetone = tt->tt_next; tt->tt_next = frsttone; tt->tt_prev = NULL; if (frsttone) frsttone->tt_prev = tt; frsttone = tt; return frsttone; } static void deallton(TONETAB * ttp) { register TONETAB *tt = ttp; register TONETAB *ttb = tt->tt_prev; if (ttb) ttb->tt_next = tt->tt_next; else frsttone = tt->tt_next; ttb = tt->tt_next; if (ttb) ttb->tt_prev = tt->tt_prev; tt->tt_next = freetone; freetone = tt; } void initsndt() { register TONETAB *tt; register int i; for (i = 0, tt = tonetab; i < (SNDSIZE - 1); ++i, ++tt) tt->tt_next = tt + 1; tt->tt_next = NULL; frsttone = NULL; freetone = tonetab; } void stopsound(OBJECTS * ob) { TONETAB *tt = ob->ob_sound; if (!tt) return; if (ob->ob_type == EXPLOSION) --numexpls; else deallton(tt); ob->ob_sound = NULL; } void soundoff() { if (lastfreq) { // sdh: use the emulated sdl pc speaker code Speaker_Off(); lastfreq = 0; dispdbg = 0; } } static void tone(unsigned int freq) { if (!soundflg) return; if (lastfreq == freq) return; // sdh: use the emulated sdl pc speaker code Speaker_Output(freq); lastfreq = freq; dispdbg = freq; } // music note generation #define NOTEEND '/' #define UPOCTAVE '>' #define DOWNOCTAVE '<' #define SHARP '+' #define FLAT '-' #define DOT '.' #define REST 'R' void playnote() { static int noteindex[] = { 0, 2, 3, 5, 7, 8, 10 }; static int notefreq[] = { 440, 466, 494, 523, 554, 587, 622, 659, 698, 740, 784, 831 }; static int durplace, test, freq, duration; static int index; static int indexadj; static char durstring[5]; static char charatplace, noteletter; static int noteoctavefactor; static int dottednote; BOOL firstplace = TRUE; indexadj = 0; durplace = 0; dottednote = 2; noteoctavefactor = 256; for (;;) { if (!line && !place) octavefactor = 256; charatplace = toupper(tune[line][place++]); if (!charatplace) { place = 0; charatplace = tune[++line][0]; if (!charatplace) { line = 0; } if (firstplace) continue; break; } firstplace = FALSE; if (charatplace == NOTEEND) break; test = isalpha(charatplace); if (test) { index = *(noteindex + (charatplace - 'A')); noteletter = charatplace; } else switch (charatplace) { case UPOCTAVE: octavefactor <<= 1; break; case DOWNOCTAVE: octavefactor >>= 1; break; case SHARP: indexadj++; break; case FLAT: indexadj--; break; case DOT: dottednote = 3; break; default: test = isdigit(charatplace); if (test) *(durstring + durplace++) = charatplace; break; } } durstring[durplace] = '\0'; duration = atoi(durstring); if (duration <= 0) duration = 4; duration = (1440 * dottednote / (60 * duration)) / 2; if (noteletter == REST) { tunefreq = 0; } else { index += indexadj; while (index < 0) { index += 12; noteoctavefactor /= 2; } while (index >= 12) { index -= 12; noteoctavefactor *= 2; } // sdh: soundmul and sounddiv were asm functions. i cant // read x86 asm so i have to guess freq = notefreq[index]; freq *= octavefactor; freq >>= 8; freq *= noteoctavefactor; freq >>= 8; // freq = soundmul( *(notefreq+index), octavefactor, noteoctavefactor ); tunefreq = 1331000 / freq; // tunefreq = sounddiv( 1331000L, freq ); } #ifdef SOPWITH1_TUNE tunedura = duration * 0.7; #else tunedura = duration; #endif } static void adjcont() { register TONETAB *tt = lastobj->ob_sound; if (tt) tone(tt->tt_tone + tt->tt_chng * soundticks); } static void adjshot() { static unsigned savefreq; if (lastfreq == 0xF000) tone(savefreq); else { savefreq = lastfreq; tone(0xF000); } } static void explnote() { line = explline; place = explplace; tune = expltune; octavefactor = exploctv; playnote(); explline = line; explplace = place; expltone = tunefreq; explticks += tunedura; exploctv = octavefactor; } static void adjexpl() { if (--explticks >= 0) return; explnote(); } static void titlnote() { line = titlline; place = titlplace; tune = expltune; octavefactor = titloctv; playnote(); titlline = line; titlplace = place; titltone = tunefreq; titlticks += tunedura; titloctv = octavefactor; soundoff(); tone(titltone); } static void adjtitl() { if (--titlticks >= 0) return; titlnote(); } static void soundadj() { ++soundticks; if (lastfreq && toneadj) (*toneadj) (); if (numexpls) adjexpl(); if (titleflg) adjtitl(); } void swsound() { register TONETAB *tt; tt = frsttone; while (tt) { tt->tt_tone += (tt->tt_chng * soundticks); tt = tt->tt_next; } soundticks = 0; titleflg = FALSE; switch (soundtype) { case 0: case 32767: default: soundoff(); lastobj = NULL; toneadj = NULL; break; case S_PLANE: if (soundparm) tone(0xF000 + soundparm * 0x1000); else tone(0xD000); lastobj = NULL; toneadj = NULL; break; case S_BOMB: if (soundobj == lastobj) break; toneadj = adjcont; lastobj = soundobj; adjcont(); break; case S_FALLING: if (soundobj == lastobj) break; toneadj = adjcont; lastobj = soundobj; adjcont(); break; case S_HIT: tone(swrand(2) ? 0x9000 : 0xF000); lastobj = NULL; toneadj = NULL; break; case S_EXPLOSION: tone(expltone); toneadj = NULL; lastobj = NULL; break; case S_SHOT: tone(0x1000); toneadj = adjshot; lastobj = NULL; break; } soundtype = soundparm = 32767; } void sound(int type, int parm, OBJECTS * ob) { // sdh 28/10/2001: moved code for title music setup here // if we are already playing the title music, ignore if (type == S_TITLE) { if (!titleflg) { titlline = 0; titlplace = 0; titlnote(); toneadj = NULL; lastobj = NULL; titleflg = TRUE; } } else if (type < soundtype) { soundtype = type; soundparm = parm; soundobj = ob; } else if (type == soundtype && parm < soundparm) { soundparm = parm; soundobj = ob; } } void initsound(OBJECTS * obp, int type) { register OBJECTS *ob; register TONETAB *tt; if ((ob = obp)->ob_sound) return; if (ob->ob_type == EXPLOSION) { if (++numexpls == 1) { explline = 0; explplace = 0; explnote(); } ob->ob_sound = (struct tt *) 1; return; } if ((tt = allocton())) { switch (type) { case S_BOMB: tt->tt_tone = 0x0300; tt->tt_chng = 8; break; case S_FALLING: tt->tt_tone = 0x1200; tt->tt_chng = -8; break; default: break; } ob->ob_sound = tt; return; } } // sdh: // in original sopwith this was done with interrupts // we dont have access to interrupts and its ugly in // any case, so instead we call this function occasionally // to check for updating the sound // in fact for continuity i have put a call to this // in the sdl sound callback function, so it is done // rather like the old interrupt system after all :) static int lastclock = 0; void swsndupdate() { int thisclock = Timer_GetMS(); if (thisclock > lastclock + 1000 / 18.2) { lastclock = thisclock; soundadj(); } } //--------------------------------------------------------------------------- // // $Log: swsound.c,v $ // Revision 1.4 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.3 2003/04/05 22:48:35 fraggle // Remove archaic swmach.h and all IBMPC/ATARI #defines // // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:18 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 25/11/2001: remove intsoff, intson calls // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 21/10/2001: reformatted with indent. adjusted some code by hand // to make more readable // sdh 20/10/2001: added #define to use sopwith 1 theme (extracted from // hexdump of sopwith1.exe) // sdh 19/10/2001: removed externs (now in headers) // shuffled some functions round to shut up compiler // sdh 18/10/2001: converted all functions to ANSI-style arguments // sdh ??/10/2001: use SDL digitally emulated PC speaker // // 87-03-10 Microsoft compiler. // 84-04-11 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swend.c0000664000175000017500000001027012046775550014312 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swend.c,v 1.3 2003/04/05 22:44:04 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swend - SW end of game // //--------------------------------------------------------------------------- #include "sw.h" #include "swcollsn.h" #include "swend.h" #include "swgrpha.h" #include "swmain.h" #include "swmisc.h" #include "swsound.h" #include "swutil.h" static void swreport() { puts("\r\nEnd of game statictics\r\n\r\n"); puts("Objects used: "); // dispd(((int) objsmax - (int) objtop + 1) / sizeof(OBJECTS), 0); dispd( (int) (objsmax - objtop + 1) / sizeof(OBJECTS), 0); puts("\r\n"); } void swend(char *msg, BOOL update) { register char *closmsg = NULL; char *multclos(), *asynclos(); sound(0, 0, NULL); swsound(); if (repflag) swreport(); if (playmode == PLAYMODE_ASYNCH) closmsg = asynclos(); histend(); puts("\r\n"); if (closmsg) { puts(closmsg); puts("\r\n"); } if (msg) { puts(msg); puts("\r\n"); } inplay = FALSE; swflush(); if (msg || closmsg) exit(YES); else exit(NO); } void endgame(int targclr) { register int winclr; register OBJECTS *ob; if (playmode != PLAYMODE_ASYNCH) winclr = 1; else { if ((objtop + 1)->ob_score == objtop->ob_score) winclr = 3 - targclr; else winclr = ((objtop + 1)->ob_score > objtop->ob_score) + 1; } ob = objtop; while (ob->ob_type == PLANE) { if (!endsts[ob->ob_index]) { if (ob->ob_clr == winclr && (ob->ob_crashcnt < (MAXCRASH - 1) || (ob->ob_crashcnt < MAXCRASH && (ob->ob_state == FLYING || ob->ob_state == STALLED || ob->ob_state == WOUNDED || ob->ob_state == WOUNDSTALL)))) winner(ob); else loser(ob); } ob = ob->ob_next; } } void winner(OBJECTS * obp) { register OBJECTS *ob = obp; register int n = ob->ob_index; endsts[n] = WINNER; if (n == player) { endcount = 72; goingsun = TRUE; ob->ob_dx = ob->ob_dy = ob->ob_ldx = ob->ob_ldy = 0; ob->ob_state = FLYING; ob->ob_life = MAXFUEL; ob->ob_speed = MIN_SPEED; } } void loser(OBJECTS * ob) { register int n = ob->ob_index; endsts[n] = LOSER; // sdh 28/4/2002: change swposcur to center screen on // non-320 pixel wide screens if (n == player) { swcolour(0x82); swposcur((SCR_WDTH/16) - 4, 12); swputs("THE END"); endcount = 20; } } //--------------------------------------------------------------------------- // // $Log: swend.c,v $ // Revision 1.3 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.2 2003/04/05 22:31:29 fraggle // Remove PLAYMODE_MULTIPLE and swnetio.c // // Revision 1.1.1.1 2003/02/14 19:03:10 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 21/10/2001: reformatted with indent, adjusted some code by hand // to make more readable // sdh 19/10/2001: removed externs, these are now in headers // sdh 18/10/2001: converted all functions to ANSI-style arguments // // 87-03-12 Wounded airplanes. // 87-03-09 Microsoft compiler. // 84-02-02 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swcollsn.c0000664000175000017500000003016112046775544015042 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swcollsn.c,v 1.3.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swcollsn - SW collision resolution // //--------------------------------------------------------------------------- #include "video.h" #include "sw.h" #include "swcollsn.h" #include "swdisp.h" #include "swend.h" #include "swground.h" #include "swgrpha.h" #include "swinit.h" #include "swmain.h" #include "swmisc.h" #include "swmove.h" #include "swsound.h" static OBJECTS *killed[MAX_OBJS*2], *killer[MAX_OBJS*2]; static int killptr; static int collsdx[MAX_PLYR]; static int collsdy[MAX_PLYR]; static OBJECTS *collsno[MAX_PLYR]; static int collptr; static int collxadj, collyadj; // sdh 28/6/2002: new collision detection code done in memory rather // than using the drawing functions // sdh 27/7/2002: removed old collision detection code //#define COLL_DEBUG static void colltest(OBJECTS * ob1, OBJECTS * ob2) { int x, y; int x1, y1, x2, y2; int w, h; unsigned char *data1, *data2; if ((ob1->ob_type == PLANE && ob1->ob_state >= FINISHED) || (ob2->ob_type == PLANE && ob2->ob_state >= FINISHED) || (ob1->ob_type == EXPLOSION && ob2->ob_type == EXPLOSION)) return; // (x1, y1) are the coords of the area we are testing in ob1 // (x2, y2) are the coords of the area in ob2 // (w, h) is the size of the area // x: if (ob1->ob_x < ob2->ob_x) { x1 = ob2->ob_x - ob1->ob_x; x2 = 0; w = ob1->ob_newsym->w - x1; if (w > ob2->ob_newsym->w) w = ob2->ob_newsym->w; } else { x1 = 0; x2 = ob1->ob_x - ob2->ob_x; w = ob2->ob_newsym->w - x2; if (w > ob1->ob_newsym->w) w = ob1->ob_newsym->w; } // no intersection? if (w <= 0) return; // y: if (ob1->ob_y < ob2->ob_y) { y1 = 0; y2 = ob2->ob_y - ob1->ob_y; h = ob2->ob_newsym->h - y2; if (h > ob1->ob_newsym->h) h = ob1->ob_newsym->h; } else { y1 = ob1->ob_y - ob2->ob_y; y2 = 0; h = ob1->ob_newsym->h - y1; if (h > ob2->ob_newsym->h) h = ob2->ob_newsym->h; } // no intersection? if (h <= 0) return; #ifdef COLL_DEBUG fprintf(stderr, "collision test: (%i, %i) at (%i, %i)/(%i, %i)\n", w, h, x1, y1, x2, y2); fprintf(stderr, "info: (%i, %i)/(%i, %i) (%i, %i)/(%i, %i)\n", ob1->ob_x, ob1->ob_y, ob1->ob_newsym->w, ob1->ob_newsym->h, ob2->ob_x, ob2->ob_y, ob2->ob_newsym->w, ob2->ob_newsym->h); #endif data1 = ob1->ob_newsym->data + ob1->ob_newsym->w * y1 + x1; data2 = ob2->ob_newsym->data + ob2->ob_newsym->w * y2 + x2; for (y=0; yob_newsym->w; data2 += ob2->ob_newsym->w; } } static void scoretarg(OBJECTS *obp, int score) { register OBJECTS *ob; ob = obp; if (playmode != PLAYMODE_ASYNCH) { if (ob->ob_clr == 1) nobjects[0].ob_score -= score; else nobjects[0].ob_score += score; dispscore(&nobjects[0]); } else { nobjects[2 - ob->ob_clr].ob_score += score; dispscore(&nobjects[2 - ob->ob_clr]); } } static BOOL scorepenalty(obtype_t ttype, OBJECTS * ob, int score) { register OBJECTS *obt; obt = ob; if (ttype == SHOT || ttype == BOMB || ttype == MISSILE || (ttype == PLANE && (obt->ob_state == FLYING || obt->ob_state == WOUNDED || (obt->ob_state == FALLING && obt->ob_hitcount == FALLCOUNT)) && !obt->ob_athome)) { scoretarg(obt, score); return TRUE; } return FALSE; } static int crtdepth[8] = { 1, 2, 2, 3, 3, 2, 2, 1 }; static void crater(OBJECTS * ob) { register int i, x, y, ymin, ymax; int xmin, xmax; xmin = ob->ob_x + (ob->ob_newsym->w - 8) / 2; xmax = xmin + 7; for (x = xmin, i = 0; x <= xmax; ++x, ++i) { ymax = ground[x]; ymin = ymax - crtdepth[i] +1; y = orground[x] - 20; if (y < 20) y = 20; if (ymin <= y) ymin = y + 1; ground[x] = ymin - 1; } forcdisp = TRUE; } // sdh -- renamed this to swkill to remove possible conflicts with // the unix kill() function static void swkill(OBJECTS * ob1, OBJECTS * ob2) { register OBJECTS *ob, *obt; register int i; obtype_t ttype; obstate_t state; ob = ob1; obt = ob2; ttype = obt ? obt->ob_type : GROUND; if ((ttype == BIRD || ttype == FLOCK) && ob->ob_type != PLANE) return; switch (ob->ob_type) { case BOMB: case MISSILE: initexpl(ob, 0); ob->ob_life = -1; if (!obt) crater(ob); stopsound(ob); return; case SHOT: ob->ob_life = 1; return; case STARBURST: if (ttype == MISSILE || ttype == BOMB || !obt) ob->ob_life = 1; return; case EXPLOSION: if (!obt) { ob->ob_life = 1; stopsound(ob); } return; case TARGET: if (ob->ob_state != STANDING) return; if (ttype == EXPLOSION || ttype == STARBURST) return; if (ttype == SHOT) { ob->ob_hitcount += TARGHITCOUNT; if (ob->ob_hitcount <= (TARGHITCOUNT * (gamenum + 1))) return; } ob->ob_state = FINISHED; initexpl(ob, 0); setvdisp(); dispwobj(ob); setadisp(); scoretarg(ob, ob->ob_orient == 2 ? 200 : 100); if (!--numtarg[ob->ob_clr - 1]) endgame(ob->ob_clr); return; case PLANE: state = ob->ob_state; if (state == CRASHED || state == GHOSTCRASHED) return; if (endsts[ob->ob_index] == WINNER) return; if (ttype == STARBURST || (ttype == BIRD && ob->ob_athome)) return; if (!obt) { if (state == FALLING) { stopsound(ob); initexpl(ob, 1); crater(ob); } else if (state < FINISHED) { scorepln(ob); initexpl(ob, 1); crater(ob); } crashpln(ob); return; } if (state >= FINISHED) return; if (state == FALLING) { if (ob->ob_index == player) { if (ttype == SHOT) ++shothole; else if (ttype == BIRD || ttype == FLOCK) ++splatbird; } return; } if (ttype == SHOT || ttype == BIRD || ttype == OX || ttype == FLOCK) { if (ob->ob_index == player) { if (ttype == SHOT) ++shothole; else if (ttype == OX) ++splatox; else ++splatbird; } // sdh 28/10/2001: option to disable wounded planes if (conf_wounded) { if (state == FLYING) { ob->ob_state = WOUNDED; return; } if (state == STALLED) { ob->ob_state = WOUNDSTALL; return; } } } else { initexpl(ob, 1); if (ttype == PLANE) { collxadj = -collxadj; collyadj = -collyadj; collsdx[collptr] = ((ob->ob_dx + obt->ob_dx) >> 1) + collxadj; collsdy[collptr] = ((ob->ob_dy + obt->ob_dy) >> 1) + collyadj; collsno[collptr++] = ob; } } hitpln(ob); scorepln(ob); return; case BIRD: ob->ob_life = scorepenalty(ttype, obt, 25) ? -1 : -2; return; case FLOCK: if (ttype != FLOCK && ttype != BIRD && ob->ob_state == FLYING) { for (i = 0; i < 8; ++i) initbird(ob, i); ob->ob_life = -1; ob->ob_state = FINISHED; } return; case OX: if (ob->ob_state != STANDING) return; if (ttype == EXPLOSION || ttype == STARBURST) return; scorepenalty(ttype, obt, 200); ob->ob_state = FINISHED; return; default: return; } } void swcollsn() { register OBJECTS *ob, *obp, **obkd, **obkr; register int xmax, ymin, ymax, i; obtype_t otype; int prevx1, prevx2; collptr = killptr = 0; collxadj = 2; collyadj = 1; if (countmove & 1) { collxadj = -collxadj; collyadj = -collyadj; } setadisp(); prevx1 = topobj.ob_x; for (ob = topobj.ob_xnext; ob != &botobj; ob = ob->ob_xnext) { prevx2 = prevx1 = ob->ob_x; xmax = ob->ob_x + ob->ob_newsym->w - 1; ymax = ob->ob_y; ymin = ymax - ob->ob_newsym->h + 1; for (obp = ob->ob_xnext; obp != &botobj && obp->ob_x <= xmax; obp = obp->ob_xnext) { prevx2 = obp->ob_x; if (obp->ob_y >= ymin && (obp->ob_y - obp->ob_newsym->h + 1) <= ymax) colltest(ob, obp); } otype = ob->ob_type; if ((otype == PLANE && ob->ob_state != FINISHED && ob->ob_state != WAITING && ob->ob_y < (ground[ob->ob_x + 8] + 24)) || ((otype == BOMB || otype == MISSILE) && ob->ob_y < (ground[ob->ob_x + 4] + 12))) tstcrash(ob); } obkd = killed; obkr = killer; for (i = 0; i < killptr; ++i, ++obkd, ++obkr) swkill(*obkd, *obkr); obkd = collsno; for (i = 0; i < collptr; ++i, ++obkd) { ob = *obkd; ob->ob_dx = collsdx[i]; ob->ob_dy = collsdy[i]; } } void tstcrash(OBJECTS * obp) { register sopsym_t *sym = obp->ob_newsym; register int x, y; for (x=0; xw; ++x) { y = obp->ob_y - ground[x + obp->ob_x]; // out of range? if (y >= sym->h) continue; // check for collision at this point if (y < 0 || sym->data[y * sym->w + x]) { // collision! if (killptr < 2 * MAX_OBJS) { killed[killptr] = obp; killer[killptr++] = NULL; } return; } } } void scorepln(OBJECTS * ob) { scoretarg(ob, 50); } void dispd(int n, int size) { register int i = 0; register int d, t; register BOOL first = TRUE; // sdh 24/10/2001: make sure we use the main video buffer setvdisp(); if (n < 0) { n = -n; swputc('-'); ++i; } for (t = 10000; t > 1; n %= t, t /= 10) { d = n / t; if (d || !first) { first = FALSE; swputc(d + '0'); ++i; } } swputc(n + '0'); ++i; while (++i <= size) swputc(' '); } void dispscore(OBJECTS * ob) { setvdisp(); Vid_Box(0, 16, 48, 16, 0); swposcur((ob->ob_clr - 1) * 7 + 2, 24); swcolour(ob->ob_clr); dispd(ob->ob_score, 6); } //--------------------------------------------------------------------------- // // $Log: swcollsn.c,v $ // Revision 1.3.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.3 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.2 2003/04/05 22:31:29 fraggle // Remove PLAYMODE_MULTIPLE and swnetio.c // // Revision 1.1.1.1 2003/02/14 19:03:09 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 28/07/2002: removed old collision detection code // sdh 28/06/2002: new collision detection code: look at the sprite data // rather than drawing to the screen. old code is still there // under a #define but will eventually be removed. // sdh 27/06/2002: move to new sopsym_t for symbols // sdh 28/10/2001: option to disable wounded planes // sdh 24/10/2001: fix score display, fix auxdisp buffer // sdh 21/10/2001: use new obtype_t and obstate_t // sdh 21/10/2001: rearranged file headers, added cvs tags // sdh 21/10/2001: reformatted with indent, adjusted some code by // hand to make more readable // sdh 19/10/2001: removed externs, these are now in headers // sdh 18/10/2001: converted all functions to ANSI-style arguments // // 87-04-05 Missile and starburst support // 87-03-31 Missiles. // 87-03-13 Splatted bird symbol. // 87-03-12 More than 1 bullet to kill target. // 87-03-12 Wounded airplanes. // 87-03-11 No explosion on bird-plane collision // 87-03-09 Microsoft compiler. // 84-10-31 Atari // 84-06-12 PCjr Speed-up // 84-02-02 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swmain.h0000664000175000017500000000723412046775542014504 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swmain.h,v 1.4.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWMAIN_H__ #define __SWMAIN_H__ #include #include "sw.h" extern BOOL conf_missiles; extern BOOL conf_solidground; extern BOOL conf_hudsplats; extern BOOL conf_wounded; extern BOOL conf_animals; extern BOOL conf_harrykeys; extern playmode_t playmode; extern GAMES *currgame; extern OBJECTS *targets[MAX_TARG+MAX_OXEN]; extern int numtarg[2]; extern int savemode; extern int tickmode; extern int counttick, countmove; extern int movetick, movemax; extern int gamenum; extern int gmaxspeed, gminspeed; extern int targrnge; extern BOOL hires; extern BOOL disppos; // extern BOOL titleflg; static BOOL titleflg; extern int dispdbg; extern BOOL soundflg; extern BOOL repflag; extern BOOL joystick; extern BOOL ibmkeybd; extern BOOL inplay; extern int koveride; extern int displx; extern int dispdx; extern BOOL dispinit; extern OBJECTS *drawlist; extern OBJECTS *nobjects; extern OBJECTS oobjects[MAX_PLYR]; extern OBJECTS *objbot, *objtop, *objfree, *deltop, *delbot; extern OBJECTS topobj, botobj; extern OBJECTS *compnear[MAX_PLYR]; extern int lcompter[MAX_PLYR]; extern int rcompter[MAX_PLYR]; extern OBJECTS *objsmax; extern int endsts[MAX_PLYR]; extern int endcount; extern int player; extern int currobx; extern BOOL plyrplane; extern BOOL compplane; extern BOOL goingsun; extern BOOL forcdisp; extern char *histin, *histout; extern unsigned explseed; extern int keydelay; extern int dispcnt; extern int endstat; extern int maxcrash; extern int shothole; extern int splatbird; extern int splatox; extern int oxsplatted; extern int sintab[ANGLES]; extern OLDWDISP wdisp[MAX_OBJS]; extern jmp_buf envrestart; #endif //--------------------------------------------------------------------------- // // $Log: swmain.h,v $ // Revision 1.4.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.4 2003/06/04 17:13:26 fraggle // Remove disprx, as it is implied from displx anyway. // // Revision 1.3 2003/06/04 16:02:55 fraggle // Remove broken printscreen function // // Revision 1.2 2003/04/05 22:31:29 fraggle // Remove PLAYMODE_MULTIPLE and swnetio.c // // Revision 1.1.1.1 2003/02/14 19:03:31 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 28/10/2001: conf_ game options // sdh 28/10/2001: moved auxdisp buffer to swgrpha.c // sdh 24/10/2001: fix auxdisp buffer // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swend.h0000664000175000017500000000340612046775544014325 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swend.h,v 1.2 2003/04/05 22:44:04 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWEND_H__ #define __SWEND_H__ #include "sw.h" extern void swend(char *msg, BOOL update); extern void endgame(int targclr); extern void winner(OBJECTS *obp); extern void loser(OBJECTS *ob); #endif //--------------------------------------------------------------------------- // // $Log: swend.h,v $ // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:30 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swmisc.h0000664000175000017500000000326612046775544014516 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swmisc.h,v 1.1.1.1 2003/02/14 19:03:31 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWMISC_H__ #define __SWMISC_H__ #include "sw.h" extern void swputc(char c); extern void swputs( char *sp ); extern void swgets(char *s, int max); extern void swcolour(int a); extern void swposcur(int a, int b); extern int swgetc(); extern void swflush(); #endif //--------------------------------------------------------------------------- // // $Log: swmisc.h,v $ // Revision 1.1.1.1 2003/02/14 19:03:31 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/dos/0000755000175000017500000000000007670677156013623 5ustar jessejessesopwith-1.8.1/src/dos/Makefile0000664000175000017500000000061312046775556015261 0ustar jessejesseOBJS= \ cgavideo.o \ pcsound.o \ timer.o CC=gcc LD=ld CFLAGS=-g -I.. -Wall -O2 LDFLAGS= EXE=sopwith $(EXE): $(OBJS) ../sopwith.o $(CC) $(CFLAGS) $(OBJS) ../sopwith.o -o $@ $(LDFLAGS) ../sopwith.o: make -C .. sopwith.o %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ depends: $(CC) $(CFLAGS) -MM *.c > depends clean : rm -f $(EXE) rm -f $(OBJS) rm -f *~ rm -f depends include depends sopwith-1.8.1/src/dos/README0000664000175000017500000000004012046775556014473 0ustar jessejessedos code, a future possibility sopwith-1.8.1/src/dos/pcsound.c0000664000175000017500000000720712046775556015446 0ustar jessejesse// Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------- // // Copyright(C) 2001-2003 Simon Howard // // 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. // //----------------------------------------------------------------------- // // PC Speaker Code // //----------------------------------------------------------------------- // sopwith note: this is a small library i wrote a while back to // drive the pc speaker code. it is api compatible with the pc // speaker "emulation" code i wrote for sopwith, so will probably // be of use #include #include //#define DEBUG #define CLOCK_FREQ 1193280 #define PPI_PORT 97 #define TIMER_PORT_1 66 #define TIMER_PORT_2 67 static int speaker_on = 0; // // Turn the speaker off // void Speaker_Off() { // if already off, dont turn off if(!speaker_on) return; #ifdef DEBUG puts("turn speaker off"); #endif // turn off speaker outportb(PPI_PORT, inportb(PPI_PORT) & ~3); speaker_on = 0; } // // Turn the speaker on // // (this is kinda internal) // void Speaker_On() { if(speaker_on) return; #ifdef DEBUG puts("turn speaker on"); #endif // turn on speaker outportb(PPI_PORT, inportb(PPI_PORT) | 3); speaker_on = 1; } static unsigned int speaker_initted = 0; // // Shutdown the speaker // void Speaker_Shutdown() { if(!speaker_initted) return; #ifdef DEBUG puts("shutdown"); #endif // turn the speaker off before we finish Speaker_Off(); speaker_initted = 0; } // // Initialise the speaker // void Speaker_Init() { if(speaker_initted) return; speaker_on = 0; speaker_initted = 1; { static int firsttime = 1; if(firsttime) { atexit(Speaker_Shutdown); firsttime = 0; } } } // // Play a particular tone to the speaker // // count: This determines the frequency. count is // the number of clock ticks between speaker // pulses. Hence clock_freq/count == tone // frequency // void Speaker_Output(unsigned short count) { // init if we havent already Speaker_Init(); Speaker_On(); // get timer ready // 182 is the code to indicate a new count value outportb(TIMER_PORT_2, 182); // send value to other port outportb(TIMER_PORT_1, count & 255); outportb(TIMER_PORT_1, (count >> 8) & 255); } // // Play a sound // // This should be identical to the BASIC SOUND function // duration = 1/18th's of a second // void Speaker_Sound(int freq, int duration) { clock_t duration_clocks = duration * CLOCKS_PER_SEC / 18.2; clock_t endtime; // turn speaker on int count = CLOCK_FREQ / freq; Speaker_Output(count); // delay for(endtime = clock() + duration_clocks; clock() < endtime; ); // turn speaker off Speaker_Off(); } //----------------------------------------------------------------------- // // $Log: pcsound.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:34 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // //----------------------------------------------------------------------- sopwith-1.8.1/src/dos/timer.c0000664000175000017500000000333212046775556015106 0ustar jessejesse// Emacs style mode select -*- C++ -*- //-------------------------------------------------------------------------- // // $Id: timer.c,v 1.1.1.1 2003/02/14 19:03:34 fraggle Exp $ // // Copyright(C) 2001-2003 Simon Howard // // 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. // //-------------------------------------------------------------------------- // // Timer code // // Abstraction layer for access to the timer // this just uses the standard C time routines // //-------------------------------------------------------------------------- #include #include "sw.h" static int start; // get time in milliseconds int Timer_GetMS() { return ((clock() - start) * 1000) / CLOCKS_PER_SEC; } void Timer_Init() { start = clock(); } //-------------------------------------------------------------------------- // // $Log: timer.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:34 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // //-------------------------------------------------------------------------- sopwith-1.8.1/src/swdisp.h0000664000175000017500000000400212046775544014507 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swdisp.h,v 1.2 2003/04/05 22:44:04 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWDISP_H__ #define __SWDISP_H__ #include "sw.h" extern void dispplyr(OBJECTS *ob); extern void dispbomb(OBJECTS *obp); extern void dispmiss(OBJECTS *obp); extern void dispburst(OBJECTS *obp); extern void dispexpl(OBJECTS *obp); extern void dispcomp(OBJECTS *ob); extern void dispmult(OBJECTS *ob); extern void disptarg(OBJECTS *ob); extern void dispflck(OBJECTS *ob); extern void dispbird(OBJECTS *ob); extern void dispwobj(OBJECTS *obp); #endif //--------------------------------------------------------------------------- // // $Log: swdisp.h,v $ // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:30 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swobject.c0000664000175000017500000000521712046775542015020 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swobject.c,v 1.1.1.1 2003/02/14 19:03:17 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swobject - SW object allocation and deallocation // //--------------------------------------------------------------------------- #include "sw.h" #include "swmain.h" #include "swobject.h" OBJECTS *allocobj() { register OBJECTS *ob; if (!objfree) return NULL; ob = objfree; objfree = ob->ob_next; ob->ob_next = NULL; ob->ob_prev = objbot; if (objbot) objbot->ob_next = ob; else objtop = ob; ob->ob_sound = NULL; ob->ob_drwflg = ob->ob_delflg = 0; if (ob > objsmax) objsmax = ob; return (objbot = ob); } void deallobj(OBJECTS * obp) { register OBJECTS *ob=obp; register OBJECTS *obb = ob->ob_prev; if (obb) obb->ob_next = ob->ob_next; else objtop = ob->ob_next; obb = ob->ob_next; if (obb) obb->ob_prev = ob->ob_prev; else objbot = ob->ob_prev; ob->ob_next = 0; if (delbot) delbot->ob_next = ob; else deltop = ob; delbot = ob; } //--------------------------------------------------------------------------- // // $Log: swobject.c,v $ // Revision 1.1.1.1 2003/02/14 19:03:17 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: rearranged headers, added cvs tags // sdh 21/10/2001: reformatted with indent. adjusted some code by hand // to make more readable // sdh 19/10/2001: removed externs (now in headers) // sdh 18/10/2001: converted all functions to ANSI-style arguments // // // 87-03-09 Microsoft compiler. // 84-10-31 Atari // 84-06-12 PCjr Speed-up // 84-02-07 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swauto.h0000664000175000017500000000347012046775550014525 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swauto.h,v 1.2 2003/04/05 22:44:04 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWAUTO_H__ #define __SWAUTO_H__ #include "sw.h" extern void swauto(OBJECTS *ob); extern int gohome(OBJECTS *obpt); extern int aim(OBJECTS *obo, int ax, int ay, OBJECTS *obt, BOOL longway); extern int range(int x, int y, int ax, int ay); #endif //--------------------------------------------------------------------------- // // $Log: swauto.h,v $ // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:29 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swsymbol.c0000664000175000017500000013437012046775545015065 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swsymbol.c,v 1.1.1.1 2003/02/14 19:03:21 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // Sprites // //--------------------------------------------------------------------------- #include "sw.h" #include "swsymbol.h" // sdh 28/6/2002: these are from swsymbol.h // some of this is probably kind of redundant seeing as the data is // all static now #define BOMBBYTES 16 /* Bytes in a bomb symbol */ #define BOMBANGS 8 /* Number of bomb angles */ #define TARGBYTES 64 /* Bytes in a target symbol */ #define TARGORIENTS 4 /* Number of target types */ #define EXPLSYMS 8 /* Number of explosion symbols */ #define EXPBYTES 16 /* Bytes in an explosion symbol */ #define FLCKSYMS 2 /* Number of flock symbols */ #define FLKBYTES 64 /* Bytes in a flock symbol */ #define BIRDSYMS 2 /* Number of bird symbols */ #define BRDBYTES 2 /* Bytes in a bird symbol */ #define OXSYMS 2 /* Number of ox symbols */ #define OXBYTES 64 /* Bytes in an ox symbol */ #define GHSTBYTES 16 /* Bytes in a ghost symbol */ #define SHOTBYTES 64 /* Bytes in a shot window symbol */ #define SPLTBYTES 256 /* Bytes in a splatted bird symbol */ #define MISCBYTES 16 /* Bytes in a missile symbol */ #define MISCANGS 16 /* Number of missile angles */ #define BRSTBYTES 16 /* Bytes in a starburst symbol */ #define BRSTSYMS 2 /* Number of starburst symbols */ #define HITSYMS 2 /* Number of hit symbols per plane */ #define SYMBYTES 64 /* Bytes in a symbol */ #define WINSIZES 4 /* Number of winner plane sizes */ #define WINBYTES 64 /* Bytes in a winner symbol */ // sdh 28/6/2002: moved planes here static unsigned char swplnsym[ORIENTS][ANGLES][SYMBYTES] = { /* airplane symbols based on the following template file: 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 1 . . . . . . . . . . . . . 1 1 1 1 . . . . 2 2 2 2 2 2 2 . 1 1 1 1 1 . . . . . 2 . 2 . . . 2 2 2 2 2 1 1 1 1 1 2 1 2 1 1 1 . 1 1 1 1 1 1 1 1 1 2 1 2 1 1 1 . . 1 1 1 1 1 1 2 2 2 2 2 2 1 1 . . 1 . . . . . . . . 1 . . . . . . . . . . . . . . 1 1 1 . . . . . . . . . . . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */ { { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x54, 0x0 , 0x0 , 0x0 , 0x55, 0x0 , 0xAA, 0xA8, 0x55, 0x40, 0x8 , 0x80, 0xAA, 0x95, 0x59, 0x95, 0x15, 0x55, 0x59, 0x95, 0x5 , 0x55, 0xAA, 0xA5, 0x4 , 0x0 , 0x1 , 0x0 , 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x1 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x2 , 0xA0, 0x0 , 0x0 , 0x2A, 0x4 , 0x0 , 0x2 , 0xA2, 0x55, 0x10, 0x0 , 0x19, 0x95, 0x54, 0x41, 0x59, 0xA0, 0x55, 0x95, 0x6A, 0x0 , 0x6A, 0x55, 0x60, 0x50, 0x15, 0x54, 0x1 , 0x40, 0x1 , 0x40, 0x0 , 0x0 , 0x1 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x8 , 0x0 , 0x0 , 0x0 , 0x8 , 0x40, 0x0 , 0x0 , 0xA1, 0x50, 0x0 , 0x2 , 0x9 , 0x50, 0x0 , 0x8 , 0xA6, 0x80, 0x0 , 0x0 , 0x4A, 0x0 , 0x0 , 0x1 , 0x58, 0x50, 0x0 , 0x5 , 0x60, 0x50, 0x11, 0x55, 0x40, 0x0 , 0x55, 0x95, 0x0 , 0x0 , 0x56, 0x54, 0x0 , 0x0 , 0x19, 0x50, 0x0 , 0x0 , 0x0 , 0x10, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x4 , 0x0 , 0x0 , 0x2 , 0x95, 0x40, 0x0 , 0x2 , 0x15, 0x0 , 0x0 , 0x8 , 0xA6, 0x0 , 0x0 , 0x8 , 0x5A, 0x0 , 0x0 , 0xA , 0xA9, 0x40, 0x0 , 0x20, 0x58, 0x50, 0x0 , 0x1 , 0x60, 0x0 , 0x0 , 0x1 , 0x60, 0x0 , 0x0 , 0x5 , 0x50, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x5 , 0x69, 0x40, 0x0 , 0x5 , 0x65, 0x0 , 0x0 , 0x15, 0x65, 0x0 , 0x0 , 0x5 , 0x80, 0x40, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x21, 0x50, 0x0 , 0x0 , 0x21, 0x60, 0x0 , 0x0 , 0x2A, 0xA1, 0x0 , 0x0 , 0x21, 0x65, 0x40, 0x0 , 0x2A, 0xA1, 0x0 , 0x0 , 0x21, 0x60, 0x0 , 0x0 , 0x21, 0x60, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x6 , 0x50, 0x0 , 0x0 , 0x16, 0x50, 0x0 , 0x0 , 0x56, 0x54, 0x0 , 0x0 , 0x56, 0x40, 0x0 , 0x0 , 0x56, 0x0 , 0x0 , }, { 0x0 , 0x14, 0x0 , 0x0 , 0x0 , 0x54, 0x0 , 0x0 , 0x2 , 0x16, 0x10, 0x0 , 0x2 , 0x1A, 0x14, 0x0 , 0x2 , 0xA5, 0x84, 0x0 , 0x0 , 0x8A, 0x80, 0x0 , 0x0 , 0xA5, 0xA0, 0x0 , 0x0 , 0x21, 0x50, 0x0 , 0x0 , 0x21, 0x50, 0x0 , 0x0 , 0x0 , 0x54, 0x0 , 0x0 , 0x0 , 0x54, 0x0 , 0x0 , 0x1 , 0x95, 0x0 , 0x0 , 0x0 , 0x65, 0x40, 0x0 , 0x1 , 0x64, 0x0 , 0x0 , 0x5 , 0x64, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x41, 0x40, 0x0 , 0x5 , 0x61, 0x40, 0x0 , 0x1 , 0x68, 0x0 , 0x0 , 0x28, 0x9A, 0x0 , 0x0 , 0x2 , 0x21, 0x80, 0x0 , 0x2 , 0x25, 0x50, 0x0 , 0x0 , 0x81, 0x54, 0x0 , 0x0 , 0x20, 0x55, 0x0 , 0x0 , 0x0 , 0x15, 0x50, 0x0 , 0x0 , 0x19, 0x40, 0x0 , 0x0 , 0x16, 0x40, 0x0 , 0x0 , 0x5 , 0x80, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x5 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x4 , 0x0 , 0x0 , 0x10, 0x14, 0x0 , 0x0 , 0x16, 0x90, 0x0 , 0x0 , 0x55, 0xA8, 0x0 , 0x0 , 0x16, 0x66, 0x90, 0x0 , 0x22, 0x65, 0x55, 0x4 , 0x28, 0x21, 0x55, 0x50, 0x2 , 0xA0, 0x16, 0x50, 0x0 , 0x8 , 0x6 , 0xA0, 0x0 , 0x0 , 0x1 , 0x58, 0x0 , 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x0 , 0x10, 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x40, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x0 , 0x40, 0x0 , 0x10, 0x5A, 0xAA, 0x55, 0x50, 0x56, 0x65, 0x55, 0x54, 0x56, 0x65, 0x56, 0xAA, 0x2 , 0x20, 0x1 , 0x55, 0x2A, 0xAA, 0x0 , 0x55, 0x0 , 0x0 , 0x0 , 0x15, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x40, 0x0 , 0x0 , 0x1 , 0x40, 0x1 , 0x40, 0x15, 0x54, 0x5 , 0x9 , 0x55, 0xA9, 0x0 , 0xA9, 0x56, 0x55, 0xA , 0x65, 0x41, 0x15, 0x56, 0x64, 0x0 , 0x4 , 0x55, 0x8A, 0x80, 0x0 , 0x10, 0xA8, 0x0 , 0x0 , 0xA , 0x80, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x4 , 0x0 , 0x0 , 0x0 , 0x5 , 0x64, 0x0 , 0x0 , 0x15, 0x95, 0x0 , 0x0 , 0x56, 0x55, 0x0 , 0x1 , 0x55, 0x44, 0x5 , 0x9 , 0x50, 0x0 , 0x5 , 0x25, 0x40, 0x0 , 0x0 , 0xA1, 0x0 , 0x0 , 0x2 , 0x9A, 0x20, 0x0 , 0x5 , 0x60, 0x80, 0x0 , 0x5 , 0x4A, 0x0 , 0x0 , 0x1 , 0x20, 0x0 , 0x0 , 0x0 , 0x20, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x2 , 0x50, 0x0 , 0x0 , 0x59, 0x54, 0x0 , 0x0 , 0x59, 0x50, 0x0 , 0x1 , 0x69, 0x50, 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x5 , 0x50, 0x0 , 0x0 , 0x9 , 0x40, 0x0 , 0x0 , 0x9 , 0x40, 0x0 , 0x5 , 0x25, 0x8 , 0x0 , 0x1 , 0x6A, 0xA0, 0x0 , 0x0 , 0xA5, 0x20, 0x0 , 0x0 , 0x9A, 0x20, 0x0 , 0x0 , 0x54, 0x80, 0x0 , 0x1 , 0x56, 0x80, 0x0 , 0x0 , 0x10, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x95, 0x0 , 0x0 , 0x1 , 0x95, 0x0 , 0x0 , 0x15, 0x95, 0x0 , 0x0 , 0x5 , 0x94, 0x0 , 0x0 , 0x5 , 0x90, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x4A, 0xA8, 0x0 , 0x1 , 0x59, 0x48, 0x0 , 0x0 , 0x4A, 0xA8, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x5 , 0x48, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , }, { 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x19, 0x50, 0x0 , 0x0 , 0x19, 0x40, 0x0 , 0x1 , 0x59, 0x0 , 0x0 , 0x0 , 0x56, 0x40, 0x0 , 0x0 , 0x15, 0x0 , 0x0 , 0x0 , 0x15, 0x0 , 0x0 , 0x0 , 0x5 , 0x48, 0x0 , 0x0 , 0x5 , 0x48, 0x0 , 0x0 , 0xA , 0x5A, 0x0 , 0x0 , 0x2 , 0xA2, 0x0 , 0x0 , 0x12, 0x5A, 0x80, 0x0 , 0x14, 0xA4, 0x80, 0x0 , 0x4 , 0x94, 0x80, 0x0 , 0x0 , 0x15, 0x0 , 0x0 , 0x0 , 0x14, 0x0 , }, { 0x0 , 0x50, 0x0 , 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x2 , 0x50, 0x0 , 0x0 , 0x1 , 0x94, 0x0 , 0x0 , 0x1 , 0x64, 0x0 , 0x0 , 0x5 , 0x54, 0x0 , 0x0 , 0x0 , 0x55, 0x8 , 0x0 , 0x0 , 0x15, 0x42, 0x0 , 0x0 , 0x5 , 0x58, 0x80, 0x0 , 0x2 , 0x48, 0x80, 0x0 , 0x0 , 0xA6, 0x28, 0x0 , 0x0 , 0x29, 0x40, 0x0 , 0x1 , 0x49, 0x50, 0x0 , 0x1 , 0x41, 0x40, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x4 , 0x0 , 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x25, 0x40, 0x0 , 0x0 , 0xA , 0x90, 0x20, 0x0 , 0x5 , 0x94, 0xA , 0x80, 0x5 , 0x55, 0x48, 0x28, 0x10, 0x55, 0x59, 0x88, 0x0 , 0x6 , 0x99, 0x94, 0x0 , 0x0 , 0x2A, 0x55, 0x0 , 0x0 , 0x6 , 0x94, 0x0 , 0x0 , 0x14, 0x4 , 0x0 , 0x0 , 0x10, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , } }, { { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x0 , 0x0 , 0x0 , 0x5 , 0x40, 0x4 , 0x0 , 0x1 , 0x0 , 0x5 , 0x55, 0xAA, 0xA5, 0x15, 0x55, 0x59, 0x95, 0xAA, 0x95, 0x59, 0x95, 0x55, 0x40, 0x8 , 0x80, 0x55, 0x0 , 0xAA, 0xA8, 0x54, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x10, 0x0 , 0x0 , 0x0 , 0x14, 0x4 , 0x0 , 0x0 , 0x6 , 0x94, 0x0 , 0x0 , 0x2A, 0x55, 0x0 , 0x6 , 0x99, 0x94, 0x10, 0x55, 0x59, 0x88, 0x5 , 0x55, 0x48, 0x28, 0x5 , 0x94, 0xA , 0x80, 0xA , 0x90, 0x20, 0x0 , 0x25, 0x40, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x4 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x41, 0x40, 0x0 , 0x1 , 0x49, 0x50, 0x0 , 0x0 , 0x29, 0x40, 0x0 , 0x0 , 0xA6, 0x28, 0x0 , 0x2 , 0x48, 0x80, 0x0 , 0x5 , 0x58, 0x80, 0x0 , 0x15, 0x42, 0x0 , 0x0 , 0x55, 0x8 , 0x0 , 0x5 , 0x54, 0x0 , 0x0 , 0x1 , 0x64, 0x0 , 0x0 , 0x1 , 0x94, 0x0 , 0x0 , 0x2 , 0x50, 0x0 , 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x0 , 0x50, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x14, 0x0 , 0x0 , 0x0 , 0x15, 0x0 , 0x0 , 0x4 , 0x94, 0x80, 0x0 , 0x14, 0xA4, 0x80, 0x0 , 0x12, 0x5A, 0x80, 0x0 , 0x2 , 0xA2, 0x0 , 0x0 , 0xA , 0x5A, 0x0 , 0x0 , 0x5 , 0x48, 0x0 , 0x0 , 0x5 , 0x48, 0x0 , 0x0 , 0x15, 0x0 , 0x0 , 0x0 , 0x15, 0x0 , 0x0 , 0x0 , 0x56, 0x40, 0x0 , 0x1 , 0x59, 0x0 , 0x0 , 0x0 , 0x19, 0x40, 0x0 , 0x0 , 0x19, 0x50, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , }, { 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x48, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x4A, 0xA8, 0x0 , 0x1 , 0x59, 0x48, 0x0 , 0x0 , 0x4A, 0xA8, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x90, 0x0 , 0x0 , 0x5 , 0x94, 0x0 , 0x0 , 0x15, 0x95, 0x0 , 0x0 , 0x1 , 0x95, 0x0 , 0x0 , 0x0 , 0x95, 0x0 , }, { 0x0 , 0x10, 0x0 , 0x0 , 0x1 , 0x56, 0x80, 0x0 , 0x0 , 0x54, 0x80, 0x0 , 0x0 , 0x9A, 0x20, 0x0 , 0x0 , 0xA5, 0x20, 0x0 , 0x1 , 0x6A, 0xA0, 0x0 , 0x5 , 0x25, 0x8 , 0x0 , 0x0 , 0x9 , 0x40, 0x0 , 0x0 , 0x9 , 0x40, 0x0 , 0x0 , 0x5 , 0x50, 0x0 , 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x1 , 0x69, 0x50, 0x0 , 0x0 , 0x59, 0x50, 0x0 , 0x0 , 0x59, 0x54, 0x0 , 0x1 , 0x2 , 0x50, 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x20, 0x0 , 0x0 , 0x1 , 0x20, 0x0 , 0x0 , 0x5 , 0x4A, 0x0 , 0x0 , 0x5 , 0x60, 0x80, 0x0 , 0x2 , 0x9A, 0x20, 0x0 , 0x0 , 0xA1, 0x0 , 0x0 , 0x5 , 0x25, 0x40, 0x0 , 0x5 , 0x9 , 0x50, 0x0 , 0x0 , 0x1 , 0x55, 0x44, 0x0 , 0x0 , 0x56, 0x55, 0x0 , 0x0 , 0x15, 0x95, 0x0 , 0x0 , 0x5 , 0x64, 0x0 , 0x0 , 0x4 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0xA , 0x80, 0x0 , 0x0 , 0x10, 0xA8, 0x0 , 0x0 , 0x55, 0x8A, 0x80, 0x0 , 0x56, 0x64, 0x0 , 0x4 , 0xA , 0x65, 0x41, 0x15, 0x0 , 0xA9, 0x56, 0x55, 0x5 , 0x9 , 0x55, 0xA9, 0x1 , 0x40, 0x15, 0x54, 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x0 , 0x40, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x15, 0x2A, 0xAA, 0x0 , 0x55, 0x2 , 0x20, 0x1 , 0x55, 0x56, 0x65, 0x56, 0xAA, 0x56, 0x65, 0x55, 0x54, 0x5A, 0xAA, 0x55, 0x50, 0x0 , 0x40, 0x0 , 0x10, 0x1 , 0x50, 0x0 , 0x0 , 0x0 , 0x40, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x10, 0x0 , 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x1 , 0x54, 0x0 , 0x0 , 0x1 , 0x58, 0x0 , 0x8 , 0x6 , 0xA0, 0x2 , 0xA0, 0x16, 0x50, 0x28, 0x21, 0x55, 0x50, 0x22, 0x65, 0x55, 0x4 , 0x16, 0x66, 0x90, 0x0 , 0x55, 0xA8, 0x0 , 0x0 , 0x16, 0x90, 0x0 , 0x0 , 0x10, 0x14, 0x0 , 0x0 , 0x0 , 0x4 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x5 , 0x0 , 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x5 , 0x80, 0x0 , 0x0 , 0x16, 0x40, 0x0 , 0x0 , 0x19, 0x40, 0x0 , 0x0 , 0x15, 0x50, 0x0 , 0x20, 0x55, 0x0 , 0x0 , 0x81, 0x54, 0x0 , 0x2 , 0x25, 0x50, 0x0 , 0x2 , 0x21, 0x80, 0x0 , 0x28, 0x9A, 0x0 , 0x0 , 0x1 , 0x68, 0x0 , 0x0 , 0x5 , 0x61, 0x40, 0x0 , 0x1 , 0x41, 0x40, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x5 , 0x64, 0x0 , 0x0 , 0x1 , 0x64, 0x0 , 0x0 , 0x0 , 0x65, 0x40, 0x0 , 0x1 , 0x95, 0x0 , 0x0 , 0x0 , 0x54, 0x0 , 0x0 , 0x0 , 0x54, 0x0 , 0x0 , 0x21, 0x50, 0x0 , 0x0 , 0x21, 0x50, 0x0 , 0x0 , 0xA5, 0xA0, 0x0 , 0x0 , 0x8A, 0x80, 0x0 , 0x2 , 0xA5, 0x84, 0x0 , 0x2 , 0x1A, 0x14, 0x0 , 0x2 , 0x16, 0x10, 0x0 , 0x0 , 0x54, 0x0 , 0x0 , 0x0 , 0x14, 0x0 , 0x0 , }, { 0x0 , 0x56, 0x0 , 0x0 , 0x0 , 0x56, 0x40, 0x0 , 0x0 , 0x56, 0x54, 0x0 , 0x0 , 0x16, 0x50, 0x0 , 0x0 , 0x6 , 0x50, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x0 , 0x21, 0x60, 0x0 , 0x0 , 0x21, 0x60, 0x0 , 0x0 , 0x2A, 0xA1, 0x0 , 0x0 , 0x21, 0x65, 0x40, 0x0 , 0x2A, 0xA1, 0x0 , 0x0 , 0x21, 0x60, 0x0 , 0x0 , 0x21, 0x50, 0x0 , 0x0 , 0x1 , 0x50, 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x5 , 0x80, 0x40, 0x0 , 0x15, 0x65, 0x0 , 0x0 , 0x5 , 0x65, 0x0 , 0x0 , 0x5 , 0x69, 0x40, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x5 , 0x50, 0x0 , 0x0 , 0x1 , 0x60, 0x0 , 0x0 , 0x1 , 0x60, 0x0 , 0x0 , 0x20, 0x58, 0x50, 0x0 , 0xA , 0xA9, 0x40, 0x0 , 0x8 , 0x5A, 0x0 , 0x0 , 0x8 , 0xA6, 0x0 , 0x0 , 0x2 , 0x15, 0x0 , 0x0 , 0x2 , 0x95, 0x40, 0x0 , 0x0 , 0x4 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x10, 0x0 , 0x0 , 0x19, 0x50, 0x0 , 0x0 , 0x56, 0x54, 0x0 , 0x0 , 0x55, 0x95, 0x0 , 0x0 , 0x11, 0x55, 0x40, 0x0 , 0x0 , 0x5 , 0x60, 0x50, 0x0 , 0x1 , 0x58, 0x50, 0x0 , 0x0 , 0x4A, 0x0 , 0x0 , 0x8 , 0xA6, 0x80, 0x0 , 0x2 , 0x9 , 0x50, 0x0 , 0x0 , 0xA1, 0x50, 0x0 , 0x0 , 0x8 , 0x40, 0x0 , 0x0 , 0x8 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x0 , 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x15, 0x54, 0x1 , 0x40, 0x6A, 0x55, 0x60, 0x50, 0x55, 0x95, 0x6A, 0x0 , 0x54, 0x41, 0x59, 0xA0, 0x10, 0x0 , 0x19, 0x95, 0x0 , 0x2 , 0xA2, 0x55, 0x0 , 0x0 , 0x2A, 0x4 , 0x0 , 0x0 , 0x2 , 0xA0, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 } } }; static unsigned char swhitsym[HITSYMS][SYMBYTES] = { /* Hit plane pixel array */ /* airplane symbols based on the following template file: 16 . . . . . . 2 2 2 2 2 2 2 2 2 2 . . . . . . . 2 2 2 1 1 2 2 2 . . . . . . . . . 2 2 1 1 2 2 . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . 1 1 1 1 . . . . . . . . . . . . 1 1 1 1 . . . . . . . . . . . . 1 1 1 1 . . . . . . . . . . . . 1 1 1 1 . . . . . 2 2 2 2 2 2 2 2 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 2 2 2 . 2 2 2 2 2 2 2 2 2 2 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 2 2 . 2 . . . . . . . . . 1 1 1 1 . . . . . . . . . . . . 1 1 1 1 . . . */ { 0x0 , 0xA , 0xAA, 0xAA, 0x0 , 0x2 , 0xA5, 0xA8, 0x0 , 0x0 , 0xA5, 0xA0, 0x0 , 0x0 , 0x5 , 0x0 , 0x0 , 0x0 , 0x5 , 0x0 , 0x0 , 0x0 , 0x5 , 0x0 , 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x15, 0x40, 0xA , 0xAA, 0xA5, 0xAA, 0xAA, 0xAA, 0xA5, 0xA8, 0xAA, 0xAA, 0xA5, 0xAA, 0xAA, 0xAA, 0xA5, 0xA2, 0x0 , 0x0 , 0x15, 0x40, 0x0 , 0x0 , 0x15, 0x40, }, { 0x0 , 0x0 , 0x95, 0x0 , 0x0 , 0x1 , 0x95, 0x0 , 0x0 , 0x15, 0x95, 0x0 , 0x0 , 0x5 , 0x94, 0x0 , 0x0 , 0x5 , 0x90, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x5 , 0x40, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x4A, 0xA8, 0x0 , 0x1 , 0x59, 0x48, 0x0 , 0x0 , 0x4A, 0xA8, 0x0 , 0x0 , 0x9 , 0x48, 0x0 , 0x0 , 0x5 , 0x48, 0x0 , 0x0 , 0x5 , 0x40, 0x0 } }; static unsigned char swwinsym[WINSIZES][WINBYTES] = { /* Win plane pixel array */ /* airplane symbols based on the following template files: 16 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . 2 2 2 2 . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . 2 2 2 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . . . . . . . . . . . . . 2 2 2 2 2 2 2 1 1 2 2 2 2 2 2 2 . . . . . . . 1 1 . . . . . . . . . . . . . . 1 1 . . . . . . . . . . . 2 2 2 1 1 2 2 2 . . . . . . . . 2 2 2 2 2 2 2 2 . . . . . . . . . . . 1 1 . . . . . . . . . . . . . 1 1 1 1 . . . . . . . . . . . 2 2 2 2 2 2 . . . . . . . . . . . 1 1 1 1 . . . . . . . . . . . . 1 . . 1 . . . . . . . 2 2 2 2 2 2 2 2 2 2 2 2 2 2 . . . . . . . . . . . . . . . . . . . . . . 1 . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . . 1 . . . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . . 1 . . . . . . 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */ { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0xA , 0xA0, 0x0 , 0x0 , 0xA , 0xA0, 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0xA9, 0x6A, 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x2A, 0xA8, 0x0 , 0x0 , 0x4 , 0x10, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0x1 , 0x40, 0x0 , 0xAA, 0xA9, 0x6A, 0xAA, 0x0 , 0x1 , 0x40, 0x0 , 0x0 , 0xAA, 0xAA, 0x0 , 0x0 , 0x5 , 0x50, 0x0 , 0x0 , 0x5 , 0x50, 0x0 , 0x2A, 0xAA, 0xAA, 0xA8, 0x0 , 0x10, 0x4 , 0x0 , 0x0 , 0x40, 0x1 , 0x0 , 0x0 , 0x40, 0x1 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 } }; static unsigned char swbmbsym[BOMBANGS][BOMBBYTES] = { /* bomb symbols based on the following template file: 08 . . . . . . . . . . . . . . . . 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 . . . .. . . . . . . . . . . . . */ { 0x0 , 0x0 , 0x0 , 0x0 , 0x51, 0x54, 0x55, 0x55, 0x55, 0x55, 0x51, 0x54, 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x54, 0x1 , 0x55, 0x5 , 0x55, 0x11, 0x54, 0x55, 0x10, 0x15, 0x40, 0x1 , 0x0 , }, { 0x1 , 0x40, 0x5 , 0x50, 0x5 , 0x50, 0x5 , 0x50, 0x5 , 0x50, 0x1 , 0x40, 0x5 , 0x50, 0x5 , 0x50, }, { 0x0 , 0x0 , 0x15, 0x0 , 0x55, 0x40, 0x55, 0x50, 0x15, 0x44, 0x4 , 0x55, 0x1 , 0x54, 0x0 , 0x40, }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x15, 0x45, 0x55, 0x55, 0x55, 0x55, 0x15, 0x45, 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x40, 0x1 , 0x54, 0x4 , 0x55, 0x15, 0x44, 0x55, 0x50, 0x55, 0x40, 0x15, 0x0 , 0x0 , 0x0 , }, { 0x5 , 0x50, 0x5 , 0x50, 0x1 , 0x40, 0x5 , 0x50, 0x5 , 0x50, 0x5 , 0x50, 0x5 , 0x50, 0x1 , 0x40, }, { 0x1 , 0x0 , 0x15, 0x40, 0x55, 0x10, 0x11, 0x54, 0x5 , 0x55, 0x1 , 0x55, 0x0 , 0x54, 0x0 , 0x0 } }; static unsigned char swtrgsym[TARGORIENTS][TARGBYTES] = { /* target symbols based on the following template files: 16 16 . . . . . . . . . . . 2 . . . . . . . . . . . . . . 2 2 . . 2 2 . . . . . . . . . . . 2 1 1 1 1 . . . . . . . . . . 2 2 . . 2 2 . . . . . . . . . . . 2 1 1 1 1 . . . . . . . . . . 2 2 . . 2 2 . . . . . . . . . . . 2 . . . . 1 1 1 1 1 1 1 1 1 1 2 2 . . 2 2 . . . . . . . . . . . 2 . . . . 1 1 1 1 1 1 1 1 1 1 2 2 . . 2 2 . . . . . . . . . . . 2 . . . . 1 1 1 2 1 2 1 2 1 1 2 2 . . 2 2 . . . . . . . . . . . 2 . . . . 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 2 1 1 1 1 1 1 2 2 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 2 2 1 1 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 1 2 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 1 2 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 2 1 2 1 2 1 2 1 2 1 1 2 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 1 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 16 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 2 1 2 1 1 1 1 1 1 1 . . . . . 1 1 1 1 1 1 . . . . . 1 1 1 1 1 1 2 2 2 1 1 1 1 1 1 1 . . . . . 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 2 1 1 1 1 1 1 1 . . . . . 1 1 1 1 1 1 . . . . . 1 1 1 1 1 1 2 2 2 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 2 1 2 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 2 2 2 1 1 1 1 1 . . 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 . . 2 2 . . 2 . 2 . . . 2 2 . . 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 . . 2 2 . . 2 2 2 . . . 2 2 . . 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 . . 2 2 . . 2 . 2 . . . 2 2 . . . 2 2 2 2 2 2 2 2 2 2 2 2 2 2 . */ { 0x0 , 0x0 , 0x2 , 0x0 , 0x0 , 0x0 , 0x2 , 0x55, 0x0 , 0x0 , 0x2 , 0x55, 0x0 , 0x0 , 0x2 , 0x0 , 0x0 , 0x0 , 0x2 , 0x0 , 0x0 , 0x0 , 0x2 , 0x0 , 0x0 , 0x0 , 0x2 , 0x0 , 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x5A, 0xAA, 0xAA, 0xA5, 0x59, 0x55, 0x55, 0x65, 0x59, 0x55, 0x55, 0x65, 0x59, 0x55, 0x55, 0x65, 0x59, 0x55, 0x55, 0x65, 0x59, 0x55, 0x55, 0x65, 0x59, 0x55, 0x55, 0x65, }, { 0x0 , 0x0 , 0xA , 0xA , 0x0 , 0x0 , 0xA , 0xA , 0x0 , 0x0 , 0xA , 0xA , 0x55, 0x55, 0x5A, 0xA , 0x55, 0x55, 0x5A, 0xA , 0x56, 0x66, 0x5A, 0xA , 0x55, 0x55, 0x55, 0x5A, 0x56, 0x66, 0x55, 0x5A, 0x55, 0x55, 0x55, 0x5A, 0x56, 0x66, 0x66, 0x5A, 0x55, 0x55, 0x55, 0x5A, 0x56, 0x66, 0x66, 0x5A, 0x55, 0x55, 0x55, 0x5A, 0x56, 0x66, 0x66, 0x5A, 0x55, 0x55, 0x55, 0x5A, 0x55, 0x55, 0x55, 0x5A, }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x1 , 0x55, 0x55, 0x40, 0x15, 0x55, 0x55, 0x54, 0x55, 0x59, 0x95, 0x55, 0x55, 0x5A, 0x95, 0x55, 0x55, 0x59, 0x95, 0x55, 0x55, 0x5A, 0x95, 0x55, 0x15, 0x59, 0x95, 0x54, 0x5 , 0x5A, 0x95, 0x50, 0xA , 0x8 , 0x80, 0xA0, 0xA , 0xA , 0x80, 0xA0, 0xA , 0x8 , 0x80, 0xA0, }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x15, 0x54, 0x0 , 0x0 , 0x15, 0x55, 0x55, 0x0 , 0x15, 0x54, 0x0 , 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x6A, 0xAA, 0xAA, 0xA9, 0x95, 0x55, 0x55, 0x56, 0x95, 0x55, 0x55, 0x56, 0x2A, 0xAA, 0xAA, 0xA8 }, }; static unsigned char swhtrsym[TARGBYTES] = { /* hit target symbols based on the following template file: 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 . 1 . . . . . . . . . . . . . 1 1 1 1 . . . 1 . . . . . 2 . 1 1 1 1 1 . 1 1 1 . . 1 1 . 2 1 1 1 1 1 1 1 1 2 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 2 2 1 1 1 2 1 1 1 1 1 1 */ 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x4 , 0x40, 0x0 , 0x0 , 0x5 , 0x50, 0x10, 0x2 , 0x15, 0x51, 0x50, 0x52, 0x55, 0x55, 0xA5, 0x59, 0x55, 0x55, 0xA5, 0x65, 0x55 }; static unsigned char swexpsym[EXPLSYMS][EXPBYTES] = { /* explosion symbols based on the following template files: 08 08 08 08 1 1 1 . 2 . . . . . . 1 1 . . . . . . . . 2 . . . . . 1 1 . . . 1 1 1 . 2 . . . . 1 1 1 1 1 1 . . . . . 2 2 2 . . . . 1 1 1 . . 1 1 1 2 . . . . 1 1 1 2 2 1 1 1 . . . 2 2 2 2 2 . 1 1 1 1 1 1 . . . 2 2 2 1 1 1 1 1 2 2 2 2 1 1 . . 2 2 2 2 2 . 1 1 1 1 1 1 1 1 2 2 . 2 1 1 1 1 1 1 2 2 2 2 1 1 . 2 2 2 2 2 . . 1 1 1 1 1 1 1 1 . . . 1 1 . . . 1 1 1 2 2 1 1 1 2 2 2 2 2 . . . . 1 1 1 1 . 1 . . . . 1 1 . . . . 1 1 1 1 1 1 . . 2 2 2 . . . . . . 1 1 1 . . . . . . 1 1 . . . . . . 1 1 . . . . . 2 . . . . . . . . 1 1 . . . 08 08 08 08 . 1 2 2 2 . . . 1 1 . . . . . . . . . . . . . . . . . . . . . . . 1 1 1 1 1 . . 1 1 . . 1 2 . . . . . . . . 1 1 . 1 . . . 1 . . . . 2 2 1 2 1 . . . . . 2 1 . . . . . . . . 1 1 . . . 1 . . . . 2 1 1 2 2 2 1 . . . . . . . . . . . . 1 1 . . . . . . . . . 1 . . . . . . . 1 1 . . . . . 2 2 . 1 2 . 1 1 . . . 1 . 1 . . . . . . 1 2 . . . 1 2 . 2 2 . . 2 2 . 2 1 . . . . . . . . . . 1 . . 1 . . 1 1 . . 2 1 . 2 2 . . . . . . . . . . 2 2 . . . 1 . . . . . . . 1 2 . . . 1 . . . . . . . . . . . . . 2 2 . . . . . . . 1 . */ { 0x54, 0x80, 0x54, 0x80, 0x56, 0x0 , 0xA , 0x95, 0xA2, 0x55, 0x1 , 0x40, 0x1 , 0x40, 0x1 , 0x40, }, { 0x1 , 0x40, 0x15, 0x54, 0x56, 0x95, 0x5A, 0xA5, 0x5A, 0xA5, 0x56, 0x95, 0x15, 0x54, 0x1 , 0x40, }, { 0x0 , 0x20, 0x0 , 0xA8, 0x2 , 0xAA, 0xA , 0xA8, 0x2A, 0xA0, 0xAA, 0x80, 0x2A, 0x0 , 0x8 , 0x0 , }, { 0x1 , 0x40, 0x1 , 0x50, 0x15, 0x54, 0x55, 0x55, 0x55, 0x55, 0x15, 0x44, 0x5 , 0x40, 0x1 , 0x40, }, { 0x1A, 0x80, 0x15, 0x50, 0xA , 0x64, 0x96, 0xA4, 0x0 , 0x5 , 0x18, 0x6 , 0x5 , 0x9 , 0x6 , 0x1 , }, { 0x50, 0x0 , 0x50, 0x60, 0x0 , 0x90, 0x0 , 0x0 , 0x0 , 0x28, 0x28, 0x28, 0x28, 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x5 , 0x0 , 0x5 , 0x1 , 0x40, 0x61, 0x40, 0x90, 0x0 , 0x0 , 0x28, 0x0 , 0x28, }, { 0x0 , 0x0 , 0x10, 0x10, 0x1 , 0x0 , 0x0 , 0x4 , 0x44, 0x0 , 0x0 , 0x41, 0x4 , 0x0 , 0x0 , 0x4 } }; static unsigned char swflksym[FLCKSYMS][FLKBYTES] = { /* flock symbols based on the following template files: 16 16 . 3 . . . . . . . . . . . . . . 3 . 3 . . . . . . . . . . . . . 3 . 3 . . . . . . . . . . . . . . 3 . . . . . . . . . . . . . . . . . . . . . 3 . 3 . . . . 3 . . . . . . . . . 3 . . . . 3 . 3 . . . 3 . . . . 3 . . . . 3 . 3 . . 3 . 3 . . 3 . 3 . . . . 3 . . . 3 . 3 . . . . . . . . . . . . . . 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 . 3 . . 3 . 3 . . . . 3 . . . . 3 . . . . 3 . . . . 3 . 3 . . . 3 . . . . 3 . . . . 3 . 3 . . 3 . 3 . . 3 . 3 . . . . 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 . 3 . . 3 . . . . 3 . 3 . . . . 3 . . 3 . 3 . . . . 3 . . . . . 3 . . 3 . 3 . . . . 3 . . . . 3 . 3 . . 3 . . . . 3 . 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 . . . . . . 3 . . . . . . . 3 . 3 . . . . 3 . 3 . . . . . . 3 . 3 . . . . 3 . 3 . . . . . . . 3 . . . . . . 3 . . . . . . . . . . . 3 . 3 . . . . . . . . . . . . . . 3 . . . . . . . . . . . . . . . 3 . . . . . . . . . . . . . . 3 . 3 . . . . . . . */ { 0x30, 0x0 , 0x0 , 0x0 , 0xCC, 0x0 , 0x0 , 0x0 , 0x0 , 0x3 , 0x30, 0xC , 0x3 , 0x0 , 0xC0, 0x33, 0xC , 0xC0, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0xCC, 0x33, 0x0 , 0xC0, 0x30, 0xC , 0x3 , 0x30, 0x0 , 0x0 , 0x0 , 0x0 , 0xC , 0xC3, 0x0 , 0xCC, 0x3 , 0xC , 0xC0, 0x30, 0x0 , 0x0 , 0x0 , 0x0 , 0x3 , 0x0 , 0xC , 0x0 , 0xC , 0xC0, 0x33, 0x0 , 0x0 , 0xC , 0xC0, 0x0 , 0x0 , 0x3 , 0x0 , 0x0 , }, { 0xCC, 0x0 , 0x0 , 0x0 , 0x30, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0xC0, 0x33, 0xC , 0xC3, 0x30, 0xC , 0x3 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x30, 0xC , 0x3 , 0x30, 0xCC, 0x33, 0x0 , 0xC0, 0x0 , 0x0 , 0x0 , 0x0 , 0x3 , 0xC , 0xC0, 0x30, 0xC , 0xC3, 0x0 , 0xCC, 0x0 , 0x0 , 0x0 , 0x0 , 0xC , 0xC0, 0x33, 0x0 , 0x3 , 0x0 , 0xC , 0x0 , 0x0 , 0x3 , 0x0 , 0x0 , 0x0 , 0xC , 0xC0, 0x0 }, }; static unsigned char swbrdsym[BIRDSYMS][BRDBYTES] = { /* bird symbols based on the following template files: 4 4 . 3 . . 3 . 3 . 3 . 3 . . 3 . . */ {0x30, 0xCC}, {0xCC, 0x30} }; static unsigned char swoxsym[OXSYMS][OXBYTES] = { /* ox symbols based on the following template files: 16 16 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 . . 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2 2 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 1 3 3 . . . . . . . . . . . . . . . . . . . . 2 2 2 2 2 2 3 2 2 3 3 3 . . . . . . . . . . . . . . . . . . 2 2 2 2 2 2 2 2 3 2 2 3 3 2 3 . . . . . . . . . . . . . . . . 3 2 2 2 2 2 2 2 2 3 2 2 2 3 3 . . . . . . . . . . . . . . . . . 3 2 2 2 2 2 2 2 2 2 3 3 . . . . . . . . . . . . . . . . 3 . . . 3 2 2 2 2 2 2 2 2 2 2 2 . . . . . . 2 2 2 2 2 2 2 2 . 2 2 2 . . 3 2 2 . 2 2 . . 2 2 . 2 2 . . . 3 2 3 3 2 2 2 2 3 3 2 2 2 3 3 . . 2 2 . 2 2 . . 2 2 2 2 . . . 3 2 2 2 2 2 2 2 2 2 2 2 2 3 3 . . 3 3 . 3 3 . . 3 3 . 3 3 . . . 3 2 2 3 3 2 2 3 3 2 . 2 2 3 . . */ { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0xC , 0x30, 0x0 , 0x0 , 0xE , 0xA0, 0x0 , 0x0 , 0xB , 0x7C, 0x2 , 0xAA, 0xBA, 0xFC, 0x2A, 0xAA, 0xBA, 0xFB, 0xEA, 0xAA, 0xBA, 0xBC, 0xEA, 0xAA, 0xAF, 0x0 , 0xEA, 0xAA, 0xAA, 0x0 , 0xE8, 0xA0, 0xA2, 0x80, 0x28, 0xA0, 0xA2, 0x80, 0x3C, 0xF0, 0xF3, 0xC0, }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0xC0, 0xA , 0xAA, 0xA2, 0xA0, 0xEF, 0xAA, 0xFA, 0xBC, 0xEA, 0xAA, 0xAA, 0xBC, 0xEB, 0xEB, 0xE2, 0xB0 }, }; static unsigned char swghtsym[GHSTBYTES] = { /* ghost symbol based on the following template file: 08 0 0 1 1 1 1 0 0 0 1 1 1 1 1 1 0 1 1 2 1 1 2 1 1 1 2 2 2 2 2 2 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 */ 0x5 , 0x50, 0x15, 0x54, 0x59, 0x65, 0x6A, 0xA9, 0x59, 0x65, 0x55, 0x55, 0x6A, 0xA9, 0x55, 0x55 }; static unsigned char swshtsym[SHOTBYTES] = { /* shot window symbol based on the following template file: 16 . . . . . . . . . . . . . . 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 2 1 . . . . 1 1 . . . . . 1 1 1 2 2 1 . . . . . 1 . . . . 1 1 1 2 1 1 . . . . . . . . . . . 1 2 2 1 . 1 1 . . . . . . . . 1 . 1 1 . . . . 1 . . . . . . 1 . . . 1 . . . . 1 . . . . . 1 . . . . 1 . . . . 1 . . . . . 1 . . 1 1 1 . . . 1 . . . . . . 1 . 1 . . . . . . . 1 . . . . . . . . 1 1 . . . . . . 1 . . */ 0x0 , 0x0 , 0x0 , 0x4 , 0x1 , 0x0 , 0x0 , 0x50, 0x1 , 0x0 , 0x15, 0x0 , 0x0 , 0x40, 0x40, 0x0 , 0x0 , 0x41, 0x5 , 0x0 , 0x0 , 0x15, 0x10, 0x40, 0x55, 0x16, 0x40, 0x14, 0x0 , 0x56, 0x90, 0x1 , 0x0 , 0x56, 0x50, 0x0 , 0x0 , 0x1A, 0x45, 0x0 , 0x0 , 0x45, 0x0 , 0x40, 0x1 , 0x1 , 0x0 , 0x40, 0x4 , 0x1 , 0x0 , 0x40, 0x4 , 0x15, 0x1 , 0x0 , 0x4 , 0x40, 0x0 , 0x40, 0x0 , 0x14, 0x0 , 0x10 }; static unsigned char swsplsym[SPLTBYTES] = { /* splatted bird symbol based on the following template file: 32 . . . . . . . . . . . . . . . . . 2 2 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1 1 2 2 . . . . . . . . . . . . . 1 . . . . . . . . . . . . . . 2 1 1 1 2 . . . . . . 1 . . . . 1 1 1 . . . . . . . . . . . . . . 2 1 1 1 2 . . . . . 1 . . . . . 1 1 . . . . . 1 . . . . . . . . 2 1 1 1 1 2 . . . 1 1 . . . . . 1 1 . . . . 1 1 1 . . . . . . . 2 1 1 1 1 1 2 . . . . . . . . . . . . . . . . 1 . . . . 1 . . . 2 1 1 1 1 1 1 2 . . . . . . . . . . . . . . . . . . . . . . . . 2 1 1 1 1 1 1 1 2 . . . . . . . . 1 . . . . . . . . . . . . . 2 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . . . . . . . . . . . 2 1 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . . . . . . . 1 . . 2 1 1 1 1 1 1 1 1 1 1 2 . . . . . . 1 . . . . . . . . . . . . 2 1 1 1 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . 2 2 2 2 2 2 . 2 1 1 1 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . 2 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . 2 1 2 1 1 1 2 1 1 2 1 1 1 1 1 1 1 1 1 2 . . . . 1 1 . . . . . 2 1 2 . 2 1 2.. 2 1 1 2 1 1 1 1 1 1 1 2 . . . . . . . . . . . . 2 1 2 . 2 1 2 . 2 1 1 2 2 2 1 1 2 2 2 . . . 1 . . . . . . . . . 2 1 1 2 1 1 1 2 1 1 1 2 1 1 2 2 . . . . . . . . . . 1 . . . . . 2 1 1 1 1 1 1 1 1 1 1 2 1 1 1 2 . . . . . . 1 . 1 . . . . . . . 2 1 2 2 1 2 1 1 1 1 1 2 1 1 1 1 2 . . . . . . . . . . . . . . . . 2 2 1 2 1 1 1 1 1 2 2 1 1 1 1 1 2 . . . . . . . 1 . . . . . . 2 2 1 2 1 1 1 1 1 2 . 2 1 1 1 1 1 1 2 2 2 2 2 . . . . . . . . 2 2 1 2 2 2 2 2 2 2 . . . 2 1 1 1 1 1 1 1 1 1 1 2 . . . . . . 2 2 1 2 . . . . . . 2 2 . . . 2 1 1 1 1 1 1 1 1 1 1 2 . . . . . 2 1 2 . . . . . . . 2 . 2 . . . 2 1 1 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . . . . 2 . . 2 . . . 2 1 1 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . . . 2 . . . 2 . . . 2 1 1 1 1 1 1 1 1 1 1 2 . . . . . . . . . . . 2 . . . . . 2 . . . 2 1 1 1 1 1 1 1 1 1 2 . . . 1 . . . . 2 2 2 2 2 . . . . 2 . . . . 2 2 2 2 2 1 1 1 1 2 . 1 1 . . . 1 . . . 2 . . . 2 2 2 2 2 2 . . . . . . . 2 1 1 1 2 1 1 1 . . 1 1 1 . . 2 . . . . . 2 . . . . 1 . . . . . . 2 1 2 . 1 1 . . . . 1 . . . . . . . . 2 . . . . . . . . 1 . . . . 2 . . */ 0x0 , 0x0 , 0x0 , 0x0 , 0x2A, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x25, 0xA0, 0x0 , 0x0 , 0x1 , 0x0 , 0x0 , 0x0 , 0x9 , 0x58, 0x0 , 0x10, 0x5 , 0x40, 0x0 , 0x0 , 0x2 , 0x56, 0x0 , 0x10, 0x1 , 0x40, 0x4 , 0x0 , 0x2 , 0x55, 0x80, 0x50, 0x1 , 0x40, 0x15, 0x0 , 0x2 , 0x55, 0x60, 0x0 , 0x0 , 0x0 , 0x4 , 0x1 , 0x2 , 0x55, 0x58, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x2 , 0x55, 0x56, 0x0 , 0x0 , 0x40, 0x0 , 0x0 , 0x9 , 0x55, 0x56, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x25, 0x55, 0x56, 0x0 , 0x0 , 0x0 , 0x0 , 0x10, 0x95, 0x55, 0x56, 0x0 , 0x4 , 0x0 , 0x0 , 0x2 , 0x55, 0x55, 0x56, 0x0 , 0x0 , 0x2 , 0xAA, 0x89, 0x55, 0x55, 0x58, 0x0 , 0x0 , 0x9 , 0x55, 0x65, 0x55, 0x55, 0x60, 0x0 , 0x0 , 0x26, 0x56, 0x59, 0x55, 0x55, 0x80, 0x14, 0x0 , 0x98, 0x98, 0x96, 0x55, 0x56, 0x0 , 0x0 , 0x0 , 0x98, 0x98, 0x96, 0xA5, 0xA8, 0x4 , 0x0 , 0x0 , 0x96, 0x56, 0x56, 0x5A, 0x0 , 0x0 , 0x4 , 0x0 , 0x95, 0x55, 0x56, 0x56, 0x0 , 0x4 , 0x40, 0x0 , 0x9A, 0x65, 0x56, 0x55, 0x80, 0x0 , 0x0 , 0x0 , 0x29, 0x95, 0x5A, 0x55, 0x60, 0x0 , 0x10, 0x0 , 0xA6, 0x55, 0x62, 0x55, 0x5A, 0xA8, 0x0 , 0x2 , 0x9A, 0xAA, 0x80, 0x95, 0x55, 0x56, 0x0 , 0xA , 0x60, 0x0 , 0xA0, 0x25, 0x55, 0x55, 0x80, 0x9 , 0x80, 0x0 , 0x88, 0x9 , 0x55, 0x55, 0x60, 0x0 , 0x0 , 0x0 , 0x82, 0x2 , 0x55, 0x55, 0x58, 0x0 , 0x0 , 0x0 , 0x80, 0x80, 0x95, 0x55, 0x56, 0x0 , 0x0 , 0x2 , 0x0 , 0x20, 0x25, 0x55, 0x56, 0x1 , 0x0 , 0xAA, 0x80, 0x20, 0xA , 0xA9, 0x56, 0x14, 0x4 , 0x8 , 0xA , 0xAA, 0x0 , 0x2 , 0x56, 0x54, 0x15, 0x8 , 0x0 , 0x80, 0x10, 0x0 , 0x98, 0x50, 0x4 , 0x0 , 0x2 , 0x0 , 0x0 , 0x40, 0x20 }; static unsigned char swmscsym[MISCANGS][MISCBYTES] = { /* bomb symbols based on the following template file: 08 08 08 08 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . */ { 0x0 , 0x0 , 0x0 , 0x0 , 0x14, 0x0 , 0x15, 0x54, 0x15, 0x54, 0x14, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x14, 0x1 , 0x54, 0x55, 0x40, 0x15, 0x0 , 0x5 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x14, 0x0 , 0x54, 0x1 , 0x50, 0x15, 0x40, 0x5 , 0x0 , 0x1 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x50, 0x0 , 0x50, 0x1 , 0x40, 0x1 , 0x40, 0x15, 0x0 , 0x5 , 0x40, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x1 , 0x40, 0x1 , 0x40, 0x1 , 0x40, 0x1 , 0x40, 0x5 , 0x50, 0x5 , 0x50, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x5 , 0x0 , 0x5 , 0x0 , 0x1 , 0x40, 0x1 , 0x54, 0x0 , 0x54, 0x0 , 0x50, 0x0 , 0x40, }, { 0x0 , 0x0 , 0x14, 0x0 , 0x15, 0x0 , 0x5 , 0x40, 0x1 , 0x54, 0x0 , 0x50, 0x0 , 0x40, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x14, 0x0 , 0x15, 0x44, 0x1 , 0x54, 0x0 , 0x14, 0x0 , 0x10, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x14, 0x15, 0x54, 0x15, 0x54, 0x0 , 0x14, 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x50, 0x0 , 0x54, 0x1 , 0x55, 0x15, 0x40, 0x14, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x0 , 0x40, 0x0 , 0x50, 0x1 , 0x54, 0x5 , 0x40, 0x15, 0x0 , 0x14, 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x1 , 0x50, 0x0 , 0x54, 0x1 , 0x40, 0x1 , 0x40, 0x5 , 0x0 , 0x5 , 0x0 , 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x5 , 0x50, 0x5 , 0x50, 0x1 , 0x40, 0x1 , 0x40, 0x1 , 0x40, 0x1 , 0x40, 0x0 , 0x0 , }, { 0x1 , 0x0 , 0x5 , 0x0 , 0x15, 0x0 , 0x15, 0x40, 0x1 , 0x40, 0x0 , 0x50, 0x0 , 0x50, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x1 , 0x0 , 0x5 , 0x0 , 0x15, 0x40, 0x1 , 0x50, 0x0 , 0x54, 0x0 , 0x14, 0x0 , 0x0 , }, { 0x0 , 0x0 , 0x4 , 0x0 , 0x14, 0x0 , 0x15, 0x40, 0x11, 0x54, 0x0 , 0x14, 0x0 , 0x0 , 0x0 , 0x0 } }; static unsigned char swbstsym[BRSTSYMS][BRSTBYTES] = { /* starburst symbols based on the following template file: 08 08 . . . . 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 1 1 . . . . 1 1 . 1 . . . . . 1 1 . 1 . . 1 . 1 . . 1 . . . 1 . 1 . . 1 . . . 1 . . . . . 1 . . 1 . . . */ { 0x0 , 0x40, 0x10, 0x44, 0x4 , 0x50, 0x55, 0x40, 0x1 , 0x55, 0x5 , 0x10, 0x11, 0x4 , 0x1 , 0x0 , }, { 0x1 , 0x4 , 0x41, 0x10, 0x11, 0x40, 0x5 , 0x55, 0x55, 0x50, 0x1 , 0x44, 0x4 , 0x41, 0x10, 0x40 } }; // sdh 27/6/2002: create a sopsym_t structure from the original // raw sprite data. // the data in sopsym_t's is in a simpler one-byte-per-pixel format // rather than packing 4 pixels into one byte as in the original data. // this simplifies various stuff such as collision detection. static sopsym_t *sopsym_from_data(unsigned char *data, int w, int h) { sopsym_t *sym = malloc(sizeof(*sym)); unsigned char *d, *s; int x, y; sym->w = w; sym->h = h; sym->data = malloc(w * h); // decode the symbol data for (d=data, s=sym->data, y=0; y> 6; *s++ = (*d & 0x30) >> 4; *s++ = (*d & 0x0c) >> 2; *s++ = (*d & 0x03); } } return sym; } // converted symbols: sopsym_t *symbol_bomb[8]; // swbmbsym sopsym_t *symbol_targets[4]; // swtrgsym sopsym_t *symbol_target_hit; // swhtrsym sopsym_t *symbol_debris[8]; // swexpsym sopsym_t *symbol_flock[2]; // swflksym sopsym_t *symbol_bird[2]; // swbrdsym sopsym_t *symbol_ox[2]; // swoxsym sopsym_t *symbol_ghost; // swghtsym sopsym_t *symbol_shotwin; // swshtsym sopsym_t *symbol_birdsplat; // swsplsym sopsym_t *symbol_missile[16]; // swmscsym sopsym_t *symbol_burst[2]; // swbstsym sopsym_t *symbol_plane[2][16]; // swplnsym sopsym_t *symbol_plane_hit[2]; // swhitsym sopsym_t *symbol_plane_win[4]; // swwinsym // special symbol for single pixel (bullets etc) sopsym_t symbol_pixel = { .data = NULL, .w = 1, .h = 1 }; // generate symbols from data #define sopsyms_from_data(data, w, h, out) \ { int _i; \ for (_i=0; _i #include "swsymbol.h" #include "config.h" /* Constants */ #define MAX_X 3000 /* Maximum X coordinate */ #define MAX_Y 200 /* Maximum Y coordinate */ #define MIN_SPEED 4 /* Minimum plane speed */ #define MAX_SPEED 8 /* Maximum plane speed */ #define MAX_THROTTLE 4 /* Maximum acceleration */ #define MAXCRCOUNT 10 /* Number of turns as crashed */ #define FALLCOUNT 10 /* Moves between falling plane adj */ #define STALLCOUNT 6 /* Moves between stalling plane adj*/ #define TARGHITCOUNT 10 /* Target hit count before explod'n*/ #ifdef PSION // fill the screen on the revo #define SCR_WDTH 480 /* Screen Width */ #else #define SCR_WDTH 320 /* Screen Width */ #endif #define SCR_HGHT 200 /* Screen Height */ #define SCR_CENTR ((SCR_WDTH / 2) - 8) /* Centre column of screen */ #define SCR_SEGM 0xB800 /* Screen Video segment */ #define SCR_ROFF 0x2000 /* Screen odd rastor line offset */ #define SCR_LINW 80 /* Screen line width in bytes */ #define SCR_MNSH 16 /* Minumum line number to shift */ #define SCR_MXSH 75 /* Maximum line number to shift */ #define SCR_LIMIT 180 /* Screen shift limits */ // sdh 27/7/2002: make these independent of the screen width #define WRLD_RSX (MAX_X / 320 * 2 + 1) /* World display X and */ #define WRLD_RSY (MAX_Y / SCR_MNSH + 1) /* Y divisors */ #define MINFLCKX 370 /* Bird flock travel */ #define MAXFLCKX (MAX_X - 370) /* limits */ // sdh 26/10/2001: merged guages, removed unneccesary coordinates #define GUAGEX (SCR_CENTR - 25) /* X co-ordinate of first guage */ #define GHOSTX (SCR_CENTR - 21)/* Ghost face display x-coodinate */ // sdh 28/10/2001: made into a type typedef enum { PLAYMODE_UNSET = 0, PLAYMODE_SINGLE, PLAYMODE_COMPUTER, PLAYMODE_ASYNCH, PLAYMODE_NOVICE } playmode_t; #define MAXROUNDS 200 /* Maximum number of rounds of shot */ #define MAXBOMBS 5 /* Maximum number of bombs available*/ #define MAXMISSILES 5 /* Maximum number of missiles */ #define MAXBURSTS 5 /* Maximum nuber of starbursts */ #define MAXFUEL ( 3 * MAX_X ) /* Maximum Number of turns between */ /* refuellings */ #define MAXCRASH 5 /* Mximum number of crashes allowed */ #define MAX_PLYR 4 /* Maximum number of players */ #define MAX_TARG 20 /* Maximum number of targets */ #define MAX_OBJS 100 /* Maximum number of objects */ #define MAX_FLCK 4 /* Maximum number of flocks */ #define MAX_BIRD 1 /* Maximum number of stray birds */ /* per flock */ #define MAX_GAME 7 /* Maximum number of games */ #define MAX_OXEN 2 /* Maximum number of oxen */ #define ANGLES 16 /* Number of angle increments */ #define ORIENTS 2 /* Number of plane orientations */ #define SYM_WDTH 16 /* Symbol width in pixels */ #define SYM_HGHT 16 /* Symbol height in pixels */ #define BULSPEED 10 /* Bullet speed */ #define BULLIFE 10 /* Bullet life */ #define BOMBLIFE 5 /* Moves between bomb course adj */ #define MISSLIFE 50 /* Missile life */ #define BURSTLIFE 20 /* Starburst life */ #define EXPLLIFE 3 /* Moves between explosion " " */ #define SMOKELIFE 10 /* Smoke life */ #define BIRDLIFE 4 /* Moves between bird flaps */ #define FLOCKLIFE 5 /* Moves between flop flaps */ typedef enum { /* Player states */ WAITING = 0, FLYING , HIT, CRASHED, FALLING, STANDING, STALLED, REBUILDING, WOUNDED, WOUNDSTALL, FINISHED = 91, GHOST, GHOSTCRASHED, GHOSTSTALLED, } obstate_t; // sdh 21/10/2001: made this an enum enum { WINNER = 1, LOSER }; // sdh 21/10/2001: converted object types to an enum typedef enum { GROUND = 0, PLANE, BOMB, SHOT, TARGET, EXPLOSION, SMOKE, FLOCK, BIRD, OX, MISSILE, STARBURST, DUMMYTYPE = 99, } obtype_t; #define NEAR ( 150 * 150 ) /* Computer control distances */ #define NEARAPPROACH 200 #define CLOSE 32 #define DEADON ( 4 * 4 ) #define HOME 16 #define SAFERESET 32 #define QUIT -5000 /* Plane life value when quitting */ #define K_ACCEL 0x0001 /* Keyboard word masks */ #define K_DEACC 0x0002 #define K_FLAPU 0x0004 #define K_FLAPD 0x0008 #define K_FLIP 0x0010 #define K_SHOT 0x0020 #define K_BOMB 0x0100 #define K_HOME 0x0200 #define K_SOUND 0x0400 #define K_BREAK 0x0800 #define K_MISSILE 0x1000 #define K_STARBURST 0x2000 #define K_ASYNACK 0x40 // made these into typedefs rather than ugly #define macros /* Internal representation of ground */ /* due to non-implementation of */ /* unsigned char on ATARI */ typedef unsigned int GRNDTYPE; struct tt { /* Continuous tone table entry */ unsigned tt_tone; unsigned tt_chng; struct tt *tt_next; struct tt *tt_prev; }; typedef struct tt TONETAB; typedef struct obj { /* Object list */ obstate_t ob_state; int ob_x, ob_y; int ob_dx, ob_dy; int ob_angle; int ob_orient; int ob_speed; int ob_accel; int ob_flaps; struct obj *ob_firing; int ob_score; int ob_rounds; int ob_hitcount; int ob_updcount; int ob_life; struct obj *ob_owner; //int ob_symhgt; // sdh 27/6/2002 //int ob_symwdt; // sdh 27/6/2002 int ob_bombing; int ob_bombs; int ob_clr; int ob_lx, ob_ly; int ob_ldx, ob_ldy; struct obj *ob_next; struct obj *ob_prev; int ob_index; int ob_oldx; int ob_oldy; int ob_drwflg; int ob_delflg; // char *ob_oldsym; // sdh 27/6/2002 sopsym_t *ob_oldsym; void ( *ob_drawf ) (); BOOL ( *ob_movef ) (); struct obj *ob_xnext; struct obj *ob_xprev; int ob_crashcnt; // char *ob_newsym; // sdh 27/6/2002 sopsym_t *ob_newsym; int ob_bdelay; int ob_home; int ob_hx[3], ob_hy[3]; obtype_t ob_type; struct obj *ob_dnext; int ob_athome; struct tt *ob_sound; int ob_missiles; struct obj *ob_mfiring; int ob_mdelay; struct obj *ob_target; int ob_bursts; int ob_bfiring; int ob_bsdelay; } OBJECTS; typedef struct { /* Game structure */ int gm_x[MAX_PLYR*2]; int gm_orient[MAX_PLYR*2]; unsigned ( *gm_randf ) (); unsigned gm_rseed; int ( *gm_specf ) (); int gm_xtarg[MAX_TARG]; int gm_ttarg[MAX_TARG]; } GAMES; typedef struct { /* Old display parameters for */ int ow_xorplot; /* each object */ int ow_x, ow_y; } OLDWDISP; // sdh: made these into inline functions rather than ugly #define macros extern int sintab[]; static inline int COS(int x) { return sintab[(x+(ANGLES/4)) % ANGLES]; } static inline int SIN(int x) { return sintab[x % ANGLES]; } #endif //--------------------------------------------------------------------------- // // $Log: sw.h,v $ // Revision 1.4 2003/06/04 15:49:05 fraggle // Removed and unused #define // // Revision 1.3 2003/04/05 22:48:34 fraggle // Remove archaic swmach.h and all IBMPC/ATARI #defines // // Revision 1.2 2003/04/05 22:31:29 fraggle // Remove PLAYMODE_MULTIPLE and swnetio.c // // Revision 1.1.1.1 2003/02/14 19:03:29 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 27/07/2002: made some constants independent of screen width // sdh 27/06/2002: remove ob_symwdt and ob_symhgt. use new sopsym_t for // sprites // sdh 20/04/2002: change SCR_CENTR to be dependent on SCR_WDTH // widescreen on revo(psion) // sdh 16/11/2001: TCPIP #define to disable TCP/IP support // sdh 21/10/2001: moved sound priorities into swsound.h // sdh 21/10/2001: moved plane sprite constants into appropriate headers // sdh 21/10/2001: created obstate_t and obtype_t enum types // sdh 21/10/2001: rearranged headers, added cvs tags // // 87-04-08 Delay between starbursts // 87-04-04 Missile and starburst support // 87-03-31 Missiles // 87-03-30 Novice Player // 87-03-13 Splatted bird symbol // 87-03-12 Crashed planes stay longer at home. // 87-03-12 Wounded airplanes // 87-03-09 Microsoft compiler // 85-10-31 Atari // 85-04-02 Asynch Mode // 84-06-12 PCjr Speed-up // 84-02-02 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swasynio.c0000664000175000017500000002017512046775543015055 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swasynio.c,v 1.4.2.1 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swasynio - SW asynchrounous communications I/O // //--------------------------------------------------------------------------- #include #include "tcpcomm.h" #include "timer.h" #include "video.h" #include "sw.h" #include "swasynio.h" #include "swdisp.h" #include "swend.h" #include "swgames.h" #include "swinit.h" #include "swmain.h" #include "swmisc.h" #include "swmove.h" #include "swsound.h" #include "swtitle.h" asynmode_t asynmode; char asynhost[128]; static int lastkey = 0; /* Always behind one character */ static int timeout_time; static void settimeout(int ms) { timeout_time = Timer_GetMS() + ms; } static BOOL timeout() { return Timer_GetMS() >= timeout_time; } static inline void sendshort(int s) { commout(s & 0xff); commout((s >> 8) & 0xff); } static inline int readshort() { int s, t; while ((s = commin()) < 0) { if (timeout()) { fprintf(stderr, "readshort: timeout on read\n"); exit(-1); } } while ((t = commin()) < 0) { if (timeout()) { fprintf(stderr, "readshort: timeout on read\n"); exit(-1); } } return (t << 8) + s; } static int asynin() { register int c; settimeout(500); for (;;) { if ((c = commin()) >= 0) return c; if (ctlbreak()) swend(NULL, NO); if (timeout()) return -1; } } int asynget(OBJECTS * ob) { register int key; if (ob->ob_index == player) { key = lastkey; lastkey = 0; } else { settimeout(1000); key = readshort(); } return key; } void asynput(int movekey) { static BOOL first = TRUE; if (first) first = FALSE; else swflush(); sendshort(movekey); } char *asynclos(BOOL update) { commterm(); return NULL; } // this function is called by the multiplayer planes BOOL movemult(OBJECTS * obp) { register OBJECTS *ob; int cmd; plyrplane = compplane = FALSE; endstat = endsts[currobx = (ob = obp)->ob_index]; cmd = asynget(ob); interpret(ob, cmd); /* if (dispcnt) { ob->ob_flaps = 0; ob->ob_bombing = FALSE; } */ if ((ob->ob_state == CRASHED || ob->ob_state == GHOSTCRASHED) && ob->ob_hitcount <= 0) { if (ob->ob_life > QUIT) { // sdh 25/10/2001: infinite lives in multiplayer //++ob->ob_crashcnt; initpln(ob); } } return movepln(ob); } #define PROTOHEADER "SDLSOPWITH" VERSION static void synchronize() { // check for header // send the header ourselves first char *buf; char *p; buf = malloc(sizeof(PROTOHEADER) + 5); sprintf(buf, PROTOHEADER "%i", player); for (p = buf; *p; ++p) commout(*p); // now listen for response sprintf(buf, PROTOHEADER "%i", !player); settimeout(2000); for (p = buf; *p;) { int c; if (timeout()) { fprintf(stderr, "synchronize: timeout on connect\n"); exit(-1); } c = commin(); if (c >= 0) { if (c == *p) { ++p; } else { fprintf(stderr, "synchronize: invalid protocol header received!\n"); exit(-1); } } } free(buf); if (player) { settimeout(1000); explseed = readshort(); printf("random seed: %i\n", explseed); settimeout(1000); conf_missiles = readshort() != 0; conf_wounded = readshort() != 0; conf_animals = readshort() != 0; } else { // send settings sendshort(explseed); printf("random seed: %i\n", explseed); sendshort(conf_missiles); sendshort(conf_wounded); sendshort(conf_animals); } } // setup tcp loop static void tcploop_connect() { int time; clrprmpt(); swputs(" Attempting to connect to\n "); swputs(asynhost); swputs(" ..."); Vid_Update(); commconnect(asynhost); clrprmpt(); swputs(" Connected, waiting for other player\n"); Vid_Update(); // for the first 5 seconds, listen to see if theres another player // there for (time = Timer_GetMS() + 5000; Timer_GetMS() < time; ) { int c; if (ctlbreak()) { fprintf(stderr, "tcploop_connect: user aborted\n"); exit(-1); } c = commin(); if (c >= 0) { if (c == '?') { commout('!'); player = 1; return; } else { fprintf(stderr, "tcploop_connect: invalid" "char received\n"); exit(-1); } } } // now send a ? every second until we get a ! response time = Timer_GetMS() + 1000; for (;;) { int c; if (ctlbreak()) { fprintf(stderr, "tcploop_connect: user aborted\n"); exit(-1); } c = commin(); if (c >= 0) { if (c == '!') { player = 0; return; } else { fprintf(stderr, "tcploop_connect: invalid" "char received\n"); exit(-1); } } if (Timer_GetMS() > time) { commout('?'); time = Timer_GetMS() + 1000; } } } // setup connection static void asyninit() { if (asynmode == ASYN_TCPLOOP) { tcploop_connect(); } else if (asynmode == ASYN_LISTEN) { swtitln(); clrprmpt(); swputs(" Listening for connection..."); Vid_Update(); commlisten(); player = 0; } else if (asynmode == ASYN_CONNECT) { swtitln(); clrprmpt(); swputs(" Attempting to connect to \n "); swputs(asynhost); swputs(" ..."); Vid_Update(); commconnect(asynhost); player = 1; } else { fprintf(stderr, "unknown asynmode mode\n"); exit(-1); } } void init1asy() { #ifndef TCPIP fprintf(stderr, "TCP/IP support not compiled into binary!\n"); return; #else asyninit(); clrprmpt(); swputs(" Waiting for other player"); synchronize(); currgame = &swgames[0]; #endif } void init2asy() { register OBJECTS *ob; OBJECTS *initpln(); if (!player) initplyr(NULL); ob = initpln(NULL); ob->ob_drawf = dispmult; ob->ob_movef = movemult; ob->ob_clr = ob->ob_index % 2 + 1; ob->ob_owner = ob; ob->ob_state = FLYING; oobjects[ob->ob_index] = *ob; // movmem(ob, &oobjects[ob->ob_index], sizeof(OBJECTS)); if (player) initplyr(NULL); } //--------------------------------------------------------------------------- // // $Log: swasynio.c,v $ // Revision 1.4.2.1 2003/06/08 18:16:38 fraggle // Fix networking and some compile bugs // // Revision 1.4 2003/04/05 22:55:11 fraggle // Remove the FOREVER macro and some unused stuff from std.h // // Revision 1.3 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.2 2003/04/05 22:31:29 fraggle // Remove PLAYMODE_MULTIPLE and swnetio.c // // Revision 1.1.1.1 2003/02/14 19:03:08 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 26/03/2002: changed CGA_ to Vid_ // sdh 16/11/2001: TCPIP #define to disable TCP/IP support // sdh 29/10/2001: harrykeys // sdh 21/10/2001: rearranged file headers, added cvs tags // sdh 21/10/2001: reformatted with indent, adjusted some code by hand // to make more readable // sdh 20/10/2001: rearranged netgame syncronisation, take game settings // from the first (listening) player // sdh 19/10/2001: removed all externs, this is done with headers now // sdh 18/10/2001: converted all functions to ansi-style arguments // // 96-12-26 Remove IMAGINET network card address in "multaddr". // 87-03-12 Allow asynch loopback for debugging. // 87-03-09 Microsoft compiler. // 85-04-03 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swsound.h0000664000175000017500000000430312046775550014701 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swsound.h,v 1.2 2003/04/05 22:44:04 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- #ifndef __SWSOUND_H__ #define __SWSOUND_H__ #include "sw.h" #define S_TITLE 05 #define S_EXPLOSION 10 /* Sound priorities */ #define S_BOMB 20 #define S_SHOT 30 #define S_FALLING 40 #define S_HIT 50 #define S_PLANE 60 extern void initsndt(); extern void sound(int type, int parm, OBJECTS *ob); extern void swsound(); extern void initsound(OBJECTS *obp, int type); extern void stopsound(OBJECTS *ob); extern OBJECTS *ob; extern unsigned freq; extern unsigned modulo; extern void swsndupdate(); #endif //--------------------------------------------------------------------------- // // $Log: swsound.h,v $ // Revision 1.2 2003/04/05 22:44:04 fraggle // Remove some useless functions from headers, make them static if they // are not used by other files // // Revision 1.1.1.1 2003/02/14 19:03:32 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: moved sound priorities into here from sw.h // sdh 21/10/2001: added cvs tags // sdh 19/10/2001: added header // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swauto.c0000664000175000017500000002301412046775546014521 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swauto.c,v 1.2 2003/04/06 22:01:01 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swauto - SW control of computer player // //--------------------------------------------------------------------------- #include "sw.h" #include "swauto.h" #include "swground.h" #include "swinit.h" #include "swmain.h" #include "swutil.h" static BOOL correction; /* Course correction flag */ // static BOOL goinghome; /* Going home flag */ static OBJECTS obs; /* Saved computer object */ static int courseadj; /* Course adjustment */ int shoot(OBJECTS *obt) { static OBJECTS obsp, obtsp; int obx, oby, obtx, obty; int nspeed, nangle; int rprev; register int r, i; obsp = obs; obtsp = *obt; nspeed = obsp.ob_speed + BULSPEED; setdxdy(&obsp, nspeed * COS(obsp.ob_angle), nspeed * SIN(obsp.ob_angle)); obsp.ob_x += SYM_WDTH / 2; obsp.ob_y -= SYM_HGHT / 2; nangle = obtsp.ob_angle; nspeed = obtsp.ob_speed; rprev = NEAR; for (i = 0; i < BULLIFE; ++i) { movexy(&obsp, &obx, &oby); if (obtsp.ob_state == FLYING || obtsp.ob_state == WOUNDED) { r = obtsp.ob_flaps; if (r) { if (obtsp.ob_orient) nangle -= r; else nangle += r; nangle = (nangle + ANGLES) % ANGLES; setdxdy(&obtsp, nspeed * COS(nangle), nspeed * SIN(nangle)); } } movexy(&obtsp, &obtx, &obty); r = range(obx, oby, obtx, obty); if (r < 0 || r > rprev) return 0; if (obx >= obtx && obx <= (obtx + SYM_WDTH - 1) && oby <= obty && oby >= (obty - SYM_HGHT + 1)) return 1 + (i > (BULLIFE / 3)); } return 0; } /* sdh -- this is standard c abs( x ) int x; { return( ( x < 0 ) ? -x : x ); } */ static int tl, tr; static void cleartargs() { tl = -2; } static void testtargs(int x, int y) { register int i, xl, xr; xl = x - 32 - gmaxspeed; xr = x + 32 + gmaxspeed; tl = -1; tr = 0; for (i = 0; i < (MAX_TARG + MAX_OXEN); ++i) if (targets[i] && targets[i]->ob_x >= xl) { tl = i; break; } if (tl == -1) return; for (; i < MAX_TARG + MAX_OXEN && targets[i] && targets[i]->ob_x < xr; ++i); tr = i - 1; } // sdh: changed to tstcrash2 to stop conflicts with the other // function with the same name in swcollsn.c static BOOL tstcrash2(OBJECTS *obp, int x, int y, int alt) { register OBJECTS *ob; register int i, xl, xr, xt, yt; if (alt > 50) return FALSE; if (alt < 22) return TRUE; ob = obp; if (tl == -2) testtargs(ob->ob_x, ob->ob_y); xl = x - 32; xr = x + 32; for (i = tl; i <= tr; ++i) { ob = targets[i]; xt = ob->ob_x; if (xt < xl) continue; if (xt > xr) return FALSE; yt = ob->ob_y + (ob->ob_state == STANDING ? 16 : 8); if (y <= yt) return TRUE; } return FALSE; } int aim(OBJECTS *obo, int ax, int ay, OBJECTS *obt, BOOL longway) { register OBJECTS *ob; register int r, rmin, i, n=0; int x, y, dx, dy, nx, ny; int nangle, nspeed; static int cflaps[3] = { 0, -1, 1 }; static int crange[3], ccrash[3], calt[3]; ob = obo; correction = FALSE; if ((ob->ob_state == STALLED || ob->ob_state == WOUNDSTALL) && ob->ob_angle != (3 * ANGLES / 4)) { ob->ob_flaps = -1; ob->ob_accel = MAX_THROTTLE; return 0; } x = ob->ob_x; y = ob->ob_y; dx = x - ax; if (abs(dx) > 160) { if (ob->ob_dx && (dx < 0 == ob->ob_dx < 0)) { if (!ob->ob_hitcount) ob->ob_hitcount = (y > (MAX_Y - 50)) ? 2 : 1; return (aim(ob, x, ob->ob_hitcount == 1 ? (y + 25) : (y - 25), NULL, YES)); } ob->ob_hitcount = 0; return (aim(ob, x + (dx < 0 ? 150 : -150), (y + 100 > MAX_Y - 50 - courseadj) ? MAX_Y - 50 - courseadj : y + 100, NULL, YES)); } else { if (!longway) ob->ob_hitcount = 0; } if (ob->ob_speed) { correction = dy = y - ay; if (correction && abs(dy) < 6) { if (dy < 0) ++y; else --y; ob->ob_y = y; } else { correction = dx; if (correction && abs(dx) < 6) { if (dx < 0) ++x; else --x; ob->ob_x = x; } } } // sdh 16/11/2001: removed movmem obs = *ob; nspeed = obs.ob_speed + 1; if (nspeed > gmaxspeed && obs.ob_type == PLANE) nspeed = gmaxspeed; else if (nspeed < gminspeed) nspeed = gminspeed; cleartargs(); for (i = 0; i < 3; ++i) { nangle = (obs.ob_angle + (obs.ob_orient ? -cflaps[i] : cflaps[i]) + ANGLES) % ANGLES; setdxdy(&obs, nspeed * COS(nangle), nspeed * SIN(nangle)); movexy(&obs, &nx, &ny); crange[i] = range(nx, ny, ax, ay); calt[i] = ny - orground[nx + 8]; ccrash[i] = tstcrash2(ob, nx, ny, calt[i]); // sdh 16/11/2001: removed movmem obs = *ob; } if (obt) { i = shoot(obt); if (i) { // if (ob->ob_missiles && i == 2) if (ob->ob_missiles && conf_missiles && i == 2) ob->ob_mfiring = obt->ob_athome ? ob : obt; else ob->ob_firing = obt; } } rmin = 32767; for (i = 0; i < 3; ++i) { r = crange[i]; if (r >= 0 && r < rmin && !ccrash[i]) { rmin = r; n = i; } } if (rmin == 32767) { rmin = -32767; for (i = 0; i < 3; ++i) { r = crange[i]; if (r < 0 && r > rmin && !ccrash[i]) { rmin = r; n = i; } } } if (ob->ob_speed < gminspeed) ob->ob_accel = MAX_THROTTLE; if (rmin == -32767) { if (ob->ob_accel) --ob->ob_accel; n = 0; dy = calt[0]; if (calt[1] > calt[0]) { dy = calt[1]; n = 1; } if (calt[2] > dy) n = 2; } else { if (ob->ob_accel < MAX_THROTTLE) ++ob->ob_accel; } ob->ob_flaps = cflaps[n]; if (ob->ob_type == PLANE && !ob->ob_flaps) if (ob->ob_speed) ob->ob_orient = ob->ob_dx < 0; return 0; } int gohome(OBJECTS *ob) { // register OBJECTS *ob, *obp = obpt; OBJECTS *original_ob; if (ob->ob_athome) return 0; // ob = &oobjects[currobx]; original_ob = &oobjects[ob->ob_index]; courseadj = ((countmove & 0x001F) < 16) << 4; if (abs(ob->ob_x - original_ob->ob_x) < HOME && abs(ob->ob_y - original_ob->ob_y) < HOME) { if (plyrplane) { initplyr(ob); initdisp(YES); } else if (compplane) { initcomp(ob); } else { initpln(ob); } return 0; } // goinghome = TRUE; // return aim(obp, ob->ob_x, ob->ob_y, NULL, NO); // reduce movements when damaged if (ob->ob_state == WOUNDED && (countmove & 1) ) return 0; else return aim(ob, original_ob->ob_x, original_ob->ob_y, NULL, NO); } static void cruise(OBJECTS *ob) { register int orgx; courseadj = ((countmove & 0x001F) < 16) << 4; orgx = oobjects[currobx].ob_x; aim(ob, courseadj + (orgx < (MAX_X / 3) ? (MAX_X / 3) : orgx > (2 * MAX_X / 3) ? (2 * MAX_X / 3) : orgx), MAX_Y - 50 - (courseadj >> 1), NULL, NO); } void attack(OBJECTS *obp, OBJECTS *obt) { register OBJECTS *ob; courseadj = ((countmove & 0x001F) < 16) << 4; ob = obt; if (ob->ob_speed) aim(obp, ob->ob_x - ((CLOSE * COS(ob->ob_angle)) >> 8), ob->ob_y - ((CLOSE * SIN(ob->ob_angle)) >> 8), ob, NO); else aim(obp, ob->ob_x, ob->ob_y + 4, ob, NO); } void swauto(OBJECTS *ob) { // goinghome = FALSE; // if (compnear[currobx]) // attack(ob, compnear[currobx]); if (compnear[ob->ob_index]) attack(ob, compnear[ob->ob_index]); else if (!ob->ob_athome) cruise(ob); compnear[ob->ob_index] = NULL; } int range(int x, int y, int ax, int ay) { register int dx, dy; register int t; dy = abs(y - ay); dy += dy >> 1; dx = abs(x - ax); if (dx < 125 && dy < 125) return dx * dx + dy * dy; if (dx < dy) { t = dx; dx = dy; dy = t; } return -((7 * dx + (dy << 2)) >> 3); } //--------------------------------------------------------------------------- // // $Log: swauto.c,v $ // Revision 1.2 2003/04/06 22:01:01 fraggle // Fix compile warnings // // Revision 1.1.1.1 2003/02/14 19:03:08 fraggle // Initial Sourceforge CVS import // // // sdh 14/2/2003: change license header to GPL // sdh 21/10/2001: rearranged file headers, added cvs tags // sdh 21/10/2001: reformatted with indent, adjusted some code by // hand to make more readable // sdh 19/10/2001: removed all externs, this is now in headers // some static functions shuffled around to shut // up the compiler // sdh 18/10/2001: converted all functions to ANSI-style arguments // // 87-04-09 Don't attack until closer. // 87-04-06 Computer plane avoiding oxen. // 87-04-05 Missile and starburst support // 87-03-31 Missiles. // 87-03-12 Smarter shooting. // 87-03-12 Wounded airplanes. // 87-03-09 Microsoft compiler. // 84-10-31 Atari // 84-06-12 PCjr Speed-up // 84-03-05 Development // //--------------------------------------------------------------------------- sopwith-1.8.1/src/swinit.c0000664000175000017500000006726512124366003014511 0ustar jessejesse// Emacs style mode select -*- C++ -*- //--------------------------------------------------------------------------- // // $Id: swinit.c,v 1.5.2.2 2003/06/08 18:16:38 fraggle Exp $ // // Copyright(C) 1984-2000 David L. Clark // Copyright(C) 2001-2003 Simon Howard // // 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. // //--------------------------------------------------------------------------- // // swinit - SW initialization // //--------------------------------------------------------------------------- #include #include #include #include #include #include "pcsound.h" #include "timer.h" #include "video.h" #include "sw.h" #include "swasynio.h" #include "swcollsn.h" #include "swconf.h" #include "swdisp.h" #include "swend.h" #include "swinit.h" #include "swgames.h" #include "swground.h" #include "swgrpha.h" #include "swmain.h" #include "swmisc.h" #include "swmove.h" #include "swobject.h" #include "swsound.h" #include "swsymbol.h" #include "swtitle.h" #include "swutil.h" static int savescore; /* save players score on restart */ static BOOL ghost; /* ghost display flag */ static int starting_level = 0; static int conf_explosions = 1; static char helptxt[] = "\n" "SDL Sopwith " VERSION "\n" "Copyright (C) 1984-2000 David L. Clark\n" "Copyright (C) 2001 Simon Howard\n" "\n" "Usage: sopwith [options]\n" "The options are:\n" " -n : novice single player\n" " -s : single player\n" " -c : single player against computer\n" " -x : enable missiles\n" " -q : begin game with sound off (default)\n" " -p : turn sound on\n" " -g#: start at level #\n" " -e : turn off big explosions\n" "\n" "Video:\n" " -f : fullscreen\n" " -2 : double scale window\n" "\n" #ifdef TCPIP "Networking: \n" " -l : listen for connection\n" " -j : connect to a listening host\n" #endif ; // old options // " -m : multiple players on a network\n" //" -a : 2 players over asynchrounous communications line\n" //" (Only one of -n, -s, -c, -a may be specified)\n" //" -k : keyboard only\n" //" -j : joystick and keyboard\n" //" (Only one of -k and -j may be specified)\n" //// " -i : IBM PC keyboard\n" // " -r : resets the multiuser communications file after an abnormal" // " end of a game" // " -d*: overrides the default drive C as the device containing the" // " communications file" //" -p#: overrides asynchronous port 1 as the asynchrounous port\n" //" to use\n" static void initwobj() { int x; OBJECTS *ob; OLDWDISP *ow; ow = wdisp; ob = nobjects; for (x = 0; x < MAX_OBJS; ++x, ow++, ob++) ow->ow_xorplot = ob->ob_drwflg = ob->ob_delflg = 0; for (x = 0; x < MAX_TARG; ++x) { ob = targets[x]; if (ob && ob->ob_state != FINISHED) dispwobj(ob); } } // sdh 28/10/2001: moved auxdisp graphic functions into swgrpha.c static void initobjs() { OBJECTS *ob; int o; topobj.ob_xnext = topobj.ob_next = &botobj; botobj.ob_xprev = botobj.ob_prev = &topobj; topobj.ob_x = -32767; botobj.ob_x = 32767; objbot = objtop = deltop = delbot = NULL; objfree = ob = nobjects; for (o = 0; o < MAX_OBJS; ++o) { ob->ob_next = ob + 1; (ob++)->ob_index = o; } (--ob)->ob_next = NULL; } static void initgrnd() { // sdh 16/11/200; removed movmem memcpy(ground, orground, sizeof(GRNDTYPE) * MAX_X); } static void initseed() { srand(clock()); explseed = rand() % 65536; // sdh 28/4/2002: removed atari and ibm code } // // status bar code // static void initscore() { if (savescore) { nobjects[0].ob_score = savescore; savescore = 0; } dispscore(&nobjects[0]); if (playmode == PLAYMODE_ASYNCH) dispscore(&nobjects[1]); } static void dispgge(int x, int cury, int maxy, int clr) { int y; if (ghost) return; cury = cury * 10 / maxy - 1; if (cury > 9) cury = 9; for (y = 0; y <= cury; ++y) Vid_PlotPixel(x, y, clr); for (; y <= 9; ++y) Vid_PlotPixel(x, y, 0); } // sdh 26/10/2001: merged guage functions into a single function void dispguages(OBJECTS *ob) { int x = GUAGEX; int sep = conf_missiles ? 3 : 5; // crashes/lives dispgge(x += sep, maxcrash - ob->ob_crashcnt, maxcrash, ob->ob_clr); // fuel dispgge(x += sep, ob->ob_life >> 4, MAXFUEL >> 4, ob->ob_clr); // bombs dispgge(x += sep, ob->ob_bombs, MAXBOMBS, 3 - ob->ob_clr); // bullets dispgge(x += sep, ob->ob_rounds, MAXROUNDS, 3); if (conf_missiles) { // missiles dispgge(x += sep, ob->ob_missiles, MAXMISSILES, ob->ob_clr); // starburst (flares) dispgge(x += sep, ob->ob_bursts, MAXBURSTS, 3 - ob->ob_clr); } } static void dispworld() { int x, y, dx, maxh, sx; dx = 0; sx = SCR_CENTR; maxh = 0; y = 0; // draw ground for (x = 0; x < MAX_X; ++x) { if (ground[x] > maxh) maxh = ground[x]; if ((++dx) == WRLD_RSX) { maxh /= WRLD_RSY; if (maxh == y) Vid_PlotPixel(sx, maxh, 7); else if (maxh > y) for (++y; y <= maxh; ++y) Vid_PlotPixel(sx, y, 7); else for (--y; y >= maxh; --y) Vid_PlotPixel(sx, y, 7); y = maxh; Vid_PlotPixel(sx, 0, 11); ++sx; dx = maxh = 0; } } // map border maxh = MAX_Y / WRLD_RSY; for (y = 0; y <= maxh; ++y) { Vid_PlotPixel(SCR_CENTR, y, 11); Vid_PlotPixel(sx, y, 11); } // border of status bar for (x = 0; x < SCR_WDTH; ++x) Vid_PlotPixel(x, (SCR_MNSH + 2), 7); Vid_Update(); } void initdisp(BOOL reset) { OBJECTS *ob; OBJECTS ghostob; splatox = oxsplatted = 0; if (!reset) { clrdispa(); setadisp(); dispworld(); swtitlf(); ghost = FALSE; } movedisp(); setvdisp(); initwobj(); initscore(); ob = &nobjects[player]; if (ghost) { ghostob.ob_type = DUMMYTYPE; //ghostob.ob_symhgt = ghostob.ob_symwdt = 8; ghostob.ob_clr = ob->ob_clr; ghostob.ob_newsym = symbol_ghost; // sdh 27/6/2002 swputsym(GHOSTX, 12, &ghostob); } else { // sdh 26/10/2001: merged guages into a single function dispguages(ob); } dispinit = TRUE; } // // object creation // static int inits[2] = { 0, 7 }; static int initc[4] = { 0, 7, 1, 6 }; static int initm[8] = { 0, 7, 3, 4, 2, 5, 1, 6 }; // plane OBJECTS *initpln(OBJECTS * obp) { OBJECTS *ob; int x, height, minx, maxx, n; if (!obp) ob = allocobj(); else ob = obp; switch (playmode) { case PLAYMODE_SINGLE: case PLAYMODE_NOVICE: n = inits[ob->ob_index]; break; case PLAYMODE_ASYNCH: n = initm[ob->ob_index]; break; case PLAYMODE_COMPUTER: n = initc[ob->ob_index]; break; default: return NULL; } ob->ob_type = PLANE; ob->ob_x = currgame->gm_x[n]; minx = ob->ob_x; maxx = ob->ob_x + 20; height = 0; for (x = minx; x <= maxx; ++x) if (ground[x] > height) height = ground[x]; ob->ob_y = height + 13; ob->ob_lx = ob->ob_ly = ob->ob_speed = ob->ob_flaps = ob->ob_accel = ob->ob_hitcount = ob->ob_bdelay = ob->ob_mdelay = ob->ob_bsdelay = 0; setdxdy(ob, 0, 0); ob->ob_orient = currgame->gm_orient[n]; ob->ob_angle = (ob->ob_orient) ? (ANGLES / 2) : 0; ob->ob_target = ob->ob_firing = ob->ob_mfiring = NULL; ob->ob_bombing = ob->ob_bfiring = ob->ob_home = FALSE; ob->ob_newsym = symbol_plane[ob->ob_orient][0]; // sdh 27/6/2002 //ob->ob_symhgt = SYM_HGHT; //ob->ob_symwdt = SYM_WDTH; ob->ob_athome = TRUE; if (!obp || ob->ob_state == CRASHED || ob->ob_state == GHOSTCRASHED) { ob->ob_rounds = MAXROUNDS; ob->ob_bombs = MAXBOMBS; ob->ob_missiles = MAXMISSILES; ob->ob_bursts = MAXBURSTS; ob->ob_life = MAXFUEL; } if (!obp) { ob->ob_score = ob->ob_updcount = ob->ob_crashcnt = endsts[ob->ob_index] = 0; compnear[ob->ob_index] = NULL; insertx(ob, &topobj); } else { deletex(ob); insertx(ob, ob->ob_xnext); } if (playmode == PLAYMODE_ASYNCH && ob->ob_crashcnt >= maxcrash) { ob->ob_state = GHOST; if (ob->ob_index == player) ghost = TRUE; } else ob->ob_state = FLYING; return (ob); } // player void initplyr(OBJECTS * obp) { OBJECTS *ob; OBJECTS *initpln(); ob = initpln(obp); if (!obp) { ob->ob_drawf = dispplyr; ob->ob_movef = moveplyr; ob->ob_clr = ob->ob_index % 2 + 1; ob->ob_owner = ob; oobjects[ob->ob_index] = *ob; // sdh 16/11: removed movmem goingsun = FALSE; endcount = 0; } displx = ob->ob_x - SCR_CENTR; swflush(); } // computer opponent void initcomp(OBJECTS * obp) { OBJECTS *ob; OBJECTS *initpln(); ob = initpln(obp); if (!obp) { ob->ob_drawf = dispcomp; ob->ob_movef = movecomp; ob->ob_clr = 2; if (playmode != PLAYMODE_ASYNCH) ob->ob_owner = &nobjects[1]; else if (ob->ob_index == 1) ob->ob_owner = ob; else ob->ob_owner = ob - 2; oobjects[ob->ob_index] = *ob; // sdh 16/11: removed movmem } if (playmode == PLAYMODE_SINGLE || playmode == PLAYMODE_NOVICE) { ob->ob_state = FINISHED; deletex(ob); } } static int isrange(int x, int y, int ax, int ay) { int dx, dy, t; dy = abs(y - ay); dy += dy >> 1; dx = abs(x - ax); if (dx > 100 || dy > 100) return -1; if (dx < dy) { t = dx; dx = dy; dy = t; } return (7 * dx + 4 * dy) / 8; } // bullet void initshot(OBJECTS * obop, OBJECTS * targ) { OBJECTS *ob, *obo = obop; int nangle, nspeed, dx, dy, r, bspeed, x, y; if (!targ && !compplane && !obo->ob_rounds) return; ob = allocobj(); if (!ob) return; obo = obop; if (playmode != PLAYMODE_NOVICE) --obo->ob_rounds; bspeed = BULSPEED + gamenum; if (targ) { x = targ->ob_x + (targ->ob_dx << 2); y = targ->ob_y + (targ->ob_dy << 2); dx = x - obo->ob_x; dy = y - obo->ob_y; r = isrange(x, y, obo->ob_x, obo->ob_y); if (r < 1) { deallobj(ob); return; } ob->ob_dx = (dx * bspeed) / r; ob->ob_dy = (dy * bspeed) / r; ob->ob_ldx = ob->ob_ldy = 0; } else { nspeed = obo->ob_speed + bspeed; nangle = obo->ob_angle; setdxdy(ob, nspeed * COS(nangle), nspeed * SIN(nangle)); } ob->ob_type = SHOT; ob->ob_x = obo->ob_x + SYM_WDTH / 2; ob->ob_y = obo->ob_y - SYM_HGHT / 2; ob->ob_lx = obo->ob_lx; ob->ob_ly = obo->ob_ly; ob->ob_life = BULLIFE; ob->ob_owner = obo; ob->ob_clr = obo->ob_clr; ob->ob_newsym = &symbol_pixel; // sdh 27/6/2002 //ob->ob_symhgt = ob->ob_symwdt = 1; ob->ob_drawf = NULL; ob->ob_movef = moveshot; ob->ob_speed = 0; insertx(ob, obo); } // bomb void initbomb(OBJECTS * obop) { OBJECTS *ob, *obo = obop; int angle; if ((!compplane && !obo->ob_bombs) || obo->ob_bdelay) return; ob = allocobj(); if (!ob) return; if (playmode != PLAYMODE_NOVICE) --obo->ob_bombs; obo->ob_bdelay = 10; ob->ob_type = BOMB; ob->ob_state = FALLING; ob->ob_dx = obo->ob_dx; ob->ob_dy = obo->ob_dy; if (obo->ob_orient) angle = (obo->ob_angle + (ANGLES / 4)) % ANGLES; else angle = (obo->ob_angle + (3 * ANGLES / 4)) % ANGLES; ob->ob_x = obo->ob_x + ((COS(angle) * 10) >> 8) + 4; ob->ob_y = obo->ob_y + ((SIN(angle) * 10) >> 8) - 4; ob->ob_lx = ob->ob_ly = ob->ob_ldx = ob->ob_ldy = 0; ob->ob_life = BOMBLIFE; ob->ob_owner = obo; ob->ob_clr = obo->ob_clr; ob->ob_newsym = symbol_bomb[0]; // sdh 27/6/2002 //ob->ob_symhgt = ob->ob_symwdt = 8; ob->ob_drawf = dispbomb; ob->ob_movef = movebomb; insertx(ob, obo); } // missile void initmiss(OBJECTS * obop) { OBJECTS *ob, *obo = obop; int angle, nspeed; if (obo->ob_mdelay || !obo->ob_missiles || !conf_missiles) return; ob = allocobj(); if (!ob) return; if (playmode != PLAYMODE_NOVICE) --obo->ob_missiles; obo->ob_mdelay = 5; ob->ob_type = MISSILE; ob->ob_state = FLYING; angle = ob->ob_angle = obo->ob_angle; ob->ob_x = obo->ob_x + (COS(angle) >> 4) + 4; ob->ob_y = obo->ob_y + (SIN(angle) >> 4) - 4; ob->ob_lx = ob->ob_ly = 0; ob->ob_speed = nspeed = gmaxspeed + (gmaxspeed >> 1); setdxdy(ob, nspeed * COS(angle), nspeed * SIN(angle)); ob->ob_life = MISSLIFE; ob->ob_owner = obo; ob->ob_clr = obo->ob_clr; ob->ob_newsym = symbol_missile[0]; // sdh 27/6/2002 //ob->ob_symhgt = ob->ob_symwdt = 8; ob->ob_drawf = dispmiss; ob->ob_movef = movemiss; ob->ob_target = obo->ob_mfiring; ob->ob_orient = ob->ob_accel = ob->ob_flaps = 0; insertx(ob, obo); } // starburst void initburst(OBJECTS * obop) { OBJECTS *ob, *obo = obop; int angle; if (obo->ob_bsdelay || !obo->ob_bursts || !conf_missiles) return; ob = allocobj(); if (!ob) return; ob->ob_bsdelay = 5; if (playmode != PLAYMODE_NOVICE) --obo->ob_bursts; ob->ob_type = STARBURST; ob->ob_state = FALLING; if (obo->ob_orient) angle = (obo->ob_angle + (3 * ANGLES / 8)) % ANGLES; else angle = (obo->ob_angle + (5 * ANGLES / 8)) % ANGLES; setdxdy(ob, gminspeed * COS(angle), gminspeed * SIN(angle)); ob->ob_dx += obo->ob_dx; ob->ob_dy += obo->ob_dy; ob->ob_x = obo->ob_x + ((COS(angle) * 10) >> 10) + 4; ob->ob_y = obo->ob_y + ((SIN(angle) * 10) >> 10) - 4; ob->ob_lx = ob->ob_ly = 0; ob->ob_life = BURSTLIFE; ob->ob_owner = obo; ob->ob_clr = obo->ob_clr; ob->ob_newsym = symbol_burst[0]; // sdh 27/6/2002 //ob->ob_symhgt = ob->ob_symwdt = 8; ob->ob_drawf = dispburst; ob->ob_movef = moveburst; insertx(ob, obo); } // building/target static void inittarg() { OBJECTS *ob; int x, i; int *tx, *tt; int minh, maxh, aveh, minx, maxx; tx = currgame->gm_xtarg; tt = currgame->gm_ttarg; if (playmode != PLAYMODE_ASYNCH) { numtarg[0] = 0; numtarg[1] = MAX_TARG - 3; } else { numtarg[0] = numtarg[1] = MAX_TARG / 2; } for (i = 0; i < MAX_TARG; ++i, ++tx, ++tt) { targets[i] = ob = allocobj(); minx = ob->ob_x = *tx; maxx = ob->ob_x + 15; minh = 999; maxh = 0; for (x = minx; x <= maxx; ++x) { if (ground[x] > maxh) maxh = ground[x]; if (ground[x] < minh) minh = ground[x]; } aveh = (minh + maxh) / 2; while ((ob->ob_y = aveh + 16) >= MAX_Y) --aveh; for (x = minx; x <= maxx; ++x) ground[x] = aveh; ob->ob_dx = ob->ob_dy = ob->ob_lx = ob->ob_ly = ob->ob_ldx = ob->ob_ldy = ob->ob_angle = ob->ob_hitcount = 0; ob->ob_type = TARGET; ob->ob_state = STANDING; ob->ob_orient = *tt; ob->ob_life = i; if (playmode != PLAYMODE_ASYNCH) ob->ob_owner = &nobjects[(i < MAX_TARG / 2 && i > MAX_TARG / 2 - 4) ? 0 : 1]; else ob->ob_owner = &nobjects[i >= (MAX_TARG / 2)]; ob->ob_clr = ob->ob_owner->ob_clr; ob->ob_newsym = symbol_targets[0]; // sdh 27/6/2002 //ob->ob_symhgt = ob->ob_symwdt = 16; ob->ob_drawf = disptarg; ob->ob_movef = movetarg; insertx(ob, &topobj); } } // explosion void initexpl(OBJECTS * obop, int small) { OBJECTS *ob, *obo = obop; int i, ic, speed; // int life; int obox, oboy, obodx, obody, oboclr; obtype_t obotype; BOOL mansym; int orient; obox = obo->ob_x + (obo->ob_newsym->w / 2); oboy = obo->ob_y + (obo->ob_newsym->h / 2); obodx = obo->ob_dx >> 2; obody = obo->ob_dy >> 2; oboclr = obo->ob_clr; obotype = obo->ob_type; if (obotype == TARGET && obo->ob_orient == 2) { ic = 1; // adding in option here for large oil tank explosions // - Jesse if (conf_explosions) speed = gminspeed * 4 / 3; else speed = gminspeed; } else { ic = small ? 6 : 2; speed = gminspeed >> ((explseed & 7) != 7); } mansym = obotype == PLANE && (obo->ob_state == FLYING || obo->ob_state == WOUNDED); for (i = 1; i <= 15; i += ic) { ob = allocobj(); if (!ob) return; ob->ob_type = EXPLOSION; setdxdy(ob, COS(i) * speed, SIN(i) * speed); ob->ob_dx += obodx; ob->ob_dy += obody; ob->ob_x = obox + ob->ob_dx; ob->ob_y = oboy + ob->ob_dy; explseed *= ob->ob_x * ob->ob_y; explseed += 7491; if (!explseed) explseed = 74917777; ob->ob_life = EXPLLIFE; orient = ob->ob_orient = (explseed & 0x01C0) >> 6; if (mansym && (!orient || orient == 7)) { mansym = orient = ob->ob_orient = 0; ob->ob_dx = obodx; ob->ob_dy = -gminspeed; } ob->ob_lx = ob->ob_ly = ob->ob_hitcount = ob->ob_speed = 0; ob->ob_owner = obo; ob->ob_clr = oboclr; ob->ob_newsym = symbol_debris[0]; // sdh 27/6/2002 //ob->ob_symhgt = ob->ob_symwdt = 8; ob->ob_drawf = dispexpl; ob->ob_movef = moveexpl; if (orient) initsound(ob, S_EXPLOSION); insertx(ob, obo); } } // smoke from falling plane void initsmok(OBJECTS * obop) { OBJECTS *ob, *obo=obop; ob = allocobj(); if (!ob) return; ob->ob_type = SMOKE; ob->ob_x = obo->ob_x + 8; ob->ob_y = obo->ob_y - 8; ob->ob_dx = obo->ob_dx; ob->ob_dy = obo->ob_dy; ob->ob_lx = ob->ob_ly = ob->ob_ldx = ob->ob_ldy = 0; ob->ob_life = SMOKELIFE; ob->ob_owner = obo; ob->ob_drawf = NULL; ob->ob_movef = movesmok; ob->ob_clr = obo->ob_clr; } // birds static void initflck() { static int ifx[] = { MINFLCKX, MINFLCKX + 1000, MAXFLCKX - 1000, MAXFLCKX }; static int ify[] = { MAX_Y - 1, MAX_Y - 1, MAX_Y - 1, MAX_Y - 1 }; static int ifdx[] = { 2, 2, -2, -2 }; OBJECTS *ob; int i, j; // sdh 28/10/2001: option to disable animals if (playmode == PLAYMODE_NOVICE || !conf_animals) return; for (i = 0; i < MAX_FLCK; ++i) { ob = allocobj(); if (!ob) return; ob->ob_type = FLOCK; ob->ob_state = FLYING; ob->ob_x = ifx[i]; ob->ob_y = ify[i]; ob->ob_dx = ifdx[i]; ob->ob_dy = ob->ob_lx = ob->ob_ly = ob->ob_ldx = ob->ob_ldy = 0; ob->ob_orient = 0; ob->ob_life = FLOCKLIFE; ob->ob_owner = ob; ob->ob_newsym = symbol_flock[0]; // sdh 27/6/2002 //ob->ob_symhgt = ob->ob_symwdt = 16; ob->ob_drawf = dispflck; ob->ob_movef = moveflck; ob->ob_clr = 9; insertx(ob, &topobj); for (j = 0; j < MAX_BIRD; ++j) initbird(ob, 1); } } // single bird void initbird(OBJECTS * obop, int i) { OBJECTS *ob, *obo = obop; static int ibx[] = { 8, 3, 0, 6, 7, 14, 10, 12 }; static int iby[] = { 16, 1, 8, 3, 12, 10, 7, 14 }; static int ibdx[] = { -2, 2, -3, 3, -1, 1, 0, 0 }; static int ibdy[] = { -1, -2, -1, -2, -1, -2, -1, -2 }; ob = allocobj(); if (!ob) return; ob->ob_type = BIRD; ob->ob_x = obo->ob_x + ibx[i]; ob->ob_y = obo->ob_y - iby[i]; ob->ob_dx = ibdx[i]; ob->ob_dy = ibdy[i]; ob->ob_orient = ob->ob_lx = ob->ob_ly = ob->ob_ldx = ob->ob_ldy = 0; ob->ob_life = BIRDLIFE; ob->ob_owner = obo; ob->ob_newsym = symbol_bird[0]; // sdh 27/6/2002 //ob->ob_symhgt = 2; //ob->ob_symwdt = 4; ob->ob_drawf = dispbird; ob->ob_movef = movebird; ob->ob_clr = obo->ob_clr; insertx(ob, obo); } // oxen static void initoxen() { OBJECTS *ob; int i; static int iox[] = { 1376, 1608 }; static int ioy[] = { 80, 91 }; // sdh 28/10/2001: option to disable animals if (playmode == PLAYMODE_NOVICE || !conf_animals) { for (i = 0; i < MAX_OXEN; ++i) targets[MAX_TARG + i] = NULL; return; } for (i = 0; i < MAX_OXEN; ++i) { ob = allocobj(); if (!ob) return; targets[MAX_TARG + i] = ob; ob->ob_type = OX; ob->ob_state = STANDING; ob->ob_x = iox[i]; ob->ob_y = ioy[i]; ob->ob_orient = ob->ob_lx = ob->ob_ly = ob->ob_ldx = ob->ob_ldy = ob->ob_dx = ob->ob_dy = 0; ob->ob_owner = ob; //ob->ob_symhgt = 16; //ob->ob_symwdt = 16; ob->ob_newsym = symbol_ox[0]; // sdh 27/6/2002 ob->ob_drawf = NULL; ob->ob_movef = moveox; ob->ob_clr = 1; insertx(ob, &topobj); } } static void initgdep() { gmaxspeed = MAX_SPEED + gamenum; gminspeed = MIN_SPEED + gamenum; targrnge = 150; if (gamenum < 6) targrnge -= 15 * (6 - gamenum); targrnge *= targrnge; } // sdh 27/10/2001: created void swinitlevel() { if (playmode == PLAYMODE_ASYNCH) init1asy(); // sdh 16/11/2001: this needs to be reset with each new game // to keep netgames in sync if we have already played countmove = 0; // sdh: dont carry hud splats forward from previous games splatox = splatbird = shothole = 0; initsndt(); initgrnd(); initobjs(); if (keydelay == -1) keydelay = 1; if (playmode == PLAYMODE_ASYNCH) { maxcrash = MAXCRASH * 2; init2asy(); } else { maxcrash = MAXCRASH; currgame = &swgames[0]; // single player initplyr(NULL); initcomp(NULL); initcomp(NULL); initcomp(NULL); } inittarg(); if (currgame->gm_specf) (*currgame->gm_specf) (); initdisp(NO); initflck(); initoxen(); initgdep(); inplay = TRUE; } void swrestart() { OBJECTS *ob; int inc; int time; if (endsts[player] == WINNER) { ob = &nobjects[player]; inc = 0; while (ob->ob_crashcnt++ < maxcrash) { ob->ob_score += (inc += 25); setvdisp(); dispguages(ob); dispscore(ob); Vid_Update(); // sdh 27/10/2001: use new time code for delay time = Timer_GetMS(); while(Timer_GetMS() < time + 200); } ++gamenum; savescore = ob->ob_score; } else { // gamenum = 0; // allow variable start level -- Jesse gamenum = starting_level; savescore = 0; // sh 28/10/2001: go back to the title screen playmode = PLAYMODE_UNSET; } // sdh 27/10/2001: moved all level init stuff into swinitlevel longjmp(envrestart, 0); } // global argv/argc int g_argc; char **g_argv; // init game void swinit(int argc, char *argv[]) { BOOL n = FALSE; BOOL s = FALSE; BOOL c = FALSE; BOOL a = FALSE; BOOL k = FALSE; int modeset = 0, keyset; int i; // store global argc/argv g_argc = argc; g_argv = argv; #if 0 // old getflags code if (getflags(&argc, &argv, /*---- 96/12/27------ "n&s&c&m&a&k&i&j&q&h*v*r&d*f*n*t#w&y#e&g#x&:", &n, &s, &c, &m, &a, &k, &ibmkeybd, &joystick, &soundflg, &histout, &histin, &reset, &device, &multfile, &cmndfile, &multtick, &hires, &keydelay, &repflag, &gamenum, &missok ) ------ 96/12/27----*/ /*---- 99/01/24------ "n&s&c&m&a&k&j&q&h*v*r&d*f*t#w&y#e&g#x&:", &n, &s, &c, &m, &a, &k, &joystick, &soundflg, &histout, &histin, &reset, &device, &multfile, &multtick, &hires, &keydelay, &repflag, &gamenum, &missok ) ------ 99/01/24----*/ "n&s&c&a&k&j&q&x&:", &n, &s, &c, &a, &k, &joystick, &soundflg, &missok) || ((modeset = n + s + c + a) > 1) || ((keyset = joystick + k) > 1)) { disphelp(helptxt); exit(1); } #endif // sdh 29/10/2001: load config from configuration file soundflg = 1; // assume off by default swloadconf(); for (i=1; i 2 Players, Teams Extra game modes -- Capture the flag etc Ideas ----- Friendly buildings/tanks should shoot at enemy planes? Teams (player + AI)? Custom levels High score table? Safe base? sopwith-1.8.1/configure0000775000175000017500000046616512111466757014167 0ustar jessejesse#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68. # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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=: # Pre-4.2 versions of Zsh do 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_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } 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.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= 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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do 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_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_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 || $as_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" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error 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 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # 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 as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # 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" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_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 } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac 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 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then 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 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='mkdir -p "$as_dir"' 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'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/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= # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= PACKAGE_URL= ac_unique_file="src/swmain.c" # 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='LTLIBOBJS LIBOBJS EGREP GREP CPP SOPWITH_SUBDIRS SOPWITH_BINS SDL_LIBS SDL_CFLAGS SDL_CONFIG SET_MAKE MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL PACKAGE INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM RANLIB OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC target_os target_vendor target_cpu target host_os host_vendor host_cpu host build_os build_vendor build_cpu build VERSION target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_psion with_sdl_prefix with_sdl_exec_prefix enable_sdltest ' 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 ac_unrecognized_opts= ac_unrecognized_sep= # 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= ;; *) 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_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=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_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$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_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=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 ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_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'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. 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 # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 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 $as_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 .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # 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 -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | 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 .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 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-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-psion Compile for Psion Linux --disable-sdltest Do not try to compile and run a test SDL program Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-sdl-prefix=PFX Prefix where SDL is installed (optional) --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional) 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 (Objective) C/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. Report bugs to the package provider. _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" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && 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=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_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 $as_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.68 Copyright (C) 2010 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 ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile 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.68. 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=. $as_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=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append 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 as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset 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 $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" 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_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; 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 $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_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'; as_fn_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 $as_echo "/* confdefs.h */" > 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 cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } 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. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_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,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_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 # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_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. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## 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 autotools "$srcdir"/autotools; 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 as_fn_error $? "cannot find install-sh, install.sh, or shtool in autotools \"$srcdir\"/autotools" "$LINENO" 5 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. VERSION=1.8.0 # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&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 && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&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` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 $as_echo_n "checking target system type... " >&6; } if ${ac_cv_target+:} false; then : $as_echo_n "(cached) " >&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` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 $as_echo "$ac_cv_target" >&6; } case $ac_cv_target in *-*-*) ;; *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 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}- 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM 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. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 | *.dSYM | *.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 if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; 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 | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg 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) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : 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 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi # Check whether --enable-psion was given. if test "${enable_psion+set}" = set; then : enableval=$enable_psion; psiprefix=arm-uclibc echo "*** psion hack: using $psiprefix as prefix for compile utils" target=$psiprefix CC="${psiprefix}-gcc" LD="${psiprefix}-ld" AR="${psiprefix}-ar" NM="${psiprefix}-nm" RANLIB="${psiprefix}-ranlib" SOPWITH_BINS=psopwith SOPWITH_SUBDIRS=psion CFLAGS="$CFLAGS -DPSION" fi case "$target" in *-*-cygwin* | *-*-mingw32*) LDFLAGS="$LDFLAGS -lwsock32" ;; sparc*-*-solaris*) LDFLAGS="$LDFLAGS -lsocket -lnsl" ;; *-*-qnx*) LDFLAGS="$LDFLAGS -lsocket" ;; esac am__api_version="1.4" # 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. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&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 rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$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' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $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". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftestfile ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi rm -f conftest* { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "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 $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=sopwith VERSION=$VERSION if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF missing_dir=`cd $ac_aux_dir && pwd` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working aclocal-${am__api_version}" >&5 $as_echo_n "checking for working aclocal-${am__api_version}... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal-${am__api_version} { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoconf" >&5 $as_echo_n "checking for working autoconf... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else AUTOCONF="$missing_dir/missing autoconf" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working automake-${am__api_version}" >&5 $as_echo_n "checking for working automake-${am__api_version}... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-${am__api_version} { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else AUTOMAKE="$missing_dir/missing automake-${am__api_version}" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoheader" >&5 $as_echo_n "checking for working autoheader... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else AUTOHEADER="$missing_dir/missing autoheader" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working makeinfo" >&5 $as_echo_n "checking for working makeinfo... " >&6; } # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } else MAKEINFO="$missing_dir/missing makeinfo" { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5 $as_echo "missing" >&6; } fi ac_config_headers="$ac_config_headers config.h:config.hin" ac_config_commands="$ac_config_commands default-1" # 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_SDL_CONFIG+:} false; then : $as_echo_n "(cached) " >&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" $as_echo "$as_me:${as_lineno-$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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5 $as_echo "$SDL_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi min_sdl_version=1.1.3 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 if ac_fn_c_try_run "$LINENO"; then : else no_sdl=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi if test "x$no_sdl" = x ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SOPWITH_BINS="$SOPWITH_BINS sopwith" SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS sdl" else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 if ac_fn_c_try_link "$LINENO"; 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 "*** 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$ac_exeext conftest.$ac_ext CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi fi SDL_CFLAGS="" SDL_LIBS="" : fi rm -f conf.sdltest 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i 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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then 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 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_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 as_fn_arith $ac_count + 1 && ac_count=$as_val 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 if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then 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 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_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 as_fn_arith $ac_count + 1 && ac_count=$as_val 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 if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h 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=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_mongrel "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "$ac_includes_default" if test "x$ac_cv_header_netinet_ip_h" = xyes; then : $as_echo "#define TCPIP 1" >>confdefs.h fi ac_config_files="$ac_config_files Makefile src/Makefile src/gtk/Makefile src/sdl/Makefile src/psion/Makefile doc/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_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; 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 if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_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= U= 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=`$as_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. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $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} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## 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=: # Pre-4.2 versions of Zsh do 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_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } 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.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= 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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith 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 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # 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 ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac 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 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then 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 else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_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 || $as_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" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' 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 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=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.68. 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 case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # 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_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent 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 the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" Copyright (C) 2010 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' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. 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=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= 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 ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_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. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append 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 || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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:config.hin" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/Makefile" ;; "src/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdl/Makefile" ;; "src/psion/Makefile") CONFIG_FILES="$CONFIG_FILES src/psion/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 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= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries 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[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # 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. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[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="$ac_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 || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append 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 '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 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 || $as_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"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_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 || ac_write_fail=1 # 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= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 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 || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;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 " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_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 "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # 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 || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi sopwith-1.8.1/config.hin~0000664000175000017500000000026712046775540014406 0ustar jessejesse/* config.hin. Generated automatically from configure.in by autoheader 2.13. */ #undef TCPIP /* Name of package */ #undef PACKAGE /* Version number of package */ #undef VERSION sopwith-1.8.1/config.status0000775000175000017500000007117112124365360014752 0ustar jessejesse#! /bin/bash # Generated by configure. # 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-/bin/bash} export SHELL ## -------------------- ## ## 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=: # Pre-4.2 versions of Zsh do 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_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } 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.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= 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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith 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 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # 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 ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac 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 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then 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 else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_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 || $as_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" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' 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 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## # 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.68. 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 src/Makefile src/gtk/Makefile src/sdl/Makefile src/psion/Makefile doc/Makefile" config_headers=" config.h:config.hin" config_commands=" default-1" ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent 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 the package provider." ac_cs_config="" ac_cs_version="\ config.status configured by ./configure, generated by GNU Autoconf 2.68, with options \"$ac_cs_config\" Copyright (C) 2010 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/jesse/Code/sopwith-1.8.1' srcdir='.' INSTALL='/usr/bin/install -c' test -n "$AWK" || AWK=awk # The default lists apply if the user does not specify any file. 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=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= 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 ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_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. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append 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 set X '/bin/bash' './configure' $ac_configure_extra_args --no-create --no-recursion shift $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 CONFIG_SHELL='/bin/bash' export CONFIG_SHELL exec "$@" fi exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 # # INIT-COMMANDS # # 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:config.hin" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "src/gtk/Makefile") CONFIG_FILES="$CONFIG_FILES src/gtk/Makefile" ;; "src/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/sdl/Makefile" ;; "src/psion/Makefile") CONFIG_FILES="$CONFIG_FILES src/psion/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 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= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && S["LTLIBOBJS"]="" S["LIBOBJS"]="" S["EGREP"]="/bin/grep -E" S["GREP"]="/bin/grep" S["CPP"]="gcc -E" S["SOPWITH_SUBDIRS"]=" sdl" S["SOPWITH_BINS"]=" sopwith" S["SDL_LIBS"]="-L/usr/lib/x86_64-linux-gnu -lSDL" S["SDL_CFLAGS"]="-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" S["SDL_CONFIG"]="/usr/bin/sdl-config" S["SET_MAKE"]="" S["MAKEINFO"]="/home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo" S["AUTOHEADER"]="autoheader" S["AUTOMAKE"]="/home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4" S["AUTOCONF"]="autoconf" S["ACLOCAL"]="/home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4" S["PACKAGE"]="sopwith" S["INSTALL_DATA"]="${INSTALL} -m 644" S["INSTALL_SCRIPT"]="${INSTALL}" S["INSTALL_PROGRAM"]="${INSTALL}" S["RANLIB"]="ranlib" S["OBJEXT"]="o" S["EXEEXT"]="" S["ac_ct_CC"]="gcc" S["CPPFLAGS"]="" S["LDFLAGS"]="" S["CFLAGS"]="-g -O2" S["CC"]="gcc" S["target_os"]="linux-gnu" S["target_vendor"]="unknown" S["target_cpu"]="x86_64" S["target"]="x86_64-unknown-linux-gnu" S["host_os"]="linux-gnu" S["host_vendor"]="unknown" S["host_cpu"]="x86_64" S["host"]="x86_64-unknown-linux-gnu" S["build_os"]="linux-gnu" S["build_vendor"]="unknown" S["build_cpu"]="x86_64" S["build"]="x86_64-unknown-linux-gnu" S["VERSION"]="1.8.0" S["target_alias"]="" S["host_alias"]="" S["build_alias"]="" S["LIBS"]="" S["ECHO_T"]="" S["ECHO_N"]="-n" S["ECHO_C"]="" S["DEFS"]="-DHAVE_CONFIG_H" S["mandir"]="${datarootdir}/man" S["localedir"]="${datarootdir}/locale" S["libdir"]="${exec_prefix}/lib" S["psdir"]="${docdir}" S["pdfdir"]="${docdir}" S["dvidir"]="${docdir}" S["htmldir"]="${docdir}" S["infodir"]="${datarootdir}/info" S["docdir"]="${datarootdir}/doc/${PACKAGE}" S["oldincludedir"]="/usr/include" S["includedir"]="${prefix}/include" S["localstatedir"]="${prefix}/var" S["sharedstatedir"]="${prefix}/com" S["sysconfdir"]="${prefix}/etc" S["datadir"]="${datarootdir}" S["datarootdir"]="${prefix}/share" S["libexecdir"]="${exec_prefix}/libexec" S["sbindir"]="${exec_prefix}/sbin" S["bindir"]="${exec_prefix}/bin" S["program_transform_name"]="s,x,x," S["prefix"]="/usr/local" S["exec_prefix"]="${prefix}" S["PACKAGE_URL"]="" S["PACKAGE_BUGREPORT"]="" S["PACKAGE_STRING"]="" S["PACKAGE_VERSION"]="" S["PACKAGE_TARNAME"]="" S["PACKAGE_NAME"]="" S["PATH_SEPARATOR"]=":" S["SHELL"]="/bin/bash" _ACAWK cat >>"$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { D["PACKAGE_NAME"]=" \"\"" D["PACKAGE_TARNAME"]=" \"\"" D["PACKAGE_VERSION"]=" \"\"" D["PACKAGE_STRING"]=" \"\"" D["PACKAGE_BUGREPORT"]=" \"\"" D["PACKAGE_URL"]=" \"\"" D["PACKAGE"]=" \"sopwith\"" D["VERSION"]=" \"1.8.0\"" D["STDC_HEADERS"]=" 1" D["HAVE_SYS_TYPES_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" D["HAVE_STDLIB_H"]=" 1" D["HAVE_STRING_H"]=" 1" D["HAVE_MEMORY_H"]=" 1" D["HAVE_STRINGS_H"]=" 1" D["HAVE_INTTYPES_H"]=" 1" D["HAVE_STDINT_H"]=" 1" D["HAVE_UNISTD_H"]=" 1" D["TCPIP"]=" 1" for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { line = $ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # 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. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[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="$ac_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 || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append 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 '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 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 || $as_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"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_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= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_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 ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// } :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;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 " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_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 "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "default-1":C) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; esac done # for ac_tag as_fn_exit 0 sopwith-1.8.1/config.h.in0000664000175000017500000000000012046775540014247 0ustar jessejessesopwith-1.8.1/Makefile.am0000664000175000017500000000053312046775540014273 0ustar jessejesseAUX_DIST_GEN = \ $(ac_aux_dir)/config.guess \ $(ac_aux_dir)/config.sub \ $(ac_aux_dir)/install-sh \ $(ac_aux_dir)/missing \ $(ac_aux_dir)/mkinstalldirs MAINTAINERCLEANFILES = $(AUX_DIST_GEN) docdir=$(prefix)/share/doc/@PACKAGE@ SUBDIRS=src doc blah: sopwith-1.8.1/aclocal.m40000664000175000017500000003317112111466757014103 0ustar jessejessednl aclocal.m4 generated automatically by aclocal 1.4-p6 dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. # Do all the work for Automake. This macro actually does too much -- # some checks are only needed if your package does certain things. # But this isn't really a big deal. # serial 1 dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN([AM_INIT_AUTOMAKE], [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) # Copyright 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 # 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.4"]) # 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.4-p6])]) # # Check to make sure that the build environment is sane. # AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` if test "[$]*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "[$]*" != "X $srcdir/configure conftestfile" \ && test "[$]*" != "X conftestfile $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" = conftestfile ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN([AM_MISSING_PROG], [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else $1="$3/missing $2" AC_MSG_RESULT(missing) fi AC_SUBST($1)]) # Like AC_CONFIG_HEADER, but automatically create stamp file. AC_DEFUN([AM_CONFIG_HEADER], [AC_PREREQ([2.12]) AC_CONFIG_HEADER([$1]) dnl When config.status generates a header, we must update the stamp-h file. dnl This file resides in the same directory as the config header dnl that is generated. We must strip everything past the first ":", dnl and everything past the last "/". AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, <>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, <>; do case " <<$>>CONFIG_HEADERS " in *" <<$>>am_file "*<<)>> echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx ;; esac am_indx=`expr "<<$>>am_indx" + 1` done<<>>dnl>>) changequote([,]))]) # 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 ]) dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page dnl also defines GSTUFF_PKG_ERRORS on error AC_DEFUN(PKG_CHECK_MODULES, [ succeeded=no if test -z "$PKG_CONFIG"; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) fi if test "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then AC_MSG_CHECKING(for $2) if $PKG_CONFIG --exists "$2" ; then AC_MSG_RESULT(yes) succeeded=yes AC_MSG_CHECKING($1_CFLAGS) $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` AC_MSG_RESULT($$1_CFLAGS) AC_MSG_CHECKING($1_LIBS) $1_LIBS=`$PKG_CONFIG --libs "$2"` AC_MSG_RESULT($$1_LIBS) else $1_CFLAGS="" $1_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` ifelse([$4], ,echo $$1_PKG_ERRORS,) fi AC_SUBST($1_CFLAGS) AC_SUBST($1_LIBS) else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then ifelse([$3], , :, [$3]) else ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) fi ]) sopwith-1.8.1/doc/0000755000175000017500000000000012124366120012764 5ustar jessejessesopwith-1.8.1/doc/readme.txt0000664000175000017500000001374312046775557015021 0ustar jessejesseRelease notes on the source code: A message from Dave Clark: > I have already begun to take emails requesting assistance with the > compilation of the Sopwith code place on sopwith.org. Although I would > like to have the time to help everyone with its recompilation, I simply > don't have the time. If I can, I would like to ask that emails directed to > me concerning the code be restricted to the higher level "Why did you do it > this way", rather than the more "nuts and bolts" type questions (i.e. The > source won't compile under Frisbot C++, what's wrong?). If you really hit > a roadblock with a particular piece of the code, I will help if I can, but > please be very specific as to what the problem is (specific lines of codes, > error messages, etc). If anyone else wants to become a Sopwith porting > expert, and is able to handle the support calls involved, my best wishes to > that person. > > The code is written to compile under Microsoft C V6.0 (for DOS) and > Microsoft Assembler V5.1 (for DOS). I'm truly sorry, but I do not have the > time to assist in porting it to any other compilers. > > I would ask that all questions concerning the code be sent to the Sopwith > development eGroup, rather than to me directly. In that way, the greater > number of people can contribute to and learn from the answers. > > I hope I'm not coming across too heavy here. I thoroughly encourage what > folks are doing with Sopwith. Time permitting, I will attempt to answer > every eMail regarding Sopwith. Please be patient, as Sopwith has become an > unexpected addition to an already busy schedule. > > Thanks for you consideration > Dave Clark The Sopwith developers mailing list can be joined by going to http://www.egroups.com/subscribe/sopwith and following the instructions there. The files in the source code archive are as follows: Dave Clark stuff: General stuff: LICENSE.TXT - The Sopwith license agreement NOTES.TXT - This file SW.LNK - Linker response file SW.MAK - Makefile C Stuff: SW.H - Main Sopwith header file. Included by all the C files. Includes STD.H, SYSINT.H, SWDEVE.H and SWMACH.H. Has lots of useful macros for constants and enumerations, as well as definitions of the various structs. STD.H - Header defining some handy macros and prototypes for some of the functions in BMBLIB.C SWDEVE.H - Defines the "DEVELOPE" macro. SWMACH.H - Defines either the "IBMPC" macro or the "ATARI" macro depending on the machine being compiled for. SYSINT.H - Defines register structures used by sysint and sysint21 and interrupts. SWMISC.C - Miscellaneous support functions ("puts" function) _INTC.C - Functions to handle Sopwith's interrupt vector table BMBLIB.C - BMB library routines (command line processing, system interrupts, hardware I/O and memory copying). SWASYNIO.C - Asynchronous (serial port) communications SWAUTO.C - The autopilot (computer player and automatic homing device) SWCOLLSN.C - Collision detection routines SWDISP.C - Display players and objects SWEND.C - End of game cleanup and statistics SWGAMES.C - Defines the positions, types and orientations of the runways and buildings in the "world". SWGROUND.C - Defines the array of altitudes which makes up the landscape SWGRPHA.C - Low-level graphics routines SWINIT.C - Initialization routines, command line and menus SWMAIN.C - The main game loop SWMOVE.C - Update objects SWMULTIO.C - Imaginet multiplayer communications SWNETIO.C - Modern networking replacement for SWMULTIO.C (or at least, it will be...) SWOBJECT.C - Routines for manipulating the object list SWSOUND.C - Sound routines SWTITLE.C - The title screen SWPLANES.C - Graphics data for planes SWSYMBOL.C - Other graphics data Assembler stuff: SEGMENTS.H - Assembler macro defining relative position of function call arguments on stack SW.HA - Assembler include for various useful constants _INTA.ASM - Interrupt service routines, routines to get and set interrupt vectors _INTS.ASM - Functions to turn interrupts on and off SWCOMM.ASM - Low level serial communications SWGRPH.ASM - Low level graphics routines (duplication of some of the stuff in SWGRPHA.C) SWHIST.ASM - Dummy history processing _DKIO.ASM - Low level disk I/O for Imaginet SWUTIL.ASM - Keyboard, joystick, timing, sound, text output and object movement routines Andrew Jenner stuff: General stuff: MAKEFILE - Make file. Works with Borland make. Doesn't work with GNU make for reasons which escape me (please tell me if you know). Don't know about other flavours of make. RESPONSE.RSP - Linker command line (response) file to link Sopwith. Works with Borland TLINK 2.0. RESPONS2.RSP - Linker command line (response) file to link Sopwith 2. Works with Borland TLINK 2.0. SOPWITH.PRJ - Turbo C 2.01 project file for Sopwith. SOPWITH2.PRJ - Turbo C 2.01 project file for Sopwith 2. DLCVSAMJ.TXT - File giving correspondances between identifiers in Dave Clark's code and Andrew Jenner's. Work in progress. Code: SOPWITH.C - Sopwith. SOPWITH2.C - Sopwith 2. DEF.H - Generic header file SOPASM.ASM - Assembler support routines, common to Sopwith and Sopwith 2. Works with A86. SOPASM.H - Header file declaring the functions in SOPASM.ASM. GROUND.C - Landscape height field, common to Sopwith and Sopwith 2. SPRITES.C - Graphics data, common to Sopwith and Sopwith 2. sopwith-1.8.1/doc/Makefile.in0000664000175000017500000001544012111467361015044 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ datarootdir = @datarootdir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = @build_alias@ build_triplet = @build@ host_alias = @host_alias@ host_triplet = @host@ target_alias = @target_alias@ target_triplet = @target@ CC = @CC@ MAKEINFO = @MAKEINFO@ PACKAGE = @PACKAGE@ PKG_CONFIG = @PKG_CONFIG@ RANLIB = @RANLIB@ SDL_CFLAGS = @SDL_CFLAGS@ SDL_CONFIG = @SDL_CONFIG@ SDL_LIBS = @SDL_LIBS@ SOPWITH_BINS = @SOPWITH_BINS@ SOPWITH_SUBDIRS = @SOPWITH_SUBDIRS@ VERSION = @VERSION@ docdir = $(prefix)/share/doc/@PACKAGE@ man_MANS = sopwith.6 doc_DATA = dlcvsamj.txt keys.txt origdoc.txt readme.txt mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = man6dir = $(mandir)/man6 MANS = $(man_MANS) NROFF = nroff DATA = $(doc_DATA) DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status install-man6: $(mkinstalldirs) $(DESTDIR)$(man6dir) @list='$(man6_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.6*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst; \ done uninstall-man6: @list='$(man6_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.6*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man6dir)/$$inst"; \ rm -f $(DESTDIR)$(man6dir)/$$inst; \ done install-man: $(MANS) @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-man6 uninstall-man: @$(NORMAL_UNINSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-man6 install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(docdir) @list='$(doc_DATA)'; for p in $$list; do \ if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \ else if test -f $$p; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \ fi; fi; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) list='$(doc_DATA)'; for p in $$list; do \ rm -f $(DESTDIR)$(docdir)/$$p; \ done tags: TAGS TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = doc distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-man install-docDATA install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-man uninstall-docDATA uninstall: uninstall-am all-am: Makefile $(MANS) $(DATA) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(mandir)/man6 $(DESTDIR)$(docdir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: install-man6 uninstall-man6 install-man uninstall-man \ uninstall-docDATA install-docDATA tags distdir info-am info dvi-am dvi \ check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/doc/Makefile0000664000175000017500000001575312124365360014446 0ustar jessejesse# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = /bin/bash srcdir = . top_srcdir = .. prefix = /usr/local exec_prefix = ${prefix} bindir = ${exec_prefix}/bin sbindir = ${exec_prefix}/sbin libexecdir = ${exec_prefix}/libexec datadir = ${datarootdir} datarootdir = ${prefix}/share sysconfdir = ${prefix}/etc sharedstatedir = ${prefix}/com localstatedir = ${prefix}/var libdir = ${exec_prefix}/lib infodir = ${datarootdir}/info mandir = ${datarootdir}/man includedir = ${prefix}/include oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/sopwith pkglibdir = $(libdir)/sopwith pkgincludedir = $(includedir)/sopwith top_builddir = .. ACLOCAL = /home/jesse/Code/sopwith-1.8.1/autotools/missing aclocal-1.4 AUTOCONF = autoconf AUTOMAKE = /home/jesse/Code/sopwith-1.8.1/autotools/missing automake-1.4 AUTOHEADER = autoheader INSTALL = /usr/bin/install -c INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = ${INSTALL} -m 644 INSTALL_SCRIPT = ${INSTALL} transform = s,x,x, NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_alias = build_triplet = x86_64-unknown-linux-gnu host_alias = host_triplet = x86_64-unknown-linux-gnu target_alias = target_triplet = x86_64-unknown-linux-gnu CC = gcc MAKEINFO = /home/jesse/Code/sopwith-1.8.1/autotools/missing makeinfo PACKAGE = sopwith PKG_CONFIG = @PKG_CONFIG@ RANLIB = ranlib SDL_CFLAGS = -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT SDL_CONFIG = /usr/bin/sdl-config SDL_LIBS = -L/usr/lib/x86_64-linux-gnu -lSDL SOPWITH_BINS = sopwith SOPWITH_SUBDIRS = sdl VERSION = 1.8.0 docdir = $(prefix)/share/doc/sopwith man_MANS = sopwith.6 doc_DATA = dlcvsamj.txt keys.txt origdoc.txt readme.txt mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = man6dir = $(mandir)/man6 MANS = $(man_MANS) NROFF = nroff DATA = $(doc_DATA) DIST_COMMON = Makefile.am Makefile.in DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status install-man6: $(mkinstalldirs) $(DESTDIR)$(man6dir) @list='$(man6_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.6*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst"; \ $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst; \ done uninstall-man6: @list='$(man6_MANS)'; \ l2='$(man_MANS)'; for i in $$l2; do \ case "$$i" in \ *.6*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(DESTDIR)$(man6dir)/$$inst"; \ rm -f $(DESTDIR)$(man6dir)/$$inst; \ done install-man: $(MANS) @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-man6 uninstall-man: @$(NORMAL_UNINSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-man6 install-docDATA: $(doc_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(docdir) @list='$(doc_DATA)'; for p in $$list; do \ if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p"; \ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(docdir)/$$p; \ else if test -f $$p; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(docdir)/$$p; \ fi; fi; \ done uninstall-docDATA: @$(NORMAL_UNINSTALL) list='$(doc_DATA)'; for p in $$list; do \ rm -f $(DESTDIR)$(docdir)/$$p; \ done tags: TAGS TAGS: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = doc distdir: $(DISTFILES) here=`cd $(top_builddir) && pwd`; \ top_distdir=`cd $(top_distdir) && pwd`; \ distdir=`cd $(distdir) && pwd`; \ cd $(top_srcdir) \ && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu doc/Makefile @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-exec: install-exec-am install-data-am: install-man install-docDATA install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-man uninstall-docDATA uninstall: uninstall-am all-am: Makefile $(MANS) $(DATA) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(mandir)/man6 $(DESTDIR)$(docdir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-generic mostlyclean-am clean: clean-am distclean-am: distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: install-man6 uninstall-man6 install-man uninstall-man \ uninstall-docDATA install-docDATA tags distdir info-am info dvi-am dvi \ check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: sopwith-1.8.1/doc/origdoc.txt0000664000175000017500000004574412046775556015217 0ustar jessejesse This is apparently the original documentation for sopwith. Thanks to Jornand de Buisonje' and google groups' archive :) A lot of this refers to the imaginet network system and is no longer relevant, but is included for historic purposes. This was split over several messages, i have combined them. From: andrew maclean (andrew.maclean@rose.com) Subject: Sopwith Documentatio(1/6) Newsgroups: comp.sys.ibm.pc.games.action Date: 1993-10-14 09:11:09 PST Someone from Finland posted a request for the docs of the game Sopwith. I work for the company which wrote this little program so many years ago. First of all, it was intended as a demo for a network called Imaginet which we also developed. Therefore, it doesn't really play over other networks. After asking about this however, there is some speculation here that it can be linked over a serial cable. I cannot confirm this. Anyway, here are the docs for thems that wants. This program is copywrited by: BMB Compuscience Canada Ltd. 555 Industrial Drive Milton, Ontario L9T 5C2 Canada SOPWITH a WWI biplane video game Syntax: sopwith [-s] [-k] [-i] [-q] [-r] [-d*] [-p#] [-c] [-j] [-m] [-a] Description: SOPWITH is a video war-game played over the IMAGINET network or on a stand-alone PC. The object of SOPWITH is to destroy all enemy targets with a somewhat limited airforce. SOPWITH may be played in four ways: Single Player Single Player against the computer Multiple Players on a network Two Players over an asynchronous communications line SINGLE PLAYER Single player SOPWITH should only be used to "get the feel of the stick". The player (blue airplane) must destroy all the enemy (red) targets before losing five (5) airplanes. If the player is successful, the game is restarted at a higher level of difficulty. SINGLE PLAYER AGAINST THE COMPUTER This game is of the same flavour as single player SOPWITH with the additional realism of having someone else (red airplanes) out to get you. MULTIPLE PLAYER Multiple user SOPWITH allows 2-4 IMAGINET users to form opposing air forces with the goal of being the first to destroy all enemy targets. The airplane which the player controls, and the airforce for which the player flies, are determined by the number of players and the order in which they attach themselves to the game. 2 players: - first player receives a blue airplane - second player receives a red airplane 3 players: - first player receives a blue airplane - second player receives a red airplane along with a computer controlled plane eager to bring about the demise of the dreaded blue enemy - third player receives a blue airplane 4 players: - first player receives a blue airplane - second player receives a red airplane - third player receives a blue airplane - fourth player receives a red airplane In all cases, each player attempts to destroy the targets of the opposing colour while defending friendly targets against enemy aircraft. Each player is limited to ten (10) aircraft. 2 PLAYER ASYNCHRONOUS SOPWITH Two Player SOPWITH is a limited version of Multiple Player SOPWITH using an asychronous communications line in place of a network. The players' colours are determined randomly. Two Player SOPWITH may be played locally using direct cabled PC's, or remotely using modems and a telephone system capable of 300 baud communications. Scoring: The point score acquired is of no importance in determining whether a player has won or lost. However, to assist in determining a flier's skill level, the following points are associated with airplanes, targets, and the like: 50 - airplane 100 - factory, hangar, or tank 200 - fuel depot penalty of 25 - bird penalty of 200 - ox or falling flier In single player games, points are gained if enemy targets and airplanes are destroyed; points are lost if friendly targets and airplanes are destroyed. If all enemy targets are destroyed, the game is restarted at a higher level of difficulty. The player's score to this point is retained, and the player is given an incrementing bonus for each unused plane. In multiple or two player SOPWITH, points are always gained by one side or the other. The game ends when one team's targets are destroyed. Keyboard: SOPWITH supports two types of keyboard input, hereafter called IBM and non-IBM keyboard types. IBM keyboard support allows the use of more than one keyboard key at one time, providing the flexibility available during joystick play. Non-IBM keyboard support allows SOPWITH to be played on PC look-alikes which do not treat their keyboards in the same manner as the IBM PC. In non-IBM mode, only one key depression is acknowledged at one time. Which type of keyboard support will work best on a given system can only be determined by trial and error. The following keys are used during the play of SOPWITH: Ctrl-Break - (Non-IBM keyboard) Break - (IBM keyboard) terminates the game for the player by crashing the player's plane. Scores are adjusted accordingly. , - elevator up. The airplane will rise if right-side-up, drop if upside-down. . - roll airplane / - elevator down. The airplane will drop if right-side-up, rise if upside-down. x - accelerate airplane z - decelerate airplane b - drop a bomb space-bar - fire a shot h - allow the computer to fly you home for refuelling and rearmament. Computer control ends if elevator, acceleration, or roll keys are pressed. s - turn sound on if off, off if on. Shift-PrtSc - (Non-IBM keyboard) PrtSc - (IBM keyboard) Performs the standard shift-printscreen function upon completion of the next screen update. Output of a given scene is guaranteed to be complete. Joystick: SOPWITH supports joystick input through joystick A. Functions supported by the joystick are listed below. The keyboard may still be used as need be, and must be used for Ctrl-Break, Shift-PrtSc, home, and sound functions. x - elevator down x - elevator up x - accelerate x - decelerate x - roll airplane red button - drop a bomb black button - fire a shot Screen: During play the screen is divided into two sections, a window and a status display. The window comprises the upper ninety percent of the screen and provides a display of the player's airplane along with a display of other airplanes, targets, and ground in the immediate vicinity. This window is scrolled left or right keeping the player's airplane centered. The lower ten percent of the screen is used for displaying the status of the game. From left to right, the status display consists of: blue team score red team score (multiple or two player game) plane gauge showing the number of airplanes not yet destroyed. Each airplane is represented by two (2)* vertical dots. The game begins with the gauge indicating five airplanes available. The gauge shows two (2)* dots when the player is using the last airplane available. (* in multiple and two player games, each dot represents one airplane) fuel gauge relative display of fuel remaining. bomb gauge relative display of bombs remaining. shot gauge relative display of the number of gunrounds remaining. Note: fuels, bomb, and shots may be topped up while remaining stationary at one's home base. A player is at home after a crash, or after completing a return to home by using the "h" key. ghost face The above four gauges may be replaced by a ghostly friendly face. This indicates you are a "ghost" player in a multiple player game. Ghost players may fly about observing the ongoing battle, but may not take any action which would change the world in any way. world display a miniaturized display of the entire playing world showing the positions of all airplanes, targets not yet destroyed, bombs, and the occasional flock of birds. Play: To play SOPWITH, simply key: sopwith or: ?:sopwith where ? is the device indicator of the disk containing the SOPWITH program file "sopwith.exe". SOPWITH will then display the following to determine how the game is to be played: Key: S - single player C - single player against computer M - multiple players Sound: -q initializes the game to the no-sound state. Pressing "s" during play will start sound generation. The default is to initialize the game with sound. CommuniCommunications Port: -p# Overrides CommuniCstandard IMAGINET disk address, or asynchroverrides asynasynchronous port 1 as the pocommunications port to use. Recovery: If for some reason, a player's SOPWITH program fails to end properly while in multiple player mode, the game number in use at the time is rendered unusable. In order to reset the game in question, SOPWITH must be run with the "reset" option: sopwith -r [-d*] Continue through the game number and maximum player prompts as usual. Keying "sopwith -r [-d*]" and specifying a game which is in progress will yield unpredictable results. Installation: The program file SOPWITH.EXE must be available to each player. For single player games, this is the only installation needed. Two player SOPWITH requires the following hardware and software: * asynchronous communications adapter on each PC with a direct attach cable with a data line cross-over (hardware handshake is not required) or asynchronous modems and a phone system capable of supporting 300 baud transmission. * BMB dictionary driver (NAMEDEV.SYS) loaded. * BMB serial communications driver (either SERIAL.SYS or SERWORK.SYS) loaded after NAMEDEV.SYS. * consistent versions of SOPWITH (See note below) OR * BMB IMAGINET board for asynchronous communications over the BMB IMAGINET network. * consistent versions of SOPWITH (See note below) For multiple player use, the following files must be available at the root directory of an IMAGINET disk common to all players: semaphor - IMAGINET semaphor file sopwith#.dta - SOPWITH communications files where the symbol # corresponds to any valid game number between 0-7 inclusive. Sopwith#.dta files may be created by copying existing SOPWITH.dta files, or by using any other output method to allocate one disk sector under the root directory. In all cases, newly created SOPWITH.dta files should be initialized by using the "sopwith -r [-d*]" command line described above under RECOVERY. Notes: IMPORTANT NOTE - If playing 2 or multiple player SOPWITH, all players MUST use the same version of the game. As the game acquires world-wide recognition, reasonable suggestions and/or improvements are acted upon, resulting in several versions of the game being used. Differing versions of the game will not maintain consistent views of the world. Game versions can be checked by the file date and time of the file SOPWITH.EXE. P.S. The Ox in the game is supposed to be a jab at one of the employees present at the time of the programs creation nicknamed Ox. You loose a bunch of points if you kill the Ox for either color. +-------------------------------------------+--------------------------+ + | Andrew MacLean + + Internet: andrew.maclean@rose.com | Toronto, Ontario + + Compuserve: 73547,1674@compuserve.com | Canada + + | (905) 876-4741 + +-------------------------------------------+--------------------------+ sopwith-1.8.1/doc/dlcvsamj.txt0000664000175000017500000005146312046775556015367 0ustar jessejesseThis file gives the correspondances between Dave Clark's identifier names and Andrew Jenner's, along with the file each identifier is defined in. This isn't finished yet. Now you've seen the format, you can help if you want to - send Andrew Jenner an email at amj25@cam.ac.uk first to avoid duplication of work. The file _intc.c will not be mentioned here since different methods of controlling interrupts are used in Andrew's version. DLC file DLC name DLC type AMJ file AMJ name AMJ type std.h NULL macro stdlib.h NULL macro std.h FALSE macro def.h FALSE macro std.h TRUE macro def.h TRUE macro std.h NO macro def.h FALSE macro std.h YES macro def.h TRUE macro std.h FOREVER macro for (;;) sw.h MAX_X macro 3000 sw.h MAX_Y macro 200 sw.h MIN_SPEED macro 4 sw.h MAX_SPEED macro 8 sw.h MAX_THROTTLE macro 4 sw.h MAXCRCOUNT macro 10 sw.h FALLCOUNT macro 10 sw.h STALLCOUNT macro 6 sw.h TARGHITCOUNT macro 10 sw.h SCR_WDTH macro 320 sw.h SCR_HGHT macro 200 sw.h SCR_CENTR macro 152 sw.h SCR_SEGM macro 0xb800 sw.h SCR_ROFF macro 0x2000 sw.h SCR_LINW macro 80 sw.h SCR_MNSH macro sw.h SCR_MXSH macro sw.h SCR_LIMIT macro 180 sw.h WRLD_RSX macro 19 sw.h WRLD_RSY macro 13 sw.h MINFLCKX macro 370 sw.h MAXFLCKX macro 2630 sw.h CGUAGEX macro sw.h FGUAGEX macro sw.h BGUAGEX macro sw.h SGUAGEX macro sw.h MGUAGEX macro sw.h SBGUAGEX macro sw.h GHOSTX macro sw.h PRINTINT macro sw.h BREAKINT macro sw.h CLOCKINT macro sw.h KEYINT macro sw.h HITSYMS macro sw.h ANGLES macro 16 sw.h ORIENTS macro 2 sw.h SYMBYTES macro sw.h WINSIZES macro 4 sw.h WINBYTES macro sw.h SYM_WDTH macro 16 sw.h SYM_HGHT macro 16 sw.h BOMBBYTES macro sw.h BOMBANGS macro 8 sw.h TARGBYTES macro sw.h TARGORIENTS macro 4 sw.h EXPLSYMS macro 8 sw.h EXPBYTES macro sw.h FLCKSYMS macro 2 sw.h FLKBYTES macro sw.h BIRDSYMS macro 2 sw.h BRDBYTES macro sw.h OXSYMS macro 2 sw.h OXBYTES macro sw.h GHSTBYTES macro sw.h SHOTBYTES macro sw.h SPLTBYTES macro sw.h MISCBYTES macro sw.h MISCANGS macro 16 sw.h BRSTBYTES macro sw.h BRSTSYMS macro 2 sw.h PCDOS macro sw.h JRROMDOS macro sw.h JRROM macro sw.h SINGLE macro def.h GAME_SINGLE macro sw.h MULTIPLE macro def.h GAME_MULTIPLE macro sw.h COMPUTER macro def.h GAME_COMPUTER macro sw.h ASYNCH macro def.h GAME_ASYNCH macro sw.h NOVICE macro sw.h MAXROUNDS macro 200 sw.h MAXBOMBS macro 5 sw.h MAXMISSILES macro sw.h MAXBURSTS macro sw.h MAXFUEL macro 9000 sw.h MAXCRUSH macro 5 sw.h MAX_PLYR macro 4 sw.h MAX_TARG macro 20 sw.h MAX_OBJS macro 100 sw.h MAX_FLCK macro 4 sw.h MAX_BIRD macro 1 sw.h MAX_GAME macro sw.h MAX_OXEN macro 2 sw.h BULSPEED macro 10 sw.h BULLIFE macro 10 sw.h BOMBLIFE macro 5 sw.h MISSLIFE macro sw.h BURSTLIFE macro sw.h EXPLLIFE macro 3 sw.h SMOKELIFE macro 10 sw.h BIRDLIFE macro 4 sw.h FLOCKLIFE macro 5 sw.h WAITING macro def.h STATUS_UNKNOWN macro sw.h FLYING macro def.h STATUS_NORMAL macro sw.h HIT macro sw.h CRASHED macro def.h STATUS_DEAD macro sw.h FALLING macro def.h STATUS_FALLING macro sw.h STANDING macro def.h STATUS_INTACT macro sw.h STALLED macro def.h STATUS_SPINNING macro sw.h REBUILING macro sw.h WOUNDED macro sw.h WOUNDSTALL macro sw.h FINISHED macro def.h STATUS_ELIMINATED macro sw.h GHOST macro def.h STATUS_ELIMNORM macro sw.h GHOSTCRASHED macro def.h STATUS_ELIMDEAD macro sw.h GHOSTSTALLED macro def.h STATUS_ELIMSPIN macro 0 macro def.h FINALE_NONE macro sw.h WINNER macro def.h FINALE_WON macro sw.h LOSER macro def.h FINALE_LOST macro sw.h GROUND macro def.h OBJ_NONE macro sw.h PLANE macro def.h OBJ_PLANE macro sw.h BOMB macro def.h OBJ_BOMB macro sw.h SHOT macro def.h OBJ_BULLET macro sw.h TARGET macro def.h OBJ_BUILDING macro sw.h EXPLOSION macro def.h OBJ_SHRAPNEL macro sw.h SMOKE macro def.h OBJ_SMOKE macro sw.h FLOCK macro def.h OBJ_FLOCK macro sw.h BIRD macro def.h OBJ_BIRD macro sw.h OX macro def.h OBJ_COW macro sw.h MISSILE macro sw.h STARBURST macro sw.h DUMMYTYPE macro sw.h NEAR macro sw.h NEARAPPROACH macro 200 sw.h CLOSE macro 32 sw.h DEADON macro 16 sw.h HOME macro 16 sw.h SAFERESET macro 32 sw.h QUIT macro -5000 0 macro def.h SOUND_NONE macro sw.h S_TITLE macro def.h SOUND_TUNE macro sw.h S_EXPLOSION macro def.h SOUND_SHRAPNEL macro sw.h S_BOMB macro def.h SOUND_BOMB macro sw.h S_SHOT macro def.h SOUND_FIRING macro sw.h S_FALLING macro def.h SOUND_FALLING macro sw.h S_HIT macro def.h SOUND_STUTTER macro sw.h S_PLANE macro def.h SOUND_ENGINE macro 0x7fff macro def.h SOUND_NONE macro sw.h K_ACCEL macro def.h KEY_ACCEL macro sw.h K_DEACC macro def.h KEY_BRAKE macro sw.h K_FLAPU macro def.h KEY_CLIMB macro sw.h K_FLAPD macro def.h KEY_DESCEND macro sw.h K_FLIP macro def.h KEY_FLIP macro sw.h K_SHOT macro def.h KEY_FIRE macro sw.h K_BOMB macro def.h KEY_BOMB macro sw.h K_HOME macro def.h KEY_HOME macro sw.h K_SOUND macro def.h KEY_SOUND macro sw.h K_BREAK macro def.h KEY_BREAK macro sw.h K_MISSILE macro sw.h K_STARBURST macro sw.h K_ASYNACK macro sw.h COMM_FILE macro sw.h COMM_CMD macro sw.h tt struct sopwith?.c snd struct sw.h TONETAB type sopwith?.c snd type sw.h obj struct sopwith?.c object struct sw.h OBJECTS type sopwith?.c object type sw.h GAMES type sopwith?.c landscape type sw.h MULTIO type sw.h MSGOUT type sw.h MSGIN type sw.h OLDWDISP type sw.h COS(x) macro def.h fsin(r,a) macro sw.h SIN(x) macro def.h fcos(r,a) macro sw.h BOOL macro def.h bool type sw.h BIOFD macro sw.h GRNDTYPE macro unsigned char type sw.h unsigned TONETAB.tt_tone sopwith?.c int snd.t2v sw.h unsigned TONETAB.tt_chng sopwith?.c int snd.deltat2v sw.h TONETAB* TONETAB.tt_next sopwith?.c snd* snd.next sw.h TONETAB* TONETAB.tt_prev sopwith?.c snd* snd.prev sw.h int OBJECTS.ob_state sopwith?.c int object.status sw.h int OBJECTS.ob_x sopwith?.c int object.x sw.h int OBJECTS.ob_y sopwith?.c int object.y sw.h int OBJECTS.ob_dx sopwith?.c int object.xv sw.h int OBJECTS.ob_dy sopwith?.c int object.yv sw.h int OBJECTS.ob_angle sopwith?.c int object.rotation sw.h int OBJECTS.ob_orient sopwith?.c bool object.inverted sw.h int OBJECTS.ob_orient sopwith?.c int object.kind sw.h int OBJECTS.ob_speed sopwith?.c int object.speed sw.h int OBJECTS.ob_accel sopwith?.c int object.deltav sw.h int OBJECTS.ob_flaps sopwith?.c int object.deltarot sw.h OBJECTS* OBJECTS.ob_firing sopwith?.c bool object.firing sw.h int OBJECTS.ob_score sopwith?.c int object.score sw.h int OBJECTS.ob_rounds sopwith?.c int object.ammo sw.h int OBJECTS.ob_hitcount sw.h int OBJECTS.ob_updcount sopwith?.c int object.counter sw.h int OBJECTS.ob_life sopwith?.c int object.fuel sw.h OBJECTS* OBJECTS.ob_owner sopwith?.c object* object.source sw.h int OBJECTS.ob_symhgt sopwith?.c int object.height sw.h int OBJECTS.ob_symwdt sopwith?.c int object.width sw.h int OBJECTS.ob_bombing sopwith?.c bool object.bombing sw.h int OBJECTS.ob_bombs sopwith?.c int object.bombs sw.h int OBJECTS.ob_clr sopwith?.c int object.colour sw.h int OBJECTS.ob_lx sopwith?.c unsigned int object.xfrac sw.h int OBJECTS.ob_ly sopwith?.c unsigned int object.yfrac sw.h int OBJECTS.ob_ldx sopwith?.c unsigned int object.xvfrac sw.h int OBJECTS.ob_ldy sopwith?.c unsigned int object.yvfrac sw.h OBJECTS* OBJECTS.ob_next sopwith?.c object* object.next sw.h OBJECTS* OBJECTS.ob_prev sopwith?.c object* object.prev sw.h int OBJECTS.ob_index sopwith?.c int object.index sw.h int OBJECTS.ob_oldx sopwith?.c int object.oldx sw.h int OBJECTS.ob_oldy sopwith?.c int object.oldy sw.h int OBJECTS.ob_drwflg sopwith?.c bool object.onscreen sw.h int OBJECTS.ob_delflg sopwith?.c bool object.oldonscreen sw.h char* OBJECTS.ob_oldsym sopwith?.c unsigned char* object.oldsprite sw.h int (*OBJECTS.ob_drawf)() sopwith?.c void (*object.soundfunc)() sw.h int (*OBJECTS.ob_movef)() sopwith?.c bool (*object.updatefunc)() sw.h OBJECTS* OBJECTS.ob_xnext sopwith?.c object* object.nextx sw.h OBJECTS* OBJECTS.ob_xprev sopwith?.c object* object.prevx sw.h int OBJECTS.ob_crashcnt sopwith?.c int object.deaths sw.h char* OBJECTS.ob_newsym sopwith?.c unsigned char* object.sprite sw.h int OBJECTS.ob_bdelay sopwith?.c int object.bombtime sw.h int OBJECTS.ob_home sopwith?.c bool object.homing sw.h int OBJECTS.ob_hx[3] sw.h int OBJECTS.ob_hy[3] sw.h int OBJECTS.ob_type sopwith?.c int object.type sw.h OBJECTS* OBJECTS.ob_dnext sw.h int OBJECTS.ob_athome sopwith?.c bool object.ishome sw.h TONETAB* OBJECTS.ob_sound sopwith?.c snd* object.sndp sw.h int OBJECTS.ob_missiles sw.h OBJECTS* OBJECTS.ob_mfiring sw.h int OBJECTS.ob_mdelay sw.h OBJECTS* OBJECTS.ob_target sw.h int OBJECTS.ob_bursts sw.h int OBJECTS.ob_bfiring sw.h int OBJECTS.ob_bsdelay sw.h int GAMES.gm_x[8] sopwith?.c int* landscape.planeposes sw.h int GAMES.gm_orient[8] sopwith?.c bool* landscape.planeflip sw.h unsigned (*GAMES.gm_randf)() sw.h unsigned GAMES.gm_rseed sw.h unsigned (*GAMES.gm_specf)() sw.h int GAMES.gm_xtarg[20] sopwith?.c int* landscape.buildingpositions sw.h int GAMES.gm_ttarg[20] sopwith?.c int* landscape.buildingtypes sw.h unsigned MULTIO.mu_maxplyr sw.h unsigned MULTIO.mu_numplyr sw.h unsigned MULTIO.mu_lstplyr sw.h unsigned MULTIO.mu_key sw.h unsigned MULTIO.mu_state sw.h unsigned MULTIO.mu_explseed sw.h char MSGOUT.msgo_cmd sw.h char MSGOUT.msgo_port sw.h char MSGOUT.msgo_ssgnl sw.h char MSGOUT.msgo_rsgnl sw.h char MSGOUT.msgo_1fill[6] sw.h MULTIO MSGOUT.msgo_buff sw.h char MSGOUT.msgo_2fill[1] sw.h char MSGIN.msgi_port sw.h char MSGIN.msgi_1fill[2] sw.h char MSGIN.msgi_myport sw.h char MSGIN.msgi_2fill[6] sw.h MULTIO MSGIN.msgi_buff sw.h char MSGIN.msgi_3fill[1] sw.h int OLDWDISP.ow_xorplot sw.h int OLDWDISP.ow_x sw.h int OLDWDISP.ow_y swmain.c int playmode sopwith?.c int gamemode swmain.c GAMES* currgame sopwith?.c landscape* world swmain.c OBJECTS* targets[22] sopwith?.c object* buildings[20] swmain.c int numtarg[2] sopwith?.c int buildingc[2] swmain.c int savemode swmain.c int tickmode swmain.c int counttick swmain.c int countmove swmain.c int movetick swmain.c int movemax swmain.c int gamenum sopwith?.c int level swmain.c int gmaxspeed swmain.c int gminspeed swmain.c int targrnge sopwith?.c int radarrange2 swmain.c MULTIO multiost swmain.c char auxdisp[0x2000] sopwith?.c unsigned char scrbuf[0x2000] swmain.c int multkey swmain.c MULTIO *multbuff swmain.c unsigned multaddr swmain.c int multtick swmain.c BOOL hires sopwith?.c bool hiresflag swmain.c BOOL disppos swmain.c BOOL titleflg sopwith?.c bool notitlesflag swmain.c int dispdbg swmain.c BOOL soundflg sopwith?.c bool soundflag swmain.c BOOL repflag sopwith?.c bool statsflag swmain.c BOOL joystick sopwith?.c bool joyrequested swmain.c BOOL ibmkeybd sopwith?.c bool ibmkeyboard swmain.c BOOL inplay swmain.c BOOL printflg swmain.c int koveride swmain.c int missok swmain.c int displx sopwith?.c int scnleft swmain.c int disprx sopwith?.c int scnright swmain.c int dispdx sopwith?.c int pixtoscroll swmain.c BOOL dispinit sopwith?.c bool groundnotdrawn swmain.c OBJECTS* drawlist sopwith?.c object* objects swmain.c OBJECTS* nobjects swmain.c OBJECTS oobjects[4] sopwith?.c object homes[4] swmain.c OBJECTS* objbot sopwith?.c object* lastobject swmain.c OBJECTS* objtop sopwith?.c object* firstobject swmain.c OBJECTS* objfree sopwith?.c object* nextobject swmain.c OBJECTS* deltop sopwith?.c object* firstdeleted swmain.c OBJECTS* delbot sopwith?.c object* lastdeleted swmain.c OBJECTS topobj sopwith?.c object objleft swmain.c OBJECTS botobj sopwith?.c object objright swmain.c OBJECTS* compnear[4] sopwith?.c object* attackees[4] swmain.c int lcompter[4] sopwith?.c int regionleft[4] swmain.c int rcompter[4] sopwith?.c int regionright[4] swmain.c OBJECTS* objsmax sopwith?.c object* maxobjectp swmain.c int endsts[4] sopwith?.c int finaleflags[4] swmain.c int endcount sopwith?.c int finaletime swmain.c int player sopwith?.c int lastplane swmain.c int currobx sopwith?.c int planeindex swmain.c BOOL plyrplane sopwith?.c bool planeisplayer swmain.c BOOL compplane sopwith?.c bool planeisenemy swmain.c OLDWDISP wdisp[100] sopwith?.c mapobject mapobjects[100] swmain.c BOOL goingsun sopwith?.c bool finaleflying swmain.c BOOL forcdisp sopwith?.c bool cratertobedrawn swmain.c char* histin sopwith?.c char* playbackfilename swmain.c char* histout sopwith?.c char* recordfilename swmain.c unsigned explseed sopwith?.c int randno swmain.c int keydelay sopwith?.c int latency swmain.c int dispcnt sopwith?.c int latencycount swmain.c int endstat sopwith?.c int finaleflag swmain.c int maxcrash sopwith?.c int maxlives swmain.c int shothole swmain.c int splatbird swmain.c int splatox swmain.c int oxsplatted swmain.c int sintab[16] sopwith?.c int sine[16] swmain.c jmp_buf envrestart sopwith?.c jmp_buf startjbuf swmain.c main(int argc,char* argv[]) sopwith?.c void main(int argc,char* argv[]) swmain.c int main.argc sopwith?.c int main.argc swmain.c char* main.argv[] sopwith?.c char* main.argv[] swmisc.c puts(char* sp) sopwith?.c void printstr(char* str) swmisc.c register char puts.s swgames.c GAMES swgames[1] sopwith?.c landscape worlds[1] sopwith?.c int worldplaneposes[8] sopwith?.c bool worldplaneflip[8] sopwith?.c int worldbuildingpositions[20] sopwith?.c int worldbuildingtypes[20] swground.c GRNDTYPE orground[3000] ground.c unsigned char ground[3000] ground.c unsigned char loground[3000] swground.c GRNDTYPE ground[3000] sopwith?.c unsigned char workingground[3000] swplanes.c char swplnsym[2][16][64] sprites.c unsigned char planesprites[2][2][16][64] swplanes.c char swhitsym[2][64] sprites.c unsigned char fallingsprites[2][64] swplanes.c char swwinsym[4][64] sprites.c unsigned char finalesprites[2][4][64] swsymbol.c char swbmbsym[8][16] sprites.c unsigned char bombsprites[2][8][16] swsymbol.c char swtrgsym[4][64] sprites.c unsigned char buildingsprites[2][4][64] swsymbol.c char swhtrsym[64] sprites.c unsigned char debrissprites[2][64] swsymbol.c char swexpsym[8][16] sprites.c unsigned char shrapnelsprites[8][16] swsymbol.c char swflksym[2][64] sprites.c unsigned char flocksprites[2][64] swsymbol.c char swbrdsym[2][2] sprites.c unsigned char birdsprites[2][2] swsymbol.c char swoxsym[2][64] sprites.c unsigned char cowsprites[2][64] swsymbol.c char swghtsym[16] swsymbol.c char swshtsym[64] swsymbol.c char swsplsym[256] swsymbol.c char swmscsym[16][16] swsymbol.c char swbstsym[2][16] swtitle.c swtitln() sopwith?.c void titles(void) swtitle.c OBJECTS swtitln.ob swtitle.c register int swtitln.i swtitle.c register int swtitln.h swtitle.c swtitlf() swtitle.c swtickc() swobject.c OBJECTS* allocobj() sopwith?.c object* newobject(void) swobject.c register OBJECTS* ob sopwith?.c object* newobj swobject.c deallobj(OBJECTS* obp) sopwith?.c void deleteobject(object* obj) swobject.c register OBJECTS* ob swobject.c register OBJECTS* obb sopwith?.c object* other sopwith-1.8.1/doc/Makefile.am0000664000175000017500000000015612046775556015050 0ustar jessejessedocdir=$(prefix)/share/doc/@PACKAGE@ man_MANS=sopwith.6 doc_DATA=dlcvsamj.txt keys.txt origdoc.txt readme.txt sopwith-1.8.1/doc/keys.txt0000664000175000017500000000035412046775556014530 0ustar jessejesseGame keys: z: slow down (not too slow or you will stall! x: speed up space: fire machine gun b: drop bomb ,: pull up .: flip /: pull down h: home s: sound ctrl-c: quit game if missiles are enabled: z: flare x: launch missile sopwith-1.8.1/doc/sopwith.60000664000175000017500000000430512124366120014554 0ustar jessejesse.TH sopwith 6 .SH NAME sopwith \- classic aerial combat shoot em up game .SH SYNOPSIS .B sopwith [ \-n | \-s | \-c | \-l | \-j \fIhost\fR ] [-f] [-2] [-x] [-q] .SH DESCRIPTION Sopwith is a classic 1980s shoot 'em up originally developed by BMB CompuScience. This modern port is a derivative of the original source code released by its original author, David L. Clark. This port can run using the LibSDL and Gtk+ libraries to display on screen. Features include emulation of the original PC speaker sound effects using digital sound output, working networking and various extra features that were included by the author in the released sources. .SH CONTROLS The standard controls are as follows: .TP comma/left arrow pull up .TP slash/right arrow pull down .TP period/down arrow flip plane .TP Z decrease speed .TP X increase speed .TP space fire machine gun .TP B drop bomb .TP H autopilot plane to home base .TP C launch flare .TP V fire missile .TP Ctrl+C quit .SH OPTIONS .TP \-n Start a single player game in novice mode .TP \-s Start a single player in expert mode .TP \-c Start a single player vs. computer game .TP \-l Start a network game listening for a network connection .TP \-j \fIhost\fR Start a network game, connecting to another listening host as specified by \fIhost\fR .TP \-f Start in full screen mode if possible. .TP \-2 Double-size the display window .TP \-x Enable missiles .TP \-q Turn off sound (quiet) .TP \-p Turn on sound (play music) .TP \-e Turn off intense explosions .SH AUTHORS Originally written by David L. Clark for BMB Compuscience .br Modern SDL/Gtk+ port By Simon Howard .SH HISTORY Sopwith was originally designed as a demonstration game for the Imaginet Networking System developed by BMB CompuScience of Canada. The system failed to become popular but Sopwith became a popular game for the IBM PC and compatibles. A sequel "Sopwith 2" was actually a newer version rather than a different game, but included many extra features, such as Oxen and birds. Sopwith was also ported to the Atari. The original author, David L. Clark, later created Sopwith - The Author's Edition with several extra features including missiles. This version of sopwith is based on the source for the Authors Edition. sopwith-1.8.1/FAQ0000664000175000017500000001054212046775540012572 0ustar jessejesseSDL Sopwith FAQ =============== Q. What is this? What is sopwith? A. Sopwith is a classic scrolling shoot 'em up developed in the early 1980s by the Canadian firm BMB Compuscience. In 2000, Dave L Clark, the main programmer behind Sopwith, released the source code to Sopwith. This is an updated version based on his released sources. It is named SDL Sopwith as it makes use of the LibSDL multimedia library to access the screen and the sound device. Q. How well does it work? A. As far as I know, SDL Sopwith should play just like the original. Q. This is different to the original sopwith! A. SDL Sopwith is based on the source to an enhanced "Authors Edition" release that the Author, Dave Clark, made. As a result, there may be some differences between SDL Sopwith and the widely distributed Sopwith/Sopwith 2 binaries that you probably played. Differences between Sopwith 1 and Sopwith 2: * Single line for the ground (Sopwith 1 had solid ground) * Extra objects: oxes, flocks of birds * Enhanced AI * Game speed not dependent on processor speed (can run on faster processors) * Different musical theme and sound is enabled by default * Option for "2 players over an asyncronous line" Differences between Sopwith 2 and the Authors Edition: * Heat Seeking Missiles(!) (enabled with -x, extra bars on status bar for missiles and flares) * Wounded planes * Splatted birds and cracks in the screen if you hit a bird or get shot. If you fly into an ox your screen goes pink. Q. Why is it called "SDL Sopwith" when there is now a Gtk+ port? A. I originally designed it to use only SDL, but out of interest/ boredom I decided to do a Gtk+ port. Suggestions for new names are welcome :) Q. Does it have sound? A. Yes! Sound is done through an emulation of the PC Speaker using the digital output available on modern sound cards. Q. Does it have network support? A. Yes! Classic sopwith had support for network as well, but it used a proprietory networking system (which sopwith was made to demonstrate). Sopwith 2 also had support for "2 players over an asyncronous line", presumably for playing over a serial cable, although this did not seem to work either. I have replaced the serial code with code to use TCP/IP. This means that you can play 2 player SDL Sopwith over a LAN with TCP/IP or even over the Internet. Q. What is a 'TCP Loop'? A. In the ordinary networking mode, one client sets up in listen mode and waits for the other client to connect. When it connects, the game begins. However, this can be a problem if both clients are behind firewalls which block incoming connections. A TCP Loop is a simple server that relays data between all the clients connected to it. If you are both behind firewalls you can connect to a loop running on a third machine that acts as a relay. There is code for a simple loop on my site in the 'tools' directory: http://fraggle.alkali.org/tools/loop.c Q. What platforms does it run on? A. I have only compiled it on Windows and Linux. However, as it uses LibSDL for Video and Sound, it should compile "out of the box" on any platform supported by SDL. Other platforms supported by SDL include BeOS, MacOS, QNX and various other Unix flavours. I use the GNU Compiler Collection (gcc) for compiling both in Linux and in Windows (cygwin). I have not tried compiling in other compilers such as MSVC. If you have any success compiling/running SDL on other platforms or compilers, please let me know! Q. What is SDL? A. LibSDL is a multimedia library designed for portability. Instead of coding for a particular platform (such as windows, linux etc), you use the SDL interface. Your program can then run many different platforms with only minor changes. There is more information at http://www.libsdl.org/ Q. What is Gtk+? A. Gtk+ is a C GUI toolkit originally designed for The GIMP, an open source graphics program. It is now being used as the base for GNOME, an open source desktop environment, as well as many other projects. There is more information at http://www.gtk.org/ Q. Will you make a DOS port? A. Possibly. Q. What license is this released under? A. The original sopwith source code (as released by David L. Clark) was under a restrictive license, but is now totally under the GNU GPL! sopwith-1.8.1/autotools/0000755000175000017500000000000007670677156014300 5ustar jessejessesopwith-1.8.1/autotools/config.guess0000755000175000017500000012075612046775541016621 0ustar jessejesse#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-05-19' # 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 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) ; } || { 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 # 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 ;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; arc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; hp300:OpenBSD:*:*) echo m68k-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 ;; alpha:OSF1:*:*) if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` fi # 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 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/^[VTX]//' | 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 ;; 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_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 ;; 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 nv1-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 ;; 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:*:*|*:GNU/FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #if __GLIBC__ >= 2 LIBC=gnu #else LIBC= #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} 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*:3*) echo i586-pc-interix3 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:*:*) echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu 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}-unknown-linux-gnu" && 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}-unknown-linux-gnu" && exit 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit 0 ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu 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}-unknown-linux-gnu${LIBC} exit 0 ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit 0 ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit 0 ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu 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}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit 0 ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit 0 ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" 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 EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && 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: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[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 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) 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:*:*) case `uname -p` in *86) UNAME_PROCESSOR=i686 ;; powerpc) 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-[DGKLNPTVW]: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 ;; 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: sopwith-1.8.1/autotools/install-sh0000755000175000017500000001273712046775541016304 0ustar jessejesse#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation, and that the name of M.I.T. not be used in advertising or # publicity pertaining to distribution of the software without specific, # written prior permission. M.I.T. makes no representations about the # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # # 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}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd="$cpprog" shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd="$stripprog" shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "install: no input file specified" exit 1 else true fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d $dst ]; then instcmd=: chmodcmd="" else instcmd=mkdir fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi if [ x"$dst" = x ] then echo "install: no destination specified" exit 1 else true fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d $dst ] then dst="$dst"/`basename $src` else true fi fi ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" pathcomp='' while [ $# -ne 0 ] ; do pathcomp="${pathcomp}${1}" shift if [ ! -d "${pathcomp}" ] ; then $mkdirprog "${pathcomp}" else true fi pathcomp="${pathcomp}/" done fi if [ x"$dir_arg" != x ] then $doit $instcmd $dst && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename $dst` else dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename $dst` else true fi # Make a temp file name in the proper directory. dsttmp=$dstdir/#inst.$$# # Move or copy the file name to the temp name $doit $instcmd $src $dsttmp && trap "rm -f ${dsttmp}" 0 && # and set any options; do chmod last to preserve setuid bits # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && $doit $mvcmd $dsttmp $dstdir/$dstfile fi && exit 0 sopwith-1.8.1/autotools/config.sub0000755000175000017500000007247412046775541016267 0ustar jessejesse#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-05-09' # 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 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* | freebsd*-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) 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] \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k \ | m32r | 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 \ | 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 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | 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-* | 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-* \ | m32r-* \ | 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-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | msp430-* \ | none-* | np1-* | nv1-* | 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-* \ | 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 ;; 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 ;; 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 ;; crds | unos) basic_machine=m68k-crds ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; 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 ;; mmix*) basic_machine=mmix-knuth os=-mmixware ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc 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 ;; nv1) basic_machine=nv1-cray os=-unicosmp ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; or32 | or32-*) basic_machine=or32-unknown os=-coff ;; 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) basic_machine=i686-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-*) basic_machine=i686-`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 ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; 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 ;; tic4x | c4x*) basic_machine=tic4x-unknown os=-coff ;; 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 ;; 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 ;; 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 | 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* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -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*) # 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*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -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 ;; -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 ;; # 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 ;; *-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 ;; -ptx*) vendor=sequent ;; -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: sopwith-1.8.1/autotools/missing0000755000175000017500000001452012046775541015667 0ustar jessejesse#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright (C) 1996, 1997, 2001, 2002 Free Software Foundation, Inc. # Franc,ois 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. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.in; then configure_ac=configure.ac else configure_ac=configure.in fi 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 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 lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing - GNU libit 0.0" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acinclude.m4' or \`$configure_ac'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`$configure_ac'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is missing on your system. You should only need it if you modified \`acconfig.h' or \`$configure_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*) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 missing on your system. 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 ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and you do not seem to have it handy on your system. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequirements 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 sopwith-1.8.1/autotools/mkinstalldirs0000755000175000017500000000132212046775541017072 0ustar jessejesse#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 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 fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here sopwith-1.8.1/COPYING0000664000175000017500000004303512111467702013265 0ustar jessejesse GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 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. 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 Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.