Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Merge remote-tracking branch 'upstream/master'
Small changes for compiling with MSVC 2013.
Remove #ifdef guards.
aiming to moving target in ranged combat ai

1) Taking into account target move vector and speed. However aiming is not
ideal, since attack strength can't be controlled directly. I did achieve
almost 100% accuracy updating it everyframe but then thought it would be
unfair, cause AI should mimic human targetting.
2) Also added in this commit func to measure real attack durations for
weapon.
merge openmw master
old bug + comment fix
Combat music; some minor combat fixes
split getStartTime
Merge ESM::Cell fields by subrecord

Fixes an issue with the Morrowind Patched mod where cell ambient values would become black due to the new cell records not including an AMBI subrecord.

Also fixes a bug where mLeasedRefs was incorrectly cleared when overwriting a cell (*oldcell = *cell;)
Change openmw.log to boost ofstream to fix unicode path on windows (see https://github.com/OpenMW/openmw/pull/108)
Don't play the same music track twice in a row (Fixes #746)
Store keybindings as keycode, not keyname. Also use SDL_GetKeyName instead of a manually created map. Fixes #1202

Note: breaks compatibility with input.xml, so the filename was changed.
Cell merge fix (reference context position was not saved correctly)
Merge remote-tracking branch 'upstream/master'
For compiling with MSVC 2012
Don't check mInterpolationType each iteration
Merge remote-tracking branch 'cc9cii/master'
Merge remote-tracking branch 'scrawl/master'