diff options
| author | Garrett Cox <garrettjcox@gmail.com> | 2024-10-25 11:52:36 -0500 |
|---|---|---|
| committer | Garrett Cox <garrettjcox@gmail.com> | 2024-10-25 11:53:41 -0500 |
| commit | df60e5c2e708a8b4929a6e0c5bb6b8124df00c11 (patch) | |
| tree | 72e139610d9aa13c58f7d21bc96a499b239fb808 /mm/2s2h/DeveloperTools/SaveEditor.cpp | |
| parent | cbc89b8af4718e72349552642d162c2ef2725587 (diff) | |
Implement simple notifications system
Diffstat (limited to 'mm/2s2h/DeveloperTools/SaveEditor.cpp')
| -rw-r--r-- | mm/2s2h/DeveloperTools/SaveEditor.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/mm/2s2h/DeveloperTools/SaveEditor.cpp b/mm/2s2h/DeveloperTools/SaveEditor.cpp index 1853abe3d..b1e0287c2 100644 --- a/mm/2s2h/DeveloperTools/SaveEditor.cpp +++ b/mm/2s2h/DeveloperTools/SaveEditor.cpp @@ -1,6 +1,7 @@ #include "SaveEditor.h" #include "2s2h/BenGui/UIWidgets.hpp" #include "2s2h/GameInteractor/GameInteractor.h" +#include "2s2h/BenGui/Notification.h" #include "interface/icon_item_dungeon_static/icon_item_dungeon_static.h" #include "archives/icon_item_24_static/icon_item_24_static_yar.h" @@ -1994,24 +1995,6 @@ void SaveEditorWindow::DrawElement() { } } -const char* textureLoad[8] = { gDungeonStrayFairyWoodfallIconTex, - gDungeonStrayFairySnowheadIconTex, - gDungeonStrayFairyGreatBayIconTex, - gDungeonStrayFairyStoneTowerIconTex, - gQuestIconDungeonMapTex, - gQuestIconCompassTex, - gQuestIconSmallKeyTex, - gQuestIconBossKeyTex }; - void SaveEditorWindow::InitElement() { initSafeItemsForInventorySlot(); - - for (TexturePtr entry : gItemIcons) { - const char* path = static_cast<const char*>(entry); - Ship::Context::GetInstance()->GetWindow()->GetGui()->LoadGuiTexture(path, path, ImVec4(1, 1, 1, 1)); - } - for (int i = 0; i <= 7; i++) { - Ship::Context::GetInstance()->GetWindow()->GetGui()->LoadGuiTexture(textureLoad[i], textureLoad[i], - ImVec4(1, 1, 1, 1)); - } } |
