Angband
grafmode.h
Go to the documentation of this file.
1 
18 #ifndef INCLUDED_GRAFMODE_H
19 #define INCLUDED_GRAFMODE_H
20 
21 #include "h-basic.h"
22 
26 #define GRAPHICS_NONE 0
27 
28 
44 typedef struct _graphics_mode {
52  char path[256];
53  char pref[32];
54  char file[32];
55  char menuname[32];
57 
60 extern int graphics_mode_high_id;
61 
62 bool init_graphics_modes();
63 void close_graphics_modes(void);
65 
66 #endif /* INCLUDED_GRAFMODE_H */
uint16_t u16b
Definition: h-basic.h:169
graphics_mode * get_graphics_mode(byte id)
Definition: grafmode.c:220
u16b cell_width
Definition: grafmode.h:50
bool init_graphics_modes()
Definition: grafmode.c:175
byte alphablend
Definition: grafmode.h:47
graphics_mode * current_graphics_mode
Definition: grafmode.c:25
char menuname[32]
Definition: grafmode.h:55
char path[256]
Definition: grafmode.h:52
struct _graphics_mode graphics_mode
Specifications for graphics modes.
byte grafID
Definition: grafmode.h:46
uint8_t byte
Definition: h-basic.h:167
u16b cell_height
Definition: grafmode.h:51
The lowest level header.
int graphics_mode_high_id
Definition: grafmode.c:26
Specifications for graphics modes.
Definition: grafmode.h:44
void close_graphics_modes(void)
Definition: grafmode.c:213
struct _graphics_mode * pNext
Definition: grafmode.h:45
byte overdrawRow
Definition: grafmode.h:48
byte overdrawMax
Definition: grafmode.h:49
graphics_mode * graphics_modes
Definition: grafmode.c:24
char pref[32]
Definition: grafmode.h:53
char file[32]
Definition: grafmode.h:54