Sun Aug 22 13:09:27 UTC 2021 I: starting to build xgalaga/bullseye/armhf on jenkins on '2021-08-22 13:09' Sun Aug 22 13:09:27 UTC 2021 I: The jenkins build log is/was available at https://jenkins.debian.net/userContent/reproducible/debian/build_service/armhf_44/2457/console.log Sun Aug 22 13:09:27 UTC 2021 I: Downloading source for bullseye/xgalaga=2.1.1.0-6 --2021-08-22 13:09:28-- http://cdn-fastly.deb.debian.org/debian/pool/main/x/xgalaga/xgalaga_2.1.1.0-6.dsc Connecting to 78.137.99.97:3128... connected. Proxy request sent, awaiting response... 200 OK Length: 2168 (2.1K) Saving to: ‘xgalaga_2.1.1.0-6.dsc’ 0K .. 100% 18.7M=0s 2021-08-22 13:09:28 (18.7 MB/s) - ‘xgalaga_2.1.1.0-6.dsc’ saved [2168/2168] Sun Aug 22 13:09:28 UTC 2021 I: xgalaga_2.1.1.0-6.dsc -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: xgalaga Binary: xgalaga Architecture: any Version: 2.1.1.0-6 Maintainer: Debian Games Team Uploaders: Paul Wise Homepage: http://sourceforge.net/projects/xgalaga/ Standards-Version: 4.5.0 Vcs-Browser: https://salsa.debian.org/games-team/xgalaga Vcs-Git: https://salsa.debian.org/games-team/xgalaga.git Build-Depends: debhelper-compat (= 13), dpkg-dev (>= 1.9.0), libx11-dev, libxmu-dev, libxpm-dev, libxxf86dga-dev, libxxf86vm-dev, x11proto-core-dev Package-List: xgalaga deb games optional arch=any Checksums-Sha1: ef40ad833d2434b0643d4c00202bd75ec14b94ac 331621 xgalaga_2.1.1.0.orig.tar.gz fc7335fdfa2a3c50d57bbcc1217b16fba75b0153 10244 xgalaga_2.1.1.0-6.debian.tar.xz Checksums-Sha256: adcfbfd04876f5197c60b37af0ad89a629e553d6e09314a4b3b5c70f6c634f9b 331621 xgalaga_2.1.1.0.orig.tar.gz 157c7cc18ab222481ff2c699d9d42809a434fb89b35cbb3402c3cdb5f8d67252 10244 xgalaga_2.1.1.0-6.debian.tar.xz Files: f37c3377b245d2d53b33eb489966bf28 331621 xgalaga_2.1.1.0.orig.tar.gz c8ca0d4a686f04da4aaceaf036a72353 10244 xgalaga_2.1.1.0-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAl7U+NxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp YW4ub3JnAAoJENmtFLlRO1HkohAQAMpoO5Sb324JVrtxrrxryjQM4r4rjFCp2Aog TZOs+DiUsc7lFRC3ZKYotY4QBCMoCJCqqzEnY2B4ZdN7JbgwgsRWGoTCDkGmOIB9 66REpXuY61bHqM4xr3txjUPSHtFFXApy0d48rwE+csBPAFF1iBz3ihNf/zOzZSNa UTLx7KXwQgOFRwZYRUHqfNs8X5uzeYWfyV++Kb0yZsadUuf2Obg7T81pzQx81ZwE shL4SxSTYnMnOtOUn3ege+4ehSaYV0Nigy5/dsXg77NKfZdU9U/s0UTTxTAck+lc oxGSlO5BfqgIcEr3ISCayHbXtijaz6sFljCP+SRCqGdnCfxO3959KHBtRa6IUI8Y 3H3X58vO1p4GTmGCH8H/lXCno+dW2FrLGMAzDKnvpojtau7g2hFykHzvkeXUyVAX U+Tg+q6g1EpgIMfhpBBrznxhZukj2SbJafU9bnSoaClY/QygLvlydpK8iw+jcISk lJdVfF9KUvMoMn4pKlja50Ncj/56PE9z5UbYtbmE8cYYYeHBc4ob1SiV1WcZDkvD NKIjZKY+rTGNj10LzmbcmkZWFNUcGKOqMJXJ8mFivHMdhXWCkMmMxzj9t/Klhy8E +toTP8ilM+kzXNheKNZJMM4acjsrST4pCcPqywJIW6JqbWdQD08hS5AY9ajvGDgh LZtk1Kxs =Dpj9 -----END PGP SIGNATURE----- Sun Aug 22 13:09:28 UTC 2021 I: Checking whether the package is not for us Sun Aug 22 13:09:28 UTC 2021 I: Starting 1st build on remote node cbxi4pro0-armhf-rb.debian.net. Sun Aug 22 13:09:28 UTC 2021 I: Preparing to do remote build '1' on cbxi4pro0-armhf-rb.debian.net. Sun Aug 22 13:12:23 UTC 2021 I: Deleting $TMPDIR on cbxi4pro0-armhf-rb.debian.net. I: pbuilder: network access will be disabled during build I: Current time: Sun Aug 22 01:09:37 -12 2021 I: pbuilder-time-stamp: 1629637777 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.rfhi2Ryh/trustedkeys.kbx': General error gpgv: Signature made Mon Jun 1 00:47:24 2020 -12 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/30909/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' DISTRIBUTION='' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='08e499bf87b64be5ba25ce5151c06d4e' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='30909' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/pbuilderrc_7hMU --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/b1 --logfile b1/build.log xgalaga_2.1.1.0-6.dsc' SUDO_GID='115' SUDO_UID='111' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:8000/' I: uname -a Linux cbxi4pro0 5.10.0-8-armmp #1 SMP Debian 5.10.46-4 (2021-08-03) armv7l GNU/Linux I: ls -l /bin total 3580 -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash -rwxr-xr-x 1 root root 75880 Sep 22 2020 date -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd -rwxr-xr-x 1 root root 59912 Sep 22 2020 df -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir -rwxr-xr-x 1 root root 55012 Jul 28 07:09 dmesg lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep -rwxr-xr-x 1 root root 22496 Sep 22 2020 false -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln -rwxr-xr-x 1 root root 35068 Feb 7 2020 login -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 20 21:54 sh -> dash -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync -rwxr-xr-x 1 root root 340872 Feb 16 2021 tar -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch -rwxr-xr-x 1 root root 22496 Sep 22 2020 true -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew I: user script /srv/workspace/pbuilder/30909/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 (9897 kB/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 I: Running cd /build/xgalaga-2.1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-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 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 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 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 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 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 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 }, | { } { } { } { } 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( | ^~~~~~~~~~~~~~~~ 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 | }, | } 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. -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 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. -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. -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 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 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; | ^ 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 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. -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 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 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\" -DORIGINAL_XGALAGA -c score.c -o score.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 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 text.o text.c 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 prize.c -o prize.o 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 circle.o circle.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 sound.c -o 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 nas_sound.c -o nas_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 event.o event.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 frate.c -o frate.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 linux-joystick.c -o linux-joystick.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\" -UORIGINAL_XGALAGA -c main.c -o main.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 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 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 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 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}, | { } { } 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 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 | }, | } 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 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 pathfile.c -o pathfile.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 cleararea.o cleararea.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 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. -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 scale.o scale.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. -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. -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 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. -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. -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 menu.o menu.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 scroll.o scroll.c gzip -9 -c -n xgalaga.6x > xgalaga.6x.gz 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 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 arm-linux-gnueabihf-gcc -Wl,-z,relro -o xgal.sndsrv.oss xgal.sndsrv.linux.o 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' in '../xgalaga_2.1.1.0-6_armhf.deb'. dpkg-deb: building package 'xgalaga-dbgsym' in '../xgalaga-dbgsym_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: 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/30909 and its subdirectories I: Current time: Sun Aug 22 01:12:17 -12 2021 I: pbuilder-time-stamp: 1629637937 Sun Aug 22 13:12:25 UTC 2021 I: 1st build successful. Starting 2nd build on remote node jtx1c-armhf-rb.debian.net. Sun Aug 22 13:12:25 UTC 2021 I: Preparing to do remote build '2' on jtx1c-armhf-rb.debian.net. Sun Aug 22 13:14:17 UTC 2021 I: Deleting $TMPDIR on jtx1c-armhf-rb.debian.net. Sun Aug 22 13:14:19 UTC 2021 I: xgalaga_2.1.1.0-6_armhf.changes: Format: 1.8 Date: Mon, 01 Jun 2020 14:38:08 +0200 Source: xgalaga Binary: xgalaga xgalaga-dbgsym Architecture: armhf Version: 2.1.1.0-6 Distribution: unstable Urgency: medium Maintainer: Debian Games Team Changed-By: Markus Koschany Description: xgalaga - X version of the famous Galaga game Closes: 945871 Changes: xgalaga (2.1.1.0-6) unstable; urgency=medium . * Team upload. * Remove obsolete menu file. * Switch to debhelper-compat = 13. * Declare compliance with Debian Policy 4.5.0. * Use canonical VCS URI. * Fix FTCBFS: Pass --host to ./configure. Thanks to Helmut Grohne for the patch. (Closes: #945871) Checksums-Sha1: 7860485ba804c016a75a48a69bca1f48f83e68ae 229664 xgalaga-dbgsym_2.1.1.0-6_armhf.deb eaae478a10b780124940361fcc77a16af89665c5 5774 xgalaga_2.1.1.0-6_armhf.buildinfo 322912acdaf7faa0258e227ae962b5be07d74a79 193812 xgalaga_2.1.1.0-6_armhf.deb Checksums-Sha256: 83ddd87f5f032d78f4bf3ae8e52f1aaf07309c25c120fe38a5b3f4522cb15995 229664 xgalaga-dbgsym_2.1.1.0-6_armhf.deb d556e6a28daf11678b3bf366902ddf7a9f3866385fd38d9d362226e647580495 5774 xgalaga_2.1.1.0-6_armhf.buildinfo e03284ae5c122cd71ef179858ff32264347049f2b830601b245854fcb037af07 193812 xgalaga_2.1.1.0-6_armhf.deb Files: 0f98b988e8697120f224a11cf86344fa 229664 debug optional xgalaga-dbgsym_2.1.1.0-6_armhf.deb 7c186a40de2ca727f3203f616347034e 5774 games optional xgalaga_2.1.1.0-6_armhf.buildinfo 027fa5997a31265df5ccd7822ace9c16 193812 games optional xgalaga_2.1.1.0-6_armhf.deb Sun Aug 22 13:14:21 UTC 2021 I: diffoscope 177 will be used to compare the two builds: # Profiling output for: /usr/bin/diffoscope --html /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/xgalaga_2.1.1.0-6.diffoscope.html --text /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/xgalaga_2.1.1.0-6.diffoscope.txt --json /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/xgalaga_2.1.1.0-6.diffoscope.json --profile=- /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/b1/xgalaga_2.1.1.0-6_armhf.changes /srv/reproducible-results/rbuild-debian/tmp.LrF7anqjT5/b2/xgalaga_2.1.1.0-6_armhf.changes ## command (total time: 0.000s) 0.000s 1 call cmp (internal) ## has_same_content_as (total time: 0.000s) 0.000s 1 call abc.DotChangesFile ## main (total time: 0.341s) 0.341s 2 calls outputs 0.000s 1 call cleanup ## recognizes (total time: 0.030s) 0.030s 10 calls diffoscope.comparators.binary.FilesystemFile 0.000s 8 calls abc.DotChangesFile Sun Aug 22 13:14:22 UTC 2021 I: diffoscope 177 found no differences in the changes files, and a .buildinfo file also exists. Sun Aug 22 13:14:22 UTC 2021 I: xgalaga from bullseye built successfully and reproducibly on armhf. Sun Aug 22 13:14:24 UTC 2021 I: Submitting .buildinfo files to external archives: Sun Aug 22 13:14:24 UTC 2021 I: Submitting 8.0K b1/xgalaga_2.1.1.0-6_armhf.buildinfo.asc Sun Aug 22 13:14:25 UTC 2021 I: Submitting 8.0K b2/xgalaga_2.1.1.0-6_armhf.buildinfo.asc Sun Aug 22 13:14:26 UTC 2021 I: Done submitting .buildinfo files to http://buildinfo.debian.net/api/submit. Sun Aug 22 13:14:26 UTC 2021 I: Done submitting .buildinfo files. Sun Aug 22 13:14:26 UTC 2021 I: Removing signed xgalaga_2.1.1.0-6_armhf.buildinfo.asc files: removed './b1/xgalaga_2.1.1.0-6_armhf.buildinfo.asc' removed './b2/xgalaga_2.1.1.0-6_armhf.buildinfo.asc'