Add missing line of sight check
Detect crime of sleeping in other NPC's beds. ShowRestMenu needs to support an explicit/implicit reference for this.
Add getPlayerPtr() utility method. Reduces dependencies a lot.
Clean up the NpcStats expelled interface. Show message box when expelled.
Expell player from faction when committing a crime against a faction member
Don't suppress exceptions thrown while running scripts
Closes #1090: Don't throw an exception if a cell has no region in GetPCCell
GetWaterLevel fix (similar to MCP): if there is no water in the cell, return -FLT_MAX to prevent mods from incorrectly thinking the player is underwater.
Add a utility function for counting items in a container
Remove useless dependencies on InventoryWindow for getting player gold. Don't use string literals for gold_001 id, just to be sure.
Don't play "Menu Click" sound for disabled (= cannot receive input) buttons, plus some redundancy fixes
Implement crime-related dialogue globals as they are described in MSFD
crashcatcher uname error checking
Gold fixes (when did this break?)
Add preliminary implementation of PayFine, PayFineThief and GoToJail instructions
Use GMSTs for crime bounty
Scripting: Add an optional 'required' parameter to getReference (default: true). If required=false, it will not throw an exception if there's no reference. Fixes PcExpell not working without a reference like it's supposed to, and makes the code nicer for some others (use required=false instead of catching the exception)
Merge remote-tracking branch 'scrawl/master'
Merge remote-tracking branch 'swick/master'