diff options
author | Paul Gilbert | 2019-02-15 19:23:53 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-02-16 15:17:51 -0800 |
commit | 25b066520ed1247e2b3cd70433f9aa86c3587f7c (patch) | |
tree | 54902ed749cff2c208677f5a3568610a9e7a03cf /engines/glk/frotz/config.h | |
parent | f4fa6efad1ff41b3ed50c43ceec6904cfd3efa08 (diff) | |
download | scummvm-rg350-25b066520ed1247e2b3cd70433f9aa86c3587f7c.tar.gz scummvm-rg350-25b066520ed1247e2b3cd70433f9aa86c3587f7c.tar.bz2 scummvm-rg350-25b066520ed1247e2b3cd70433f9aa86c3587f7c.zip |
GLK: FROTZ: Improved setup and handling of fg/bg colors
Diffstat (limited to 'engines/glk/frotz/config.h')
-rw-r--r-- | engines/glk/frotz/config.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/glk/frotz/config.h b/engines/glk/frotz/config.h index 1086d7e51f..7099996474 100644 --- a/engines/glk/frotz/config.h +++ b/engines/glk/frotz/config.h @@ -148,8 +148,9 @@ struct UserOptions { int _undo_slots; int _script_cols; int _err_report_mode; - uint _defaultForeground; - uint _defaultBackground; + int _defaultForeground; + int _defaultBackground; + bool _color_enabled; /** * Constructor @@ -157,6 +158,11 @@ struct UserOptions { UserOptions(); /** + * Initializes the options + */ + void initialize(uint hVersion); + + /** * Returns true if the game being played is one of the original Infocom releases */ bool isInfocom() const; |