From e91e9ad58f4325535cfdd18848da06d92e7f5e69 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 29 Jun 2020 11:30:19 -0500 Subject: [PATCH] [nostalgia/core] Cleanup --- src/nostalgia/core/consts.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/nostalgia/core/consts.hpp b/src/nostalgia/core/consts.hpp index 90d27737..7f183253 100644 --- a/src/nostalgia/core/consts.hpp +++ b/src/nostalgia/core/consts.hpp @@ -1,11 +1,18 @@ +/* + * Copyright 2016 - 2020 gtalent2@gmail.com + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ #pragma once namespace nostalgia::core { -constexpr auto PixelsPerTile = 64; constexpr auto TileWidth = 8; constexpr auto TileHeight = 8; +constexpr auto PixelsPerTile = TileWidth * TileHeight; constexpr auto FileExt_ng = ".ng"; constexpr auto FileExt_npal = ".npal";