| 698 | const char *texturestacktypes[] = { "floor", "wall", "ceiling", "" }; |
| 699 | |
| 700 | void edittexturestack(char *what, int *slot) // manually manipulate the "last-used" texture lists to put certain textures up front |
| 701 | { |
| 702 | tofronttex(); // keep laste edited texture |
| 703 | int n = getlistindex(what, texturestacktypes, true, -1); |
| 704 | if(n >= 0) |
| 705 | { |
| 706 | loopi(256) if(hdr.texlists[n][i] == *slot) curedittex[n] = i; // find stack index of wanted texture slot |
| 707 | } |
| 708 | tofronttex(); |
| 709 | } |
| 710 | COMMAND(edittexturestack, "si"); |
| 711 | |
| 712 | void editdrag(bool isdown) |
nothing calls this directly
no test coverage detected