From 4e69ef938b23776c01d0a2e1a4763de676c3e257 Mon Sep 17 00:00:00 2001 From: Rubidium Date: Sun, 14 Dec 2025 19:43:37 +0100 Subject: [PATCH] Codefix: missing GPL headers --- src/linkgraph/demands.cpp | 7 +++++++ src/linkgraph/demands.h | 7 +++++++ src/linkgraph/init.h | 7 +++++++ src/linkgraph/mcf.cpp | 7 +++++++ src/linkgraph/mcf.h | 7 +++++++ 5 files changed, 35 insertions(+) diff --git a/src/linkgraph/demands.cpp b/src/linkgraph/demands.cpp index 1dbf48ee4e..32c9533788 100644 --- a/src/linkgraph/demands.cpp +++ b/src/linkgraph/demands.cpp @@ -1,3 +1,10 @@ +/* + * This file is part of OpenTTD. + * OpenTTD 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. + * OpenTTD 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 OpenTTD. If not, see . + */ + /** @file demands.cpp Definition of demand calculating link graph handler. */ #include "../stdafx.h" diff --git a/src/linkgraph/demands.h b/src/linkgraph/demands.h index 5934fcb853..9e0ac16e81 100644 --- a/src/linkgraph/demands.h +++ b/src/linkgraph/demands.h @@ -1,3 +1,10 @@ +/* + * This file is part of OpenTTD. + * OpenTTD 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. + * OpenTTD 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 OpenTTD. If not, see . + */ + /** @file demands.h Declaration of demand calculating link graph handler. */ #ifndef DEMANDS_H diff --git a/src/linkgraph/init.h b/src/linkgraph/init.h index a913613da3..42115bdc55 100644 --- a/src/linkgraph/init.h +++ b/src/linkgraph/init.h @@ -1,3 +1,10 @@ +/* + * This file is part of OpenTTD. + * OpenTTD 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. + * OpenTTD 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 OpenTTD. If not, see . + */ + /** @file init.h Declaration of initializing link graph handler. */ #ifndef INIT_H diff --git a/src/linkgraph/mcf.cpp b/src/linkgraph/mcf.cpp index 490ab9168c..9016c3e880 100644 --- a/src/linkgraph/mcf.cpp +++ b/src/linkgraph/mcf.cpp @@ -1,3 +1,10 @@ +/* + * This file is part of OpenTTD. + * OpenTTD 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. + * OpenTTD 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 OpenTTD. If not, see . + */ + /** @file mcf.cpp Definition of Multi-Commodity-Flow solver. */ #include "../stdafx.h" diff --git a/src/linkgraph/mcf.h b/src/linkgraph/mcf.h index f88b157934..73c8cdd4eb 100644 --- a/src/linkgraph/mcf.h +++ b/src/linkgraph/mcf.h @@ -1,3 +1,10 @@ +/* + * This file is part of OpenTTD. + * OpenTTD 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. + * OpenTTD 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 OpenTTD. If not, see . + */ + /** @file mcf.h Declaration of Multi-Commodity-Flow solver */ #ifndef MCF_H