// -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*-
// ----------------------------------------------------------------------------
// :oCCCCOCoc.
// .cCO8OOOOOOOOO8Oo:
// .oOO8OOOOOOOOOOOOOOOCc
// cO8888: .:oOOOOC. TM
// :888888: :CCCc .oOOOOC. ### ### #########
// C888888: .ooo: .C######## ##### ##### ###### ###### ##########
// O888888: .oO### ### ##### ##### ######## ######## #### ###
// C888888: :8O. .C########## ### #### ### ## ## ## ## #### ###
// :8@@@@8: :888c o### ### #### ### ######## ######## ##########
// :8@@@@C C@@@@ oo######## ### ## ### ###### ###### #########
// cO@@@@@@@@@@@@@@@@@Oc0
// :oO8@@@@@@@@@@Oo.
// .oCOOOOOCc. http://remood.org/
// ----------------------------------------------------------------------------
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 1998-2000 by DooM Legacy Team.
// Copyright (C) 2008-2013 GhostlyDeath <ghostlydeath@remood.org>
// <ghostlydeath@gmail.com>
// ----------------------------------------------------------------------------
// 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 3
// 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.
// ----------------------------------------------------------------------------
// DESCRIPTION: Intermission.
#ifndef __WI_STUFF__
#define __WI_STUFF__
#include "doomtype.h"
/* Define wbstartstruct_t */
#if !defined(__REMOOD_WBSS_DEFINED)
typedef struct wbstartstruct_s wbstartstruct_t;
#define __REMOOD_WBSS_DEFINED
#endif
/* Define D_BS_t */
#if !defined(__REMOOD_DBSTDEFINED)
typedef struct D_BS_s D_BS_t;
#define __REMOOD_DBSTDEFINED
#endif
////#include "v_video.h"
//added:05-02-98:
typedef struct
{
int count;
int num;
int color;
char* name;
} fragsort_t;
// Called by main loop, animate the intermission.
void WI_Ticker(void);
// Called by main loop,
// draws the intermission directly into the screen buffer.
void WI_Drawer(void);
// Setup for an intermission screen.
void WI_Start(wbstartstruct_t* wbstartstruct);
bool_t teamingame(int teamnum);
void WI_BuildScoreBoard(wbstartstruct_t* const wbstartstruct, const bool_t a_IsInter);
void WI_DrawScoreBoard(const bool_t a_IsInter, const char* const a_Title, const char* const a_SubTitle);
bool_t WI_SaveGameHelper(D_BS_t* const a_BS);
bool_t WI_LoadGameHelper(D_BS_t* const a_BS);
#endif