X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=include%2Fishaders.h;h=b580e2c4c1b2aa33b7998d17d6a364ff6c65aaa2;hb=HEAD;hp=3f3419dd88724fc31fd25b916ae08164e6bb254e;hpb=19c67e1114f894604c3346fe1af9b015184328be;p=xonotic%2Fnetradiant.git diff --git a/include/ishaders.h b/include/ishaders.h index 3f3419dd..5539a144 100644 --- a/include/ishaders.h +++ b/include/ishaders.h @@ -107,6 +107,8 @@ virtual qtexture_t* getBump() const = 0; virtual qtexture_t* getSpecular() const = 0; // get shader name virtual const char* getName() const = 0; +virtual const char* getWadName() const = 0; +virtual void setWadName( const char* name ) = 0; virtual bool IsInUse() const = 0; virtual void SetInUse( bool bInUse ) = 0; // get the editor flags (QER_NOCARVE QER_TRANS) @@ -124,7 +126,6 @@ virtual ECull getCull() = 0; virtual const char* getShaderFileName() const = 0; virtual const ShaderLayer* firstLayer() const = 0; -virtual void forEachLayer( const ShaderLayerCallback& layer ) const = 0; virtual qtexture_t* lightFalloffImage() const = 0; };