13 extern void SoundCmd(
unsigned char *data,
int len);
14 extern void Sound2Cmd(
unsigned char *data,
int len);
15 extern void MusicCmd(
const char *data,
int len);
22 extern void draw_info(
const char *str,
int color);
59 extern int main(
int argc,
char *argv[]);
66 extern void parse_key(
char key, KeyCode keycode, KeySym keysym,
int repeated);
void parse_key_release(KeyCode kc, KeySym ks)
void image_update_download_status(int start, int end, int total)
void draw_magic_map(void)
void close_container(item *op)
void open_container(item *op)
void draw_info(const char *str, int color)
int init_windows(int argc, char **argv)
void client_pickup(uint32 pickup)
void Sound2Cmd(unsigned char *data, int len)
void redisplay_stats(void)
void check_x_events(void)
void set_autorepeat(const char *s)
void display_map_startupdate(void)
void set_show_weight(const char *s)
snd_pcm_hw_params_t * params
void set_show_icon(const char *s)
uint8 * png_to_data(uint8 *data, int len, uint32 *width, uint32 *height)
static XColor discolor[16]
void command_show(const char *params)
void display_map_newmap(void)
void set_window_pos(void)
void get_map_image_size(int face, uint8 *w, uint8 *h)
int rgba_to_xpixmap(Display *display, Drawable draw, uint8 *pixels, Pixmap *pix, Pixmap *mask, Colormap *cmap, unsigned long width, unsigned long height)
int init_pngx_loader(Display *display)
uint8 * rescale_rgba_data(uint8 *data, int *width, int *height, int scale)
int associate_cache_entry(Cache_Entry *ce, int pixnum)
void resize_map_window(int x, int y)
void item_event_container_clearing(item *container)
void reset_image_data(void)
void display_map_doneupdate(int redraw, int notice)
void magic_map_flash_pos(void)
void item_event_item_deleting(item *it)
long pngx_find_color(Display *display, Colormap *cmap, int red, int green, int blue)
int find_face_in_private_cache(char *face, int checksum)
int display_mapscroll(int dx, int dy)
void allocate_colors(Display *disp, Window w, long screen_num, Colormap *colormap, XColor discolor[16])
void client_tick(uint32 tick)
void configure_keys(KeyCode k, KeySym keysym)
void addsmooth(uint16 face, uint16 smooth_face)
void bind_key(const char *params)
void SoundCmd(unsigned char *data, int len)
int png_to_xpixmap(Display *display, Drawable draw, unsigned char *data, int len, Pixmap *pix, Pixmap *mask, Colormap *cmap, unsigned long *width, unsigned long *height)
void set_weight_limit(uint32 wlim)
void cleanup_connection(void)
int create_and_rescale_image_from_data(Cache_Entry *ce, int pixmap_num, uint8 *rgba_data, int width, int height)
void parse_key(char key, KeyCode keycode, KeySym keysym, int repeated)
void MusicCmd(const char *data, int len)
void draw_color_info(int colr, const char *buf)
void parse_keybind_line(char *buf, int line, int standard)
char * get_metaserver(void)
void unbind_key(const char *params)
void item_event_item_changed(item *it)
void set_scroll(const char *s)
void draw_prompt(const char *str)
int main(int argc, char *argv[])
void init_cache_data(void)
void draw_stats(int redraw)
void draw_message_window(int redraw)
int error_handler(Display *dp, XErrorEvent *xe)