X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.cpp;h=3e61cf5017621fcb57375fce9b26fc45edaf9c9b;hb=9a7ac49b7e3b7cd4a09b016ceec116830a3458f9;hp=d50571f10bb3fd1c20686b3174ac61ff49b0d0ef;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/battle/Resources.cpp b/src/battle/Resources.cpp index d50571f..3e61cf5 100644 --- a/src/battle/Resources.cpp +++ b/src/battle/Resources.cpp @@ -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,6 +85,23 @@ Resources::Resources() , ikariLabelCol(0) , ikariLabelRow(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") + { } @@ -135,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")); @@ -160,6 +179,23 @@ void Resources::CreateTypeDescription() { td.AddField("ikariLabelCol", FieldDescription(((char *)&r.ikariLabelCol) - ((char *)&r), Interpreter::NUMBER_ID).SetDescription("row of the ikari label in heroTagLabels")); td.AddField("heroesBgColor", FieldDescription(((char *)&r.heroesBgColor) - ((char *)&r), Interpreter::COLOR_ID).SetDescription("background color of the small tags during attack animation")); + + td.AddField("victoryGetsText", FieldDescription(((char *)&r.victoryGetsText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryExpText", FieldDescription(((char *)&r.victoryExpText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryGoldText", FieldDescription(((char *)&r.victoryGoldText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryLevelUpText", FieldDescription(((char *)&r.victoryLevelUpText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryUpgradeText", FieldDescription(((char *)&r.victoryUpgradeText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryNextLevelText", FieldDescription(((char *)&r.victoryNextLevelText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + + td.AddField("victoryMHPText", FieldDescription(((char *)&r.victoryMHPText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryMMPText", FieldDescription(((char *)&r.victoryMMPText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryATPText", FieldDescription(((char *)&r.victoryATPText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryDFPText", FieldDescription(((char *)&r.victoryDFPText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victorySTRText", FieldDescription(((char *)&r.victorySTRText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryAGLText", FieldDescription(((char *)&r.victoryAGLText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryINTText", FieldDescription(((char *)&r.victoryINTText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryGUTText", FieldDescription(((char *)&r.victoryGUTText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); + td.AddField("victoryMGRText", FieldDescription(((char *)&r.victoryMGRText) - ((char *)&r), Interpreter::STRING_ID).SetReferenced()); } void Resources::Construct(void *data) {