1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-01 18:27:55 +00:00

more adjustments to disabled CAP_*

This commit is contained in:
Zeno Rogue
2019-09-13 03:10:26 +02:00
parent 9a0507ba58
commit a3d9711ec2
8 changed files with 34 additions and 13 deletions

View File

@@ -321,12 +321,14 @@ int main() {
}
printf("\n");
printf("#if HDR\n");
printf("#if CAP_TRANS\n");
printf("#define NUMEXTRA %d\n", isize(vchars));
printf("#define NATCHARS {");
for(auto&& elt : vchars) printf("\"%s\",", elt.c_str());
printf("};\n");
printf("extern const char* natchars[NUMEXTRA];\n");
printf("#endif\n");
printf("#endif\n");
printf("const char* natchars[NUMEXTRA] = NATCHARS;\n");
printf("//javastring = \"%s\";\n", javastring.c_str());