intro.hpp File Reference

-file gamestatus.hpp More...

#include "SDL.h"
#include <string>

Include dependency graph for intro.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void show_intro (display &disp, const config &data, const config &level)
 Show an introduction sequence at the start of a scenario.
void the_end (display &disp)
 Black screen with "The End", shown at the end of a campaign.


Detailed Description

-file gamestatus.hpp

Definition in file intro.hpp.


Function Documentation

void show_intro ( display disp,
const config data,
const config level 
)

Show an introduction sequence at the start of a scenario.

Definition at line 48 of file intro.cpp.

References game_events::conditional_passed(), LOG_NG, config::ordered_begin(), config::ordered_end(), show_intro(), show_intro_part(), and type.

Referenced by playsingle_controller::play_scenario(), and show_intro().

void the_end ( display disp  ) 

Black screen with "The End", shown at the end of a campaign.

Definition at line 370 of file intro.cpp.

References _, display::delay(), font::draw_text(), display::flip(), font_size, CVideo::getSurface(), screen_area(), font::SIZE_XLARGE, text, font::text_area(), update_rect(), update_whole_screen(), and display::video().


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs