5 Struct ISO_VISIBLE_EDGES
gullradriel edited this page 2026-10-09 00:55:18 +02:00

ISO_VISIBLE_EDGES

Module: GRAPHICS: isometric engine, maps, tiles, ...

Per-tile edge visibility flags for height border rendering.

#include "n_iso_engine.h"

Public Attributes

Name
int neighbor_top_sw
top height of SW neighbor (0 if absent/boundary)
int neighbor_top_se
top height of SE neighbor (0 if absent/boundary)
int neighbor_top_nw
top height of NW neighbor (0 if absent/boundary)
int neighbor_top_ne
top height of NE neighbor (0 if absent/boundary)
int draw_underside
1 if floating segment underside border should be drawn
int draw_sw
1 if SW edge (S->W, bottom-left) should be drawn
int draw_se
1 if SE edge (E->S, bottom-right) should be drawn
int draw_nw
1 if NW edge (N->W, top-left) should be drawn
int draw_ne
1 if NE edge (N->E, top-right) should be drawn

Public Attributes Documentation

variable neighbor_top_sw

int neighbor_top_sw;

top height of SW neighbor (0 if absent/boundary)

variable neighbor_top_se

int neighbor_top_se;

top height of SE neighbor (0 if absent/boundary)

variable neighbor_top_nw

int neighbor_top_nw;

top height of NW neighbor (0 if absent/boundary)

variable neighbor_top_ne

int neighbor_top_ne;

top height of NE neighbor (0 if absent/boundary)

variable draw_underside

int draw_underside;

1 if floating segment underside border should be drawn

variable draw_sw

int draw_sw;

1 if SW edge (S->W, bottom-left) should be drawn

variable draw_se

int draw_se;

1 if SE edge (E->S, bottom-right) should be drawn

variable draw_nw

int draw_nw;

1 if NW edge (N->W, top-left) should be drawn

variable draw_ne

int draw_ne;

1 if NE edge (N->E, top-right) should be drawn