src/rail_cmd.cpp
Thu, 26 Jul 2007 16:51:10 +0000 rubidium (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
Thu, 26 Jul 2007 14:07:11 +0000 rubidium (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code.
Mon, 23 Jul 2007 16:08:58 +0000 truelight (svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
Mon, 16 Jul 2007 23:55:22 +0000 rubidium (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
Wed, 04 Jul 2007 17:21:28 +0000 peter1138 (svn r10437) -Feature: Automatic signal completion, enabled by pressing ctrl when dragging signals. Signals will continue following track until an existing signal, junction or station are reached. This currently replaces the existing use of ctrl-drag for changing existing signal type.
Wed, 04 Jul 2007 09:42:47 +0000 peter1138 (svn r10432) -Codechange: use existing function instead of data duplication
Sun, 24 Jun 2007 20:06:10 +0000 rubidium (svn r10308) -Codechange: some "cleanup" chunks from B. N. SmatZ!' work on fixing FS#119.
Thu, 21 Jun 2007 14:32:27 +0000 rubidium (svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
Mon, 18 Jun 2007 19:53:50 +0000 rubidium (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
Mon, 18 Jun 2007 16:42:40 +0000 rubidium (svn r10200) -Codechange: add "shortcut" for !CmdFailed (CmdSucceeded).
Mon, 18 Jun 2007 10:48:15 +0000 rubidium (svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
Sun, 03 Jun 2007 19:22:23 +0000 rubidium (svn r10030) -Fix [FS#823]: one could build on (some) slopes when building on slopes was disabled.
Thu, 31 May 2007 21:21:04 +0000 glx (svn r10006) -Fix (FS#362): allow different signal types on one tile
Wed, 30 May 2007 13:33:19 +0000 rubidium (svn r9988) -Codechange: remove the last direct map accesses, except the ones needed for the savegame saving/loading mechanisms.
Mon, 28 May 2007 03:41:18 +0000 rubidium (svn r9960) -Fix [FS#813]: road wasn't properly added when overbuilding a tram rails with normal rails to for a crossing.
Thu, 24 May 2007 22:41:50 +0000 rubidium (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
Sun, 20 May 2007 19:14:08 +0000 rubidium (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile.
Mon, 07 May 2007 11:24:23 +0000 peter1138 (svn r9805) -Codechange: Use HASBIT() et al for display options bits.
Wed, 18 Apr 2007 18:00:33 +0000 belugas (svn r9669) -Documentation: some more doxygen fixes
Tue, 17 Apr 2007 21:09:38 +0000 belugas (svn r9664) -Documentation: Doxygen corrections,errors and omissions
Thu, 12 Apr 2007 06:16:46 +0000 peter1138 (svn r9602) -Fix (r5833): Building rail on steep slopes ignored build_on_slopes patch setting.
Fri, 06 Apr 2007 04:10:19 +0000 belugas (svn r9568) -Documentation: doxygen and comment changes: Root of src is finally done. Now, time to start clearing as much as possible
Thu, 05 Apr 2007 07:49:04 +0000 peter1138 (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
Wed, 04 Apr 2007 01:35:16 +0000 belugas (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
Sun, 01 Apr 2007 11:11:49 +0000 belugas (svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words
Wed, 28 Mar 2007 20:41:35 +0000 belugas (svn r9523) -Cleanup: doxygen changes. Time to take care of "R"
Sat, 24 Mar 2007 09:12:03 +0000 celestar (svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations
Thu, 22 Mar 2007 03:42:43 +0000 belugas (svn r9400) -Codechange: Use some more representative enum names for landscape types.
Tue, 20 Mar 2007 13:47:00 +0000 maedhros (svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
Thu, 08 Mar 2007 16:27:54 +0000 rubidium (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
Wed, 07 Mar 2007 12:11:48 +0000 rubidium (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Fri, 02 Mar 2007 00:17:35 +0000 rubidium (svn r8966) -Codechange: replace some if-cascades by switches.
Tue, 27 Feb 2007 23:36:28 +0000 rubidium (svn r8935) -Codechange: unification of track type between road and rail tiles, unification of ground type between normal rail tiles and depots/waypoints and removing the need for RailTileSubType.
Mon, 26 Feb 2007 18:25:03 +0000 rubidium (svn r8908) -Codechange: declaration of DrawBridgeMiddle does not belong in a map accessors header.
Sat, 24 Feb 2007 09:42:39 +0000 tron (svn r8876) -Fix
Sat, 24 Feb 2007 06:46:20 +0000 tron (svn r8875) -Fix
Fri, 23 Feb 2007 20:51:10 +0000 KUDr (svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result)
Thu, 22 Feb 2007 08:43:02 +0000 tron (svn r8841) -Fix
Tue, 13 Feb 2007 10:46:45 +0000 rubidium (svn r8701) -Codechange: replace magic numbers with enums for u.rail.track.
Tue, 13 Feb 2007 10:26:53 +0000 rubidium (svn r8698) -Codechange: enumify the returns of VehicleEnterTile
Fri, 19 Jan 2007 21:40:10 +0000 peter1138 (svn r8283) -Fix (r8128): Custom waypoint drawing used wrong bits since bitshuffling occurred. Also update with other station drawing changes (code duplication,
Fri, 19 Jan 2007 17:44:11 +0000 Darkvater (svn r8279) -Regression (r8274): Removing signals could fail under certain circumstances (not the proper bits of p1/p2 were set to trackbits). Moved trackbits back to bits 0..2, ctrl to 3, semaphore to 4. Also lower the decision of the ctrl-override of signal/semaphore from the GUI into the cmd function since we are passing the ctrl-bit anyways. Bug(s) found by Frostregen; thanks
Fri, 19 Jan 2007 00:01:52 +0000 Darkvater (svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
Sun, 14 Jan 2007 19:57:49 +0000 peter1138 (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
Thu, 11 Jan 2007 10:34:42 +0000 KUDr (svn r8052) - Codechange: RemoveFirstTrack() and RemoveFirstTrackdir() now accept pointer to TrackBits/TrackdirBits instead of reference.
Wed, 10 Jan 2007 18:56:51 +0000 rubidium (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Wed, 10 Jan 2007 18:12:09 +0000 KUDr (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)