Fix comments
This commit is contained in:
parent
6700b64387
commit
41215d665a
1 changed files with 3 additions and 3 deletions
|
@ -68,9 +68,9 @@ Pokitto::Core pokitto;
|
||||||
|
|
||||||
#define SUBSAMPLED_WIDTH (SCREEN_WIDTH / SUBSAMPLE)
|
#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.
|
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()
|
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 */
|
is important for fog/shadow diminishing */
|
||||||
|
|
||||||
for (uint16_t i = 0; i < 256; ++i)
|
for (uint16_t i = 0; i < 256; ++i)
|
||||||
|
|
Loading…
Reference in a new issue