Replace MIN and MAX with std::min and std::max where possible.
Merge branch 'master' into engine-upgrade/c++
Get rid of Q_bound() and add Maths.h.
Fix a naming error.
Get rid of Q_clamp where possible.
Only set ROM startup variables once
Use openal-soft on Mac
Fix native qvm module output name
Revert "Fix native qvm module output name"

This reverts commit 8a7716cc0924a1900f6d2cbed020ffcb5e80513c.
Fix travis build
Merge branch 'engine-upgrade/c++'
Fix indentation in CMakeLists.txt
More mbstowcs overflow fixes. Again, byte count v. element count.
Replace min+max pairs with Maths::clamp.
String helper functions from filesystem branch
Use locale-independent case conversion in String.h (ASCII-only)
Merge branch 'master' into iqm

Conflicts:
	src/engine/sys/sdl_glimp.c