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

ISO_TILE_SEGMENT

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

Single vertical segment of a tile: solid matter from bottom to top.

#include "n_iso_engine.h"

Public Attributes

Name
int upper_tile
terrain index for top face (-1 = use tile's terrain layer)
int top
upper height bound, must be > bottom
int lower_tile
terrain index for wall/side faces (-1 = use tile's terrain layer)
int bottom
lower height bound (inclusive), must be < top

Public Attributes Documentation

variable upper_tile

int upper_tile;

terrain index for top face (-1 = use tile's terrain layer)

variable top

int top;

upper height bound, must be > bottom

variable lower_tile

int lower_tile;

terrain index for wall/side faces (-1 = use tile's terrain layer)

variable bottom

int bottom;

lower height bound (inclusive), must be < top