home · contact · privacy
Player earns a score by killing enemies.
[plomrogue] / src / main.h
index fc9bbc377dbec6f3f8cd41e76a4cee0d444006d2..5eec3901a9398610a61234749e62851d7da06e44 100644 (file)
@@ -26,6 +26,7 @@ struct World
     struct KeysWinData * keyswindata; /* Pointer to key edit window metadata. */
     uint32_t seed;                    /* Randomness seed. */
     uint32_t turn;                    /* Current game turn. */
+    uint16_t score;                   /* Player's score. */
     char * log;                       /* Pointer to the game log string. */
     struct Map * map;                 /* Pointer to the game map cells. */
     struct ItemDef * item_def;        /* Pointer to the item definitions. */