Crossfire Client, Trunk  R20507
Data Structures | Macros | Functions | Variables
mapdata.c File Reference

Map processing functions. More...

#include "client.h"
#include <assert.h>
#include <stdbool.h>
#include "external.h"
#include "mapdata.h"
Include dependency graph for mapdata.c:

Go to the source code of this file.

Data Structures

struct  BigCell
 The struct BigCell describes a tile outside the view area. More...
 

Macros

#define CURRENT_MAX_VIEW   33
 
#define FOG_BORDER_MIN   128
 After shifting the virtual map: new minimum distance of the view area to the new virtual map border. More...
 
#define FOG_MAP_SIZE   512
 Size of virtual map. More...
 
#define MAX_FACE_SIZE   16
 Maximum size of a big face image in tiles. More...
 

Functions

static void clear_cells (int x, int y, int len_y)
 Clear cells the_map.cells[x][y..y+len_y-1]. More...
 
static void expand_clear_bigface (int x, int y, int w, int h, int layer, int set_need_update)
 Clear a face from bigfaces[]. More...
 
static void expand_clear_bigface_from_layer (int x, int y, int layer, int set_need_update)
 Clear a face from bigfaces[]. More...
 
static void expand_clear_face (int x, int y, int w, int h, int layer)
 Clear a face from the_map.cells[]. More...
 
static void expand_clear_face_from_layer (int x, int y, int layer)
 Clear a face from the_map.cells[]. More...
 
static void expand_need_update (int x, int y, int w, int h)
 Mark a face as "need_update". More...
 
static void expand_need_update_from_layer (int x, int y, int layer)
 Mark a face as "need_update". More...
 
static void expand_set_bigface (int x, int y, int layer, gint16 face, int clear)
 Update a face into bigfaces[]. More...
 
static void expand_set_face (int x, int y, int layer, gint16 face, int clear)
 Update a face into the_map.cells[]. More...
 
void mapdata_animation (void)
 
gint16 mapdata_bigface (int x, int y, int layer, int *ww, int *hh)
 Return the face number of a multi-square pixmap at the given map tile. More...
 
gint16 mapdata_bigface_head (int x, int y, int layer, int *ww, int *hh)
 
bool mapdata_can_smooth (int x, int y, int layer)
 
struct MapCellmapdata_cell (int x, int y)
 Get the stored map cell at the given map coordinate. More...
 
void mapdata_clear_old (int x, int y)
 
void mapdata_clear_space (int x, int y)
 
bool mapdata_contains (int x, int y)
 Determine whether the map data contains the given cell. More...
 
gint16 mapdata_face (int x, int y, int layer)
 Return the face number of a single-square pixmap at the given map tile. More...
 
gint16 mapdata_face_info (int mx, int my, int layer, int *dx, int *dy)
 Return the face number of the pixmap in the given map cell and set the offset pointers to indicate where to correctly draw the face. More...
 
static void mapdata_get_image_size (int face, guint8 *w, guint8 *h)
 Return the size of a face in tiles. More...
 
static bool mapdata_has_tile (int x, int y, int layer)
 Check if the given map tile is a valid slot in the map array. More...
 
void mapdata_init (void)
 Initializes the module. More...
 
int mapdata_is_inside (int x, int y)
 Checks whether the given coordinates are within the current display size (as set by mapdata_set_size). More...
 
void mapdata_newmap (void)
 Clears the map view. More...
 
void mapdata_scroll (int dx, int dy)
 Scrolls the map view. More...
 
void mapdata_set_anim_layer (int x, int y, guint16 anim, guint8 anim_speed, int layer)
 
void mapdata_set_check_space (int x, int y)
 
void mapdata_set_darkness (int x, int y, int darkness)
 
void mapdata_set_face_layer (int x, int y, gint16 face, int layer)
 
void mapdata_set_size (int viewx, int viewy)
 Sets the current display size. More...
 
void mapdata_set_smooth (int x, int y, int smooth, int layer)
 
