dsekai
World engine for retrocomputers.
Loading...
Searching...
No Matches
Data Fields
TILEMAP_SPAWN Struct Reference

Defines a spawner to create mobiles in the world. More...

#include <tmstruct.h>

Collaboration diagram for TILEMAP_SPAWN:
Collaboration graph
[legend]

Data Fields

char name [TILEMAP_SPAWN_NAME_SZ]
 Internal name of a spawned MOBILE.
 
struct TILEMAP_COORDS coords
 Tile-based coordinates at which to spawn.
 
RESOURCE_NAME sprite_name
 RESOURCE_NAME for the MOBILE::sprite on a spawned MOBILE.
 
unsigned char ascii
 
uint16_t flags
 dsekai_mobile_flags to pass to spawned MOBILE::flags.
 
SPAWN_GID gid
 Unique identifying number for this spawner loaded from tilemap.
 
int16_t script_id
 Index of TILEMAP::scripts attached to mobiles spawned.
 

Detailed Description

Defines a spawner to create mobiles in the world.

Modifications to this struct should also be reflected in tools/map2h.c.

Field Documentation

◆ gid

SPAWN_GID TILEMAP_SPAWN::gid

Unique identifying number for this spawner loaded from tilemap.

Passed to MOBILE::spawner_gid on spawned MOBILE objects.


The documentation for this struct was generated from the following file: