Minor cleanups (#50)

* Finalize, minor alloc reduction

Also enable Jabel and generic injection

* Update dependencies.gradle

* Clean up Machine a bit

* spotless

more enhanced instanceof

* Update ModuleMachine.java

* More clen

* WARN: Removed exception catching

* Many, many tiny patches + birthday fix

* Spotless

* Spotless again

* Fix getLow and clamp tolerance value

* Revert event -> ignored on unused event parameters

* Rename instanceof variables

* Update Machine.java

* Use StringBuilder

* Cache getStack()

* Oops, Jabel can't handle that

* Spotless

* Spotless again

My IDE was fighting with it

* Remove unused elements + scream test success
This commit is contained in:
ah-OOG-ah authored and GitHub committed 2024-09-26 16:59:20 +02:00
1 parent 6b4f3eb1c7
commit f0f14bb278
325 files changed
+1205 -1868

No files matched your search

@@ -12,7 +12,6 @@ public class ControlSplicerProgress extends ControlProgressBase {
public ControlSplicerProgress(IWidget parent, float x, float y, float w, float h) {
super(parent, x, y, w, h);
strength = 0.0f;
strength = 0.0f;
}
@Override
@@ -27,7 +26,6 @@ public class ControlSplicerProgress extends ControlProgressBase {
float oy = ooy + ddy * progress;
for (int i = 0; i < n; ++i) {
int seed = 432523;
int[] colours = { 0x990000, 0x007700, 0x0000ff, 0x997700 };
int c1 = colours[(int) Math.abs(13.0 * Math.sin(i) + 48.0 * Math.cos(i) + 25.0 * Math.sin(7 * i)) % 4];
int c2 = colours[(int) Math.abs(23.0 * Math.sin(i) + 28.0 * Math.cos(i) + 15.0 * Math.sin(7 * i)) % 4];