CG_WorldToScreen() needs to return 640x480 coords. The HUD is split into 4:3 left/center/right panels. Convert the real position to whatever the current panel is—which may cause X/Y to be negative or greater than the SCREEN_WIDTH/SCREEN_HEIGHT—but it will convert back fine.
CG_WorldToScreen() needs to return 640x480 coords. The HUD is split into 4:3 left/center/right panels. Convert the real position to whatever the current panel is—which may cause X/Y to be negative or greater than the SCREEN_WIDTH/SCREEN_HEIGHT—but it will convert back fine.
(cg_viewsize still works as well.)
Fixes #228.