找回密码
 点一下
楼主: greedwind

【WE & Jass Online 大全】公开版更新说明(朝GA第一高楼努力,顶啊!)

  [复制链接]
发表于 2006-4-16 16:18:14 | 显示全部楼层
俺们这地方天气干旱,水贵过油...
回复

使用道具 举报

发表于 2006-4-16 16:19:41 | 显示全部楼层
。。。。。。。。。。。。。。。。。。
所以才要多水点。这样就有水了。。
回复

使用道具 举报

发表于 2006-4-16 16:22:42 | 显示全部楼层
我知道在我们灌水的同时,GW大人忙着完善手册呢,就是不知道有没有美女给按摩松骨.红袖添香?要不我们想要的合伙给雇个....;P;P
回复

使用道具 举报

发表于 2006-4-16 16:23:47 | 显示全部楼层
呃?那我一天出200GA币。。去雇一个来吧。。嗯嗯。
回复

使用道具 举报

发表于 2006-4-16 16:24:28 | 显示全部楼层
\"有水了\"这话怪哦.又不是....呵呵
回复

使用道具 举报

发表于 2006-4-16 16:25:40 | 显示全部楼层
哈哈,那你先给我,剩下的我出...
                   说不定有自愿的,那我不赚了
回复

使用道具 举报

发表于 2006-4-16 16:29:42 | 显示全部楼层
灌啊灌,怎么就灌到黄河边了...
回复

使用道具 举报

发表于 2006-4-16 17:05:37 | 显示全部楼层
楼上警告一次。~~~~~~~~~~~~~~~~~飘走~~~~~~~~~~~~
回复

使用道具 举报

发表于 2006-4-16 17:16:59 | 显示全部楼层
呃。。。
居然被警告了。。死了没。。。。
FM这两天刚好有空上线。你就撞上了。。嗯嗯。。
回复

使用道具 举报

发表于 2006-4-16 17:27:44 | 显示全部楼层
呃....还好.......
                :L:L:L
回复

使用道具 举报

发表于 2006-4-16 18:30:51 | 显示全部楼层
1.17 -> 1.18 Jassº¯Êı¸Ä¶¯Áбí by Soar Chin
1.17至1.18%20Jass函数改动列表
回复

使用道具 举报

发表于 2006-4-16 18:53:53 | 显示全部楼层
原帖由 amp34 于 2006-4-16 18:30 发表
1.17 -> 1.18 Jassº¯Êı¸Ä¶¯Áбí by Soar Chin
1.17至1.18%20Jass函数改动列表


怎么是乱码?
回复

使用道具 举报

发表于 2006-4-16 18:56:25 | 显示全部楼层
这个8要问我。。。
我不知道。。所以才告诉楼主的。。
回复

使用道具 举报

发表于 2006-4-16 19:05:01 | 显示全部楼层
原来是文本文件
IE把编码识别错了
回复

使用道具 举报

