hyperultra/src/entitytag.h

11 lines
197 B
C
Raw Normal View History

2023-03-23 16:16:22 +01:00
#pragma once
2023-03-26 07:45:46 +02:00
#include "entity.h"
2023-03-23 16:16:22 +01:00
2023-03-26 09:11:55 +02:00
typedef struct {
const char *name;
2023-03-26 09:26:47 +02:00
void (*init)(Entity *this, int x, int y);
2023-03-26 09:11:55 +02:00
} EntityTag;
2023-03-23 16:16:22 +01:00
extern unsigned int num_entitytags;
2023-03-26 09:11:55 +02:00
extern EntityTag entitytags[256];