Write out all the data for tbl_planet
Add star_id to star struct
Change putplanet signature to take a Star pointer instead of a starnum