From 41215d665a36ae4192fe91c30b5fcad38fe35075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Sat, 29 Sep 2018 08:45:58 +0200 Subject: [PATCH] Fix comments --- general.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/general.hpp b/general.hpp index c83bac7..2034a2c 100644 --- a/general.hpp +++ b/general.hpp @@ -68,9 +68,9 @@ Pokitto::Core pokitto; #define SUBSAMPLED_WIDTH (SCREEN_WIDTH / SUBSAMPLE) -#define TRANSPARENT_COLOR 0x8f /// Transparent color for sprites and GUI. +#define TRANSPARENT_COLOR 0x8f ///< Transparent color for sprites and GUI. -#define HUE(c) (c * 16 + 8) /// Gives a middle color of given hue (0 to 15). +#define HUE(c) (c * 16 + 8) ///< Gives a middle color of given hue (0 to 15). RCL_Unit zBuffer[SUBSAMPLED_WIDTH]; ///< 1D z-buffer for visibility determination. @@ -182,7 +182,7 @@ void convertHSVtoRGB(uint8_t hue, uint8_t saturation, uint8_t value, */ void initPalette() { - /* the palette is HSV-basedm because it makes brightness addition fast, which + /* the palette is HSV-based because it makes brightness addition fast, which is important for fog/shadow diminishing */ for (uint16_t i = 0; i < 256; ++i)