- took all includes of farchive.h out of headers. This file will have to be included explicitly in each source file that needs it.

SVN r3259 (trunk)
This commit is contained in:
Christoph Oelckers 2011-07-06 14:20:54 +00:00
commit 163301dcd5
67 changed files with 232 additions and 138 deletions

View file

@ -28,6 +28,7 @@
#include "r_main.h"
#include "nodebuild.h"
#include "po_man.h"
#include "farchive.h"
#include "r_data/colormaps.h"
@ -831,6 +832,16 @@ bool secplane_t::CopyPlaneIfValid (secplane_t *dest, const secplane_t *opp) cons
return copy;
}
FArchive &operator<< (FArchive &arc, secplane_t &plane)
{
arc << plane.a << plane.b << plane.c << plane.d;
//if (plane.c != 0)
{ // plane.c should always be non-0. Otherwise, the plane
// would be perfectly vertical.
plane.ic = DivScale32 (1, plane.c);
}
return arc;
}
//==========================================================================
//