comparison src/command_type.h @ 11055:4c8d23865b6d draft

(svn r15395) -Fix [FS#2611] (r15377): one couldn't reset companies anymore in a 'dedicated' server.
author rubidium <rubidium@openttd.org>
date Sat, 07 Feb 2009 12:02:13 +0000
parents 5cabbccfbe55
children 36d798171bfd
comparison
equal deleted inserted replaced
11054:da73fac03cd6 11055:4c8d23865b6d
332 * Command flags for the command table _command_proc_table. 332 * Command flags for the command table _command_proc_table.
333 * 333 *
334 * This enumeration defines flags for the _command_proc_table. 334 * This enumeration defines flags for the _command_proc_table.
335 */ 335 */
336 enum { 336 enum {
337 CMD_SERVER = 0x01, ///< the command can only be initiated by the server 337 CMD_SERVER = 0x01, ///< the command can only be initiated by the server
338 CMD_OFFLINE = 0x02, ///< the command cannot be executed in a multiplayer game; single-player only 338 CMD_SPECTATOR = 0x02, ///< the command may be initiated by a spectator
339 CMD_AUTO = 0x04, ///< set the DC_AUTO flag on this command 339 CMD_OFFLINE = 0x04, ///< the command cannot be executed in a multiplayer game; single-player only
340 CMD_NO_TEST = 0x08, ///< the command's output may differ between test and execute due to town rating changes etc. 340 CMD_AUTO = 0x08, ///< set the DC_AUTO flag on this command
341 CMD_NO_WATER = 0x10, ///< set the DC_NO_WATER flag on this command 341 CMD_ALL_TILES = 0x10, ///< allow this command also on MP_VOID tiles
342 CMD_ALL_TILES= 0x20, ///< allow this command also on MP_VOID tiles 342 CMD_NO_TEST = 0x20, ///< the command's output may differ between test and execute due to town rating changes etc.
343 CMD_NO_WATER = 0x40, ///< set the DC_NO_WATER flag on this command
343 }; 344 };
344 345
345 /** 346 /**
346 * Defines the callback type for all command handler functions. 347 * Defines the callback type for all command handler functions.
347 * 348 *