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)