发表于 2006-4-16 19:08:06 | 显示全部楼层
我很奇怪最后的那句话


  1. 1.17 -> 1.18 Jass函数改动列表 by Soar Chin

  2. Common.j:
  3. a)增加类型
  4.   type pathingtype        extends     handle  // 地形路径类型
  5.   type image              extends     handle  // 图像类型
  6.   type ubersplat          extends     handle  // 地面纹理类型

  7. b)增加常量
  8.   constant pathingtype        PATHING_TYPE_ANY                = ConvertPathingType(0) // 任何单位都能通过的地形
  9.   constant pathingtype        PATHING_TYPE_WALKABILITY        = ConvertPathingType(1) // 只有步行单位才能通过的地形
  10.   constant pathingtype        PATHING_TYPE_FLYABILITY         = ConvertPathingType(2) // 只有飞行单位才能通过的地形
  11.   constant pathingtype        PATHING_TYPE_BUILDABILITY       = ConvertPathingType(3) // 可以建造建筑的地形
  12.   constant pathingtype        PATHING_TYPE_PEONHARVESTPATHING = ConvertPathingType(4) // 采矿和伐木中的农民可以穿过的地形
  13.   constant pathingtype        PATHING_TYPE_BLIGHTPATHING      = ConvertPathingType(5) // 不死族的腐蚀地表的地形
  14.   constant pathingtype        PATHING_TYPE_FLOATABILITY       = ConvertPathingType(6) // 允许漂浮水面行走的地形
  15.   constant pathingtype        PATHING_TYPE_AMPHIBIOUSPATHING  = ConvertPathingType(7) // 允许两栖行走的地形

  16.   constant unittype UNIT_TYPE_TAUREN                      = ConvertUnitType(20) // 单位类型-牛头族
  17.   constant unittype UNIT_TYPE_POISONED                    = ConvertUnitType(21) // 单位类型-中毒的
  18.   constant unittype UNIT_TYPE_POLYMORPHED                 = ConvertUnitType(22) // 单位类型-变成小羊的
  19.   constant unittype UNIT_TYPE_SLEEPING                    = ConvertUnitType(23) // 单位类型-睡眠的
  20.   constant unittype UNIT_TYPE_RESISTANT                   = ConvertUnitType(24) // 单位类型-魔法抵抗的
  21.   constant unittype UNIT_TYPE_ETHEREAL                    = ConvertUnitType(25) // 单位类型-无形的
  22.   constant unittype UNIT_TYPE_MAGIC_IMMUNE                = ConvertUnitType(26) // 单位类型-魔法免疫的

  23. c)增加函数
  24.   // 获得坐标的Z方向值(和镜头有关), 在不同的电脑上可能得到不同的值, 请勿用于联机游戏中需要同步数据的场合
  25.   native GetLocationZ             takes location whichLocation returns real

  26. //  Text Tag 系列
  27.   // 设置文字标签是否停止运动
  28.   native SetTextTagSuspended          takes texttag t, boolean flag returns nothing

  29.   // 设置文字标签是否永久存在
  30.   native SetTextTagPermanent          takes texttag t, boolean flag returns nothing

  31.   // 设置文字标签的已存在的时间长度
  32.   native SetTextTagAge                takes texttag t, real age returns nothing

  33.   // 设置文字标签的允许存在时间
  34.   native SetTextTagLifespan           takes texttag t, real lifespan returns nothing

  35.   // 设置文字标签的淡化点
  36.   native SetTextTagFadepoint          takes texttag t, real fadepoint returns nothing

  37. // 选择系列
  38.   // 设置是否框选单位以及允许框选单位后是否显示在界面上
  39.   native EnableDragSelect             takes boolean state, boolean ui returns nothing

  40.   // 设置是否预选单位以及允许预选单位后是否显示在界面上(也就是鼠标移到一个单位身上时显示其生命)
  41.   native EnablePreSelect              takes boolean state, boolean ui returns nothing

  42.   // 设置是否选择单位以及允许框选后是否显示在界面上
  43.   native EnableSelect                 takes boolean state, boolean ui returns nothing

  44. // Lighting 系列
  45.   // 添加闪电效果, 和AddLightning比多了Z方向参数
  46.   native AddLightningEx               takes string codeName, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns lightning

  47.   // 移动闪电, 和MoveLightning比多了Z方向参数
  48.   native MoveLightningEx              takes lightning whichBolt, boolean checkVisibility, real x1, real y1, real z1, real x2, real y2, real z2 returns boolean

  49. // 地形系列
  50.   // 得到对应坐标的地形类型
  51.   native GetTerrainType               takes real x, real y returns integer

  52.   // 得到对应坐标的地形的高低差指数
  53.   native GetTerrainVariance           takes real x, real y returns integer

  54.   // 得到对应坐标的地形类型
  55.   native SetTerrainType               takes real x, real y, integer terrainType, integer variation, integer area, integer shape returns nothing

  56.   // 检查对应坐标的地形是否符合地形路径类型
  57.   native IsTerrainPathable            takes real x, real y, pathingtype t returns boolean

  58.   // 设置对应坐标的地形的路径类型
  59.   native SetTerrainPathable           takes real x, real y, pathingtype t, boolean flag returns nothing

  60. // 图像系列
  61.   // 从文件创建图像
  62.   // 变量imageType的值对应: 0 - 影子, 1 - 选择圈, 2 - 指示器(?鼠标or what?), 3 - 碰撞标志, 4 - 地面纹理, 5 - 上一次使用的值(仅用于GetImageType)
  63.   native CreateImage                  takes string file, real sizeX, real sizeY, real sizeZ, real posX, real posY, real posZ, real originX, real originY, real originZ, integer imageType returns image

  64.   // 删除图像变量并释放内存
  65.   native DestroyImage                 takes image whichImage returns nothing

  66.   // 显示图像
  67.   native ShowImage                    takes image whichImage, boolean flag returns nothing

  68.   // 设置图像高度
  69.   native SetImageConstantHeight       takes image whichImage, boolean flag, real height returns nothing

  70.   // 设置图像位置
  71.   native SetImagePosition             takes image whichImage, real x, real y, real z returns nothing

  72.   // 设置图像颜色
  73.   native SetImageColor                takes image whichImage, integer red, integer green, integer blue, integer alpha returns nothing

  74.   // 设置图像是否着色
  75.   native SetImageRender               takes image whichImage, boolean flag returns nothing

  76.   // 设置图像是否总是着色
  77.   native SetImageRenderAlways         takes image whichImage, boolean flag returns nothing

  78.   // 这是图像是否高于水平面
  79.   native SetImageAboveWater           takes image whichImage, boolean flag, boolean useWaterAlpha returns nothing

  80.   // 设置图像类型, imageType取值见CreateImage
  81.   native SetImageType                 takes image whichImage, integer imageType returns nothing

  82. // 地面纹理系列
  83.   // 创建地面纹理(可以模拟从头开始建造的过程)
  84.   native CreateUbersplat              takes real x, real y, string name, integer red, integer green, integer blue, integer alpha, boolean forcePaused, boolean noBirthTime returns ubersplat

  85.   // 删除地面纹理变量并释放内存
  86.   native DestroyUbersplat             takes ubersplat whichSplat returns nothing

  87.   // 重置地面纹理
  88.   native ResetUbersplat               takes ubersplat whichSplat returns nothing

  89.   // 完成地面纹理(相当于直接完成建造后的地面纹理)
  90.   native FinishUbersplat              takes ubersplat whichSplat returns nothing

  91.   // 显示地面纹理
  92.   native ShowUbersplat                takes ubersplat whichSplat, boolean flag returns nothing

  93.   // 设置地面纹理是否着色
  94.   native SetUbersplatRender           takes ubersplat whichSplat, boolean flag returns nothing

  95.   // 设置地面纹理是否总是着色
  96.   native SetUbersplatRenderAlways     takes ubersplat whichSplat, boolean flag returns nothing



  97. Blizzard.j:
  98. a)增加全局变量
  99.   image              bj_lastCreatedImage         = null  // 用于CreateImageBJ
  100.   ubersplat          bj_lastCreatedUbersplat     = null  // 用于CreateUbersplatBJ

  101. b) 改变的函数
  102.   // 改为使用AddLightningEx
  103.   function AddLightningLoc takes string codeName, location where1, location where2 returns lightning
  104.     set bj_lastCreatedLightning = AddLightningEx(codeName, true, GetLocationX(where1), GetLocationY(where1), GetLocationZ(where1), GetLocationX(where2), GetLocationY(where2), GetLocationZ(where2))
  105.     return bj_lastCreatedLightning
  106.   endfunction

  107.   // 改为使用MoveLightningEx
  108.   function MoveLightningLoc takes lightning whichBolt, location where1, location where2 returns boolean
  109.     return MoveLightningEx(whichBolt, true, GetLocationX(where1), GetLocationY(where1), GetLocationZ(where1), GetLocationX(where2), GetLocationY(where2), GetLocationZ(where2))
  110.   endfunction

  111.   // 第一个参数从原来的string abilString变为integer abilcode
  112.   function GetAbilityEffectBJ takes integer abilcode, effecttype t, integer index returns string
  113.     return GetAbilityEffectById(abilcode, t, index)
  114.   endfunction

  115.   // 第一个参数从原来的string abilString变为integer abilcode
  116.   function GetAbilitySoundBJ takes integer abilcode, soundtype t returns string
  117.     return GetAbilitySoundById(abilcode, t)
  118.   endfunction

  119.   // 由SetTextTagText改为使用SetTextTagTextBJ
  120.   function CreateTextTagLocBJ takes string s, location loc, real zOffset, real size, real red, real green, real blue, real transparency returns texttag
  121.     set bj_lastCreatedTextTag = CreateTextTag()
  122.     call SetTextTagTextBJ(bj_lastCreatedTextTag, s, size)
  123.     call SetTextTagPosBJ(bj_lastCreatedTextTag, loc, zOffset)
  124.     call SetTextTagColorBJ(bj_lastCreatedTextTag, red, green, blue, transparency)

  125.     return bj_lastCreatedTextTag
  126.   endfunction

  127.   // 由SetTextTagText改为使用SetTextTagTextBJ
  128.   function CreateTextTagUnitBJ takes string s, unit whichUnit, real zOffset, real size, real red, real green, real blue, real transparency returns texttag
  129.     set bj_lastCreatedTextTag = CreateTextTag()
  130.     call SetTextTagTextBJ(bj_lastCreatedTextTag, s, size)
  131.     call SetTextTagPosUnitBJ(bj_lastCreatedTextTag, whichUnit, zOffset)
  132.     call SetTextTagColorBJ(bj_lastCreatedTextTag, red, green, blue, transparency)

  133.     return bj_lastCreatedTextTag
  134.   endfunction

  135. c)增加的函数
  136.   // 以下为地形函数对应的BJ系列
  137.   function GetTerrainTypeBJ takes location where returns integer
  138.     return GetTerrainType(GetLocationX(where), GetLocationY(where))
  139.   endfunction

  140.   function GetTerrainVarianceBJ takes location where returns integer
  141.     return GetTerrainVariance(GetLocationX(where), GetLocationY(where))
  142.   endfunction

  143.   function SetTerrainTypeBJ takes location where, integer terrainType, integer variation, integer area, integer shape returns nothing
  144.     call SetTerrainType(GetLocationX(where), GetLocationY(where), terrainType, variation, area, shape)
  145.   endfunction

  146.   function IsTerrainPathableBJ takes location where, pathingtype t returns boolean
  147.     return IsTerrainPathable(GetLocationX(where), GetLocationY(where), t)
  148.   endfunction

  149.   function SetTerrainPathableBJ takes location where, pathingtype t, boolean flag returns nothing
  150.     call SetTerrainPathable(GetLocationX(where), GetLocationY(where), t, flag)
  151.   endfunction

  152.   // 以下为图像函数对应的BJ系列
  153.   function CreateImageBJ takes string file, real size, location where, real zOffset, integer imageType returns image
  154.     set bj_lastCreatedImage = CreateImage(file, size, size, size, GetLocationX(where), GetLocationY(where), zOffset, 0, 0, 0, imageType)
  155.     return bj_lastCreatedImage
  156.   endfunction

  157.   function ShowImageBJ takes boolean flag, image whichImage returns nothing
  158.     call ShowImage(whichImage, flag)
  159.   endfunction

  160.   function SetImagePositionBJ takes image whichImage, location where, real zOffset returns nothing
  161.     call SetImagePosition(whichImage, GetLocationX(where), GetLocationY(where), zOffset)
  162.   endfunction

  163.   function SetImageColorBJ takes image whichImage, real red, real green, real blue, real alpha returns nothing
  164.     call SetImageColor(whichImage, PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-alpha))
  165.   endfunction

  166.   function GetLastCreatedImage takes nothing returns image
  167.     return bj_lastCreatedImage
  168.   endfunction

  169.   // 以下为地面纹理函数对应的BJ系列
  170.   function CreateUbersplatBJ takes location where, string name, real red, real green, real blue, real alpha, boolean forcePaused, boolean noBirthTime returns ubersplat
  171.     set bj_lastCreatedUbersplat = CreateUbersplat(GetLocationX(where), GetLocationY(where), name, PercentTo255(red), PercentTo255(green), PercentTo255(blue), PercentTo255(100.0-alpha), forcePaused, noBirthTime)
  172.     return bj_lastCreatedUbersplat
  173.   endfunction

  174.   function ShowUbersplatBJ takes boolean flag, ubersplat whichSplat returns nothing
  175.     call ShowUbersplat(whichSplat, flag)
  176.   endfunction

  177.   function GetLastCreatedUbersplat takes nothing returns ubersplat
  178.     return bj_lastCreatedUbersplat
  179.   endfunction

  180.   // 以下为TextTag函数对应的BJ系列
  181.   function SetTextTagTextBJ takes texttag tt, string s, real size returns nothing
  182.     local real textHeight = TextTagSize2Height(size)

  183.     call SetTextTagText(tt, s, textHeight)
  184.   endfunction

  185.   function SetTextTagPosBJ takes texttag tt, location loc, real zOffset returns nothing
  186.     call SetTextTagPos(tt, GetLocationX(loc), GetLocationY(loc), zOffset)
  187.   endfunction

  188.   function SetTextTagPosUnitBJ takes texttag tt, unit whichUnit, real zOffset returns nothing
  189.     call SetTextTagPosUnit(tt, whichUnit, zOffset)
  190.   endfunction

  191.   function SetTextTagSuspendedBJ takes texttag tt, boolean flag returns nothing
  192.     call SetTextTagSuspended(tt, flag)
  193.   endfunction

  194.   function SetTextTagPermanentBJ takes texttag tt, boolean flag returns nothing
  195.     call SetTextTagPermanent(tt, flag)
  196.   endfunction

  197.   function SetTextTagAgeBJ takes texttag tt, real age returns nothing
  198.     call SetTextTagAge(tt, age)
  199.   endfunction

  200.   function SetTextTagLifespanBJ takes texttag tt, real lifespan returns nothing
  201.     call SetTextTagLifespan(tt, lifespan)
  202.   endfunction

  203.   function SetTextTagFadepointBJ takes texttag tt, real fadepoint returns nothing
  204.     call SetTextTagFadepoint(tt, fadepoint)
  205.   endfunction

  206. Common.ai:
  207.   没有改动HHC5010: Error: Cannot open "d:\\document\\JassRef\\2006\\jassall.chm". Compilation stopped.

复制代码
回复

使用道具 举报

发表于 2006-4-16 19:13:54 | 显示全部楼层
这个自然要顶
8顶8行
回复

使用道具 举报

发表于 2006-4-16 19:25:57 | 显示全部楼层

回复 #155 zyl910 的帖子

应该是那个CHM编辑器没有找到某些文件。嗯嗯。
回复

使用道具 举报

 楼主| 发表于 2006-4-16 19:58:00 | 显示全部楼层
知道了,会改掉,谢谢!!
所以说,人多力量大嘛
回复

使用道具 举报

发表于 2006-4-16 20:03:27 | 显示全部楼层
嗯嗯。所以现在还有40楼啊。时间不多了。。。
回复

使用道具 举报

 楼主| 发表于 2006-4-16 20:05:43 | 显示全部楼层
我可以现在就放出来的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-5-22 14:39 , Processed in 0.095240 second(s), 17 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表