]> git.lizzy.rs Git - plan9front.git/blob - sys/src/games/doom/am_map.h
games/doom: fix switch textures swapping in ultimate doom (thansk qu7uux)
[plan9front.git] / sys / src / games / doom / am_map.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 //  AutoMap module.
19 //
20 //-----------------------------------------------------------------------------
21
22 #ifndef __AMMAP_H__
23 #define __AMMAP_H__
24
25 // Used by ST StatusBar stuff.
26 #define AM_MSGHEADER (('a'<<24)+('m'<<16))
27 #define AM_MSGENTERED (AM_MSGHEADER | ('e'<<8))
28 #define AM_MSGEXITED (AM_MSGHEADER | ('x'<<8))
29
30
31 // Called by main loop.
32 boolean AM_Responder (event_t* ev);
33
34 // Called by main loop.
35 void AM_Ticker (void);
36
37 // Called by main loop,
38 // called instead of view drawer if automap active.
39 void AM_Drawer (void);
40
41 // Called to force the automap to quit
42 // if the level is completed while it is up.
43 void AM_Stop (void);
44
45
46
47 #endif
48 //-----------------------------------------------------------------------------
49 //
50 // $Log:$
51 //
52 //-----------------------------------------------------------------------------