# HG changeset patch # User sheepluva # Date 1415445575 -3600 # Node ID dae4bb274822682cbb6dfcc3974e271ab2e89b1b # Parent 1648912925f9520c1cc5c15163cc7e5589fe6091# Parent d08611b520004b235c9feb41fd69d507c47ba194 Merge pull request #13 from LocutusOfBorg/fix-license Fixed many license problems, spotted by licensecheck program diff -r 1648912925f9 -r dae4bb274822 gameServer/Actions.hs --- a/gameServer/Actions.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/Actions.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP, OverloadedStrings, ScopedTypeVariables #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Actions where diff -r 1648912925f9 -r dae4bb274822 gameServer/ClientIO.hs --- a/gameServer/ClientIO.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/ClientIO.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE ScopedTypeVariables, OverloadedStrings, Rank2Types #-} module ClientIO where diff -r 1648912925f9 -r dae4bb274822 gameServer/ConfigFile.hs --- a/gameServer/ConfigFile.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/ConfigFile.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE RankNTypes #-} module ConfigFile where diff -r 1648912925f9 -r dae4bb274822 gameServer/Consts.hs --- a/gameServer/Consts.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/Consts.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module Consts where diff -r 1648912925f9 -r dae4bb274822 gameServer/CoreTypes.hs --- a/gameServer/CoreTypes.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/CoreTypes.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP, OverloadedStrings, DeriveDataTypeable #-} module CoreTypes where diff -r 1648912925f9 -r dae4bb274822 gameServer/EngineInteraction.hs --- a/gameServer/EngineInteraction.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/EngineInteraction.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module EngineInteraction(replayToDemo, checkNetCmd, toEngineMsg, drawnMapData) where diff -r 1648912925f9 -r dae4bb274822 gameServer/FloodDetection.hs --- a/gameServer/FloodDetection.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/FloodDetection.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings, BangPatterns #-} module FloodDetection where diff -r 1648912925f9 -r dae4bb274822 gameServer/HWProtoChecker.hs --- a/gameServer/HWProtoChecker.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/HWProtoChecker.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module HWProtoChecker where diff -r 1648912925f9 -r dae4bb274822 gameServer/HWProtoCore.hs --- a/gameServer/HWProtoCore.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/HWProtoCore.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module HWProtoCore where diff -r 1648912925f9 -r dae4bb274822 gameServer/HWProtoInRoomState.hs --- a/gameServer/HWProtoInRoomState.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/HWProtoInRoomState.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module HWProtoInRoomState where diff -r 1648912925f9 -r dae4bb274822 gameServer/HWProtoLobbyState.hs --- a/gameServer/HWProtoLobbyState.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/HWProtoLobbyState.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module HWProtoLobbyState where diff -r 1648912925f9 -r dae4bb274822 gameServer/HWProtoNEState.hs --- a/gameServer/HWProtoNEState.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/HWProtoNEState.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings, CPP #-} module HWProtoNEState where diff -r 1648912925f9 -r dae4bb274822 gameServer/HandlerUtils.hs --- a/gameServer/HandlerUtils.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/HandlerUtils.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + module HandlerUtils where import Control.Monad.Reader diff -r 1648912925f9 -r dae4bb274822 gameServer/JoinsMonitor.hs --- a/gameServer/JoinsMonitor.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/JoinsMonitor.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE BangPatterns #-} module JoinsMonitor( diff -r 1648912925f9 -r dae4bb274822 gameServer/NetRoutines.hs --- a/gameServer/NetRoutines.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/NetRoutines.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE ScopedTypeVariables, OverloadedStrings #-} module NetRoutines where diff -r 1648912925f9 -r dae4bb274822 gameServer/OfficialServer/DBInteraction.hs --- a/gameServer/OfficialServer/DBInteraction.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/OfficialServer/DBInteraction.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP, ScopedTypeVariables, OverloadedStrings #-} module OfficialServer.DBInteraction ( diff -r 1648912925f9 -r dae4bb274822 gameServer/OfficialServer/GameReplayStore.hs --- a/gameServer/OfficialServer/GameReplayStore.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/OfficialServer/GameReplayStore.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE ScopedTypeVariables #-} module OfficialServer.GameReplayStore where diff -r 1648912925f9 -r dae4bb274822 gameServer/OfficialServer/checker.hs --- a/gameServer/OfficialServer/checker.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/OfficialServer/checker.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP, ScopedTypeVariables, OverloadedStrings #-} module Main where diff -r 1648912925f9 -r dae4bb274822 gameServer/OfficialServer/extdbinterface.hs --- a/gameServer/OfficialServer/extdbinterface.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/OfficialServer/extdbinterface.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE ScopedTypeVariables, OverloadedStrings #-} module Main where diff -r 1648912925f9 -r dae4bb274822 gameServer/Opts.hs --- a/gameServer/Opts.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/Opts.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP #-} module Opts ( diff -r 1648912925f9 -r dae4bb274822 gameServer/RoomsAndClients.hs --- a/gameServer/RoomsAndClients.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/RoomsAndClients.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE BangPatterns, GeneralizedNewtypeDeriving #-} module RoomsAndClients( diff -r 1648912925f9 -r dae4bb274822 gameServer/ServerCore.hs --- a/gameServer/ServerCore.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/ServerCore.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + module ServerCore where import Control.Concurrent diff -r 1648912925f9 -r dae4bb274822 gameServer/ServerState.hs --- a/gameServer/ServerState.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/ServerState.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + module ServerState ( module RoomsAndClients, diff -r 1648912925f9 -r dae4bb274822 gameServer/Store.hs --- a/gameServer/Store.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/Store.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE BangPatterns, GeneralizedNewtypeDeriving #-} module Store( ElemIndex(), diff -r 1648912925f9 -r dae4bb274822 gameServer/Utils.hs --- a/gameServer/Utils.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/Utils.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module Utils where diff -r 1648912925f9 -r dae4bb274822 gameServer/Votes.hs --- a/gameServer/Votes.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/Votes.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE OverloadedStrings #-} module Votes where diff -r 1648912925f9 -r dae4bb274822 gameServer/hedgewars-server.hs --- a/gameServer/hedgewars-server.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/hedgewars-server.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP, ScopedTypeVariables, OverloadedStrings #-} module Main where diff -r 1648912925f9 -r dae4bb274822 gameServer/stresstest.hs --- a/gameServer/stresstest.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/stresstest.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP #-} module Main where diff -r 1648912925f9 -r dae4bb274822 gameServer/stresstest2.hs --- a/gameServer/stresstest2.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/stresstest2.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP #-} module Main where diff -r 1648912925f9 -r dae4bb274822 gameServer/stresstest3.hs --- a/gameServer/stresstest3.hs Sat Nov 08 12:10:37 2014 +0100 +++ b/gameServer/stresstest3.hs Sat Nov 08 12:19:35 2014 +0100 @@ -1,3 +1,21 @@ +{- + * Hedgewars, a free turn based strategy game + * Copyright (c) 2004-2014 Andrey Korotaev + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + \-} + {-# LANGUAGE CPP #-} module Main where