d80b718039
/sim/startup/splash-progress) - a string in /sim/startup/splash-title is displayed on top of the screen and by default empty - the splash image is scaled down if 512x512 is too big - code cleanup
46 lines
1.3 KiB
C++
46 lines
1.3 KiB
C++
// splash.hxx -- draws the initial splash screen
|
|
//
|
|
// Written by Curtis Olson, started July 1998. (With a little looking
|
|
// at Freidemann's panel code.) :-)
|
|
//
|
|
// Copyright (C) 1997 Michele F. America - nomimarketing@mail.telepac.pt
|
|
//
|
|
// 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
//
|
|
// $Id$
|
|
|
|
|
|
#ifndef _SPLASH_HXX
|
|
#define _SPLASH_HXX
|
|
|
|
|
|
#ifndef __cplusplus
|
|
# error This library requires C++
|
|
#endif
|
|
|
|
|
|
// Initialize the splash screen
|
|
void fgSplashInit ( const char *splash_texture );
|
|
|
|
// Update the splash screen with alpha specified from 0.0 to 1.0
|
|
void fgSplashUpdate ( float alpha );
|
|
|
|
// Set progress information
|
|
void fgSplashProgress( const char *text );
|
|
|
|
|
|
#endif // _SPLASH_HXX
|
|
|
|
|