MCPcopy Create free account
hub / github.com/NetHack/NetHack / SaveSize

Function SaveSize

outdated/sys/mac/maccurs.c:140–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static void
141SaveSize(short kind, short height, short width)
142{
143 if (kind < 0 || kind > kLastWindowKind) {
144 dprintf("Save bad kind %d", kind);
145 return;
146 }
147 InitWinFile();
148 savePos[kind].validSize = 1;
149 savePos[kind].width = width;
150 savePos[kind].height = height;
151 FlushWinFile();
152}
153
154static short
155GetWinKind(WindowPtr win)

Callers 1

SaveWindowSizeFunction · 0.85

Calls 3

dprintfFunction · 0.85
InitWinFileFunction · 0.85
FlushWinFileFunction · 0.85

Tested by

no test coverage detected