enable keyrepeat while chatting so you can keep backspace pressed to delete a line (fix
issue #111)
fix autorelease pools not being set (
issue #209) and format code a little
use PtrInt to match lua's use of ptrdiff. Needs testing.
Fixed messages complaining about no autorelease pool being set up with objects leaking on the Mac. I simply initialized an autorelease pool in the couple of places that needed it.
Some fixes. Can't reproduce ghosts now.
workaround. disable drawing shot after passing through portal. proper fix would need to use the portal position
eh. 1,000,000 might be better...
oops. vg dX/dY - just for consistency