From 39a7dd6be9d8e7bf1f5166df31479c54c7ebe0dd Mon Sep 17 00:00:00 2001 From: JavidPack Date: Tue, 13 Jun 2017 00:17:36 -0600 Subject: [PATCH] 0.2.2 release, updated to tModLoader 0.10 --- .travis.yml | 2 +- ItemChecklist.cs | 6 ++-- ItemChecklist.csproj | 14 ++++++--- ItemChecklistGlobalItem.cs | 2 +- ItemChecklistPlayer.cs | 10 +++--- ItemChecklistUI.cs | 64 +++++++++++++++++--------------------- ItemSlot.cs | 8 ++--- UIGrid.cs | 9 ++++++ build.txt | 2 +- 9 files changed, 63 insertions(+), 54 deletions(-) diff --git a/.travis.yml b/.travis.yml index 229c568..f1146bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ script: - echo "Mod Browser version is $version" - export gitVersion=`git describe --abbrev=0 --tags` - echo "git version is $gitVersion" - - if [[ "$version" = "$gitVersion" ]]; then echo "Version does match, no need to push release"; Deploy=no; else echo "Version does not match, need to push release"; git config --global user.email "builds@travis-ci.com"; git config --global user.name "Travis CI"; git tag $version -a -m "TravisCI Autogenerated Release"; git push --quiet https://$GH_REPO_TOKEN@github.com/JavidPack/BossChecklist $version > /dev/null 2>&1; Deploy=yes; fi + - if [[ "$version" = "$gitVersion" ]]; then echo "Version does match, no need to push release"; Deploy=no; else echo "Version does not match, need to push release"; git config --global user.email "builds@travis-ci.com"; git config --global user.name "Travis CI"; git tag $version -a -m "TravisCI Autogenerated Release"; Deploy=yes; fi - echo $Deploy before_deploy: diff --git a/ItemChecklist.cs b/ItemChecklist.cs index 57f786e..9526b31 100644 --- a/ItemChecklist.cs +++ b/ItemChecklist.cs @@ -80,12 +80,12 @@ namespace ItemChecklist int lastSeenScreenWidth; int lastSeenScreenHeight; - public override void ModifyInterfaceLayers(List layers) + public override void ModifyInterfaceLayers(List layers) { int MouseTextIndex = layers.FindIndex(layer => layer.Name.Equals("Vanilla: Mouse Text")); if (MouseTextIndex != -1) { - layers.Insert(MouseTextIndex, new MethodSequenceListItem( + layers.Insert(MouseTextIndex, new LegacyGameInterfaceLayer( "ItemChecklist: Item Checklist", delegate { @@ -119,7 +119,7 @@ namespace ItemChecklist } return true; }, - null) + InterfaceScaleType.UI) ); } } diff --git a/ItemChecklist.csproj b/ItemChecklist.csproj index 410a3ae..4918ebf 100644 --- a/ItemChecklist.csproj +++ b/ItemChecklist.csproj @@ -51,6 +51,9 @@ ..\..\solutiondlls\Microsoft.Xna.Framework.Xact.dll + + ..\..\..\Modding\tModLoader\references\ReLogic.dll + @@ -59,9 +62,6 @@ - - C:\Program Files (x86)\Steam\steamapps\common\Terraria\tModLoader.exe - @@ -81,9 +81,15 @@ + + + {3996d5fa-6e59-4fe4-9f2b-40eeef9645d5} + Terraria + + - "C:\Program Files (x86)\Steam\steamapps\common\terraria\tModLoaderDebug.exe" -build "$(ProjectDir)\" -eac "$(TargetPath)" + "C:\Program Files (x86)\Steam\steamapps\common\Terraria\tModLoaderDebug.exe" -build "$(ProjectDir)\" -eac "$(TargetPath)"