author | mikade |
Tue, 21 Jun 2011 20:49:47 +0200 | |
changeset 5277 | 09beef0752ab |
parent 4893 | 353781305c07 |
child 5325 | 261b79ba22b1 |
permissions | -rw-r--r-- |
4662
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
1 |
-------------------------------- |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
2 |
-- NO JUMPING |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
3 |
-------------------------------- |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
4 |
|
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
5 |
loadfile(GetDataPath() .. "Scripts/Locale.lua")() |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
6 |
|
4893
353781305c07
make Random Weapons and No Jumping use the new custom goal function
Henek
parents:
4662
diff
changeset
|
7 |
function onGameInit() |
353781305c07
make Random Weapons and No Jumping use the new custom goal function
Henek
parents:
4662
diff
changeset
|
8 |
Goals = loc("Jumping is disabled") |
4662
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
9 |
end |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
10 |
|
4893
353781305c07
make Random Weapons and No Jumping use the new custom goal function
Henek
parents:
4662
diff
changeset
|
11 |
--function onGameStart() |
353781305c07
make Random Weapons and No Jumping use the new custom goal function
Henek
parents:
4662
diff
changeset
|
12 |
-- ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0) |
353781305c07
make Random Weapons and No Jumping use the new custom goal function
Henek
parents:
4662
diff
changeset
|
13 |
--end |
353781305c07
make Random Weapons and No Jumping use the new custom goal function
Henek
parents:
4662
diff
changeset
|
14 |
|
4662
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
15 |
function onNewTurn() |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
16 |
SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump))) |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
17 |
end |
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
18 |
|
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
19 |
|
63aafc9c2a81
Add a bunch of lua from mikade, update translation files
mikade+nemo
parents:
diff
changeset
|
20 |