Add key bindings for pause, message refresh.
[chocolate-doom.git] / src / am_map.h
blobaf390d1b97d74484f465a8d895be40ffe19dc19c
1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
3 //
4 // Copyright(C) 1993-1996 Id Software, Inc.
5 // Copyright(C) 2005 Simon Howard
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 // 02111-1307, USA.
22 // DESCRIPTION:
23 // AutoMap module.
25 //-----------------------------------------------------------------------------
27 #ifndef __AMMAP_H__
28 #define __AMMAP_H__
30 #include "d_event.h"
31 #include "m_cheat.h"
33 // Used by ST StatusBar stuff.
34 #define AM_MSGHEADER (('a'<<24)+('m'<<16))
35 #define AM_MSGENTERED (AM_MSGHEADER | ('e'<<8))
36 #define AM_MSGEXITED (AM_MSGHEADER | ('x'<<8))
39 // Called by main loop.
40 boolean AM_Responder (event_t* ev);
42 // Called by main loop.
43 void AM_Ticker (void);
45 // Called by main loop,
46 // called instead of view drawer if automap active.
47 void AM_Drawer (void);
49 // Called to force the automap to quit
50 // if the level is completed while it is up.
51 void AM_Stop (void);
54 extern cheatseq_t cheat_amap;
57 #endif