Chunk code cleanup
This commit is contained in:
@@ -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();
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user