Update window.h types and ccSetResolution