gameServer/CoreTypes.hs
branchqmlfrontend
changeset 10515 7705784902e1
parent 10482 b49b82351ad3
child 10732 7c4f9e5e447c
child 10765 7e55468ffe38
equal deleted inserted replaced
10458:f7a199346c3e 10515:7705784902e1
       
     1 {-
       
     2  * Hedgewars, a free turn based strategy game
       
     3  * Copyright (c) 2004-2014 Andrey Korotaev <unC0Rr@gmail.com>
       
     4  *
       
     5  * This program is free software; you can redistribute it and/or modify
       
     6  * it under the terms of the GNU General Public License as published by
       
     7  * the Free Software Foundation; version 2 of the License
       
     8  *
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12  * GNU General Public License for more details.
       
    13  *
       
    14  * You should have received a copy of the GNU General Public License
       
    15  * along with this program; if not, write to the Free Software
       
    16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
       
    17  \-}
       
    18 
     1 {-# LANGUAGE CPP, OverloadedStrings, DeriveDataTypeable #-}
    19 {-# LANGUAGE CPP, OverloadedStrings, DeriveDataTypeable #-}
     2 module CoreTypes where
    20 module CoreTypes where
     3 
    21 
     4 import Control.Concurrent
    22 import Control.Concurrent
     5 import Data.Word
    23 import Data.Word
   230         ""
   248         ""
   231         Nothing
   249         Nothing
   232         []
   250         []
   233         (
   251         (
   234             Map.fromList $ Prelude.zip
   252             Map.fromList $ Prelude.zip
   235                 ["MAP", "MAPGEN", "MAZE_SIZE", "SEED", "TEMPLATE"]
   253                 ["FEATURE_SIZE", "MAP", "MAPGEN", "MAZE_SIZE", "SEED", "TEMPLATE"]
   236                 ["+rnd+", "0", "0", "seed", "0"]
   254                 ["12", "+rnd+", "0", "0", "seed", "0"]
   237         )
   255         )
   238         (
   256         (
   239             Map.fromList $ Prelude.zip
   257             Map.fromList $ Prelude.zip
   240                 ["AMMO", "SCHEME", "SCRIPT", "THEME"]
   258                 ["AMMO", "SCHEME", "SCRIPT", "THEME"]
   241                 [["Default"], ["Default"], ["Normal"], ["avematan"]]
   259                 [["Default"], ["Default"], ["Normal"], ["avematan"]]