| 1883 | // Add a single 16 bit number to the current wireframe file. |
| 1884 | |
| 1885 | void WireNum(int n) |
| 1886 | { |
| 1887 | char sz[cchSzDef]; |
| 1888 | |
| 1889 | if ((pbyte)gi.pwWireCur - gi.bm >= gi.cbWire) { |
| 1890 | sprintf(sz, "Wireframe would be more than %ld bytes.", gi.cbWire); |
| 1891 | PrintError(sz); |
| 1892 | Terminate(tcFatal); |
| 1893 | } |
| 1894 | *gi.pwWireCur = (word)n; |
| 1895 | gi.pwWireCur++; |
| 1896 | } |
| 1897 | |
| 1898 | |
| 1899 | // Add a solid line to current wireframe file, specified by its endpoints. |
no test coverage detected