|
Odamex
Setting the Standard in Multiplayer Doom
|
00001 // Emacs style mode select -*- C++ -*- 00002 //----------------------------------------------------------------------------- 00003 // 00004 // $Id: am_map.h 1788 2010-08-24 04:42:57Z russellrice $ 00005 // 00006 // Copyright (C) 1993-1996 by id Software, Inc. 00007 // Copyright (C) 2006-2010 by The Odamex Team. 00008 // 00009 // This program is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU General Public License 00011 // as published by the Free Software Foundation; either version 2 00012 // of the License, or (at your option) any later version. 00013 // 00014 // This program is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // DESCRIPTION: 00020 // AutoMap module. 00021 // 00022 //----------------------------------------------------------------------------- 00023 00024 00025 #ifndef __AMMAP_H__ 00026 #define __AMMAP_H__ 00027 00028 #include "d_event.h" 00029 00030 // Used by ST StatusBar stuff. 00031 #define AM_MSGHEADER (('a'<<24)+('m'<<16)) 00032 #define AM_MSGENTERED (AM_MSGHEADER | ('e'<<8)) 00033 #define AM_MSGEXITED (AM_MSGHEADER | ('x'<<8)) 00034 00035 00036 // Called by main loop. 00037 BOOL AM_Responder (event_t* ev); 00038 00039 // Called by main loop. 00040 void AM_Ticker (void); 00041 00042 // Called by main loop, 00043 // called instead of view drawer if automap active. 00044 void AM_Drawer (void); 00045 00046 // Called to force the automap to quit 00047 // if the level is completed while it is up. 00048 void AM_Stop (void); 00049 00050 00051 00052 #endif