The answers above are correct. Even in foul weather, cook outside your tent. If you do lots of camping in bad weather (New Zealand's West Coast?) get a tent with a vestibule. There is one additional problem: In bear country, you never want to cook too close to your tent, because if you and your tent and everything inside it smells of food, guess who'll be coming to visit you at night?