3#include "absl/strings/str_format.h"
9#include "imgui/imgui.h"
30 if (each.map_id_ < 0x40 + (current_world * 0x40) &&
31 each.map_id_ >= (current_world * 0x40) && !each.deleted) {
33 ImVec4 entrance_color = GetEntranceColor();
36 entrance_color.w = 0.78f;
61 if (each.map_id_ < 0x40 + (current_world * 0x40) &&
62 each.map_id_ >= (current_world * 0x40) && !each.deleted_) {
84 if (item.room_map_id_ < 0x40 + (current_world * 0x40) &&
85 item.room_map_id_ >= (current_world * 0x40) && !item.deleted) {
94 std::string item_name =
"";
98 item_name = absl::StrFormat(
"0x%02X", item.id_);
113 if (!sprite.deleted() && sprite.map_id() < 0x40 + (current_world * 0x40) &&
114 sprite.map_id() >= (current_world * 0x40)) {
117 int sprite_x = sprite.x_;
118 int sprite_y = sprite.y_;
121 int original_x = sprite.x_;
122 int original_y = sprite.y_;
142 sprite.x_ = original_x;
143 sprite.y_ = original_y;
zelda3::GameEntity * hovered_entity_
void DrawEntrances(ImVec2 canvas_p0, ImVec2 scrolling, int current_world, int current_mode)
zelda3::Overworld * overworld_
void DrawSprites(int current_world, int game_state, int current_mode)
void DrawItems(int current_world, int current_mode)
std::vector< gfx::Bitmap > * sprite_previews_
void DrawExits(ImVec2 canvas_p0, ImVec2 scrolling, int current_world, int current_mode)
void DrawBitmap(Bitmap &bitmap, int border_offset, float scale)
void DrawRect(int x, int y, int w, int h, ImVec4 color)
void DrawText(const std::string &text, int x, int y)
auto mutable_sprites(int state)
const std::vector< OverworldEntrance > & entrances() const
ImVec4 GetEntranceColor()
bool IsMouseHoveringOverEntity(const zelda3::GameEntity &entity, ImVec2 canvas_p0, ImVec2 scrolling)
std::string HexByte(uint8_t byte, HexStringParams params)
const std::vector< std::string > kSecretItemNames
Main namespace for the application.
bool kDrawOverworldSprites
struct yaze::core::FeatureFlags::Flags::Overworld overworld