2006-02-24 04:48:15 +00:00
|
|
|
// 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__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// NOT called by W_Ticker. Fixme. [RH] Is that bad?
|
|
|
|
//
|
|
|
|
// [RH] The only parameter used is mapname, so I removed playermask and skill.
|
|
|
|
// On September 1, 1998, I added the position to indicate which set
|
|
|
|
// of single-player start spots should be spawned in the level.
|
|
|
|
void P_SetupLevel (char *mapname, int position);
|
|
|
|
|
2006-05-11 04:00:58 +00:00
|
|
|
void P_FreeLevelData();
|
|
|
|
|
2006-02-24 04:48:15 +00:00
|
|
|
// Called by startup code.
|
|
|
|
void P_Init (void);
|
|
|
|
|
|
|
|
#endif
|