![]() |
dsekai
World engine for retrocomputers.
|
Defines a spawner to create mobiles in the world. More...
#include <tmstruct.h>

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. | |
Defines a spawner to create mobiles in the world.
Modifications to this struct should also be reflected in tools/map2h.c.
| SPAWN_GID TILEMAP_SPAWN::gid |
Unique identifying number for this spawner loaded from tilemap.
Passed to MOBILE::spawner_gid on spawned MOBILE objects.