implemented leeds dff stream read

This commit is contained in:
aap
2016-01-09 22:01:21 +01:00
parent fab7f20c6d
commit a42bfb90ac
10 changed files with 844 additions and 248 deletions

View File

@@ -199,11 +199,18 @@ struct Texture : PluginBase<Texture>
};
};
struct SurfaceProperties
{
float32 ambient;
float32 specular;
float32 diffuse;
};
struct Material : PluginBase<Material>
{
Texture *texture;
uint8 color[4];
float32 surfaceProps[3];
SurfaceProperties surfaceProps;
Pipeline *pipeline;
int32 refCount;
@@ -220,7 +227,7 @@ void registerMaterialRightsPlugin(void);
struct MatFX
{
enum Flags {
enum {
NOTHING = 0,
BUMPMAP,
ENVMAP,
@@ -259,7 +266,7 @@ struct MatFX
UVtransform uvtransform;
};
} fx[2];
uint32 flags;
uint32 type;
void setEffects(uint32 flags);
int32 getEffectIndex(uint32 type);