You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 rivejä
1.4 KiB

  1. //-------------------------------------------------------------------------
  2. //Command vars operations
  3. //-------------------------------------------------------------------------
  4. CmdVar("float", ["Fraction value", "0.0"]);
  5. CmdVar("int", ["No decimal value", "0"]);
  6. CmdVar("bool", ["Boolean value", "true/false", "1/0"]);
  7. CmdVar("color", ["Red/Green/Blue/{Alpha}",
  8. "HEXA: #ABC{D}", "      #AABBCC{DD}",
  9. "FLOAT: f f f f", "      (f f f f)", "      (f)"]);
  10. CmdVar("vec3", ["X/Y/Z as float", " f f f", "(f f f)", "(f)"]);
  11. //-------------------------------------------------------------------------
  12. //scene operations
  13. //-------------------------------------------------------------------------
  14. CmdType(["addlight"], "Add a light to the scene.\nUse other commands after this one to fully setup.", [CmdArg("float", "type")]);
  15. CmdType(["position"], "Set a position.\nWhen put after a light, sets its position.", [CmdArg("vec3", "pos")]);
  16. CmdType(["color"], "Set a color.", [CmdArg("color", "color")]);
  17. CmdType(["clearcolor"], "Sets the color used for screen clearing.", [CmdArg("color", "color")]);
  18. CmdType(["showgizmo"], "If true, show the axis gizmo.", [CmdArg("bool", "show")]);
  19. CmdType(["showlight"], "If true, show the light locations.", [CmdArg("bool", "show")]);