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

Function save_artifacts

src/artifact.c:118–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void
119save_artifacts(NHFILE *nhfp)
120{
121 int i;
122
123 for (i = 0; i < (NROFARTIFACTS + 1); ++i)
124 Sfo_arti_info(nhfp, &artiexist[i], "artiexist");
125
126 for (i = 0; i < NROFARTIFACTS; ++i)
127 Sfo_xint16(nhfp, &artidisco[i], "artidisco");
128}
129
130#endif /* SFCTOOL */
131

Callers 1

savegamestateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected