//===========================================================================// // File: TCTTerrainData.h // // Project: MW4 Brick: ??? // // Contents: Class definition for the content and management of TCT's Terrain Data // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // 10/01/98 TAS Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1998, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #ifndef TCTTERRAINDATA_H_ #define TCTTERRAINDATA_H_ #include"ImageLib\image.h" #include "TctHeightField.h" #include"Layer.h" #include #include class TCTTerrainData { private: protected: public: bool SetViewedLayer(int lay); Layer * GetViewedLayer(); int LayTotal,ViewedLayer; // Layer *Lay[MAX_LAYERS]; HeightFieldLayer HFLayer; TextureLayer BaseTexture,DetailTexture; TCTHeightField *HField; //Image HFBmp; //Bitmap to represent the basic Height Field TCTTerrainData(); ~TCTTerrainData(); void LoadHeightField(CString &str); void LoadHeightField(Image &img); void Initalize(); void UnInitalize(); TCTTerrainData &operator =(TCTTerrainData &tdat); friend class CFinalBitmapWnd; }; #endif