- Fix a cppcheck warning

git-svn-id: http://odamex.net/svn/root/trunk@3579 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Change FixedDiv to use integer division instead of double-precision float division. This is a safer bet for demo compatibility on unusual platforms.
-Testing indicates that float division was noticeably slower than integer division in 32bit MSVC and MinGW builds but was faster in 64bit MSVC builds.

git-svn-id: http://odamex.net/svn/root/trunk@3580 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Change R_MapLevelPlane to use only fixed-point arithmetic.

git-svn-id: http://odamex.net/svn/root/trunk@3581 b0bcef46-2027-0410-bd56-ab726e9a1d04
Update CB projects for removal of m_fixed

git-svn-id: http://odamex.net/svn/root/trunk@3582 b0bcef46-2027-0410-bd56-ab726e9a1d04
- Display info cards and title pics ratio-corrected.  Note: this is corrected to 4:3 but for now the height is clamped to the screen height, only width is adjusted.
- Rename autoadjust_video_settings to vid_autoadjust

git-svn-id: http://odamex.net/svn/root/trunk@3583 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add horizontal and vertical texture scaling factors to allow for high-resolution wall textures (ZDoom 1.23 compatible).

git-svn-id: http://odamex.net/svn/root/trunk@3584 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Add checks to r3584 to prevent divide-by-zero errors when rw_scale == 0

git-svn-id: http://odamex.net/svn/root/trunk@3585 b0bcef46-2027-0410-bd56-ab726e9a1d04
Some cleanup from r3583.  It appears to have stripped trailing spaces on v_draw, my apologies...

git-svn-id: http://odamex.net/svn/root/trunk@3586 b0bcef46-2027-0410-bd56-ab726e9a1d04
320x200 and 640x400 are treated as resolutions "protected" from aspect ratio correction.  Add isProtectedRes() bool to Dcanvas to check for this.  Apply it to work done in r3583. :: Show the status bar at the proper aspect ratio.  Other hud elements, menu and so on coming soon...

git-svn-id: http://odamex.net/svn/root/trunk@3587 b0bcef46-2027-0410-bd56-ab726e9a1d04
Apply RjY's 64k sidedef support patch (bug 938).  Larger maps (e.g., deus vault map05) should be playable now.  Thanks RjY!

git-svn-id: http://odamex.net/svn/root/trunk@3588 b0bcef46-2027-0410-bd56-ab726e9a1d04
Compensate for resolutions that are < 4/3.  We need a better, concise way to derive the current aspect ratio (or at least categorize it).  320x240 is still giving some trouble with status bar rendering and coming out of that resolution into something larger...

git-svn-id: http://odamex.net/svn/root/trunk@3589 b0bcef46-2027-0410-bd56-ab726e9a1d04
Tweak the protectedres check to specifically look for the height <= 200, fixes 320x240.

git-svn-id: http://odamex.net/svn/root/trunk@3590 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Apply James Dunne's patch to check that R_PointInSubsector returns a valid subsector in P_CheckPosition. The subsector can be invalid when a client is downloading a WAD from the server (bug 931).
-This should be handled more robustly in the future by preventing downloading players from running any physics and rendering code and/or having them ignore most physics related svc_ messages from the server.

git-svn-id: http://odamex.net/svn/root/trunk@3592 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Apply James Dunne's patch to have the automap follow displayplayer rather than consoleplayer in instances where the client is spying from another player's POV (bug 932). Thanks James

git-svn-id: http://odamex.net/svn/root/trunk@3593 b0bcef46-2027-0410-bd56-ab726e9a1d04
Add a case for CleanXfac = 5 in the player setup fire screen, thanks JamesDunne!

git-svn-id: http://odamex.net/svn/root/trunk@3595 b0bcef46-2027-0410-bd56-ab726e9a1d04