diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-07-16 16:37:25 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-07-23 19:02:10 +0100 |
commit | 8c8680ad112f3ad1360aa5547392119ed4de6581 (patch) | |
tree | 66e4a6f650693dedf20246d083492153724aae10 /src/sst.c | |
parent | 5b801b6934bf8361af4cee7556351a7fd43150fa (diff) |
Add keybind lookup code
Also centralise NEXT_INSN macro, into its own header at least for now.
Diffstat (limited to 'src/sst.c')
-rw-r--r-- | src/sst.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -22,6 +22,7 @@ #endif #include "ac.h" +#include "bind.h" #include "alias.h" #include "autojump.h" #include "con_.h" @@ -190,7 +191,7 @@ static const void *const *const plugin_obj; // figures out the dependencies at build time and generates all the init glue // but we want to actually release the plugin this decade so for now I'm just // plonking some bools here and worrying about it later. :^) -static bool has_ac = false, has_autojump = false, has_demorec = false, +static bool has_ac = false, has_autojump = false, has_demorec = false, has_fov = false, has_nosleep = false, has_portalcolours = false; #ifdef _WIN32 static bool has_rinput = false; @@ -206,6 +207,7 @@ static const char *updatenotes = "\ "; static void do_featureinit(void) { + bool has_bind = bind_init(); has_ac = ac_init(); bool has_alias = alias_init(); has_autojump = autojump_init(); |