(svn r3453) - CodeChange: Also show the landinfo debug information when building in release mode; however it is shown at debug level 1.
This commit is contained in:
		
							
								
								
									
										20
									
								
								misc_gui.c
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								misc_gui.c
									
									
									
									
									
								
							| @@ -158,15 +158,19 @@ static void Place_LandInfo(TileIndex tile) | |||||||
| 	GetTileDesc(tile, &lid.td); | 	GetTileDesc(tile, &lid.td); | ||||||
|  |  | ||||||
| 		#if defined(_DEBUG) | 		#if defined(_DEBUG) | ||||||
| 		DEBUG(misc, 0) ("TILE: %#x (%i,%i)", tile, TileX(tile), TileY(tile)); | 		# define LANDINFOD_LEVEL 0 | ||||||
| 		DEBUG(misc, 0) ("TILE: %d ", tile); | 		#else | ||||||
| 		DEBUG(misc, 0) ("_type_height = %#x", _m[tile].type_height); | 		# define LANDINFOD_LEVEL 1 | ||||||
| 		DEBUG(misc, 0) ("m1           = %#x", _m[tile].m1); |  | ||||||
| 		DEBUG(misc, 0) ("m2           = %#x", _m[tile].m2); |  | ||||||
| 		DEBUG(misc, 0) ("m3           = %#x", _m[tile].m3); |  | ||||||
| 		DEBUG(misc, 0) ("m4           = %#x", _m[tile].m4); |  | ||||||
| 		DEBUG(misc, 0) ("m5           = %#x", _m[tile].m5); |  | ||||||
| 		#endif | 		#endif | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("TILE: %#x (%i,%i)", tile, TileX(tile), TileY(tile)); | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("type_height  = %#x", _m[tile].type_height); | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("m1           = %#x", _m[tile].m1); | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("m2           = %#x", _m[tile].m2); | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("m3           = %#x", _m[tile].m3); | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("m4           = %#x", _m[tile].m4); | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("m5           = %#x", _m[tile].m5); | ||||||
|  | 		DEBUG(misc, LANDINFOD_LEVEL) ("extra        = %#x", _m[tile].extra); | ||||||
|  | 		#undef LANDINFOD_LEVEL | ||||||
| } | } | ||||||
|  |  | ||||||
| void PlaceLandBlockInfo(void) | void PlaceLandBlockInfo(void) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Darkvater
					Darkvater