42 lines
735 B
C++
42 lines
735 B
C++
#ifndef _ENGINE_PUREMAP_HPP_
|
|
#define _ENGINE_PUREMAP_HPP_
|
|
#ifndef _COMMON_WINDOWS_HPP_
|
|
#include <common/windows.hpp>
|
|
#endif
|
|
|
|
class PureEdge;
|
|
|
|
class PureMap
|
|
{
|
|
public:
|
|
PureMap(PureEdge *lpLeftEdge,PureEdge *lpRightEdge);
|
|
~PureMap();
|
|
private:
|
|
LONG mBitmapIndex;
|
|
LONG mxSource;
|
|
LONG mySource;
|
|
LONG mDestWidth;
|
|
LONG mxSourceStep;
|
|
LONG mySourceStep;
|
|
short mxDest;
|
|
short mxDestMax;
|
|
short myValue;
|
|
PureEdge *mlpLeftEdge;
|
|
PureEdge *mlpRightEdge;
|
|
};
|
|
|
|
inline
|
|
PureMap::PureMap(PureEdge *lpLeftEdge,PureEdge *lpRightEdge)
|
|
: mxSource(0), mySource(0), mDestWidth(0), mxSourceStep(0), mySourceStep(0),
|
|
mxDest(0), mxDestMax(0), myValue(0), mlpLeftEdge(lpLeftEdge),
|
|
mlpRightEdge(lpRightEdge)
|
|
{
|
|
}
|
|
|
|
inline
|
|
PureMap::~PureMap()
|
|
{
|
|
}
|
|
#endif
|
|
|