- Changed compilation for g_doom, g_heretic, g_hexen and g_strife folders

so that all files are included by a central one instead of compiling 
  each one separately. This speeds up the compilation process by 25%
  when doing a complete rebuild in Visual C.
- Cleaned up more header dependencies.

SVN r1226 (trunk)
This commit is contained in:
Christoph Oelckers 2008-09-15 14:11:05 +00:00
commit 760f70d3f1
171 changed files with 1667 additions and 250 deletions

View file

@ -8,7 +8,6 @@
#include "p_local.h"
#include "p_spec.h"
#include "p_lnspec.h"
#include "p_enemy.h"
#include "p_effect.h"
#include "a_artifacts.h"
#include "sbar.h"
@ -19,6 +18,7 @@
#include "a_morph.h"
#include "g_level.h"
#include "doomstat.h"
#include "v_palette.h"
static FRandom pr_torch ("Torch");

View file

@ -43,6 +43,7 @@
#include "c_dispatch.h"
#include "d_net.h"
#include "colormatcher.h"
#include "v_palette.h"
static fixed_t DecalWidth, DecalLeft, DecalRight;
static fixed_t SpreadZ;
@ -301,7 +302,7 @@ fixed_t DBaseDecal::GetRealZ (const side_t *wall) const
default:
return Z;
case RF_RELUPPER:
if (curline->linedef->flags & ML_DONTPEGTOP)
if (line->flags & ML_DONTPEGTOP)
{
return Z + front->GetPlaneTexZ(sector_t::ceiling);
}
@ -310,7 +311,7 @@ fixed_t DBaseDecal::GetRealZ (const side_t *wall) const
return Z + back->GetPlaneTexZ(sector_t::ceiling);
}
case RF_RELLOWER:
if (curline->linedef->flags & ML_DONTPEGBOTTOM)
if (line->flags & ML_DONTPEGBOTTOM)
{
return Z + front->GetPlaneTexZ(sector_t::ceiling);
}
@ -319,7 +320,7 @@ fixed_t DBaseDecal::GetRealZ (const side_t *wall) const
return Z + back->GetPlaneTexZ(sector_t::floor);
}
case RF_RELMID:
if (curline->linedef->flags & ML_DONTPEGBOTTOM)
if (line->flags & ML_DONTPEGBOTTOM)
{
return Z + front->GetPlaneTexZ(sector_t::floor);
}

View file

@ -4,7 +4,6 @@
#include "gstrings.h"
#include "p_local.h"
#include "gi.h"
#include "p_enemy.h"
#include "s_sound.h"
#include "m_random.h"
#include "a_sharedglobal.h"

View file

@ -3,7 +3,6 @@
#include "a_artifacts.h"
#include "gstrings.h"
#include "p_local.h"
#include "p_enemy.h"
#include "s_sound.h"
#include "c_console.h"
#include "doomstat.h"

View file

@ -65,6 +65,7 @@
#include "s_sound.h"
#include "m_random.h"
#include "s_sndseq.h"
#include "farchive.h"
// SoundSequenceSlot --------------------------------------------------------

View file

@ -36,7 +36,6 @@
#include "v_collection.h"
#include "v_text.h"
struct patch_t;
class player_t;
struct FRemapTable;

View file

@ -55,6 +55,7 @@
#include "a_weaponpiece.h"
#include "a_strifeglobal.h"
#include "g_level.h"
#include "v_palette.h"
static FRandom pr_chainwiggle; //use the same method of chain wiggling as heretic.

View file

@ -46,11 +46,12 @@
#include "v_text.h"
#include "s_sound.h"
#include "gi.h"
#include "p_effect.h"
#include "doomstat.h"
#include "g_level.h"
#include "d_net.h"
#include "colormatcher.h"
#include "v_palette.h"
#include "../version.h"
#define XHAIRSHRINKSIZE (FRACUNIT/18)