diff options
author | alberth <alberth@openttd.org> | 2010-11-20 13:33:24 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-11-20 13:33:24 +0000 |
commit | 9d899b3758ee007fdd66b383cf5866133dfa5135 (patch) | |
tree | e609ec9db85382602c0d30eeb689ab055860cef3 | |
parent | ffa437a6c131243e9f797f4cc9164480b6aa38ac (diff) | |
download | openttd-9d899b3758ee007fdd66b383cf5866133dfa5135.tar.xz |
(svn r21267) -Doc: Typo fixes.
-rw-r--r-- | src/bridge_gui.cpp | 4 | ||||
-rw-r--r-- | src/industry.h | 2 | ||||
-rw-r--r-- | src/industrytype.h | 16 | ||||
-rw-r--r-- | src/saveload/saveload.cpp | 4 |
4 files changed, 13 insertions, 13 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp index e6d20f7a9..1b3058717 100644 --- a/src/bridge_gui.cpp +++ b/src/bridge_gui.cpp @@ -44,7 +44,7 @@ typedef GUIList<BuildBridgeData> GUIBridgeList; /** * Callback executed after a build Bridge CMD has been called * - * @param result Whether the build succeded + * @param result Whether the build succeeded * @param tile The tile where the command has been executed * @param p1 not used * @param p2 not used @@ -54,7 +54,7 @@ void CcBuildBridge(const CommandCost &result, TileIndex tile, uint32 p1, uint32 if (result.Succeeded()) SndPlayTileFx(SND_27_BLACKSMITH_ANVIL, tile); } -/* Names of the build bridge selection window */ +/** Names of the widgets of the build-bridge selection window. */ enum BuildBridgeSelectionWidgets { BBSW_CAPTION, BBSW_DROPDOWN_ORDER, diff --git a/src/industry.h b/src/industry.h index 03db0a615..18a20a775 100644 --- a/src/industry.h +++ b/src/industry.h @@ -35,7 +35,7 @@ enum ProductionLevels { }; /** - * Defines the internal data of a functionnal industry + * Defines the internal data of a functional industry. */ struct Industry : IndustryPool::PoolItem<&_industry_pool> { typedef PersistentStorageArray<int32, 16> PersistentStorage; diff --git a/src/industrytype.h b/src/industrytype.h index c037ab61e..32f3c2b51 100644 --- a/src/industrytype.h +++ b/src/industrytype.h @@ -55,15 +55,15 @@ enum CheckProc { /** How was the industry created */ enum IndustryConstructionType { ICT_UNKNOWN, ///< in previous game version or without newindustries activated - ICT_NORMAL_GAMEPLAY, ///< either by user or random creation proccess + ICT_NORMAL_GAMEPLAY, ///< either by user or random creation process ICT_MAP_GENERATION, ///< during random map creation - ICT_SCENARIO_EDITOR ///< while scenarion edition + ICT_SCENARIO_EDITOR ///< while editing a scenario }; /** Various industry behaviours mostly to represent original TTD specialities */ enum IndustryBehaviour { INDUSTRYBEH_NONE = 0, - INDUSTRYBEH_PLANT_FIELDS = 1 << 0, ///< periodically plants fileds around itself (temp and artic farms) + INDUSTRYBEH_PLANT_FIELDS = 1 << 0, ///< periodically plants fields around itself (temp and arctic farms) INDUSTRYBEH_CUT_TREES = 1 << 1, ///< cuts trees and produce first output cargo from them (lumber mill) INDUSTRYBEH_BUILT_ONWATER = 1 << 2, ///< is built on water (oil rig) INDUSTRYBEH_TOWN1200_MORE = 1 << 3, ///< can only be built in towns larger than 1200 inhabitants (temperate bank) @@ -131,8 +131,8 @@ struct IndustrySpec { /* Newgrf data */ uint16 callback_mask; ///< Bitmask of industry callbacks that have to be called uint8 cleanup_flag; ///< flags indicating which data should be freed upon cleaning up - bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though - GRFFileProps grf_prop; ///< properties related the the grf file + bool enabled; ///< entity still available (by default true).newgrf can disable it, though + GRFFileProps grf_prop; ///< properties related to the grf file /** * Is an industry with the spec a raw industry? @@ -166,7 +166,7 @@ struct IndustrySpec { */ struct IndustryTileSpec { CargoID accepts_cargo[3]; ///< Cargo accepted by this tile - uint8 acceptance[3]; ///< Level of aceptance per cargo type + uint8 acceptance[3]; ///< Level of acceptance per cargo type Slope slopes_refused; ///< slope pattern on which this tile cannot be built byte anim_production; ///< Animation frame to start when goods are produced byte anim_next; ///< Next frame in an animation @@ -176,8 +176,8 @@ struct IndustryTileSpec { uint8 callback_mask; ///< Bitmask of industry tile callbacks that have to be called AnimationInfo animation; ///< Information about the animation (is it looping, how many loops etc) IndustryTileSpecialFlags special_flags; ///< Bitmask of extra flags used by the tile - bool enabled; ///< entity still avaible (by default true).newgrf can disable it, though - GRFFileProps grf_prop; ///< properties related the the grf file + bool enabled; ///< entity still available (by default true).newgrf can disable it, though + GRFFileProps grf_prop; ///< properties related to the grf file }; /* industry_cmd.cpp*/ diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index c84d69bfc..8e80ed789 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -245,7 +245,7 @@ enum NeedLength { NL_CALCLENGTH = 2, ///< need to calculate the length }; -/** The saveload struct, containing reader-writer functions, bufffer, version, etc. */ +/** The saveload struct, containing reader-writer functions, buffer, version, etc. */ struct SaveLoadParams { SaveLoadAction action; ///< are we doing a save or a load atm. NeedLength need_length; ///< working in NeedLength (Autolength) mode? @@ -271,7 +271,7 @@ struct SaveLoadParams { FILE *fh; ///< the file from which is read or written to void (*excpt_uninit)(); ///< the function to execute on any encountered error - StringID error_str; ///< the translateable error message to show + StringID error_str; ///< the translatable error message to show char *extra_msg; ///< the error message }; |