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 path [256]
 
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_size().

u16b cell_width

Referenced by parse_graf_size().

char file[32]

Referenced by parse_graf_name(), and parse_graf_size().

byte grafID
char menuname[32]

Referenced by parse_graf_name(), and test_prefs().

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

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