summaryrefslogtreecommitdiff
path: root/src/entitytag.h
blob: 211e365d231339623c4ea93fb98ae6bb1847839c (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once
#include "entity.h"

typedef struct {
	const char *name;
	const char *parent;
	void (*init)(Entity *this, int x, int y, int w, int h);
} EntityTag;

extern unsigned int num_entitytags;
extern EntityTag entitytags[256];