/[enigma]/enigma/data/levels/ralf.lua
ViewVC logotype

Diff of /enigma/data/levels/ralf.lua

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by reallysoft, Fri Mar 21 21:19:30 2003 UTC revision 1.3 by ant_39, Sun Mar 30 14:59:47 2003 UTC
# Line 19  dofile(enigma.FindDataFile("levels/ant.l Line 19  dofile(enigma.FindDataFile("levels/ant.l
19  --  --
20  function draw_metamap_oriented(x,y,bmap,cells,flipx, flipy,rotate)  function draw_metamap_oriented(x,y,bmap,cells,flipx, flipy,rotate)
21     local bmapw,bmaph = get_map_size(bmap)     local bmapw,bmaph = get_map_size(bmap)
22     if ((bmapw < bmaph) or (bmapw > bmaph)) then -- I didn't find operator !=  :-(     if (bmapw~=bmaph) then
23        print("warning: [ralf.lua]: draw_metamap_oriented() prefers quadratic maps!")        print("warning: [ralf.lua]: draw_metamap_oriented() prefers quadratic maps!")
24     end     end
25     draw_map_oriented(x*bmapw+1,y*bmaph+1,bmap,bmapw,bmaph,cells,flipx,flipy,rotate)     draw_map_oriented(x*bmapw+1,y*bmaph+1,bmap,bmapw,bmaph,cells,flipx,flipy,rotate)

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26