#include <story.h>
Public Member Functions | |
story (int flag=0) | |
Default is a bare story holding a single text line. | |
story * | get_next_story_node () |
Next line in the story, possibly in a new chapter. | |
story * | get_first_daughter_node () |
First line in this chapter. | |
story * | get_last_daughter_node () |
Last line in this chapter. | |
char * | get_text () |
Contents of the text line in this story node. | |
int | get_chapter_flag () |
Is this a chapter (1) or a text line(0)? | |
void | set_next_story_node (story *s) |
Add to a story. | |
void | set_first_daughter_node (story *s) |
Set first text line. | |
void | set_last_daughter_node (story *s) |
Add/set last text line. | |
void | set_text (char *a_string) |
Add text to a story node. | |
Private Attributes | |
story * | next_story_node |
story * | first_daughter_node |
story * | last_daughter_node |
char * | text |
int | chapter_flag |
Definition at line 71 of file story.h.
|
Default is a bare story holding a single text line. A general story consists of a linked list of chapters, each containing a list of text lines. Definition at line 89 of file story.h. References chapter_flag, first_daughter_node, last_daughter_node, next_story_node, and text. |