Browse Source

Add GPLv3 copyright notice in source files

Matteo Savatteri 7 months ago
parent
commit
3f3064609f
25 changed files with 200 additions and 0 deletions
  1. 8 0
      body.cpp
  2. 8 0
      body.hpp
  3. 8 0
      boss.cpp
  4. 8 0
      boss.hpp
  5. 8 0
      bossrush.cpp
  6. 8 0
      bullet.cpp
  7. 8 0
      bullet.hpp
  8. 8 0
      definitions.hpp
  9. 8 0
      enemy.cpp
  10. 8 0
      enemy.hpp
  11. 8 0
      functions.cpp
  12. 8 0
      functions.hpp
  13. 8 0
      game_object.cpp
  14. 8 0
      game_object.hpp
  15. 8 0
      invaders.cpp
  16. 8 0
      pic.cpp
  17. 8 0
      pic.hpp
  18. 8 0
      player.cpp
  19. 8 0
      player.hpp
  20. 8 0
      powerup.cpp
  21. 8 0
      powerup.hpp
  22. 8 0
      rocket.cpp
  23. 8 0
      rocket.hpp
  24. 8 0
      wall.cpp
  25. 8 0
      wall.hpp

+ 8 - 0
body.cpp

@@ -1 +1,9 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "body.hpp"

+ 8 - 0
body.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _body_hpp
 #define _body_hpp
 

+ 8 - 0
boss.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "boss.hpp"
 
 boss::boss(int x, int y, int life, int w, int h, std::string newname) : enemy(x,y), pic(w,h) 

+ 8 - 0
boss.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _boss_hpp
 #define _boss_hpp
 

+ 8 - 0
bossrush.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "definitions.hpp"
 #include "rocket.hpp"
 #include "enemy.hpp"

+ 8 - 0
bullet.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "bullet.hpp"
 
 void bullet::next_pos()

+ 8 - 0
bullet.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _bullet_
 #define _bullet_
 

+ 8 - 0
definitions.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _definitions_
 #define _definitions_
 

+ 8 - 0
enemy.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "enemy.hpp"
 
 

+ 8 - 0
enemy.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _enemy_
 #define _enemy_
 

+ 8 - 0
functions.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "functions.hpp"
 #include "definitions.hpp"
 using std::cout;

+ 8 - 0
functions.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _functions_
 #define _functions_
 

+ 8 - 0
game_object.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "game_object.hpp"
 
 game_object::game_object(int X,int Y,int ID){

+ 8 - 0
game_object.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _gameobject_
 #define _gameobject_
 

+ 8 - 0
invaders.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "bullet.hpp"
 #include "enemy.hpp"
 #include "player.hpp"

+ 8 - 0
pic.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "pic.hpp"
 
 //char** picture;

+ 8 - 0
pic.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _pic_hpp
 #define _pic_hpp
 

+ 8 - 0
player.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "player.hpp"
 
 

+ 8 - 0
player.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _player_
 #define _player_
 

+ 8 - 0
powerup.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "powerup.hpp"
 
 powerup::powerup(int x,int y):bullet(x,y,64){}

+ 8 - 0
powerup.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _powerup_
 #define _powerup_
 

+ 8 - 0
rocket.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "rocket.hpp"
 
 rocket::rocket(int X,int Y,int V) : bullet(X,Y,256){

+ 8 - 0
rocket.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _rocket_
 #define _rocket_
 

+ 8 - 0
wall.cpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #include "wall.hpp"
 
 wall::wall():game_object(0,0,32) , body(0,0){}		//default constructor

+ 8 - 0
wall.hpp

@@ -1,3 +1,11 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
+
 #ifndef _wall_
 #define _wall_