mirror of https://github.com/OpenTTD/OpenTTD
(svn r25594) -Fix-ish: some Doxygen warnings/errors for scripts
parent
e6ae8cf420
commit
fac0bc4176
|
@ -36,7 +36,7 @@ public:
|
||||||
* @note If the resulting JSON of your table is larger than 1450 bytes,
|
* @note If the resulting JSON of your table is larger than 1450 bytes,
|
||||||
* nothing will be sent (and false will be returned).
|
* nothing will be sent (and false will be returned).
|
||||||
*/
|
*/
|
||||||
static bool Send(table);
|
static bool Send(void *table);
|
||||||
#endif /* DOXYGEN_API */
|
#endif /* DOXYGEN_API */
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -57,6 +57,9 @@ public:
|
||||||
QT_ERROR, ///< Showing an error; title: Error.
|
QT_ERROR, ///< Showing an error; title: Error.
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Types of buttons that can be in the question window.
|
||||||
|
*/
|
||||||
enum QuestionButton {
|
enum QuestionButton {
|
||||||
/* Note: these values represent part of the string list starting with STR_GOAL_QUESTION_BUTTON_CANCEL */
|
/* Note: these values represent part of the string list starting with STR_GOAL_QUESTION_BUTTON_CANCEL */
|
||||||
BUTTON_CANCEL = (1 << 0), ///< Cancel button.
|
BUTTON_CANCEL = (1 << 0), ///< Cancel button.
|
||||||
|
|
|
@ -24,7 +24,7 @@ public:
|
||||||
* Scroll the viewport to the given tile, where the tile will be in the
|
* Scroll the viewport to the given tile, where the tile will be in the
|
||||||
* center of the screen.
|
* center of the screen.
|
||||||
* @param tile The tile to put in the center of the screen.
|
* @param tile The tile to put in the center of the screen.
|
||||||
* @pre !ScriptGame::IsMultiplayer().
|
* @pre ! ScriptGame::IsMultiplayer().
|
||||||
* @pre ScriptMap::IsValidTile(tile).
|
* @pre ScriptMap::IsValidTile(tile).
|
||||||
*/
|
*/
|
||||||
static void ScrollTo(TileIndex tile);
|
static void ScrollTo(TileIndex tile);
|
||||||
|
|
Loading…
Reference in New Issue