Changeset 754 for cpp/frams/model


Ignore:
Timestamp:
03/02/18 18:46:54 (2 years ago)
Author:
Maciej Komosinski
Message:

More strict rules for Param type descriptions and "unlimited range value" and "unlimited string length": "d 0 -1", "f 0 -1", "s 0 0", "s 1 0" (see formatspec.html)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/f0-SDK-classes.h

    r732 r754  
    1010 {"Visual",},
    1111 {"se",0,1024,"startenergy","f",FIELD(startenergy),},
    12  {"Vstyle",1,0,"vis_style","s 0 -1 ",FIELD(vis_style),},
     12 {"Vstyle",1,0,"vis_style","s 0 0 ",FIELD(vis_style),},
    1313 {0,0,0,}
    1414};
     
    4444 {"rz",0,1024,"rot.z","f",FIELD(rot.z),},
    4545 {"i",1,0,"info","s",FIELD(info),},
    46  {"Vstyle",2,0,"vis_style","s 0 -1 part",FIELD(vis_style),},
     46 {"Vstyle",2,0,"vis_style","s 0 0 part",FIELD(vis_style),},
    4747 {"vs",2,0,"visual thickness","f 0.05 0.7 0.2",FIELD(vsize),},
    4848 {"vr",2,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
     
    8888 {"stam",2,0,"stamina","f 0.0 1.0 0.25",FIELD(stamina),},
    8989 {"i",2,0,"info","s",FIELD(info),},
    90  {"Vstyle",3,0,"vis_style","s 0 -1 joint",FIELD(vis_style),},
     90 {"Vstyle",3,0,"vis_style","s 0 0 joint",FIELD(vis_style),},
    9191 {"vr",3,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    9292 {"vg",3,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
     
    121121 {"stam",2,0,"stamina","f 0.0 1.0 0.25",FIELD(stamina),},
    122122 {"i",2,0,"info","s",FIELD(info),},
    123  {"Vstyle",3,0,"vis_style","s 0 -1 joint",FIELD(vis_style),},
     123 {"Vstyle",3,0,"vis_style","s 0 0 joint",FIELD(vis_style),},
    124124 {"vr",3,0,"red component","f 0.0 1.0 1.0",FIELD(vcolor.x),},
    125125 {"vg",3,1024,"green component","f 0.0 1.0 1.0",FIELD(vcolor.y),},
     
    150150 {"d",1,0,"details","s",GETSET(details),},
    151151 {"i",1,0,"info","s",FIELD(info),},
    152  {"Vstyle",2,0,"vis_style","s 0 -1 neuro",FIELD(vis_style),},
     152 {"Vstyle",2,0,"vis_style","s 0 0 neuro",FIELD(vis_style),},
    153153 {"getInputCount",0,1+2,"input count","d",GETONLY(inputCount),},
    154154 {"getInputNeuroDef",0,1+2,"get input neuron","p oNeuroDef(d)",PROCEDURE(p_getInputNeuroDef),},
Note: See TracChangeset for help on using the changeset viewer.