| 495 | |
| 496 | |
| 497 | const char *gettextureslot(int i) |
| 498 | { |
| 499 | static string res; |
| 500 | if(slots.inrange(i)) |
| 501 | { |
| 502 | Slot &s = slots[i]; |
| 503 | formatstring(res)("texture %s \"%s\"", floatstr(s.orgscale, true), s.name); |
| 504 | return res; |
| 505 | } |
| 506 | else return NULL; |
| 507 | } |
| 508 | |
| 509 | Texture *lookuptexture(int tex, Texture *failtex, bool trydl) |
| 510 | { |
no test coverage detected