Merge branch 'master' of https://github.com/clintbellanger/flare-engine
Continuous integration: .travis.yml points to the updated irc channel.
Merge pull request #337 from stefanbeller/master

Change IRC channel in travis file.
Merge branch 'master' of https://github.com/clintbellanger/flare-engine
Merge branch 'master' of https://github.com/clintbellanger/flare-game
Setup size of backgroundsurface depending on rerender distance.

When animated_tiles is switched off, the background will be rendered
into a static image and only renewed, when the player has moved a certain
distance specified in 'movedistance_to_rerender'.
Use this variable as well for the dimensions of the background surface.

Fixes #333
Merge pull request #338 from stefanbeller/master

Fixes #333
Enumerate joystick buttons
Use ACCEPT key to interact with NPCs
Add joystick support for NPC interaction

To prevent some cases of input overlapping, joystick button locking
(similar to keyboard key locking) has been added to the InputManager.
Use JOY_CANCEL to close menus
Use Accept key/button to trigger nearby events

* In checkNPCInteraction(), only lock the Accept key if an NPC is found.
* Fix a crash when trying to execute NULL events.
Use Accept key/button to pick up nearby loot
Attempt to fix broken saved HP/MP values

Saved HP/MP values need to be checked for validity *after* item bonuses are
applied, since items can boost the maximum HP/MP values.
Initial Norwegian Bokmål translation of alpha demo
Frontier Plains containers event logic
Don't set respawn state to true when initializing the Avatar

Otherwise, saved HP/MP values are broken because StatBlock::recalc() is
triggered when the player respawns.
Merge pull request #341 from dorkster/bugfixes

Attempt to fix broken saved HP/MP values
Merge pull request #153 from hansjoachim/norwegian-alpha

Initial Norwegian Bokmål translation of alpha demo
River Encampment container update