Overview
| Comment: | If creating an object in the bizarro world with an overridden order of execution, ensure that it is inserted into the proper place in its order. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
2882130a06ed855e0d1cf792f76ea15d |
| User & Date: | user on 2022-02-15 00:37:40.471 |
| Other Links: | manifest | tags |
Context
|
2022-02-16
| ||
| 03:49 | Implement the high 8-bits of Shovable variable. check-in: df0b4678c0 user: user tags: trunk | |
|
2022-02-15
| ||
| 00:37 | If creating an object in the bizarro world with an overridden order of execution, ensure that it is inserted into the proper place in its order. check-in: 2882130a06 user: user tags: trunk | |
|
2022-02-14
| ||
| 08:22 | Implement the (userflags) syntax with an implied attribute. check-in: 7268a9ce16 user: user tags: trunk | |
Changes
Modified exec.c
from [1fd1cfcc25]
to [16dc0816de].
| ︙ | ︙ | |||
833 834 835 836 837 838 839 | o->x=x; o->y=y; o->image=im; o->dir=d; pflink(n); v=send_message(from,n,MSG_CREATE,NVALUE(0),NVALUE(0),NVALUE(0)); if(o->oflags&OF_DESTROYED) return VOIDLINK; | | > > > | 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 |
o->x=x;
o->y=y;
o->image=im;
o->dir=d;
pflink(n);
v=send_message(from,n,MSG_CREATE,NVALUE(0),NVALUE(0),NVALUE(0));
if(o->oflags&OF_DESTROYED) return VOIDLINK;
if(o->oflags&OF_BIZARRO) {
if(classes[objects[n]->class]->order) set_order(n);
return n;
}
for(y=0;y<5;y++) for(x=0;x<5;x++) {
xx=o->x+x-2; yy=o->y+y-2;
if(xx<1 || xx>pfwidth || yy<1 || yy>pfheight) continue;
i=x+5*(4-y);
m=playfield[xx+yy*64-65];
while(m!=VOIDLINK) {
p=objects[m];
|
| ︙ | ︙ |