diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index f1b3b3e1161..f807efadc2e 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -988,13 +988,13 @@ reg_t kPalette(EngineState *s, int argc, reg_t *argv) { // Control types and flags enum { - K_CONTROL_BUTTON = 1, - K_CONTROL_TEXT = 2, - K_CONTROL_TEXTEDIT = 3, - K_CONTROL_ICON = 4, - K_CONTROL_LIST = 6, - K_CONTROL_LIST_ALIAS = 7, - K_CONTROL_BOX = 10 + K_CONTROL_BUTTON = 1, + K_CONTROL_TEXT = 2, + K_CONTROL_TEXTEDIT = 3, + K_CONTROL_ICON = 4, + K_CONTROL_LIST = 6, + K_CONTROL_LIST_ALIAS = 7, + K_CONTROL_PERCENTAGE = 10 }; static void disableCertainButtons(SegManager *segMan, Common::String gameName, reg_t obj) { @@ -1141,6 +1141,10 @@ void _k_GenericDrawControl(EngineState *s, reg_t controlObject, bool hilite) { delete[] listStrings; return; + case K_CONTROL_PERCENTAGE: + // TODO: Implement this + return; + default: error("unsupported control type %d", type); }