Merge pull request #318 from pennomi/master

Behavior update for Living Bones creatures
Fixed stuns Issue #317
whitespace
Don't get stuck on jagged walls, stray rocks and sticky-outy things.

When traveling straight (not diagonally), and we hit an object, but if
one step to the left or right (relative to our direction of travel)
there is a valid path, then desist movement in the requested direction
and travel towards the clear path on the other axis until we can proceed
forward in the requested direction.
Grey out & disallow unusable powers.

Greys out powers on action bar that cannot be used due to:
* required weapon not euipped
* lacking required discipline -- such powers can be put in the actionbar
  when using an item that increases an attribute (e.g., Scathelocke's
  Spellbook), and the item is later removed, dropping the discipline
  below the required value.
* character being stunned
* character being dead
* character not having cleaned their room or done their homework

Unfortunately, there are a number of places where similar checks are
made. I've added a few functions to help centralize this logic, but I
haven't implemented it well.  Example, calling StatBlock::canUsePower()
in Avatar::logic(), but I haven't removed subsequent code that makes
some of the same checks.
Const correctness for StatBlock getters.

modifying get_<stat> functions to be const and removing explicit inline
keyword (since member functions implemented within a class definition
are always inline).
whitespace
Don't get stuck on jagged walls, stray rocks and sticky-outy things.

When traveling straight (not diagonally), and we hit an object, but if
one step to the left or right (relative to our direction of travel)
there is a valid path, then desist movement in the requested direction
and travel towards the clear path on the other axis until we can proceed
forward in the requested direction.
Grey out & disallow unusable powers.

Greys out powers on action bar that cannot be used due to:
* required weapon not euipped
* lacking required discipline -- such powers can be put in the actionbar
  when using an item that increases an attribute (e.g., Scathelocke's
  Spellbook), and the item is later removed, dropping the discipline
  below the required value.
* character being stunned
* character being dead
* character not having cleaned their room or done their homework

Unfortunately, there are a number of places where similar checks are
made. I've added a few functions to help centralize this logic, but I
haven't implemented it well.  Example, calling StatBlock::canUsePower()
in Avatar::logic(), but I haven't removed subsequent code that makes
some of the same checks.
Const correctness for StatBlock getters.

modifying get_<stat> functions to be const and removing explicit inline
keyword (since member functions implemented within a class definition
are always inline).
Merge branch 'master' of github.com:daniel-santos/flare
Merge pull request #320 from daniel-santos/master

bulk patches :(
fixie
Merge pull request #321 from daniel-santos/master

bug fix in my last patch
Refactored magic number into const; added tile index range check
Alpha background now tile set image default. Transparency color key (rgb) can be specified instead.
Made mapmod able to read multiple entries on the same line.
Made loot events accept repeating entries
Finished up the remaining repeating event components.