mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-08 05:51:46 +00:00
c412b42703
- The stat meters now return an FString instead of sprintfing into a fixed output buffer. - NOASM is now automatically defined when compiling for a non-x86 target. - Some changes have been made to the integral types in doomtype.h: - For consistancy with the other integral types, byte is no longer a synonym for BYTE. - Most uses of BOOL have been change to the standard C++ bool type. Those that weren't were changed to INTBOOL to indicate they may contain values other than 0 or 1 but are still used as a boolean. - Compiler-provided types with explicit bit sizes are now used. In particular, DWORD is no longer a long so it will work with both 64-bit Windows and Linux. - Since some files need to include Windows headers, uint32 is a synonym for the non-Windows version of DWORD. - Removed d_textur.h. The pic_t struct it defined was used nowhere, and that was all it contained. SVN r326 (trunk)
84 lines
2 KiB
C++
84 lines
2 KiB
C++
// Emacs style mode select -*- C++ -*-
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
// $Id:$
|
|
//
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
//
|
|
// This source is available for distribution and/or modification
|
|
// only under the terms of the DOOM Source Code License as
|
|
// published by id Software. All rights reserved.
|
|
//
|
|
// The source is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
|
|
// for more details.
|
|
//
|
|
// DESCRIPTION:
|
|
// Intermission.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __WI_STUFF__
|
|
#define __WI_STUFF__
|
|
|
|
#include "doomdef.h"
|
|
|
|
//
|
|
// INTERMISSION
|
|
// Structure passed e.g. to WI_Start(wb)
|
|
//
|
|
typedef struct wbplayerstruct_s
|
|
{
|
|
bool in; // whether the player is in game
|
|
|
|
// Player stats, kills, collected items etc.
|
|
int skills;
|
|
int sitems;
|
|
int ssecret;
|
|
int stime;
|
|
int frags[MAXPLAYERS];
|
|
int fragcount; // [RH] Cumulative frags for this player
|
|
|
|
} wbplayerstruct_t;
|
|
|
|
typedef struct wbstartstruct_s
|
|
{
|
|
int finished_ep;
|
|
int next_ep;
|
|
|
|
char current[8]; // [RH] Name of map just finished
|
|
char next[8]; // next level, [RH] actual map name
|
|
|
|
char lname0[8];
|
|
char lname1[8];
|
|
|
|
int maxkills;
|
|
int maxitems;
|
|
int maxsecret;
|
|
int maxfrags;
|
|
|
|
// the par time and sucktime
|
|
int partime; // in tics
|
|
int sucktime; // in minutes
|
|
|
|
// total time for the entire current game
|
|
int totaltime;
|
|
|
|
// index of this player in game
|
|
int pnum;
|
|
|
|
wbplayerstruct_s plyr[MAXPLAYERS];
|
|
} wbstartstruct_t;
|
|
|
|
// Called by main loop, animate the intermission.
|
|
void WI_Ticker ();
|
|
|
|
// Called by main loop,
|
|
// draws the intermission directly into the screen buffer.
|
|
void WI_Drawer ();
|
|
|
|
// Setup for an intermission screen.
|
|
void WI_Start (wbstartstruct_t *wbstartstruct);
|
|
|
|
#endif
|