//-----------------------------------------------------------------------------
//
//  $Logfile:: /Code/DLLs/game/game.h                                        $
// $Revision:: 3                                                              $
//     $Date:: 10/13/03 8:54a                                                 $
//
// Copyright (C) 1999 by Ritual Entertainment, Inc.
// All rights reserved.
//
// This source is may not be distributed and/or modified without
// expressly written permission by Ritual Entertainment, Inc.
//
//
// DESCRIPTION:
//

#ifndef __GAME_H__
#define __GAME_H__

#include "g_local.h"
#include "class.h"

//
// this structure is left intact through an entire game
// it should be initialized at dll load time, and read/written to
// the server.ssv file for savegames
//

class Game : public Class
	{
	public:
		CLASS_PROTOTYPE( Game );

      gclient_t	      *clients;				// [maxclients]
	   qboolean	         autosaved;

	   // store latched cvars here that we want to get at often
	   int			      maxclients;
	   int			      maxentities;

                        Game() { Init(); }

      void              Init( void );
	   virtual void      Archive( Archiver &arc );
	};

extern Game game;

#endif /* !__GAME_H__ */
