MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / WireNum

Function WireNum

xdevice.cpp:1885–1896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1883// Add a single 16 bit number to the current wireframe file.
1884
1885void 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.

Callers 1

WireLineFunction · 0.85

Calls 2

PrintErrorFunction · 0.85
TerminateFunction · 0.85

Tested by

no test coverage detected