Update to 1.9.3-RC1

--HG--
branch : openttd
This commit is contained in:
Pavel Stupnikov
2019-09-08 02:22:38 +03:00
parent 383c7fcc21
commit 5131281a31
56 changed files with 985 additions and 705 deletions

View File

@@ -71,6 +71,16 @@ protected:
*/
static bool DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint cmd, const char *text = NULL, Script_SuspendCallbackProc *callback = NULL);
/**
* Store the latest command executed by the script.
*/
static void SetLastCommand(TileIndex tile, uint32 p1, uint32 p2, uint cmd);
/**
* Check if it's the latest command executed by the script.
*/
static bool CheckLastCommand(TileIndex tile, uint32 p1, uint32 p2, uint cmd);
/**
* Sets the DoCommand costs counter to a value.
*/