X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.cpp;h=3e61cf5017621fcb57375fce9b26fc45edaf9c9b;hb=9a7ac49b7e3b7cd4a09b016ceec116830a3458f9;hp=9db29e1787809613859b1daac68faadcfd7ae8e2;hpb=3aca2860c95bb4d30569a23ab88a5286c3b9b757;p=l2e.git diff --git a/src/battle/Resources.cpp b/src/battle/Resources.cpp index 9db29e1..3e61cf5 100644 --- a/src/battle/Resources.cpp +++ b/src/battle/Resources.cpp @@ -61,6 +61,7 @@ Resources::Resources() , noEquipmentText("MISSING TRANSLATION") , escapeText("MISSING TRANSLATION") +, defeatText("MISSING TRANSLATION") , numberAnimationPrototype(0) , bigNumberSprite(0) @@ -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"));