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.
Fix code that stopped animation immediately after starting it, due to thinking it has completed (Fixes #1370)
Consider all splash screens in the Splash folder (Fixes #1416)
Handle failed savegame file operations (Fixes #1413)
Fix not handling failbit/badbit in ifstream (Bug #1355)
Fix an always true condition (Bug #1355)
Don't batch statics that have "references persist" set (temporary fix for Arkngthand door - Fixes #1386)
Recognize DELE subrecords at the end of the record (Fixes #1414)
Make MODL subrecord optional for potions (Fixes #1419)
Correct wrong assertions (Fixes #1425)
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.
Store Always Run control state in settings
Increase width of dialogue topic list (Fixes #1440)
Change npc training skills to prefer skills with lowest ID if skill values are the same (Fixes #1445)
Fix punishment for stealing 0 value items (Fixes #1435)
merge openmw master