Files
jailsadventure2/data/mapa.lua

19 lines
319 B
Lua

mapa={
w=128,
h=128,
surface=nil,
new = function(w,h)
mapa.w,mapa.h=w,h
if mapa.surface~=nil then freesurf(mapa.surface) end
mapa.surface=newsurf(w,h)
setmap(mapa.surface)
end,
load = function(filename)
end,
save = function(filename)
end
}