(genlist): Move from include/mission.h to src/lib/subs/mission.c.

(genlist): Remove unused members x, y.

(genlist): Use void * for generic pointer members cp, thing.  Change
users not to cast.

(oprange): Oops on bad argument.
This commit is contained in:
Markus Armbruster 2006-03-29 07:53:25 +00:00
parent 8383f33229
commit 9847e27a2f
2 changed files with 22 additions and 25 deletions

View file

@ -34,8 +34,6 @@
#ifndef MISSION_H
#define MISSION_H
#include "queue.h"
#define MI_NONE 0
#define MI_INTERDICT 1
#define MI_SUPPORT 2
@ -46,14 +44,6 @@
#define MI_DSUPPORT 7
#define MI_OSUPPORT 8
struct genlist {
struct emp_qelem queue; /* list of units */
int type; /* type of unit */
int x, y; /* x,y it came from */
s_char *cp; /* pointer to desc of thing */
s_char *thing; /* thing's struct */
};
#define SECT_HARDTARGET (-92917) /* a very low number that no-one might pick */
#endif