source: cpp/gdk/neuroclasses.h @ 104

Last change on this file since 104 was 66, checked in by Maciej Komosinski, 13 years ago

set 'eol-style' to 'native'

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1// This file is a part of the Framsticks GDK library.
2// Copyright (C) 2002-2011  Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.framsticks.com/ for further information.
4
5CLASS(StdNeuron,"N","Neuron",`"Standard Framsticks Neuron, compatible with 1.0"',-1,1,0,0,0)
6
7CLASS(Gyro,"G","Gyroscope","Equilibrium sensor",0,1,2,
8        `{7, 4, 15,45,25,60,5,60,15,45,15,30,3, 25,60,20,65,10,65,5,60,4, 55,35,65,50,45,50,55,35,55,20,3, 65,50,60,55,50,55,45,50,1, 55,20,15,30,4, 35,25,35,75,30,80,40,80,35,75, 7, 100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50}',0)
9
10CLASS(Touch,"T","Touch","Touch sensor",0,1,1,
11      `{9, 15, 6,40,13,47,17,57,18,63,21,67,25,66,26,59,29,54,34,54,48,66,54,68,57,66,56,62,38,44,33,41,30,40,3, 46,51,46,45,40,39,31,36,4, 46,45,42,36,37,33,21,30,16,25,2, 58,62,63,62,64,65,1, 66,66,67,68,2, 68,70,70,73,66,73,1, 63,73,59,73,2, 56,73,52,73,51,69,7, 100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50}',0)
12
13CLASS(Smell,"S","Smell","Smell sensor",0,1,1,
14      `{13, 11, 11,6,21,7,29,13,30,30,38,36,47,52,29,53,29,64,17,67,28,68,26,83,8,86,1, 40,49,30,49,1, 24,19,16,20,1, 16,20,24,22,1, 40,57,44,61,1, 46,64,50,68,1, 52,71,56,75,1, 41,57,46,59,1, 50,59,55,60,1, 41,58,41,63,1, 41,65,41,70,1, 58,78,62,83,7, 100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50}',0)
15
16CLASS(Const,"*","Const","Constant value",0,1,0,
17      `{9, 2, 20,80,20,20,15,25,1, 20,20,25,25,2, 10,70,70,70,65,65,1, 70,70,65,75,1, 25,40,30,40,1, 35,40,40,40,1, 45,40,50,40,1, 55,40,60,40,7, 100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50}',0)
18
19CLASS(BendMuscle,"|","Bend Muscle","",1,0,2,
20`{11,4, 72,23,82,26,73,50,64,46,72,23,4, 62,51,71,54,63,78,54,74,62,51,1, 69,52,73,49,1, 76,47,80,45,1, 84,43,87,41,1, 66,50,65,46,1, 63,42,62,38,1, 60,34,59,30,1, 91,40,94,38,1, 57,27,55,22,5, 25,40,35,40,45,50,35,60,25,60,25,40}',
21  2,
22  `{"p",0,0,"power","f 0.01 1.0",FIELD(power),},
23   {"r",0,0,"rot.range","f 0.0 1.0",FIELD(rotrange),},')
24
25CLASS(RotMuscle,"@","Rotation Muscle","",1,0,2,
26`{12,4, 78,22,87,26,79,49,69,46,78,22,4, 67,51,77,54,68,78,59,74,67,51,1, 82,47,87,50,1, 89,52,91,58,1, 90,62,85,63,1, 82,64,77,64,1, 73,63,68,62,1, 65,60,59,56,1, 56,53,53,49,1, 53,45,57,41,1, 60,41,64,41,5, 25,40,35,40,45,50,35,60,25,60,25,40}',
27  1,
28  `{"p",0,0,"power","f 0.01 1.0",FIELD(power),},')
Note: See TracBrowser for help on using the repository browser.