void mapdata_size (int *x, int *y)
 Determine the size of the internal fog-of-war map. More...
 
static void mark_resmooth (int x, int y, int layer)
 
static void recenter_virtual_map_view (int diff_x, int diff_y)
 Check if current map position is out of bounds if shifted by (dx, dy). More...
 
static void set_darkness (int x, int y, int darkness)
 Update darkness information. More...
 

Variables

static struct BigCell bigfaces [MAX_VIEW][MAX_VIEW][MAXLAYERS]
 The variable bigfaces[] contains information about big faces (faces with a width or height >1). More...
 
static struct BigCellbigfaces_head
 Contains the head of a list of all currently active big faces outside the view area. More...
 
static int height
 
struct Map the_map
 
static int width
 Viewable map size, in number of tiles. More...
 

Detailed Description

Map processing functions.

Definition in file mapdata.c.

Macro Definition Documentation

#define CURRENT_MAX_VIEW   33

Definition at line 48 of file mapdata.c.

Referenced by mapdata_animation().

#define FOG_BORDER_MIN   128

After shifting the virtual map: new minimum distance of the view area to the new virtual map border.

Definition at line 36 of file mapdata.c.

Referenced by recenter_virtual_map_view().

#define FOG_MAP_SIZE   512
#define MAX_FACE_SIZE   16

Maximum size of a big face image in tiles.

Larger faces will be clipped top/left.

Definition at line 41 of file mapdata.c.

Referenced by expand_clear_bigface(), expand_clear_face(), expand_need_update(), expand_set_bigface(), expand_set_face(), mapdata_bigface(), mapdata_get_image_size(), and recenter_virtual_map_view().

Function Documentation

static void clear_cells ( int  x,
int  y,
int  len_y 
)
static

Clear cells the_map.cells[x][y..y+len_y-1].

Definition at line 104 of file mapdata.c.

References Map::cells, MapCell::heads, MAXLAYERS, MapCellLayer::size_x, MapCellLayer::size_y, the_map, and BigCell::x.

Referenced by mapdata_init(), mapdata_newmap(), and recenter_virtual_map_view().

Here is the caller graph for this function:

static void expand_clear_bigface ( int  x,
int  y,
int  w,
int  h,
int  layer,
int  set_need_update 
)
static

Clear a face from bigfaces[].

x, y, and layer are the coordinates and layer of the head relative to pl_pos.

w and h give the width and height of the face to clear.

If set_need_update is set, all affected tiles are marked as "need_update".

Definition at line 346 of file mapdata.c.

References bigfaces, Map::cells, MapCellLayer::face, FOG_MAP_SIZE, BigCell::head, height, BigCell::layer, MAX_FACE_SIZE, MAX_VIEW, MAXLAYERS, MapCell::need_update, pl_pos, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::tail, the_map, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by expand_clear_bigface_from_layer().

Here is the caller graph for this function:

static void expand_clear_bigface_from_layer ( int  x,
int  y,
int  layer,
int  set_need_update 
)
static

Clear a face from bigfaces[].

x, y, and layer are the coordinates and layer of the head relative to pl_pos.

If set_need_update is set, all affected tiles are marked as "need_update".

Definition at line 400 of file mapdata.c.

References bigfaces, expand_clear_bigface(), MapCellLayer::face, BigCell::head, BigCell::layer, MAX_VIEW, MAXLAYERS, BigCell::next, BigCell::prev, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::x, and BigCell::y.

Referenced by expand_set_bigface(), mapdata_newmap(), and mapdata_scroll().

Here is the call graph for this function:

Here is the caller graph for this function:

static void expand_clear_face ( int  x,
int  y,
int  w,
int  h,
int  layer 
)
static

Clear a face from the_map.cells[].

x, y, and layer are the coordinates of the head and layer relative to pl_pos.

w and h give the width and height of the face to clear.

Definition at line 213 of file mapdata.c.

