NetHack Proxy Reference Manual |
---|
Glyph MapGlyph Map — Describing the monster, object or other that a glyph represents |
#include <nhproxy/nhproxy.h> #define NHPROXY_LEVEL_MAPPING #define NHPROXY_LEVEL_FLAGS #define NHPROXY_LEVEL_SUBMAPPING #define NHPROXY_LEVEL_GLYPH #define NHPROXY_LEVEL_BASED_MAPPING #define NHPROXY_LEVEL_BASED_SUBMAPPING #define NHPROXY_LEVEL_BASED_GLYPH #define NHPROXY_MAX_NO_LEVELS struct nhproxy_glyph_map_info; struct nhproxy_glyph_mapping; struct nhproxy_glyph_mapping* nhproxy_glyph_map_first (struct nhproxy_glyph_map_info *info, struct nhproxy_cb_get_glyph_mapping_res *glyph_map); struct nhproxy_glyph_mapping* nhproxy_glyph_map_next (struct nhproxy_glyph_map_info *info); void nhproxy_glyph_map_close (struct nhproxy_glyph_map_info *info); unsigned int nhproxy_glyph_map_get_length (struct nhproxy_cb_get_glyph_mapping_res *glyph_map);
struct nhproxy_glyph_map_info { struct nhproxy_glyph_mapping current; struct nhproxy_cb_get_glyph_mapping_res *glyph_map; int mi, smi, gi, bsmi, bgi; const char *descs[NHPROXY_MAX_NO_LEVELS]; };
struct nhproxy_glyph_mapping { unsigned long rgbsym; int alt_glyph; unsigned int no_descs; const char **descs; };
struct nhproxy_glyph_mapping* nhproxy_glyph_map_first (struct nhproxy_glyph_map_info *info, struct nhproxy_cb_get_glyph_mapping_res *glyph_map);
info : | |
glyph_map : | |
Returns : |
struct nhproxy_glyph_mapping* nhproxy_glyph_map_next (struct nhproxy_glyph_map_info *info);
info : | |
Returns : |
void nhproxy_glyph_map_close (struct nhproxy_glyph_map_info *info);
info : |
unsigned int nhproxy_glyph_map_get_length (struct nhproxy_cb_get_glyph_mapping_res *glyph_map);
glyph_map : | |
Returns : |
<< Client services | Low Level Functionality >> |