Mercurial > fife-parpg
diff engine/core/video/image.h @ 239:3804348fe3fb
Removed some weird stubs.
Correctly set resource location.
Note that the resource location on the ResourceClass seems to be of questionable utility anyway.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 24 Mar 2009 16:32:08 +0000 |
parents | 90005975cdbb |
children | ad1f09d954f9 |
line wrap: on
line diff
--- a/engine/core/video/image.h Tue Mar 24 16:06:02 2009 +0000 +++ b/engine/core/video/image.h Tue Mar 24 16:32:08 2009 +0000 @@ -131,12 +131,6 @@ */ Image(const uint8_t* data, unsigned int width, unsigned int height); - //TODO: fill in these stub! Note that m_location is not properly initialized. - virtual const ResourceLocation& getResourceLocation() { return m_location; } - - virtual void setResourceLocation(const ResourceLocation& location) { } - virtual void setResourceFile(const std::string& filename) { } - /** Renders itself to the Destination surface at the rectangle rect. * * @param rect The position and clipping where to draw this image to. @@ -188,8 +182,6 @@ * @see pushClipArea */ virtual void clearClipArea(); - - ResourceLocation m_location; // The SDL Surface used. SDL_Surface* m_surface;