/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
*
* empobj.c: Common functions on struct empobj and
* union empobj_storage
- *
+ *
* Known contributors to this file:
* Ron Koenderink, 2006
- * Markus Armbruster, 2006
+ * Markus Armbruster, 2006-2008
*/
#include <config.h>
return "The Beast #666";
}
-struct empobj *
-get_empobjp(int type, int id)
-{
- return ef_ptr(type, id);
-}
-
-int
-put_empobj(int type, int id, struct empobj *gp)
-{
- return ef_write(type, id, gp);
-}
-
struct empobj_chr *
get_empobj_chr(struct empobj *gp)
{
}
char *
-emp_obj_chr_name(struct empobj *gp)
+empobj_chr_name(struct empobj *gp)
{
switch (gp->ef_type) {
case EF_LAND:
return dchr[(int)gp->type].d_name;
}
CANT_REACH();
- return NULL;
+ return "The Beast";
}
int