.TH "ttypt/lam-tm.h" 3 "Version 1.0.0" "liblamina" \" -*- nroff -*- .ad l .nh .SH NAME ttypt/lam-tm.h \- Public header for the liblamina tilemap system\&. .SH SYNOPSIS .br .PP \fR#include \fP .br .SS "Data Structures" .in +1c .ti -1c .RI "struct \fBlam_tm_t\fP" .br .RI "Tilemap descriptor\&. " .in -1c .SS "Functions" .in +1c .ti -1c .RI "uint32_t \fBlam_tm_new\fP (uint32_t img_ref, uint32_t w, uint32_t h)" .br .RI "Register a new tilemap\&. " .ti -1c .RI "const \fBlam_tm_t\fP * \fBlam_tm_get\fP (uint32_t tm_ref)" .br .RI "Retrieve a tilemap descriptor\&. " .ti -1c .RI "void \fBlam_tile_draw\fP (uint32_t ref, uint32_t idx, uint32_t x, uint32_t y, uint32_t w, uint32_t h, uint32_t rx, uint32_t ry)" .br .RI "Draw a single tile from a tilemap\&. " .ti -1c .RI "void \fBlam_tile_map_draw\fP (uint32_t ref, const uint16_t *tiles, uint32_t map_w, uint32_t map_h, int32_t start_x, int32_t start_y, uint32_t scale)" .br .RI "Render a complete 2D grid map from an array of tile indices\&. " .ti -1c .RI "void \fBlam_tile_draw_ground_3d\fP (uint32_t ref, uint32_t idx, float x, float y, float z, float w, float h)" .br .RI "Draw a single tile lying flat on the 3D ground plane (Z = elevation)\&. " .ti -1c .RI "void \fBlam_tile_draw_billboard_3d\fP (uint32_t ref, uint32_t idx, float x, float y, float z, float w, float h, float anchor_x, float anchor_y)" .br .RI "Draw a billboard sprite standing upright in 3D world space\&. " .in -1c .SH "Detailed Description" .PP Public header for the liblamina tilemap system\&. Declares the API for managing and rendering 2D tilemaps in the liblamina rendering layer\&. .SH "Author" .PP Generated automatically by Doxygen for liblamina from the source code\&.