Crossfire Client, Branches
R11627
|
#include <config.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <unistd.h>
#include <png.h>
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <gdk/gdkkeysyms.h>
#include "client-types.h"
#include "gx11.h"
#include "client.h"
#include "gtkproto.h"
#include "mapdata.h"
Go to the source code of this file.
Functions | |
static void | display_mapcell (int ax, int ay, int mx, int my) |
int | display_mapscroll (int dx, int dy) |
static void | draw_pixmap (int srcx, int srcy, int dstx, int dsty, int clipx, int clipy, void *mask, void *image, int sizex, int sizey) |
void | drawsmooth (int mx, int my, int layer, int picx, int picy) |
void | gtk_draw_map (int redraw) |
void | reset_map (void) |
Variables | |
PlayerPosition | pl_pos |
const char *const | rcsid_gtk_map_c |
struct Map | the_map |
|
static |
Definition at line 219 of file map.c.
References Map::cells, MapCell::cleared, CONFIG_FOGWAR, CONFIG_SMOOTH, dark, dark1, dark2, dark3, MapCell::darkness, draw_pixmap(), drawingarea, drawsmooth(), PixmapInfo::map_height, map_image_size, PixmapInfo::map_width, mapdata_bigface(), mapdata_face(), mapwindow, MAXLAYERS, pixmaps, the_map, TRUE, and use_config.
Referenced by gtk_draw_map().
|
static |
Definition at line 80 of file map.c.
References mapgc, and mapwindow.
Referenced by display_mapcell(), and drawsmooth().
void drawsmooth | ( | int | mx, |
int | my, | ||
int | layer, | ||
int | picx, | ||
int | picy | ||
) |
Definition at line 104 of file map.c.
Referenced by display_mapcell().
void gtk_draw_map | ( | int | redraw | ) |
Definition at line 337 of file map.c.
Referenced by draw_map().
void reset_map | ( | void | ) |
Request a map update from the server. This is to circumvent a bug in some server versions.
Definition at line 76 of file map.c.
Referenced by display_map_newmap().
PlayerPosition pl_pos |
const char* const rcsid_gtk_map_c |
struct Map the_map |
Definition at line 121 of file mapdata.c.
Referenced by display_map_doneupdate(), display_mapcell(), drawsmooth(), expand_clear_bigface(), expand_clear_face(), expand_clear_face_from_layer(), expand_need_update(), expand_need_update_from_layer(), expand_set_bigface(), expand_set_face(), ExtSmooth(), gtk_draw_map(), mapdata_animation(), mapdata_bigface(), mapdata_clear_old(), mapdata_clear_space(), mapdata_face(), mapdata_init(), mapdata_newmap(), mapdata_scroll(), mapdata_set_anim_layer(), mapdata_set_check_space(), mapdata_set_face_layer(), mapdata_set_smooth(), mark_resmooth(), recenter_virtual_map_view(), script_process_cmd(), send_map(), and set_darkness().