Angband
Data Fields
_graphics_mode Struct Reference

Specifications for graphics modes. More...

#include <grafmode.h>

Data Fields

struct _graphics_modepNext
byte grafID
byte alphablend
byte overdrawRow
byte overdrawMax
u16b cell_width
u16b cell_height
char pref [32]
char file [32]
char menuname [32]

Detailed Description

Specifications for graphics modes.

grafID: ID of tile set should be >0 and unique for anything new. alphablend: Bool whether or not the tileset needs alpha blending. overdrawRow: Row in the file where tiles in that row or lower draw the tile above as well. overdrawMax: Row in the file where tiles in that row or above draw the tile above as well. cell_width: Width of an individual tile in pixels. cell_height: Height of an individual tile in pixels. pref: Value of ANGBAND_GRAF variable. file: Name of PNG file (if any). menuname: Name of the tileset in menu.

Field Documentation

byte alphablend
u16b cell_height

Referenced by parse_graf_i().

u16b cell_width

Referenced by parse_graf_i().

char file[32]

Referenced by parse_graf_i(), and parse_graf_n().

byte grafID
char menuname[32]

Referenced by parse_graf_n(), and test_prefs().

byte overdrawMax
byte overdrawRow
struct _graphics_mode* pNext
char pref[32]

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