Browse Source

update version

silverweed 4 years ago
parent
commit
7f8c3d9da4
3 changed files with 3 additions and 2 deletions
  1. 1 1
      bossrush.cpp
  2. 1 0
      definitions.hpp
  3. 1 1
      invaders.cpp

+ 1 - 1
bossrush.cpp

@@ -30,7 +30,7 @@ int main(int argc,char** argv)
 		}
 	
 		if(strcmp(argv[1],"--info")==0){
-			cout<<endl<<"Curses Invaders 4.4 - Bossrush"<<endl;
+			cout<<endl<<"Curses Invaders " VERSION " - Bossrush"<<endl;
 			cout<<endl<<"Game developed by Giacomo Parolini (jp) and Enrico Guiraud (blue) in years 2010-2013."<<endl;
 			cout<<"Source code is available under request to jp@lcm.mi.infn.it (it's quite ugly, I warn you ;-) )"<<endl;
 			cout<<"Report any bug to the same mail address."<<endl<<endl;

+ 1 - 0
definitions.hpp

@@ -27,6 +27,7 @@
 #include <mutex>
 
 
+#define VERSION "4.5_gogs"
 //GAME BOX DIMENSIONS
 #define R 30	//rows (Y)
 #define C 60	//columns (X)

+ 1 - 1
invaders.cpp

@@ -28,7 +28,7 @@ int main(int argc,char** argv)
 		}
 	
 		if(strcmp(argv[1],"--info")==0){
-			cout<<endl<<"Curses Invaders 4.4"<<endl;
+			cout<<endl<<"Curses Invaders " VERSION <<endl;
 			cout<<endl<<"Game developed by Giacomo Parolini (jp) and Enrico Guiraud (blue) in years 2010-2013."<<endl;
 			cout<<"Source code is available under request to jp@lcm.mi.infn.it (it's quite ugly, I warn you ;-) )"<<endl;
 			cout<<"Report any bug to the same mail address."<<endl<<endl;