Overview
Comment: | Fix the =Animate instruction. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
222a54522db8bcbad105d1e101ea88b4 |
User & Date: | user on 2021-11-16 08:45:55 |
Other Links: | manifest | tags |
Context
2021-11-16
| ||
20:02 | Some corrections to animate_ext and collide_with functions in exec.c. check-in: c76e659783 user: user tags: trunk | |
08:45 | Fix the =Animate instruction. check-in: 222a54522d user: user tags: trunk | |
2021-11-09
| ||
08:22 | Add SQL functions BCAT and BYTE for dealing with blobs. check-in: 50395b8093 user: user tags: trunk | |
Changes
Modified exec.c from [3f70f573a7] to [17b60b9454].
︙ | ︙ | |||
329 330 331 332 333 334 335 | an->lstep=(an->lstep?:max_animation)-1; an->status&=~ANISTAT_LOGICAL; } } static void animate_ext(Uint32 n,Uint32 f,Uint32 a0,Uint32 a1,Uint32 t) { Animation*an=objects[n]->anim; | < | 329 330 331 332 333 334 335 336 337 338 339 340 341 342 | an->lstep=(an->lstep?:max_animation)-1; an->status&=~ANISTAT_LOGICAL; } } static void animate_ext(Uint32 n,Uint32 f,Uint32 a0,Uint32 a1,Uint32 t) { Animation*an=objects[n]->anim; if(!an) an=objects[n]->anim=animalloc(); an->lstep=an->vstep=an->count=an->ltime=an->vtime=an->status=0; an->step->start=a0; an->step->end=a1; an->step->speed=t; an->vimage=(f&0x08?objects[n]->image:a0); if(f&0x10) an->ltime=an->vtime=t/2; |
︙ | ︙ |