| 26 | } |
| 27 | |
| 28 | int 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 | |
| 41 | int ModelManager::DefineFrame(int modelid, const char* framename, int tilenum, int skinnum, float smoothduration, int pal) |
| 42 | { |
no test coverage detected