update library
This commit is contained in:
		
							parent
							
								
									8b44168b66
								
							
						
					
					
						commit
						6a5afb0fea
					
				
					 4 changed files with 10 additions and 10 deletions
				
			
		
							
								
								
									
										2
									
								
								.envrc
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								.envrc
									
										
									
									
									
								
							|  | @ -1 +1 @@ | |||
| use nix | ||||
| use flake | ||||
|  |  | |||
							
								
								
									
										6
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										6
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -2,11 +2,11 @@ | |||
|   "nodes": { | ||||
|     "nixpkgs": { | ||||
|       "locked": { | ||||
|         "lastModified": 1730327045, | ||||
|         "narHash": "sha256-xKel5kd1AbExymxoIfQ7pgcX6hjw9jCgbiBjiUfSVJ8=", | ||||
|         "lastModified": 1731797254, | ||||
|         "narHash": "sha256-df3dJApLPhd11AlueuoN0Q4fHo/hagP75LlM5K1sz9g=", | ||||
|         "owner": "nixos", | ||||
|         "repo": "nixpkgs", | ||||
|         "rev": "080166c15633801df010977d9d7474b4a6c549d7", | ||||
|         "rev": "e8c38b73aeb218e27163376a2d617e61a2ad9b59", | ||||
|         "type": "github" | ||||
|       }, | ||||
|       "original": { | ||||
|  |  | |||
|  | @ -7,11 +7,11 @@ namespace TanksServer.GameLogic; | |||
| 
 | ||||
| internal sealed class MapService | ||||
| { | ||||
|     public const ulong TilesPerRow = 44; | ||||
|     public const ulong TilesPerColumn = 20; | ||||
|     public const ulong TileSize = 8; | ||||
|     public const ulong PixelsPerRow = TilesPerRow * TileSize; | ||||
|     public const ulong PixelsPerColumn = TilesPerColumn * TileSize; | ||||
|     public static readonly ulong TilesPerRow = 44; | ||||
|     public static readonly ulong TilesPerColumn = ServicePointConstants.TileHeight; | ||||
|     public static readonly ulong TileSize = ServicePointConstants.TileSize; | ||||
|     public static readonly ulong PixelsPerRow = TilesPerRow * TileSize; | ||||
|     public static readonly ulong PixelsPerColumn = TilesPerColumn * TileSize; | ||||
| 
 | ||||
|     private readonly ConcurrentDictionary<string, MapPrototype> _mapPrototypes = new(); | ||||
|     private readonly ConcurrentDictionary<string, Bitmap> _mapPreviews = new(); | ||||
|  |  | |||
|  | @ -1 +1 @@ | |||
| Subproject commit 234510842d6676b8e8a7cbabbe8d3373aa8d3e6e | ||||
| Subproject commit 93657c9f85d021c04270e1f5af573a6cda51f18a | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter