Skip to content

Commit 2174f9b

Browse files
committed
Bump everest.yaml version
1 parent e4b314d commit 2174f9b

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

UI/InGameOverworldHelper.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ private static string mapSideName(string mapSID, AreaMode side) {
466466
} else if (side == AreaMode.CSide) {
467467
sideName += "_C";
468468
}
469-
469+
470470
return sideName;
471471
}
472472

@@ -503,7 +503,7 @@ public static string GetGuiHeartSpriteId(string mapSID, AreaMode side) {
503503
/// <param name="spriteID">The sprite ID to override the map's heart with</param>
504504
public static void AddOverrideHeartSpriteID(string mapSID, AreaMode side, string spriteID) {
505505
string sideName = mapSideName(mapSID, side);
506-
506+
507507
if (OverrideHeartSpriteIDs.TryGetValue(sideName, out _))
508508
OverrideHeartSpriteIDs[sideName] = spriteID;
509509
else
@@ -517,7 +517,7 @@ public static void AddOverrideHeartSpriteID(string mapSID, AreaMode side, string
517517
/// <param name="side">The side to remove the override for</param>
518518
public static void RemoveOverrideHeartSpriteID(string mapSID, AreaMode side) {
519519
string sideName = mapSideName(mapSID, side);
520-
520+
521521
if (OverrideHeartSpriteIDs.TryGetValue(sideName, out _))
522522
OverrideHeartSpriteIDs.Remove(sideName);
523523
}

UI/JournalHelper.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ public static void AddJournalEditor(string collabID, Action<OuiJournal, string,
1717
else
1818
JournalEditors.Add(collabID, editor);
1919
}
20-
20+
2121
public static void RemoveJournalEditor(string collabID) {
2222
if (JournalEditors.TryGetValue(collabID, out _))
2323
JournalEditors.Remove(collabID);
2424
}
25-
25+
2626
internal static void Load() {
2727
JournalEditors.Clear();
28-
28+
2929
Everest.Events.Journal.OnEnter += OnJournalEnter;
3030
}
3131

@@ -42,7 +42,7 @@ private static void OnJournalEnter(OuiJournal journal, Oui from) {
4242
AreaData forceArea = new DynData<Overworld>(journal.Overworld).Get<AreaData>("collabInGameForcedArea");
4343
if (forceArea == null)
4444
return;
45-
45+
4646
// custom journal: throw away all pages.
4747
journal.Pages.Clear();
4848

@@ -63,12 +63,12 @@ private static void OnJournalEnter(OuiJournal journal, Oui from) {
6363
// if necessary, redraw the first page to include the stickers
6464
if (journal.Pages.ElementAtOrDefault(0) is OuiJournalCoverWithStickers coverWithStickers)
6565
coverWithStickers.Redraw(journal.CurrentPageBuffer);
66-
66+
6767
// reset journal entry data
6868
VanillaJournal = true;
6969
ShowOnlyDiscovered = false;
7070
}
71-
71+
7272
// ModInterop exports
7373
[ModExportName("CollabUtils2.JournalHelper")]
7474
private static class ModExports {

UI/LobbyMapUI.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class LobbyMapUI : Entity {
8282
private int lastSelectedWarpIndex = -1;
8383
private float scaleMultiplier = 1f;
8484
private float finalScale => actualScale * scaleMultiplier;
85-
85+
8686
// mod interop
8787
private static readonly Dictionary<string, Action<Entity, List<Component>>> CustomRenderActions = new Dictionary<string, Action<Entity, List<Component>>>();
8888
public static void AddCustomRenderAction(string collabID, Action<Entity, List<Component>> action) {
@@ -280,7 +280,7 @@ public override void Update() {
280280
translateTimeRemaining = translate_time_seconds;
281281
}
282282
} else if (!shouldCentreOrigin && translateTimeRemaining <= 0 && scaleTimeRemaining <= 0 && aiming && mapTexture != null) {
283-
var aspectRatio = (float)mapTexture.Width / mapTexture.Height;
283+
var aspectRatio = (float) mapTexture.Width / mapTexture.Height;
284284
var offset = aim.SafeNormalize() * 2f / actualScale;
285285
if (aspectRatio > 0) {
286286
offset.X /= aspectRatio;
@@ -373,7 +373,7 @@ private int nearestWarpIndexToActualOrigin() {
373373
/// Returns true if the given position has been revealed in the current lobby.
374374
/// </summary>
375375
private bool isVisited(Vector2 position, byte threshold = 0x7F) =>
376-
visitedTiles.TryGet((int)(position.X / 8), (int)(position.Y / 8), out var value) && value > threshold;
376+
visitedTiles.TryGet((int) (position.X / 8), (int) (position.Y / 8), out var value) && value > threshold;
377377

378378
/// <summary>
379379
/// Calculates the correct origin within the overlay texture for a given level coordinate.
@@ -1222,9 +1222,9 @@ public LobbySelection(EntityData data, MapData map) {
12221222
}
12231223

12241224
#endregion
1225-
1225+
12261226
#region ModInterop
1227-
1227+
12281228
// ModInterop exports
12291229
[ModExportName("CollabUtils2.LobbyMapUI")]
12301230
private static class ModExports {
@@ -1235,7 +1235,7 @@ public static void RemoveCustomRenderAction(string collabID) {
12351235
LobbyMapUI.RemoveCustomRenderAction(collabID);
12361236
}
12371237
}
1238-
1238+
12391239
#endregion
12401240
}
12411241
}

everest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- Name: CollabUtils2
2-
Version: 1.10.14
2+
Version: 1.11.0
33
DLL: bin/Release/net452/CollabUtils2.dll
44
Dependencies:
55
- Name: Everest

0 commit comments

Comments
 (0)