Searched refs:psprite (Results 1 - 8 of 8) sorted by relevance

/external/quake/quake/src/QW/client/
H A Dr_sprite.c236 mspriteframe_t *R_GetSpriteframe (msprite_t *psprite) argument
245 if ((frame >= psprite->numframes) || (frame < 0))
251 if (psprite->frames[frame].type == SPR_SINGLE)
253 pspriteframe = psprite->frames[frame].frameptr;
257 pspritegroup = (mspritegroup_t *)psprite->frames[frame].frameptr;
289 msprite_t *psprite; local
293 psprite = currententity->model->cache.data;
295 r_spritedesc.pspriteframe = R_GetSpriteframe (psprite);
301 if (psprite->type == SPR_FACING_UPRIGHT)
332 else if (psprite
[all...]
H A Dgl_model.c1799 msprite_t *psprite; local
1813 size = sizeof (msprite_t) + (numframes - 1) * sizeof (psprite->frames);
1815 psprite = Hunk_AllocName (size, loadname);
1817 mod->cache.data = psprite;
1819 psprite->type = LittleLong (pin->type);
1820 psprite->maxwidth = LittleLong (pin->width);
1821 psprite->maxheight = LittleLong (pin->height);
1822 psprite->beamlength = LittleFloat (pin->beamlength);
1824 psprite->numframes = numframes;
1826 mod->mins[0] = mod->mins[1] = -psprite
[all...]
H A Dgl_rmain.c147 msprite_t *psprite; local
153 psprite = currententity->model->cache.data;
156 if ((frame >= psprite->numframes) || (frame < 0))
162 if (psprite->frames[frame].type == SPR_SINGLE)
164 pspriteframe = psprite->frames[frame].frameptr;
168 pspritegroup = (mspritegroup_t *)psprite->frames[frame].frameptr;
204 msprite_t *psprite; local
209 psprite = currententity->model->cache.data;
211 if (psprite->type == SPR_ORIENTED)
H A Dmodel.c1806 msprite_t *psprite; local
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
[all...]
/external/quake/quake/src/WinQuake/
H A Dr_sprite.cpp236 mspriteframe_t *R_GetSpriteframe (msprite_t *psprite) argument
245 if ((frame >= psprite->numframes) || (frame < 0))
251 if (psprite->frames[frame].type == SPR_SINGLE)
253 pspriteframe = psprite->frames[frame].frameptr;
257 pspritegroup = (mspritegroup_t *)psprite->frames[frame].frameptr;
289 msprite_t *psprite; local
293 psprite = currententity->model->cache.data;
295 r_spritedesc.pspriteframe = R_GetSpriteframe (psprite);
301 if (psprite->type == SPR_FACING_UPRIGHT)
332 else if (psprite
[all...]
H A Dgl_model.cpp1755 msprite_t *psprite; local
1769 size = sizeof (msprite_t) + (numframes - 1) * sizeof (psprite->frames);
1771 psprite = (msprite_t*) Hunk_AllocName (size, loadname);
1773 mod->cache.data = psprite;
1775 psprite->type = LittleLong (pin->type);
1776 psprite->maxwidth = LittleLong (pin->width);
1777 psprite->maxheight = LittleLong (pin->height);
1778 psprite->beamlength = LittleFloat (pin->beamlength);
1780 psprite->numframes = numframes;
1782 mod->mins[0] = mod->mins[1] = -psprite
[all...]
H A Dmodel.cpp1783 msprite_t *psprite; local
1797 size = sizeof (msprite_t) + (numframes - 1) * sizeof (psprite->frames);
1799 psprite = Hunk_AllocName (size, loadname);
1801 mod->cache.data = psprite;
1803 psprite->type = LittleLong (pin->type);
1804 psprite->maxwidth = LittleLong (pin->width);
1805 psprite->maxheight = LittleLong (pin->height);
1806 psprite->beamlength = LittleFloat (pin->beamlength);
1808 psprite->numframes = numframes;
1810 mod->mins[0] = mod->mins[1] = -psprite
[all...]
H A Dgl_rmain.cpp146 msprite_t *psprite; local
152 psprite = (msprite_t*) currententity->model->cache.data;
155 if ((frame >= psprite->numframes) || (frame < 0))
161 if (psprite->frames[frame].type == SPR_SINGLE)
163 pspriteframe = psprite->frames[frame].frameptr;
167 pspritegroup = (mspritegroup_t *)psprite->frames[frame].frameptr;
203 msprite_t *psprite; local
208 psprite = (msprite_t*) currententity->model->cache.data;
210 if (psprite->type == SPR_ORIENTED)

Completed in 124 milliseconds