References MapCellLayer::animation, MapCellLayer::animation_left, MapCellLayer::animation_phase, MapCellLayer::animation_speed, Map::cells, MapCellLayer::face, FOG_MAP_SIZE, MapCell::heads, BigCell::layer, mapdata_cell(), mark_resmooth(), MAX_FACE_SIZE, MAXLAYERS, MapCell::need_resmooth, MapCell::need_update, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::tail, MapCell::tails, and the_map.

Referenced by expand_clear_face_from_layer().

Here is the call graph for this function:

Here is the caller graph for this function:

static void expand_clear_face_from_layer ( int  x,
int  y,
int  layer 
)
static

Clear a face from the_map.cells[].

x, y, and layer are the coordinates of the head and layer relative to pl_pos.

Definition at line 268 of file mapdata.c.

References expand_clear_face(), FOG_MAP_SIZE, MapCell::heads, BigCell::layer, mapdata_cell(), MAXLAYERS, MapCellLayer::size_x, and MapCellLayer::size_y.

Referenced by expand_set_face(), mapdata_animation(), mapdata_bigface(), mapdata_clear_old(), mapdata_set_anim_layer(), and mapdata_set_face_layer().

Here is the call graph for this function:

Here is the caller graph for this function:

static void expand_need_update ( int  x,
int  y,
int  w,
int  h 
)
static

Mark a face as "need_update".

x and y are the coordinates of the head relative to pl_pos.

w and h is the size of the face.

Definition at line 511 of file mapdata.c.

References Map::cells, FOG_MAP_SIZE, MAX_FACE_SIZE, MapCell::need_update, and the_map.

Referenced by expand_need_update_from_layer().

Here is the caller graph for this function:

static void expand_need_update_from_layer ( int  x,
int  y,
int  layer 
)
static

Mark a face as "need_update".

x, y, and layer are the coordinates and layer of the head relative to pl_pos.

Definition at line 539 of file mapdata.c.

References expand_need_update(), MapCellLayer::face, FOG_MAP_SIZE, BigCell::head, MapCell::heads, BigCell::layer, mapdata_cell(), MAXLAYERS, MapCellLayer::size_x, and MapCellLayer::size_y.

Referenced by mapdata_clear_space(), and mapdata_set_check_space().

Here is the call graph for this function:

Here is the caller graph for this function:

static void expand_set_bigface ( int  x,
int  y,
int  layer,
gint16  face,
int  clear 
)
static

Update a face into bigfaces[].

x, y, and layer are the coordinates and layer of the head relative to pl_pos.

face is the new face to set.

Definition at line 446 of file mapdata.c.

References bigfaces, bigfaces_head, Map::cells, expand_clear_bigface_from_layer(), MapCellLayer::face, FOG_MAP_SIZE, BigCell::head, height, BigCell::layer, mapdata_get_image_size(), MAX_FACE_SIZE, MAX_VIEW, MAXLAYERS, MapCell::need_update, BigCell::next, pl_pos, BigCell::prev, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::tail, the_map, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by mapdata_animation(), mapdata_clear_space(), mapdata_set_anim_layer(), and mapdata_set_face_layer().

Here is the call graph for this function:

Here is the caller graph for this function:

static void expand_set_face ( int  x,
int  y,
int  layer,
gint16  face,
int  clear 
)
static

Update a face into the_map.cells[].

x, y, and layer are the coordinates and layer of the head relative to pl_pos.

face is the new face to set. if clear is set, clear this face. If not set, don't clear. the reason clear may not be set is because this is an animation update - animations must all be the same size, so when we set the data for the space, we will just overwrite the old data. Problem with clearing is that clobbers the animation data.

Definition at line 295 of file mapdata.c.

References Map::cells, expand_clear_face_from_layer(), MapCellLayer::face, FOG_MAP_SIZE, MapCell::heads, BigCell::layer, mapdata_cell(), mapdata_get_image_size(), mark_resmooth(), MAX_FACE_SIZE, MAXLAYERS, MapCell::need_update, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::tail, MapCell::tails, and the_map.

