clintbellanger/flare-engine — pull request #82 by stefanbeller (2012-10-01 17:35:23+00:00)
Title: Fix drawing order of equipment sheets on Avatar.

This pull introduces Null pointers in the animsets and anims of the Avatar class again, but this brings the advantage that all items are at fixed positions, see the new Avatar::layer_reference_order variable.
That variable defines in which order the items are passed from GameStatePlay::checkEquipmentChange into the Avatar class.
The Avatar class also aligns animsets and anims to the layer_reference_order.
This brings the advantage that on Avatar::addRenders() no search must be performed, but only the correct index depending on direction must be looked up.