/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2014, 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
* Known contributors to this file:
* Dave Pare, 1994
* Doug Hay, 1998
- * Markus Armbruster, 2005-2012
+ * Markus Armbruster, 2005-2014
*/
#ifndef PLAYER_H
#define SANCT bit(1) /* can execute commands available in sanctuary */
#define NORM bit(2) /* can execute active player commands */
#define GOD bit(3) /* can execute deity commands */
+#define TESTING bit(4) /* can execute commands meant for test suite */
#define EXEC bit(5) /* can execute the execute command */
#define CAP bit(6) /* has capital */
#define MONEY bit(7) /* isn't broke */
struct emp_qelem queue;
empth_t *proc;
char hostaddr[46];
- char hostname[512]; /* may be empty */
char client[128]; /* may be empty */
char userid[32]; /* may be empty */
int authenticated;
int aborted; /* command aborted? */
int got_ctld; /* EOF cookie received? */
int recvfail; /* #recvclient() failures */
- int curid; /* for pr, cur. line's id, -1 none */
+ int curid; /* for pr, cur. line's ID, -1 none */
char *map; /* pointer to in-mem map */
char *bmap; /* pointer to in-mem bmap */
};