source: cpp/gdk/f0-modeldef.m4 @ 57

Last change on this file since 57 was 5, checked in by sz, 16 years ago

added the GDK (Genotype Development Kit)

File size: 1.2 KB
Line 
1divert(-1)
2
3define(`Invisible',1)
4define(`DontShowClass',`2')
5define(`AtFirstPart',`4')
6define(`AtSecondPart',`8')
7define(`InTheMiddle',`12')
8define(`MuscleClass',`16')
9define(`ReceptorClass',`32')
10define(`V1BendMuscle',`64')
11define(`V1RotMuscle',`128')
12
13define(`CLASS',`ifelse($4,NOXML,`divert(-1)',`class:id=$3,name="$1"') define(`groupcounter',0)')
14define(`XPROP',ZPROP(X,$@))
15define(`PROP',ZPROP(-,$@))
16define(`ZPROP',`prop:id=$2,ifelse($1,X,`xtra=1,')name="$5",group="groupname_$3",flags=$4,type="$6 $7 $8 $9"')
17#define(`GROUP',`g:name="$1" define(`groupname_'groupcounter,$1)define(`groupcounter',m4_eval(groupcounter+1))')
18define(`GROUP',`define(`groupname_'groupcounter,$1)define(`groupcounter',eval(groupcounter+1))')
19define(`ENDCLASS',`divert')
20
21define(`NEUROCLASS',`neuro: id=$2,name="$3",info="$4",inputs=$5,output=$6,location=$7 divert(2)')
22define(`VISUALHINTS',`divert `,vhints'=eval($1) divert(2)')
23define(`SYMBOL',`divert ,symbol="$1" divert(2)')
24define(`NEUROPROP',`prop:id=$1,name="$4",type="$5 $6 $7 $8"')
25define(`ENDNEUROCLASS',`divert`'undivert(2)')
26
27changecom
28divert
29# f0 definition for Framsticks
30class:id=m,name="Model"
31prop:id=se,name="starting energy",group="x",flags=1024,type="f -999999 999999 0 "
32divert(1)
33# EOF
34divert
Note: See TracBrowser for help on using the repository browser.