share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
author koda
Fri, 29 Apr 2011 03:31:50 +0200
changeset 5188 d0461bd6d45b
parent 4893 353781305c07
child 5325 261b79ba22b1
permissions -rw-r--r--
some updates to the crossbuild system for mac most notably it chooses a single default architecture with more precision

--------------------------------
-- NO JUMPING
--------------------------------

loadfile(GetDataPath() .. "Scripts/Locale.lua")()

function onGameInit()
    Goals = loc("Jumping is disabled")
end

--function onGameStart()
--	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
--end

function onNewTurn()
	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
end