#ifndef _GLOBAL_H
#define _GLOBAL_H
FILE *log_fl;
Location *room_data;
Object *objects;
UBLOCK_REC *ublock;
ZONE *zoname;
char **messages;
char **verbtxt;
char *txt1;
char *txt2;
int levels[LVL_WIZARD + 1];
char strbuf[MAX_COM_LEN];
char wordbuf[MAX_COM_LEN];
char nserv_addr[100];
char item1[MAX_COM_LEN];
char item2[MAX_COM_LEN];
char *progname;
char **envp;
PLAYER_REC *players;
RPLR_REC *rplrs;
IO_REC *iplrs;
WORLD_REC the_world_rec;
WORLD_REC *the_world = &the_world_rec;
XRWEATHER_REC global_weather_record;
XRWEATHER_REC *global_weather = &global_weather_record;
int mynum; /* current player slot-number */
int real_mynum; /* real mynum if mynum is fake due to aliasing */
int quit_list; /* real mynum of player to quit */
PLAYER_REC *cur_player; /* Current player info. */
UBLOCK_REC *cur_ublock; /* Current ublock info. */
int max_players = 32; /* Max number of players */
int num_const_chars; /* Number of non-cloned mobiles */
int numchars; /* Number of players + mobiles */
int char_array_len; /* Size of players[] array */
int num_const_obs; /* Number of non-cloned objects */
int numobs; /* Number of objects in the game */
int obj_array_len; /* Size of objects[] array */
int numzon; /* Number of zones in the world */
int num_const_zon; /* Number of non-cloned zones */
int zon_array_len; /* size of zoname[] array */
int num_const_locs; /* Number of non-cloned locations */
int numloc; /* Number of locations */
int loc_array_len; /* Size of locations[] array */
long int id_counter; /* Next ID number to be given to a wiz-creation */
int_table id_table; /* Lookup table for [ID numbers -> game indexes] */
int *verbnum;
int ob1; /* first object assigned by parser or -1 */
int ob2; /* second object assigned by parseror -1 */
int pl1; /* first mob assigned by parser */
int pl2; /* second mob assigned by parser */
int pptr; /* The parameter pointer --- ??? */
int prep; /* prep -? */
int stp;
int verbcode;
time_t next_event; /* check mud.c */
time_t last_reset; /* Last reset time */
time_t global_clock; /* current time */
time_t last_startup; /* Last startup time */
time_t last_healall; /* Last healall */
time_t last_autosave; /* Autosave counter */
int numresets; /* Number of resets */
int numreboots; /* Number of reboots */
int numcrashes; /* Number of crashes */
long tourn_prize; /* Tournament Prize */
long qdone; /* Quest bits completed */
Boolean norun; /* Do not allow players to go anywhere */
Boolean breset; /* Reboot the game on the next reset */
Boolean crashing; /* Game is crashing */
Actionptr actions; /* List of actions */
int sock_fds[MAX_FDS] = {-1}; /* socket fd index */
T_elemptr verb_t; /* verbs */
FILE *logptr; /* b&w mudlog */
FILE *clogptr; /* color mudlog */
#ifdef LOG_INPUT
FILE *plogptr; /* player logfile */
#endif
#ifdef BOB
FILE *dfile = NULL; /* bob dictionary file */
#endif
#endif