Mercurial > fife-parpg
diff engine/core/video/animation.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 | 6e7d228def30 |
children | 64738befdf3b |
line wrap: on
line diff
--- a/engine/core/video/animation.h Tue Mar 24 16:06:02 2009 +0000 +++ b/engine/core/video/animation.h Tue Mar 24 16:32:08 2009 +0000 @@ -61,12 +61,6 @@ */ ~Animation(); - //TODO: fill in these stubs! Note, 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) { } - /** Adds new frame into animation * Frames must be added starting from first frame. Increases the reference * count of the given image. @@ -141,8 +135,6 @@ ResourcePtr image; }; - ResourceLocation m_location; - /** Checks for animation frame index overflows */ bool isValidIndex(int index);