(svn r26303) -Add: [nogo] ScriptStoryPageList() - a list of all story pages

This commit is contained in:
zuu
2014-02-06 19:25:39 +00:00
parent ebcc8462b7
commit 5165be2698
10 changed files with 47 additions and 0 deletions

View File

@@ -98,6 +98,13 @@
type == ::SPET_TEXT || type == ::SPET_LOCATION ? text->GetEncodedText() : NULL);
}
/* static */ uint32 ScriptStoryPage::GetPageSort(StoryPageID story_page_id)
{
EnforcePrecondition(false, IsValidStoryPage(story_page_id));
return StoryPage::Get(story_page_id)->sort_value;
}
/* static */ bool ScriptStoryPage::SetTitle(StoryPageID story_page_id, Text *title)
{
CCountedPtr<Text> counter(title);