mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r19272) -Doc: successfull -> successful.
This commit is contained in:
parent
13f1836149
commit
2ac558494c
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* When ever the AI Scanner is reloaded, all infos become invalid. 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.
|
||||
*/
|
||||
bool ResetInfo();
|
||||
|
|
|
@ -172,13 +172,13 @@ private:
|
|||
* with before an error is returned.
|
||||
* @param test If true, don't really store the data but only check if it is
|
||||
* 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);
|
||||
|
||||
/**
|
||||
* 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);
|
||||
};
|
||||
|
|
|
@ -148,7 +148,7 @@ public:
|
|||
* @param filename Output for the filename of the written file.
|
||||
* @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
|
||||
* 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;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ void SetRailStationPlatformReservation(TileIndex start, DiagDirection dir, bool
|
|||
* Try to reserve a specific track on a tile
|
||||
* @param tile the tile
|
||||
* @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.
|
||||
*/
|
||||
bool TryReserveRailTrack(TileIndex tile, Track t)
|
||||
|
|
|
@ -1782,7 +1782,7 @@ bool GenerateTowns(TownLayout layout)
|
|||
/* Get a unique name for the town. */
|
||||
if (!GenerateTownName(&townnameparts)) continue;
|
||||
/* 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);
|
||||
|
||||
if (num != 0) return true;
|
||||
|
|
Loading…
Reference in New Issue