Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup|libdoom|libheretic|libhexen: Cleaned up cheat registration an…
…d callback functions
- Loading branch information
1 parent
bbd42ce
commit 0d705a4
Showing
7 changed files
with
913 additions
and
1,139 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
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 |
---|---|---|
@@ -1,34 +1,35 @@ | ||
/**\file | ||
*\section License | ||
* License: GPL | ||
* Online License Link: http://www.gnu.org/licenses/gpl.html | ||
/** | ||
* @file m_cheat.h | ||
* Cheats - Doom (plus Chex and Hacx). @ingroup libdoom | ||
* | ||
*\author Copyright © 2003-2012 Jaakko Keränen <jaakko.keranen@iki.fi> | ||
*\author Copyright © 2005-2012 Daniel Swanson <danij@dengine.net> | ||
*\author Copyright © 1993-1996 by id Software, Inc. | ||
* @author Copyright © 2003-2012 Jaakko Keränen <jaakko.keranen@iki.fi> | ||
* @author Copyright © 2005-2012 Daniel Swanson <danij@dengine.net> | ||
* | ||
* 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. | ||
* @par License | ||
* GPL: http://www.gnu.org/licenses/gpl.html | ||
* | ||
* 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, write to the Free Software | ||
* Foundation, Inc., 51 Franklin St, Fifth Floor, | ||
* Boston, MA 02110-1301 USA | ||
* <small>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, write to the Free | ||
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
* 02110-1301 USA</small> | ||
*/ | ||
|
||
#ifndef M_CHEAT | ||
#define M_CHEAT | ||
#ifndef LIBDOOM_M_CHEAT_H | ||
#define LIBDOOM_M_CHEAT_H | ||
|
||
#ifndef __JDOOM__ | ||
# error "Using jDoom headers without __JDOOM__" | ||
#endif | ||
|
||
void Cht_Init(void); | ||
#endif /* M_CHEAT */ | ||
/** | ||
* Register event sequence callbacks for all cheats. | ||
*/ | ||
void G_RegisterCheats(void); | ||
|
||
#endif /// LIBDOOM_M_CHEAT_H |
Oops, something went wrong.