From a5647fea706a6d16a1bc2524570c87ee5c784dde Mon Sep 17 00:00:00 2001 From: Joseph Walton-Rivers <joseph@walton-rivers.uk> Date: Sun, 19 Jun 2022 19:05:13 +0100 Subject: [PATCH] fix header guards and copyright notices --- include/fggl/app.hpp | 32 +++++++++------------- include/fggl/audio/audio.hpp | 22 ++++++--------- include/fggl/audio/openal/audio.hpp | 22 ++++++--------- include/fggl/data/geom.hpp | 22 ++++++--------- include/fggl/data/heightmap.hpp | 20 ++++++++++++-- include/fggl/data/model.hpp | 18 ++++++++++-- include/fggl/data/procedural.hpp | 14 ++++++++++ include/fggl/data/procedure.hpp | 18 ++++++++++-- include/fggl/data/storage.hpp | 18 ++++++++++-- include/fggl/debug/debug.h | 18 ++++++++++-- include/fggl/debug/draw.hpp | 13 +++++++++ include/fggl/debug/impl/logging_spdlog.hpp | 22 ++++++--------- include/fggl/debug/impl/logging_std20.hpp | 22 ++++++--------- include/fggl/debug/logging.hpp | 22 ++++++--------- include/fggl/ecs/component.hpp | 18 ++++++++++-- include/fggl/ecs/ecs.hpp | 18 ++++++++++-- include/fggl/ecs/utility.hpp | 18 ++++++++++-- include/fggl/ecs3/ecs.hpp | 18 ++++++++++-- include/fggl/ecs3/fast/Container.hpp | 20 ++++++++++++-- include/fggl/ecs3/fast/ecs.hpp | 18 ++++++++++-- include/fggl/ecs3/module/module.hpp | 20 ++++++++++++-- include/fggl/ecs3/prototype/loader.hpp | 22 ++++++--------- include/fggl/ecs3/prototype/world.hpp | 14 ++++++++++ include/fggl/ecs3/types.hpp | 18 ++++++++++-- include/fggl/ecs3/utils.hpp | 18 ++++++++++-- include/fggl/fggl.hpp | 32 +++++++++------------- include/fggl/gfx/atlas.hpp | 18 ++++++++++-- include/fggl/gfx/camera.hpp | 18 ++++++++++-- include/fggl/gfx/common.hpp | 18 ++++++++++-- include/fggl/gfx/compat.hpp | 14 ++++++++++ include/fggl/gfx/input.hpp | 18 ++++++++++-- include/fggl/gfx/ogl/backend.hpp | 14 ++++++++++ include/fggl/gfx/ogl/common.hpp | 14 ++++++++++ include/fggl/gfx/ogl/compat.hpp | 14 ++++++++++ include/fggl/gfx/ogl/renderer.hpp | 18 ++++++++++-- include/fggl/gfx/ogl/shader.hpp | 18 ++++++++++-- include/fggl/gfx/ogl/types.hpp | 22 ++++++--------- include/fggl/gfx/ogl4/canvas.hpp | 14 ++++++++++ include/fggl/gfx/ogl4/debug.hpp | 22 ++++++--------- include/fggl/gfx/ogl4/models.hpp | 14 ++++++++++ include/fggl/gfx/paint.hpp | 18 ++++++++++-- include/fggl/gfx/phong.hpp | 22 ++++++--------- include/fggl/gfx/vulkan/common.hpp | 18 ++++++++++-- include/fggl/gfx/vulkan/vulkan.hpp | 18 ++++++++++-- include/fggl/gfx/window.hpp | 18 ++++++++++-- include/fggl/gfx/window_input.hpp | 18 ++++++++++-- include/fggl/gfx/windowing.hpp | 19 +++++++++++-- include/fggl/gui/containers.hpp | 18 ++++++++++-- include/fggl/gui/fonts.hpp | 22 ++++++--------- include/fggl/gui/gui.hpp | 18 ++++++++++-- include/fggl/gui/widget.hpp | 18 ++++++++++-- include/fggl/gui/widgets.hpp | 18 ++++++++++-- include/fggl/input/camera_input.hpp | 20 ++++++++++++-- include/fggl/input/gamepad.hpp | 18 ++++++++++-- include/fggl/input/input.hpp | 14 ++++++++++ include/fggl/input/keyboard.hpp | 18 ++++++++++-- include/fggl/input/mouse.hpp | 18 ++++++++++-- include/fggl/math/easing.hpp | 18 ++++++++++-- include/fggl/math/fmath.hpp | 28 ++++++++----------- include/fggl/math/imath.hpp | 22 ++++++--------- include/fggl/math/shapes.hpp | 28 ++++++++----------- include/fggl/math/triangulation.hpp | 14 ++++++++++ include/fggl/math/types.hpp | 18 ++++++++++-- include/fggl/phys/bullet/bullet.hpp | 22 ++++++--------- include/fggl/phys/bullet/motion.hpp | 22 ++++++--------- include/fggl/phys/bullet/phys_draw.hpp | 28 ++++++++----------- include/fggl/phys/bullet/types.hpp | 22 ++++++--------- include/fggl/phys/callbacks.hpp | 22 ++++++--------- include/fggl/phys/types.hpp | 22 ++++++--------- include/fggl/scenes/Scene.hpp | 20 ++++++++++++-- include/fggl/scenes/game.hpp | 22 ++++++--------- include/fggl/scenes/menu.hpp | 18 ++++++++++-- include/fggl/util/chrono.hpp | 18 ++++++++++-- include/fggl/util/ownership.hpp | 14 ++++++++++ include/fggl/util/service.hpp | 20 ++++++++++++-- include/fggl/util/states.hpp | 32 +++++++++------------- 76 files changed, 1029 insertions(+), 447 deletions(-) diff --git a/include/fggl/app.hpp b/include/fggl/app.hpp index a807ede..cca6961 100644 --- a/include/fggl/app.hpp +++ b/include/fggl/app.hpp @@ -1,25 +1,19 @@ -/** - * FOSS Galaxy Game Library - * Copyright (c) 2022 Joseph Walton-Rivers - * webpigeon@fossgalaxy.com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. +/* + * This file is part of FGGL. * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser 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. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ -#ifndef FGGL_APP_H -#define FGGL_APP_H +#ifndef FGGL_INCLUDE_FGGL_APP_HPP +#define FGGL_INCLUDE_FGGL_APP_HPP #define assertm(exp, msg) assert(((void)msg, exp)) diff --git a/include/fggl/audio/audio.hpp b/include/fggl/audio/audio.hpp index 0b2eee0..3e91b65 100644 --- a/include/fggl/audio/audio.hpp +++ b/include/fggl/audio/audio.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ #ifndef FGGL_AUDIO_AUDIO_HPP diff --git a/include/fggl/audio/openal/audio.hpp b/include/fggl/audio/openal/audio.hpp index b9de3ee..ec17ab1 100644 --- a/include/fggl/audio/openal/audio.hpp +++ b/include/fggl/audio/openal/audio.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/data/geom.hpp b/include/fggl/data/geom.hpp index 29434a1..3bef047 100644 --- a/include/fggl/data/geom.hpp +++ b/include/fggl/data/geom.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/data/heightmap.hpp b/include/fggl/data/heightmap.hpp index 1cc2e1a..312659e 100644 --- a/include/fggl/data/heightmap.hpp +++ b/include/fggl/data/heightmap.hpp @@ -1,9 +1,23 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 20/11/2021. // -#ifndef FGGL_HEIGHTMAP_H -#define FGGL_HEIGHTMAP_H +#ifndef FGGL_DATA_HEIGHTMAP_HPP +#define FGGL_DATA_HEIGHTMAP_HPP #include <cstdint> #include <array> @@ -43,4 +57,4 @@ namespace fggl::data { void generateHeightMesh(const data::HeightMap *heights, data::Mesh &mesh); } -#endif //FGGL_HEIGHTMAP_H +#endif //FGGL_DATA_HEIGHTMAP_HPP diff --git a/include/fggl/data/model.hpp b/include/fggl/data/model.hpp index 5450678..3944a8a 100644 --- a/include/fggl/data/model.hpp +++ b/include/fggl/data/model.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_DATA_MODEL_H -#define FGGL_DATA_MODEL_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_DATA_MODEL_HPP +#define FGGL_DATA_MODEL_HPP #include <tuple> #include <vector> diff --git a/include/fggl/data/procedural.hpp b/include/fggl/data/procedural.hpp index ca17117..a33c72e 100644 --- a/include/fggl/data/procedural.hpp +++ b/include/fggl/data/procedural.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef FGGL_DATA_PROCEDURAL_HPP #define FGGL_DATA_PROCEDURAL_HPP diff --git a/include/fggl/data/procedure.hpp b/include/fggl/data/procedure.hpp index 41843a1..a0bc279 100644 --- a/include/fggl/data/procedure.hpp +++ b/include/fggl/data/procedure.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_DATA_FS_H -#define FGGL_DATA_FS_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_DATA_PROCEDURE_HPP +#define FGGL_DATA_PROCEDURE_HPP namespace fggl::data { diff --git a/include/fggl/data/storage.hpp b/include/fggl/data/storage.hpp index c041504..51b5b93 100644 --- a/include/fggl/data/storage.hpp +++ b/include/fggl/data/storage.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_DATA_STORAGE_H -#define FGGL_DATA_STORAGE_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_DATA_STORAGE_HPP +#define FGGL_DATA_STORAGE_HPP #include <iostream> #include <string> diff --git a/include/fggl/debug/debug.h b/include/fggl/debug/debug.h index 0986161..a2ff447 100644 --- a/include/fggl/debug/debug.h +++ b/include/fggl/debug/debug.h @@ -1,5 +1,19 @@ -#ifndef FGGL_DEBUG_H -#define FGGL_DEBUG_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_DEBUG_DEBUG_H +#define FGGL_DEBUG_DEBUG_H #include <string> #include <memory> diff --git a/include/fggl/debug/draw.hpp b/include/fggl/debug/draw.hpp index 66c56ae..4ddfa7f 100644 --- a/include/fggl/debug/draw.hpp +++ b/include/fggl/debug/draw.hpp @@ -1,3 +1,16 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ // ================================================================================================ // -*- C++ -*- diff --git a/include/fggl/debug/impl/logging_spdlog.hpp b/include/fggl/debug/impl/logging_spdlog.hpp index f641238..a108b8e 100644 --- a/include/fggl/debug/impl/logging_spdlog.hpp +++ b/include/fggl/debug/impl/logging_spdlog.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/debug/impl/logging_std20.hpp b/include/fggl/debug/impl/logging_std20.hpp index 14a75ad..81e55bd 100644 --- a/include/fggl/debug/impl/logging_std20.hpp +++ b/include/fggl/debug/impl/logging_std20.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/debug/logging.hpp b/include/fggl/debug/logging.hpp index e920fa7..adb0175 100644 --- a/include/fggl/debug/logging.hpp +++ b/include/fggl/debug/logging.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/ecs/component.hpp b/include/fggl/ecs/component.hpp index ddf12c7..5ae0dfd 100644 --- a/include/fggl/ecs/component.hpp +++ b/include/fggl/ecs/component.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_ECS_COMPONENT_H -#define FGGL_ECS_COMPONENT_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_ECS_COMPONENT_HPP +#define FGGL_ECS_COMPONENT_HPP #include "utility.hpp" #include "fggl/debug/logging.hpp" diff --git a/include/fggl/ecs/ecs.hpp b/include/fggl/ecs/ecs.hpp index b467357..d7fce80 100644 --- a/include/fggl/ecs/ecs.hpp +++ b/include/fggl/ecs/ecs.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_ECS_H -#define FGGL_ECS_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_ECS_ECS_HPP +#define FGGL_ECS_ECS_HPP #include "utility.hpp" #include "component.hpp" diff --git a/include/fggl/ecs/utility.hpp b/include/fggl/ecs/utility.hpp index 7906e4f..8900801 100644 --- a/include/fggl/ecs/utility.hpp +++ b/include/fggl/ecs/utility.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_ECS_UTILITY_H -#define FGGL_ECS_UTILITY_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_ECS_UTILITY_HPP +#define FGGL_ECS_UTILITY_HPP #include <cstdint> diff --git a/include/fggl/ecs3/ecs.hpp b/include/fggl/ecs3/ecs.hpp index 25c64af..5f68151 100644 --- a/include/fggl/ecs3/ecs.hpp +++ b/include/fggl/ecs3/ecs.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_ECS3_ECS_H -#define FGGL_ECS3_ECS_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_ECS3_ECS_HPP +#define FGGL_ECS3_ECS_HPP #include "fggl/ecs3/module/module.hpp" #include <fggl/ecs3/prototype/world.hpp> diff --git a/include/fggl/ecs3/fast/Container.hpp b/include/fggl/ecs3/fast/Container.hpp index 18b1fa1..3516ab3 100644 --- a/include/fggl/ecs3/fast/Container.hpp +++ b/include/fggl/ecs3/fast/Container.hpp @@ -1,9 +1,23 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 23/10/2021. // -#ifndef FGGL_ECS3_CONTAINER_H -#define FGGL_ECS3_CONTAINER_H +#ifndef FGGL_ECS3_FAST_CONTAINER_HPP +#define FGGL_ECS3_FAST_CONTAINER_HPP #include <cstdint> #include <cstdarg> @@ -100,4 +114,4 @@ namespace fggl::ecs3 { } -#endif //FGGL_ECS3_CONTAINER_H +#endif //FGGL_ECS3_FAST_CONTAINER_HPP diff --git a/include/fggl/ecs3/fast/ecs.hpp b/include/fggl/ecs3/fast/ecs.hpp index 425f7d9..6161b6b 100644 --- a/include/fggl/ecs3/fast/ecs.hpp +++ b/include/fggl/ecs3/fast/ecs.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_ECS_ECS3_H -#define FGGL_ECS_ECS3_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_ECS3_FAST_ECS_HPP +#define FGGL_ECS3_FAST_ECS_HPP #include <cstddef> #include <cstdarg> diff --git a/include/fggl/ecs3/module/module.hpp b/include/fggl/ecs3/module/module.hpp index c65ea22..13300b7 100644 --- a/include/fggl/ecs3/module/module.hpp +++ b/include/fggl/ecs3/module/module.hpp @@ -1,9 +1,23 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 23/10/2021. // -#ifndef FGGL_ECS3_MODULE_H -#define FGGL_ECS3_MODULE_H +#ifndef FGGL_ECS3_MODULE_MODULE_HPP +#define FGGL_ECS3_MODULE_MODULE_HPP #include <string> #include <map> @@ -72,4 +86,4 @@ namespace fggl::ecs3 { } -#endif //FGGL_ECS3_MODULE_H +#endif //FGGL_ECS3_MODULE_MODULE_HPP diff --git a/include/fggl/ecs3/prototype/loader.hpp b/include/fggl/ecs3/prototype/loader.hpp index 56d50a6..c9e1040 100644 --- a/include/fggl/ecs3/prototype/loader.hpp +++ b/include/fggl/ecs3/prototype/loader.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/ecs3/prototype/world.hpp b/include/fggl/ecs3/prototype/world.hpp index 88e7814..db733e0 100644 --- a/include/fggl/ecs3/prototype/world.hpp +++ b/include/fggl/ecs3/prototype/world.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 23/10/2021. // diff --git a/include/fggl/ecs3/types.hpp b/include/fggl/ecs3/types.hpp index 61096de..5947f59 100644 --- a/include/fggl/ecs3/types.hpp +++ b/include/fggl/ecs3/types.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_ECS3_TYPES_H -#define FGGL_ECS3_TYPES_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_ECS3_TYPES_HPP +#define FGGL_ECS3_TYPES_HPP #include <cstdarg> #include <utility> diff --git a/include/fggl/ecs3/utils.hpp b/include/fggl/ecs3/utils.hpp index 3ebf17f..fef865b 100644 --- a/include/fggl/ecs3/utils.hpp +++ b/include/fggl/ecs3/utils.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_UTILS_H -#define FGGL_UTILS_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_ECS3_UTILS_HPP +#define FGGL_ECS3_UTILS_HPP #include <cstddef> diff --git a/include/fggl/fggl.hpp b/include/fggl/fggl.hpp index 2363995..08b0961 100644 --- a/include/fggl/fggl.hpp +++ b/include/fggl/fggl.hpp @@ -1,25 +1,19 @@ -/** - * FOSS Galaxy Game Library - * Copyright (c) 2022 Joseph Walton-Rivers - * webpigeon@fossgalaxy.com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. +/* + * This file is part of FGGL. * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser 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. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ -#ifndef FGGL_H -#define FGGL_H +#ifndef FGGL_INCLUDE_FGGL_FGGL_HPP +#define FGGL_INCLUDE_FGGL_FGGL_HPP #include <fggl/app.hpp> diff --git a/include/fggl/gfx/atlas.hpp b/include/fggl/gfx/atlas.hpp index 50362ae..81d41ec 100644 --- a/include/fggl/gfx/atlas.hpp +++ b/include/fggl/gfx/atlas.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_ATLAS_H -#define FGGL_GFX_ATLAS_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_ATLAS_HPP +#define FGGL_GFX_ATLAS_HPP #include <fggl/math/types.hpp> #include <vector> diff --git a/include/fggl/gfx/camera.hpp b/include/fggl/gfx/camera.hpp index 3895e9e..a03d430 100644 --- a/include/fggl/gfx/camera.hpp +++ b/include/fggl/gfx/camera.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_CAMERA_H -#define FGGL_GFX_CAMERA_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_CAMERA_HPP +#define FGGL_GFX_CAMERA_HPP #include <fggl/math/types.hpp> diff --git a/include/fggl/gfx/common.hpp b/include/fggl/gfx/common.hpp index 02b8c0e..dc8403c 100644 --- a/include/fggl/gfx/common.hpp +++ b/include/fggl/gfx/common.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_COMMON_H -#define FGGL_GFX_COMMON_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_COMMON_HPP +#define FGGL_GFX_COMMON_HPP // // This file exists to ensure that dependencies are loaded in the correct order. diff --git a/include/fggl/gfx/compat.hpp b/include/fggl/gfx/compat.hpp index 6d5f2e6..dc5e183 100644 --- a/include/fggl/gfx/compat.hpp +++ b/include/fggl/gfx/compat.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef FGGL_GFX_COMPAT_HPP #define FGGL_GFX_COMPAT_HPP /** diff --git a/include/fggl/gfx/input.hpp b/include/fggl/gfx/input.hpp index 74d15b8..0075ae2 100644 --- a/include/fggl/gfx/input.hpp +++ b/include/fggl/gfx/input.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_INPUT_H -#define FGGL_GFX_INPUT_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_INPUT_HPP +#define FGGL_GFX_INPUT_HPP #include <array> #include <bitset> diff --git a/include/fggl/gfx/ogl/backend.hpp b/include/fggl/gfx/ogl/backend.hpp index 570159f..a022404 100644 --- a/include/fggl/gfx/ogl/backend.hpp +++ b/include/fggl/gfx/ogl/backend.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef FGGL_GFX_OGL_BACKEND_HPP #define FGGL_GFX_OGL_BACKEND_HPP diff --git a/include/fggl/gfx/ogl/common.hpp b/include/fggl/gfx/ogl/common.hpp index aa98486..b58e8a1 100644 --- a/include/fggl/gfx/ogl/common.hpp +++ b/include/fggl/gfx/ogl/common.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef FGGL_GFX_OGL_COMMON_HPP #define FGGL_GFX_OGL_COMMON_HPP diff --git a/include/fggl/gfx/ogl/compat.hpp b/include/fggl/gfx/ogl/compat.hpp index 7542616..3b9e3a2 100644 --- a/include/fggl/gfx/ogl/compat.hpp +++ b/include/fggl/gfx/ogl/compat.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef FGGL_GFX_OGL_COMPAT_HPP #define FGGL_GFX_OGL_COMPAT_HPP /** diff --git a/include/fggl/gfx/ogl/renderer.hpp b/include/fggl/gfx/ogl/renderer.hpp index 72afaa7..fd9c8eb 100644 --- a/include/fggl/gfx/ogl/renderer.hpp +++ b/include/fggl/gfx/ogl/renderer.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_RENDERER_H -#define FGGL_GFX_RENDERER_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_OGL_RENDERER_HPP +#define FGGL_GFX_OGL_RENDERER_HPP #include <fggl/data/model.hpp> #include <fggl/ecs3/ecs.hpp> diff --git a/include/fggl/gfx/ogl/shader.hpp b/include/fggl/gfx/ogl/shader.hpp index 582112a..3c04b27 100644 --- a/include/fggl/gfx/ogl/shader.hpp +++ b/include/fggl/gfx/ogl/shader.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_SHADER_H -#define FGGL_GFX_SHADER_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_OGL_SHADER_HPP +#define FGGL_GFX_OGL_SHADER_HPP #include <cstdio> #include <fggl/gfx/ogl/backend.hpp> diff --git a/include/fggl/gfx/ogl/types.hpp b/include/fggl/gfx/ogl/types.hpp index 9fec627..25ae694 100644 --- a/include/fggl/gfx/ogl/types.hpp +++ b/include/fggl/gfx/ogl/types.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/gfx/ogl4/canvas.hpp b/include/fggl/gfx/ogl4/canvas.hpp index 849d1af..3e9de49 100644 --- a/include/fggl/gfx/ogl4/canvas.hpp +++ b/include/fggl/gfx/ogl4/canvas.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 17/04/22. // diff --git a/include/fggl/gfx/ogl4/debug.hpp b/include/fggl/gfx/ogl4/debug.hpp index f3128f4..36647e4 100644 --- a/include/fggl/gfx/ogl4/debug.hpp +++ b/include/fggl/gfx/ogl4/debug.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/gfx/ogl4/models.hpp b/include/fggl/gfx/ogl4/models.hpp index 1f5a9c0..fab456e 100644 --- a/include/fggl/gfx/ogl4/models.hpp +++ b/include/fggl/gfx/ogl4/models.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 17/04/22. // diff --git a/include/fggl/gfx/paint.hpp b/include/fggl/gfx/paint.hpp index 5afd9ec..fe8dbfe 100644 --- a/include/fggl/gfx/paint.hpp +++ b/include/fggl/gfx/paint.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_PAINT_H -#define FGGL_GFX_PAINT_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_PAINT_HPP +#define FGGL_GFX_PAINT_HPP #include <string> #include <vector> diff --git a/include/fggl/gfx/phong.hpp b/include/fggl/gfx/phong.hpp index ca1d09e..5c10908 100644 --- a/include/fggl/gfx/phong.hpp +++ b/include/fggl/gfx/phong.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/gfx/vulkan/common.hpp b/include/fggl/gfx/vulkan/common.hpp index 8e22017..e8b5f08 100644 --- a/include/fggl/gfx/vulkan/common.hpp +++ b/include/fggl/gfx/vulkan/common.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_VK_COMMON_H -#define FGGL_GFX_VK_COMMON_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_VULKAN_COMMON_HPP +#define FGGL_GFX_VULKAN_COMMON_HPP #include <vulkan/vulkan.hpp> diff --git a/include/fggl/gfx/vulkan/vulkan.hpp b/include/fggl/gfx/vulkan/vulkan.hpp index 39d8428..245a0b2 100644 --- a/include/fggl/gfx/vulkan/vulkan.hpp +++ b/include/fggl/gfx/vulkan/vulkan.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_VK_CORE_H -#define FGGL_GFX_VK_CORE_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_VULKAN_VULKAN_HPP +#define FGGL_GFX_VULKAN_VULKAN_HPP #include <memory> diff --git a/include/fggl/gfx/window.hpp b/include/fggl/gfx/window.hpp index b3d5046..262ee1c 100644 --- a/include/fggl/gfx/window.hpp +++ b/include/fggl/gfx/window.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_H -#define FGGL_GFX_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_WINDOW_HPP +#define FGGL_GFX_WINDOW_HPP #include <cassert> #include <string> diff --git a/include/fggl/gfx/window_input.hpp b/include/fggl/gfx/window_input.hpp index 1aff51f..31edd34 100644 --- a/include/fggl/gfx/window_input.hpp +++ b/include/fggl/gfx/window_input.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GFX_GLFW_INPUT_H -#define FGGL_GFX_GLFW_INPUT_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_WINDOW_INPUT_HPP +#define FGGL_GFX_WINDOW_INPUT_HPP #include <memory> #include <string> diff --git a/include/fggl/gfx/windowing.hpp b/include/fggl/gfx/windowing.hpp index 4a22fb5..5e8fbf5 100644 --- a/include/fggl/gfx/windowing.hpp +++ b/include/fggl/gfx/windowing.hpp @@ -1,6 +1,19 @@ - -#ifndef FGGL_GFX_WINDOWING_H -#define FGGL_GFX_WINDOWING_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GFX_WINDOWING_HPP +#define FGGL_GFX_WINDOWING_HPP #include <memory> #include <fggl/gfx/paint.hpp> diff --git a/include/fggl/gui/containers.hpp b/include/fggl/gui/containers.hpp index 676a60b..fdc5795 100644 --- a/include/fggl/gui/containers.hpp +++ b/include/fggl/gui/containers.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GUI_CONTAINERS_H -#define FGGL_GUI_CONTAINERS_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GUI_CONTAINERS_HPP +#define FGGL_GUI_CONTAINERS_HPP #include <fggl/gui/widget.hpp> diff --git a/include/fggl/gui/fonts.hpp b/include/fggl/gui/fonts.hpp index 0b1f615..51d6018 100644 --- a/include/fggl/gui/fonts.hpp +++ b/include/fggl/gui/fonts.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/gui/gui.hpp b/include/fggl/gui/gui.hpp index a792552..48948ed 100644 --- a/include/fggl/gui/gui.hpp +++ b/include/fggl/gui/gui.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GUI_H -#define FGGL_GUI_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GUI_GUI_HPP +#define FGGL_GUI_GUI_HPP namespace fggl::gui { }; //namespace fggl::gui diff --git a/include/fggl/gui/widget.hpp b/include/fggl/gui/widget.hpp index 813cf39..2133a84 100644 --- a/include/fggl/gui/widget.hpp +++ b/include/fggl/gui/widget.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GUI_WIDGET_H -#define FGGL_GUI_WIDGET_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GUI_WIDGET_HPP +#define FGGL_GUI_WIDGET_HPP #include <fggl/math/types.hpp> #include <fggl/gfx/paint.hpp> diff --git a/include/fggl/gui/widgets.hpp b/include/fggl/gui/widgets.hpp index 4749b20..783b60e 100644 --- a/include/fggl/gui/widgets.hpp +++ b/include/fggl/gui/widgets.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_GUI_WIDGETS_H -#define FGGL_GUI_WIDGETS_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_GUI_WIDGETS_HPP +#define FGGL_GUI_WIDGETS_HPP #include <functional> #include <utility> diff --git a/include/fggl/input/camera_input.hpp b/include/fggl/input/camera_input.hpp index 4e796b1..1550a65 100644 --- a/include/fggl/input/camera_input.hpp +++ b/include/fggl/input/camera_input.hpp @@ -1,9 +1,23 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 20/11/2021. // -#ifndef FGGL_CAMERA_INPUT_H -#define FGGL_CAMERA_INPUT_H +#ifndef FGGL_INPUT_CAMERA_INPUT_HPP +#define FGGL_INPUT_CAMERA_INPUT_HPP #include <fggl/ecs3/ecs.hpp> #include <fggl/math/types.hpp> @@ -57,4 +71,4 @@ namespace fggl::input { } -#endif //FGGL_CAMERA_INPUT_H +#endif //FGGL_INPUT_CAMERA_INPUT_HPP diff --git a/include/fggl/input/gamepad.hpp b/include/fggl/input/gamepad.hpp index 3b92dd3..0242d7f 100644 --- a/include/fggl/input/gamepad.hpp +++ b/include/fggl/input/gamepad.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_INPUT_GAMEPAD_H -#define FGGL_INPUT_GAMEPAD_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_INPUT_GAMEPAD_HPP +#define FGGL_INPUT_GAMEPAD_HPP #include <string> #include <array> diff --git a/include/fggl/input/input.hpp b/include/fggl/input/input.hpp index 9352945..f73a0dc 100644 --- a/include/fggl/input/input.hpp +++ b/include/fggl/input/input.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef FGGL_INPUT_H #define FGGL_INPUT_H diff --git a/include/fggl/input/keyboard.hpp b/include/fggl/input/keyboard.hpp index 44e0b68..735cf66 100644 --- a/include/fggl/input/keyboard.hpp +++ b/include/fggl/input/keyboard.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_INPUT_KEYBOARD_H -#define FGGL_INPUT_KEYBOARD_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_INPUT_KEYBOARD_HPP +#define FGGL_INPUT_KEYBOARD_HPP #include <array> #include <vector> diff --git a/include/fggl/input/mouse.hpp b/include/fggl/input/mouse.hpp index 5c7e6e8..327d95c 100644 --- a/include/fggl/input/mouse.hpp +++ b/include/fggl/input/mouse.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_INPUT_MOUSE_H -#define FGGL_INPUT_MOUSE_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_INPUT_MOUSE_HPP +#define FGGL_INPUT_MOUSE_HPP #include <string> #include <array> diff --git a/include/fggl/math/easing.hpp b/include/fggl/math/easing.hpp index ed9c156..5ee64ca 100644 --- a/include/fggl/math/easing.hpp +++ b/include/fggl/math/easing.hpp @@ -1,9 +1,23 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 12/12/2021. // -#ifndef FGGL_MATH_EASING_H -#define FGGL_MATH_EASING_H +#ifndef FGGL_MATH_EASING_HPP +#define FGGL_MATH_EASING_HPP #include <fggl/math/types.hpp> #include <functional> diff --git a/include/fggl/math/fmath.hpp b/include/fggl/math/fmath.hpp index 265e58b..35cfe88 100644 --- a/include/fggl/math/fmath.hpp +++ b/include/fggl/math/fmath.hpp @@ -1,25 +1,19 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ -#ifndef FGGL_MATH_FMATH_H -#define FGGL_MATH_FMATH_H +#ifndef FGGL_MATH_FMATH_HPP +#define FGGL_MATH_FMATH_HPP #include <cmath> @@ -46,4 +40,4 @@ namespace fggl::math { } // namespace fggl::math -#endif //FGGL_MATH_FMATH_H +#endif //FGGL_MATH_FMATH_HPP diff --git a/include/fggl/math/imath.hpp b/include/fggl/math/imath.hpp index ae0fe4f..e426585 100644 --- a/include/fggl/math/imath.hpp +++ b/include/fggl/math/imath.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/math/shapes.hpp b/include/fggl/math/shapes.hpp index 0fab373..e30eae4 100644 --- a/include/fggl/math/shapes.hpp +++ b/include/fggl/math/shapes.hpp @@ -1,25 +1,19 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ -#ifndef FGGL_MATH_PHYS3D_SHAPES_HPP -#define FGGL_MATH_PHYS3D_SHAPES_HPP +#ifndef FGGL_MATH_SHAPES_HPP +#define FGGL_MATH_SHAPES_HPP #include "fggl/math/types.hpp" #include <vector> @@ -209,4 +203,4 @@ namespace fggl::math::phs3d { } // namespace fggl::math::phys3d -#endif //FGGL_MATH_PHYS3D_SHAPES_HPP +#endif //FGGL_MATH_SHAPES_HPP diff --git a/include/fggl/math/triangulation.hpp b/include/fggl/math/triangulation.hpp index 3b04935..e313649 100644 --- a/include/fggl/math/triangulation.hpp +++ b/include/fggl/math/triangulation.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + #ifndef FGGL_MATH_TRIANGULATION_HPP #define FGGL_MATH_TRIANGULATION_HPP diff --git a/include/fggl/math/types.hpp b/include/fggl/math/types.hpp index 7a7be06..936fd66 100644 --- a/include/fggl/math/types.hpp +++ b/include/fggl/math/types.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_MATH_TYPES_H -#define FGGL_MATH_TYPES_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_MATH_TYPES_HPP +#define FGGL_MATH_TYPES_HPP #include <tuple> #include <iostream> diff --git a/include/fggl/phys/bullet/bullet.hpp b/include/fggl/phys/bullet/bullet.hpp index df0c258..af04029 100644 --- a/include/fggl/phys/bullet/bullet.hpp +++ b/include/fggl/phys/bullet/bullet.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/phys/bullet/motion.hpp b/include/fggl/phys/bullet/motion.hpp index e38e6ec..0b21e8a 100644 --- a/include/fggl/phys/bullet/motion.hpp +++ b/include/fggl/phys/bullet/motion.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/phys/bullet/phys_draw.hpp b/include/fggl/phys/bullet/phys_draw.hpp index daf5160..5ddc0fb 100644 --- a/include/fggl/phys/bullet/phys_draw.hpp +++ b/include/fggl/phys/bullet/phys_draw.hpp @@ -1,29 +1,23 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // // Created by webpigeon on 30/05/22. // -#ifndef FGGL_PHYS_BULLET_DEBUG_DRAW_H -#define FGGL_PHYS_BULLET_DEBUG_DRAW_H +#ifndef FGGL_PHYS_BULLET_PHYS_DRAW_HPP +#define FGGL_PHYS_BULLET_PHYS_DRAW_HPP #include "LinearMath/btIDebugDraw.h" #include "fggl/gfx/ogl/types.hpp" @@ -63,4 +57,4 @@ namespace fggl::debug { }; } -#endif //FGGL_PHYS_BULLET_DEBUG_DRAW_H +#endif //FGGL_PHYS_BULLET_PHYS_DRAW_HPP diff --git a/include/fggl/phys/bullet/types.hpp b/include/fggl/phys/bullet/types.hpp index 90219c3..222d5e1 100644 --- a/include/fggl/phys/bullet/types.hpp +++ b/include/fggl/phys/bullet/types.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/phys/callbacks.hpp b/include/fggl/phys/callbacks.hpp index ac8a02b..7907e53 100644 --- a/include/fggl/phys/callbacks.hpp +++ b/include/fggl/phys/callbacks.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/phys/types.hpp b/include/fggl/phys/types.hpp index 6204d62..09d0307 100644 --- a/include/fggl/phys/types.hpp +++ b/include/fggl/phys/types.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/scenes/Scene.hpp b/include/fggl/scenes/Scene.hpp index 0ca9987..4af5d5e 100644 --- a/include/fggl/scenes/Scene.hpp +++ b/include/fggl/scenes/Scene.hpp @@ -1,9 +1,23 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 20/11/2021. // -#ifndef FGGL_SCENE_H -#define FGGL_SCENE_H +#ifndef FGGL_SCENES_SCENE_HPP +#define FGGL_SCENES_SCENE_HPP #include <memory> #include <string> @@ -50,4 +64,4 @@ namespace fggl::scenes { } -#endif //FGGL_SCENE_H +#endif //FGGL_SCENES_SCENE_HPP diff --git a/include/fggl/scenes/game.hpp b/include/fggl/scenes/game.hpp index 509388f..660589b 100644 --- a/include/fggl/scenes/game.hpp +++ b/include/fggl/scenes/game.hpp @@ -1,21 +1,15 @@ /* - * ${license.title} - * Copyright (C) 2022 ${license.owner} - * ${license.mailto} + * This file is part of FGGL. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. * - * 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 - * Lesser General Public License for more details. + * FGGL 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 Lesser General Public License for more details. * - * You should have received a copy of the GNU Lesser 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. + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ // diff --git a/include/fggl/scenes/menu.hpp b/include/fggl/scenes/menu.hpp index 3e1b977..770d91b 100644 --- a/include/fggl/scenes/menu.hpp +++ b/include/fggl/scenes/menu.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_SCENES_MENU_H -#define FGGL_SCENES_MENU_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_SCENES_MENU_HPP +#define FGGL_SCENES_MENU_HPP #include <functional> #include <map> diff --git a/include/fggl/util/chrono.hpp b/include/fggl/util/chrono.hpp index bca8312..3334a15 100644 --- a/include/fggl/util/chrono.hpp +++ b/include/fggl/util/chrono.hpp @@ -1,5 +1,19 @@ -#ifndef FGGL_UTIL_CHRONO_H -#define FGGL_UTIL_CHRONO_H +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + +#ifndef FGGL_UTIL_CHRONO_HPP +#define FGGL_UTIL_CHRONO_HPP namespace fggl::util { diff --git a/include/fggl/util/ownership.hpp b/include/fggl/util/ownership.hpp index b11056d..23cf605 100644 --- a/include/fggl/util/ownership.hpp +++ b/include/fggl/util/ownership.hpp @@ -1,3 +1,17 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 17/04/22. // diff --git a/include/fggl/util/service.hpp b/include/fggl/util/service.hpp index 9bd9f59..bff74fc 100644 --- a/include/fggl/util/service.hpp +++ b/include/fggl/util/service.hpp @@ -1,9 +1,23 @@ +/* + * This file is part of FGGL. + * + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. + */ + // // Created by webpigeon on 20/11/2021. // -#ifndef FGGL_SERVICE_H -#define FGGL_SERVICE_H +#ifndef FGGL_UTIL_SERVICE_HPP +#define FGGL_UTIL_SERVICE_HPP #include <memory> #include <typeindex> @@ -57,4 +71,4 @@ namespace fggl::util { } -#endif //FGGL_SERVICE_H +#endif //FGGL_UTIL_SERVICE_HPP diff --git a/include/fggl/util/states.hpp b/include/fggl/util/states.hpp index cdb2a3d..6edee1f 100644 --- a/include/fggl/util/states.hpp +++ b/include/fggl/util/states.hpp @@ -1,25 +1,19 @@ -/** - * FOSS Galaxy Game Library - * Copyright (c) 2022 Joseph Walton-Rivers - * webpigeon@fossgalaxy.com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. +/* + * This file is part of FGGL. * - * 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser 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. + * FGGL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any + * later version. + * + * FGGL 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along with FGGL. + * If not, see <https://www.gnu.org/licenses/>. */ -#ifndef FGGL_UTIL_STATES_H -#define FGGL_UTIL_STATES_H +#ifndef FGGL_UTIL_STATES_HPP +#define FGGL_UTIL_STATES_HPP #include <cassert> #include <string> -- GitLab