Branch to implement screen resolution detection in Doom 3.