summaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_functions.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-31 18:26:49 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-31 18:26:49 -0300
commit37f2222dd77d4ebb9c4df1af598635ac73f0bcf6 (patch)
tree1ebdc8db85dae7cc84111a3b92f2af399fa2671d /modules/gdscript/gd_functions.h
parent6b1849d29b42a624a6f0514067bd8d4e67d68198 (diff)
-Added Color8(r8,g8,b8,a8) function as well as .r8,.g8,.b8,.a8 members to Color, to deal with colors in the 0-255 range. Closes #2345
Diffstat (limited to 'modules/gdscript/gd_functions.h')
-rw-r--r--modules/gdscript/gd_functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gd_functions.h b/modules/gdscript/gd_functions.h
index ad35a628d5..e348689550 100644
--- a/modules/gdscript/gd_functions.h
+++ b/modules/gdscript/gd_functions.h
@@ -94,6 +94,7 @@ public:
INST2DICT,
DICT2INST,
HASH,
+ COLOR8,
PRINT_STACK,
INSTANCE_FROM_ID,
FUNC_MAX