Angband
Data Fields
cmd_info Struct Reference

Holds a generic command - if cmd is set to other than CMD_NULL it simply pushes that command to the game, otherwise the hook function will be called. More...

#include <ui-input.h>

Data Fields

const char * desc
keycode_t key [2]
cmd_code cmd
void(* hook )(void)
bool(* prereq )(void)

Detailed Description

Holds a generic command - if cmd is set to other than CMD_NULL it simply pushes that command to the game, otherwise the hook function will be called.

Field Documentation

cmd_code cmd
const char* desc
void(* hook)(void)

Referenced by textui_process_command().

keycode_t key[2]
bool(* prereq)(void)

Referenced by textui_process_command().


The documentation for this struct was generated from the following file: