Debian Codegraph @

src/binds.h

raw symbols SCIP
1 /*
2 Rebindable key mappings.
3 */
4
5 #include "sexpr/sexp.h"cxx . . $ `<file>/src/sexpr/sexp.h`/
6
7 typedef int (*oesbind_tcxx . . $ oesbind_t#)(int val); /* OES game bind type - function pointer to a function that takes one integer parameter. */
8
9 #define OESKEYMAPSIZEcxx . . $ `src/binds.h:9:9`! 512
10 typedef oesbind_tcxx . . $ oesbind_t# oeskeymap_tcxx . . $ oeskeymap_t#[OESKEYMAPSIZEcxx . . $ `src/binds.h:9:9`!];
11
12 /* game binding names (from config file) */
13 struct oes_xlat_tcxx . . $ oes_xlat_t# {
14 const char *symbolcxx . . $ oes_xlat_t#symbol.;
15 oesbind_tcxx . . $ oesbind_t# bindingcxx . . $ oes_xlat_t#binding.;
16 };
17
18 typedef struct oes_xlat_tcxx . . $ oes_xlat_t# oes_xlat_tcxx . . $ oes_xlat_t#;
19
20
21
22 oeskeymap_tcxx . . $ oeskeymap_t# *oeskeymap_initcxx . . $ oeskeymap_init(4554ac8aee1e3e31). (oeskeymap_tcxx . . $ oeskeymap_t# *);
23 int oeskeymap_setcxx . . $ oeskeymap_set(f63c713ba6d28aa7). (oeskeymap_tcxx . . $ oeskeymap_t# *, int, oesbind_tcxx . . $ oesbind_t#, float scale);
24 oesbind_tcxx . . $ oesbind_t# oeskeymap_getcxx . . $ oeskeymap_get(3f28065ff06886e1). (oeskeymap_tcxx . . $ oeskeymap_t# *, int);
25 int oeskeymap_loadcxx . . $ oeskeymap_load(6003e71dff3b69f1). (oeskeymap_tcxx . . $ oeskeymap_t# *, const char *bindfile);
26 int oeskeymap_resolvecxx . . $ oeskeymap_resolve(5c4306d8553b3696). (const char *);
27 const char * oeskeymap_lookupcxx . . $ oeskeymap_lookup(f7ae7e56280f18ae). (int);
28
29
30 /* Globals. */
31 extern oeskeymap_tcxx . . $ oeskeymap_t# oeskeymapcxx . . $ oeskeymap.; /* keymap. function binding to key. */
32 extern oes_xlat_tcxx . . $ oes_xlat_t# oesxlatcxx . . $ oesxlat.[]; /* translate function name to function pointer. */