2016-03-01 15:47:10 +00:00
|
|
|
// Emacs style mode select -*- C++ -*-
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// $Id:$
|
|
|
|
//
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
//
|
|
|
|
// This source is available for distribution and/or modification
|
|
|
|
// only under the terms of the DOOM Source Code License as
|
|
|
|
// published by id Software. All rights reserved.
|
|
|
|
//
|
|
|
|
// The source is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
|
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
// DESCRIPTION:
|
|
|
|
// AutoMap module.
|
|
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef __AMMAP_H__
|
|
|
|
#define __AMMAP_H__
|
|
|
|
|
|
|
|
struct event_t;
|
2016-09-20 07:11:13 +00:00
|
|
|
class FSerializer;
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
void AM_StaticInit();
|
2016-12-03 14:44:46 +00:00
|
|
|
void AM_ClearColorsets(); // reset data for a restart.
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
// Called by main loop.
|
|
|
|
bool AM_Responder (event_t* ev, bool last);
|
|
|
|
|
|
|
|
// Called by main loop.
|
|
|
|
void AM_Ticker (void);
|
|
|
|
|
|
|
|
// Called by main loop,
|
|
|
|
// called instead of view drawer if automap active.
|
|
|
|
void AM_Drawer (void);
|
|
|
|
|
|
|
|
// Called to force the automap to quit
|
|
|
|
// if the level is completed while it is up.
|
|
|
|
void AM_Stop (void);
|
|
|
|
|
|
|
|
void AM_NewResolution ();
|
|
|
|
void AM_ToggleMap ();
|
|
|
|
void AM_LevelInit ();
|
2016-09-20 07:11:13 +00:00
|
|
|
void AM_SerializeMarkers(FSerializer &arc);
|
2016-03-01 15:47:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|