diff options
author | D G Turner | 2012-07-07 13:46:28 +0100 |
---|---|---|
committer | D G Turner | 2012-07-07 13:46:28 +0100 |
commit | 313502e2eea976899202064353675a61aa8c56a6 (patch) | |
tree | 212dc1e1a853e8c5c4dabeae4080c8d819fa6eed /engines/teenagent/resources.h | |
parent | 91d6db93f00eb4ccf4179c26ee47c0c02ed2ed5e (diff) | |
download | scummvm-rg350-313502e2eea976899202064353675a61aa8c56a6.tar.gz scummvm-rg350-313502e2eea976899202064353675a61aa8c56a6.tar.bz2 scummvm-rg350-313502e2eea976899202064353675a61aa8c56a6.zip |
TEENAGENT: Remove static Resources class Instance.
This is replaced by an engine instance. This should prevent issues
with Return To Launcher and may remove issues with file handles.
Diffstat (limited to 'engines/teenagent/resources.h')
-rw-r--r-- | engines/teenagent/resources.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/teenagent/resources.h b/engines/teenagent/resources.h index 5c08a46489..88bc3ea94d 100644 --- a/engines/teenagent/resources.h +++ b/engines/teenagent/resources.h @@ -32,17 +32,13 @@ struct ADGameDescription; namespace TeenAgent { class Resources { -protected: - Resources(); public: - static Resources *instance(); - bool loadArchives(const ADGameDescription *gd); void deinit(); + bool loadArchives(const ADGameDescription *gd); + void loadOff(Graphics::Surface &surface, byte *palette, int id); Common::SeekableReadStream *loadLan(uint32 id) const; Common::SeekableReadStream *loadLan000(uint32 id) const; - //void loadOn(Graphics::Surface &surface, int id, uint16 &dst, uint16 *flags); - //void loadOns(Graphics::Surface &surface, int id, uint16 &dst); /* * PSP (as the other sony playstation consoles - to be confirmed and 'ifdef'ed here too) |