]> git.pond.sub.org Git - empserver/blobdiff - include/empobj.h
client: Unbreak standalone build
[empserver] / include / empobj.h
index c349b2db81d0937d39e502a62c01a4e380f1c5ef..331cf3d248e4c8bfb0ca202b8451c6db7b4af213 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -28,7 +28,7 @@
  *
  *  Known contributors to this file:
  *     Ron Koenderink, 2006
- *     Markus Armbruster, 2006-2011
+ *     Markus Armbruster, 2006-2014
  */
 
 #ifndef EMPOBJ_H
@@ -45,7 +45,6 @@
 #include "sect.h"
 #include "ship.h"
 #include "trade.h"
-#include "treaty.h"
 #include "types.h"
 
 struct empobj {
@@ -89,18 +88,13 @@ union empobj_storage {
     struct sctstr sect;
     struct shpstr ship;
     struct trdstr trade;
-    struct trtstr treaty;
 };
 
-struct empobj_chr;
-
 #define get_empobj(type, n, p) ef_read((type), (n), (p))
 #define put_empobj(type, n, p) ef_write((type), (n), (p))
 #define get_empobjp(type, n) ((struct empobj *)ef_ptr((type), (n)))
 
-extern char *obj_nameof(struct empobj *gp);
-extern struct empobj_chr *get_empobj_chr(struct empobj *gp);
 extern char *empobj_chr_name(struct empobj *gp);
-extern int get_empobj_mob_max(int type);
+extern int empobj_in_use(int, void *);
 
 #endif