Added recent command

This commit is contained in:
JamDog 2010-11-06 20:56:27 +00:00
parent 88fb85b126
commit 6139c43c16
6 changed files with 177 additions and 0 deletions

View file

@ -1240,6 +1240,18 @@ struct happyhour {
int ticks_left;
};
/** structure for list of recent players (see 'recent' command) */
struct recent_player
{
int vnum; /* The ID number for this instance */
char name[MAX_NAME_LENGTH]; /* The char name of the player */
bool new_player; /* Is this a new player? */
bool copyover_player; /* Is this a player that was on during the last copyover? */
time_t time; /* login time */
char host[HOST_LENGTH+1]; /* Host IP address */
struct recent_player *next; /* Pointer to the next instance */
};
/* Config structs */
/** The game configuration structure used for configurating the game play