/* Emacs style mode select   -*- C++ -*- */
/*-----------------------------------------------------------------------------*/

/* $Id:$*/

/* Copyright (C) 1993-1996 by id Software, Inc.*/

/* This source is available for distribution and/or modification*/
/* only under the terms of the DOOM Source Code License as*/
/* published by id Software. All rights reserved.*/

/* The source is distributed in the hope that it will be useful,*/
/* but WITHOUT ANY WARRANTY; without even the implied warranty of*/
/* FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License*/
/* for more details.*/

/* DESCRIPTION:*/
/*   Setup a game, startup stuff.*/

/*-----------------------------------------------------------------------------*/


#ifndef __P_SETUP__
#define __P_SETUP__


#ifdef __GNUG__
#pragma interface
#endif


/* New for efficient doomednum lookup */
typedef struct {
  int denum;
  int num;
} denum_t;

extern denum_t	den_lookup[];
extern int	den_number;

int P_LookupDoomednum(int doomednum);


/* NOT called by W_Ticker. Fixme.*/
void
P_SetupLevel
( int		episode,
  int		map,
  int		playermask,
  skill_t	skill);

/* Called by startup code.*/
void P_Init (void);

#define MAX_DEATHMATCH_STARTS	10

#endif
/*-----------------------------------------------------------------------------*/

/* $Log:$*/

/*-----------------------------------------------------------------------------*/
