From 74f1309af5310fbfa346048f8ecfc7fe1e8a4571 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 11 Oct 2025 03:09:35 +0100 Subject: Improve gamedata codegen and fix spurious cases The old GAMESPECIFIC mechanism had worked in practice but was technically a little bit incorrect, oops. --- src/build/mkentprops.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/build/mkentprops.c') diff --git a/src/build/mkentprops.c b/src/build/mkentprops.c index 17d9aa0..7c195d0 100644 --- a/src/build/mkentprops.c +++ b/src/build/mkentprops.c @@ -350,6 +350,7 @@ static inline void dodecls(FILE *out) { const char *s = sbase + decls[i]; F( "extern int %s;", s); F( "#define has_%s (!!%s)", s, s); // offsets will NEVER be 0, due to vtable! +F( "#define _HAS_%s(x) has_%s", s, s); // HACK: stupid dupe for gluegen } } -- cgit v1.2.3-54-g00ecf