First pass at scene 1

This commit is contained in:
2023-02-16 08:09:50 -08:00
parent 4cd417a8fc
commit 72508ace53
5 changed files with 76 additions and 28 deletions

View File

@ -48,6 +48,8 @@ namespace Dawn {
if(ret != 0) return ret;
++itChildren;
}
out->header.includes.push_back("visualnovel/events/VisualNovelEmptyEvent.hpp");
return ret;
}
@ -83,7 +85,7 @@ namespace Dawn {
getVNEvent.name = "getVNEvent";
getVNEvent.type = "IVisualNovelEvent *";
getVNEvent.isOverride = true;
line(&getVNEvent.body, "auto start = new VisualNovelPauseEvent(vnManager, 1.0f);", "");
line(&getVNEvent.body, "auto start = new VisualNovelEmptyEvent(vnManager);", "");
IncludeGen::generate(&c.includes, info->header.includes, "");
IncludeGen::generate(&c.includes, info->events.includes, "");