-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@3999 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4007 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Revert r3974 for now. It does not always properly clip sprites to drawsegs, allowing sprites to show through floors or walls from certain angles.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4008 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix a masked column scaling bug introduced in r3969.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4010 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Fix the Video Options menu.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4013 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Revert r3969 for now.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4014 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4023 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Let SDL use its default ARGB layout when allocating a 32bpp surface and retreive from SDL_Surface::format. APART, RPART, GPART, and BPART are no longer hardcoded. Hopefully this should fix color issues on big-endian systems.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4027 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Whoops, left out parentheses in r4027...

git-svn-id: http://odamex.net/svn/root/branches/rend32@4028 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Encapsulate the APART, RPART, GPART, and BPART functionality into DCanvas since the pixel format can vary for each DCanvas depending on bitdepth and fullscreen/windowed. The APART, RPART, GPART, and BPART macros are retained and access the respective accesor function for the global screen DCanvas object. 


git-svn-id: http://odamex.net/svn/root/branches/rend32@4030 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4031 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4038 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4044 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4055 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from trunk into rend32.

git-svn-id: http://odamex.net/svn/root/branches/rend32@4060 b0bcef46-2027-0410-bd56-ab726e9a1d04
-Merge from rend32 into texmanager.

git-svn-id: http://odamex.net/svn/root/branches/texmanager@4069 b0bcef46-2027-0410-bd56-ab726e9a1d04