Fix comments

This commit is contained in:
Miloslav Číž 2018-09-29 08:45:58 +02:00
parent 6700b64387
commit 41215d665a

View file

@ -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)