Annotation of researchv9/jerq/src/lib/j/texture.c, revision 1.1

1.1     ! root        1: #include <jerq.h>
        !             2: 
        !             3: texture(b, r, t, c)
        !             4:        Bitmap *b;
        !             5:        Rectangle r;
        !             6:        Texture *t;
        !             7:        Code c;
        !             8: {
        !             9:        Texture32 local;
        !            10:        register short *dest=(short *)&local;
        !            11:        register short *ssrc=(short *)t;
        !            12:        register int i;
        !            13: 
        !            14:        i=16;
        !            15:        do{
        !            16:                *dest= *ssrc;
        !            17:                *(dest+1)= *ssrc;
        !            18:                *((int *)(dest+32))= *((int *)dest);
        !            19:                ssrc++;
        !            20:                dest+=2;
        !            21:        }while(--i>0);
        !            22:        texture32(b, r, &local, c);
        !            23: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.