6 void RegisterMonsters();
7 const int MON_MAXCOUNT = 24;
8 entity monster_info[MON_MAXCOUNT], monster_info_first, monster_info_last;
9 entity get_monsterinfo(float id);
11 const int MON_FIRST = 1;
12 #define MON_LAST (MON_FIRST + MON_COUNT - 1)
13 /** If you register a new monster, make sure to add it to all.inc */
14 #define REGISTER_MONSTER(id, inst) REGISTER(RegisterMonsters, MON, monster_info, MON_COUNT, id, monsterid, inst)
15 REGISTER_REGISTRY(RegisterMonsters)
17 entity get_monsterinfo(int id);
19 REGISTER_MONSTER(Null, NEW(Monster));