MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / SaveParamsExtra

Method SaveParamsExtra

Source/FamiTrackerDocIO.cpp:1267–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1265}
1266
1267void CFamiTrackerDocIO::SaveParamsExtra(const CFamiTrackerModule &modfile, int ver) {
1268 bool linear = modfile.GetLinearPitch();
1269 char semitone = modfile.GetTuningSemitone();
1270 char cent = modfile.GetTuningCent();
1271 if (linear || semitone || cent) {
1272 file_.WriteBlockInt(linear);
1273 if (ver >= 2) {
1274 file_.WriteBlockChar(semitone);
1275 file_.WriteBlockChar(cent);
1276 }
1277 }
1278}
1279
1280// #include "DetuneDlg.h" // TODO: bad, encapsulate detune tables
1281

Callers

nothing calls this directly

Calls 5

GetLinearPitchMethod · 0.80
GetTuningSemitoneMethod · 0.80
GetTuningCentMethod · 0.80
WriteBlockIntMethod · 0.80
WriteBlockCharMethod · 0.80

Tested by

no test coverage detected