vgmtrans / vgmtrans

VGMTrans - a tool to convert proprietary, sequenced videogame music to industry-standard formats
812 stars 78 forks source link

Rename vgmtranscore methods to a more consistent style #510

Closed mikelow closed 2 weeks ago

mikelow commented 3 weeks ago

This renames every UpperCamelCase method in vgmtranscore, including format files. There may be some functions I missed if they're contained only in a cpp file and not declared in a header. In some instances, I gave methods more descriptive name: GetTrackPointers() is changed to parseTrackPointers(), the GetByte(), GetWord(), etc methods, are now readByte(), readWord(), etc.

There are also a few classes where I renamed fields and methods, such as LogItem and RiffFile.

One change I probably should have made separately is updating the pitchBendRange related events and methods to use only a cents parameter instead of both a semitones and cents parameter.

The commit is added to .git-blame-ignore-revs. Hopefully the hash remains the same after pushing to master.

How Has This Been Tested?

Tested that playback is still working. Tested that the changes to RIFF did not affect DLS or SF2 output.

Types of changes

Checklist:

sykhro commented 2 weeks ago

(great work btw!)