you found greg! (#2458)
adds greg to the item tracker --------- Co-authored-by: briaguya <briaguya@alice>
This commit is contained in:
@@ -139,6 +139,10 @@ std::map<uint32_t, ItemMapEntry> itemMapping = {
|
||||
ITEM_MAP_ENTRY(ITEM_MAGIC_LARGE)
|
||||
};
|
||||
|
||||
std::map<uint32_t, ItemMapEntry> gregMapping = {
|
||||
{ITEM_RUPEE_GREEN, {ITEM_RUPEE_GREEN, "ITEM_RUPEE_GREEN", "ITEM_RUPEE_GREEN_Faded", "__OTR__textures/parameter_static/gRupeeCounterIconTex"}}
|
||||
};
|
||||
|
||||
// Maps entries in the GS flag array to the area name it represents
|
||||
std::vector<std::string> gsMapping = {
|
||||
"Deku Tree",
|
||||
@@ -1783,6 +1787,13 @@ void InitSaveEditor() {
|
||||
SohImGui::LoadResource(entry.second.name, entry.second.texturePath);
|
||||
SohImGui::LoadResource(entry.second.nameFaded, entry.second.texturePath, ImVec4(1, 1, 1, 0.3f));
|
||||
}
|
||||
for (const auto& entry : gregMapping) {
|
||||
ImVec4 gregGreen = ImVec4(42.0f / 255.0f, 169.0f / 255.0f, 40.0f / 255.0f, 1.0f);
|
||||
ImVec4 gregFadedGreen = gregGreen;
|
||||
gregFadedGreen.w = 0.3f;
|
||||
SohImGui::LoadResource(entry.second.name, entry.second.texturePath, gregGreen);
|
||||
SohImGui::LoadResource(entry.second.nameFaded, entry.second.texturePath, gregFadedGreen);
|
||||
}
|
||||
for (const auto& entry : questMapping) {
|
||||
SohImGui::LoadResource(entry.second.name, entry.second.texturePath);
|
||||
SohImGui::LoadResource(entry.second.nameFaded, entry.second.texturePath, ImVec4(1, 1, 1, 0.3f));
|
||||
|
||||
Reference in New Issue
Block a user