Free Hero Mesh

Check-in [89831418e9]
Login
This is a mirror of the main repository for Free Hero Mesh. New tickets and changes will not be accepted at this mirror.
Overview
Comment:Fix the Missile animations by not disabling visual animation when no logical animation is active
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 89831418e907c8ac73da2a2811cddf728d0be403
User & Date: user on 2020-12-28 22:23:12
Other Links: manifest | tags
Context
2020-12-29
04:43
Fix the timing of the MOVED message; I am not exactly sure about the correct behaviour but this seems to work OK check-in: 47b6ef91c7 user: user tags: trunk
2020-12-28
22:23
Fix the Missile animations by not disabling visual animation when no logical animation is active check-in: 89831418e9 user: user tags: trunk
2020-12-25
06:19
Correct the scrollbars to work like that in xterm and other programs check-in: 2c47558bbb user: user tags: trunk
Changes

Modified exec.c from [42efb1ced4] to [8b686e824a].

271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
    an->step[an->lstep].start=a0;
    an->step[an->lstep].end=a1;
    an->step[an->lstep].speed=t;
    an->ltime=0;
    an->status=ANISTAT_VISUAL|ANISTAT_LOGICAL;
    an->count++;
  } else if(an->lstep==an->vstep) {
    an->status=0;
  } else if(an->status&ANISTAT_LOGICAL) {
    an->lstep=(an->lstep?:max_animation)-1;
    an->status&=~ANISTAT_LOGICAL;
  }
}

static void animate_sync(Uint32 n,Uint32 sl,Uint32 a0) {







|







271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
    an->step[an->lstep].start=a0;
    an->step[an->lstep].end=a1;
    an->step[an->lstep].speed=t;
    an->ltime=0;
    an->status=ANISTAT_VISUAL|ANISTAT_LOGICAL;
    an->count++;
  } else if(an->lstep==an->vstep) {
    if(an->status&ANISTAT_LOGICAL) an->status=0;
  } else if(an->status&ANISTAT_LOGICAL) {
    an->lstep=(an->lstep?:max_animation)-1;
    an->status&=~ANISTAT_LOGICAL;
  }
}

static void animate_sync(Uint32 n,Uint32 sl,Uint32 a0) {