Move some more vars

This commit is contained in:
Magnus Norddahl 2017-01-02 03:46:48 +01:00
parent 34bd21449b
commit 388da85937
4 changed files with 8 additions and 6 deletions

View file

@ -25,6 +25,10 @@
namespace swrenderer namespace swrenderer
{ {
seg_t *curline;
side_t *sidedef;
line_t *linedef;
FWallCoords WallC; FWallCoords WallC;
FWallTmapVals WallT; FWallTmapVals WallT;

View file

@ -23,6 +23,10 @@ namespace swrenderer
void InitFromLine(const DVector2 &left, const DVector2 &right); void InitFromLine(const DVector2 &left, const DVector2 &right);
}; };
extern seg_t *curline;
extern side_t *sidedef;
extern line_t *linedef;
extern FWallCoords WallC; extern FWallCoords WallC;
extern FWallTmapVals WallT; extern FWallTmapVals WallT;

View file

@ -62,9 +62,6 @@ namespace swrenderer
{ {
using namespace drawerargs; using namespace drawerargs;
seg_t* curline;
side_t* sidedef;
line_t* linedef;
sector_t* frontsector; sector_t* frontsector;
sector_t* backsector; sector_t* backsector;

View file

@ -46,9 +46,6 @@ enum
extern subsector_t *InSubsector; extern subsector_t *InSubsector;
extern seg_t* curline;
extern side_t* sidedef;
extern line_t* linedef;
extern sector_t* frontsector; extern sector_t* frontsector;
extern sector_t* backsector; extern sector_t* backsector;