From 0bc6d3e6f70d56c7ec2365b81d8a489887192db5 Mon Sep 17 00:00:00 2001 From: dorian Date: Tue, 25 Feb 2020 21:19:29 +0100 Subject: [PATCH] - fixed graphics issues --- .classpath | 7 +++++++ .project | 17 +++++++++++++++++ build/MANIFEST.MF => MANIFEST.MF | 2 ++ build/build.sh | 6 +++--- res/test.png | Bin 5860 -> 0 bytes src/de/itsblue/ConnectFour/PlateContainer.java | 8 ++++---- .../ConnectFour/player/RemotePlayerClient.java | 3 ++- .../ConnectFour/player/RemotePlayerServer.java | 3 ++- .../de/itsblue/ConnectFour/res}/container.png | Bin .../de/itsblue/ConnectFour/res}/highlight.png | Bin .../de/itsblue/ConnectFour/res}/plateRed.png | Bin .../itsblue/ConnectFour/res}/plateYellow.png | Bin src/de/itsblue/ConnectFour/res/test.png | Bin 5860 -> 0 bytes 13 files changed, 37 insertions(+), 9 deletions(-) create mode 100644 .classpath create mode 100644 .project rename build/MANIFEST.MF => MANIFEST.MF (57%) delete mode 100755 res/test.png rename {res => src/de/itsblue/ConnectFour/res}/container.png (100%) rename {res => src/de/itsblue/ConnectFour/res}/highlight.png (100%) rename {res => src/de/itsblue/ConnectFour/res}/plateRed.png (100%) rename {res => src/de/itsblue/ConnectFour/res}/plateYellow.png (100%) delete mode 100755 src/de/itsblue/ConnectFour/res/test.png diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..5677f01 --- /dev/null +++ b/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..eec31d5 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + connect-four + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/build/MANIFEST.MF b/MANIFEST.MF similarity index 57% rename from build/MANIFEST.MF rename to MANIFEST.MF index c7523de..eb6e07b 100644 --- a/build/MANIFEST.MF +++ b/MANIFEST.MF @@ -1 +1,3 @@ +Manifest-Version: 1.0 Main-Class: de.itsblue.ConnectFour.ConnectFour +Class-Path: . diff --git a/build/build.sh b/build/build.sh index c61569a..f0d5e54 100755 --- a/build/build.sh +++ b/build/build.sh @@ -7,7 +7,7 @@ else cd ./compiled find ../../src -name "*.java" > sources.txt javac -d ./ @sources.txt - find ../../res -name "*" > compiledSources.txt - find -name "*.class" > compiledSources.txt - jar cvmf ../MANIFEST.MF ../ConnectFour.jar ../../res/* @compiledSources.txt + find ./ -name "*.class" > compiledSources.txt + cp find ../../src -name "res" ./ >> compiledSources.txt + jar cvmf ../../MANIFEST.MF ../ConnectFour.jar @compiledSources.txt fi diff --git a/res/test.png b/res/test.png deleted file mode 100755 index 6bd23fd286e300f2396b2d2affc38b1b3ffd922d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5860 zcmWkycRX8N7{*tlHl-tkR=ckj7>ocrE$o^#IoKF^b2sINss$wo;;L`0*btzitb5y1V3f(&@xNG-7c z*Sv!0m{0&0oWe1li0F2{j)s~^V8KpdP+Im>Awgxs9N&fBS(9C8Wud71m`+Ab!B5iH zNoHR;Ia)pOto&&bW8;uxSlTtf##Y1Ztvq=-bx`@28l zKm35I<6F=FqGiK-gEp)1F}Kw`qj0s)MbZ968*sFjVh>Kfj}ThiM1=K&S+SU!67MRd z@@b{){_Vi~EcFu4&ds^Hx$$M|PR!0GddvwWM$$)~odt`Ilpzo)NTh3S-FEiW``18ObE#7q7m9NR2``<*|XPXl)&j}85vWV?6A5$MjchT+MC}#*g$XOJomI)?u#*b`n1fI4MG9O zUF%6E(K|;I6>X&JRt8=kVS^4Qv}PKesD>RGv3|oF2hL@Mq&x}VzklyN!rGu)doDeG z?SUZiO~<1LH19PdP<)Fpc3IE)q57~Rk;UL`v9t4YVnZfU^Z|IHn(JnT7&ynjA8z|XZ7ppTAcqTsV;hz$)Fm1!{-YvXBQ;iF8H}F z8;$^DcaBGy{gIEgTRI0bGc(V7_tVS=;6jtQRKSK*#WQ5;dkqw}bFv;D9@27h2NwtE zOx?;)9w8c7wpa$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