I: pbuilder: network access will be disabled during build I: Current time: Mon Aug 23 03:12:31 +14 2021 I: pbuilder-time-stamp: 1629637951 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [xgalaga_2.1.1.0-6.dsc] I: copying [./xgalaga_2.1.1.0.orig.tar.gz] I: copying [./xgalaga_2.1.1.0-6.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.bxR2hr71/trustedkeys.kbx': General error gpgv: Signature made Tue Jun 2 02:47:24 2020 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xgalaga_2.1.1.0-6.dsc dpkg-source: info: extracting xgalaga in xgalaga-2.1.1.0 dpkg-source: info: unpacking xgalaga_2.1.1.0.orig.tar.gz dpkg-source: info: unpacking xgalaga_2.1.1.0-6.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-manpages-install.patch dpkg-source: info: applying 0002-implicit-declarations.patch dpkg-source: info: applying 0003-obsolete-xf86dga.patch dpkg-source: info: applying 0004-clang-ftbfs.patch dpkg-source: info: applying 0005-reproducible-build.patch I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/16369/tmp/hooks/D01_modify_environment starting debug: Running on jtx1c. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/16369/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/16369/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.1.4(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=4' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=9eb1fe480d9a4a848d3073c49c00d613 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=16369 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/pbuilderrc_0nnC --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/b2 --logfile b2/build.log xgalaga_2.1.1.0-6.dsc' SUDO_GID=114 SUDO_UID=108 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:8000/ I: uname -a Linux i-capture-the-hostname 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux I: ls -l /bin total 3580 -rwxr-xr-x 1 root root 816764 Aug 5 10:25 bash -rwxr-xr-x 3 root root 26052 Jul 21 2020 bunzip2 -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep -rwxr-xr-x 3 root root 26052 Jul 21 2020 bzip2 -rwxr-xr-x 1 root root 9636 Jul 21 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore -rwxr-xr-x 1 root root 26668 Sep 23 2020 cat -rwxr-xr-x 1 root root 43104 Sep 23 2020 chgrp -rwxr-xr-x 1 root root 38984 Sep 23 2020 chmod -rwxr-xr-x 1 root root 43112 Sep 23 2020 chown -rwxr-xr-x 1 root root 92616 Sep 23 2020 cp -rwxr-xr-x 1 root root 75524 Dec 11 2020 dash -rwxr-xr-x 1 root root 75880 Sep 23 2020 date -rwxr-xr-x 1 root root 55436 Sep 23 2020 dd -rwxr-xr-x 1 root root 59912 Sep 23 2020 df -rwxr-xr-x 1 root root 96764 Sep 23 2020 dir -rwxr-xr-x 1 root root 55012 Jul 29 09:09 dmesg lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname -rwxr-xr-x 1 root root 22508 Sep 23 2020 echo -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep -rwxr-xr-x 1 root root 22496 Sep 23 2020 false -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep -rwxr-xr-x 1 root root 47492 Jul 29 09:09 findmnt -rwsr-xr-x 1 root root 26076 Feb 27 06:12 fusermount -rwxr-xr-x 1 root root 124508 Nov 10 2020 grep -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe -rwxr-xr-x 1 root root 64212 Mar 3 13:30 gzip -rwxr-xr-x 1 root root 13784 Nov 8 2019 hostname -rwxr-xr-x 1 root root 43180 Sep 23 2020 ln -rwxr-xr-x 1 root root 35068 Feb 8 2020 login -rwxr-xr-x 1 root root 96764 Sep 23 2020 ls -rwxr-xr-x 1 root root 99940 Jul 29 09:09 lsblk -rwxr-xr-x 1 root root 51408 Sep 23 2020 mkdir -rwxr-xr-x 1 root root 43184 Sep 23 2020 mknod -rwxr-xr-x 1 root root 30780 Sep 23 2020 mktemp -rwxr-xr-x 1 root root 34408 Jul 29 09:09 more -rwsr-xr-x 1 root root 34400 Jul 29 09:09 mount -rwxr-xr-x 1 root root 9824 Jul 29 09:09 mountpoint -rwxr-xr-x 1 root root 88524 Sep 23 2020 mv lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 26652 Sep 23 2020 pwd lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash -rwxr-xr-x 1 root root 30740 Sep 23 2020 readlink -rwxr-xr-x 1 root root 43104 Sep 23 2020 rm -rwxr-xr-x 1 root root 30732 Sep 23 2020 rmdir -rwxr-xr-x 1 root root 14144 Sep 28 2020 run-parts -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Aug 23 03:12 sh -> bash lrwxrwxrwx 1 root root 4 Aug 21 23:24 sh.distrib -> dash -rwxr-xr-x 1 root root 22532 Sep 23 2020 sleep -rwxr-xr-x 1 root root 55360 Sep 23 2020 stty -rwsr-xr-x 1 root root 46704 Jul 29 09:09 su -rwxr-xr-x 1 root root 22532 Sep 23 2020 sync -rwxr-xr-x 1 root root 340872 Feb 17 2021 tar -rwxr-xr-x 1 root root 9808 Sep 28 2020 tempfile -rwxr-xr-x 1 root root 67696 Sep 23 2020 touch -rwxr-xr-x 1 root root 22496 Sep 23 2020 true -rwxr-xr-x 1 root root 9636 Feb 27 06:12 ulockmgr_server -rwsr-xr-x 1 root root 22108 Jul 29 09:09 umount -rwxr-xr-x 1 root root 22520 Sep 23 2020 uname -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress -rwxr-xr-x 1 root root 96764 Sep 23 2020 vdir -rwxr-xr-x 1 root root 38512 Jul 29 09:09 wdctl lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew I: user script /srv/workspace/pbuilder/16369/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper-compat (= 13), dpkg-dev (>= 1.9.0), libx11-dev, libxmu-dev, libxpm-dev, libxxf86dga-dev, libxxf86vm-dev, x11proto-core-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19398 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on libx11-dev; however: Package libx11-dev is not installed. pbuilder-satisfydepends-dummy depends on libxmu-dev; however: Package libxmu-dev is not installed. pbuilder-satisfydepends-dummy depends on libxpm-dev; however: Package libxpm-dev is not installed. pbuilder-satisfydepends-dummy depends on libxxf86dga-dev; however: Package libxxf86dga-dev is not installed. pbuilder-satisfydepends-dummy depends on libxxf86vm-dev; however: Package libxxf86vm-dev is not installed. pbuilder-satisfydepends-dummy depends on x11proto-core-dev; however: Package x11proto-core-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dwz{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libbsd0{a} libdebhelper-perl{a} libelf1{a} libfile-stripnondeterminism-perl{a} libice-dev{a} libice6{a} libicu67{a} libmagic-mgc{a} libmagic1{a} libmd0{a} libpipeline1{a} libpthread-stubs0-dev{a} libsigsegv2{a} libsm-dev{a} libsm6{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libx11-6{a} libx11-data{a} libx11-dev{a} libxau-dev{a} libxau6{a} libxcb1{a} libxcb1-dev{a} libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxml2{a} libxmu-dev{a} libxmu-headers{a} libxmu6{a} libxpm-dev{a} libxpm4{a} libxt-dev{a} libxt6{a} libxxf86dga-dev{a} libxxf86dga1{a} libxxf86vm-dev{a} libxxf86vm1{a} m4{a} man-db{a} po-debconf{a} sensible-utils{a} x11-common{a} x11proto-dev{a} x11proto-xext-dev{a} x11proto-xf86dga-dev{a} x11proto-xf86vidmode-dev{a} xorg-sgml-doctools{a} xtrans-dev{a} The following packages are RECOMMENDED but will NOT be installed: curl libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 67 newly installed, 0 to remove and 0 not upgraded. Need to get 22.3 MB of archives. After unpacking 75.1 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main armhf bsdextrautils armhf 2.36.1-8 [138 kB] Get: 2 http://deb.debian.org/debian bullseye/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB] Get: 3 http://deb.debian.org/debian bullseye/main armhf groff-base armhf 1.22.4-6 [847 kB] Get: 4 http://deb.debian.org/debian bullseye/main armhf libpipeline1 armhf 1.5.3-1 [30.1 kB] Get: 5 http://deb.debian.org/debian bullseye/main armhf man-db armhf 2.9.4-2 [1319 kB] Get: 6 http://deb.debian.org/debian bullseye/main armhf sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main armhf libmagic-mgc armhf 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main armhf libmagic1 armhf 1:5.39-3 [117 kB] Get: 9 http://deb.debian.org/debian bullseye/main armhf file armhf 1:5.39-3 [68.1 kB] Get: 10 http://deb.debian.org/debian bullseye/main armhf gettext-base armhf 0.21-4 [171 kB] Get: 11 http://deb.debian.org/debian bullseye/main armhf libsigsegv2 armhf 2.13-1 [34.0 kB] Get: 12 http://deb.debian.org/debian bullseye/main armhf m4 armhf 1.4.18-5 [192 kB] Get: 13 http://deb.debian.org/debian bullseye/main armhf autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main armhf autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main armhf automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main armhf autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main armhf libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main armhf libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main armhf dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main armhf libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main armhf libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 23 http://deb.debian.org/debian bullseye/main armhf dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 24 http://deb.debian.org/debian bullseye/main armhf libelf1 armhf 0.183-1 [161 kB] Get: 25 http://deb.debian.org/debian bullseye/main armhf dwz armhf 0.13+20210201-1 [179 kB] Get: 26 http://deb.debian.org/debian bullseye/main armhf libicu67 armhf 67.1-7 [8319 kB] Get: 27 http://deb.debian.org/debian bullseye/main armhf libxml2 armhf 2.9.10+dfsg-6.7 [602 kB] Get: 28 http://deb.debian.org/debian bullseye/main armhf gettext armhf 0.21-4 [1243 kB] Get: 29 http://deb.debian.org/debian bullseye/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main armhf debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main armhf libmd0 armhf 1.0.3-3 [27.4 kB] Get: 33 http://deb.debian.org/debian bullseye/main armhf libbsd0 armhf 0.11.3-1 [103 kB] Get: 34 http://deb.debian.org/debian bullseye/main armhf x11-common all 1:7.7+22 [252 kB] Get: 35 http://deb.debian.org/debian bullseye/main armhf libice6 armhf 2:1.0.10-1 [51.9 kB] Get: 36 http://deb.debian.org/debian bullseye/main armhf xorg-sgml-doctools all 1:1.11-1.1 [22.1 kB] Get: 37 http://deb.debian.org/debian bullseye/main armhf x11proto-dev all 2020.1-1 [594 kB] Get: 38 http://deb.debian.org/debian bullseye/main armhf libice-dev armhf 2:1.0.10-1 [61.9 kB] Get: 39 http://deb.debian.org/debian bullseye/main armhf libpthread-stubs0-dev armhf 0.4-1 [5344 B] Get: 40 http://deb.debian.org/debian bullseye/main armhf libsm6 armhf 2:1.2.3-1 [33.0 kB] Get: 41 http://deb.debian.org/debian bullseye/main armhf libsm-dev armhf 2:1.2.3-1 [36.1 kB] Get: 42 http://deb.debian.org/debian bullseye/main armhf libxau6 armhf 1:1.0.9-1 [19.0 kB] Get: 43 http://deb.debian.org/debian bullseye/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB] Get: 44 http://deb.debian.org/debian bullseye/main armhf libxcb1 armhf 1.14-3 [136 kB] Get: 45 http://deb.debian.org/debian bullseye/main armhf libx11-data all 2:1.7.2-1 [311 kB] Get: 46 http://deb.debian.org/debian bullseye/main armhf libx11-6 armhf 2:1.7.2-1 [713 kB] Get: 47 http://deb.debian.org/debian bullseye/main armhf libxau-dev armhf 1:1.0.9-1 [22.4 kB] Get: 48 http://deb.debian.org/debian bullseye/main armhf libxdmcp-dev armhf 1:1.1.2-3 [40.7 kB] Get: 49 http://deb.debian.org/debian bullseye/main armhf xtrans-dev all 1.4.0-1 [98.7 kB] Get: 50 http://deb.debian.org/debian bullseye/main armhf libxcb1-dev armhf 1.14-3 [175 kB] Get: 51 http://deb.debian.org/debian bullseye/main armhf libx11-dev armhf 2:1.7.2-1 [785 kB] Get: 52 http://deb.debian.org/debian bullseye/main armhf libxext6 armhf 2:1.3.3-1.1 [47.8 kB] Get: 53 http://deb.debian.org/debian bullseye/main armhf x11proto-xext-dev all 2020.1-1 [3404 B] Get: 54 http://deb.debian.org/debian bullseye/main armhf libxext-dev armhf 2:1.3.3-1.1 [103 kB] Get: 55 http://deb.debian.org/debian bullseye/main armhf libxt6 armhf 1:1.2.0-1 [161 kB] Get: 56 http://deb.debian.org/debian bullseye/main armhf libxt-dev armhf 1:1.2.0-1 [388 kB] Get: 57 http://deb.debian.org/debian bullseye/main armhf libxmu6 armhf 2:1.1.2-2+b3 [52.7 kB] Get: 58 http://deb.debian.org/debian bullseye/main armhf libxmu-headers all 2:1.1.2-2 [51.9 kB] Get: 59 http://deb.debian.org/debian bullseye/main armhf libxmu-dev armhf 2:1.1.2-2+b3 [59.3 kB] Get: 60 http://deb.debian.org/debian bullseye/main armhf libxpm4 armhf 1:3.5.12-1 [44.0 kB] Get: 61 http://deb.debian.org/debian bullseye/main armhf libxpm-dev armhf 1:3.5.12-1 [99.6 kB] Get: 62 http://deb.debian.org/debian bullseye/main armhf libxxf86dga1 armhf 2:1.1.4-1+b3 [20.9 kB] Get: 63 http://deb.debian.org/debian bullseye/main armhf x11proto-xf86dga-dev all 2020.1-1 [3416 B] Get: 64 http://deb.debian.org/debian bullseye/main armhf libxxf86dga-dev armhf 2:1.1.4-1+b3 [26.6 kB] Get: 65 http://deb.debian.org/debian bullseye/main armhf libxxf86vm1 armhf 1:1.1.4-1+b2 [20.2 kB] Get: 66 http://deb.debian.org/debian bullseye/main armhf x11proto-xf86vidmode-dev all 2020.1-1 [3416 B] Get: 67 http://deb.debian.org/debian bullseye/main armhf libxxf86vm-dev armhf 1:1.1.4-1+b2 [25.1 kB] Fetched 22.3 MB in 2s (10.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19398 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8_armhf.deb ... Unpacking bsdextrautils (2.36.1-8) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../01-libuchardet0_0.0.7-1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_armhf.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../03-libpipeline1_1.5.3-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_armhf.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_armhf.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../07-libmagic1_1%3a5.39-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_armhf.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_armhf.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../10-libsigsegv2_2.13-1_armhf.deb ... Unpacking libsigsegv2:armhf (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_armhf.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../23-libelf1_0.183-1_armhf.deb ... Unpacking libelf1:armhf (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_armhf.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:armhf. Preparing to unpack .../25-libicu67_67.1-7_armhf.deb ... Unpacking libicu67:armhf (67.1-7) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_armhf.deb ... Unpacking libxml2:armhf (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_armhf.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package libmd0:armhf. Preparing to unpack .../31-libmd0_1.0.3-3_armhf.deb ... Unpacking libmd0:armhf (1.0.3-3) ... Selecting previously unselected package libbsd0:armhf. Preparing to unpack .../32-libbsd0_0.11.3-1_armhf.deb ... Unpacking libbsd0:armhf (0.11.3-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../33-x11-common_1%3a7.7+22_all.deb ... Unpacking x11-common (1:7.7+22) ... Selecting previously unselected package libice6:armhf. Preparing to unpack .../34-libice6_2%3a1.0.10-1_armhf.deb ... Unpacking libice6:armhf (2:1.0.10-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../35-xorg-sgml-doctools_1%3a1.11-1.1_all.deb ... Unpacking xorg-sgml-doctools (1:1.11-1.1) ... Selecting previously unselected package x11proto-dev. Preparing to unpack .../36-x11proto-dev_2020.1-1_all.deb ... Unpacking x11proto-dev (2020.1-1) ... Selecting previously unselected package libice-dev:armhf. Preparing to unpack .../37-libice-dev_2%3a1.0.10-1_armhf.deb ... Unpacking libice-dev:armhf (2:1.0.10-1) ... Selecting previously unselected package libpthread-stubs0-dev:armhf. Preparing to unpack .../38-libpthread-stubs0-dev_0.4-1_armhf.deb ... Unpacking libpthread-stubs0-dev:armhf (0.4-1) ... Selecting previously unselected package libsm6:armhf. Preparing to unpack .../39-libsm6_2%3a1.2.3-1_armhf.deb ... Unpacking libsm6:armhf (2:1.2.3-1) ... Selecting previously unselected package libsm-dev:armhf. Preparing to unpack .../40-libsm-dev_2%3a1.2.3-1_armhf.deb ... Unpacking libsm-dev:armhf (2:1.2.3-1) ... Selecting previously unselected package libxau6:armhf. Preparing to unpack .../41-libxau6_1%3a1.0.9-1_armhf.deb ... Unpacking libxau6:armhf (1:1.0.9-1) ... Selecting previously unselected package libxdmcp6:armhf. Preparing to unpack .../42-libxdmcp6_1%3a1.1.2-3_armhf.deb ... Unpacking libxdmcp6:armhf (1:1.1.2-3) ... Selecting previously unselected package libxcb1:armhf. Preparing to unpack .../43-libxcb1_1.14-3_armhf.deb ... Unpacking libxcb1:armhf (1.14-3) ... Selecting previously unselected package libx11-data. Preparing to unpack .../44-libx11-data_2%3a1.7.2-1_all.deb ... Unpacking libx11-data (2:1.7.2-1) ... Selecting previously unselected package libx11-6:armhf. Preparing to unpack .../45-libx11-6_2%3a1.7.2-1_armhf.deb ... Unpacking libx11-6:armhf (2:1.7.2-1) ... Selecting previously unselected package libxau-dev:armhf. Preparing to unpack .../46-libxau-dev_1%3a1.0.9-1_armhf.deb ... Unpacking libxau-dev:armhf (1:1.0.9-1) ... Selecting previously unselected package libxdmcp-dev:armhf. Preparing to unpack .../47-libxdmcp-dev_1%3a1.1.2-3_armhf.deb ... Unpacking libxdmcp-dev:armhf (1:1.1.2-3) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../48-xtrans-dev_1.4.0-1_all.deb ... Unpacking xtrans-dev (1.4.0-1) ... Selecting previously unselected package libxcb1-dev:armhf. Preparing to unpack .../49-libxcb1-dev_1.14-3_armhf.deb ... Unpacking libxcb1-dev:armhf (1.14-3) ... Selecting previously unselected package libx11-dev:armhf. Preparing to unpack .../50-libx11-dev_2%3a1.7.2-1_armhf.deb ... Unpacking libx11-dev:armhf (2:1.7.2-1) ... Selecting previously unselected package libxext6:armhf. Preparing to unpack .../51-libxext6_2%3a1.3.3-1.1_armhf.deb ... Unpacking libxext6:armhf (2:1.3.3-1.1) ... Selecting previously unselected package x11proto-xext-dev. Preparing to unpack .../52-x11proto-xext-dev_2020.1-1_all.deb ... Unpacking x11proto-xext-dev (2020.1-1) ... Selecting previously unselected package libxext-dev:armhf. Preparing to unpack .../53-libxext-dev_2%3a1.3.3-1.1_armhf.deb ... Unpacking libxext-dev:armhf (2:1.3.3-1.1) ... Selecting previously unselected package libxt6:armhf. Preparing to unpack .../54-libxt6_1%3a1.2.0-1_armhf.deb ... Unpacking libxt6:armhf (1:1.2.0-1) ... Selecting previously unselected package libxt-dev:armhf. Preparing to unpack .../55-libxt-dev_1%3a1.2.0-1_armhf.deb ... Unpacking libxt-dev:armhf (1:1.2.0-1) ... Selecting previously unselected package libxmu6:armhf. Preparing to unpack .../56-libxmu6_2%3a1.1.2-2+b3_armhf.deb ... Unpacking libxmu6:armhf (2:1.1.2-2+b3) ... Selecting previously unselected package libxmu-headers. Preparing to unpack .../57-libxmu-headers_2%3a1.1.2-2_all.deb ... Unpacking libxmu-headers (2:1.1.2-2) ... Selecting previously unselected package libxmu-dev:armhf. Preparing to unpack .../58-libxmu-dev_2%3a1.1.2-2+b3_armhf.deb ... Unpacking libxmu-dev:armhf (2:1.1.2-2+b3) ... Selecting previously unselected package libxpm4:armhf. Preparing to unpack .../59-libxpm4_1%3a3.5.12-1_armhf.deb ... Unpacking libxpm4:armhf (1:3.5.12-1) ... Selecting previously unselected package libxpm-dev:armhf. Preparing to unpack .../60-libxpm-dev_1%3a3.5.12-1_armhf.deb ... Unpacking libxpm-dev:armhf (1:3.5.12-1) ... Selecting previously unselected package libxxf86dga1:armhf. Preparing to unpack .../61-libxxf86dga1_2%3a1.1.4-1+b3_armhf.deb ... Unpacking libxxf86dga1:armhf (2:1.1.4-1+b3) ... Selecting previously unselected package x11proto-xf86dga-dev. Preparing to unpack .../62-x11proto-xf86dga-dev_2020.1-1_all.deb ... Unpacking x11proto-xf86dga-dev (2020.1-1) ... Selecting previously unselected package libxxf86dga-dev:armhf. Preparing to unpack .../63-libxxf86dga-dev_2%3a1.1.4-1+b3_armhf.deb ... Unpacking libxxf86dga-dev:armhf (2:1.1.4-1+b3) ... Selecting previously unselected package libxxf86vm1:armhf. Preparing to unpack .../64-libxxf86vm1_1%3a1.1.4-1+b2_armhf.deb ... Unpacking libxxf86vm1:armhf (1:1.1.4-1+b2) ... Selecting previously unselected package x11proto-xf86vidmode-dev. Preparing to unpack .../65-x11proto-xf86vidmode-dev_2020.1-1_all.deb ... Unpacking x11proto-xf86vidmode-dev (2020.1-1) ... Selecting previously unselected package libxxf86vm-dev:armhf. Preparing to unpack .../66-libxxf86vm-dev_1%3a1.1.4-1+b2_armhf.deb ... Unpacking libxxf86vm-dev:armhf (1:1.1.4-1+b2) ... Setting up libpipeline1:armhf (1.5.3-1) ... Setting up libxau6:armhf (1:1.0.9-1) ... Setting up bsdextrautils (2.36.1-8) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:armhf (67.1-7) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up x11-common (1:7.7+22) ... invoke-rc.d: could not determine current runlevel Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix. Setting up libmagic1:armhf (1:5.39-3) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up libpthread-stubs0-dev:armhf (0.4-1) ... Setting up xtrans-dev (1.4.0-1) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libx11-data (2:1.7.2-1) ... Setting up libsigsegv2:armhf (2.13-1) ... Setting up autopoint (0.21-4) ... Setting up libmd0:armhf (1.0.3-3) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:armhf (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libbsd0:armhf (0.11.3-1) ... Setting up libelf1:armhf (0.183-1) ... Setting up libxml2:armhf (2.9.10+dfsg-6.7) ... Setting up x11proto-dev (2020.1-1) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up libice6:armhf (2:1.0.10-1) ... Setting up libxdmcp6:armhf (1:1.1.2-3) ... Setting up libxcb1:armhf (1.14-3) ... Setting up gettext (0.21-4) ... Setting up libxau-dev:armhf (1:1.0.9-1) ... Setting up libice-dev:armhf (2:1.0.10-1) ... Setting up libtool (2.4.6-15) ... Setting up m4 (1.4.18-5) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libxdmcp-dev:armhf (1:1.1.2-3) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up x11proto-xf86vidmode-dev (2020.1-1) ... Setting up x11proto-xext-dev (2020.1-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up libx11-6:armhf (2:1.7.2-1) ... Setting up x11proto-xf86dga-dev (2020.1-1) ... Setting up libsm6:armhf (2:1.2.3-1) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libxcb1-dev:armhf (1.14-3) ... Setting up libxpm4:armhf (1:3.5.12-1) ... Setting up libsm-dev:armhf (2:1.2.3-1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libx11-dev:armhf (2:1.7.2-1) ... Setting up libxext6:armhf (2:1.3.3-1.1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libxxf86vm1:armhf (1:1.1.4-1+b2) ... Setting up dh-autoreconf (20) ... Setting up libxpm-dev:armhf (1:3.5.12-1) ... Setting up libxt6:armhf (1:1.2.0-1) ... Setting up libxext-dev:armhf (2:1.3.3-1.1) ... Setting up libxmu-headers (2:1.1.2-2) ... Setting up libxmu6:armhf (2:1.1.2-2+b3) ... Setting up libxxf86vm-dev:armhf (1:1.1.4-1+b2) ... Setting up libxxf86dga1:armhf (2:1.1.4-1+b3) ... Setting up debhelper (13.3.4) ... Setting up libxt-dev:armhf (1:1.2.0-1) ... Setting up libxxf86dga-dev:armhf (2:1.1.4-1+b3) ... Setting up libxmu-dev:armhf (2:1.1.2-2+b3) ... Processing triggers for libc-bin (2.31-13) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package hostname: Name or service not known I: Running cd /build/xgalaga-2.1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../xgalaga_2.1.1.0-6_source.changes dpkg-buildpackage: info: source package xgalaga dpkg-buildpackage: info: source version 2.1.1.0-6 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Markus Koschany dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp if [ -e Makefile ]; then /usr/bin/make -i distclean; fi dh_clean xgal.sndsrv.oss xgal.sndsrv.freebsd xgal.sndsrv.linux config.k.bak config.sub config.guess debian/rules build dh_testdir ln -sf /usr/share/misc/config.sub ln -sf /usr/share/misc/config.guess LIBS=-lXxf86vm ./configure \ --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf \ --prefix=/usr/share/games/xgalaga \ --exec-prefix=/usr/games CFLAGS="-Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2" LDFLAGS="-Wl,-z,relro" checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether arm-linux-gnueabihf-gcc accepts -g... yes checking for arm-linux-gnueabihf-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... arm-linux-gnueabihf-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes configure: host os is detected as linux-gnueabihf configure: sound type choosen as native checking for main in -lX11... yes checking for main in -lXmu... yes checking for main in -lXt... yes checking for main in -lXext... yes checking for main in -lXExExt... no checking for main in -lXpm... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking whether arm-linux-gnueabihf-gcc needs -traditional... no checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for random... yes checking for lrand48... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating libsprite/Makefile config.status: creating config.h # hack SOUNDDEFS so we don't need symlinks /usr/bin/make SOUNDDEFS=-DSOUNDSERVER=\\\"/usr/lib/games/xgalaga/$\(SOUNDSRV\)\\\" make[1]: Entering directory '/build/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c main.c -o main.o make[2]: Entering directory '/build/xgalaga-2.1.1.0/libsprite' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o border.o border.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c images.c -o images.o arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c data.c -o data.o arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c paths.c -o paths.o main.c: In function 'do_player': main.c:1162:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1162 | if(numtorps < maxtorps) | ^~ main.c:1164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1164 | torpok = TORPDELAY; | ^~~~~~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o cursor.o cursor.c paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c pathfile.c -o pathfile.o paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o init.o init.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c title.c -o title.o init.c: In function 'GetAltMask': init.c:347:13: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 347 | k = XKeycodeToKeysym(W_Display, | ^ In file included from defs.h:30, from allincludes.h:4, from init.c:1: /usr/include/X11/Xlib.h:1687:15: note: declared here 1687 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ title.c: In function 'undo_credits': title.c:178:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] 178 | int i,j,lines; | ^ title.c: In function 'read_credits': title.c:154:21: warning: array subscript 71 is above array bounds of 'char[ + 1]' [-Warray-bounds] 154 | chLBuf[j] = 0x00; | ~~~~~~^~~ title.c:116:19: note: while referencing 'chLBuf.148' 116 | char *chFBuf, chLBuf[LINESIZE+1]; | ^~~~~~ In file included from /usr/include/string.h:495, from proto.h:1, from title.c:17: In function 'strncpy', inlined from 'read_credits' at title.c:138:13: /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_credits' at title.c:156:15: /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c explosions.c -o explosions.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o misc.o misc.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c score.c -o score.o score.c: In function 'draw_score': score.c:92:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 92 | sprintf(shipstr, "%d", ships); | ^~ score.c:92:19: note: directive argument in the range [7, 2147483647] 92 | sprintf(shipstr, "%d", ships); | ^~~~ In file included from /usr/include/stdio.h:867, from score.c:6: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c highscore.c -o highscore.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o sector.o sector.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c prize.c -o prize.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o buffer.o buffer.c highscore.c: In function 'show_scores': highscore.c:385:23: warning: '%-20s' directive writing between 20 and 279 bytes into a region of size 54 [-Wformat-overflow=] 385 | sprintf(buf, " %2d. %-20s %7ld %5ld", i+1, | ^~~~~ In file included from /usr/include/stdio.h:867, from highscore.c:7: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 45 and 314 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c sound.c -o sound.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o data.o data.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c nas_sound.c -o nas_sound.o arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c frate.c -o frate.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o line.o line.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c linux-joystick.c -o linux-joystick.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o mouse.o mouse.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c main.c -o main.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c images.c -o images.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c data.c -o data.o.hyper main.c: In function 'do_player': main.c:1162:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1162 | if(numtorps < maxtorps) | ^~ main.c:1164:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1164 | torpok = TORPDELAY; | ^~~~~~ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c paths.c -o paths.o.hyper arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o text.o text.c paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c pathfile.c -o pathfile.o.hyper paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o circle.o circle.c paths.c:14:35: warning: missing braces around initializer [-Wmissing-braces] 14 | int paths[NUMPATHS][MAXPATH][2] = { | ^ 15 | { /* PEELLEFT = 0*/ 16 | 0, 3, | { } 17 | 15,3, | { } 18 | 14,3, | { } 19 | 13,3, | { } 20 | 12,3, | { } 21 | 11,3, | { } 22 | 10,3, | { } 23 | 9,3, | { } 24 | 8,3, | { } 25 | -1,-1, | { 26 | }, | } 27 | { /* PEELRIGHT = 1 */ 28 | 0,3, | { } 29 | 1,3, | { } 30 | 2,3, | { } 31 | 3,3, | { } 32 | 4,3, | { } 33 | 5,3, | { } 34 | 6,3, | { } 35 | 7,3, | { } 36 | 8,3, | { } 37 | -1,-1, | { 38 | }, | } 39 | { /* LOOP = 2 */ 40 | 8,2, | { } 41 | 9,2, | { } 42 | 10,2, | { } 43 | 11,2, | { } 44 | 12,2, | { } 45 | 13,2, | { } 46 | 14,2, | { } 47 | 15,2, | { } 48 | 0,2, | { } 49 | 1,2, | { } 50 | 2,2, | { } 51 | 3,2, | { } 52 | 4,2, | { } 53 | 5,2, | { } 54 | 6,2, | { } 55 | 7,2, | { } 56 | 8,2, | { } 57 | -1,-1, | { 58 | }, | } 59 | { /* SWOOP1 = 3 */ 60 | 8,20, | { } 61 | 9,3, | { } 62 | 10,3, | { } 63 | 11,3, | { } 64 | 12,3, | { } 65 | -1,-1, | { 66 | }, | } 67 | { /* SWOOP2 = 4 */ 68 | 8,20, | { } 69 | 7,3, | { } 70 | 6,3, | { } 71 | 5,3, | { } 72 | 4,3, | { } 73 | -1,-1, | { 74 | }, | } 75 | { /* ZIGZAG = 5 */ 76 | 7,15, 8,2, | { } { } 77 | 9,15, 8,2, | { } { } 78 | 7,15, 8,2, | { } { } 79 | 9,15, 8,2, | { } { } 80 | -1,-1, | { 81 | }, | } 82 | { /* LOOP2 = 6 */ 83 | 8,2, 7,2, 6,2, 5,2, 4,2, 3,2, 2,2, 1,2, 0,2, 15,2, 14,2, 13,2, 12,2, 11,2, 10,2, 9,2, 8,2, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 84 | -1,-1, | { 85 | }, | } 86 | { /* SPIN = 7 */ 87 | 8,1, 7,1, 6,1, 5,1, 4,1, 3,1, 2,1, 1,1, 0,1, 15,1, 14,1, 13,1, 12,1, 11,1, 10,1, 9,1, 8,1, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 88 | -1,-1, | { 89 | }, | } 90 | { /* LEFTDIAG */ 91 | 8,2, | { } 92 | 9,2, | { } 93 | 10,30, | { } 94 | 9,2, | { } 95 | 8,1, | { } 96 | -1,-1, | { 97 | }, | } 98 | { /* RIGHTDIAG */ 99 | 8,2, | { } 100 | 7,2, | { } 101 | 6,30, | { } 102 | 7,2, | { } 103 | 8,1, | { } 104 | -1,-1, | { 105 | }, | } 106 | { /* ENTER1 */ 107 | 8,65, 9,5, 10,5, 11,5, 12,5, 13,5, 14,20, -1,-1, | { } { } { } { } { } { } { } { 108 | }, | } 109 | { /* ENTER2 */ 110 | 8,65, 7,5, 6,5, 5,5, 4,5, 3,5, 2,20, -1,-1, | { } { } { } { } { } { } { } { 111 | }, | } 112 | /* ENTER3 */ 113 | {-1,-1}, | { } 114 | /* ENTER4 */ 115 | { 10,45, 11,5, 12,20, 13,5, 14,10, -1,-1, }, | { } { } { } { } { } { } 116 | /* ENTER5 */ 117 | { 6,45, 5,5, 4,20, 3,5, 2,10, -1,-1, }, | { } { } { } { } { } { } 118 | /* ENTER6 */ 119 | { 8,80, 6,10, 4,40, 0,20, 14,30, -1,-1}, | { } { } { } { } { } { } 120 | /* ENTER7 */ 121 | { 8,80, 10,10, 12,40, 0,20, 2,30, -1,-1}, | { } { } { } { } { } { } 122 | /* ENTER8 */ 123 | { 0,50, 2,50, 3,5, 4,5, 5,5, 6,5, 7,5, 8,5, 9,5, 10,5, 11,5, 12,30, 13,5, 14,5, 15,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 124 | /* ENTER9 */ 125 | { 0,50, 14,50, 13,5, 12,5, 11,5, 10,5, 9,5, 8,5, 7,5, 6,5, 5,5, 4,30, 3,5, 2,5, 1,5, 0,5, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 126 | /* ENTER10 */ 127 | { 4,80, 10,30, 0,70, -1,-1 }, | { } { } { } { } 128 | /* ENTER11 */ 129 | { 12,80, 6,30, 0,70, -1,-1 }, | { } { } { } { } 130 | /* ENTER12 */ 131 | { 14,80, -1, -1}, | { } { } 132 | /* ENTER13 */ 133 | { 2,80, -1,-1}, | { } { } 134 | /* ENTER14 */ 135 | { 4,8, 3,6, 2,8, 1,10, 2,8, 3,6, 4,4, 5,6, 6,8, 7,10, 6,8, 5,6, 4,4, 3,6, 2,8, 1,10, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 136 | /* 15 */ 137 | { 12,60, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 138 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 139 | 15,3, 14,3, 13,3, 12,3, 11,3, 10,3, 9,3, 8,3, 7,3, 6,3, 5,3, 4,3, 3,3, 2,3, 1,3, 0,20, -1,-1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 140 | /* 16 */ 141 | { 4,60, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } 142 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,3, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } 143 | 1,3, 2,3, 3,3, 4,3, 5,3, 6,3, 7,3, 8,3, 9,3, 10,3, 11,3, 12,3, 13,3, 14,3, 15,3, 0,20, -1, -1}, | { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } { } ...... 146 | 7,15, 8,3, | { } { } 147 | 9,15, 8,3, | { } { } 148 | 7,15, 8,3, | { } { } 149 | 9,15, 8,3, | { } { } 150 | 7,15, 8,3, | { } { } 151 | 9,15, 8,3, | { } { } 152 | -1,-1, | { 153 | }, | } 154 | /* 18 */ 155 | { 12,60, 4,30, 12,30, 4,30, 12,30, 8,20, -1,-1 }, | { } { } { } { } { } { } { } 156 | /* 19 */ 157 | { 10,80, -1,-1, }, | { } { } 158 | /* 20 */ 159 | { 6,80, -1,-1, }, | { } { } arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c title.c -o title.o.hyper arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o event.o event.c title.c: In function 'undo_credits': title.c:178:9: warning: variable 'j' set but not used [-Wunused-but-set-variable] 178 | int i,j,lines; | ^ title.c: In function 'read_credits': title.c:154:21: warning: array subscript 71 is above array bounds of 'char[ + 1]' [-Warray-bounds] 154 | chLBuf[j] = 0x00; | ~~~~~~^~~ title.c:116:19: note: while referencing 'chLBuf.151' 116 | char *chFBuf, chLBuf[LINESIZE+1]; | ^~~~~~ In file included from /usr/include/string.h:495, from proto.h:1, from title.c:17: In function 'strncpy', inlined from 'read_credits' at title.c:138:13: /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_credits' at title.c:156:15: /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 70 bytes from a string of length 70 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c explosions.c -o explosions.o.hyper arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o makewindow.o makewindow.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c score.c -o score.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c highscore.c -o highscore.o.hyper score.c: In function 'draw_score': score.c:92:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] 92 | sprintf(shipstr, "%d", ships); | ^~ score.c:92:19: note: directive argument in the range [7, 2147483647] 92 | sprintf(shipstr, "%d", ships); | ^~~~ In file included from /usr/include/stdio.h:867, from score.c:6: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 4 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c prize.c -o prize.o.hyper prize.c: In function 'do_prizes': prize.c:191:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 191 | else | ^~~~ prize.c:193:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 193 | if (shieldsleft + plshield > MAXSHIELDS) | ^~ highscore.c: In function 'show_scores': highscore.c:385:23: warning: '%-20s' directive writing between 20 and 279 bytes into a region of size 54 [-Wformat-overflow=] 385 | sprintf(buf, " %2d. %-20s %7ld %5ld", i+1, | ^~~~~ In file included from /usr/include/stdio.h:867, from highscore.c:7: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 45 and 314 bytes into a destination of size 60 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o point.o point.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c sound.c -o sound.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c nas_sound.c -o nas_sound.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c frate.c -o frate.o.hyper arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o tile.o tile.c arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -UORIGINAL_XGALAGA -c linux-joystick.c -o linux-joystick.o.hyper arm-linux-gnueabihf-gcc -I. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -DXGALAGADIR=\"/usr/share/games/xgalaga/\" -DSOUNDSERVER=\"/usr/lib/games/xgalaga/xgal.sndsrv.oss\" -DORIGINAL_XGALAGA -c xgal.sndsrv.linux.c -o xgal.sndsrv.linux.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o cleararea.o cleararea.c gzip -9 -c -n xgalaga.6x > xgalaga.6x.gz arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgal.sndsrv.oss xgal.sndsrv.linux.o arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o fill.o fill.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o mapwindow.o mapwindow.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o scale.o scale.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o triangle.o triangle.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o color.o color.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o image.o image.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o menu.o menu.c arm-linux-gnueabihf-gcc -I. -I.. -Wall -g -DXF86VIDMODE -g -O2 -fdebug-prefix-map=/build/xgalaga-2.1.1.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -DHAVE_CONFIG_H -c -o scroll.o scroll.c rm -f libsprite.a ar rc libsprite.a border.o cursor.o init.o misc.o sector.o buffer.o data.o line.o mouse.o text.o circle.o event.o makewindow.o point.o tile.o cleararea.o fill.o mapwindow.o scale.o triangle.o color.o image.o menu.o scroll.o arm-linux-gnueabihf-ranlib libsprite.a make[2]: Leaving directory '/build/xgalaga-2.1.1.0/libsprite' rm -f xgalaga arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga main.o images.o data.o paths.o pathfile.o title.o explosions.o score.o highscore.o prize.o sound.o nas_sound.o frate.o linux-joystick.o libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm rm -f xgalaga-hyperspace arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga-hyperspace main.o.hyper images.o.hyper data.o.hyper paths.o.hyper pathfile.o.hyper title.o.hyper explosions.o.hyper score.o.hyper highscore.o.hyper prize.o.hyper sound.o.hyper nas_sound.o.hyper frate.o.hyper linux-joystick.o.hyper libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm make[1]: Leaving directory '/build/xgalaga-2.1.1.0' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_prep dh_installdirs usr/lib/games/xgalaga usr/games usr/share/man/man6 /usr/bin/make DESTDIR=`pwd`/debian/xgalaga install make[1]: Entering directory '/build/xgalaga-2.1.1.0' for i in libsprite; do cd $i ; make ; done make[2]: Entering directory '/build/xgalaga-2.1.1.0/libsprite' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/xgalaga-2.1.1.0/libsprite' rm -f xgalaga rm -f xgalaga-hyperspace arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga main.o images.o data.o paths.o pathfile.o title.o explosions.o score.o highscore.o prize.o sound.o nas_sound.o frate.o linux-joystick.o libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgalaga-hyperspace main.o.hyper images.o.hyper data.o.hyper paths.o.hyper pathfile.o.hyper title.o.hyper explosions.o.hyper score.o.hyper highscore.o.hyper prize.o.hyper sound.o.hyper nas_sound.o.hyper frate.o.hyper linux-joystick.o.hyper libsprite/libsprite.a -lXxf86vm -lX11 -lXmu -lXt -lXext -lXpm ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga /usr/bin/install -c xgalaga /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games/xgalaga /usr/bin/install -c xgalaga-hyperspace /build/xgalaga-2.1.1.0/debian/xgalaga/usr/games/xgalaga-hyperspace if test ! "xgal.sndsrv.oss" = ""; then \ /usr/bin/install -c xgal.sndsrv.oss /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.oss; \ fi ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/sounds ./mkinstalldirs /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels mkdir /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/levels for i in levels/*.xgl; do /usr/bin/install -c $i /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/$i ; done for i in sounds/*.raw; do /usr/bin/install -c $i /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/$i ; done /usr/bin/install -c CREDITS /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/games/xgalaga/CREDITS /usr/bin/install -c xgalaga.6x.gz /build/xgalaga-2.1.1.0/debian/xgalaga/usr/share/man/man6/xgalaga.6x.gz make[1]: Leaving directory '/build/xgalaga-2.1.1.0' dh_link usr/share/games/xgalaga/CREDITS usr/share/doc/xgalaga/CREDITS # move the sound-server binary out of usr/share mv debian/xgalaga/usr/share/games/xgalaga/xgal.sndsrv.* \ debian/xgalaga/usr/lib/games/xgalaga find debian/xgalaga/usr/share/games/xgalaga -type f | xargs chmod 644 dh_install debian/xgalaga-icon.xpm usr/share/pixmaps dh_install debian/xgalaga.desktop usr/share/applications dh_install debian/xgalaga-hyperspace.desktop usr/share/applications dh_link usr/share/man/man6/xgalaga.6x usr/share/man/man6/xgalaga-hyperspace.6x dh_installdocs README* libsprite/README.libsprite dh_installexamples dh_installmenu dh_installchangelogs CHANGES dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'xgalaga-dbgsym' in '../xgalaga-dbgsym_2.1.1.0-6_armhf.deb'. dpkg-deb: building package 'xgalaga' in '../xgalaga_2.1.1.0-6_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../xgalaga_2.1.1.0-6_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/16369/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/16369/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/16369 and its subdirectories I: Current time: Mon Aug 23 03:14:10 +14 2021 I: pbuilder-time-stamp: 1629638050