King Mode: Fix king placement phase not working correctly with multiple teams in a clan
New king placement phase rules:
* Before the game begins, each team can walk with their king and teleport for free, everything else is disabled
* This special round does not count towards the round counter, like in gfPlaceHog
* TotalRounds is set to -1 during this round, like in gfPlaceHog
Under the old rules, this was much more hacky. The delay of all delay-less weapons was just set to 1
The problem with the old rules was that if any clan had more than 1 team, eventually the weapon delay will time out before all kings have been placed.
Name: hedgewars-server
Version: 0.1
Synopsis: hedgewars server
Description: hedgewars server
Homepage: https://www.hedgewars.org/
License: GPL-2
Author: unC0Rr
Maintainer: a.korotaev@hedgewars.org
Category: Game
Build-type: Simple
Cabal-version: >=1.10
Executable hedgewars-server
main-is: hedgewars-server.hs
default-language: Haskell2010
-- Don't forget to update INSTALL.md and .travis.yml when you change these dependencies!
Build-depends:
base >= 4.8,
containers,
vector,
bytestring,
network >= 2.3 && < 3.0,
random,
time,
mtl >= 2,
sandi,
hslogger,
process,
deepseq,
utf8-string,
SHA,
entropy,
zlib >= 0.5.3 && < 0.7,
regex-tdfa,
binary >= 0.8.5.1,
-- These dependencies are for OFFICIAL_SERVER only and do not need to be mentioned in docs
yaml >= 0.8.30,
aeson,
text >= 1.2
if !os(windows)
build-depends: unix
ghc-options: -O2
Executable checker
main-is: OfficialServer/checker.hs
default-language: Haskell2010
Build-depends:
base >= 4.8,
containers,
vector,
bytestring,
network >= 2.3 && < 3.0,
mtl >= 2,
sandi,
hslogger,
process,
ConfigFile,
directory
if !os(windows)
build-depends: unix
ghc-options: -O2