aboutsummaryrefslogtreecommitdiff
path: root/client/shaders/wielded_shader/opengl_fragment.glsl
Commit message (Expand)AuthorAge
* Shaders: Remove unnecessary 'if' statementsLars Hofhansl2016-12-24
* Fog: Make fraction of visible distance at which fog starts configurableLars Hofhansl2016-12-07
* Fix unexplained shader issue (glsl compiler bug??) (#4757)Rogier-52016-11-17
* Shaders: Harmonize Irrlicht and shader fog calculationsLars Hofhansl2016-10-24
* Use range-based fog instead of z-plane based.Lars Hofhansl2016-10-13
* Add wielded (and CAOs) shaderRealBadAngel2015-07-21
om">*/ #ifndef FILECACHE_HEADER #define FILECACHE_HEADER #include <string> #include <iostream> class FileCache { public: /* 'dir' is the file cache directory to use. */ FileCache(std::string dir): m_dir(dir) { } bool update(const std::string &name, const std::string &data); bool load(const std::string &name, std::ostream &os); private: std::string m_dir; bool loadByPath(const std::string &path, std::ostream &os); bool updateByPath(const std::string &path, const std::string &data); }; #endif