#include <cmath>#include <map>#include "loki/static_check.h"#include "../libs/sdlmm/src/sdlmm.h"#include "surface.h"#include "blitter.h"#include "../misc.h"#include "../palette.h"Include dependency graph for drawing.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | PutPixel< pixelsize, ColorMerger > |
| class | PutPixel2< pixelsize, ColorMerger > |
| class | ColorMerger_AlphaLighter< pixelsize > |
| class | ColorMerger_AlphaLighter< 1 > |
| class | ColorMerger_AlphaLighter< 4 > |
Functions | |
| template<int BytePerPixel, class ColorMergerUL, class ColorMergerLR> | |
| void | rectangle (Surface &surface, const SPoint &pos, int w, int h, const ColorMergerUL &ul, const ColorMergerLR &lr) |
| template<int BytePerPixel, class ColorMergerUL, class ColorMergerLR> | |
| void | rectangle (Surface &surface, const SPoint &pos, int w, int h, const ColorMergerUL &ul, const ColorMergerLR &lr, const SDLmm::SRect &clip) |
| template<int BytePerPixel, class ColorMerger> | |
| void | paintFilledRectangle (Surface &surface, const SPoint &pos, int w, int h, const ColorMerger &ul) |
| SDLmm::Color | lighten_Color (SDLmm::Color color, int factor16) |
| void | lighten_Color (SDLmm::Color *color, int factor16) |
| SDL_Color | lighten_Color (const SDL_Color &color, int factor16) |
| template<int pixelsize, class ColorMerger> | |
| void | drawLine (Surface &surface, const ColorMerger &cm, const SPoint &pos, const SPoint &pos2) |
Variables | |
| char | saturationTranslationTable [256][256] |
| SDL_Color lighten_Color | ( | const SDL_Color & | color, | |
| int | factor16 | |||
| ) | [inline] |
| void lighten_Color | ( | SDLmm::Color * | color, | |
| int | factor16 | |||
| ) | [inline] |
| SDLmm::Color lighten_Color | ( | SDLmm::Color | color, | |
| int | factor16 | |||
| ) | [inline] |
Definition at line 132 of file drawing.h.
References saturationTranslationTable.
Referenced by ColorMerger_AlphaLighter< 4 >::assign(), ColorMerger_Alpha_XLAT_TableShifter< pixelsize >::assign(), OverviewMapImage::lighten(), lighten_Color(), and showAttackAnimation().
| char saturationTranslationTable[256][256] |
Definition at line 35 of file drawing.cpp.
Referenced by lighten_Color(), and TableGenerator::TableGenerator().
1.5.1