64 lines
1.9 KiB
C++
64 lines
1.9 KiB
C++
/*
|
|
* Portions of this file are copyright Rebirth contributors and licensed as
|
|
* described in COPYING.txt.
|
|
* Portions of this file are copyright Parallax Software and licensed
|
|
* according to the Parallax license below.
|
|
* See COPYING.txt for license details.
|
|
|
|
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
|
|
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
|
|
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
|
|
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
|
|
IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
|
|
SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
|
|
FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
|
|
CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
|
|
AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
|
|
COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
|
|
*/
|
|
|
|
/*
|
|
*
|
|
* Prototypes for auto-map stuff.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "pstypes.h"
|
|
|
|
#ifdef __cplusplus
|
|
#include <cstddef>
|
|
#include "fwdsegment.h"
|
|
#include "dxxsconf.h"
|
|
#include "compiler-array.h"
|
|
|
|
extern int Automap_active;
|
|
|
|
void do_automap();
|
|
extern void automap_clear_visited();
|
|
extern array<ubyte, MAX_SEGMENTS> Automap_visited;
|
|
|
|
#if defined(DXX_BUILD_DESCENT_II)
|
|
#include "objnum.h"
|
|
#include "ntstring.h"
|
|
|
|
struct vms_vector;
|
|
|
|
void DropBuddyMarker(vobjptr_t objp);
|
|
void InitMarkerInput();
|
|
window_event_result MarkerInputMessage(int key);
|
|
|
|
static const std::size_t NUM_MARKERS = 16;
|
|
static const std::size_t MARKER_MESSAGE_LEN = 40;
|
|
struct marker_message_text_t : ntstring<MARKER_MESSAGE_LEN - 1> {};
|
|
struct marker_messages_array_t : public array<marker_message_text_t, NUM_MARKERS> {};
|
|
|
|
extern marker_message_text_t Marker_input;
|
|
extern marker_messages_array_t MarkerMessage;
|
|
extern array<objnum_t, NUM_MARKERS> MarkerObject;
|
|
extern ubyte DefiningMarkerMessage;
|
|
#endif
|
|
|
|
#endif
|