Lines Matching defs:psprite
1806 msprite_t *psprite;
1820 size = sizeof (msprite_t) + (numframes - 1) * sizeof (psprite->frames);
1822 psprite = Hunk_AllocName (size, loadname);
1824 mod->cache.data = psprite;
1826 psprite->type = LittleLong (pin->type);
1827 psprite->maxwidth = LittleLong (pin->width);
1828 psprite->maxheight = LittleLong (pin->height);
1829 psprite->beamlength = LittleFloat (pin->beamlength);
1831 psprite->numframes = numframes;
1833 mod->mins[0] = mod->mins[1] = -psprite->maxwidth/2;
1834 mod->maxs[0] = mod->maxs[1] = psprite->maxwidth/2;
1835 mod->mins[2] = -psprite->maxheight/2;
1836 mod->maxs[2] = psprite->maxheight/2;
1853 psprite->frames[i].type = frametype;
1859 &psprite->frames[i].frameptr);
1865 &psprite->frames[i].frameptr);