Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
27 lines
771 B
C++
27 lines
771 B
C++
// HeightField.h: interface for the HeightField class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_HEIGHTFIELD_H__46D028E1_5A10_11D3_8B36_00902712C9AE__INCLUDED_)
|
|
#define AFX_HEIGHTFIELD_H__46D028E1_5A10_11D3_8B36_00902712C9AE__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
|
|
#include <ImageLib\Image.h>
|
|
|
|
class HeightField : public Image
|
|
{
|
|
public:
|
|
int XLoc,YLoc,XSize,YSize;
|
|
enum HFBLENDMODE {HFB_COPY,HFB_ADD,HFB_SUBTRACT,HFB_BLEND,HFB_INVBLEND};
|
|
HeightField();
|
|
void HFBlendBlt(HeightField &img,RECT dst,RECT &src,HFBLENDMODE bmode,int UserVal=0);
|
|
|
|
virtual ~HeightField();
|
|
|
|
};
|
|
|
|
#endif // !defined(AFX_HEIGHTFIELD_H__46D028E1_5A10_11D3_8B36_00902712C9AE__INCLUDED_)
|