diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-02 15:15:26 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-02 15:15:26 -0400 |
commit | 46393662672f2510a40eb6cd5291f99a7ae14e3c (patch) | |
tree | 8b11793b474ebc6e7359289bd9e9704d58a7f58a /src/texture.hpp | |
parent | c1161dc0d8939814abf7da48d03b887c0aead0ff (diff) | |
parent | 062a7e2baad74f49f2548793a25f0cf5e4ae6f86 (diff) |
Merge branch 'master' of https://github.com/tcsullivan/gamedev2 into save-load
Diffstat (limited to 'src/texture.hpp')
-rw-r--r-- | src/texture.hpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/texture.hpp b/src/texture.hpp new file mode 100644 index 0000000..16987f8 --- /dev/null +++ b/src/texture.hpp @@ -0,0 +1,38 @@ +/** + * @file texture.hpp + * + * Copyright (C) 2019 Belle-Isle, Andrew <drumsetmonkey@gmail.com> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef TEXTURE_HPP_ +#define TEXTURE_HPP_ + +#include <soil/SOIL.h> +#include <SDL2/SDL_opengl.h> +#include <string> + +class Texture +{ +private: +public: + GLuint tex; + int width; + int height; + Texture() {}; + Texture(std::string); +}; + +#endif//TEXTURE_HPP_ |