More C++ cleanup
Global portaltop/bottom are now VALLOCATIONs
Init portalrender.miny to video.height
De-dupe variable names in portal engine

ptop/pbottom are used by static globals in r_things.cpp and I don't like
them getting conflated.
Cleanup and minor refactoring in r_things
Conversion of portal clip arrays to pointers

pwindow_t lists are cleared out when the resolution changes.
Formatting only
Size maskedrange_t clip arrays at video.width size
Raise resolution dimension caps to 32767

MAX_SCREENWIDTH and MAX_SCREENHEIGHT are now set to max window
dimensions supported in Windows and are no longer used to size any
arrays in the renderer.
Merge branch 'master' into AutoDoom