Differences From Artifact [c0b2b83ad9]:
- File edit.c — part of check-in [ce10815b30] at 2021-04-18 22:20:17 on branch trunk — Correct a mistake in importing level titles (user: user, size: 45642) [annotate] [blame] [check-ins using]
To Artifact [de2922fa30]:
- File edit.c — part of check-in [b43a526002] at 2021-04-18 22:44:04 on branch trunk — Implement pasting into text input prompts (user: user, size: 45696) [annotate] [blame] [check-ins using]
| ︙ | |||
939 940 941 942 943 944 945 946 947 948 949 950 951 952 | 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);
|
| ︙ |