dxx-rebirth/common/main/escort.h

47 lines
1.1 KiB
C
Raw Normal View History

2014-06-01 17:55:23 +00:00
/*
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
2014-06-01 17:55:23 +00:00
* 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.
*/
2006-03-20 17:12:09 +00:00
/*
*
* Header for escort.c
*
*/
#pragma once
2013-10-26 03:40:50 +00:00
#include "maths.h"
#ifdef __cplusplus
#include "fwd-object.h"
2016-01-09 16:38:15 +00:00
#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 vmobjptridx_t &)
{
}
2014-10-02 03:02:34 +00:00
static inline void drop_stolen_items (const vcobjptr_t &) {}
#elif defined(DXX_BUILD_DESCENT_II)
2006-03-20 17:12:09 +00:00
#define GUIDEBOT_NAME_LEN 9
extern void change_guidebot_name(void);
extern void do_escort_menu(void);
void detect_escort_goal_accomplished(vmobjptridx_t index);
void detect_escort_goal_fuelcen_accomplished();
2006-03-20 17:12:09 +00:00
extern void set_escort_special_goal(int key);
2016-04-06 03:34:15 +00:00
void recreate_thief(uint8_t thief_id);
2012-11-11 00:14:30 +00:00
void init_buddy_for_level(void);
void invalidate_escort_goal(void);
2014-10-02 03:02:34 +00:00
void drop_stolen_items (vcobjptr_t);
2012-11-11 00:14:30 +00:00
extern fix64 Buddy_sorry_time;
#endif
}
#endif
#endif