Skip to content

Commit

Permalink
Add license notice to source files
Browse files Browse the repository at this point in the history
  • Loading branch information
Angel Ruiz Fernandez committed Dec 27, 2022
1 parent 90afc3b commit 35c829f
Show file tree
Hide file tree
Showing 5 changed files with 100 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/game.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
ww1game: Generic WW1 game (?)
game.cpp: Game mechanics and logic
Copyright (C) 2022 Ángel Ruiz Fernandez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "main.hpp"

#include <random>
Expand Down
20 changes: 20 additions & 0 deletions src/loader.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
ww1game: Generic WW1 game (?)
loader.cpp: Asset loading
Copyright (C) 2022 Ángel Ruiz Fernandez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "main.hpp"

#include <vector>
Expand Down
20 changes: 20 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
ww1game: Generic WW1 game (?)
main.cpp: Entry point
Copyright (C) 2022 Ángel Ruiz Fernandez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifdef _WIN32
#define SDL_MAIN_HANDLED // ah yes, windows shenanigans
#endif
Expand Down
20 changes: 20 additions & 0 deletions src/main.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
ww1game: Generic WW1 game (?)
main.hpp: Global header
Copyright (C) 2022 Ángel Ruiz Fernandez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#pragma once

// == Global includes
Expand Down
20 changes: 20 additions & 0 deletions src/renderer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
/*
ww1game: Generic WW1 game (?)
renderer.cpp: Renders frames
Copyright (C) 2022 Ángel Ruiz Fernandez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "main.hpp"

#include <iostream>
Expand Down

0 comments on commit 35c829f

Please sign in to comment.