Fixed compiling
Some checks failed
Build Dusk / run-tests (push) Failing after 15s

This commit is contained in:
2026-03-10 21:11:12 -05:00
parent 58c239f4b4
commit 4517b63557
5 changed files with 31 additions and 23 deletions

View File

@@ -60,6 +60,8 @@ outHeader += "#define color3f(r, g, b) ((color3f_t){ r, g, b })\n"
outHeader += "#define color4f(r, g, b, a) ((color4f_t){ r, g, b, a })\n"
outHeader += "#define color3b(r, g, b) ((color3b_t){ r, g, b })\n"
outHeader += "#define color4b(r, g, b, a) ((color4b_t){ r, g, b, a })\n\n"
outHeader += "#define color(r, g, b, a) color4b(r, g, b, a)\n\n" # Preferred format.
outHeader += "#define colorHex(hex) color4b(((hex >> 24) & 0xFF), ((hex >> 16) & 0xFF), ((hex >> 8) & 0xFF), (hex & 0xFF))\n\n"
luaScript = ""