XenevaOS
Loading...
Searching...
No Matches
am_map.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// AutoMap module.
17//
18
19#ifndef __AMMAP_H__
20#define __AMMAP_H__
21
22#include "d_event.h"
23#include "m_cheat.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.
32boolean AM_Responder (event_t* ev);
33
34// Called by main loop.
35void AM_Ticker (void);
36
37// Called by main loop,
38// called instead of view drawer if automap active.
39void AM_Drawer (void);
40
41// Called to force the automap to quit
42// if the level is completed while it is up.
43void AM_Stop (void);
44
45
47
48
49#endif
void AM_Ticker(void)
Definition am_map.c:806
void AM_Stop(void)
Definition am_map.c:541
void AM_Drawer(void)
Definition am_map.c:1338
boolean AM_Responder(event_t *ev)
Definition am_map.c:596
cheatseq_t cheat_amap
Definition am_map.c:266
Definition m_cheat.h:36
Definition d_event.h:43