tge/tools/map2dif/editFloorPlanRes.h
2017-04-17 06:17:10 -06:00

31 lines
897 B
C++
Executable File

//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
#ifndef _H_EDITFLOORPLANRES_
#define _H_EDITFLOORPLANRES_
#ifndef _FLOORPLANRES_H_
#include "interior/floorPlanRes.h"
#endif
class EditFloorPlanResource : public FloorPlanResource
{
protected:
Vector<Winding> mWindings;
Vector<U32> mPlaneEQs;
void clearFloorPlan();
public:
// In Nav graph generation mode, windings are saved during the BSP process.
void pushArea(const Winding & winding, U32 planeEQ);
// When done, this assembles the FloorPlanResource data.
// Uses gWorkingGeometry...
void constructFloorPlan();
};
#endif // _H_EDITFLOORPLANRES_