command.c
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!
Sat, 29 Jan 2005 19:41:44 +0000 celestar (svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Sun, 09 Jan 2005 21:25:44 +0000 tron (svn r1451) Fix some of the signed/unsigned comparison warnings
Fri, 07 Jan 2005 17:02:43 +0000 tron (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
Wed, 05 Jan 2005 14:39:48 +0000 truelight (svn r1389) -Add: [Network] Added packet protection. No longer a client or server
Tue, 04 Jan 2005 17:11:03 +0000 darkvater (svn r1375) -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky.
Sun, 02 Jan 2005 17:23:04 +0000 bjarni (svn r1323) Adding autoreplace feature
Wed, 29 Dec 2004 13:13:29 +0000 miham (svn r1297) Language fixes in the source.. (ln-)
Mon, 27 Dec 2004 18:18:44 +0000 truelight (svn r1283) -Add: AutoRenew is now a client-side patch instead of a game-side patch
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Tue, 14 Dec 2004 18:13:02 +0000 truelight (svn r1085) -Fix: [Network] [ 1084834 ] If IF_IN_NETWORK flag was on, an error
Sun, 12 Dec 2004 15:43:55 +0000 truelight (svn r1025) -Fix: [Network] [ 1083687 ] Sending to depot caused desync because the
Sat, 04 Dec 2004 17:54:56 +0000 truelight (svn r942) -Merged branch/network back into the trunk
Thu, 02 Dec 2004 22:53:07 +0000 tron (svn r901) Small step in the process to clean up the DPARAM mess:
Thu, 25 Nov 2004 10:47:30 +0000 tron (svn r815) Include strings.h only in the files which need it.
Sat, 20 Nov 2004 02:25:31 +0000 pasky (svn r697) Fix the town road removal crash _still_ present there.
Sun, 14 Nov 2004 13:07:07 +0000 darkvater (svn r587) -newgrf: Rename all /Checkpoint/i tokens to 'Waypoint's. The name actually makes some sense and is also compatible with TTDPatch (pasky).
Sun, 12 Sep 2004 17:36:29 +0000 truelight (svn r216) -Fix: paused network game now disallows all commands (instead of doing
Sun, 12 Sep 2004 15:29:37 +0000 darkvater (svn r214) -Feature: CMD_NET_INSTANT [just in time command handling over network] (sign_de)
Fri, 10 Sep 2004 19:02:27 +0000 truelight (svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!
Wed, 01 Sep 2004 21:54:12 +0000 darkvater (svn r148) -Feature: Company HQ can now be moved somewhere else (cost 1% of company value). Water floods HQ.
Sun, 15 Aug 2004 20:23:42 +0000 darkvater (svn r59) -Feature: Added Autosignals, just like Autorail. Can copy signal style, convert signal<->semaphore, etc. Big thanks to betatesters Dribbel and Testman57 (Darkvater)
Mon, 09 Aug 2004 17:04:08 +0000 truelight (svn r1) Import of revision 975 of old (crashed) SVN