rust/theme-editor/Cargo.toml
author Wuzzy <Wuzzy2@mail.ru>
Sat, 06 Jun 2020 15:40:51 +0200
changeset 15597 6e72bd61002e
parent 14030 2ebd505e62c1
permissions -rw-r--r--
Disable gfMoreWind for land objects on turn end only after a fixed-time delay 15s sounds much, but it's the average amount for gfMineStrike mines to settle naturally. And it would be very confusing to see falling mines suddenly not caring about gfMoreWind for no apparent reason. Note this whole thing is a giant hack anyway, to prevent a turn being blocked by infinitely bouncing mines. The better solution would be to help gfMoreWind-affected land objects settle naturally more reliably even under extreme wind. But this commit is "good enough" for now. If you don't like the delay, you can always tweak the constant.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14028
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     1
[package]
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     2
name = "theme-editor"
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     3
version = "0.1.0"
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     4
authors = ["Hedgewars Project"]
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     5
edition = "2018"
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     6
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     7
[dependencies.sdl2]
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     8
version = "0.31"
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
     9
default-features = true
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
    10
features = ["image"]
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
    11
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
    12
[dependencies]
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
    13
land2d = { path = "../land2d" }
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
    14
landgen = { path = "../landgen" }
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
    15
lfprng = { path = "../lfprng" }
14030
2ebd505e62c1 make theme editor render some random map lines
alfadur
parents: 14028
diff changeset
    16
integral-geometry = { path = "../integral-geometry" }
14028
0f517cbfe16d start a theme editor as an excuse to see land generator in action
alfadur
parents:
diff changeset
    17
rand = "0.5"