# HG changeset patch # User Wuzzy # Date 1558191327 -7200 # Node ID d84136589c0483c029b6daf2a12b97f24c5ad460 # Parent 3ed1cbd31754360c3c341f3eda36625d1519c153 Backed out changeset 6a928999fefd (onPreciseLocal causes desyncs) diff -r 3ed1cbd31754 -r d84136589c04 ChangeLog.txt --- a/ChangeLog.txt Sat May 18 16:54:51 2019 +0200 +++ b/ChangeLog.txt Sat May 18 16:55:27 2019 +0200 @@ -135,7 +135,6 @@ + New callback: onGameResult(winningClan): Called when the game ends normally. winningClan = index of winning clan or -1 on draw + New callback: onCaseDrop(gear): Called at the point where a crate MIGHT be dropped between turns. Gear is the crate gear or nil + New callback: ooHogSwitch(oldHog): Called when hogs was switched with the “switch hedgehog” utility - + New callback: onPreciseLocal(): Called when precise key is pressed client-side + SendStat extension: Option to use predefined modes with siPointType, like "!POINTS" or "!TIME" + SimpleMission: Add isMissionTeam attribute for teams + SpeedShoppa/TargetPractice libraries: Remove custom hog and team info settings diff -r 3ed1cbd31754 -r d84136589c04 hedgewars/uInputHandler.pas --- a/hedgewars/uInputHandler.pas Sat May 18 16:54:51 2019 +0200 +++ b/hedgewars/uInputHandler.pas Sat May 18 16:55:27 2019 +0200 @@ -60,7 +60,7 @@ procedure ControllerButtonEvent(joy, button: Byte; pressed: Boolean); implementation -uses uKeyNames, uConsole, uCommands, uVariables, uConsts, uUtils, uDebug, uPhysFSLayer, uCursor, uScript; +uses uKeyNames, uConsole, uCommands, uVariables, uConsts, uUtils, uDebug, uPhysFSLayer, uCursor; const LSHIFT = $0200; @@ -251,7 +251,6 @@ updateVolumeDelta(true); updateCursorMovementDelta(true, CursorMovementX, CursorMovementX); updateCursorMovementDelta(true, CursorMovementY, CursorMovementY); - ScriptCall('onPreciseLocal'); end; ParseCommand(CurrentBinds.binds[CurrentBinds.indices[code]], Trusted);