bflderrstate.c File Reference

Implements the operating state for the battlefield error screen (STATE_CODES::STATE_BFLDERR). More...

#include <SDL_image.h>
#include <string.h>
#include <stdlib.h>
#include "states.h"
#include "color.h"
#include "gameconfig.h"
#include "tanksprite.h"
#include "message.h"

Include dependency graph for bflderrstate.c:

Go to the source code of this file.

Functions

int BfldErrInit ()
 Initalizes the data needed for the error screen.
static void BfldErrResize ()
 Places the text used on the splash screen.
int BfldErrRun ()
 Displays the error screen.
int BfldErrUninit ()
 Unloads the media needed for the error screen.

Variables

RenderItem background
Uint32 startTime
 The time when the splash screen was initalized.
Playertanks
 A couple of Players used to draw tanks on the screen.


Detailed Description

Implements the operating state for the battlefield error screen (STATE_CODES::STATE_BFLDERR).

Author:
Jeff Jackowski (jeffj@ro.com)
Copyright (C) 2007 Jeff Jackowski

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Or visit their website at: http://www.gnu.org/

Definition in file bflderrstate.c.


Variable Documentation

RenderItem background

Definition at line 55 of file gamestate.c.

Referenced by BfldErrInit(), BfldErrResize(), BfldErrUninit(), GameInit(), GameRun(), GameUninit(), GraphicReset(), MenuRun(), RemoveMenu(), SetupMenu(), SplashInit(), SplashResize(), and SplashUninit().

Player* tanks

A couple of Players used to draw tanks on the screen.

Definition at line 46 of file splashstate.c.

Referenced by BfldErrInit(), BfldErrResize(), BfldErrRun(), BfldErrUninit(), SplashInit(), SplashResize(), and SplashUninit().


Generated on Mon May 28 04:41:39 2007 for Retro Tank Super Attack by  doxygen 1.5.2