This commit is contained in:
Anna 2022-09-06 03:37:03 -04:00
parent bdd93f483d
commit d66aa96bb3
12 changed files with 426 additions and 6 deletions

View File

@ -68,6 +68,7 @@
<EmbeddedResource Include="../server/packs/*.yaml" LinkBase="packs"/>
<EmbeddedResource Remove="../server/packs/*_old*.yaml"/>
<EmbeddedResource Include="vfx/b0941trp1*_o.avfx"/>
<EmbeddedResource Include="img/sign_*.png"/>
</ItemGroup>
</Project>

View File

@ -1,6 +1,6 @@
namespace OrangeGuidanceTomestone.Ui.MainWindowTabs;
public interface ITab {
public interface ITab : IDisposable {
public string Name { get; }
public void Draw();
}

View File

@ -17,6 +17,9 @@ internal class MessageList : ITab {
this.Plugin = plugin;
}
public void Dispose() {
}
public void Draw() {
if (ImGui.Button("Refresh")) {
this.Refresh();

View File

@ -13,6 +13,9 @@ internal class Settings : ITab {
this.Plugin = plugin;
}
public void Dispose() {
}
public void Draw() {
ImGui.PushTextWrapPos();

View File

@ -1,6 +1,8 @@
using System.Numerics;
using System.Text;
using Dalamud.Game.ClientState.Conditions;
using ImGuiNET;
using ImGuiScene;
using Newtonsoft.Json;
using OrangeGuidanceTomestone.Helpers;
@ -19,8 +21,27 @@ internal class Write : ITab {
private (int, int) _word2 = (-1, -1);
private int _glyph;
private List<TextureWrap> GlyphImages { get; } = new();
private void LoadSignImages() {
for (var i = 0; i < 5; i++) {
var stream = Resourcer.Resource.AsStreamUnChecked($"OrangeGuidanceTomestone.img.sign_{i}.jpg");
using var mem = new MemoryStream();
stream.CopyTo(mem);
var wrap = this.Plugin.Interface.UiBuilder.LoadImage(mem.ToArray());
this.GlyphImages.Add(wrap);
}
}
internal Write(Plugin plugin) {
this.Plugin = plugin;
this.LoadSignImages();
}
public void Dispose() {
foreach (var wrap in this.GlyphImages) {
wrap.Dispose();
}
}
public void Draw() {
@ -138,9 +159,18 @@ internal class Write : ITab {
if (ImGui.BeginCombo("Glyph", this._glyph.ToString())) {
for (var i = 0; i < 5; i++) {
if (ImGui.Selectable($"{i}", this._glyph == i)) {
if (ImGui.Selectable($"{i + 1}", this._glyph == i)) {
this._glyph = i;
}
if (!ImGui.IsItemHovered()) {
continue;
}
ImGui.BeginTooltip();
var image = this.GlyphImages[i];
ImGui.Image(image.ImGuiHandle, new Vector2(image.Width, image.Height));
ImGui.EndTooltip();
}
ImGui.EndCombo();

BIN
client/img/sign_0.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
client/img/sign_1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
client/img/sign_2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
client/img/sign_3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
client/img/sign_4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

View File

@ -1,5 +1,5 @@
name: FINAL FANTASY XIV
id: 43cf8e42-43fe-42cf-b989-6446e30fa914
id: 120e0e08-9533-454b-bfab-f8774a5b6d80
templates:
- '{0} ahead'
@ -58,12 +58,10 @@ words:
- goblin
- primal
- name: People
- name: People 1
words:
- Warrior of Light
- Warrior of Darkness
- Garlean
- Allagan
- Ascian
- merchant
- teacher
@ -93,6 +91,22 @@ words:
- thief
- uplander
- name: People 2
words:
- Garlean
- Allagan
- Eorzean
- Doman
- Hingan
- Ala Mhigan
- lalafell
- miqo'te
- hyur
- elezen
- au ra
- hrothgar
- viera
- name: Jobs
words:
- paladin
@ -156,6 +170,7 @@ words:
- gil
- scrip
- third-party tool
- currency
- name: Battle Tactics
words:
@ -326,6 +341,10 @@ words:
- secret
- faith
- loyalty
- trust
- suffering
- sadness
- happiness
- name: Phrases
words:

View File

@ -0,0 +1,364 @@
name: FINAL FANTASY XIV
id: 43cf8e42-43fe-42cf-b989-6446e30fa914
templates:
- '{0} ahead'
- 'No {0} ahead'
- '{0} required ahead'
- 'Be wary of {0}'
- 'Try {0}'
- 'Likely {0}'
- 'First off, {0}'
- 'Seek {0}'
- 'Still no {0}...'
- 'Why is it always {0}?'
- 'If only I had a {0}...'
- 'Didn''t expect {0}...'
- 'Visions of {0}...'
- 'Could this be a {0}?'
- 'Time for {0}'
- '{0}, O {0}'
- 'Behold, {0}!'
- 'Offer {0}'
- 'Praise the {0}'
- 'Let there be {0}'
- 'Ahh, {0}...'
- 'Such {0}...'
- '{0}'
- '{0}!'
- '{0}?'
- '{0}...'
conjunctions:
- 'and then'
- 'or'
- 'but'
- 'therefore'
- 'in short'
- 'except'
- 'by the way'
- 'so to speak'
- 'all the more'
- ','
words:
- name: Enemies
words:
- enemy
- weak foe
- strong foe
- monster
- voidsent
- dragon
- boss
- group
- zombie
- wolf
- skeleton
- goblin
- primal
- name: People
words:
- Warrior of Light
- Warrior of Darkness
- Garlean
- Allagan
- Ascian
- merchant
- teacher
- master
- friend
- lover
- angel
- sinner
- good sort
- wicked sort
- plump sort
- skinny sort
- lovable sort
- pathetic sort
- strange sort
- nimble sort
- laggardly sort
- invisible sort
- unfathomable sort
- giant sort
- liar
- traitor
- hero
- champion
- pair
- trio
- thief
- uplander
- name: Jobs
words:
- paladin
- warrior
- dark knight
- gunbreaker
- white mage
- scholar
- astrologian
- sage
- monk
- ninja
- dragoon
- samurai
- reaper
- bard
- machinist
- dancer
- black mage
- summoner
- red mage
- blue mage
- carpenter
- blacksmith
- armorer
- goldsmith
- leatherworker
- weaver
- alchemist
- culinarian
- miner
- botanist
- fisher
- name: The Twelve
words:
- Halone
- Menphina
- Thaliak
- Nymeia
- Llymlaen
- Oschon
- Byregot
- Rhalgr
- Azeyma
- Nald'thal
- Nophica
- Althyk
- name: Things
words:
- item
- necessary item
- something
- something incredible
- weapon
- crystal
- job stone
- map
- Allagan tomestone
- gil
- scrip
- third-party tool
- name: Battle Tactics
words:
- stealth
- kiting
- jumping off
- aggro
- pursuit
- confusion
- single-target
- area of effect
- name: Actions
words:
- attacking
- healing
- jumping
- casting
- crafting
- gathering
- fishing
- running
- walking
- skill
- summoning
- name: Beings
words:
- goobbue
- chocobo
- cactuar
- porxie
- moogle
- goblin
- dragon
- ixal
- sahagin
- amalj'aa
- sylph
- kobold
- vanu vanu
- vath
- kojin
- namazu
- ananta
- pixie
- qitari
- dwarf
- arkasodara
- goat
- mameshiba
- name: Situations
words:
- morning
- noon
- evening
- night
- clear sky
- overcast
- rain
- storm
- mist
- snow
- battle
- ritual
- explosion
- safety
- danger
- hidden path
- secret passage
- dead end
- name: Places
words:
- Eorzea
- Garlemald
- the Source
- the First
- the Thirteenth
- high road
- bridge
- castle
- fort
- city
- ruins
- church
- tower
- camp site
- house
- tunnel
- cave
- great tree
- surface
- underground
- forest
- river
- lake
- mountain
- valley
- cliff
- waterside
- nest
- hole
- name: Directions
words:
- east
- west
- south
- north
- ahead
- behind
- left
- right
- centre
- up
- down
- edge
- name: Body Parts
words:
- head
- stomach
- back
- arms
- legs
- rump
- tail
- core
- fingers
- horns
- feet
- name: Affinities
words:
- physical
- magical
- magic
- fire
- lightning
- wind
- ice
- earth
- water
- unaspected
- poison
- bleed
- death
- name: Concepts
words:
- life
- death
- aether
- astral
- umbral
- calamity
- light
- darkness
- devastation
- fear
- despair
- joy
- bliss
- good luck
- bad luck
- secret
- faith
- loyalty
- name: Phrases
words:
- good luck
- look carefully
- listen carefully
- think carefully
- well done
- I did it!
- I've failed...
- here!
- not here!
- don't you dare!
- do it!
- I can't take this...
- don't think
- so lonely...
- here again...
- just getting started
- stay calm
- keep moving
- turn back
- give up
- don't give up
- help me...
- I don't believe it...
- too high up
- I want to go home...
- it's like a dream...
- seems familiar...
- beautiful...
- you don't have the right
- are you ready?
- this was not my intention
- gobbie-boom
- please look forward to it