VgaGames4

VgaGames4 - canvas man-pages

[.. upper level ..]

# vg4->canvas->map_area_disable()

Disable or enable an area of a map.

SYNTAX
VG_BOOL vg4->canvas->map_area_disable(struct VG_Canvas *cvas, const char *iname, const char *ename, VG_BOOL disable)
FUNCTION PARAMETERS

cvas | Canvas
iname | Name of map
ename | Name of area to enable/disable
disable | VG_TRUE = disable, VG_FALSE = enable

RETURN VALUE
Returns whether it was previous disabled
DESCRIPTION
Disable or enable an area of a map. A disabled area will not be selectable. See section CV-MAP in vg4->canvas->load().
SEE ALSO
vg4->canvas->map_area_get_selected()