/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* unit.h: Generalize unit data structures and functions.
*
* Known contributors to this file:
- * Ron Koenderink, 2006
+ * Ron Koenderink, 2006-2007
* Markus Armbruster, 2006
*/
+#include "empobj.h"
+
struct ulist {
struct emp_qelem queue; /* list of units */
double mobil; /* how much mobility the unit has left */
};
extern void unit_list(struct emp_qelem *);
+extern void unit_put(struct emp_qelem *list, natid actor);
+extern char *unit_path(int, struct empobj *, char *);
+extern void unit_view(struct emp_qelem *);