4 #define ITEM_HANDLE(signal, ...) __Item_Send_##signal(__VA_ARGS__)
5 /** If you register a new item, make sure to add it to all.inc */
6 CLASS(GameItem, Object)
7 ATTRIB(GameItem, m_id, int, 0)
8 METHOD(GameItem, show, void(entity this));
9 void GameItem_show(entity this) { print("A game item\n"); }
10 void ITEM_HANDLE(Show, entity this) { this.show(this); }