Referenced by mapdata_animation(), mapdata_set_anim_layer(), and mapdata_set_face_layer().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_animation ( void  )
gint16 mapdata_bigface ( int  x,
int  y,
int  layer,
int *  ww,
int *  hh 
)

Return the face number of a multi-square pixmap at the given map tile.

Returns the face to display at a given location.

Parameters
xX-coordinate of tile on-screen
yY-coordinate of tile on-screen
layer
ww
hh
Returns
Pixmap face number, or zero if the tile does not exist

Definition at line 1047 of file mapdata.c.

References bigfaces, Map::cells, MapCell::cleared, expand_clear_face_from_layer(), MapCellLayer::face, BigCell::head, MapCell::heads, height, BigCell::layer, mapdata_has_tile(), MAX_FACE_SIZE, pl_pos, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::tail, MapCell::tails, the_map, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Here is the call graph for this function:

gint16 mapdata_bigface_head ( int  x,
int  y,
int  layer,
int *  ww,
int *  hh 
)

Definition at line 1128 of file mapdata.c.

References bigfaces, MapCellLayer::face, BigCell::head, BigCell::layer, mapdata_has_tile(), MapCellLayer::size_x, MapCellLayer::size_y, BigCell::x, and BigCell::y.

Here is the call graph for this function:

bool mapdata_can_smooth ( int  x,
int  y,
int  layer 
)

Definition at line 134 of file mapdata.c.

References MapCell::heads, BigCell::layer, mapdata_cell(), and MapCell::smooth.

Referenced by drawsmooth().

Here is the call graph for this function:

Here is the caller graph for this function:

struct MapCell* mapdata_cell ( int  x,
int  y 
)
void mapdata_clear_old ( int  x,
int  y 
)

Definition at line 787 of file mapdata.c.

References MapCell::cleared, MapCell::darkness, expand_clear_face_from_layer(), FOG_MAP_SIZE, MapCell::have_darkness, height, mapdata_cell(), MAX_VIEW, MAXLAYERS, pl_pos, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by Map2Cmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_clear_space ( int  x,
int  y 
)

Definition at line 633 of file mapdata.c.

References MapCell::cleared, expand_need_update_from_layer(), expand_set_bigface(), FOG_MAP_SIZE, MapCell::heads, height, mapdata_cell(), MAX_VIEW, MAXLAYERS, MapCell::need_update, pl_pos, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by Map2Cmd().

Here is the call graph for this function:

Here is the caller graph for this function:

bool mapdata_contains ( int  x,
int  y 
)

Determine whether the map data contains the given cell.

Definition at line 126 of file mapdata.c.

References the_map, Map::x, and Map::y.

Referenced by drawsmooth(), ExtSmooth(), and send_map().

Here is the caller graph for this function:

gint16 mapdata_face ( int  x,
int  y,
int  layer 
)

Return the face number of a single-square pixmap at the given map tile.

Returns the face to display at a given location.

Parameters
xX-coordinate of tile on-screen
yY-coordinate of tile on-screen
layer
Returns
Pixmap face number, or zero if the tile does not exist

Definition at line 1013 of file mapdata.c.

References Map::cells, MapCellLayer::face, MapCell::heads, BigCell::layer, mapdata_has_tile(), pl_pos, the_map, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Here is the call graph for this function:

gint16 mapdata_face_info ( int  mx,
int  my,
int  layer,
int *  dx,
int *  dy 
)

Return the face number of the pixmap in the given map cell and set the offset pointers to indicate where to correctly draw the face.

Offsets are zero for single-tile maps and negative for multi-tile maps. This provides a consistent way to draw tiles no matter single or multi part.

Parameters
mxVirtual map x-coordinate
myVirtual map y-coordinate
layerMap layer number
dxPointer to store x-offset
dyPointer to store y-offset
Returns
Pixmap face number, zero if the tile does not exist

Definition at line 1021 of file mapdata.c.

