summaryrefslogtreecommitdiffhomepage
path: root/src/sst.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-07-16 16:37:25 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-07-23 19:02:10 +0100
commit8c8680ad112f3ad1360aa5547392119ed4de6581 (patch)
tree66e4a6f650693dedf20246d083492153724aae10 /src/sst.c
parent5b801b6934bf8361af4cee7556351a7fd43150fa (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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sst.c b/src/sst.c
index 1321d03..93908dc 100644
--- a/src/sst.c
+++ b/src/sst.c
@@ -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();