So after that ramble, what I mean to say is:
talk to your inspector.
talk to builders. get quotes. find out what costs you would be up for.
use the termite damage to your advantage if its not too disastrous and use that as leverage on negotiating a good discount.