mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
Add colorspace as an arg to the gradient proc (#391)
We need to allow colorspace setting to make HSV gradients possible, which is real powerful. It is technically a bit fucked because byond is ok with passing a value for index after the assoc space value, but we can just pretend that isn't a problem.
This commit is contained in:
parent
ef9485246d
commit
ca9e5a2c8c
1 changed files with 1 additions and 1 deletions
|
|
@ -467,7 +467,7 @@ pub fn register_builtins(tree: &mut ObjectTreeBuilder) {
|
|||
proc/get_step_rand(Ref);
|
||||
proc/get_step_to(Ref,Trg,Min=0);
|
||||
proc/get_step_towards(Ref,Trg);
|
||||
proc/gradient(Gradient, index); // unsure how to handle (Item1, Item2, ..., index) form
|
||||
proc/gradient(Gradient, index, space = COLORSPACE_RGB); // unsure how to handle (Item1, Item2, ..., index) form
|
||||
proc/hascall(Object,ProcName);
|
||||
proc/hearers(Depth=world.view,Center=usr);
|
||||
proc/html_decode(HtmlText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue