tools/hwmap2lua.sh
changeset 13064 6766b900ab13
parent 13063 dc77c2c679b2
equal deleted inserted replaced
13063:dc77c2c679b2 13064:6766b900ab13
     6 # It expects a .hwmap file of name "map.hwmap" to be in
     6 # It expects a .hwmap file of name "map.hwmap" to be in
     7 # its directory and creates a Lua file (map.lua) containing code to
     7 # its directory and creates a Lua file (map.lua) containing code to
     8 # draw the map.
     8 # draw the map.
     9 # In Lua, call drawMap() in onGameInit. And don't forget
     9 # In Lua, call drawMap() in onGameInit. And don't forget
    10 # to set MapGen to mgDrawn. Then your map should be ready to go! :-)
    10 # to set MapGen to mgDrawn. Then your map should be ready to go! :-)
    11 #
       
    12 # Many thanks to szczur!
       
    13 
    11 
    14 # FILE NAMES 
    12 # FILE NAMES 
    15 IN="./map.hwmap";
    13 IN="./map.hwmap";
    16 OUT="./map.lua";
    14 OUT="./map.lua";
    17 
    15