From e8da7b01396738f40485253d878ddada721130a0 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Mon, 30 May 2022 15:04:45 -0500 Subject: [PATCH] Force full refresh when enough time passed Co-authored-by: sigonasr2 --- bin/SigShare.jar | Bin 13661 -> 13675 bytes src/sig/SigShare.java | 8 ++++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/SigShare.jar b/bin/SigShare.jar index a4ad3a41d512bdc3913fa2fde703c16d6e890997..1b5ba8b5964c103051ffcc3ed77694708fc1ff33 100644 GIT binary patch delta 6123 zcmZ9QWmwcv*Y4>Yq?-X1q`Nyr>6Daa=o)G$iNAyhL(0$%N{4hxGtxcM5+V)K4f^VP zu5+&EIs3!D@4c>d-D~Zyzwgfb&LACiOe_jCJUl$KME?&UDU83jY8p$Tf2Tg$e;lm8 z-rLE6??1Z{Sm*+Pg~f9`kT{MoyA@s{9t8E)iVOp*PM+$yeCU$^mT*J{zmT=3u5_ecctKH1^pp8|F(}t!MK68t0_o4R_0rjj{7k7)-o=5H5xq-hHjwCkf zaYIhn-@ZOiiElrSgp2viA1l$(9V-(7(~JE#En{9Ijp>x?gO-p z9hRZgC^%Q7CnHkYU^ak_DxD?(FO{lh7~R|xo;JSfuF#h>D4B6=1i8!?I98Ed?6f4$ z0{GACK|Bz0J;!RJG6O0%&H%fW$9=n!H>KtS34?r!@>XC;H(MHFo^d^r2l98gJ_NeP zkytI5SeVZy1D{?s zm40!>x7OFc9j}=)Y8fPVt~iC&Ts!%!7HEkx7Q97xQ-_8!5H=Pl-1$CrLNiO@@$NLv@L zBvKdc5mBW2R$IE`jHQ~)%p_T5t)IzQYil~Rd=wgO&dj}BP@St)dG^R~(AoDTGI^6T zhokeyE{VZ65nN5gGjYy@=FSIhDb#ZzhV2hJnOEk1!AwaCLO*5tDx;F5HvuWt5VjuD z_3p+=+ax|K&Pg=0>aNCx@OgfN_}F>DI~Kb&@B@Ll}t$5?s~i6=Y{!uIbNPW zTgv6Dst|#GTX#O8Q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KV`TSW+2?iZ=iUKd&59@c371`gy2yi^ zl(yJbl`Pper9yAYpD)F}mBen@*dxAn?iiRTIzeoSg^E^754fYb?!}8bAhum7TxPC{ zaSjMwAj*BO4sZ0(U1^t68zm3uazgsHA=Uf))Jk*q>^42`XWM4yLMtrdk?4@9;g}}c zN8OD#?M#mgLO2ZshOYHK&rJ9L&M>Hr3c1UzU1+STiOsxe=j#jEH)O}%8P)G}d$4Zy z=-ICV_QWkkLr#Ntr5SaPLZYW>-hbseShYMn@JEb4?kc0Ixvjfx&9YLMF{bbzGC!0c z#ItbVb*2e^;NFc`cn?@vg1Ze`i)MC;TuRV(UwcITq=1RlmLApwCPN`YiDXAX`A4O3 zP*AW?{xWQM4msOjh+XlUTm$`|vQn9%{Z;sHa+-<)8p3D)VvStP|8oBud*t0f{bz6T z3I7uY{iu`yYfH1to&~|1feBTQdt=lfS4O6^#Vt z|Dkm_fdDmHH935l9K`Y8nPv@>!o>t%KJDlG*WiButg*Hx diff --git a/src/sig/SigShare.java b/src/sig/SigShare.java index 60cb0fb..a3266c0 100644 --- a/src/sig/SigShare.java +++ b/src/sig/SigShare.java @@ -124,6 +124,7 @@ public class SigShare { in.readLine(); LAST_CLEANUP=System.currentTimeMillis(); } else { + subupdate: for (int y=0;y=CLEANUP_FREQUENCY) { + break subupdate; + } img[y*newCapture.getWidth()+x]=newPixel; //System.out.println("Changes ("+gridX+","+gridY+"): "+changes[gridY*REGION_X_COUNT+gridX]); if (!REGION_CHECK.containsKey((char)(gridY*REGION_X_COUNT+gridX))) { @@ -144,7 +148,7 @@ public class SigShare { if (gridX>0) { changes[(gridY)*REGION_X_COUNT+(gridX-1)]+=1; } - if (gridX=CHANGE_THRESHOLD) { @@ -157,7 +161,7 @@ public class SigShare { if (gridX>0) { changes[(gridY)*REGION_X_COUNT+(gridX-1)]+=CHANGE_THRESHOLD/2; } - if (gridX