void CGEEngine::optionTouch(int opt, uint16 mask) { switch (opt) { case 1: if (mask & kMouseLeftUp) switchColorMode(); break; case 2: if (mask & kMouseLeftUp) switchMusic(); else if (mask & kMouseRightUp) openMainMenuDialog(); break; case 3: if (mask & kMouseLeftUp) quit(); break; } }
void CGEEngine::optionTouch(int opt, uint16 mask) { switch (opt) { case 1: if (mask & kMouseLeftUp) switchColorMode(); break; case 2: if (mask & kMouseLeftUp) switchMusic(); else if (mask & kMouseRightUp) warning("TODO: Use ScummVM sound dialog"); break; case 3: if (mask & kMouseLeftUp) quit(); break; } }