Angband
ui-display.h
Go to the documentation of this file.
1 
20 #ifndef INCLUDED_UI_DISPLAY_H
21 #define INCLUDED_UI_DISPLAY_H
22 
23 #include "angband.h"
24 #include "cmd-core.h"
25 
26 extern const char *stat_names[STAT_MAX];
27 extern const char *stat_names_reduced[STAT_MAX];
28 extern const char *window_flag_desc[32];
29 
31 void cnv_stat(int val, char *out_val, size_t out_len);
32 void allow_animations(void);
33 void disallow_animations(void);
34 void idle_update(void);
35 void toggle_inven_equip(void);
36 void subwindows_set_flags(u32b *new_flags, size_t n_subwindows);
37 void init_display(void);
38 
39 #endif /* INCLUDED_UI_DISPLAY_H */
Definition: player.h:56
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...
Definition: ui-display.c:2061
Includes basic includes.
uint32_t u32b
Definition: h-basic.h:172
void idle_update(void)
This is used when the user is idle to allow for simple animations.
Definition: ui-display.c:1253
uint8_t byte
Definition: h-basic.h:167
void toggle_inven_equip(void)
Flip "inven" and "equip" in any sub-windows.
Definition: ui-display.c:1527
const char * stat_names_reduced[STAT_MAX]
Abbreviations of damaged stats.
Definition: ui-display.c:104
Handles the queueing of game commands.
byte monster_health_attr(void)
Calculate the monster bar color separately, for ports.
Definition: ui-display.c:344
void cnv_stat(int val, char *out_val, size_t out_len)
Converts stat num into a six-char (right justified) string.
Definition: ui-display.c:112
void init_display(void)
Definition: ui-display.c:2577
const char * window_flag_desc[32]
Certain "screens" always use the main screen, including News, Birth, Dungeon, Tomb-stone, High-scores, Macros, Colors, Visuals, Options.
Definition: ui-display.c:1854
const char * stat_names[STAT_MAX]
Abbreviations of healthy stats.
Definition: ui-display.c:96
void disallow_animations(void)
Set animations to disallowed.
Definition: ui-display.c:1236
void allow_animations(void)
Set animations to allowed.
Definition: ui-display.c:1228