ChangeLog.txt
changeset 13741 e8f26bc793d9
parent 13739 b3b55b03d499
child 13747 52959f686082
equal deleted inserted replaced
13740:2bb7141496a9 13741:e8f26bc793d9
   102  + Can now clear room greeting by using chat command “/greeting” without arguments
   102  + Can now clear room greeting by using chat command “/greeting” without arguments
   103  + Many new error and status messages for improved usability
   103  + Many new error and status messages for improved usability
   104  * Fix many server messages being not translated
   104  * Fix many server messages being not translated
   105 
   105 
   106 Lua API:
   106 Lua API:
       
   107  * Deprecation: Setting TurnTimeLeft/ReadyTimeLeft directly is deprecated and will become useless in future. Use the setter functions below
       
   108  + New call: SetTurnTimeLeft(TurnTimeLeft): Set remaining turn time
       
   109  + New call: SetReadyTimeLeft(ReadyTimeLeft): Set remaining ready time
   107  + New call: Retreat(time [, respectGetAwayTimeFactor): Force current turn into retreating mode
   110  + New call: Retreat(time [, respectGetAwayTimeFactor): Force current turn into retreating mode
   108  + New call: GetAmmoTimer(gearUid, ammoType): Returns current set timer for given ammoType and hog gear in ms. Returns nil for non-timerable ammo
   111  + New call: GetAmmoTimer(gearUid, ammoType): Returns current set timer for given ammoType and hog gear in ms. Returns nil for non-timerable ammo
   109  + New call: EnableSwitchHog(): Enable hog switching
   112  + New call: EnableSwitchHog(): Enable hog switching
   110  + New call: GetAmmo(ammoType): Returns ammo configuration (corresponds to SetAmmo)
   113  + New call: GetAmmo(ammoType): Returns ammo configuration (corresponds to SetAmmo)
   111  + New call: GetVampiric(): Returns true if vampirism is currently active
   114  + New call: GetVampiric(): Returns true if vampirism is currently active
   112  + New call: GetLaserSight(): Returns true if laser sight (as utility) is currenctly active (ignoring sniper rifle)
   115  + New call: GetLaserSight(): Returns true if laser sight (as utility) is currenctly active (ignoring sniper rifle)
   113  + New call: IsHogHidden(gear): Returns true if hog is hidden
   116  + New call: IsHogHidden(gear): Returns true if hog is hidden
   114  + New call: SetTurnTimeLeft(TurnTimeLeft): Set remaining turn time
       
   115  + New call: SetReadyTimeLeft(ReadyTimeLeft): Set remaining ready time
       
   116  * Deprecation: Setting TurnTimeLeft/ReadyTimeLeft directly is now deprecated and will become useless in a future version. Use the setter functions instead
       
   117  + Changed call: AddTeam: 2nd param. color: Accepts negative value to use a default clan color from player settings
   117  + Changed call: AddTeam: 2nd param. color: Accepts negative value to use a default clan color from player settings
   118  + Changed call: HedgewarsScriptLoad: 2nd param. mustExist. If false, it's allowed for the script to not exist
   118  + Changed call: HedgewarsScriptLoad: 2nd param. mustExist. If false, it's allowed for the script to not exist
   119  + Changed call: HedgewarsScriptLoad: Return true on success and false on failure
   119  + Changed call: HedgewarsScriptLoad: Return true on success and false on failure
   120  + Change callback: onGearResurrect: 2nd parameter for visual gear spawned at resurrect position (might be nil)
   120  + Change callback: onGearResurrect: 2nd parameter for visual gear spawned at resurrect position (might be nil)
   121  + New parameter: SetAmmoTexts: 5th param. showExtra: Set to false to hide texts like “Not yet available”
   121  + New parameter: SetAmmoTexts: 5th param. showExtra: Set to false to hide texts like “Not yet available”