yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
command_palette_goto.h File Reference
#include <cstddef>
#include <optional>
#include <string>
#include <string_view>
#include "app/editor/system/commands/command_palette.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yaze::editor::GotoQuery
 

Namespaces

namespace  yaze
 
namespace  yaze::editor
 Editors are the view controllers for the application.
 

Enumerations

enum class  yaze::editor::GotoKind { yaze::editor::kRoom , yaze::editor::kOverworldMap , yaze::editor::kMessage , yaze::editor::kSprite }
 

Functions

std::optional< GotoQuery > yaze::editor::ParseGotoQuery (std::string_view query)
 
std::optional< int > yaze::editor::ParseGotoId (std::string_view token)
 Parse a single id token using the formats above. nullopt if malformed.
 
int yaze::editor::GotoMaxId (GotoKind kind)
 Inclusive upper bound for kind.
 
const char * yaze::editor::GotoKindName (GotoKind kind)
 
bool yaze::editor::GotoKindHasJumpPath (GotoKind kind)
 True when a jump path exists for kind (sprites have none yet).
 
CommandEntry yaze::editor::BuildGotoEntry (const GotoQuery &query, size_t session_id)