Go to the source code of this file.
|
| namespace | yaze |
| | Main namespace for the application.
|
| |
| namespace | yaze::editor |
| | Editors are the view controllers for the application.
|
| |
|
| absl::StatusOr< zelda3::OverworldEntrance * > | yaze::editor::InsertEntrance (zelda3::Overworld *overworld, ImVec2 mouse_pos, int current_map, bool is_hole=false) |
| | Flat helper functions for entity insertion/manipulation.
|
| |
| absl::StatusOr< zelda3::OverworldExit * > | yaze::editor::InsertExit (zelda3::Overworld *overworld, ImVec2 mouse_pos, int current_map) |
| | Insert a new exit at the specified position.
|
| |
| absl::StatusOr< zelda3::Sprite * > | yaze::editor::InsertSprite (zelda3::Overworld *overworld, ImVec2 mouse_pos, int current_map, int game_state, uint8_t sprite_id=0) |
| | Insert a new sprite at the specified position.
|
| |
| absl::StatusOr< zelda3::OverworldItem * > | yaze::editor::InsertItem (zelda3::Overworld *overworld, ImVec2 mouse_pos, int current_map, uint8_t item_id=0) |
| | Insert a new item at the specified position.
|
| |
| uint8_t | yaze::editor::GetParentMapId (const zelda3::OverworldMap *map, int current_map) |
| | Helper to get parent map ID for multi-area maps.
|
| |
| ImVec2 | yaze::editor::SnapToEntityGrid (ImVec2 pos) |
| | Snap position to 16x16 grid (standard entity positioning)
|
| |
| ImVec2 | yaze::editor::ClampToOverworldBounds (ImVec2 pos) |
| | Clamp position to valid overworld bounds.
|
| |