summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index c4fb81a6..1ce85c83 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -468,7 +468,18 @@ void SaveRegisteredItems( void );
//
// g_buildable.c
//
-qboolean itemFits( gentity_t *ent, buildable_t buildable, int distance );
+typedef enum
+{
+ IBE_NONE,
+
+ IBE_NOROOM,
+ IBE_NOCREEP,
+ IBE_REACTOR,
+
+ IBE_MAXERRORS
+} itemBuildError_t;
+
+itemBuildError_t itemFits( gentity_t *ent, buildable_t buildable, int distance );
gentity_t *Build_Item( gentity_t *ent, buildable_t buildable, int distance );
//