ChangeLog.txt
changeset 11412 c19f2387d24f
parent 11342 aa3f886c6298
child 11498 1908b919c057
equal deleted inserted replaced
11411:0566458ffdfc 11412:c19f2387d24f
    28  * Hammer now does more damage when the Extra-Damage utility is used
    28  * Hammer now does more damage when the Extra-Damage utility is used
    29  * Many other bug fixes
    29  * Many other bug fixes
    30 
    30 
    31 Lua-API:
    31 Lua-API:
    32  + New map parameter: MapFeatureSize -- numeric representation of detail slider below map preview; use within onGameInit()/onPreviewInit()
    32  + New map parameter: MapFeatureSize -- numeric representation of detail slider below map preview; use within onGameInit()/onPreviewInit()
    33  + New function: SetMaxBuildDistance([ distInPx ]) -- specify how many pixels away a hedgehog can still place girders/etc. set to 0 for no limit; call with no param to reset to default
    33  + New functions: SetMaxBuildDistance([ distInPx ]) -- specify how many pixels away a hedgehog can still place girders/etc. set to 0 for no limit; call with no param to reset to default, 
    34  + New hook: onSuddenDeath() -- called by engine when sudden death begins
    34  + New hook: onSuddenDeath() -- called by engine when sudden death begins
       
    35  + Parameters are now optional for the generic gear setters.  i.e. - SetVisualGearValues(gear, x, y).  nil values are skipped and not set.
       
    36  + PlaceSprite can now set land type (bouncy, indestructible, ice etc), colour the sprite, flip the sprite, and place the sprite behind existing land.
       
    37  + EraseSprite.  Can flip and selectively erase based on land flags.
       
    38  + More of the gear structure values are now accessible in the generic gear getter/setter.
    35  * Previously missing gear states are now available (gstSubmersible, gstFrozen and gstNoGravity)
    39  * Previously missing gear states are now available (gstSubmersible, gstFrozen and gstNoGravity)
    36  * Fixed OnHogAttack giving the incorrect AmmoType (amNothing) under certain conditions
    40  * Fixed OnHogAttack giving the incorrect AmmoType (amNothing) under certain conditions
    37 
    41 
    38 0.9.20 -> 0.9.21:
    42 0.9.20 -> 0.9.21:
    39  + New type of randomly generated maps: Perlin Maps.
    43  + New type of randomly generated maps: Perlin Maps.