Add initial changelog and preliminary data for existing cheatcodes, no hints yet.

This commit is contained in:
Ottermandias 2024-05-26 15:28:53 +02:00
parent e4883b15cc
commit dbd11f6a95
3 changed files with 48 additions and 2 deletions

View file

@ -32,6 +32,7 @@ public class GlamourerChangelog
AddDummy(Changelog);
Add1_2_0_0(Changelog);
Add1_2_1_0(Changelog);
Add1_2_2_0(Changelog);
}
private (int, ChangeLogDisplayType) ConfigData()
@ -52,6 +53,27 @@ public class GlamourerChangelog
}
}
private static void Add1_2_2_0(Changelog log)
=> log.NextVersion("Version 1.2.2.0")
.RegisterHighlight("Added a field to rename designs directly from the mod selector context menu, instead of moving them in the filesystem.")
.RegisterEntry("You can choose which rename field (none, either one or both) to display in the settings.", 1)
.RegisterEntry("Automatically applied offhand weapons due to mainhand settings now also apply the mainhands dye.")
.RegisterHighlight("Added a height display in real-world units next to the height-selector.")
.RegisterEntry("This can be configured to use your favourite unit of measurement, even wrong ones, or not display at all.", 1)
.RegisterHighlight("Added a chat command '/glamour applycustomization' that can apply single customization values to actors. Use without arguments for help.")
.RegisterHighlight("Added an option for designs to always force a redraw when applied to a character, regardless of whether it is necessary or not.")
.RegisterHighlight("Added a button to overwrite the selected design with the current player state.")
.RegisterEntry("Added some copy/paste functionality for mod associations.")
.RegisterEntry("Reworked the API and IPC structure heavily.")
.RegisterEntry("Fixed weapon selectors not having a favourite star available.")
.RegisterEntry("Fixed issues with items with custom names.")
.RegisterEntry("Fixed the labels for eye colors.")
.RegisterEntry("Fixed the tooltip for Apply Dye checkboxes.")
.RegisterEntry("Fixed an issue when hovering over assigned mod settings.")
.RegisterEntry("Made conformant to Dalamud guidelines by adding a button to open the main UI.")
.RegisterEntry("Fixed an issue with visor states. (1.2.1.3)")
.RegisterEntry("Fixed an issue with identical weapon types and multiple restricted designs. (1.2.1.3)");
private static void Add1_2_1_0(Changelog log)
=> log.NextVersion("Version 1.2.1.0")
.RegisterEntry("Updated for .net 8 and FFXIV 6.58, using some new framework options to improve performance and stability.")

View file

@ -15,9 +15,7 @@ using OtterGui;
using OtterGui.Classes;
using OtterGui.Raii;
using Penumbra.GameData.Enums;
using System;
using static Glamourer.Gui.Tabs.HeaderDrawer;
using static System.Net.Mime.MediaTypeNames;
namespace Glamourer.Gui.Tabs.DesignTab;

View file

@ -205,4 +205,30 @@ public class CodeService
CodeFlag.Dolphins => [ 0x64, 0xC6, 0x2E, 0x7C, 0x22, 0x3A, 0x42, 0xF5, 0xC3, 0x93, 0x4F, 0x70, 0x1F, 0xFD, 0xFA, 0x3C, 0x98, 0xD2, 0x7C, 0xD8, 0x88, 0xA7, 0x3D, 0x1D, 0x0D, 0xD6, 0x70, 0x15, 0x28, 0x2E, 0x79, 0xE7 ],
_ => [],
};
private static (int CapitalCount, string Punctuation, string Hint, string Effect) GetData(CodeFlag flag)
=> flag switch
{
CodeFlag.Clown => (2, ",.", "", "Randomizes dyes for every player."),
CodeFlag.Emperor => (1, ".", "", "Randomizes clothing for every player."),
CodeFlag.Individual => (2, "'!'!", "", "Randomizes customizations for every player."),
CodeFlag.Dwarf => (1, "!", "", "Sets the player character to minimum height and all other players to maximum height."),
CodeFlag.Giant => (2, "!", "", "Sets the player character to maximum height and all other players to minimum height."),
CodeFlag.OopsHyur => (1, "','.", "", "Turns all players to Hyur."),
CodeFlag.OopsElezen => (1, ".", "", "Turns all players to Elezen."),
CodeFlag.OopsLalafell => (2, ",!", "", "Turns all players to Lalafell."),
CodeFlag.OopsMiqote => (3, ".", "", "Turns all players to Miqo'te."),
CodeFlag.OopsRoegadyn => (1, "!", "", "Turns all players to Roegadyn."),
CodeFlag.OopsAuRa => (1, "',.", "", "Turns all players to Au Ra."),
CodeFlag.OopsHrothgar => (1, "',...", "", "Turns all players to Hrothgar."),
CodeFlag.OopsViera => (2, "!'!", "", "Turns all players to Viera."),
CodeFlag.Artisan => (3, ",,!", "", "Enable a debugging mode for the UI. Not really useful."),
CodeFlag.SixtyThree => (2, "", "", "Inverts the gender of every player."),
CodeFlag.Shirts => (1, "-.", "", "Highlights all items in the Unlocks tab as if they were unlocked."),
CodeFlag.World => (1, ",.", "", "Sets every player except the player character themselves to job-appropriate gear."),
CodeFlag.Elephants => (1, "!", "", "Sets every player to the elephant costume in varying shades of pink."),
CodeFlag.Crown => (1, ".", "", "Sets every player with a mentor symbol enabled to the clown's hat."),
CodeFlag.Dolphins => (5, ",", "", "Sets every player to a Namazu hat with different costume bodies."),
_ => (0, string.Empty, string.Empty, string.Empty),
};
}