Hondenkat Engine - Fixing Depth Sorting


It's a little hard to tell, but I've finally fixed this dumb depth sorting thing going on in the game. I was having an issue figuring out depth of objects because both entities and the player move around. Now a player can walk around freely and have the map in front of it overlap and overlap the map behind it.

This will allow for map tiles that are taller than the 64 pixels show up properly.

This wouldn't be a problem if the entire map and player were redrawn on every step. Since the map is only drawn once (at the beginning of the stage load), editing the depth of the player is the key.

Anyway, all this does is allow for more dynamic looking maps, which will be useful in the upcoming virtual museum game.