![]() |
dsekai
World engine for retrocomputers.
|
Structs representing tilemaps and related objects. More...
#include "scstruct.h"

Go to the source code of this file.
Data Structures | |
| struct | TILEMAP_COORDS |
| X/Y coordinates of a tile on the current map. More... | |
| struct | TILESET_TILE |
| Tile prototype stored in TILEMAP::tileset. More... | |
| struct | TILEMAP_SPAWN |
| Defines a spawner to create mobiles in the world. More... | |
| struct | TILEMAP |
| Information pertaining to in-game world currently loaded. More... | |
Macros | |
| #define | TILEMAP_SCRIPTS_MAX 8 |
| Maximum number of SCRIPT structs attached to a tilemap. | |
| #define | TILEMAP_TW 40 |
| Maximum TILEMAP width in tiles. | |
| #define | TILEMAP_TH 40 |
| Maximum TILEMAP height in tiles. | |
| #define | TILEMAP_TILESETS_MAX 12 |
| TILEMAP::tileset maximum length. | |
| #define | TILEMAP_SPAWN_NAME_SZ 12 |
| #define | SCREEN_TW (SCREEN_MAP_W / TILE_W) |
| Screen width in tiles. | |
| #define | SCREEN_TH (SCREEN_MAP_H / TILE_H) |
| Screen height in tiles. | |
| #define | TILEMAP_TS ((TILEMAP_TH * TILEMAP_TW) / 2) |
Structs representing tilemaps and related objects.