Load a list of possible graphics modes. More...
|Specifications for graphics modes. More...|
|Default graphic modes. |
|typedef struct _graphics_mode||graphics_mode|
|Specifications for graphics modes. |
|bool||init_graphics_modes (const char *filename)|
|graphics_mode *||get_graphics_mode (byte id)|
Load a list of possible graphics modes.
Copyright (c) 2011 Brett Reid
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.
|#define GRAPHICS_NONE 0|
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.