Subversion Repositories wimsdev

Rev

Rev 8414 | Rev 12473 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8414 Rev 8878
Line 101... Line 101...
101
        string_modify(p,pp,pe,colortab[nametab[i].serial].def);
101
        string_modify(p,pp,pe,colortab[nametab[i].serial].def);
102
    }
102
    }
103
    return p;
103
    return p;
104
}
104
}
105
 
105
 
106
void process(void)
106
void fly_process(void)
107
{
107
{
108
    char buf[MAX_LINELEN+1];
108
    char buf[MAX_LINELEN+1];
109
    int c;
109
    int c;
110
    do {
110
    do {
111
      c=ggetline(buf); obj_main(buf);
111
      c=ggetline(buf); obj_main(buf);
Line 131... Line 131...
131
    }
131
    }
132
    vartab[0].name="animstep"; vartab[0].value=0;
132
    vartab[0].name="animstep"; vartab[0].value=0;
133
    varcnt=1;
133
    varcnt=1;
134
    if(argc>1) snprintf(imagefilename,sizeof(imagefilename),"%s",argv[1]);
134
    if(argc>1) snprintf(imagefilename,sizeof(imagefilename),"%s",argv[1]);
135
    else imagefilename[0]=0;
135
    else imagefilename[0]=0;
136
    process();
136
    fly_process();
137
    if(!saved || imagefilename[0]!=0) output();
137
    if(!saved || imagefilename[0]!=0) output();
138
    if(image) gdImageDestroy(image);
138
    if(image) gdImageDestroy(image);
139
    if(vimg_ready) vimg_close();
139
    if(vimg_ready) vimg_close();
140
    return 0;
140
    return 0;
141
}
141
}