References Map::cells, MapCellLayer::face, BigCell::head, MapCell::heads, height, BigCell::layer, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::tail, MapCell::tails, the_map, and width.

Referenced by map_draw_layer().

Here is the caller graph for this function:

static void mapdata_get_image_size ( int  face,
guint8 *  w,
guint8 *  h 
)
static

Return the size of a face in tiles.

The returned size is at between 1 and MAX_FACE_SIZE (inclusive).

Definition at line 1314 of file mapdata.c.

References get_map_image_size(), and MAX_FACE_SIZE.

Referenced by expand_set_bigface(), and expand_set_face().

Here is the call graph for this function:

Here is the caller graph for this function:

static bool mapdata_has_tile ( int  x,
int  y,
int  layer 
)
static

Check if the given map tile is a valid slot in the map array.

Definition at line 996 of file mapdata.c.

References height, MAXLAYERS, and width.

Referenced by mapdata_bigface(), mapdata_bigface_head(), and mapdata_face().

Here is the caller graph for this function:

void mapdata_init ( void  )

Initializes the module.

Allocates memory for the_map. This functions must be called before any other function is used.

Definition at line 556 of file mapdata.c.

References bigfaces, Map::cells, clear_cells(), MapCellLayer::face, FOG_MAP_SIZE, BigCell::head, height, BigCell::layer, LOG(), LOG_ERROR, MAX_VIEW, MAXLAYERS, BigCell::next, pl_pos, BigCell::prev, MapCellLayer::size_x, MapCellLayer::size_y, BigCell::tail, the_map, width, Map::x, BigCell::x, PlayerPosition::x, Map::y, BigCell::y, and PlayerPosition::y.

Referenced by config_check(), mapdata_set_size(), and reset_vars_common().

Here is the call graph for this function:

Here is the caller graph for this function:

int mapdata_is_inside ( int  x,
int  y 
)

Checks whether the given coordinates are within the current display size (as set by mapdata_set_size).

Definition at line 624 of file mapdata.c.

References height.

void mapdata_newmap ( void  )

Clears the map view.

Must be called whenever a newmap command was received from the server.

Definition at line 975 of file mapdata.c.

References clear_cells(), expand_clear_bigface_from_layer(), FOG_MAP_SIZE, BigCell::layer, mapdata_cell(), MapCell::need_update, BigCell::x, and BigCell::y.

Referenced by NewmapCmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_scroll ( int  dx,
int  dy 
)

Scrolls the map view.

Must be called whenever a map_scroll command was received from the server.

Definition at line 902 of file mapdata.c.

References Map::cells, MapCell::cleared, CONFIG_MAPSCROLL, display_mapscroll(), expand_clear_bigface_from_layer(), BigCell::head, height, BigCell::layer, MapCell::need_update, BigCell::next, pl_pos, recenter_virtual_map_view(), MapCellLayer::size_x, MapCellLayer::size_y, the_map, want_config, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by Map2Cmd(), and map_scrollCmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_set_anim_layer ( int  x,
int  y,
guint16  anim,
guint8  anim_speed,
int  layer 
)
void mapdata_set_check_space ( int  x,
int  y 
)

Definition at line 675 of file mapdata.c.

References MapCell::cleared, expand_need_update_from_layer(), MapCellLayer::face, FOG_MAP_SIZE, MapCell::have_darkness, MapCell::heads, height, mapdata_cell(), MAX_VIEW, MAXLAYERS, MapCell::need_update, pl_pos, MapCell::tails, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by Map2Cmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_set_darkness ( int  x,
int  y,
int  darkness 
)

Definition at line 730 of file mapdata.c.

References FOG_MAP_SIZE, height, MAX_VIEW, pl_pos, set_darkness(), width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by Map2Cmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_set_face_layer ( int  x,
int  y,
gint16  face,
int  layer 
)

Definition at line 815 of file mapdata.c.

References MapCell::cleared, expand_clear_face_from_layer(), expand_set_bigface(), expand_set_face(), FOG_MAP_SIZE, height, mapdata_cell(), MAX_VIEW, MapCell::need_update, pl_pos, width, BigCell::x, PlayerPosition::x, BigCell::y, and PlayerPosition::y.

