/[enigma]/enigma/data/models.lua
ViewVC logotype

Diff of /enigma/data/models.lua

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

revision 1.6 by dheck, Fri Sep 12 21:39:50 2003 UTC revision 1.6.2.1 by dheck, Sun Sep 28 20:53:50 2003 UTC
# Line 122  function map_tiles (imginfo, func) Line 122  function map_tiles (imginfo, func)
122      r:delete()      r:delete()
123  end  end
124    
125    
126    -- Generate multiple image models by tiling a big image into many
127    -- smaller subimages.  The parameters are currently hardcoded, see
128    -- "items.png" for an example image.
129  function def_tiles(big_image, modelnames)  function def_tiles(big_image, modelnames)
130      local xoff = 0      local xoff = 0
131      local yoff = 0      local yoff = 0
# Line 151  end Line 155  end
155  function def_stone2(model, shmodel)  function def_stone2(model, shmodel)
156      shmodel = shmodel or "sh-solid"      shmodel = shmodel or "sh-solid"
157      display.DefineShadedModel (model, model.."#", shmodel)      display.DefineShadedModel (model, model.."#", shmodel)
 --    def_alias (model, model.."#")  
 --    def_alias (model.."-sh", shmodel)  
158  end  end
159    
160  function def_stones(names)  function def_stones(names)

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1

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