diff options
author | Sven Hesse | 2011-01-25 14:20:19 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-25 14:20:19 +0000 |
commit | e32c9a10bfdfc9989530be9b4751f1855480b933 (patch) | |
tree | 3dd1260006c0394904150c8ce3b1d8d1c3c54254 /engines/gob/inter.h | |
parent | f01b8b98a4108413333b039bce617803db3965ef (diff) | |
download | scummvm-rg350-e32c9a10bfdfc9989530be9b4751f1855480b933.tar.gz scummvm-rg350-e32c9a10bfdfc9989530be9b4751f1855480b933.tar.bz2 scummvm-rg350-e32c9a10bfdfc9989530be9b4751f1855480b933.zip |
GOB: Implement getting/setting values from INI files
Setting is non-permanent for now
svn-id: r55534
Diffstat (limited to 'engines/gob/inter.h')
-rw-r--r-- | engines/gob/inter.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 |