pine usually is ok if its kiln dried. that gets rid of the toxic vapors, correct me if im wrong of course. cedar is always a big no no. however i suppose the pine could be the issue if it was emitting the toxic vapors.
your doing the right think getting that vet appointment, if he worsens before you get to the appointment just take him in asap for an emergency visit.