summaryrefslogtreecommitdiff
path: root/src/gfx_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-09 02:57:15 +0000
committerrubidium <rubidium@openttd.org>2009-02-09 02:57:15 +0000
commitc0a8d09ca72873bbbef14dd317cbd29319e54640 (patch)
tree211b57e3a81eed5791f5b6b9709252af6f7d8503 /src/gfx_type.h
parent90e2465d7d2c770707feeaebfebbe56bd76383f1 (diff)
downloadopenttd-c0a8d09ca72873bbbef14dd317cbd29319e54640.tar.xz
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r--src/gfx_type.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h
index 835015a8b..8cae5c0d4 100644
--- a/src/gfx_type.h
+++ b/src/gfx_type.h
@@ -10,7 +10,7 @@
#include "core/geometry_type.hpp"
#include "zoom_type.h"
-typedef uint32 SpriteID; ///< The number of a sprite, without mapping bits and colortables
+typedef uint32 SpriteID; ///< The number of a sprite, without mapping bits and colourtables
/** Combination of a palette sprite and a 'real' sprite */
struct PalSpriteID {
@@ -185,7 +185,7 @@ enum Colours {
INVALID_COLOUR = 0xFF,
};
-/** Colour of the strings, see _string_colormap in table/palettes.h or docs/ottd-colourtext-palette.png */
+/** Colour of the strings, see _string_colourmap in table/palettes.h or docs/ottd-colourtext-palette.png */
enum TextColour {
TC_FROMSTRING = 0x00,
TC_BLUE = 0x00,
@@ -207,7 +207,7 @@ enum TextColour {
TC_BLACK = 0x10,
TC_INVALID = 0xFF,
- IS_PALETTE_COLOR = 0x100, ///< colour value is already a real palette colour index, not an index of a StringColour
+ IS_PALETTE_COLOUR = 0x100, ///< colour value is already a real palette colour index, not an index of a StringColour
};
DECLARE_ENUM_AS_BIT_SET(TextColour);
@@ -220,9 +220,9 @@ enum PaletteAnimationSizes {
/** Define the operation GfxFillRect performs */
enum FillRectMode {
- FILLRECT_OPAQUE, ///< Fill rectangle with a single color
+ FILLRECT_OPAQUE, ///< Fill rectangle with a single colour
FILLRECT_CHECKER, ///< Draw only every second pixel, used for greying-out
- FILLRECT_RECOLOR, ///< Apply a recolor sprite to the screen content
+ FILLRECT_RECOLOUR, ///< Apply a recolour sprite to the screen content
};
/** Palettes OpenTTD supports. */