# HG changeset patch # User alberth # Date 1265469012 0 # Node ID d98b126c40e0baeabbb5899e69900440ea3d6201 # Parent 4387f17e9ff18e1ad3b2f0bb9f009ba5ce358eef (svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef. diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -254,7 +254,12 @@ {MKCOLOUR(0x00D7D700), MKCOLOUR(0xFF0000FF)}, }; -typedef uint32 GetSmallMapPixels(TileIndex tile); ///< Typedef callthrough function +/** + * Function signature of the function to retrieve the colour data of a tile for display at the smallmap. + * @param tile Tile that gets displayed. + * @return Colour data to display. + */ +typedef uint32 GetSmallMapPixels(TileIndex tile); /** Mapping of tile type to importance of the tile (higher number means more interesting to show). */ static const byte _tiletype_importance[] = {