However this script is really poorly documented, so I spend half an hour just to figure out how to add a special extension.
let g:alternateExtensions_txx = "hxx,h,hh"
Well now how about t++ -> h++ ? Look easy, try it yourself !
let g:alternateExtensionsDict['t++'] = "h++"