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

Method write

Descent3/pilot_class.cpp:408–408  ·  view source on GitHub ↗

This function makes the pilot file so it's write pending, meaning that on the next call to flush, it will actually write out the data. There is no need to constantly do file access unless it's really needed

Source from the content-addressed store, hash-verified

406// on the next call to flush, it will actually write out the data. There is
407// no need to constantly do file access unless it's really needed
408void pilot::write(void) { write_pending = true; }
409
410// This function makes certain that the pilot data is up to date with the
411// actual pilot file, writing if needed.

Callers 10

PltWriteFileFunction · 0.45
ProgramVersionFunction · 0.45
dDatabaseWrite1Function · 0.45
dDatabaseWrite2Function · 0.45
MainMultiplayerMenuFunction · 0.45
SaveGameSettingsFunction · 0.45
LoadMultiDLLFunction · 0.45
DatabaseWriteFunction · 0.45
DatabaseWriteIntFunction · 0.45
finishMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected