game: use std::auto_ptr in bsp
game: make some functions members