Remove game/preview functions split in library mode, just let normal procedure run instead:
- Remove tons of HWLIBRARY ifdefs
- Override ParamCount and ParamStr to let GetParams work
- Small fixes here and there
Name: hedgewars-server
Version: 0.1
Synopsis: hedgewars server
Description: hedgewars server
Homepage: http://www.hedgewars.org/
License: GPL-2
Author: unC0Rr
Maintainer: unC0Rr@hedgewars.org
Category: Game
Build-type: Simple
Cabal-version: >=1.2
Executable hedgewars-server
main-is: hedgewars-server.hs
Build-depends:
base >= 4.3,
containers,
vector,
bytestring,
bytestring-show,
network >= 2.3,
random,
time,
mtl >= 2,
dataenc,
hslogger,
process,
deepseq,
utf8-string,
SHA,
entropy,
zlib
ghc-options: -O2