Joachim de Groot avatar Joachim de Groot committed 5289a10

Expand scores in memorial onto two lines.

* This avoids ugly wraps and allows to display more information.
* Spelled out explanational remarks and added the dungeon level.

Comments (0)

Files changed (1)

         game_score_t *cscore = (game_score_t *)iterator->data;
 
         desc = player_death_description(cscore, FALSE);
-        g_string_append_printf(text, "  %s%2d) %7" G_GINT64_FORMAT " %s [lvl. %d, %d/%d hp, diff %d]\n",
-                               (cscore == score) ? "*" : " ",
-                               nrec + 1, cscore->score, desc,
-                               cscore->dlevel, cscore->hp, cscore->hp_max,
-                               cscore->difficulty);
+        g_string_append_printf(text, "  %c%2d) %7" G_GINT64_FORMAT " %s\n",
+                               (cscore == score) ? '*' : ' ',
+                               nrec + 1, cscore->score, desc);
 
+        g_string_append_printf(text, "               [exp. level %d, dungeon lvl. %s, %d/%d hp, difficulty %d]\n",
+                               cscore->level, map_names[cscore->dlevel],
+                               cscore->hp, cscore->hp_max, cscore->difficulty);
         g_free(desc);
     }
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.