| 833 | //=========================================================================== |
| 834 | |
| 835 | static void parseAlphahackRange(FScanner& sc, FScriptPosition& pos) |
| 836 | { |
| 837 | int tilestart, tileend; |
| 838 | |
| 839 | if (!sc.GetNumber(tilestart, true)) return; |
| 840 | if (!sc.GetNumber(tileend, true)) return; |
| 841 | if (!sc.GetFloat(true)) return; |
| 842 | if (!ValidateTileRange("alphahackrange", tilestart, tileend, pos)) return; |
| 843 | |
| 844 | for (int i = tilestart; i <= tileend; i++) |
| 845 | tbuild->tile[i].alphathreshold = (float)sc.Float; |
| 846 | } |
| 847 | |
| 848 | //=========================================================================== |
| 849 | // |
nothing calls this directly
no test coverage detected