Added more variants of Ysabeuau fonts
This commit is contained in:
@@ -23,7 +23,7 @@ void VNSceneGen::test(
|
||||
case VN_SCENE_EVENT_TYPE_TEXT:
|
||||
initType = "VNTextEvent";
|
||||
toInclude = "games/vn/events/VNTextEvent.hpp";
|
||||
line(&afterLines, eventName + "->" + "text = \"" + event->text.texts.begin()->text + "\";", "");
|
||||
line(&afterLines, eventName + "->" + "text = " + event->text.texts.begin()->text + ";", "");
|
||||
break;
|
||||
|
||||
case VN_SCENE_EVENT_TYPE_POSITION:
|
||||
|
@@ -4,6 +4,7 @@
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#include "VNTextEventParser.hpp"
|
||||
#include "util/parser/TypeParsers.hpp"
|
||||
|
||||
using namespace Dawn;
|
||||
|
||||
@@ -22,8 +23,8 @@ int32_t VNTextParser::onParse(
|
||||
std::string *error
|
||||
) {
|
||||
out->language = values["lang"];
|
||||
out->text = node->value;
|
||||
return 0;
|
||||
out->text = stringParser(node->innerXml, error);
|
||||
return error->length() == 0 ? 0 : -1;
|
||||
}
|
||||
|
||||
// // // // // // // // // // // // // // // // // // // // // // // // // // //
|
||||
|
Reference in New Issue
Block a user