This commit is contained in:
@@ -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 = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user