myglTexture.h string datatypes.h mygl.h src/geometry.h src/level.h src/myglTexture.cpp OpenArena::Texture OpenArena #ifndef__myglTexture_h__ #define__myglTexture_h__ #include<string> #include"datatypes.h" #include"mygl.h" usingnamespacestd; namespaceOpenArena { classTexture { public: Texture(); ~Texture(); stringFilename(); GLuintID(); boolLoad(stringfilename); boolLoad(stringfilename,GLuintmin,GLuintmag); voidFree(); boolLoaded(); booloperator<(constTexture&); booloperator<=(constTexture&); booloperator==(constTexture&); booloperator!=(constTexture&); booloperator>=(constTexture&); booloperator>(constTexture&); private: GLuintminFilter; GLuintmagFilter; stringfilename; GLuintid; }; }; #endif