src/ai/api/ai_settings.hpp
branchnoai
changeset 9839 ea94d60d13e7
parent 9829 80fbe02a4184
equal deleted inserted replaced
9838:0839682a601b 9839:ea94d60d13e7
    18 	 * Change the minimum amount of time the AI should be put in suspend mode
    18 	 * Change the minimum amount of time the AI should be put in suspend mode
    19 	 *   when you execute a command. Normally in SP this is 1, and in MP it is
    19 	 *   when you execute a command. Normally in SP this is 1, and in MP it is
    20 	 *   what ever delay the server has been programmed to delay commands
    20 	 *   what ever delay the server has been programmed to delay commands
    21 	 *   (normally between 1 and 5). To give a more 'real' effect to your AI,
    21 	 *   (normally between 1 and 5). To give a more 'real' effect to your AI,
    22 	 *   you can control that number here.
    22 	 *   you can control that number here.
    23 	 * @param ticks the minimum amount of ticks to wait.
    23 	 * @param ticks The minimum amount of ticks to wait.
    24 	 * @pre ticks should be positive. Too big values will influence performance of the AI.
    24 	 * @pre Ticks should be positive. Too big values will influence performance of the AI.
    25 	 * @note If the number is lower then the MP setting, the MP setting wins.
    25 	 * @note If the number is lower then the MP setting, the MP setting wins.
    26 	 */
    26 	 */
    27 	static void SetCommandDelay(uint ticks);
    27 	static void SetCommandDelay(uint ticks);
    28 };
    28 };
    29 
    29