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 <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.
*/
2006-03-20 17:12:09 +00:00
/*
*
* Header for escort.c
*
*/
#ifndef _ESCORT_H
#define _ESCORT_H
2013-10-26 03:40:50 +00:00
#include "maths.h"
#ifdef __cplusplus
struct object;
struct objptridx_t;
#if defined(DXX_BUILD_DESCENT_I)
static inline void invalidate_escort_goal(void)
{
}
static inline void detect_escort_goal_accomplished(const objptridx_t &)
{
}
static inline void drop_stolen_items (object *) {}
#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(objptridx_t index);
void detect_escort_goal_fuelcen_accomplished();
2006-03-20 17:12:09 +00:00
extern void set_escort_special_goal(int key);
2013-08-19 22:38:16 +00:00
void recreate_thief(struct object *objp);
2012-11-11 00:14:30 +00:00
void init_buddy_for_level(void);
void invalidate_escort_goal(void);
2012-11-11 00:14:30 +00:00
void drop_stolen_items (struct object *);
extern fix64 Buddy_sorry_time;
#endif
#endif
2006-03-20 17:12:09 +00:00
#endif // _ESCORT_H