1 This is a proof-of-concept of trying to load .hvl and .ahx files into a
2 pineapple tracker interface. Note that .ahx files have only four channels,
3 like our .songformat, but .hvl files can have up to sixteen. We will have
4 to figure out if we want to have a tracker that can load different file
5 formats, and how that will be handled in the code. One idea I had was
6 to have all the funcitons that will have to be different depending on
7 which file format is loaded be determined at runtime using function pointers.
8 For example, the drawsonged() function will have to be different if a
9 .hvl file with more than 4 channels is loaded. So we could have different
10 drawsonged() functions, and the appropriate one could be assigned to the
11 pointer to the drawsonged() function at runtime. This is just one idea
12 that sounded cool, however, and may in fact be more complicated than
17 use 'make old' to build the version that works......