]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/Resources.cpp
added basic defeat state
[l2e.git] / src / battle / Resources.cpp
index 621f61ed745186bbf1a44bbb407167d00f61a666..3e61cf5017621fcb57375fce9b26fc45edaf9c9b 100644 (file)
@@ -52,15 +52,16 @@ Resources::Resources()
 , magicTargetCursor(0)
 , itemTargetCursor(0)
 
-, spellMenuHeadline("")
+, spellMenuHeadline("MISSING TRANSLATION")
 , spellMenuProperties(0)
-, itemMenuHeadline("")
+, itemMenuHeadline("MISSING TRANSLATION")
 , itemMenuProperties(0)
-, ikariMenuHeadline("")
+, ikariMenuHeadline("MISSING TRANSLATION")
 , ikariMenuProperties(0)
-, noEquipmentText("")
+, noEquipmentText("MISSING TRANSLATION")
 
-, escapeText("")
+, escapeText("MISSING TRANSLATION")
+, defeatText("MISSING TRANSLATION")
 
 , numberAnimationPrototype(0)
 , bigNumberSprite(0)
@@ -84,22 +85,22 @@ Resources::Resources()
 , ikariLabelCol(0)
 , ikariLabelRow(0)
 
-, victoryGetsText(0)
-, victoryExpText(0)
-, victoryGoldText(0)
-, victoryLevelUpText(0)
-, victoryUpgradeText(0)
-, victoryNextLevelText(0)
-
-, victoryMHPText(0)
-, victoryMMPText(0)
-, victoryATPText(0)
-, victoryDFPText(0)
-, victorySTRText(0)
-, victoryAGLText(0)
-, victoryINTText(0)
-, victoryGUTText(0)
-, victoryMGRText(0)
+, victoryGetsText("MISSING TRANSLATION")
+, victoryExpText("MISSING TRANSLATION")
+, victoryGoldText("MISSING TRANSLATION")
+, victoryLevelUpText("MISSING TRANSLATION")
+, victoryUpgradeText("MISSING TRANSLATION")
+, victoryNextLevelText("MISSING TRANSLATION")
+
+, victoryMHPText("MISSING TRANSLATION")
+, victoryMMPText("MISSING TRANSLATION")
+, victoryATPText("MISSING TRANSLATION")
+, victoryDFPText("MISSING TRANSLATION")
+, victorySTRText("MISSING TRANSLATION")
+, victoryAGLText("MISSING TRANSLATION")
+, victoryINTText("MISSING TRANSLATION")
+, victoryGUTText("MISSING TRANSLATION")
+, victoryMGRText("MISSING TRANSLATION")
 
 { }
 
@@ -152,6 +153,7 @@ void Resources::CreateTypeDescription() {
        td.AddField("noEquipmentText", FieldDescription(((char *)&r.noEquipmentText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced().SetDescription("text to show for missing equipment"));
 
        td.AddField("escapeText", FieldDescription(((char *)&r.escapeText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced().SetDescription("displayed when the party escapes"));
+       td.AddField("defeatText", FieldDescription(((char *)&r.defeatText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced().SetDescription("displayed when the party was defeated"));
 
        td.AddField("numberAnimationPrototype", FieldDescription(((char *)&r.numberAnimationPrototype) - ((char *)&r), Animation::TYPE_ID).SetReferenced().SetDescription("animation of an attack's result digit"));