/ld27

To get this branch, use:
bzr branch http://9ix.org/bzr/ld27
25 by Josh C
overhaul collision and physics to fix an annoying collision resolution
1
util = {
2
   dim = function(dir)
3
      if dir == 'x' then
4
         return 'width'
5
      elseif dir == 'y' then
6
         return 'height'
7
      else
8
         if STRICT then error('dir '..dir) end
9
      end
10
   end
11
}