MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ReadModelStringLen

Function ReadModelStringLen

model/polymodel.cpp:891–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889}
890
891void ReadModelStringLen(char *ptr, int len, CFILE *infile) {
892 int i;
893
894 int mlen = cf_ReadInt(infile);
895 for (i = 0; i < mlen; i++)
896 ptr[i] = cf_ReadByte(infile);
897}
898
899// Given a modelnumber, opens the original pof file and attempts to rematch that
900// models textures with the bitmaps with have in memory

Callers 2

ReloadModelTexturesFunction · 0.85
ReadNewModelFileFunction · 0.85

Calls 2

cf_ReadIntFunction · 0.85
cf_ReadByteFunction · 0.85

Tested by

no test coverage detected