Make a small wrapper that's perfect ANSI C from the users point of view but connects with the other lib. Problem solved.
Well, correct me if I'm wrong, but I don't think its that easy.
I don't think, that you can make a wrapper (within a qvm) that can load extern libs.
Reason one would be that the avaible functions are very limited, but I think quake would have to load the libs with os dependend functions (like LoadLibrary in Windows) which aren't avaible
so follows reason two: trem would loose its os independency.
The bigger problem is that TNL doesn't have voice functionality and thus it's fairly useless for Trem.
Thats right, but I think this problem will also exist with other libraries.
I'm just starting with Trem's (Quake's) code, so correct me if I'm wrong.