Angband
Functions
ui-store.h File Reference

Store UI. More...

Go to the source code of this file.

Functions

void textui_store_knowledge (int n)
 Display contents of a store from knowledge menu.
void textui_enter_store (void)
 Enter a store, and interact with it.
void enter_store (game_event_type type, game_event_data *data, void *user)
void leave_store (game_event_type type, game_event_data *data, void *user)

Detailed Description

Store UI.

Copyright (c) 1997 Robert A. Koeneke, James E. Wilson, Ben Harrison Copyright (c) 1998-2014 Angband developers

This work is free software; you can redistribute it and/or modify it under the terms of either:

a) the GNU General Public License as published by the Free Software Foundation, version 2, or

b) the "Angband licence": This software may be copied and distributed for educational, research, and not for profit purposes provided that this copyright and statement are included in all such copies. Other copyrights may also apply.

Function Documentation

void enter_store ( game_event_type  type,
game_event_data data,
void user 
)
void leave_store ( game_event_type  type,
game_event_data data,
void user 
)
void textui_enter_store ( void  )
void textui_store_knowledge ( int  n)

Display contents of a store from knowledge menu.

The only allowed actions are 'I' to inspect an item

References clear_from(), EVENT_MESSAGE_FLUSH, event_signal(), FALSE, store_context::list, mem_free(), store_context::menu, menu_select(), screen_load(), screen_save(), store_menu_init(), stores, and TRUE.

Referenced by do_cmd_knowledge_store().