|
| static int | intro_load (const char *text) |
| | Loads the intro stuff.
|
| static void | intro_cleanup (void) |
| | Cleans up the intro stuff.
|
| static int | intro_event_handler (int *stop, double *offset, double *vel) |
| | Handle user events (mouse clicks, key presses, etc.).
|
| static void | initialize_image (intro_img_t *img) |
| | Initialize an intro_img_t to default values.
|
| static void | load_image (intro_img_t *img, const char *img_file) |
| | Initialize an intro_img_t to default values.
|
| static void | intro_fade_image_in (intro_img_t *side, intro_img_t *transition, const char *img_file) |
| | Fade an image in.
|
| static int | intro_draw_text (char **const sb_list, int sb_size, int sb_index, double offset, double line_height) |
| | Draw intro text onto the screen.
|
| int | intro_display (const char *text, const char *mus) |
| | Displays the introduction sequence.
|
Handles the introduction sequence.
- Todo
- Allow handling of images and other fancy things once we get them.
Definition in file intro.c.
| int intro_draw_text |
( |
char **const | sb_list, |
|
|
int | sb_size, |
|
|
int | sb_index, |
|
|
double | offset, |
|
|
double | line_height ) |
|
static |
Draw intro text onto the screen.
sb_list List of text lines.
offset For smooth scrolling.
line_height V-space of the font (plus leading).
- Returns
- Whether to stop. 1 if no text was rendered, 0 otherwise.
Definition at line 280 of file intro.c.
| int intro_event_handler |
( |
int * | stop, |
|
|
double * | offset, |
|
|
double * | vel ) |
|
static |
Handle user events (mouse clicks, key presses, etc.).
stop Whether to stop the intro.
vel How fast the text should scroll.
Definition at line 216 of file intro.c.