minor stuff all should be good .w.
This commit is contained in:
		
							parent
							
								
									3553f59640
								
							
						
					
					
						commit
						fbaab4a9d8
					
				| @ -68,7 +68,7 @@ players: | |||||||
|  startXPosition: 600 |  startXPosition: 600 | ||||||
|  fireCooldown: 10 |  fireCooldown: 10 | ||||||
|  speed: 10 |  speed: 10 | ||||||
|  lives: 100 |  lives: 3 | ||||||
|  user1: |  user1: | ||||||
|   color: red |   color: red | ||||||
|   keys: |   keys: | ||||||
| @ -78,9 +78,9 @@ players: | |||||||
|  user2: |  user2: | ||||||
|   color: blue |   color: blue | ||||||
|   keys: |   keys: | ||||||
|    left: 4 |    left: k | ||||||
|    right: 6 |    right: m | ||||||
|    shoot: 5 |    shoot: là | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ############################# | ############################# | ||||||
|  | |||||||
| @ -25,7 +25,7 @@ | |||||||
| 
 | 
 | ||||||
| // Syntax : DEBUG(cout << "hey" << endl)
 | // Syntax : DEBUG(cout << "hey" << endl)
 | ||||||
| // The debug flag defintion has been set here, but normally we would add it to the MakeFile
 | // The debug flag defintion has been set here, but normally we would add it to the MakeFile
 | ||||||
| #define DEBUG_FLAG | //#define DEBUG_FLAG
 | ||||||
| 
 | 
 | ||||||
| #ifdef DEBUG_FLAG | #ifdef DEBUG_FLAG | ||||||
| #define DEBUG_MSG(X) cerr << "DEBUG: " << X << endl; | #define DEBUG_MSG(X) cerr << "DEBUG: " << X << endl; | ||||||
|  | |||||||
| @ -29,7 +29,10 @@ void PixelManager::displayMenu(const Position& pos, Menu& currentMenu){ | |||||||
| 	startFrame(); | 	startFrame(); | ||||||
| 	drawSprite(menuBackground); | 	drawSprite(menuBackground); | ||||||
| 	drawSprite(logo,Position(100,50)); | 	drawSprite(logo,Position(100,50)); | ||||||
| 	drawText(Position(1150, 700), "version 1.0.0"); | 	drawText(Position(10, 692), "tips:",nsGraphics::KWhite,Font::BITMAP_8_BY_13); | ||||||
|  | 	drawText(Position(10, 702), "use 'z','s','q','d' and 'enter' to navigate the menus",nsGraphics::KWhite,Font::BITMAP_8_BY_13); | ||||||
|  | 	drawText(Position(10, 712), "see the configuration file for player specific key bindings",nsGraphics::KWhite,Font::BITMAP_8_BY_13); | ||||||
|  | 	drawText(Position(1150, 712), "version 1.0.0"); | ||||||
| 	unsigned margin = 0; | 	unsigned margin = 0; | ||||||
| 	unsigned cpt = 0; | 	unsigned cpt = 0; | ||||||
| 	for(string& value : currentMenu.entries ){ | 	for(string& value : currentMenu.entries ){ | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user