aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/resources.h
diff options
context:
space:
mode:
authorD G Turner2012-07-07 13:46:28 +0100
committerD G Turner2012-07-07 13:46:28 +0100
commit313502e2eea976899202064353675a61aa8c56a6 (patch)
tree212dc1e1a853e8c5c4dabeae4080c8d819fa6eed /engines/teenagent/resources.h
parent91d6db93f00eb4ccf4179c26ee47c0c02ed2ed5e (diff)
downloadscummvm-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.h8
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)