eco2d/code/foundation/src/ents/entity_spawnlist.c

12 lines
287 B
C
Raw Normal View History

2022-08-13 06:43:15 +00:00
// NOTE(zaklaus): access to spawners
#include "ents/storage.h"
2022-08-13 06:43:15 +00:00
static struct {
asset_id id;
uint64_t (*proc)();
} entity_spawnlist[] = {
{ .id = ASSET_CHEST, .proc = storage_spawn }
};
2022-08-13 06:43:15 +00:00
#define MAX_ENTITY_SPAWNDEFS ((sizeof(entity_spawnlist))/(sizeof(entity_spawnlist[0])))