]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/doom/f_wipe.h
merge
[plan9front.git] / sys / src / games / doom / f_wipe.h
1 // Emacs style mode select   -*- C++ -*- 
2 //-----------------------------------------------------------------------------
3 //
4 // $Id:$
5 //
6 // Copyright (C) 1993-1996 by id Software, Inc.
7 //
8 // This source is available for distribution and/or modification
9 // only under the terms of the DOOM Source Code License as
10 // published by id Software. All rights reserved.
11 //
12 // The source is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
15 // for more details.
16 //
17 // DESCRIPTION:
18 //      Mission start screen wipe/melt, special effects.
19 //      
20 //-----------------------------------------------------------------------------
21
22
23 #ifndef __F_WIPE_H__
24 #define __F_WIPE_H__
25
26 //
27 //                       SCREEN WIPE PACKAGE
28 //
29
30 enum
31 {
32     // simple gradual pixel change for 8-bit only
33     wipe_ColorXForm,
34     
35     // weird screen melt
36     wipe_Melt,  
37
38     wipe_NUMWIPES
39 };
40
41 int
42 wipe_StartScreen
43 ( int           x,
44   int           y,
45   int           width,
46   int           height );
47
48
49 int
50 wipe_EndScreen
51 ( int           x,
52   int           y,
53   int           width,
54   int           height );
55
56
57 int
58 wipe_ScreenWipe
59 ( int           wipeno,
60   int           x,
61   int           y,
62   int           width,
63   int           height,
64   int           ticks );
65
66 #endif
67 //-----------------------------------------------------------------------------
68 //
69 // $Log:$
70 //
71 //-----------------------------------------------------------------------------