#ifndef GLOBALS_H
#define GLOBALS_H
#include "player.h"
#include "group.h"
#include "name.h"
#include "room.h"
#include "socket.h"
#include "move.h"

typedef struct globals
{
	char *player_file, *map_file, *group_file,
		*globals_file, *help_file, *room_file,
		*password, *site,
		*command_str, *home_str;

	int port,
		moveodds,
		actodds,
		movequeuesize;

	name_list *name;

	player_list *player_list;
	player *player_current;

	group_list *group_list;
	group *group_current;

	room_list *room_list;
	room *room_current, *room_home;

	room_queue *rooms_visited;

	sockrec *socket;
} globals;

globals *globals_load (char *);
void globals_save (globals *);
void globals_burn (globals *);

#endif