dxx-rebirth/common/main/escort.h
2016-04-06 03:34:15 +00:00

47 lines
1.1 KiB
C++

/*
* This file is part of the DXX-Rebirth project <http://www.dxx-rebirth.com/>.
* It is copyright by its individual contributors, as recorded in the
* project's Git history. See COPYING.txt at the top level for license
* terms and a link to the Git history.
*/
/*
*
* Header for escort.c
*
*/
#pragma once
#include "maths.h"
#ifdef __cplusplus
#include "fwd-object.h"
#ifdef dsx
namespace dsx {
#if defined(DXX_BUILD_DESCENT_I)
static inline void invalidate_escort_goal(void)
{
}
static inline void detect_escort_goal_accomplished(const vobjptridx_t &)
{
}
static inline void drop_stolen_items (const vcobjptr_t &) {}
#elif defined(DXX_BUILD_DESCENT_II)
#define GUIDEBOT_NAME_LEN 9
extern void change_guidebot_name(void);
extern void do_escort_menu(void);
void detect_escort_goal_accomplished(vobjptridx_t index);
void detect_escort_goal_fuelcen_accomplished();
extern void set_escort_special_goal(int key);
void recreate_thief(uint8_t thief_id);
void init_buddy_for_level(void);
void invalidate_escort_goal(void);
void drop_stolen_items (vcobjptr_t);
extern fix64 Buddy_sorry_time;
#endif
}
#endif
#endif