Functions

intro.hpp File Reference

-file gamestatus.hpp More...

#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 the_end (display &disp, std::string text, unsigned int duration)
 Displays a simple fading screen with any user-provided text.
void set_new_storyscreen (bool enabled)
 Enables/disables the new (work in progress) story screen code.

Detailed Description

-file gamestatus.hpp

Definition in file intro.hpp.


Function Documentation

void set_new_storyscreen ( bool  enabled  ) 

Enables/disables the new (work in progress) story screen code.

Definition at line 91 of file intro.cpp.

References LOG_NG, and use_shadowm_storyscreen.

Referenced by game_controller::game_controller().

Here is the caller graph for this function:

void the_end ( display disp,
std::string  text,
unsigned int  duration 
)

Displays a simple fading screen with any user-provided text.

Used after the end of single-player campaigns.

Parameters:
text Text to display, centered on the screen.
duration In milliseconds, for how much time the text will be displayed on screen.

Definition at line 97 of file intro.cpp.

References show_endscreen(), the_end_old(), and use_shadowm_storyscreen.

Referenced by game_controller::launch_game().

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:05:24 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs