summaryrefslogtreecommitdiff
path: root/mm/2s2h/DeveloperTools/SaveEditor.cpp
diff options
context:
space:
mode:
authorGarrett Cox <garrettjcox@gmail.com>2024-10-25 12:09:42 -0500
committerGarrett Cox <garrettjcox@gmail.com>2024-10-25 12:09:42 -0500
commit60709423a5db304616f9abbc46288265a78a67e6 (patch)
tree9842699d8d27259469e135a2839568bed9d19857 /mm/2s2h/DeveloperTools/SaveEditor.cpp
parent2e5652e0f5d8e3e8733c7c6143b73defd791e835 (diff)
parentdf60e5c2e708a8b4929a6e0c5bb6b8124df00c11 (diff)
Merge branch 'notifications' of garrettjoecox.github.com:garrettjoecox/2ship2harkinian into develop-rando
Diffstat (limited to 'mm/2s2h/DeveloperTools/SaveEditor.cpp')
-rw-r--r--mm/2s2h/DeveloperTools/SaveEditor.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/mm/2s2h/DeveloperTools/SaveEditor.cpp b/mm/2s2h/DeveloperTools/SaveEditor.cpp
index 769ab35d0..6837919cf 100644
--- a/mm/2s2h/DeveloperTools/SaveEditor.cpp
+++ b/mm/2s2h/DeveloperTools/SaveEditor.cpp
@@ -4,6 +4,7 @@
#include "2s2h/Rando/Rando.h"
#include "2s2h/CustomMessage/CustomMessage.h"
#include "2s2h/CustomItem/CustomItem.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"
@@ -2040,24 +2041,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));
- }
}