remove cached USE_GRAPHICS from gui.lua

it's no longer constant
develop
Myk Taylor 2022-12-28 16:27:44 -08:00
parent fc523f12fe
commit d7b67e9528
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 0 additions and 7 deletions

@ -3640,11 +3640,6 @@ considered stable.
Misc Misc
---- ----
* ``USE_GRAPHICS``
Contains the value of ``dfhack.screen.inGraphicsMode()``, which cannot be
changed without restarting the game and thus is constant during the session.
* ``CLEAR_PEN`` * ``CLEAR_PEN``
The black pen used to clear the screen. The black pen used to clear the screen.

@ -7,8 +7,6 @@ local utils = require('utils')
local dscreen = dfhack.screen local dscreen = dfhack.screen
local getval = utils.getval local getval = utils.getval
USE_GRAPHICS = dscreen.inGraphicsMode()
local to_pen = dfhack.pen.parse local to_pen = dfhack.pen.parse
CLEAR_PEN = to_pen{tile=909, ch=32, fg=0, bg=0} CLEAR_PEN = to_pen{tile=909, ch=32, fg=0, bg=0}