- Timestamp:
- 10/16/22 14:23:57 (2 years ago)
- Location:
- cpp
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/nonstd_span.h
r1179 r1183 13 13 constexpr span() noexcept 14 14 { 15 data_ = NULL; size_ = 0; 15 data_ = NULL; 16 size_ = 0; 16 17 } 17 18 constexpr span(ElementType* first, size_t count) noexcept 18 19 { 19 data_ = first; size_ = count; 20 data_ = first; 21 size_ = count; 20 22 } 21 23 constexpr span(ElementType* first, ElementType* end) noexcept 22 24 { 23 data_ = first; size_ = end - first; 25 data_ = first; 26 size_ = end - first; 24 27 } 25 28 template<size_t N> constexpr span(ElementType(&arr)[N]) noexcept 26 29 { 27 data_ = arr; size_ = N; 30 data_ = arr; 31 size_ = N; 28 32 } 29 33 -
cpp/frams/config/f0-SDK.def
r1142 r1183 3 3 GROUP(Visual) 4 4 PROP(se,0,1024,startenergy,f,,,,startenergy) 5 PROP(Vstyle,1,0, vis_style,s,0,0,,vis_style)5 PROP(Vstyle,1,0,Visual style,s,0,0,,vis_style,,``See the \"Visual style definition\" context for more information'') 6 6 ENDCLASS 7 7 … … 27 27 PROP(rz,0,1024,rot.z,f,,,,rot.z) 28 28 PROP(i,1,0,`info',s,,,,info) 29 PROP(Vstyle,2,0, vis_style,s,0,0,part,vis_style)29 PROP(Vstyle,2,0,Visual style,s,0,0,part,vis_style,,``See the \"Visual style definition\" context for more information'') 30 30 XPROP(vr,2,0,red component,f,0.0,1.0,0.5,vcolor.x) 31 31 XPROP(vg,2,1024,green component,f,0.0,1.0,0.5,vcolor.y) … … 66 66 PROP(stam,2,0,stamina,f,0.0,1.0,0.25,stamina) 67 67 PROP(i,2,0,`info',s,,,,info) 68 PROP(Vstyle,3,0, vis_style,s,0,0,joint,vis_style)68 PROP(Vstyle,3,0,Visual style,s,0,0,joint,vis_style,,``See the \"Visual style definition\" context for more information'') 69 69 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 70 70 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) … … 94 94 PROP(stam,2,0,stamina,f,0.0,1.0,0.25,stamina) 95 95 PROP(i,2,0,`info',s,,,,info) 96 PROP(Vstyle,3,0, vis_style,s,0,0,joint,vis_style)96 PROP(Vstyle,3,0,Visual style,s,0,0,joint,vis_style,,``See the \"Visual style definition\" context for more information'') 97 97 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 98 98 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) … … 108 108 PROP(d,1,0,details,s,,,N,details,GETSET) 109 109 PROP(i,1,0,`info',s,,,,info) 110 PROP(Vstyle,2,0, vis_style,s,0,0,neuro,vis_style)110 PROP(Vstyle,2,0,Visual style,s,0,0,neuro,vis_style,,``See the \"Visual style definition\" context for more information'') 111 111 PROP(getInputCount,0,1+2,`input count',d,,,,inputCount,GETONLY) 112 112 PROP(getInputNeuroDef,0,0,`get input neuron',p oNeuroDef(d),,,,p_getInputNeuroDef,PROCEDURE) -
cpp/frams/config/f0.def
r1142 r1183 3 3 GROUP(Visual) 4 4 PROP(se,0,1024,startenergy,f,,,,startenergy) 5 PROP(Vstyle,1,0, vis_style,s,0,0,,vis_style)5 PROP(Vstyle,1,0,Visual style,s,0,0,,vis_style,,``See the \"Visual style definition\" context for more information'') 6 6 ENDCLASS 7 7 … … 27 27 PROP(rz,0,1024,rot.z,f,,,,rot.z) 28 28 PROP(i,1,0,`info',s,,,,info) 29 PROP(Vstyle,2,0, vis_style,s,0,0,part,vis_style)29 PROP(Vstyle,2,0,Visual style,s,0,0,part,vis_style,,``See the \"Visual style definition\" context for more information'') 30 30 XPROP(vr,2,0,red component,f,0.0,1.0,0.5,vcolor.x) 31 31 XPROP(vg,2,1024,green component,f,0.0,1.0,0.5,vcolor.y) … … 66 66 PROP(stam,2,0,stamina,f,0.0,1.0,0.25,stamina) 67 67 PROP(i,2,0,`info',s,,,,info) 68 PROP(Vstyle,3,0, vis_style,s,0,0,joint,vis_style)68 PROP(Vstyle,3,0,Visual style,s,0,0,joint,vis_style,,``See the \"Visual style definition\" context for more information'') 69 69 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 70 70 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) … … 94 94 PROP(stam,2,0,stamina,f,0.0,1.0,0.25,stamina) 95 95 PROP(i,2,0,`info',s,,,,info) 96 PROP(Vstyle,3,0, vis_style,s,0,0,joint,vis_style)96 PROP(Vstyle,3,0,Visual style,s,0,0,joint,vis_style,,``See the \"Visual style definition\" context for more information'') 97 97 XPROP(vr,3,0,red component,f,0.0,1.0,0.5,vcolor.x) 98 98 XPROP(vg,3,1024,green component,f,0.0,1.0,0.5,vcolor.y) … … 108 108 PROP(d,1,0,details,s,,,N,details,GETSET) 109 109 PROP(i,1,0,`info',s,,,,info) 110 PROP(Vstyle,2,0, vis_style,s,0,0,neuro,vis_style)110 PROP(Vstyle,2,0,Visual style,s,0,0,neuro,vis_style,,``See the \"Visual style definition\" context for more information'') 111 111 PROP(getInputCount,0,1+2,`input count',d,,,,inputCount,GETONLY) 112 112 PROP(getInputNeuroDef,0,0,`get input neuron',p oNeuroDef(d),,,,p_getInputNeuroDef,PROCEDURE) -
cpp/frams/genetics/genoconv.cpp
r988 r1183 19 19 /////////////////////////////////////////////////////////////////////////// 20 20 21 GenoConvParam::GenoConvParam(GenoConvManager *g) :Param( 0), gcm(g)21 GenoConvParam::GenoConvParam(GenoConvManager *g) :Param(), gcm(g) 22 22 { 23 23 updatetab(); -
cpp/frams/model/defassign-f0-SDK.h
r1142 r1183 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-202 1Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2022 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 -
cpp/frams/model/f0-SDK-classes.h
r1142 r1183 10 10 {"Visual",}, 11 11 {"se",0,1024,"startenergy","f",FIELD(startenergy),}, 12 {"Vstyle",1,0," vis_style","s 0 0 ",FIELD(vis_style),},12 {"Vstyle",1,0,"Visual style","s 0 0 ",FIELD(vis_style),"See the \"Visual style definition\" context for more information",}, 13 13 {0,0,0,} 14 14 }; … … 44 44 {"rz",0,1024,"rot.z","f",FIELD(rot.z),}, 45 45 {"i",1,0,"info","s",FIELD(info),}, 46 {"Vstyle",2,0," vis_style","s 0 0 part",FIELD(vis_style),},46 {"Vstyle",2,0,"Visual style","s 0 0 part",FIELD(vis_style),"See the \"Visual style definition\" context for more information",}, 47 47 {"vr",2,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),}, 48 48 {"vg",2,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),}, … … 111 111 {"stam",2,0,"stamina","f 0.0 1.0 0.25",FIELD(stamina),}, 112 112 {"i",2,0,"info","s",FIELD(info),}, 113 {"Vstyle",3,0," vis_style","s 0 0 joint",FIELD(vis_style),},113 {"Vstyle",3,0,"Visual style","s 0 0 joint",FIELD(vis_style),"See the \"Visual style definition\" context for more information",}, 114 114 {"vr",3,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),}, 115 115 {"vg",3,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),}, … … 154 154 {"stam",2,0,"stamina","f 0.0 1.0 0.25",FIELD(stamina),}, 155 155 {"i",2,0,"info","s",FIELD(info),}, 156 {"Vstyle",3,0," vis_style","s 0 0 joint",FIELD(vis_style),},156 {"Vstyle",3,0,"Visual style","s 0 0 joint",FIELD(vis_style),"See the \"Visual style definition\" context for more information",}, 157 157 {"vr",3,0,"red component","f 0.0 1.0 0.5",FIELD(vcolor.x),}, 158 158 {"vg",3,1024,"green component","f 0.0 1.0 0.5",FIELD(vcolor.y),}, … … 183 183 {"d",1,0,"details","s",GETSET(details),}, 184 184 {"i",1,0,"info","s",FIELD(info),}, 185 {"Vstyle",2,0," vis_style","s 0 0 neuro",FIELD(vis_style),},185 {"Vstyle",2,0,"Visual style","s 0 0 neuro",FIELD(vis_style),"See the \"Visual style definition\" context for more information",}, 186 186 {"getInputCount",0,1+2,"input count","d",GETONLY(inputCount),}, 187 187 {"getInputNeuroDef",0,0,"get input neuron","p oNeuroDef(d)",PROCEDURE(p_getInputNeuroDef),}, -
cpp/frams/model/modelobj.cpp
r1158 r1183 9 9 { "Model", 1, 21, "Model", }, 10 10 { "se", 0, PARAM_NOSTATIC, "startenergy", "f", FIELD(startenergy), }, 11 { "Vstyle", 0, PARAM_NOSTATIC, " vis_style", "s", FIELD(vis_style),},11 { "Vstyle", 0, PARAM_NOSTATIC, "Visual style", "s", FIELD(vis_style), "See the \"Visual style definition\" context for more information"}, 12 12 13 13 { "geno", 0, PARAM_NOSTATIC | PARAM_READONLY, "Geno", "oGeno", GETONLY(geno), },
Note: See TracChangeset
for help on using the changeset viewer.