Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (13 sloc) 0.879 kb
This is a proof-of-concept of trying to load .hvl and .ahx files into a
pineapple tracker interface. Note that .ahx files have only four channels,
like our .songformat, but .hvl files can have up to sixteen. We will have
to figure out if we want to have a tracker that can load different file
formats, and how that will be handled in the code. One idea I had was
to have all the funcitons that will have to be different depending on
which file format is loaded be determined at runtime using function pointers.
For example, the drawsonged() function will have to be different if a
.hvl file with more than 4 channels is loaded. So we could have different
drawsonged() functions, and the appropriate one could be assigned to the
pointer to the drawsonged() function at runtime. This is just one idea
that sounded cool, however, and may in fact be more complicated than
Jump to Line
Something went wrong with that request. Please try again.