Gets a pointer to a polymodel. Pages it in if neccessary
| 2210 | |
| 2211 | // Gets a pointer to a polymodel. Pages it in if neccessary |
| 2212 | poly_model *GetPolymodelPointer(int polynum) { |
| 2213 | if (Poly_models[polynum].flags & PMF_NOT_RESIDENT) |
| 2214 | PageInPolymodel(polynum); |
| 2215 | |
| 2216 | return (&Poly_models[polynum]); |
| 2217 | } |
| 2218 | |
| 2219 | // gets the filename from a path |
| 2220 | std::filesystem::path ChangePolyModelName(const std::filesystem::path &src) { |
no test coverage detected