1
0
Fork 0

(svn r19272) -Doc: successfull -> successful.

release/1.1
alberth 2010-02-27 12:29:44 +00:00
parent 13f1836149
commit 2ac558494c
5 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ public:
/** /**
* When ever the AI Scanner is reloaded, all infos become invalid. This * When ever the AI Scanner is reloaded, all infos become invalid. This
* function tells AIConfig about this. * function tells AIConfig about this.
* @return True if the reset was successfull, false if the AI was no longer * @return \c true if the reset was successful, \c false if the AI was no longer
* found. * found.
*/ */
bool ResetInfo(); bool ResetInfo();

View File

@ -172,13 +172,13 @@ private:
* with before an error is returned. * with before an error is returned.
* @param test If true, don't really store the data but only check if it is * @param test If true, don't really store the data but only check if it is
* valid. * valid.
* @return True if the saving was successfull. * @return True if the saving was successful.
*/ */
static bool SaveObject(HSQUIRRELVM vm, SQInteger index, int max_depth, bool test); static bool SaveObject(HSQUIRRELVM vm, SQInteger index, int max_depth, bool test);
/** /**
* Load all objects from a savegame. * Load all objects from a savegame.
* @return True if the loading was successfull. * @return True if the loading was successful.
*/ */
static bool LoadObjects(HSQUIRRELVM vm); static bool LoadObjects(HSQUIRRELVM vm);
}; };

View File

@ -148,7 +148,7 @@ public:
* @param filename Output for the filename of the written file. * @param filename Output for the filename of the written file.
* @param filename_last The last position in the filename buffer. * @param filename_last The last position in the filename buffer.
* @return if less than 0, error. If 0 no dump is made, otherwise the dump * @return if less than 0, error. If 0 no dump is made, otherwise the dump
* was successfull (not all OSes support dumping files). * was successful (not all OSes support dumping files).
*/ */
virtual int WriteCrashDump(char *filename, const char *filename_last) const; virtual int WriteCrashDump(char *filename, const char *filename_last) const;

View File

@ -72,7 +72,7 @@ void SetRailStationPlatformReservation(TileIndex start, DiagDirection dir, bool
* Try to reserve a specific track on a tile * Try to reserve a specific track on a tile
* @param tile the tile * @param tile the tile
* @param t the track * @param t the track
* @return true if reservation was successfull, i.e. the track was * @return \c true if reservation was successful, i.e. the track was
* free and didn't cross any other reserved tracks. * free and didn't cross any other reserved tracks.
*/ */
bool TryReserveRailTrack(TileIndex tile, Track t) bool TryReserveRailTrack(TileIndex tile, Track t)

View File

@ -1782,7 +1782,7 @@ bool GenerateTowns(TownLayout layout)
/* Get a unique name for the town. */ /* Get a unique name for the town. */
if (!GenerateTownName(&townnameparts)) continue; if (!GenerateTownName(&townnameparts)) continue;
/* try 20 times to create a random-sized town for the first loop. */ /* try 20 times to create a random-sized town for the first loop. */
if (CreateRandomTown(20, townnameparts, TS_RANDOM, city, layout) != NULL) num++; // if creation successfull, raise a flag if (CreateRandomTown(20, townnameparts, TS_RANDOM, city, layout) != NULL) num++; // If creation was successful, raise a flag.
} while (--n); } while (--n);
if (num != 0) return true; if (num != 0) return true;