EMI: Make sure the music state id does not exceed the number of entries in the music table.
EMI: Implement ImPause and ImResume.
EMI: Accept .lab suffix when detecting MP3 music.
EMI: Initialize _looping in SCXTrack.
GRIM: Fix a crash when the debugger comes up before g_movie has been initialized
EMI: Parse tex coords from sprite files. Fixes #978
EMI: Only update sector sort order if the actor is following walkboxes.
Merge pull request #1003 from Akz-/emi-sounds-rebase

EMI: Fix demo crashes
TINYGL: allow use TGL_RGB as texture
Revert "TINYGL: allow use TGL_RGB as texture"

This reverts commit 4a2bbd7feea937ccb5eba00da061e6bdfc113881.
MYST3: use number of components 3 for TinyGL
EMI: Use uint instead of float for animation time.
EMI: Correctly wrap the animation time when the animation duration is exceeded. Fixes #987
EMI: If a sort order is specified for an actor that is attached to another, use the specified sort order instead of the parent's one.
EMI: If sort orders are equal, compare distance to camera.
EMI: Enable drawing of mask sprites.
EMI: Return the effective sort order in GetActorSortOrder.
EMI: Parse per-texture blending mode from model data.
EMI: Enable alpha blending if the mesh face flags has the 16th bit set.

This fixes drawing of the shadow mesh in the set unc when Guybrush is under the lights.
EMI: Parse sprite Z offset.