project: Implement the new menu entry handling

This commit is contained in:
Owain van Brakel
2021-12-16 09:45:44 +01:00
parent 7ef3e6b980
commit a42c845ad3
35 changed files with 665 additions and 402 deletions

View File

@@ -30,7 +30,8 @@ public class FileSystem {
descriptor = "(I)V",
garbageValue = "497428397"
)
static void method3084() {
@Export("decrementMenuEntries")
static void decrementMenuEntries() {
for (int var0 = 0; var0 < Client.menuOptionsCount; ++var0) {
if (InvDefinition.method3157(Client.menuOpcodes[var0])) {
if (var0 < Client.menuOptionsCount - 1) {