summaryrefslogtreecommitdiff
path: root/src/resources/resourcemanager.h
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-11-03 21:04:51 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-11-03 21:04:51 +0000
commit47386d1d11ba26270edcfe15af832d7c127163f9 (patch)
tree6f9fc59bc69c29a2e3192d1bdca17c9faab27458 /src/resources/resourcemanager.h
parent8a60e11684e84807f3526b37afa8cbf6f103b8fd (diff)
downloadmana-47386d1d11ba26270edcfe15af832d7c127163f9.tar.gz
mana-47386d1d11ba26270edcfe15af832d7c127163f9.tar.bz2
mana-47386d1d11ba26270edcfe15af832d7c127163f9.tar.xz
mana-47386d1d11ba26270edcfe15af832d7c127163f9.zip
Added automatic recoloring of images. Inspired by fungos' ideas (PR #41).
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r--src/resources/resourcemanager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h
index 150b773c..eb883687 100644
--- a/src/resources/resourcemanager.h
+++ b/src/resources/resourcemanager.h
@@ -24,10 +24,9 @@
#ifndef _TMW_RESOURCE_MANAGER_H
#define _TMW_RESOURCE_MANAGER_H
-#include <iosfwd>
#include <map>
+#include <string>
#include <vector>
-#include <SDL.h>
class Resource;
class Image;
@@ -35,6 +34,7 @@ class Music;
class SoundEffect;
class ImageSet;
class SpriteDef;
+struct SDL_Surface;
/**
* A class for loading and managing resources.
@@ -151,8 +151,8 @@ class ResourceManager
* Creates a sprite definition based on a given path and the supplied
* variant.
*/
- SpriteDef*
- getSprite(const std::string &path, int variant = 0);
+ SpriteDef *getSprite(std::string const &path, int variant = 0,
+ std::string const &palettes = std::string());
/**
* Releases a resource, removing it from the set of loaded resources.