Referenced by Map2Cmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_set_size ( int  viewx,
int  viewy 
)

Sets the current display size.

Must be called whenever a new display size was negotiated with the server.

Definition at line 614 of file mapdata.c.

References FOG_MAP_SIZE, height, mapdata_init(), pl_pos, width, PlayerPosition::x, and PlayerPosition::y.

Referenced by client_mapsize(), and SetupCmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_set_smooth ( int  x,
int  y,
int  smooth,
int  layer 
)

Definition at line 753 of file mapdata.c.

References Map::cells, FOG_MAP_SIZE, BigCell::layer, mapdata_cell(), MAX_VIEW, MapCell::need_resmooth, pl_pos, MapCell::smooth, the_map, Map::x, BigCell::x, PlayerPosition::x, Map::y, BigCell::y, and PlayerPosition::y.

Referenced by Map2Cmd().

Here is the call graph for this function:

Here is the caller graph for this function:

void mapdata_size ( int *  x,
int *  y 
)

Determine the size of the internal fog-of-war map.

Definition at line 142 of file mapdata.c.

References the_map, Map::x, and Map::y.

Referenced by script_process_cmd().

Here is the caller graph for this function:

static void mark_resmooth ( int  x,
int  y,
int  layer 
)
static

Definition at line 192 of file mapdata.c.

References Map::cells, FOG_MAP_SIZE, mapdata_cell(), MapCell::need_resmooth, MapCell::smooth, and the_map.

Referenced by expand_clear_face(), and expand_set_face().

Here is the call graph for this function:

Here is the caller graph for this function:

static void recenter_virtual_map_view ( int  diff_x,
int  diff_y 
)
static

Check if current map position is out of bounds if shifted by (dx, dy).

If so, shift the virtual map so that the map view is within bounds again.

Assures that [pl_pos.x-MAX_FACE_SIZE..pl_pos.x+MAX_VIEW+1] is within the bounds of the virtual map area. This covers the area a map1a command may affect plus a one tile border.

Definition at line 1157 of file mapdata.c.

References Map::cells, clear_cells(), FOG_BORDER_MIN, FOG_MAP_SIZE, height, MAX_FACE_SIZE, MAX_VIEW, pl_pos, the_map, width, PlayerPosition::x, and PlayerPosition::y.

Referenced by mapdata_scroll().

Here is the call graph for this function:

Here is the caller graph for this function:

static void set_darkness ( int  x,
int  y,
int  darkness 
)
static

Update darkness information.

This function is called whenever a map1a command from the server was received.

x and y are absolute coordinates into the_map.cells[].

darkness is the new darkness value.

Definition at line 160 of file mapdata.c.

References Map::cells, CFG_DM_SDL, CFG_LT_PIXEL, CFG_LT_PIXEL_BEST, CONFIG_DISPLAYMODE, CONFIG_LIGHTING, MapCell::darkness, MapCell::have_darkness, height, mapdata_cell(), MapCell::need_update, the_map, use_config, width, BigCell::x, and BigCell::y.

Referenced by mapdata_set_darkness().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

struct BigCell bigfaces[MAX_VIEW][MAX_VIEW][MAXLAYERS]
static

The variable bigfaces[] contains information about big faces (faces with a width or height >1).

The viewable area bigfaces[0..width-1][0..height-1] is unused.

Definition at line 96 of file mapdata.c.

Referenced by expand_clear_bigface(), expand_clear_bigface_from_layer(), expand_set_bigface(), mapdata_animation(), mapdata_bigface(), mapdata_bigface_head(), and mapdata_init().

struct BigCell* bigfaces_head
static

Contains the head of a list of all currently active big faces outside the view area.

All entries are part of bigfaces[].

Definition at line 89 of file mapdata.c.

Referenced by expand_set_bigface().

int height
static
struct Map the_map
int width
static