MCPcopy Create free account
hub / github.com/JACoders/OpenJK / G2API_HaveWeGhoul2Models

Function G2API_HaveWeGhoul2Models

code/rd-vanilla/G2_API.cpp:1816–1819  ·  view source on GitHub ↗

decide if we have Ghoul2 models associated with this ghoul list or not

Source from the content-addressed store, hash-verified

1814
1815// decide if we have Ghoul2 models associated with this ghoul list or not
1816qboolean G2API_HaveWeGhoul2Models(CGhoul2Info_v &ghoul2)
1817{
1818 return (qboolean)ghoul2.IsValid();
1819}
1820
1821// run through the Ghoul2 models and set each of the mModel values to the correct one from the cgs.gameModel offset lsit
1822void G2API_SetGhoul2ModelIndexes(CGhoul2Info_v &ghoul2, qhandle_t *modelList, qhandle_t *skinList)

Callers 1

R_AddEntitySurfacesFunction · 0.70

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected