Files
firestorm/Gameleap/code/mw4/Tools/PixelWhipPro/CurveSet.h
T
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

36 lines
824 B
C++

#ifndef CURVESET_H
#define CURVESET_H
#include "DynaPanel.h"
#include <Stuff\Stuff.hpp>
#include <gosFX\gosFX.hpp>
#include <gosFX\effect.hpp>
class CurveSet
{
public:
enum ConTypeTag {BLANK,TEXT,TEXTUREBROWSER,TEXTUREBROWSER2,
CURVEPANEL,TFPANEL,VARVAL,NUMVAL,FLOATVAL,
SHAPEPANEL,SHAPECLOUDPANEL,PROFILEPANEL,
EBFPANEL,POINTPANEL,MLRSTATEPANEL};
protected:
ConTypeTag Type;
Stuff::DynamicMemoryStream *Stream;
int StackLevel;
public:
// float Min,Max;
CString Name;
gosFX::Curve *Curve;
CDynaPanel *Panel;
void PushState();
void PopState();
void PopNoSave();
void VerifyAndPop();
gosFX::Effect__Specification *EffSpec;
void SetType(ConTypeTag,void *dat=NULL);
CurveSet() { Stream=NULL; Panel=NULL; Reset();}
bool IsDataValid();
void Reset();
};
#endif