Skip to content

Commit

Permalink
Added includes for standard header files to various Heretic source fi…
Browse files Browse the repository at this point in the history
…les which hitherto used doomdef.h to include them.
  • Loading branch information
danij-deng committed Nov 1, 2010
1 parent c3efd5d commit cb91633
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 6 deletions.
6 changes: 4 additions & 2 deletions doomsday/plugins/jheretic/src/h_console.c
Expand Up @@ -3,8 +3,8 @@
* License: GPL
* Online License Link: http://www.gnu.org/licenses/gpl.html
*
*\author Copyright © 2003-2009 Jaakko Keränen <jaakko.keranen@iki.fi>
*\author Copyright © 2005-2009 Daniel Swanson <danij@dengine.net>
*\author Copyright © 2003-2010 Jaakko Keränen <jaakko.keranen@iki.fi>
*\author Copyright © 2005-2010 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
Expand All @@ -28,6 +28,8 @@

// HEADER FILES ------------------------------------------------------------

#include <string.h>

#include "jheretic.h"

#include "hu_stuff.h"
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/jheretic/src/m_cheat.c
Expand Up @@ -30,6 +30,7 @@
// HEADER FILES ------------------------------------------------------------

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include "jheretic.h"
Expand Down
5 changes: 3 additions & 2 deletions doomsday/plugins/jheretic/src/p_enemy.c
Expand Up @@ -3,8 +3,8 @@
* License: GPL
* Online License Link: http://www.gnu.org/licenses/gpl.html
*
*\author Copyright © 2003-2009 Jaakko Keränen <jaakko.keranen@iki.fi>
*\author Copyright © 2005-2009 Daniel Swanson <danij@dengine.net>
*\author Copyright © 2003-2010 Jaakko Keränen <jaakko.keranen@iki.fi>
*\author Copyright © 2005-2010 Daniel Swanson <danij@dengine.net>
*\author Copyright © 1999 Activision
*
* This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -32,6 +32,7 @@
// HEADER FILES ------------------------------------------------------------

#include <math.h>
#include <string.h>

#ifdef MSVC
# pragma optimize("g", off)
Expand Down
6 changes: 4 additions & 2 deletions doomsday/plugins/jheretic/src/p_inter.c
Expand Up @@ -3,8 +3,8 @@
* License: GPL
* Online License Link: http://www.gnu.org/licenses/gpl.html
*
*\author Copyright © 2003-2009 Jaakko Keränen <jaakko.keranen@iki.fi>
*\author Copyright © 2005-2009 Daniel Swanson <danij@dengine.net>
*\author Copyright © 2003-2010 Jaakko Keränen <jaakko.keranen@iki.fi>
*\author Copyright © 2005-2010 Daniel Swanson <danij@dengine.net>
*\author Copyright © 1999 Activision
*
* This program is free software; you can redistribute it and/or modify
Expand All @@ -29,6 +29,8 @@

// HEADER FILES ------------------------------------------------------------

#include <string.h>

#include "jheretic.h"

#include "am_map.h"
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/jheretic/src/p_mobj.c
Expand Up @@ -30,6 +30,7 @@
// HEADER FILES ------------------------------------------------------------

#include <math.h>
#include <string.h>

#include "jheretic.h"

Expand Down
3 changes: 3 additions & 0 deletions doomsday/plugins/jheretic/src/p_oldsvg.c
Expand Up @@ -30,6 +30,9 @@

// HEADER FILES ------------------------------------------------------------

#include <stdio.h>
#include <string.h>

#include "jheretic.h"

#include "dmu_lib.h"
Expand Down
2 changes: 2 additions & 0 deletions doomsday/plugins/jheretic/src/p_spec.c
Expand Up @@ -37,6 +37,8 @@

// HEADER FILES ------------------------------------------------------------

#include <string.h>

#include "jheretic.h"

#include "m_argv.h"
Expand Down
2 changes: 2 additions & 0 deletions doomsday/plugins/jheretic/src/p_telept.c
Expand Up @@ -29,6 +29,8 @@

// HEADER FILES ------------------------------------------------------------

#include <string.h>

#include "jheretic.h"

#include "dmu_lib.h"
Expand Down

0 comments on commit cb91633

Please sign in to comment.