2014-03-15 16:59:03 +00:00
|
|
|
// SONIC ROBO BLAST 2
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
// Copyright (C) 1998-2000 by DooM Legacy Team.
|
2016-05-18 00:42:11 +00:00
|
|
|
// Copyright (C) 1999-2016 by Sonic Team Junior.
|
2014-03-15 16:59:03 +00:00
|
|
|
//
|
|
|
|
// This program is free software distributed under the
|
|
|
|
// terms of the GNU General Public License, version 2.
|
|
|
|
// See the 'LICENSE' file for more details.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
/// \file f_finale.h
|
|
|
|
/// \brief Title screen, intro, game evaluation, and credits.
|
|
|
|
/// Also includes protos for screen wipe functions.
|
|
|
|
|
|
|
|
#ifndef __F_FINALE__
|
|
|
|
#define __F_FINALE__
|
|
|
|
|
|
|
|
#include "doomtype.h"
|
|
|
|
#include "d_event.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// FINALE
|
|
|
|
//
|
|
|
|
|
|
|
|
// Called by main loop.
|
|
|
|
boolean F_IntroResponder(event_t *ev);
|
|
|
|
boolean F_CutsceneResponder(event_t *ev);
|
|
|
|
boolean F_CreditResponder(event_t *ev);
|
|
|
|
|
|
|
|
// Called by main loop.
|
|
|
|
void F_GameEndTicker(void);
|
|
|
|
void F_IntroTicker(void);
|
|
|
|
void F_TitleScreenTicker(boolean run);
|
|
|
|
void F_CutsceneTicker(void);
|
|
|
|
void F_TitleDemoTicker(void);
|
|
|
|
|
|
|
|
// Called by main loop.
|
2018-07-07 15:52:01 +00:00
|
|
|
void F_GameEndDrawer(void);
|
2014-03-15 16:59:03 +00:00
|
|
|
void F_IntroDrawer(void);
|
|
|
|
void F_TitleScreenDrawer(void);
|
|
|
|
|
2018-07-02 21:11:03 +00:00
|
|
|
void F_StartWaitingPlayers(void);
|
|
|
|
void F_WaitingPlayersTicker(void);
|
|
|
|
void F_WaitingPlayersDrawer(void);
|
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
void F_GameEvaluationDrawer(void);
|
|
|
|
void F_StartGameEvaluation(void);
|
|
|
|
void F_GameEvaluationTicker(void);
|
|
|
|
|
|
|
|
void F_CreditTicker(void);
|
|
|
|
void F_CreditDrawer(void);
|
|
|
|
|
|
|
|
void F_StartCustomCutscene(INT32 cutscenenum, boolean precutscene, boolean resetplayer);
|
|
|
|
void F_CutsceneDrawer(void);
|
|
|
|
void F_EndCutScene(void);
|
|
|
|
|
|
|
|
void F_StartGameEnd(void);
|
|
|
|
void F_StartIntro(void);
|
|
|
|
void F_StartTitleScreen(void);
|
|
|
|
void F_StartCredits(void);
|
|
|
|
|
|
|
|
boolean F_ContinueResponder(event_t *event);
|
|
|
|
void F_StartContinue(void);
|
|
|
|
void F_ContinueTicker(void);
|
|
|
|
void F_ContinueDrawer(void);
|
|
|
|
|
|
|
|
extern INT32 titlescrollspeed;
|
|
|
|
|
|
|
|
//
|
|
|
|
// WIPE
|
|
|
|
//
|
|
|
|
extern boolean WipeInAction;
|
|
|
|
extern INT32 lastwipetic;
|
|
|
|
|
|
|
|
void F_WipeStartScreen(void);
|
|
|
|
void F_WipeEndScreen(void);
|
|
|
|
void F_RunWipe(UINT8 wipetype, boolean drawMenu);
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wipe_credits_intermediate, // makes a good 0 I guess.
|
|
|
|
|
|
|
|
wipe_level_toblack,
|
|
|
|
wipe_intermission_toblack,
|
2018-07-04 21:57:50 +00:00
|
|
|
wipe_voting_toblack,
|
2014-03-15 16:59:03 +00:00
|
|
|
wipe_continuing_toblack,
|
|
|
|
wipe_titlescreen_toblack,
|
|
|
|
wipe_timeattack_toblack,
|
|
|
|
wipe_credits_toblack,
|
|
|
|
wipe_evaluation_toblack,
|
|
|
|
wipe_gameend_toblack,
|
|
|
|
wipe_intro_toblack,
|
|
|
|
wipe_cutscene_toblack,
|
|
|
|
|
|
|
|
// custom intermissions
|
|
|
|
wipe_specinter_toblack,
|
|
|
|
wipe_multinter_toblack,
|
2016-01-05 13:03:00 +00:00
|
|
|
wipe_speclevel_towhite,
|
2014-03-15 16:59:03 +00:00
|
|
|
|
|
|
|
wipe_level_final,
|
|
|
|
wipe_intermission_final,
|
2018-07-04 21:57:50 +00:00
|
|
|
wipe_voting_final,
|
2014-03-15 16:59:03 +00:00
|
|
|
wipe_continuing_final,
|
|
|
|
wipe_titlescreen_final,
|
|
|
|
wipe_timeattack_final,
|
|
|
|
wipe_credits_final,
|
|
|
|
wipe_evaluation_final,
|
|
|
|
wipe_gameend_final,
|
|
|
|
wipe_intro_final,
|
|
|
|
wipe_cutscene_final,
|
|
|
|
|
|
|
|
// custom intermissions
|
|
|
|
wipe_specinter_final,
|
|
|
|
wipe_multinter_final,
|
|
|
|
|
2018-07-04 21:57:50 +00:00
|
|
|
NUMWIPEDEFS,
|
|
|
|
WIPEFINALSHIFT = wipe_level_final - wipe_level_toblack
|
2014-03-15 16:59:03 +00:00
|
|
|
};
|
2018-07-04 21:57:50 +00:00
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
extern UINT8 wipedefs[NUMWIPEDEFS];
|
|
|
|
|
|
|
|
#endif
|