]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - include/ishaders.h
refactored plugin api; refactored callback library; added signals library
[xonotic/netradiant.git] / include / ishaders.h
index 49ddf46b401f647b6030f31e4d7fbb341841ea01..928dd1dec3649bc82cd73049f675c54e993ad674 100644 (file)
@@ -23,6 +23,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #define INCLUDED_ISHADERS_H
 
 #include "generic/constant.h"
+#include "generic/callbackfwd.h"
 
 enum
 {
@@ -78,8 +79,6 @@ public:
   virtual float alphaTest() const = 0;
 };
 
-template<typename FirstArgument>
-class Callback1;
 typedef Callback1<const ShaderLayer&> ShaderLayerCallback;
 
 
@@ -133,7 +132,6 @@ public:
   virtual qtexture_t* lightFalloffImage() const = 0;
 };
 
-class Callback;
 typedef struct _GSList GSList;
 typedef Callback1<const char*> ShaderNameCallback;