gameServer/Consts.hs
author koda
Thu, 03 May 2012 16:04:38 +0100
changeset 7016 8b34f46e10c1
parent 6737 ce5fbd98370f
child 9702 27006953d901
permissions -rw-r--r--
HAPPY 7000th COMMIT HEDGEWARS - enforce strong typechecking for strings - disable embedded fpc exceptions (binary size savings of ~5k) - add stack check in debug mode
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4973
53411a26df7e Add server version (which is separate from protocol version) and a check in frontend for a new enough server (currently only qWarning)
unc0rr
parents:
diff changeset
     1
{-# LANGUAGE OverloadedStrings #-}
53411a26df7e Add server version (which is separate from protocol version) and a check in frontend for a new enough server (currently only qWarning)
unc0rr
parents:
diff changeset
     2
module Consts where
53411a26df7e Add server version (which is separate from protocol version) and a check in frontend for a new enough server (currently only qWarning)
unc0rr
parents:
diff changeset
     3
53411a26df7e Add server version (which is separate from protocol version) and a check in frontend for a new enough server (currently only qWarning)
unc0rr
parents:
diff changeset
     4
import qualified Data.ByteString.Char8 as B
53411a26df7e Add server version (which is separate from protocol version) and a check in frontend for a new enough server (currently only qWarning)
unc0rr
parents:
diff changeset
     5
53411a26df7e Add server version (which is separate from protocol version) and a check in frontend for a new enough server (currently only qWarning)
unc0rr
parents:
diff changeset
     6
serverVersion :: B.ByteString
6737
ce5fbd98370f - Increase server version number due to rooms list protocol changes
unc0rr
parents: 4973
diff changeset
     7
serverVersion = "1"