[NCSF] Minor code changes to reduce code duplication.
author Naram Qashat
()
committer Naram Qashat
()
commit e1113b6b8dddc562d8933e647b92acc16816b05e
tree 9cde80978705e6800f34295d649cab0bd3673ab2
parent a57596701d35ca287ea2b536ec8aad2411ace268
[NCSF] Minor code changes to reduce code duplication.

* Made a function in the Override struct to centralize where it
determines whether to use the override value or not.
* Made a function that returns the number of bytes that a command needs,
and used that to remove all the conditionals for processing a command to
instead handle that within the IF command itself.
Thanks to fincs and Henke37 for the suggestions to do this.
src/in_ncsf/SSEQPlayer/Track.cpp
src/in_ncsf/SSEQPlayer/Track.h