feat: add ragequit option + hotkey (#925)

This commit is contained in:
Johann
2023-02-01 19:48:50 +01:00
committed by GitHub
parent 0214d85edd
commit c25e7d3fad
5 changed files with 23 additions and 1 deletions

View File

@ -23,6 +23,7 @@ namespace big
register_hotkey("beastjump", g.settings.hotkeys.beastjump, RAGE_JOAAT("beastjump"));
register_hotkey("invisveh", g.settings.hotkeys.invisveh, RAGE_JOAAT("invisveh"));
register_hotkey("localinvisveh", g.settings.hotkeys.localinvisveh, RAGE_JOAAT("localinvisveh"));
register_hotkey("fastquit", g.settings.hotkeys.fast_quit, RAGE_JOAAT("fastquit"));
g_renderer->add_wndproc_callback([this](HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
{