X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FResources.cpp;h=3e61cf5017621fcb57375fce9b26fc45edaf9c9b;hb=1970312e983541d32d4ff73c81b8d90156a7bb99;hp=b3bfb76a3dc8f9bf353c7045823b7d0e1683aff3;hpb=1907ca03c5e865c4d398170042aa384c67ffff29;p=l2e.git diff --git a/src/battle/Resources.cpp b/src/battle/Resources.cpp index b3bfb76..3e61cf5 100644 --- a/src/battle/Resources.cpp +++ b/src/battle/Resources.cpp @@ -1,10 +1,3 @@ -/* - * Resources.cpp - * - * Created on: Sep 4, 2012 - * Author: holy - */ - #include "Resources.h" #include "../graphics/Animation.h" @@ -59,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) @@ -91,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") + { } @@ -142,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")); @@ -167,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) {