/[enigma]/enigma/data/models-2d.lua
ViewVC logotype

Diff of /enigma/data/models-2d.lua

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

revision 1.70 by reallysoft, Sat Jun 21 14:05:54 2003 UTC revision 1.71 by reallysoft, Mon Jun 23 13:23:22 2003 UTC
# Line 1099  Progress(90) Line 1099  Progress(90)
1099  -------------------  -------------------
1100  -- Bolder stones --  -- Bolder stones --
1101  -------------------  -------------------
1102    
1103  do  do
1104      local img=def_subimages("st-bolder", {w=4,h=3})      local img=def_subimages("st-bolder", {w=4,h=3})
1105        local imgfall=def_subimages("st-bolder-fall", {w=4,h=3})
1106    
1107      function def_bolder(orient, start)      function def_bolder(orient, start)
1108          local animname="st-bolder"..orient.."a"         local animname="st-bolder"..orient.."a"
1109          local frames={%img[start], %img[start+1], %img[start+2]}         local frames={%img[start], %img[start+1], %img[start+2]}
1110          def_anim(animname, buildframes(frames, 120),1)         def_anim(animname, buildframes(frames, 120),1)
1111          def_shmodel("st-bolder-"..orient, animname, "sh-solid")         def_shmodel("st-bolder-"..orient, animname, "sh-solid")
1112    
1113           animname="st-bolder-"..orient.."-fall-anim"
1114           frames={%imgfall[start],%imgfall[start+1],%imgfall[start+2]}
1115           def_anim(animname, buildframes(frames, 120), 0)
1116      end      end
1117    
1118      def_bolder("n",1)      def_bolder("n",1)

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71

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