yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
dungeon_object_selector.cc File Reference

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 
namespace  yaze::editor::anonymous_namespace{dungeon_object_selector.cc}
 

Functions

float yaze::editor::anonymous_namespace{dungeon_object_selector.cc}::GetObjectGridItemSize (int density)
 
ImU32 yaze::editor::anonymous_namespace{dungeon_object_selector.cc}::ThemeColor (const ImVec4 &color)
 
ImVec4 yaze::editor::anonymous_namespace{dungeon_object_selector.cc}::WithAlpha (ImVec4 color, float alpha)
 
void yaze::editor::anonymous_namespace{dungeon_object_selector.cc}::DrawFallbackPreviewTile (ImDrawList *draw_list, ImVec2 top_left, ImVec2 size, const ImVec4 &accent_color, const char *label)
 
const char * yaze::editor::anonymous_namespace{dungeon_object_selector.cc}::CustomObjectMappingOriginLabel (zelda3::CustomObjectMappingOrigin origin)
 
DungeonObjectSelectorGridLayout yaze::editor::ResolveDungeonObjectSelectorGridLayout (float available_width, float preferred_item_size, float item_spacing, float min_item_size)
 
DungeonObjectPreviewFit yaze::editor::ResolveDungeonObjectPreviewFit (float source_width, float source_height, float box_width, float box_height)
 
bool yaze::editor::MatchesDungeonObjectStreamFilter (int object_id, int selected_filter)
 
bool yaze::editor::IsDungeonCustomObjectRuntimeSlot (int object_id, int subtype)
 
bool yaze::editor::IsMinecartGraphicsRuntimeSlot (int object_id, int subtype)
 
std::string yaze::editor::GetDungeonCustomObjectSlotName (int object_id, int subtype)
 

Variables

constexpr int yaze::editor::anonymous_namespace{dungeon_object_selector.cc}::kPersistedCustomSubtypeSlots = 16
 
constexpr const char * yaze::editor::anonymous_namespace{dungeon_object_selector.cc}::kObjectGridDensityLabels []