Files
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
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.
2026-06-24 21:28:16 -05:00

56 lines
911 B
C++

#ifndef LAYER_H_
#define LAYER_H_
#include <afx.h>
#include <MLR\MLR.hpp>
#include <MLR\MLRHeaders.hpp>
#include"ImageLib\image.h"
class Layer
{
private:
protected:
bool Loaded;
public:
void SetState();
Image Img;
CString Name;
MidLevelRenderer::MLRTexture *Texture;
MidLevelRenderer::MLRState State;
bool IsLoaded() {return Loaded;}
Layer() {Loaded=false; Texture=NULL;}
virtual void Import(const char *tname)=0;
virtual void Import(Image &img)=0;
Layer &operator=(Layer &lay);
};
class HeightFieldLayer:public Layer
{
private:
protected:
public:
virtual void Import(const char *tname);
virtual void Import(Image &img);
};
class TextureLayer:public Layer
{
private:
protected:
public:
void LoadTexture(const char *tname);
virtual void Import(const char *tname);
virtual void Import(Image &img);
};
#endif