Fix key-down+key-up mis-ordering when both occur in the same frame.
Fix sub-frame input handling.

This needs IN_Frame() to be called often, maybe more than once per frame.
Timestamps reflect when this was called rather than the actual event times,
so we work around this by calling it from within the delay loop in
Com_Frame(). Wake-up within that loop is approx. every 50ms, so the
minimum calling frequency should be 20Hz.
Removed unused vertex/triangle optimization code

When enabled, the renderer won't compile.
When this is fixed, map load times are increased dramatically without any improvement to runtime performance and very little difference to vertex/index counts.
Remove unused shader "models/buildables/drill/energy".
Add back a commented version of "models/buildables/drill/energy" since it's used by the low poly drill model.
Cleanup a cast inside generic_vp.glsl.
Only download dependencies if NaCl is in use.

Downloading at package build time is Not Allowed. This is a compromise.
Merge branch 'master' into nacl
Replace IPC_ID with IPC::Id
Revert "Only download dependencies if NaCl is in use."

This breaks the build because sel_ldr and related files are needed so that they can be copied. Also this breaks Windows and Mac builds which need dependencies for other build targets.

This reverts commit 5cefafcd12af30fc5bd21b375474d04e0db7a76f.
Clean up dependencies build script
Properly handle message replies coming back in a different order
Fix build on gcc 4.6
Work around a bug in gcc 4.6
Enable all build targets by default
Fix compilation after the introduction of Channels
Don't build nacl gamecode on travis, also report messages to quakenet channel
Mark VM::Exit as NORETRUN
Merge branch 'nacl' into move_stuff_in_game
Initialize VM proxies after the shared memory has been created (or it segfaults)