⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 movedefs.lua

📁 这是整套横扫千军3D版游戏的源码
💻 LUA
字号:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------  file:    movedefs.lua--  brief:   moveinfo.tdf lua parser--  author:  Dave Rodgers----  Copyright (C) 2007.--  Licensed under the terms of the GNU GPL, v2 or later.------------------------------------------------------------------------------------------------------------------------------------------------------------------local moveInfo = {}local TDF = VFS.Include('gamedata/parse_tdf.lua')local moveTdf, err = TDF.Parse('gamedata/moveinfo.tdf')if (moveTdf == nil) then  error('Error parsing moveinfo.tdf: ' .. err)end----------------------------------------------------------------------------------------------------------------------------------------------------------------local i = 0while (true) do  local move = moveTdf['class' .. i]  if (type(move) ~= 'table') then    break  end  i = i + 1  moveInfo[i] = moveend----------------------------------------------------------------------------------------------------------------------------------------------------------------return moveInfo----------------------------------------------------------------------------------------------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -