Skip to content

Commit

Permalink
Update for release
Browse files Browse the repository at this point in the history
Readme, copyright dates
Squash a few last minute bugs related to config reset (no longer sets install state to false) and toggling topbar integration while in GUI edit mode (you crazy person)
  • Loading branch information
Earthfiredrake committed Jan 11, 2018
1 parent e890695 commit 54649d4
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 61 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

TSW-LoreHound copyright (c) 2017 Earthfiredrake
TSW-LoreHound copyright (c) 2017-2018 Earthfiredrake

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion LoreHound.incl.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down
83 changes: 39 additions & 44 deletions README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion config/Strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Copyright 2017, Earthfiredrake (Peloprata)
<!-- Copyright 2017-2018, Earthfiredrake (Peloprata)
Released under the terms of the MIT License
https://github.com/Earthfiredrake/TSW-LoreHound -->

Expand Down Expand Up @@ -30,6 +30,7 @@
<!-- Used by console style mods that lack icon notification -->
<Enabled en="Has been enabled" />
<Disabled en="Has been disabled" />
<!-- Warning for disabling VTIO topbar integration -->
<RemoveVTIO en="The topbar mod does not support removal of registered mods at runtime. An attempt to fake it has been made, but may result in unexpected behaviour. It is strongly recommended to properly finish the process with '/reloadui'." />
</General>
<GUI> <!-- Used for all GUI strings. GUI may not expand nicely for longer text -->
Expand Down
2 changes: 1 addition & 1 deletion efd/LoreHound/LoreHound.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down
2 changes: 1 addition & 1 deletion efd/LoreHound/gui/ConfigWindowContent.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down
2 changes: 1 addition & 1 deletion efd/LoreHound/lib/AutoReport.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down
2 changes: 1 addition & 1 deletion efd/LoreHound/lib/ConfigWrapper.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound
// Based off of the Preferences class of El Torqiro's ModUtils library:
Expand Down
12 changes: 5 additions & 7 deletions efd/LoreHound/lib/Mod.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down Expand Up @@ -318,6 +318,7 @@ class efd.LoreHound.lib.Mod {

/// Versioning and Upgrades
private function UpdateInstall():Void {
Config.ChangeDefault("Installed", true);
if (!Config.GetValue("Installed")) {
// Fresh install, use the actual default value instead of the update placeholder
Config.ResetValue("TopbarIntegration"); // DEPRECATED(v1.0.0): Temporary upgrade support
Expand All @@ -327,8 +328,8 @@ class efd.LoreHound.lib.Mod {
if (ShowConfigDV != undefined) {
ChatMsg(LocaleManager.GetString("General", "ReviewSettings"), { noPrefix : true });
// Decided against having the options menu auto open here
// Users might not realize that it's a one off event, and consider it a bug
}
// Users might not realize that it's a one off event
}
return; // No existing version to update
}
var oldVersion:String = Config.GetValue("Version");
Expand Down Expand Up @@ -484,9 +485,7 @@ class efd.LoreHound.lib.Mod {
iconData.HostMovie = HostMovie;
iconData.Config = Config;

if (iconData.GetFrame) {
iconData.GetFrame = Delegate.create(this, iconData.GetFrame);
}
if (iconData.GetFrame) { iconData.GetFrame = Delegate.create(this, iconData.GetFrame); }

if (!iconData.LeftMouseInfo) {
if (modInfo.Type == e_ModType_Interface) {
Expand Down Expand Up @@ -804,7 +803,6 @@ class efd.LoreHound.lib.Mod {
public var Icon:ModIcon;

private var IsAboveTopbar:Boolean = false; // Display layer has been changed to render above topbar
// private var MeeehrDV:DistributedValue;
private var ViperDV:DistributedValue;
private var RegisteredWithTopbar:Boolean = false;

Expand Down
14 changes: 13 additions & 1 deletion efd/LoreHound/lib/ModIcon.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down Expand Up @@ -209,6 +209,13 @@ class efd.LoreHound.lib.ModIcon extends MovieClip {
if (!VTIOMode) {
ConfigureForDefault();
Config.ResetValue("IconPosition");
if (GemManager != null) {
GemManager.lockAxis(2);
GemManager.removeEventListener("scrollWheel", this, "ChangeScale");
SignalGeometryChanged.Emit();
}
} else {
if (GemManager != null) { ManageGEM(false); }
}
} else {
VTIOMode = false;
Expand All @@ -217,6 +224,11 @@ class efd.LoreHound.lib.ModIcon extends MovieClip {
Config.NewSetting("IconScale", 100);
Config.NewSetting("IconPosition", new Point(10, 80 + IconID * 40));
}
if (GemManager != null) {
GemManager.lockAxis(0);
GemManager.addEventListener("scrollWheel", this, "ChangeScale");
SignalGeometryChanged.Emit();
}
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion efd/LoreHound/lib/etu/GemController.as
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Released under the terms of the MIT License
// https://github.com/eltorqiro/TSW-Utils
// Modified for LoreHound:
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Used and released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down
2 changes: 1 addition & 1 deletion efd/LoreHound/lib/etu/GemOverlay.as
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Released under the terms of the MIT License
// https://github.com/eltorqiro/TSW-Utils
// Modified for LoreHound:
// Copyright 2017, Earthfiredrake (Peloprata)
// Copyright 2017-2018, Earthfiredrake (Peloprata)
// Used and released under the terms of the MIT License
// https://github.com/Earthfiredrake/TSW-LoreHound

Expand Down

0 comments on commit 54649d4

Please sign in to comment.