Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added missing headers.
- Loading branch information
danij
committed
Aug 9, 2006
1 parent
5d955f3
commit 20e1e49
Showing
2 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
/* $Id: m_menu.h 2646 2006-01-21 13:33:49Z danij $ | ||
* | ||
* 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. | ||
*/ | ||
|
||
/* | ||
* Menu widget stuff, episode selection and such. | ||
*/ | ||
|
||
#ifndef __M_MENU__ | ||
#define __M_MENU__ | ||
|
||
#ifndef __WOLFTC__ | ||
# error "Using WolfTC headers without __WOLFTC__" | ||
#endif | ||
|
||
#include "hu_stuff.h" | ||
#include "d_event.h" | ||
|
||
// | ||
// MENUS | ||
// | ||
// Called by main loop, | ||
// saves config file and calls I_Quit when user exits. | ||
// Even when the menu is not displayed, | ||
// this can resize the view and change game parameters. | ||
// Does all the real work of the menu interaction. | ||
boolean M_Responder(event_t *ev); | ||
|
||
// Called by Init | ||
// registers all the CCmds and CVars for the menu | ||
void MN_Register(void); | ||
|
||
// Called by main loop, | ||
// only used for menu (skull cursor) animation. | ||
// and menu fog, fading in and out... | ||
void MN_Ticker(void); | ||
|
||
// Called by main loop, | ||
// draws the menus directly into the screen buffer. | ||
void M_Drawer(void); | ||
|
||
// Called by D_DoomMain, | ||
// loads the config file. | ||
void MN_Init(void); | ||
void M_LoadData(void); | ||
void M_UnloadData(void); | ||
|
||
// Called by intro code to force menu up upon a keypress, | ||
// does nothing if menu is already up. | ||
void M_StartControlPanel(void); | ||
void M_ClearMenus(void); | ||
|
||
void M_StartMessage(char *string, void *routine, boolean input); | ||
void M_StopMessage(void); | ||
|
||
void M_WriteText2(int x, int y, char *string, dpatch_t *font, | ||
float red, float green, float blue, float alpha); | ||
void M_WriteText3(int x, int y, const char *string, dpatch_t *font, | ||
float red, float green, float blue, float alpha, | ||
boolean doTypeIn, int initialCount); | ||
DEFCC(CCmdMenuAction); | ||
DEFCC(CCmdMsgResponse); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* DE1: $Id: template.h 3311 2006-06-11 17:36:34Z skyjake $ | ||
* Copyright (C) 2006 Jaakko Keränen <jaakko.keranen@iki.fi> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not: http://www.opensource.org/ | ||
*/ | ||
|
||
/* | ||
* wolftc.h: All WolfTC Headers | ||
* | ||
* A convenience header for including all WolfTC headers. | ||
*/ | ||
|
||
#ifndef __WOLFTC_CONVENIENCE_H__ | ||
#define __WOLFTC_CONVENIENCE_H__ | ||
|
||
#include "../../wolftc/include/acfnlink.h" | ||
#include "../../wolftc/include/d_action.h" | ||
#include "../../wolftc/include/doomdef.h" | ||
#include "../../wolftc/include/dstrings.h" | ||
#include "../../wolftc/include/g_game.h" | ||
#include "../../wolftc/include/d_config.h" | ||
#include "../../wolftc/include/d_event.h" | ||
#include "../../wolftc/include/doomstat.h" | ||
#include "../../wolftc/include/doomtype.h" | ||
#include "../../wolftc/include/info.h" | ||
#include "../../wolftc/include/m_cheat.h" | ||
#include "../../wolftc/include/m_menu.h" | ||
#include "../../wolftc/include/mn_def.h" | ||
#include "../../wolftc/include/m_ctrl.h" | ||
#include "../../wolftc/include/p_inter.h" | ||
#include "../../wolftc/include/p_local.h" | ||
#include "../../wolftc/include/p_oldsvg.h" | ||
#include "../../wolftc/include/p_pspr.h" | ||
#include "../../wolftc/include/p_setup.h" | ||
#include "../../wolftc/include/r_defs.h" | ||
#include "../../wolftc/include/s_sound.h" | ||
#include "../../wolftc/include/st_stuff.h" | ||
#include "../../wolftc/include/tables.h" | ||
#include "../../wolftc/include/wi_stuff.h" | ||
|
||
#endif // __WOLFTC_CONVENIENCE_H__ |