| 680 | COMMAND(paste, ""); |
| 681 | |
| 682 | void tofronttex() // maintain most recently used of the texture lists when applying texture |
| 683 | { |
| 684 | loopi(3) |
| 685 | { |
| 686 | int c = curedittex[i]; |
| 687 | if(c>=0) |
| 688 | { |
| 689 | uchar *p = hdr.texlists[i]; |
| 690 | int t = p[c]; |
| 691 | for(int a = c-1; a>=0; a--) p[a+1] = p[a]; |
| 692 | p[0] = t; |
| 693 | curedittex[i] = -1; |
| 694 | } |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | const char *texturestacktypes[] = { "floor", "wall", "ceiling", "" }; |
| 699 |
no test coverage detected