diff --git a/src/toolbox.cpp b/src/toolbox.cpp index dd51dbf166581d662e25da032c4f70b97f38a0d3..36a8bc44cef2e11ef86c76a70407f6e93de54f09 100644 --- a/src/toolbox.cpp +++ b/src/toolbox.cpp @@ -7,7 +7,9 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution const int texoffset_right, //texture offset right const int texoffset_bottom, //texture offset bottom const int texoffset_top, //texture offset top - const std::string shaderpath) //path to shaders + const std::string shaderpath, //path to shaders + const std::string texturepath, //path to textures + const std::string resourcepath) //path to resources : mailbox(0), events(0), @@ -29,6 +31,8 @@ Toolbox::Toolbox(const int screen_w, const int screen_h, //screen resolution texoffset_bottom(texoffset_bottom), texoffset_top(texoffset_top), shader_path(shaderpath), + texture_path(texturepath), + resource_path(resource_path), time(0.f), dt(0.016f) {