TINYGL: Use the right delete
TINYGL: Do not check the same conditions twice
TINYGL: Remove default case as the current cases already represent all possible values
TINYGL: Add obviously missing break
GRIM: Add the error on Missing materials back in
EMI: Fix initialization of textures

Residualvm crashes when leaving the campfire szene on Knutting Town due
to a NULL-pointer dereference.

When initializing the texture with dummy values due to a missing tex
file, set _data to NULL so that a free doesn't cause any harm when
destructing the MaterialData objects.
Merge pull request #787 from chkr-private/material-fixes

EMI: Fix initialization of textures
Merge pull request #783 from inguin/emi-stairs

EMI: Correct sign error when walking on slopes
GRIM/EMI: Count pause/unpause calls of LUA scripts

Scripts that have explicitly been paused must not be resumed when
pause_scripts and unpause_scripts are called, e.g. when opening the
inventory, pausing the game or changing sets.

This patch splits the existing paused flag in two separate ones:
 - LState::all_paused is controlled by pause/unpause_scripts (plural)
 - LState::paused is controlled by pause/unpause_script (singular)

For compatibility with Grim savegames both flags are stored in a single
byte, with bit 0 having the same meaning as the former boolean.