command.c
Sun, 09 Sep 2007 20:52:54 +0000 rubidium (svn r11074) [0.5] -Backport from trunk (r11040): 0.5
Sun, 09 Sep 2007 20:36:15 +0000 rubidium (svn r11073) [0.5] -Backport from trunk (r11039, r11029, r11027, r11024, r11021, r11020, r11018): 0.5
Wed, 16 May 2007 08:21:16 +0000 rubidium (svn r9856) [0.5] -Backport from trunk (r9855): 0.5
Wed, 17 Jan 2007 00:20:23 +0000 Darkvater (svn r8174) -Backport from trunk (r8027, r8028, r8043, r8132): 0.5
Fri, 10 Nov 2006 17:52:51 +0000 Darkvater (svn r7125) -Fix: Several errors/glitches related to multiplayer and bankrupcy, mainly such a
Sat, 14 Oct 2006 22:31:18 +0000 Darkvater (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an
Sat, 14 Oct 2006 15:49:43 +0000 Darkvater (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
Tue, 03 Oct 2006 14:52:39 +0000 bjarni (svn r6624) -Feature: added ability to add refit commands to vehicle orders (can only be done in goto depot orders)
Thu, 28 Sep 2006 14:17:08 +0000 bjarni (svn r6552) -Feature: [depot window] added a "autoreplace all vehicles in depot" button
Thu, 28 Sep 2006 07:02:55 +0000 peter1138 (svn r6544) - Codechange: Rename CmdReplaceVehicle to CmdSetAutoReplace, to reflect what it does.
Wed, 27 Sep 2006 22:44:39 +0000 bjarni (svn r6542) -Feature: [depot window] added a "sell all vehicles in depot" button
Tue, 26 Sep 2006 19:20:35 +0000 bjarni (svn r6515) -Feature: added "start all" and "stop all" buttons to the depot windows
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Fri, 09 Jun 2006 08:26:22 +0000 peter1138 (svn r5192) - Stylechange: fix bjarni's tabs-instead-of-spaces alignment
Fri, 09 Jun 2006 07:45:26 +0000 peter1138 (svn r5191) - NewGRF: add cargo refit support for road vehicles
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Mon, 03 Apr 2006 05:32:11 +0000 celestar (svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZE
Sun, 12 Mar 2006 10:15:36 +0000 tron (svn r3827) Remove the global variable _error_message_2, it's only used as local variable
Thu, 05 Jan 2006 21:50:09 +0000 tron (svn r3368) Fix the same type of off-by-one error when checking, if the passed coordinate is on the map, like in r3357, but this time in DoCommandP - *cough* code duplication *cough*
Thu, 05 Jan 2006 21:35:54 +0000 tron (svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
Fri, 30 Dec 2005 14:28:32 +0000 tron (svn r3357) Fix an off-by-one error in checking if a coordinate passed to a command is on the map
Sun, 18 Dec 2005 22:48:45 +0000 Darkvater (svn r3319) - Fix (regression): "Unnamed Competitors". A result of revision r3224 which allowed AI's for multiplayer. Old AI's didn't function correctly anymore. The update of last-built tile is moved back, but to a slightly different place so it is only executed when the command is actually successfully executed. This code shouldn't be neccessary, but alas, the old AI doesn't use DoCommandDP() functions.
Sun, 18 Dec 2005 12:10:46 +0000 tron (svn r3313) Remove GPMI related changes from trunk
Wed, 14 Dec 2005 14:38:23 +0000 truelight (svn r3304) -Add: allow AI-events to see the UID of the command
Tue, 13 Dec 2005 21:21:57 +0000 Darkvater (svn r3294) - Fix: use INVALID_STRING_ID instead of -1.
Mon, 05 Dec 2005 12:27:58 +0000 truelight (svn r3260) -Add: add events for AIs to check if a command execution failed or succeeded
Mon, 21 Nov 2005 14:28:31 +0000 truelight (svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable via patch
Tue, 15 Nov 2005 09:47:25 +0000 tron (svn r3187) Simplify overly complicated ifs, especially if (foo) return false; else return true; is confusing
Wed, 14 Sep 2005 18:03:38 +0000 Darkvater (svn r2951) - Fix: [ 1259345 ] Changing engine in netgame opens train window for everyone
Sun, 07 Aug 2005 10:03:14 +0000 tron (svn r2828) Only command.c needs to know about _docommand_recursive, so make it static. Tell me if there's a problem, because i removed it from network_server.c, but afaict it should be ok
Sun, 31 Jul 2005 13:08:08 +0000 bjarni (svn r2764) -Feature: Clone vehicles
Tue, 26 Jul 2005 19:34:03 +0000 tron (svn r2720) Remove unused declarations and definitions
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Sat, 25 Jun 2005 06:15:43 +0000 tron (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to TileVirtXY
Tue, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Thu, 02 Jun 2005 19:30:21 +0000 Darkvater (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files.
Mon, 30 May 2005 14:45:36 +0000 Darkvater (svn r2383) - Fix: Monkey-testing turned up some command crashes.
Tue, 17 May 2005 20:52:52 +0000 Darkvater (svn r2343) - Fix (regression): dedicated server caused desyncs with its commands, because the player sent over the network is OWNER_SPECTATOR as well, which on clients cannot execute anything. So *hack*hack* it into temporarily player 0.
Tue, 17 May 2005 18:22:59 +0000 Darkvater (svn r2339) - Fix: on a dedicated server, after the joining of a player, the player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch <value>') now works and not only when a client is connected.
Sun, 15 May 2005 18:50:55 +0000 tron (svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
Sat, 14 May 2005 19:25:18 +0000 Darkvater (svn r2308) - Fix: enforce server-only and/or offline commands by giving them flags in the process table. This also fixes bug "[ 1190944 ] Many commands not checked for security"
Sat, 14 May 2005 12:36:16 +0000 Darkvater (svn r2306) - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks"
Thu, 12 May 2005 23:46:01 +0000 Darkvater (svn r2300) - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only commands.
Thu, 12 May 2005 00:18:30 +0000 Darkvater (svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), CmdStartNewGame(), CmdCreateScenario(), CmdSetNewLandscapeType() and CmdGenRandomNewGame().
Wed, 11 May 2005 00:00:27 +0000 Darkvater (svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Mon, 09 May 2005 22:33:00 +0000 Darkvater (svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Mon, 09 May 2005 16:37:40 +0000 Darkvater (svn r2286) - CodeChange: paramcheck the next batch of commands.
Sat, 07 May 2005 10:26:45 +0000 Darkvater (svn r2280) - Fix: Check if the passed tile to DoCommand is within the current mapsize
Mon, 25 Apr 2005 13:52:59 +0000 tron (svn r2232) Remove unused commands
Fri, 15 Apr 2005 21:37:56 +0000 Darkvater (svn r2206) - Regression Fix: slight typo of res2 into res, this also fixes recent bug "[ 1183396 ] Train can't find depot, it gives money in Multiplayer"
Fri, 15 Apr 2005 20:23:54 +0000 Darkvater (svn r2205) - Fixup of revision 2200, not twice CMD_REMOVE_LONG_ROAD :p. Thanks TrueLight.
Thu, 14 Apr 2005 22:07:39 +0000 Darkvater (svn r2200) - Fix [ 1179892 ] click & drag removal of road assertion fail. Add CMD_REMOVE_LONG_ROAD to the 'notest' section as it might have difficulties with town ratings, etc. Read the comment for more info (mgasterix)
Thu, 14 Apr 2005 11:17:36 +0000 tron (svn r2195) Add CmdFailed() as the One True Way(tm) to check if a command failed.
Sat, 02 Apr 2005 15:59:07 +0000 pasky (svn r2127) Get rid again of the CmdSetNewMapSize(), which was agreed to be just useless clutter. (Perhaps we should get rid of CmdSetNewLandscapeType() too, but I won't take responsibility for that. ;-)
Sat, 02 Apr 2005 15:03:48 +0000 pasky (svn r2125) - Feature: In the intro dialog, show a map size selector below the landscape type selector.
Fri, 04 Feb 2005 17:14:36 +0000 tron (svn r1791) Remove the remnants of CMD_DESTROY_INDUSTRY, which was removed a long time ago
Sun, 30 Jan 2005 15:57:38 +0000 darkvater (svn r1731) - Fix: [ 1106930 ] BugFix: placing signals with 2x1 drags workaround is completely rewritten. Also features checks for hacked/modified clients. Thanks a lot Hackykid!