____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

title.cpp File Reference

The title screen. More...

#include "stratagus.h"
#include "title.h"
#include "video.h"
#include "movie.h"
#include "font.h"
#include "sound_server.h"

Go to the source code of this file.

Functions

static void WaitCallbackButtonPressed (unsigned dummy)
static void WaitCallbackButtonReleased (unsigned dummy)
static void WaitCallbackKeyPressed (unsigned dummy1, unsigned dummy2)
static void WaitCallbackKeyReleased (unsigned dummy1, unsigned dummy2)
static void WaitCallbackKeyRepeated (unsigned dummy1, unsigned dummy2)
static void WaitCallbackMouse (int x, int y)
static void WaitCallbackExit (void)
static void ShowTitleImage (TitleScreen *t)
void ShowTitleScreens ()

Variables

TitleScreen ** TitleScreens
 Title screens to show at startup.
static bool WaitNoEvent
 Flag got an event.


Detailed Description

The title screen.

Definition in file title.cpp.


Function Documentation

static void ShowTitleImage ( TitleScreen t  )  [static]

void ShowTitleScreens (  ) 

Show the title screens

Definition at line 162 of file title.cpp.

References CVideo::ClearScreen(), Invalidate(), PlayMovie(), PlayMusic(), SetVideoSync(), ShowTitleImage(), StopMusic(), and Video.

Referenced by main1().

static void WaitCallbackButtonPressed ( unsigned  dummy  )  [static]

Callback for input.

Definition at line 46 of file title.cpp.

References WaitNoEvent.

Referenced by ShowTitleImage().

static void WaitCallbackButtonReleased ( unsigned  dummy  )  [static]

Callback for input.

Definition at line 54 of file title.cpp.

Referenced by ShowTitleImage().

static void WaitCallbackExit ( void   )  [static]

Callback for exit.

Definition at line 90 of file title.cpp.

Referenced by ShowTitleImage().

static void WaitCallbackKeyPressed ( unsigned  dummy1,
unsigned  dummy2 
) [static]

Callback for input.

Definition at line 61 of file title.cpp.

References WaitNoEvent.

Referenced by ShowTitleImage().

static void WaitCallbackKeyReleased ( unsigned  dummy1,
unsigned  dummy2 
) [static]

Callback for input.

Definition at line 69 of file title.cpp.

Referenced by ShowTitleImage().

static void WaitCallbackKeyRepeated ( unsigned  dummy1,
unsigned  dummy2 
) [static]

Callback for input.

Definition at line 76 of file title.cpp.

Referenced by ShowTitleImage().

static void WaitCallbackMouse ( int  x,
int  y 
) [static]

Callback for input.

Definition at line 83 of file title.cpp.

Referenced by ShowTitleImage().


Variable Documentation

Title screens to show at startup.

File for title screen.

Definition at line 39 of file title.cpp.

Referenced by CclSetTitleScreens(), and CleanUserInterface().

bool WaitNoEvent [static]

Flag got an event.

Definition at line 40 of file title.cpp.

Referenced by ShowTitleImage(), WaitCallbackButtonPressed(), and WaitCallbackKeyPressed().


Generated on Sat Feb 21 00:28:19 2009 for Bos Wars by  doxygen 1.5.6