diff options
author | Kahrl <kahrl@gmx.net> | 2012-03-19 02:59:12 +0100 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-12-02 00:46:18 +0200 |
commit | 22e6fb7056dcc888e9ccf768fefb6c073077a3b5 (patch) | |
tree | f85461ee0449602fa12dde14b97c5c96cf813133 /src/client.h | |
parent | e3258b78e263c3f95007e1fbc92fcc3a51646f69 (diff) | |
download | minetest-22e6fb7056dcc888e9ccf768fefb6c073077a3b5.tar.gz minetest-22e6fb7056dcc888e9ccf768fefb6c073077a3b5.tar.bz2 minetest-22e6fb7056dcc888e9ccf768fefb6c073077a3b5.zip |
ShaderSource and silly example shaders
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h index b4b7af7c3..f85e8ac7b 100644 --- a/src/client.h +++ b/src/client.h @@ -39,6 +39,7 @@ struct MeshMakeData; class MapBlockMesh; class IGameDef; class IWritableTextureSource; +class IWritableShaderSource; class IWritableItemDefManager; class IWritableNodeDefManager; //class IWritableCraftDefManager; @@ -174,6 +175,7 @@ public: std::string password, MapDrawControl &control, IWritableTextureSource *tsrc, + IWritableShaderSource *shsrc, IWritableItemDefManager *itemdef, IWritableNodeDefManager *nodedef, ISoundManager *sound, @@ -305,6 +307,7 @@ public: virtual INodeDefManager* getNodeDefManager(); virtual ICraftDefManager* getCraftDefManager(); virtual ITextureSource* getTextureSource(); + virtual IShaderSource* getShaderSource(); virtual u16 allocateUnknownNodeId(const std::string &name); virtual ISoundManager* getSoundManager(); virtual MtEventManager* getEventManager(); @@ -337,6 +340,7 @@ private: IntervalLimiter m_map_timer_and_unload_interval; IWritableTextureSource *m_tsrc; + IWritableShaderSource *m_shsrc; IWritableItemDefManager *m_itemdef; IWritableNodeDefManager *m_nodedef; ISoundManager *m_sound; |