Use size_t for FOFS in SP not intptr_t.
Use offsetof in offset functions.
The old macros looked crazy and they basically used the same code
used in the offsetof() definition inside ANSI C. Compilers may provide
even more optimized versions. http://en.wikipedia.org/wiki/Offsetof
Merge pull request #314 from archSeer/master

Use offsetof in offset functions.
More offset macros in need of a change
Merge pull request #315 from archSeer/master

offset macros
Fixed incorrect size parameter for Q_vsnprintf in AI_BobaFett.cpp in Boba_Printf.
Use full buffer size for va in MP and SP rather than -1.
Don't use memset on a char pointer, its bad.
Move NULL_HANDLE & friends to q_common.h. Fix warnings by using
NULL_HANDLE instead of NULL.
Merge pull request #316 from archSeer/master

NULL_HANDLE & friends
Changed the cached variables to options (they're the same, but expressed
differently).
Fixed warnings about FLT_MIN and FLT_MAX redefinitions.
Merged some MP fixes to cmd code for SP.
Whoops mega fail in Key_IsDown for MP.  This may have caused some issues :D
Mega engine code cleanup (SP and MP) of some warnings produced during 64-bit linux builds.
Add these unsigned casts back I guess.
A couple of more warning fixes for SP.