diff --git a/include/fggl/app.hpp b/include/fggl/app.hpp index a807ede21a46fefe636d5c0072b8a1e5d9d729dc..cca6961536530ccb38f8d608f5711ca5e9fbd182 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 0b2eee08a7370689c20cb3da3736cf3c8ae1e211..3e91b653c245e2739bdd4702949e3abc47545276 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 b9de3eea7a940f9b2c4ea1f3099a71f8d6ea54e8..ec17ab140b6015bf5b3a52de196a9a326910bd66 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 29434a1d7e5e3d38990ae7f99ee94ed3a22f87a6..3bef04798a13dd184a28694d695ff3b503db8c5f 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 1cc2e1a82a0ceac95c71b763abe7ed800adb3571..312659ef6d7557e7db855df5006c6ea2200ac16b 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 5450678729915e57f715246ac68e3e7804c0817d..3944a8af3151a3cb6c3953c8622421de6c619b05 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 ca17117bea4e6c1870393a3e5aa5a21ad94396c8..a33c72ea5c6a37c63fe837f6a18fc3d39608d5b9 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 41843a18e0ab3788e0959043e94741799d92b3dc..a0bc279440849d402d929926eee6e3659e6d4f9b 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 c041504175837132aab38874b3609e927ec105c6..51b5b9367e21e04791a2d0de3f5d6804b34441ae 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 098616186f17f827bb68867d0942ced8ed31a264..a2ff4471f7acecacaed246cbe32a5cb9e43baa27 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 66c56aecb65773bfc2b4d53f00782257e97a9695..4ddfa7f8e7bf58ecda610982f5ef81e08f0306b9 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 f641238e2dd6ad71cdc853c2a98c4794dccc3f92..a108b8e133f7844bd6a186ae75c1a31746fd6903 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 14a75adfe8c5aeae82a3860b86e3f0aca2d38d4d..81e55bd816c93b717b93d035de59e35c8b4eecce 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 e920fa7f57c61b76552d38e1199c64de9b7c7538..adb017542a781ce70e8ee567815728780e042386 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 ddf12c7a29f31a5c56a266a1bbeecebcb679ed56..5ae0dfd9097a72eacd74fac90e8b8a0a18e6ae74 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 b467357310dd57832df9f7f58738a3bad8d57933..d7fce80f0a8dc94b930c03f767a3f2dd0fdb18c1 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 7906e4fa4cdd4991025f74a9e0028d0986d523c3..89008013226a1dead381830e698bd2f0602965a0 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 25c64afbe864bba393fa7beaaa9b799532871c90..5f681515d635740dc44e37e53ed4cac315ff3066 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 18b1fa158192ecc9517dcba059cb24a2aef73c82..3516ab30637f1f22d6c2a7cafb1b0bc369bb1de5 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 425f7d90c1314f28df77dd323b01b97cea4887ea..6161b6b26737a7ffdc1198bdad6f25241ee60b2e 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 c65ea2287edd7e6498287b7c293503fe4b115f59..13300b7b27351623e4dcf1fad6c52c12210ddcda 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 56d50a6bf5758ad7b8101918429f20d924697904..c9e10404e3e8f5760cb8745fc7b390b1f8149864 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 88e78140099ea2d5591e3eadf21fd5c8f0e63239..db733e07337995f06b4a679564852218f0599c9a 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 61096defecfa1732e919588d8ac60e485a900bf0..5947f599fb3bfbcad0409e00b43e08c86658ab7a 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 3ebf17f3d16248858a3b555270bbf2fde21db3e4..fef865b8ead302de8cb456bfa455719018038dd2 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 23639959cd0641afa5dc5ce704bca5f3df911461..08b096111b559f04edc7a131e30aec6955f49e9d 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 50362ae9beb2bdc2d609f6525f6683a0070ed747..81d41ec7fca6bc313d90818c31bc7219950de241 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 3895e9ec919c0155001806a58a73244558045aa5..a03d430b334a3435e8f70b99d69396b9f20aeecd 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 02b8c0ec4a0ab7a4980125ed0067667816d5191f..dc8403c619ac592dc7c3d563f01bff54fc96c85f 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 6d5f2e63918bd01829cfdb0711f4682e075d957a..dc5e18335596d7eea2106adcc1a3443d6c768854 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 74d15b80ec4cf524a83050eaf570fa19b863d832..0075ae2d2a36e84721adc31274f97893c9c2b274 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 570159fa7ac537acca4b4977c420215620efa9c6..a0224043baaf36197b8d191989dd499321b7ac32 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 aa98486dddbfdd4d6f45054a835ceb4687c9b8ee..b58e8a1180530af6a473dc1c1952d2c0d4ee9461 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 7542616f3ceff4336046b343493d505a9fa3823a..3b9e3a280eebdb45a336bae7440668aeceda299a 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 72afaa7bafc213be4000f02c2bc5d44fc99c82dd..fd9c8eb742484b3df377befce449ee8010b72557 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 582112a813af674ce8cd207a8ff38b5129ca3635..3c04b27efdcaff8e24fc94e1e16ba88f6c7788b5 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 9fec627d3fae55c9d39332a6a61281a19c4900fa..25ae6941a801d5b02933056e96eb3c122d4cc813 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 849d1af7e3fb9fab772bdbc7e7eac6edc850d1cd..3e9de4947cd9a19d1ae29b470261a34da0368fa1 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 f3128f42c36b61582c6d75603cd0220ce10be9c7..36647e4ddf4088a708c350ece40dec670da5882c 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 1f5a9c0160f46212445f8a5c489f60e028320c5e..fab456ebf757e291bec8ab9154cd708b7a54c353 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 5afd9ec02970532333adb42bf6e77c4f1d43fac9..fe8dbfe8ae8aad49e3adb9af63311dbd64b686bb 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 ca1d09e2a24c185d7f8f3a8f437522251b7b996d..5c10908bd50317cee6818a1f1d175e2c16707923 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 8e22017609247c6e748444bdff8849c0e1dfe6cf..e8b5f082005669566df3df8c8a9c6f4d4f277fcf 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 39d84288ba42a595cccf7a7b23b1277e8cfeff9d..245a0b2f3bfb2fd6fa8320a487b4917d2dae108d 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 b3d50467f951460d735aa0dccf71d38969602e8d..262ee1c8e0e57b859a32373c2e56526e363f49c4 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 1aff51f9adebfa7b54b536216a1c6ff55d7f00fe..31edd34a36c3d64ed3deabaf96de7861687d2f39 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 4a22fb5362d77469addd2929c23f6414718ac311..5e8fbf59f8627d30907b70694076e11f5b39631d 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 676a60b20467deb3a021cc980f01edc318a71adc..fdc5795f0592897a50c26270939073c20702d2a6 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 0b1f6156ab63e454fb6dd98effefe903b99e33b5..51d60180c34c0321c84f5f8e3ed1ab0b55e7a08f 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 a79255258231f042dd6a035815546e429eda0511..48948eda173c3e328f3197866f5e3f6c4bb2abb1 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 813cf3953ea3cc7835636024a1f8a302ed6c6ebc..2133a845a55ea97b26c48c18045fff34b8eaaede 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 4749b2023c23a6198f60d3b40947b408e905a499..783b60edda86222837d37eb3e3607c385f2967f0 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 4e796b133966cdd6d235b705fdaa39384cbcf43b..1550a65a149187162f7d82b3a7817d1ba4732de3 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 3b92dd35e8644535c0d9c56514f7b1b6bf2fa63e..0242d7f77512aea486346b6e0f8e6b2b2e48f1aa 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 93529459e5d4b3e562c8ffffc7a0cdb587c0e542..f73a0dc67aaf84290ea1b3d2110ad28488abbc70 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 44e0b687edb6fba035c150607a643c258fdf7595..735cf66626f684f85bd4851199657a1ad9b1fcd7 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 5c7e6e88fb47b822a2f717c713b52d50238fdfad..327d95c7b7111b6f858c8e2a41c765379a191713 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 ed9c156b2fba48b8c035e8895aea6ef103dfa377..5ee64ca1cb35fd9f13aa4562e02044a1ebca5a00 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 265e58b17b4dee8444345e054333def41f434113..35cfe88d259d7ddae3bb654a0c356b82f7ec9202 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 ae0fe4f5be1ab5bf89dd3d3b51bc958ce0e7ef46..e42658571f7b7e2e130d12f5f01e6b98f63acc68 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 0fab373d6ca03897a3fa489d18f41569abff414a..e30eae42f9feb246fbefd596a5d6e2f86bce6c59 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 3b04935717a8b21ee5a6f233702e098dec8d550b..e3136492d20921ffbb1980fcd1cb7a760b7897c6 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 7a7be0630e51e8548e78b0c4ec1de54562f13a9f..936fd66d324df81e826ee3208fbdefe09df02617 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 df0c2586c0e9c51862cebe9e9174fb6a1948ed64..af04029c13dcd034edc43fca45bd4b49fd25ae60 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 e38e6ec60d35e4bfdee4199586d0188e985aa55f..0b21e8a75bd9183314bf8ad4426a1e8f73a681a4 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 daf5160ef1d2fe5fa66a7b91160133afff0b69c7..5ddc0fb722595fd9df4b9cf2bf3bf638f2eef2bb 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 90219c3596c0a7fa803868b3f478a87e7df4b253..222d5e1f844d4ebbe1c1d091fe34b433f6fb0c3a 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 ac8a02b062cfcf65a97969cfe44b47d2094840a3..7907e5382ec91399e05833dbbdd6e154ae7a4d01 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 6204d62742f45655865016874c7ceef57d5eda08..09d0307f04e095d3c685343a709ec176a20be077 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 0ca9987ba74d34452a2ac485b1738e3efd84b801..4af5d5ef519d115b26ca18bd6b8f515f652b6b1d 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 509388f6fa88aae0d4914e7d256aa565789986fd..660589b95fe95b3852390f3245490a086abe7b57 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 3e1b977b4ef8cf542c3e8fa2d8c25b75811af42d..770d91be127e83c1fc873362c7532c90dc061e96 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 bca83124e2027e9938533f50147eefaff9a277d3..3334a155b3cf695e191cfd4d5a4c0c278ff5cf2e 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 b11056da0df293e9cdb490c167cabe0f4d0dd890..23cf605c26dcbc72d27f823a8e8940874a410cfd 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 9bd9f59dc324892dcb8a47e055833f5e50e92f05..bff74fcfa45af62f20f09326bafa149563d77414 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 cdb2a3d47c94180a5a139d3663541d92df5d5c15..6edee1ffe56374f3ecf17206c9ec998ff4e55db3 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>