new glyph bb
|
@ -79,7 +79,7 @@ public class Plugin : IDalamudPlugin {
|
||||||
private string CopyAvfxFile() {
|
private string CopyAvfxFile() {
|
||||||
var configDir = this.Interface!.GetPluginConfigDirectory();
|
var configDir = this.Interface!.GetPluginConfigDirectory();
|
||||||
Directory.CreateDirectory(configDir);
|
Directory.CreateDirectory(configDir);
|
||||||
for (var i = 0; i < 5; i++) {
|
for (var i = 0; i < Messages.VfxPaths.Length; i++) {
|
||||||
var letter = (char) ('a' + i);
|
var letter = (char) ('a' + i);
|
||||||
var stream = Resourcer.Resource.AsStreamUnChecked($"OrangeGuidanceTomestone.vfx.b0941trp1{letter}_o.avfx");
|
var stream = Resourcer.Resource.AsStreamUnChecked($"OrangeGuidanceTomestone.vfx.b0941trp1{letter}_o.avfx");
|
||||||
var path = Path.Join(configDir, $"sign_{letter}.avfx");
|
var path = Path.Join(configDir, $"sign_{letter}.avfx");
|
||||||
|
|
|
@ -24,7 +24,7 @@ internal class Write : ITab {
|
||||||
private List<TextureWrap> GlyphImages { get; } = new();
|
private List<TextureWrap> GlyphImages { get; } = new();
|
||||||
|
|
||||||
private void LoadSignImages() {
|
private void LoadSignImages() {
|
||||||
for (var i = 0; i < 5; i++) {
|
for (var i = 0; i < Messages.VfxPaths.Length; i++) {
|
||||||
var stream = Resourcer.Resource.AsStreamUnChecked($"OrangeGuidanceTomestone.img.sign_{i}.jpg");
|
var stream = Resourcer.Resource.AsStreamUnChecked($"OrangeGuidanceTomestone.img.sign_{i}.jpg");
|
||||||
using var mem = new MemoryStream();
|
using var mem = new MemoryStream();
|
||||||
stream.CopyTo(mem);
|
stream.CopyTo(mem);
|
||||||
|
@ -199,7 +199,7 @@ internal class Write : ITab {
|
||||||
if (ImGui.BeginCombo("Glyph", $"{this._glyph + 1}")) {
|
if (ImGui.BeginCombo("Glyph", $"{this._glyph + 1}")) {
|
||||||
var tooltipShown = false;
|
var tooltipShown = false;
|
||||||
|
|
||||||
for (var i = 0; i < 5; i++) {
|
for (var i = 0; i < Messages.VfxPaths.Length; i++) {
|
||||||
if (ImGui.Selectable($"{i + 1}", this._glyph == i)) {
|
if (ImGui.Selectable($"{i + 1}", this._glyph == i)) {
|
||||||
this._glyph = i;
|
this._glyph = i;
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 36 KiB |
After Width: | Height: | Size: 35 KiB |