Update the discussion of themeing in the manual, and put a note in the wps tags appen...
[kugel-rb.git] / apps / plugins / doom / d_main.h
blob3700c482bd3f2382d33941dbdcf3559fc46d4a80
1 /* Emacs style mode select -*- C++ -*-
2 *-----------------------------------------------------------------------------
5 * PrBoom a Doom port merged with LxDoom and LSDLDoom
6 * based on BOOM, a modified and improved DOOM engine
7 * Copyright (C) 1999 by
8 * id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman
9 * Copyright (C) 1999-2000 by
10 * Jess Haas, Nicolas Kalkhof, Colin Phipps, Florian Schulze
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
25 * 02111-1307, USA.
27 * DESCRIPTION:
28 * Main startup and splash screenstuff.
30 *-----------------------------------------------------------------------------*/
32 #ifndef __D_MAIN__
33 #define __D_MAIN__
35 #include "d_event.h"
36 #include "w_wad.h"
37 #include "doomdef.h"
39 #ifdef __GNUG__
40 #pragma interface
41 #endif
43 // jff make startskill globally visible
44 extern skill_t startskill;
46 //jff 1/24/98 make command line copies of play modes available
47 extern boolean clnomonsters; // checkparm of -nomonsters
48 extern boolean clrespawnparm; // checkparm of -respawn
49 extern boolean clfastparm; // checkparm of -fast
50 //jff end of external declaration of command line playmode
52 extern boolean enable_sound;
53 extern boolean nomusicparm;
54 extern int ffmap;
56 // Called by IO functions when input is detected.
57 void D_PostEvent(event_t* ev);
59 // Demo stuff
60 extern boolean advancedemo;
61 void D_AdvanceDemo(void);
62 void D_DoAdvanceDemo (void);
65 // BASE LEVEL
68 void D_PageTicker(void);
69 void D_PageDrawer(void);
70 void D_StartTitle(void);
71 void D_DoomMain(void);
72 void D_AddFile (const char *file, wad_source_t source);
74 #endif