mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-08 22:11:09 +00:00
dc98279403
a long-abandoned experiment to write directly to video memory instead of to a temporary buffer in system meroy. - Added Direct3D versions of the melt and burn screenwipes. - Fixed the strip sizes for the melt screenwipe to match what Doom would have produced on a 320x200 screen, rather than producing more, thinner strips for wider screens. SVN r659 (trunk)
53 lines
1.5 KiB
C++
53 lines
1.5 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:
|
|
// Mission start screen wipe/melt, special effects.
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
#ifndef __F_WIPE_H__
|
|
#define __F_WIPE_H__
|
|
|
|
//
|
|
// SCREEN WIPE PACKAGE
|
|
//
|
|
|
|
bool wipe_StartScreen (int type);
|
|
void wipe_EndScreen (void);
|
|
bool wipe_ScreenWipe (int ticks);
|
|
void wipe_Cleanup ();
|
|
|
|
// The buffer must have an additional 5 rows not included in height
|
|
// to use for a seeding area.
|
|
int wipe_CalcBurn (BYTE *buffer, int width, int height, int density);
|
|
|
|
enum
|
|
{
|
|
wipe_None, // don't bother
|
|
wipe_Melt, // weird screen melt
|
|
wipe_Burn, // fade in shape of fire
|
|
wipe_Fade, // crossfade from old to new
|
|
wipe_NUMWIPES
|
|
};
|
|
|
|
#endif
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
// $Log:$
|
|
//
|
|
//-----------------------------------------------------------------------------
|