pos[2] is limited between 0 and 65535

fix the black screen issue for Toaru Majutsu no Index, and Toaru Kagaku no Railgun.
Merge pull request #738 from oioitff/master

Fix the black screen issue for Toaru Majutsu no Index, and Toaru Kagaku no Railgun
Fix Qt for Windows (should compile now)
Stride needs to be allocated dynamically. Maybe g++ ignores this, msvc doesn't.
Home dir should use QDir::homePath() to be cross-platform.
Windows has its own DrawText(), compile with NODRAWTEXT.
Allow compiling on release and debug for windows.
Ignore some warnings.
Add new file 'OpenGLBase' to Qt Windows build. Fixup previous mistake, missing 'new'. Update native.
pos[2] larger than 65535 is clamped to 65535 and not 0
Merge pull request #739 from raven02/patch-1

pos[2] larger than 65535 is clamped to 65535 and not 0
Add 8 bit for weight type 1
Merge pull request #740 from raven02/patch-1

Add unsigned 8 bit for weight type 1
Note about Qt UI only working on X11, needing to be thread-aware. Allocate tmp as an array instead.
Log an error if we hit a 1x1 matrix.
Exit Core_RunLoop() again in non-Windows.
Merge pull request #741 from unknownbrackets/misc

Log 1x1 matrix + fix Qt on Linux
Buildfix for headless on non-Windows.
Buildfix for ARM, darn.
Minor cleanup and use byte(b)/short(s)/float(p)
Clamp pos[2] when transform 2D only
Adding missing languages to resources
Merge pull request #743 from Apology11/patch-1

Adding missing languages to resources
pos[0]/[1] are signed while pos[2] is unsigned in 2D transform
Toggle 32 bit truecolor in option , default true

Update Core/Config.cpp