------------------------------------------------------------------------ r5138 | tron | 2006-06-05 18:16:41 +0000 (Mon, 05 Jun 2006) | 1 line Two more like r5136 ------------------------------------------------------------------------ r5136 | tron | 2006-06-05 18:10:43 +0000 (Mon, 05 Jun 2006) | 6 lines Fix various style bugs: - Trailing whitespace - Trailing empty lines - Missing newline at EOF - Missing svn:eol-style native ------------------------------------------------------------------------ r5135 | tron | 2006-06-05 18:00:37 +0000 (Mon, 05 Jun 2006) | 1 line Forgotten Id tag ------------------------------------------------------------------------ r5132 | tron | 2006-06-05 16:31:29 +0000 (Mon, 05 Jun 2006) | 1 line s/?/³/ ------------------------------------------------------------------------ r5131 | tron | 2006-06-05 16:08:06 +0000 (Mon, 05 Jun 2006) | 1 line s/STRING[1-5]/STRING/g ------------------------------------------------------------------------ r5130 | miham | 2006-06-05 15:56:59 +0000 (Mon, 05 Jun 2006) | 5 lines WebTranslator2 update to 2006-06-05 17:56:46 american - 12 changed by WhiteRabbit (12) galician - 62 fixed, 10 changed by Condex (72) italian - 3 changed by sidew (3) ------------------------------------------------------------------------ r5129 | tron | 2006-06-05 15:47:08 +0000 (Mon, 05 Jun 2006) | 1 line Accommodate the default AI for the new railtype: It used hard coded numbers instead of enums to calculate prices ------------------------------------------------------------------------ r5128 | tron | 2006-06-05 15:29:47 +0000 (Mon, 05 Jun 2006) | 1 line Remove the global variable _cur_ai_player ------------------------------------------------------------------------ r5127 | tron | 2006-06-05 14:54:23 +0000 (Mon, 05 Jun 2006) | 1 line Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped() ------------------------------------------------------------------------ r5124 | tron | 2006-06-05 12:43:41 +0000 (Mon, 05 Jun 2006) | 3 lines Add IsAircraftInHangar{Stopped,}(), which supersedes CheckStoppedInHangar() -Fix: Be more strict what it means for an aircraft to be in a hangar: It's not just being stopped on a hangar tile ------------------------------------------------------------------------ r5121 | tron | 2006-06-05 11:28:31 +0000 (Mon, 05 Jun 2006) | 1 line Add forgotten file in r5120 ------------------------------------------------------------------------ r5120 | tron | 2006-06-05 11:28:00 +0000 (Mon, 05 Jun 2006) | 1 line Add IsShipInDepot{Stopped,}() and remove some redundant checks ------------------------------------------------------------------------ r5119 | tron | 2006-06-05 10:26:38 +0000 (Mon, 05 Jun 2006) | 1 line -Fix: If a road vehicle is on a road depot tile and stopped doesn't mean it's in the depot. Use the proper test for this ------------------------------------------------------------------------ r5118 | tron | 2006-06-05 10:23:18 +0000 (Mon, 05 Jun 2006) | 1 line Add IsRoadVehInDepot{Stopped,}() ------------------------------------------------------------------------ r5117 | tron | 2006-06-05 09:54:58 +0000 (Mon, 05 Jun 2006) | 1 line Remove a redundant check: If a road vehicle is in the state 'in depot', don't test if it's a road depot ------------------------------------------------------------------------ r5116 | tron | 2006-06-05 08:34:39 +0000 (Mon, 05 Jun 2006) | 1 line Move the overly generic GetDepotDirection() from a header to its only consumer ------------------------------------------------------------------------ r5105 | peter1138 | 2006-06-04 18:22:32 +0000 (Sun, 04 Jun 2006) | 2 lines - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type. ------------------------------------------------------------------------ r5104 | peter1138 | 2006-06-04 17:49:16 +0000 (Sun, 04 Jun 2006) | 2 lines - When refitting a vehicle to its existing cargo type, don't lose the cargo onboard (useful when adding wagons to a train) ------------------------------------------------------------------------ r5103 | peter1138 | 2006-06-04 17:38:48 +0000 (Sun, 04 Jun 2006) | 2 lines - Add cargo subtype parameter to refit commands (mart3p) ------------------------------------------------------------------------ r5101 | tron | 2006-06-04 16:04:15 +0000 (Sun, 04 Jun 2006) | 1 line Add a function to convert an axis and a flag for north/south into a DiagDirection. Use it for bridge ramps and ship depots ------------------------------------------------------------------------ r5098 | tron | 2006-06-04 13:39:38 +0000 (Sun, 04 Jun 2006) | 1 line Do some manual CSE and replace a few magic numbers to improve the readability of the trolly AI ------------------------------------------------------------------------ r5097 | tron | 2006-06-04 13:22:18 +0000 (Sun, 04 Jun 2006) | 1 line -Fix: The trolly AI used information from the wrong industry when calculating the amount of to be transported goods ------------------------------------------------------------------------ r5096 | tron | 2006-06-04 13:03:48 +0000 (Sun, 04 Jun 2006) | 1 line Avoid unnecessary copying of _cmd_text ------------------------------------------------------------------------ r5095 | KUDr | 2006-06-04 09:31:20 +0000 (Sun, 04 Jun 2006) | 1 line -CodeChange: {} added around returns ------------------------------------------------------------------------ r5094 | tron | 2006-06-04 09:28:33 +0000 (Sun, 04 Jun 2006) | 1 line Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough. ------------------------------------------------------------------------ r5093 | KUDr | 2006-06-04 09:13:59 +0000 (Sun, 04 Jun 2006) | 1 line -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats) ------------------------------------------------------------------------ r5092 | tron | 2006-06-04 09:10:24 +0000 (Sun, 04 Jun 2006) | 1 line -Fix: There was a gross race condition in the AI code which made it pretty random if the AI could give a new vehicle its orders ------------------------------------------------------------------------ r5091 | tron | 2006-06-04 09:04:40 +0000 (Sun, 04 Jun 2006) | 1 line Remove duplicate code (same check twice) ------------------------------------------------------------------------ r5090 | KUDr | 2006-06-04 00:28:24 +0000 (Sun, 04 Jun 2006) | 1 line -Fix: [NPF] broken by me - r4366 (thanks Tron) ------------------------------------------------------------------------ r5088 | peter1138 | 2006-06-03 19:23:14 +0000 (Sat, 03 Jun 2006) | 2 lines - Add another set of parentheses, missed in r5085, somehow... (thanks ASM) ------------------------------------------------------------------------ r5087 | peter1138 | 2006-06-03 19:17:34 +0000 (Sat, 03 Jun 2006) | 2 lines - NewGRF: Fix thinko in returning a calculated callback result ------------------------------------------------------------------------ r5085 | peter1138 | 2006-06-03 15:14:41 +0000 (Sat, 03 Jun 2006) | 2 lines - Fix (FS#198): add parentheses to CHANCE16*() (and GENERAL_SPRITE_COLOR) macro parameters (thanks to ASM) ------------------------------------------------------------------------ r5084 | peter1138 | 2006-06-03 15:10:39 +0000 (Sat, 03 Jun 2006) | 2 lines - Add owner attribute to canals and locks. This makes them more useful in multiplayer games, as before, anyone could delete any canal or lock tile. This doesn't affect whose ships can use whose canals or locks. ------------------------------------------------------------------------ r5083 | celestar | 2006-06-03 12:53:29 +0000 (Sat, 03 Jun 2006) | 2 lines -Fix: Assert when trying to build a lock on a tile with trees. (Thanks anboni for reporting) ------------------------------------------------------------------------ r5081 | celestar | 2006-06-02 21:03:59 +0000 (Fri, 02 Jun 2006) | 2 lines -Fix: Could not build bridges over crossings (but crossings under bridges were possible), noticed by WhiteRabbit ------------------------------------------------------------------------ r5080 | KUDr | 2006-06-02 19:29:11 +0000 (Fri, 02 Jun 2006) | 1 line -Fix: RVs can enter other player's depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419) ------------------------------------------------------------------------ r5078 | miham | 2006-06-02 17:19:05 +0000 (Fri, 02 Jun 2006) | 3 lines WebTranslator2 update to 2006-06-02 19:18:56 american - 15 fixed by WhiteRabbit (15) ------------------------------------------------------------------------ r5076 | KUDr | 2006-06-02 16:31:35 +0000 (Fri, 02 Jun 2006) | 1 line CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071). ------------------------------------------------------------------------ r5071 | peter1138 | 2006-06-02 13:15:50 +0000 (Fri, 02 Jun 2006) | 2 lines - Fix (FS#184): "Erroneous train reversal on waypoints". When processing the next train order, do not even consider reversing the train if the last order was to a waypoint. ------------------------------------------------------------------------ r5070 | celestar | 2006-06-02 13:05:41 +0000 (Fri, 02 Jun 2006) | 13 lines Merged the bridge branch -Feature: Bridges can now be placed above: Any railway track combination (excluding depots and waypoints) Any road combination (excluding depots) Clear tiles (duh), including fields Tunnel entrances Bridge heads Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing There are still a number of visual problems remaining, especially when electric railways are on or under the bridge. DO NOT REPORT THOSE BUGS FOR THE TIME BEING please. ------------------------------------------------------------------------ r5067 | KUDr | 2006-06-01 22:20:40 +0000 (Thu, 01 Jun 2006) | 1 line -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results) ------------------------------------------------------------------------ r5066 | KUDr | 2006-06-01 21:39:35 +0000 (Thu, 01 Jun 2006) | 1 line -Feature: [YAPF] Train selects the best station platform by length ------------------------------------------------------------------------ r5065 | KUDr | 2006-06-01 21:00:59 +0000 (Thu, 01 Jun 2006) | 1 line -CodeChange: [YAPF] Added PfDetectDestination(tile, trackdir) for trains (to be used by platform selection feature) ------------------------------------------------------------------------ r5064 | celestar | 2006-06-01 09:43:39 +0000 (Thu, 01 Jun 2006) | 2 lines -Fix: Remove stay debug stuff from lat commit. (thanks peter1138) ------------------------------------------------------------------------ r5063 | celestar | 2006-06-01 09:41:35 +0000 (Thu, 01 Jun 2006) | 2 lines -Codechange: Add a function to determine the length of a platform (request by KUDr) ------------------------------------------------------------------------ r5062 | KUDr | 2006-05-31 20:08:55 +0000 (Wed, 31 May 2006) | 1 line -Fix: town extends road beyond depot or roadstop (introduced by YAPF related change of GetTileTrackStatus() - r4419) ------------------------------------------------------------------------ r5061 | peter1138 | 2006-05-31 18:00:08 +0000 (Wed, 31 May 2006) | 2 lines - NewGRF: always use visual effect callback if it is defined, not just for powered wagons. ------------------------------------------------------------------------ r5060 | peter1138 | 2006-05-31 17:40:48 +0000 (Wed, 31 May 2006) | 2 lines - NewGRF: add support for variable 7F (retrieve GRF parameter) for vehicles ------------------------------------------------------------------------ r5059 | peter1138 | 2006-05-31 17:31:08 +0000 (Wed, 31 May 2006) | 2 lines - NewGRF: store a GRFFile pointer reference for each pointer, instead of just the GRF ID. ------------------------------------------------------------------------ r5057 | KUDr | 2006-05-31 06:51:56 +0000 (Wed, 31 May 2006) | 1 line -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555) ------------------------------------------------------------------------ r5055 | celestar | 2006-05-31 06:43:05 +0000 (Wed, 31 May 2006) | 1 line -Fix: Correct some errors in the bridge sprite numbers ------------------------------------------------------------------------ r5048 | peter1138 | 2006-05-30 21:27:51 +0000 (Tue, 30 May 2006) | 2 lines - NewStations: Set up clipping areas to draw the station preview graphics in. This prevents larger station graphics from overflowing onto the list. ------------------------------------------------------------------------ r5047 | peter1138 | 2006-05-30 21:23:01 +0000 (Tue, 30 May 2006) | 2 lines - NewGRF: fix typo of AIRPORT in enum ------------------------------------------------------------------------ r5046 | peter1138 | 2006-05-30 21:19:46 +0000 (Tue, 30 May 2006) | 2 lines - Implement smooth horizontal depot scrolling by setting up a clipping area to draw the train image. This fixes a couple of usability issues when shorter wagons are used in the depot; shorter wagons scrolled at a different speed, and not all wagons were visible sometimes. ------------------------------------------------------------------------