This patch converts the priority queue in src/bzflag/RegionPriorityQueue.cxx and src/bzflag/RegionPriorityQueue.h into a heap based priority queue. This change was requested through a FIXME in the former. The RegionPriorityQueue class is being used in src/game/RobotPlayer.cxx and hence, the change in the function names have been reflected there as well.
I've also added some typo corrections where 'received' was spelt 'recieved' in some code relating to ServerPing and ServerLink.
Created using svn diff
Was there a particular reason to write your own heap rather than using <algorithm>'s make_heap/push_heap/pop_heap?