barrows overlay: Replace existing slain brother overlay with our own

The in game overlay is positioned top-left in resizable mode, which covers up everything positioned there. This will create an overlay similiar to the in-game one that can be moved/positioned anywhere
This commit is contained in:
Seth
2018-04-17 16:00:11 -05:00
parent b01639dda0
commit 11f8d38767
4 changed files with 104 additions and 4 deletions

View File

@@ -83,6 +83,7 @@ public class WidgetID
public static final int EXPERIENCE_TRACKER_GROUP_ID = 122;
public static final int TITHE_FARM_GROUP_ID = 241;
public static final int KINGDOM_GROUP_ID = 392;
public static final int BARROWS_GROUP_ID = 24;
static class WorldMap
{
@@ -414,4 +415,10 @@ public class WidgetID
{
static final int FAIRY_QUEEN_HIDEOUT = 139;
}
static class Barrows
{
static final int BARROWS_BROTHERS = 8;
static final int BARROWS_POTENTIAL = 9;
}
}

View File

@@ -248,7 +248,11 @@ public enum WidgetInfo
EXPERIENCE_TRACKER(WidgetID.EXPERIENCE_TRACKER_GROUP_ID, WidgetID.ExperienceTracker.WIDGET),
EXPERIENCE_TRACKER_BOTTOM_BAR(WidgetID.EXPERIENCE_TRACKER_GROUP_ID, WidgetID.ExperienceTracker.BOTTOM_BAR),
TITHE_FARM(WidgetID.TITHE_FARM_GROUP_ID, 1);
TITHE_FARM(WidgetID.TITHE_FARM_GROUP_ID, 1),
BARROWS_INFO(WidgetID.BARROWS_GROUP_ID, 0),
BARROWS_BROTHERS(WidgetID.BARROWS_GROUP_ID, WidgetID.Barrows.BARROWS_BROTHERS),
BARROWS_POTENTIAL(WidgetID.BARROWS_GROUP_ID, WidgetID.Barrows.BARROWS_POTENTIAL);
private final int groupId;
private final int childId;