modify gamelib.h to include certain structures and extern declarations