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

Last change on this file since 97 was 94, checked in by sz, 11 years ago

fixed model.def double Model appearance

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1divert(-1)
2
3define(`Invisible',1)
4define(`DontShowClass',`2')
5define(`AtFirstPart',`4')
6define(`AtSecondPart',`8')
7define(`InTheMiddle',`12')
8define(`EffectorClass',`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
30divert(1)
31# EOF
32divert
Note: See TracBrowser for help on using the repository browser.