Chunk code cleanup

This commit is contained in:
2025-01-30 13:23:14 -05:00
parent b211df9c8f
commit b78081d6b9
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ void CaveGame::Client::Splash::Draw()
Vector2 middle = screen_dimensions/2.f;
// TODO: Implement draw-point offset to maintain sensible aspect ratio on the image.
// TODO: Compute screen aspect ratio to derive ideal splash image scale.
JGL::J2D::Begin();

View File

@@ -47,7 +47,7 @@ namespace CaveGame::Core
return tiles[x][y];
}
inline TileID GetTile(const Vector2i& coords) { return GetTile(coords.x, coords.y); }
inline TileID GetTile(const Vector2i& coords) const { return GetTile(coords.x, coords.y); }
/// Sets the tile ID at the given tile-cell.
/// @param trigger_tile_updates Whether to force adjacent tiles to update.