From e32c9a10bfdfc9989530be9b4751f1855480b933 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 25 Jan 2011 14:20:19 +0000 Subject: GOB: Implement getting/setting values from INI files Setting is non-permanent for now svn-id: r55534 --- engines/gob/inter.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines/gob/inter.h') diff --git a/engines/gob/inter.h b/engines/gob/inter.h index 8ae192b96e..f6bb5980e6 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -31,6 +31,7 @@ #include "gob/goblin.h" #include "gob/variables.h" +#include "gob/iniconfig.h" namespace Gob { @@ -604,7 +605,7 @@ protected: void o7_loadLBM(); void o7_draw0x93(); void o7_getINIValue(); - void o7_draw0xA2(); + void o7_setINIValue(); void o7_draw0xA4(); void o7_opendBase(); void o7_draw0xC5(); @@ -613,8 +614,13 @@ protected: void o7_oemToANSI(OpGobParams ¶ms); private: + INIConfig _inis; + void storeValue(uint16 index, uint16 type, uint32 value); void storeValue(uint32 value); + + void storeString(uint16 index, uint16 type, const char *value); + void storeString(const char *value); }; } // End of namespace Gob -- cgit v1.2.3