summaryrefslogtreecommitdiff
path: root/GUI.cpp
diff options
context:
space:
mode:
authorJapa Illo2012-02-26 03:18:31 +0530
committerJapa Illo2012-02-26 03:18:31 +0530
commit730a216f761f643823f2cac7cfa3a23c28fe76dd (patch)
tree30e13cd2cb2eb9d878c1345802fe984f64337a92 /GUI.cpp
parent1691bdfbc40c348942e9e31b038ccfd4a9842a73 (diff)
downloadstonesense-730a216f761f643823f2cac7cfa3a23c28fe76dd.tar.gz
stonesense-730a216f761f643823f2cac7cfa3a23c28fe76dd.tar.bz2
stonesense-730a216f761f643823f2cac7cfa3a23c28fe76dd.tar.xz
Added caste support and made blood colors be taken directly from the game.
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'GUI.cpp')
-rw-r--r--GUI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/GUI.cpp b/GUI.cpp
index f6c354d..ba8917b 100644
--- a/GUI.cpp
+++ b/GUI.cpp
@@ -483,8 +483,9 @@ void drawDebugCursorAndInfo(){
if(b->creature != null){
if(!config.skipCreatureTypes)
draw_textf_border(font, al_map_rgb(255,255,255), 2, al_get_bitmap_height(al_get_target_bitmap())-20-(i--*al_get_font_line_height(font)), 0,
- "Creature:%s(%i) Job:%s",
+ "Creature:%s(%i) Caste:%s(%i) Job:%s",
contentLoader->Mats->race.at(b->creature->race).id.c_str(), b->creature->race,
+ contentLoader->Mats->raceEx.at(b->creature->race).castes.at(b->creature->caste).id.c_str(), b->creature->caste,
contentLoader->professionStrings.at(b->creature->profession).c_str());
char strCreature[150] = {0};