Handles the setting up updating, and cleaning up of the game display. More...
|Calculate the monster bar color separately, for ports. More...|
|void||cnv_stat (int val, char *out_val, size_t out_len)|
|Converts stat num into a six-char (right justified) string. More...|
|Set animations to allowed. More...|
|Set animations to disallowed. More...|
|This is used when the user is idle to allow for simple animations. More...|
|Flip "inven" and "equip" in any sub-windows. More...|
|void||subwindows_set_flags (u32b *new_flags, size_t n_subwindows)|
|Called with an array of the new flags for all the subwindows, in order to set them to the new values, with a chance to perform housekeeping. More...|
|const char *||stat_names [STAT_MAX]|
|Abbreviations of healthy stats. More...|
|const char *||stat_names_reduced [STAT_MAX]|
|Abbreviations of damaged stats. More...|
|const char *||window_flag_desc |
|Certain "screens" always use the main screen, including News, Birth, Dungeon, Tomb-stone, High-scores, Macros, Colors, Visuals, Options. More...|
Handles the setting up updating, and cleaning up of the game display.
Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke Copyright (c) 2007 Antony Sidwell
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.
Set animations to disallowed.
Referenced by target_set_interactive().
References event_add_handler(), EVENT_ENTER_GAME, EVENT_ENTER_INIT, EVENT_ENTER_WORLD, EVENT_LEAVE_GAME, EVENT_LEAVE_INIT, EVENT_LEAVE_WORLD, NULL, ui_enter_game(), ui_enter_init(), ui_enter_world(), ui_init_birthstate_handlers(), ui_leave_game(), ui_leave_init(), and ui_leave_world().
Referenced by main().
Calculate the monster bar color separately, for ports.
References monster::attr, COLOUR_BLUE, COLOUR_DARK, COLOUR_L_BLUE, COLOUR_L_GREEN, COLOUR_L_RED, COLOUR_ORANGE, COLOUR_RED, COLOUR_UMBER, COLOUR_VIOLET, COLOUR_WHITE, COLOUR_YELLOW, player_upkeep::health_who, monster::hp, monster::m_timed, monster::maxhp, monster::mflag, mflag_has, player::timed, and player::upkeep.
Referenced by prt_health().
Flip "inven" and "equip" in any sub-windows.
References angband_term, ANGBAND_TERM_MAX, flip_inven, i, NULL, OLIST_QUIVER, OLIST_WEIGHT, OLIST_WINDOW, PW_EQUIP, PW_INVEN, show_equip(), show_inven(), Term, Term_activate(), Term_fresh(), and window_flag.
|const char* window_flag_desc|
Certain "screens" always use the main screen, including News, Birth, Dungeon, Tomb-stone, High-scores, Macros, Colors, Visuals, Options.
Later, special flags may allow sub-windows to "steal" stuff from the main window, including File dump (help), File dump (artifacts, uniques), Character screen, Small scale map, Previous Messages, Store screen, etc.