939
940
941
942
943
944
945
946
947
948
949
950
951
952
|
p=import_value(p,&v);
if(!p || v.t!=TY_CLASS) goto bad;
v.u=objalloc(v.u);
if(v.u==VOIDLINK) goto bad;
o=objects[v.u];
o->x=x;
o->y=y;
p=import_value(p,&o->misc1);
p=import_value(p,&o->misc2);
p=import_value(p,&o->misc3);
p=import_numbers(p,&x,0);
o->dir=x;
if((x&~7) || !p) {
objtrash(v.u);
|
>
>
|
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
|
p=import_value(p,&v);
if(!p || v.t!=TY_CLASS) goto bad;
v.u=objalloc(v.u);
if(v.u==VOIDLINK) goto bad;
o=objects[v.u];
o->x=x;
o->y=y;
p=import_numbers(p,&x,0);
o->image=x;
p=import_value(p,&o->misc1);
p=import_value(p,&o->misc2);
p=import_value(p,&o->misc3);
p=import_numbers(p,&x,0);
o->dir=x;
if((x&~7) || !p) {
objtrash(v.u);
|