MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SetLayoutBitmap

Method SetLayoutBitmap

editor/BriefEdit.cpp:1883–1892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1881}
1882
1883void CBriefEdit::SetLayoutBitmap(char *filename) {
1884 if (layout_bmp > BAD_BITMAP_HANDLE)
1885 bm_FreeBitmap(layout_bmp);
1886
1887 layout_bmp = -1;
1888
1889 if (filename[0] != '\0')
1890 layout_bmp = bm_AllocLoadFileBitmap(filename, 0);
1891 has_changed = true;
1892}
1893
1894void CBriefEdit::ParseLayoutScreenFile(char *filename) {
1895 CFILE *file = cfopen(filename, "rt");

Callers

nothing calls this directly

Calls 2

bm_FreeBitmapFunction · 0.85
bm_AllocLoadFileBitmapFunction · 0.85

Tested by

no test coverage detected