Odamex
Setting the Standard in Multiplayer Doom
common/p_setup.h
Go to the documentation of this file.
00001 // Emacs style mode select   -*- C++ -*- 
00002 //-----------------------------------------------------------------------------
00003 //
00004 // $Id: p_setup.h 1788 2010-08-24 04:42:57Z russellrice $
00005 //
00006 // Copyright (C) 1993-1996 by id Software, Inc.
00007 // Copyright (C) 2006-2010 by The Odamex Team.
00008 //
00009 // This program is free software; you can redistribute it and/or
00010 // modify it under the terms of the GNU General Public License
00011 // as published by the Free Software Foundation; either version 2
00012 // of the License, or (at your option) any later version.
00013 //
00014 // This program is distributed in the hope that it will be useful,
00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017 // GNU General Public License for more details.
00018 //
00019 // DESCRIPTION:
00020 //   Setup a game, startup stuff.
00021 //
00022 //-----------------------------------------------------------------------------
00023 
00024 
00025 #ifndef __P_SETUP__
00026 #define __P_SETUP__
00027 
00028 
00029 
00030 // NOT called by W_Ticker. Fixme.
00031 //
00032 // [RH] The only parameter used is mapname, so I removed playermask and skill.
00033 //              On September 1, 1998, I added the position to indicate which set
00034 //              of single-player start spots should be spawned in the level.
00035 void P_SetupLevel (char *mapname, int position);
00036 
00037 // Called by startup code.
00038 void P_Init (void);
00039 
00040 #endif
00041 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends