DDraceNetwork Docs
prompt.cpp File Reference
#include <engine/keys.h>
#include <game/client/ui_listbox.h>
#include <game/editor/quick_action.h>
#include "editor.h"
#include "prompt.h"
#include <game/editor/quick_actions.h>
Include dependency graph for prompt.cpp:

Macros

#define REGISTER_QUICK_ACTION(name, text, callback, disabled, active, button_color, description)   m_vQuickActions.emplace_back(&Editor()->m_QuickAction##name);
 

Functions

bool FuzzyMatch (const char *pHaystack, const char *pNeedle)
 

Macro Definition Documentation

◆ REGISTER_QUICK_ACTION

#define REGISTER_QUICK_ACTION (   name,
  text,
  callback,
  disabled,
  active,
  button_color,
  description 
)    m_vQuickActions.emplace_back(&Editor()->m_QuickAction##name);

Function Documentation

◆ FuzzyMatch()

bool FuzzyMatch ( const char *  pHaystack,
const char *  pNeedle 
)