MCPcopy Create free account
hub / github.com/ZDoom/Raze / SetMisc

Method SetMisc

source/core/models/modeldata.cpp:28–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28int ModelManager::SetMisc(int modelid, float scale, int shadeoff, float zadd, float yoffset, int flags)
29{
30 if ((unsigned)modelid >= modelDescs.Size()) return -1;
31
32 auto md = &modelDescs[modelid];
33 md->bscale = scale;
34 md->shadeoff = shadeoff;
35 md->zadd = zadd;
36 md->yoffset = yoffset;
37 md->flags = flags;
38 return 0;
39}
40
41int ModelManager::DefineFrame(int modelid, const char* framename, int tilenum, int skinnum, float smoothduration, int pal)
42{

Callers 2

parseDefineModelFunction · 0.80
parseModelFunction · 0.80

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected