Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into next
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Polyobject top/bottom texture + translucency

polyobjects do have top/bottom textures, silly.
And translucency.
Polyobject translucency quick fix.

I realise what I did before may cause FOF's in the same sector to not be
drawn, if they were before.
else added

less redundancy.
Fix certain textures with holes in

see: CEZ1 skybox in linear filtermodes.
OpenGL Fade masks

I think I've done this all right, someone correct me if I haven't.
Merge branch 'master' into next
Merge the dedicatedserver and server global variables

Previously in Lua, dedicatedserver would only return true if the player running the script was the one hosting the dedicated server. In all other cases, it would return nil. This fixes it to point to the server host no matter what.
Use gcc_struct on ATTRPACK too
SDL2: Fix 320x200 mode
SDL2: Reimplement some stubbed commands

Also remove some unnecessary functions.
SDL2: Do not use xinput, force directinput

Fixes axes issue with xinput controllers.
SDL2: Add 1600x1200 mode
Merge remote-tracking branch 'origin/master' into next