-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
13 changed files
with
107 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,134 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Import Project="..\..\references\tModLoader.targets" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{04D22E3B-46D1-4647-B350-0AC3AEE68631}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>CheatSheet</RootNamespace> | ||
<AssemblyName>CheatSheet</AssemblyName> | ||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<TargetFrameworkProfile>Client</TargetFrameworkProfile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<TargetFramework>net45</TargetFramework> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<StartupObject /> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
<Target Name="BuildMod" AfterTargets="Build"> | ||
<Exec Command=""$(tMLBuildServerPath)" -build $(ProjectDir) -eac $(TargetPath) -define $(DefineConstants) -unsafe $(AllowUnsafeBlocks)" /> | ||
</Target> | ||
<ItemGroup> | ||
<Reference Include="Microsoft.Xna.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.Xna.Framework.Game, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework.Game\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Game.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.Xna.Framework.Graphics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework.Graphics\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Graphics.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Microsoft.Xna.Framework.Xact, Version=4.0.0.0, Culture=neutral, PublicKeyToken=842cf8be1de50553, processorArchitecture=x86"> | ||
<SpecificVersion>False</SpecificVersion> | ||
<HintPath>..\..\..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_32\Microsoft.Xna.Framework.Xact\v4.0_4.0.0.0__842cf8be1de50553\Microsoft.Xna.Framework.Xact.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Newtonsoft.Json"> | ||
<HintPath>..\..\dllReferences\Newtonsoft.Json.dll</HintPath> | ||
</Reference> | ||
<Reference Include="ReLogic"> | ||
<HintPath>..\..\..\Modding\tModLoader\references\ReLogic.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="Terraria"> | ||
<HintPath>C:\Program Files (x86)\Steam\steamapps\common\Terraria\Terraria.exe</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="build.txt" /> | ||
<Content Include="description.txt" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="AllItemsMenu.cs" /> | ||
<Compile Include="CheatSheet.cs" /> | ||
<Compile Include="CheatSheetNPC.cs" /> | ||
<Compile Include="CheatSheetPlayer.cs" /> | ||
<Compile Include="CheatSheetWorld.cs" /> | ||
<Compile Include="Configuration.cs" /> | ||
<Compile Include="CustomUI\UIHotbar.cs" /> | ||
<Compile Include="Menus\BossDowner.cs" /> | ||
<Compile Include="Menus\ConfigurationTool.cs" /> | ||
<Compile Include="Menus\EventManagerHotbar.cs" /> | ||
<Compile Include="Menus\FullBright.cs" /> | ||
<Compile Include="Menus\GodMode.cs" /> | ||
<Compile Include="Menus\LightHack.cs" /> | ||
<Compile Include="Menus\MinionSlotBooster.cs" /> | ||
<Compile Include="Menus\NPCButchererHotbar.cs" /> | ||
<Compile Include="Menus\PaintToolsEx.cs" /> | ||
<Compile Include="Menus\PaintToolsSlot.cs" /> | ||
<Compile Include="Menus\PaintToolsUI.cs" /> | ||
<Compile Include="Menus\PaintToolsView.cs" /> | ||
<Compile Include="Menus\QuickClearHotbar.cs" /> | ||
<Compile Include="Menus\QuickTeleportHotbar.cs" /> | ||
<Compile Include="Menus\RecipeQuerySlot.cs" /> | ||
<Compile Include="Menus\SampleHotbar.cs" /> | ||
<Compile Include="Menus\SpawnRateMultiplier.cs" /> | ||
<Compile Include="ModUtils.cs" /> | ||
<Compile Include="UI\AnchorPosition.cs" /> | ||
<Compile Include="Menus\Hotbar.cs" /> | ||
<Compile Include="Menus\ExtendedCheatMenu.cs" /> | ||
<Compile Include="Menus\GenericItemSlot.cs" /> | ||
<Compile Include="Menus\ItemBrowser.cs" /> | ||
<Compile Include="Menus\ItemView.cs" /> | ||
<Compile Include="Menus\NPCBrowser.cs" /> | ||
<Compile Include="Menus\NPCSlot.cs" /> | ||
<Compile Include="Menus\NPCView.cs" /> | ||
<Compile Include="Menus\PaintToolsHotbar.cs" /> | ||
<Compile Include="Menus\RecipeBrowser.cs" /> | ||
<Compile Include="Menus\RecipeSlot.cs" /> | ||
<Compile Include="Menus\RecipeView.cs" /> | ||
<Compile Include="Menus\Slot.cs" /> | ||
<Compile Include="UI\UICheckbox.cs" /> | ||
<Compile Include="UI\UIImage.cs" /> | ||
<Compile Include="CustomUI\UIImageButtonWithBackground.cs" /> | ||
<Compile Include="UI\UIImageListButton.cs" /> | ||
<Compile Include="UI\UILabel.cs" /> | ||
<Compile Include="UI\UIScrollBar.cs" /> | ||
<Compile Include="UI\UIScrollView.cs" /> | ||
<Compile Include="CustomUI\UISlideWindow.cs" /> | ||
<Compile Include="UI\UITextbox.cs" /> | ||
<Compile Include="UI\UIView.cs" /> | ||
<Compile Include="UI\UIWindow.cs" /> | ||
<ProjectReference Include="..\BossChecklist\BossChecklist.csproj" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<PropertyGroup> | ||
<PostBuildEvent>"C:\Program Files (x86)\Steam\steamapps\common\terraria\tModLoaderServer.exe" -build "$(ProjectDir)\" -eac "$(TargetPath)"</PostBuildEvent> | ||
</PropertyGroup> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System.ComponentModel; | ||
using Terraria.ModLoader.Config; | ||
|
||
namespace CheatSheet | ||
{ | ||
class CheatSheetClientConfig : ModConfig | ||
{ | ||
public override ConfigScope Mode => ConfigScope.ClientSide; | ||
|
||
[DefaultValue(false)] | ||
[Label("Hotbar Shown by Default")] | ||
[Tooltip("Allows the hotbar to default to being shown rather than hidden.")] | ||
public bool HotbarShownByDefault { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.