Update sigIRC jar. Remove image handling

r3cp3ct-Japanese-sticker-triggers
sigonasr2 6 years ago
parent aca531d273
commit 0ff41e0cc7
  1. 2
      .classpath
  2. BIN
      sigIRCv2.jar
  3. 4
      src/sig/modules/BandoriModule.java

@ -2,7 +2,7 @@
<classpath> <classpath>
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="lib"/> <classpathentry kind="src" path="lib"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/commons-io-2.5.jar"/> <classpathentry kind="lib" path="lib/commons-io-2.5.jar"/>
<classpathentry kind="lib" path="lib/twitch-api-wrapper-0.3-jar-with-dependencies.jar"/> <classpathentry kind="lib" path="lib/twitch-api-wrapper-0.3-jar-with-dependencies.jar"/>
<classpathentry kind="lib" path="lib/lwjgl-glfw.jar"/> <classpathentry kind="lib" path="lib/lwjgl-glfw.jar"/>

Binary file not shown.

@ -149,7 +149,7 @@ public class BandoriModule extends Module{
stamp_map.put("eve_thefruits",Arrays.asList("fruits","labor","hardwork","effort")); stamp_map.put("eve_thefruits",Arrays.asList("fruits","labor","hardwork","effort"));
stamp_map.put("lisa_imnotready",Arrays.asList("notready","notprep","stopit","holdon","onemin","onemom","noread","wontberead","notrdy","nottime","notime","waitam","waitforme")); stamp_map.put("lisa_imnotready",Arrays.asList("notready","notprep","stopit","holdon","onemin","onemom","noread","wontberead","notrdy","nottime","notime","waitam","waitforme"));
for (String s : image_map.keySet()) { /*for (String s : image_map.keySet()) {
ImageScheme scheme = image_map.get(s); ImageScheme scheme = image_map.get(s);
try { try {
BufferedImage img = crop(scheme.base,scheme.stamp_index%6*270+4, scheme.stamp_index/6*223+3, 258, 214); BufferedImage img = crop(scheme.base,scheme.stamp_index%6*270+4, scheme.stamp_index/6*223+3, 258, 214);
@ -157,7 +157,7 @@ public class BandoriModule extends Module{
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
} }*/
} }
public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException { public BufferedImage crop(BufferedImage img, int x, int y, int targetWidth, int targetHeight) throws IOException {

Loading…
Cancel
Save