generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
21
_module/nss/_setcgrd.nss
Normal file
21
_module/nss/_setcgrd.nss
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "fcb_inc_vars"
|
||||
#include "fcb_inc_cvdisp"
|
||||
#include "fcb_inc_parser"
|
||||
|
||||
//==========================================/
|
||||
void main()
|
||||
//==========================================/
|
||||
{
|
||||
string name = retrieve_arg(1);
|
||||
|
||||
int r1 = StringToInt(retrieve_arg(2));
|
||||
int g1 = StringToInt(retrieve_arg(3));
|
||||
int b1 = StringToInt(retrieve_arg(4));
|
||||
|
||||
int r2 = StringToInt(retrieve_arg(5));
|
||||
int g2 = StringToInt(retrieve_arg(6));
|
||||
int b2 = StringToInt(retrieve_arg(7));
|
||||
|
||||
set_function_result(set_gradation(name, r1, g1, b1, r2, g2, b2));
|
||||
set_function_result_valid();
|
||||
}
|
||||
Reference in New Issue
Block a user