================= idRenderModelManagerLocal::WritePrecacheCommands ================= */
| 185 | ================= |
| 186 | */ |
| 187 | void idRenderModelManagerLocal::WritePrecacheCommands( idFile *f ) { |
| 188 | for ( int i = 0 ; i < models.Num() ; i++ ) { |
| 189 | idRenderModel *model = models[i]; |
| 190 | |
| 191 | if ( !model ) { |
| 192 | continue; |
| 193 | } |
| 194 | if ( !model->IsReloadable() ) { |
| 195 | continue; |
| 196 | } |
| 197 | |
| 198 | char str[1024]; |
| 199 | sprintf( str, "touchModel %s\n", model->Name() ); |
| 200 | common->Printf( "%s", str ); |
| 201 | f->Printf( "%s", str ); |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | /* |
| 206 | ================= |
nothing calls this directly
no test coverage detected