Add cutscene test menu

This allows translators to test all text boxes in the scripts. It
doesn't run the scripts themselves - it only shows the basic appearance
of each text box individually, so context may be lost but it's good to
have a way to see any text boxes that might otherwise not be easily
seen because they require specific circumstances to appear.
This commit is contained in:
Dav999-v
2022-12-24 04:16:56 +01:00
committed by Misa Elizabeth Kai
parent 0ed7717dd5
commit 3937a12a85
18 changed files with 282 additions and 22 deletions

View File

@@ -2,8 +2,6 @@
#include "Localization.h"
#include "LocalizationStorage.h"
#include <tinyxml2.h>
#include "Constants.h"
#include "CustomLevels.h"
#include "FileSystemUtils.h"
@@ -554,7 +552,7 @@ static bool get_level_lang_path(bool custom_level, const char* cat, std::string&
}
}
static const char* get_level_original_lang(tinyxml2::XMLHandle& hDoc)
const char* get_level_original_lang(tinyxml2::XMLHandle& hDoc)
{
/* cutscenes and roomnames files can specify the original language as
* an attribute of the root tag to change the attribute names of the