home · contact · privacy
Added hitpoints and death for player.
[plomrogue] / src / objects_on_map.h
index 0d56c018e28c9b0ee24b13754a2cf2ac2d3de316..6f3772e5272fd858760d6d4218032a6784c163ce 100644 (file)
@@ -8,7 +8,8 @@ struct World;
 struct Map;
 
 struct Player {
-  struct yx_uint16 pos; };
+  struct yx_uint16 pos;
+  unsigned char hitpoints; };
 
 struct ChainMapObject {
   void * next;