version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_arch_c = | | * static char *rcsid_arch_c = |
* "$Id: arch.c,v 1.12 2001/06/29 05:59:46 mwedel Exp $"; | | * "$Id: arch.c,v 1.13 2001/11/04 20:22:55 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
while((i=load_object(fp,op,first,0))) { | | while((i=load_object(fp,op,first,0))) { |
first=0; | | first=0; |
copy_object(op,&at->clone); | | copy_object(op,&at->clone); |
at->clone.speed_left= -0.1; | | at->clone.speed_left= (float) (-0.1); |
switch(i) { | | switch(i) { |
case LL_NORMAL: /* A new archetype, just link it with the previous */ | | case LL_NORMAL: /* A new archetype, just link it with the previous */ |
if(last_more!=NULL) | | if(last_more!=NULL) |
| | |
if(prev!=NULL) | | if(prev!=NULL) |
prev->next=at; | | prev->next=at; |
prev=last_more=at; | | prev=last_more=at; |
| | op->quick_pos = 0; /* assume as base a single arch */ |
| | at->clone.quick_pos = 0; /* sic */ |
break; | | break; |
#if 0 | | #if 0 |
case 2: | | case 2: |
| | |
last_more->clone.more = &at->clone; | | last_more->clone.more = &at->clone; |
} | | } |
last_more=at; | | last_more=at; |
| | |
| | /*LOG(llevDebug,"Part object: %d,%d\n", at->clone.x,at->clone.y);*/ |
| | prev->clone.quick_pos = 255; /* mark head tile */ |
| | at->clone.quick_pos = 0|(at->clone.x<<4)|at->clone.y; |
| | |
break; | | break; |
} | | } |
at=get_archetype_struct(); | | at=get_archetype_struct(); |